]> git.ipfire.org Git - thirdparty/glibc.git/blob - ChangeLog
Fix warning in posix/tst-getopt_long1.c.
[thirdparty/glibc.git] / ChangeLog
1 2014-12-02 Joseph Myers <joseph@codesourcery.com>
2
3 * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
4 to char *.
5
6 [BZ #17665]
7 * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
8 Change conditional to [__USE_MISC].
9
10 [BZ #17664]
11 * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
12 fgets_unlocked.
13 * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
14 __fgets_unlocked.
15 * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
16 fgets_unlocked.
17 * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
18 Remove variable.
19 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
20 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
21 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
22 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
23 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
24 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
25 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
26 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
27 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
28
29 * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
30
31 2014-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32
33 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
34 Remove strpbrk objects.
35 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
36 (__libc_ifunc_impl_list): Remove strpbrk implementation.
37 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
38 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
39 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
40 * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
41
42 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
43 Remove strcspn objects.
44 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
45 (__libc_ifunc_impl_list): Remove strcspn implementation.
46 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
47 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
48 * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
49 * sysdeps/powerpc/powerpc64/strcspn.S: New file.
50
51 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
52 Remove strspn objetcs.
53 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
54 (__libc_ifunc_impl_list): Remove strspn implementation.
55 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
56 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
57 * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
58 * sysdeps/powerpc/powerpc64/strspn.S: New file.
59
60 2014-12-01 James Lemke <jwlemke@codesourcery.com>
61
62 [BZ #17581]
63 * malloc/hooks.c
64 (mem2mem_check): Add a terminator to the chain of checking blocks.
65 (malloc_check_get_size): Use it here.
66 (mem2chunk_check): Ditto.
67
68 2014-12-01 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
69
70 * sysdeps/powerpc/powerpc64/strtok.S: New file.
71 * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
72
73 2014-11-29 Carlos O'Donell <carlos@redhat.com>
74
75 * bits/ioctl-types.h: Indent preprocessor directives correctly.
76
77 * nptl/nptl-init.c: Include libc-internal.h.
78 (__pthread_initialize_minimal_internal): Use ROUND_UP.
79
80 * elf/ldconfig.c (search_dir): Expand comment.
81
82 2014-11-29 Joseph Myers <joseph@codesourcery.com>
83
84 * conform/Makefile (linknamespace-symlist-stdlibs-base): New
85 variable.
86 (linknamespace-symlist-stdlibs-tests): Likewise.
87 (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
88 instead of $(objpfx)symlist-stdlibs.
89 (linknamespace-libs-isoc): New variable.
90 (linknamespace-libs): Use $(linknamespace-libs-isoc).
91 (linknamespace-libs-ISO): New variable.
92 (linknamespace-libs-ISO99): Likewise.
93 (linknamespace-libs-ISO11): Likewise.
94 (linknamespace-libs-XPG3): Likewise.
95 (linknamespace-libs-XPG4): Likewise.
96 (linknamespace-libs-POSIX): Likewise.
97 (linknamespace-libs-UNIX98): Likewise.
98 (linknamespace-libs-XOPEN2K): Likewise.
99 (linknamespace-libs-POSIX2008): Likewise.
100 (linknamespace-libs-XOPEN2K8): Likewise.
101 ($(objpfx)symlist-stdlibs): Replace by
102 $(linknamespace-symlist-stdlibs-tests). Use
103 $(linknamespace-libs-$*) as set of libraries.
104 ($(linknamespace-header-tests)): Update dependencies. Use
105 $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
106 (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
107 * conform/linknamespace.pl: Remove comment about considering
108 definitions of symbols from irrelevant libraries.
109
110 2014-11-28 H.J. Lu <hongjiu.lu@intel.com>
111
112 [BZ #13862]
113 * elf/dl-tls.c: Include <atomic.h>.
114 (oom): Remove #ifdef SHARED/#endif.
115 (_dl_static_dtv, _dl_initial_dtv): Moved before ...
116 (_dl_resize_dtv): This. Extracted from _dl_update_slotinfo.
117 (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
118 big enough.
119 (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
120 * nptl/Makefile (tests): Add tst-stack4.
121 (modules-names): Add tst-stack4mod.
122 ($(objpfx)tst-stack4): New.
123 (tst-stack4mod.sos): Likewise.
124 ($(objpfx)tst-stack4.out): Likewise.
125 ($(tst-stack4mod.sos)): Likewise.
126 (clean): Likewise.
127 * nptl/tst-stack4.c: New file.
128 * nptl/tst-stack4mod.c: Likewise.
129
130 2014-11-27 J. Brown <jb999@gmx.de>
131
132 * sysdeps/x86/bits/string.h: Add recent CPUs.
133
134 2014-11-27 Joseph Myers <joseph@codesourcery.com>
135
136 * misc/tst-pselect.c (do_test): Use sigprocmask instead of
137 sigblock.
138
139 * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
140 feof.
141
142 * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
143 variable.
144
145 2014-11-27 Stefan Liebler <stli@linux.vnet.ibm.com>
146
147 * nscd/connections.c: Include libc-internal.h because of macro
148 usage ignore_value.
149
150 2014-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
151
152 * string/bits/string3.h (__warn_memset_zero_len): Don't
153 declare for gcc newer than 5.0.
154 (memset): Don't test for zero-length __LEN for gcc newer than
155 5.0.
156
157 2014-11-27 Joseph Myers <joseph@codesourcery.com>
158
159 * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
160 size_t for %zu format.
161
162 * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
163 difference, not %ju.
164
165 2014-11-26 Joseph Myers <joseph@codesourcery.com>
166
167 * include/libc-internal.h (ignore_value): New macro.
168 * nscd/connections.c (restart): Wrap calls to setuid and setgid
169 with ignore_value.
170
171 * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
172 definition.
173
174 * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
175 pthread_cleanup_push to void *.
176
177 * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
178 Undefine.
179
180 [BZ #16619]
181 [BZ #16740]
182 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
183 instead of 1L << 52.
184
185 * libio/bug-rewind.c (do_test): Check fwscanf return values.
186 * libio/bug-rewind2.c (do_test): Likewise.
187
188 * debug/test-stpcpy_chk-ifunc.c: Remove file.
189 * debug/test-strcpy_chk-ifunc.c: Likewise.
190 * wcsmbs/test-wcschr-ifunc.c: Likewise.
191 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
192 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
193 * wcsmbs/test-wcslen-ifunc.c: Likewise.
194 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
195 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
196 * Rules [$(multi-arch) = no] (tests): Do not filter out
197 $(tests-ifunc).
198 [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
199 * debug/Makefile (tests-ifunc): Remove variable.
200 (tests): Do not add $(tests-ifunc).
201 * wcsmbs/Makefile (tests-ifunc): Remove variable.
202 (tests): Do not add $(tests-ifunc).
203 * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
204 [TEST_IFUNC]: Remove conditionals.
205 * string/test-string.h (TEST_IFUNC): Remove macro.
206 [TEST_IFUNC]: Remove conditionals.
207
208 * string/test-strchr.c [!WIDE] (L): New macro.
209 [WIDE] (L): Likewise.
210 (check1): Use CHAR instead of char. Use L on string and character
211 constants.
212
213 2014-11-26 Adhemerval Zanella <azanella@linux.ibm.com>
214
215 * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
216 tests.
217 * sysdeps/powerpc/bits/atomic.h
218 (__arch_atomic_exchange_and_add_32_acq): Add definition.
219 (__arch_atomic_exchange_and_add_32_rel): Likewise.
220 (atomic_exchange_and_add_acq): Likewise.
221 (atomic_exchange_and_add_rel): Likewise.
222 * sysdeps/powerpc/powerpc32/bits/atomic.h
223 (__arch_atomic_exchange_and_add_64_acq): Add definition.
224 (__arch_atomic_exchange_and_add_64_rel): Likewise.
225 * sysdeps/powerpc/powerpc64/bits/atomic.h
226 (__arch_atomic_exchange_and_add_64_acq): Add definition.
227 (__arch_atomic_exchange_and_add_64_rel): Likewise.
228
229 2014-11-26 Torvald Riegel <triegel@redhat.com>
230
231 * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
232 Change synchronization of __sched_fifo_min_prio and
233 __sched_fifo_max_prio.
234 * nptl/pthread_mutexattr_getprioceiling.c
235 (pthread_mutexattr_getprioceiling): Likewise.
236 * nptl/pthread_mutexattr_setprioceiling.c
237 (pthread_mutexattr_setprioceiling): Likewise.
238 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
239 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
240 Likewise.
241
242 2014-11-26 Joseph Myers <joseph@codesourcery.com>
243
244 * setjmp/jmpbug.c (test): Make foo volatile and cast it to
245 void.
246
247 2014-11-25 Joseph Myers <joseph@codesourcery.com>
248
249 * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
250 third argument const.
251
252 2014-11-25 Paul Eggert <eggert@cs.ucla.edu>
253
254 fnmatch: work around GCC compiler warning bug with uninit var
255 * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
256 This works around a bug with x86-64 GCC 4.9.2 and earlier
257 where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
258 "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
259 used uninitialized in this function [-Wmaybe-uninitialized]".
260
261 2014-11-25 Joseph Myers <joseph@codesourcery.com>
262
263 * posix/bug-regex31.c (main): Return RES not 0.
264
265 2014-11-25 Anton Blanchard <anton@samba.org>
266
267 * sysdeps/powerpc/bits/atomic.h
268 (__arch_compare_and_exchange_bool_64_rel): Load from mem.
269
270 2014-11-24 Sterling Augustine <saugustine@google.com>
271
272 * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
273
274 2014-11-24 Ryan Cumming <etaoins@gmail.com>
275
276 [BZ #17608]
277 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
278
279 2014-11-24 Joseph Myers <joseph@codesourcery.com>
280
281 [BZ #17633]
282 * stdio-common/perror.c (perror): Call __fileno instead of fileno.
283 * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
284 variable.
285 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
286 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
287
288 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
289
290 * string/strncpy.c (strncpy): Improve performance by using memset.
291
292 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
293
294 * string/strcpy.c (strcpy):
295 Improve performance by using strlen and memcpy.
296
297 2014-11-24 Leonhard Holz <leonhard.holz@web.de>
298
299 * string/strcoll_l.c (get_next_seq): __always_inline.
300 * string/strcoll_l.c (do_compare): __always_inline.
301
302 2014-11-24 Siddhesh Poyarekar <siddhesh@redhat.com>
303
304 * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
305 defined.
306 * include/mqueue.h: Likewise.
307 * include/stdlib.h: Likewise.
308
309 * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
310 (get_null_defines): Adjust.
311 * sunrpc/Makefile: Adjust comment.
312 * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
313 * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
314 (CFLAGS-interp.c): Likewise.
315 (CFLAGS-ldconfig.c): Likewise.
316 (CPPFLAGS-.os): Likewise.
317 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
318 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
319 * extra-modules.mk (extra-modules.mk): Likewise.
320 * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
321 * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
322 * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
323 * nscd/Makefile (CPPFLAGS-nscd): Likewise.
324 * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
325 * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
326 * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
327 * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
328 * iconvdata/Makefile (CPPFLAGS): Likewise.
329 (cpp-srcs-left): Add libof for all iconvdata routines.
330 * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
331 * include/assert.h: Likewise.
332 * include/ctype.h: Likewise.
333 * include/errno.h: Likewise.
334 * include/libc-symbols.h: Likewise.
335 * include/math.h: Likewise.
336 * include/netdb.h: Likewise.
337 * include/resolv.h: Likewise.
338 * include/stdio.h: Likewise.
339 * include/stdlib.h: Likewise.
340 * include/string.h: Likewise.
341 * include/sys/stat.h: Likewise.
342 * include/wctype.h: Likewise.
343 * intl/l10nflist.c: Likewise.
344 * libidn/idn-stub.c: Likewise.
345 * libio/libioP.h: Likewise.
346 * nptl/libc_multiple_threads.c: Likewise.
347 * nptl/pthreadP.h: Likewise.
348 * posix/regex_internal.h: Likewise.
349 * resolv/res_hconf.c: Likewise.
350 * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
351 * sysdeps/arm/memmove.S: Likewise.
352 * sysdeps/arm/sysdep.h: Likewise.
353 * sysdeps/generic/_itoa.h: Likewise.
354 * sysdeps/generic/symbol-hacks.h: Likewise.
355 * sysdeps/gnu/errlist.awk: Likewise.
356 * sysdeps/gnu/errlist.c: Likewise.
357 * sysdeps/i386/i586/memcpy.S: Likewise.
358 * sysdeps/i386/i586/memset.S: Likewise.
359 * sysdeps/i386/i686/memcpy.S: Likewise.
360 * sysdeps/i386/i686/memmove.S: Likewise.
361 * sysdeps/i386/i686/mempcpy.S: Likewise.
362 * sysdeps/i386/i686/memset.S: Likewise.
363 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
364 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
365 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
366 * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
367 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
368 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
369 * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
370 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
371 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
372 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
373 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
374 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
375 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
376 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
377 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
378 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
379 * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
380 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
381 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
382 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
383 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
384 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
385 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
386 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
387 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
388 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
389 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
390 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
391 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
392 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
393 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
394 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
395 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
396 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
397 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
398 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
399 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
400 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
401 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
402 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
403 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
404 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
405 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
406 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
407 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
408 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
409 * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
410 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
411 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
412 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
413 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
414 * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
415 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
416 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
417 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
418 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
419 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
420 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
421 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
422 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
423 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
424 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
425 * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
426 * sysdeps/nptl/bits/libc-lock.h: Likewise.
427 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
428 * sysdeps/nptl/bits/stdio-lock.h: Likewise.
429 * sysdeps/posix/closedir.c: Likewise.
430 * sysdeps/posix/opendir.c: Likewise.
431 * sysdeps/posix/readdir.c: Likewise.
432 * sysdeps/posix/rewinddir.c: Likewise.
433 * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
434 * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
435 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
436 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
437 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
438 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
439 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
440 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
441 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
442 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
443 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
444 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
445 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
446 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
447 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
448 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
449 * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
450 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
451 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
452 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
453 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
454 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
455 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
456 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
457 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
458 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
459 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
460 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
461 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
462 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
463 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
464 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
465 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
466 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
467 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
468 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
469 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
470 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
471 * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
472 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
473 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
474 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
475 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
476 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
477 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
478 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
479 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
480 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
481 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
482 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
483 * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
484 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
485 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
486 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
487 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
488 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
489 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
490 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
491 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
492 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
493 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
494 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
495 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
496 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
497 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
498 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
499 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
500 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
501 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
502 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
503 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
504 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
505 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
506 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
507 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
508 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
509 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
510 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
511 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
512 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
513 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
514 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
515 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
516 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
517 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
518 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
519 * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
520 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
521 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
522 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
523 * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
524 * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
525 * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
526 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
527 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
528 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
529 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
530 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
531 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
532 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
533 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
534 * sysdeps/unix/alpha/sysdep.S: Likewise.
535 * sysdeps/unix/alpha/sysdep.h: Likewise.
536 * sysdeps/unix/make-syscalls.sh: Likewise.
537 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
538 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
539 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
540 * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
541 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
542 * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
543 * sysdeps/unix/sysv/linux/getpid.c: Likewise.
544 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
545 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
546 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
547 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
548 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
549 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
550 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
551 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
552 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
553 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
554 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
555 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
556 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
557 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
558 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
559 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
560 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
561 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
562 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
563 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
564 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
565 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
566 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
567 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
568 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
569 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
570 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
571 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
572 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
573 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
574 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
575 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
576 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
577 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
578 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
579 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
580 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
581 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
582 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
583 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
584 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
585 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
586 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
587 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
588 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
589 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
590 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
591 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
592 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
593 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
594 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
595 * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
596 * sysdeps/x86_64/memcpy.S: Likewise.
597 * sysdeps/x86_64/memmove.c: Likewise.
598 * sysdeps/x86_64/memset.S: Likewise.
599 * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
600 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
601 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
602 * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
603 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
604 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
605 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
606 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
607 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
608 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
609 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
610 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
611 * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
612 * sysdeps/x86_64/multiarch/memset.S: Likewise.
613 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
614 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
615 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
616 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
617 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
618 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
619 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
620 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
621 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
622 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
623 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
624 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
625 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
626 * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
627 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
628 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
629 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
630 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
631 * sysdeps/x86_64/strcmp.S: Likewise.
632
633 * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
634
635 * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
636 * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
637 * elf/rtld-Rules: Likewise.
638 * elf/setup-vdso.h: Likewise.
639 * include/assert.h: Likewise.
640 * include/bits/stdlib-float.h: Likewise.
641 * include/errno.h: Likewise.
642 * include/sys/stat.h: Likewise.
643 * include/unistd.h: Likewise.
644 * sysdeps/aarch64/setjmp.S: Likewise.
645 * sysdeps/alpha/setjmp.S: Likewise.
646 * sysdeps/arm/__longjmp.S: Likewise.
647 * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
648 * sysdeps/arm/setjmp.S: Likewise.
649 * sysdeps/arm/sysdep.h: Likewise.
650 * sysdeps/generic/_itoa.h: Likewise.
651 * sysdeps/generic/dl-sysdep.h: Likewise.
652 * sysdeps/generic/ldsodefs.h: Likewise.
653 * sysdeps/i386/dl-tls.h: Likewise.
654 * sysdeps/i386/setjmp.S: Likewise.
655 * sysdeps/m68k/setjmp.c: Likewise.
656 * sysdeps/mach/hurd/dl-execstack.c: Likewise.
657 * sysdeps/mach/hurd/opendir.c: Likewise.
658 * sysdeps/posix/getcwd.c: Likewise.
659 * sysdeps/posix/opendir.c: Likewise.
660 * sysdeps/posix/profil.c: Likewise.
661 * sysdeps/powerpc/dl-procinfo.h: Likewise.
662 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
663 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
664 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
665 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
666 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
667 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
668 * sysdeps/s390/dl-tls.h: Likewise.
669 * sysdeps/s390/s390-32/setjmp.S: Likewise.
670 * sysdeps/s390/s390-64/setjmp.S: Likewise.
671 * sysdeps/sh/sh3/setjmp.S: Likewise.
672 * sysdeps/sh/sh4/setjmp.S: Likewise.
673 * sysdeps/unix/alpha/sysdep.h: Likewise.
674 * sysdeps/unix/arm/sysdep.S: Likewise.
675 * sysdeps/unix/i386/sysdep.S: Likewise.
676 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
677 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
678 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
679 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
680 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
681 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
682 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
683 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
684 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
685 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
686 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
687 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
688 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
689 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
690 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
691 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
692 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
693 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
694 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
695 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
696 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
697 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
698 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
699 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
700 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
701 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
702 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
703 * sysdeps/unix/x86_64/sysdep.S: Likewise.
704 * sysdeps/x86_64/setjmp.S: Likewise.
705
706 * include/math.h: Use IS_IN instead of IS_IN_libm.
707 * sysdeps/alpha/fpu/s_copysign.c: Likewise.
708 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
709 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
710 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
711 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
712 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
713 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
714 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
715 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
716 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
717 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
718 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
719 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
720 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
721 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
722 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
723 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
724 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
725 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
726 * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
727 * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
728 * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
729 * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
730 * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
731 * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
732 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
733 * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
734 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
735 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
736 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
737 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
738 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
739 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
740 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
741 Likewise.
742 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
743 Likewise.
744 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
745 Likewise.
746 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
747 Likewise.
748 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
749 Likewise.
750 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
751 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
752 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
753 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
754 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
755 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
756 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
757 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
758 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
759 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
760 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
761 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
762 * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
763 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
764 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
765 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
766 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
767 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
768 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
769 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
770 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
771 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
772 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
773 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
774 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
775 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
776 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
777
778 * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
779 * nptl/pthreadP.h: Likewise.
780 * nptl_db/structs.def: Likewise.
781 * sysdeps/arm/sysdep.h: Likewise.
782 * sysdeps/nptl/bits/libc-lock.h: Likewise.
783 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
784 * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
785 * sysdeps/unix/alpha/sysdep.h: Likewise.
786 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
787 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
788 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
789 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
790 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
791 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
792 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
793 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
794 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
795 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
796 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
797 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
798 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
799 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
800 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
801 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
802 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
803 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
804 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
805 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
806 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
807 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
808 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
809 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
810 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
811 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
812
813 * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
814 * nptl/pthreadP.h: Likewise.
815 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
816 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
817 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
818 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
819 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
820 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
821 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
822 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
823 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
824 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
825 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
826 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
827 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
828 Likewise.
829 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
830 Likewise.
831 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
832 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
833 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
834 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
835 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
836 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
837 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
838 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
839
840 * dlfcn/dladdr.c: Use IS_IN.
841 * dlfcn/dladdr1.c: Likewise.
842 * dlfcn/dlclose.c: Likewise.
843 * dlfcn/dlerror.c: Likewise.
844 * dlfcn/dlinfo.c: Likewise.
845 * dlfcn/dlmopen.c: Likewise.
846 * dlfcn/dlopen.c: Likewise.
847 * dlfcn/dlsym.c: Likewise.
848 * dlfcn/dlvsym.c: Likewise.
849
850 * include/ifaddrs.h: Use IS_IN.
851 * inet/check_pf.c: Likewise.
852 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
853 * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
854
855 * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
856 IS_IN_ldconfig.
857 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
858 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
859
860 * include/shlib-compat.h [!NOT_IN_libc]: Remove.
861 * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
862 IS_IN (libc).
863
864 * elf/Makefile (libof-sotruss-lib): Set as extramodules.
865
866 * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
867 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
868 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
869 * include/libc-symbols.h (IS_IN_LIB): New macro.
870 * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
871 * include/netdb.h: Likewise.
872 * include/stap-probe.h: Remove all uses of IN_LIB.
873
874 * Makeconfig (module-cppflags-real): Define MODULE_NAME
875 instead of IN_MODULE.
876 * include/libc-symbols.h (IN_MODULE): Define using
877 MODULE_NAME.
878 (PASTE_NAME, PASTE_NAME1): New macros.
879 * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
880 of IN_LIB.
881 (STAP_PROBE_ASM): Likewise.
882
883 2014-11-23 Samuel Thibault <samuel.thibault@ens-lyon.org>
884
885 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
886 __mach_init in dlopened libc.
887
888 2014-11-22 Mike Frysinger <vapier@gentoo.org>
889
890 * sysdeps/arm/preconfigure.ac: Delete EABI check.
891 * sysdeps/arm/preconfigure: Regenerate.
892
893 2014-11-21 Roland McGrath <roland@hack.frob.com>
894
895 * nptl/pthread_create.c (__pthread_create_2_1): Set
896 ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
897 when copying values from IATTR into PD.
898
899 2014-11-21 Will Newton <will.newton@linaro.org>
900 Andrew Pinski <andrew.pinski@caviumnetworks.com>
901
902 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
903 Refactor inline-asm. Also add comment.
904
905 * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
906 ElfW macro instead of hardcoded Elf64 types.
907 (la_aarch64_gnu_pltenter): Likewise.
908 * sysdeps/aarch64/dl-machine.h
909 (elf_machine_runtime_setup): Use ElfW(Addr).
910
911 * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
912 R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
913 R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
914 R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
915 R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
916 (R_AARCH64_TLS_DTPMOD64): Rename to ..
917 (R_AARCH64_TLS_DTPMOD): This.
918 (R_AARCH64_TLS_DTPREL64): Rename to ...
919 (R_AARCH64_TLS_DTPREL): This.
920 (R_AARCH64_TLS_TPREL64): Rename to ...
921 (R_AARCH64_TLS_TPREL): This.
922 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
923 R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
924 R_AARCH64_TLS_TPREL64.
925 (elf_machine_rela): Likewise.
926
927 2014-11-21 Torvald Riegel <triegel@redhat.com>
928
929 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
930 by setting it to 0. 64b atomics are not supported currently.
931
932 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
933
934 [BZ #16469]
935 * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
936 search domain names.
937
938 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
939
940 [BZ #16469]
941 * NEWS: Update.
942 * resolv/res_query.c (__libc_res_nquerydomain): Retain
943 trailing dot.
944 * posix/tst-getaddrinfo5.c: New.
945 * posix/Makefile (tests): Add it.
946
947 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
948
949 [BZ #14498]
950 * NEWS: Fixed.
951 * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
952 after parsing line but before break_if_match.
953 * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
954 if there is a protocol mismatch.
955
956 2014-11-21 Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
957
958 * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
959 because the potential race is on the user-supplied stream.
960
961 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
962
963 * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
964 string literal if not passed a buffer.
965 * manual/job.texi (ctermid): Update reasoning, note deviation
966 from posix, suggest mtasurace when not passed a buffer, for
967 future non-preliminary safety notes.
968
969 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
970
971 * manual/users.texi (cuserid): Fix MT-Safety note for the case
972 of not passing it a buffer.
973 Reported by Peng Haitao.
974
975 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
976
977 * manual/Makefile ($(objpfx)stamp-summary): Require
978 check-safety.sh to pass.
979 * manual/check-safety.sh: Wish for verification that every
980 @deftypefn and @deftypefun is followed by a @safety remark.
981
982 2014-11-20 Roland McGrath <roland@hack.frob.com>
983
984 * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
985
986 * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
987 PTHREAD_CANCEL_ASYNCHRONOUS.
988 * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
989 send SIGCANCEL.
990
991 * nptl/default-sched.h: New file.
992 * sysdeps/unix/sysv/linux/default-sched.h: New file.
993 * nptl/pthread_create.c: Include it.
994 (__pthread_create_2_1): Use collect_default_sched instead of making
995 Linux syscalls here directly.
996
997 2014-11-20 Torvald Riegel <triegel@redhat.com>
998
999 * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
1000 __pthread_once): Use C11 atomics.
1001
1002 2014-11-20 Torvald Riegel <triegel@redhat.com>
1003
1004 * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
1005
1006 2014-11-20 Torvald Riegel <triegel@redhat.com>
1007
1008 * include/atomic.h (__atomic_link_error, __atomic_check_size,
1009 atomic_thread_fence_acquire, atomic_thread_fence_release,
1010 atomic_thread_fence_seq_cst, atomic_load_relaxed,
1011 atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
1012 atomic_compare_exchange_weak_relaxed,
1013 atomic_compare_exchange_weak_acquire,
1014 atomic_compare_exchange_weak_release,
1015 atomic_exchange_acquire, atomic_exchange_release,
1016 atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
1017 atomic_fetch_add_release, atomic_fetch_add_acq_rel,
1018 atomic_fetch_and_acquire,
1019 atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
1020
1021 2014-11-20 Torvald Riegel <triegel@redhat.com>
1022
1023 * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
1024 USE_ATOMIC_COMPILER_BUILTINS): Define.
1025 * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
1026 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1027 * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
1028 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1029 * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
1030 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1031 * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
1032 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1033 * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
1034 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1035 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
1036 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1037 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
1038 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1039 * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
1040 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1041 * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
1042 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1043 * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
1044 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1045 * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
1046 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1047 * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
1048 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1049 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
1050 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1051 * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
1052 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1053 * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
1054 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1055 * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
1056 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1057 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
1058 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1059 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
1060 (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1061 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
1062 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1063 * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
1064 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1065
1066 2014-11-19 Roland McGrath <roland@hack.frob.com>
1067
1068 * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
1069 the sched_priority value here. It was already checked when the user
1070 called pthread_attr_setschedparam.
1071
1072 * nptl/tst-bad-schedattr.c: New file.
1073 * nptl/Makefile (tests): Add it.
1074
1075 2014-11-19 Carlos O'Donell <carlos@redhat.com>
1076 Florian Weimer <fweimer@redhat.com>
1077 Joseph Myers <joseph@codesourcery.com>
1078 Adam Conrad <adconrad@0c3.net>
1079 Andreas Schwab <schwab@suse.de>
1080 Brooks <bmoses@google.com>
1081
1082 [BZ #17625]
1083 * wordexp-test.c (__dso_handle): Add prototype.
1084 (__register_atfork): Likewise.
1085 (__app_register_atfork): New function.
1086 (registered_forks): New global.
1087 (register_fork): New function.
1088 (test_case): Add 3 new tests for WRDE_CMDSUB.
1089 (main): Call __app_register_atfork.
1090 (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
1091 fork count is non-zero fail the test.
1092 * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
1093 is set.
1094 (parse_dollars): Remove check for WRDE_NOCMD.
1095 (parse_dquote): Likewise.
1096
1097 2014-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
1098
1099 * Makeconfig (built-modules): List non-library modules to be
1100 built.
1101 (module-cppflags): Include libc-modules.h for
1102 everything except shlib-versions.v.i.
1103 (CPPFLAGS): Use it.
1104 (before-compile): Add libc-modules.h.
1105 ($(common-objpfx)libc-modules.h,
1106 $(common-objpfx)libc-modules.stmp): New targets.
1107 (common-generated): Add libc-modules.h and libc-modules.stmp.
1108 ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
1109 * include/libc-symbols.h: Don't include libc-modules.h.
1110 * include/libc-modules.h: Remove file.
1111 * scripts/gen-libc-modules.awk: New script to generate
1112 libc-modules.h.
1113 * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
1114 Depend on libc-modules.stmp.
1115
1116 * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
1117
1118 * Makeconfig (in-module): Get value of libof set for the
1119 translation unit.
1120 (CPPFLAGS): Use $(in-module).
1121 * Makerules: Don't suffix routine names for nonlib.
1122 * include/libc-modules.h: New file.
1123 * include/libc-symbols.h: Include libc-modules.h
1124 (IS_IN): New macro to replace IS_IN_* macros.
1125 * elf/Makefile: Set libof-* for each routine.
1126 * elf/rtld-Rules: Likewise.
1127 * extra-modules.mk: Likewise.
1128 * iconv/Makefile: Likewise.
1129 * iconvdata/Makefile: Likewise.
1130 * locale/Makefile: Likewise.
1131 * malloc/Makefile: Likewise.
1132 * nss/Makefile: Likewise.
1133 * sysdeps/gnu/Makefile: Likewise.
1134 * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
1135 * sysdeps/unix/sysv/linux/Makefile: Likewise.
1136 * sysdeps/s390/s390-64/Makefile: Likewise.
1137 * nscd/Makefile: Set libof-* for each routine. Set CFLAGS and
1138 CPPFLAGS for nscd instead of nonlib.
1139
1140 2014-11-18 Roland McGrath <roland@hack.frob.com>
1141
1142 * nptl/createthread.c: New file.
1143
1144 * nptl/createthread.c: Moved ...
1145 * sysdeps/unix/sysv/linux/createthread.c: ... here.
1146
1147 * nptl/createthread.c: Add proper top-line comment.
1148 (do_clone): Folded into ...
1149 (create_thread): ... here. Take new arguments STOPPED_START and
1150 THREAD_RAN. Always set PD->stopped_start to something here. Don't
1151 increment __nptl_threads, do event-reporting logic, do
1152 CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
1153 here. Set *THREAD_RAN after ARCH_CLONE call succeeds. Don't do any
1154 resource cleanup if sched_setaffinity or sched_setscheduler fails,
1155 just send SIGCANCEL.
1156 * nptl/pthread_create.c: Forward-declare create_thread before
1157 including createthread.c.
1158 (start_thread): Use new macro START_THREAD_DEFN to replace defining
1159 declaration, and new macro START_THREAD_SELF to replace argument.
1160 Remove return statement.
1161 (report_thread_creation): New function.
1162 (__pthread_create_2_1): Use it. Do TD_CREATE reporting,
1163 synchronization logic, and __nptl_nthreads increment here, around
1164 calling create_thread. Do CHECK_THREAD_SYSINFO and initialize
1165 PD->parent_cancelhandling here, before create_thread. When
1166 create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
1167 __deallocate_stack, and ENOMEM translation here.
1168
1169 2014-11-18 Joseph Myers <joseph@codesourcery.com>
1170
1171 [BZ #17616]
1172 * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
1173 (mptwo): Rename to __mptwo.
1174 (__inv): Use __mptwo instead of mptwo.
1175 * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
1176 (mptwo): Rename to __mptwo.
1177 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
1178 of mpone and __mptwo instead of mptwo.
1179 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
1180 instead of mpone.
1181 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
1182 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
1183 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
1184 of mpone and __mptwo instead of mptwo.
1185 (__mpranred): Use __mpone instead of mpone.
1186 * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
1187 variable.
1188 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
1189 (test-xfail-ISO99/math.h/linknamespace): Likewise.
1190 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
1191 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
1192 (test-xfail-ISO11/math.h/linknamespace): Likewise.
1193 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
1194 (test-xfail-XPG3/math.h/linknamespace): Likewise.
1195 (test-xfail-XPG4/math.h/linknamespace): Likewise.
1196 (test-xfail-POSIX/math.h/linknamespace): Likewise.
1197 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
1198 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
1199 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
1200 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
1201 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
1202 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
1203 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
1204 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
1205 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
1206 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
1207
1208 2014-11-18 Tom de Vries <tom@codesoucery.com>
1209
1210 * manual/signal.texi (Primitives Interrupted by Signals): In section,
1211 replace BSD Handler xref with BSD Signal Handling.
1212
1213 2014-11-17 Richard Henderson <rth@redhat.com>
1214
1215 * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
1216 (_FP_PACK_RAW_2): Remove.
1217 (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
1218 (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
1219 (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
1220 (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
1221 * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
1222 * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
1223 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
1224 * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
1225 * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
1226 * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
1227 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
1228 * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
1229 * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
1230 * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
1231 * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
1232 * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
1233
1234 2014-11-14 Roland McGrath <roland@hack.frob.com>
1235
1236 * signal/signal.h [__USE_MISC]
1237 (struct sigvec): Remove type.
1238 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
1239 (sigvec): Remove declaration.
1240 * sysdeps/posix/sigvec.c: Moved ...
1241 * signal/sigvec.c: ... here, replacing old file.
1242 (struct sigvec): New type, copied from old signal.h definition.
1243 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
1244 (__sigvec): Convert definition to prototype.
1245 (sigvec): Replace weak_alias with compat_symbol.
1246 * signal/Versions (libc: GLIBC_2.21): New version set.
1247 * include/signal.h: Remove __sigvec declaration.
1248 * sysdeps/unix/bsd/sigvec.c: Remove file.
1249 * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
1250 * manual/signal.texi (BSD Handler): Remove subsection.
1251 Move siginterrupt up to ...
1252 (BSD Signal Handling): ... here. Mark it as XPG rather than BSD.
1253 (Blocking in BSD): Fold subsection into its parent.
1254 * NEWS: Mention sigvec removal.
1255
1256 2014-11-14 Joseph Myers <joseph@codesourcery.com>
1257
1258 * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
1259 (DLA_FMS): Make definition conditional only on [__FMA4__].
1260 [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
1261 definition.
1262
1263 * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
1264 Make definition conditional only on [PROF].
1265 [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
1266 definition.
1267 [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
1268 [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
1269
1270 * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
1271 !__GNUC__].
1272 * include/signal.h (__sigpause): Move declaration above call to
1273 libc_hidden_proto.
1274 * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
1275 variable.
1276 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
1277 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
1278
1279 2014-11-14 David S. Miller <davem@davemloft.net>
1280
1281 * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
1282 Define before including <string/memcpy.c> and <string/mempcpy.c>.
1283
1284 2014-11-14 Joseph Myers <joseph@codesourcery.com>
1285
1286 * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
1287 * configure: Regenerated.
1288 * manual/install.texi (Tools for Compilation): Document a
1289 requirement of GCC 4.6 or later and that GCC 4.9 is the newest
1290 compiler verified to work.
1291 * INSTALL: Regenerated.
1292
1293 * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
1294 redeclare with asm name.
1295 [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
1296 * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
1297 including <string.h>.
1298 * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
1299 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
1300 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
1301 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
1302 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
1303 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
1304 [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
1305
1306 2014-11-13 Joseph Myers <joseph@codesourcery.com>
1307
1308 * stdlib/strtol.c (__strtol): Use prototype definition.
1309
1310 [BZ #17594]
1311 * stdlib/strtol.c (SYM__): New macro.
1312 (SYM__1): Likewise.
1313 (__strtol): Likewise.
1314 (strtol): Rename to __strtol and define as weak alias of
1315 __strtol. Use libc_hidden_weak.
1316
1317 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
1318
1319 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
1320 Use numbered labels in inline assembly.
1321
1322 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
1323
1324 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
1325 Add setjmp LIBC_PROBE.
1326 * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
1327 Likewise.
1328 * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
1329 Add longjmp, longjmp_target LIBC_PROBE.
1330 * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
1331 Likewise.
1332
1333 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
1334
1335 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
1336 Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
1337 to get rid of unused variable warning.
1338
1339 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
1340
1341 * sysdeps/s390/s390-32/backtrace.c (__backtrace):
1342 Check for unwind_backtrace == NULL only in SHARED case.
1343 (__backchain_backtrace): Compile only in SHARED case.
1344 * sysdeps/s390/s390-64/backtrace.c (__backtrace):
1345 Likewise.
1346 (__backchain_backtrace): Declare as static.
1347
1348 2014-11-12 Roland McGrath <roland@hack.frob.com>
1349
1350 * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
1351 (__libc_multiple_threads_ptr): Variable moved ...
1352 * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
1353
1354 2014-11-12 Joseph Myers <joseph@codesourcery.com>
1355
1356 * conform/GlibcConform.pm: New file.
1357 * conform/conformtest.pl: Use GlibcConform module.
1358 * conform/linknamespace.pl: New file.
1359 * conform/list-header-symbols.pl: Likewise.
1360 * conform/Makefile (linknamespace-symlists-base): New variable.
1361 (linknamespace-symlists-tests): Likewise.
1362 (linknamespace-header-base): Likewise.
1363 (linknamespace-header-tests): Likewise.
1364 (tests-special): Add new tests.
1365 ($(linknamespace-symlists-tests)): New rule.
1366 (linknamespace-libs): New variable.
1367 ($(objpfx)symlist-stdlibs): New rule.
1368 ($(linknamespace-header-tests)): Likewise.
1369 (test-xfail-XPG3/varargs.h/linknamespace): New variable.
1370 (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
1371 (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
1372 (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
1373 (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
1374 (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
1375 (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
1376 (test-xfail-ISO/math.h/linknamespace): Likewise.
1377 (test-xfail-ISO/signal.h/linknamespace): Likewise.
1378 (test-xfail-ISO/stdio.h/linknamespace): Likewise.
1379 (test-xfail-ISO/time.h/linknamespace): Likewise.
1380 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
1381 (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
1382 (test-xfail-ISO99/math.h/linknamespace): Likewise.
1383 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
1384 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
1385 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
1386 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
1387 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
1388 (test-xfail-ISO11/math.h/linknamespace): Likewise.
1389 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
1390 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
1391 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
1392 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
1393 (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
1394 (test-xfail-XPG3/glob.h/linknamespace): Likewise.
1395 (test-xfail-XPG3/math.h/linknamespace): Likewise.
1396 (test-xfail-XPG3/regex.h/linknamespace): Likewise.
1397 (test-xfail-XPG3/search.h/linknamespace): Likewise.
1398 (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
1399 (test-xfail-XPG3/time.h/linknamespace): Likewise.
1400 (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
1401 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
1402 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
1403 (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
1404 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
1405 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
1406 (test-xfail-XPG4/grp.h/linknamespace): Likewise.
1407 (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
1408 (test-xfail-XPG4/math.h/linknamespace): Likewise.
1409 (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
1410 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
1411 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
1412 (test-xfail-XPG4/search.h/linknamespace): Likewise.
1413 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
1414 (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
1415 (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
1416 (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
1417 (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
1418 (test-xfail-XPG4/time.h/linknamespace): Likewise.
1419 (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
1420 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
1421 (test-xfail-POSIX/aio.h/linknamespace): Likewise.
1422 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
1423 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
1424 (test-xfail-POSIX/math.h/linknamespace): Likewise.
1425 (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
1426 (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
1427 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
1428 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
1429 (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
1430 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
1431 (test-xfail-POSIX/time.h/linknamespace): Likewise.
1432 (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
1433 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
1434 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
1435 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
1436 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
1437 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
1438 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
1439 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
1440 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
1441 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
1442 (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
1443 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
1444 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
1445 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
1446 (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
1447 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
1448 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
1449 (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
1450 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
1451 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
1452 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
1453 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
1454 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
1455 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
1456 (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
1457 (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
1458 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
1459 (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
1460 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
1461 (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
1462 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
1463 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
1464 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
1465 (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
1466 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
1467 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
1468 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
1469 (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
1470 (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
1471 (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
1472 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
1473 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
1474 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
1475 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
1476 (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
1477 (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
1478 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
1479 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
1480 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
1481 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
1482 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
1483 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
1484 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
1485 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
1486 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
1487 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
1488 (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
1489 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
1490 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
1491 (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
1492 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
1493 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
1494 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
1495 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
1496 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
1497 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
1498 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
1499 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
1500 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
1501 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
1502 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
1503 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
1504 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
1505 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
1506 (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
1507 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
1508 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
1509 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
1510 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
1511 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
1512 (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
1513 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
1514 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
1515 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
1516 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
1517 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
1518 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
1519 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
1520 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
1521 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
1522 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
1523 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
1524 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
1525 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
1526 (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
1527 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
1528 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
1529 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
1530
1531 [BZ #17589]
1532 * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
1533 of fgets_unlocked.
1534
1535 [BZ #17585]
1536 * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
1537 (memmem): Rename to __memmem and define as weak alias of
1538 __memmem. Use libc_hidden_weak.
1539 (__memmem): Use libc_hidden_def.
1540 * include/string.h (__memmem): Declare. Use libc_hidden_proto.
1541 * locale/findlocale.c (valid_locale_name): Use __memmem instead of
1542 memmem.
1543
1544 [BZ #17582]
1545 * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
1546 (__fgets_unlocked): Add alias of _IO_fgets. Use libc_hidden_def.
1547 * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
1548 and define as weak alias of __fgets_unlocked. Use
1549 libc_hidden_weak.
1550 (__fgets_unlocked): Use libc_hidden_def.
1551 * include/stdio.h (__fgets_unlocked): Declare. Use
1552 libc_hidden_proto.
1553 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
1554 __fgets_unlocked instead of fgets_unlocked.
1555 * sysdeps/unix/sysv/linux/alpha/getsysstats.c
1556 (GET_NPROCS_CONF_PARSER): Likewise.
1557 * sysdeps/unix/sysv/linux/sparc/getsysstats.c
1558 (GET_NPROCS_CONF_PARSER): Likewise.
1559
1560 [BZ #17574]
1561 * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
1562 weak alias of __wmemset. Use libc_hidden_weak.
1563 (__wmemset): Use libc_hidden_def.
1564 * include/wchar.h (__wmemset): Declare. Use libc_hidden_proto.
1565 * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
1566 of wmemset.
1567
1568 [BZ #17573]
1569 * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
1570 with asm name __mempcpy.
1571 [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
1572
1573 [BZ #17572]
1574 * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
1575 and define as weak alias of __rawmemchr.
1576 (__rawmemchr): Do not define as strong alias of rawmemchr.
1577
1578 [BZ #17571]
1579 * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
1580 alias of __qsort_r.
1581 (qsort): Call __qsort_r instead of qsort_r.
1582 * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
1583 (__qsort_r): Declare. Call libc_hidden_proto.
1584 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
1585 instead of qsort_r.
1586 * nscd/gai.c (__qsort_r): Define to qsort_r.
1587 * posix/tst-rfc3484.c (__qsort_r): Likewise.
1588 * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
1589 * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
1590
1591 [BZ #17570]
1592 * malloc/malloc.c (malloc_info): Rename to __malloc_info and
1593 define as weak alias of __malloc_info.
1594
1595 [BZ #17584]
1596 * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
1597 as weak alias of __rewinddir. Don't use libc_hidden_def.
1598 (__rewinddir): Use libc_hidden_def.
1599 * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
1600 as weak alias of __rewinddir. Don't use libc_hidden_def.
1601 (__rewinddir): Use libc_hidden_def.
1602 * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
1603 weak alias of __rewinddir. Don't use libc_hidden_def.
1604 (__rewinddir): Use libc_hidden_def.
1605 * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
1606 (__rewinddir): Use libc_hidden_proto.
1607 * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
1608 rewinddir.
1609 (__getcwd): Use __rewinddir instead of rewinddir.
1610
1611 [BZ #17583]
1612 * libio/fileno.c (fileno): Rename to __fileno and define as weak
1613 alias of __fileno. Use libc_hidden_weak.
1614 (__fileno): Use libc_hidden_def.
1615 [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
1616 * libio/ftello.c (ftello): Rename to __ftello and define as weak
1617 alias of __ftello.
1618 [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
1619 __ftello.
1620 * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
1621 (__fread_unlocked): Define as strong alias of _IO_fread. Use
1622 libc_hidden_def.
1623 (fread_unlocked): Don't use libc_hidden_ver.
1624 * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
1625 and define as weak alias of __fread_unlocked. Don't use
1626 libc_hidden_def.
1627 (__fread_unlocked): Use libc_hidden_def.
1628 * include/stdio.h (__fileno): Declare. Use libc_hidden_proto.
1629 (ftello): Don't use libc_hidden_proto.
1630 (__ftello): Declare. Use libc_hidden_proto.
1631 (fread_unlocked): Don't use libc_hidden_proto.
1632 (__fread_unlocked): Declare. Use libc_hidden_proto.
1633 * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
1634 and __ftello instead of fileno, fread_unlocked and ftello.
1635
1636 2012-11-12 Siddhesh Poyarekar <siddhesh@redhat.com>
1637
1638 * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
1639 GOT12.
1640 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
1641 Likewise.
1642 (_dl_start_user): Likewise.
1643 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
1644
1645 2014-11-12 Carlos O'Donell <carlos@redhat.com>
1646 Siddhesh Poyarekar <siddhesh@redhat.com>
1647
1648 * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
1649 Move argv and envp down instead of moving argc up.
1650 * sysdeps/s390/s390-32/dl-sysdep.h: New file.
1651
1652 2014-11-12 Leonhard Holz <leonhard.holz@web.de>
1653
1654 [BZ #17506]
1655 * test-skeleton.c (main): Return successful if one of
1656 EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
1657 * string/tst-strcoll-overflow.c: Define expected status.
1658
1659 2014-11-12 Tatiana Udalova <t.udalova@samsung.com>
1660
1661 [BZ #17475]
1662 * locale/iso-639.def: Define Bhili and Tulu language codes.
1663
1664 2014-11-11 Alan Hayward <alan.hayward@arm.com>
1665
1666 * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
1667
1668 2014-11-10 Renlin Li <Renlin.Li@arm.com>
1669
1670 [BZ #17555]
1671 * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
1672
1673 2014-11-10 Andrew Senkevich <andrew.n.senkevich@gmail.com>
1674
1675 * configure.ac: Updated check of minimal required version to
1676 2.22.
1677 * manual/install.texi (Tools for Compilation): Updated version
1678 number.
1679 * configure: Regenerated.
1680 * INSTALL: Likewise.
1681
1682 2014-11-07 Andreas Schwab <schwab@linux-m68k.org>
1683
1684 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
1685 __tls_get_addr.
1686
1687 2014-11-07 Joseph Myers <joseph@codesourcery.com>
1688
1689 * include/sys/wait.h (__libc_waitpid): Remove declaration.
1690 * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
1691 (__waitpid): Don't define as alias. Use libc_hidden_def not
1692 libc_hidden_weak.
1693 (waitpid): Define as alias of __waitpid.
1694 * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
1695 __waitpid.
1696 (__waitpid): Don't define as alias. Use libc_hidden_def not
1697 libc_hidden_weak.
1698 (waitpid): Define as alias of __waitpid.
1699 * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
1700 __libc_waitpid alias.
1701 * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
1702 * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
1703 Likewise.
1704 * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
1705 * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
1706 * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
1707 alias.
1708 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
1709 __waitpid.
1710 (__waitpid): Don't define as alias. Use libc_hidden_def not
1711 libc_hidden_weak.
1712 (waitpid): Define as alias of __waitpid.
1713
1714 2014-11-06 Carlos O'Donell <carlos@redhat.com>
1715
1716 * manual/llio.texi: Add comment that write safety has been
1717 fixed in Linux.
1718
1719 * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
1720 (localplt-build-dso): Add elf/ld.so.
1721 * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
1722 i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
1723 and free for ld.so.
1724 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
1725 __libc_memalign, malloc, calloc, realloc, and free for ld.so.
1726 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
1727 Likewise.
1728 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
1729 Likewise.
1730 * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
1731 * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
1732 version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
1733 * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
1734 * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
1735 * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
1736 * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
1737 * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
1738 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
1739 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
1740 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
1741
1742 2014-11-05 Joseph Myers <joseph@codesourcery.com>
1743
1744 [BZ #14132]
1745 * include/libc-symbols.h (INTUSE): Remove macro.
1746 (INTDEF): Likewise.
1747 (INTVARDEF): Likewise.
1748 (_INTVARDEF): Likewise.
1749 (INTDEF2): Likewise.
1750 (INTVARDEF2): Likewise.
1751 * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
1752 rtld_hidden_def instead of INTVARDEF.
1753 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
1754 (_dl_starting_up_internal): Remove declaration.
1755 (_dl_starting_up): Use rtld_hidden_proto.
1756 * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
1757 declaration.
1758 [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
1759 (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
1760 _dl_starting_up.
1761 * elf/dl-writev.h (_dl_writev): Likewise.
1762 * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
1763 (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
1764 _dl_starting_up_internal.
1765
1766 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1767
1768 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
1769 test-skeleton.c.
1770
1771 2014-11-05 Will Newton <will.newton@linaro.org>
1772
1773 * benchtests/Makefile: (bench-malloc): Add malloc thread
1774 scalability benchmark.
1775 * benchtests/bench-malloc-threads.c: New file.
1776
1777 2014-11-05 Richard Earnshaw <rearnsha@arm.com>
1778
1779 * sysdeps/aarch64/strchrnul.S: New file.
1780
1781 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1782
1783 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
1784 definition.
1785 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
1786 Likwise.
1787 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
1788 Likewise.
1789 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
1790 Likewise.
1791 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
1792 Likewise.
1793 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
1794 Likewise.
1795
1796 2014-11-05 Arjun Shankar <arjun.is@lostca.se>
1797
1798 * catgets/test-gencat.c: Use test-skeleton.c.
1799 * catgets/tst-catgets.c: Likewise.
1800 * csu/tst-empty.c: Likewise.
1801 * elf/tst-audit2.c: Likewise.
1802 * elf/tst-global1.c: Likewise.
1803 * elf/tst-pathopt.c: Likewise.
1804 * elf/tst-piemod1.c: Likewise.
1805 * elf/tst-tls10.c: Likewise.
1806 * elf/tst-tls11.c: Likewise.
1807 * elf/tst-tls12.c: Likewise.
1808 * gnulib/tst-gcc.c: Likewise.
1809 * iconvdata/tst-e2big.c: Likewise.
1810 * iconvdata/tst-loading.c: Likewise.
1811 * iconv/tst-iconv1.c: Likewise.
1812 * iconv/tst-iconv2.c: Likewise.
1813 * inet/test-inet6_opt.c: Likewise.
1814 * inet/tst-gethnm.c: Likewise.
1815 * inet/tst-network.c: Likewise.
1816 * inet/tst-ntoa.c: Likewise.
1817 * intl/tst-codeset.c: Likewise.
1818 * intl/tst-gettext2.c: Likewise.
1819 * intl/tst-gettext3.c: Likewise.
1820 * intl/tst-ngettext.c: Likewise.
1821 * intl/tst-translit.c: Likewise.
1822 * io/test-stat.c: Likewise.
1823 * libio/test-fmemopen.c: Likewise.
1824 * libio/tst-freopen.c: Likewise.
1825 * libio/tst-sscanf.c: Likewise.
1826 * libio/tst-ungetwc1.c: Likewise.
1827 * libio/tst-ungetwc2.c: Likewise.
1828 * libio/tst-widetext.c: Likewise.
1829 * localedata/tst-ctype.c: Likewise.
1830 * localedata/tst-digits.c: Likewise.
1831 * localedata/tst-leaks.c: Likewise.
1832 * localedata/tst-mbswcs1.c: Likewise.
1833 * localedata/tst-mbswcs2.c: Likewise.
1834 * localedata/tst-mbswcs3.c: Likewise.
1835 * localedata/tst-mbswcs4.c: Likewise.
1836 * localedata/tst-mbswcs5.c: Likewise.
1837 * localedata/tst-setlocale.c: Likewise.
1838 * localedata/tst-trans.c: Likewise.
1839 * localedata/tst-wctype.c: Likewise.
1840 * localedata/tst-xlocale1.c: Likewise.
1841 * login/tst-grantpt.c: Likewise.
1842 * malloc/tst-calloc.c: Likewise.
1843 * malloc/tst-malloc.c: Likewise.
1844 * malloc/tst-mallocstate.c: Likewise.
1845 * malloc/tst-mcheck.c: Likewise.
1846 * malloc/tst-mtrace.c: Likewise.
1847 * malloc/tst-obstack.c: Likewise.
1848 * math/atest-exp2.c: Likewise.
1849 * math/atest-exp.c: Likewise.
1850 * math/atest-sincos.c: Likewise.
1851 * math/test-matherr.c: Likewise.
1852 * math/test-misc.c: Likewise.
1853 * math/test-powl.c: Likewise.
1854 * math/tst-definitions.c: Likewise.
1855 * misc/tst-dirname.c: Likewise.
1856 * misc/tst-efgcvt.c: Likewise.
1857 * misc/tst-fdset.c: Likewise.
1858 * misc/tst-hsearch.c: Likewise.
1859 * misc/tst-mntent2.c: Likewise.
1860 * nptl/tst-sem7.c: Likewise.
1861 * nptl/tst-sem8.c: Likewise.
1862 * nptl/tst-sem9.c: Likewise.
1863 * nss/test-netdb.c: Likewise.
1864 * posix/tst-fnmatch.c: Likewise.
1865 * posix/tst-getlogin.c: Likewise.
1866 * posix/tst-gnuglob.c: Likewise.
1867 * posix/tst-mmap.c: Likewise.
1868 * pwd/tst-getpw.c: Likewise.
1869 * resolv/tst-inet_ntop.c: Likewise.
1870 * rt/tst-timer.c: Likewise.
1871 * stdio-common/test-fseek.c: Likewise.
1872 * stdio-common/test-popen.c: Likewise.
1873 * stdio-common/test-vfprintf.c: Likewise.
1874 * stdio-common/tst-cookie.c: Likewise.
1875 * stdio-common/tst-fileno.c: Likewise.
1876 * stdio-common/tst-gets.c: Likewise.
1877 * stdio-common/tst-obprintf.c: Likewise.
1878 * stdio-common/tst-perror.c: Likewise.
1879 * stdio-common/tst-sprintf2.c: Likewise.
1880 * stdio-common/tst-sprintf3.c: Likewise.
1881 * stdio-common/tst-sprintf.c: Likewise.
1882 * stdio-common/tst-swprintf.c: Likewise.
1883 * stdio-common/tst-tmpnam.c: Likewise.
1884 * stdio-common/tst-unbputc.c: Likewise.
1885 * stdio-common/tst-wc-printf.c: Likewise.
1886 * stdlib/tst-environ.c: Likewise.
1887 * stdlib/tst-fmtmsg.c: Likewise.
1888 * stdlib/tst-limits.c: Likewise.
1889 * stdlib/tst-rand48-2.c: Likewise.
1890 * stdlib/tst-rand48.c: Likewise.
1891 * stdlib/tst-random2.c: Likewise.
1892 * stdlib/tst-random.c: Likewise.
1893 * stdlib/tst-strtol.c: Likewise.
1894 * stdlib/tst-strtoll.c: Likewise.
1895 * stdlib/tst-tls-atexit.c: Likewise.
1896 * stdlib/tst-xpg-basename.c: Likewise.
1897 * string/test-ffs.c: Likewise.
1898 * string/tst-bswap.c: Likewise.
1899 * string/tst-inlcall.c: Likewise.
1900 * string/tst-strtok.c: Likewise.
1901 * string/tst-strxfrm.c: Likewise.
1902 * sysdeps/x86_64/tst-audit10.c: Likewise.
1903 * sysdeps/x86_64/tst-audit3.c: Likewise.
1904 * sysdeps/x86_64/tst-audit4.c: Likewise.
1905 * sysdeps/x86_64/tst-audit5.c: Likewise.
1906 * time/tst-ftime_l.c: Likewise.
1907 * time/tst-getdate.c: Likewise.
1908 * time/tst-mktime3.c: Likewise.
1909 * time/tst-mktime.c: Likewise.
1910 * time/tst-posixtz.c: Likewise.
1911 * time/tst-strptime2.c: Likewise.
1912 * time/tst-strptime3.c: Likewise.
1913 * wcsmbs/tst-btowc.c: Likewise.
1914 * wcsmbs/tst-mbrtowc.c: Likewise.
1915 * wcsmbs/tst-mbsrtowcs.c: Likewise.
1916 * wcsmbs/tst-wchar-h.c: Likewise.
1917 * wcsmbs/tst-wcpncpy.c: Likewise.
1918 * wcsmbs/tst-wcrtomb.c: Likewise.
1919 * wcsmbs/tst-wcsnlen.c: Likewise.
1920 * wcsmbs/tst-wcstof.c: Likewise.
1921
1922 2014-11-04 Joseph Myers <joseph@codesourcery.com>
1923
1924 [BZ #14132]
1925 * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
1926 INTDEF.
1927 * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
1928 declaration.
1929 (_dl_mcount): Use rtld_hidden_proto.
1930 * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
1931 _dl_mcount.
1932 * elf/rtld.c (_rtld_global_ro): Likewise.
1933
1934 [BZ #14132]
1935 * elf/dl-init.c (_dl_init): Don't use INTDEF.
1936 * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
1937 of _dl_init_internal.
1938 * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
1939 * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
1940 * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
1941 * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
1942 * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
1943 * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
1944 * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
1945 * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
1946 * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
1947 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
1948 * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
1949 * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
1950 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
1951 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
1952 * sysdeps/tile/dl-start.S (_start): Likewise.
1953 * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
1954 * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
1955
1956 [BZ #14132]
1957 * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
1958 [IS_IN_rtld] (_dl_argv_internal): Do not declare.
1959 (rtld_progname): Make macro definition unconditional.
1960 * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
1961 INTDEF.
1962 (dlmopen_doit): Do not use INTUSE with _dl_argv.
1963 (dl_main): Likewise.
1964 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
1965 * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
1966 instead of _dl_argv_internal.
1967 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
1968 __GI__dl_argv instead of INTUSE(_dl_argv).
1969 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
1970 __GI__dl_argv instead of _dl_argv_internal.
1971
1972 * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
1973 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
1974 macro.
1975 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
1976 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
1977 New macro.
1978 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
1979 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
1980 macro.
1981 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
1982 * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
1983
1984 2014-11-04 Andreas Schwab <schwab@suse.de>
1985
1986 * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
1987
1988 2014-11-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1989
1990 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
1991 mtvsrd instruction in binary form.
1992
1993 2014-11-03 Andreas Schwab <schwab@suse.de>
1994
1995 [BZ #17522]
1996 * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
1997 for less than MB_LEN_MAX use a local buffer of that size.
1998 * libio/tst-fputws.c: New file.
1999 * libio/Makefile (tests): Add tst-fputws.
2000
2001 2014-11-01 Jose E. Marchesi <jose.marchesi@oracle.com>
2002
2003 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
2004 the size of the fpu_fr.fpu_dregs[] array.
2005
2006 2014-11-01 Joseph Myers <joseph@codesourcery.com>
2007
2008 * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
2009 (__nanosleep): Do not define as alias.
2010 (nanosleep): Define as alias of __nanosleep.
2011 * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
2012 __libc_nanosleep name.
2013
2014 2014-10-31 Joseph Myers <joseph@codesourcery.com>
2015
2016 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
2017 install.texi in comment.
2018
2019 2014-10-31 Torvald Riegel <triegel@redhat.com>
2020
2021 * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
2022 * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
2023 ... add here and use lwsync or sync ...
2024 * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
2025 ... and add here using lwsync.
2026
2027 2014-10-31 Matthew Fortune <matthew.fortune@imgtec.com>
2028
2029 * elf/dl-machine-reject-phdr.h: New file.
2030 * elf/dl-load.c: #include that.
2031 (open_verify): Call elf_machine_reject_phdr_p and ignore the file
2032 if that returned true.
2033
2034 2014-10-31 Roland McGrath <roland@hack.frob.com>
2035
2036 [BZ #17496]
2037 * Makerules: Move gnu/lib-names.h generation chunk up, to right after
2038 gen-as-const-headers chunk. Add a big scare comment after the last
2039 safe place to touch before-compile.
2040
2041 2014-10-31 Joseph Myers <joseph@codesourcery.com>
2042
2043 * manual/install.texi (Tools for Compilation): Update autoconf
2044 version requirements.
2045 * INSTALL: Regenerated.
2046
2047 * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
2048 * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
2049 (__libc_pselect): Likewise.
2050
2051 [BZ #14138]
2052 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
2053 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
2054 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
2055 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
2056
2057 2014-10-31 Torvald Riegel <triegel@redhat.com>
2058
2059 * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
2060 correct barrier instruction.
2061 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
2062 Likewise.
2063 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
2064 Likewise.
2065
2066 2014-10-30 Roland McGrath <roland@hack.frob.com>
2067
2068 * include/ctype.h: Include <ctype/ctype.h> first thing rather than
2069 after defining inlines. Instead, just use parens to defeat macro
2070 expansion of __isctype in its declaration.
2071
2072 2014-10-30 Joseph Myers <joseph@codesourcery.com>
2073
2074 * include/sys/uio.h (__libc_readv): Remove declaration.
2075 (__libc_writev): Likewise.
2076 * misc/readv.c (__libc_readv): Rename to __readv.
2077 (__readv): Do not define as alias.
2078 (readv): Define as alias of __readv.
2079 * misc/writev.c (__libc_writev): Rename to __writev.
2080 (__writev): Do not define as alias.
2081 (writev): Define as alias of __writev.
2082 * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
2083 (__readv): Do not define as alias.
2084 (readv): Define unconditionally as alias of __readv.
2085 * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
2086 (__writev): Do not define as alias.
2087 (writev): Define unconditionally as alias of __writev.
2088 * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
2089 name.
2090 (writev): Do not define __libc_writev name.
2091
2092 2014-10-30 Roland McGrath <roland@hack.frob.com>
2093
2094 * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
2095 (convert_charseq): New function, broken out of ...
2096 (use_from_charmap): ... here. Call it.
2097 (use_to_charmap): Use convert_charseq and free instead of duplicating
2098 its code with a variable-length stack struct.
2099
2100 2014-10-30 Joseph Myers <joseph@codesourcery.com>
2101
2102 * include/fcntl.h (__libc_creat): Remove declaration.
2103 * io/creat.c (__libc_creat): Rename to creat.
2104 (creat): Do not define as alias.
2105 * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
2106 of creat instead of __libc_creat.
2107 * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
2108 to creat.
2109 (creat): Do not define as alias.
2110 [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
2111 __libc_creat.
2112 * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
2113 __libc_creat name.
2114 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
2115 Likewise.
2116
2117 2014-10-29 Carlos O'Donell <carlos@redhat.com>
2118
2119 * manual/llio.texi: Add comments discussing why write() may be
2120 considered MT-unsafe on Linux.
2121
2122 2014-10-28 Carlos O'Donell <carlos@redhat.com>
2123
2124 * dl-load.c (local_strdup): Remove.
2125 (expand_dynamic_string_token): Use __strdup.
2126 (decompose_rpath): Likewise.
2127 (_dl_map_object): Likewise.
2128
2129 2014-10-28 Joseph Myers <joseph@codesourcery.com>
2130
2131 [BZ #14132]
2132 * sysdeps/generic/unwind-dw2-fde.c
2133 (__register_frame_info_bases_internal): Do not declare.
2134 (__register_frame_info_table_bases_internal): Likewise.
2135 (__deregister_frame_info_bases_internal): Likewise.
2136 (__register_frame_info_bases): Declare and use hidden_proto before
2137 definition. Use hidden_def instead of INTDEF.
2138 (__register_frame_info_table_bases): Likewise.
2139 (__deregister_frame_info_bases): Likewise.
2140 (__register_frame_info): Do not use INTUSE.
2141 (__register_frame): Likewise.
2142 (__register_frame_info_table): Likewise.
2143 (__register_frame_table): Likewise.
2144 (__deregister_frame_info): Likewise.
2145 (__deregister_frame): Likewise.
2146
2147 2014-10-27 Gratian Crisan <gratian.crisan@ni.com>
2148
2149 * sysdeps/unix/sysv/linux/arm/kernel-features.h
2150 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
2151 not undefine.
2152 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
2153 Likewise.
2154 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
2155 Likewise.
2156
2157 2014-10-27 Joseph Myers <joseph@codesourcery.com>
2158
2159 [BZ #14138]
2160 * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
2161 * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
2162 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
2163 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
2164 * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
2165 * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
2166 * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
2167 * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
2168 * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
2169 * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
2170 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
2171 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
2172 * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
2173 syscall.
2174 (setfsuid): Likewise.
2175 * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
2176 (setfsuid): Likewise.
2177 * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
2178 (setfsuid): Likewise.
2179 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
2180 Likewise.
2181 (setfsuid): Likewise.
2182 * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
2183 (setfsuid): Likewise.
2184 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
2185 Likewise.
2186 (setfsuid): Likewise.
2187
2188 2014-10-27 Andreas Schwab <schwab@suse.de>
2189
2190 [BZ #17501]
2191 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
2192 check for Slow_SSE4_2 feature bit.
2193 * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
2194 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
2195 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
2196 Likewise. Fix check for Fast_Unaligned_Load feature bit.
2197
2198 2014-10-24 Roland McGrath <roland@hack.frob.com>
2199
2200 * configure.ac: Validate compiler version with a empirical test of
2201 __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
2202 $CC -v output.
2203 * configure: Regenerated.
2204
2205 * inet/htons.c (htons): Prototypify.
2206 * inet/htonl.c (htonl): Likewise.
2207
2208 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
2209
2210 * string/strncat.c (strncat): Improve performance by using strlen.
2211
2212 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
2213
2214 * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
2215
2216 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
2217
2218 * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
2219 Call libc_fetestexcept_aarch64.
2220
2221 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
2222
2223 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
2224 Call libc_feholdexcept_aarch64.
2225
2226 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
2227
2228 * sysdeps/aarch64/fpu/fegetround.c (fegetround):
2229 Call get_rounding_mode.
2230
2231 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
2232
2233 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
2234 Simplify logic.
2235
2236 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
2237
2238 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
2239 Simplify logic.
2240
2241 2014-10-24 Joseph Myers <joseph@codesourcery.com>
2242
2243 [BZ #14138]
2244 * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
2245 * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
2246 * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
2247 * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
2248 * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
2249 * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
2250 * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
2251 * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
2252 * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
2253 * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
2254 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
2255 * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
2256 * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
2257 * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
2258 * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
2259 * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
2260 * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
2261 * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
2262 * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
2263 * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
2264 * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
2265 * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
2266 * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
2267 * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
2268 * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
2269 * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
2270 * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
2271 * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
2272 * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
2273 * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
2274 * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
2275 * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
2276 * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
2277 * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
2278 * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
2279 * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
2280 * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
2281 * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
2282 * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
2283 * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
2284 * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
2285 syscall.
2286 (geteuid): Likewise.
2287 (getgid): Likewise.
2288 (getuid): Likewise.
2289 (getresgid): Likewise.
2290 (getresuid): Likewise.
2291 (getgroups): Likewise.
2292 * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
2293 (geteuid): Likewise.
2294 (getgid): Likewise.
2295 (getuid): Likewise.
2296 (getresgid): Likewise.
2297 (getresuid): Likewise.
2298 (getgroups): Likewise.
2299 * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
2300 (geteuid): Likewise.
2301 (getgid): Likewise.
2302 (getuid): Likewise.
2303 (getresgid): Likewise.
2304 (getresuid): Likewise.
2305 (getgroups): Likewise.
2306 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
2307 Likewise.
2308 (geteuid): Likewise.
2309 (getgid): Likewise.
2310 (getuid): Likewise.
2311 (getresgid): Likewise.
2312 (getresuid): Likewise.
2313 (getgroups): Likewise.
2314 * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
2315 (geteuid): Likewise.
2316 (getgid): Likewise.
2317 (getuid): Likewise.
2318 (getresgid): Likewise.
2319 (getresuid): Likewise.
2320 (getgroups): Likewise.
2321 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
2322 Likewise.
2323 (geteuid): Likewise.
2324 (getgid): Likewise.
2325 (getuid): Likewise.
2326 (getgroups): Likewise.
2327
2328 [BZ #14138]
2329 * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
2330 * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
2331 * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
2332 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
2333 * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
2334 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
2335 * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
2336 * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
2337 * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
2338 * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
2339 * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
2340 * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
2341 * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
2342 __chown.
2343 * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
2344 (lchown): Likewise.
2345 (fchown): Likewise.
2346 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
2347 Likewise.
2348 (lchown): Likewise.
2349 (fchown): Likewise.
2350 * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
2351 (lchown): Likewise.
2352 (fchown): Likewise.
2353 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
2354 Likewise.
2355 (lchown): Likewise.
2356 (fchown): Likewise.
2357
2358 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
2359
2360 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
2361 Simplify logic.
2362
2363 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
2364
2365 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
2366 Cleanup logic.
2367
2368 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
2369
2370 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
2371 Remove unused include.
2372
2373 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
2374
2375 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
2376 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
2377 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
2378 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
2379
2380 2014-10-23 Carlos O'Donell <carlos@systemhalted.org>
2381 Helge Deller <deller@gmx.de>
2382
2383 [BZ #17508]
2384 * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
2385 Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
2386 Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
2387
2388 2014-10-23 Joseph Myers <joseph@codesourcery.com>
2389
2390 [BZ #14132]
2391 * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
2392 Remove macro definition.
2393 (__ashrdi3_v_glibc20): Likewise.
2394 (__lshrdi3_v_glibc20): Likewise.
2395 (__cmpdi2_v_glibc20): Likewise.
2396 (__ucmpdi2_v_glibc20): Likewise.
2397 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
2398 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
2399 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
2400 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
2401 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
2402 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
2403
2404 2014-10-22 Roland McGrath <roland@hack.frob.com>
2405
2406 * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
2407 old GNU extension [0] syntax.
2408 * nscd/nscd_helper.c (open_socket): Use a flexible array member and
2409 alloca rather than an array member with variable length.
2410 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
2411 * nscd/nscd.c (invalidate_db): New function, broken out of ...
2412 (parse_opt): ... here. Likewise use alloca there.
2413 Validate the -i argument before checking for rootness.
2414 (send_shutdown): New function, broken out of ...
2415 (parse_opt): ... here.
2416
2417 2014-10-22 Roland McGrath <roland@hack.frob.com>
2418
2419 * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
2420 macro to get at the _rt_local_ro field.
2421 [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
2422 ([PIC] case) or _dl_hwcap ([!PIC] case).
2423 * sysdeps/arm/setjmp.S: Likewise.
2424
2425 * config.h.in (ARM_PCREL_MOVW_OK): New macro.
2426 * sysdeps/arm/configure.ac: New check to define it.
2427 * sysdeps/arm/configure: Regenerated.
2428 * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
2429 (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
2430 (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
2431 depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
2432 (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
2433 Use move/movt pair instead of a load.
2434 (LDST_GLOBAL): Macro removed.
2435 (LDR_GLOBAL): New macro replaces it.
2436 (LDR_HIDDEN): New macro.
2437 (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
2438 Use LDR_HIDDEN instead for __pointer_chk_guard_local.
2439
2440 * setjmp/tst-setjmp-static.c: New file.
2441 * setjmp/Makefile (tests): Add it.
2442 (tests-static): New variable.
2443
2444 2014-10-22 Maciej W. Rozycki <macro@codesourcery.com>
2445
2446 [BZ #17485]
2447 * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
2448
2449 2014-10-21 Joseph Myers <joseph@codesourcery.com>
2450
2451 [BZ #14132]
2452 * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
2453
2454 2014-10-21 Roland McGrath <roland@hack.frob.com>
2455
2456 * nptl/version.c (__nptl_main): Call __libc_write, not __write.
2457
2458 2014-10-20 Roland McGrath <roland@hack.frob.com>
2459
2460 * io/fts.c (dirent_not_directory): New function.
2461 (fts_build): Call it.
2462
2463 2014-10-20 Roland McGrath <roland@hack.frob.com>
2464
2465 * nptl/version.c (__nptl_main): Use normal __write rather than
2466 INTERNAL_SYSCALL.
2467 (banner): Update copyright years.
2468
2469 * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
2470 gettimeofday.
2471 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
2472 * nptl/pthread_cond_timedwait.c: Likewise.
2473 * nptl/pthread_mutex_timedlock.c: Likewise.
2474 * nptl/sem_timedwait.c: Likewise.
2475
2476 * sysdeps/nptl/bits/libc-lock.h
2477 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
2478 (__libc_lock_init_recursive): Return void, not 0.
2479 * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
2480 (__libc_rwlock_init): Likewise.
2481 * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
2482
2483 2014-10-20 Torvald Riegel <triegel@redhat.com>
2484
2485 [BZ #15215]
2486 * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
2487 (__pthread_once_slow): ... here.
2488 * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
2489 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
2490
2491 2014-10-20 Torvald Riegel <triegel@redhat.com>
2492
2493 [BZ #15215]
2494 * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
2495 __PTHREAD_ONCE_FORK_GEN_INCR): New.
2496 * sysdeps/nptl/fork.c (__libc_fork): Use them.
2497 * nptl/pthread_once.c (__pthread_once): Likewise.
2498 Update comments.
2499
2500 2014-10-20 Joseph Myers <joseph@codesourcery.com>
2501
2502 [BZ #14138]
2503 * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
2504 name.
2505 (writev): Use __libc_writev as strong name.
2506 * sysdeps/unix/sysv/linux/readv.c: Remove file.
2507 * sysdeps/unix/sysv/linux/writev.c: Likewise.
2508
2509 2014-10-17 Roland McGrath <roland@hack.frob.com>
2510
2511 * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
2512
2513 * sysdeps/i386/nptl/tls.h
2514 (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
2515 [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
2516 New macros.
2517 * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
2518 (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
2519 * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
2520 Call SETUP_THREAD_SYSINFO instead of doing an assignment.
2521 * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
2522 Call CHECK_THREAD_SYSINFO instead of doing an assert.
2523
2524 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
2525 Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
2526 on [__NR_futex].
2527 * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
2528 broken out of ...
2529 (__pthread_mutex_init): ... here. Call it.
2530 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
2531 Conditionalize PI cases on [__NR_futex].
2532 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
2533 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
2534 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
2535
2536 * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
2537 conditional on [SIGSETXID].
2538 (sigcancel_handler): Make definition conditional on [SIGCANCEL].
2539 (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
2540 is defined. Likewise for SIGSETXID.
2541 * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
2542 Conditionalize definitions on [SIGSETXID].
2543 (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
2544 * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
2545 unblocking on [SIGCANCEL].
2546
2547 * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
2548 [__NR_set_robust_list].
2549
2550 2014-10-17 Siddhesh Poyarekar <siddhesh@redhat.com>
2551
2552 * string/strcoll_l.c (get_next_seq): Fix up formatting.
2553 (do_compare): Likewise.
2554
2555 2014-10-17 Leonhard Holz <leonhard.holz@web.de>
2556
2557 [BZ #15884]
2558 * string/strcoll_l.c: Don't include stdio.h.
2559 (coll_seq): Remove members idxarr and rulearr.
2560 (get_next_seq_cached): Remove function.
2561 (get_next_seq): Likewise.
2562 (get_next_seq_nocache): Rename to get_next_seq.
2563 (do_compare): Remove function.
2564 (do_compare_nocache): Rename to do_compare.
2565 (STRCOLL): Remove weight and rules cache.
2566
2567 2014-10-16 Roland McGrath <roland@hack.frob.com>
2568
2569 * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
2570 * sysdeps/arm/sfp-machine.h: ... to here.
2571 * sysdeps/arm/Implies: Remove arm/soft-fp.
2572
2573 2014-10-14 Joseph Myers <joseph@codesourcery.com>
2574
2575 * conform/data/sys/utsname.h-data (*_t): Allow.
2576 * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
2577 [POSIX] (WEXITED): Do not expect constant.
2578 [POSIX] (WSTOPPED): Likewise.
2579 [POSIX] (WNOHANG): Likewise.
2580 [POSIX] (WNOWAIT): Likewise.
2581 [POSIX] (siginfo_t): Do not expect type or elements.
2582 [POSIX] (pid_t): Do not expect type.
2583 [POSIX] (signal.h): Do not allow header.
2584 [POSIX] (sys/resource.h): Likewise.
2585 [POSIX] (si_*): Do not allow pattern.
2586 [POSIX] (W*): Likewise.
2587 [POSIX] (P_*): Likewise.
2588 [POSIX] (BUS_*): Likewise.
2589 [POSIX] (CLD_*): Likewise.
2590 [POSIX] (FPE_*): Likewise.
2591 [POSIX] (ILL_*): Likewise.
2592 [POSIX] (POLL_*): Likewise.
2593 [POSIX] (SEGV_*): Likewise.
2594 [POSIX] (SI_*): Likewise.
2595 [POSIX] (TRAP_*): Likewise.
2596 * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
2597 variable.
2598
2599 2014-10-14 Paul Pluzhnikov <ppluzhnikov@google.com>
2600
2601 [BZ #12926]
2602 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
2603 infinite loop when __recvmsg returns 0.
2604
2605 2014-10-10 Joseph Myers <joseph@codesourcery.com>
2606
2607 * CANCEL-FCT-WAIVE: Remove file.
2608 * CANCEL-FILE-WAIVE: Likewise.
2609
2610 [BZ #14132]
2611 * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
2612 instead of INTVARDEF.
2613 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
2614 * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
2615 rtld_hidden_data_def instead of INTVARDEF.
2616 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
2617 * elf/dl-deps.c (expand_dst): Likewise.
2618 * elf/dl-load.c (_dl_dst_count): Likewise.
2619 (_dl_dst_substitute): Likewise.
2620 (decompose_rpath): Likewise.
2621 (_dl_init_paths): Likewise.
2622 (open_path): Likewise.
2623 (_dl_map_object): Likewise.
2624 * elf/rtld.c (dl_main): Likewise.
2625 (process_dl_audit): Likewise.
2626 (process_envvars): Likewise.
2627 * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
2628 Remove declaration.
2629 (__libc_enable_secure): Use rtld_hidden_proto.
2630
2631 2014-10-09 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
2632
2633 * elf/dl-load.c
2634 (add_path): New function broken out of _dl_rtld_di_serinfo.
2635 (_dl_rtld_di_serinfo): Remove that nested function. Update call sites.
2636
2637 2014-10-09 Joseph Myers <joseph@codesourcery.com>
2638
2639 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
2640 parentheses around macro arguments.
2641 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
2642 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
2643 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
2644 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
2645 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
2646 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
2647 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
2648 [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
2649 [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
2650 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
2651 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
2652 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
2653 [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
2654 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
2655 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
2656 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
2657 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
2658 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
2659 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
2660 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
2661 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
2662 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
2663 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
2664 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
2665 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
2666 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
2667 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
2668 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
2669 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
2670 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
2671 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
2672 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
2673 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
2674 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
2675 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
2676 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
2677 Likewise.
2678 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
2679 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
2680 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
2681 [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
2682 [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
2683 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
2684 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
2685 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
2686 [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
2687 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
2688 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
2689 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
2690 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
2691 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
2692 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
2693 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
2694 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
2695 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
2696 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
2697 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
2698 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
2699 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
2700 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
2701 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
2702 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
2703 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
2704 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
2705 * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
2706 (_FP_FRAC_SRS_1): Likewise.
2707 (_FP_FRAC_CLZ_1): Likewise.
2708 (_FP_MUL_MEAT_1_imm): Likewise.
2709 (_FP_MUL_MEAT_1_wide): Likewise.
2710 (_FP_MUL_MEAT_1_hard): Likewise.
2711 (_FP_SQRT_MEAT_1): Likewise.
2712 (_FP_FRAC_ASSEMBLE_1): Likewise.
2713 (_FP_FRAC_DISASSEMBLE_1): Likewise.
2714 * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
2715 (__FP_CLZ_2): Likewise.
2716 (_FP_MUL_MEAT_2_wide): Likewise.
2717 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
2718 (_FP_MUL_MEAT_2_gmp): Likewise.
2719 (_FP_MUL_MEAT_2_120_240_double): Likewise.
2720 (_FP_SQRT_MEAT_2): Likewise.
2721 (_FP_FRAC_ASSEMBLE_2): Likewise.
2722 (_FP_FRAC_DISASSEMBLE_2): Likewise.
2723 * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
2724 (_FP_FRAC_CLZ_4): Likewise.
2725 (_FP_MUL_MEAT_4_wide): Likewise.
2726 (_FP_MUL_MEAT_4_gmp): Likewise.
2727 (_FP_SQRT_MEAT_4): Likewise.
2728 (_FP_FRAC_ASSEMBLE_4): Likewise.
2729 (_FP_FRAC_DISASSEMBLE_4): Likewise.
2730 * soft-fp/op-common.h (_FP_CMP): Likewise.
2731 (_FP_CMP_EQ): Likewise.
2732 (_FP_CMP_UNORD): Likewise.
2733 (_FP_TO_INT): Likewise.
2734 (_FP_FROM_INT): Likewise.
2735 [!__FP_CLZ] (__FP_CLZ): Likewise.
2736 (_FP_DIV_HELP_imm): Likewise.
2737 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
2738 Likewise.
2739 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
2740 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
2741 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
2742 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
2743 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
2744 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
2745 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
2746 [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
2747 [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
2748 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
2749 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
2750 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
2751 [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
2752 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
2753 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
2754 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
2755 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
2756 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
2757 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
2758 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
2759 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
2760 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
2761 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
2762 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
2763 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
2764 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
2765 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
2766 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
2767 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
2768 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
2769 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
2770 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
2771 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
2772 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
2773 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
2774 * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
2775 (FP_UNPACK_RAW_SP): Likewise.
2776 (FP_PACK_RAW_S): Likewise.
2777 (FP_PACK_RAW_SP): Likewise.
2778 (FP_UNPACK_S): Likewise.
2779 (FP_UNPACK_SP): Likewise.
2780 (FP_UNPACK_SEMIRAW_S): Likewise.
2781 (FP_UNPACK_SEMIRAW_SP): Likewise.
2782 (FP_PACK_S): Likewise.
2783 (FP_PACK_SP): Likewise.
2784 (FP_PACK_SEMIRAW_S): Likewise.
2785 (FP_PACK_SEMIRAW_SP): Likewise.
2786 (_FP_SQRT_MEAT_S): Likewise.
2787 (FP_CMP_S): Likewise.
2788 (FP_CMP_EQ_S): Likewise.
2789 (FP_CMP_UNORD_S): Likewise.
2790 (FP_TO_INT_S): Likewise.
2791 (FP_FROM_INT_S): Likewise.
2792
2793 * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
2794
2795 * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
2796 (FP_EX_INVALID_IMZ): Likewise.
2797 (FP_EX_INVALID_IMZ_FMA): Likewise.
2798 (FP_EX_INVALID_ISI): Likewise.
2799 (FP_EX_INVALID_ZDZ): Likewise.
2800 (FP_EX_INVALID_IDI): Likewise.
2801 (FP_EX_INVALID_SQRT): Likewise.
2802 (FP_EX_INVALID_CVI): Likewise.
2803 (FP_EX_INVALID_VC): Likewise.
2804 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
2805 "invalid" exceptions.
2806 (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
2807 (_FP_ADD_INTERNAL): Likewise.
2808 (_FP_MUL): Likewise.
2809 (_FP_FMA): Likewise.
2810 (_FP_DIV): Likewise.
2811 (_FP_CMP_CHECK_NAN): Likewise.
2812 (_FP_SQRT): Likewise.
2813 (_FP_TO_INT): Likewise.
2814 (FP_EXTEND): Likewise.
2815
2816 2014-10-09 Allan McRae <allan@archlinux.org>
2817
2818 * po/fr.po: Update French translation from translation project.
2819
2820 2014-10-09 Joseph Myers <joseph@codesourcery.com>
2821
2822 [BZ #14132]
2823 * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
2824 of INTDEF.
2825 * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
2826 (__cxa_atexit): Use libc_hidden_proto.
2827 [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
2828
2829 [BZ #14132]
2830 * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
2831 declaration.
2832 [!_ISOMAC] (__iswdigit_l_internal): Likewise.
2833 [!_ISOMAC] (__iswspace_l_internal): Likewise.
2834 [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
2835 [!_ISOMAC] (__iswctype_internal): Likewise.
2836 * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
2837 * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
2838 alias.
2839 (fcntl): Remove __fcntl_internal alias.
2840 * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
2841 __connect_internal alias.
2842 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
2843 Likewise.
2844
2845 * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
2846 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
2847 FP_DENORM_ZERO.
2848 (_FP_CHECK_FLUSH_ZERO): New macro.
2849 (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
2850 (_FP_CMP): Likewise.
2851 (_FP_CMP_EQ): Likewise.
2852 (_FP_TO_INT): Do not set inexact for subnormal arguments if
2853 FP_DENORM_ZERO.
2854 (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
2855 (FP_TRUNC): Likewise.
2856
2857 * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
2858 treated as invalid conversion, not as normal exponent.
2859
2860 * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
2861 (_FP_CMP): Add extra argument EX. Call _FP_CMP_CHECK_NAN.
2862 (_FP_CMP_EQ): Likewise.
2863 (_FP_CMP_UNORD): Likewise.
2864 * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
2865 (FP_CMP_EQ_D): Likewise.
2866 (FP_CMP_UNORD_D): Likewise.
2867 * soft-fp/extended.h (FP_CMP_E): Likewise.
2868 (FP_CMP_EQ_E): Likewise.
2869 (FP_CMP_UNORD_E): Likewise.
2870 * soft-fp/quad.h (FP_CMP_Q): Likewise.
2871 (FP_CMP_EQ_Q): Likewise.
2872 (FP_CMP_UNORD_Q): Likewise.
2873 * soft-fp/single.h (FP_CMP_S): Likewise.
2874 (FP_CMP_EQ_S): Likewise.
2875 (FP_CMP_UNORD_S): Likewise.
2876 * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
2877 * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
2878 * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
2879 * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
2880 * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
2881 * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
2882 * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
2883 * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
2884 * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
2885 * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
2886 * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
2887 * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
2888 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
2889 to FP_CMP_Q.
2890 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
2891 FP_CMP_Q.
2892 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
2893 * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
2894 FP_CMP_EQ_Q.
2895 * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
2896 FP_CMP_Q.
2897 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
2898 * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
2899 * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
2900 * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
2901 FP_CMP_EQ_Q.
2902 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
2903 FP_CMP_Q.
2904 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
2905 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
2906 FP_CMP_EQ_Q.
2907 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
2908 FP_CMP_Q.
2909 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
2910 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
2911 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
2912 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
2913 FP_CMP_EQ_Q.
2914
2915 * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
2916 a subnormal result, set the underflow exception if trapping on
2917 underflow is enabled.
2918 * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
2919 (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
2920 [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
2921 redefine to 0.
2922 * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
2923 * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
2924 * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
2925 * soft-fp/extendxftf2.c (__extendxftf2): Use
2926 FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
2927
2928 * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
2929 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
2930 (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
2931 FP_HANDLE_EXCEPTIONS.
2932 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
2933 (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
2934 FP_HANDLE_EXCEPTIONS.
2935 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
2936 (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
2937 FP_HANDLE_EXCEPTIONS.
2938 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
2939 (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
2940 FP_HANDLE_EXCEPTIONS.
2941
2942 2014-10-08 Joseph Myers <joseph@codesourcery.com>
2943
2944 [BZ #14132]
2945 * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
2946 * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
2947 use INTUSE.
2948 [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
2949 * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
2950 Remove alias.
2951 (__adjtimex): Define using libc_hidden_ver.
2952 * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
2953 Remove declaration.
2954 (ntp_gettime): Call __adjtimex directly.
2955 * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
2956 Remove declaration.
2957 (ntp_gettimex): Call __adjtimex directly.
2958 * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
2959 __adjtimex_internal alias.
2960
2961 2014-10-08 Roland McGrath <roland@hack.frob.com>
2962
2963 [BZ #17460]
2964 * nscd/nscd.c (more_help): Rewrite list of tables collection
2965 using xstrdup and asprintf.
2966
2967 * nscd/nscd_conf.c: Remove local xstrdup declaration.
2968
2969 2014-10-08 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
2970 Roland McGrath <roland@hack.frob.com>
2971
2972 * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
2973 (do_lookup_unique): ... local function 'enter' here; update callers.
2974
2975 2014-10-06 Joseph Myers <joseph@codesourcery.com>
2976
2977 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
2978 compat_symbol calls on [SHARED].
2979 * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
2980 * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
2981 Remove.
2982 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
2983 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
2984 (oldsetrlimit): Remove.
2985 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
2986 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
2987 (lchown): New syscall entry.
2988 (oldsetrlimit): Remove.
2989 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
2990 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
2991 (oldsetrlimit): Remove.
2992 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
2993
2994 [BZ #14138]
2995 * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
2996 * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
2997 * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
2998 * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
2999 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
3000 * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
3001 (fchown): Likewise.
3002 * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
3003 (fchown): Likewise.
3004 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
3005 Likewise.
3006
3007 2014-10-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3008
3009 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
3010 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
3011 (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
3012 __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
3013 * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
3014 Likewise.
3015 (__old_sem_post): Likewise.
3016
3017 2014-10-06 Chris Metcalf <cmetcalf@tilera.com>
3018
3019 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
3020 INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
3021 HAVE_CLOCK_GETTIME_VSYSCALL macros.
3022 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
3023 Use INLINE_VSYSCALL macro.
3024 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
3025 __vdso_clock_gettime.
3026 * sysdeps/unix/sysv/linux/tile/init-first.c
3027 (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
3028 * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
3029 __vdso_clock_gettime.
3030
3031 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
3032 to set up frame more cleanly.
3033
3034 * sysdeps/tile/memcmp.c: New file.
3035
3036 * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
3037
3038 * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
3039 * sysdeps/tile/tilegx/strcasestr.c: New file.
3040 * sysdeps/tile/tilegx/strnlen.c: New file.
3041 * sysdeps/tile/tilegx/strstr.c: New file.
3042
3043 * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
3044
3045 2014-10-06 Arjun Shankar <arjun.is@lostca.se>
3046
3047 * nptl/tst-setuid3.c: Write errors to stdout.
3048
3049 2014-10-01 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
3050
3051 * elf/dl-deps.c
3052 (preload): New functions broken out of _dl_map_object_deps.
3053 (_dl_map_object_deps): Remove a nested function. Update call sites.
3054
3055 2014-10-01 Joseph Myers <joseph@codesourcery.com>
3056
3057 [BZ #14138]
3058 * sysdeps/unix/sysv/linux/execve.c: Remove file.
3059 * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
3060
3061 2014-10-01 Steve Ellcey <sellcey@mips.com>
3062
3063 * sysdeps/mips/strcmp.S: New.
3064
3065 2014-09-30 Joseph Myers <joseph@codesourcery.com>
3066
3067 [BZ #14138]
3068 * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
3069 (linkat): Likewise.
3070 (mkdirat): Likewise.
3071 (readlinkat): Likewise.
3072 (renameat): Likewise.
3073 (symlinkat): Likewise.
3074 (unlinkat): Likewise.
3075 * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
3076 * sysdeps/unix/sysv/linux/linkat.c: Likewise.
3077 * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
3078 * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
3079 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
3080 * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
3081 * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
3082
3083 2014-09-30 Will Newton <will.newton@linaro.org>
3084
3085 * math/math.h: Define long double math functions if
3086 _LIBC_TEST is defined.
3087 * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
3088
3089 * localedata/Makefile: Move assignment to tests-special
3090 into an ifdef testing run-built-tests.
3091 * timezone/Makefile: Likewise.
3092
3093 2014-09-29 Joseph Myers <joseph@codesourcery.com>
3094
3095 * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
3096 with $(BASH) not $(SHELL).
3097
3098 2014-09-29 Carlos O'Donell <carlos@redhat.com>
3099 Matthew LeGendre <legendre1@llnl.gov>
3100
3101 [BZ #17411]
3102 * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
3103 l_reloc_result.
3104
3105 2014-09-29 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
3106
3107 * stdio-common/printf_fp.c
3108 (hack_digit): New function, broken out of ...
3109 (__printf_fp): ... local function here. Update call sites.
3110 hack_digit now takes an additional parameter that is a pointer
3111 to a struct of the referenced locals. Those locals moved inside
3112 the struct and references updated.
3113
3114 2014-09-29 H.J. Lu <hongjiu.lu@intel.com>
3115
3116 * aclocal.m4: Require autoconf 2.69.
3117 * configure: Regenerated.
3118 * sysdeps/aarch64/configure: Likewise.
3119 * sysdeps/alpha/configure: Likewise.
3120 * sysdeps/arm/armv7/configure: Likewise.
3121 * sysdeps/arm/configure: Likewise.
3122 * sysdeps/ia64/configure: Likewise.
3123 * sysdeps/mach/configure: Likewise.
3124 * sysdeps/mips/configure: Likewise.
3125 * sysdeps/s390/configure: Likewise.
3126 * sysdeps/unix/sysv/linux/mips/configure: Likewise.
3127 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
3128
3129 * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
3130 file.
3131 * sysdeps/ia64/configure.ac: Likewise.
3132
3133 2014-09-26 Joseph Myers <joseph@codesourcery.com>
3134
3135 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
3136 specify symbol version for ld.so. Do not include entry for
3137 libpthread.
3138 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
3139 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
3140 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
3141
3142 [BZ #14171]
3143 * Makeconfig [$(build-shared) = yes]
3144 ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
3145 makefiles.
3146 [$(build-shared) = yes && $(soversions.mk-done) = t]
3147 ($(common-objpfx)gnu/lib-names.h): Remove rule.
3148 [$(build-shared) = yes && $(soversions.mk-done) = t]
3149 ($(common-objpfx)gnu/lib-names.stmp): Likewise. Split and moved
3150 to Makerules.
3151 [$(build-shared) = yes && $(soversions.mk-done) = t]
3152 (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
3153 here.
3154 [$(build-shared) = yes && $(soversions.mk-done) = t]
3155 (common-generated): Don't append gnu/lib-names.h and
3156 gnu/lib-names.stmp here.
3157 * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
3158 (lib-names-h-abi): New variable.
3159 [$(build-shared) = yes && $(soversions.mk-done) = t]
3160 (lib-names-stmp-abi): Likewise.
3161 [$(build-shared) = yes && $(soversions.mk-done) = t &&
3162 abi-variants] (before-compile): Append
3163 $(common-objpfx)$(lib-names-h-abi).
3164 [$(build-shared) = yes && $(soversions.mk-done) = t &&
3165 abi-variants] (common-generated): Append gnu/lib-names.h.
3166 [$(build-shared) = yes && $(soversions.mk-done) = t &&
3167 abi-variants] (install-others-nosubdir): Depend on
3168 $(inst_includedir)/$(lib-names-h-abi).
3169 [$(build-shared) = yes && $(soversions.mk-done) = t &&
3170 abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
3171 [$(build-shared) = yes && $(soversions.mk-done) = t]
3172 ($(common-objpfx)$(lib-names-h-abi)): New rule.
3173 [$(build-shared) = yes && $(soversions.mk-done) = t]
3174 ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
3175 [$(build-shared) = yes && $(soversions.mk-done) = t]
3176 (common-generated): Append $(lib-names-h-abi) and
3177 $(lib-names-stmp-abi).
3178 * scripts/lib-names.awk: Do not handle multi being set.
3179 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
3180 Remove variable.
3181 (abi-lp64_be-ld-soname): Likewise.
3182 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
3183 Likewise.
3184 (abi-hard-ld-soname): Likewise.
3185 * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
3186 * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
3187 Remove variable.
3188 (abi-o32_hard-ld-soname): Likewise.
3189 (abi-o32_soft_2008-ld-soname): Likewise.
3190 (abi-o32_hard_2008-ld-soname): Likewise.
3191 (abi-n32_soft-ld-soname): Likewise.
3192 (abi-n32_hard-ld-soname): Likewise.
3193 (abi-n32_soft_2008-ld-soname): Likewise.
3194 (abi-n32_hard_2008-ld-soname): Likewise.
3195 (abi-n64_soft-ld-soname): Likewise.
3196 (abi-n64_hard-ld-soname): Likewise.
3197 (abi-n64_soft_2008-ld-soname): Likewise.
3198 (abi-n64_hard_2008-ld-soname): Likewise.
3199 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
3200 Likewise.
3201 (abi-64-v2-ld-soname): Likewise.
3202 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
3203 ld.so entries.
3204 * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
3205 variable.
3206 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
3207 entry.
3208 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
3209 variable.
3210 (abi-64-ld-soname): Likewise.
3211 (abi-x32-ld-soname): Likewise.
3212 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
3213 entry.
3214 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
3215
3216 2014-09-23 Joseph Myers <joseph@codesourcery.com>
3217
3218 [BZ #14138]
3219 * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
3220 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
3221 * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
3222 * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
3223 * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
3224 * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
3225 * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
3226 syscall entry for GLIBC_2.2 symbol version.
3227 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
3228 Likewise.
3229 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
3230 (setrlimit): Likewise.
3231 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
3232 Likewise.
3233
3234 2014-09-23 Will Newton <will.newton@linaro.org>
3235
3236 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
3237 _LINUX_ARM_SYSDEP_H include guard too.
3238 * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
3239 define.
3240
3241 2014-09-20 Rasmus Villemoes <rv@rasmusvillemoes.dk>
3242
3243 * sysdeps/unix/sysv/linux/eventfd.c:
3244 Make first argument unsigned.
3245 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
3246 * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
3247
3248 2014-09-20 Ondřej Bílka <neleai@seznam.cz>
3249
3250 * socket/recvmmsg.c (recvmmsg): Drop const argument.
3251 * socket/sys/socket.h: Likewise
3252 * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
3253
3254 2014-09-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3255
3256 * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
3257
3258 2014-09-17 Arjun Shankar <arjun.is@lostca.se>
3259
3260 * time/tst-ftime.c: New test.
3261 * time/Makefile (tests): Add tst-ftime.
3262
3263 2014-09-17 Joseph Myers <joseph@codesourcery.com>
3264
3265 * soft-fp/extended.h: Fix comment formatting.
3266 * soft-fp/op-1.h: Likewise.
3267 * soft-fp/op-2.h: Likewise.
3268 * soft-fp/op-4.h: Likewise.
3269 * soft-fp/op-8.h: Likewise.
3270 * soft-fp/op-common.h: Likewise.
3271 * soft-fp/soft-fp.h: Likewise.
3272
3273 * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
3274
3275 2014-09-16 Joseph Myers <joseph@codesourcery.com>
3276
3277 [BZ #6652]
3278 * Makeconfig (soversions-default-setname): Remove variable.
3279 ($(common-objpfx)soversions.i): Don't pass default_setname to
3280 soversions.awk.
3281 * Makerules ($(common-objpfx)abi-versions.h): Don't pass
3282 oldest_abi to abi-versions.awk.
3283 * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
3284 * config.make.in (oldest-abi): Remove variable.
3285 * configure.ac (--enable-oldest-abi): Remove configure option.
3286 * configure: Regenerated.
3287 * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
3288 text.
3289 * scripts/abi-versions.awk: Do not handle oldest_abi variable.
3290 * scripts/soversions.awk: Do not handle default_setname variable.
3291 * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
3292 variable.
3293 * sysdeps/mach/hurd/configure: Regenerated.
3294 * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
3295 variable.
3296 * sysdeps/unix/sysv/linux/configure: Regenerated.
3297
3298 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
3299
3300 * elf/Makefile (CFLAGS-interp.c): Remove.
3301 ($(elf-objpfx)runtime-linker.h): Generate header with linker
3302 path string.
3303 * elf/interp.c: Include generated runtime-linker.h
3304
3305 * Makerules (lib%.so): Don't include $(+interp) in
3306 prerequisites.
3307 * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
3308 * dlfcn/eval.c: Remove file.
3309
3310 * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
3311 macros.
3312
3313 [BZ #17266]
3314 * misc/sys/cdefs.h: Define __extern_always_inline for clang
3315 4.2 and newer.
3316
3317 [BZ #17370]
3318 * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
3319
3320 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
3321 Jakub Jelinek <jakub@redhat.com>
3322
3323 [BZ #17266]
3324 * libio/stdio.h: Check definition of __fortify_function
3325 instead of __extern_always_inline to include bits/stdio2.h.
3326 * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
3327 check if __extern_always_inline is defined.
3328 [__USE_MISC || __USE_XOPEN]: Likewise.
3329 [__USE_ISOC99] Likewise.
3330 * misc/sys/cdefs.h (__fortify_function): Define only if
3331 __extern_always_inline is defined.
3332 [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
3333 __extern_always_inline and __extern_inline only for g++-4.3
3334 and newer or a compatible gcc.
3335
3336 2014-09-15 Andreas Schwab <schwab@linux-m68k.org>
3337
3338 [BZ #17371]
3339 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
3340 last change to handle zero prefix length.
3341
3342 2014-09-15 Siddhesh Poyarekar <siddhesh@redhat.com>
3343
3344 * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
3345 _SC_REGEX_VERSION.
3346
3347 * posix/getconf.c (vars): Add _POSIX_IPV6 and
3348 _POSIX_RAW_SOCKETS.
3349
3350 2014-09-13 Allan McRae <allan@archlinux.org>
3351
3352 * po/ru.po: Update Russian translation from translation project.
3353
3354 2014-09-12 Roland McGrath <roland@hack.frob.com>
3355
3356 * locale/programs/locale.c (show_locale_vars): Inline local function
3357 into its sole call site. Clean up some style nits.
3358 (print_item): New function, broken out of ...
3359 (show_info): ... local function here. Clean up style nits.
3360
3361 * locale/programs/ld-ctype.c (set_one_default): New function, broken
3362 out of ...
3363 (set_class_defaults): ... local function set_default here.
3364 Define set_default as a macro locally to pass constant parameters.
3365 (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
3366 rather than a shared local.
3367
3368 * stdlib/rpmatch.c (try): New function, broken out of ...
3369 (rpmatch): ... local function here. Also, prototypify definition.
3370
3371 2014-09-12 Joseph Myers <joseph@codesourcery.com>
3372
3373 * scripts/soversions.awk: Do not handle configuration names.
3374 * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
3375 vendor and os variables to soversions.awk.
3376 * configure.ac: Do not modify gnu-* host_os.
3377 * configure: Regenerated
3378 * shlib-versions: Remove first column with configuration names.
3379 * nptl/shlib-versions: Likewise.
3380 * nptl_db/shlib-versions: Likewise.
3381 * sysdeps/hppa/shlib-versions: Likewise.
3382 * sysdeps/m68k/shlib-versions: Likewise.
3383 * sysdeps/mach/hurd/shlib-versions: Likewise.
3384 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
3385 * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
3386 * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
3387 * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
3388 * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
3389 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
3390 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
3391 * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
3392 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
3393 Likewise.
3394 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
3395 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
3396 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
3397 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
3398 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
3399 * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
3400 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
3401 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
3402
3403 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
3404 (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
3405 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
3406 Regenerated.
3407 * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
3408 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
3409 Condition symbol version definitions on [HAVE_ELFV2_ABI].
3410
3411 * shlib-versions: Remove OS-specific entries. Moved to files in
3412 sysdeps.
3413 * sysdeps/mach/hurd/shlib-versions: New file.
3414 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
3415
3416 * nptl/shlib-versions: Remove architecture-specific entries.
3417 Moved to files in sysdeps.
3418 * shlib-versions: Likewise.
3419 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
3420 file.
3421 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
3422 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
3423 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
3424 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
3425
3426 * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
3427 (UDP_NO_CHECK6_RX): Likewise.
3428
3429 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
3430
3431 * sysdeps/posix/sysconf.c (__sysconf): Spell
3432 _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
3433
3434 2014-08-12 Florian Weimer <fweimer@redhat.com>
3435
3436 * iconv/gconv_open.c (__gconv_open): Remove transliteration module
3437 loading.
3438 * iconv/Versions (__gconv_transliterate): Export for use from
3439 gconv modules.
3440 * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
3441 (struct __gconv_trans_data, __gconv_trans_fct,
3442 __gconv_trans_context_fct, __gconv_trans_query_fct,
3443 __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
3444 definitions.
3445 (struct __gconv_step_data): Remove __trans member.
3446 (__gconv_transliterate): Declaration moved from gconv_int.h. No
3447 longer hidden. Remove unused trans_data argument.
3448 * iconv/gconv_int.h (struct trans_struct): Remove definition.
3449 (__gconv_translit_find): Remove declaration.
3450 (__gconv_transliterate): Declaration moved to gconv.h. Add hidden
3451 prototype.
3452 * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
3453 * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
3454 trans_data argument. Add hidden definition.
3455 (__gconv_translit_find): Remove.
3456 * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
3457 __gconv_transliterate directly if __GCONV_TRANSLIT is set.
3458 * iconv/skeleton.c: Remove transliteration initialization.
3459 * libio/fileops.c (_IO_new_file_fopen): Adjust struct
3460 __gconv_step_data initialization.
3461 * libio/iofwide.c (__libio_translit_): Remove.
3462 (_IO_fwide): Adjust struct __gconv_step_data initialization.
3463 * wcsmbs/btowc.c (__btowc): Likewise.
3464 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
3465 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
3466 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
3467 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
3468 * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
3469 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
3470 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
3471 * wcsmbs/wctob.c (wctob): Likewise.
3472
3473 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
3474
3475 [BZ #16194]
3476 * sysdeps/x86/tst-xmmymm.sh: Rename file to...
3477 * sysdeps/x86/tst-ld-sse-use.sh: ... this. Check for zmm
3478 register usage.
3479 * sysdeps/x86/Makefile: Adjust.
3480
3481 2014-09-11 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
3482 Roland McGrath <roland@hack.frob.com>
3483
3484 * locale/weight.h: Add include guard.
3485 (findidx): Make static rather than auto; take new parameters
3486 TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
3487 * locale/weightwc.h: Likewise.
3488 * posix/fnmatch_loop.c
3489 (FCT): Change type of EXTRA from int32_t to wint_t.
3490 Don't include either header inside the function.
3491 Call FINDIDX rather than findidx, and pass new arguments.
3492 #undef FINDIDX at the end of the file.
3493 * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
3494 FINDIDX before including fnmatch_loop.c for the non-wide version.
3495 [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
3496 #include <locale/weightwc.h>, and define FINDIDX to findidxwc
3497 for the wide version.
3498 * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
3499 (build_equiv_class) [_LIBC]: Don't #include it inside the function.
3500 Pass new arguments to findidx.
3501 * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
3502 [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
3503 Don't #include it inside the function. Pass new arguments to findidx.
3504 * posix/regex_internal.h
3505 [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
3506 (re_string_elem_size_at): Don't #include it inside the function.
3507 Pass new arguments to findidx.
3508 * string/strcoll_l.c: #include WEIGHT_H at top level.
3509 (get_next_seq): Don't #include it inside the function.
3510 Pass new arguments to findidx.
3511 (get_next_seq_nocache): Likewise.
3512 * string/strxfrm_l.c: #include WEIGHT_H at top level.
3513 (STRXFRM): Don't #include it inside the function.
3514 Pass new arguments to findidx.
3515
3516 2014-09-11 Florian Weimer <fweimer@redhat.com>
3517
3518 [BZ #17344]
3519 * malloc/malloc.c (unlink): Turn asserts into a call to
3520 malloc_printerr.
3521
3522 2014-09-11 Tim Lammens <tim.lammens@gmail.com>
3523
3524 [BZ #17370]
3525 * libio/wfileops (do_ftell_wide): Free OUT.
3526
3527 2014-09-10 Chris Metcalf <cmetcalf@tilera.com>
3528
3529 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
3530
3531 2014-09-10 Siddhesh Poyarekar <siddhesh@redhat.com>
3532
3533 [BZ #17363]
3534 * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
3535 group if the current group is empty.
3536
3537 2014-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3538
3539 * benchtests/bench-memset.c (test_main): Add more test from size
3540 from 32 to 512 bytes.
3541 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
3542 Add POWER8 memset object.
3543 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3544 (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
3545 * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
3546 implementation.
3547 * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
3548 Likewise.
3549 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
3550 multiarch POWER8 memset optimization.
3551 * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
3552 POWER8 memset optimization.
3553
3554 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
3555 Remove bzero multiarch objects.
3556 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
3557 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
3558 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
3559 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
3560 Remove define.
3561 [__bzero]: Redefine to specific name.
3562 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
3563 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
3564 * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
3565 define.
3566 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
3567 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
3568
3569 2014-09-10 Florian Weimer <fweimer@redhat.com>
3570
3571 * Makeconfig (gccwarn-c): Turn implicit-function-declaration
3572 warnings into errors.
3573
3574 * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
3575 __cxa_thread_atexit_impl prototype.
3576
3577 2014-09-09 Steve Ellcey <sellcey@mips.com>
3578
3579 * sysdeps/mips/preconfigure: Put code inside mips* case statement.
3580 Fix capitalization of error message.
3581
3582 2014-09-09 Steve Ellcey <sellcey@mips.com>
3583
3584 * sysdeps/mips/preconfigure: Modify ABI tests.
3585
3586 2014-09-07 Carlos O'Donell <carlos@systemhalted.org>
3587
3588 * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
3589
3590 2014-09-07 Roland McGrath <roland@hack.frob.com>
3591 Carlos O'Donell <carlos@systemhalted.org>
3592
3593 * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
3594 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
3595 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
3596 * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
3597 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
3598 * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
3599 * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
3600 * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
3601 * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
3602 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
3603 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
3604 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
3605 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
3606 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
3607 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
3608 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
3609 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
3610 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
3611 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
3612 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
3613 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
3614 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
3615 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
3616 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
3617 * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
3618 * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
3619 * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
3620 * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
3621 Deconditionalize the code that was previously under [RESET_PID].
3622 * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
3623 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
3624 * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
3625 * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
3626 include sysdep.h.
3627
3628 2014-09-08 Allan McRae <allan@archlinux.org>
3629
3630 * version.h (RELEASE): Set to "development".
3631 (VERSION): Set to "2.20.90"
3632
3633 2014-09-07 Allan McRae <allan@archlinux.org
3634
3635 * version.h (RELEASE): Set to "stable".
3636 (VERSION): Set to "2.20"
3637 * include/features.h (__GLIBC_MINOR__): Set to 20.
3638
3639 * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
3640 Liebler.
3641
3642 * po/ko.po: Update Korean translation from translation project.
3643
3644 2014-09-06 Chris Metcalf <cmetcalf@tilera.com>
3645
3646 [BZ #17354]
3647 * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
3648 macro for handling signed relocations.
3649
3650 2014-09-03 Florian Weimer <fweimer@redhat.com>
3651
3652 [BZ #17325]
3653 * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
3654 * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
3655 assert.
3656 * iconvdata/ibm933.c (BODY): Fix check for sentinel.
3657 * iconvdata/ibm935.c (BODY): Likewise.
3658 * iconvdata/ibm937.c (BODY): Likewise.
3659 * iconvdata/ibm939.c (BODY): Likewise.
3660 * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
3661 assert.
3662 * iconvdata/Makefile (iconv-test.out): Pass module list to test
3663 script.
3664 * iconvdata/run-iconv-test.sh: New test loop for checking for
3665 decoder crashers.
3666
3667 2014-09-02 Khem Raj <raj.khem@gmail.com>
3668
3669 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
3670 libm_hidden_ver.
3671
3672 2014-09-01 Allan McRae <allan@archlinux.org>
3673
3674 * po/eo.po: Update Esperanto translation from translation project.
3675
3676 * po/ca.po: Update Catalan translation from translation project.
3677
3678 2014-08-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
3679
3680 * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
3681 __proc_dostop call.
3682
3683 2014-08-27 Mark Wielaard <mjw@redhat.com>
3684
3685 [BZ #17319]
3686 * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
3687 to call set_thread_area instead of hand written asm.
3688 (__NR_set_thread_area): Removed define.
3689 (TLS_FLAG_WRITABLE): Likewise.
3690 (__ASSUME_SET_THREAD_AREA): Remove check.
3691 (TLS_EBX_ARG): Remove define.
3692 (TLS_LOAD_EBX): Likewise.
3693
3694 2014-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
3695
3696 Simplify atomicity of socket creation in bind.
3697
3698 * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
3699 looking up the name after linking the file.
3700
3701 2014-08-27 Allan McRae <allan@archlinux.org>
3702
3703 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
3704
3705 2014-08-26 Florian Weimer <fweimer@redhat.com>
3706
3707 [BZ #17187]
3708 * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
3709 trans_compare, open_translit, __gconv_translit_find):
3710 Remove module loading code.
3711
3712 2014-08-26 Allan McRae <allan@archlinux.org>
3713
3714 * po/vi.po: Update Vietnamese translation from translation project.
3715
3716 * po/uk.po: Update Ukrainian translation from translation project.
3717
3718 * po/fr.po: Update French translation from translation project.
3719
3720 * po/ru.po: Update Russian translation from translation project.
3721
3722 * po/pl.po: Update Polish translation from translation project.
3723
3724 * po/cs.po: Update Czech translation from translation project.
3725
3726 * po/de.po: Update German translation from translation project.
3727
3728 * po/bg.po: Update Bulgarian translation from translation project.
3729
3730 * po/sv.po: Update Sweedish translation from translation project.
3731
3732 * po/nl.po: Update Dutch translation from translation project.
3733
3734 * po/es.po: Update Spanish translation from translation project.
3735
3736 2014-08-21 Siddhesh Poyarekar <siddhesh@redhat.com>
3737
3738 * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
3739
3740 * catgets/Makefile (CPPFLAGS-gencat): Remove.
3741 * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
3742 (CPPFLAGS-iconvconfig): Likewise.
3743 * timezone/Makefile (CPPFLAGS-zic): Likewise.
3744
3745 * include/libc-symbols.h: Remove unnecessary check for
3746 NOT_IN_libc.
3747 * nptl/pthreadP.h: Likewise.
3748 * sysdeps/aarch64/setjmp.S: Likewise.
3749 * sysdeps/alpha/setjmp.S: Likewise.
3750 * sysdeps/arm/sysdep.h: Likewise.
3751 * sysdeps/i386/setjmp.S: Likewise.
3752 * sysdeps/m68k/setjmp.c: Likewise.
3753 * sysdeps/posix/getcwd.c: Likewise.
3754 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
3755 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
3756 * sysdeps/s390/s390-32/setjmp.S: Likewise.
3757 * sysdeps/s390/s390-64/setjmp.S: Likewise.
3758 * sysdeps/sh/sh3/setjmp.S: Likewise.
3759 * sysdeps/sh/sh4/setjmp.S: Likewise.
3760 * sysdeps/unix/alpha/sysdep.h: Likewise.
3761 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
3762 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
3763 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
3764 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
3765 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
3766 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
3767 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
3768 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
3769 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
3770 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
3771 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
3772 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
3773 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
3774 * sysdeps/x86_64/setjmp.S: Likewise.
3775
3776 2014-08-13 Joseph Myers <joseph@codesourcery.com>
3777
3778 [BZ #17263]
3779 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
3780 <stdint.h>.
3781 (__get_clockfreq): Use uint64_t instead of hp_timing_t in
3782 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
3783
3784 2014-08-13 Siddhesh Poyarekar <siddhesh@redhat.com>
3785
3786 * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
3787
3788 [BZ #17262]
3789 * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
3790 and __x86_64__ when disabling x87 inline functions.
3791
3792 2014-08-12 H.J. Lu <hongjiu.lu@intel.com>
3793
3794 [BZ #17259]
3795 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
3796 asm statement with __cpuid_count.
3797
3798 2014-08-12 Mike Frysinger <vapier@gentoo.org>
3799
3800 * configure.ac: Change __ehdr_start code to dereference the struct.
3801 Run readelf on the output to look for relocations.
3802 * configure: Regenerated.
3803
3804 2014-08-12 Joseph Myers <joseph@codesourcery.com>
3805
3806 [BZ #17261]
3807 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
3808 value to 0.
3809 (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
3810
3811 2014-08-12 Roland McGrath <roland@hack.frob.com>
3812
3813 * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
3814
3815 2014-08-12 Bernard Ogden <bernie.ogden@linaro.org>
3816
3817 [BZ #16892]
3818 * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
3819 atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
3820
3821 2014-08-12 Sean Anderson <seanga2@gmail.com>
3822
3823 * malloc/malloc.c: Fix typo in comment.
3824
3825 2014-08-09 Allan McRae <allan@archlinux.org>
3826
3827 * Regenerate libc.po.
3828
3829 2014-08-08 Mike Frysinger <vapier@gentoo.org>
3830
3831 * intl/tst-gettext2.sh: Check every lang file for creation.
3832
3833 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
3834
3835 * sysdeps/aarch64/fpu/math_private.h
3836 (libc_feholdsetround_noex_aarch64_ctx): New function.
3837
3838 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
3839
3840 * sysdeps/arm/armv6/strcpy.S (strcpy):
3841 Fix performance issue in misaligned cases.
3842
3843 2014-08-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3844
3845 * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
3846 Move definition from termios.h.
3847 (struct termio): Likewise.
3848 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
3849 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
3850 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
3851 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
3852 Likewise.
3853 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
3854 Move definition to ioctl-types.h
3855 (struct termio): Likewise.
3856 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
3857 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
3858 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
3859 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
3860 Likewise.
3861
3862 2014-08-05 Richard Henderson <rth@redhat.com>
3863
3864 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
3865 exceptions.
3866 * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
3867 Add fraiseexcpt.
3868 * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
3869 Use __feraiseexcept.
3870 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
3871 Protect libm symbols with IS_IN_libm.
3872
3873 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
3874
3875 2014-08-04 Bernard Ogden <bernie.ogden@linaro.org>
3876
3877 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
3878
3879 2014-08-04 Will Newton <will.newton@linaro.org>
3880
3881 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
3882 file.
3883
3884 2014-08-04 Mike Frysinger <vapier@gentoo.org>
3885
3886 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
3887 variants for each function.
3888
3889 2014-08-04 Roland McGrath <roland@hack.frob.com>
3890
3891 * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
3892 appended ...
3893 * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
3894 * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
3895 appended ...
3896 * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
3897 * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
3898 * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
3899 * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
3900 * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
3901 * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
3902 * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
3903 * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
3904 * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
3905 * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
3906 * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
3907 * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
3908 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
3909 * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
3910 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
3911 * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
3912 * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
3913 * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
3914 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
3915 * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
3916 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
3917 * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
3918 * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
3919 * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
3920 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
3921 * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
3922 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
3923 * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
3924 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
3925 * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
3926 * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
3927 * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
3928 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
3929 * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
3930 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
3931 * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
3932 * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
3933 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
3934 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
3935 * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
3936 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
3937 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
3938 * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
3939 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
3940 * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
3941 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
3942 * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
3943 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
3944 * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
3945 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
3946 * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
3947 * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
3948 * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
3949 Update #include.
3950 * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
3951 * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
3952
3953 2014-08-04 Roland McGrath <roland@hack.frob.com>
3954
3955 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
3956 * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
3957 * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
3958 * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
3959 * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
3960 * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
3961
3962 2014-08-04 Roland McGrath <roland@hack.frob.com>
3963
3964 * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
3965 * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
3966 * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3967 * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
3968
3969 2014-08-04 Roland McGrath <roland@hack.frob.com>
3970
3971 * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
3972 * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
3973 (__libc_vfork): Define function under this name.
3974 (__vfork): Define as an alias.
3975 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
3976 * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
3977
3978 2014-08-04 Roland McGrath <roland@hack.frob.com>
3979
3980 * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
3981 that was previously under [RESET_PID].
3982 * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
3983
3984 2014-08-04 Andreas Schwab <schwab@suse.de>
3985
3986 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
3987
3988 2014-08-03 Mike Frysinger <vapier@gentoo.org>
3989
3990 * stdlib/tst-setcontext.c (test_stack): Fix coding style.
3991 (main): Likewise.
3992
3993 2014-08-01 Roland McGrath <roland@hack.frob.com>
3994
3995 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
3996
3997 2014-08-01 Richard Henderon <rth@redhat.com>
3998
3999 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
4000 feclearexcept; use math_opt_barrier instead of open-coded asm; fix
4001 typo in exact zero test.
4002 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
4003 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
4004 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
4005
4006 2014-08-01 Roland McGrath <roland@hack.frob.com>
4007
4008 * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
4009 (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
4010 * sysdeps/arm/sysdep.h: ... here.
4011 [!__ASSEMBLER__]: Include <stdint.h>.
4012
4013 2014-08-01 Siddhesh Poyarekar <siddhesh@redhat.com>
4014
4015 * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
4016 (HAVE_WCTYPE_H): Likewise.
4017 (HAVE_ISWCTYPE): Likewise.
4018 (ENABLE_NLS): Likewise.
4019 * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
4020 && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
4021
4022 * posix/regex_internal.c: Check if DEBUG is defined and is
4023 set.
4024
4025 * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
4026 (HAVE_MBSRTOWCS): Likewise.
4027 * posix/fnmatch.c: Include string.h unconditionally.
4028
4029 2014-08-01 Stefan Liebler <stli@linux.vnet.ibm.com>
4030
4031 * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
4032 reversal.
4033
4034 2014-07-31 Roland McGrath <roland@hack.frob.com>
4035
4036 * sysdeps/generic/safe-fatal.h: New file.
4037 * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
4038 * nptl/forward.c: Include it.
4039 (__pthread_unwind): Use __safe_fatal as default action, rather
4040 than a bogus use of INTERNAL_SYSCALL that could never work.
4041
4042 * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
4043 * configure.ac (libc_cv_builtin_trap): New test.
4044 * configure: Regenerated.
4045 * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
4046 (ABORT_INSTRUCTION): Define using __builtin_trap.
4047
4048 * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
4049 * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
4050 * sysdeps/nptl/nptl-signals.h: New file.
4051 * nptl/pthreadP.h: Include <nptl-signals.h>.
4052
4053 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
4054
4055 * sysdeps/s390/s390-64/utf16-utf32-z9.c
4056 (ONE_DIRECTION): Define.
4057 * sysdeps/s390/s390-64/utf8-utf16-z9.c
4058 (ONE_DIRECTION): Define.
4059 * sysdeps/s390/s390-64/utf8-utf32-z9.c
4060 (ONE_DIRECTION): Define.
4061
4062 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
4063
4064 * sysdeps/s390/Makefile: Delete file.
4065 * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
4066 * sysdeps/s390/__longjmp.c: Delete file.
4067 * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
4068 Remove fields __flags and __reserved.
4069 * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
4070 and add versioning.
4071 * sysdeps/s390/rtld-__longjmp.c: Delete file.
4072 * sysdeps/s390/rtld-global-offsets.sym: Likewise.
4073 * sysdeps/s390/rtld-setjmp.S: Likewise.
4074 * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
4075 * sysdeps/s390/s390-32/__longjmp.c: ... here.
4076 * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
4077 * sysdeps/s390/s390-32/setjmp.S: ... here.
4078 Add versioning.
4079 (__sigsetjmp): Remove setting __flags field.
4080 * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
4081 * sysdeps/s390/s390-64/__longjmp.c: ... here.
4082 * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
4083 * sysdeps/s390/s390-64/setjmp.S: ... here.
4084 Add versioning.
4085 (__sigsetjmp): Remove setting __flags field.
4086 * sysdeps/s390/setjmp.S: Delete file.
4087 * sysdeps/s390/sigjmp.c: Likewise.
4088 * sysdeps/s390/v1-longjmp.c: Likewise.
4089 * sysdeps/s390/v1-setjmp.h: Likewise.
4090 * sysdeps/s390/v1-sigjmp.c: Likewise.
4091 * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
4092 Remove v1-longjmp_chk.
4093 * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
4094 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
4095 Include debug/longjmp_chk.c and add versioning.
4096 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
4097 Include nptl/pt-longjmp.c and add versioning.
4098 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
4099 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
4100 Include __longjmp.c.
4101 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
4102 Move to ...
4103 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
4104 (__getcontext): Remove setting __flags field.
4105 Add versioning.
4106 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
4107 Don't restore upper high grps.
4108 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
4109 Likewise.
4110 (__swapcontext): Remove setting uc_flags field.
4111 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
4112 Delete file.
4113 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
4114 Include __longjmp.c.
4115 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
4116 Move to ...
4117 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
4118 (__getcontext): Remove setting __flags field.
4119 Add versioning.
4120 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
4121 (__swapcontext): Remove setting uc_flags field.
4122 * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
4123 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
4124 Remove fields uc_high_gprs and __reserved.
4125 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
4126 New file with reverted content.
4127 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
4128 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
4129 Regenerated.
4130 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
4131 Regenerated.
4132
4133 2014-07-31 Andreas Schwab <schwab@suse.de>
4134
4135 * config.h.in (HAVE_IFUNC): Define to 0.
4136 * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
4137 definedness.
4138
4139 2014-07-30 Ling Ma <ling.ml@alibaba-inc.com>
4140
4141 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
4142 memmove-avx-unaligned, memcpy-avx-unaligned and
4143 mempcpy-avx-unaligned.
4144 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
4145 Add tests for AVX memcpy functions.
4146 * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
4147 * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
4148 memcpy_chk.
4149 * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
4150 * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
4151 memmove_chk.
4152 * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
4153 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
4154 mempcpy_chk.
4155 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
4156 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
4157 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
4158
4159 2013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4160
4161 [BZ #17213]
4162 * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
4163 powerpc64le.
4164
4165 2014-07-29 Jeff Layton <jlayton@poochiereds.net>
4166
4167 [BZ #16839]
4168 * manual/llio.texi: Add section about open file description locks.
4169 * manual/examples/ofdlocks.c: Example of open file description
4170 lock usage.
4171 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
4172 F_OFD_SETLK, and F_OFD_SETLKW.
4173
4174 2014-07-23 Allan McRae <allan@archlinux.org>
4175
4176 * po/es.po: Update Spanish translation from translation project.
4177
4178 2014-07-18 Andreas Schwab <schwab@linux-m68k.org>
4179
4180 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
4181
4182 2014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
4183
4184 [BZ #17078]
4185 * sysdeps/arm/dl-machine.h (elf_machine_rela)
4186 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
4187 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
4188
4189 2014-07-17 Joseph Myers <joseph@codesourcery.com>
4190
4191 [BZ #17088]
4192 * math/fesetenv.c (__fesetenv)
4193 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
4194 * math/feupdateenv.c (__feupdateenv)
4195 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
4196
4197 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
4198 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
4199 (__ASSUME_SOCKETCALL): Do not define.
4200
4201 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
4202 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
4203 (__ASSUME_SOCKETCALL): Do not define.
4204 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
4205 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
4206 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
4207 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
4208 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
4209 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
4210 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
4211 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
4212
4213 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
4214 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
4215 (__ASSUME_SOCKETCALL): Do not define.
4216 (__ASSUME_IPC64): Define unconditionally.
4217 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
4218 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
4219 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
4220 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
4221 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
4222 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
4223 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
4224 Likewise.
4225
4226 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
4227 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
4228 (__ASSUME_SOCKETCALL): Do not define.
4229 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
4230 (__ASSUME_FUTEX_LOCK_PI): Likewise.
4231 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
4232 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
4233 (__ASSUME_REQUEUE_PI): Define unconditionally.
4234 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
4235 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
4236 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
4237 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
4238 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
4239 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
4240
4241 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
4242 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
4243 (__ASSUME_SOCKETCALL): Do not define.
4244 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
4245 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
4246 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
4247 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
4248 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
4249 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
4250
4251 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
4252 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
4253 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
4254 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
4255 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
4256 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
4257 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
4258 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
4259 (__ASSUME_GETCPU_SYSCALL): Likewise.
4260
4261 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
4262 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
4263 cases for individual architectures.
4264 * sysdeps/gnu/configure: Regenerated.
4265 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
4266 LIBC_SLIBDIR_RTLDDIR.
4267 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
4268 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
4269 LIBC_SLIBDIR_RTLDDIR.
4270 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
4271 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
4272 LIBC_SLIBDIR_RTLDDIR.
4273 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
4274 Regenerated.
4275 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
4276 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
4277 file.
4278 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
4279 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
4280 file.
4281 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
4282 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
4283 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
4284 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
4285
4286 * sysdeps/aarch64/shlib-versions: Move to ...
4287 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
4288 * sysdeps/alpha/shlib-versions: Move to ...
4289 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
4290 * sysdeps/arm/shlib-versions: Move to ...
4291 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
4292 * sysdeps/hppa/shlib-versions: Move all contents except for
4293 libgcc_s entry to ...
4294 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
4295 entry from ...
4296 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
4297 * sysdeps/ia64/shlib-versions: Move to ...
4298 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
4299 entry from ...
4300 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
4301 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
4302 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
4303 * sysdeps/microblaze/shlib-versions: Move to ...
4304 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
4305 * sysdeps/mips/shlib-versions: Move to ...
4306 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
4307 entry from ...
4308 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
4309 * sysdeps/tile/shlib-versions: Move to ...
4310 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
4311 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
4312 from ...
4313 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
4314 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
4315 entry from ...
4316 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
4317
4318 2014-07-17 Will Newton <will.newton@linaro.org>
4319
4320 * sysdeps/arm/bits/atomic.h
4321 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
4322 (__arch_compare_and_exchange_bool_16_int): Likewise.
4323 (__arch_compare_and_exchange_bool_64_int): Likewise.
4324
4325 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
4326 into an #else block.
4327
4328 2014-07-16 Roland McGrath <roland@hack.frob.com>
4329
4330 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
4331 just Linux configurations. Test empirically that the compiler sets
4332 __ARM_EABI__, rather than using the tuple to decide.
4333 * sysdeps/arm/preconfigure: Regenerated.
4334 * sysdeps/unix/sysv/linux/arm/configure: File removed.
4335 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
4336 contents appended ...
4337 * sysdeps/arm/configure.ac: ... here.
4338 * sysdeps/arm/configure: Regenerated.
4339
4340 2014-07-15 Roland McGrath <roland@hack.frob.com>
4341
4342 * nptl/pthread_kill.c: New file.
4343 * nptl/pthread_sigmask.c: New file.
4344 * nptl/pthread_sigqueue.c: New file.
4345
4346 * sysdeps/nptl/lowlevellock.h: New file.
4347 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
4348 * sysdeps/nptl/lowlevellock-futex.h: New file.
4349
4350 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
4351 Remove dead declarations.
4352
4353 2014-07-14 H.J. Lu <hongjiu.lu@intel.com>
4354
4355 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
4356 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
4357 config-cflags-avx2.
4358 * sysdeps/x86_64/configure.ac: Likewise.
4359 * sysdeps/i386/configure: Regenerated.
4360 * sysdeps/x86_64/configure: Likewise.
4361 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
4362 memset-avx2 only if config-cflags-avx2 is yes.
4363 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
4364 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
4365 defined.
4366 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
4367 only if HAVE_AVX2_SUPPORT is defined.
4368 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
4369
4370 2014-07-14 Alan Modra <amodra@gmail.com>
4371
4372 [BZ #17153]
4373 * elf/elf.h (DT_PPC64_NUM): Correct value.
4374 * NEWS: Add to fixed bug list.
4375
4376 2014-07-13 Jim Meyering <meyering@fb.com>
4377
4378 [BZ 17150]
4379 regex: don't deref NULL upon heap allocation failure
4380 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
4381 failure in one more place.
4382 To trigger the segfault, configure grep -with-included-regex,
4383 build it, and run these commands:
4384 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
4385
4386 2014-07-13 Andreas Schwab <schwab@linux-m68k.org>
4387
4388 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
4389
4390 2014-07-11 Richard Henderson <rth@redhat.com>
4391
4392 * sysdeps/aarch64/libm-test-ulps: Update.
4393
4394 2014-07-10 Florian Weimer <fweimer@redhat.com>
4395
4396 [BZ #17135]
4397 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
4398 * nptl/allocatestack.c (__nptl_setxid_error): New function.
4399 (__nptl_setxid): Initialize error member. Call
4400 __nptl_setxid_error.
4401 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
4402 * nptl/descr.h (struct xid_command): Add error member.
4403 * nptl/tst-setuid3.c: New file.
4404 * nptl/Makefile (tests): Add it.
4405
4406 2014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4407
4408 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
4409 New define.
4410 (__lll_trylock): Use __lll_base_trylock.
4411 (__lll_cond_trylock): Likewise.
4412
4413 2014-07-10 Roland McGrath <roland@hack.frob.com>
4414
4415 * nptl/pthread_create.c (start_thread): Use atomic_or and
4416 lll_futex_wake directly rather than lll_robust_dead.
4417 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
4418 (lll_robust_dead): Macro removed.
4419 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
4420 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
4421 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
4422 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
4423 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
4424 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
4425 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
4426 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
4427 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
4428 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
4429 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
4430 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
4431 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
4432 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
4433 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
4434
4435 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
4436 Use atomic_compare_and_exchange_val_acq directly rather than
4437 lll_robust_trylock.
4438 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
4439 (__lll_robust_trylock, lll_robust_trylock): Removed.
4440 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
4441 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
4442 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
4443 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
4444 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
4445 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
4446 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
4447 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
4448 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
4449 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
4450 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
4451 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
4452 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
4453 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
4454
4455 2014-07-02 Florian Weimer <fweimer@redhat.com>
4456
4457 * manual/locale.texi (Locale Names): New section documenting
4458 locale name syntax. Adjust menu and node chaining accordingly.
4459 (Choosing Locale): Reference Locale Names, Locale Categories.
4460 Mention setting LC_ALL=C. Reflect that name syntax is now
4461 documented.
4462 (Locale Categories): New section title. Reference Locale Names.
4463 LC_ALL is an environment variable, but not a category.
4464 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
4465 description, now in Locale Name. Reference that section. Locale
4466 name syntax is now documented.
4467
4468 2014-07-02 Florian Weimer <fweimer@redhat.com>
4469
4470 [BZ #17137]
4471 * locale/findlocale.c (name_present, valid_locale_name): New
4472 functions.
4473 (_nl_find_locale): Use the loc_name variable to store name
4474 candidates. Call name_present and valid_locale_name to check and
4475 validate locale names. Return an error if the locale is invalid.
4476
4477 2014-07-02 Florian Weimer <fweimer@redhat.com>
4478
4479 * locale/setlocale.c (setlocale): Use strdup for allocating
4480 composite name copy.
4481
4482 2014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
4483
4484 Sync up with gnulib.
4485 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
4486 [!_LIBC && ENABLE_NLS]: Include gettext.h.
4487 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
4488 and _GL_ARG_NONNULL.
4489 [USE_UNLOCKED_IO]: Include unlocked-io.h.
4490 [!_LIBC]: Include code for Windows and Cygwin.
4491 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
4492 Include prototype for int strerror_r.
4493 [!_LIBC] (is_open): New function.
4494 (flush_stdout): New function.
4495 (print_errno_message): Use it.
4496 (error): Likewise.
4497 (error_at_line): Likewise.
4498 (error_tail) Add function attribute macros. Use
4499 __builtin_expect.
4500
4501 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
4502
4503 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
4504
4505 * io/ftw.c: Include sys/param.h unconditionally.
4506
4507 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
4508
4509 [BZ #17125]
4510 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
4511 libc_freeres_ptr.
4512 (freecache): New function to free CACHE on exit.
4513
4514 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
4515 initialization.
4516
4517 2014-07-09 David S. Miller <davem@davemloft.net>
4518
4519 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4520
4521 * sysdeps/sparc/nptl/internaltypes.h: Delete.
4522 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
4523 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
4524 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
4525 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
4526 * sysdeps/sparc/nptl/sem_init.c: Likewise.
4527 * sysdeps/sparc/nptl/sem_post.c: Likewise.
4528 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
4529 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
4530 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
4531 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
4532 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
4533 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
4534
4535 2014-07-09 Andreas Schwab <schwab@suse.de>
4536
4537 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
4538 output.
4539 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
4540 (do_test): Likewise.
4541
4542 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
4543
4544 2014-07-09 Will Newton <will.newton@linaro.org>
4545
4546 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
4547 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
4548 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
4549 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
4550 * sysdeps/hppa/start.S (_start): Likewise.
4551
4552 2014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
4553
4554 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
4555
4556 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
4557 defined.
4558
4559 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
4560
4561 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
4562 after checking that it is non-NULL.
4563
4564 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
4565
4566 2014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4567
4568 * sysdeps/powerpc/memmove.c: Remove file.
4569 * sysdeps/powerpc/powerpc32/power4/memcopy.h
4570 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
4571 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
4572 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
4573 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
4574 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
4575 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
4576 string memmove instead of removed powerpc one.
4577
4578 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
4579 [weak_alias]: Fix compiler warning due trailing data.
4580 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
4581 [weak_alias]: Likewise.
4582 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
4583 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
4584
4585 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
4586 (__libc_ifunc_impl_list): Add memmove functions.
4587
4588 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
4589
4590 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
4591 Remove code.
4592 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
4593 Likewise
4594 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
4595 Likewise
4596 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
4597 Likewise
4598 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
4599 Likewise
4600 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
4601 Likewise
4602 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
4603 Likewise
4604 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
4605 Likewise
4606 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
4607 Likewise
4608 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
4609 Likewise
4610 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
4611 Likewise
4612 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
4613 Likewise
4614 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
4615 Likewise
4616 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
4617 Likewise
4618 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
4619 Likewise
4620 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
4621 Likewise
4622 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
4623 Likewise
4624
4625 2014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4626
4627 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
4628 to avoid alignment traps in non-cacheable memory.
4629 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
4630
4631 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
4632 multiarch objects.
4633 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
4634 file: multiarch power7 memmove.
4635 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
4636 multiarch default memmove.
4637 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
4638 multiarch memove for powerpc32/power4.
4639
4640 * string/bcopy.c: Use full path to include memmove.c.
4641 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
4642 multiarch objects.
4643 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
4644 bcopy for powerpc64.
4645 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
4646 bcopy for powerpc64.
4647 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
4648 and memmove implementations.
4649 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
4650 optimized multiarch memmove for POWER7/powerpc64.
4651 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
4652 default multiarch memmove for powerpc64.
4653 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
4654 multiarch for powerpc64.
4655 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
4656 for POWER7/powerpc64.
4657 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
4658 memmove for POWER7/powerpc64.
4659
4660 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
4661 glibc default one.
4662
4663 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
4664 __ELF_NATIVE_CLASS equal to 64.
4665
4666 2014-07-07 Roland McGrath <roland@hack.frob.com>
4667
4668 * sysdeps/nptl/lowlevellock.h: File removed.
4669
4670 * NEWS: NPTL is no longer an add-on!
4671 * nptl/internaltypes.h: Moved ...
4672 * sysdeps/nptl/internaltypes.h: ... here.
4673 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
4674 * sysdeps/nptl/fork.c: Likewise.
4675 * sysdeps/nptl/gai_misc.h: Likewise.
4676 * sysdeps/nptl/librt-cancellation.c: Likewise.
4677 * sysdeps/nptl/jmp-unwind.c: Likewise.
4678 * sysdeps/nptl/setxid.h: Likewise.
4679 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
4680 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
4681 * sysdeps/unix/sysv/linux/arm/Implies: New file.
4682 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
4683 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
4684 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
4685 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
4686 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
4687 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
4688 * sysdeps/unix/sysv/linux/mips/Implies: New file.
4689 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
4690 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
4691 * sysdeps/unix/sysv/linux/sh/Implies: New file.
4692 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
4693 * sysdeps/unix/sysv/linux/tile/Implies: New file.
4694 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
4695 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
4696 * nptl/Makeconfig: Moved ...
4697 * sysdeps/nptl/Makeconfig: ... here.
4698 * nptl/configure: File removed.
4699 * nptl/ANNOUNCE: File removed.
4700 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
4701 * sysdeps/unix/sysv/linux/configure: Regenerated.
4702
4703 * nptl/Makefile (routines): Add libc_pthread_init,
4704 libc_multiple_threads, register-atfork and unregister-atfork.
4705 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
4706 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
4707 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
4708 pthread-pi-defines.sym, structsem.sym.
4709 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
4710 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
4711 [$(subdir) = nptl] (tests): Add tst-setgetname.
4712 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
4713 * sysdeps/unix/sysv/linux/sigaction.c: Just include
4714 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
4715 [!LIBC_SIGACTION]: Remove aliases.
4716 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
4717 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
4718 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
4719 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
4720 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
4721 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
4722 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
4723 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
4724 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
4725 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
4726 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
4727 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
4728 __libc_allocate_rtsig_private.
4729 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
4730 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
4731 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
4732 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
4733 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
4734 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
4735 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
4736 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
4737 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
4738 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
4739 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
4740 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
4741 * nptl/internaltypes.h: ... here.
4742 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
4743 * sysdeps/nptl/jmp-unwind.c: ... here.
4744 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
4745 * nptl/libc-lowlevellock.c: ... here.
4746 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
4747 * nptl/libc_multiple_threads.c: ... here.
4748 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
4749 * nptl/libc_pthread_init.c: ... here.
4750 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
4751 * nptl/lowlevelbarrier.sym: ... here.
4752 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
4753 * nptl/lowlevelcond.sym: ... here.
4754 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
4755 * nptl/lowlevellock.c: ... here.
4756 * nptl/lowlevellock.h: Moved ...
4757 * sysdeps/nptl/lowlevellock.h: ... here.
4758 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
4759 * nptl/lowlevelrobustlock.c: ... here.
4760 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
4761 * nptl/lowlevelrobustlock.sym: ... here.
4762 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
4763 * nptl/lowlevelrwlock.sym: ... here.
4764 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
4765 * nptl/pt-fork.c: ... here.
4766 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
4767 * nptl/pthread-pi-defines.sym: ... here.
4768 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
4769 * nptl/pthread_attr_getaffinity.c: ... here.
4770 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
4771 * nptl/pthread_attr_setaffinity.c: ... here.
4772 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
4773 * nptl/pthread_mutex_cond_lock.c: ... here.
4774 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
4775 Update #include.
4776 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
4777 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
4778 * nptl/pthread_once.c: ... here, replacing old file.
4779 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
4780 * nptl/pthread_yield.c: ... here.
4781 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
4782 * nptl/register-atfork.c: ... here.
4783 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
4784 * nptl/sem_post.c: ... here.
4785 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
4786 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
4787 * nptl/sem_timedwait.c: ... here.
4788 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
4789 * nptl/sem_trywait.c: ... here.
4790 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
4791 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
4792 * nptl/sem_wait.c: ... here.
4793 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
4794 * nptl/structsem.sym: ... here.
4795 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
4796 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
4797 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
4798 * nptl/unregister-atfork.c: ... here.
4799 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
4800 * nptl/unwindbuf.sym: ... here.
4801 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
4802 * sysdeps/nptl/fork.c: ... here.
4803 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
4804 * sysdeps/nptl/fork.h: ... here.
4805 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
4806 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
4807 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
4808 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
4809 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
4810 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
4811 * sysdeps/unix/sysv/linux/getpid.c: ... here.
4812 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
4813 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
4814 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
4815 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
4816 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
4817 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
4818 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
4819 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
4820 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
4821 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
4822 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
4823 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
4824 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
4825 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
4826 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
4827 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
4828 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
4829 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
4830 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
4831 * sysdeps/unix/sysv/linux/raise.c: ... here.
4832 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
4833 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
4834 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
4835 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
4836 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
4837 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
4838 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
4839 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
4840 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
4841 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
4842 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
4843 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
4844 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
4845 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
4846 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
4847
4848 2014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
4849
4850 * sysdeps/generic/memcopy.h: Add comment for
4851 MEMCPY_OK_FOR_FWD_MEMMOVE.
4852
4853 2014-07-04 Will Newton <will.newton@linaro.org>
4854
4855 * string/memchr.c: Merge from gnulib.
4856 [_LIBC]: Remove conditionals.
4857 (__ptr_t): Remove define.
4858 (LONG_MAX_32_BITS): Likewise.
4859 (LONG_MAX): Likewise.
4860 (MEMCHR): Use ANSI prototype and optimize algorithm.
4861
4862 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
4863
4864 2014-07-03 Roland McGrath <roland@hack.frob.com>
4865
4866 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
4867 (lll_futex_timed_wait_bitset): Fix syscall argument count.
4868
4869 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
4870 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
4871 in a bare environment with no <stdlib.h> installed.
4872 * sysdeps/nptl/configure: Regenerated.
4873
4874 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
4875
4876 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
4877 AC_EGREP_CPP for kernel header checks, so they only succeed if
4878 including <linux/version.h> actually works right.
4879 * sysdeps/unix/sysv/linux/configure: Regenerated.
4880
4881 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
4882 value so it's not diagnosed as unused.
4883
4884 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
4885 thing) with "ifeq ($(subdir),rt)".
4886
4887 2014-07-03 Richard Henderson <rth@redhat.com>
4888
4889 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
4890 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
4891 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
4892
4893 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
4894 (math_force_eval): New.
4895
4896 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
4897 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
4898
4899 * sysdeps/alpha/fpu/s_round.c: Remove file.
4900 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
4901
4902 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
4903 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
4904 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
4905 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
4906 (_dl_start, print_statistics): Likewise.
4907 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
4908 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
4909
4910 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
4911 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
4912 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
4913 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
4914 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
4915 (HP_SMALL_TIMING_AVAIL): Define.
4916 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
4917 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
4918 (HP_SMALL_TIMING_AVAIL): Define.
4919 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
4920 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
4921
4922 * sysdeps/aarch64/hp-timing.h: New file.
4923
4924 * sysdeps/generic/hp-timing.h: Remove dead comment.
4925 * sysdeps/generic/hp-timing-common.h: New file.
4926 * sysdeps/alpha/hp-timing.h: Include it.
4927 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
4928 * sysdeps/i386/i686/hp-timing.h: Likewise.
4929 * sysdeps/ia64/hp-timing.h: Likewise.
4930 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
4931 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
4932 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
4933 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
4934 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
4935 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
4936 (hp_timing_t): New.
4937
4938 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
4939 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
4940 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
4941 * elf/rtld.c (_dl_start_final): Likewise.
4942 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
4943 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
4944 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
4945 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
4946 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
4947 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
4948 (HP_TIMING_DIFF_INIT): Remove.
4949 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
4950 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
4951 (HP_TIMING_DIFF_INIT): Remove.
4952 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
4953 * sysdeps/i386/i686/hp-timing.c: Remove file.
4954 * sysdeps/x86_64/hp-timing.c: Remove file.
4955 * sysdeps/ia64/hp-timing.c: Remove file.
4956 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
4957 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
4958 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
4959 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
4960
4961 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
4962 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
4963 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
4964 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
4965 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
4966 (HP_TIMING_ACCUM): Remove.
4967 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
4968 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
4969 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
4970
4971 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
4972 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
4973 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
4974 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
4975 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
4976 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
4977 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
4978 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
4979
4980 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
4981
4982 2014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
4983
4984 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
4985
4986 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
4987
4988 Sync up with gettext.
4989 * intl/loadmsgcat.c: Define O_BINARY if not defined.
4990 [_MSC_VER]: Include malloc.h
4991 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
4992 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
4993 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
4994 TEMP_FAILURE_RETRY. Cast return of alloca.
4995 [!_LIBC] Call gl_rwlock_init.
4996 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
4997
4998 2014-07-02 Roland McGrath <roland@hack.frob.com>
4999
5000 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
5001 before checking its value.
5002
5003 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
5004
5005 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
5006
5007 * debug/memcpy_chk.c: Don't include pagecopy.h.
5008 * debug/mempcpy_chk.c: Likewise.
5009 * string/memcpy.c: Likewise.
5010 * string/memmove.c: Likewise.
5011 * sysdeps/powerpc/memmove.c: Likewise.
5012 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
5013 definition of PAGE_COPY_FWD_MAYBE here...
5014 * sysdeps/generic/pagecopy.h: ... from here.
5015 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
5016
5017 2014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
5018 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5019
5020 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
5021 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
5022 optimizations.
5023 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
5024 (__libc_ifunc_impl_list): Likewise.
5025 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
5026 multiarch strcat for PPC64.
5027 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
5028 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
5029
5030 2014-07-02 Roland McGrath <roland@hack.frob.com>
5031
5032 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
5033
5034 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
5035
5036 * intl/loadmsgcat.c: Remove declaration of
5037 get_sysdep_segment_value.
5038 (get_sysdep_segment_value): Use ISO C style.
5039 (_nl_load_domain): Use ISO C style. Get rid of redundant
5040 semicolon. Fix typo and formatting in comment.
5041 (_nl_unload_domain): Use ISO C style.
5042
5043 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
5044
5045 2014-07-02 Will Newton <will.newton@linaro.org>
5046
5047 * malloc/obstack.c: Merge from gnulib master.
5048 [HAVE_CONFIG_H]: Remove conditional code.
5049 [!_LIBC]: Include config.h.
5050 [!ELIDE_CODE]: Don't include inttypes.h, include
5051 stdint.h unconditionally.
5052 (print_and_abort): Mark as _Noreturn.
5053 (_obstack_allocated_p): Mark as __attribute_pure__.
5054 (obstack_free): Rename to __obstack_free.
5055 [!__attribute__]: Remove conditional code.
5056 * malloc/obstack.h: Merge from gnulib master.
5057 [__cplusplus]: Move conditional down.
5058 [!__attribute_pure__]: Define __attribute_pure__ here
5059 if it is not already defined.
5060 (_obstack_memory_used): Mark as __attribute_pure__.
5061 [!__obstack_free]: Define as obstack_free.
5062 [__GNUC__]: Remove check for ancient NeXT gcc.
5063
5064 2014-07-02 Will Newton <will.newton@linaro.org>
5065 Paul Eggert <eggert@cs.ucla.edu>
5066
5067 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
5068
5069 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
5070
5071 * resolv/gethnamaddr.c: Add comment warning that the file is
5072 not maintained.
5073
5074 2014-07-01 Carlos O'Donell <carlos@redhat.com>
5075
5076 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
5077 entries.
5078
5079 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
5080 entry for aio_cancel and aio_cancel64.
5081 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
5082 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
5083 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
5084 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
5085 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
5086 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
5087 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
5088 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
5089 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
5090 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
5091 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
5092 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
5093 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
5094
5095 2014-07-01 Roland McGrath <roland@hack.frob.com>
5096
5097 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
5098 * nptl/pthread_mutex_lock.c: Likewise.
5099 * nptl/pthread_mutex_timedlock.c: Likewise.
5100 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
5101
5102 2014-07-01 Richard henderson <rth@redhat.com>
5103
5104 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
5105 (__isnan, __isnanl): Remove.
5106 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
5107
5108 * sysdeps/alpha/fpu/libm-test-ulps: Update.
5109
5110 2014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
5111
5112 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
5113
5114 2014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
5115
5116 * resolv/nss_dns/dns-host.c (getanswer_r)
5117 [MULTI_PTRS_ARE_ALIASES]: Remove code.
5118
5119 2014-07-01 Joseph Myers <joseph@codesourcery.com>
5120
5121 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5122 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
5123 undefine.
5124 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
5125 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
5126
5127 2014-07-01 Roland McGrath <roland@hack.frob.com>
5128
5129 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
5130 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
5131
5132 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
5133 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
5134
5135 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
5136 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
5137 ... here.
5138 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
5139 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
5140
5141 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
5142 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
5143 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
5144 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
5145
5146 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
5147 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
5148 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
5149 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
5150 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
5151 Moved ...
5152 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
5153 ... here.
5154 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
5155 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
5156 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
5157 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
5158 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
5159 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
5160 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
5161 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
5162 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
5163 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
5164 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
5165 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
5166 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
5167 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
5168 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
5169 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
5170 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
5171 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
5172 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
5173 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
5174 ... here.
5175 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
5176 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
5177 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
5178 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
5179 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
5180 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
5181 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
5182 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
5183
5184 2014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
5185
5186 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
5187 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
5188 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
5189 Add sysdep.
5190
5191 2014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5192
5193 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5194
5195 2014-06-30 Joseph Myers <joseph@codesourcery.com>
5196
5197 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
5198 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
5199
5200 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
5201
5202 * sysdeps/arm/libm-test-ulps: Regenerated.
5203
5204 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
5205 Roland McGrath <roland@hack.frob.com>
5206
5207 * test-skeleton.c (signal_handler): Kill the whole process group
5208 before killing the child individually.
5209 (main): Report any failure on `setpgid'.
5210
5211 2014-06-30 Roland McGrath <roland@hack.frob.com>
5212
5213 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
5214 from _TLS_H to _ARM_NPTL_TLS_H.
5215 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
5216 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
5217
5218 2014-06-30 Joseph Myers <joseph@codesourcery.com>
5219
5220 [BZ #16539]
5221 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
5222 (__expm1l): Return argument unchanged when small but not
5223 subnormal.
5224
5225 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
5226 include macro name.
5227 (_FP_UNPACK_RAW_1_P): Likewise.
5228 (_FP_PACK_RAW_1): Likewise.
5229 (_FP_PACK_RAW_1_P): Likewise.
5230 (_FP_MUL_MEAT_1_wide): Likewise.
5231 (_FP_MUL_MEAT_DW_1_hard): Likewise.
5232 (_FP_MUL_MEAT_1_hard): Likewise.
5233 (_FP_DIV_MEAT_1_imm): Likewise.
5234 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
5235 (_FP_DIV_MEAT_1_udiv): Likewise.
5236 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
5237 (_FP_UNPACK_RAW_2): Likewise.
5238 (_FP_UNPACK_RAW_2_P): Likewise.
5239 (_FP_PACK_RAW_2): Likewise.
5240 (_FP_PACK_RAW_2_P): Likewise.
5241 (_FP_MUL_MEAT_DW_2_wide): Likewise.
5242 (_FP_MUL_MEAT_2_wide): Likewise.
5243 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
5244 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
5245 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
5246 (_FP_MUL_MEAT_2_gmp): Likewise.
5247 (_FP_DIV_MEAT_2_udiv): Likewise.
5248 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
5249 (_FP_FRAC_SRL_4): Likewise.
5250 (_FP_FRAC_SRST_4): Likewise.
5251 (_FP_FRAC_SRS_4): Likewise.
5252 (_FP_UNPACK_RAW_4): Likewise.
5253 (_FP_UNPACK_RAW_4_P): Likewise.
5254 (_FP_PACK_RAW_4): Likewise.
5255 (_FP_PACK_RAW_4_P): Likewise.
5256 (_FP_MUL_MEAT_DW_4_wide): Likewise.
5257 (_FP_MUL_MEAT_4_wide): Likewise.
5258 (_FP_MUL_MEAT_4_gmp): Likewise.
5259 (umul_ppppmnnn): Likewise.
5260 (_FP_DIV_MEAT_4_udiv): Likewise.
5261 (__FP_FRAC_ADD_4): Likewise.
5262 (__FP_FRAC_SUB_3): Likewise.
5263 (__FP_FRAC_SUB_4): Likewise.
5264 (__FP_FRAC_DEC_3): Likewise.
5265 (__FP_FRAC_DEC_4): Likewise.
5266 (__FP_FRAC_ADDI_4): Likewise.
5267 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
5268 (_FP_FRAC_SRL_8): Likewise.
5269 (_FP_FRAC_SRS_8): Likewise.
5270
5271 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
5272 include macro name.
5273 (FP_UNPACK_RAW_EP): Likewise.
5274 (FP_PACK_RAW_E): Likewise.
5275 (FP_PACK_RAW_EP): Likewise.
5276 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
5277 (_FP_ISSIGNAN): Likewise.
5278 (_FP_ADD_INTERNAL): Likewise.
5279 (_FP_FMA): Likewise.
5280 (_FP_CMP): Likewise.
5281 (_FP_SQRT): Likewise.
5282 (_FP_TO_INT): Likewise.
5283 (_FP_FROM_INT): Likewise.
5284 (FP_EXTEND): Likewise.
5285 (_FP_DIV_MEAT_N_loop): Likewise.
5286
5287 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
5288
5289 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
5290 throughout.
5291
5292 2014-06-29 Joseph Myers <joseph@codesourcery.com>
5293
5294 [BZ #17097]
5295 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
5296 result with correct sign in case of exponents that produce
5297 overflow except for X very close to 1.
5298
5299 2014-06-28 Paul Eggert <eggert@cs.ucla.edu>
5300
5301 mktime: merge #if/#ifdef usage from glibc
5302 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
5303 as that works with both Glibc's and Gnulib's style.
5304 See thread starting at Siddhesh Poyarekar's bug report at:
5305 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
5306
5307 2014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5308
5309 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
5310 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
5311 * sysdeps/tile/tilegx/memmove.c: Remove file.
5312
5313 2014-06-27 Joseph Myers <joseph@codesourcery.com>
5314
5315 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
5316 abi-name definition.
5317 * scripts/soversions.awk: Do not handle or generate ABI lines.
5318 * shlib-versions: Remove ABI entries.
5319 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
5320 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
5321
5322 2014-06-27 Roland McGrath <roland@hack.frob.com>
5323
5324 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
5325 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
5326 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
5327 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
5328 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
5329 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
5330 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
5331 Moved ...
5332 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
5333 ... here.
5334 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
5335 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
5336 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
5337 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
5338 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
5339 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
5340 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
5341 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
5342 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
5343 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
5344 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
5345 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
5346 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
5347 Moved ...
5348 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
5349 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
5350 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
5351 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
5352 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
5353 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
5354 Moved ...
5355 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
5356 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
5357 Moved ...
5358 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
5359 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
5360 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
5361 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
5362 Moved ...
5363 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
5364 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
5365 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
5366 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
5367 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
5368 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
5369 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
5370 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
5371 Moved ...
5372 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
5373 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
5374 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
5375 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
5376 Moved ...
5377 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
5378 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
5379 Moved ...
5380 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
5381 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
5382 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
5383 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
5384 Moved ...
5385 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
5386 ... here.
5387 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
5388 Identical file removed.
5389 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
5390 Moved ...
5391 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
5392 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
5393 Identical file removed.
5394 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
5395 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
5396 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
5397 Moved ...
5398 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
5399 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
5400 Identical file removed.
5401 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
5402 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
5403 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
5404 Identical file removed.
5405 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
5406 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
5407 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
5408 Identical file removed.
5409 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
5410 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
5411 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
5412 Identical file removed.
5413 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
5414 Moved ...
5415 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
5416 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
5417 Identical file removed.
5418 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
5419 Moved ...
5420 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
5421 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
5422 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
5423 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
5424 Identical file removed.
5425 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
5426 Moved ...
5427 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
5428 ... here.
5429 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
5430 Identical file removed.
5431 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
5432 Moved ...
5433 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
5434 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
5435 Identical file removed.
5436 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
5437 Moved ...
5438 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
5439 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
5440 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
5441 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
5442 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
5443 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
5444 Moved ...
5445 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
5446 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
5447 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
5448
5449 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
5450 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
5451 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
5452 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
5453 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
5454
5455 2014-06-27 Arjun Shankar <arjun.is@lostca.se>
5456
5457 [BZ #17092]
5458 * nscd/nscd.c (monitor_child): Return exit status of child
5459 instead of return value from wait syscall.
5460
5461 2014-06-27 Joseph Myers <joseph@codesourcery.com>
5462
5463 * configure.ac (libc_commonpagesize): Remove variable.
5464 (libc_relro_required): Likewise.
5465 (libc_cv_z_relro): Remove configure test.
5466 * configure: Regenerated.
5467 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
5468 variable.
5469 (libc_relro_required): Likewise.
5470 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
5471 (libc_relro_required): Likewise.
5472 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
5473 (libc_relro_required): Likewise.
5474 * sysdeps/arm/preconfigure: Regenerated.
5475 * sysdeps/ia64/preconfigure: Remove file.
5476 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
5477 variable.
5478 (libc_relro_required): Likewise.
5479
5480 [BZ #16561]
5481 [BZ #16562]
5482 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
5483 (__ieee754_yn): Set FE_TONEAREST mode internally and then
5484 recompute overflowing results in original rounding mode.
5485 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
5486 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
5487 recompute overflowing results in original rounding mode.
5488 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
5489 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
5490 recompute overflowing results in original rounding mode.
5491 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
5492 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
5493 recompute overflowing results in original rounding mode.
5494 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
5495 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
5496 recompute overflowing results in original rounding mode.
5497 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
5498 (libc_feholdsetround_ctx): New macro.
5499 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
5500 * sysdeps/i386/fpu/libm-test-ulps: Update.
5501 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
5502
5503 2014-06-26 Joseph Myers <joseph@codesourcery.com>
5504
5505 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
5506 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
5507 corresponding .cpsetup call.
5508
5509 2014-06-26 Roland McGrath <roland@hack.frob.com>
5510
5511 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
5512 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
5513 * sysdeps/arm/Makefile [$(subdir) = csu]
5514 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
5515 (static-only-routines): Add aeabi_read_tp here.
5516 (shared-only-routines): Add libc-aeabi_read_tp here.
5517 (CFLAGS-libc-start.c): Add -fexceptions here.
5518 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
5519 (sysdep_routines, static-only-routines, shared-only-routines):
5520 Don't add to these here.
5521 (CFLAGS-libc-start.c): Likewise.
5522
5523 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
5524 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
5525 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
5526 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
5527 * sysdeps/arm/Makefile [$(subdir) = rt]
5528 (librt-sysdep_routines, librt-shared-only-routines):
5529 Append rt-aeabi_unwind_cpp_pr1 here.
5530 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
5531 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
5532 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
5533 (libpthread-sysdep_routines, libpthread-shared-only-routines):
5534 Append nptl-aeabi_unwind_cpp_pr1 here.
5535 (tests): Filter out tst-cleanupx4 here.
5536 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
5537 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
5538 Don't do those here.
5539
5540 2014-06-26 Joseph Myers <joseph@codesourcery.com>
5541
5542 * scripts/list-sources.sh: Do not handle ports specially.
5543
5544 2014-06-26 Roland McGrath <roland@hack.frob.com>
5545
5546 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
5547 * sysdeps/arm/feupdateenv.c: Likewise.
5548
5549 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
5550
5551 2014-06-26 Joseph Myers <joseph@codesourcery.com>
5552
5553 * manual/texinfo.tex: Update to version 2014-05-05.10 with
5554 trailing whitespace removed.
5555 * scripts/config.guess: Update to version 2014-03-23.
5556 * scripts/config.sub: Update to version 2014-05-01
5557 * scripts/install-sh: Update to version 2013-12-25.23.
5558 * scripts/move-if-change: Update from gnulib.
5559
5560 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
5561
5562 * debug/memmove_chk.c: Remove pagecopy.h include.
5563
5564 2014-06-26 Paul Eggert <eggert@cs.ucla.edu>
5565
5566 * time/mktime.c (leapyear): Remove inline keyword. The code is now
5567 identical to gnulib mktime.
5568
5569 2014-06-26 Joseph Myers <joseph@codesourcery.com>
5570
5571 * configure.ac: Do not test for machine being rs6000. Do not test
5572 for powerpc*-*soft.
5573 * configure: Regenerated.
5574
5575 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
5576 test.
5577 * configure: Regenerated.
5578 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
5579 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
5580 Remove configure test.
5581 * sysdeps/arm/configure: Regenerated.
5582 * sysdeps/nptl/configure.ac: Do not check
5583 libc_cv_asm_cfi_directives.
5584 * sysdeps/nptl/configure: Regenerated.
5585 * sysdeps/x86_64/nptl/configure.ac: Remove file.
5586 * sysdeps/x86_64/nptl/configure: Remove generated file.
5587 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
5588 unconditional.
5589 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
5590
5591 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
5592
5593 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
5594 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
5595 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
5596 it is defined.
5597
5598 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
5599 instead of whether it is defined.
5600 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
5601 * sysdeps/hppa/dl-machine.h: Likewise.
5602 * sysdeps/ia64/dl-machine.h: Likewise.
5603 * sysdeps/m68k/dl-machine.h: Likewise.
5604 * sysdeps/microblaze/dl-machine.h: Likewise.
5605 * sysdeps/mips/dl-machine.: Likewise.
5606 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
5607 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
5608 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
5609 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
5610 * sysdeps/sh/dl-machine.h: Likewise.
5611 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
5612 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
5613 * sysdeps/tile/dl-machine.h: Likewise.
5614 * sysdeps/x86_64/dl-machine.h: Likewise.
5615
5616 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
5617 code.
5618 (verify_persistent_db): Likewise.
5619
5620 2014-06-26 Roland McGrath <roland@hack.frob.com>
5621
5622 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
5623 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
5624 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
5625 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
5626 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
5627 Moved ...
5628 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
5629 ... here.
5630 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
5631 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
5632 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
5633 Identical file removed.
5634 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
5635 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
5636 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
5637 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
5638 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
5639 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
5640 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
5641 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
5642 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
5643 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
5644 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
5645 Moved ...
5646 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
5647 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
5648 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
5649 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
5650 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
5651 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
5652 Moved ...
5653 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
5654 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
5655 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
5656 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
5657 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
5658 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
5659 Identical file removed.
5660 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
5661 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
5662 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
5663 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
5664 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
5665 Moved ...
5666 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
5667 ... here.
5668 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
5669 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
5670 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
5671 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
5672 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
5673 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
5674 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
5675 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
5676 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
5677 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
5678 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
5679 Moved ...
5680 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
5681 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
5682 Moved ...
5683 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
5684 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
5685 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
5686 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
5687 Moved ...
5688 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
5689 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
5690 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
5691
5692 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
5693 folded into ...
5694 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
5695 * sysdeps/unix/sysv/linux/s390/Versions
5696 (libpthread: GLIBC_2.19): New version set.
5697 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
5698 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
5699 (librt: GLIBC_2.3.3): New version set.
5700 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
5701 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
5702 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
5703 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
5704 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
5705 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
5706 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
5707 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
5708 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
5709 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
5710 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
5711 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
5712 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
5713 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
5714 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
5715 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
5716 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
5717 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
5718 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
5719 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
5720 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
5721 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
5722 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
5723 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
5724 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
5725 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
5726 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
5727 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
5728 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
5729 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
5730 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
5731 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
5732 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
5733 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
5734 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
5735 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
5736 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
5737 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
5738 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
5739 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
5740 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
5741 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
5742 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
5743 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
5744 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
5745
5746 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
5747 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
5748 (__libc_vfork): Define the function under this name.
5749 [!NOT_IN_libc] (__vfork): Make this an alias.
5750 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
5751 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
5752 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
5753 (__libc_vfork): Define the function under this name.
5754 [!NOT_IN_libc] (__vfork): Make this an alias.
5755 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
5756 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
5757 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
5758 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
5759 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
5760 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
5761
5762 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
5763 code that was previously under [RESET_PID].
5764 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
5765 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
5766 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
5767
5768 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
5769 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
5770 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
5771 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
5772 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
5773 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
5774 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
5775 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
5776 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
5777 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
5778 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
5779 Moved ...
5780 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
5781 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
5782 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
5783 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
5784 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
5785 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
5786 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
5787 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
5788 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
5789 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
5790 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
5791 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
5792 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
5793 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
5794 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
5795 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
5796 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
5797 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
5798 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
5799 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
5800 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
5801 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
5802 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
5803 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
5804 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
5805 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
5806 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
5807 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
5808 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
5809
5810 2014-06-25 Roland McGrath <roland@hack.frob.com>
5811
5812 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
5813 that was previously under [RESET_PID].
5814 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
5815
5816 2014-06-25 Joseph Myers <joseph@codesourcery.com>
5817
5818 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
5819 not undefine and redefine.
5820 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
5821 [O_CLOEXEC]: Make code unconditional.
5822 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
5823 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
5824 <kernel-features.h>.
5825 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
5826 conditional variable definition.
5827 (shm_open) [O_CLOEXEC]: Make code unconditional.
5828 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
5829 code.
5830
5831 * configure.ac (USE_REGPARMS): Don't define here.
5832 * configure: Regenerated.
5833 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
5834 * sysdeps/i386/configure: Regenerated.
5835
5836 * nptl/createthread.c: Don't include kernel-features.h.
5837 * nptl/pthread_cancel.c: Likewise.
5838 * nptl/pthread_condattr_setclock.c: Likewise.
5839 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
5840 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
5841 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
5842 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
5843 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
5844 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
5845 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
5846 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
5847 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
5848 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
5849 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
5850 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
5851 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
5852 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
5853 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
5854 * nscd/gai.c: Likewise.
5855 * nss/nss_db/db-open.c: Likewise.
5856 * sysdeps/generic/ldsodefs.h: Likewise.
5857 * sysdeps/sh/nptl/tls.h: Likewise.
5858 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
5859 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
5860 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
5861 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
5862 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
5863 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
5864 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
5865 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
5866 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
5867 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
5868 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
5869 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
5870 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
5871 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
5872 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
5873 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
5874 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
5875 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
5876 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
5877 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
5878 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
5879 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
5880 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
5881 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
5882 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
5883 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
5884 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
5885 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
5886 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
5887 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
5888 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
5889 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
5890 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
5891 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
5892 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
5893 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
5894 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
5895 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
5896 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
5897 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
5898 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
5899 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
5900 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
5901 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
5902 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
5903 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
5904 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
5905 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
5906 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
5907 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
5908 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
5909 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
5910 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
5911 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
5912 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
5913 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
5914 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
5915 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
5916 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
5917 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
5918 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
5919 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
5920 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
5921 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
5922 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
5923 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
5924 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
5925 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
5926 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
5927 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
5928 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
5929 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
5930 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
5931 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
5932 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
5933 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
5934 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
5935 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
5936 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
5937 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
5938 * sysdeps/unix/sysv/linux/pread.c: Likewise.
5939 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
5940 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
5941 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
5942 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
5943 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
5944 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
5945 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
5946 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
5947 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
5948 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
5949 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
5950 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
5951 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
5952 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
5953 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
5954 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
5955 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
5956 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
5957 * sysdeps/unix/sysv/linux/system.c: Likewise.
5958 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
5959 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
5960 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
5961 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
5962 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
5963 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
5964 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
5965
5966 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
5967 * configure: Regenerated.
5968 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
5969
5970 * configure.ac (base_machine): Do not set specially for particular
5971 machines here.
5972 * configure: Regenerated.
5973 * sysdeps/powerpc/preconfigure: Move machine and base_machine
5974 settings from configure.ac.
5975 * sysdeps/i386/preconfigure: New file.
5976 * sysdeps/s390/preconfigure: Likewise.
5977 * sysdeps/sh/preconfigure: Likewise.
5978 * sysdeps/sparc/preconfigure: Likewise.
5979
5980 2014-06-25 Roland McGrath <roland@hack.frob.com>
5981
5982 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
5983 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
5984 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
5985 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
5986 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
5987 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
5988 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
5989 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
5990 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
5991 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
5992 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
5993 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
5994 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
5995 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
5996 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
5997 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
5998 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
5999 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
6000 * sysdeps/sparc/sparc64/Makefile: ... appended here.
6001
6002 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
6003 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
6004 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
6005 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
6006 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
6007 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
6008 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
6009 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
6010 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
6011 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
6012 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
6013 * sysdeps/sparc/sparc32/sem_post.c: ... here.
6014 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
6015 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
6016 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
6017 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
6018 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
6019 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
6020 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
6021 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
6022 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
6023 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
6024 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
6025 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
6026 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
6027 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
6028 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
6029 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
6030 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
6031 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
6032 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
6033 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
6034 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
6035 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
6036 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
6037 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
6038 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
6039 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
6040
6041 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
6042 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
6043 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
6044 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
6045 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
6046 Moved ...
6047 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
6048 ... here.
6049 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
6050 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
6051 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
6052 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
6053 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
6054 Moved ...
6055 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
6056 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
6057 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
6058 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
6059 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
6060 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
6061 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
6062 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
6063 Moved ...
6064 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
6065 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
6066 Moved ...
6067 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
6068 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
6069 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
6070 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
6071 Moved ...
6072 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
6073 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
6074 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
6075 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
6076 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
6077 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
6078 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
6079 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
6080 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
6081 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
6082 Moved ...
6083 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
6084 ... here.
6085 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
6086 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
6087 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
6088 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
6089 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
6090 Moved ...
6091 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
6092 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
6093 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
6094 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
6095 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
6096 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
6097 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
6098 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
6099 Moved ...
6100 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
6101 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
6102 Moved ...
6103 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
6104 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
6105 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
6106 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
6107 Moved ...
6108 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
6109 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
6110 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
6111 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
6112 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
6113
6114 2014-06-25 Joseph Myers <joseph@codesourcery.com>
6115
6116 * timezone/checktab.awk: Update from tzcode 2014e.
6117 * timezone/private.h: Likewise.
6118 * timezone/tzfile.h: Likewise.
6119 * timezone/zdump.c: Likewise.
6120 * timezone/zic.c: Likewise.
6121
6122 * sysdeps/unix/sysv/linux/kernel-features.h
6123 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
6124 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
6125 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
6126 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
6127 Remove conditional code.
6128
6129 2014-06-25 Will Newton <will.newton@linaro.org>
6130
6131 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
6132 (_dl_arm_cap_flags): Add HWCAP2 values.
6133 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
6134 (_DL_HWCAP_COUNT): Increase to 37.
6135 (_DL_HWCAP_LAST): New define.
6136 (_DL_HWCAP2_LAST): New define.
6137 (_dl_procinfo): Add support for printing
6138 AT_HWCAP2 entries.
6139 (_dl_string_hwcap): Use _dl_hwcap_string.
6140
6141 2014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6142
6143 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6144
6145 2014-06-25 Joseph Myers <joseph@codesourcery.com>
6146
6147 * README: Do not mention ports directory.
6148
6149 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
6150 Remove macro.
6151 * sysdeps/unix/sysv/linux/futimes.c: Do not include
6152 <kernel-features.h>.
6153 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
6154 conditional variable definition.
6155 (__futimes): Update comment.
6156 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
6157 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
6158
6159 [BZ #16560]
6160 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
6161 arguments close to 0.
6162 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
6163 Likewise.
6164 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
6165 Likewise.
6166 * math/auto-libm-test-in: Add more tests of exp10.
6167 * math/auto-libm-test-out: Regenerated.
6168 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6169
6170 * sysdeps/unix/sysv/linux/kernel-features.h
6171 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
6172 * sysdeps/unix/sysv/linux/readv.c: Do not include
6173 <kernel-features.h>.
6174 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
6175 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
6176 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
6177 unconditional.
6178 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
6179 conditional code.
6180 * sysdeps/unix/sysv/linux/writev.c: Do not include
6181 <kernel-features.h>.
6182 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
6183 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
6184 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
6185 unconditional.
6186 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
6187 conditional code.
6188
6189 2014-06-25 Will Newton <will.newton@linaro.org>
6190
6191 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
6192 comment changes throughout the file. Remove checks
6193 for HAVE_*_H definitions that are not required.
6194 (__gen_tempname): Call abort if an unknown kind value is
6195 passed.
6196
6197 2014-06-25 Andreas Schwab <schwab@suse.de>
6198
6199 [BZ #17086]
6200 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
6201 scalbln, scalblnf, scalblnl in libc.
6202
6203 2014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
6204
6205 [BZ #17086]
6206 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
6207 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
6208 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
6209
6210 2014-06-24 Roland McGrath <roland@hack.frob.com>
6211
6212 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
6213 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
6214 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
6215 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
6216 Update #include.
6217 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
6218 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
6219 Update #include.
6220 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
6221 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
6222 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
6223 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
6224 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
6225 * sysdeps/x86/bits/pthreadtypes.h: ... here.
6226 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
6227 * sysdeps/x86/bits/semaphore.h: ... here.
6228 * sysdeps/x86/nptl/elide.h: Moved ...
6229 * sysdeps/x86/elide.h: ... here.
6230 * sysdeps/x86_64/nptl/Implies: File removed.
6231 * sysdeps/i386/nptl/Implies: File removed.
6232
6233 2014-06-24 Joseph Myers <joseph@codesourcery.com>
6234
6235 [BZ #16539]
6236 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
6237 return the argument for normal arguments with exponent below -64.
6238 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
6239 Likewise.
6240 * math/auto-libm-test-in: Add another test of expm1.
6241 * math/auto-libm-test-out: Regenerated.
6242
6243 [BZ #16287]
6244 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
6245 calling __erfcl for arguments at least 16.
6246 * math/auto-libm-test-in: Add more tests of erf.
6247 * math/auto-libm-test-out: Regenerated.
6248
6249 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
6250 individual architectures.
6251 * sysdeps/unix/sysv/linux/configure: Regenerated.
6252 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
6253 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
6254 * sysdeps/unix/sysv/linux/powerpc/configure.ac
6255 (ldd_rewrite_script): Define variable.
6256 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
6257 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
6258 file.
6259 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
6260 generated file.
6261 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
6262 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
6263 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
6264 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
6265 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
6266 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
6267 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
6268 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
6269
6270 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
6271
6272 [BZ #17084]
6273 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
6274 Rename member __data.d to __data.__elision_data.
6275
6276 2014-06-24 Wilco <wdijkstr@arm.com>
6277
6278 * NEWS: Add 16918 to fixed bug list.
6279
6280 2014-06-24 Wilco <wdijkstr@arm.com>
6281
6282 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
6283
6284 2014-06-24 Wilco <wdijkstr@arm.com>
6285
6286 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
6287 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
6288 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
6289 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
6290 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
6291 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
6292 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
6293 Use _FPU_MASK_RM.
6294
6295 2014-06-24 Wilco <wdijkstr@arm.com>
6296
6297 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
6298
6299 2014-06-24 Wilco <wdijkstr@arm.com>
6300
6301 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
6302 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
6303 * sysdeps/arm/fesetround.c (fesetround): Remove space.
6304 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
6305
6306 2014-06-24 Wilco <wdijkstr@arm.com>
6307
6308 [BZ #16918]
6309 * sysdeps/arm/feupdateenv.c (feupdateenv):
6310 Rewrite to reduce FPSCR accesses and fix return value.
6311
6312 2014-06-24 Wilco <wdijkstr@arm.com>
6313
6314 * sysdeps/arm/fclrexcpt.c (feclearexcept):
6315 Optimize to avoid unnecessary FPSCR writes.
6316 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
6317 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
6318 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
6319 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
6320
6321 2014-06-24 Wilco <wdijkstr@arm.com>
6322
6323 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
6324 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
6325 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
6326 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
6327 Call libc_fetestexcept_vfp.
6328 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
6329 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
6330 __SOFTFP__ ifdef so that they can be built for softfp.
6331
6332 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
6333
6334 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
6335 argument type signed char.
6336
6337 * Makerules (check-abi): Dump diff of symlist if the test
6338 fails.
6339
6340 2014-06-23 Roland McGrath <roland@hack.frob.com>
6341
6342 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
6343 using abort.
6344
6345 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
6346 Remove unused variable ST.
6347
6348 2014-06-23 Joseph Myers <joseph@codesourcery.com>
6349
6350 [BZ #16354]
6351 [BZ #17061]
6352 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
6353 small arguments before calling __expm1.
6354 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
6355 small arguments before calling __expm1f.
6356 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
6357 small arguments before calling __expm1l.
6358 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
6359 Likewise.
6360 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
6361 * math/auto-libm-test-in: Add more cosh tests. Do not allow
6362 spurious underflow for some cosh tests.
6363 * math/auto-libm-test-out: Regenerated.
6364 * sysdeps/i386/fpu/libm-test-ulps: Update.
6365
6366 [BZ #17050]
6367 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
6368 (__ieee754_y1): Set errno if return value overflows.
6369 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
6370 (__ieee754_y1f): Set errno if return value overflows.
6371 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
6372 (__ieee754_y1l): Set errno if return value overflows.
6373 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
6374 (__ieee754_y1l): Set errno if return value overflows.
6375 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
6376 * math/auto-libm-test-out: Regenerated.
6377
6378 * math/gen-auto-libm-tests.c: Document use of
6379 ignore-zero-inf-sign.
6380 (input_flag_type): Add value flag_ignore_zero_inf_sign.
6381 (input_flags): Add ignore-zero-inf-sign.
6382 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
6383 * math/gen-libm-test.pl (generate_testfile): Handle
6384 ignore-zero-inf-sign.
6385 * math/auto-libm-test-in: Mark some cpow tests with
6386 ignore-zero-inf-sign and some with xfail-rounding.
6387 * math/auto-libm-test-out: Regenerated.
6388 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
6389 * sysdeps/i386/fpu/libm-test-ulps: Update.
6390 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6391
6392 [BZ #16315]
6393 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
6394 overflowing or underflowing operations take place with sign of
6395 result.
6396 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
6397 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
6398 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
6399 (__ieee754_pow): Recompute overflowing and underflowing results in
6400 original rounding mode.
6401 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
6402 (__powl_helper): Allow negative argument X and scale negated value
6403 as needed. Avoid passing value outside [-1, 1] to f2xm1.
6404 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
6405 overflowing or underflowing operations take place with sign of
6406 result.
6407 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
6408 Include <math.h>.
6409 * math/auto-libm-test-in: Add more tests of pow.
6410 * math/auto-libm-test-out: Regenerated.
6411 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
6412 (pow_tonearest_test_data): Remove.
6413 (pow_test_tonearest): Likewise.
6414 (pow_towardzero_test_data): Likewise.
6415 (pow_test_towardzero): Likewise.
6416 (pow_downward_test_data): Likewise.
6417 (pow_test_downward): Likewise.
6418 (pow_upward_test_data): Likewise.
6419 (pow_test_upward): Likewise.
6420 (main): Don't call removed functions.
6421 * sysdeps/i386/fpu/libm-test-ulps: Update.
6422 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6423
6424 2014-06-23 Roland McGrath <roland@hack.frob.com>
6425
6426 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
6427 Moved ...
6428 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
6429 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
6430 Moved ...
6431 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
6432 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
6433 Moved ...
6434 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
6435 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
6436 Moved ...
6437 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
6438 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
6439 File removed.
6440 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
6441 File removed.
6442 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
6443 File removed.
6444 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
6445 File removed.
6446 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
6447 File removed.
6448 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
6449 File removed.
6450 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
6451 File removed.
6452 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
6453 File removed.
6454 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
6455 File removed.
6456 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
6457 File removed.
6458 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
6459 File removed.
6460 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
6461 File removed.
6462 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
6463 Moved ...
6464 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
6465 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
6466 Moved ...
6467 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
6468 ... here.
6469 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
6470 Moved ...
6471 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
6472 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
6473 Moved ...
6474 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
6475 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
6476 Moved ...
6477 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
6478 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
6479 Moved ...
6480 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
6481 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
6482 Moved ...
6483 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
6484 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
6485 Moved ...
6486 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
6487 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
6488 Moved ...
6489 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
6490 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
6491 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
6492 ... here.
6493 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
6494 Moved ...
6495 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
6496 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
6497 Moved ...
6498 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
6499 ... here.
6500 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
6501 Moved ...
6502 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
6503 ... here.
6504 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
6505 Moved ...
6506 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
6507 ... here.
6508 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
6509 Moved ...
6510 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
6511 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
6512 Moved ...
6513 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
6514 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
6515 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
6516 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
6517 Moved ...
6518 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
6519 ... here.
6520 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
6521 Moved ...
6522 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
6523 ... here.
6524 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
6525 Moved ...
6526 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
6527 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
6528 Moved ...
6529 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
6530 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
6531 Moved ...
6532 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
6533 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
6534 Moved ...
6535 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
6536 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
6537 Moved ...
6538 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
6539 ... here.
6540 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
6541 Moved ...
6542 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
6543 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
6544 Moved ...
6545 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
6546 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
6547 Moved ...
6548 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
6549 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
6550 Moved ...
6551 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
6552 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
6553 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
6554 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
6555 Moved ...
6556 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
6557 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
6558 Moved ...
6559 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
6560 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
6561 Moved ...
6562 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
6563 ... here.
6564 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
6565 Moved ...
6566 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
6567 ... here.
6568 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
6569 Moved ...
6570 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
6571 ... here.
6572 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
6573 Moved ...
6574 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
6575 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
6576 Moved ...
6577 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
6578 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
6579 Moved ...
6580 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
6581 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
6582 Moved ...
6583 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
6584 ... here.
6585 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
6586 Moved ...
6587 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
6588 ... here.
6589 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
6590 Moved ...
6591 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
6592 ... here.
6593 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
6594 Moved ...
6595 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
6596 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
6597 Moved ...
6598 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
6599
6600 2014-06-23 Will Newton <will.newton@linaro.org>
6601 Wilco <wdijkstr@arm.com>
6602
6603 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
6604 implementation. Include get-rounding-mode.h.
6605 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
6606 [!libc_feholdsetround_noex_ctx]: Define
6607 libc_feholdsetround_noex_ctx.
6608 [!libc_feholdsetround_noexf_ctx]: Define
6609 libc_feholdsetround_noexf_ctx.
6610 [!libc_feholdsetround_noexl_ctx]: Define
6611 libc_feholdsetround_noexl_ctx.
6612 (libc_feholdsetround_ctx): New function.
6613 (libc_feresetround_ctx): New function.
6614 (libc_feholdsetround_noex_ctx): New function.
6615 (libc_feresetround_noex_ctx): New function.
6616
6617 2014-06-23 Roland McGrath <roland@hack.frob.com>
6618
6619 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
6620 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
6621 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
6622 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
6623 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
6624 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
6625
6626 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
6627 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
6628 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
6629 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
6630 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
6631 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
6632 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
6633 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
6634 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
6635 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
6636 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
6637 Moved ...
6638 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
6639 ... here.
6640 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
6641 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
6642 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
6643 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
6644 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
6645 Moved ...
6646 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
6647 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
6648 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
6649 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
6650 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
6651 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
6652 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
6653 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
6654 Moved ...
6655 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
6656 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
6657 Moved ...
6658 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
6659 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
6660 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
6661 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
6662 Moved ...
6663 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
6664 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
6665 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
6666 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
6667 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
6668 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
6669 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
6670 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
6671 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
6672 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
6673 Moved ...
6674 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
6675 ... here.
6676 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
6677 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
6678 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
6679 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
6680 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
6681 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
6682 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
6683 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
6684 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
6685 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
6686 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
6687 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
6688 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
6689 Moved ...
6690 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
6691 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
6692 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
6693 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
6694 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
6695 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
6696 Moved ...
6697 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
6698 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
6699 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
6700 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
6701 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
6702
6703 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
6704 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
6705 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
6706 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
6707 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
6708 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
6709 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
6710 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
6711 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
6712 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
6713 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
6714 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
6715 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
6716 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
6717 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
6718 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
6719 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
6720 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
6721 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
6722 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
6723 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
6724 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
6725 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
6726 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
6727 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
6728 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
6729 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
6730 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
6731
6732 2014-06-23 Joseph Myers <joseph@codesourcery.com>
6733
6734 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
6735 (FALLOC_FL_COLLAPSE_RANGE): New macro.
6736 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
6737 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
6738 (IPV6_PMTUDISC_INTERFACE): Likewise.
6739 (IPV6_PMTUDISC_OMIT): Likewise.
6740
6741 2014-06-23 Andreas Schwab <schwab@suse.de>
6742
6743 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
6744 Remove unused errout label.
6745
6746 2014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6747
6748 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
6749 macro: hardware supports Vector Crypto instructions.
6750
6751 2014-06-23 Will Newton <will.newton@linaro.org>
6752
6753 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
6754 rather than __builtin_expect.
6755
6756 * elf/dl-lookup.c (undefined_msg): Remove variable.
6757 (_dl_lookup_symbol_x): Replace undefined_msg with string
6758 literal.
6759
6760 * elf/dl-lookup.c (do_lookup_unique): New function.
6761 (do_lookup_x): Move STB_GNU_UNIQUE handling code
6762 to a separate function.
6763
6764 2014-06-23 Andreas Schwab <schwab@suse.de>
6765
6766 [BZ #17079]
6767 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
6768 before reading the next line.
6769
6770 2014-06-23 Will Newton <will.newton@linaro.org>
6771
6772 * test-skeleton.c (signal_handler): Use printf and %m
6773 rather than perror. Use printf rather than fprintf to
6774 stderr. Use puts rather than fputs to stderr.
6775 (main): Likewise.
6776
6777 2014-06-22 Ludovic Courtès <ludo@gnu.org>
6778
6779 * nscd/nscd.c (thread_info_t): Remove typedef.
6780 (thread_info): Remove variable.
6781
6782 2014-06-21 Allan McRae <allan@archlinux.org>
6783
6784 * NEWS: Mention CVE-2014-4043.
6785
6786 2014-06-20 Roland McGrath <roland@hack.frob.com>
6787
6788 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
6789 * nptl/smp.h: ... here.
6790
6791 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
6792
6793 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
6794 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
6795 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
6796 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
6797
6798 * nptl/allocatestack.c: Include <stack-aliasing.h>.
6799 * nptl/stack-aliasing.h: New file.
6800 * sysdeps/i386/i686/stack-aliasing.h: New file.
6801 * sysdeps/i386/i686/nptl/Makefile: File removed.
6802 * sysdeps/x86_64/stack-aliasing.h: New file.
6803 * sysdeps/x86_64/nptl/Makefile
6804 (CFLAGS-pthread_create.c): Variable removed.
6805
6806 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
6807 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
6808 old file.
6809 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
6810 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
6811 old file.
6812
6813 2014-06-21 Joseph Myers <joseph@codesourcery.com>
6814
6815 * sysdeps/unix/sysv/linux/arm/kernel-features.h
6816 (__ASSUME_SIGFRAME_V2): Remove macro.
6817 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
6818 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
6819 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
6820 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
6821 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
6822 Declare as function. Remove conditional macro definitions.
6823 (__default_rt_sa_restorer): Likewise.
6824 (__default_sa_restorer_v1): Remove declaration.
6825 (__default_sa_restorer_v2): Likewise.
6826 (__default_rt_sa_restorer_v1): Likewise.
6827 (__default_rt_sa_restorer_v2): Likewise.
6828 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
6829 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
6830 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
6831
6832 2014-06-20 Roland McGrath <roland@hack.frob.com>
6833
6834 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
6835 (libpthread-routines): Add sysdep.
6836 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
6837 * sysdeps/unix/sysv/linux/sparc/Versions
6838 (libpthread: GLIBC_2.3.3): New version set.
6839 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
6840 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
6841 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
6842 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
6843 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
6844 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
6845 Moved ...
6846 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
6847 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
6848 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
6849 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
6850 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
6851 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
6852 * sysdeps/sparc/nptl/sem_init.c: ... here.
6853 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
6854 * sysdeps/sparc/nptl/sem_post.c: ... here.
6855 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
6856 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
6857 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
6858 * sysdeps/sparc/nptl/sem_wait.c: ... here.
6859 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
6860 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
6861 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
6862 (libpthread-routines): Add cpu_relax.
6863 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
6864 File removed.
6865 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
6866 (librt: GLIBC_2.3.3): New version set.
6867 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
6868 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
6869 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
6870 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
6871 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
6872 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
6873 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
6874 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
6875 Moved ...
6876 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
6877 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
6878 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
6879 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
6880 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
6881 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
6882 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
6883 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
6884 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
6885 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
6886 Moved ...
6887 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
6888 Update #include.
6889 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
6890 Moved ...
6891 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
6892 Update #include.
6893 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
6894 Moved ...
6895 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
6896 Update #include.
6897 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
6898 Moved ...
6899 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
6900 Update #include.
6901 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
6902 Moved ...
6903 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
6904 Update #include.
6905 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
6906 Moved ...
6907 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
6908 Update #include.
6909 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
6910 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
6911 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
6912 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
6913 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
6914 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
6915 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
6916 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
6917 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
6918 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
6919 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
6920 Moved ...
6921 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
6922 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
6923 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
6924 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
6925 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
6926
6927 2014-06-20 Joseph Myers <joseph@codesourcery.com>
6928
6929 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
6930 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
6931 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
6932 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
6933 * nscd/nscd.c: Likewise.
6934 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
6935 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
6936 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
6937 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
6938
6939 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
6940 <kernel-features.h>.
6941 (init_mq_netlink): Remove conditional have_sock_cloexec
6942 definitions. Remove code conditional on have_sock_cloexec < 0.
6943 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
6944 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
6945 * sysdeps/unix/sysv/linux/opensock.c: Do not include
6946 <kernel-features.h>.
6947 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
6948 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
6949
6950 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
6951
6952 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
6953 Add tests for memset_chk and memset.
6954
6955 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
6956 with AVX2_Usable.
6957
6958 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
6959
6960 [BZ #16046]
6961 * elf/tst-dl-iter-static.c: New file.
6962 * elf/Makefile (tests-static): Add tst-dl-iter-static.
6963
6964 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
6965 error.
6966
6967 2014-06-20 Joseph Myers <joseph@codesourcery.com>
6968
6969 * sysdeps/unix/sysv/linux/kernel-features.h
6970 (__ASSUME_F_GETOWN_EX): Remove macro.
6971 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
6972 <kernel-features.h>.
6973 (miss_F_GETOWN_EX): Remove variable or macro.
6974 (do_fcntl): Do not check miss_F_GETOWN_EX.
6975 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
6976
6977 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
6978 Remove macro.
6979 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
6980 [!__ASSUME_AT_RANDOM]: Remove conditional code.
6981 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
6982
6983 * sysdeps/unix/sysv/linux/kernel-features.h
6984 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
6985 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
6986 [ADJ_OFFSET_SS_READ]: Make code unconditional.
6987 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
6988
6989 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
6990
6991 [BZ #17075]
6992 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
6993 Fix calculation of the symbol's value.
6994 * sysdeps/arm/tst-armtlsdescloc.c: New file.
6995 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
6996 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
6997 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
6998 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
6999 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
7000 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
7001 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
7002 (modules-names): Add `tst-armtlsdescmod',
7003 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
7004 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
7005 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
7006 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
7007 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
7008 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
7009 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
7010 ($(objpfx)tst-armtlsdescloc): New dependency.
7011 ($(objpfx)tst-armtlsdescextnow): Likewise.
7012 ($(objpfx)tst-armtlsdescextlazy): Likewise.
7013 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
7014 TLS scheme support.
7015 * sysdeps/arm/configure: Regenerate.
7016
7017 2014-06-20 Joseph Myers <joseph@codesourcery.com>
7018
7019 * include/fcntl.h (__atfct_seterrno): Remove prototype.
7020 (__atfct_seterrno_2): Likewise.
7021 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
7022 <kernel-features.h>.
7023 (__ASSUME_ATFCTS): Do not undefine and redefine.
7024 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
7025 (__have_atfcts): Remove conditional definition.
7026 (__fxstatat([__NR_fstatat64]: Make code unconditional.
7027 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
7028 unreachable if [__ASSUME_ATFCTS].
7029 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
7030 not undefine and redefine.
7031 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
7032 <kernel-features.h>.
7033 (faccessat) [__NR_faccessat]: Make code unconditional.
7034 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
7035 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
7036 <kernel-features.h>.
7037 (fchmodat) [__NR_fchmodat]: Make code unconditional.
7038 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
7039 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
7040 <kernel-features.h>.
7041 (fchownat) [__NR_fchownat]: Make code unconditional.
7042 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
7043 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
7044 <kernel-features.h>.
7045 (futimesat) [__NR_futimesat]: Make code unconditional.
7046 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
7047 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
7048 <kernel-features.h>.
7049 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
7050 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
7051 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
7052 <kernel-features.h>.
7053 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
7054 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
7055 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
7056 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
7057 <kernel-features.h>.
7058 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
7059 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
7060 * sysdeps/unix/sysv/linux/linkat.c: Do not include
7061 <kernel-features.h>.
7062 (linkat) [__NR_linkat]: Make code unconditional.
7063 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
7064 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
7065 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
7066 <kernel-features.h>.
7067 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
7068 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
7069 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
7070 <kernel-features.h>.
7071 (mkdirat) [__NR_mkdirat]: Make code unconditional.
7072 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
7073 * sysdeps/unix/sysv/linux/openat.c: Do not include
7074 <kernel-features.h>.
7075 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
7076 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
7077 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
7078 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
7079 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
7080 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
7081 <kernel-features.h>.
7082 (readlinkat) [__NR_readlinkat]: Make code unconditional.
7083 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
7084 result of INLINE_SYSCALL directly, not via int variable.
7085 * sysdeps/unix/sysv/linux/renameat.c: Do not include
7086 <kernel-features.h>.
7087 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
7088 (renameat) [__NR_renameat]: Make code unconditional.
7089 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
7090 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
7091 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
7092 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
7093 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
7094 (__ASSUME_ATFCTS): Do not undefine and redefine.
7095 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
7096 <kernel-features.h>.
7097 (symlinkat) [__NR_symlinkat]: Make code unconditional.
7098 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
7099 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
7100 <kernel-features.h>.
7101 (unlinkat) [__NR_unlinkat]: Make code unconditional.
7102 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
7103 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
7104 (__ASSUME_ATFCTS): Do not undefine and redefine.
7105 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
7106 <kernel-features.h>.
7107 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
7108 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
7109 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
7110 <kernel-features.h>.
7111 (__xmknodat) [__NR_mknodat]: Make code unconditional.
7112 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
7113
7114 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
7115
7116 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
7117
7118 2014-06-20 Andreas Schwab <schwab@linux-m68k.org>
7119
7120 [BZ #17069]
7121 * posix/regcomp.c (parse_reg_exp): Deallocate partially
7122 constructed tree before returning error.
7123 * posix/bug-regexp36.c: Expand test case.
7124
7125 2014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
7126
7127 [BZ #6803]
7128 * math/libm-test.inc (scalbln_test_date):
7129 Add errno expectations.
7130 * math/w_scalblnf.c: New File.
7131 Add wrapper which checks for setting errno to ERANGE.
7132 Add weak_alias for corresponding scalbln function.
7133 * math/w_scalbln.c: Likewise.
7134 * math/w_scalblnl.c: Likewise.
7135 * math/Makefile (libm-calls): Add w_scalbln.
7136 * sysdeps/ieee754/flt-32/s_scalblnf.c:
7137 Remove weak_alias for corresponding scalbln function.
7138 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
7139 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
7140 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
7141 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
7142 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
7143 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
7144 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
7145 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
7146 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
7147 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
7148 Remove long_double_symbol for scalblnl function in libm, libc.
7149 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
7150 Add wrapper which checks for setting errno to ERANGE.
7151 Add long_double_symbol for scalblnl function in libm, libc.
7152 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
7153 Remove long_double_symbol for scalblnl in libm.
7154 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
7155 Add wrapper which checks for setting errno to ERANGE.
7156 Add long_double_symbol for scalblnl function in libm.
7157 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
7158 Do not use wrapper because of own implementation.
7159
7160 2014-06-19 H.J. Lu <hongjiu.lu@intel.com>
7161
7162 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
7163 3 bytes for __pad1 for x32.
7164 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
7165
7166 2014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
7167 H.J. Lu <hongjiu.lu@intel.com>
7168
7169 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
7170 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
7171 * sysdeps/x86_64/multiarch/memset.S: Likewise.
7172 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
7173 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
7174
7175 2014-06-19 Andreas Schwab <schwab@linux-m68k.org>
7176
7177 [BZ #17069]
7178 * posix/regcomp.c (parse_expression): Deallocate partially
7179 constructed tree before returning error.
7180 * posix/Makefile.c (tests): Add bug-regex36.
7181 (generated): Add bug-regex36.mtrace.
7182 (tests-special): Add $(objpfx)bug-regex36-mem.out
7183 (bug-regex36-ENV): New variable.
7184 ($(objpfx)bug-regex36-mem.out): New rule.
7185 * posix/bug-regex36.c: New file.
7186
7187 2014-06-19 Will Newton <will.newton@linaro.org>
7188
7189 * malloc/malloc.c (systrim): If extra is zero then return
7190 early.
7191
7192 2014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
7193
7194 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
7195
7196 2014-06-19 Richard Earnshaw <rearnsha@arm.com>
7197
7198 * sysdeps/aarch64/strchr.S: New file.
7199
7200 2014-06-18 Joseph Myers <joseph@codesourcery.com>
7201
7202 [BZ #17022]
7203 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
7204 from arguments -2 or below.
7205 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
7206 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
7207
7208 2014-06-18 Andreas Schwab <schwab@suse.de>
7209
7210 [BZ #17062]
7211 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
7212 of a bracket expr not to run off the end of the string.
7213 * posix/Makefile (tests): Add tst-fnmatch3.
7214 * posix/tst-fnmatch3.c: New file.
7215
7216 2014-06-18 Joseph Myers <joseph@codesourcery.com>
7217
7218 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
7219 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
7220 [$(cross-compiling) = no]: Likewise.
7221 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
7222 [$(cross-compiling) = no]: Likewise.
7223
7224 2014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
7225
7226 [BZ #17031]
7227 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
7228 double, adjusted for any remainder from the high double.
7229 * math/libm-test.inc (nearbyint): Add tests.
7230 (rint): Likewise.
7231
7232 2014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7233
7234 * nptl/sysdeps/powerpc/Makefile: Moved ...
7235 * sysdeps/powerpc/nptl/Makefile: ... here.
7236 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
7237 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
7238 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
7239 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
7240 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
7241 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
7242 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
7243 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
7244 * nptl/sysdeps/powerpc/tls.h: Moved ...
7245 * sysdeps/powerpc/nptl/tls.h: ... here.
7246
7247 2014-06-16 Joseph Myers <joseph@codesourcery.com>
7248
7249 [BZ #16681]
7250 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
7251 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
7252 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
7253 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
7254 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
7255 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
7256 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
7257 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
7258 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
7259
7260 2014-06-17 Andreas Schwab <schwab@linux-m68k.org>
7261
7262 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
7263
7264 2014-06-16 Andreas Schwab <schwab@linux-m68k.org>
7265
7266 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
7267 defined operator.
7268
7269 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
7270 $TIMEOUTFACTOR.
7271
7272 2014-06-16 Florian Weimer <fweimer@redhat.com>
7273
7274 [BZ #17058]
7275 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
7276 non-executed part of the test.
7277
7278 2014-06-16 Andreas Schwab <schwab@suse.de>
7279
7280 * string/bits/string2.h (strdup, strndup): Update feature guard.
7281
7282 2014-06-14 David S. Miller <davem@davemloft.net>
7283
7284 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7285
7286 2014-06-14 Andreas Schwab <schwab@linux-m68k.org>
7287
7288 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
7289 that was previously under [RESET_PID].
7290 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
7291
7292 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
7293 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
7294 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
7295 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
7296 (__libc_vfork): New strong alias.
7297 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
7298
7299 2014-06-14 Andi Kleen <ak@linux.intel.com>
7300
7301 * sysdeps/generic/elide.h: New file.
7302
7303 2014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
7304
7305 * Makefile (installed-headers): Adjust path of pthread.h header.
7306
7307 2014-06-13 Roland McGrath <roland@hack.frob.com>
7308
7309 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
7310 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
7311 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
7312 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
7313
7314 * nptl/sysdeps/s390/Makefile: Moved ...
7315 * sysdeps/s390/nptl/Makefile: ... here.
7316 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
7317 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
7318 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
7319 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
7320 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
7321 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
7322 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
7323 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
7324 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
7325 * sysdeps/s390/nptl/pthreaddef.h: ... here.
7326 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
7327 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
7328 * nptl/sysdeps/s390/tls.h: Moved ...
7329 * sysdeps/s390/nptl/tls.h: ... here.
7330
7331 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
7332 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
7333
7334 2014-06-13 David S. Miller <davem@davemloft.net>
7335
7336 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
7337 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
7338 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
7339 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
7340 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
7341 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
7342 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
7343 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
7344 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
7345 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
7346 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
7347 Remove RESET_PID cpp guards.
7348 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
7349 Remove RESET_PID cpp guards.
7350 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
7351
7352 2014-06-13 Andreas Schwab <schwab@linux-m68k.org>
7353
7354 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
7355 __sp to uintptr_t.
7356
7357 2014-06-13 Andi Kleen <ak@linux.intel.com>
7358
7359 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
7360 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
7361 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
7362 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
7363 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
7364 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
7365 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
7366 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
7367 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
7368 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
7369 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
7370 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
7371 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
7372 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
7373 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
7374 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
7375 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
7376 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
7377 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
7378 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
7379
7380 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
7381 (pthread_rwlock_rdlock): Add elision.
7382 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
7383 (pthread_rwlock_wrlock): Add elision.
7384 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
7385 (pthread_rwlock_trywrlock): Add elision.
7386 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
7387 (pthread_rwlock_tryrdlock): Add elision.
7388 * nptl/pthread_rwlock_unlock.c: Include elide.h.
7389 (pthread_rwlock_tryrdlock): Add elision unlock.
7390 * nptl/sysdeps/pthread/pthread.h:
7391 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
7392 (PTHREAD_RWLOCK_INITIALIZER,
7393 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
7394 Handle new elision field.
7395 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
7396 * sysdeps/arm/nptl/bits/pthreadtypes.h
7397 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7398 * sysdeps/sh/nptl/bits/pthreadtypes.h
7399 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7400 * sysdeps/tile/nptl/bits/pthreadtypes.h
7401 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7402 * sysdeps/a/nptl/bits/pthreadtypes.h
7403 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7404 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
7405 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7406 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
7407 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7408 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
7409 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7410 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
7411 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7412 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
7413 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7414 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
7415 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7416 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
7417 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7418 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
7419 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7420 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
7421 (elision_init): Set try_xbegin to zero when no RTM.
7422 * sysdeps/x86/nptl/bits/pthreadtypes.h
7423 (pthread_rwlock_t): Change __pad1 to __rwelision.
7424 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7425
7426 2014-06-13 Andi Kleen <ak@linux.intel.com>
7427
7428 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
7429 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
7430 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
7431 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
7432
7433 2014-06-13 Meador Inge <meadori@codesourcery.com>
7434
7435 [BZ #16996]
7436 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
7437 that the cached result has been set before returning it.
7438
7439 2014-06-12 Roland McGrath <roland@hack.frob.com>
7440
7441 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
7442 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
7443 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
7444 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
7445 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
7446 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
7447
7448 * nptl/sysdeps/sparc/Makefile: Moved ...
7449 * sysdeps/sparc/nptl/Makefile: ... here.
7450 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
7451 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
7452 * nptl/sysdeps/sparc/tls.h: Moved ...
7453 * sysdeps/sparc/nptl/tls.h: ... here.
7454 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
7455 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
7456 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
7457 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
7458 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
7459 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
7460 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
7461 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
7462 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
7463 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
7464 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
7465 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
7466 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
7467 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
7468 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
7469 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
7470 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
7471 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
7472 Update #include.
7473 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
7474 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
7475 Update #include.
7476 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
7477 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
7478 Update #include.
7479 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
7480 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
7481 Update #include.
7482
7483 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
7484
7485 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
7486 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
7487
7488 * sysdeps/pthread/posix-timer.h: Include <list.h>.
7489 (struct list_links): Type removed.
7490 (struct thread_node, struct timer_node): Replace struct list_links
7491 with struct list_head.
7492 (list_unlink_ip): Likewise.
7493 * sysdeps/pthread/timer_routines.c
7494 (timer_free_list, thread_free_list, thread_active_list): Likewise.
7495 (list_append, list_insbefore): Likewise.
7496 (list_init): Function removed.
7497 (thread_init, init_module): Use INIT_LIST_HEAD instead.
7498 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
7499 * sysdeps/pthread/Makefile: ... here, new file.
7500
7501 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
7502 * sysdeps/nptl/Implies: ... here.
7503 * sysdeps/unix/sysv/linux/Implies: Add nptl.
7504 * nptl/sysdeps/pthread/list.h: Moved ...
7505 * include/list.h: ... here.
7506 * nptl/sysdeps/pthread/createthread.c: Moved ...
7507 * nptl/createthread.c: ... here.
7508 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
7509 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
7510 * nptl/pt-longjmp.c: ... here.
7511 * nptl/sysdeps/pthread/Makefile: Moved ...
7512 * sysdeps/nptl/Makefile: ... here.
7513 * nptl/sysdeps/pthread/Subdirs: Moved ...
7514 * sysdeps/nptl/Subdirs: ... here.
7515 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
7516 * sysdeps/nptl/aio_misc.h: ... here.
7517 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
7518 * sysdeps/nptl/bits/libc-lock.h: ... here.
7519 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
7520 * sysdeps/nptl/bits/libc-lockP.h: ... here.
7521 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
7522 * sysdeps/nptl/bits/stdio-lock.h: ... here.
7523 * nptl/sysdeps/pthread/configure: Moved ...
7524 * sysdeps/nptl/configure: ... here.
7525 * nptl/sysdeps/pthread/configure.ac: Moved ...
7526 * sysdeps/nptl/configure.ac: ... here.
7527 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
7528 * sysdeps/nptl/gai_misc.h: ... here.
7529 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
7530 * sysdeps/nptl/librt-cancellation.c: ... here.
7531 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
7532 * sysdeps/nptl/malloc-machine.h: ... here.
7533 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
7534 * sysdeps/nptl/pthread-functions.h: ... here.
7535 * nptl/sysdeps/pthread/pthread.h: Moved ...
7536 * sysdeps/nptl/pthread.h: ... here.
7537 * nptl/sysdeps/pthread/setxid.h: Moved ...
7538 * sysdeps/nptl/setxid.h: ... here.
7539 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
7540 * sysdeps/nptl/sigfillset.c: ... here.
7541 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
7542 * sysdeps/nptl/tcb-offsets.h: ... here.
7543 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
7544 * sysdeps/nptl/tst-mqueue8x.c: ... here.
7545 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
7546 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
7547 * nptl/sysdeps/pthread/allocalim.h: Moved ...
7548 * sysdeps/pthread/allocalim.h: ... here.
7549 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
7550 * sysdeps/pthread/bits/sigthread.h: ... here.
7551 * nptl/sysdeps/pthread/flockfile.c: Moved ...
7552 * sysdeps/pthread/flockfile.c: ... here.
7553 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
7554 * sysdeps/pthread/ftrylockfile.c: ... here.
7555 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
7556 * sysdeps/pthread/funlockfile.c: ... here.
7557 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
7558 * sysdeps/pthread/posix-timer.h: ... here.
7559 * nptl/sysdeps/pthread/timer_create.c: Moved ...
7560 * sysdeps/pthread/timer_create.c: ... here.
7561 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
7562 * sysdeps/pthread/timer_delete.c: ... here.
7563 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
7564 * sysdeps/pthread/timer_getoverr.c: ... here.
7565 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
7566 * sysdeps/pthread/timer_gettime.c: ... here.
7567 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
7568 * sysdeps/pthread/timer_routines.c: ... here.
7569 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
7570 * sysdeps/pthread/timer_settime.c: ... here.
7571 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
7572 * sysdeps/pthread/tst-timer.c: ... here.
7573 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
7574 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
7575
7576 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
7577 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
7578
7579 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
7580 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
7581 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
7582 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
7583 Update #include target.
7584 * nptl/sysdeps/i386/i686/Makefile: Moved ...
7585 * sysdeps/i386/i686/nptl/Makefile: ... here.
7586 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
7587 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
7588 Update #include target.
7589 * nptl/sysdeps/i386/i686/tls.h: Moved ...
7590 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
7591 * nptl/sysdeps/i386/Makefile: Moved ...
7592 * sysdeps/i386/nptl/Makefile: ... here.
7593 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
7594 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
7595 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
7596 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
7597 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
7598 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
7599 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
7600 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
7601 * sysdeps/i386/nptl/pthreaddef.h: ... here.
7602 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
7603 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
7604 * nptl/sysdeps/i386/tls.h: Moved ...
7605 * sysdeps/i386/nptl/tls.h: ... here.
7606
7607 * sysdeps/sh/Makefile [$(subdir) = csu]
7608 (gen-as-const-headers): Add tcb-offsets.sym.
7609 * nptl/sysdeps/sh/Makefile: File removed.
7610 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
7611 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
7612 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
7613 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
7614 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
7615 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
7616 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
7617 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
7618 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
7619 * sysdeps/sh/nptl/pthreaddef.h: ... here.
7620 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
7621 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
7622 * nptl/sysdeps/sh/tls.h: Moved ...
7623 * sysdeps/sh/nptl/tls.h: ... here.
7624 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
7625 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
7626 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
7627 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
7628 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
7629 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
7630 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
7631 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
7632 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
7633 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
7634 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
7635 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
7636 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
7637 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
7638 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
7639 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
7640 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
7641 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
7642 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
7643 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
7644 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
7645 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
7646 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
7647 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
7648 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
7649 Moved ...
7650 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
7651 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
7652 Moved ...
7653 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
7654 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
7655 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
7656 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
7657 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
7658 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
7659 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
7660 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
7661 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
7662 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
7663 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
7664 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
7665 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
7666 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
7667 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
7668 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
7669 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
7670 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
7671 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
7672
7673 2014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
7674
7675 * posix/spawn_faction_addopen.c: Include string.h.
7676
7677 2014-06-11 Roland McGrath <roland@hack.frob.com>
7678
7679 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
7680 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
7681 * nptl/sysdeps/x86_64/Makefile: Moved ...
7682 * sysdeps/x86_64/nptl/Makefile: ... here.
7683 * nptl/sysdeps/x86_64/configure: Moved ...
7684 * sysdeps/x86_64/nptl/configure: ... here.
7685 * nptl/sysdeps/x86_64/configure.ac: Moved ...
7686 * sysdeps/x86_64/nptl/configure.ac: ... here.
7687 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
7688 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
7689 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
7690 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
7691 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
7692 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
7693 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
7694 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
7695 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
7696 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
7697 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
7698 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
7699 * nptl/sysdeps/x86_64/tls.h: Moved ...
7700 * sysdeps/x86_64/nptl/tls.h: ... here.
7701 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
7702 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
7703 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
7704 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
7705
7706 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
7707
7708 2014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7709
7710 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7711
7712 2014-06-11 Joseph Myers <joseph@codesourcery.com>
7713
7714 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
7715 type.
7716 [POSIX] (off_t): Likewise.
7717 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
7718 [POSIX] (S_ISBLK): Require macro.
7719 [POSIX] (S_ISCHR): Likewise.
7720 [POSIX] (S_ISDIR): Likewise.
7721 [POSIX] (S_ISFIFO): Likewise.
7722 [POSIX] (S_ISREG): Likewise.
7723 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
7724 optional-macro.
7725 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
7726 type.
7727 [POSIX] (time_t): Likewise.
7728 [POSIX] (timer_t): Likewise.
7729
7730 2014-06-11 Florian Weimer <fweimer@redhat.com>
7731
7732 [BZ #17048]
7733 * posix/spawn_int.h (struct __spawn_action): Make the path string
7734 non-const to support deallocation.
7735 * posix/spawn_faction_addopen.c
7736 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
7737 * posix/spawn_faction_destroy.c
7738 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
7739 path in all spawn_do_open actions.
7740 * posix/tst-spawn.c (do_test): Exercise the copy operation in
7741 posix_spawn_file_actions_addopen.
7742
7743 2014-06-11 Chris Metcalf <cmetcalf@tilera.com>
7744
7745 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
7746 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
7747 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
7748 conditional code always true.
7749 (__libc_vfork): New alias.
7750
7751 2014-06-11 Roland McGrath <roland@hack.frob.com>
7752
7753 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
7754 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
7755
7756 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
7757
7758 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
7759 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
7760
7761 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
7762 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
7763
7764 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
7765 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
7766
7767 2014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
7768
7769 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
7770 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
7771 multiarch strcmp for PPC64.
7772 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
7773 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
7774 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
7775 multiarch optimizations.
7776 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
7777 (__libc_ifunc_impl_list): Likewise.
7778
7779 2014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
7780
7781 * benchtests/scripts/validate_benchout.py: New script.
7782 * benchtests/Makefile (bench-func): Call it.
7783 * benchtests/scripts/benchout.schema.json: New file.
7784
7785 2014-06-10 Chris Metcalf <cmetcalf@tilera.com>
7786
7787 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
7788 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
7789 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
7790 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
7791 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
7792 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
7793 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
7794 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
7795 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
7796 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
7797 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
7798 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
7799 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
7800 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
7801 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
7802 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
7803 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
7804 Moved ...
7805 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
7806 ... here.
7807 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
7808 Moved ...
7809 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
7810 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
7811 Moved ...
7812 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
7813 ... here.
7814 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
7815 Moved ...
7816 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
7817 ... here.
7818 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
7819 Moved ...
7820 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
7821 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
7822 Moved ...
7823 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
7824 ... here.
7825 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
7826 Moved ...
7827 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
7828 ... here.
7829 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
7830 Moved ...
7831 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
7832 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
7833 Moved ...
7834 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
7835 ... here.
7836 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
7837 Moved ...
7838 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
7839 ... here.
7840 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
7841 Moved ...
7842 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
7843 ... here.
7844 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
7845 Moved ...
7846 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
7847 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
7848 Moved ...
7849 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
7850 ... here.
7851 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
7852 Moved ...
7853 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
7854 ... here.
7855 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
7856 Moved ...
7857 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
7858 ... here.
7859 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
7860 Moved ...
7861 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
7862 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
7863 Moved ...
7864 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
7865 ... here.
7866 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
7867 Moved ...
7868 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
7869 ... here.
7870 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
7871 Moved ...
7872 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
7873 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
7874 Moved ...
7875 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
7876 ... here.
7877 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
7878 Moved ...
7879 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
7880 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
7881 Moved ...
7882 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
7883 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
7884 Moved ...
7885 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
7886 ... here.
7887 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
7888 Moved ...
7889 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
7890 ... here.
7891 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
7892 Moved ...
7893 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
7894 ... here.
7895 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
7896 Moved ...
7897 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
7898 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
7899 Moved ...
7900 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
7901 ... here.
7902 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
7903 Moved ...
7904 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
7905 ... here.
7906 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
7907 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
7908 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
7909 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
7910 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
7911 Moved ...
7912 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
7913 ... here.
7914 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
7915 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
7916 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
7917 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
7918 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
7919 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
7920 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
7921 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
7922 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
7923 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
7924 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
7925 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
7926 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
7927 Moved ...
7928 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
7929 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
7930 Moved ...
7931 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
7932 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
7933 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
7934 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
7935 Moved ...
7936 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
7937 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
7938 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
7939 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
7940 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
7941 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
7942 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
7943
7944 2014-06-10 Wilco <wdijkstr@arm.com>
7945
7946 * math/test-fenv-return.c: New file.
7947 * math/Makefile: Add new test test-fenv-return.
7948
7949 2014-06-10 Joseph Myers <joseph@codesourcery.com>
7950
7951 [BZ #17042]
7952 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
7953 when x - 1 is zero.
7954 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
7955 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
7956 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
7957 0.0L for an argument of 1.0L.
7958 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
7959 Likewise.
7960 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
7961 value when x - 1 is zero.
7962 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
7963 * sysdeps/i386/fpu/libm-test-ulps: Update.
7964 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7965
7966 2014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
7967
7968 [BZ #15119]
7969 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
7970
7971 2014-06-09 Roland McGrath <roland@hack.frob.com>
7972
7973 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
7974 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
7975
7976 2014-06-09 Roland McGrath <roland@hack.frob.com>
7977
7978 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
7979 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
7980
7981 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
7982 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
7983
7984 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
7985 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
7986
7987 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
7988 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
7989
7990 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
7991 if not already defined.
7992 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
7993 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
7994 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
7995 (TLS_INIT_TP): Use it.
7996 (TLS_DEFINE_INIT_TP): New macro.
7997 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
7998
7999 2014-06-09 Joseph Myers <joseph@codesourcery.com>
8000
8001 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
8002 constant.
8003 [POSIX] (IXANY): Likewise.
8004 [POSIX] (OLCUC): Likewise.
8005 [POSIX || POSIX2008] (CBAUD): Do not allow.
8006 [POSIX || POSIX2008] (DEFECHO): Likewise.
8007 [POSIX || POSIX2008] (ECHOCTL): Likewise.
8008 [POSIX || POSIX2008] (ECHOKE): Likewise.
8009 [POSIX || POSIX2008] (ECHOPRT): Likewise.
8010 [POSIX || POSIX2008] (EXTA): Likewise.
8011 [POSIX || POSIX2008] (EXTB): Likewise.
8012 [POSIX || POSIX2008] (FLUSHO): Likewise.
8013 [POSIX || POSIX2008] (LOBLK): Likewise.
8014 [POSIX || POSIX2008] (PENDIN): Likewise.
8015 [POSIX || POSIX2008] (SWTCH): Likewise.
8016 [POSIX || POSIX2008] (VDISCARD): Likewise.
8017 [POSIX || POSIX2008] (VDSUSP): Likewise.
8018 [POSIX || POSIX2008] (VLNEXT): Likewise.
8019 [POSIX || POSIX2008] (VREPRINT): Likewise.
8020 [POSIX || POSIX2008] (VSTATUS): Likewise.
8021 [POSIX || POSIX2008] (VWERASE): Likewise.
8022 (B*): Change to B[0123456789]*.
8023 * conform/data/time.h-data [POSIX || UNIX98]
8024 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
8025 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
8026 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
8027 [POSIX] (tm_*): Do not allow.
8028
8029 2014-06-07 Joseph Myers <joseph@codesourcery.com>
8030
8031 * Makefile (install): Don't set LANGUAGE.
8032 * Makefile.in (install): Likewise.
8033 * assert/Makefile (test-assert-ENV): Remove variable.
8034 (test-assert-perr-ENV): Likewise.
8035 * elf/Makefile (neededtest4-ENV): Likewise.
8036 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
8037 [$(cross-compiling) = no]: Don't set LANGUAGE.
8038 * io/ftwtest-sh (LANG): Remove variable.
8039 * libio/Makefile (tst-widetext-ENV): Likewise.
8040 * manual/install.texi (Running make install): Don't refer to
8041 environment settings for make install.
8042 * INSTALL: Regenerated.
8043 * nptl/tst-tls6.sh: Don't set LANG.
8044 * posix/globtest.sh (LANG): Remove variable.
8045 * string/Makefile (tester-ENV): Likewise.
8046 (inl-tester-ENV): Likewise.
8047 (noinl-tester-ENV): Likewise.
8048 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
8049 [$(cross-compiling) = no]: Don't set LANGUAGE.
8050 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
8051 without explicit environment settings.
8052
8053 2014-06-06 Roland McGrath <roland@hack.frob.com>
8054
8055 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
8056 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
8057 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
8058 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
8059
8060 2014-06-06 Chris Metcalf <cmetcalf@tilera.com>
8061
8062 * crypt/crypt-private.h [DOS]: Add some includes taken from the
8063 other files in the crypt directory.
8064 * crypt/crypt.c: Remove duplicate includes.
8065 * crypt/crypt-entry.c: Likewise.
8066 * crypt/crypt_util.c: Likewise.
8067
8068 2014-06-06 Joseph Myers <joseph@codesourcery.com>
8069
8070 * Makeconfig (run-program-env): New variable.
8071 (run-program-prefix-before-env): Likewise.
8072 (run-program-prefix-after-env): Likewise.
8073 (run-program-prefix): Define in terms of new variables.
8074 (built-program-cmd-before-env): New variable.
8075 (built-program-cmd-after-env): Likewise.
8076 (built-program-cmd): Define in terms of new variables.
8077 (test-program-prefix-before-env): New variable.
8078 (test-program-prefix-after-env): Likewise.
8079 (test-program-prefix): Define in terms of new variables.
8080 (test-program-cmd-before-env): New variable.
8081 (test-program-cmd-after-env): Likewise.
8082 (test-program-cmd): Define in terms of new variables.
8083 * Rules (make-test-out): Use $(run-program-env).
8084 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
8085 (help): Do not mention environment variables. Mention
8086 --timeoutfactor option.
8087 (timeoutfactor): New variable.
8088 (blacklist_exports): Remove function.
8089 (exports): Remove variable.
8090 (command): Do not include ${exports}.
8091 * manual/install.texi (Configuring and compiling): Do not mention
8092 test wrappers preserving environment variables. Mention that last
8093 assignment to a variable must take precedence.
8094 * INSTALL: Regenerated.
8095 * benchtests/Makefile (run-bench): Use $(run-program-env).
8096 * catgets/Makefile ($(objpfx)test1.cat): Use
8097 $(built-program-cmd-before-env), $(run-program-env) and
8098 $(built-program-cmd-after-env).
8099 ($(objpfx)test2.cat): Do not specify environment variables
8100 explicitly.
8101 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
8102 $(run-program-env) and $(built-program-cmd-after-env).
8103 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
8104 $(run-program-env) and $(test-program-cmd-after-env).
8105 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
8106 explicitly.
8107 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
8108 run_program_env and test_program_cmd_after_env arguments.
8109 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
8110 * elf/tst-pathopt.sh: Use run_program_env argument.
8111 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
8112 $(test-wrapper-env) and $(run-program-env).
8113 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
8114 run_program_env arguments.
8115 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
8116 * intl/Makefile ($(objpfx)tst-gettext.out): Use
8117 $(test-program-prefix-before-env), $(run-program-env) and
8118 $(test-program-prefix-after-env).
8119 ($(objpfx)tst-gettext2.out): Likewise.
8120 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
8121 run_program_env and test_program_prefix_after_env arguments.
8122 * intl/tst-gettext2.sh: Likewise.
8123 * intl/tst-gettext4.sh: Do not set environment variables
8124 explicitly.
8125 * intl/tst-gettext6.sh: Likewise.
8126 * intl/tst-translit.sh: Likewise.
8127 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
8128 $(test-program-prefix-before-env), $(run-program-env) and
8129 $(test-program-prefix-after-env).
8130 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
8131 run_program_env and test_program_prefix_after_env arguments.
8132 * math/Makefile (run-regen-ulps): Use $(run-program-env).
8133 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
8134 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
8135 explicitly with each use of ${test_wrapper_env}.
8136 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
8137 $(test-program-prefix-before-env), $(run-program-env) and
8138 $(test-program-prefix-after-env).
8139 * posix/tst-getconf.sh: Do not set environment variables
8140 explicitly.
8141 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
8142 run_program_env and test_program_prefix_after_env arguments.
8143 * stdio-common/tst-printf.sh: Do not set environment variables
8144 explicitly.
8145 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
8146 $(test-program-prefix-before-env), $(run-program-env) and
8147 $(test-program-prefix-after-env).
8148 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
8149 run_program_env and test_program_prefix_after_env arguments.
8150 Split $test calls into $test_pre and $test.
8151 * timezone/Makefile (build-testdata): Use
8152 $(built-program-cmd-before-env), $(run-program-env) and
8153 $(built-program-cmd-after-env).
8154
8155 2014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8156
8157 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
8158 strlen for non SHARED builds.
8159
8160 2014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
8161
8162 * nptl/allocatestack.c (check_list): Inlined function...
8163 (__reclaim_stacks): ... here.
8164
8165 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
8166
8167 [BZ #15698]
8168 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
8169 memory overrun.
8170
8171 2014-06-05 Joseph Myers <joseph@codesourcery.com>
8172
8173 * Rules (make-test-out): Include
8174 LOCPATH=$(common-objpfx)localedata in default environment.
8175 * debug/Makefile (tst-chk1-ENV): Remove variable.
8176 (tst-chk2-ENV): Likewise.
8177 (tst-chk3-ENV): Likewise.
8178 (tst-chk4-ENV): Likewise.
8179 (tst-chk5-ENV): Likewise.
8180 (tst-chk6-ENV): Likewise.
8181 (tst-lfschk1-ENV): Likewise.
8182 (tst-lfschk2-ENV): Likewise.
8183 (tst-lfschk3-ENV): Likewise.
8184 (tst-lfschk4-ENV): Likewise.
8185 (tst-lfschk5-ENV): Likewise.
8186 (tst-lfschk6-ENV): Likewise.
8187 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
8188 (tst-iconv7-ENV): Likewise.
8189 * intl/Makefile (LOCPATH-ENV): Likewise.
8190 (tst-codeset-ENV): Likewise.
8191 (tst-gettext3-ENV): Likewise.
8192 (tst-gettext5-ENV): Likewise.
8193 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
8194 (tst-fopenloc-ENV): Likewise.
8195 (tst-fgetws-ENV): Remove variable.
8196 (tst-ungetwc1-ENV): Likewise.
8197 (tst-ungetwc2-ENV): Likewise.
8198 (bug-ungetwc2-ENV): Likewise.
8199 (tst-swscanf-ENV): Likewise.
8200 (bug-ftell-ENV): Likewise.
8201 (tst-fgetwc-ENV): Likewise.
8202 (tst-fseek-ENV): Likewise.
8203 (tst-ftell-partial-wide-ENV): Likewise.
8204 (tst-ftell-active-handler-ENV): Likewise.
8205 (tst-ftell-append-ENV): Likewise.
8206 * posix/Makefile (tst-fnmatch-ENV): Likewise.
8207 (tst-regexloc-ENV): Likewise.
8208 (bug-regex1-ENV): Likewise.
8209 (tst-regex-ENV): Likewise.
8210 (tst-regex2-ENV): Likewise.
8211 (bug-regex5-ENV): Likewise.
8212 (bug-regex6-ENV): Likewise.
8213 (bug-regex17-ENV): Likewise.
8214 (bug-regex18-ENV): Likewise.
8215 (bug-regex19-ENV): Likewise.
8216 (bug-regex20-ENV): Likewise.
8217 (bug-regex22-ENV): Likewise.
8218 (bug-regex23-ENV): Likewise.
8219 (bug-regex25-ENV): Likewise.
8220 (bug-regex26-ENV): Likewise.
8221 (bug-regex30-ENV): Likewise.
8222 (bug-regex32-ENV): Likewise.
8223 (bug-regex33-ENV): Likewise.
8224 (bug-regex34-ENV): Likewise.
8225 (bug-regex35-ENV): Likewise.
8226 (tst-rxspencer-ENV): Likewise.
8227 (tst-rxspencer-no-utf8-ENV): Likewise.
8228 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
8229 (tst-sscanf-ENV): Likewise.
8230 (tst-swprintf-ENV): Likewise.
8231 (tst-swscanf-ENV): Likewise.
8232 (test-vfprintf-ENV): Likewise.
8233 (scanf13-ENV): Likewise.
8234 (bug14-ENV): Likewise.
8235 (tst-grouping-ENV): Likewise.
8236 * stdlib/Makefile (tst-strtod-ENV): Likewise.
8237 (tst-strtod3-ENV): Likewise.
8238 (tst-strtod4-ENV): Likewise.
8239 (tst-strtod5-ENV): Likewise.
8240 (testmb2-ENV): Likewise./
8241 * string/Makefile (tst-strxfrm-ENV): Likewise.
8242 (tst-strxfrm2-ENV): Likewise.
8243 (bug-strcoll1-ENV): Likewise.
8244 (test-strcasecmp-ENV): Likewise.
8245 (test-strncasecmp-ENV): Likewise.
8246 * time/Makefile (tst-strptime-ENV): Likewise.
8247 (tst-ftime_l-ENV): Likewise.
8248 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
8249 (tst-mbrtowc-ENV): Likewise.
8250 (tst-wcrtomb-ENV): Likewise.
8251 (tst-mbrtowc2-ENV): Likewise.
8252 (tst-c16c32-1-ENV): Likewise.
8253 (tst-mbsnrtowcs-ENV): Likewise.
8254
8255 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
8256
8257 * manual/resource.texi (How to get information about the memory
8258 subsystem?): Fix typo.
8259 Reported by Peon de la Parra Ivan <peon@keba.com>
8260
8261 2014-06-03 Guo Yixuan <culu.gyx@gmail.com>
8262
8263 [BZ #16882]
8264 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
8265 (pthread_spin_lock): Branch out of spin loop to proper location.
8266 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
8267 (pthread_spin_lock): Likewise.
8268
8269 * nptl/tst-spin4.c: New test.
8270 * nptl/Makefile (tests): Add tst-spin4.
8271
8272 2014-06-03 Andreas Schwab <schwab@suse.de>
8273
8274 [BZ #15946]
8275 * resolv/res_send.c (send_dg): Reload file descriptor after
8276 calling reopen.
8277
8278 2014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
8279
8280 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
8281
8282 2014-06-03 Richard Henderson <rth@redhat.com>
8283
8284 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
8285 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
8286 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
8287 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
8288 in the SAVE_PID block.
8289 (__libc_vfork): New alias.
8290 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
8291
8292 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
8293 child in registers, not on the stack. Remove RESET_PID conditionals.
8294 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
8295
8296 2014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
8297
8298 * sysdeps/aarch64/libm-test-ulps: Regenerate.
8299
8300 2014-06-03 Wilco <wdijkstr@arm.com>
8301
8302 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
8303 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
8304 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
8305 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
8306 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
8307 Likewise.
8308
8309 2014-06-03 Wilco <wdijkstr@arm.com>
8310
8311 * sysdeps/aarch64/fpu/math_private.h
8312 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
8313 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
8314 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
8315 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
8316 Fix declarations.
8317
8318 2014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
8319
8320 * crypt/crypt-private.h: Include ufc-crypt.h.
8321 (__b64_from_24bit): Declare extern.
8322 * crypt/crypt_util.c(__b64_from_24bit): New function.
8323 (b64t): New static const variable.
8324 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
8325 (b64t): Remove variable.
8326 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
8327 * crypt/sha256-crypt.c: Include crypt-private.h.
8328 (b64t): Remove variable.
8329 (__sha256_crypt_r): Remove b64_from_24bit and replace
8330 with __b64_from_24bit.
8331 * crypt/sha512-crypt.c: Likewise.
8332
8333 2014-06-02 Roland McGrath <roland@hack.frob.com>
8334
8335 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
8336 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
8337 Label the code __libc_vfork rather than __vfork.
8338 [!NOT_IN_libc] (vfork): Define as weak alias.
8339 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
8340 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
8341 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
8342
8343 2014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
8344
8345 * malloc/malloc.c (malloc_info): Fix format specifier for
8346 n_mmaps.
8347
8348 2014-06-02 Wilco <wdijkstr@arm.com>
8349
8350 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
8351 FPCR write.
8352
8353 2014-06-02 Wilco <wdijkstr@arm.com>
8354
8355 [BZ #17009]
8356 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
8357 Rewrite to reduce FPCR/FPSR accesses.
8358
8359 2014-06-01 David S. Miller <davem@davemloft.net>
8360
8361 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8362
8363 2014-05-31 David S. Miller <davem@davemloft.net>
8364
8365 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
8366 to occur in round to nearest mode when |x| >= 2.0
8367
8368 2014-05-30 Richard Henderson <rth@twiddle.net>
8369
8370 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
8371 (PSEUDO_RET_NOERRNO): Remove.
8372 (ret): Don't redefine.
8373 (ret_NOERRNO): Define in terms of ret.
8374 (ret_ERRVAL): Likewise.
8375
8376 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
8377 use of PSEUDO_RET; perform the error check directly.
8378
8379 2014-05-30 Marko Myllynen <myllynen@redhat.com>
8380
8381 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
8382 with __int128_t.
8383
8384 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
8385
8386 * malloc/malloc (malloc_info): Fix formatting.
8387
8388 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
8389 Roland McGrath <roland@hack.frob.com>
8390
8391 * malloc/malloc (malloc_info): Also print mmapped statistics.
8392
8393 2014-05-30 Roland McGrath <roland@hack.frob.com>
8394
8395 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
8396 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
8397
8398 2014-05-30 Ondřej Bílka <neleai@seznam.cz>
8399
8400 * malloc/malloc.c (malloc_info): Inline mi_arena.
8401
8402 2014-05-29 Richard Henderson <rth@twiddle.net>
8403
8404 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
8405 Remove comma before expanding ASM_ARGS_##nr.
8406 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
8407 Make _x0 a strict output; make _x8 a strict input; adjust expansion
8408 of ASM_ARGS_##nr.
8409 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
8410 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
8411 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
8412 (ASM_ARGS_1): Add leading comma.
8413
8414 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
8415 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
8416 to __errno_location.
8417 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
8418 Remove the expected plt for __errno_location.
8419
8420 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
8421 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
8422 call to __read_tp.
8423
8424 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
8425 Always allocate 64 bytes of stack frame. Use ldp/stp to create
8426 it and break it down.
8427 (DOCARGS_0, DOCARGS_1): Do nothing.
8428 (DOCARGS_2): Update to store into the new stack frame.
8429 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
8430 (UNDOCARGS_1): Update to restore from the new stack frame.
8431 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
8432 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
8433
8434 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
8435 (SINGLE_THREAD_P): New parameter for result regno.
8436 (PSEUDO): Update to match; use cbz instead of beq.
8437
8438 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
8439 Use ENTRY to define the _nocancel entry point. Share the syscall
8440 and syscall error check paths with the cancel path.
8441 (PSEUDO_END): New.
8442
8443 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
8444 whitespace; tabs before and after asm mnemonics.
8445
8446 2014-05-29 Eric Wong <normalperson@yhbt.net>
8447
8448 [BZ #15132]
8449 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
8450 Call fstat64 or stat64 internally, depending on arguments passed.
8451 Replace stat buffer argument with file descriptor argument.
8452 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
8453 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
8454 Pass fd to __internal_statvfs instead of calling fstat64.
8455 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
8456 Pass fd to __internal_statvfs64 instead of calling fstat64.
8457 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
8458 Pass -1 to __internal_statvfs instead of calling stat64.
8459 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
8460 Pass -1 to __internal_statvfs64 instead of calling stat64.
8461
8462 2014-05-28 Roland McGrath <roland@hack.frob.com>
8463
8464 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
8465 that was previously under [RESET_PID].
8466 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
8467
8468 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
8469 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
8470
8471 2014-05-27 Roland McGrath <roland@hack.frob.com>
8472
8473 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
8474
8475 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
8476 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
8477
8478 2014-05-27 Ondřej Bílka <neleai@seznam.cz>
8479
8480 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
8481
8482 2014-05-27 Andreas Schwab <schwab@suse.de>
8483
8484 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
8485 TLS_INIT_TP macro.
8486 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
8487 * elf/rtld.c (init_tls, dl_main): Likewise.
8488 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
8489 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
8490 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
8491 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
8492 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
8493 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
8494 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
8495 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
8496 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
8497 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
8498 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
8499 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
8500 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
8501 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
8502 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
8503 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
8504 * sysdeps/generic/tls.h: Update description.
8505
8506 2014-05-27 Will Newton <will.newton@linaro.org>
8507
8508 [BZ #16990]
8509 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
8510 and restore r2 rather than just restoring.
8511
8512 2014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
8513
8514 [BZ #16724]
8515 * libio/tst-ftell-append.c: New test case.
8516 * libio/Makefile (tests): Add test case.
8517 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
8518 append mode.
8519 * libio/wfileops.c (do_ftell_wide): Likewise.
8520
8521 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8522
8523 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8524
8525 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
8526 ...
8527 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
8528 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
8529 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
8530 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
8531 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
8532 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
8533 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
8534 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
8535 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
8536 Moved ...
8537 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
8538 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
8539 Moved ...
8540 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
8541 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
8542 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
8543 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
8544 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
8545 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
8546 ...
8547 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
8548 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
8549 Moved ...
8550 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
8551 here.
8552 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
8553 ...
8554 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
8555 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
8556 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
8557
8558 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
8559 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
8560 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
8561 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
8562
8563 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
8564 merge into ...
8565 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
8566 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
8567 ...
8568 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
8569 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
8570 ...
8571 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
8572 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
8573 Moved ...
8574 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
8575 here.
8576 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
8577 Moved ...
8578 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
8579 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
8580 Moved ...
8581 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
8582
8583 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
8584 conditional [RESET_PID].
8585 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
8586 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
8587 removed.
8588 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
8589 removed.
8590
8591 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
8592 <tcb-offsets.h>.
8593 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
8594 (__libc_vfork): New strong alias.
8595 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
8596 removed.
8597 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
8598 Removed.
8599
8600 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
8601 <tcb-offsets.h>.
8602 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
8603 (__libc_vfork): New strong alias.
8604 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
8605 removed.
8606 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
8607 removed.
8608
8609 2014-05-26 Carlos O'Donell <carlos@redhat.com>
8610
8611 * malloc/malloc.c (mi_arena): New function.
8612 (malloc_info): Remove nested function mi_arena. Call non-nosted
8613 function mi_arena.
8614
8615 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8616
8617 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
8618 by insrwi.
8619 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
8620 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
8621 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
8622 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
8623 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
8624 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
8625 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
8626
8627 2014-05-26 Andreas Schwab <schwab@suse.de>
8628
8629 [BZ #16984]
8630 * locale/programs/repertoire.c (repertoire_read): Add slash
8631 between I18NPATH element and file name.
8632 * locale/programs/locfile.c (locfile_read): Likewise.
8633
8634 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
8635
8636 * nptl/pthread_mutexattr_settype.c
8637 (__pthread_mutexattr_settype):
8638 Disable lock elision for PTHREAD_MUTEX_NORMAL.
8639
8640 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
8641
8642 * nptl/tst-mutex5 (do_test):
8643 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
8644
8645 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
8646
8647 * benchtests/README: Document 'init' directive.
8648 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
8649 BENCH_INIT.
8650 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
8651 (parse_file): Recognize 'init' directive.
8652
8653 2014-05-26 Kyle McMartin <kyle@redhat.com>
8654
8655 [BZ #16796]
8656 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
8657 alignment of struct pthread.
8658
8659 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
8660
8661 [BZ #16878]
8662 * nscd/netgroupcache.c (addgetnetgrentX): Look for
8663 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
8664 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
8665 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
8666
8667 2014-05-25 Richard Henderson <rth@twiddle.net>
8668
8669 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
8670 (SINGLE_THREAD_P_PIC): Remove.
8671 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
8672 (SINGLE_THREAD_P_PIC): Remove.
8673
8674 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
8675 branch to syscall error ...
8676 (PSEUDO): ... here.
8677 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
8678 from __local_syscall_error to .Lsyscall_error.
8679 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
8680 (SYSCALL_ERROR): Update label name.
8681
8682 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
8683 Do not use DOARGS/UNDOARGS.
8684 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
8685 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
8686 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
8687 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
8688 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
8689
8690 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
8691 block comment.
8692
8693 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
8694 define if !NOT_IN_libc.
8695 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
8696 define with non-default symbol versions.
8697
8698 2014-05-23 Richard Henderson <rth@twiddle.net>
8699
8700 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
8701 (vfork, __vfork): Define via compat_symbol.
8702
8703 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
8704 [!HAVE_IFUNC] (vfork_compat): Remove.
8705 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
8706
8707 2014-05-23 Joseph Myers <joseph@codesourcery.com>
8708
8709 [BZ #16978]
8710 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
8711 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
8712 variable.
8713
8714 2014-05-23 Richard Henderson <rth@twiddle.net>
8715
8716 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
8717 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
8718 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
8719 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
8720
8721 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
8722 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
8723 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
8724 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
8725 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
8726 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
8727 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
8728 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
8729 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
8730 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
8731 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
8732 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
8733 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
8734 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
8735 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
8736 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
8737 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
8738 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
8739 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
8740 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
8741 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
8742 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
8743 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
8744 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
8745 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
8746 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
8747 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
8748 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
8749 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
8750 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
8751 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
8752 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
8753 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
8754 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
8755 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
8756 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
8757 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
8758 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
8759 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
8760 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
8761 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
8762 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
8763 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
8764 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
8765 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
8766 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
8767 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
8768 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
8769 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
8770 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
8771 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
8772 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
8773 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
8774 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
8775 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
8776 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
8777
8778 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
8779 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
8780 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
8781 before exiting on error.
8782 (__libc_vfork): New strong alias.
8783 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
8784 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
8785
8786 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
8787 that was previously under [RESET_PID].
8788 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
8789
8790 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
8791
8792 2014-05-23 Joseph Myers <joseph@codesourcery.com>
8793
8794 [BZ #16977]
8795 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
8796 value when x - 1 is zero.
8797 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
8798 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
8799 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
8800 0.0L for an argument of 1.0L.
8801 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
8802 Likewise.
8803 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
8804 value when x - 1 is zero.
8805 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
8806 * sysdeps/i386/fpu/libm-test-ulps: Update.
8807 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8808
8809 2014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
8810
8811 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
8812 alphasort and versionsort.
8813
8814 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8815
8816 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
8817 macro.
8818 [copysignf]: Likewise.
8819
8820 2014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
8821
8822 * crypt/md5-crypt.c: Fix formatting.
8823
8824 2014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
8825
8826 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
8827 (b64_from_24bit): New function.
8828
8829 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8830
8831 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
8832 libc_hidden_builtin_def to ifunc.
8833 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
8834 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
8835
8836 2014-05-21 Roland McGrath <roland@hack.frob.com>
8837
8838 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
8839 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
8840
8841 2014-05-21 Joseph Myers <joseph@codesourcery.com>
8842
8843 * nscd/Depend (linuxthreads): Remove.
8844 (nptl): Add.
8845 * resolv/Depend (linuxthreads): Remove.
8846 * rt/Depend (linuxthreads): Remove.
8847
8848 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
8849 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
8850 $(common-objpfx)elf/.
8851 (link-libc-before-gnulib): Likewise.
8852 (elfobjdir): Remove variable.
8853 * Makefile (install): Use $(elf-objpfx) instead of
8854 $(common-objpfx)elf/.
8855 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
8856 $(elfobjdir)/.
8857 (link-libc-deps): Likewise.
8858 ($(common-objpfx)libc.so): Likewise.
8859 ($(common-objpfx)linkobj/libc.so): Likewise.
8860 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
8861 instead of $(common-objpfx)elf/.
8862 (symbolic-link-list): Likewise.
8863 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
8864 [$(cross-compiling) = no]: Likewise.
8865 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
8866 $(elfobjdir)/.
8867 (static-gnulib-arch): Likewise.
8868 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
8869 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
8870 $(common-objpfx)elf/.
8871
8872 2014-05-21 Richard Henderson <rth@redhat.com>
8873
8874 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
8875 (SINGLE_THREAD_P): Use the correct width load. Fold
8876 into the ldr offset.
8877
8878 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
8879 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
8880
8881 2014-05-20 Joseph Myers <joseph@codesourcery.com>
8882
8883 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
8884 (libgcc_s_resume): Use __attribute_used__.
8885 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
8886 Likewise.
8887
8888 2014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8889
8890 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
8891 optimization when used with float constants.
8892
8893 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8894
8895 2014-05-20 Aurelien Jarno <aurelien@aurel32.net>
8896
8897 [BZ #16915]
8898 * locale/nl_langinfo_l.c: Make direct reference to every
8899 _nl_current_CATEGORY symbol.
8900 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
8901 (tests-static): Add tst-langinfo-static.
8902 (tests-special): Add tst-langinfo-static.out.
8903 ($(objpfx)tst-langinfo.out): Redirect output.
8904 ($(objpfx)tst-langinfo-static.out): New.
8905 * localedata/tst-langinfo.sh: Send output to stdout.
8906 * localedata/tst-langinfo-static.c: New file.
8907
8908 [BZ #16965]
8909 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
8910 when the shift amount is modulo the limb size.
8911
8912 2014-05-20 Richard Henderson <rth@redhat.com>
8913
8914 [BZ #16967]
8915 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
8916 Change type of sa_flags from unsigned int to int.
8917
8918 [BZ #16966]
8919 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
8920
8921 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
8922
8923 2014-05-20 Will Newton <will.newton@linaro.org>
8924
8925 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
8926 Test the return value of the system call in the nocancel case.
8927
8928 2014-05-20 Will Newton <will.newton@linaro.org>
8929 Yvan Roux <yvan.roux@linaro.org>
8930
8931 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
8932 #include of asm/ptrace.h.
8933 (PTRACE_GET_THREAD_AREA): Remove #undef.
8934 (PTRACE_GETHBPREGS): Likewise.
8935 (PTRACE_SETHBPREGS): Likewise.
8936 (struct user_regs_struct): New structure.
8937 (struct user_fpsimd_struct): New structure.
8938 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
8939 #include of asm/ptrace.h and second #include of sys/user.h.
8940 (PTRACE_GET_THREAD_AREA): Remove #undef.
8941 (PTRACE_GETHBPREGS): Likewise.
8942 (PTRACE_SETHBPREGS): Likewise.
8943 (ELF_NGREG): Use new struct user_regs_struct.
8944 (elf_fpregset_t): Use new struct user_fpsimd_struct.
8945
8946 2014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8947
8948 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
8949 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
8950
8951 2014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
8952
8953 [BZ #16958]
8954 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
8955 membar to avoid block loads/stores to overlap previous stores.
8956
8957 2014-05-17 Richard Henderson <rth@redhat.com>
8958
8959 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
8960 Create the __##syscall_name##_nocancel entry point.
8961 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
8962 Remove; let the sysdep-cancel.h code create it.
8963
8964 2014-05-17 David S. Miller <davem@davemloft.net>
8965
8966 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
8967 Protect with __USE_GNU.
8968 (TIOCSET_TEMPT): Likewise.
8969 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
8970 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
8971 these are already provided in bits/ioctl-types.h
8972
8973 2014-05-16 Roland McGrath <roland@hack.frob.com>
8974
8975 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
8976 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
8977
8978 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
8979 Use wait4 regardless of [__NR_waitpid].
8980
8981 2014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
8982
8983 PR libgcc/60166
8984 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
8985 (_FP_NANSIGN_Q): Set the quiet bit.
8986
8987 2014-05-16 Joseph Myers <joseph@codesourcery.com>
8988
8989 * benchtests/Makefile
8990 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
8991 not $(common-objpfx)math/libm.so.
8992 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
8993 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
8994 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
8995 $(common-objpfx)dlfcn/libdl.so.
8996 ($(objpfx)tst-audit8): Depend on $(libm), not
8997 $(common-objpfx)math/libm.so.
8998 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
8999 not $(common-objpfx)dlfcn/libdl.so.
9000 * math/Makefile
9001 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
9002 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
9003 [$(build-shared) = yes].
9004 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
9005 $(common-objpfx)nptl/libpthread.so.
9006 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
9007 $(common-objpfx)math/libm.so$(libm.so-version) or
9008 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
9009 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
9010 $(common-objpfx)dlfcn/libdl.so.
9011 * setjmp/Makefile (link-libm): Remove variable.
9012 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
9013 * stdio-common/Makefile (link-libm): Remove variable.
9014 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
9015 * stdlib/Makefile (link-libm): Remove variable.
9016 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
9017 ($(objpfx)tst-strtod-round): Likewise.
9018 ($(objpfx)tst-tininess): Likewise.
9019 ($(objpfx)tst-strtod-underflow): Likewise.
9020 ($(objpfx)tst-strtod6): Likewise.
9021 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
9022 $(libdl), not $(common-objpfx)nptl/libpthread.so and
9023 $(common-objpfx)dlfcn/libdl.so.
9024
9025 2014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9026
9027 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
9028 BSD terminal modes definitions.
9029
9030 2014-05-16 Roland McGrath <roland@hack.frob.com>
9031
9032 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
9033 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
9034
9035 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
9036 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
9037 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
9038 Don't do #include_next.
9039 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
9040 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
9041 Don't do #include_next.
9042 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
9043 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
9044 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
9045 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
9046
9047 2014-05-16 Allan McRae <allan@archlinux.org>
9048
9049 * po/sv.po: Update Swedish translation from translation project.
9050
9051 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
9052 in sed expression.
9053
9054 2014-05-16 Aurelien Jarno <aurelien@aurel32.net>
9055
9056 [BZ #16917]
9057 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
9058 errno if the TIOCGPTN ioctl fails with an error different than
9059 EINVAL.
9060 * login/tst-ptsname.c: New file.
9061 * login/Makefile (tests): Add tst-ptsname.
9062
9063 [BZ #16943]
9064 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
9065 and prlimit64.
9066
9067 2014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
9068
9069 [BZ #16849]
9070 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
9071 herrno to return EAI_AGAIN.
9072
9073 2014-05-14 Roland McGrath <roland@hack.frob.com>
9074
9075 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
9076 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
9077 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
9078 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
9079 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
9080 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
9081 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
9082 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
9083 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
9084 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
9085 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
9086 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
9087 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
9088 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
9089 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
9090 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
9091 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
9092 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
9093 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
9094 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
9095 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
9096 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
9097 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
9098 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
9099 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
9100 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
9101 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
9102 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
9103 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
9104 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
9105 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
9106 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
9107 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
9108 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
9109 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
9110 Moved ...
9111 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
9112 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
9113 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
9114 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
9115 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
9116 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
9117 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
9118 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
9119 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
9120 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
9121 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
9122 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
9123 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
9124 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
9125 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
9126 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
9127 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
9128 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
9129 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
9130 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
9131 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
9132 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
9133 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
9134 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
9135 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
9136 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
9137 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
9138 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
9139 Moved ...
9140 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
9141 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
9142 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
9143 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
9144 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
9145 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
9146 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
9147 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
9148 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
9149 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
9150 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
9151 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
9152 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
9153 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
9154 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
9155 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
9156 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
9157 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
9158 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
9159 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
9160 Moved ...
9161 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
9162 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
9163 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
9164
9165 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
9166 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
9167 (libpthread-sysdep_routines): Add elision-related stuff here instead.
9168 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
9169 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
9170 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
9171 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
9172 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
9173 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
9174 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
9175 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
9176 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
9177 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
9178 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
9179 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
9180 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
9181 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
9182 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
9183 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
9184 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
9185 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
9186 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
9187 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
9188 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
9189 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
9190 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
9191 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
9192 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
9193 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
9194 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
9195 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
9196
9197 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
9198 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
9199
9200 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
9201 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
9202 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
9203 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
9204 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
9205 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
9206 Moved ...
9207 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
9208 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
9209 Moved ...
9210 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
9211 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
9212 Moved ...
9213 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
9214 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
9215 Moved ...
9216 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
9217 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
9218 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
9219 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
9220 Moved ...
9221 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
9222 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
9223 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
9224 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
9225 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
9226 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
9227 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
9228 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
9229 Moved ...
9230 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
9231 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
9232 Moved ...
9233 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
9234 ... here.
9235 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
9236 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
9237 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
9238 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
9239 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
9240 Moved ...
9241 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
9242 ... here.
9243 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
9244 Moved ...
9245 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
9246 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
9247 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
9248 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
9249 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
9250 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
9251 Moved ...
9252 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
9253 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
9254 Moved ...
9255 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
9256 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
9257 Moved ...
9258 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
9259 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
9260 Moved ...
9261 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
9262 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
9263 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
9264 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
9265 Moved ...
9266 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
9267 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
9268 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
9269 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
9270 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
9271 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
9272 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
9273 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
9274 Moved ...
9275 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
9276 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
9277 Moved ...
9278 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
9279 ... here.
9280 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
9281 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
9282 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
9283 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
9284 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
9285 Moved ...
9286 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
9287 ... here.
9288 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
9289 Moved ...
9290 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
9291 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
9292 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
9293 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
9294 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
9295 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
9296 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
9297 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
9298 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
9299 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
9300 Moved ...
9301 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
9302 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
9303 Moved ...
9304 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
9305 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
9306 Moved ...
9307 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
9308 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
9309 Moved ...
9310 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
9311 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
9312 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
9313 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
9314 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
9315 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
9316 Moved ...
9317 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
9318 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
9319 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
9320 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
9321 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
9322 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
9323 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
9324 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
9325 Moved ...
9326 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
9327 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
9328 Moved ...
9329 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
9330 ... here.
9331 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
9332 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
9333 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
9334 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
9335 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
9336 Moved ...
9337 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
9338 ... here.
9339 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
9340 Moved ...
9341 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
9342 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
9343 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
9344 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
9345 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
9346 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
9347 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
9348 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
9349 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
9350 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
9351 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
9352
9353 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
9354 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
9355
9356 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
9357 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
9358
9359 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
9360 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
9361 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
9362 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
9363 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
9364 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
9365 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
9366 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
9367 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
9368 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
9369 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
9370 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
9371 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
9372 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
9373 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
9374 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
9375 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
9376 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
9377 Moved ...
9378 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
9379 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
9380 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
9381 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
9382 Moved ...
9383 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
9384 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
9385 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
9386 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
9387 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
9388 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
9389 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
9390 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
9391 Moved ...
9392 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
9393 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
9394 Moved ...
9395 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
9396 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
9397 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
9398 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
9399 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
9400 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
9401 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
9402 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
9403 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
9404 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
9405 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
9406 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
9407 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
9408 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
9409 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
9410 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
9411 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
9412
9413 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
9414 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
9415 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
9416 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
9417 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
9418
9419 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
9420 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
9421 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
9422 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
9423 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
9424 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
9425 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
9426 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
9427 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
9428 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
9429
9430 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
9431 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
9432
9433 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
9434 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
9435 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
9436 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
9437 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
9438 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
9439 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
9440 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
9441 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
9442 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
9443 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
9444 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
9445 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
9446 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
9447 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
9448 Update #include.
9449 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
9450 Likewise.
9451 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
9452 Likewise.
9453 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
9454 Likewise.
9455 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
9456 Likewise.
9457 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
9458 Likewise.
9459 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
9460 Likewise.
9461 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
9462 Likewise.
9463 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
9464 Likewise.
9465 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
9466 Likewise.
9467 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
9468 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
9469 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
9470 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
9471 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
9472 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
9473 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
9474 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
9475 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
9476 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
9477 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
9478 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
9479 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
9480 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
9481 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
9482
9483 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
9484 that was previously under [RESET_PID].
9485 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
9486 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
9487 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
9488
9489 * sysdeps/i386/nptl/Implies: New file.
9490 * sysdeps/x86_64/nptl/Implies: New file.
9491 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
9492 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
9493 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
9494 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
9495
9496 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
9497 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
9498 (__libc_vfork): New strong alias.
9499 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
9500 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
9501
9502 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
9503 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
9504 (__libc_vfork): New strong alias.
9505 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
9506 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
9507
9508 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
9509 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
9510 (__libc_vfork): New strong alias.
9511 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
9512 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
9513 * nptl/pt-vfork.c: New file.
9514 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
9515 (libpthread: GLIBC_2.20): New version set (empty).
9516
9517 2014-05-14 Will Newton <will.newton@linaro.org>
9518
9519 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
9520 rather than #if.
9521
9522 2014-05-14 Joseph Myers <joseph@codesourcery.com>
9523
9524 [BZ #16564]
9525 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
9526 arguments with exponent 65 or above.
9527 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
9528 arguments 0x1p113L or above.
9529 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
9530 to arguments 0x1p107L or above.
9531 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
9532 positive arguments with exponent 65 or above.
9533 * math/auto-libm-test-in: Add more tests of log1p.
9534 * math/auto-libm-test-out: Regenerated.
9535
9536 [BZ #16928]
9537 * math/s_cacos.c (__cacos): Ensure zero real part of result from
9538 non-finite arguments is +0.
9539 * math/s_cacosf.c (__cacosf): Likewise.
9540 * math/s_cacosl.c (__cacosl): Likewise.
9541 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
9542 * sysdeps/i386/fpu/libm-test-ulps: Update.
9543 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9544
9545 [BZ #16927]
9546 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
9547 value.
9548 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
9549 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
9550 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
9551 for explicit high bit of mantissa when testing for argument equal
9552 to 1.
9553 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
9554 * sysdeps/i386/fpu/libm-test-ulps: Update.
9555 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9556
9557 [BZ #16516]
9558 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
9559 (__erf): Scale by 16 instead of 8 in potentially underflowing
9560 case. Ensure exception if result actually underflows.
9561 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
9562 (__erff): Scale by 16 instead of 8 in potentially underflowing
9563 case. Ensure exception if result actually underflows.
9564 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
9565 (efx8): Remove variable.
9566 (__erfl): Scale by 16 instead of 8 in potentially underflowing
9567 case. Ensure exception if result actually underflows.
9568 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
9569 (efx8): Remove variable.
9570 (__erfl): Scale by 16 instead of 8 in potentially underflowing
9571 case. Ensure exception if result actually underflows.
9572 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
9573 (efx8): Remove variable.
9574 (__erfl): Scale by 16 instead of 8 in potentially underflowing
9575 case. Ensure exception if result actually underflows.
9576 * math/auto-libm-test-in: Add more tests of erf.
9577 * math/auto-libm-test-out: Regenerated.
9578
9579 2014-05-14 Andreas Schwab <schwab@suse.de>
9580
9581 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
9582 Remove code conditionalized on USE___THREAD.
9583
9584 * config.h.in (HAVE_PT_CHOWN): Define as 0.
9585 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
9586 not definedness.
9587
9588 2014-05-14 Joseph Myers <joseph@codesourcery.com>
9589
9590 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
9591 Define unconditionally.
9592 (__ASSUME_O_CLOEXEC): Likewise.
9593 (__ASSUME_SOCK_CLOEXEC): Likewise.
9594 (__ASSUME_IN_NONBLOCK): Likewise.
9595 (__ASSUME_PIPE2): Likewise.
9596 (__ASSUME_EVENTFD2): Likewise.
9597 (__ASSUME_SIGNALFD4): Likewise.
9598 (__ASSUME_DUP3): Likewise.
9599 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
9600 (__ASSUME_DUP3): Do not define.
9601 (__ASSUME_EVENTFD2): Likewise.
9602 (__ASSUME_IN_NONBLOCK): Likewise.
9603 (__ASSUME_O_CLOEXEC): Likewise.
9604 (__ASSUME_PIPE2): Likewise.
9605 (__ASSUME_SIGNALFD4): Likewise.
9606 (__ASSUME_SOCK_CLOEXEC): Likewise.
9607 (__ASSUME_UTIMES): Undefine.
9608 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
9609 (__ASSUME_UTIMES): Do not define.
9610 (__ASSUME_O_CLOEXEC): Likewise.
9611 (__ASSUME_SOCK_CLOEXEC): Likewise.
9612 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
9613 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
9614 0x020621].
9615 (__ASSUME_PIPE2): Likewise.
9616 (__ASSUME_EVENTFD2): Likewise.
9617 (__ASSUME_SIGNALFD4): Likewise.
9618 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
9619 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
9620 Do not define.
9621 (__ASSUME_EVENTFD2): Likewise.
9622 (__ASSUME_SIGNALFD4): Likewise.
9623 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
9624 (__ASSUME_32BITUIDS): Likewise.
9625 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
9626 (__ASSUME_IPC64): Likewise.
9627 (__ASSUME_ST_INO_64_BIT): Likewise.
9628 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
9629 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
9630 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
9631 (__ASSUME_UTIMES): Do not define.
9632 (__ASSUME_PSELECT): Likewise.
9633 (__ASSUME_PPOLL): Likewise.
9634 (__ASSUME_O_CLOEXEC): Likewise.
9635 (__ASSUME_SOCK_CLOEXEC): Likewise.
9636 (__ASSUME_IN_NONBLOCK): Likewise.
9637 (__ASSUME_PIPE2): Likewise.
9638 (__ASSUME_EVENTFD2): Likewise.
9639 (__ASSUME_SIGNALFD4): Likewise.
9640 (__ASSUME_DUP3): Likewise.
9641 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
9642 (__ASSUME_UTIMES): Likewise.
9643 (__ASSUME_O_CLOEXEC): Likewise.
9644 (__ASSUME_SOCK_CLOEXEC): Likewise.
9645 (__ASSUME_IN_NONBLOCK): Likewise.
9646 (__ASSUME_PIPE2): Likewise.
9647 (__ASSUME_EVENTFD2): Likewise.
9648 (__ASSUME_SIGNALFD4): Likewise.
9649 (__ASSUME_DUP3): Likewise.
9650 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9651 (__ASSUME_UTIMES): Likewise.
9652 (__ASSUME_O_CLOEXEC): Likewise.
9653 (__ASSUME_SOCK_CLOEXEC): Likewise.
9654 (__ASSUME_IN_NONBLOCK): Likewise.
9655 (__ASSUME_PIPE2): Likewise.
9656 (__ASSUME_EVENTFD2): Likewise.
9657 (__ASSUME_SIGNALFD4): Likewise.
9658 (__ASSUME_DUP3): Likewise.
9659 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
9660 Likewise.
9661 (__ASSUME_UTIMES): Likewise.
9662 (__ASSUME_EVENTFD2): Likewise.
9663 (__ASSUME_SIGNALFD4): Likewise.
9664 * sysdeps/unix/sysv/linux/tile/kernel-features.h
9665 (__ASSUME_O_CLOEXEC): Likewise.
9666 (__ASSUME_SOCK_CLOEXEC): Likewise.
9667 (__ASSUME_IN_NONBLOCK): Likewise.
9668 (__ASSUME_PIPE2): Likewise.
9669 (__ASSUME_EVENTFD2): Likewise.
9670 (__ASSUME_SIGNALFD4): Likewise.
9671 (__ASSUME_DUP3): Likewise.
9672 (__ASSUME_UTIMES): Undefine.
9673
9674 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
9675 feclearexcept. Remove symbol versioning code.
9676 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
9677 symbol versioning code.
9678 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
9679 symbol versioning code.
9680 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
9681 feupdateenv. Remove symbol versioning code.
9682 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
9683 fegetexceptflag. Remove symbol versioning code.
9684 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
9685 fesetexceptflag. Remove symbol versioning code.
9686 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
9687 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
9688 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
9689 (__posix_fadvise64_l32): Remove prototype.
9690 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
9691 code.
9692
9693 2014-05-13 Roland McGrath <roland@hack.frob.com>
9694
9695 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
9696 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
9697 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
9698 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
9699
9700 2014-05-13 Sami Kerola <kerolasa@iki.fi>
9701
9702 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
9703 current working directory
9704
9705 2014-05-13 Roland McGrath <roland@hack.frob.com>
9706
9707 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
9708 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
9709 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
9710 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
9711 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
9712 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
9713 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
9714 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
9715 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
9716 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
9717 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
9718 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
9719 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
9720 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
9721 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
9722 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
9723 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
9724 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
9725 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
9726 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
9727 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
9728 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
9729 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
9730 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
9731 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
9732 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
9733 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
9734 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
9735 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
9736 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
9737 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
9738 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
9739 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
9740 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
9741 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
9742 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
9743 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
9744 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
9745 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
9746 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
9747 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
9748 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
9749
9750 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
9751 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
9752
9753 * sysdeps/unix/sysv/linux/arm/Makefile
9754 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
9755 Add rt-aeabi_unwind_cpp_pr1.
9756 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
9757 Add nptl-aeabi_unwind_cpp_pr1.
9758 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
9759 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
9760 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
9761 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
9762 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
9763 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
9764
9765 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
9766 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
9767 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
9768 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
9769
9770 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
9771 Deconditionalize the code that was previously under [RESET_PID].
9772 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
9773
9774 * sysdeps/generic/exit-thread.h: New file.
9775 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
9776 * include/unistd.h (__exit_thread): Remove declaration.
9777 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
9778 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
9779 * csu/libc-start.c: Include <exit-thread.h>.
9780 (LIBC_START_MAIN): Pass no argument to __exit_thread.
9781 * nptl/pthread_create.c: Include <exit-thread.h>.
9782 (start_thread): Call __exit_thread in place of __exit_thread_inline.
9783 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
9784 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
9785 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
9786 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
9787 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
9788 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
9789 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
9790 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
9791 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
9792 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
9793 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
9794 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
9795 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
9796 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
9797 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
9798 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
9799
9800 2014-05-13 Andreas Schwab <schwab@suse.de>
9801
9802 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
9803
9804 2014-05-12 Joseph Myers <joseph@codesourcery.com>
9805
9806 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
9807 (__ASSUME_UTIMES): Do not condition on kernel version.
9808 (__ASSUME_PSELECT): Define unconditionally.
9809 (__ASSUME_PPOLL): Likewise.
9810 (__ASSUME_ATFCTS): Likewise.
9811 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
9812 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
9813 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
9814 (__ASSUME_UTIMENSAT): Define unconditionally.
9815 (__ASSUME_PRIVATE_FUTEX): Likewise.
9816 (__ASSUME_FALLOCATE): Likewise.
9817 (__ASSUME_O_CLOEXEC): Likewise.
9818 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
9819 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
9820 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
9821 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
9822 (__ASSUME_IN_NONBLOCK): Likewise.
9823 (__ASSUME_PIPE2): Likewise.
9824 (__ASSUME_EVENTFD2): Likewise.
9825 (__ASSUME_SIGNALFD4): Likewise.
9826 (__ASSUME_DUP3): Likewise.
9827 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
9828 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
9829 (__ASSUME_AT_RANDOM): Likewise.
9830 (__ASSUME_PREADV): Likewise.
9831 (__ASSUME_PWRITEV): Likewise.
9832 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
9833 (__ASSUME_F_GETOWN_EX): Define unconditionally.
9834 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
9835 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
9836 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
9837 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
9838 (__ASSUME_O_CLOEXEC): Define unconditionally.
9839 (__ASSUME_PSELECT): Do not undefine conditionally.
9840 (__ASSUME_PPOLL): Likewise.
9841 (__ASSUME_ATFCTS): Likewise.
9842 (__ASSUME_SET_ROBUST_LIST): Likewise.
9843 (__ASSUME_UTIMENSAT): Likewise.
9844 (__ASSUME_FDATASYNC): Define unconditionally.
9845 * sysdeps/unix/sysv/linux/arm/kernel-features.h
9846 (__ASSUME_SIGFRAME_V2): Likewise.
9847 )__ASSUME_EVENTFD2): Likewise.
9848 (__ASSUME_SIGNALFD4): Likewise.
9849 (__ASSUME_PSELECT): Do not undefine conditionally.
9850 (__ASSUME_PPOLL): Likewise.
9851 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
9852 (__ASSUME_PSELECT): Define unconditionally.
9853 (__ASSUME_PPOLL): Likewise.
9854 (__ASSUME_O_CLOEXEC): Likewise.
9855 (__ASSUME_SOCK_CLOEXEC): Likewise.
9856 (__ASSUME_IN_NONBLOCK): Likewise.
9857 (__ASSUME_PIPE2): Likewise.
9858 (__ASSUME_EVENTFD2): Likewise.
9859 (__ASSUME_SIGNALFD4): Likewise.
9860 (__ASSUME_DUP3): Likewise.
9861 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
9862 (__ASSUME_O_CLOEXEC): Likewise.
9863 (__ASSUME_SOCK_CLOEXEC): Likewise.
9864 (__ASSUME_IN_NONBLOCK): Likewise.
9865 (__ASSUME_PIPE2): Likewise.
9866 (__ASSUME_EVENTFD2): Likewise.
9867 (__ASSUME_SIGNALFD4): Likewise.
9868 (__ASSUME_DUP3): Likewise.
9869 * sysdeps/unix/sysv/linux/mips/kernel-features.h
9870 (__ASSUME_EVENTFD2): Likewise.
9871 (__ASSUME_SIGNALFD4): Likewise.
9872 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
9873
9874 2014-05-12 Andreas Schwab <schwab@suse.de>
9875
9876 [BZ #16932]
9877 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
9878 (_nss_nis_gethostbyname4_r): Return error if item length is larger
9879 than maximum RPC packet size.
9880 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
9881 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
9882 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
9883 (_nss_nis_getservbyport_r): Likewise.
9884
9885 2014-05-12 Will Newton <will.newton@linaro.org>
9886
9887 * malloc/Makefile (tests): Add tst-mallopt.
9888 * malloc/tst-mallopt.c: New file.
9889
9890 2014-05-09 Roland McGrath <roland@hack.frob.com>
9891
9892 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
9893 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
9894
9895 2014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9896
9897 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
9898 (tst-tlsmod6.so): Likewise.
9899
9900 2014-05-09 Roland McGrath <roland@hack.frob.com>
9901
9902 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
9903
9904 2014-05-09 Joseph Myers <joseph@codesourcery.com>
9905
9906 [BZ #16064]
9907 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
9908 and <dl-procinfo.h>.
9909 (__fegetenv): Save SSE state in envp->__eip if supported.
9910 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
9911 envp->__eip if supported.
9912 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
9913 and <dl-procinfo.h>.
9914 (__fesetenv): Always set __eip, __cs_selector, __opcode,
9915 __data_offset and __data_selector in environment to 0. Set SSE
9916 state if supported.
9917 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
9918 test-fenv-sse.
9919 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
9920 -mfpmath=sse.
9921 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
9922
9923 2014-05-09 Will Newton <will.newton@linaro.org>
9924
9925 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
9926 and libc_relro_required for ARM.
9927 * sysdeps/arm/preconfigure: Regenerate.
9928
9929 2014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
9930 Stefan Liebler <stli@linux.vnet.ibm.com>
9931
9932 * config.make.in (enable-lock-elision): New Makefile variable.
9933 * configure.ac: Likewise.
9934 * configure: Regenerate.
9935 * sysdeps/s390/configure.ac:
9936 Add check for gcc transactions support.
9937 * sysdeps/s390/configure: Regenerate.
9938 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
9939 Build elision files if enabled.
9940 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
9941 Add lock elision support for s390.
9942 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
9943 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
9944 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
9945 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
9946 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
9947 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
9948 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
9949 Likewise.
9950 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
9951 Likewise.
9952 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
9953 Likewise.
9954 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
9955 Likewise.
9956 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
9957 (__lll_timedlock_elision, __lll_lock_elision)
9958 (__lll_unlock_elision, __lll_trylock_elision)
9959 (lll_timedlock_elision, lll_lock_elision)
9960 (lll_unlock_elision, lll_trylock_elision): Add.
9961 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
9962 (pthread_mutex_t): Add lock elision support for s390.
9963
9964 2014-05-14 Wilco <wdijkstr@arm.com>
9965
9966 * sysdeps/arm/fclrexcpt.c: Cleanup.
9967 * sysdeps/arm/fedisblxcpt.c: Cleanup.
9968 * sysdeps/arm/feenablxcpt.c: Cleanup.
9969 * sysdeps/arm/fegetenv.c: Cleanup.
9970 * sysdeps/arm/fegetexcept.c: Cleanup.
9971 * sysdeps/arm/fegetround.c: Cleanup.
9972 * sysdeps/arm/feholdexcpt.c: Cleanup.
9973 * sysdeps/arm/fesetenv.c: Cleanup.
9974 * sysdeps/arm/fesetround.c: Cleanup.
9975 * sysdeps/arm/feupdateenv.c: Cleanup.
9976 * sysdeps/arm/fgetexcptflg.c: Cleanup.
9977 * sysdeps/arm/fraiseexcpt.c: Cleanup.
9978 * sysdeps/arm/fsetexcptflg.c: Cleanup.
9979 * sysdeps/arm/ftestexcept.c: Cleanup.
9980 * sysdeps/arm/get-rounding-mode.h: Cleanup.
9981 * sysdeps/arm/setfpucw.c: Cleanup.
9982
9983 2014-05-09 Will Newton <will.newton@linaro.org>
9984
9985 * sysdeps/arm/armv7/strcmp.S: New file.
9986 * NEWS: Mention addition of ARMv7 optimized strcmp.
9987
9988 2014-05-08 Roland McGrath <roland@hack.frob.com>
9989
9990 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
9991 look for %.ac rather than %.in.
9992
9993 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
9994 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
9995 * sysdeps/mach/hurd/configure: Regenerated.
9996 * sysdeps/unix/sysv/linux/configure: Regenerated.
9997
9998 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
9999
10000 2014-05-07 Steve Ellcey <sellcey@mips.com>
10001
10002 [BZ# 16922]
10003 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
10004 (LONG_SUB): Ditto.
10005 (PTR_SUB): Ditto.
10006
10007 2014-05-07 Andreas Schwab <schwab@suse.de>
10008
10009 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
10010 when skipping over non-matching result from nscd.
10011
10012 2014-05-07 Ondřej Bílka <neleai@seznam.cz>
10013
10014 [BZ #16876]
10015 * nptl/sockperf.c (client): Check socket return value.
10016
10017 [BZ #16877]
10018 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
10019 nscd security class.
10020
10021 2014-05-06 Roland McGrath <roland@hack.frob.com>
10022
10023 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
10024 * sysdeps/arm/unwind.h: ... here.
10025
10026 2014-05-06 Aurelien Jarno <aurelien@aurel32.net>
10027
10028 [BZ# 16916]
10029 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
10030 Define.
10031
10032 2014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
10033
10034 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
10035 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
10036 multiarch strncpy for PPC64.
10037 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
10038 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
10039 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
10040 multiarch optimizations.
10041 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
10042 (__libc_ifunc_impl_list): Likewise.
10043 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
10044 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
10045 multiarch stpncpy for PPC64.
10046 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
10047 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
10048
10049 2014-05-06 Andreas Schwab <schwab@suse.de>
10050
10051 [BZ #16912]
10052 * gmon/mcount.c (_MCOUNT_DECL): Use
10053 atomic_compare_and_exchange_bool_acq instead of
10054 catomic_compare_and_exchange_bool_acq.
10055
10056 2014-05-05 Roland McGrath <roland@hack.frob.com>
10057
10058 * elf/Makefile (others, install-bin): Remove pldd.
10059 (pldd-modules): Variable removed.
10060 ($(objpfx)pldd): Target removed.
10061 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
10062 (others, install-bin): Append pldd here.
10063 ($(objpfx)pldd): New target.
10064
10065 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
10066 to 0, so the first #if test emitted later doesn't see it undefined.
10067 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
10068 * sysdeps/gnu/errlist.c: Regenerated.
10069
10070 2014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10071
10072 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
10073 [libc_hidden_builtin_def]: Define to empty value.
10074 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
10075 [libc_hidden_builtin_def]: Likewise.
10076 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
10077 [libc_hidden_builtin_def]: Likewise.
10078 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
10079 [libc_hidden_builtin_def]: Likewise.
10080 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
10081 __redirect_memcpy and define ifunc as default hidden symbol.
10082 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
10083 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
10084
10085 2014-05-04 Adam Conrad <adconrad@0c3.net>
10086
10087 * locale/iso-4217.def: Reintroduce XDR currency.
10088
10089 2014-05-04 Allan McRae <allan@archlinux.org>
10090
10091 * po/eo.po: Update Esperanto translation from translation project.
10092
10093 2014-05-02 Carlos O'Donell <carlos@redhat.com>
10094
10095 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
10096 and FEATURE_INDEX_MAX to 1.
10097 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
10098
10099 2014-05-01 Steve Ellcey <sellcey@mips.com>
10100
10101 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
10102 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
10103 * iconvdata/big5.c (ONE_DIRECTION): Define.
10104 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
10105 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
10106 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
10107 * iconvdata/cp932.c (ONE_DIRECTION): Define.
10108 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
10109 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
10110 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
10111 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
10112 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
10113 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
10114 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
10115 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
10116 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
10117 * iconvdata/gbk.c (ONE_DIRECTION): Define.
10118 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
10119 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
10120 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
10121 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
10122 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
10123 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
10124 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
10125 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
10126 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
10127 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
10128 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
10129 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
10130 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
10131 * iconvdata/iso646.c (ONE_DIRECTION): Define.
10132 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
10133 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
10134 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
10135 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
10136 * iconvdata/johab.c (ONE_DIRECTION): Define.
10137 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
10138 * iconvdata/sjis.c (ONE_DIRECTION): Define.
10139 * iconvdata/t.61.c (ONE_DIRECTION): Define.
10140 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
10141 * iconvdata/tscii.c (ONE_DIRECTION): Define.
10142 * iconvdata/uhc.c (ONE_DIRECTION): Define.
10143 * iconvdata/unicode.c (ONE_DIRECTION): Define.
10144 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
10145 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
10146 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
10147
10148 2014-05-01 Roland McGrath <roland@hack.frob.com>
10149
10150 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
10151 (_IO_JUMPS_OFFSET): Define to 0.
10152
10153 * nptl/sysdeps/pthread/bits/libc-lock.h
10154 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
10155 (__libc_lock_define_initialized_recursive): Always define using
10156 initializer. Modern compilers treat uninitialized (implicit zero) and
10157 explicit zero initializers the same (i.e. put the datum in bss).
10158
10159 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
10160
10161 * nscd/nscd-client.h: Include <string.h>.
10162
10163 2014-05-01 David S. Miller <davem@davemloft.net>
10164
10165 [BZ #16885]
10166 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
10167 multiple zero bytes exist at the end of a string.
10168 Reported by Aurelien Jarno <aurelien@aurel32.net>
10169
10170 * string/test-strcmp.c (check): Add explicit test for situations where
10171 there are multiple zero bytes after the first.
10172
10173 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
10174
10175 [BZ #16890]
10176 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
10177 when compiling wprintf.
10178 * stdio-common/tstdiomisc.c (t3): New function.
10179 (main): Call it.
10180
10181 2014-05-01 Steve Ellcey <sellcey@mips.com>
10182
10183 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
10184 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
10185 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
10186 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
10187
10188 2014-05-01 Steve Ellcey <sellcey@mips.com>
10189
10190 * stdlib/longlong.h: Updated from GCC.
10191
10192 2014-05-01 Will Newton <will.newton@linaro.org>
10193 Bernard Ogden <bernie.ogden@linaro.org>
10194
10195 * NEWS: Update fixed bug list.
10196
10197 [BZ #15119]
10198 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
10199
10200 2014-04-30 David S. Miller <davem@davemloft.net>
10201
10202 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
10203 (libc_feholdexcept_setround_sparc_ctx): New function.
10204 (libc_fesetenv_sparc_ctx): Likewise.
10205 (libc_feupdateenv_sparc_ctx): Likewise.
10206 (libc_feholdsetround_sparc_ctx): Likewise.
10207 (libc_feholdexcept_setround_ctx): Define.
10208 (libc_feholdexcept_setroundf_ctx): Likewise.
10209 (libc_feholdexcept_setroundl_ctx): Likewise.
10210 (libc_fesetenv_ctx): Likewise.
10211 (libc_fesetenvf_ctx): Likewise.
10212 (libc_fesetenvl_ctx): Likewise.
10213 (libc_feupdateenv_ctx): Likewise.
10214 (libc_feupdateenvf_ctx): Likewise.
10215 (libc_feupdateenvl_ctx): Likewise.
10216 (libc_feresetround_ctx): Likewise.
10217 (libc_feresetroundf_ctx): Likewise.
10218 (libc_feresetroundl_ctx): Likewise.
10219 (libc_feholdsetround_ctx): Likewise.
10220 (libc_feholdsetroundf_ctx): Likewise.
10221 (libc_feholdsetroundl_ctx): Likewise.
10222
10223 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
10224 with __USE_GNU instead of XOPEN cpp guards.
10225
10226 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
10227 0.
10228
10229 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
10230 with XOPEN cpp guards.
10231
10232 2014-04-30 Julian Brown <julian@codesourcery.com>
10233
10234 [BZ #16888]
10235 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
10236 handling.
10237
10238 2014-04-30 Joseph Myers <joseph@codesourcery.com>
10239
10240 [BZ #9894]
10241 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
10242 Change to 2.6.32.
10243 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
10244 * sysdeps/unix/sysv/linux/configure: Regenerated.
10245 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
10246 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
10247 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
10248 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
10249 * README: Update reference to required Linux kernel version.
10250 * manual/install.texi (Linux): Update reference to required Linux
10251 kernel headers version.
10252 * INSTALL: Regenerated.
10253
10254 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
10255 header inclusion.
10256 [POSIX] (limits.h): Likewise.
10257 [POSIX] (math.h): Likewise.
10258 [POSIX] (sys/wait.h): Likewise.
10259 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
10260 function.
10261 [POSIX] (stddef.h): Do not allow header inclusion.
10262
10263 2014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10264
10265 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
10266
10267 2014-04-30 Yang Yingliang <yangyingliang@huawei.com>
10268
10269 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
10270 Return immediately after lll_futex_wake.
10271
10272 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
10273
10274 [BZ #16791]
10275 * nscd/nscd-client.h (datahead_init_common): Initialize entire
10276 structure.
10277 (datahead_init_pos): Call datahead_init_common early.
10278 (datahead_init_neg): Likewise.
10279
10280 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
10281 datahead_init_neg): New functions.
10282 * nscd/aicache.c (addhstaiX): Use them.
10283 * nscd/grpcache.c (cache_addgr): Likewise.
10284 * nscd/hstcache.c (cache_addhst): Likewise.
10285 * nscd/initgrcache.c (addinitgroupsX): Likewise.
10286 * nscd/netgroupcache.c (do_notfound): Likewise.
10287 (addgetnetgrentX): Likewise.
10288 (addinnetgrX): Likewise.
10289 * nscd/pwdcache.c (cache_addpw): Likewise.
10290 * nscd/servicescache.c (cache_addserv): Likewise.
10291
10292 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
10293 Atsushi Onoe <atsushi@onoe.org>
10294
10295 [BZ #14308]
10296 [BZ #12994]
10297 [BZ #13651]
10298 * resolv/res_query.c (__libc_res_nsearch): Return if at least
10299 one response is valid.
10300 * resolv/res_send.c (send_dg): Check for validity of other
10301 response if the current response is a referral.
10302
10303 2014-04-29 Steve Ellcey <sellcey@mips.com>
10304
10305 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
10306
10307 2014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
10308
10309 [BZ #16823]
10310 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
10311 Always divide by positive zero when computing -Inf result.
10312 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
10313 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
10314
10315 2014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10316
10317 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
10318 FPSCR if value do not change.
10319 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
10320 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
10321 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
10322 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
10323 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
10324 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
10325 function.
10326
10327 2014-05-29 Carlos O'Donell <carlos@systemhalted.org>
10328
10329 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
10330 * sysdeps/unix/sysv/linux/hppa: Move directory from
10331 ports/systeps/unix/sysv/linux/hppa.
10332 * README: Update listing for hppa-*-linux-gnu.
10333
10334 2014-04-28 Ondřej Bílka <neleai@seznam.cz>
10335
10336 [BZ #16754]
10337 * manual/stdio.texi (Hook functions): Fix types of stream hook
10338 functions.
10339 [BZ #16854]
10340 * socket/sys/socket.h: Fix typo in comment.
10341
10342 2014-04-28 Wilco <wdijkstr@arm.com>
10343
10344 * sysdeps/arm/fenv_private.h: New file.
10345 * sysdeps/arm/math_private.h: New file.
10346 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
10347
10348 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
10349
10350 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
10351 with __int128_t.
10352 (La_x86_64_retval): Likewise.
10353
10354 2014-04-24 Ian Bolton <ian.bolton@arm.com>
10355
10356 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
10357 fpsr if value didn't change.
10358 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
10359 to fpcr if value didn't change.
10360 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
10361 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
10362 fpsr or fpcr if value didn't change.
10363 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
10364 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
10365 fpcr if value didn't change.
10366 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
10367 to fpsr if value didn't change.
10368
10369 2014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
10370
10371 * nptl/tst-sem3.c: Use test-skeleton.c
10372 (main): Rename to do_test. Use return instead of
10373 exit.
10374 * nptl/tst-sem4.c: Use test-skeleton.c
10375 (main): Rename to do_test.
10376
10377 2014-04-22 David S. Miller <davem@davemloft.net>
10378
10379 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
10380 (struct sigaction): New struct member __glibc_reserved0, change
10381 type of sa_flags to int.
10382
10383 2014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
10384
10385 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
10386 (COUNT_LEADING_ZEROS_0): Define for AArch64.
10387
10388 2014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
10389
10390 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
10391 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
10392
10393 2014-04-22 Will Newton <will.newton@linaro.org>
10394 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
10395
10396 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
10397 (__longjmp): Add longjmp and longjmp_target SystemTap
10398 probes.
10399 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
10400 (__sigsetjmp): Add setjmp SystemTap probe.
10401
10402 2014-04-17 Carlos O'Donell <carlos@redhat.com>
10403
10404 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
10405 match manual order.
10406
10407 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10408
10409 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
10410
10411 * sysdeps/powerpc/fpu/fenv_private.h
10412 (libc_feholdexcept_setroundl_ctx): Define to
10413 libc_feholdexcept_setround_ppc_ctx.
10414 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
10415 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
10416 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
10417 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
10418
10419 2014-04-17 Ian Bolton <ian.bolton@arm.com>
10420
10421 * sysdeps/aarch64/math-tests.h: New file.
10422
10423 2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
10424
10425 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
10426 New.
10427 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10428 Check and set bit_AVX2_Usable.
10429 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
10430 macro.
10431 (bit_AVX2): Likewise.
10432 (index_AVX2_Usable): Likewise.
10433 (CPUID_AVX2): Likewise.
10434 (HAS_AVX2): Likewise.
10435
10436 2014-04-17 Will Newton <will.newton@linaro.org>
10437
10438 * manual/setjmp.texi (System V contexts): Add note that
10439 calling setcontext on a context created by a call to a
10440 signal handler is undefined. Update text to note that
10441 setcontext from a signal handler is possible but not
10442 recommended.
10443
10444 [BZ #16629]
10445 * stdlib/tst-setcontext.c: Include signal.h.
10446 (main): Check that the signal stack before and
10447 after swapcontext is the same.
10448
10449 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
10450 Re-implement to restore registers in user code and avoid
10451 rt_sigreturn system call.
10452
10453 2014-04-17 Wilco <wdijkstr@arm.com>
10454
10455 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
10456 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
10457 * math/test-fenv.c: Skip exception trap tests on targets which only
10458 support non-stop mode.
10459
10460 2014-04-17 Ian Bolton <ian.bolton@arm.com>
10461 Wilco Dijkstra <wilco.dijkstra@arm.com>
10462
10463 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
10464 (libc_feholdsetround_aarch64_ctx)
10465 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
10466 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
10467 (libc_feresetround_ctx, libc_feresetroundf_ctx)
10468 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
10469 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
10470 (libc_feresetround_noexl_ctx): Define.
10471
10472 2014-04-16 Richard Henderson <rth@redhat.com>
10473
10474 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
10475
10476 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
10477 unwind tables.
10478
10479 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
10480 const from the non-libc, non-ldso copy.
10481
10482 * sysdeps/alpha/libm-test-ulps: Regenerate.
10483
10484 2014-04-16 Ian Bolton <ian.bolton@arm.com>
10485 Wilco Dijkstra <wilco.dijkstra@arm.com>
10486
10487 * sysdeps/aarch64/fpu/math_private.h: New file.
10488
10489 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
10490
10491 * sysdeps/aarch64/libm-test-ulps: Regenerate.
10492
10493 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
10494
10495 [BZ #16275]
10496 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
10497 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
10498 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
10499 Intel MPX bound registers before _dl_profile_fixup.
10500 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
10501 registers after _dl_profile_fixup. Save and restore bound
10502 registers bnd0/bnd1 when calling _dl_call_pltexit.
10503 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
10504 (LR_BND_OFFSET): Likewise.
10505 (LRV_BND0_OFFSET): Likewise.
10506 (LRV_BND1_OFFSET): Likewise.
10507
10508 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
10509
10510 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
10511 to...
10512 * sysdeps/mach/hurd/i386/tls.h: ... here.
10513 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
10514 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
10515 fields.
10516
10517 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
10518
10519 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
10520
10521 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
10522
10523 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
10524
10525 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
10526
10527 [BZ #14770]
10528 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
10529 * sysdeps/s390/configure: Regenerate.
10530
10531 [BZ #16824]
10532 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
10533 Set round-to-nearest internally to reduce error accumulation.
10534
10535 2014-04-16 Alan Modra <amodra@gmail.com>
10536
10537 [BZ #16740]
10538 [BZ #16619]
10539 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
10540 * math/libm-test.inc (frexp_test_data): Add tests.
10541 * NEWS: Update fixed bug list.
10542
10543 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
10544
10545 * benchtests/Makefile: Depend on libraries in build directory.
10546 (bench-math): Separate out math tests.
10547 (bench-pthread): Separate out pthread tests.
10548 (bench): Include math and pthread tests.
10549
10550 2014-04-14 Carlos O'Donell <carlos@redhat.com>
10551
10552 [BZ #16831]
10553 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
10554 _dl_debug_initialize.
10555
10556 * configure.ac: Remove SELinux header check.
10557 * configure: Regenerate.
10558 * nscd/selinux.c (perms): Array of const char* to permission names.
10559 (nscd_request_avc_has_perm): Call security_deny_unknown to find
10560 default policy. Call string_to_security_class and string_to_av_perm to
10561 translate strings. Enforce default policy and call avs_has_perm with
10562 results of translated strings.
10563
10564 2014-04-13 David S. Miller <davem@davemloft.net>
10565
10566 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10567
10568 2014-04-12 Allan McRae <allan@archlinux.org>
10569
10570 [BZ #16838]
10571 * manual/string.texi (Collation Functions): Fix qsort argument
10572 order in example.
10573 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
10574
10575 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
10576
10577 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
10578 Make the test a no-op if there are no exceptions defined.
10579
10580 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
10581
10582 * elf/Makefile (tests): make tst-dlopen-aout conditional on
10583 enable-hardcoded-path-in-tests
10584
10585 2014-04-11 Will Newton <will.newton@linaro.org>
10586
10587 * benchtests/Makefile (extra-objs): Add json-lib.o.
10588 (bench-func): Tidy up JSON output.
10589 * benchtests/bench-skeleton.c: Include json-lib.h.
10590 (main): Use JSON library functions to do output of
10591 benchmark results.
10592 * benchtests/bench-timing-type.c (main): Output the
10593 timing type simply, leaving formatting to the user.
10594 * benchtests/json-lib.c: New file.
10595 * benchtests/json-lib.h: Likewise.
10596
10597 2014-04-11 Torvald Riegel <triegel@redhat.com>
10598
10599 [BZ #15215]
10600 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
10601 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
10602 memory barriers. Add comments.
10603 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
10604 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
10605 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
10606 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
10607 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
10608 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
10609
10610 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
10611
10612 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
10613 * sysdeps/s390/s390-64/configure.ac: ... this ...
10614 * sysdeps/s390/configure.ac: ... to here.
10615 * sysdeps/s390/s390-32/configure: Delete file.
10616 * sysdeps/s390/s390-64/configure: Delete file.
10617 * sysdeps/s390/configure: Regenerate.
10618
10619 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
10620
10621 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
10622
10623 2014-04-11 Will Newton <will.newton@linaro.org>
10624
10625 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
10626 to zero if it is not defined elsewhere. (mtrim): Test
10627 the value of MALLOC_DEBUG with #if rather than #ifdef.
10628
10629 2014-04-10 Torvald Riegel <triegel@redhat.com>
10630
10631 * benchtests/pthread_once-inputs: New file.
10632 * benchtests/pthread_once-source.c: New file.
10633 * benchtests/README: Update documentation.
10634
10635 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
10636 H.J. Lu <hongjiu.lu@intel.com>
10637
10638 [BZ #16275]
10639 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
10640 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
10641 * sysdeps/x86_64/configure: Regenerated.
10642 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
10643 macro.
10644 (REGISTER_SAVE_RAX): Likewise.
10645 (REGISTER_SAVE_RCX): Likewise.
10646 (REGISTER_SAVE_RDX): Likewise.
10647 (REGISTER_SAVE_RSI): Likewise.
10648 (REGISTER_SAVE_RDI): Likewise.
10649 (REGISTER_SAVE_R8): Likewise.
10650 (REGISTER_SAVE_R9): Likewise.
10651 (REGISTER_SAVE_BND0): Likewise.
10652 (REGISTER_SAVE_BND1): Likewise.
10653 (REGISTER_SAVE_BND2): Likewise.
10654 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
10655 bound registers when calling _dl_fixup.
10656
10657 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10658
10659 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
10660 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
10661 of its definition.
10662 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
10663 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
10664 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
10665 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
10666 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
10667 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
10668 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
10669
10670 2014-04-09 Peter Brett <peter@peter-b.co.uk>
10671
10672 [BZ #15514]
10673 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
10674 pathconf(_PC_NAME_MAX).
10675
10676 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10677
10678 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
10679 Remove macro usage.
10680 (__PTHREAD_SPINS): Move definition to ...
10681 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
10682 (__PTHREAD_SPINS): ... here.
10683 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
10684 (__PTHREAD_SPIN): Likewise.
10685 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
10686 (__PTHREAD_SPIN): Likewise.
10687 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
10688 (__PTHREAD_SPIN): Likewise.
10689 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
10690 (__PTHREAD_SPIN): Likewise.
10691 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
10692 (__PTHREAD_SPIN): Likewise.
10693 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
10694 (__PTHREAD_SPIN): Likewise.
10695 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
10696 (__PTHREAD_SPIN): Likewise.
10697 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
10698 (__PTHREAD_SPIN): Likewise.
10699 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
10700 (__PTHREAD_SPIN): Likewise.
10701 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
10702 (__PTHREAD_SPIN): Likewise.
10703 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
10704 (__PTHREAD_SPIN): Likewise.
10705 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
10706 (__PTHREAD_SPIN): Likewise.
10707
10708 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
10709 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
10710 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
10711 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
10712 imply folder.
10713 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
10714 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
10715 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
10716 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
10717 correct imply path.
10718 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
10719 strlen symbol for non multi-arch builds.
10720 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
10721 missing hidden_def and weak_alias.
10722
10723 2014-04-08 Carlos O'Donell <carlos@redhat.com>
10724
10725 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
10726
10727 2014-04-07 Will Newton <will.newton@linaro.org>
10728
10729 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
10730 and contents. [!_LIBC] Remove #ifndef and contents.
10731 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
10732 * string/memccpy.c (__memccpy): Use ANSI prototype.
10733 * string/memfrob.c (memfrob): Likewise.
10734 * string/strcoll.c (STRCOLL): Likewise.
10735 * string/strlen.c (strlen): Likewise.
10736 * string/strtok.c (STRTOK): Likewise.
10737 * string/strcat.c: Remove unused #include of memcopy.h.
10738 (strcat): Use ANSI prototype.
10739 * string/strchr.c: Remove unused #include of memcopy.h.
10740 (strchr): Use ANSI prototype.
10741 * string/strcmp.c: Remove unused #include of memcopy.h.
10742 (strcmp): Use ANSI prototype.
10743 * string/strcpy.c: Remove unused #include of memcopy.h.
10744 (strcpy): Use ANSI prototype.
10745
10746 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10747
10748 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
10749 * config.make.in (config-extra-cppflags): Set it from
10750 libc_extra_cppflags.
10751 * configure.ac (libc_extra_cflags): Make it accumulate over
10752 configure fragments.
10753 (libc_extra_cppflags): New flag.
10754 * configure. Regenerate.
10755 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
10756 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
10757 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
10758 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
10759
10760 [BZ #16815]
10761 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
10762 result for FE_DOWNWARD rounding mode.
10763 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
10764 Likewise.
10765 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10766
10767 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
10768
10769 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
10770 in function argument name.
10771
10772 2014-04-03 David Svoboda <svoboda@cert.org>
10773
10774 [BZ #5666]
10775 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
10776 explicitly.
10777
10778 2014-04-03 Roland McGrath <roland@hack.frob.com>
10779
10780 * elf/dl-unmap-segments.h: New file.
10781 * sysdeps/generic/ldsodefs.h
10782 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
10783 * elf/dl-close.c: Include <dl-unmap-segments.h>.
10784 * elf/dl-fptr.c: Likewise.
10785 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
10786 * sysdeps/aarch64/tlsdesc.c: Likewise.
10787 * sysdeps/arm/tlsdesc.c: Likewise.
10788 * sysdeps/i386/tlsdesc.c: Likewise.
10789 * sysdeps/tile/dl-runtime.c: Likewise.
10790 * sysdeps/x86_64/tlsdesc.c: Likewise.
10791 * elf/dl-load.h: New file.
10792 * elf/dl-load.c: Include it.
10793 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
10794 Macros moved to dl-load.h.
10795 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
10796 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
10797 Use _dl_unmap_segments in place of __munmap.
10798 Break out segment-mapping loop into ...
10799 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
10800
10801 2014-04-03 Will Newton <will.newton@linaro.org>
10802
10803 * elf/dl-lookup.c (do_lookup_x): Remove comment
10804 referring to nested function and move variable
10805 declarations down to before first use.
10806
10807 2014-04-02 Joseph Myers <joseph@codesourcery.com>
10808
10809 [BZ #16799]
10810 [BZ #16800]
10811 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
10812 with 0 numerator.
10813 * math/s_catanf.c (__catanf): Likewise.
10814 * math/s_catanh.c (__catanh): Likewise.
10815 * math/s_catanhf.c (__catanhf): Likewise.
10816 * math/s_catanhl.c (__catanhl): Likewise.
10817 * math/s_catanl.c (__catanl): Likewise.
10818 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
10819 by positive zero when computing -Inf result.
10820 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
10821 (catanh_test): Likewise.
10822 * sysdeps/i386/fpu/libm-test-ulps: Update.
10823 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10824
10825 [BZ #16789]
10826 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
10827 instead of using underflowing value in computing result.
10828 * math/s_clog10.c (__clog10): Likewise.
10829 * math/s_clog10f.c (__clog10f): Likewise.
10830 * math/s_clog10l.c (__clog10l): Likewise.
10831 * math/s_clogf.c (__clogf): Likewise.
10832 * math/s_clogl.c (__clogl): Likewise.
10833 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
10834 (clog10_test): Likewise.
10835 * sysdeps/i386/fpu/libm-test-ulps: Update.
10836 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10837
10838 2014-04-02 Alan Modra <amodra@gmail.com>
10839
10840 [BZ #16739]
10841 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
10842 output when value is near a power of two. Use int64_t for lx and
10843 remove casts. Use decimal rather than hex exponent constants.
10844 Don't use long double multiplication when double will suffice.
10845 * math/libm-test.inc (nextafter_test_data): Add tests.
10846 * NEWS: Add 16739 and 16786 to bug list.
10847
10848 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
10849
10850 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
10851
10852 2014-04-01 Will Newton <will.newton@linaro.org>
10853
10854 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
10855 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
10856
10857 2014-04-01 Florian Weimer <fweimer@redhat.com>
10858
10859 [BZ #13347]
10860 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
10861 * nptl/tst-setuid2.c: New file.
10862 * nptl/Makefile (xtests): Add tst-setuid2.
10863
10864 2014-04-01 Alan Modra <amodra@gmail.com>
10865
10866 [BZ #16786]
10867 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
10868
10869 2014-03-31 Joseph Myers <joseph@codesourcery.com>
10870
10871 [BZ #6803]
10872 [BZ #6804]
10873 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
10874 set errno as appropriate.
10875 * math/w_scalbf.c (__scalbf): Likewise.
10876 * math/w_scalbl.c (__scalbl): Likewise.
10877 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
10878 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
10879 * math/libm-test.inc (scalb_test_data): Add errno expectations.
10880 Add more NaN tests.
10881
10882 [BZ #16349]
10883 * math/w_atan2.c: Include <errno.h>.
10884 (__atan2): Set errno for result underflowing to zero.
10885 * math/w_atan2f.c: Include <errno.h>.
10886 (__atan2f): Set errno for result underflowing to zero.
10887 * math/w_atan2l.c: Include <errno.h>.
10888 (__atan2l): Set errno for result underflowing to zero.
10889 * math/auto-libm-test-in: Don't allow missing errno for some atan2
10890 tests.
10891 * math/auto-libm-test-out: Regenerated.
10892
10893 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10894
10895 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
10896 Encode instruction correctly in little endian.
10897 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
10898 Likewise.
10899 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
10900 Likewise.
10901 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
10902 Likewise.
10903 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
10904 Likewise.
10905
10906 2014-03-31 Joseph Myers <joseph@codesourcery.com>
10907
10908 [BZ #9894]
10909 * sysdeps/unix/sysv/linux/kernel-features.h
10910 [__sparc__ && !__arch64__ && !__sparc_v9__]
10911 (__ASSUME_SET_ROBUST_LIST): Do not define.
10912 [__sparc__ && !__arch64__ && !__sparc_v9__]
10913 (__ASSUME_FUTEX_LOCK_PI): Likewise.
10914 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
10915 Likewise.
10916 * sysdeps/unix/sysv/linux/arm/kernel-features.h
10917 (__ASSUME_FUTEX_LOCK_PI): Undefine.
10918 (__ASSUME_REQUEUE_PI): Likewise.
10919 (__ASSUME_SET_ROBUST_LIST): Likewise.
10920 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
10921 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
10922 Undefine.
10923 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10924 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
10925 Likewise.
10926 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
10927 Likewise.
10928 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
10929 Likewise.
10930 * sysdeps/unix/sysv/linux/mips/kernel-features.h
10931 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
10932 Undefine.
10933 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
10934 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
10935 Likewise.
10936
10937 [BZ #16648]
10938 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10939 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
10940 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
10941
10942 2014-03-31 Will Newton <will.newton@linaro.org>
10943
10944 * benchtests/Makefile (bench): Add ffs and ffsll to list
10945 of tests.
10946 * benchtests/ffs-inputs: New file.
10947 * benchtests/ffsll-inputs: Likewise.
10948
10949 2014-03-29 Joseph Myers <joseph@codesourcery.com>
10950
10951 [BZ #16770]
10952 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
10953 too large before casting to int.
10954 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
10955 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
10956 * math/libm-test.inc (scalb_test_data): Add more tests.
10957
10958 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
10959
10960 * benchtests/Makefile (DETAILED_OPT): New make option.
10961 (bench-func): Run benchmark program with -d if DETAILED_OPT is
10962 set.
10963 * benchtests/bench-skeleton.c: Include stdbool.h.
10964 (main): Store and print timings per input.
10965 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
10966 member to each argument value.
10967 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
10968 (_print_arg_data): Initialize per-input timing to 0.
10969
10970 * benchtests/Makefile (timing-type): New binary.
10971 (bench-clean): Also remove bench-timing-type.
10972 (bench): New target for timing-type.
10973 (bench-func): Print output in JSON format.
10974 * benchtests/bench-skeleton.c (main): Print output in JSON
10975 format.
10976 * benchtests/bench-timing-type.c: New file.
10977 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
10978 (TIMING_PRINT_STATS): Remove.
10979 * benchtests/scripts/bench.py (_print_arg_data): Store variant
10980 name separately.
10981
10982 * benchtests/bench-modf.c: Remove.
10983 * benchtests/modf-inputs: New inputs file.
10984
10985 2014-03-28 Joseph Myers <joseph@codesourcery.com>
10986
10987 [BZ #16362]
10988 * math/s_clog10.c (M_PI_LOG10E): New macro.
10989 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
10990 imaginary parts are 0.
10991 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
10992 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
10993 imaginary parts are 0.
10994 * math/s_clog10l.c (M_PI_LOG10El): New macro.
10995 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
10996 imaginary parts are 0.
10997 * math/libm-test.inc (clog10_test_data): Update expected results
10998 for when real and imaginary parts are 0.
10999
11000 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
11001
11002 * elf/dl-load.c: Finish conversion of __builtin_expect into
11003 __glibc_{un}likely.
11004
11005 2014-03-27 Joseph Myers <joseph@codesourcery.com>
11006
11007 [BZ #16348]
11008 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
11009 1+x for argument with exponent below -67.
11010 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
11011 Likewise.
11012 * math/auto-libm-test-in: Add more tests of exp.
11013 * math/auto-libm-test-out: Regenerated.
11014
11015 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
11016
11017 [BZ #16759]
11018 * inet/getnetgrent_r.c (get_nonempty_val): New function.
11019 (nscd_getnetgrent): Use it.
11020
11021 [BZ #16760]
11022 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
11023 of stpcpy.
11024
11025 2014-03-27 Andi Kleen <ak@linux.intel.com>
11026
11027 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
11028 (lll_robust_lock, lll_cond_lock, lll_timedlock)
11029 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
11030 (lll_robust_unlock): Remove out of line section. Use cfi
11031 intrinsics.
11032 (LLL_STUB_UNWIND_INFO*): Remove.
11033 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
11034 (lll_robust_lock, lll_cond_lock, lll_timedlock)
11035 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
11036 (lll_robust_unlock): Remove out of line section. Use cfi
11037 intrinsics.
11038 (LLL_STUB_UNWIND_INFO*): Remove.
11039
11040 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
11041
11042 [BZ #16758]
11043 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
11044 blank values.
11045
11046 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
11047
11048 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
11049
11050 2014-03-26 Joseph Myers <joseph@codesourcery.com>
11051
11052 [BZ #16198]
11053 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
11054 fnstenv.
11055 * math/test-fenv-preserve.c: New file.
11056 * math/Makefile (tests): Add test-fenv-preserve.
11057
11058 2014-03-26 Will Newton <will.newton@linaro.org>
11059
11060 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
11061
11062 2014-03-25 Roland McGrath <roland@hack.frob.com>
11063
11064 * scripts/versionlist.awk: Partition the version sets and emit all
11065 GLIBC_* (sorted) before all others (sorted).
11066
11067 2014-03-25 Joseph Myers <joseph@codesourcery.com>
11068
11069 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
11070 GLIBC_2.2.5 version.
11071
11072 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11073
11074 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
11075 calls.
11076
11077 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
11078 previous change.
11079
11080 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11081
11082 2014-03-25 Andreas Schwab <schwab@suse.de>
11083
11084 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
11085 label to be used after in6ailist is initialized.
11086
11087 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11088
11089 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
11090 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
11091
11092 2014-03-25 Joseph Myers <joseph@codesourcery.com>
11093
11094 [BZ #16357]
11095 [BZ #16599]
11096 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
11097 min_plus_half.
11098 (fp_formats): Update initializers.
11099 (init_fp_formats): Initialize new field.
11100 (output_for_one_input_case): Allow underflow for results up to
11101 min_plus_half.
11102 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
11103 * math/auto-libm-test-in: Don't mark some underflows from asin and
11104 atanh as spurious.
11105 * math/auto-libm-test-out: Regenerated.
11106 * sysdeps/i386/fpu/libm-test-ulps: Update.
11107 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11108
11109 2014-03-25 Andreas Schwab <schwab@suse.de>
11110
11111 * libio/Makefile (tst-ftell-partial-wide-ENV)
11112 (tst-ftell-active-handler-ENV): Define.
11113
11114 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
11115
11116 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
11117
11118 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
11119
11120 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
11121
11122 2014-03-24 Joseph Myers <joseph@codesourcery.com>
11123
11124 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
11125 * sysdeps/x86_64/fpu/multiarch/e_exp.c
11126 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
11127
11128 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
11129
11130 [BZ #16634]
11131 * elf/dl-load.c (open_verify): Add mode parameter.
11132 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
11133 (open_path): Change from boolean 'secure' to complete flag 'mode'
11134 (_dl_map_object): Adjust.
11135 * elf/Makefile (tests): Add tst-dlopen-aout.
11136 * elf/tst-dlopen-aout.c: New test.
11137
11138 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
11139
11140 [BZ #16714]
11141 * sysdeps/unix/sysv/linux/s390/bits/stat.h
11142 (struct stat): Rename member pad0 to __glibc_reserved0.
11143
11144 [BZ #16712]
11145 * sysdeps/s390/s390-32/bits/wordsize.h
11146 (__WORDSIZE32_SIZE_ULONG): New define.
11147 * sysdeps/s390/s390-64/bits/wordsize.h
11148 (__WORDSIZE32_SIZE_ULONG): Likewise.
11149 * sysdeps/generic/stdint.h (SIZE_MAX):
11150 Define as UL if __WORDSIZE32_SIZE_ULONG.
11151
11152 [BZ #16713]
11153 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
11154 (__glibc_reserved0): New variable.
11155 (sa_flags): Change type to int.
11156
11157 * posix/Makefile (before-compile): Use += before-compile instead
11158 of a :=.
11159
11160 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
11161 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
11162
11163 2014-03-20 Andreas Schwab <schwab@suse.de>
11164
11165 [BZ #16743]
11166 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
11167 non-matching result from nscd.
11168
11169 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
11170
11171 * scripts/bench.py: Moved to ...
11172 * benchtests/scripts/bench.py: ... here.
11173 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
11174
11175 2014-03-24 Andreas Schwab <schwab@suse.de>
11176
11177 [BZ #16002]
11178 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
11179 alloca_account and account alloca use for struct in6ailist.
11180
11181 2014-03-24 Joseph Myers <joseph@codesourcery.com>
11182
11183 [BZ #16284]
11184 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
11185 rounding mode to recompute results that overflow to infinity or
11186 underflow to zero.
11187 * math/auto-libm-test-in: Don't mark tests as expected to fail for
11188 bug 16284.
11189 * math/auto-libm-test-out: Regenerated.
11190 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
11191 (ccosh_test): Likewise.
11192 (csin_test_data): Use plus_oflow.
11193 (csin_test): Use ALL_RM_TEST.
11194 (csinh_test_data): Use plus_oflow.
11195 (csinh_test): Use ALL_RM_TEST.
11196 * sysdeps/i386/fpu/libm-test-ulps: Update.
11197 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11198
11199 2014-03-21 Joseph Myers <joseph@codesourcery.com>
11200
11201 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
11202 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
11203 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
11204
11205 [BZ #16731]
11206 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
11207 when x - 1 is zero.
11208 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
11209 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
11210 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
11211 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
11212 argument is 1.
11213 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
11214 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
11215 zero.
11216 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
11217 * sysdeps/i386/fpu/libm-test-ulps: Update.
11218 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11219
11220 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
11221
11222 * scripts/bench.pl: Remove file.
11223 * scripts/bench.py: New benchmark script.
11224 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
11225 * benchtests/README: Mention python dependency.
11226 * scripts/pylintrc: New file.
11227 * scripts/pylint: New file.
11228
11229 * bits/mathdef.h: Use #ifdef instead of #if.
11230 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
11231 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
11232 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
11233 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
11234 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
11235 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
11236
11237 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11238 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
11239
11240 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
11241 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
11242 and strpbrk-ppc64 objects.
11243 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11244 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
11245 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
11246 multiarch strpbrk for POWER7.
11247 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
11248 multiarch strpbrk for PPC64.
11249 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
11250 ifunc selector.
11251 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
11252 strpbrk for POWER7.
11253
11254 2014-03-20 Joseph Myers <joseph@codesourcery.com>
11255
11256 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
11257 (atan_test): Likewise.
11258 (atanh_test_data): Use NO_TEST_INLINE for two tests.
11259 (atanh_test): Use ALL_RM_TEST.
11260 (atan2_test_data): Likewise.
11261 (cabs_test): Likewise.
11262 (cacosh_test): Likewise.
11263 (carg_test): Likewise.
11264 (casin_test): Likewise.
11265 (casinh_test): Likewise.
11266 (cbrt_test): Likewise.
11267 (csqrt_test): Likewise.
11268 (erf_test): Likewise.
11269 (erfc_test): Likewise.
11270 (pow10_test): Likewise.
11271 (exp2_test): Likewise.
11272 (hypot_test): Likewise.
11273 (j0_test): Likewise.
11274 (j1_test): Likewise.
11275 (lgamma_test): Likewise.
11276 (gamma_test): Likewise.
11277 (sincos_test): Likewise.
11278 (tanh_test): Likewise.
11279 (y0_test): Likewise.
11280 (y1_test): Likewise.
11281 * sysdeps/i386/fpu/libm-test-ulps: Update.
11282 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11283
11284 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11285
11286 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
11287 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
11288 and strcspn-ppc64 objects.
11289 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11290 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
11291 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
11292 multiarch strcspn for POWER7.
11293 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
11294 multiarch strcspn for PPC64.
11295 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
11296 ifunc selector.
11297 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
11298 strcspn for POWER7.
11299
11300 2014-03-20 Joseph Myers <joseph@codesourcery.com>
11301
11302 * math/gen-libm-test.pl (generate_testfile): Expect only function
11303 name as argument to AUTO_TESTS_* and pass results for all rounding
11304 modes to parse_args.
11305 (parse_auto_input): Separate inputs of automatic tests from
11306 outputs before storing in %auto_tests.
11307 * math/libm-test.inc (acos_test_data): Update call to
11308 AUTO_TESTS_f_f.
11309 (acos_test): Use ALL_RM_TEST.
11310 (acos_tonearest_test_data): Remove.
11311 (acos_test_tonearest): Likewise.
11312 (acos_towardzero_test_data): Likewise.
11313 (acos_test_towardzero): Likewise.
11314 (acos_downward_test_data): Likewise.
11315 (acos_test_downward): Likewise.
11316 (acos_upward_test_data): Likewise.
11317 (acos_test_upward): Likewise.
11318 (acosh_test_data): Update call to AUTO_TESTS_f_f.
11319 (asin_test_data): Likewise.
11320 (asin_test): Use ALL_RM_TEST.
11321 (asin_tonearest_test_data): Remove.
11322 (asin_test_tonearest): Likewise.
11323 (asin_towardzero_test_data): Likewise.
11324 (asin_test_towardzero): Likewise.
11325 (asin_downward_test_data): Likewise.
11326 (asin_test_downward): Likewise.
11327 (asin_upward_test_data): Likewise.
11328 (asin_test_upward): Likewise.
11329 (asinh_test_data): Update call to AUTO_TESTS_f_f.
11330 (atan_test_data): Likewise.
11331 (atanh_test_data): Likewise.
11332 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
11333 (cabs_test_data): Update call to AUTO_TESTS_c_f.
11334 (carg_test_data): Likewise.
11335 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
11336 (ccos_test_data): Update call to AUTO_TESTS_c_c.
11337 (ccosh_test_data): Likewise.
11338 (cexp_test_data): Likewise.
11339 (clog_test_data): Likewise.
11340 (clog10_test_data): Likewise.
11341 (cos_test_data): Update call to AUTO_TESTS_f_f.
11342 (cos_test): Use ALL_RM_TEST.
11343 (cos_tonearest_test_data): Remove.
11344 (cos_test_tonearest): Likewise.
11345 (cos_towardzero_test_data): Likewise.
11346 (cos_test_towardzero): Likewise.
11347 (cos_downward_test_data): Likewise.
11348 (cos_test_downward): Likewise.
11349 (cos_upward_test_data): Likewise.
11350 (cos_test_upward): Likewise.
11351 (cosh_test_data): Update call to AUTO_TESTS_f_f.
11352 (cosh_test): Use ALL_RM_TEST.
11353 (cosh_tonearest_test_data): Remove.
11354 (cosh_test_tonearest): Likewise.
11355 (cosh_towardzero_test_data): Likewise.
11356 (cosh_test_towardzero): Likewise.
11357 (cosh_downward_test_data): Likewise.
11358 (cosh_test_downward): Likewise.
11359 (cosh_upward_test_data): Likewise.
11360 (cosh_test_upward): Likewise.
11361 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
11362 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
11363 (ctan_test_data): Likewise.
11364 (ctan_test): Use ALL_RM_TEST.
11365 (ctan_tonearest_test_data): Remove.
11366 (ctan_test_tonearest): Likewise.
11367 (ctan_towardzero_test_data): Likewise.
11368 (ctan_test_towardzero): Likewise.
11369 (ctan_downward_test_data): Likewise.
11370 (ctan_test_downward): Likewise.
11371 (ctan_upward_test_data): Likewise.
11372 (ctan_test_upward): Likewise.
11373 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
11374 (ctanh_test): Use ALL_RM_TEST.
11375 (ctanh_tonearest_test_data): Remove.
11376 (ctanh_test_tonearest): Likewise.
11377 (ctanh_towardzero_test_data): Likewise.
11378 (ctanh_test_towardzero): Likewise.
11379 (ctanh_downward_test_data): Likewise.
11380 (ctanh_test_downward): Likewise.
11381 (ctanh_upward_test_data): Likewise.
11382 (ctanh_test_upward): Likewise.
11383 (erf_test_data): Update call to AUTO_TESTS_f_f.
11384 (erfc_test_data): Likewise.
11385 (exp_test_data): Likewise.
11386 (exp_test): Use ALL_RM_TEST.
11387 (exp_tonearest_test_data): Remove.
11388 (exp_test_tonearest): Likewise.
11389 (exp_towardzero_test_data): Likewise.
11390 (exp_test_towardzero): Likewise.
11391 (exp_downward_test_data): Likewise.
11392 (exp_test_downward): Likewise.
11393 (exp_upward_test_data): Likewise.
11394 (exp_test_upward): Likewise.
11395 (exp10_test_data): Update call to AUTO_TESTS_f_f.
11396 (exp10_test): Use ALL_RM_TEST.
11397 (exp10_tonearest_test_data): Remove.
11398 (exp10_test_tonearest): Likewise.
11399 (exp10_towardzero_test_data): Likewise.
11400 (exp10_test_towardzero): Likewise.
11401 (exp10_downward_test_data): Likewise.
11402 (exp10_test_downward): Likewise.
11403 (exp10_upward_test_data): Likewise.
11404 (exp10_test_upward): Likewise.
11405 (exp2_test_data): Update call to AUTO_TESTS_f_f.
11406 (expm1_test_data): Likewise.
11407 (expm1_test): Use ALL_RM_TEST.
11408 (expm1_tonearest_test_data): Remove.
11409 (expm1_test_tonearest): Likewise.
11410 (expm1_towardzero_test_data): Likewise.
11411 (expm1_test_towardzero): Likewise.
11412 (expm1_downward_test_data): Likewise.
11413 (expm1_test_downward): Likewise.
11414 (expm1_upward_test_data): Likewise.
11415 (expm1_test_upward): Likewise.
11416 (fma_test_data): Update call to AUTO_TESTS_fff_f.
11417 (fma_test): Use ALL_RM_TEST.
11418 (fma_towardzero_test_data): Remove.
11419 (fma_test_towardzero): Likewise.
11420 (fma_downward_test_data): Likewise.
11421 (fma_test_downward): Likewise.
11422 (fma_upward_test_data): Likewise.
11423 (fma_test_upward): Likewise.
11424 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
11425 (j0_test_data): Update call to AUTO_TESTS_f_f.
11426 (j1_test_data): Likewise.
11427 (jn_test_data): Update call to AUTO_TESTS_if_f.
11428 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
11429 (log_test_data): Update call to AUTO_TESTS_f_f.
11430 (log10_test_data): Likewise.
11431 (log1p_test_data): Likewise.
11432 (log2_test_data): Likewise.
11433 (pow_test_data): Update call to AUTO_TESTS_ff_f.
11434 (pow_tonearest_test_data): Likewise.
11435 (sin_test_data): Update call to AUTO_TESTS_f_f.
11436 (sin_test): Use ALL_RM_TEST.
11437 (sin_tonearest_test_data): Remove.
11438 (sin_test_tonearest): Likewise.
11439 (sin_towardzero_test_data): Likewise.
11440 (sin_test_towardzero): Likewise.
11441 (sin_downward_test_data): Likewise.
11442 (sin_test_downward): Likewise.
11443 (sin_upward_test_data): Likewise.
11444 (sin_test_upward): Likewise.
11445 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
11446 (sinh_test_data): Update call to AUTO_TESTS_f_f.
11447 (sinh_test): Use ALL_RM_TEST.
11448 (sinh_tonearest_test_data): Remove.
11449 (sinh_test_tonearest): Likewise.
11450 (sinh_towardzero_test_data): Likewise.
11451 (sinh_test_towardzero): Likewise.
11452 (sinh_downward_test_data): Likewise.
11453 (sinh_test_downward): Likewise.
11454 (sinh_upward_test_data): Likewise.
11455 (sinh_test_upward): Likewise.
11456 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
11457 (sqrt_test): Use ALL_RM_TEST.
11458 (sqrt_tonearest_test_data): Remove.
11459 (sqrt_test_tonearest): Likewise.
11460 (sqrt_towardzero_test_data): Likewise.
11461 (sqrt_test_towardzero): Likewise.
11462 (sqrt_downward_test_data): Likewise.
11463 (sqrt_test_downward): Likewise.
11464 (sqrt_upward_test_data): Likewise.
11465 (sqrt_test_upward): Likewise.
11466 (tan_test_data): Update call to AUTO_TESTS_f_f.
11467 (tan_test): Use ALL_RM_TEST.
11468 (tan_tonearest_test_data): Remove.
11469 (tan_test_tonearest): Likewise.
11470 (tan_towardzero_test_data): Likewise.
11471 (tan_test_towardzero): Likewise.
11472 (tan_downward_test_data): Likewise.
11473 (tan_test_downward): Likewise.
11474 (tan_upward_test_data): Likewise.
11475 (tan_test_upward): Likewise.
11476 (tanh_test_data): Update call to AUTO_TESTS_f_f.
11477 (tgamma_test_data): Likewise.
11478 (y0_test_data): Likewise.
11479 (y1_test_data): Likewise.
11480 (yn_test_data): Update call to AUTO_TESTS_if_f.
11481 (main): Do not call removed functions.
11482
11483 2014-03-19 Joseph Myers <joseph@codesourcery.com>
11484
11485 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
11486 (ldexp_test_data): Remove.
11487 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
11488 scalbn_test_data.
11489 (scalb_test): Use ALL_RM_TEST.
11490
11491 2014-03-19 Andreas Schwab <schwab@suse.de>
11492
11493 * nscd/nscd.service: Also invalidate netgroup cache on reload.
11494
11495 2014-03-19 Joseph Myers <joseph@codesourcery.com>
11496
11497 [BZ #16649]
11498 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
11499 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
11500 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
11501 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11502 (__ASSUME_PREADV): Undefine.
11503 (__ASSUME_PWRITEV): Likewise.
11504
11505 2014-03-18 Roland McGrath <roland@hack.frob.com>
11506
11507 * bits/mman-linux.h: Add comment about non-Linux use.
11508 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
11509 bits/mman-linux.h resting place.
11510
11511 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
11512 * bits/mman-linux.h: ... here.
11513
11514 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11515
11516 * conform/conformtest.pl: Add standard definition when calling C
11517 preprocessor on data files.
11518 (checknamespace): Remove unused variable.
11519
11520 2014-03-18 Joseph Myers <joseph@codesourcery.com>
11521
11522 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
11523 minus_oflow, plus_uflow and minus_uflow in expected results.
11524 * math/libm-test.inc (scalbn_test_data): Add more tests of
11525 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
11526 minus_uflow.
11527 (scalbn_test): Use ALL_RM_TEST.
11528 (scalbln_test_data): Add more tests of negative arguments. Use
11529 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
11530 (scalbln_test): Use ALL_RM_TEST.
11531
11532 2014-03-18 Roland McGrath <roland@hack.frob.com>
11533
11534 * scripts/abilist.awk: Ignore symbols marked with .hidden.
11535
11536 2014-03-18 Will Newton <will.newton@linaro.org>
11537
11538 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
11539 inaccurate comment.
11540
11541 2014-03-18 Joseph Myers <joseph@codesourcery.com>
11542
11543 * Makerules [!subdir] (check-abi): Exit with error status if a
11544 test failed.
11545
11546 2014-03-17 Joseph Myers <joseph@codesourcery.com>
11547
11548 * math/libm-test.inc (nearbyint_test_data): Include all tests used
11549 for rint. Include results for all rounding modes.
11550 (nearbyint_test): Use ALL_RM_TEST.
11551 (rint_test_data): Include all tests used for nearbyint.
11552
11553 2014-03-17 Will Newton <will.newton@linaro.org>
11554
11555 * nptl/sysdeps/pthread/pthread.h: Revert previous
11556 change.
11557
11558 * sysdeps/generic/ldsodefs.h: Revert previous
11559 change.
11560
11561 * libio/genops.c: Revert previous change.
11562 * libio/libioP.h: Likewise.
11563 * stdio-common/vfprintf.c: Likewise.
11564
11565 * sysdeps/generic/math_private.h: Revert previous
11566 change.
11567
11568 * sysdeps/generic/math_private.h: Check whether
11569 HAVE_RM_CTX is defined with #ifdef rather
11570 than #if.
11571
11572 * argp/argp-fmtstream.h: Check whether
11573 __STRICT_ANSI__ is defined with #ifdef rather
11574 than #if.
11575 * argp/argp.h: Likewise.
11576
11577 * libio/genops.c: Check whether
11578 _IO_JUMPS_OFFSET is defined with #ifdef rather
11579 than #if.
11580 * libio/libioP.h: Likewise.
11581 * stdio-common/vfprintf.c: Likewise.
11582
11583 * sysdeps/generic/ldsodefs.h: Check whether
11584 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
11585 than #if.
11586
11587 * nptl/sysdeps/pthread/pthread.h: Check
11588 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
11589 its value.
11590
11591 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
11592
11593 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
11594 setting O_APPEND.
11595 * libio/tst-ftell-active-handler.c (do_append_test): Add a
11596 test case.
11597
11598 [BZ #16680]
11599 * libio/fileops.c (_IO_file_open): Seek to end of file but
11600 don't cache the offset.
11601 (get_file_offset): Remove function.
11602 (do_ftell): Use cached offset when available.
11603 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
11604 don't cache the offset.
11605 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
11606 case.
11607 (do_one_test): Call it.
11608 (do_ftell_test): Fix up expected old offset for a+ mode.
11609 * libio/wfileops.c (do_ftell_wide): Used cached offset when
11610 available.
11611
11612 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
11613 up test status with function return status.
11614 (do_write_test): Likewise.
11615 (do_append_test): Likewise.
11616
11617 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
11618 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
11619 Remove.
11620
11621 2014-03-17 Joseph Myers <joseph@codesourcery.com>
11622
11623 * math/gen-libm-test.pl (parse_args): Handle results specified for
11624 each rounding mode separately.
11625 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
11626 tests and results from lrint_tonearest_test_data,
11627 lrint_towardzero_test_data, lrint_downward_test_data and
11628 lrint_upward_test_data.
11629 (lrint_test): Use ALL_RM_TEST.
11630 (lrint_tonearest_test_data): Remove.
11631 (lrint_test_tonearest): Likewise.
11632 (lrint_towardzero_test_data): Likewise.
11633 (lrint_test_towardzero): Likewise.
11634 (lrint_downward_test_data): Likewise.
11635 (lrint_test_downward): Likewise.
11636 (lrint_upward_test_data): Likewise.
11637 (lrint_test_upward): Likewise.
11638 (llrint_test_data): Merge in per-rounding-mode tests and results
11639 from llrint_tonearest_test_data, llrint_towardzero_test_data,
11640 llrint_downward_test_data and llrint_upward_test_data.
11641 (llrint_test): Use ALL_RM_TEST.
11642 (llrint_tonearest_test_data): Remove.
11643 (llrint_test_tonearest): Likewise.
11644 (llrint_towardzero_test_data): Likewise.
11645 (llrint_test_towardzero): Likewise.
11646 (llrint_downward_test_data): Likewise.
11647 (llrint_test_downward): Likewise.
11648 (llrint_upward_test_data): Likewise.
11649 (llrint_test_upward): Likewise.
11650 (rint_test_data): Merge in per-rounding-mode tests and results
11651 from rint_tonearest_test_data, rint_towardzero_test_data,
11652 rint_downward_test_data and rint_upward_test_data. Add
11653 per-rounding-mode results for tests not in those arrays.
11654 (rint_test): Use ALL_RM_TEST.
11655 (rint_tonearest_test_data): Remove.
11656 (rint_test_tonearest): Likewise.
11657 (rint_towardzero_test_data): Likewise.
11658 (rint_test_towardzero): Likewise.
11659 (rint_downward_test_data): Likewise.
11660 (rint_test_downward): Likewise.
11661 (rint_upward_test_data): Likewise.
11662 (rint_test_upward): Likewise.
11663 (main): Don't call removed functions.
11664
11665 2014-03-14 Roland McGrath <roland@hack.frob.com>
11666
11667 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
11668 "Compiled on ..." crapola. It is anti-useful.
11669
11670 2014-03-14 Joseph Myers <joseph@codesourcery.com>
11671
11672 * scripts/evaluate-test.sh: Handle fourth argument to determine
11673 whether test run should stop on failure.
11674 * Makeconfig (stop-on-test-failure): New variable.
11675 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
11676 $(stop-on-test-failure).
11677 * Makefile (tests): Give a summary of results from testing and
11678 exit with failure status if they include an ERROR or FAIL.
11679 (xtests): Likewise.
11680 * manual/install.texi (Configuring and compiling): Mention
11681 stop-on-test-failure=y.
11682 * INSTALL: Regenerated.
11683
11684 2014-03-14 Roland McGrath <roland@hack.frob.com>
11685
11686 * scripts/versionlist.awk: New file.
11687 * Makerules [$(build-shared) = yes]
11688 (postclean-generated): Add Versions.def, not Versions.def.v and
11689 Versions.def.v.i.
11690 ($(common-objpfx)Versions.def.v.i): Target removed.
11691 ($(common-objpfx)Versions.def): New target.
11692 ($(common-objpfx)Versions.all): Depend on that rather that
11693 $(common-objpfx)Versions.def.v.
11694 * Versions.def: File removed.
11695
11696 * Makeconfig (+gccwarn): Add -Wundef.
11697 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
11698 a dl-sysdep.h breaking its contract.
11699 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
11700 * include/stackinfo.h: New file.
11701 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
11702 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
11703 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
11704 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
11705 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
11706 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
11707 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
11708 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
11709 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
11710 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
11711 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
11712 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
11713 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
11714 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
11715 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
11716
11717 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11718
11719 [BZ #16707]
11720 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
11721 implementation.
11722 * math/libm-test.inc (round_test_data): Add more tests.
11723
11724 [BZ #16706]
11725 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
11726 implementation.
11727 * math/libm-test.inc (nearbyint_test_data): Add more tests.
11728
11729 [BZ #16701]
11730 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
11731 implementation.
11732 * math/libm-test.inc (ceil_test_data): Add more tests.
11733
11734 * math/libm-test.inc (trunc_test_data): Add more tests related to
11735 BZ#16414.
11736
11737 2014-03-14 Roland McGrath <roland@hack.frob.com>
11738
11739 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
11740 with #if rather than #ifdef.
11741 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
11742
11743 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
11744
11745 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
11746 first. Disable AVX-512 GCC support if assembler doesn't support
11747 it.
11748 * sysdeps/x86_64/configure: Regenerated.
11749
11750 2014-03-13 Carlos O'Donell <carlos@redhat.com>
11751
11752 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
11753 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
11754 (__old_pthread_attr_setstack): Likewise.
11755 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
11756 [!_STACK_GROWS_DOWN]: Likewise.
11757
11758 2014-03-13 Mike Frysinger <vapier@gentoo.org>
11759
11760 * config.make.in (have-bash2): Delete.
11761 * configure.ac (libc_cv_have_bash2): Delete.
11762 * configure: Regenerate.
11763 * elf/Makefile (common-ldd-rewrite): Rename to ...
11764 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
11765 (sh-ldd-rewrite): Delete.
11766 (bash-ldd-rewrite): Delete.
11767 (have-bash2): Delete checks.
11768 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
11769 ldd-rewrite.
11770
11771 * config.make.in (have-ksh): Delete.
11772 (KSH): Delete.
11773 * configure.ac (libc_cv_have_ksh): Delete.
11774 * configure: Regenerate.
11775
11776 * elf/Makefile: Delete $(have-ksh) check.
11777 ($(objpfx)sotruss): Change KSH to BASH.
11778 * elf/sotruss.ksh: Rename to ...
11779 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
11780 function style to match POSIX. Drop ksh vim mode setting.
11781
11782 * manual/time.texi (Specifying the Time Zone with TZ): Change
11783 Tuesday to Thursday.
11784
11785 * debug/tst-longjmp_chk2.c: Update header comment.
11786 (stackoverflow_handler): Add comment. Call assert on pass value.
11787
11788 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
11789
11790 [BZ #16194]
11791 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
11792 (HAVE_AVX512_ASM_SUPPORT): Likewise.
11793 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
11794 (La_x86_64_vector): Add zmm.
11795 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
11796 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
11797 ($(objpfx)tst-audit10): New target.
11798 ($(objpfx)tst-audit10.out): Likewise.
11799 (tst-audit10-ENV): New.
11800 (AVX512-CFLAGS): Likewise.
11801 (CFLAGS-tst-audit10.c): Likewise.
11802 (CFLAGS-tst-auditmod10a.c): Likewise.
11803 (CFLAGS-tst-auditmod10b.c): Likewise.
11804 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
11805 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
11806 * sysdeps/x86_64/configure: Regenerated.
11807 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
11808 AVX-512 zmm register support.
11809 (_dl_x86_64_save_sse): Likewise.
11810 (_dl_x86_64_restore_sse): Likewise.
11811 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
11812 size vector registers.
11813 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
11814 (ZMM_SIZE): Likewise.
11815 * sysdeps/x86_64/tst-audit10.c: New file.
11816 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
11817 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
11818
11819 2014-03-13 Roland McGrath <roland@hack.frob.com>
11820
11821 * configure.ac (HAVE_EHDR_START): New check.
11822 * configure: Regenerated.
11823 * config.h.in (HAVE_EHDR_START): New #undef.
11824 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
11825 assuming the lowest-addressed segment maps the start of the file.
11826
11827 2014-03-13 Joseph Myers <joseph@codesourcery.com>
11828
11829 * INSTALL: Regenerated.
11830
11831 2014-03-13 Will Newton <will.newton@linaro.org>
11832
11833 * manual/setjmp.texi (System V contexts): Improve
11834 clarity and grammar of documentation.
11835
11836 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
11837
11838 [BZ #16381]
11839 * elf/Makefile (tests): Add tst-pie2.
11840 (tests-pie): Add tst-pie2.
11841 * elf/tst-pie2.c: New file.
11842 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
11843 for ET_EXEC.
11844 * elf/rtld.c (map_doit): Load executable as lt_executable.
11845 (dl_main): Likewise.
11846
11847 2014-03-12 Joseph Myers <joseph@codesourcery.com>
11848
11849 [BZ #16642]
11850 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11851 (__ASSUME_PSELECT): Undefine.
11852
11853 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11854
11855 [BZ #16689]
11856 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
11857 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
11858 static build.
11859 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
11860 selector for static builds.
11861
11862 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
11863
11864 [BZ #16695]
11865 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
11866 key in the buffer.
11867
11868 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11869
11870 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
11871 IFUNC selector for static builds.
11872
11873 2014-03-11 Joseph Myers <joseph@codesourcery.com>
11874
11875 * sysdeps/mips/math_private.h [__mips_hard_float]
11876 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
11877 libc_feresetround_mips_ctx.
11878 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
11879 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
11880 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
11881
11882 [BZ #16677]
11883 * math/s_nextafter.c (__nextafter): Do not return value from
11884 overflowing computation.
11885 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
11886 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
11887 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
11888 Likewise.
11889 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
11890 Likewise.
11891 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
11892 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
11893
11894 2014-03-11 Roland McGrath <roland@hack.frob.com>
11895
11896 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
11897 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
11898 Move sfi_sp use from the load-multiple (that no longer sets sp) to
11899 the new mov targetting sp.
11900
11901 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11902
11903 [BZ #16683]
11904 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
11905 Define it for static builds as well.
11906 (NO_BZERO_IMPL): Likewise.
11907
11908 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
11909
11910 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
11911 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
11912 multiarch strspn for PPC64.
11913 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
11914 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
11915 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
11916 (__libc_ifunc_impl_list): Likewise.
11917 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
11918 multiarch optimizations
11919 * string/strspn.c (strspn): Using macro to redefine symbol name.
11920
11921 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
11922 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11923
11924 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
11925 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
11926 multiarch strncat for PPC64.
11927 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
11928 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
11929 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
11930 (__libc_ifunc_impl_list): Likewise.
11931 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
11932 multiarch optimizations
11933
11934 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
11935
11936 [BZ #16639]
11937 * nscd/nscd.service: Make service type forking.
11938
11939 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11940
11941 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
11942 sign in non default rounding modes.
11943 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
11944
11945 2014-03-08 Joseph Myers <joseph@codesourcery.com>
11946
11947 * math/libm-test.inc (ALL_RM_TEST): New macro.
11948 (ceil_test): Use ALL_RM_TEST.
11949 (cimag_test): Likewise.
11950 (conj_test): Likewise.
11951 (copysign_test): Likewise.
11952 (cproj_test): Likewise.
11953 (creal_test): Likewise.
11954 (fabs_test): Likewise.
11955 (floor_test): Likewise.
11956 (fmax_test): Likewise.
11957 (fmin_test): Likewise.
11958 (fmod_test): Likewise.
11959 (fpclassify_test): Likewise.
11960 (frexp_test): Likewise.
11961 (ilogb_test): Likewise.
11962 (isfinite_test): Likewise.
11963 (finite_test): Likewise.
11964 (isgreater_test): Likewise.
11965 (isgreaterequal_test): Likewise.
11966 (isinf_test): Likewise.
11967 (isless_test): Likewise.
11968 (islessequal_test): Likewise.
11969 (islessgreater_test): Likewise.
11970 (isnan_test): Likewise.
11971 (isnormal_test): Likewise.
11972 (issignaling_test): Likewise.
11973 (isunordered_test): Likewise.
11974 (logb_test): Likewise.
11975 (logb_downward_test_data): Remove.
11976 (logb_test_downward): Likewise.
11977 (lround_test): Use ALL_RM_TEST.
11978 (llround_test): Likewise.
11979 (modf_test): Likewise.
11980 (nexttoward_test): Likewise.
11981 (remainder_test): Likewise.
11982 (drem_test): Likewise.
11983 (remainder_tonearest_test_data): Likewise.
11984 (remainder_test_tonearest): Likewise.
11985 (drem_test_tonearest): Likewise.
11986 (remainder_towardzero_test_data): Likewise.
11987 (remainder_test_towardzero): Likewise.
11988 (drem_test_towardzero): Likewise.
11989 (remainder_downward_test_data): Likewise.
11990 (remainder_test_downward): Likewise.
11991 (drem_test_downward): Likewise.
11992 (remainder_upward_test_data): Likewise.
11993 (remainder_test_upward): Likewise.
11994 (drem_test_upward): Likewise.
11995 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
11996 (round_test): Use ALL_RM_TEST.
11997 (signbit_test): Likewise.
11998 (trunc_test): Likewise.
11999 (significand_test): Likewise.
12000 (main): Don't call removed functions.
12001
12002 2014-03-07 Joseph Myers <joseph@codesourcery.com>
12003
12004 [BZ #16674]
12005 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
12006 || __USE_XOPEN2K8].
12007 (ILL_ILLOPN): Likewise.
12008 (ILL_ILLADR): Likewise.
12009 (ILL_ILLTRP): Likewise.
12010 (ILL_PRVOPC): Likewise.
12011 (ILL_PRVREG): Likewise.
12012 (ILL_COPROC): Likewise.
12013 (ILL_BADSTK): Likewise.
12014 (FPE_INTDIV): Likewise.
12015 (FPE_INTOVF): Likewise.
12016 (FPE_FLTDIV): Likewise.
12017 (FPE_FLTOVF): Likewise.
12018 (FPE_FLTUND): Likewise.
12019 (FPE_FLTRES): Likewise.
12020 (FPE_FLTINV): Likewise.
12021 (FPE_FLTSUB): Likewise.
12022 (SEGV_MAPERR): Likewise.
12023 (SEGV_ACCERR): Likewise.
12024 (BUS_ADRALN): Likewise.
12025 (BUS_ADRERR): Likewise.
12026 (BUS_OBJERR): Likewise.
12027 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
12028 (TRAP_TRACE): Likewise.
12029 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
12030 __USE_XOPEN2K8].
12031 (CLD_KILLED): Likewise.
12032 (CLD_DUMPED): Likewise.
12033 (CLD_TRAPPED): Likewise.
12034 (CLD_STOPPED): Likewise.
12035 (CLD_CONTINUED): Likewise.
12036 (POLL_IN): Likewise.
12037 (POLL_OUT): Likewise.
12038 (POLL_MSG): Likewise.
12039 (POLL_ERR): Likewise.
12040 (POLL_PRI): Likewise.
12041 (POLL_HUP): Likewise.
12042 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
12043 Likewise.
12044 (ILL_ILLOPN): Likewise.
12045 (ILL_ILLADR): Likewise.
12046 (ILL_ILLTRP): Likewise.
12047 (ILL_PRVOPC): Likewise.
12048 (ILL_PRVREG): Likewise.
12049 (ILL_COPROC): Likewise.
12050 (ILL_BADSTK): Likewise.
12051 (FPE_INTDIV): Likewise.
12052 (FPE_INTOVF): Likewise.
12053 (FPE_FLTDIV): Likewise.
12054 (FPE_FLTOVF): Likewise.
12055 (FPE_FLTUND): Likewise.
12056 (FPE_FLTRES): Likewise.
12057 (FPE_FLTINV): Likewise.
12058 (FPE_FLTSUB): Likewise.
12059 (SEGV_MAPERR): Likewise.
12060 (SEGV_ACCERR): Likewise.
12061 (BUS_ADRALN): Likewise.
12062 (BUS_ADRERR): Likewise.
12063 (BUS_OBJERR): Likewise.
12064 (BUS_MCEERR_AR): Likewise.
12065 (BUS_MCEERR_AO): Likewise.
12066 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
12067 (TRAP_TRACE): Likewise.
12068 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
12069 __USE_XOPEN2K8].
12070 (CLD_KILLED): Likewise.
12071 (CLD_DUMPED): Likewise.
12072 (CLD_TRAPPED): Likewise.
12073 (CLD_STOPPED): Likewise.
12074 (CLD_CONTINUED): Likewise.
12075 (POLL_IN): Likewise.
12076 (POLL_OUT): Likewise.
12077 (POLL_MSG): Likewise.
12078 (POLL_ERR): Likewise.
12079 (POLL_PRI): Likewise.
12080 (POLL_HUP): Likewise.
12081 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
12082 (ILL_ILLOPN): Likewise.
12083 (ILL_ILLADR): Likewise.
12084 (ILL_ILLTRP): Likewise.
12085 (ILL_PRVOPC): Likewise.
12086 (ILL_PRVREG): Likewise.
12087 (ILL_COPROC): Likewise.
12088 (ILL_BADSTK): Likewise.
12089 (FPE_INTDIV): Likewise.
12090 (FPE_INTOVF): Likewise.
12091 (FPE_FLTDIV): Likewise.
12092 (FPE_FLTOVF): Likewise.
12093 (FPE_FLTUND): Likewise.
12094 (FPE_FLTRES): Likewise.
12095 (FPE_FLTINV): Likewise.
12096 (FPE_FLTSUB): Likewise.
12097 (SEGV_MAPERR): Likewise.
12098 (SEGV_ACCERR): Likewise.
12099 (BUS_ADRALN): Likewise.
12100 (BUS_ADRERR): Likewise.
12101 (BUS_OBJERR): Likewise.
12102 (BUS_MCEERR_AR): Likewise.
12103 (BUS_MCEERR_AO): Likewise.
12104 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
12105 (TRAP_TRACE): Likewise.
12106 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
12107 __USE_XOPEN2K8].
12108 (CLD_KILLED): Likewise.
12109 (CLD_DUMPED): Likewise.
12110 (CLD_TRAPPED): Likewise.
12111 (CLD_STOPPED): Likewise.
12112 (CLD_CONTINUED): Likewise.
12113 (POLL_IN): Likewise.
12114 (POLL_OUT): Likewise.
12115 (POLL_MSG): Likewise.
12116 (POLL_ERR): Likewise.
12117 (POLL_PRI): Likewise.
12118 (POLL_HUP): Likewise.
12119 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
12120 Likewise.
12121 (ILL_ILLOPN): Likewise.
12122 (ILL_ILLADR): Likewise.
12123 (ILL_ILLTRP): Likewise.
12124 (ILL_PRVOPC): Likewise.
12125 (ILL_PRVREG): Likewise.
12126 (ILL_COPROC): Likewise.
12127 (ILL_BADSTK): Likewise.
12128 (ILL_BADIADDR): Likewise.
12129 (ILL_BREAK): Likewise.
12130 (FPE_INTDIV): Likewise.
12131 (FPE_INTOVF): Likewise.
12132 (FPE_FLTDIV): Likewise.
12133 (FPE_FLTOVF): Likewise.
12134 (FPE_FLTUND): Likewise.
12135 (FPE_FLTRES): Likewise.
12136 (FPE_FLTINV): Likewise.
12137 (FPE_FLTSUB): Likewise.
12138 (FPE_DECOVF): Likewise.
12139 (FPE_DECDIV): Likewise.
12140 (FPE_DECERR): Likewise.
12141 (FPE_INVASC): Likewise.
12142 (FPE_INVDEC): Likewise.
12143 (SEGV_MAPERR): Likewise.
12144 (SEGV_ACCERR): Likewise.
12145 (SEGV_PSTKOVF): Likewise.
12146 (BUS_ADRALN): Likewise.
12147 (BUS_ADRERR): Likewise.
12148 (BUS_OBJERR): Likewise.
12149 (BUS_MCEERR_AR): Likewise.
12150 (BUS_MCEERR_AO): Likewise.
12151 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
12152 (TRAP_TRACE): Likewise.
12153 (TRAP_BRANCH): Likewise.
12154 (TRAP_HWBKPT): Likewise.
12155 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
12156 __USE_XOPEN2K8].
12157 (CLD_KILLED): Likewise.
12158 (CLD_DUMPED): Likewise.
12159 (CLD_TRAPPED): Likewise.
12160 (CLD_STOPPED): Likewise.
12161 (CLD_CONTINUED): Likewise.
12162 (POLL_IN): Likewise.
12163 (POLL_OUT): Likewise.
12164 (POLL_MSG): Likewise.
12165 (POLL_ERR): Likewise.
12166 (POLL_PRI): Likewise.
12167 (POLL_HUP): Likewise.
12168 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
12169 (ILL_ILLOPN): Likewise.
12170 (ILL_ILLADR): Likewise.
12171 (ILL_ILLTRP): Likewise.
12172 (ILL_PRVOPC): Likewise.
12173 (ILL_PRVREG): Likewise.
12174 (ILL_COPROC): Likewise.
12175 (ILL_BADSTK): Likewise.
12176 (FPE_INTDIV): Likewise.
12177 (FPE_INTOVF): Likewise.
12178 (FPE_FLTDIV): Likewise.
12179 (FPE_FLTOVF): Likewise.
12180 (FPE_FLTUND): Likewise.
12181 (FPE_FLTRES): Likewise.
12182 (FPE_FLTINV): Likewise.
12183 (FPE_FLTSUB): Likewise.
12184 (SEGV_MAPERR): Likewise.
12185 (SEGV_ACCERR): Likewise.
12186 (BUS_ADRALN): Likewise.
12187 (BUS_ADRERR): Likewise.
12188 (BUS_OBJERR): Likewise.
12189 (BUS_MCEERR_AR): Likewise.
12190 (BUS_MCEERR_AO): Likewise.
12191 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
12192 (TRAP_TRACE): Likewise.
12193 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
12194 __USE_XOPEN2K8].
12195 (CLD_KILLED): Likewise.
12196 (CLD_DUMPED): Likewise.
12197 (CLD_TRAPPED): Likewise.
12198 (CLD_STOPPED): Likewise.
12199 (CLD_CONTINUED): Likewise.
12200 (POLL_IN): Likewise.
12201 (POLL_OUT): Likewise.
12202 (POLL_MSG): Likewise.
12203 (POLL_ERR): Likewise.
12204 (POLL_PRI): Likewise.
12205 (POLL_HUP): Likewise.
12206 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
12207 (ILL_ILLOPN): Likewise.
12208 (ILL_ILLADR): Likewise.
12209 (ILL_ILLTRP): Likewise.
12210 (ILL_PRVOPC): Likewise.
12211 (ILL_PRVREG): Likewise.
12212 (ILL_COPROC): Likewise.
12213 (ILL_BADSTK): Likewise.
12214 (FPE_INTDIV): Likewise.
12215 (FPE_INTOVF): Likewise.
12216 (FPE_FLTDIV): Likewise.
12217 (FPE_FLTOVF): Likewise.
12218 (FPE_FLTUND): Likewise.
12219 (FPE_FLTRES): Likewise.
12220 (FPE_FLTINV): Likewise.
12221 (FPE_FLTSUB): Likewise.
12222 (SEGV_MAPERR): Likewise.
12223 (SEGV_ACCERR): Likewise.
12224 (BUS_ADRALN): Likewise.
12225 (BUS_ADRERR): Likewise.
12226 (BUS_OBJERR): Likewise.
12227 (BUS_MCEERR_AR): Likewise.
12228 (BUS_MCEERR_AO): Likewise.
12229 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
12230 (TRAP_TRACE): Likewise.
12231 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
12232 __USE_XOPEN2K8].
12233 (CLD_KILLED): Likewise.
12234 (CLD_DUMPED): Likewise.
12235 (CLD_TRAPPED): Likewise.
12236 (CLD_STOPPED): Likewise.
12237 (CLD_CONTINUED): Likewise.
12238 (POLL_IN): Likewise.
12239 (POLL_OUT): Likewise.
12240 (POLL_MSG): Likewise.
12241 (POLL_ERR): Likewise.
12242 (POLL_PRI): Likewise.
12243 (POLL_HUP): Likewise.
12244 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
12245 (ILL_ILLOPN): Likewise.
12246 (ILL_ILLADR): Likewise.
12247 (ILL_ILLTRP): Likewise.
12248 (ILL_PRVOPC): Likewise.
12249 (ILL_PRVREG): Likewise.
12250 (ILL_COPROC): Likewise.
12251 (ILL_BADSTK): Likewise.
12252 (FPE_INTDIV): Likewise.
12253 (FPE_INTOVF): Likewise.
12254 (FPE_FLTDIV): Likewise.
12255 (FPE_FLTOVF): Likewise.
12256 (FPE_FLTUND): Likewise.
12257 (FPE_FLTRES): Likewise.
12258 (FPE_FLTINV): Likewise.
12259 (FPE_FLTSUB): Likewise.
12260 (SEGV_MAPERR): Likewise.
12261 (SEGV_ACCERR): Likewise.
12262 (BUS_ADRALN): Likewise.
12263 (BUS_ADRERR): Likewise.
12264 (BUS_OBJERR): Likewise.
12265 (BUS_MCEERR_AR): Likewise.
12266 (BUS_MCEERR_AO): Likewise.
12267 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
12268 (TRAP_TRACE): Likewise.
12269 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
12270 __USE_XOPEN2K8].
12271 (CLD_KILLED): Likewise.
12272 (CLD_DUMPED): Likewise.
12273 (CLD_TRAPPED): Likewise.
12274 (CLD_STOPPED): Likewise.
12275 (CLD_CONTINUED): Likewise.
12276 (POLL_IN): Likewise.
12277 (POLL_OUT): Likewise.
12278 (POLL_MSG): Likewise.
12279 (POLL_ERR): Likewise.
12280 (POLL_PRI): Likewise.
12281 (POLL_HUP): Likewise.
12282 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
12283 (ILL_ILLOPN): Likewise.
12284 (ILL_ILLADR): Likewise.
12285 (ILL_ILLTRP): Likewise.
12286 (ILL_PRVOPC): Likewise.
12287 (ILL_PRVREG): Likewise.
12288 (ILL_COPROC): Likewise.
12289 (ILL_BADSTK): Likewise.
12290 (ILL_DBLFLT): Likewise.
12291 (ILL_HARDWALL): Likewise.
12292 (FPE_INTDIV): Likewise.
12293 (FPE_INTOVF): Likewise.
12294 (FPE_FLTDIV): Likewise.
12295 (FPE_FLTOVF): Likewise.
12296 (FPE_FLTUND): Likewise.
12297 (FPE_FLTRES): Likewise.
12298 (FPE_FLTINV): Likewise.
12299 (FPE_FLTSUB): Likewise.
12300 (SEGV_MAPERR): Likewise.
12301 (SEGV_ACCERR): Likewise.
12302 (BUS_ADRALN): Likewise.
12303 (BUS_ADRERR): Likewise.
12304 (BUS_OBJERR): Likewise.
12305 (BUS_MCEERR_AR): Likewise.
12306 (BUS_MCEERR_AO): Likewise.
12307 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
12308 (TRAP_TRACE): Likewise.
12309 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
12310 __USE_XOPEN2K8].
12311 (CLD_KILLED): Likewise.
12312 (CLD_DUMPED): Likewise.
12313 (CLD_TRAPPED): Likewise.
12314 (CLD_STOPPED): Likewise.
12315 (CLD_CONTINUED): Likewise.
12316 (POLL_IN): Likewise.
12317 (POLL_OUT): Likewise.
12318 (POLL_MSG): Likewise.
12319 (POLL_ERR): Likewise.
12320 (POLL_PRI): Likewise.
12321 (POLL_HUP): Likewise.
12322 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
12323 (ILL_ILLOPN): Likewise.
12324 (ILL_ILLADR): Likewise.
12325 (ILL_ILLTRP): Likewise.
12326 (ILL_PRVOPC): Likewise.
12327 (ILL_PRVREG): Likewise.
12328 (ILL_COPROC): Likewise.
12329 (ILL_BADSTK): Likewise.
12330 (FPE_INTDIV): Likewise.
12331 (FPE_INTOVF): Likewise.
12332 (FPE_FLTDIV): Likewise.
12333 (FPE_FLTOVF): Likewise.
12334 (FPE_FLTUND): Likewise.
12335 (FPE_FLTRES): Likewise.
12336 (FPE_FLTINV): Likewise.
12337 (FPE_FLTSUB): Likewise.
12338 (SEGV_MAPERR): Likewise.
12339 (SEGV_ACCERR): Likewise.
12340 (BUS_ADRALN): Likewise.
12341 (BUS_ADRERR): Likewise.
12342 (BUS_OBJERR): Likewise.
12343 (BUS_MCEERR_AR): Likewise.
12344 (BUS_MCEERR_AO): Likewise.
12345 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
12346 (TRAP_TRACE): Likewise.
12347 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
12348 __USE_XOPEN2K8].
12349 (CLD_KILLED): Likewise.
12350 (CLD_DUMPED): Likewise.
12351 (CLD_TRAPPED): Likewise.
12352 (CLD_STOPPED): Likewise.
12353 (CLD_CONTINUED): Likewise.
12354 (POLL_IN): Likewise.
12355 (POLL_OUT): Likewise.
12356 (POLL_MSG): Likewise.
12357 (POLL_ERR): Likewise.
12358 (POLL_PRI): Likewise.
12359 (POLL_HUP): Likewise.
12360 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
12361 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
12362
12363 [BZ #16670]
12364 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
12365 before #include of <time.h>.
12366 [!__USE_XOPEN2K] (__need_timespec): Likewise.
12367 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
12368 (test-xfail-UNIX98/sched.h/conform): Likewise.
12369
12370 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
12371
12372 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
12373 error absence of trapping exception support.
12374 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
12375
12376 2014-03-07 Joseph Myers <joseph@codesourcery.com>
12377
12378 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
12379 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
12380 * timezone/Makefile (testdata): Move definition above include of
12381 Rules.
12382 (test-zones): New variable.
12383 (tests-special): Add zone files.
12384 (build-testdata): Use $(evaluate-test).
12385
12386 * elf/Makefile (tests-special): Rename tests to end with .out.
12387 ($(objpfx)noload-mem): Likewise.
12388 ($(objpfx)tst-leaks1-mem): Likewise.
12389 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
12390 * iconv/Makefile (xtests-special): Change test-iconvconfig to
12391 $(objpfx)test-iconvconfig.out.
12392 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
12393 set -e inside subshell and redirect output to file.
12394 * iconvdata/Makefile (generated): Rename tests to end with .out.
12395 Correct type.
12396 (tests-special): Rename tests to end with .out.
12397 ($(objpfx)mtrace-tst-loading): Likewise.
12398 * intl/Makefile (generated): Likewise.
12399 (tests-special): Likewise.
12400 ($(objpfx)mtrace-tst-gettext): Likewise.
12401 * misc/Makefile (generated): Likewise.
12402 (tests-special): Likewise.
12403 ($(objpfx)tst-error1-mem): Likewise.
12404 * nptl/Makefile (tests-special): Likewise.
12405 ($(objpfx)tst-stack3-mem): Likewise.
12406 (generated): Likewise.
12407 * posix/Makefile (generated): Likewise.
12408 (tests-special): Likewise.
12409 (xtests-special): Likewise.
12410 ($(objpfx)tst-fnmatch-mem): Likewise.
12411 ($(objpfx)bug-regex2-mem): Likewise.
12412 ($(objpfx)bug-regex14-mem): Likewise.
12413 ($(objpfx)bug-regex21-mem): Likewise.
12414 ($(objpfx)bug-regex31-mem): Likewise.
12415 ($(objpfx)tst-vfork3-mem): Likewise.
12416 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
12417 ($(objpfx)tst-pcre-mem): Likewise.
12418 ($(objpfx)tst-boost-mem): Likewise.
12419 ($(objpfx)bug-ga2-mem): Likewise.
12420 ($(objpfx)bug-glob2-mem): Likewise.
12421 * resolv/Makefile (generate): Likewise.
12422 (tests-special): Likewise.
12423 (xtests-special): Likewise.
12424 (generated): Likewise.
12425 ($(objpfx)mtrace-tst-leaks): Likewise.
12426 ($(objpfx)mtrace-tst-leaks2): Likewise.
12427
12428 * scripts/merge-test-results.sh: New file.
12429 * Makefile (tests-special-notdir): New variable.
12430 (tests): Run merge-test-results.sh.
12431 (xtests): Likewise.
12432 * Rules (tests-special-notdir): New variable.
12433 (xtests-special-notdir): Likewise.
12434 (tests): Run merge-test-results.sh
12435 (xtests): Likewise.
12436
12437 * Makeconfig (test-xfail-name): New variable.
12438 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
12439 compute variable name for expected failures.
12440 * conform/Makefile (conformtest-headers-data): New variable.
12441 (conformtest-standards): Likewise.
12442 (conformtest-headers-ISO): Likewise.
12443 (conformtest-headers-ISO99): Likewise.
12444 (conformtest-headers-ISO11): Likewise.
12445 (conformtest-headers-POSIX): Likewise.
12446 (conformtest-headers-XPG3): Likewise.
12447 (conformtest-headers-XPG4): Likewise.
12448 (conformtest-headers-UNIX98): Likewise.
12449 (conformtest-headers-XOPEN2K): Likewise.
12450 (conformtest-headers-POSIX2008): Likewise.
12451 (conformtest-headers-XOPEN2K8): Likewise.
12452 (conformtest-header-list-base): Likewise.
12453 (conformtest-header-list-tests): Likewise.
12454 (conformtest-header-base): Likewise.
12455 (conformtest-header-tests): Likewise.
12456 (tests-special): Add $(conformtest-header-list-tests). If
12457 [$(fast-check) && !$(cross-compiling)], add
12458 $(conformtest-header-tests) instead of
12459 $(objpfx)run-conformtest.out.
12460 (generated): Add $(conformtest-header-list-base). If
12461 [$(fast-check) && !$(cross-compiling)], add
12462 $(conformtest-header-base). Remove previous setting.
12463 ($(conformtest-header-list-tests)): New target.
12464 (test-xfail-run-conformtest): Remove variable.
12465 ($(objpfx)run-conformtest.out): Remove target.
12466 (test-xfail-ISO11/complex.h/conform): New variable.
12467 (test-xfail-ISO11/stdalign.h/conform): Likewise.
12468 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
12469 (test-xfail-XPG3/varargs.h/conform): Likewise.
12470 (test-xfail-XPG4/varargs.h/conform): Likewise.
12471 (test-xfail-UNIX98/varargs.h/conform): Likewise.
12472 (test-xfail-XPG4/ndbm.h/conform): Likewise.
12473 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
12474 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
12475 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
12476 (test-xfail-XPG3/fcntl.h/conform): Likewise.
12477 (test-xfail-XPG3/ftw.h/conform): Likewise.
12478 (test-xfail-XPG3/grp.h/conform): Likewise.
12479 (test-xfail-XPG3/langinfo.h/conform): Likewise.
12480 (test-xfail-XPG3/limits.h/conform): Likewise.
12481 (test-xfail-XPG3/pwd.h/conform): Likewise.
12482 (test-xfail-XPG3/search.h/conform): Likewise.
12483 (test-xfail-XPG3/signal.h/conform): Likewise.
12484 (test-xfail-XPG3/stdio.h/conform): Likewise.
12485 (test-xfail-XPG3/stdlib.h/conform): Likewise.
12486 (test-xfail-XPG3/string.h/conform): Likewise.
12487 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
12488 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
12489 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
12490 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
12491 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
12492 (test-xfail-XPG3/sys/types.h/conform): Likewise.
12493 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
12494 (test-xfail-XPG3/termios.h/conform): Likewise.
12495 (test-xfail-XPG3/time.h/conform): Likewise.
12496 (test-xfail-XPG3/unistd.h/conform): Likewise.
12497 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
12498 (test-xfail-XPG4/fcntl.h/conform): Likewise.
12499 (test-xfail-XPG4/langinfo.h/conform): Likewise.
12500 (test-xfail-XPG4/netdb.h/conform): Likewise.
12501 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
12502 (test-xfail-XPG4/signal.h/conform): Likewise.
12503 (test-xfail-XPG4/stdio.h/conform): Likewise.
12504 (test-xfail-XPG4/stdlib.h/conform): Likewise.
12505 (test-xfail-XPG4/stropts.h/conform): Likewise.
12506 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
12507 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
12508 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
12509 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
12510 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
12511 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
12512 (test-xfail-XPG4/sys/time.h/conform): Likewise.
12513 (test-xfail-XPG4/sys/types.h/conform): Likewise.
12514 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
12515 (test-xfail-XPG4/termios.h/conform): Likewise.
12516 (test-xfail-XPG4/ucontext.h/conform): Likewise.
12517 (test-xfail-XPG4/unistd.h/conform): Likewise.
12518 (test-xfail-XPG4/utmpx.h/conform): Likewise.
12519 (test-xfail-POSIX/sched.h/conform): Likewise.
12520 (test-xfail-POSIX/signal.h/conform): Likewise.
12521 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
12522 (test-xfail-POSIX/tar.h/conform): Likewise.
12523 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
12524 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
12525 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
12526 (test-xfail-UNIX98/netdb.h/conform): Likewise.
12527 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
12528 (test-xfail-UNIX98/sched.h/conform): Likewise.
12529 (test-xfail-UNIX98/signal.h/conform): Likewise.
12530 (test-xfail-UNIX98/stdio.h/conform): Likewise.
12531 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
12532 (test-xfail-UNIX98/stropts.h/conform): Likewise.
12533 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
12534 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
12535 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
12536 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
12537 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
12538 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
12539 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
12540 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
12541 (test-xfail-UNIX98/unistd.h/conform): Likewise.
12542 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
12543 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
12544 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
12545 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
12546 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
12547 (test-xfail-XOPEN2K/math.h/conform): Likewise.
12548 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
12549 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
12550 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
12551 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
12552 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
12553 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
12554 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
12555 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
12556 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
12557 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
12558 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
12559 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
12560 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
12561 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
12562 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
12563 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
12564 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
12565 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
12566 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
12567 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
12568 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
12569 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
12570 (test-xfail-POSIX2008/signal.h/conform): Likewise.
12571 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
12572 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
12573 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
12574 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
12575 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
12576 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
12577 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
12578 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
12579 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
12580 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
12581 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
12582 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
12583 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
12584 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
12585 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
12586 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
12587 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
12588 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
12589 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
12590 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
12591 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
12592 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
12593 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
12594 (conformtest-cc-flags): Likewise.
12595 ($(conformtest-header-tests): New target.
12596 * conform/check-header-lists.sh: New file.
12597 * conform/run-conformtest.sh: Remove.
12598
12599 * conform/conformtest.pl: Allow ' and \ in values given for
12600 constants.
12601 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
12602 inclusion.
12603 [POSIX] (sys/types.h): Likewise.
12604 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
12605 inclusion.
12606 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
12607 inclusion.
12608 * conform/data/signal.h-data (SIGIO): Remove expectation.
12609 [XPG3] (SIGBUS): Do not expect.
12610 [POSIX || XPG3] (SIGPOLL): Likewise.
12611 [POSIX || XPG3] (SIGPROF): Likewise.
12612 [POSIX || XPG3] (SIGSYS): Likewise.
12613 [XPG3] (SIGTRAP): Likewise.
12614 [POSIX || XPG3] (SIGURG): Likewise.
12615 [POSIX || XPG3] (SIGVTALRM): Likewise.
12616 [POSIX || XPG3] (SIGXCPU): Likewise.
12617 [POSIX || XPG3] (SIGXFSZ): Likewise.
12618 [POSIX] (SA_SIGINFO): Expect.
12619 [XPG3] (siginfo_t): Do not expect type or contents.
12620 [POSIX] (si_pid): Do not expect element.
12621 [POSIX] (si_uid): Likewise.
12622 [POSIX] (si_addr): Likewise.
12623 [POSIX] (si_status): Likewise.
12624 [POSIX] (si_band): Likewise.
12625 [XPG4] (si_value): Likewise.
12626 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
12627 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
12628 [POSIX || XPG3] (ILL_ILLADR): Likewise.
12629 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
12630 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
12631 [POSIX || XPG3] (ILL_PRVREG): Likewise.
12632 [POSIX || XPG3] (ILL_COPROC): Likewise.
12633 [POSIX || XPG3] (ILL_BADSTK): Likewise.
12634 [POSIX || XPG3] (FPE_INTDIV): Likewise.
12635 [POSIX || XPG3] (FPE_INTOVF): Likewise.
12636 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
12637 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
12638 [POSIX || XPG3] (FPE_FLTUND): Likewise.
12639 [POSIX || XPG3] (FPE_FLTRES): Likewise.
12640 [POSIX || XPG3] (FPE_FLTINV): Likewise.
12641 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
12642 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
12643 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
12644 [POSIX || XPG3] (BUS_ADRALN): Likewise.
12645 [POSIX || XPG3] (BUS_ADRERR): Likewise.
12646 [POSIX || XPG3] (BUS_OBJERR): Likewise.
12647 [POSIX || XPG3] (CLD_EXITED): Likewise.
12648 [POSIX || XPG3] (CLD_KILLED): Likewise.
12649 [POSIX || XPG3] (CLD_DUMPED): Likewise.
12650 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
12651 [POSIX || XPG3] (CLD_STOPPED): Likewise.
12652 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
12653 [POSIX || XPG3] (POLL_IN): Likewise.
12654 [POSIX || XPG3] (POLL_OUT): Likewise.
12655 [POSIX || XPG3] (POLL_MSG): Likewise.
12656 [POSIX || XPG3] (POLL_ERR): Likewise.
12657 [POSIX || XPG3] (POLL_PRI): Likewise.
12658 [POSIX || XPG3] (POLL_HUP): Likewise.
12659 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
12660 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
12661 (SIG*): Do not allow.
12662 [XPG3] (si_*): Likewise.
12663 [XPG3] (SI_*): Likewise.
12664 [XPG3 || XPG4] (sigev_*): Likewise.
12665 [XPG3 || XPG4] (SIGEV_*): Likewise.
12666 [XPG3 || XPG4] (sival_*): Likewise.
12667 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
12668 [POSIX || XPG3] (BUS_*): Likewise.
12669 [POSIX || XPG3] (CLD_*): Likewise.
12670 [POSIX || XPG3] (FPE_*): Likewise.
12671 [POSIX || XPG3] (ILL_*): Likewise.
12672 [POSIX || XPG3] (POLL_*): Likewise.
12673 [POSIX || XPG3] (SEGV_*): Likewise.
12674 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
12675 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
12676 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
12677 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
12678 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
12679 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
12680 Specify type and value.
12681 (TVERSLEN): Likewise.
12682 (REGTYPE): Likewise.
12683 (AREGTYPE): Likewise.
12684 (LNKTYPE): Likewise.
12685 (SYMTYPE): Likewise.
12686 (CHRTYPE): Likewise.
12687 (BLKTYPE): Likewise.
12688 (DIRTYPE): Likewise.
12689 (FIFOTYPE): Likewise.
12690 (CONTTYPE): Likewise.
12691 (TSUID): Likewise.
12692 (TSGID): Likewise.
12693 (TSVTX): Likewise.
12694 (TUREAD): Likewise.
12695 (TUWRITE): Likewise.
12696 (TUEXEC): Likewise.
12697 (TGREAD): Likewise.
12698 (TGWRITE): Likewise.
12699 (TGEXEC): Likewise.
12700 (TOREAD): Likewise.
12701 (TOWRITE): Likewise.
12702 (TOEXEC): Likewise.
12703 [POSIX] (TSVTX): Expect constant.
12704
12705 2014-03-06 Joseph Myers <joseph@codesourcery.com>
12706
12707 * Makefile (tests): Change dependencies to ....
12708 (tests-special): ... additions to this variable.
12709 (tests): Depend on $(tests-special).
12710 * Makerules (check-abi-list): New variable.
12711 (check-abi): Depend on $(check-abi-list).
12712 [$(subdir) = elf] (tests-special): Add
12713 $(objpfx)check-abi-libc.out.
12714 [$(build-shared) = yes && subdir] (tests-special): Add
12715 $(check-abi-list).
12716 [$(build-shared) = yes && subdir] (tests): Do not depend on
12717 check-abi.
12718 * Rules (tests): Depend on $(tests-special).
12719 (xtests): Depend on $(xtests-special).
12720 * catgets/Makefile (tests): Change dependencies to ....
12721 (tests-special): ... additions to this variable.
12722 * conform/Makefile (tests): Change dependencies to ....
12723 (tests-special): ... additions to this variable.
12724 * elf/Makefile (tests): Change dependencies to ....
12725 (tests-special): ... additions to this variable.
12726 * grp/Makefile (tests): Change dependencies to ....
12727 (tests-special): ... additions to this variable.
12728 * iconv/Makefile (xtests): Change dependencies to ....
12729 (xtests-special): ... additions to this variable.
12730 * iconvdata/Makefile (tests): Change dependencies to ....
12731 (tests-special): ... additions to this variable.
12732 * intl/Makefile (tests): Change dependencies to ....
12733 (tests-special): ... additions to this variable. Also add
12734 $(objpfx)tst-gettext.out.
12735 * io/Makefile (tests): Change dependencies to ....
12736 (tests-special): ... additions to this variable.
12737 * libio/Makefile (tests): Change dependencies to ....
12738 (tests-special): ... additions to this variable.
12739 * malloc/Makefile (tests): Change dependencies to ....
12740 (tests-special): ... additions to this variable.
12741 * misc/Makefile (tests): Change dependencies to ....
12742 (tests-special): ... additions to this variable.
12743 * nptl/Makefile (tests): Change dependencies to ....
12744 (tests-special): ... additions to this variable.
12745 * nptl_db/Makefile (tests): Change dependencies to ....
12746 (tests-special): ... additions to this variable.
12747 * posix/Makefile (tests): Change dependencies to ....
12748 (tests-special): ... additions to this variable.
12749 (xtests): Change dependencies to ....
12750 (xtests-special): ... additions to this variable.
12751 * resolv/Makefile (tests): Change dependencies to ....
12752 (tests-special): ... additions to this variable.
12753 (xtests): Change dependencies to ....
12754 (xtests-special): ... additions to this variable.
12755 * stdio-common/Makefile (tests): Change dependencies to ....
12756 (tests-special): ... additions to this variable.
12757 (do-tst-unbputc): Remove target.
12758 (do-tst-printf): Likewise.
12759 * stdlib/Makefile (tests): Change dependencies to ....
12760 (tests-special): ... additions to this variable.
12761 * string/Makefile (tests): Change dependencies to ....
12762 (tests-special): ... additions to this variable.
12763 * sysdeps/x86/Makefile (tests): Change dependencies to ....
12764 (tests-special): ... additions to this variable.
12765
12766 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
12767 whole file.
12768 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
12769 whole file.
12770 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
12771 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
12772
12773 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
12774 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
12775 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
12776 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
12777 * conform/data/libgen.h-data [XPG3]: Likewise.
12778 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
12779 * conform/data/ndbm.h-data [XPG3]: Likewise.
12780 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
12781 * conform/data/netdb.h-data [XPG3]: Likewise.
12782 * conform/data/netinet/in.h-data [XPG3]: Likewise.
12783 * conform/data/poll.h-data [XPG3]: Likewise.
12784 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
12785 * conform/data/strings.h-data [XPG3]: Likewise.
12786 * conform/data/stropts.h-data [XPG3]: Likewise.
12787 * conform/data/sys/mman.h-data [XPG3]: Likewise.
12788 * conform/data/sys/resource.h-data [XPG3]: Likewise.
12789 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
12790 Likewise.
12791 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
12792 * conform/data/sys/time.h-data [XPG3]: Likewise.
12793 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
12794 * conform/data/sys/uio.h-data [XPG3]: Likewise.
12795 * conform/data/sys/un.h-data [XPG3]: Likewise.
12796 * conform/data/syslog.h-data [XPG3]: Likewise.
12797 * conform/data/ucontext.h-data [XPG3]: Likewise.
12798 * conform/data/utmpx.h-data [XPG3]: Likewise.
12799 * conform/data/varargs.h-data [UNIX98]: Enable file.
12800
12801 * manual/Makefile (INSTALL_INFO): Remove variable setting.
12802
12803 * math/libm-test.inc (struct test_f_f_data): Move expected results
12804 into structure for each rounding mode.
12805 (struct test_ff_f_data): Likewise.
12806 (struct test_ff_f_data_nexttoward): Likewise.
12807 (struct test_fi_f_data): Likewise.
12808 (struct test_fl_f_data): Likewise.
12809 (struct test_if_f_data): Likewise.
12810 (struct test_fff_f_data): Likewise.
12811 (struct test_c_f_data): Likewise.
12812 (struct test_f_f1_data): Likewise.
12813 (struct test_fF_f1_data): Likewise.
12814 (struct test_ffI_f1_data): Likewise.
12815 (struct test_c_c_data): Likewise.
12816 (struct test_cc_c_data): Likewise.
12817 (struct test_f_i_data): Likewise.
12818 (struct test_ff_i_data): Likewise.
12819 (struct test_f_l_data): Likewise.
12820 (struct test_f_L_data): Likewise.
12821 (struct test_fFF_11_data): Likewise.
12822 (RM_): New macro.
12823 (RM_FE_DOWNWARD): Likewise.
12824 (RM_FE_TONEAREST): Likewise.
12825 (RM_FE_TOWARDZERO): Likewise.
12826 (RM_FE_UPWARD): Likewise.
12827 (RUN_TEST_LOOP_f_f): Update references to expected results.
12828 (RUN_TEST_LOOP_2_f): Likewise.
12829 (RUN_TEST_LOOP_fff_f): Likewise.
12830 (RUN_TEST_LOOP_c_f): Likewise.
12831 (RUN_TEST_LOOP_f_f1): Likewise.
12832 (RUN_TEST_LOOP_fF_f1): Likewise.
12833 (RUN_TEST_LOOP_fI_f1): Likewise.
12834 (RUN_TEST_LOOP_ffI_f1): Likewise.
12835 (RUN_TEST_LOOP_c_c): Likewise.
12836 (RUN_TEST_LOOP_cc_c): Likewise.
12837 (RUN_TEST_LOOP_f_i): Likewise.
12838 (RUN_TEST_LOOP_f_i_tg): Likewise.
12839 (RUN_TEST_LOOP_ff_i_tg): Likewise.
12840 (RUN_TEST_LOOP_f_b): Likewise.
12841 (RUN_TEST_LOOP_f_b_tg): Likewise.
12842 (RUN_TEST_LOOP_f_l): Likewise.
12843 (RUN_TEST_LOOP_f_L): Likewise.
12844 (RUN_TEST_LOOP_fFF_11): Likewise.
12845 * math/gen-libm-test.pl (parse_args): Output four copies of
12846 expected results for each test.
12847
12848 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
12849 (__ASSUME_UTIMES): Remove.
12850 * sysdeps/unix/sysv/linux/tile/kernel-features.h
12851 (__ASSUME_UTIMES): Likewise.
12852
12853 * math/gen-auto-libm-tests.c: Update comment on output format.
12854 (output_for_one_input_case): Generate before-rounding and
12855 after-rounding information as conditions on output flags not
12856 floating-point format.
12857 * math/auto-libm-test-out: Regenerated.
12858 * math/gen-libm-test.pl (cond_value): New function.
12859 (or_cond_value): Use cond_value.
12860 (generate_testfile): Handle conditional exceptions.
12861
12862 2014-03-05 Joseph Myers <joseph@codesourcery.com>
12863
12864 * math/libm-test.inc (max_valid_error): New variable.
12865 (init_max_error): Take new argument specifying whether function
12866 results are exactly determined. Set max_valid_error and bound
12867 other variables for errors based on this argument.
12868 (set_max_error): Do not record results above max_valid_error.
12869 (check_float_internal): Only accept errors of up to 0.5ulps if
12870 also at most max_valid_error.
12871 (START): Take new argument EXACT and pass it to init_max_error.
12872 (acos_test): Update call to START.
12873 (acos_test_tonearest): Likewise.
12874 (acos_test_towardzero): Likewise.
12875 (acos_test_downward): Likewise.
12876 (acos_test_upward): Likewise.
12877 (acosh_test): Likewise.
12878 (asin_test): Likewise.
12879 (asin_test_tonearest): Likewise.
12880 (asin_test_towardzero): Likewise.
12881 (asin_test_downward): Likewise.
12882 (asin_test_upward): Likewise.
12883 (asinh_test): Likewise.
12884 (atan_test): Likewise.
12885 (atanh_test): Likewise.
12886 (atan2_test): Likewise.
12887 (cabs_test): Likewise.
12888 (cacos_test): Likewise.
12889 (cacosh_test): Likewise.
12890 (carg_test): Likewise.
12891 (casin_test): Likewise.
12892 (casinh_test): Likewise.
12893 (catan_test): Likewise.
12894 (catanh_test): Likewise.
12895 (cbrt_test): Likewise.
12896 (ccos_test): Likewise.
12897 (ccosh_test): Likewise.
12898 (ceil_test): Likewise.
12899 (cexp_test): Likewise.
12900 (cimag_test): Likewise.
12901 (clog_test): Likewise.
12902 (clog10_test): Likewise.
12903 (conj_test): Likewise.
12904 (copysign_test): Likewise.
12905 (cos_test): Likewise.
12906 (cos_test_tonearest): Likewise.
12907 (cos_test_towardzero): Likewise.
12908 (cos_test_downward): Likewise.
12909 (cos_test_upward): Likewise.
12910 (cosh_test): Likewise.
12911 (cosh_test_tonearest): Likewise.
12912 (cosh_test_towardzero): Likewise.
12913 (cosh_test_downward): Likewise.
12914 (cosh_test_upward): Likewise.
12915 (cpow_test): Likewise.
12916 (cproj_test): Likewise.
12917 (creal_test): Likewise.
12918 (csin_test): Likewise.
12919 (csinh_test): Likewise.
12920 (csqrt_test): Likewise.
12921 (ctan_test): Likewise.
12922 (ctan_test_tonearest): Likewise.
12923 (ctan_test_towardzero): Likewise.
12924 (ctan_test_downward): Likewise.
12925 (ctan_test_upward): Likewise.
12926 (ctanh_test): Likewise.
12927 (ctanh_test_tonearest): Likewise.
12928 (ctanh_test_towardzero): Likewise.
12929 (ctanh_test_downward): Likewise.
12930 (ctanh_test_upward): Likewise.
12931 (erf_test): Likewise.
12932 (erfc_test): Likewise.
12933 (exp_test): Likewise.
12934 (exp_test_tonearest): Likewise.
12935 (exp_test_towardzero): Likewise.
12936 (exp_test_downward): Likewise.
12937 (exp_test_upward): Likewise.
12938 (exp10_test): Likewise.
12939 (exp10_test_tonearest): Likewise.
12940 (exp10_test_towardzero): Likewise.
12941 (exp10_test_downward): Likewise.
12942 (exp10_test_upward): Likewise.
12943 (pow10_test): Likewise.
12944 (exp2_test): Likewise.
12945 (expm1_test): Likewise.
12946 (expm1_test_tonearest): Likewise.
12947 (expm1_test_towardzero): Likewise.
12948 (expm1_test_downward): Likewise.
12949 (expm1_test_upward): Likewise.
12950 (fabs_test): Likewise.
12951 (fdim_test): Likewise.
12952 (floor_test): Likewise.
12953 (fma_test): Likewise.
12954 (fma_test_towardzero): Likewise.
12955 (fma_test_downward): Likewise.
12956 (fma_test_upward): Likewise.
12957 (fmax_test): Likewise.
12958 (fmin_test): Likewise.
12959 (fmod_test): Likewise.
12960 (fpclassify_test): Likewise.
12961 (frexp_test): Likewise.
12962 (hypot_test): Likewise.
12963 (ilogb_test): Likewise.
12964 (isfinite_test): Likewise.
12965 (finite_test): Likewise.
12966 (isgreater_test): Likewise.
12967 (isgreaterequal_test): Likewise.
12968 (isinf_test): Likewise.
12969 (isless_test): Likewise.
12970 (islessequal_test): Likewise.
12971 (islessgreater_test): Likewise.
12972 (isnan_test): Likewise.
12973 (isnormal_test): Likewise.
12974 (issignaling_test): Likewise.
12975 (isunordered_test): Likewise.
12976 (j0_test): Likewise.
12977 (j1_test): Likewise.
12978 (jn_test): Likewise.
12979 (ldexp_test): Likewise.
12980 (lgamma_test): Likewise.
12981 (gamma_test): Likewise.
12982 (lrint_test): Likewise.
12983 (lrint_test_tonearest): Likewise.
12984 (lrint_test_towardzero): Likewise.
12985 (lrint_test_downward): Likewise.
12986 (lrint_test_upward): Likewise.
12987 (llrint_test): Likewise.
12988 (llrint_test_tonearest): Likewise.
12989 (llrint_test_towardzero): Likewise.
12990 (llrint_test_downward): Likewise.
12991 (llrint_test_upward): Likewise.
12992 (log_test): Likewise.
12993 (log10_test): Likewise.
12994 (log1p_test): Likewise.
12995 (log2_test): Likewise.
12996 (logb_test): Likewise.
12997 (logb_test_downward): Likewise.
12998 (lround_test): Likewise.
12999 (llround_test): Likewise.
13000 (modf_test): Likewise.
13001 (nearbyint_test): Likewise.
13002 (nextafter_test): Likewise.
13003 (nexttoward_test): Likewise.
13004 (pow_test): Likewise.
13005 (pow_test_tonearest): Likewise.
13006 (pow_test_towardzero): Likewise.
13007 (pow_test_downward): Likewise.
13008 (pow_test_upward): Likewise.
13009 (remainder_test): Likewise.
13010 (drem_test): Likewise.
13011 (remainder_test_tonearest): Likewise.
13012 (drem_test_tonearest): Likewise.
13013 (remainder_test_towardzero): Likewise.
13014 (drem_test_towardzero): Likewise.
13015 (remainder_test_downward): Likewise.
13016 (drem_test_downward): Likewise.
13017 (remainder_test_upward): Likewise.
13018 (drem_test_upward): Likewise.
13019 (remquo_test): Likewise.
13020 (rint_test): Likewise.
13021 (rint_test_tonearest): Likewise.
13022 (rint_test_towardzero): Likewise.
13023 (rint_test_downward): Likewise.
13024 (rint_test_upward): Likewise.
13025 (round_test): Likewise.
13026 (scalb_test): Likewise.
13027 (scalbn_test): Likewise.
13028 (scalbln_test): Likewise.
13029 (signbit_test): Likewise.
13030 (sin_test): Likewise.
13031 (sin_test_tonearest): Likewise.
13032 (sin_test_towardzero): Likewise.
13033 (sin_test_downward): Likewise.
13034 (sin_test_upward): Likewise.
13035 (sincos_test): Likewise.
13036 (sinh_test): Likewise.
13037 (sinh_test_tonearest): Likewise.
13038 (sinh_test_towardzero): Likewise.
13039 (sinh_test_downward): Likewise.
13040 (sinh_test_upward): Likewise.
13041 (sqrt_test): Likewise.
13042 (sqrt_test_tonearest): Likewise.
13043 (sqrt_test_towardzero): Likewise.
13044 (sqrt_test_downward): Likewise.
13045 (sqrt_test_upward): Likewise.
13046 (tan_test): Likewise.
13047 (tan_test_tonearest): Likewise.
13048 (tan_test_towardzero): Likewise.
13049 (tan_test_downward): Likewise.
13050 (tan_test_upward): Likewise.
13051 (tanh_test): Likewise.
13052 (tgamma_test): Likewise.
13053 (trunc_test): Likewise.
13054 (y0_test): Likewise.
13055 (y1_test): Likewise.
13056 (yn_test): Likewise.
13057 (significand_test): Likewise.
13058
13059 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
13060 individual tests in comment.
13061 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
13062 (prev_max_error): New variable.
13063 (prev_real_max_error): Likewise.
13064 (prev_imag_max_error): Likewise.
13065 (compare_ulp_data): Don't refer to test names in comment.
13066 (find_test_ulps): Remove function.
13067 (find_function_ulps): Likewise.
13068 (find_complex_function_ulps): Likewise.
13069 (init_max_error): Take function name as argument. Look up ulps
13070 for that function.
13071 (print_ulps): Remove function.
13072 (print_max_error): Use prev_max_error instead of calling
13073 find_function_ulps.
13074 (print_complex_max_error): Use prev_real_max_error and
13075 prev_imag_max_error instead of calling find_complex_function_ulps.
13076 (check_float_internal): Take max_ulp parameter instead of calling
13077 find_test_ulps. Don't call print_ulps.
13078 (check_float): Update call to check_float_internal.
13079 (check_complex): Update calls to check_float_internal.
13080 (START): Pass argument to init_max_error.
13081 * math/gen-libm-test.pl (%results): Don't include "kind"
13082 information.
13083 (parse_ulps): Don't handle ulps of individual tests.
13084 (print_ulps_file): Likewise.
13085 (output_ulps): Likewise.
13086 * math/README.libm-test: Update.
13087 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
13088 individual tests.
13089 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
13090 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
13091 * sysdeps/arm/libm-test-ulps: Likewise.
13092 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
13093 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
13094 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
13095 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
13096 * sysdeps/microblaze/libm-test-ulps: Likewise.
13097 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
13098 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
13099 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
13100 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
13101 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
13102 * sysdeps/sh/libm-test-ulps: Likewise.
13103 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
13104 * sysdeps/tile/libm-test-ulps: Likewise.
13105 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13106
13107 2014-03-04 Joseph Myers <joseph@codesourcery.com>
13108
13109 * math/libm-test.inc (print_complex_max_error): Check separately
13110 whether real and imaginary errors are within allowed range and
13111 pass 0 to print_complex_function_ulps instead of value within
13112 allowed range.
13113
13114 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
13115
13116 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
13117 formatting.
13118 (get_handles_fopen): Likewise.
13119 (do_write_test): Likewise.
13120
13121 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
13122
13123 * libio/fileops.c (do_ftell): Use cached offset when
13124 available.
13125 * libio/iofwide.c (do_ftell_wide): Likewise.
13126 * libio/iofdopen.c (_IO_new_fdopen): Don't use
13127 _IO_file_attach.
13128 * libio/wfileops.c (_IO_fwide): Don't cache offset.
13129
13130 [BZ #16532]
13131 * libio/libioP.h (get_file_offset): New function.
13132 * libio/fileops.c (get_file_offset): Likewise.
13133 (do_ftell): Likewise.
13134 (_IO_new_file_seekoff): Split out ftell logic.
13135 * libio/wfileops.c (do_ftell_wide): Likewise.
13136 (_IO_wfile_seekoff): Split out ftell logic.
13137 * libio/tst-ftell-active-handler.c: New test case.
13138 * libio/Makefile (tests): Add it.
13139
13140 2014-03-03 Roland McGrath <roland@hack.frob.com>
13141
13142 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
13143 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
13144
13145 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
13146
13147 [BZ #16639]
13148 * nscd/connections.c (nscd_init): Call do_exit.
13149 (start_threads): Call do_exit and notify_parent.
13150 (begin_drop_privileges): Call do_exit.
13151 (finish_drop_privileges): Likewise.
13152 * nscd/selinux.c (preserve_capabilities): Likewise.
13153 (install_real_capabilities): Likewise.
13154 (nscd_selinux_enabled): Likewise.
13155 (avc_create_thread): Likewise.
13156 (avc_alloc_lock): Likewise.
13157 (nscd_avc_init): Likewise.
13158 * nscd/nscd.c (parent_fd): New static variable.
13159 (main): Create a pipe between parent and child processes.
13160 Skip closing parent_fd.
13161 (monitor_child): New function.
13162 (do_exit): Likewise.
13163 (notify_parent): Likewise.
13164 * nscd/nscd.h (notify_parent): Likewise.
13165 (do_exit): Likewise.
13166
13167 2014-03-03 Carlos O'Donell <carlos@redhat.com>
13168
13169 * malloc/malloc.c (__libc_calloc): Revert last change.
13170
13171 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13172
13173 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13174
13175 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
13176
13177 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
13178 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
13179 implementation.
13180 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
13181 (__libc_ifunc_impl_list): Likewise.
13182 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
13183 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
13184 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
13185 * string/strrchr.c: Define STRRCHR.
13186
13187 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
13188
13189 * benchtest/bench-strtok.c (simple_strtok): Delete.
13190 (strtok_string): Use as benchmark.
13191 * string/strtok (STRTOK): New macro.
13192
13193 2014-02-28 Carlos O'Donell <carlos@redhat.com>
13194
13195 * manual/threads.texi: Add header and standard comments to all
13196 functions.
13197
13198 * elf/dl-lookup.c (check_match): New function.
13199 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
13200 (do_lookup_x): Remove nested function check_match. Use non-nested
13201 function check_match.
13202
13203 2014-02-28 Roland McGrath <roland@hack.frob.com>
13204
13205 * csu/Makefile (generated, before-compile): Use += rather than =.
13206 * catgets/Makefile (generated, generated-dirs): Likewise.
13207 * debug/Makefile (generated): Likewise.
13208 * dlfcn/Makefile (generated): Likewise.
13209 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
13210 * iconvdata/Makefile (before-compile, generated): Likewise.
13211 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
13212 * libio/Makefile (generated): Likewise.
13213 * malloc/Makefile (generated): Likewise.
13214 * manual/Makefile (generated, generated-dirs): Likewise.
13215 * misc/Makefile (generated): Likewise.
13216 * posix/Makefile (generated): Likewise.
13217 * resolv/Makefile (generated): Likewise.
13218 * sunrpc/Makefile (generated, generated-dirs): Likewise.
13219 * timezone/Makefile (generated, generated-dirs): Likewise.
13220
13221 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
13222
13223 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13224
13225 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
13226 power8 implementation.
13227 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
13228 file: POWER8 llround ifunc implementation.
13229 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
13230 (__lllround): Add POWER8 implementation.
13231 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
13232 POWER8 llround implementation.
13233
13234 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
13235 power8 implementation.
13236 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
13237 file: POWER8 llrint ifunc implementation.
13238 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
13239 Add POWER8 implementation.
13240 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
13241 POWER8 llrint implementation.
13242
13243 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
13244 power8 implementation.
13245 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
13246 file: POWER8 finite ifunc implementation.
13247 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
13248 Add POWER8 implementation.
13249 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
13250 Likewise.
13251 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
13252 POWER8 finite implementation.
13253 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
13254
13255 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
13256 power8 implementation.
13257 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
13258 file: POWER8 isinf ifunc implementation.
13259 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
13260 POWER8 implementation.
13261 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
13262 Likewise.
13263 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
13264 isinf implementation.
13265 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
13266
13267 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
13268 (INIT_ARCH): Add hwcap2 initialization.
13269 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
13270 power8 implementation.
13271 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
13272 file: POWER8 isnan ifunc implementation.
13273 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
13274 POWER8 implementation.
13275 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
13276 Likewise.
13277 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
13278 isnan implementation.
13279 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
13280
13281 2014-02-27 Joey Ye <joey.ye@arm.com>
13282
13283 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
13284 (_FP_NANFRAC_Q): Set to zero.
13285
13286 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
13287
13288 [BZ #16623]
13289 * math/auto-libm-test-in: New test inputs.
13290 * math/auto-libm-test-out: Regenerate.
13291 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
13292 and DA.
13293 (__cos): Likewise.
13294 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
13295
13296 2014-02-27 Joseph Myers <joseph@codesourcery.com>
13297
13298 * scripts/evaluate-test.sh: Take new argument indicating whether
13299 failure is expected.
13300 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
13301 indicating whether failure is expected.
13302 * conform/Makefile (test-xfail-run-conformtest): New variable.
13303 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
13304 level.
13305 * posix/Makefile (test-xfail-annexc): New variable.
13306 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
13307
13308 2014-02-26 Joseph Myers <joseph@codesourcery.com>
13309
13310 * argp/Makefile: Include Makeconfig immediately after defining
13311 subdir.
13312 * assert/Makefile: Likewise.
13313 * benchtests/Makefile: Likewise.
13314 * catgets/Makefile: Likewise.
13315 * conform/Makefile: Likewise.
13316 * crypt/Makefile: Likewise.
13317 * csu/Makefile: Likewise.
13318 (all): Remove target.
13319 * ctype/Makefile: Include Makeconfig immediately after defining
13320 subdir.
13321 * debug/Makefile: Likewise.
13322 * dirent/Makefile: Likewise.
13323 * dlfcn/Makefile: Likewise.
13324 * gmon/Makefile: Likewise.
13325 * gnulib/Makefile: Likewise.
13326 * grp/Makefile: Likewise.
13327 * gshadow/Makefile: Likewise.
13328 * hesiod/Makefile: Likewise.
13329 * hurd/Makefile: Likewise.
13330 (all): Remove target.
13331 * iconvdata/Makefile: Include Makeconfig immediately after
13332 defining subdir.
13333 * inet/Makefile: Likewise.
13334 * intl/Makefile: Likewise.
13335 * io/Makefile: Likewise.
13336 * libio/Makefile: Likewise.
13337 (all): Remove target.
13338 * locale/Makefile: Include Makeconfig immediately after defining
13339 subdir.
13340 * login/Makefile: Likewise.
13341 * mach/Makefile: Likewise.
13342 (all): Remove target.
13343 * malloc/Makefile: Include Makeconfig immediately after defining
13344 subdir.
13345 (all): Remove target.
13346 * manual/Makefile: Include Makeconfig immediately after defining
13347 subdir.
13348 * math/Makefile: Likewise.
13349 * misc/Makefile: Likewise.
13350 * nis/Makefile: Likewise.
13351 * nss/Makefile: Likewise.
13352 * po/Makefile: Likewise.
13353 (all): Remove target.
13354 * posix/Makefile: Include Makeconfig immediately after defining
13355 subdir.
13356 * pwd/Makefile: Likewise.
13357 * resolv/Makefile: Likewise.
13358 * resource/Makefile: Likewise.
13359 * rt/Makefile: Likewise.
13360 * setjmp/Makefile: Likewise.
13361 * shadow/Makefile: Likewise.
13362 * signal/Makefile: Likewise.
13363 * socket/Makefile: Likewise.
13364 * soft-fp/Makefile: Likewise.
13365 * stdio-common/Makefile: Likewise.
13366 * stdlib/Makefile: Likewise.
13367 * streams/Makefile: Likewise.
13368 * string/Makefile: Likewise.
13369 * sunrpc/Makefile: Likewise.
13370 (all): Remove target.
13371 * sysvipc/Makefile: Include Makeconfig immediately after defining
13372 subdir.
13373 * termios/Makefile: Likewise.
13374 * time/Makefile: Likewise.
13375 * timezone/Makefile: Likewise.
13376 (all): Remove target.
13377 * wcsmbs/Makefile: Include Makeconfig immediately after defining
13378 subdir.
13379 * wctype/Makefile: Likewise.
13380
13381 2014-02-26 Steve Ellcey <sellcey@mips.com>
13382
13383 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
13384 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
13385 (libc_feholdexcept_setround_mips): Ditto.
13386 (libc_feholdsetround): New.
13387 (libc_feholdsetroundf): New.
13388 (libc_feholdsetroundl): New.
13389 (libc_feupdateenv_test_mips): New.
13390 (libc_feupdateenv_test): New.
13391 (libc_feupdateenv_testf): New.
13392 (libc_feupdateenv_testl): New.
13393 (libc_feresetround): New.
13394 (libc_feresetroundf): New.
13395 (libc_feresetroundl): New.
13396 (libc_fetestexcept_mips): New.
13397 (libc_fetestexcept): New.
13398 (libc_fetestexceptf): New.
13399 (libc_fetestexceptl): New.
13400 (HAVE_RM_CTX): New.
13401 (libc_feholdexcept_setround_mips_ctx): New.
13402 (libc_feholdexcept_setround_ctx): New.
13403 (libc_feholdexcept_setroundf_ctx): New.
13404 (libc_feholdexcept_setroundl_ctx): New.
13405 (libc_fesetenv_mips_ctx): New.
13406 (libc_fesetenv_ctx): New.
13407 (libc_fesetenv_ctxf): New.
13408 (libc_fesetenv_ctxl): New.
13409 (libc_feupdateenv_mips_ctx): New.
13410 (libc_feupdateenv_ctx): New.
13411 (libc_feupdateenvf_ctx): New.
13412 (libc_feupdateenvl_ctx): New.
13413 (libc_feholdsetround_mips_ctx): New.
13414 (libc_feholdsetround_ctx): New.
13415 (libc_feholdsetroundf_ctx): New.
13416 (libc_feholdsetroundl_ctx): New.
13417 (libc_feresetround_mips_ctx): New.
13418 (libc_feresetround_ctx): New.
13419 (libc_feresetroundf_ctx): New.
13420 (libc_feresetroundl_ctx): New.
13421
13422 2014-02-26 Carlos O'Donell <carlos@redhat.com>
13423
13424 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
13425
13426 * manual/ipc.texi: New file.
13427 * manual/Makefile (chapters): Add ipc.
13428 * manual/job.texi: Add "Inter-Process Communication" to next.
13429 * manual/process.texi: Add "Inter-Process Communication" to prev.
13430
13431 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13432
13433 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13434
13435 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
13436
13437 * malloc/malloc.c (__libc_calloc): Simplify implementation.
13438
13439 * manual/arith.texi: Fix spaces after sentences.
13440 * manual/charset.texi: Likewise.
13441 * manual/errno.texi: Likewise.
13442 * manual/install.texi: Likewise.
13443 * manual/llio.texi: Likewise.
13444 * manual/locale.texi: Likewise.
13445 * manual/maint.texi: Likewise.
13446 * manual/math.texi: Likewise.
13447 * manual/memory.texi: Likewise.
13448 * manual/message.texi: Likewise.
13449 * manual/probes.texi: Likewise.
13450 * manual/resource.texi: Likewise.
13451 * manual/signal.texi: Likewise.
13452 * manual/socket.texi: Likewise.
13453 * manual/stdio.texi: Likewise.
13454 * manual/string.texi: Likewise.
13455 * manual/time.texi: Likewise.
13456 * manual/users.texi: Likewise.
13457
13458 2014-02-25 Carlos O'Donell <carlos@redhat.com>
13459
13460 [BZ #16632]
13461 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
13462 _DEFAULT_SOURCE is defined.
13463
13464 2014-02-25 Ulrich Drepper <drepper@gmail.com>
13465 Carlos O'Donell <carlos@redhat.com>
13466
13467 [BZ #16613]
13468 * elf/dl-tls.c (_dl_count_modids): New function.
13469 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
13470 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
13471 audit library and increment generation counter.
13472 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
13473 * elf/tst-audit9.c: New file.
13474 * elf/tst-auditmod9a.c: New file.
13475 * elf/tst-auditmod9b.c: New file.
13476 * elf/Makefile: Add rules to build and run tst-audit9.
13477
13478 2014-02-25 Florian Weimer <fweimer@redhat.com>
13479
13480 [BZ #15347]
13481 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
13482
13483 2014-02-25 Will Newton <will.newton@linaro.org>
13484
13485 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
13486 (__longjmp): Restore sp and lr before restoring callee
13487 saved registers. Add longjmp and longjmp_target
13488 SystemTap probe point.
13489 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
13490 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
13491 Define to zero to match jmpbuf layout.
13492 * sysdeps/arm/setjmp.S: Include stap-probe.h.
13493 (__sigsetjmp): Save sp and lr before saving callee
13494 saved registers. Add setjmp SystemTap probe point.
13495
13496 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
13497
13498 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
13499
13500 2014-02-24 Andreas Schwab <schwab@suse.de>
13501
13502 [BZ #15804]
13503 * elf/pldd.c (wait_for_ptrace_stop): New function.
13504 (main): Call it after attaching.
13505
13506 2014-02-22 Roland McGrath <roland@hack.frob.com>
13507
13508 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
13509 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
13510 Versions files is now verboten.
13511 * hurd/Versions (libc: GLIBC_2.0):
13512 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
13513 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
13514 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
13515 * mach/Versions: Likewise.
13516
13517 * csu/Versions: Remove unused %include.
13518 * resolv/Versions: Likewise.
13519
13520 2014-02-21 Joseph Myers <joseph@codesourcery.com>
13521
13522 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
13523 ($(objpfx)check-local-headers.out): Likewise.
13524 ($(objpfx)begin-end-check.out): Likewise.
13525 * Makerules (check-abi-%.out): Likewise.
13526 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
13527 ($(objpfx)test2.cat): Likewise.
13528 ($(objpfx)de/libc.cat): Likewise.
13529 ($(objpfx)test-gencat.out): Likewise.
13530 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
13531 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
13532 ($(objpfx)noload-mem): Likewise.
13533 ($(objpfx)tst-pathopt.out): Likewise.
13534 ($(objpfx)tst-rtld-load-self.out): Likewise.
13535 ($(objpfx)tst-array1-cmp.out): Likewise.
13536 ($(objpfx)tst-array1-static-cmp.out): Likewise.
13537 ($(objpfx)tst-array2-cmp.out): Likewise.
13538 ($(objpfx)tst-array3-cmp.out): Likewise.
13539 ($(objpfx)tst-array4-cmp.out): Likewise.
13540 ($(objpfx)tst-array5-cmp.out): Likewise.
13541 ($(objpfx)tst-array5-static-cmp.out): Likewise.
13542 ($(objpfx)check-textrel.out): Likewise.
13543 ($(objpfx)check-execstack.out): Likewise.
13544 ($(objpfx)check-localplt.out): Likewise.
13545 ($(objpfx)order2-cmp.out): Likewise.
13546 ($(objpfx)tst-leaks1-mem): Likewise.
13547 ($(objpfx)tst-leaks1-static-mem): Likewise.
13548 ($(objpfx)tst-initorder-cmp.out): Likewise.
13549 ($(objpfx)tst-initorder2-cmp.out): Likewise.
13550 ($(objpfx)tst-unused-dep.out): Likewise.
13551 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
13552 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
13553 * iconv/Makefile (test-iconvconfig): Likewise.
13554 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
13555 ($(objpfx)iconv-test.out): Likewise.
13556 ($(objpfx)tst-tables.out): Likewise.
13557 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
13558 ($(objpfx)tst-gettext.out): Likewise.
13559 ($(objpfx)tst-translit.out): Likewise.
13560 ($(objpfx)tst-gettext2.out): Likewise.
13561 ($(objpfx)tst-gettext4.out): Likewise.
13562 ($(objpfx)tst-gettext6.out): Likewise.
13563 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
13564 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
13565 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
13566 ($(objpfx)tst-fopenloc-mem.out): Likewise.
13567 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
13568 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
13569 * posix/Makefile ($(objpfx)globtest.out): Likewise.
13570 ($(objpfx)wordexp-tst.out): Likewise.
13571 ($(objpfx)annexc.out): Likewise.
13572 ($(objpfx)tst-fnmatch-mem): Likewise.
13573 ($(objpfx)bug-regex2-mem): Likewise.
13574 ($(objpfx)bug-regex14-mem): Likewise.
13575 ($(objpfx)bug-regex21-mem): Likewise.
13576 ($(objpfx)bug-regex31-mem): Likewise.
13577 ($(objpfx)tst-vfork3-mem): Likewise.
13578 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
13579 ($(objpfx)tst-pcre-mem): Likewise.
13580 ($(objpfx)tst-boost-mem): Likewise.
13581 ($(objpfx)tst-getconf.out): Likewise.
13582 ($(objpfx)bug-ga2-mem): Likewise.
13583 ($(objpfx)bug-glob2-mem): Likewise.
13584 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
13585 ($(objpfx)mtrace-tst-leaks2): Likewise.
13586 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
13587 ($(objpfx)tst-printf.out): Likewise.
13588 ($(objpfx)tst-setvbuf1.out): Likewise.
13589 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
13590 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
13591 ($(objpfx)tst-fmtmsg.out): Likewise.
13592 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
13593 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
13594
13595 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
13596 * bits/sigaction.h [__USE_MISC]: Likewise.
13597 * bits/waitstatus.h: Update #endif comments.
13598 * ctype/ctype.h: Likewise.
13599 * dirent/dirent.h: Likewise.
13600 [__USE_MISC]: Remove redundant conditionals.
13601 * grp/grp.h: Update #endif comments.
13602 [__USE_GNU]: Remove redundant conditionals.
13603 [__USE_MISC]: Likewise.
13604 * inet/netinet/in.h [__USE_GNU]: Likewise.
13605 * io/sys/stat.h [__USE_MISC]: Likewise.
13606 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
13607 * libio/bits/stdio.h: Update #endif comments.
13608 [__USE_MISC]: Remove redundant conditionals.
13609 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
13610 * libio/stdio.h: Update #endif comments.
13611 [__USE_MISC]: Remove redundant conditionals.
13612 * math/bits/math-finite.h [__USE_MISC]: Likewise.
13613 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
13614 * math/math.h: Update #else and #endif comments.
13615 [__USE_MISC]: Remove redundant conditionals.
13616 * misc/sys/uio.h: Update #endif comments.
13617 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
13618 * posix/glob.h [__USE_MISC]: Likewise.
13619 * posix/sys/types.h: Update #endif comments.
13620 [__USE_MISC]: Remove redundant conditionals.
13621 * posix/sys/wait.h: Update #endif comments.
13622 [__USE_MISC]: Remove redundant conditionals.
13623 * posix/unistd.h: Update #endif comments.
13624 [__USE_MISC]: Remove redundant conditionals.
13625 * pwd/pwd.h [__USE_GNU]: Likewise.
13626 [__USE_MISC]: Likewise.
13627 * resolv/netdb.h [__USE_GNU]: Likewise.
13628 * signal/signal.h: Update #endif comments.
13629 [__USE_MISC]: Remove redundant conditionals.
13630 * stdlib/stdlib.h: Update #else and #endif comments.
13631 [__USE_MISC]: Remove redundant conditionals.
13632 [__USE_GNU]: Likewise.
13633 * string/bits/string2.h [__USE_MISC]: Likewise.
13634 * string/string.h: Update #endif comments.
13635 [__USE_MISC]: Remove redundant conditionals.
13636 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
13637 Likewise.
13638 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
13639 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
13640 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
13641 Likewise.
13642 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
13643 Likewise.
13644 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
13645 comments.
13646 [__USE_MISC]: Remove redundant conditionals.
13647 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
13648 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
13649 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
13650 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
13651 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
13652 Likewise.
13653 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
13654 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
13655 Likewise.
13656 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
13657 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
13658 Likewise.
13659 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
13660 Likewise.
13661 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
13662 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
13663 Likewise.
13664 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
13665 Likewise.
13666 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
13667 * sysdeps/x86/bits/string.h: Update #endif comments.
13668 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
13669 conditionals.
13670 * time/sys/time.h: Update #endif comments.
13671 * time/time.h: Likewise.
13672 [__USE_MISC]: Remove redundant conditionals.
13673
13674 2014-02-21 Yury Gribov <y.gribov@samsung.com>
13675
13676 [BZ #16600]
13677 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
13678
13679 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
13680
13681 * Versions.def (librt): Add GLIBC_2.17.
13682
13683 2014-02-21 Adam Conrad <adconrad@0c3.net>
13684
13685 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
13686 synonym for _SYS_AUXV_H to allow direct inclusion.
13687 * sysdeps/sparc/bits/hwcap.h: Likewise.
13688 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
13689 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
13690 * sysdeps/sparc/sysdep.h: Likewise.
13691
13692 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
13693
13694 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
13695
13696 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
13697
13698 * benchtests/bench-strrchr.c: Print length instead of position.
13699
13700 2014-02-20 Joseph Myers <joseph@codesourcery.com>
13701
13702 [BZ #16611]
13703 * sysdeps/unix/sysv/linux/kernel-features.h
13704 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
13705 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
13706 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
13707 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
13708 Likewise.
13709 [__i386__ || __powerpc__ || __sh__ || __sparc__]
13710 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
13711 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
13712 (__ASSUME_SENDMMSG): Define instead of using previous
13713 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
13714 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
13715 (__ASSUME_SENDMMSG_SYSCALL): Define.
13716 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
13717 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
13718 Likewise.
13719 * sysdeps/unix/sysv/linux/arm/kernel-features.h
13720 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
13721 Likewise.
13722 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
13723 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
13724 Likewise.
13725 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
13726 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
13727 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
13728 [__ASSUME_SENDMMSG]: Change conditionals to
13729 [__ASSUME_SENDMMSG_SOCKETCALL].
13730 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13731 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
13732 Define.
13733 * sysdeps/unix/sysv/linux/mips/kernel-features.h
13734 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
13735 Likewise.
13736 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
13737 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
13738 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
13739 [!__ASSUME_SENDMMSG]: Change conditional to
13740 [!__ASSUME_SENDMMSG_SOCKETCALL].
13741 * sysdeps/unix/sysv/linux/tile/kernel-features.h
13742 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
13743 Define.
13744
13745 [BZ #16610]
13746 * sysdeps/unix/sysv/linux/kernel-features.h
13747 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
13748 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
13749 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
13750 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
13751 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
13752 [__i386__ || __sparc__]
13753 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
13754 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
13755 (__ASSUME_RECVMMSG): Define instead of using previous
13756 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
13757 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
13758 (__ASSUME_RECVMMSG_SYSCALL): Define.
13759 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
13760 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
13761 Likewise.
13762 * sysdeps/unix/sysv/linux/arm/kernel-features.h
13763 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
13764 Likewise.
13765 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
13766 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
13767 Likewise.
13768 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
13769 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
13770 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
13771 [__ASSUME_RECVMMSG]: Change condition to
13772 [__ASSUME_RECVMMSG_SOCKETCALL].
13773 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13774 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
13775 Define.
13776 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
13777 * sysdeps/unix/sysv/linux/mips/kernel-features.h
13778 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
13779 Likewise.
13780 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
13781 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
13782 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
13783 [!__ASSUME_RECVMMSG]: Change condition to
13784 [!__ASSUME_RECVMMSG_SOCKETCALL].
13785 * sysdeps/unix/sysv/linux/tile/kernel-features.h
13786 (__ASSUME_RECVMMSG_SYSCALL): Define.
13787
13788 [BZ #16609]
13789 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
13790 __powerpc__ || __s390__ || __sh__ || __sparc__]
13791 (__ASSUME_SOCKETCALL): Define.
13792 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
13793 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
13794 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
13795 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
13796 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
13797 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
13798 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
13799 (__ASSUME_ACCEPT4): Define instead of using previous
13800 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
13801 __powerpc__ || __sparc__ || __s390__)] condition.
13802 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
13803 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
13804 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
13805 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
13806 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
13807 [!__ASSUME_ACCEPT4]: Change condition to
13808 [!__ASSUME_ACCEPT4_SOCKETCALL].
13809 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
13810 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
13811 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
13812 * sysdeps/unix/sysv/linux/arm/kernel-features.h
13813 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
13814 __ASSUME_ACCEPT4_SYSCALL.
13815 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
13816 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
13817 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
13818 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
13819 __ASSUME_ACCEPT4_SYSCALL.
13820 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
13821 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
13822 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
13823 [__ASSUME_ACCEPT4]: Change condition to
13824 [__ASSUME_ACCEPT4_SOCKETCALL].
13825 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
13826 (__ASSUME_SOCKETCALL): Define.
13827 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
13828 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13829 (__ASSUME_SOCKETCALL): Define.
13830 (__ASSUME_ACCEPT4): Remove.
13831 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
13832 Define.
13833 * sysdeps/unix/sysv/linux/mips/kernel-features.h
13834 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
13835 Likewise.
13836 * sysdeps/unix/sysv/linux/tile/kernel-features.h
13837 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
13838
13839 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
13840 macro.
13841 (HWCAP_ARM_LPAE): Likewise.
13842 (HWCAP_ARM_EVTSTRM): Likewise.
13843 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
13844 Add vpfd32, lpae and evtstrm.
13845 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
13846 Increase to 22.
13847
13848 2014-02-19 Joseph Myers <joseph@codesourcery.com>
13849
13850 * math/auto-libm-test-in: Add tests of clog10.
13851 * math/auto-libm-test-out: Regenerated.
13852 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
13853 * sysdeps/i386/fpu/libm-test-ulps: Update.
13854 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13855
13856 2014-02-18 Andreas Schwab <schwab@suse.de>
13857
13858 [BZ #16574]
13859 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
13860 Store non-zero if the second buffer was newly allocated.
13861 (send_dg): Likewise.
13862 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
13863 to send_vc and send_dg.
13864 (res_nsend): Pass NULL for ansp2_malloced.
13865 * resolv/res_query.c (__libc_res_nquery): Add parameter
13866 answerp2_malloced and pass it down to __libc_res_nsend.
13867 (res_nquery): Pass additional NULL to __libc_res_nquery.
13868 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
13869 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
13870 second answer buffer if answerp2_malloced was set.
13871 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
13872 (__libc_res_nquerydomain): Add parameter
13873 answerp2_malloced and pass it down to __libc_res_nquery.
13874 (res_nquerydomain): Pass additional NULL to
13875 __libc_res_nquerydomain.
13876 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
13877 additional NULL to __libc_res_nsend and __libc_res_nquery.
13878 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
13879 additional NULL to __libc_res_nsearch.
13880 (_nss_dns_gethostbyname4_r): Revert last change. Use new
13881 parameter of __libc_res_nsearch to check for separately allocated
13882 second buffer.
13883 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
13884 __libc_res_nquery.
13885 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
13886 additional NULL to __libc_res_nquery.
13887 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
13888 __libc_res_nsearch.
13889 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
13890 * include/resolv.h: Update prototypes of __libc_res_nquery,
13891 __libc_res_nsearch, __libc_res_nsend.
13892
13893 2014-02-18 Joseph Myers <joseph@codesourcery.com>
13894
13895 * math/auto-libm-test-in: Add tests of fma.
13896 * math/auto-libm-test-out: Regenerated.
13897 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
13898 (fma_towardzero_test_data): Likewise.
13899 (fma_downward_test_data): Likewise.
13900 (fma_upward_test_data): Likewise.
13901 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
13902 mpc_mode.
13903 (rounding_modes): Add values for new field.
13904 (func_calc_method): Add value mpfr_fff_f.
13905 (func_calc_desc): Add mpfr_fff_f union field.
13906 (test_function): Add field exact_args.
13907 (FUNC): Add macro argument EXACT_ARGS.
13908 (FUNC_mpfr_f_f): Update call to FUNC.
13909 (FUNC_mpfr_f_f): Likewise.
13910 (FUNC_mpfr_ff_f): Likewise.
13911 (FUNC_mpfr_if_f): Likewise.
13912 (FUNC_mpc_c_f): Likewise.
13913 (FUNC_mpc_c_c): Likewise.
13914 (test_functions): Add fma. Update calls to FUNC.
13915 (handle_input_arg): Add argument exact_args.
13916 (add_test): Update call to handle_input_arg.
13917 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
13918 (output_for_one_input_case): Update call to calc_generic_results.
13919 Recalculate exact zero results in each rounding mode.
13920
13921 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
13922 non-negative before setting low bit.
13923 * math/auto-libm-test-in: Mark one asin test possibly having
13924 spurious underflow.
13925 * math/auto-libm-test-out: Regenerated.
13926 * sysdeps/i386/fpu/libm-test-ulps: Update.
13927 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13928
13929 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
13930
13931 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
13932 * sysdeps/unix/sysv/linux/microblaze: Move directory from
13933 ports/sysdeps/unix/sysv/linux/microblaze.
13934 * README: Add missing listing for microblaze*-*-linux-gnu.
13935
13936 2014-02-16 Ondřej Bílka <neleai@seznam.cz>
13937
13938 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
13939 duplicate code
13940
13941 2014-02-16 Mike Frysinger <vapier@gentoo.org>
13942
13943 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
13944 * sysdeps/unix/sysv/linux/ia64: Move directory from
13945 ports/sysdeps/unix/sysv/linux/ia64.
13946 * README: Update listing for ia64-*-linux-gnu.
13947
13948 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
13949 Joseph Myers <joseph@codesourcery.com>
13950
13951 * Makeconfig (test-name): New variable.
13952 (evaluate-test): Likewise.
13953 * Makerules (do-test-clean): Remove .test-result files.
13954 (common-mostlyclean): Likewise.
13955 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
13956 * scripts/evaluate-test.sh: New file.
13957
13958 2014-02-14 Joseph Myers <joseph@codesourcery.com>
13959
13960 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
13961 separate $(objpfx)tst-fopenloc-cmp.out and
13962 $(objpfx)tst-fopenloc-mem.out targets.
13963 (tests): Update dependencies.
13964 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
13965 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
13966 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
13967 (tst-rxspencer-no-utf8-ARGS): New variable.
13968 (tst-rxspencer-no-utf8-ENV): Likewise.
13969 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
13970 instead of $(objpfx)tst-rxspencer-mem.
13971 ($(objpfx)tst-rxspencer-mem): Change target to
13972 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
13973 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
13974 * posix/tst-rxspencer-no-utf8.c: New file.
13975
13976 * elf/Makefile ($(objpfx)order.out): Remove rule.
13977 [$(run-built-tests) = yes] (tests): Depend on
13978 $(objpfx)order-cmp.out.
13979 ($(objpfx)order-cmp.out): New rule.
13980 [$(run-built-tests) = yes] (tests): Depend on
13981 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
13982 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
13983 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
13984 $(objpfx)tst-array5-static-cmp.out.
13985 ($(objpfx)tst-array1.out): Remove rule.
13986 ($(objpfx)tst-array1-cmp.out): New rule.
13987 ($(objpfx)tst-array1-static.out): Remove rule.
13988 ($(objpfx)tst-array1-static-cmp.out): New rule.
13989 ($(objpfx)tst-array2.out): Remove rule.
13990 ($(objpfx)tst-array2-cmp.out): New rule.
13991 ($(objpfx)tst-array3.out): Remove rule.
13992 ($(objpfx)tst-array3-cmp.out): New rule.
13993 ($(objpfx)tst-array4.out): Remove rule.
13994 ($(objpfx)tst-array4-cmp.out): New rule.
13995 ($(objpfx)tst-array5.out): Remove rule.
13996 ($(objpfx)tst-array5-cmp.out): New rule.
13997 ($(objpfx)tst-array5-static.out): Remove rule.
13998 ($(objpfx)tst-array5-static-cmp.out): New rule.
13999 [$(run-built-tests) = yes] (tests): Depend on
14000 $(objpfx)order2-cmp.out.
14001 ($(objpfx)order2.out): Remove rule.
14002 ($(objpfx)order2-cmp.out): New rule.
14003 ($(objpfx)tst-initorder.out): Remove rule.
14004 [$(run-built-tests) = yes] (tests): Depend on
14005 $(objpfx)tst-initorder-cmp.out.
14006 ($(objpfx)tst-initorder-cmp.out): New rule.
14007 ($(objpfx)tst-initorder2.out): Remove rule.
14008 [$(run-built-tests) = yes] (tests): Depend on
14009 $(objpfx)tst-initorder2-cmp.out.
14010 ($(objpfx)tst-initorder2-cmp.out): New rule.
14011 [$(run-built-tests) = yes] (tests): Depend on
14012 $(objpfx)tst-unused-dep-cmp.out.
14013 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
14014 ($(objpfx)tst-unused-dep-cmp.out): New rule.
14015 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
14016 on $(objpfx)tst-setvbuf1-cmp.out.
14017 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
14018 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
14019 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
14020 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
14021 ($(objpfx)tst-svc.out): Remove rule.
14022 ($(objpfx)tst-svc-cmp.out): New rule.
14023
14024 2014-02-13 Joseph Myers <joseph@codesourcery.com>
14025
14026 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
14027 * ctype/ctype.h [__USE_MISC]: Likewise.
14028 * dirent/dirent.h [__USE_MISC]: Likewise.
14029 * grp/grp.h [__USE_MISC]: Likewise.
14030 * io/fcntl.h [__USE_MISC]: Likewise.
14031 * io/sys/stat.h [__USE_MISC]: Likewise.
14032 * libio/stdio.h [__USE_MISC]: Likewise.
14033 * posix/unistd.h [__USE_MISC]: Likewise.
14034 * pwd/pwd.h [__USE_MISC]: Likewise.
14035 * stdlib.h [__USE_MISC]: Likewise.
14036 * string/bits/string2.h [__USE_MISC]: Likewise.
14037 * string/string.h [__USE_MISC]: Likewise.
14038 * time/time.h [__USE_MISC]: Likewise.
14039
14040 2014-02-13 Andreas Schwab <schwab@suse.de>
14041
14042 [BZ #16574]
14043 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
14044 second answer buffer if it was separately allocated.
14045
14046 2014-02-12 Joseph Myers <joseph@codesourcery.com>
14047
14048 * sysdeps/mips/math-tests.h: Include <features.h>.
14049 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
14050 (ROUNDING_TESTS_long_double): Do not define.
14051 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
14052 (EXCEPTION_TESTS_long_double): Likewise.
14053 * sysdeps/mips/mips64/libm-test-ulps: Update.
14054
14055 * include/features.h (__USE_BSD): Remove macro definitions.
14056 (__USE_SVID): Likewise.
14057 (_BSD_SOURCE): Likewise.
14058 (_SVID_SOURCE): Likewise.
14059 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
14060 from definition of _DEFAULT_SOURCE.
14061 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
14062 [_DEFAULT_SOURCE].
14063 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
14064 * bits/mman.h [__USE_BSD]: Likewise.
14065 * bits/termios.h [__USE_BSD]: Likewise.
14066 * bits/waitstatus.h [__USE_BSD]: Likewise.
14067 * ctype/ctype.h [__USE_SVID]: Likewise.
14068 * dirent/dirent.h [__USE_BSD]: Likewise.
14069 * grp/grp.h [__USE_SVID]: Likewise.
14070 [__USE_BSD]: Likewise.
14071 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
14072 * io/fcntl.h [__USE_BSD]: Likewise.
14073 * io/ftw.h [__USE_BSD]: Likewise.
14074 * io/sys/stat.h [__USE_BSD]: Likewise.
14075 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
14076 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
14077 * libio/stdio.h [__USE_SVID]: Likewise.
14078 [__USE_BSD]: Likewise.
14079 * math/math.h [__USE_SVID]: Likewise.
14080 [__USE_BSD]: Likewise.
14081 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
14082 * misc/bits/syslog.h [__USE_BSD]: Likewise.
14083 * misc/search.h [__USE_SVID]: Likewise.
14084 * misc/sys/mman.h [__USE_BSD]: Likewise.
14085 * misc/sys/syslog.h [__USE_BSD]: Likewise.
14086 * misc/sys/uio.h [__USE_BSD]: Likewise.
14087 * posix/bits/unistd.h [__USE_BSD]: Likewise.
14088 * posix/glob.h [__USE_BSD]: Likewise.
14089 * posix/regex.h [__USE_BSD]: Likewise.
14090 * posix/sys/types.h [__USE_BSD]: Likewise.
14091 [__USE_SVID]: Likewise.
14092 * posix/sys/utsname.h [__USE_SVID]: Likewise.
14093 * posix/sys/wait.h [__USE_BSD]: Likewise.
14094 [__USE_SVID]: Likewise.
14095 * posix/unistd.h [__USE_BSD]: Likewise.
14096 [__USE_SVID]: Likewise.
14097 * pwd/pwd.h [__USE_SVID]: Likewise.
14098 * resolv/netdb.h [__USE_BSD]: Likewise.
14099 * setjmp/setjmp.h [__USE_BSD]: Likewise.
14100 * signal/signal.h [__USE_BSD]: Likewise.
14101 [__USE_SVID]: Likewise.
14102 * socket/sys/socket.h [__USE_BSD]: Likewise.
14103 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
14104 * stdlib/stdlib.h [__USE_BSD]: Likewise.
14105 [__USE_SVID]: Likewise.
14106 * string/bits/string2.h [__USE_BSD]: Likewise.
14107 [__USE_SVID]: Likewise.
14108 * string/bits/string3.h [__USE_BSD]: Likewise.
14109 * string/endian.h [__USE_BSD]: Likewise.
14110 * string/string.h [__USE_SVID]: Likewise.
14111 [__USE_BSD]: Likewise.
14112 * string/strings.h [__USE_BSD]: Likewise.
14113 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
14114 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
14115 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
14116 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
14117 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
14118 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
14119 Likewise.
14120 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
14121 Likewise.
14122 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
14123 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
14124 Likewise.
14125 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
14126 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
14127 Likewise.
14128 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
14129 Likewise.
14130 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
14131 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
14132 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
14133 Likewise.
14134 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
14135 Likewise.
14136 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
14137 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
14138 * termios/termios.h [__USE_BSD]: Likewise.
14139 * time/sys/time.h [__USE_BSD]: Likewise.
14140 * time/time.h [__USE_BSD]: Likewise.
14141 [__USE_SVID]: Likewise.
14142
14143 * Makefile (subdir_targets): Remove subdir_lint.out.
14144
14145 * stdio-common/Makefile (do-tst-unbputc): Remove target.
14146 (do-tst-printf): Likewise.
14147 (tests): Depend directly on $(objpfx)tst-unbputc.out and
14148 $(objpfx)tst-printf.out.
14149
14150 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
14151
14152 * Makerules (check-abi-%): Change target to
14153 $(objpfx)check-abi-%.out.
14154 (check-abi target): Update dependencies.
14155 (check-abi-pattern variable): Redirect output of diff to $@.
14156 (check-abi variable): Likewise.
14157 * elf/Makefile (check-abi): Update dependencies.
14158
14159 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
14160 unused.
14161 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
14162 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
14163 subnormal range.
14164 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
14165 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
14166 value has largest subnormal exponent.
14167 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
14168 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
14169 * sysdeps/aarch64/soft-fp/sfp-machine.h
14170 (_FP_TININESS_AFTER_ROUNDING): New macro.
14171 * sysdeps/alpha/soft-fp/sfp-machine.h
14172 (_FP_TININESS_AFTER_ROUNDING): Likewise.
14173 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
14174 Likewise.
14175 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
14176 (_FP_TININESS_AFTER_ROUNDING): Likewise.
14177 * sysdeps/mips/soft-fp/sfp-machine.h
14178 (_FP_TININESS_AFTER_ROUNDING): Likewise.
14179 * sysdeps/powerpc/soft-fp/sfp-machine.h
14180 (_FP_TININESS_AFTER_ROUNDING): Likewise.
14181 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
14182 Likewise.
14183 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
14184 (_FP_TININESS_AFTER_ROUNDING): Likewise.
14185 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
14186 (_FP_TININESS_AFTER_ROUNDING): Likewise.
14187 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
14188 Likewise.
14189
14190 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
14191
14192 [BZ #16545]
14193 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
14194 model 1.
14195
14196 2014-02-12 Richard Henderson <rth@redhat.com>
14197
14198 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
14199 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
14200 * sysdeps/unix/sysv/linux/alpha: Move directory from
14201 ports/sysdeps/unix/sysv/linux/alpha.
14202 * README: Update listing for alpha-*-linux-gnu.
14203
14204 2014-02-11 Joseph Myers <joseph@codesourcery.com>
14205
14206 * include/features.h: Update comment documenting feature test
14207 macros.
14208 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
14209 _DEFAULT_SOURCE.
14210 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
14211 (_SVID_SOURCE): Likewise.
14212 (_DEFAULT_SOURCE): Update description of default features.
14213 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
14214 with _GNU_SOURCE.
14215 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
14216 (S_ISVTX): Likewise.
14217 * manual/math.texi (Mathematical Constants): Likewise.
14218 * manual/signal.texi (Interrupted Primitives): Likewise.
14219 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
14220 * math/test-matherr.c (_SVID_SOURCE): Do not define.
14221 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
14222 Don't refer to _SVID_SOURCE in warning text.
14223
14224 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14225
14226 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
14227 already defined.
14228 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
14229 * sysdeps/mips/dl-lookup.c: Remove.
14230 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
14231
14232 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
14233
14234 [BZ #16447]
14235 * math/auto-libm-test-in: Add testcase for expl.
14236 * math/auto-libm-test-out: Regenerate.
14237 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
14238 calculation of unsafe.
14239 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
14240
14241 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
14242
14243 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
14244 * sysdeps/unix/sysv/linux/aarch64: Move directory from
14245 ports/sysdeps/unix/sysv/linux/aarch64.
14246 * README: Update listing for aarch64*-*-linux-gnu.
14247
14248 2014-02-11 Will Newton <will.newton@linaro.org>
14249
14250 * manual/probes.texi (Mathematical Function Probes): Use
14251 "triggered" instead of "hit".
14252
14253 * manual/probes.texi (Internal Probes): Add documentation
14254 of setjmp, longjmp and longjmp_target probes.
14255
14256 * include/stap-probe.h: Add comment about probe argument
14257 format.
14258
14259 * malloc/mtrace.c (attribute_hidden): Remove unused macro
14260 definition. (tr_where, tr_freehook, tr_mallochook,
14261 tr_reallochook, tr_memalignhook): Use ANSI protoype.
14262
14263 2014-02-11 David S. Miller <davem@davemloft.net>
14264
14265 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
14266 processing int_tests.
14267
14268 2014-02-10 Joseph Myers <joseph@codesourcery.com>
14269
14270 * sysdeps/mips: Move directory from ports/sysdeps/mips.
14271 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
14272 * sysdeps/unix/sysv/linux/mips: Move directory from
14273 ports/sysdeps/unix/sysv/linux/mips.
14274 * README: Update listing for mips-*-linux-gnu and
14275 mips64-*-linux-gnu.
14276
14277 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
14278
14279 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
14280 * sysdeps/unix/sysv/linux/m68k: Move directory from
14281 ports/sysdeps/unix/sysv/linux/m68k.
14282 * README: Update listing for m68k-*-linux-gnu.
14283
14284 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
14285
14286 * sysdeps/tile: Move directory from ports/sysdeps/tile.
14287 * sysdeps/unix/sysv/linux/generic: Move directory from
14288 ports/sysdeps/unix/sysv/linux/generic.
14289 * sysdeps/unix/sysv/linux/tile: Move directory from
14290 ports/sysdeps/unix/sysv/linux/tile.
14291 * README: Update listing for tile*-*-linux-gnu.
14292
14293 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
14294
14295 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
14296 __builtin_expect.
14297 * benchtests/bench-memmem.c (simple_memmem): Likewise.
14298 * catgets/open_catalog.c (__open_catalog): Likewise.
14299 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
14300 * debug/confstr_chk.c: Likewise.
14301 * debug/fread_chk.c (__fread_chk): Likewise.
14302 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
14303 * debug/getgroups_chk.c: Likewise.
14304 * debug/mbsnrtowcs_chk.c: Likewise.
14305 * debug/mbsrtowcs_chk.c: Likewise.
14306 * debug/mbstowcs_chk.c: Likewise.
14307 * debug/memcpy_chk.c: Likewise.
14308 * debug/memmove_chk.c: Likewise.
14309 * debug/mempcpy_chk.c: Likewise.
14310 * debug/memset_chk.c: Likewise.
14311 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
14312 * debug/strcat_chk.c (__strcat_chk): Likewise.
14313 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
14314 * debug/strncat_chk.c (__strncat_chk): Likewise.
14315 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
14316 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
14317 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
14318 * debug/wcpncpy_chk.c: Likewise.
14319 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
14320 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
14321 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
14322 * debug/wcsncpy_chk.c: Likewise.
14323 * debug/wcsnrtombs_chk.c: Likewise.
14324 * debug/wcsrtombs_chk.c: Likewise.
14325 * debug/wcstombs_chk.c: Likewise.
14326 * debug/wmemcpy_chk.c: Likewise.
14327 * debug/wmemmove_chk.c: Likewise.
14328 * debug/wmempcpy_chk.c: Likewise.
14329 * debug/wmemset_chk.c: Likewise.
14330 * dirent/scandirat.c (SCANDIRAT): Likewise.
14331 * dlfcn/dladdr1.c (dladdr1): Likewise.
14332 * dlfcn/dladdr.c (dladdr): Likewise.
14333 * dlfcn/dlclose.c (dlclose_doit): Likewise.
14334 * dlfcn/dlerror.c (__dlerror): Likewise.
14335 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
14336 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
14337 * dlfcn/dlopen.c (dlopen_doit): Likewise.
14338 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
14339 * dlfcn/dlsym.c (dlsym_doit): Likewise.
14340 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
14341 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
14342 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
14343 Likewise.
14344 * elf/dl-conflict.c: Likewise.
14345 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
14346 * elf/dl-dst.h: Likewise.
14347 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
14348 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
14349 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
14350 * elf/dl-init.c (call_init, _dl_init): Likewise.
14351 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
14352 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
14353 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
14354 Likewise.
14355 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
14356 Likewise.
14357 * elf/dl-minimal.c (__libc_memalign): Likewise.
14358 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
14359 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
14360 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
14361 * elf/dl-sym.c (do_sym): Likewise.
14362 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
14363 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
14364 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
14365 * elf/dl-writev.h (_dl_writev): Likewise.
14366 * elf/ldconfig.c (search_dir): Likewise.
14367 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
14368 (dl_main): Likewise.
14369 * elf/setup-vdso.h (setup_vdso): Likewise.
14370 * grp/compat-initgroups.c (compat_call): Likewise.
14371 * grp/fgetgrent.c (fgetgrent): Likewise.
14372 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
14373 * grp/putgrent.c (putgrent): Likewise.
14374 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
14375 Likewise.
14376 * hurd/hurdinit.c: Likewise.
14377 * iconvdata/8bit-gap.c (struct): Likewise.
14378 * iconvdata/ansi_x3.110.c : Likewise.
14379 * iconvdata/big5.c : Likewise.
14380 * iconvdata/big5hkscs.c : Likewise.
14381 * iconvdata/cp1255.c: Likewise.
14382 * iconvdata/cp1258.c : Likewise.
14383 * iconvdata/cp932.c : Likewise.
14384 * iconvdata/euc-cn.c: Likewise.
14385 * iconvdata/euc-jisx0213.c : Likewise.
14386 * iconvdata/euc-jp.c: Likewise.
14387 * iconvdata/euc-jp-ms.c : Likewise.
14388 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
14389 * iconvdata/gb18030.c : Likewise.
14390 * iconvdata/gbbig5.c (const): Likewise.
14391 * iconvdata/gbgbk.c: Likewise.
14392 * iconvdata/gbk.c : Likewise.
14393 * iconvdata/ibm1364.c : Likewise.
14394 * iconvdata/ibm930.c : Likewise.
14395 * iconvdata/ibm932.c: Likewise.
14396 * iconvdata/ibm933.c : Likewise.
14397 * iconvdata/ibm935.c : Likewise.
14398 * iconvdata/ibm937.c : Likewise.
14399 * iconvdata/ibm939.c : Likewise.
14400 * iconvdata/ibm943.c: Likewise.
14401 * iconvdata/iso_11548-1.c: Likewise.
14402 * iconvdata/iso-2022-cn.c : Likewise.
14403 * iconvdata/iso-2022-cn-ext.c : Likewise.
14404 * iconvdata/iso-2022-jp-3.c: Likewise.
14405 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
14406 * iconvdata/iso-2022-kr.c : Likewise.
14407 * iconvdata/iso646.c (gconv_end): Likewise.
14408 * iconvdata/iso_6937-2.c : Likewise.
14409 * iconvdata/iso_6937.c : Likewise.
14410 * iconvdata/iso8859-1.c: Likewise.
14411 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
14412 * iconvdata/shift_jisx0213.c : Likewise.
14413 * iconvdata/sjis.c : Likewise.
14414 * iconvdata/t.61.c : Likewise.
14415 * iconvdata/tcvn5712-1.c : Likewise.
14416 * iconvdata/tscii.c: Likewise.
14417 * iconvdata/uhc.c : Likewise.
14418 * iconvdata/unicode.c (gconv_end): Likewise.
14419 * iconvdata/utf-16.c (gconv_end): Likewise.
14420 * iconvdata/utf-32.c (gconv_end): Likewise.
14421 * iconvdata/utf-7.c (base64): Likewise.
14422 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
14423 * iconv/gconv_close.c (__gconv_close): Likewise.
14424 * iconv/gconv_open.c (__gconv_open): Likewise.
14425 * iconv/gconv_simple.c (internal_ucs4_loop_single)
14426 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
14427 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
14428 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
14429 (ucs4le_internal_loop_single): Likewise.
14430 * iconv/iconv.c (iconv): Likewise.
14431 * iconv/iconv_close.c: Likewise.
14432 * iconv/loop.c (SINGLE): Likewise.
14433 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
14434 * include/atomic.h: Likewise.
14435 * inet/inet6_option.c (option_alloc): Likewise.
14436 * intl/bindtextdom.c (set_binding_values): Likewise.
14437 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
14438 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
14439 * intl/localealias.c (read_alias_file): Likewise.
14440 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
14441 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
14442 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
14443 * libio/fmemopen.c (fmemopen): Likewise.
14444 * libio/iofgets.c (_IO_fgets): Likewise.
14445 * libio/iofgets_u.c (fgets_unlocked): Likewise.
14446 * libio/iofgetws.c (fgetws): Likewise.
14447 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
14448 * libio/iogetdelim.c (_IO_getdelim): Likewise.
14449 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
14450 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
14451 * locale/findlocale.c (_nl_find_locale): Likewise.
14452 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
14453 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
14454 Likewise.
14455 * locale/setlocale.c (setlocale): Likewise.
14456 * login/programs/pt_chown.c (main): Likewise.
14457 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
14458 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
14459 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
14460 (mmap, mmap64, mremap, munmap): Likewise.
14461 * math/e_exp2l.c: Likewise.
14462 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
14463 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
14464 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
14465 * math/s_catan.c (__catan): Likewise.
14466 * math/s_catanf.c (__catanf): Likewise.
14467 * math/s_catanh.c (__catanh): Likewise.
14468 * math/s_catanhf.c (__catanhf): Likewise.
14469 * math/s_catanhl.c (__catanhl): Likewise.
14470 * math/s_catanl.c (__catanl): Likewise.
14471 * math/s_ccosh.c (__ccosh): Likewise.
14472 * math/s_ccoshf.c (__ccoshf): Likewise.
14473 * math/s_ccoshl.c (__ccoshl): Likewise.
14474 * math/s_cexp.c (__cexp): Likewise.
14475 * math/s_cexpf.c (__cexpf): Likewise.
14476 * math/s_cexpl.c (__cexpl): Likewise.
14477 * math/s_clog10.c (__clog10): Likewise.
14478 * math/s_clog10f.c (__clog10f): Likewise.
14479 * math/s_clog10l.c (__clog10l): Likewise.
14480 * math/s_clog.c (__clog): Likewise.
14481 * math/s_clogf.c (__clogf): Likewise.
14482 * math/s_clogl.c (__clogl): Likewise.
14483 * math/s_csin.c (__csin): Likewise.
14484 * math/s_csinf.c (__csinf): Likewise.
14485 * math/s_csinh.c (__csinh): Likewise.
14486 * math/s_csinhf.c (__csinhf): Likewise.
14487 * math/s_csinhl.c (__csinhl): Likewise.
14488 * math/s_csinl.c (__csinl): Likewise.
14489 * math/s_csqrt.c (__csqrt): Likewise.
14490 * math/s_csqrtf.c (__csqrtf): Likewise.
14491 * math/s_csqrtl.c (__csqrtl): Likewise.
14492 * math/s_ctan.c (__ctan): Likewise.
14493 * math/s_ctanf.c (__ctanf): Likewise.
14494 * math/s_ctanh.c (__ctanh): Likewise.
14495 * math/s_ctanhf.c (__ctanhf): Likewise.
14496 * math/s_ctanhl.c (__ctanhl): Likewise.
14497 * math/s_ctanl.c (__ctanl): Likewise.
14498 * math/w_pow.c: Likewise.
14499 * math/w_powf.c: Likewise.
14500 * math/w_powl.c: Likewise.
14501 * math/w_scalb.c (sysv_scalb): Likewise.
14502 * math/w_scalbf.c (sysv_scalbf): Likewise.
14503 * math/w_scalbl.c (sysv_scalbl): Likewise.
14504 * misc/error.c (error_tail): Likewise.
14505 * misc/pselect.c (__pselect): Likewise.
14506 * nis/nis_callback.c (__nis_create_callback): Likewise.
14507 * nis/nis_call.c (__nisfind_server): Likewise.
14508 * nis/nis_creategroup.c (nis_creategroup): Likewise.
14509 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
14510 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
14511 * nis/nis_getservlist.c (nis_getservlist): Likewise.
14512 * nis/nis_lookup.c (nis_lookup): Likewise.
14513 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
14514 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
14515 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
14516 * nis/nis_xdr.c (xdr_endpoint): Likewise.
14517 * nis/nss_compat/compat-grp.c (getgrent_next_file)
14518 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
14519 * nis/nss_compat/compat-initgroups.c (add_group)
14520 (internal_getgrent_r): Likewise.
14521 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
14522 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
14523 * nis/nss_compat/compat-spwd.c (getspent_next_file)
14524 (internal_getspnam_r): Likewise.
14525 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
14526 (_nss_nis_getaliasbyname_r): Likewise.
14527 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
14528 (_nss_nis_getntohost_r): Likewise.
14529 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
14530 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
14531 (_nss_nis_getgrgid_r): Likewise.
14532 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
14533 (internal_nis_gethostent_r, internal_gethostbyname2_r)
14534 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
14535 (_nss_nis_gethostbyname4_r): Likewise.
14536 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
14537 (initgroups_netid): Likewise.
14538 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
14539 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
14540 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
14541 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
14542 (_nss_nis_getprotobynumber_r): Likewise.
14543 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
14544 (_nss_nis_getsecretkey): Likewise.
14545 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
14546 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
14547 (_nss_nis_getpwuid_r): Likewise.
14548 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
14549 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
14550 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
14551 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
14552 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
14553 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
14554 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
14555 Likewise.
14556 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
14557 (_nss_nisplus_getntohost_r): Likewise.
14558 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
14559 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
14560 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
14561 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
14562 Likewise.
14563 * nis/nss_nisplus/nisplus-initgroups.c
14564 (_nss_nisplus_initgroups_dyn): Likewise.
14565 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
14566 (_nss_nisplus_getnetbyaddr_r): Likewise.
14567 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
14568 (_nss_nisplus_getprotobynumber_r): Likewise.
14569 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
14570 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
14571 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
14572 Likewise.
14573 * nis/nss_nisplus/nisplus-service.c
14574 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
14575 (_nss_nisplus_getservbyport_r): Likewise.
14576 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
14577 (_nss_nisplus_getspnam_r): Likewise.
14578 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
14579 Likewise.
14580 * nscd/aicache.c (addhstaiX): Likewise.
14581 * nscd/cache.c (cache_search, prune_cache): Likewise.
14582 * nscd/connections.c (register_traced_file, send_ro_fd)
14583 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
14584 (main_loop_epoll): Likewise.
14585 * nscd/grpcache.c (addgrbyX): Likewise.
14586 * nscd/hstcache.c (addhstbyX): Likewise.
14587 * nscd/initgrcache.c (addinitgroupsX): Likewise.
14588 * nscd/mem.c (gc, mempool_alloc): Likewise.
14589 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
14590 (addinnetgrX): Likewise.
14591 * nscd/nscd-client.h (__nscd_acquire_maplock)
14592 (__nscd_drop_map_ref): Likewise.
14593 * nscd/nscd_getai.c (__nscd_getai): Likewise.
14594 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
14595 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
14596 Likewise.
14597 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
14598 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
14599 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
14600 (__nscd_get_map_ref): Likewise.
14601 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
14602 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
14603 Likewise.
14604 * nscd/pwdcache.c (addpwbyX): Likewise.
14605 * nscd/selinux.c (preserve_capabilities): Likewise.
14606 * nscd/servicescache.c (addservbyX): Likewise.
14607 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
14608 * posix/fnmatch.c (fnmatch): Likewise.
14609 * posix/getopt.c (_getopt_internal_r): Likewise.
14610 * posix/glob.c (glob, glob_in_dir): Likewise.
14611 * posix/wordexp.c (exec_comm_child): Likewise.
14612 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
14613 (getanswer_r, gaih_getanswer_slice): Likewise.
14614 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
14615 * resolv/res_init.c: Likewise.
14616 * resolv/res_mkquery.c (res_nmkquery): Likewise.
14617 * resolv/res_query.c (__libc_res_nquery): Likewise.
14618 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
14619 Likewise.
14620 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
14621 * stdio-common/perror.c (perror): Likewise.
14622 * stdio-common/printf_fp.c (___printf_fp): Likewise.
14623 * stdio-common/tmpnam.c (tmpnam): Likewise.
14624 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
14625 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
14626 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
14627 Likewise.
14628 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
14629 * stdlib/putenv.c (putenv): Likewise.
14630 * stdlib/setenv.c (__add_to_environ): Likewise.
14631 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
14632 * stdlib/strtol_l.c (INTERNAL): Likewise.
14633 * string/memmem.c (memmem): Likewise.
14634 * string/strerror.c (strerror): Likewise.
14635 * string/strnlen.c (__strnlen): Likewise.
14636 * string/test-memmem.c (simple_memmem): Likewise.
14637 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
14638 * sunrpc/pm_getport.c (__get_socket): Likewise.
14639 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
14640 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
14641 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
14642 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
14643 Likewise.
14644 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
14645 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
14646 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
14647 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
14648 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
14649 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
14650 Likewise.
14651 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
14652 Likewise.
14653 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
14654 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
14655 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
14656 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
14657 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
14658 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
14659 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
14660 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
14661 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
14662 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
14663 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
14664 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
14665 Likewise.
14666 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
14667 Likewise.
14668 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
14669 Likewise.
14670 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
14671 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
14672 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
14673 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
14674 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
14675 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
14676 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
14677 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
14678 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
14679 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
14680 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
14681 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
14682 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
14683 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
14684 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
14685 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
14686 Likewise.
14687 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
14688 Likewise.
14689 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
14690 Likewise.
14691 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
14692 Likewise.
14693 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
14694 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
14695 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
14696 Likewise.
14697 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
14698 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
14699 * sysdeps/posix/opendir.c (__opendirat): Likewise.
14700 * sysdeps/posix/sleep.c: Likewise.
14701 * sysdeps/posix/tempname.c: Likewise.
14702 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
14703 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
14704 Likewise.
14705 * sysdeps/powerpc/powerpc32/dl-machine.h
14706 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
14707 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
14708 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
14709 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
14710 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
14711 Likewise.
14712 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
14713 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
14714 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
14715 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
14716 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
14717 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
14718 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
14719 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
14720 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
14721 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
14722 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
14723 (elf_machine_lazy_rel): Likewise.
14724 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
14725 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
14726 (elf_machine_lazy_rel): Likewise.
14727 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
14728 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
14729 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
14730 * sysdeps/unix/grantpt.c (grantpt): Likewise.
14731 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
14732 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
14733 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
14734 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
14735 Likewise.
14736 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
14737 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
14738 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
14739 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
14740 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
14741 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
14742 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
14743 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
14744 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
14745 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
14746 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
14747 Likewise.
14748 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
14749 (__posix_fallocate64_l64): Likewise.
14750 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
14751 (posix_fallocate): Likewise.
14752 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
14753 Likewise.
14754 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
14755 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
14756 (getifaddrs_internal): Likewise.
14757 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
14758 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
14759 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
14760 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
14761 * sysdeps/unix/sysv/linux/posix_fallocate64.c
14762 (__posix_fallocate64_l64): Likewise.
14763 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
14764 Likewise.
14765 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
14766 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
14767 (__get_clockfreq): Likewise.
14768 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
14769 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
14770 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
14771 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
14772 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
14773 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
14774 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
14775 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
14776 Likewise.
14777 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
14778 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
14779 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
14780 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
14781 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
14782 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
14783 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
14784 Likewise.
14785 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
14786 (posix_fallocate): Likewise.
14787 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
14788 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
14789 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
14790 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
14791 (elf_machine_rela, elf_machine_rela_relative)
14792 (elf_machine_lazy_rel): Likewise.
14793 * time/asctime.c (asctime_internal): Likewise.
14794 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
14795 * time/tzset.c (__tzset_parse_tz): Likewise.
14796 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
14797 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
14798 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
14799 * wcsmbs/wcsmbsload.h: Likewise.
14800
14801 [BZ #15894]
14802 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
14803
14804 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
14805 (arena_get2): Remove THREAD_STATS conditionals.
14806 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
14807 (__malloc_stats, int): Likewise.
14808
14809 2014-02-08 Mike Frysinger <vapier@gentoo.org>
14810
14811 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
14812 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
14813
14814 * manual/setjmp.texi: Fix typos/grammar errors.
14815
14816 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
14817 Only return early when n is <= 0. Delete unused return statement.
14818
14819 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
14820 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
14821 * debug/tst-longjmp_chk3.c: New file.
14822
14823 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
14824 (test_main): Replace code with set_fortify_handler call.
14825 * debug/test-strcpy_chk.c: Likewise.
14826 * debug/tst-chk1.c: Likewise.
14827 * debug/tst-longjmp_chk.c: Likewise.
14828 * test-skeleton.c: Include fcntl.h & paths.h
14829 (set_fortify_handler): Define.
14830
14831 * debug/tst-longjmp_chk.c: Add header comment and include
14832 ../test-skeleton.c.
14833 (do_test): Mark static.
14834 (TEST_FUNCTION): Define.
14835
14836 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
14837 (IP_PMTUDISC_INTERFACE): Likewise.
14838 (IP_MULTICAST_IF): Likewise.
14839 (IP_MULTICAST_TTL): Likewise.
14840 (IP_MULTICAST_LOOP): Likewise.
14841 (IP_ADD_MEMBERSHIP): Likewise.
14842 (IP_DROP_MEMBERSHIP): Likewise.
14843 (IP_UNBLOCK_SOURCE): Likewise.
14844 (IP_BLOCK_SOURCE): Likewise.
14845 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
14846 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
14847 (IP_MSFILTER): Likewise.
14848 (MCAST_JOIN_GROUP): Likewise.
14849 (MCAST_BLOCK_SOURCE): Likewise.
14850 (MCAST_UNBLOCK_SOURCE): Likewise.
14851 (MCAST_LEAVE_GROUP): Likewise.
14852 (MCAST_JOIN_SOURCE_GROUP): Likewise.
14853 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
14854 (MCAST_MSFILTER): Likewise.
14855 (IP_MULTICAST_ALL): Likewise.
14856 (IP_UNICAST_IF): Likewise.
14857
14858 * timezone/Makefile: Delete $(have-ksh) check.
14859 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
14860 * timezone/tzselect.ksh: Add +x mode bits.
14861
14862 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
14863 (ANON_INODE_FS_MAGIC): Likewise.
14864 (BDEVFS_MAGIC): Likewise.
14865 (BINFMTFS_MAGIC): Likewise.
14866 (BTRFS_TEST_MAGIC): Likewise.
14867 (CRAMFS_MAGIC_WEND): Likewise.
14868 (DEBUGFS_MAGIC): Likewise.
14869 (ECRYPTFS_SUPER_MAGIC): Likewise.
14870 (EXT3_SUPER_MAGIC): Likewise.
14871 (EXT4_SUPER_MAGIC): Likewise.
14872 (FUTEXFS_SUPER_MAGIC): Likewise.
14873 (HOSTFS_SUPER_MAGIC): Likewise.
14874 (HUGETLBFS_MAGIC): Likewise.
14875 (MINIX3_SUPER_MAGIC): Likewise.
14876 (MTD_INODE_FS_MAGIC): Likewise.
14877 (NILFS_SUPER_MAGIC): Likewise.
14878 (OPENPROM_SUPER_MAGIC): Likewise.
14879 (PIPEFS_MAGIC): Likewise.
14880 (PSTOREFS_MAGIC): Likewise.
14881 (QNX6_SUPER_MAGIC): Likewise.
14882 (RAMFS_MAGIC): Likewise.
14883 (REISERFS_SUPER_MAGIC_STRING): Likewise.
14884 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
14885 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
14886 (SECURITYFS_MAGIC): Likewise.
14887 (SELINUX_MAGIC): Likewise.
14888 (SMACK_MAGIC): Likewise.
14889 (SOCKFS_MAGIC): Likewise.
14890 (SQUASHFS_MAGIC): Likewise.
14891 (STACK_END_MAGIC): Likewise.
14892 (TMPFS_MAGIC): Likewise.
14893 (USBDEVICE_SUPER_MAGIC): Likewise.
14894 (V9FS_MAGIC): Likewise.
14895 (XENFS_SUPER_MAGIC): Likewise.
14896 (CRAMFS_MAGIC): Fix typo in comment.
14897 (EXT2_SUPER_MAGIC): Update comment.
14898 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
14899
14900 2014-02-08 Joseph Myers <joseph@codesourcery.com>
14901
14902 * sysdeps/arm: Move directory from ports/sysdeps/arm.
14903 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
14904 * sysdeps/unix/sysv/linux/arm: Move directory from
14905 ports/sysdeps/unix/sysv/linux/arm.
14906 * README: Update listing for arm-*-linux-gnueabi.
14907
14908 * README: Remove mention of am33.
14909
14910 2014-02-07 Roland McGrath <roland@hack.frob.com>
14911
14912 * bits/sigset.h (__sigemptyset): Use a statement expression rather
14913 than the comma operator, to avoid "rhs of comma has no effect"
14914 compiler warnings.
14915 (__sigfillset, __sigandset, __sigorset): Likewise.
14916 * include/signal.h (__sigemptyset): Likewise.
14917 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
14918
14919 2014-02-07 Allan McRae <allan@archlinux.org>
14920
14921 * version.h (RELEASE): Set to "development".
14922 (VERSION): Set to "2.19.90"
14923 * NEWS: Add 2.20 section.
14924
14925 2014-02-06 Carlos O'Donell <carlos@redhat.com>
14926
14927 [BZ #16529]
14928 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
14929
14930 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
14931
14932 * manual/contrib.texi: Update entry for Carlos O'Donell,
14933 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
14934
14935 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
14936
14937 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
14938
14939 * sysdeps/unix/sysv/linux/kernel-features.h
14940 [__LINUX_KERNEL_VERSION >= 0x020621]
14941 (__ASSUME_PROC_PID_TASK_COMM): Define.
14942
14943 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
14944
14945 [BZ #16398]
14946 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
14947 conversion when destination buffer does not have enough space.
14948 * libio/tst-ftell-partial-wide.c: New test case.
14949 * libio/Makefile (tests): Add tst-ftell-partial-wide.
14950
14951 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
14952 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
14953 Leonard and Allan McRae.
14954
14955 2014-02-04 David S. Miller <davem@davemloft.net>
14956
14957 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
14958 32-bit.
14959
14960 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14961
14962 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
14963 New file
14964 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
14965 New file
14966 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
14967 New file.
14968 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
14969 New file.
14970 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
14971 New file.
14972 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
14973 New file.
14974 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
14975 New file.
14976 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
14977 New file.
14978 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
14979 New file.
14980 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
14981 New file.
14982 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
14983 New file.
14984 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
14985 New file.
14986 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
14987 New file.
14988
14989 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14990
14991 * nptl/shlib-versions: Change powerpc*le start to 2.17.
14992 * shlib-versions: Likewise.
14993
14994 2014-02-04 Roland McGrath <roland@hack.frob.com>
14995 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14996
14997 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
14998 (abilist-pattern): New variable, set to %-le.abilist.
14999
15000 * Makerules (abilist-pattern): New variable.
15001 (vpath): Use $(abilist-pattern) in place of %.abilist.
15002 (check-abi-% pattern rule): Likewise.
15003 (check-abi, update-abi): Likewise.
15004
15005 2014-02-04 Eric Wong <normalperson@yhbt.net>
15006
15007 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15008
15009 2014-02-03 Carlos O'Donell <carlos@redhat.com>
15010
15011 * manual/startup.texi: Add next, previous, and top entries for
15012 the `Program Arguments' and `Environment Variables' nodes.
15013
15014 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
15015
15016 * manual/macros.texi: Add comments before MTASC-safety macros.
15017
15018 * manual/users.texi: Document MTASC-safety properties.
15019
15020 * manual/threads.texi (pthread_key_create, pthread_key_delete)
15021 (pthread_getspecific, pthread_setspecific): Format with
15022 @deftypefun, and add @safety note.
15023 * manual/signal.texi: Move comments that analyze the above
15024 functions to their home place.
15025
15026 2014-02-03 Allan McRae <allan@archlinux.org>
15027
15028 * po/sl.po: Update Slovenian translation from translation project.
15029
15030 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
15031
15032 * manual/time.texi (timegm): Add missing blank after @c.
15033 Reported by Joseph Myers <joseph@codesourcery.com>.
15034
15035 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
15036
15037 * manual/check-safety.sh: New.
15038 * manual/Makefile ($(objpfx)stamp-summary): Run it.
15039
15040 * manual/terminal.texi: Document MTASC-safety properties.
15041
15042 * manual/filesys.texi: Document MTASC-safety properties.
15043
15044 * manual/errno.texi: Document MTASC-safety properties.
15045
15046 * manual/intro.texi: Document safety identifiers and
15047 conditionals.
15048
15049 * manual/string.texi (wcstok): Fix prototype.
15050 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
15051
15052 * manual/time.texi: Document MTASC-safety properties.
15053
15054 * manual/string.texi: Document MTASC-safety properties.
15055
15056 * manual/threads.texi: Document MTASC-safety properties.
15057
15058 * manual/stdio.texi: Document MTASC-safety properties.
15059
15060 * manual/syslog.texi: Document MTASC-safety properties.
15061
15062 * manual/sysinfo.texi: Document MTASC-safety properties.
15063
15064 * manual/startup.texi: Document MTASC-safety properties.
15065
15066 * manual/socket.texi: Document MTASC-safety properties.
15067
15068 * manual/signal.texi: Document MTASC-safety properties.
15069
15070 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
15071
15072 * manual/setjmp.texi: Document MTASC-safety properties.
15073
15074 * manual/search.texi: Document MTASC-safety properties.
15075
15076 * manual/resource.texi: Document MTASC-safety properties.
15077
15078 * manual/process.texi: Document MTASC-safety properties.
15079
15080 * manual/platform.texi: Document MTASC-safety properties.
15081
15082 * manual/pipe.texi: Document MTASC-safety properties.
15083
15084 * manual/pattern.texi: Document MTASC-safety properties.
15085
15086 * manual/message.texi: Document MTASC-safety properties.
15087
15088 [BZ #12751]
15089 * manual/memory.texi: Document MTASC-safety properties.
15090
15091 * manual/math.texi: Document MTASC-safety properties.
15092
15093 * manual/locale.texi: Document MTASC-safety properties.
15094
15095 * manual/llio.texi: Document MTASC-safety properties.
15096
15097 * manual/libdl.texi: New.
15098
15099 * manual/lang.texi: Document MTASC-safety properties.
15100
15101 * manual/job.texi: Document MTASC-safety properties.
15102
15103 * manual/getopt.texi: Document MTASC-safety properties.
15104
15105 * manual/ctype.texi: Document MTASC-safety properties.
15106
15107 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
15108
15109 [BZ #16046]
15110 * csu/libc-tls.c (static_map): Remove variable.
15111 (__libc_setup_tls): Use main executable's link map for TLS data.
15112 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
15113 casing for LM_ID_BASE and GL(dl_nns).
15114 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
15115 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
15116 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
15117 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
15118 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
15119 member.
15120 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
15121 l_phnum members.
15122
15123 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
15124
15125 * manual/debug.texi: Document MTASC-safety properties.
15126
15127 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
15128
15129 [BZ #16510]
15130 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
15131 of __x86_64__ when disabling x87 inline functions.
15132
15133 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
15134
15135 * manual/charset.texi: Document MTASC-safety properties.
15136
15137 * manual/crypt.texi: Document MTASC-safety properties.
15138
15139 * manual/conf.texi: Document MTASC-safety properties.
15140
15141 * manual/arith.texi: Document MTASC-safety properties.
15142
15143 * manual/argp.texi: Document MTASC-safety properties.
15144
15145 * manual/macros.texi: Introduce macros to document multi
15146 thread, asynchronous signal and asynchronous cancellation
15147 safety properties.
15148 * manual/intro.texi: Introduce the properties themselves.
15149
15150 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15151
15152 * sysdeps/sh/sh4/Makefile: New file.
15153
15154 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
15155
15156 * math/gen-libm-test.pl ($srcdir): New variable.
15157 ($auto_input): Use it.
15158
15159 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
15160
15161 [BZ #16506]
15162 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
15163 access beyond array bounds when parsing netgroups file.
15164
15165 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
15166 the old buffer before realloc.
15167
15168 2014-01-27 Allan McRae <allan@archlinux.org>
15169
15170 * po/fr.po: Update French translation from translation project.
15171
15172 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15173
15174 * sysdeps/sh/libm-test-ulps: Regenerate.
15175
15176 2014-01-24 David S. Miller <davem@davemloft.net>
15177
15178 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
15179
15180 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15181
15182 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
15183 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
15184
15185 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
15186
15187 [BZ #16474]
15188 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
15189 string pointers after reallocation.
15190
15191 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15192
15193 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
15194 __SH4A__ instead of __SH_FPU_ANY__.
15195
15196 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15197
15198 * sysdeps/sh/fpu_control.h: New file.
15199 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
15200 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
15201 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
15202 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
15203 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
15204 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
15205 * sysdeps/sh/sys/ucontext.h: Remove.
15206 * sysdeps/sh/sys: Remove directory.
15207
15208 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15209
15210 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
15211 s390/sys/ucontext.h.
15212 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
15213 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
15214
15215 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
15216
15217 [BZ #15605]
15218 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
15219
15220 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15221
15222 [BZ#16431]
15223 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
15224 Adjust the vDSO correctly for internal calls.
15225 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
15226
15227 2014-01-20 Allan McRae <allan@archlinux.org>
15228
15229 * po/ca.po: Update Catalan translation from translation project.
15230
15231 2014-01-16 Mike Frysinger <vapier@gentoo.org>
15232
15233 * sysdeps/s390/sotruss-lib.c: New file.
15234
15235 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15236
15237 [BZ#16430]
15238 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
15239 (__GI___gettimeofday): Alias for a different internal symbol to avoid
15240 local calls issues by not having a PLT stub required for IFUNC calls.
15241 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
15242
15243 2014-01-16 Joseph Myers <joseph@codesourcery.com>
15244
15245 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
15246 * math/test-fpucw-static.c: Likewise.
15247
15248 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
15249
15250 [BZ #16453]
15251 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
15252
15253 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15254
15255 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
15256 implementation for powerpc.
15257
15258 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
15259
15260 [BZ #14782]
15261 * sysdeps/posix/system.c (__libc_system): Do not enable
15262 asynchronous cancellation.
15263
15264 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15265
15266 [BZ #16427]
15267 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
15268 handling only for numbers special also in the IEEE case.
15269
15270 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15271
15272 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
15273
15274 2014-01-11 Allan McRae <allan@archlinux.org>
15275
15276 * po/bg.po: Update Bulgarian translation from translation project.
15277
15278 * po/de.po: Update German translation from translation project.
15279
15280 2014-01-10 Roland McGrath <roland@hack.frob.com>
15281
15282 * sysdeps/generic/gcc-compat.h: New file.
15283
15284 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
15285
15286 * benchtests/asin-inputs: Correct slow inputs.
15287 * benchtests/acos-inputs: Likewise.
15288
15289 2014-01-10 Allan McRae <allan@archlinux.org>
15290
15291 * po:sv.po: Update Swedish translation from translation project.
15292
15293 * po/vi.po: Update Vietnamese translation from translation project.
15294
15295 * po/eo.po: Update Esperanto translation from translation project.
15296
15297 * po/cs.po: Update Czech translation from translation project.
15298
15299 * po/nl.po: Update Dutch translation from translation project.
15300
15301 * po/pl.po: Update Polish translation from translation project.
15302
15303 * po/ru.po: Update Russian translation from translation project.
15304
15305 * po/uk.po: Update Ukrainian translation from translation project.
15306
15307 2014-01-08 Brooks Moses <bmoses@google.com>
15308
15309 * elf/dl-load.c: Fix comment typo.
15310
15311 2014-01-08 Carlos O'Donell <carlos@redhat.com>
15312
15313 * po/header.pot: Rename to...
15314 * po/pot.header: ... this.
15315 * po/Makefile: Use pot.header.
15316
15317 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
15318 Maxim Kuvyrkov <maxim@kugelworks.com>
15319
15320 [BZ #16394]
15321 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
15322 SRC and DEST against LEN.
15323
15324 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15325
15326 [BZ #16414]
15327 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
15328 implementation.
15329 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
15330
15331 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15332
15333 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15334
15335 2014-01-08 Joseph Myers <joseph@codesourcery.com>
15336
15337 [BZ #16408]
15338 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
15339 for large positive arguments.
15340
15341 2014-01-07 Joseph Myers <joseph@codesourcery.com>
15342
15343 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
15344
15345 * math/auto-libm-test-in: Mark various tests with
15346 xfail-rounding:ldbl-128ibm.
15347 * math/auto-libm-test-out: Regenerated.
15348
15349 [BZ #16407]
15350 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
15351 Increase overflow threshold.
15352
15353 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
15354
15355 [BZ #14286]
15356 * stdio-common/vfprintf.c: Check for integer overflow.
15357
15358 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15359
15360 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
15361 the first argument and return value of __tls_get_addr_internal.
15362
15363 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15364
15365 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
15366 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
15367
15368 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15369
15370 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
15371 * sysdeps/s390/rtld-global-offsets.sym: New file.
15372 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
15373 GLIBC_2.19 symbol.
15374 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
15375 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
15376 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
15377 ... this.
15378 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
15379 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
15380 ... this.
15381 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
15382 Regenerate.
15383 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
15384 Regenerate.
15385 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
15386 halfs of GPRs for high_gprs contexts.
15387 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
15388 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
15389 field.
15390 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
15391 uc_flags field.
15392 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
15393 64 bit versions:
15394 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
15395 for high GPRs (uc_high_gprs) and for future extensions
15396 (__reserved).
15397 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
15398 for future extensions (__reserved).
15399 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
15400 64 bit versions:
15401 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
15402 SC_HIGHGPRS offset definition.
15403 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
15404 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
15405
15406 * Versions.def: Add GLIBC_2.19 for libpthread.
15407 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
15408 siglongjmp for libpthread with GLIBC_2.19 symver.
15409 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
15410 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
15411 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
15412 * sysdeps/s390/__longjmp.c: New file.
15413 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
15414 * sysdeps/s390/longjmp.c: New file.
15415 * sysdeps/s390/setjmp.S: New file.
15416 * sysdeps/s390/sigjmp.S: New file.
15417 * sysdeps/s390/v1-longjmp.c: New file.
15418 * sysdeps/s390/v1-setjmp.h: New file.
15419 * sysdeps/s390/v1-sigjmp.c: New file.
15420 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
15421 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
15422 GLIBC_2.19 version.
15423 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
15424 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
15425 versioned symbols for ____longjmp_chk.
15426 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
15427 Likewise.
15428 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
15429 Regenerate.
15430 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
15431 Regenerate.
15432 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
15433 Regenerate.
15434 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
15435 Regenerate.
15436 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
15437 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
15438 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
15439 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
15440 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
15441 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
15442 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
15443 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
15444 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
15445 * sysdeps/s390/rtld-__longjmp.c: New file.
15446 * sysdeps/s390/rtld-setjmp.S: New file.
15447
15448 2014-01-06 Joseph Myers <joseph@codesourcery.com>
15449
15450 [BZ #16400]
15451 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
15452 Return -__logl (x) for small positive arguments without evaluating
15453 a polynomial.
15454
15455 2014-01-06 Mike Frysinger <vapier@gentoo.org>
15456
15457 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
15458 Rename to ...
15459 (__ptrace_peeksiginfo_args): ... this.
15460 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
15461 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
15462 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
15463
15464 2014-01-06 Allan McRae <allan@archlinux.org>
15465
15466 * inet/netinet/in.h: Fix typo in comment.
15467
15468 2014-01-05 Andreas Jaeger <aj@suse.de>
15469
15470 * sysdeps/i386/fpu/libm-test-ulps: Update.
15471
15472 2014-01-05 Allan McRae <allan@archlinux.org>
15473
15474 * po/libc.pot: Regenerated.
15475
15476 * malloc/memusagestat.c: Fix gettext call formatting.
15477
15478 2014-01-04 Sami Kerola <kerolasa@iki.fi>
15479
15480 * nscd/nscd.c: Improve usage() output.
15481
15482 2014-01-04 Mike Frysinger <vapier@gentoo.org>
15483
15484 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
15485 * sysdeps/unix/sysv/linux/configure: Regenerated.
15486 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
15487 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
15488
15489 2014-01-03 Joseph Myers <joseph@codesourcery.com>
15490
15491 [BZ #16390]
15492 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
15493 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
15494
15495 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15496
15497 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
15498 extra tokens at end of #undef directive.
15499 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
15500 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
15501 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
15502
15503 2014-01-03 Joseph Myers <joseph@codesourcery.com>
15504
15505 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
15506
15507 * math/auto-libm-test-in: Mark various tests with
15508 xfail-rounding:ldbl-128ibm.
15509 * math/auto-libm-test-out: Regenerated.
15510
15511 2014-01-02 Joseph Myers <joseph@codesourcery.com>
15512
15513 [BZ #16386]
15514 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
15515 numbers with subnormal high part when calculating exponent.
15516
15517 [BZ #16385]
15518 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
15519 fabs.
15520
15521 [BZ #16384]
15522 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
15523 M_LN2l.
15524 (__ieee754_acoshl): Use __log1pl not __log1p.
15525
15526 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
15527
15528 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
15529 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
15530 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
15531 (grow_heap, heap_trim, _int_new_arena, get_free_list)
15532 (reused_arena, arena_get2): Convert to GNU style.
15533 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
15534 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
15535 (memalign_check, __malloc_set_state): Likewise.
15536 * malloc/mallocbug.c (main): Likewise.
15537 * malloc/malloc.c (__malloc_assert, malloc_init_state)
15538 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
15539 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
15540 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
15541 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
15542 (__posix_memalign, malloc_info): Likewise.
15543 * malloc/malloc.h: Likewise.
15544 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
15545 (mallochook, memalignhook, reallochook, mabort): Likewise.
15546 * malloc/mcheck.h: Likewise.
15547 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
15548 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
15549 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
15550 * malloc/morecore.c (__default_morecore): Likewise.
15551 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
15552 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
15553 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
15554 (print_and_abort): Likewise.
15555 * malloc/obstack.h: Likewise.
15556 * malloc/set-freeres.c (__libc_freeres): Likewise.
15557 * malloc/tst-mallocstate.c (main): Likewise.
15558 * malloc/tst-mtrace.c (main): Likewise.
15559 * malloc/tst-realloc.c (do_test): Likewise.
15560
15561 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
15562
15563 [BZ #16366]
15564 * nscd/netgroupcache.c (do_notfound): New function.
15565 (addgetnetgrentX): Use it.
15566
15567 [BZ # 16365]
15568 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
15569 NSS_STATUS_NOTFOUND.
15570
15571 2014-01-01 Joseph Myers <joseph@codesourcery.com>
15572
15573 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
15574 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15575
15576 2014-01-01 Allan McRae <allan@archlinux.org>
15577
15578 * scripts/update-copyrights: Update configure input file suffix.
15579
15580 * NEWS: Update copyright year.
15581 * catgets/gencat.c: Likewise.
15582 * csu/version.c: Likewise.
15583 * debug/catchsegv.sh: Likewise.
15584 * debug/pcprofiledump.c: Likewise.
15585 * debug/xtrace.sh: Likewise.
15586 * elf/ldconfig.c: Likewise.
15587 * elf/ldd.bash.in: Likewise.
15588 * elf/pldd.c: Likewise.
15589 * elf/sotruss.ksh: Likewise.
15590 * elf/sprof.c: Likewise.
15591 * iconv/iconv_prog.c: Likewise.
15592 * iconv/iconvconfig.c: Likewise.
15593 * locale/programs/locale.c: Likewise.
15594 * locale/programs/localedef.c: Likewise.
15595 * login/programs/pt_chown.c: Likewise.
15596 * malloc/memusage.sh: Likewise.
15597 * malloc/memusagestat.c: Likewise.
15598 * malloc/mtrace.pl: Likewise.
15599 * manual/libc.texinfo: Likewise.
15600 * nscd/nscd.c: Likewise.
15601 * nss/getent.c: Likewise.
15602 * nss/makedb.c: Likewise.
15603 * posix/getconf.c: Likewise.
15604 * scripts/test-installation.pl: Likewise.
15605
15606 * All files with FSF copyright notices: Update copyright dates
15607 using scripts/update-copyrights.
15608 * intl/plural.c: Regenerated.
15609 * locale/programs/charmap-kw.h: Likewise.
15610 * locale/programs/locfile-kw.h: Likewise.
15611
15612 2013-12-31 Mike Frysinger <vapier@gentoo.org>
15613
15614 * sysdeps/unix/sysv/linux/configure: Regenerated.
15615 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
15616 the linux/fanotify.h header.
15617 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
15618 HAVE_LINUX_FANOTIFY_H is defined.
15619
15620 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
15621
15622 * benchtests/cos-inputs: New inputs.
15623 * benchtests/sin-inputs: Likewise.
15624
15625 * benchtests/atan-inputs: New inputs. Fix name of multiple
15626 precision fallback inputs.
15627
15628 * benchtests/atanh-inputs: New inputs.
15629 * benchtests/tanh-inputs: Likewise.
15630
15631 * benchtests/acosh-inputs: New inputs.
15632 * benchtests/asinh-inputs: Likewise.
15633
15634 * benchtests/cosh-inputs: New inputs.
15635 * benchtests/sinh-inputs: Likewise.
15636
15637 * benchtests/acos-inputs: Add more inputs.
15638 * benchtests/asin-inputs: Likewise.
15639
15640 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
15641
15642 [BZ #16375]
15643 * manual/arith.texi: Fix spelling.
15644 * manual/charset.texi: Likewise.
15645 * manual/errno.texi: Likewise.
15646 * manual/filesys.texi: Likewise.
15647 * manual/lang.texi: Likewise.
15648 * manual/llio.texi: Likewise.
15649 * manual/locale.texi: Likewise.
15650 * manual/message.texi: Likewise.
15651 * manual/resource.texi: Likewise.
15652 * manual/search.texi: Likewise.
15653 * manual/setjmp.texi: Likewise.
15654 * manual/stdio.texi: Likewise.
15655 * manual/string.texi: Likewise.
15656 * manual/sysinfo.texi: Likewise.
15657 * manual/time.texi: Likewise.
15658
15659 2013-12-27 Carlos O'Donell <carlos@redhat.com>
15660
15661 * po/sl.po: New file.
15662
15663 2013-12-27 Mike Frysinger <vapier@gentoo.org>
15664
15665 * .gitignore: Add core/.gdbinit/.gdb_history.
15666
15667 2013-12-27 Allan McRae <allan@archlinux.org>
15668
15669 [BZ #16369]
15670 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
15671 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
15672
15673 2013-12-24 Brooks Moses <bmoses@google.com>
15674
15675 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
15676 all compilers that claim C++98 compliance, not just GCC.
15677 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
15678 Likewise.
15679
15680 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
15681
15682 * NEWS: Restore accidentally deleted bug-fix entries.
15683
15684 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
15685 Ondřej Bílka <neleai@seznam.cz>
15686
15687 [BZ #15073]
15688 * malloc/malloc.c (_int_free): Perform sanity check only if we
15689 have_lock.
15690
15691 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
15692
15693 [BZ #12986]
15694 * manual/stdio.texi (String Input Conversions): Clarify that character
15695 classes are not supported.
15696
15697 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15698
15699 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15700
15701 2013-12-22 Joseph Myers <joseph@codesourcery.com>
15702
15703 [BZ #16337]
15704 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
15705 Calculate results for small negative arguments directly rather
15706 than using reflection formula with special underflow handling.
15707
15708 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
15709 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
15710 sysdeps/unix/bsd/bsd4.4/syscalls.list.
15711 (fchflags): Likewise.
15712 (revoke): Likewise.
15713 (setlogin): Likewise.
15714 (sigaltstack): Likewise.
15715 (wait4): Likewise.
15716 (sigblock): Remove.
15717 (sigsetmask): Likewise.
15718 (wait3): Likewise.
15719 (waitpid): Likewise.
15720 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
15721 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
15722 file.
15723 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
15724 * sysdeps/unix/bsd/Makefile: ... here.
15725 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
15726 * sysdeps/unix/bsd/Versions: ... here.
15727 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
15728 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
15729 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
15730 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
15731 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
15732 * sysdeps/unix/bsd/sigblock.c: ... here.
15733 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
15734 * sysdeps/unix/bsd/sigsetmask.c: ... here.
15735 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
15736 * sysdeps/unix/bsd/sigvec.c: ... here.
15737 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
15738 * sysdeps/unix/bsd/tcdrain.c: ... here.
15739 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
15740 * sysdeps/unix/bsd/tcgetattr.c: ... here.
15741 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
15742 * sysdeps/unix/bsd/tcsetattr.c: ... here.
15743 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
15744 * sysdeps/unix/bsd/wait.c: ... here.
15745 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
15746 * sysdeps/unix/bsd/wait3.c: ... here.
15747 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
15748 * sysdeps/unix/bsd/waitpid.c: ... here.
15749
15750 2013-12-21 Joseph Myers <joseph@codesourcery.com>
15751
15752 [BZ #16356]
15753 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
15754 round-to-nearest for [!USE_AS_EXPM1L].
15755 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
15756 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
15757 more tests of exp and exp10. Expect some exp10 tests to miss
15758 exceptions or fail in directed rounding modes.
15759 * math/auto-libm-test-out: Regenerated.
15760 * math/libm-test.inc (exp10_tonearest_test_data): New array.
15761 (exp10_test_tonearest): New function.
15762 (exp10_towardzero_test_data): New array.
15763 (exp10_test_towardzero): New function.
15764 (exp10_downward_test_data): New array.
15765 (exp10_test_downward): New function.
15766 (exp10_upward_test_data): New array.
15767 (exp10_test_upward): New function.
15768 (main): Call the new functions.
15769 * sysdeps/i386/fpu/libm-test-ulps: Update.
15770 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15771
15772 2013-12-20 Joseph Myers <joseph@codesourcery.com>
15773
15774 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
15775 asinh, atan, atan2, atanh, cbrt, cos and cosh.
15776 * math/auto-libm-test-out: Regenerated.
15777 * math/libm-test.inc (acosh_test_data): Add more tests.
15778 (atanh_test_data): Likewise.
15779 (ceil_test_data): Likewise.
15780 (copysign_test_data): Likewise.
15781 * sysdeps/i386/fpu/libm-test-ulps: Update.
15782 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15783
15784 * timezone/checktab.awk: Update from tzcode 2013i.
15785 * timezone/private.h: Likewise.
15786 * timezone/scheck.c: Likewise.
15787 * timezone/tzfile.h: Likewise.
15788 * timezone/tzselect.ksh: Likewise.
15789 * timezone/zdump.c: Likewise.
15790 * timezone/zic.c: Likewise.
15791
15792 * math/auto-libm-test-in: Add tests of cpow.
15793 * math/auto-libm-test-out: Regenerated.
15794 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
15795 * math/gen-auto-libm-tests.c (func_calc_method): Add value
15796 mpc_cc_c.
15797 (func_calc_desc): Add mpc_cc_c union field.
15798 (test_functions): Add cpow.
15799 (special_fill_2pi): New function.
15800 (special_real_inputs): Add 2pi.
15801 (calc_generic_results): Handle mpc_cc_c.
15802 * sysdeps/i386/fpu/libm-test-ulps: Update.
15803 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15804
15805 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
15806 csqrt, ctan and ctanh.
15807 * math/auto-libm-test-out: Regenerated.
15808 * math/libm-test.inc (TEST_COND_x86_64): New macro.
15809 (TEST_COND_x86): Likewise.
15810 (ccos_test_data): Use AUTO_TESTS_c_c.
15811 (ccosh_test_data): Likewise.
15812 (cexp_test_data): Likewise.
15813 (clog_test_data): Likewise.
15814 (csqrt_test_data): Likewise.
15815 (ctan_test_data): Likewise.
15816 (ctan_tonearest_test_data): Likewise.
15817 (ctan_towardzero_test_data): Likewise.
15818 (ctan_downward_test_data): Likewise.
15819 (ctan_upward_test_data): Likewise.
15820 (ctanh_test_data): Likewise.
15821 (ctanh_tonearest_test_data): Likewise.
15822 (ctanh_towardzero_test_data): Likewise.
15823 (ctanh_downward_test_data): Likewise.
15824 (ctanh_upward_test_data): Likewise.
15825 * math/gen-auto-libm-tests.c (func_calc_method): Add value
15826 mpc_c_c.
15827 (func_calc_desc): Add mpc_c_c union field.
15828 (FUNC_mpc_c_c): New macro.
15829 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
15830 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
15831 ctanh.
15832 (special_fill_min_subnorm_p120): New function.
15833 (special_real_inputs): Add min_subnorm_p120.
15834 (calc_generic_results): Handle mpc_c_c.
15835 * sysdeps/i386/fpu/libm-test-ulps: Update.
15836 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15837
15838 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
15839
15840 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
15841 (do_sin_slow): New functions.
15842 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
15843 (cslow2, csloww1, csloww2): Use the new functions.
15844
15845 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
15846 Use M to change sign of result instead of X. Assume X is
15847 positive.
15848 (csloww1): Likewise.
15849 (__sin): Adjust.
15850 (__cos): Adjust.
15851
15852 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
15853 arguments A and DA.
15854 (__sin): Adjust.
15855 (__cos): Likewise.
15856
15857 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
15858 (__cos): Likewise.
15859 (sloww1): Don't adjust sign of DX.
15860 (csloww1): Likewise.
15861 (sloww2): Use X directly and don't adjust sign of DX.
15862 (csloww2): Likewise.
15863
15864 2013-12-19 Joseph Myers <joseph@codesourcery.com>
15865
15866 * math/auto-libm-test-in: Add tests of cabs and carg.
15867 * math/auto-libm-test-out: Regenerated.
15868 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
15869 (carg_test_data): Likewise.
15870 * math/gen-auto-libm-tests.c (func_calc_method): Add value
15871 mpc_c_f.
15872 (func_calc_desc): Add mpc_c_f union field.
15873 (test_functions): Add cabs and carg.
15874 (calc_generic_results): Handle mpc_c_f.
15875
15876 * sysdeps/powerpc/powerpc32/libgcc-compat.S
15877 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
15878 as a macro and a compat symbol.
15879 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
15880 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
15881 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
15882 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
15883 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
15884 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
15885 not use .hidden.
15886 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
15887 Likewise.
15888 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
15889 Likewise.
15890 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
15891 Likewise.
15892 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
15893 Likewise.
15894 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
15895 Likewise.
15896 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
15897 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
15898 from GLIBC_2.3.2.
15899
15900 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15901
15902 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15903
15904 2013-12-19 Joseph Myers <joseph@codesourcery.com>
15905
15906 * manual/texinfo.tex: Update to version 2013-11-26.10 with
15907 trailing whitespace removed.
15908 * scripts/config.guess: Update to version 2013-11-29.
15909 * scripts/config.sub: Update to version 2013-10-01.
15910
15911 * math/auto-libm-test-in: Add tests of sincos.
15912 * math/auto-libm-test-out: Regenerated.
15913 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
15914 * math/gen-auto-libm-tests.c (func_calc_method): Add value
15915 mpfr_f_11.
15916 (func_calc_desc): Add mpfr_f_11 union field.
15917 (test_functions): Add sincos.
15918 (calc_generic_results): Handle mpfr_f_11.
15919 * sysdeps/i386/fpu/libm-test-ulps: Update.
15920 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15921
15922 2013-12-19 Andreas Schwab <schwab@suse.de>
15923
15924 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
15925 CALL_MCOUNT.
15926 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
15927 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
15928 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
15929
15930 2013-12-19 Joseph Myers <joseph@codesourcery.com>
15931
15932 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
15933 * sysdeps/i386/fpu/libm-test-ulps: Update.
15934 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15935
15936 [BZ #16293]
15937 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
15938 round-to-nearest mode when using frndint.
15939 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
15940 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
15941 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
15942 Likewise.
15943 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
15944 sinh test to fail.
15945 * math/auto-libm-test-out: Regenerated.
15946 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
15947 (TEST_COND_x86): Likewise.
15948 (expm1_tonearest_test_data): New array.
15949 (expm1_test_tonearest): New function.
15950 (expm1_towardzero_test_data): New array.
15951 (expm1_test_towardzero): New function.
15952 (expm1_downward_test_data): New array.
15953 (expm1_test_downward): New function.
15954 (expm1_upward_test_data): New array.
15955 (expm1_test_upward): New function.
15956 (main): Run the new test functions.
15957 * sysdeps/i386/fpu/libm-test-ulps: Update.
15958 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15959
15960 * include/features.h: Update comment documenting feature test
15961 macros. Mention _DEFAULT_SOURCE in comment.
15962 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
15963 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
15964 _BSD_SOURCE and _SVID_SOURCE.
15965 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
15966 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
15967 !_SVID_SOURCE]: Likewise.
15968 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
15969 (__USE_POSIX_IMPLICITLY): Define.
15970 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
15971 (_POSIX_SOURCE): Undefine and redefine.
15972 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
15973 (_POSIX_C_SOURCE): Likewise.
15974 * manual/creature.texi (_DEFAULT_SOURCE): Document.
15975 (Feature Test Macros): Update documentation of default features.
15976
15977 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
15978
15979 * benchtests/Makefile: Add bench-strtok.
15980 * benchtests/bench-strtok.c: New file: strtok benchtest.
15981
15982 2013-12-19 Allan McRae <allan@archlinux.org>
15983
15984 * manual/install.texi: Suppress menu for plain text output.
15985 * INSTALL: Regenerated.
15986
15987 2013-12-18 Brooks Moses <bmoses@google.com>
15988
15989 [BZ #15846]
15990 * misc/getauxval.c: Include errno.h.
15991 (__getauxval): Set errno to ENOENT if the requested type is not
15992 found.
15993 * misc/sys/auxv.h (getauxval): Document that it may set errno;
15994 don't declare with __attribute_const__.
15995 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
15996 * manual/startup.texi: Document that getauxval sets errno.
15997
15998 2013-12-18 Joseph Myers <joseph@codesourcery.com>
15999
16000 * math/auto-libm-test-in: Add tests of jn and yn.
16001 * math/auto-libm-test-out: Regenerated.
16002 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
16003 (yn_test_data): Likewise.
16004 * math/gen-auto-libm-tests.c (func_calc_method): Add value
16005 mpfr_if_f.
16006 (func_calc_desc): Add mpfr_if_f union field.
16007 (FUNC_mpfr_if_f): New macro.
16008 (test_functions): Add jn and yn.
16009 (calc_generic_results): Assert type of second input for
16010 mpfr_ff_f. Handle mpfr_if_f.
16011 (output_for_one_input_case): Disable all checking for arguments
16012 fitting floating-point types in case of an integer argument.
16013 * sysdeps/i386/fpu/libm-test-ulps: Update.
16014 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16015
16016 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
16017 Don't expect fegetround reference in libm.so.
16018
16019 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
16020
16021 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
16022 $(config-cflags-nofma).
16023
16024 2013-12-18 Joseph Myers <joseph@codesourcery.com>
16025
16026 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
16027 * math/auto-libm-test-out: Regenerated.
16028
16029 [BZ #16338]
16030 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
16031 to determine exponent and adjust argument to have exponent of -1.
16032 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
16033 log2.
16034 * math/auto-libm-test-out: Regenerated.
16035 * sysdeps/i386/fpu/libm-test-ulps: Update.
16036 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16037
16038 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
16039
16040 * manual/probes.texi: Remove cases when per-thread arenas are
16041 disabled.
16042
16043 2013-12-18 Andreas Schwab <schwab@suse.de>
16044
16045 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
16046 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
16047 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
16048 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
16049 * sysdeps/i386/i686/multiarch/Makefile: Update.
16050 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
16051
16052 2013-12-17 Joseph Myers <joseph@codesourcery.com>
16053
16054 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
16055 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
16056
16057 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
16058
16059 [BZ #15968]
16060 Support TZ transition times < 00:00:00.
16061 This is needed for version-3 tz-format files; it supports time
16062 stamps past 2037 for America/Godthab (the only entry in the tz
16063 database for which this change is relevant).
16064 * manual/time.texi (TZ Variable): Document transition times
16065 from -167:59:59 through -00:00:01.
16066 * time/tzset.c (tz_rule): Time of day is now signed.
16067 (__tzset_parse_tz): Parse negative time of day.
16068
16069 Document TZ transition times >= 25:00:00.
16070 * manual/time.texi (TZ Variable): Document transition times from
16071 25:00:00 through 167:59:59. These are already supported, and this
16072 support will help with version-3 tz-format files.
16073
16074 * manual/time.texi (TZ Variable): Modernize North America example
16075 to reflect current (i.e., 2007-and-later) daylight saving rules.
16076
16077 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
16078
16079 2013-12-17 Joseph Myers <joseph@codesourcery.com>
16080
16081 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
16082 * sysdeps/unix/bsd/bits/stat.h: Likewise.
16083 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
16084 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
16085 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
16086 * sysdeps/unix/bsd/bsdstat.h: Likewise.
16087 * sysdeps/unix/bsd/clock.c: Likewise.
16088 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
16089 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
16090 * sysdeps/unix/bsd/init-posix.c: Likewise.
16091 * sysdeps/unix/bsd/poll.c: Likewise.
16092 * sysdeps/unix/bsd/ptsname.c: Likewise.
16093 * sysdeps/unix/bsd/seekdir.c: Likewise.
16094 * sysdeps/unix/bsd/setegid.c: Likewise.
16095 * sysdeps/unix/bsd/seteuid.c: Likewise.
16096 * sysdeps/unix/bsd/setgid.c: Likewise.
16097 * sysdeps/unix/bsd/setrgid.c: Likewise.
16098 * sysdeps/unix/bsd/setruid.c: Likewise.
16099 * sysdeps/unix/bsd/setsid.c: Likewise.
16100 * sysdeps/unix/bsd/setuid.c: Likewise.
16101 * sysdeps/unix/bsd/sigaction.c: Likewise.
16102 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
16103 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
16104 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
16105 * sysdeps/unix/bsd/telldir.c: Likewise.
16106 * sysdeps/unix/bsd/times.c: Likewise.
16107 * sysdeps/unix/bsd/usleep.c: Likewise.
16108
16109 * misc/Makefile (install-lib): Remove libbsd-compat.a.
16110 ($(objpfx)libbsd-compat.a): Remove rule.
16111
16112 * include/features.h (__FAVOR_BSD): Do not define.
16113 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
16114 features conflicting with POSIX.
16115 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
16116 (_BSD_SOURCE): Remove description of not being a subset of other
16117 feature test macros.
16118 * manual/job.texi (getpgrp): Do not document BSD version.
16119 (getpgid): Do not document by reference to BSD getpgrp.
16120 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
16121 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
16122 * signal/signal.h [__FAVOR_BSD]: Likewise.
16123 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
16124 instead of making contents conditional on [__FAVOR_BSD].
16125 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
16126
16127 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16128
16129 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16130
16131 2013-12-17 Joseph Myers <joseph@codesourcery.com>
16132
16133 [BZ #16314]
16134 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
16135 values below 2**-450, not 2**-500.
16136 * math/auto-libm-test-in: Don't allow spurious underflow from
16137 hypot.
16138 * math/auto-libm-test-out: Regenerated.
16139
16140 [BZ #16316]
16141 [BZ #16330]
16142 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
16143 values of ha and hb and sort them after adjusting subnormal
16144 arguments.
16145 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
16146 Likewise.
16147 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
16148 values of ea and eb and sort them after adjusting subnormal
16149 arguments.
16150 * math/auto-libm-test-in: Do not expect some hypot tests of
16151 subnormals to fail. Add more hypot tests.
16152 * math/auto-libm-test-out: Regenerated.
16153
16154 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16155
16156 [BZ #13304]
16157 * sysdeps/sh/s_fma.c: New file.
16158 * sysdeps/sh/s_fmaf.c: New file.
16159 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
16160 version.
16161 * sysdeps/sh/Implies: Add sh/soft-fp.
16162
16163 2013-12-16 Roland McGrath <roland@hack.frob.com>
16164
16165 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
16166 level of indirection to members `objname', `errstring', `malloced'.
16167 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
16168 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
16169 it as the __longjmp argument (just pass 1 instead).
16170 (_dl_catch_error): Initialize C with argument pointers and address of
16171 volatile local ERRCODE rather than copying values out of C at return.
16172
16173 2013-12-16 Joseph Myers <joseph@codesourcery.com>
16174
16175 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
16176 * math/auto-libm-test-out: Regenerated.
16177 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
16178 (hypot_test_data): Likewise.
16179 (pow_test_data): Likewise.
16180 (pow_tonearest_test_data): Likewise.
16181 * math/gen-auto-libm-tests.c (func_calc_method): Add value
16182 mpfr_ff_f.
16183 (func_calc_desc): Add mpfr_ff_f union field.
16184 (FUNC_mpfr_ff_f): New macro.
16185 (test_functions): Add atan2, hypot and pow.
16186 (special_fill_min): New function.
16187 (special_fill_minus_min): Likewise.
16188 (special_fill_min_subnorm): Likewise.
16189 (special_fill_minus_min_subnorm): Likewise.
16190 (special_real_inputs): Add min, -min, min_subnorm and
16191 -min_subnorm.
16192 (calc_generic_results): Handle mpfr_ff_f.
16193 * sysdeps/i386/fpu/libm-test-ulps: Update.
16194 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16195
16196 2013-12-16 Will Newton <will.newton@linaro.org>
16197
16198 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
16199 (Aligned Memory Blocks): Add documentation for aligned_alloc
16200 and suggest it as an alternative to posix_memalign.
16201 (Hooks for Malloc): Document __memalign_hook is also called
16202 for aligned_alloc. (Summary of Malloc): Add summary for
16203 aligned alloc. Document __memalign_hook is also called
16204 for aligned_alloc.
16205
16206 2013-12-16 Will Newton <will.newton@linaro.org>
16207
16208 * manual/memory.texi (Malloc Examples): Clarify default
16209 alignment documentation. Suggest posix_memalign rather
16210 than memalign or valloc.
16211 (Aligned Memory Blocks): Remove suggestion to use memalign
16212 or valloc. Remove obsolete comment about BSD.
16213 Document memalign errno values and mark the function obsolete.
16214 Document posix_memalign returned error codes. Mark valloc
16215 as obsolete. (Hooks for Malloc): __memalign_hook is also
16216 called for posix_memalign and valloc.
16217 (Summary of Malloc): Add posix_memalign to function summary.
16218 __memalign_hook is also called for posix_memalign and valloc.
16219
16220 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
16221
16222 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
16223 TAYLOR_SIN.
16224 (__sin): Adjust.
16225 (__cos): Likewise.
16226 (sloww): Use mynumber union. Expand ternary operator into
16227 if-else statements.
16228 (cslow): use mynumber union.
16229
16230 2013-12-16 Allan McRae <allan@archlinux.org>
16231
16232 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
16233 * configure: Regenerated.
16234
16235 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
16236
16237 [BZ #14120]
16238 * configure.ac: Added --enable-maintainer-mode. Check for
16239 autoconf when enabled.
16240 * configure: Regenerated.
16241
16242 * nscd/nscd.service: New file.
16243 * nscd/nscd.tmpfiles: New file.
16244
16245 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
16246
16247 [BZ #12100]
16248 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
16249 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
16250 * sysdeps/x86_64/multiarch/strstr.c: ... here.
16251 (strstr): Add __strstr_sse2_unaligned ifunc.
16252 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
16253 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
16254 (strcasestr): Remove __strcasestr_sse42 ifunc.
16255 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
16256 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
16257 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
16258
16259 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16260
16261 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
16262 * sysdeps/sh/bits/fenv.h: ... here.
16263 * sysdeps/sh/sh4/fpu/bits: Remove directory.
16264
16265 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16266
16267 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
16268
16269 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
16270 hypotf multiarch implementations.
16271 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
16272 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
16273 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
16274 multiarch hypot for PPC64.
16275 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
16276 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
16277 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
16278 multiarch hypotf for PPC64.
16279
16280 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
16281 modff multiarch implementations.
16282 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
16283 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
16284 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
16285 multiarch modf for PPC64.
16286 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
16287 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
16288 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
16289 multiarch modff for PPC64.
16290
16291 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
16292 and logl multiarch implementations.
16293 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
16294 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
16295 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
16296 multiarch logb for PPC64.
16297 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
16298 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
16299 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
16300 multiarch logb for PPC64.
16301 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
16302 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
16303 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
16304 multiarch logb for PPC64.
16305
16306 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
16307 isinff multiarch implementation.
16308 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
16309 file.
16310 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
16311 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
16312 multiarch isinf for PPC64.
16313 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
16314 file.
16315 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
16316 multiarch isinff for PPC64.
16317
16318 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
16319 finitef multiarch implementation.
16320 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
16321 file.
16322 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
16323 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
16324 multiarch finite for PPC64.
16325 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
16326 file.
16327 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
16328 multiarch finitef for PPC64.
16329
16330 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
16331 lrint multiarch implementation.
16332 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
16333 file.
16334 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
16335 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
16336 multiarch llrint for PPC64.
16337 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
16338 multiarch lrint for PPC64.
16339
16340 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
16341 copysignf multiarch implementation.
16342 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
16343 file.
16344 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
16345 file.
16346 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
16347 multiarch copysign for PPC64.
16348 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
16349 multiarch copysignf for PPC64.
16350
16351 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
16352 multiarch implementation.
16353 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
16354 file.
16355 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
16356 file.
16357 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
16358 file.
16359 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
16360 file.
16361 multiarch llround for PPC64.
16362 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
16363 multiarch trunc for PPC64.
16364 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
16365 multiarch truncf for PPC64.
16366
16367 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
16368 multiarch implementation.
16369 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
16370 file.
16371 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
16372 file.
16373 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
16374 file.
16375 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
16376 file.
16377 multiarch llround for PPC64.
16378 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
16379 multiarch round for PPC64.
16380 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
16381 multiarch roundf for PPC64.
16382
16383 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
16384 multiarch implementation.
16385 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
16386 file.
16387 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
16388 file.
16389 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
16390 file.
16391 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
16392 file.
16393 multiarch llround for PPC64.
16394 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
16395 multiarch floor for PPC64.
16396 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
16397 multiarch floorf for PPC64.
16398
16399 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
16400 multiarch implementation.
16401 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
16402 file.
16403 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
16404 file.
16405 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
16406 file.
16407 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
16408 file.
16409 multiarch llround for PPC64.
16410 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
16411 multiarch ceil for PPC64.
16412 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
16413 multiarch ceilf for PPC64.
16414
16415 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
16416 multiarch implementation.
16417 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
16418 file.
16419 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
16420 file.
16421 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
16422 file.
16423 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
16424 multiarch llround for PPC64.
16425 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
16426 multiarch lround for PPC64.
16427
16428 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
16429 multiarch implementation.
16430 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
16431 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
16432 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
16433 file.
16434 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
16435 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
16436 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
16437 multiarch isnan for PPC64.
16438 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
16439 multiarch isnanf for PPC64.
16440
16441 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
16442 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
16443 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
16444 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
16445 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
16446 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
16447
16448 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
16449 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
16450 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
16451 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
16452
16453 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
16454 multiarch implementations.
16455 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16456 (__libc_ifunc_impl_list): Likewise.
16457 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
16458 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
16459 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
16460 multiarch stpcpy for PPC64.
16461
16462 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
16463 multiarch implementations.
16464 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16465 (__libc_ifunc_impl_list): Likewise.
16466 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
16467 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
16468 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
16469 multiarch strcpy for PPC64.
16470
16471 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
16472 redefine function name.
16473 (_wordcopy_fwd_dest_aligned): Likewise.
16474 (_wordcopy_bwd_aligned): Likewise.
16475 (_wordcopy_bwd_dest_aligned): Likewise.
16476 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
16477 multiarch implementations.
16478 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16479 (__libc_ifunc_impl_list): Likewise.
16480 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
16481 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
16482 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
16483 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
16484 multiarch wcscpy for PPC64.
16485
16486 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
16487 multiarch implementations.
16488 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16489 (__libc_ifunc_impl_list): Likewise.
16490 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
16491 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
16492 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
16493 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
16494 multiarch wcscpy for PPC64.
16495
16496 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
16497 multiarch implementations.
16498 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16499 (__libc_ifunc_impl_list): Likewise.
16500 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
16501 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
16502 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
16503 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
16504 multiarch wcsrchr for PPC64.
16505
16506 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
16507 multiarch implementations.
16508 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16509 (__libc_ifunc_impl_list): Likewise.
16510 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
16511 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
16512 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
16513 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
16514 multiarch wcschr for PPC64.
16515
16516 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
16517 multiarch implementations.
16518 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16519 (__libc_ifunc_impl_list): Likewise.
16520 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
16521 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
16522 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
16523 multiarch strchrnul for PPC64.
16524
16525 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
16526 implementations.
16527 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16528 (__libc_ifunc_impl_list): Likewise.
16529 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
16530 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
16531 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
16532 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
16533 strchr for PPC64.
16534
16535 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
16536 implementations.
16537 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16538 (__libc_ifunc_impl_list): Likewise.
16539 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
16540 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
16541 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
16542 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
16543 strncmp for PPC64.
16544
16545 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
16546 multiarch implementations.
16547 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16548 (__libc_ifunc_impl_list): Likewise.
16549 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
16550 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
16551 strncasecmp for PPC64.
16552 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
16553 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
16554 multiarch strncasecmp_l for PPC64.
16555
16556 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
16557 multiarch implementations.
16558 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
16559 (__libc_ifunc_impl_list): Likewise.
16560 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
16561 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
16562 multiarch strcasecmp for PPC64.
16563 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
16564 file.
16565 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
16566 multiarch strcasecmp_l for PPC64.
16567
16568 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
16569 implementations.
16570 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16571 (__libc_ifunc_impl_list): Likewise.
16572 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
16573 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
16574 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
16575 strnlen for PPC64.
16576
16577 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
16578 implementations.
16579 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16580 (__libc_ifunc_impl_list): Likewise.
16581 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
16582 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
16583 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
16584 strlen for PPC64.
16585
16586 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
16587 implementations.
16588 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16589 (__libc_ifunc_impl_list): Likewise.
16590 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
16591 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
16592 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
16593 rawmemrchr for PPC64.
16594
16595 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
16596 implementation.
16597 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16598 (__libc_ifunc_impl_list): Likewise.
16599 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
16600 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
16601 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
16602 memrchr for PPC64.
16603
16604 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
16605 implementation.
16606 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16607 (__libc_ifunc_impl_list): Likewise.
16608 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
16609 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
16610 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
16611 memchr for PPC64.
16612
16613 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
16614 implementation.
16615 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16616 (__libc_ifunc_impl_list): Likewise.
16617 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
16618 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
16619 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
16620 mempcpy for PPC64.
16621
16622 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
16623 avoid cretion of __bzero symbol.
16624 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
16625 Likewise.
16626 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
16627 Likewise.
16628 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
16629 Likewise.
16630 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
16631 multiarch implementations.
16632 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16633 (__libc_ifunc_impl_list): Likewise.
16634 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
16635 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
16636 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
16637 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
16638 bzero for PPC32.
16639 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
16640 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
16641 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
16642 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
16643 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
16644 memset for PPC64.
16645 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
16646
16647 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
16648 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
16649 implementations.
16650 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16651 (__libc_ifunc_impl_list): Likewise.
16652 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
16653 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
16654 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
16655 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
16656 memcmp for PPC64.
16657
16658 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
16659 multiarch for POWER/PPC64.
16660 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
16661 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
16662 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
16663 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
16664 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
16665 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
16666 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
16667 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
16668 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
16669 memcpy for PPC64.
16670
16671 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
16672 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
16673 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
16674 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
16675 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
16676 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
16677 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
16678 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
16679 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
16680 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
16681 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
16682 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
16683 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
16684 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
16685 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
16686 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
16687 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
16688 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
16689 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
16690 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
16691 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
16692 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
16693
16694 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16695
16696 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
16697
16698 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
16699
16700 * benchtests/Makefile (bench): Add exp2 and log2.
16701 (LDLIBS-bench-exp2): Add -lm.
16702 (LDLIBS-bench-log2): Likewise.
16703 * benchtests/exp2-inputs: New inputs file.
16704 * benchtests/log2-inputs: New inputs file.
16705 * benchtests/log-inputs: Add new inputs.
16706 * benchtests/tan-inputs: Likewise.
16707
16708 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
16709
16710 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
16711 definition...
16712 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
16713 (csloww2): ... from here.
16714
16715 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
16716 instead of structures.
16717 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
16718 (POLYNOMIAL): Likewise.
16719 (TAYLOR_SLOW): Likewise.
16720 (__sin): Likewise.
16721 (__cos): Likewise.
16722 (slow1): Likewise.
16723 (slow2): Likewise.
16724 (sloww): Likewise.
16725 (sloww1); Likewise.
16726 (sloww2): Likewise.
16727 (bsloww1): Likewise.
16728 (bsloww2): Likewise.
16729 (cslow2): Likewise.
16730 (csloww): Likewise.
16731 (csloww1): Likewise.
16732 (csloww2): Likewise.
16733
16734 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
16735
16736 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
16737 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
16738 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
16739 * malloc/hooks.c (realloc_check): Likewise.
16740
16741 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
16742 * malloc/arena.c: Remove PER_THREAD conditional.
16743 [!PER_THREAD]: Remove code.
16744 (ptmalloc_unlock_all2): Likewise.
16745 (ptmalloc_init): Likewise.
16746 (_int_new_arena): Likewise.
16747 (arena_get2): Likewise.
16748 * malloc/hooks.c (__malloc_get_state): Likewise.
16749 (__malloc_set_state): Likewise.
16750 * malloc/malloc.c: Likewise.
16751 (struct malloc_state): Likewise.
16752 (struct malloc_par): Likewise.
16753 (__libc_realloc): Likewise.
16754 (__libc_mallopt): Likewise.
16755
16756 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16757
16758 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
16759
16760 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
16761
16762 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
16763 macro to a function. Check for zero perturb_byte.
16764 (_int_malloc, _int_free): Remove zero perturb_byte checks.
16765
16766 * malloc/malloc.c: (force_reg): Remove.
16767 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
16768 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
16769 force_reg by atomic_forced_read.
16770 * malloc/arena.c (ptmalloc_init): Likewise.
16771 * malloc/hooks.c (top_check): Likewise.
16772
16773 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16774
16775 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16776
16777 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
16778
16779 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16780
16781 2013-12-08 Joseph Myers <joseph@codesourcery.com>
16782
16783 * math/auto-libm-test-in: Add tests of lgamma.
16784 * math/auto-libm-test-out: Regenerated.
16785 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
16786 (M_LOG_2_SQRT_PIl): Likewise.
16787 (lgamma_test_data): Use AUTO_TESTS_f_f1.
16788 * math/gen-auto-libm-tests.c (func_calc_method): Add value
16789 mpfr_f_f1.
16790 (func_calc_desc): Add mpfr_f_f1 union field.
16791 (ARGS1): New macro.
16792 (ARGS2): Likewise.
16793 (ARGS3): Likewise.
16794 (ARGS4): Likewise.
16795 (RET1): Likewise.
16796 (RET2): Likewise.
16797 (CALC): Likewise.
16798 (FUNC): Likewise.
16799 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
16800 (test_functions): Add lgamma.
16801 (calc_generic_results): Handle mpfr_f_f1.
16802 * sysdeps/i386/fpu/libm-test-ulps: Update.
16803 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16804
16805 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16806
16807 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
16808 __mpn_add_n for PowerPC64/POWER7.
16809 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
16810 __mpn_sub_n for PowerPC64/POWER7.
16811
16812 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
16813 __mpn_addmul_1 for PowerPC64.
16814 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
16815 __mpn_submul_1 for PowerPC64.
16816 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
16817 for PowerPC64.
16818 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
16819 for PowerPC64.
16820
16821 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
16822
16823 [BZ #15089]
16824 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
16825
16826 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16827
16828 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
16829
16830 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
16831 add multiarch folders.
16832 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
16833 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
16834 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
16835 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
16836 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
16837 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
16838 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
16839 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
16840 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
16841 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
16842 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
16843 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
16844 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
16845 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
16846 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
16847 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
16848 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
16849
16850 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
16851 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
16852 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
16853 New file.
16854 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
16855 New file.
16856 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
16857 multiarch __ieee754_hypot for PowerPC32.
16858 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
16859 New file.
16860 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
16861 New file.
16862 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
16863 multiarch __ieee754_hypotf for PowerPC32.
16864
16865 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
16866 long_double_symbol only if __logbl is defined.
16867 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
16868 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
16869 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
16870 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
16871 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
16872 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
16873 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
16874 path for implementation.
16875 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
16876 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
16877 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
16878 logb, and logbl multiarch implementations for PowerPC32.
16879 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
16880 file.
16881 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
16882 file.
16883 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
16884 multiarch logb for PowerPC32.
16885 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
16886 file.
16887 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
16888 file.
16889 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
16890 multiarch logbf for PowerPC32.
16891 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
16892 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
16893 file.
16894 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
16895 multiarch logbl implementation for PowerPC32.
16896
16897 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
16898 and modff multiarch implementations.
16899 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
16900 New file.
16901 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
16902 New file.
16903 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
16904 multiarch modf for PowerPC32.
16905 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
16906 New file.
16907 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
16908 New file.
16909 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
16910 multiarch modff for PowerPC32.
16911
16912 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
16913 and lrintf multiarch implementations.
16914 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
16915 New file.
16916 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
16917 New file.
16918 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
16919 multiarch lrint for PowerPC32.
16920 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
16921 file: multiarch lrintf for PowerPC32.
16922
16923 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
16924 and lroundf multiarch implementations.
16925 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
16926 New file.
16927 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
16928 New file.
16929 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
16930 New file.
16931 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
16932 multiarch lround for PowerPC32.
16933 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
16934 file: multiarch lroundf for PowerPC32.
16935
16936 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
16937 copysign and copysignf multiarch implementations.
16938 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
16939 New file.
16940 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
16941 New file.
16942 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
16943 file: multiarch copysign for PowerPC32.
16944 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
16945 file: multiarch copysignf for PowerPC32.
16946
16947 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
16948 and truncf multiarch implementations.
16949 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
16950 New file.
16951 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
16952 file.
16953 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
16954 multiarch trunc for PowerPC32.
16955 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
16956 New file.
16957 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
16958 New file.
16959 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
16960 multiarch truncf for PowerPC32.
16961
16962 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
16963 and roundf multiarch implementations.
16964 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
16965 New file.
16966 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
16967 file.
16968 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
16969 multiarch round for PowerPC32.
16970 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
16971 New file.
16972 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
16973 New file.
16974 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
16975 multiarch roundf for PowerPC32.
16976
16977 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
16978 and floorf multiarch implementations.
16979 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
16980 New file.
16981 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
16982 file.
16983 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
16984 multiarch floor for PowerPC32.
16985 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
16986 New file.
16987 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
16988 New file.
16989 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
16990 multiarch floorf for PowerPC32.
16991
16992 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
16993 and ceilf multiarch implementations.
16994 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
16995 New file.
16996 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
16997 file.
16998 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
16999 multiarch ceil for PowerPC32.
17000 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
17001 New file.
17002 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
17003 file.
17004 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
17005 multiarch ceilf for PowerPC32.
17006
17007 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
17008 is defined.
17009 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
17010 FINITEF is defined.
17011 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
17012 and finitef multiarch implementations.
17013 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
17014 New file.
17015 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
17016 file.
17017 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
17018 multiarch finite for PowerPC32.
17019 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
17020 New file.
17021 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
17022 file: multiarch finitef for PowerPC32.
17023
17024 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
17025 and isinff multiarch implementations.
17026 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
17027 file.
17028 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
17029 file.
17030 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
17031 multiarch isinf for PowerPC32.
17032 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
17033 New file.
17034 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
17035 multiarch isinff for PowerPC32.
17036
17037 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
17038 alias when __isnan is defined.
17039 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
17040 and isnanf multiarch implementations.
17041 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
17042 file.
17043 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
17044 file.
17045 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
17046 file.
17047 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
17048 file.
17049 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
17050 multiarch isnan for PowerPC32.
17051 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
17052 New file.
17053 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
17054 New file.
17055 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
17056 multiarch isnanf for PowerPC32.
17057
17058 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
17059 and sqrtf multiarch implementations.
17060 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
17061 file.
17062 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
17063 file.
17064 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
17065 multiarch sqrt for PowerPC32.
17066 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
17067 file.
17068 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
17069 file.
17070 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
17071 multiarch sqrtf for PowerPC32.
17072
17073 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
17074 and llroundf multiarch implementations.
17075 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
17076 New file.
17077 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
17078 New file.
17079 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
17080 New file.
17081 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
17082 file: multiarch llround for PowerPC32.
17083 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
17084 file: multiarch llroundf for PowerPC32.
17085
17086 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
17087 multiarch PowerPC32 fpu implementations.
17088 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
17089 New file.
17090 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
17091 New file.
17092 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
17093 multiarch llrint for PowerPC32.
17094 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
17095 New file.
17096 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
17097 New file.
17098 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
17099 file.
17100
17101 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
17102
17103 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
17104 file.
17105 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
17106 file.
17107 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
17108 file.
17109 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
17110 multiarch wordcopy for PPC32.
17111 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
17112 wordcopy objects.
17113 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17114 (__libc_ifunc_impl_list): Likewise.
17115 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
17116 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
17117 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
17118 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
17119 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
17120 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
17121
17122 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
17123 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
17124 file.
17125 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
17126 file.
17127 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
17128 file.
17129 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
17130 multiarch wcscpy for PPC32.
17131 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
17132 multiarch objects.
17133 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17134 (__libc_ifunc_impl_list): Likewise.
17135 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
17136 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
17137 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
17138 sysdeps/powerpc/power6/wcscpy.c.
17139
17140 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
17141 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
17142 file.
17143 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
17144 file.
17145 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
17146 file.
17147 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
17148 multiarch wcsrchr for PPC32.
17149 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
17150 multiarch objects.
17151 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17152 (__libc_ifunc_impl_list): Likewise.
17153 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
17154 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
17155 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
17156 sysdeps/powerpc/power6/wcsrchr.c.
17157
17158 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
17159 file.
17160 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
17161 file.
17162 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
17163 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
17164 multiarch wcschr for PPc32.
17165 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
17166 multiarch objects.
17167 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17168 (__libc_ifunc_impl_list): Likewise.
17169 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
17170 * sysdeps/powerpc/power6/wcschr.c: ... to here.
17171 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
17172 sysdeps/powerpc/power6/wcschr.c.
17173
17174 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
17175 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
17176 file.
17177 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
17178 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
17179 file: multiarch strchr for PPC32.
17180 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
17181 multiarch objects.
17182 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17183 (__libc_ifunc_impl_list): Likewise.
17184
17185 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
17186 name.
17187 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
17188 file.
17189 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
17190 file.
17191 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
17192 multiarch strchrnul for PPC32.
17193 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
17194 multiarch objects.
17195 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17196 (__libc_ifunc_impl_list): Likewise.
17197
17198 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
17199 file.
17200 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
17201 multiarch strncasecmp for PPC32.
17202 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
17203 file.
17204 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
17205 multiarch strncasecmp_l for PPC32.
17206 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
17207 strncasecmp multiarch objects.
17208 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17209 (__libc_ifunc_impl_list): Likewise.
17210
17211 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
17212 file.
17213 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
17214 multiarch strncasecmp for PPC32.
17215 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
17216 New file.
17217 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
17218 multiarch strcasecmp_l for PPC32.
17219 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
17220 multiarch objects.
17221 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17222 (__libc_ifunc_impl_list): Likewise.
17223
17224 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
17225 file.
17226 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
17227 file.
17228 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
17229 multiarch strncmp for PPC32.
17230 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
17231 multiarch objects.
17232 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17233 (__libc_ifunc_impl_list): Likewise.
17234
17235 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
17236 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
17237 file.
17238 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
17239 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
17240 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
17241 multiarch objects.
17242 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17243 (__libc_ifunc_impl_list): Likewise.
17244
17245 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
17246 file.
17247 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
17248 file.
17249 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
17250 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
17251 multiarch objects.
17252 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17253 (__libc_ifunc_impl_list): Likewise.
17254
17255 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
17256 file.
17257 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
17258 file.
17259 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
17260 multiarch rawmemchr for PPC32.
17261 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
17262 multiarch objects.
17263 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17264 (__libc_ifunc_impl_list): Likewise.
17265
17266 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
17267 file.
17268 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
17269 file.
17270 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
17271 file: memrchr multiarch for PPC32.
17272 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
17273 multiarch objects.
17274 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17275 (__libc_ifunc_impl_list): Likewise.
17276
17277 * string/memchr.c (__memchr): Using macro to redefine symbol name.
17278 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
17279 file.
17280 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
17281 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
17282 multiarch memchr for PPC32.
17283 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
17284 multiarch objects.
17285 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
17286 (__libc_ifunc_impl_list): Likewise.
17287
17288 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
17289 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
17290 file.
17291 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
17292 file.
17293 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
17294 file: multiarch mempcpy for PPC32.
17295 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
17296 multiarch objects.
17297 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
17298 (__libc_ifunc_impl_list): Likewise.
17299
17300 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
17301 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
17302 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
17303 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
17304 multiarch bzero for PPC32.
17305 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
17306 file.
17307 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
17308 file.
17309 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
17310 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
17311 file: multiarch memset for PPC32.
17312 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
17313 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
17314 memset multiarch objects.
17315 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
17316 (__libc_ifunc_impl_list): Likewise.
17317
17318 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
17319 file.
17320 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
17321 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
17322 memcmp for PPC32.
17323 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
17324 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
17325 multiarch objects.
17326 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
17327 (__libc_ifunc_impl_list): Likewise.
17328
17329 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
17330 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
17331 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
17332 file.
17333 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
17334 file.
17335 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
17336 file.
17337 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
17338 multiarch memcpy for PPC32.
17339 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
17340 multiarch objects.
17341 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
17342 (__libc_ifunc_impl_list): Likewise.
17343
17344 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
17345 support multiarch for POWER/PPC32.
17346 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
17347 Likewise.
17348 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
17349 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
17350 Implies file to make multiarch folder appers before the fpu and
17351 default folder for power4 configuration.
17352
17353 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
17354
17355 * scripts/bench.pl: Append volatile keyword to type.
17356
17357 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17358
17359 * sysdeps/sh/sotruss-lib.c: New file.
17360 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
17361
17362 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17363
17364 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17365
17366 2013-12-05 Joseph Myers <joseph@codesourcery.com>
17367
17368 [BZ #6810]
17369 * math/w_tgamma.c: Include <errno.h>.
17370 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
17371 * math/w_tgammaf.c: Include <errno.h>.
17372 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
17373 * math/w_tgammal.c: Include <errno.h>.
17374 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
17375 * math/auto-libm-test-in: Do not allow missing errno on tgamma
17376 underflow. Add more tgamma tests.
17377 * math/auto-libm-test-out: Regenerated.
17378 * sysdeps/i386/fpu/libm-test-ulps: Update.
17379 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17380
17381 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
17382 sin, sinh, tan, tanh, tgamma, y0 and y1.
17383 * math/auto-libm-test-out: Regenerated.
17384 * math/libm-test.inc (TEST_COND_x86_64): New macro.
17385 (TEST_COND_x86): Likewise.
17386 (M_E2l): Remove macro.
17387 (M_E3l): Likewise.
17388 (M_2_SQRT_PIl): Likewise.
17389 (M_SQRT_PIl): Likewise.
17390 (M_1_DIV_El): Likewise.
17391 (log_test_data): Use AUTO_TESTS_f_f.
17392 (log10_test_data): Likewise.
17393 (log1p_test_data): Likewise.
17394 (log2_test_data): Likewise.
17395 (sin_test_data): Likewise.
17396 (sin_tonearest_test_data): Likewise.
17397 (sin_towardzero_test_data): Likewise.
17398 (sin_downward_test_data): Likewise.
17399 (sin_upward_test_data): Likewise.
17400 (sinh_test_data): Likewise.
17401 (sinh_tonearest_test_data): Likewise.
17402 (sinh_towardzero_test_data): Likewise.
17403 (sinh_downward_test_data): Likewise.
17404 (sinh_upward_test_data): Likewise.
17405 (tan_test_data): Likewise.
17406 (tan_tonearest_test_data): Likewise.
17407 (tan_towardzero_test_data): Likewise.
17408 (tan_downward_test_data): Likewise.
17409 (tan_upward_test_data): Likewise.
17410 (tanh_test_data): Likewise.
17411 (tgamma_test_data): Likewise.
17412 (y0_test_data): Likewise.
17413 (y1_test_data): Likewise.
17414 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
17415 (special_real_inputs): Add pi/4.
17416 * sysdeps/i386/fpu/libm-test-ulps: Update.
17417 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17418
17419 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17420
17421 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
17422 "longjmp_target" static probes.
17423 (__longjmp): Rename to __longjmp_symbol.
17424 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
17425 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
17426 on which longjmp to generate.
17427 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
17428 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
17429 probe.
17430 (__sigsetjmp): Rename to __sigsetjmp_symbol.
17431 (__sigjmp_save): Rename to __sigjmp_save_symbol.
17432 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
17433 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
17434 and __sigjmp_save_symbol based on which sigsetjmp to generated.
17435 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
17436 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
17437 __longjmp_symbol based on which __longjmp to generate.
17438 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
17439 probe.
17440 (setjmp): Rename to setjmp_symbol.
17441 (__sigsetjmp): Rename to __sigsetjmp_symbol.
17442 (_setjmp): Rename to _setjmp_symbol.
17443 (__sigsetjmp): Rename to __sigsetjmp_symbol.
17444 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
17445 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
17446 which setjmp to generate.
17447 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
17448 "longjmp_target" static probes.
17449
17450 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
17451
17452 * benchtests/README: Add note about output arguments.
17453 * benchtests/bench-sincos.c: Remove file.
17454 * benchtests/sincos-inputs: New file.
17455 * scripts/bench.pl: Identify output arguments and define
17456 static variables for them.
17457
17458 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
17459
17460 [BZ #15941]
17461 * Makefile (INSTALL): Add install-plain.texi as the primary
17462 dependency.
17463 * manual/install-plain.texi: New file.
17464 * manual/install.texi: Include node directive only for
17465 non-plaintext output.
17466
17467 2013-12-04 Joseph Myers <joseph@codesourcery.com>
17468
17469 * stdlib/longlong.h: Update from GCC.
17470
17471 [BZ #6807]
17472 [BZ #15901]
17473 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
17474 * math/w_j0f.c (y0f): Likewise.
17475 * math/w_j0l.c (__y0l): Likewise.
17476 * math/w_j1.c (y1): Likewise.
17477 * math/w_j1f.c (y1f): Likewise.
17478 * math/w_j1l.c (__y1l): Likewise
17479 * math/w_jn.c (yn): Likewise.
17480 * math/w_jnf.c (ynf): Likewise.
17481 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
17482 Bessel function pole errors in _POSIX_ mode. Use NAN as return
17483 value for Bessel function domain errors outside _SVID_ mode.
17484 Adjust sign of return value for yn (negative integer, 0).
17485 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
17486 by zero in return for negative x and set sign appropriately for
17487 negative n.
17488 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
17489 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
17490 * math/libm-test.inc (y0_test_data): Add more tests and adjust
17491 expectations in error cases.
17492 (y1_test_data): Likewise.
17493 (yn_test_data): Likewise.
17494 * sysdeps/i386/fpu/libm-test-ulps: Update.
17495 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17496
17497 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
17498
17499 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
17500 "64" to "64-v1". Add "64-v2".
17501 (abi-64-options): Rename to ...
17502 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
17503 (abi-64-condition): Rename to ...
17504 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
17505 (abi-64-ld-soname): Rename to ...
17506 (abi-64-v1-ld-soname): ... this.
17507 (abi-64-v2-options): Define.
17508 (abi-64-v2-condition): Likewise.
17509 (abi-64-v2-ld-soname): Likewise.
17510 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
17511 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
17512 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
17513 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
17514 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
17515
17516 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
17517 Alan Modra <amodra@gmail.com>
17518
17519 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
17520 New versions for use with the ELFv2 ABI.
17521 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
17522 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
17523 declaration.
17524 (struct La_ppc64v2_retval): Likewise.
17525 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
17526 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
17527 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
17528 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
17529 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
17530 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
17531 Do not save or restore CR.
17532 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
17533 (_dl_profile_resolve): Do no save or restore CR. Support extended
17534 return values for ELFv2 ABI. Fix location of FPR return registers.
17535 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
17536 updated values for _CALL_ELF == 2.
17537 (La_regs, La_retval, int_retval): Likewise.
17538
17539 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
17540
17541 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
17542 (FRAME_MIN_SIZE_PARM): Likewise.
17543 (FRAME_BACKCHAIN): Likewise.
17544 (FRAME_CR_SAVE): Likewise.
17545 (FRAME_LR_SAVE): Likewise.
17546 (FRAME_TOC_SAVE): Likewise.
17547 (FRAME_PARM_SAVE): Likewise.
17548 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
17549 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
17550 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
17551 (call_mcount_parm_offset): New macro.
17552 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
17553 (PROF): Use symbolic stack frame offsets.
17554 (TAIL_CALL_SYSCALL_ERROR): Likewise.
17555 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
17556 Redefine in terms of FRAME_MIN_SIZE.
17557 (_dl_runtime_resolve): Use symbolic stack frame offsets.
17558 (_dl_profile_resolve): Likewise. Update comment.
17559 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
17560 symbols stack frame offsets.
17561 (__sigsetjmp): Likewise.
17562 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
17563 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
17564 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
17565 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
17566
17567 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
17568 (FRAME_BACKCHAIN): Remove.
17569 (FRAME_CR_SAVE): Likewise.
17570 (FRAME_LR_SAVE): Likewise.
17571 (FRAME_COMPILER_DW): Likewise.
17572 (FRAME_LINKER_DW): Likewise.
17573 (FRAME_TOC_SAVE): Likewise.
17574 (FRAME_PARM_SAVE): Likewise.
17575 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
17576 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
17577 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
17578 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
17579 (CHECK_SP): Use symbolic stack frame offsets.
17580 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
17581 zone" instead of caller's parameter save area for temp storage.
17582 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
17583 Likewise. Also, use symbolic stack frame offsets.
17584 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
17585 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
17586 our own stack frame instead of the caller's.
17587 (__socket): Use symbolic stack frame offsets.
17588
17589 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
17590 Alan Modra <amodra@gmail.com>
17591
17592 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
17593 Define.
17594 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
17595 (PPC64_LOCAL_ENTRY_OFFSET): Define.
17596 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
17597 New function.
17598 (elf_machine_fixup_plt): Call it.
17599 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
17600 reloc arguments.
17601 (elf_machine_rela): Update call to elf_machine_plt_conflict.
17602 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
17603 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
17604 r2 before calling target.
17605
17606 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
17607 Alan Modra <amodra@gmail.com>
17608
17609 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
17610 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
17611 versions of macros to support ELFv2 ABI.
17612 (LOCALENTRY): New macro.
17613 (ENTRY, EALIGN): Use it.
17614 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
17615 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
17616 fall through into ENTRY entry point.
17617 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
17618 Only define if _CALL_ELF != 2.
17619
17620 (elf_machine_matches_host): Verify ABI version matches.
17621 (RTLD_START): Use LOCALENTRY.
17622 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
17623 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
17624 (PLT_ENTRY_WORDS): New macro.
17625 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
17626 (elf_machine_runtime_setup): Support ELFv2 ABI.
17627 (elf_machine_fixup_plt): Likewise.
17628 (elf_machine_plt_conflict): Likewise.
17629 (resolve_ifunc): Likewise.
17630 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
17631 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
17632 Likewise.
17633 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
17634 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
17635 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
17636 (makecontext): Support ELFv2 ABI.
17637 * elf/elf.h (EF_PPC64_ABI): Define.
17638
17639 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
17640
17641 * sysdeps/powerpc/powerpc64/sysdep.h
17642 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
17643 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
17644 (ENTRY) [ASSEMBLER]: ... but instead here ...
17645 (EALIGN) [ASSEMBLER]: ... and here.
17646 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
17647 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
17648 (ENTRY_2) [!ASSEMBLER]: Use it.
17649 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
17650 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
17651 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
17652 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
17653 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
17654 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
17655 Use PPC64_LOAD_FUNCPTR.
17656
17657 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
17658
17659 2013-12-04 Alan Modra <amodra@gmail.com>
17660
17661 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
17662 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
17663 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
17664 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
17665
17666 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
17667 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
17668 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
17669 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
17670 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
17671 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
17672
17673 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
17674
17675 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
17676 (__makecontext): Fix incorrect CFI when backtracing out of
17677 context created via makecontext.
17678 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
17679 (__setcontext): Fix incorrect CFI during switch to new context.
17680 (__novec_setcontext): Likewise.
17681
17682 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
17683
17684 [BZ #4772]
17685 * time/strptime_l.c (__strptime_internal): Allow modifiers
17686 in strptime.
17687 * time/tst-strptime.c (day_tests): Add testcase.
17688
17689 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
17690
17691 * scripts/bench.pl: Skip over blank lines.
17692
17693 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
17694
17695 [BZ #926]
17696 * manual/time.texi (Calendar Time): Clarify what timezone functions
17697 use.
17698
17699 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17700
17701 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17702
17703 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
17704
17705 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
17706 implementation.
17707 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
17708 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
17709 * debug/memset_chk.c (__memset_chk): Likewise.
17710 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
17711 * debug/strncpy_chk.c: Likewise.
17712
17713 2013-12-03 Joseph Myers <joseph@codesourcery.com>
17714
17715 [BZ #15268]
17716 [BZ #15425]
17717 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
17718 (__ieee754_exp): For possibly underflowing results, check size of
17719 result and force underflow exception if required.
17720 * math/auto-libm-test-in: Add more tests of exp.
17721 * math/auto-libm-test-out: Regenerated.
17722 * sysdeps/i386/fpu/libm-test-ulps: Update.
17723 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17724
17725 [BZ #16283]
17726 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
17727 * math/w_exp2f.c (__exp2f): Likewise.
17728 * math/w_exp2l.c (__exp2l): Likewise.
17729 * math/auto-libm-test-in: Do not allow missing errno on exp2
17730 underflow.
17731 * math/auto-libm-test-out: Regenerated.
17732
17733 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
17734
17735 [BZ #16274]
17736 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
17737 handle filename validation.
17738 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
17739 (do_open): Delete.
17740
17741 2013-12-03 Joseph Myers <joseph@codesourcery.com>
17742
17743 [BZ #6786]
17744 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
17745 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
17746 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
17747 <float.h>.
17748 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
17749 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
17750 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
17751 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
17752 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
17753 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
17754 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
17755 * math/auto-libm-test-in: Don't allow missing errno from erfc.
17756 Add more erfc tests.
17757 * math/auto-libm-test-out: Regenerated.
17758 * sysdeps/i386/fpu/libm-test-ulps: Update.
17759 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17760
17761 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
17762 exp2, expm1, j0 and j1.
17763 * math/auto-libm-test-out: Regenerated.
17764 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
17765 (erfc_test_data): Likewise.
17766 (exp_test_data): Likewise.
17767 (exp_tonearest_test_data): Likewise.
17768 (exp_towardzero_test_data): Likewise.
17769 (exp_downward_test_data): Likewise.
17770 (exp_upward_test_data): Likewise.
17771 (exp10_test_data): Likewise.
17772 (exp2_test_data): Likewise.
17773 (expm1_test_data): Likewise.
17774 (j0_test_data): Likewise.
17775 (j1_test_data): Likewise.
17776 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
17777 (input_flag_type): Add flag_xfail_rounding.
17778 (input_flags): Add xfail-rounding.
17779 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
17780 (output_for_one_input_case): Handle flag_xfail_rounding.
17781 * sysdeps/i386/fpu/libm-test-ulps: Update.
17782 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17783
17784 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
17785
17786 [BZ #16289]
17787 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
17788 division by 0.
17789
17790 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
17791
17792 [BZ #16195]
17793 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
17794 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
17795 (STAP_PROBE0): New macro.
17796 (STAP_PROBE1): Likewise.
17797 (STAP_PROBE2): Likewise.
17798 (STAP_PROBE3): Likewise.
17799 (STAP_PROBE4): Likewise.
17800
17801 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
17802
17803 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
17804
17805 2013-12-02 Steve Ellcey <sellcey@mips.com>
17806
17807 * benchtests/Makefile (bench): Add sqrt.
17808 (LDLIBS-bench-sqrt): New.
17809 * benchtests/sqrt-input: New.
17810
17811 2013-12-02 Pavel Simerda <psimerda@redhat.com>
17812
17813 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
17814 (GAIH_EAI): Likewise.
17815 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
17816 (gaih_inet): Likewise.
17817 (getaddrinfo): Don't use GAIH_EAI.
17818
17819 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
17820 (struct gaih): Remove definition.
17821
17822 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
17823
17824 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
17825 Use HERRNOP directly.
17826
17827 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17828
17829 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17830
17831 2013-11-30 Joseph Myers <joseph@codesourcery.com>
17832
17833 * math/gen-auto-libm-tests.c (test_functions): Add more
17834 single-argument functions.
17835 (special_fill_pi_2): New function.
17836 (special_fill_minus_pi_2): Likewise.
17837 (special_fill_pi_6): Likewise.
17838 (special_fill_minus_pi_6): Likewise.
17839 (special_fill_pi_3): Likewise.
17840 (special_fill_2pi_3): Likewise.
17841 (special_fill_e): Likewise.
17842 (special_fill_1_e): Likewise.
17843 (special_fill_e_minus_1): Likewise.
17844 (special_real_inputs): Add more special inputs.
17845 (output_for_one_input_case): Do not require ERANGE on underflow to
17846 zero if round-to-nearest result does not underflow to zero, unless
17847 exact results required.
17848 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
17849 atan, atanh, cbrt, cos and cosh.
17850 * math/auto-libm-test-out: Regenerated.
17851 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
17852 (acos_tonearest_test_data): Likewise.
17853 (acos_towardzero_test_data): Likewise.
17854 (acos_downward_test_data): Likewise.
17855 (acos_upward_test_data): Likewise.
17856 (acosh_test_data): Likewise.
17857 (asin_test_data): Likewise.
17858 (asin_tonearest_test_data): Likewise.
17859 (asin_towardzero_test_data): Likewise.
17860 (asin_upward_test_data): Likewise.
17861 (asinh_test_data): Likewise.
17862 (atan_test_data): Likewise.
17863 (atanh_test_data): Likewise.
17864 (cbrt_test_data): Likewise.
17865 (cos_test_data): Likewise.
17866 (cos_tonearest_test_data): Likewise.
17867 (cos_towardzero_test_data): Likewise.
17868 (cos_downward_test_data): Likewise.
17869 (cos_upward_test_data): Likewise.
17870 (cosh_test_data): Likewise.
17871 (cosh_tonearest_test_data): Likewise.
17872 (cosh_towardzero_test_data): Likewise.
17873 (cosh_downward_test_data): Likewise.
17874 (cosh_upward_test_data): Likewise.
17875 * sysdeps/i386/fpu/libm-test-ulps: Update.
17876 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17877
17878 2013-11-29 Joseph Myers <joseph@codesourcery.com>
17879
17880 [BZ #6787]
17881 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
17882 * math/w_exp10f.c (__exp10f): Likewise.
17883 * math/w_exp10l.c (__exp10l): Likewise.
17884 * math/libm-test.inc (exp10_test_data): Add more tests and expect
17885 errno settings in existing tests.
17886
17887 [BZ #14032]
17888 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
17889 precision control set to double precision.
17890 * sysdeps/i386/fpu/w_sqrt.c: New file.
17891 * math/auto-libm-test-in: Add more tests.
17892 * math/auto-libm-test-out: Update.
17893
17894 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
17895 (sqrt_test_tonearest): New function.
17896 (sqrt_towardzero_test_data): New variable.
17897 (sqrt_test_towardzero): New function.
17898 (sqrt_downward_test_data): New variable.
17899 (sqrt_test_downward): New function.
17900 (sqrt_upward_test_data): New variable.
17901 (sqrt_test_upward): New function.
17902 (main): Call the new functions.
17903
17904 * math/gen-auto-libm-tests.c: New file.
17905 * math/auto-libm-test-in: Likewise.
17906 * math/auto-libm-test-out: New generated file.
17907 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
17908 variables.
17909 (%beautify): Add generated representations of zero.
17910 (top level): Set $auto_input and call parse_auto_input.
17911 (beautify): Remove trailing "f" from hex float constants.
17912 (parse_args): Handle XFAIL_TEST.
17913 (convert_condition): New function.
17914 (or_value): Likewise.
17915 (or_cond_value): Likewise.
17916 (generate_testfile): Handle AUTO_TESTS_* lines.
17917 (parse_auto_input): New function.
17918 * math/libm-test.inc (XFAIL_TEST): New macro.
17919 (ERRNO_UNCHANGED): Update value.
17920 (ERRNO_EDOM): Likewise.
17921 (ERRNO_ERANGE): Likewise.
17922 (IGNORE_RESULT): Likewise.
17923 (TEST_COND_flt_32): New macro.
17924 (TEST_COND_dbl_64): Likewise.
17925 (TEST_COND_ldbl_96_intel): Likewise.
17926 (TEST_COND_ldbl_96_m68k): Likewise.
17927 (TEST_COND_ldbl_128): Likewise.
17928 (TEST_COND_ldbl_128ibm): Likewise.
17929 (TEST_COND_long32): Likewise.
17930 (TEST_COND_long64): Likewise.
17931 (TEST_COND_before_rounding): Likewise.
17932 (TEST_COND_after_rounding): Likewise.
17933 (enable_test): Handle XFAIL_TEST flag.
17934 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
17935 with finite results.
17936 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
17937 auto-libm-test-out.
17938
17939 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
17940 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17941
17942 [BZ #16214]
17943 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
17944 __tls_get_addr_internal instead of __tls_get_offset in order to
17945 avoid GOT pointer dependency. Make rtld export
17946 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
17947 __tls_get_addr since we are a __tls_get_offset platform.
17948 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
17949 GOT pointer being set up before.
17950 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
17951
17952 2013-11-28 Joseph Myers <joseph@codesourcery.com>
17953
17954 * manual/math.texi (Errors in Math Functions): Document accuracy
17955 goals.
17956
17957 [BZ #15004]
17958 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
17959 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
17960 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
17961 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
17962 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
17963 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
17964 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
17965 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
17966 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
17967 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
17968 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
17969 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
17970 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
17971 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
17972 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
17973 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
17974
17975 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
17976 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
17977 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
17978 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
17979 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
17980 Likewise.
17981 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
17982 Likewise.
17983 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
17984 Likewise.
17985 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
17986 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
17987 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
17988 atomic-feupdateenv and flt-rounds.
17989 * sysdeps/powerpc/nofpu/Versions (libc): Add
17990 __atomic_feholdexcept, __atomic_feclearexcept,
17991 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
17992 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
17993 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
17994 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
17995 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
17996 here.
17997 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
17998 Update.
17999
18000 * manual/arith.texi (FP Exceptions): Document that exceptions may
18001 not be raised when matherr is used.
18002 (Math Error Reporting): Document overflow in directed rounding
18003 modes. Document that errno may not be set when finite values are
18004 returned on overflow. Document intent to set errno on underflow
18005 only for underflow to zero.
18006
18007 [BZ #16271]
18008 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
18009 round-to-nearest then adjust result for other rounding modes.
18010 * include/fenv.h (fegetround): Use libm_hidden_proto.
18011 * math/fegetround.c (fegetround): Use libm_hidden_def.
18012 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
18013 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
18014 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
18015 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
18016 Likewise.
18017 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
18018 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
18019 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
18020 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
18021
18022 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
18023
18024 [BZ #16077]
18025 * nss/Versions (libnss_files): Add
18026 _nss_files_gethostbyname3_r.
18027 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
18028 New function.
18029 (HOST_DB_LOOKUP): Remove macro.
18030 (_nss_files_gethostbyname_r): Implement function without the
18031 HOST_DB_LOOKUP macro.
18032 (_nss_files_gethostbyname2_r): Likewise.
18033
18034 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
18035
18036 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
18037
18038 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
18039
18040 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
18041 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
18042 warning.
18043
18044 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18045
18046 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
18047 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
18048 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
18049 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
18050 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
18051 __fe_nomask_env_priv and attribute_hidden.
18052 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
18053 (libc_feupdateenv_test_ppc): Likewise.
18054 (libc_feresetround_ppc): Likewise.
18055 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
18056 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
18057 compat_symbol macro.
18058 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
18059 (__fe_nomask_env): Likewise.
18060 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
18061
18062 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
18063
18064 * string/Makefile: Remove ifunc tests.
18065 * string/test-string.h: Define TEST_IFUNC.
18066 * string/test-bcopy-ifunc.c: Remove.
18067 * string/test-bzero-ifunc.c: Likewise.
18068 * string/test-memccpy-ifunc.c: Likewise.
18069 * string/test-memchr-ifunc.c: Likewise.
18070 * string/test-memcmp-ifunc.c: Likewise.
18071 * string/test-memcpy-ifunc.c: Likewise.
18072 * string/test-memmem-ifunc.c: Likewise.
18073 * string/test-memmove-ifunc.c: Likewise.
18074 * string/test-mempcpy-ifunc.c: Likewise.
18075 * string/test-memrchr-ifunc.c: Likewise.
18076 * string/test-memset-ifunc.c: Likewise.
18077 * string/test-rawmemchr-ifunc.c: Likewise.
18078 * string/test-stpcpy-ifunc.c: Likewise.
18079 * string/test-stpncpy-ifunc.c: Likewise.
18080 * string/test-strcasecmp-ifunc.c: Likewise.
18081 * string/test-strcasestr-ifunc.c: Likewise.
18082 * string/test-strcat-ifunc.c: Likewise.
18083 * string/test-strchr-ifunc.c: Likewise.
18084 * string/test-strchrnul-ifunc.c: Likewise.
18085 * string/test-strcmp-ifunc.c: Likewise.
18086 * string/test-strcpy-ifunc.c: Likewise.
18087 * string/test-strcspn-ifunc.c: Likewise.
18088 * string/test-strlen-ifunc.c: Likewise.
18089 * string/test-strncasecmp-ifunc.c: Likewise.
18090 * string/test-strncat-ifunc.c: Likewise.
18091 * string/test-strncmp-ifunc.c: Likewise.
18092 * string/test-strncpy-ifunc.c: Likewise.
18093 * string/test-strnlen-ifunc.c: Likewise.
18094 * string/test-strpbrk-ifunc.c: Likewise.
18095 * string/test-strrchr-ifunc.c: Likewise.
18096 * string/test-strspn-ifunc.c: Likewise.
18097 * string/test-strstr-ifunc.c: Likewise.
18098
18099 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
18100
18101 * benchtests/Makefile: Remove ifunc tests.
18102 * benchtests/bench-string.h: Define TEST_IFUNC.
18103 * benchtests/bench-bcopy-ifunc.c: Remove.
18104 * benchtests/bench-bzero-ifunc.c: Likewise.
18105 * benchtests/bench-memccpy-ifunc.c: Likewise.
18106 * benchtests/bench-memchr-ifunc.c: Likewise.
18107 * benchtests/bench-memcmp-ifunc.c: Likewise.
18108 * benchtests/bench-memcpy-ifunc.c: Likewise.
18109 * benchtests/bench-memmem-ifunc.c: Likewise.
18110 * benchtests/bench-memmove-ifunc.c: Likewise.
18111 * benchtests/bench-mempcpy-ifunc.c: Likewise.
18112 * benchtests/bench-memrchr-ifunc.c: Likewise.
18113 * benchtests/bench-memset-ifunc.c: Likewise.
18114 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
18115 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
18116 * benchtests/bench-stpcpy-ifunc.c: Likewise.
18117 * benchtests/bench-stpncpy-ifunc.c: Likewise.
18118 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
18119 * benchtests/bench-strcasestr-ifunc.c: Likewise.
18120 * benchtests/bench-strcat-ifunc.c: Likewise.
18121 * benchtests/bench-strchr-ifunc.c: Likewise.
18122 * benchtests/bench-strchrnul-ifunc.c: Likewise.
18123 * benchtests/bench-strcmp-ifunc.c: Likewise.
18124 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
18125 * benchtests/bench-strcpy-ifunc.c: Likewise.
18126 * benchtests/bench-strcspn-ifunc.c: Likewise.
18127 * benchtests/bench-strlen-ifunc.c: Likewise.
18128 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
18129 * benchtests/bench-strncat-ifunc.c: Likewise.
18130 * benchtests/bench-strncmp-ifunc.c: Likewise.
18131 * benchtests/bench-strncpy-ifunc.c: Likewise.
18132 * benchtests/bench-strnlen-ifunc.c: Likewise.
18133 * benchtests/bench-strpbrk-ifunc.c: Likewise.
18134 * benchtests/bench-strrchr-ifunc.c: Likewise.
18135 * benchtests/bench-strsep-ifunc.c: Likewise.
18136 * benchtests/bench-strspn-ifunc.c: Likewise.
18137 * benchtests/bench-strstr-ifunc.c: Likewise.
18138
18139 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
18140
18141 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
18142
18143 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
18144
18145 * resolv/netdb.h: Use __glibc_reserved instead __unused.
18146 * rt/aio.h: Likewise.
18147 * sysdeps/gnu/bits/utmp.h: Likewise.
18148 * sysdeps/gnu/bits/utmpx.h: Likewise.
18149 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
18150 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
18151 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
18152 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
18153 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
18154 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
18155 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
18156 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
18157 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
18158 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
18159 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
18160 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
18161 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
18162 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
18163 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
18164 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
18165 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
18166 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
18167 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
18168 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
18169 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
18170 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
18171 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
18172 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
18173 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
18174 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
18175 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
18176 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
18177 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
18178 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
18179 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
18180 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
18181 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
18182 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
18183 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
18184 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
18185 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
18186 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
18187 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
18188 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
18189 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
18190 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
18191
18192 2013-11-25 Carlos O'Donell <carlos@redhat.com>
18193
18194 [BZ #16245]
18195 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
18196 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
18197
18198 2013-11-25 Joseph Myers <joseph@codesourcery.com>
18199
18200 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
18201 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
18202 Likewise.
18203
18204 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18205
18206 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
18207 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
18208 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
18209 (__fesetround): Remove define.
18210 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
18211 rounding and exceptions handling.
18212 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
18213 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
18214 (__fe_nomask_env): Likewise.
18215 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
18216 __fegetround instead of fegetround.
18217 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
18218 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
18219
18220 2013-11-21 Roland McGrath <roland@hack.frob.com>
18221
18222 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
18223 it's there.
18224
18225 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
18226
18227 2013-11-21 Meador Inge <meadori@codesourcery.com>
18228
18229 [BZ #11157]
18230 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
18231 (encrypt_r): Likewise.
18232 * malloc/obstack.h (obstack_free): Likewise.
18233 * posix/unistd.h (encrypt): Likewise.
18234
18235 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
18236
18237 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
18238 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
18239 DL_CALL_DT_FINI() that call the functions directly.
18240 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
18241 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
18242 * elf/dl-fini.c: Likewise.
18243
18244 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
18245
18246 * malloc/hooks.c (memalign_check): Add alignment rounding.
18247 * malloc/malloc.c (_mid_memalign): New function.
18248 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
18249 Implement by calling _mid_memalign.
18250 * manual/probes.texi (Memory Allocation Probes): Remove
18251 memory_valloc_retry and memory_pvalloc_retry.
18252
18253 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
18254
18255 * locale/programs/locarchive.c (open_archive): Add const
18256 qualifier to ARCHIVEFNAME and copy default fname to
18257 DEFAULT_FNAME.
18258
18259 [BZ #15601]
18260 * libio/tst-widetext.input: Rename Oriya to Odia.
18261 * locale/iso-639.def: Likewise.
18262
18263 * manual/probes.texi (Mathematical Function Probes): Add
18264 documentation for sin, cos, asin and acos probes.
18265 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
18266 (__sin32): Add slowasin probe.
18267 (__cos32): Add slowacos probe.
18268 (__mpsin): Add slowsin probe.
18269 (__mpcos): Add slowcos probe.
18270
18271 2013-11-19 Joseph Myers <joseph@codesourcery.com>
18272
18273 [BZ #15483]
18274 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
18275 thread-local __sim_exceptions_thread and global
18276 __sim_exceptions_global.
18277 (__sim_disabled_exceptions): Change to thread-local
18278 __sim_disabled_exceptions_thread and global
18279 __sim_disabled_exceptions_global.
18280 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
18281 and global __sim_round_mode_global.
18282 (__simulate_exceptions): Use thread-local floating-point state and
18283 set global state from it as needed.
18284 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
18285 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
18286 __sim_round_mode_thread.
18287 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
18288 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
18289 and global __sim_exceptions_global.
18290 (__sim_disabled_exceptions): Change to thread-local
18291 __sim_disabled_exceptions_thread and global
18292 __sim_disabled_exceptions_global.
18293 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
18294 and global __sim_round_mode_global.
18295 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
18296 (SIM_SET_GLOBAL): Likewise.
18297 * sysdeps/powerpc/soft-fp/sfp-machine.h
18298 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
18299 __sim_round_mode_thread.
18300 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
18301 __sim_disabled_exceptions_thread.
18302 (__sim_exceptions): Change to __sim_exceptions_thread.
18303 (__sim_disabled_exceptions): Change to
18304 __sim_disabled_exceptions_thread.
18305 (__sim_round_mode): Change to __sim_round_mode_thread.
18306 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
18307 thread-local floating-point state and set global state from it as
18308 needed.
18309 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
18310 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
18311 (__sim_disabled_exceptions): Remove extern declaration.
18312 (feenableexcept): Use thread-local floating-point state and set
18313 global state from it as needed.
18314 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
18315 extern declaration.
18316 (__sim_disabled_exceptions): Likewise.
18317 (__sim_round_mode): Likewise.
18318 (__fegetenv): Use thread-local floating-point state.
18319 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
18320 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
18321 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
18322 floating-point state and set global state from it as needed.
18323 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
18324 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
18325 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
18326 Likewise.
18327 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
18328 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
18329 Likewise.
18330 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
18331 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
18332 Use __sim_round_mode_thread.
18333 * math/test-fenv-tls.c: New file.
18334 * math/Makefile (tests): Add test-fenv-tls.
18335 ($(objpfx)test-fenv-tls): Depend on
18336 $(common-objpfx)nptl/libpthread.so.
18337
18338 2013-11-19 Andreas Schwab <schwab@suse.de>
18339
18340 * locale/programs/locale.c (show_info): Decode wordarray elements.
18341 * locale/categories.def (LC_MONETARY): Add element for
18342 _NL_MONETARY_CRNCYSTR.
18343 * locale/C-monetary.c (conversion_rate): New variable.
18344 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
18345 element.
18346
18347 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
18348
18349 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
18350 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
18351
18352 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
18353
18354 * elf/Makefile (tst-auxv): New test.
18355 * elf/tst-auxv.c: New
18356 * elf/rtld.c (dl_main): Adjust AT_EXECFN
18357
18358 2013-11-18 Joseph Myers <joseph@codesourcery.com>
18359
18360 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
18361 (hidden_proto): Caller changed.
18362 (hidden_tls_proto): New macro.
18363 (libc_hidden_tls_proto): Likewise.
18364 (rtld_hidden_tls_proto): Likewise.
18365 (libm_hidden_tls_proto): Likewise.
18366 (libresolv_hidden_tls_proto): Likewise.
18367 (librt_hidden_tls_proto): Likewise.
18368 (libdl_hidden_tls_proto): Likewise.
18369 (libnss_files_hidden_tls_proto): Likewise.
18370 (libnsl_hidden_tls_proto): Likewise.
18371 (libnss_nisplus_hidden_tls_proto): Likewise.
18372 (libutil_hidden_tls_proto): Likewise.
18373
18374 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
18375
18376 [BZ #10253]
18377 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
18378 (decompose_rpath): Defer expansion to fillin_rpath.
18379 (_dl_init_paths): Pass linkmap to fillin_rpath.
18380
18381 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
18382
18383 * benchtests/Makefile: Add strsep.
18384 * benchtests/bench-strsep.c: New file: strsep benchtest.
18385 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
18386
18387 2013-11-18 Andreas Schwab <schwab@suse.de>
18388
18389 * locale/programs/locale.c (show_info) [case byte]: Check for
18390 '\377' instead of '\177'.
18391 * locale/C-monetary.c (not_available): Always use "\377".
18392 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
18393 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
18394 detect unavailable sign_posn locale elements.
18395 * locale/localeconv.c (__localeconv): For grouping and
18396 mon_grouping handle "\177" and "\377" like no grouping.
18397 (INT_ELEM): New macro. Use it to set all numeric members.
18398 * locale/programs/ld-monetary.c (monetary_read)
18399 <tok_mon_grouping>: Normalize single -1 to the empty string.
18400 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
18401 Likewise.
18402
18403 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
18404
18405 [BZ #16055]
18406 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
18407 when we match (nil).
18408 * stdio-common/tst-sscanf.c (struct test): Add testcase.
18409
18410 2013-11-16 Joseph Myers <joseph@codesourcery.com>
18411
18412 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
18413 (NO_TEST_INLINE): Update value.
18414 (ERRNO_UNCHANGED): Likewise.
18415 (ERRNO_EDOM): Likewise.
18416 (ERRNO_ERANGE): Likewise.
18417 (IGNORE_RESULT): Likewise.
18418 (check_float_internal): Check signs of NaN results if
18419 TEST_NAN_SIGN used.
18420 (check_complex): Pass TEST_NAN_SIGN flag through to second
18421 check_float_internal call.
18422 (copysign_test_data): Add tests with quiet NaNs as second
18423 argument. Use TEST_NAN_SIGN.
18424 (fabs_test_data): Add test of negative quiet NaN argument. Use
18425 TEST_NAN_SIGN.
18426 (signbit_test_data): Add tests of quiet NaN argument.
18427 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
18428
18429 * math/gen-libm-test.pl (show_exceptions): Take extra argument
18430 $ignore_result.
18431 (parse_args): Handle function results specified as IGNORE.
18432 * math/libm-test.inc (IGNORE_RESULT): New macro.
18433 (check_float_internal): Do not check numerical result if flag
18434 IGNORE_RESULT set.
18435 (check_complex): Pass through IGNORE_RESULT to second
18436 check_float_internal call.
18437 (check_int): Do not check numerical result if flag IGNORE_RESULT
18438 set.
18439 (check_long): Likewise.
18440 (check_bool): Likewise.
18441 (check_longlong): Likewise.
18442 (lrint_test_data): Add tests of infinite and NaN arguments.
18443 (lrint_tonearest_test_data): Likewise.
18444 (lrint_towardzero_test_data): Likewise.
18445 (lrint_downward_test_data): Likewise.
18446 (lrint_upward_test_data): Likewise.
18447 (llrint_test_data): Likewise.
18448 (llrint_tonearest_test_data): Likewise.
18449 (llrint_towardzero_test_data): Likewise.
18450 (llrint_downward_test_data): Likewise.
18451 (llrint_upward_test_data): Likewise.
18452 (lround_test_data): Likewise.
18453 (llround_test_data): Likewise.
18454
18455 * math/libm-test.inc (NO_TEST_INLINE): New macro.
18456 (ERRNO_UNCHANGED): Update value.
18457 (ERRNO_EDOM): Likewise.
18458 (ERRNO_ERANGE): Likewise.
18459 (NO_TEST_INLINE_FLOAT): New macro.
18460 (NO_TEST_INLINE_DOUBLE): Likewise.
18461 (enable_test): New function.
18462 (RUN_TEST_f_f): Check enable_test before running test.
18463 (RUN_TEST_2_f): Likewise.
18464 (RUN_TEST_fff_f): Likewise.
18465 (RUN_TEST_c_f): Likewise.
18466 (RUN_TEST_f_f1): Likewise.
18467 (RUN_TEST_fF_f1): Likewise.
18468 (RUN_TEST_fI_f1): Likewise.
18469 (RUN_TEST_ffI_f1): Likewise.
18470 (RUN_TEST_c_c): Likewise.
18471 (RUN_TEST_cc_c): Likewise.
18472 (RUN_TEST_f_i): Likewise.
18473 (RUN_TEST_f_i_tg): Likewise.
18474 (RUN_TEST_ff_i_tg): Likewise.
18475 (RUN_TEST_f_b): Likewise.
18476 (RUN_TEST_f_b_tg): Likewise.
18477 (RUN_TEST_f_l): Likewise.
18478 (RUN_TEST_f_L): Likewise.
18479 (RUN_TEST_fFF_11): Likewise.
18480 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
18481 conditionals.
18482 (cosh_test_data): Likewise.
18483 (exp_test_data): Likewise.
18484 (expm1_test_data): Likewise.
18485 (hypot_test_data): Likewise.
18486 (pow_test_data): Likewise.
18487 (sinh_test_data): Likewise.
18488 (tanh_test_data): Likewise.
18489 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
18490 flags argument.
18491
18492 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
18493 tests with quiet NaN input and output.
18494 (acosh_test_data): Likewise.
18495 (asin_test_data): Likewise.
18496 (asinh_test_data): Likewise.
18497 (atan_test_data): Likewise.
18498 (atanh_test_data): Likewise.
18499 (atan2_test_data): Likewise.
18500 (cbrt_test_data): Likewise.
18501 (cos_test_data): Likewise.
18502 (cosh_test_data): Likewise.
18503 (erf_test_data): Likewise.
18504 (erfc_test_data): Likewise.
18505 (exp_test_data): Likewise.
18506 (exp10_test_data): Likewise.
18507 (exp2_test_data): Likewise.
18508 (expm1_test_data): Likewise.
18509 (hypot_test_data): Likewise.
18510 (j0_test_data): Likewise.
18511 (j1_test_data): Likewise.
18512 (jn_test_data): Likewise.
18513 (lgamma_test_data): Likewise.
18514 (log_test_data): Likewise.
18515 (log10_test_data): Likewise.
18516 (log1p_test_data): Likewise.
18517 (log2_test_data): Likewise.
18518 (pow_test_data): Likewise.
18519 (scalb_test_data): Likewise.
18520 (sin_test_data): Likewise.
18521 (sincos_test_data): Likewise.
18522 (sinh_test_data): Likewise.
18523 (tan_test_data): Likewise.
18524 (tanh_test_data): Likewise.
18525 (tgamma_test_data): Likewise.
18526 (y0_test_data): Likewise.
18527 (y1_test_data): Likewise.
18528 (yn_test_data): Likewise.
18529
18530 [BZ #16167]
18531 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
18532 argument being NaN and avoid computations with second argument in
18533 that case.
18534 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
18535 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
18536 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
18537
18538 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
18539
18540 * locale/iso-639.def: Add Chitwani Tharu (the).
18541
18542 2013-11-14 Andreas Schwab <schwab@suse.de>
18543
18544 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
18545 word instead of empty string.
18546
18547 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18548
18549 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
18550 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
18551 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
18552 (__fe_nomask_env): Likewise.
18553
18554 2013-11-13 Steve Ellcey <sellcey@mips.com>
18555
18556 * benchtests/bench-timing.h: Include time.h.
18557
18558 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
18559
18560 [BZ #15997]
18561 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
18562 to 3.4.0 for x32.
18563 * sysdeps/unix/sysv/linux/configure: Regenerated.
18564
18565 2013-11-13 Joseph Myers <joseph@codesourcery.com>
18566
18567 [BZ #16151]
18568 * stdlib/strtod_l.c (round_and_return): Do not consider
18569 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
18570 exponent one less than half the least subnormal exponent.
18571 * stdlib/test-strtod-round-data: Add more tests.
18572 * stdlib/tst-strtod-round.c (tests): Regenerated.
18573
18574 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18575
18576 [BZ #14143]
18577 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
18578 (__fe_mask_env): Likewise.
18579 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
18580 libm_hidden_proto and add function prototype.
18581 (__fe_mask_env): Add function prototype.
18582 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
18583 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
18584 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
18585 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
18586 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
18587 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
18588
18589 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
18590
18591 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
18592 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
18593
18594 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
18595
18596 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
18597 of htab_find_slot().
18598
18599 2013-11-11 David S. Miller <davem@davemloft.net>
18600
18601 [BZ #16150]
18602 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
18603 symbol in the non-vis3 case in static builds.
18604 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
18605 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
18606 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
18607 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
18608
18609 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
18610
18611 [BZ #387]
18612 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
18613 it is empty.
18614
18615 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18616
18617 * benchtests/Makefile: Add bench-strtod.
18618 * benchtests/bench-strtod.c: New file: strtod benchtest
18619
18620 2013-11-11 Andreas Schwab <schwab@suse.de>
18621
18622 [BZ #16153]
18623 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
18624 terminating NUL in key length.
18625
18626 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18627
18628 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
18629 Add artificial ODP entry for vDSO symbol for PPC64.
18630 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
18631 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
18632
18633 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
18634
18635 [BZ #15374]
18636 * nss/getent.c (services_keys): Recognize services starting with digit.
18637
18638 2013-11-06 David S. Miller <davem@davemloft.net>
18639
18640 [BZ #15985]
18641 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
18642 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
18643
18644 2013-11-06 Will Newton <will.newton@linaro.org>
18645
18646 * manual/memory.texi (Malloc Examples): Remove register
18647 keyword from examples.
18648
18649 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
18650
18651 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
18652
18653 2013-11-04 Joseph Myers <joseph@codesourcery.com>
18654
18655 [BZ #6981]
18656 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
18657 depending on [__GCC_IEC_559 > 0].
18658 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
18659 depending on [__GCC_IEC_559_COMPLEX > 0].
18660
18661 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
18662
18663 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
18664 to iso-639.def.
18665
18666 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
18667
18668 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
18669
18670 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
18671
18672 [BZ #16112]
18673 * malloc/malloc (malloc_info): Do not handle first bin as
18674 special case.
18675
18676 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
18677
18678 * locale/iso-639.def: Add Central Nahuatl (nhn).
18679
18680 2013-11-01 Bruno Haible <bruno@clisp.org>
18681
18682 [BZ #7003]
18683 * manual/math.texi (BSD Random): Specify range upper bound as
18684 in POSIX.
18685
18686 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
18687
18688 * locale/iso-639.def: Add Meadow Mari (mhr).
18689
18690 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
18691
18692 [BZ #14752], [BZ #15763]
18693 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
18694 Validate name.
18695 * rt/tst_shm.c: Add test for escaping directory.
18696
18697 2013-10-31 Andreas Schwab <schwab@suse.de>
18698
18699 [BZ #15917]
18700 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
18701 followed by 'x' as part of digit sequence.
18702 * stdio-common/tst-sscanf.c (double_tests2): New tests.
18703
18704 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
18705
18706 [BZ #16037]
18707 * configure.ac: allow GNU Make 4.0 and greater.
18708 * configure: Regenerated.
18709
18710 2013-10-30 Will Newton <will.newton@linaro.org>
18711
18712 [BZ #16038]
18713 * malloc/hooks.c (memalign_check): Limit alignment to the
18714 maximum representable power of two.
18715 * malloc/malloc.c (__libc_memalign): Likewise.
18716 * malloc/tst-memalign.c (do_test): Add test for very
18717 large alignment values.
18718 * malloc/tst-posix_memalign.c (do_test): Likewise.
18719
18720 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
18721
18722 [BZ #11087]
18723 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
18724 (munmap_chunk): Likewise.
18725 (mremap_chunk): Likewise.
18726
18727 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
18728
18729 [BZ #15799]
18730 * stdlib/div.c (div): Remove obsolete code.
18731 * stdlib/ldiv.c (ldiv): Likewise.
18732 * stdlib/lldiv.c (lldiv): Likewise.
18733
18734 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
18735
18736 [BZ #16071]
18737 * nss/nss_files/files-XXX.c (get_contents_ret): New
18738 enumerator.
18739 (get_contents): New function.
18740 (internal_getent): Use it. Expand size of LINEBUFLEN.
18741
18742 2013-10-30 Mike Frysinger <vapier@gentoo.org>
18743
18744 * configure.in: Moved to ...
18745 * configure.ac: ... here. Change reference to configure.in
18746 to configure.ac.
18747 * sysdeps/arm/preconfigure.ac: ... here.
18748 configure.in to configure.ac.
18749 * sysdeps/gnu/configure.in: Moved to ...
18750 * sysdeps/gnu/configure.ac: ... here.
18751 * sysdeps/i386/configure.in: Moved to ...
18752 * sysdeps/i386/configure.ac: ... here.
18753 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
18754 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
18755 * sysdeps/mach/configure.in: Moved to ...
18756 * sysdeps/mach/configure.ac: ... here.
18757 * sysdeps/mach/hurd/configure.in: Moved to ...
18758 * sysdeps/mach/hurd/configure.ac: ... here.
18759 * sysdeps/powerpc/configure.in: Moved to ...
18760 * sysdeps/powerpc/configure.ac: ... here.
18761 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
18762 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
18763 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
18764 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
18765 * sysdeps/s390/s390-32/configure.in: Moved to ...
18766 * sysdeps/s390/s390-32/configure.ac: ... here.
18767 * sysdeps/s390/s390-64/configure.in: Moved to ...
18768 * sysdeps/s390/s390-64/configure.ac: ... here.
18769 * sysdeps/sh/configure.in: Moved to ...
18770 * sysdeps/sh/configure.ac: ... here.
18771 * sysdeps/sparc/configure.in: Moved to ...
18772 * sysdeps/sparc/configure.ac: ... here.
18773 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
18774 * sysdeps/unix/sysv/linux/configure.ac: ... here.
18775 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
18776 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
18777 * sysdeps/x86_64/configure.in: Moved to ...
18778 * sysdeps/x86_64/configure.ac: ... here.
18779 * sysdeps/x86_64/preconfigure.in: Moved to ...
18780 * sysdeps/x86_64/preconfigure.ac: ... here.
18781 * aclocal.m4: Change reference to configure.in to configure.ac.
18782 * config.h.in: Likewise.
18783 * manual/install.texi: Likewise.
18784 * manual/maint.texi: Likewise.
18785 * Makefile: Likewise.
18786 * malloc/Makefile: Likewise.
18787 * nscd/Makefile: Likewise.
18788 * Makeconfig: Change reference to configure.in and
18789 preconfigure.in to configure.ac and preconfigure.ac
18790 respectively.
18791 * INSTALL: Regenerated.
18792 * configure: Likewise.
18793 * sysdeps/gnu/configure: Likewise.
18794 * sysdeps/i386/configure: Likewise.
18795 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
18796 * sysdeps/mach/configure: Likewise.
18797 * sysdeps/mach/hurd/configure: Likewise.
18798 * sysdeps/powerpc/configure: Likewise.
18799 * sysdeps/powerpc/powerpc32/configure: Likewise.
18800 * sysdeps/powerpc/powerpc64/configure: Likewise.
18801 * sysdeps/s390/s390-32/configure: Likewise.
18802 * sysdeps/s390/s390-64/configure: Likewise.
18803 * sysdeps/sh/configure: Likewise.
18804 * sysdeps/sparc/configure: Likewise.
18805 * sysdeps/unix/sysv/linux/configure: Likewise.
18806 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
18807 * sysdeps/x86_64/configure: Likewise.
18808 * sysdeps/x86_64/preconfigure: Likewise.
18809
18810 2013-10-29 Andreas Schwab <schwab@suse.de>
18811
18812 * stdio-common/Makefile (tst-swscanf-ENV): Define.
18813
18814 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
18815
18816 * benchtests/pow-inputs: Add new inputs.
18817
18818 * benchtests/exp-inputs: Add new inputs.
18819
18820 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
18821 conditional check for return value.
18822 (__cos32): Likewise.
18823
18824 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18825
18826 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
18827 to provide a boost for large inputs with word alignment.
18828 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
18829 implementation based on optimized PPC64 strcpy.
18830 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
18831 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
18832 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
18833 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
18834
18835 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
18836
18837 [BZ #2801]
18838 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
18839
18840 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
18841
18842 [BZ #14876]
18843 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
18844 * time/tst-strptime.c (day_tests): Add testcase.
18845
18846 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
18847
18848 [BZ #14029]
18849 * manual/pattern.texi: Acknowledge that fnmatch can fail.
18850
18851 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
18852
18853 [BZ #16074]
18854 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
18855 MAP_FAILED on error.
18856
18857 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
18858
18859 [BZ #16072]
18860 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
18861 heap for large requests.
18862
18863 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
18864
18865 [BZ #9954]
18866 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
18867 result if the result has no associated interface.
18868 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
18869 interface for all 127.X.Y.Z addresses.
18870
18871 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
18872
18873 * locale/iso-639.def: Add Ligurian (lij)
18874
18875 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
18876
18877 [BZ #15825]
18878 * sunrpc/rpc_main.c: Document rpcgen -5.
18879
18880 2013-10-19 Michael Stahl <mstahl@redhat.com>
18881
18882 * elf/rtld.c (do_preload): Print the reason why preloading failed.
18883
18884 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
18885
18886 [BZ #10278]
18887 * posix/glob.c: Match only directories when trailing slash is present.
18888 * posix/tst-gnuglob.c (my_opendir): Do not open files.
18889 (main): Add testcase.
18890
18891 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
18892
18893 [BZ #15670]
18894 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
18895
18896 2013-10-18 Carlos O'Donell <carlos@redhat.com>
18897
18898 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
18899 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
18900 AUTH_DES and cindex for FIPS 140-2.
18901 (DES Encryption): Add cindex FIPS 46-3.
18902
18903 * locale/locarchive.h (struct locarhandle): Add fname.
18904 * locale/programs/localedef.c (main): Pass ARGV[remaining]
18905 if an optional argument was specified to --list-archive,
18906 otherwise NULL.
18907 * locale/programs/locarchive.c (show_archive_content): Take new
18908 argument fname and pass it via ah.fname to open_archive.
18909 * locale/programs/localedef.h: Update decl.
18910 (open_archive): If AH->fname is non-null, open that file
18911 rather than the default file name, and don't ignore ENOENT.
18912 (create_archive): Set AH.fname to NULL.
18913 (delete_locales_from_archive): Likewise.
18914 (add_locales_to_archive): Likewise.
18915 * locale/programs/locfile.c (write_all_categories): Likewise.
18916
18917 2013-10-18 Joseph Myers <joseph@codesourcery.com>
18918 Aldy Hernandez <aldyh@redhat.com>
18919
18920 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
18921 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
18922 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
18923 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
18924 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
18925 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
18926 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
18927 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
18928 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
18929 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
18930 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
18931 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
18932 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
18933 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
18934 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
18935 Likewise.
18936 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
18937 Likewise.
18938 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
18939 Likewise.
18940 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
18941 Likewise.
18942 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
18943 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
18944 Likewise.
18945 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
18946 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
18947 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
18948 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
18949 Likewise.
18950 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
18951 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
18952 * sysdeps/powerpc/preconfigure: Likewise.
18953 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
18954 Likewise.
18955 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
18956 Replace contents of file by #include of <fenv_libc.h>.
18957 * sysdeps/powerpc/soft-fp/sfp-machine.h
18958 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
18959 and <sys/prctl.h>.
18960 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
18961 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
18962 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
18963 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
18964 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
18965 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
18966 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
18967 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
18968 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
18969 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
18970 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
18971 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
18972 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
18973 Allow copysignl PLT reference to be missing.
18974
18975 2013-10-18 Richard Sandiford <richard@codesourcery.com>
18976 Joseph Myers <joseph@codesourcery.com
18977
18978 [BZ #15948]
18979 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
18980 single character.
18981 (add_to_tablewc): Assert sequence of wide characters is nonempty.
18982
18983 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
18984
18985 * elf/tst-tls-dlinfo.c: Don't include tls.h.
18986 * elf/tst-tls1.c: Likewise.
18987 * elf/tst-tls10.h: Likewise.
18988 * elf/tst-tls14.c: Likewise.
18989 * elf/tst-tls2.c: Likewise.
18990 * elf/tst-tls3.c: Likewise.
18991 * elf/tst-tls4.c: Likewise.
18992 * elf/tst-tls5.c: Likewise.
18993 * elf/tst-tls6.c: Likewise.
18994 * elf/tst-tls7.c: Likewise.
18995 * elf/tst-tls8.c: Likewise.
18996 * elf/tst-tls9.c: Likewise.
18997 * elf/tst-tlsmod1.c: Likewise.
18998 * elf/tst-tlsmod13.c: Likewise.
18999 * elf/tst-tlsmod13a.c: Likewise.
19000 * elf/tst-tlsmod14a.c: Likewise.
19001 * elf/tst-tlsmod16a.c: Likewise.
19002 * elf/tst-tlsmod16b.c: Likewise.
19003 * elf/tst-tlsmod2.c: Likewise.
19004 * elf/tst-tlsmod3.c: Likewise.
19005 * elf/tst-tlsmod4.c: Likewise.
19006 * elf/tst-tlsmod5.c: Likewise.
19007 * elf/tst-tlsmod6.c: Likewise.
19008
19009 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
19010
19011 [BZ #12486]
19012 * malloc/malloc.c: remove checks for statistics.
19013
19014 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
19015
19016 [BZ #15277]
19017 * inet/inet_net.c (inet_network): Detect additional invalid strings.
19018 * inet/tst-network.c: Add testcase.
19019
19020 2013-10-17 Andreas Schwab <schwab@suse.de>
19021
19022 [BZ #15218]
19023 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
19024 to determine canonical name.
19025
19026 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
19027
19028 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
19029 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
19030 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
19031 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
19032 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
19033 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
19034 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
19035 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
19036 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
19037 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
19038 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
19039 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
19040 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
19041 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
19042 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
19043 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
19044 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
19045 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
19046 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
19047 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
19048 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
19049 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
19050 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
19051 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
19052 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
19053 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
19054 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
19055 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
19056 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
19057 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
19058 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
19059 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
19060 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
19061 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
19062 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
19063 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
19064 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
19065 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
19066 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
19067 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
19068 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
19069 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
19070 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
19071 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
19072 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
19073 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
19074 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
19075 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
19076 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
19077 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
19078 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
19079 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
19080 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
19081 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
19082 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
19083 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
19084 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
19085 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
19086
19087 2013-10-17 Joseph Myers <joseph@codesourcery.com>
19088
19089 [BZ #16041]
19090 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
19091 make result into a quiet NaN.
19092
19093 2013-10-16 Joseph Myers <joseph@codesourcery.com>
19094
19095 * soft-fp/adddf3.c: Fix horizontal whitespace.
19096 * soft-fp/addsf3.c: Likewise.
19097 * soft-fp/addtf3.c: Likewise.
19098 * soft-fp/divdf3.c: Likewise.
19099 * soft-fp/divsf3.c: Likewise.
19100 * soft-fp/divtf3.c: Likewise.
19101 * soft-fp/double.h: Likewise.
19102 * soft-fp/eqdf2.c: Likewise.
19103 * soft-fp/eqsf2.c: Likewise.
19104 * soft-fp/eqtf2.c: Likewise.
19105 * soft-fp/extenddftf2.c: Likewise.
19106 * soft-fp/extended.h: Likewise.
19107 * soft-fp/extendsfdf2.c: Likewise.
19108 * soft-fp/extendsftf2.c: Likewise.
19109 * soft-fp/extendxftf2.c: Likewise.
19110 * soft-fp/fixdfdi.c: Likewise.
19111 * soft-fp/fixdfsi.c: Likewise.
19112 * soft-fp/fixdfti.c: Likewise.
19113 * soft-fp/fixsfdi.c: Likewise.
19114 * soft-fp/fixsfsi.c: Likewise.
19115 * soft-fp/fixsfti.c: Likewise.
19116 * soft-fp/fixtfdi.c: Likewise.
19117 * soft-fp/fixtfsi.c: Likewise.
19118 * soft-fp/fixtfti.c: Likewise.
19119 * soft-fp/fixunsdfdi.c: Likewise.
19120 * soft-fp/fixunsdfsi.c: Likewise.
19121 * soft-fp/fixunsdfti.c: Likewise.
19122 * soft-fp/fixunssfdi.c: Likewise.
19123 * soft-fp/fixunssfsi.c: Likewise.
19124 * soft-fp/fixunssfti.c: Likewise.
19125 * soft-fp/fixunstfdi.c: Likewise.
19126 * soft-fp/fixunstfsi.c: Likewise.
19127 * soft-fp/fixunstfti.c: Likewise.
19128 * soft-fp/floatdidf.c: Likewise.
19129 * soft-fp/floatdisf.c: Likewise.
19130 * soft-fp/floatditf.c: Likewise.
19131 * soft-fp/floatsidf.c: Likewise.
19132 * soft-fp/floatsisf.c: Likewise.
19133 * soft-fp/floatsitf.c: Likewise.
19134 * soft-fp/floattidf.c: Likewise.
19135 * soft-fp/floattisf.c: Likewise.
19136 * soft-fp/floattitf.c: Likewise.
19137 * soft-fp/floatundidf.c: Likewise.
19138 * soft-fp/floatundisf.c: Likewise.
19139 * soft-fp/floatunditf.c: Likewise.
19140 * soft-fp/floatunsidf.c: Likewise.
19141 * soft-fp/floatunsisf.c: Likewise.
19142 * soft-fp/floatunsitf.c: Likewise.
19143 * soft-fp/floatuntidf.c: Likewise.
19144 * soft-fp/floatuntisf.c: Likewise.
19145 * soft-fp/floatuntitf.c: Likewise.
19146 * soft-fp/fmadf4.c: Likewise.
19147 * soft-fp/fmasf4.c: Likewise.
19148 * soft-fp/fmatf4.c: Likewise.
19149 * soft-fp/gedf2.c: Likewise.
19150 * soft-fp/gesf2.c: Likewise.
19151 * soft-fp/getf2.c: Likewise.
19152 * soft-fp/ledf2.c: Likewise.
19153 * soft-fp/lesf2.c: Likewise.
19154 * soft-fp/letf2.c: Likewise.
19155 * soft-fp/muldf3.c: Likewise.
19156 * soft-fp/mulsf3.c: Likewise.
19157 * soft-fp/multf3.c: Likewise.
19158 * soft-fp/negdf2.c: Likewise.
19159 * soft-fp/negsf2.c: Likewise.
19160 * soft-fp/negtf2.c: Likewise.
19161 * soft-fp/op-1.h: Likewise.
19162 * soft-fp/op-2.h: Likewise.
19163 * soft-fp/op-4.h: Likewise.
19164 * soft-fp/op-8.h: Likewise.
19165 * soft-fp/op-common.h: Likewise.
19166 * soft-fp/quad.h: Likewise.
19167 * soft-fp/single.h: Likewise.
19168 * soft-fp/soft-fp.h: Likewise.
19169 * soft-fp/sqrtdf2.c: Likewise.
19170 * soft-fp/sqrtsf2.c: Likewise.
19171 * soft-fp/sqrttf2.c: Likewise.
19172 * soft-fp/subdf3.c: Likewise.
19173 * soft-fp/subsf3.c: Likewise.
19174 * soft-fp/subtf3.c: Likewise.
19175 * soft-fp/truncdfsf2.c: Likewise.
19176 * soft-fp/trunctfdf2.c: Likewise.
19177 * soft-fp/trunctfsf2.c: Likewise.
19178 * soft-fp/trunctfxf2.c: Likewise.
19179 * soft-fp/unorddf2.c: Likewise.
19180 * soft-fp/unordsf2.c: Likewise.
19181 * soft-fp/unordtf2.c: Likewise.
19182
19183 2013-10-15 Joseph Myers <joseph@codesourcery.com>
19184
19185 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
19186 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
19187
19188 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
19189
19190 * elf/dl-libc.c: Clear initfini list after freeing.
19191
19192 2013-10-14 Joseph Myers <joseph@codesourcery.com>
19193
19194 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
19195 * soft-fp/addsf3.c: Likewise.
19196 * soft-fp/addtf3.c: Likewise.
19197 * soft-fp/divdf3.c: Likewise.
19198 * soft-fp/divsf3.c: Likewise.
19199 * soft-fp/divtf3.c: Likewise.
19200 * soft-fp/double.h: Likewise.
19201 * soft-fp/eqdf2.c: Likewise.
19202 * soft-fp/eqsf2.c: Likewise.
19203 * soft-fp/eqtf2.c: Likewise.
19204 * soft-fp/extenddftf2.c: Likewise.
19205 * soft-fp/extended.h: Likewise.
19206 * soft-fp/extendsfdf2.c: Likewise.
19207 * soft-fp/extendsftf2.c: Likewise.
19208 * soft-fp/extendxftf2.c: Likewise.
19209 * soft-fp/fixdfdi.c: Likewise.
19210 * soft-fp/fixdfsi.c: Likewise.
19211 * soft-fp/fixdfti.c: Likewise.
19212 * soft-fp/fixsfdi.c: Likewise.
19213 * soft-fp/fixsfsi.c: Likewise.
19214 * soft-fp/fixsfti.c: Likewise.
19215 * soft-fp/fixtfdi.c: Likewise.
19216 * soft-fp/fixtfsi.c: Likewise.
19217 * soft-fp/fixtfti.c: Likewise.
19218 * soft-fp/fixunsdfdi.c: Likewise.
19219 * soft-fp/fixunsdfsi.c: Likewise.
19220 * soft-fp/fixunsdfti.c: Likewise.
19221 * soft-fp/fixunssfdi.c: Likewise.
19222 * soft-fp/fixunssfsi.c: Likewise.
19223 * soft-fp/fixunssfti.c: Likewise.
19224 * soft-fp/fixunstfdi.c: Likewise.
19225 * soft-fp/fixunstfsi.c: Likewise.
19226 * soft-fp/fixunstfti.c: Likewise.
19227 * soft-fp/floatdidf.c: Likewise.
19228 * soft-fp/floatdisf.c: Likewise.
19229 * soft-fp/floatditf.c: Likewise.
19230 * soft-fp/floatsidf.c: Likewise.
19231 * soft-fp/floatsisf.c: Likewise.
19232 * soft-fp/floatsitf.c: Likewise.
19233 * soft-fp/floattidf.c: Likewise.
19234 * soft-fp/floattisf.c: Likewise.
19235 * soft-fp/floattitf.c: Likewise.
19236 * soft-fp/floatundidf.c: Likewise.
19237 * soft-fp/floatundisf.c: Likewise.
19238 * soft-fp/floatunsidf.c: Likewise.
19239 * soft-fp/floatunsisf.c: Likewise.
19240 * soft-fp/floatuntidf.c: Likewise.
19241 * soft-fp/floatuntisf.c: Likewise.
19242 * soft-fp/floatuntitf.c: Likewise.
19243 * soft-fp/fmadf4.c: Likewise.
19244 * soft-fp/fmasf4.c: Likewise.
19245 * soft-fp/fmatf4.c: Likewise.
19246 * soft-fp/gedf2.c: Likewise.
19247 * soft-fp/gesf2.c: Likewise.
19248 * soft-fp/getf2.c: Likewise.
19249 * soft-fp/ledf2.c: Likewise.
19250 * soft-fp/lesf2.c: Likewise.
19251 * soft-fp/letf2.c: Likewise.
19252 * soft-fp/muldf3.c: Likewise.
19253 * soft-fp/mulsf3.c: Likewise.
19254 * soft-fp/multf3.c: Likewise.
19255 * soft-fp/negdf2.c: Likewise.
19256 * soft-fp/negsf2.c: Likewise.
19257 * soft-fp/negtf2.c: Likewise.
19258 * soft-fp/op-1.h: Likewise.
19259 * soft-fp/op-2.h: Likewise.
19260 * soft-fp/op-4.h: Likewise.
19261 * soft-fp/op-8.h: Likewise.
19262 * soft-fp/op-common.h: Likewise.
19263 * soft-fp/quad.h: Likewise.
19264 * soft-fp/single.h: Likewise.
19265 * soft-fp/soft-fp.h: Likewise.
19266 * soft-fp/sqrtdf2.c: Likewise.
19267 * soft-fp/sqrtsf2.c: Likewise.
19268 * soft-fp/sqrttf2.c: Likewise.
19269 * soft-fp/subdf3.c: Likewise.
19270 * soft-fp/subsf3.c: Likewise.
19271 * soft-fp/subtf3.c: Likewise.
19272 * soft-fp/truncdfsf2.c: Likewise.
19273 * soft-fp/trunctfdf2.c: Likewise.
19274 * soft-fp/trunctfsf2.c: Likewise.
19275 * soft-fp/trunctfxf2.c: Likewise.
19276 * soft-fp/unorddf2.c: Likewise.
19277 * soft-fp/unordsf2.c: Likewise.
19278 * soft-fp/unordtf2.c: Likewise.
19279
19280 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
19281
19282 [BZ #15672]
19283 * misc/error.c (error_tail): Fix possible buffer overflow.
19284
19285 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
19286
19287 [BZ #13028]
19288 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
19289 address.
19290
19291 2013-10-14 P. J. McDermott <pj@pehjota.net>
19292
19293 [BZ #832]
19294 * elf/ldd.bash.in (try_trace): New function. Delete previous code
19295 testing pipefail option.
19296
19297 2013-10-12 Joseph Myers <joseph@codesourcery.com>
19298
19299 * soft-fp/double.h: Indent preprocessor directives inside #if.
19300 * soft-fp/extended.h: Likewise.
19301 * soft-fp/op-2.h: Likewise.
19302 * soft-fp/op-4.h: Likewise.
19303 * soft-fp/op-common.h: Likewise.
19304 * soft-fp/quad.h: Likewise.
19305 * soft-fp/single.h: Likewise.
19306 * soft-fp/soft-fp.h: Likewise.
19307
19308 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
19309
19310 * iconv/iconv_prog.c: Fix typos.
19311 * stdio-common/psiginfo-data.h: Likewise.
19312
19313 2013-10-12 Reuben Thomas <rrt@sc3d.org>
19314
19315 [BZ #15764]
19316 * locale/setlocale.c: Fix typo.
19317
19318 2013-10-12 Joseph Myers <joseph@codesourcery.com>
19319
19320 [BZ #16036]
19321 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
19322 signaling NaN arguments.
19323 * soft-fp/unordsf2.c (__unordsf2): Likewise.
19324 * soft-fp/unordtf2.c (__unordtf2): Likewise.
19325
19326 [BZ #14910]
19327 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
19328 unordered operands.
19329 * soft-fp/gesf2.c (__gesf2): Likewise.
19330 * soft-fp/getf2.c (__getf2): Likewise.
19331 * soft-fp/ledf2.c (__ledf2): Likewise.
19332 * soft-fp/lesf2.c (__lesf2): Likewise.
19333 * soft-fp/letf2.c (__letf2): Likewise.
19334
19335 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
19336 * soft-fp/eqsf2.c (__eqsf2): Likewise.
19337 * soft-fp/eqtf2.c (__eqtf2): Likewise.
19338 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
19339 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
19340 * soft-fp/fixdfti.c (__fixdfti): Likewise.
19341 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
19342 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
19343 * soft-fp/fixsfti.c (__fixsfti): Likewise.
19344 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
19345 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
19346 * soft-fp/fixtfti.c (__fixtfti): Likewise.
19347 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
19348 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
19349 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
19350 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
19351 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
19352 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
19353 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
19354 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
19355 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
19356 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
19357 * soft-fp/floatdisf.c (__floatdisf): Likewise.
19358 * soft-fp/floatsisf.c (__floatsisf): Likewise.
19359 * soft-fp/floattidf.c (__floattidf): Likewise.
19360 * soft-fp/floattisf.c (__floattisf): Likewise.
19361 * soft-fp/floattitf.c (__floattitf): Likewise.
19362 * soft-fp/floatundidf.c (__floatundidf): Likewise.
19363 * soft-fp/floatundisf.c (__floatundisf): Likewise.
19364 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
19365 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
19366 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
19367 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
19368 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
19369 * soft-fp/gesf2.c (__gesf2): Likewise.
19370 * soft-fp/getf2.c (__getf2): Likewise.
19371 * soft-fp/ledf2.c (__ledf2): Likewise.
19372 * soft-fp/lesf2.c (__lesf2): Likewise.
19373 * soft-fp/letf2.c (__letf2): Likewise.
19374
19375 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
19376 Undefine and redefine.
19377 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
19378 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
19379 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
19380 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
19381 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
19382 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
19383 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
19384 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
19385 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
19386 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
19387 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
19388 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
19389 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
19390 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
19391 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
19392
19393 [BZ #16032]
19394 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
19395 without decrementing exponent if mantissa >= that for the
19396 denominator, not >.
19397 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
19398 denominator, not >. Decrement exponent in < case instead of
19399 incrementing in >= case.
19400 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
19401 without decrementing exponent if mantissa >= that for the
19402 denominator, not >.
19403
19404 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
19405 computing saturated result for unsigned overflow.
19406
19407 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
19408 Jeff Law <law@redhat.com>
19409
19410 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
19411 (atan2Mp): Add systemtap probe marker.
19412 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
19413 (__ieee754_log): Add systemtap probe marker.
19414 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
19415 (atanMp): Add systemtap probe marker.
19416 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
19417 (tanMp): Add systemtap probe marker.
19418 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
19419 (__slowexp): Add systemtap probe marker.
19420 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
19421 (__slowpow): Add systemtap probe marker.
19422 * manual/probes.texi: Document probes.
19423
19424 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
19425
19426 [BZ #15362]
19427 * libio/fileops.c (_IO_new_file_write): Return count of bytes
19428 written.
19429 (_IO_new_file_xsputn): Don't return EOF if nothing has been
19430 written.
19431 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
19432 written to buffer but not flushed.
19433 * libio/iofwrite_u.c: Likewise.
19434 * libio/iopadn.c: Return bytes returned even if EOF was
19435 encountered.
19436 * libio/iowpadn.c: Likewise.
19437 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
19438 if _IO_padn does not write the whole buffer.
19439 [!COMPILE_WPRINTF] (PAD): Likewise.
19440
19441 2013-10-10 David S. Miller <davem@davemloft.net>
19442
19443 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
19444 directory block.
19445
19446 2013-10-10 Joseph Myers <joseph@codesourcery.com>
19447
19448 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
19449 instead of FSF address.
19450 * soft-fp/fixdfti.c: Likewise.
19451 * soft-fp/fixsfti.c: Likewise.
19452 * soft-fp/fixtfti.c: Likewise.
19453 * soft-fp/fixunsdfti.c: Likewise.
19454 * soft-fp/fixunssfti.c: Likewise.
19455 * soft-fp/fixunstfti.c: Likewise.
19456 * soft-fp/floattidf.c: Likewise.
19457 * soft-fp/floattisf.c: Likewise.
19458 * soft-fp/floattitf.c: Likewise.
19459 * soft-fp/floatuntidf.c: Likewise.
19460 * soft-fp/floatuntisf.c: Likewise.
19461 * soft-fp/floatuntitf.c: Likewise.
19462 * soft-fp/trunctfxf2.c: Likewise.
19463
19464 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
19465 * soft-fp/fixdfti.c: Likewise.
19466 * soft-fp/fixsfti.c: Likewise.
19467 * soft-fp/fixtfti.c: Likewise.
19468 * soft-fp/fixunsdfti.c: Likewise.
19469 * soft-fp/fixunssfti.c: Likewise.
19470 * soft-fp/fixunstfti.c: Likewise.
19471 * soft-fp/floattidf.c: Likewise.
19472 * soft-fp/floattisf.c: Likewise.
19473 * soft-fp/floattitf.c: Likewise.
19474 * soft-fp/floatuntidf.c: Likewise.
19475 * soft-fp/floatuntisf.c: Likewise.
19476 * soft-fp/floatuntitf.c: Likewise.
19477 * soft-fp/trunctfxf2.c: Likewise.
19478
19479 2013-10-10 David S. Miller <davem@davemloft.net>
19480
19481 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19482
19483 2013-10-10 Joseph Myers <joseph@codsourcery.com>
19484
19485 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
19486 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
19487 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
19488 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
19489 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
19490 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
19491 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
19492
19493 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
19494 for NaNs before doing comparisons on argument.
19495 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
19496 Likewise.
19497
19498 2013-10-10 Will Newton <will.newton@linaro.org>
19499
19500 * malloc/hooks.c (memalign_check): Ensure the value of bytes
19501 passed to _int_memalign does not overflow.
19502
19503 2013-10-10 Torvald Riegel <triegel@redhat.com>
19504
19505 * scripts/bench.pl: Add include-sources directive.
19506 * benchtests/README: Update documentation.
19507
19508 2013-10-10 Joseph Myers <joseph@codesourcery.com>
19509
19510 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
19511 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
19512 instead of FP_INIT_ROUNDMODE.
19513 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
19514 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
19515
19516 [BZ #16034]
19517 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
19518 copy class of input value.
19519 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
19520 not handle exceptions.
19521 * soft-fp/negsf2.c (__negsf2): Likewise.
19522 * soft-fp/negtf2.c (__negtf2): Likewise.
19523 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
19524
19525 2013-10-09 Joseph Myers <joseph@codesourcery.com>
19526
19527 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
19528 semicolon. From Linux kernel.
19529
19530 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
19531
19532 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
19533
19534 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
19535
19536 [BZ #156]
19537 * manual/socket.texi: Added statement about buffer
19538 for gethostbyname2_r.
19539
19540 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
19541
19542 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
19543 Use .p2align directive instead, throughout.
19544 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
19545 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
19546 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
19547 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
19548 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
19549 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
19550 * sysdeps/x86_64/strchr.S: Likewise.
19551 * sysdeps/x86_64/strrchr.S: Likewise.
19552
19553 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
19554
19555 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
19556
19557 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
19558
19559 * sysdeps/generic/math_private.h (__mpsin1): Remove
19560 declaration.
19561 (__mpcos1): Likewise.
19562 (__mpsin): New argument __range_reduce.
19563 (__mpcos): Likewise.
19564 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
19565 (slow): Use __mpsin and __mpcos.
19566 (slow1): Likewise.
19567 (slow2): Likewise.
19568 (sloww): Likewise.
19569 (sloww1): Likewise.
19570 (sloww2): Likewise.
19571 (bsloww): Likewise.
19572 (bsloww1): Likewise.
19573 (bsloww2): Likewise.
19574 (cslow2): Likewise.
19575 (csloww): Likewise.
19576 (csloww1): Likewise.
19577 (csloww2): Likewise.
19578 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
19579 range_reduce. Merge in __mpsin1.
19580 (__mpcos): Likewise.
19581 (__mpsin1): Remove.
19582 (__mpcos1): Likewise.
19583
19584 2013-10-07 Joseph Myers <joseph@codesourcery.com>
19585
19586 * locale/loadlocale.c (_nl_intern_locale_data): Use
19587 LOCFILE_ALIGNED_P.
19588 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
19589 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
19590 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
19591 obstack data is appropriately aligned.
19592 (obstack_int32_grow_fast): Likewise.
19593 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
19594 * locale/programs/locfile.c (add_locale_uint32): Likewise.
19595 (add_locale_uint32_array): Likewise.
19596
19597 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
19598
19599 * benchtests/Makefile: Remove ARGLIST and RET variables.
19600 ($(objpfx)bench-%.c): Pass only function name to the script.
19601 * benchtests/README: Update documentation.
19602 * benchtests/acos-inputs: Add new directives.
19603 * benchtests/acosh-inputs: Likewise.
19604 * benchtests/asin-inputs: Likewise.
19605 * benchtests/asinh-inputs: Likewise.
19606 * benchtests/atan-inputs: Likewise.
19607 * benchtests/atanh-inputs: Likewise.
19608 * benchtests/cos-inputs: Likewise.
19609 * benchtests/cosh-inputs: Likewise.
19610 * benchtests/exp-inputs: Likewise.
19611 * benchtests/log-inputs: Likewise.
19612 * benchtests/pow-inputs: Likewise.
19613 * benchtests/rint-inputs: Likewise.
19614 * benchtests/sin-inputs: Likewise.
19615 * benchtests/sinh-inputs: Likewise.
19616 * benchtests/tan-inputs: Likewise.
19617 * benchtests/tanh-inputs: Likewise.
19618 * scripts/bench.pl: Add support for new directives.
19619
19620 2013-10-07 Alan Modra <amodra@gmail.com>
19621
19622 * README: Fix careless merge.
19623
19624 2013-10-05 Alan Modra <amodra@gmail.com>
19625
19626 * NEWS: Mention powerpc64le support and bugs fixed.
19627 * README: Both big-endian and little-endian powerpc64 supported.
19628
19629 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
19630
19631 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
19632 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
19633 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
19634 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
19635
19636 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
19637
19638 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
19639 match prototype.
19640
19641 2013-10-04 Joseph Myers <joseph@codesourcery.com>
19642
19643 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
19644 Move -mhard-float appending from
19645 ports/sysdeps/powerpc/powerpc32/Makefile.
19646 [$(with-fp) = yes] (ASFLAGS): Likewise.
19647 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
19648 * sysdeps/powerpc/nofpu: Move directory from
19649 ports/sysdeps/powerpc/nofpu.
19650 * sysdeps/powerpc/soft-fp: Move directory from
19651 ports/sysdeps/powerpc/soft-fp.
19652 * sysdeps/powerpc/powerpc32/405: Move directory from
19653 ports/sysdeps/powerpc/powerpc32/405.
19654 * sysdeps/powerpc/powerpc32/440: Move directory from
19655 ports/sysdeps/powerpc/powerpc32/440.
19656 * sysdeps/powerpc/powerpc32/464: Move directory from
19657 ports/sysdeps/powerpc/powerpc32/464.
19658 * sysdeps/powerpc/powerpc32/476: Move directory from
19659 ports/sysdeps/powerpc/powerpc32/476.
19660 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
19661 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
19662 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
19663 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
19664 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
19665 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
19666 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
19667 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
19668 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
19669 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
19670 * README: Update for powerpc-*-linux-gnu software floating point
19671 support in libc.
19672
19673 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
19674 case to powerpc/powerpc32*.
19675 * sysdeps/unix/sysv/linux/configure: Regenerated.
19676
19677 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
19678 (_FPU_MASK_OM): Define as 0x04.
19679 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
19680 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
19681 0x00c10080.
19682 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
19683 0x0000003c.
19684 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
19685
19686 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
19687 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
19688 getcontext_e500.
19689 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
19690 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
19691 setcontext_e500.
19692 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
19693 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
19694 and setcontext_e500.
19695
19696 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
19697
19698 * locale/iso-3166.def: Update iso-1366.def and related occurrences
19699
19700 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
19701
19702 * manual/threads.texi (Default Thread Attributes): Fix typo.
19703
19704 2013-10-04 Will Newton <will.newton@linaro.org>
19705
19706 * malloc/Makefile: Add tst-memalign.
19707 * malloc/tst-memalign.c: New file.
19708
19709 * malloc/tst-posix_memalign.c: Add comments.
19710 (do_test): Add comments and call free on all potentially
19711 allocated pointers. Add space after cast.
19712
19713 * malloc/tst-pvalloc.c: Add comments.
19714 (do_test): Add comments and call free on all potentially
19715 allocated pointers. Remove duplicate check for NULL pointer.
19716 Add space after cast.
19717
19718 * malloc/tst-valloc.c: Add comments.
19719 (do_test): Add comments and call free on all potentially
19720 allocated pointers. Remove duplicate check for NULL pointer.
19721 Add space after cast.
19722
19723 2013-10-04 Alan Modra <amodra@gmail.com>
19724
19725 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
19726 Use stdint types in rather than __attribute__((mode())).
19727 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
19728
19729 2013-10-04 Alan Modra <amodra@gmail.com>
19730
19731 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
19732 Correct handling of unaligned relocs for little-endian.
19733 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
19734
19735 2013-10-04 Alan Modra <amodra@gmail.com>
19736
19737 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
19738 * configure: Regenerate.
19739 * nptl/shlib-versions: Powerpc*le starts at 2.18.
19740 * shlib-versions: Likewise.
19741
19742 2013-10-04 Alan Modra <amodra@gmail.com>
19743
19744 * string/tester.c (test_memrchr): Increment reported test cycle.
19745
19746 2013-10-04 Alan Modra <amodra@gmail.com>
19747
19748 * string/test-memcpy.c (do_one_test): When reporting errors, print
19749 string address and don't overrun end of string.
19750
19751 2013-10-04 Alan Modra <amodra@gmail.com>
19752
19753 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
19754 insrdi. Make better use of reg selection to speed exit slightly.
19755 Schedule entry path a little better. Remove useless "are we done"
19756 checks on entry to main loop. Handle wrapping around zero address.
19757 Correct main loop count. Handle single left-over word from main
19758 loop inline rather than by using loop_small. Remove extra word
19759 case in loop_small caused by wrong loop count. Add little-endian
19760 support.
19761 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
19762 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
19763 cache hint.
19764 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
19765 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
19766 support. Avoid rlwimi.
19767 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
19768
19769 2013-10-04 Alan Modra <amodra@gmail.com>
19770
19771 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
19772 insrdi. Formatting.
19773 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
19774 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
19775 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
19776 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
19777 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
19778 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
19779
19780 2013-10-04 Alan Modra <amodra@gmail.com>
19781
19782 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
19783 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
19784 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
19785 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
19786 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
19787 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
19788 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
19789 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
19790 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
19791 use of regs. Use power7 mtocrf. Tidy function tails.
19792
19793 2013-10-04 Alan Modra <amodra@gmail.com>
19794
19795 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
19796 Formatting. Consistently use rXXX register defines or rN defines.
19797 Use early exit labels that avoid restoring unused non-volatile regs.
19798 Make cr field use more consistent with rWORDn compares. Rename
19799 regs used as shift registers for unaligned loop, using rN defines
19800 for short lifetime/multiple use regs.
19801 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
19802 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
19803 addi 1,1,64 to pop stack frame. Simplify return value code.
19804 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
19805
19806 2013-10-04 Alan Modra <amodra@gmail.com>
19807
19808 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
19809 support. Correct typos, formatting. Optimize tail. Use insrdi
19810 rather than rlwimi.
19811 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
19812 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
19813 little-endian support. Correct typos.
19814 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
19815 rather than rlwimi.
19816 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
19817 in loop and entry code to keep "and." results.
19818 (strchr): Add little-endian support. Comment. Move cntlzd
19819 earlier in tail.
19820 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
19821
19822 2013-10-04 Alan Modra <amodra@gmail.com>
19823
19824 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
19825 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
19826 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
19827 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
19828
19829 2013-10-04 Alan Modra <amodra@gmail.com>
19830
19831 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
19832 (rTMP): Define as r11.
19833 (strcmp): Add little-endian support. Optimise tail.
19834 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
19835 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
19836 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
19837 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
19838 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
19839 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
19840 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
19841
19842 2013-10-04 Alan Modra <amodra@gmail.com>
19843
19844 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
19845 little-endian support. Remove unnecessary "are we done" tests.
19846 Handle "s" wrapping around zero and extremely large "size".
19847 Correct main loop count. Handle single left-over word from main
19848 loop inline rather than by using small_loop. Correct comments.
19849 Delete "zero" tail, use "end_max" instead.
19850 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
19851
19852 2013-10-04 Alan Modra <amodra@gmail.com>
19853
19854 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
19855 support. Don't branch over align.
19856 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
19857 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
19858 support. Rearrange tmp reg use to suit. Comment.
19859 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
19860
19861 2013-10-04 Alan Modra <amodra@gmail.com>
19862
19863 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
19864
19865 2013-10-04 Alan Modra <amodra@gmail.com>
19866
19867 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
19868 conditional form of branch and link when obtaining pc.
19869 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
19870
19871 2013-10-04 Alan Modra <amodra@gmail.com>
19872
19873 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
19874 HIWORD/LOWORD.
19875 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
19876 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
19877
19878 2013-10-04 Alan Modra <amodra@gmail.com>
19879
19880 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
19881 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
19882 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
19883 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
19884 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
19885 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
19886 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
19887 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
19888 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
19889 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
19890
19891 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
19892 Alistair Popple <alistair@ozlabs.au.ibm.com>
19893 Alan Modra <amodra@gmail.com>
19894
19895 [BZ #15723]
19896 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
19897 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
19898 _dl_hwcap access for little-endian.
19899 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
19900 destroy vmx regs when saving unaligned.
19901 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
19902 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
19903 destroy vmx regs when saving unaligned.
19904
19905 2013-10-04 Alan Modra <amodra@gmail.com>
19906
19907 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
19908 Don't use a union to pack hi/low value.
19909
19910 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
19911
19912 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
19913 for little-endian.
19914 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
19915 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
19916 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
19917 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
19918 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
19919
19920 2013-10-04 Alan Modra <amodra@gmail.com>
19921
19922 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
19923 constants to usual value for .cst8 section, and remove redundant
19924 high address load.
19925 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
19926 constant for 0x1p52. Load little-endian words of double from
19927 correct stack offsets.
19928
19929 2013-10-04 Alan Modra <amodra@gmail.com>
19930
19931 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
19932 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
19933 words of double from correct stack offsets.
19934 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
19935 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
19936 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
19937 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
19938 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
19939 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
19940 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
19941 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
19942 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
19943 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
19944 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
19945 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
19946 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
19947 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
19948 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
19949 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
19950 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
19951
19952 2013-10-04 Alan Modra <amodra@gmail.com>
19953
19954 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
19955 64-bit int/double union.
19956 (_FPU_SETCW): Likewise.
19957 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
19958 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
19959
19960 2013-10-04 Alan Modra <amodra@gmail.com>
19961
19962 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
19963 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
19964
19965 2013-10-04 Alan Modra <amodra@gmail.com>
19966
19967 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
19968 use vector int constants.
19969 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
19970
19971 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
19972
19973 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
19974 array with long long.
19975 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
19976 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
19977 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
19978 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
19979 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
19980 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
19981 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
19982 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
19983 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
19984 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
19985 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
19986 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
19987 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
19988
19989 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
19990
19991 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
19992 (__signbit): Likewise. Correct for little-endian.
19993 (__signbitl): Call __signbit.
19994 (lrint): Correct for little-endian.
19995 (lrintf): Call lrint.
19996
19997 2013-10-04 Alan Modra <amodra@gmail.com>
19998
19999 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
20000 union 32-bit int array member with 64-bit int array.
20001 (t515, tm256): Double rather than long double.
20002 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
20003
20004 2013-10-04 Alan Modra <amodra@gmail.com>
20005
20006 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
20007 Delete.
20008 (IEEE854_LONG_DOUBLE_BIAS): Delete.
20009 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
20010 version of math_ldbl.h.
20011
20012 2013-10-04 Alan Modra <amodra@gmail.com>
20013
20014 [BZ #15734], [BZ #15735]
20015 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
20016 all uses of ieee875 long double macros and unions. Simplify test
20017 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
20018 ldbl_extract_mantissa value for ix,iy exponents. Properly
20019 normalize after ldbl_extract_mantissa, and don't add hidden bit
20020 already handled. Don't treat low word of ieee854 mantissa like
20021 low word of IBM long double and mask off bit when testing for
20022 zero.
20023 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
20024 all uses of ieee875 long double macros and unions. Simplify tests
20025 for 0.0L and inf. Correct double adjustment of k. Delete dead code
20026 adjusting ha,hb. Simplify code setting kld. Delete two600 and
20027 two1022, instead use their values. Recognise that tests for large
20028 "a" and small "b" are mutually exclusive. Rename vars. Comment.
20029 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
20030 Rewrite all uses of ieee875 long double macros and unions. Simplify
20031 test for 0.0L and nan. Correct negation.
20032 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
20033 ieee875 long double macros and unions. Correct output for large
20034 magnitude x. Correct absolute value calculation.
20035 (__erfcl): Likewise.
20036 * math/libm-test.inc: Add tests for errors discovered in IBM long
20037 double versions of fmodl, remainderl, erfl and erfcl.
20038
20039 2013-10-04 Alan Modra <amodra@gmail.com>
20040
20041 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
20042 all uses of ieee854 long double macros and unions. Simplify tests
20043 for long doubles that are fully specified by the high double.
20044 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
20045 Likewise.
20046 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
20047 Remove dead code too.
20048 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
20049 (__ieee754_ynl): Likewise.
20050 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
20051 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
20052 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
20053 Remove dead code too.
20054 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
20055 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
20056 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
20057 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
20058 Simplify.
20059 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
20060 Simplify.
20061 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
20062 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
20063 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
20064 Comment on variable precision.
20065 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
20066 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
20067 Likewise.
20068 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
20069 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
20070 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
20071 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
20072 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
20073
20074 2013-10-04 Alan Modra <amodra@gmail.com>
20075
20076 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
20077 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
20078 all uses of ieee854 long double macros and unions.
20079 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
20080 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
20081 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
20082 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
20083 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
20084 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
20085 Likewise.
20086 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
20087 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
20088 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
20089 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
20090 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
20091 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
20092 Simplify sign and nan test too.
20093 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
20094 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
20095 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
20096 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
20097 Likewise.
20098 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
20099 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
20100 Likewise.
20101 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
20102 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
20103 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
20104 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
20105 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
20106 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
20107
20108 2013-10-04 Alan Modra <amodra@gmail.com>
20109
20110 * stdio-common/printf_size.c (__printf_size): Don't use
20111 union ieee854_long_double in fpnum union.
20112 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
20113 signbit macro to retrieve sign from long double.
20114 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
20115 retrieve sign from long double.
20116 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
20117 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
20118 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
20119 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
20120 * math/test-misc.c (main): Don't use union ieee854_long_double.
20121
20122 2013-10-04 Alan Modra <amodra@gmail.com>
20123
20124 [BZ #15680]
20125 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
20126 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
20127 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
20128 calculation. Remove unnecessary test for denormal exponent.
20129 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
20130 Correct handling of denormals. Avoid undefined shift behaviour.
20131 Correct normalisation of low mantissa when low double is denormal.
20132 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
20133 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
20134 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
20135 Correct normalisation of low mantissa. Test for overflow of high
20136 mantissa and normalise.
20137 (ldbl_nearbyint): Use more readable constant for two52.
20138 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
20139 (__mpn_construct_long_double): Fix test for overflow of high
20140 mantissa and correct normalisation. Avoid undefined shift.
20141
20142 2013-10-04 Alan Modra <amodra@gmail.com>
20143
20144 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
20145 (union ibm_extended_long_double): Define as an array of ieee754_double.
20146 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
20147 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
20148 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
20149 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
20150 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
20151 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
20152 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
20153 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
20154 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
20155 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
20156 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
20157
20158 2013-10-03 Joseph Myers <joseph@codesourcery.com>
20159
20160 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
20161 page size instead of calling getpagesize.
20162
20163 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
20164 (LOCFILE_ALIGN_MASK): Likewise.
20165 (LOCFILE_ALIGN_UP): Likewise.
20166 (LOCFILE_ALIGNED_P): Likewise.
20167 * locale/programs/ld-collate.c (collate_output): Use the new
20168 macros instead of __alignof__ (int32_t).
20169 * locale/weight.h (findidx): Likewise.
20170
20171 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
20172
20173 [BZ #431]
20174 * manual/string.texi: Fix strncat and wcsncat.
20175
20176 2013-10-03 Brooks Moses <bmoses@google.com>
20177
20178 [BZ #15915]
20179 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
20180 * Makerules: ...here, and adjust associated comments.
20181
20182 2013-10-02 Will Newton <will.newton@linaro.org>
20183
20184 * malloc/Makefile: Add tst-pvalloc.
20185 * malloc/tst-pvalloc.c: New file.
20186
20187 2013-10-02 Will Newton <will.newton@linaro.org>
20188
20189 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
20190 improve test coverage.
20191
20192 2013-10-02 Will Newton <will.newton@linaro.org>
20193
20194 * malloc/Makefile: Add tst-posix_memalign.
20195 * malloc/tst-posix_memalign.c: New file.
20196
20197 2013-10-01 Eric Blake <eblake@redhat.com>
20198
20199 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
20200 Use __THROWNL rather than __THROW on static functions.
20201
20202 2013-09-30 Petr Machata <pmachata@redhat.com>
20203
20204 * elf/elf.h (R_AARCH64_ABS16): New macro.
20205 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
20206 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
20207 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
20208 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
20209 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
20210 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
20211 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
20212 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
20213 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
20214 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
20215 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
20216 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
20217 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
20218 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
20219 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
20220 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
20221 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
20222 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
20223 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
20224 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
20225 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
20226 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
20227 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
20228 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
20229 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
20230 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
20231 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
20232 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
20233 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
20234 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
20235 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
20236 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
20237 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
20238 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
20239 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
20240 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
20241 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
20242 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
20243 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
20244 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
20245 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
20246 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
20247 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
20248 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
20249 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
20250 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
20251 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
20252 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
20253 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
20254 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
20255 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
20256 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
20257 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
20258 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
20259 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
20260 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
20261 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
20262 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
20263 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
20264 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
20265 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
20266 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
20267 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
20268 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
20269 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
20270 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
20271 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
20272 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
20273 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
20274 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
20275 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
20276 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
20277 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
20278 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
20279 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
20280 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
20281 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
20282 (R_AARCH64_TLSDESC_LDR): Likewise.
20283 (R_AARCH64_TLSDESC_ADD): Likewise.
20284 (R_AARCH64_TLSDESC_CALL): Likewise.
20285
20286 2013-09-30 Andreas Schwab <schwab@suse.de>
20287
20288 [BZ #15048]
20289 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
20290 the nss database lookup.
20291 * nscd/initgrcache.c (addinitgroupsX): Likewise.
20292 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
20293
20294 2013-09-28 Mike Frysinger <vapier@gentoo.org>
20295
20296 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
20297
20298 2013-09-28 P. J. McDermott <pj@pehjota.net>
20299
20300 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
20301 ${Bash-specific parameter/pattern/string} parameter expansion.
20302 * sysdeps/unix/make-syscalls.sh: Likewise.
20303
20304 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
20305
20306 * sysdeps/sh/stackguard-macros.h: New file.
20307
20308 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
20309
20310 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
20311 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
20312 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
20313 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
20314 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
20315 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
20316
20317 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20318
20319 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
20320 Fix thread ID register.
20321
20322 2013-09-25 Joseph Myers <joseph@codesourcery.com>
20323
20324 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
20325 [POSIX || UNIX98]: Require rather than permitting all symbols from
20326 <time.h>.
20327 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
20328 element of struct sched_param.
20329 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
20330 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
20331 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
20332 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
20333 constant.
20334
20335 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
20336
20337 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
20338 argument calculation.
20339
20340 2013-09-24 Joseph Myers <joseph@codesourcery.com>
20341
20342 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
20343 Expect macro.
20344 [POSIX] (pthread_attr_t): Do not require type.
20345 [POSIX] (pthread_cond_t): Likewise.
20346 [POSIX] (pthread_condattr_t): Likewise.
20347 [POSIX] (pthread_key_t): Likewise.
20348 [POSIX] (pthread_mutex_t): Likewise.
20349 [POSIX] (pthread_mutexattr_t): Likewise.
20350 [POSIX] (pthread_once_t): Likewise.
20351 [POSIX] (pthread_t): Likewise.
20352 [POSIX-based standards] (pthread_atfork): Expect function.
20353
20354 2013-09-24 Joseph Myers <joseph@codesourcery.com>
20355 Richard Sandiford <richard@codesourcery.com>
20356
20357 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
20358 (swap_endianness_p): New extern variable.
20359 (set_big_endian): New inline function.
20360 (maybe_swap_uint32): Likewise.
20361 (maybe_swap_uint32_array): Likewise.
20362 (maybe_swap_uint32_obstack): Likewise.
20363 * locale/programs/locfile.c: Include <stdbool.h>.
20364 (swap_endianness_p): New variable.
20365 (add_locale_uint32): Call maybe_swap_uint32.
20366 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
20367 (write_locale_data): Call maybe_swap_uint32_array.
20368 * locale/programs/ld-collate.c (obstack_int32_grow): Call
20369 maybe_swap_uint32.
20370 (obstack_int32_grow_fast): Likewise.
20371 (output_weightwc): Call maybe_swap_uint32_obstack.
20372 (collate_output): Likewise.
20373 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
20374 (OPT_LITTLE_ENDIAN): Likewise.
20375 (options): Add --little-endian and --big-endian options.
20376 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
20377 * locale/programs/locarchive.c: Include "locfile.h".
20378 (GET): New macro.
20379 (SET): Likewise.
20380 (INC): Likewise.
20381 (create_archive): Use the new macros to access fields of
20382 structures directly mapped from or written to locale archives.
20383 (oldlocrecentcmp): Likewise.
20384 (enlarge_archive): Likewise.
20385 (insert_name): Likewise.
20386 (add_alias): Likewise.
20387 (add_locale): Likewise.
20388 (delete_locales_from_archive): Likewise.
20389 (show_archive_content): Likewise.
20390 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
20391 locale data.
20392
20393 2013-09-24 Roland McGrath <roland@hack.frob.com>
20394
20395 * manual/freemanuals.texi: Updated from (newly) canonical copy at
20396 http://www.gnu.org/doc/freemanuals.texi.
20397 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
20398
20399 2013-09-24 Will Newton <will.newton@linaro.org>
20400
20401 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
20402 macro.
20403
20404 2013-09-23 Joseph Myers <joseph@codesourcery.com>
20405
20406 * locale/hashval.h (compute_hashval): Interpret bytes of key as
20407 unsigned char.
20408
20409 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
20410
20411 * manual/threads.texi (POSIX Threads): Fix a typo.
20412
20413 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
20414
20415 [BZ #14547]
20416 * string/tst-strcoll-overflow.c: New test case.
20417 * string/Makefile (xtests): Add tst-strcoll-overflow.
20418 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
20419 cache if string sizes may cause integer overflow.
20420
20421 [BZ #14547]
20422 * string/strcoll_l.c (coll_seq): New members rule, idx,
20423 save_idx and back_us.
20424 (get_next_seq_nocache): New function.
20425 (do_compare_nocache): New function.
20426 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
20427 when malloc fails.
20428
20429 2013-09-23 Carlos O'Donell <carlos@redhat.com>
20430
20431 [BZ #15754]
20432 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
20433 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
20434 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
20435
20436 [BZ #15754]
20437 * elf/Makefile (tests): Add tst-ptrguard1.
20438 (tests-static): Add tst-ptrguard1-static.
20439 (tst-ptrguard1-ARGS): Define.
20440 (tst-ptrguard1-static-ARGS): Define.
20441 * elf/tst-ptrguard1.c: New file.
20442 * elf/tst-ptrguard1-static.c: New file.
20443 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
20444 * sysdeps/i386/stackguard-macros.h: Likewise.
20445 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
20446 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
20447 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
20448 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
20449 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
20450 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
20451
20452 2013-09-23 Hector Marco <hecmargi@upv.es>
20453 Ismael Ripoll <iripoll@disca.upv.es>
20454 Carlos O'Donell <carlos@redhat.com>
20455
20456 [BZ #15754]
20457 * sysdeps/generic/stackguard-macros.h: Define
20458 __pointer_chk_guard_local and POINTER_CHK_GUARD.
20459 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
20460 Define __pointer_chk_guard_local.
20461 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
20462 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
20463
20464 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
20465
20466 [BZ #15859]
20467 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
20468
20469 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
20470
20471 * include/string.h (__ffs): Declare as hidden.
20472 * string/ffs.c (__ffs): Define as hidden.
20473 * sysdeps/i386/ffs.c (__ffs): Likewise.
20474 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
20475 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
20476 * sysdeps/s390/ffs.c (__ffs): Likewise.
20477 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
20478
20479 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
20480
20481 * NEWS: Mention malloc probes.
20482
20483 * malloc/arena.c (new_heap): New memory_heap_new probe.
20484 (grow_heap): New memory_heap_more probe.
20485 (shrink_heap): New memory_heap_less probe.
20486 (heap_trim): New memory_heap_free probe.
20487 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
20488 (systrim): New memory_sbrk_less probe.
20489 * manual/probes.texi: Document them.
20490
20491 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
20492 * manual/probes.texi: Document it.
20493
20494 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
20495 (__libc_realloc): Add memory_realloc_retry probe.
20496 (__libc_memalign): Add memory_memalign_retry probe.
20497 (__libc_valloc): Add memory_valloc_retry probe.
20498 (__libc_pvalloc): Add memory_pvalloc_retry probe.
20499 (__libc_calloc): Add memory_calloc_retry probe.
20500 * manual/probes.texi: Document them.
20501
20502 * malloc/arena.c (get_free_list): Add probe
20503 memory_arena_reuse_free_list.
20504 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
20505 and memory_arena_reuse.
20506 (arena_get2) [!PER_THREAD]: Likewise.
20507 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
20508 memory_arena_reuse_realloc.
20509 * manual/probes.texi: Document them.
20510
20511 * malloc/malloc.c (__libc_free): Add
20512 memory_mallopt_free_dyn_thresholds probe.
20513 (__libc_mallopt): Add multiple memory_mallopt probes.
20514 * manual/probes.texi: Document them.
20515
20516 * malloc/malloc.c: Include stap-probe.h.
20517 (__libc_mallopt): Add memory_mallopt probe.
20518 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
20519 * manual/probes.texi: New.
20520 * manual/Makefile (chapters): Add probes.
20521 * manual/threads.texi: Set next node.
20522
20523 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
20524
20525 [BZ #15963, #13985]
20526 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
20527 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
20528 Add `Chinese' to `nan' entry name.
20529
20530 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
20531
20532 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
20533 (POLYNOMIAL): Likewise.
20534 (TAYLOR_SINCOS): Likewise.
20535 (TAYLOR_SLOW): Likewise.
20536 (__sin): Use TAYLOR_SINCOS.
20537 (__cos): Likewise.
20538 (slow): Use TAYLOR_SLOW.
20539 (sloww): Likewise.
20540 (bsloww): Likewise.
20541 (csloww): Likewise.
20542
20543 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
20544
20545 * stdlib/strtod_l.c: Fix buffer overrun.
20546
20547 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
20548
20549 * benchtests/Makefile (bench): Add sincos.
20550 * benchtests/bench-sincos.c: New file.
20551
20552 * math/libm-test.inc (cos_test_data): New test inputs.
20553 (sin_test_data): Likewise.
20554
20555 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
20556 macro.
20557 (__sin): Use it.
20558 (__cos): Likewise.
20559 (slow1): Likewise.
20560 (slow2): Likewise.
20561 (sloww1): Likewise.
20562 (sloww2): Likewise.
20563 (bsloww1): Likewise.
20564 (bsloww2): Likewise.
20565 (cslow2): Likewise.
20566 (csloww1): Likewise.
20567 (csloww2): Likewise.
20568
20569 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
20570 function.
20571 (__sin): Use it.
20572 (__cos): Likewise.
20573
20574 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
20575 gotos.
20576 (__cos): Likewise.
20577
20578 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
20579
20580 * config.h.in (HAVE_MIPS_NAN2008): New macro.
20581 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
20582 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
20583 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
20584 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
20585 * elf/cache.c (print_entry): Handle the new cache flags.
20586
20587 2013-09-18 Joseph Myers <joseph@codesourcery.com>
20588 Aldy Hernandez <aldyh@redhat.com>
20589
20590 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
20591 Change condition to [_SOFT_FLOAT].
20592 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
20593 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
20594 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
20595 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
20596 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
20597 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
20598 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
20599 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
20600 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
20601 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
20602 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
20603 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
20604 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
20605 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
20606 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
20607 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
20608 declaration.
20609
20610 2013-09-18 Joseph Myers <joseph@codesourcery.com>
20611
20612 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
20613 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
20614 (__longjmp): Use LOAD_GP to load saved GPRs.
20615 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
20616 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
20617 (__sigsetjmp): Use SAVE_GP to save GPRs.
20618
20619 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
20620 Do not append -msoft-float.
20621 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
20622
20623 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
20624
20625 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
20626
20627 2013-09-17 Joseph Myers <joseph@codesourcery.com>
20628
20629 [BZ #15966]
20630 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
20631 (_FPU_GETCW): Use initial "__" on variable and field names but not
20632 on macro parameter name.
20633 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
20634 parentheses around reference to macro parameter.
20635
20636 2013-09-13 Richard Sandiford <richard@codesourcery.com>
20637
20638 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
20639 prototype.
20640 (ctype_startup): Use uint32_t in cast and sizeof for
20641 ctype->charnames.
20642
20643 2013-09-11 Jia Liu <proljc@gmail.com>
20644
20645 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
20646 __daddr_t_defined.
20647 [__FreeBSD__]: Likewise.
20648
20649 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
20650
20651 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
20652 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
20653 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
20654 (strchr): Remove __strchr_sse42 ifunc selection.
20655 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
20656 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
20657
20658 2013-09-11 Will Newton <will.newton@linaro.org>
20659
20660 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
20661 parameter to RES. Remove hardcoded 1000 value.
20662 * benchtests/bench-skeleton.c (main): Pass RES parameter
20663 to TIMING_INIT and multiply result by 1000.
20664
20665 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20666
20667 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20668
20669 2013-09-11 Andreas Schwab <schwab@suse.de>
20670
20671 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
20672 if not defined.
20673 (O_TMPFILE) [__USE_GNU]: Define.
20674 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
20675 Define.
20676
20677 2013-09-11 Will Newton <will.newton@linaro.org>
20678
20679 [BZ #15857]
20680 * malloc/malloc.c (__libc_memalign): Check the value of bytes
20681 does not overflow.
20682
20683 2013-09-11 Will Newton <will.newton@linaro.org>
20684
20685 [BZ #15856]
20686 * malloc/malloc.c (__libc_valloc): Check the value of bytes
20687 does not overflow.
20688
20689 2013-09-11 Will Newton <will.newton@linaro.org>
20690
20691 [BZ #15855]
20692 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
20693 does not overflow.
20694
20695 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
20696
20697 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
20698 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
20699 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
20700 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
20701 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
20702
20703 2013-09-10 Allan McRae <allan@archlinux.org>
20704
20705 [BZ #15748]
20706 * manual/arith.texi (Parsing of Floats): Clarify
20707 cross-reference.
20708
20709 [BZ #15849]
20710 * manual/install.texi (Running make install): Mention
20711 --enable-pt-chown.
20712 * INSTALL: Regenerated.
20713
20714 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
20715
20716 * csu/init-first.c (_init): Remove the !SHARED condition around
20717 FPU control word initialization.
20718 * elf/dl-support.c (_dl_fpu_control): New variable.
20719 (_dl_aux_init) <AT_FPUCW>: Initialize it.
20720 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
20721 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
20722 * math/test-fpucw-static.c: New file.
20723 * math/test-fpucw-ieee.c: New file.
20724 * math/test-fpucw-ieee-static.c: New file.
20725 * math/Makefile (tests): Add `test-fpucw-ieee' and
20726 `$(tests-static)'.
20727 (tests-static): New variable.
20728 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
20729 dependency to...
20730 [($(build-shared),yes)]
20731 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
20732 ... this.
20733 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
20734 New dependency.
20735
20736 2013-09-09 Allan McRae <allan@archlinux.org>
20737
20738 [BZ #15939]
20739 * manual/string.texi (Collation Functions): Fix typo in
20740 strcoll example.
20741 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
20742
20743 [BZ #15893]
20744 * stdlib/isomac.c (get_null_defines): Fix memory leak.
20745
20746 [BZ #15892]
20747 * libio/memstream.c (open_memstream): Fix memory leak.
20748 * libio/wmemstream.c (open_wmemstream): Likewise.
20749
20750 [BZ #15895]
20751 * nscd/netgroupcache.c: Fix nesting of ifdefs.
20752
20753 2013-09-09 Will Newton <will.newton@linaro.org>
20754
20755 * malloc/Makefile: Add tst-realloc to tests.
20756 * malloc/tst-realloc.c: New file.
20757
20758 2013-09-09 Allan McRae <allan@archlinux.org>
20759
20760 [BZ #15844]
20761 * COPYING: Update from GNU website to fix FSF address.
20762 * COPYING.LIB: Likewise.
20763
20764 2013-09-06 David S. Miller <davem@davemloft.net>
20765
20766 * po/zh_TW.po: Update Chinese (traditional) translation from
20767 translation project.
20768
20769 2013-09-06 Richard Sandiford <richard@codesourcery.com>
20770 Joseph Myers <joseph@codesourcery.com>
20771
20772 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
20773 "localeinfo.h".
20774 (obstack_chunk_alloc): New macro.
20775 (obstack_chunk_free): Likewise.
20776 (record_offset): New function.
20777 (init_locale_data): Likewise.
20778 (align_locale_data): Likewise.
20779 (add_locale_empty): Likewise.
20780 (add_locale_raw_data): Likewise.
20781 (add_locale_raw_obstack): Likewise.
20782 (add_locale_string): Likewise.
20783 (add_locale_wstring): Likewise.
20784 (add_locale_uint32): Likewise.
20785 (add_locale_uint32_array): Likewise.
20786 (add_locale_char): Likewise.
20787 (start_locale_structure): Likewise.
20788 (end_locale_structure): Likewise.
20789 (start_locale_prelude): Likewise.
20790 (end_locale_prelude): Likewise.
20791 (write_locale_data): Take locale_file structure rather than an
20792 iovec.
20793 * locale/programs/locfile.h: Include "obstack.h".
20794 (struct locale_file): Change to store locale file contents instead
20795 of header.
20796 (init_locale_data): New prototype.
20797 (align_locale_data): Likewise.
20798 (add_locale_empty): Likewise.
20799 (add_locale_raw_data): Likewise.
20800 (add_locale_raw_obstack): Likewise.
20801 (add_locale_string): Likewise.
20802 (add_locale_wstring): Likewise.
20803 (add_locale_uint32): Likewise.
20804 (add_locale_uint32_array): Likewise.
20805 (add_locale_char): Likewise.
20806 (start_locale_structure): Likewise.
20807 (end_locale_structure): Likewise.
20808 (start_locale_prelude): Likewise.
20809 (end_locale_prelude): Likewise.
20810 (write_locale_data): Update prototype.
20811 * locale/programs/3level.h (struct TABLE): Remove result field.
20812 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
20813 Use new locale_file interface.
20814 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
20815 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
20816 * locale/programs/ld-address.c (address_output): Use new
20817 locale_file interface.
20818 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
20819 NO_ADD_LOCALE.
20820 (collate_finish): Don't call collseq_table_finalize.
20821 (collate_output): Use new locale_file interface.
20822 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
20823 in file.
20824 (NO_FINALIZE): Change to NO_ADD_LOCALE.
20825 (TABLE): Move defines earlier in file.
20826 (ELEMENT): Likewise.
20827 (DEFAULT): Likewise.
20828 (wctrans_table_add): Move macro and inline function earlier in
20829 file.
20830 (struct wctype_table): Move type earlier in file.
20831 (add_locale_wctype_table): New static prototype.
20832 (struct locale_ctype_t): Use logical types instead of struct iovec
20833 pointers for members.
20834 (ctype_output): Use new locale_file interface.
20835 (wctype_table_finalize): Change to add_locale_wctype_table. Use
20836 new locale_file interface.
20837 (allocate_arrays): Update for use of new locale_file interface.
20838 * locale/programs/ld-identification.c (identification_output): Use
20839 new locale_file interface.
20840 * locale/programs/ld-measurement.c (measurement_output): Likewise.
20841 * locale/programs/ld-messages.c (messages_output): Likewise.
20842 * locale/programs/ld-monetary.c (monetary_output): Likewise.
20843 * locale/programs/ld-name.c (name_output): Likewise.
20844 * locale/programs/ld-numeric.c (numeric_output): Likewise.
20845 * locale/programs/ld-paper.c (paper_output): Likewise.
20846 * locale/programs/ld-telephone.c (telephone_output): Likewise.
20847 * locale/programs/ld-time.c (time_output): Likewise.
20848
20849 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20850
20851 * benchtests/Makefile: Add memrchr benchmark.
20852 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
20853 benchmark as memrchr.
20854 * benchtests/bench-memrchr-ifunc.c: New file.
20855 * benchtests/bench-memrchr.c: New file.
20856
20857 2013-09-06 Will Newton <will.newton@linaro.org>
20858
20859 * benchtests/Makefile (string-bench): Add memcpy.
20860
20861 2013-09-05 Carlos O'Donell <carlos@redhat.com>
20862 Cong Wang <amwang@redhat.com>
20863
20864 [BZ #15850]
20865 * sysdeps/unix/sysv/linux/bits/in.h
20866 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
20867 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
20868 before __USE_KERNEL_IPV6_DEFS uses.
20869 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
20870 IPPROTO_BEETPH.
20871 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
20872 sockaddr_in6, or ipv6_mreq.
20873
20874 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20875
20876 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
20877 memory access for final bytes in some large inputs.
20878 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
20879
20880 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20881
20882 * string/test-memrchr.c: New file.
20883 * string/test-memrchr-ifunc.c: New file.
20884 * string/Makefile: Add new memrchr testcase.
20885
20886 2013-09-05 Mike Frysinger <vapier@gentoo.org>
20887
20888 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
20889 fanotify_init returns EPERM.
20890
20891 2013-09-04 Joseph Myers <joseph@codesourcery.com>
20892
20893 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
20894 errors.
20895 (top level): Treat second token from macro or constant entries for
20896 allowed headers as allowed.
20897 * include/complex.h: Condition internal declarations on
20898 [!_ISOMAC].
20899 * include/fenv.h: Condition include of <stdbool.h> and internal
20900 declarations on [!_ISOMAC].
20901
20902 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
20903
20904 [BZ #15923]
20905 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
20906
20907 2013-09-04 Joseph Myers <joseph@codesourcery.com>
20908
20909 * configure.in (--enable-versioning): Remove configure option.
20910 (libc_cv_asm_symver_directive): Remove configure test.
20911 (libc_cv_ld_version_script_option): Likewise.
20912 (VERSIONING): Remove variable and AC_SUBST.
20913 (DO_VERSIONING): Remove AC_DEFINE.
20914 * configure: Regenerated.
20915 * config.h.in (DO_VERSIONING): Remove macro.
20916 * Makerules [$(versioning) = yes]: Change conditionals to
20917 [$(build-shared) = yes].
20918 * config.make.in (versioning): Remove variable.
20919 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
20920 [$(build-shared) = yes].
20921 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
20922 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
20923 * elf/Makefile [$(versioning) = yes]: Change conditionals to
20924 [$(build-shared) = yes].
20925 * extra-lib.mk [$(versioning) = yes]: Likewise.
20926 * hurd/Makefile [$(versioning) = yes]: Likewise.
20927 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
20928 [SHARED].
20929 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
20930 [SHARED].
20931 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
20932 [SHARED && !NO_HIDDEN].
20933 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
20934 [SHARED].
20935 [SHARED && DO_VERSIONING]: Likewise..
20936 * libio/Makefile [$(versioning) = yes]: Change conditionals to
20937 [$(build-shared) = yes].
20938 * manual/install.texi (--disable-versioning): Remove
20939 documentation.
20940 * INSTALL: Regenerated.
20941 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
20942 to [SHARED].
20943 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
20944 [$(build-shared) = yes].
20945 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
20946 * sysdeps/i386/i686/multiarch/strstr-c.c
20947 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
20948 [SHARED && !NO_HIDDEN].
20949 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
20950 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
20951 * sysdeps/powerpc/powerpc32/dl-machine.c
20952 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
20953 * sysdeps/powerpc/powerpc32/sysdep.h
20954 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
20955 to [SHARED && PIC && !NO_HIDDEN].
20956 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
20957 conditional to [SHARED].
20958
20959 2013-09-04 Will Newton <will.newton@linaro.org>
20960
20961 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
20962 * benchtests/bench-string.h: Include bench-timing.h instead
20963 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
20964 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
20965 call to HP_TIMING_DIFF_INIT.
20966 * benchtests/bench-memccpy.c: Use bench-timing.h macros
20967 instead of hp-timing.h macros.
20968 * benchtests/bench-memchr.c: Likewise.
20969 * benchtests/bench-memcmp.c: Likewise.
20970 * benchtests/bench-memcpy.c: Likewise.
20971 * benchtests/bench-memmem.c: Likewise.
20972 * benchtests/bench-memmove.c: Likewise.
20973 * benchtests/bench-memset.c: Likewise.
20974 * benchtests/bench-rawmemchr.c: Likewise.
20975 * benchtests/bench-strcasecmp.c: Likewise.
20976 * benchtests/bench-strcasestr.c: Likewise.
20977 * benchtests/bench-strcat.c: Likewise.
20978 * benchtests/bench-strchr.c: Likewise.
20979 * benchtests/bench-strcmp.c: Likewise.
20980 * benchtests/bench-strcpy.c: Likewise.
20981 * benchtests/bench-strcpy_chk.c: Likewise.
20982 * benchtests/bench-strlen.c: Likewise.
20983 * benchtests/bench-strncasecmp.c: Likewise.
20984 * benchtests/bench-strncat.c: Likewise.
20985 * benchtests/bench-strncmp.c: Likewise.
20986 * benchtests/bench-strncpy.c: Likewise.
20987 * benchtests/bench-strnlen.c: Likewise.
20988 * benchtests/bench-strpbrk.c: Likewise.
20989 * benchtests/bench-strrchr.c: Likewise.
20990 * benchtests/bench-strspn.c: Likewise.
20991 * benchtests/bench-strstr.c: Likewise.
20992
20993 2013-09-04 Will Newton <will.newton@linaro.org>
20994
20995 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
20996
20997 2013-09-03 Joseph Myers <joseph@codesourcery.com>
20998
20999 [BZ #15427]
21000 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
21001 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
21002 * math/libm-test.inc (lgamma_test_data): Add more tests.
21003 * sysdeps/i386/fpu/libm-test-ulps: Update.
21004 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21005
21006 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
21007
21008 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
21009 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
21010 Add ifunc.
21011 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
21012 Add strcmp-sse2-unaligned
21013 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
21014
21015 2013-09-02 Mike Frysinger <vapier@gentoo.org>
21016
21017 * Versions.def (libc): Add GLIBC_2.19.
21018
21019 2013-09-02 Mike Frysinger <vapier@gentoo.org>
21020
21021 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
21022 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
21023
21024 2013-09-02 Joseph Myers <joseph@codesourcery.com>
21025
21026 [BZ #14155]
21027 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
21028 intermediate calculations in recurrence.
21029 (__ieee754_ynf): Likewise.
21030 * math/libm-test.inc (jn_test_data): Do not allow spurious
21031 underflow exception. Add more tests.
21032 (yn_test_data): Add more tests.
21033 * sysdeps/i386/fpu/libm-test-ulps: Update.
21034 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21035
21036 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
21037
21038 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
21039
21040 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
21041
21042 * csu/init-first.c: Fix then/than typos.
21043 * locale/programs/ld-collate.c: Likewise.
21044 * locale/programs/linereader.h: Likewise.
21045 * manual/charset.texi: Likewise.
21046 * manual/filesys.texi: Likewise.
21047 * manual/stdio.texi: Likewise.
21048 * manual/string.texi: Likewise.
21049 * stdlib/fmtmsg.c: Likewise.
21050 * sysdeps/i386/stpncpy.S: Likewise.
21051 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
21052 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
21053 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
21054 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
21055
21056 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
21057
21058 * elf/dl-open.c: Fix typos.
21059 * iconvdata/gbbig5.c: Likewise.
21060 * iconvdata/iso-2022-jp.c: Likewise.
21061 * iconv/gconv_int.h: Likewise.
21062 * iconv/loop.c: Likewise.
21063 * nis/rpcsvc/nis.h: Likewise.
21064 * resolv/ns_name.c: Likewise.
21065 * stdio-common/vfscanf.c: Likewise.
21066 * streams/stropts.h: Likewise.
21067 * sunrpc/rpc_thread.c: Likewise.
21068 * sysdeps/i386/strpbrk.S: Likewise.
21069 * sysdeps/ieee754/k_standard.c: Likewise.
21070 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
21071 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
21072 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
21073 * sysdeps/mach/hurd/profil.c: Likewise.
21074 * sysdeps/s390/dl-procinfo.h: Likewise.
21075 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
21076 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
21077 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
21078 * sysdeps/x86_64/dl-trampoline.S: Likewise.
21079 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
21080
21081 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
21082
21083 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
21084 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
21085
21086 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
21087
21088 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
21089 aix specific files.
21090 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
21091 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
21092 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
21093 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
21094 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
21095 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
21096 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
21097 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
21098
21099 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
21100 Roland McGrath <roland@hack.frob.com>
21101
21102 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
21103 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
21104
21105 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
21106
21107 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
21108 __executable_start symbol instead of _start.
21109
21110 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
21111
21112 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
21113 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
21114 Move macros to...
21115 * sysdeps/gnu/ldsodefs.h: ... this new file.
21116
21117 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
21118 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
21119 instead of ELFOSABI_LINUX.
21120
21121 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
21122 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
21123 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
21124 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
21125 Likewise.
21126 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
21127 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
21128 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
21129 Likewise.
21130 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
21131 (ibm_extended_long_double): Add ieee_nan member.
21132 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
21133 (do_test): New function.
21134
21135 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
21136 TEST_TRUNC.
21137 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
21138 functions, renamed from truncdfsf_test, trunctfsf_test,
21139 trunctfdf_test.
21140 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
21141 functions.
21142 (do_test): Run all these.
21143
21144 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
21145
21146 * argp/argp-help.c: Fix typos.
21147 * argp/argp-parse.c: Likewise.
21148 * debug/backtracesyms.c: Likewise.
21149 * elf/elf.h: Likewise.
21150 * malloc/malloc.c: Likewise.
21151 * nis/nis_print.c: Likewise.
21152 * resolv/res_comp.c: Likewise.
21153 * stdlib/stdlib.h: Likewise.
21154 * sunrpc/clnt_tcp.c: Likewise.
21155 * sunrpc/clnt_udp.c: Likewise.
21156 * sunrpc/clnt_unix.c: Likewise.
21157 * sysdeps/unix/bsd/ptsname.c: Likewise.
21158 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
21159 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
21160 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
21161 Likewise.
21162 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
21163 Likewise.
21164 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
21165 Likewise.
21166 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
21167
21168 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
21169
21170 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
21171 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
21172
21173 2013-08-27 Mike Frysinger <vapier@gentoo.org>
21174
21175 [BZ #15897]
21176 * dlfcn/Makefile (tests): Add bug-dl-leaf.
21177 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
21178 ($(objpfx)bug-dl-leaf): New rule.
21179 ($(objpfx)bug-dl-leaf.so): Likewise.
21180 ($(objpfx)bug-dl-leaf.out): Likewise.
21181 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
21182 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
21183 * dlfcn/bug-dl-leaf.c: New test.
21184 * dlfcn/bug-dl-leaf-lib.c: Likewise.
21185 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
21186 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
21187 (dlclose): Likewise.
21188 (dlmopen): Likewise.
21189
21190 2013-08-27 Roland McGrath <roland@hack.frob.com>
21191
21192 * include/netdb.h [!_ISOMAC]:
21193 Don't include <tls.h>.
21194 (h_errno, __libc_h_errno): Move declaration and macros out of
21195 [_LIBC_REENTRANT].
21196
21197 * include/resolv.h [_RESOLV_H_]:
21198 Don't include <tls.h>.
21199 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
21200 * resolv/res_libc.c: Don't include <tls.h>.
21201 (_res): Use __attribute__ ((nocommon)) in place of
21202 __attribute__ ((section (".bss"))).
21203
21204 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
21205 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
21206
21207 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
21208
21209 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
21210 only under [SIOCGIFCONF && SIOCGIFNETMASK].
21211
21212 * resolv/res_mkquery.c: Include <sys/time.h>.
21213
21214 * inet/ifreq.c: Moved to ...
21215 * sysdeps/unix/ifreq.c: ... here.
21216 * inet/ifreq.c: New file, true stub version.
21217
21218 * socket/sa_len.c: New file.
21219 * socket/Makefile (aux): Add it.
21220 * sysdeps/unix/sysv/linux/Makefile
21221 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
21222 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
21223 and #include <socket/sa_len.c>.
21224 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
21225 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
21226
21227 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
21228 * bits/socket.h: ... here.
21229
21230 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
21231 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
21232 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
21233
21234 2013-08-27 Andreas Schwab <schwab@suse.de>
21235
21236 [BZ #15736]
21237 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
21238 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
21239 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
21240 * string/test-strcasecmp.c (test_main): Run tests in several
21241 locales.
21242 * string/test-strncasecmp.c (test_main): Likewise.
21243
21244 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
21245 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
21246 to __strcasecmp_nonascii and __strncasecmp_nonascii.
21247 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
21248 (__strncasecmp_ssse3) [PIC]: Likewise.
21249
21250 2013-08-26 Roland McGrath <roland@hack.frob.com>
21251
21252 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
21253
21254 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
21255 instead of explicitly declaring xdecrypt.
21256 * nis/nss_nis/nis-publickey.c: Likewise.
21257
21258 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
21259
21260 [BZ #15890]
21261 * nscd/aicache.c: Include res_hconf.h.
21262 (addhstaiX): Initialize res_hconf.
21263
21264 2013-08-26 Andreas Schwab <schwab@suse.de>
21265
21266 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
21267 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
21268
21269 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
21270
21271 * nscd/aicache.c (addhstaiX): Fix indentation.
21272
21273 2013-08-25 Mike Frysinger <vapier@gentoo.org>
21274
21275 * configure.ac: Quote $build_pt_chown test.
21276 * configure: Regenerated.
21277
21278 2013-08-23 Joseph Myers <joseph@codesourcery.com>
21279
21280 [BZ #15532]
21281 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
21282 * math/s_cexpf.c (__cexpf): Likewise.
21283 * math/s_cexpl.c (__cexpl): Likewise.
21284 * math/libm-test.inc (cexp_test_data): Correct expected return
21285 value for NaN + i0. Add another test.
21286
21287 2013-08-22 David S. Miller <davem@davemloft.net>
21288
21289 * po/ca.po: Update Catalan translation from translation project.
21290 * po/uk.po: Add Ukrainian translations from translation project.
21291
21292 2013-08-21 Joseph Myers <joseph@codesourcery.com>
21293
21294 [BZ #15797]
21295 * math/s_fdim.c (__fdim): Check for infinite arguments if result
21296 is infinite, not alongside NaN test.
21297 * math/s_fdimf.c (__fdimf): Likewise.
21298 * math/s_fdiml.c (__fdiml): Likewise.
21299 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
21300 errno is unchanged.
21301
21302 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
21303
21304 * argp/argp-help.c: Fix typos.
21305 * crypt/speeds.c: Likewise.
21306 * csu/check_fds.c: Likewise.
21307 * elf/dl-load.c: Likewise.
21308 * elf/dl-open.c: Likewise.
21309 * elf/reldep3.c: Likewise.
21310 * elf/reldep.c: Likewise.
21311 * elf/sprof.c: Likewise.
21312 * iconv/iconv_charmap.c: Likewise.
21313 * iconv/skeleton.c: Likewise.
21314 * iconv/strtab.c: Likewise.
21315 * io/lockf64.c: Likewise.
21316 * libio/libioP.h: Likewise.
21317 * resolv/gai_notify.c: Likewise.
21318 * resolv/ns_name.c: Likewise.
21319 * resolv/ns_samedomain.c: Likewise.
21320 * resolv/res_send.c: Likewise.
21321 * stdlib/random.c: Likewise.
21322 * sunrpc/rpc/xdr.h: Likewise.
21323 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
21324 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
21325 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
21326 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
21327 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
21328 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
21329 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
21330 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
21331 * sysdeps/mach/hurd/check_fds.c: Likewise.
21332 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
21333 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
21334 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
21335 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
21336 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
21337 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
21338 * sysdeps/pthread/aio_notify.c: Likewise.
21339 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
21340 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
21341 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
21342 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
21343 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
21344
21345 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
21346
21347 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
21348 version if bit_Slow_SSE4_2 is set.
21349 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
21350 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
21351
21352 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21353
21354 [BZ #15867]
21355 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
21356 trampoline stack frame information.
21357 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
21358 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
21359 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
21360 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
21361 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
21362 * sysdeps/unix/sysv/linux/powerpc/init-first.c
21363 (_libc_vdso_platform_setup): Initialize the signal trampolines.
21364 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
21365 sa_flags value.
21366 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
21367 interrupting a syscall and set with option SA_SIGINFO.
21368
21369 2013-08-20 Joseph Myers <joseph@codesourcery.com>
21370
21371 [BZ #15531]
21372 * math/s_cproj.c (__cproj): Only return an infinity if one part of
21373 argument is infinite.
21374 * math/s_cprojf.c (__cprojf): Likewise.
21375 * math/s_cprojl.c (__cprojl): Likewise.
21376 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
21377 * math/libm-test.inc (cproj_test_data): Add more tests.
21378
21379 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
21380
21381 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
21382 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
21383 size. Use __ffs to determine corresponding shift.
21384
21385 2013-08-20 Joseph Myers <joseph@codesourcery.com>
21386 Roland McGrath <roland@hack.frob.com>
21387
21388 * Makefile (INSTALL): Remove trailing blank lines from output of
21389 makeinfo.
21390
21391 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21392
21393 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
21394 Align 32 bit compat elf_greg to 8 bytes.
21395
21396 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
21397
21398 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
21399
21400 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
21401
21402 * string/strcoll_l.c (coll_seq): New structure.
21403 (get_next_seq_cached): New function.
21404 (get_next_seq): New function.
21405 (do_compare): New function.
21406 (STRCOLL): Use GNU style definition. Simplify implementation
21407 by using get_next_seq, get_next_seq_cached and do_compare.
21408
21409 2013-08-16 Florian Weimer <fweimer@redhat.com>
21410
21411 [BZ #14699]
21412 CVE-2013-4237
21413 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
21414 member.
21415 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
21416 member.
21417 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
21418 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
21419 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
21420 conditional.
21421 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
21422 GETDENTS_64BIT_ALIGNED.
21423 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
21424 * manual/filesys.texi (Reading/Closing Directory): Document
21425 ENAMETOOLONG return value of readdir_r. Recommend readdir more
21426 strongly.
21427 * manual/conf.texi (Limits for Files): Add portability note to
21428 NAME_MAX, PATH_MAX.
21429 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
21430
21431 2013-08-13 Andreas Schwab <schwab@suse.de>
21432
21433 [BZ #15749]
21434 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
21435 of fabs.
21436 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
21437 LDBL_MAX_EXP >= 16384]: Add tests for it.
21438
21439 2013-08-12 David S. Miller <davem@davemloft.net>
21440
21441 * version.h (RELEASE): Set to "development".
21442 (VERSION): Set to "2.18.90".
21443 * NEWS: Add 2.19 section.
21444
21445 2013-08-03 David S. Miller <davem@davemloft.net>
21446
21447 * po/ko.po: Update Korean translation from translation project.
21448
21449 2013-08-01 David S. Miller <davem@davemloft.net>
21450
21451 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
21452 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
21453 Bilka.
21454
21455 2013-07-30 David S. Miller <davem@davemloft.net>
21456
21457 * po/fr.po: Update French translation from translation project.
21458
21459 2013-07-28 David S. Miller <davem@davemloft.net>
21460
21461 * po/cs.po: Update Czech translation from translation project.
21462
21463 * po/sv.po: Update Swedish translation from translation project.
21464
21465 2013-07-27 David S. Miller <davem@davemloft.net>
21466
21467 * po/eo.po: Update Esperanto translation from translation project.
21468
21469 * po/vi.po: Update Vietnamese translation from translation project.
21470
21471 * po/de.po: Update German translation from translation project.
21472
21473 2013-07-26 David S. Miller <davem@davemloft.net>
21474
21475 * po/bg.po: Update Bulgarian translation from translation project.
21476
21477 * po/nl.po: Update Dutch translation from translation project.
21478 * po/pl.po: Update Polish translation from translation project.
21479 * po/ru.po: Update Russian translation from translation project.
21480
21481 2013-07-24 David S. Miller <davem@davemloft.net>
21482
21483 * po/libc.pot: Update.
21484
21485 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21486
21487 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
21488 variable page size.
21489 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
21490 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
21491 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
21492
21493 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21494
21495 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
21496
21497 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
21498 Andreas Schwab <schwab@suse.de>
21499 Roland McGrath <roland@hack.frob.com>
21500 Joseph Myers <joseph@codesourcery.com>
21501 Carlos O'Donell <carlos@redhat.com>
21502
21503 [BZ #15755]
21504 * config.h.in: Define HAVE_PT_CHOWN.
21505 * config.make.in (build-pt-chown): New variable.
21506 * configure.in (--enable-pt_chown): New configure option.
21507 * configure: Regenerate.
21508 * login/Makefile: Include Makeconfig. Build pt_chown only if
21509 build-pt-chown is enabled.
21510 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
21511 pt_chown to fix pty ownership.
21512 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
21513 CLOSE_ALL_FDS.
21514 * manual/install.texi (Configuring and compiling): Mention
21515 --enable-pt_chown. Add @findex for grantpt.
21516 * INSTALL: Regenerate.
21517
21518 2013-07-20 David S. Miller <davem@davemloft.net>
21519
21520 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
21521 difference between 32-bit and 64-bit.
21522
21523 2013-07-15 Carlos O'Donell <carlos@redhat.com>
21524
21525 [BZ #15711]
21526 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
21527 Avoid system header dependency with -ffreestanding.
21528 ($(objpfx)bits/syscall%d): Likewise.
21529
21530 2013-07-13 David S. Miller <davem@davemloft.net>
21531
21532 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
21533 underflows from atanl/atan2l due to bug 15319.
21534 (casinh_test_data): Likewise.
21535
21536 2013-07-07 David S. Miller <davem@davemloft.net>
21537
21538 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
21539
21540 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
21541
21542 * sysdeps/i386/fpu/libm-test-ulps: Update.
21543 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21544
21545 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
21546
21547 * configure.in (--enable-lock-elision): Fix message text.
21548 * INSTALL: Regenerate.
21549 * configure: Regenerate.
21550
21551 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21552
21553 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21554
21555 2013-07-03 Andreas Jaeger <aj@suse.de>
21556
21557 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
21558 define.
21559 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
21560 (ptrace_peeksiginfo_args): Add.
21561 (__ptrace_peeksiginfo_flags): Add.
21562 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
21563 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
21564 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
21565
21566 2013-07-03 Allan McRae <allan@archlinux.org>
21567
21568 * sysdeps/i386/fpu/libm-test-ulps: Update.
21569
21570 2013-07-02 David S. Miller <davem@davemloft.net>
21571
21572 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21573
21574 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
21575
21576 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21577
21578 2013-07-02 Joseph Myers <joseph@codesourcery.com>
21579
21580 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
21581 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21582
21583 2013-07-02 Andi Kleen <ak@linux.intel.com>
21584
21585 * config.h.in (ENABLE_LOCK_ELISION): Add.
21586 * configure.in (--enable-lock-elision): Add option.
21587 * manual/install.texi: Document --enable lock elision.
21588 * configure: Regenerate
21589 * INSTALL: Regenerate.
21590
21591 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
21592
21593 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
21594 SSE4.2 strcasecmp for libc.a.
21595 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
21596
21597 2013-07-02 Joseph Myers <joseph@codesourcery.com>
21598
21599 [BZ #13304]
21600 * soft-fp/op-common.h (_FP_FMA): New macro.
21601 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
21602 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
21603 (_FP_MUL_MEAT_1_imm): ... here.
21604 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
21605 (_FP_MUL_MEAT_1_wide): ... here.
21606 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
21607 (_FP_MUL_MEAT_1_hard): ... here.
21608 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
21609 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
21610 (_FP_MUL_MEAT_2_wide): ... here.
21611 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
21612 (_FP_MUL_MEAT_2_wide_3mul): ... here.
21613 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
21614 (_FP_MUL_MEAT_2_gmp): ... here.
21615 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
21616 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
21617 (_FP_MUL_MEAT_4_wide): ... here.
21618 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
21619 (_FP_MUL_MEAT_4_gmp): ... here.
21620 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
21621 (_FP_WFRACBITS_DW_S): Likewise.
21622 (_FP_WFRACXBITS_DW_S): Likewise.
21623 (_FP_HIGHBIT_DW_S): Likewise.
21624 (FP_FMA_S): Likewise.
21625 (_FP_FRAC_HIGH_DW_S): Likewise.
21626 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
21627 (_FP_WFRACBITS_DW_D): Likewise.
21628 (_FP_WFRACXBITS_DW_D): Likewise.
21629 (_FP_HIGHBIT_DW_D): Likewise.
21630 (FP_FMA_D): Likewise.
21631 (_FP_FRAC_HIGH_DW_D): Likewise.
21632 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
21633 (_FP_WFRACBITS_DW_E): Likewise.
21634 (_FP_WFRACXBITS_DW_E): Likewise.
21635 (_FP_HIGHBIT_DW_E): Likewise.
21636 (FP_FMA_E): Likewise.
21637 (_FP_FRAC_HIGH_DW_E): Likewise.
21638 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
21639 (_FP_WFRACBITS_DW_Q): Likewise.
21640 (_FP_WFRACXBITS_DW_Q): Likewise.
21641 (_FP_HIGHBIT_DW_Q): Likewise.
21642 (FP_FMA_Q): Likewise.
21643 (_FP_FRAC_HIGH_DW_Q): Likewise.
21644 * soft-fp/fmasf4.c: New file.
21645 * soft-fp/fmadf4.c: Likewise.
21646 * soft-fp/fmatf4.c: Likewise.
21647
21648 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
21649
21650 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
21651 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
21652 Silvermont.
21653 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
21654 macro.
21655 (index_Slow_SSE4_2): Likewise.
21656 (index_Prefer_PMINUB_for_stringop): Likewise.
21657 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
21658 bit_Slow_SSE4_2 is set.
21659 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
21660 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
21661
21662 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
21663
21664 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
21665 rtld_global._dl_hwcap2.
21666 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
21667 POWER8.
21668 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
21669 POWER8 feature descriptions defined in _dl_hwcap2.
21670 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
21671 string handling for POWER8 feature bits.
21672 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
21673 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
21674 _dl_powerpc_cap_flags.
21675 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
21676 * sysdeps/powerpc/rtld-global-offsets.sym
21677 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
21678 _dl_hwcap2 in the rtld_global_ro structure.
21679
21680 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
21681
21682 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
21683 hardware capabilities in support of AT_HWCAP2.
21684 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
21685 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
21686 GLRO(dl_hwcap2).
21687 (_dl_show_auxv): Add support for calling _dl_procinfo to display
21688 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
21689 explicitly the unknown a_type display mechanism is used.
21690 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
21691 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
21692 struct member.
21693 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
21694 to macro prototype for AT_HWCAP2 support.
21695 * sysdeps/i386/dl-procinfo.h: Likewise.
21696 * sysdeps/s390/dl-procinfo.h: Likewise.
21697 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
21698 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
21699 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
21700 return -1 for unknown a_type display fallback.
21701 * sysdeps/sparc/dl-procinfo.h: Likewise.
21702 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
21703 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
21704
21705 2013-06-28 Joseph Myers <joseph@codesourcery.com>
21706
21707 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
21708 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
21709
21710 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
21711
21712 [BZ #12492]
21713 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
21714 mprotect making __stack_prot writable.
21715
21716 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
21717 Joseph Myers <joseph@codesourcery.com>
21718
21719 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
21720 as being properly aligned.
21721
21722 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
21723
21724 * dlfcn/modstatic5.c: New file.
21725 * dlfcn/tststatic5.c: New file.
21726 * dlfcn/Makefile (tests): Add tststatic5.
21727 (tests-static): Likewise.
21728 (modules-names): Add modstatic5.
21729 (tststatic5-ENV): New variable.
21730 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
21731
21732 [BZ #15022]
21733 * elf/dl-support.c (_dl_main_map): New variable.
21734 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
21735 (_dl_nns, _dl_load_adds): Set to 1.
21736 (_dl_initial_searchlist): Refer to _dl_main_map.
21737 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
21738 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
21739 call to _dl_get_origin.
21740 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
21741 around call_map.
21742 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
21743 * dlfcn/modstatic3.c: New file.
21744 * dlfcn/tststatic3.c: New file.
21745 * dlfcn/tststatic4.c: New file.
21746 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
21747 (tests-static): Likewise.
21748 (modules-names): Add modstatic3.
21749 (tststatic3-ENV, tststatic4-ENV): New variables.
21750 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
21751 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
21752
21753 2013-06-26 Joseph Myers <joseph@codesourcery.com>
21754
21755 * configure.in (CC): Require GCC version 4.4 or later.
21756 * configure: Regenerated.
21757 * manual/install.texi (Tools for Compilation): Update GCC version
21758 requirement.
21759 * INSTALL: Regenerated.
21760
21761 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
21762
21763 [BZ #15674]
21764 * string/test-memcmp.c (check2): New.
21765 (main): Call check2.
21766
21767 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
21768
21769 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
21770
21771 [BZ #15022]
21772 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
21773 over to...
21774 (dl_open_worker) [!SHARED]: ... here.
21775
21776 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
21777
21778 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
21779
21780 2013-06-25 Richard Henderson <rth@redhat.com>
21781
21782 * locale/programs/locarchive.c: Include <libc-internal.h>
21783
21784 2013-06-25 Joseph Myers <joseph@codesourcery.com>
21785
21786 * manual/texinfo.tex: Update to version 2013-06-21.17, with
21787 trailing whitespace removed.
21788
21789 2013-06-24 Mike Frysinger <vapier@gentoo.org>
21790
21791 [BZ #10283]
21792 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
21793 * locale/programs/locarchive.c: Include libc-mmap.h.
21794 (prepare_address_space): Take two new outputs (the mmap base and len).
21795 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
21796 values.
21797 (create_archive): Declare new mmap base and len values for
21798 prepare_address_space, and store the result in ah.
21799 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
21800 (enlarge_archive): If ah->mmap_base is not NULL, use that and
21801 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
21802 Declare new mmap base and len values for
21803 prepare_address_space, and store the result in new_ah.
21804 (open_archive): Declare new mmap base and len values for
21805 prepare_address_space, and store the result in ah.
21806 (close_archive): If ah->mmap_base is not NULL, use that and
21807 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
21808 * sysdeps/generic/libc-mmap.h: New file.
21809
21810 2013-06-24 Mike Frysinger <vapier@gentoo.org>
21811
21812 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
21813 (ALIGN_UP): Likewise.
21814 (PTR_ALIGN_DOWN): Likewise.
21815 (PTR_ALIGN_UP): Likewise.
21816
21817 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
21818
21819 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
21820 entry mapped to PPC_PLATFORM_POWER8.
21821 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
21822 POWER8.
21823 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
21824 (_dl_string_platform): Add case for exporting platform position for
21825 POWER8.
21826 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
21827 search path to sysdeps/powerpc/powerpc32/power8 directory.
21828 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
21829 search path to sysdeps/powerpc/powerpc64/power8 directory.
21830 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
21831 power7 directories.
21832 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
21833 power7 directories.
21834
21835 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
21836
21837 * INSTALL: Regenerate.
21838
21839 * nscd/connections.c (nscd_init): Fix comment.
21840
21841 2013-06-22 Joseph Myers <joseph@codesourcery.com>
21842
21843 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
21844
21845 [BZ #15667]
21846 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
21847 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
21848
21849 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
21850
21851 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
21852 DL_DST_REQ_STATIC.
21853 (DL_DST_REQ_STATIC): Remove macro.
21854
21855 2013-06-21 Joseph Myers <joseph@codesourcery.com>
21856
21857 [BZ #7006]
21858 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
21859 with a shift of 0 bits.
21860
21861 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
21862
21863 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
21864 $(tststatic-ENV).
21865
21866 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
21867
21868 [BZ #15655]
21869 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
21870
21871 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21872
21873 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
21874 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
21875 accepts -fno-tree-loop-distribute-patterns.
21876 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
21877 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
21878 recursive call.
21879 * string/memset.c (memset): Likewise.
21880 * string/test-memmove.c (simple_memmove): Disable loop transformation
21881 to library calls.
21882 * string/test-memset.c (simple_memset): Likewise.
21883 * benchtests/bench-memmove.c (simple_memmove): Likewise.
21884 * benchtests/bench-memset.c (simple_memset): Likewise.
21885 * configure: Regenerated.
21886
21887 2013-06-20 Joseph Myers <joseph@codesourcery.com>
21888
21889 * math/test-misc.c (main): Ignore fesetround failure when failures
21890 of subsequent rounding tests would be ignored.
21891
21892 [BZ #15654]
21893 * math/fedisblxcpt.c (fedisableexcept): Return 0.
21894 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
21895 * math/fegetenv.c (__fegetenv): Return 0.
21896 * math/fegetexcept.c (fegetexcept): Return 0.
21897 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
21898 FE_TONEAREST.
21899 * math/feholdexcpt.c (feholdexcept): Return 0.
21900 * math/fesetenv.c (__fesetenv): Return 0.
21901 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
21902 argument FE_TONEAREST.
21903 * math/feupdateenv.c (__feupdateenv): Return 0.
21904 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
21905
21906 2013-06-18 Roland McGrath <roland@hack.frob.com>
21907
21908 * elf/rtld-Rules (rtld-compile-command.S): New variable.
21909 (rtld-compile-command.s, rtld-compile-command.c): New variables.
21910 ($(objpfx)rtld-%.os rules): Use them.
21911
21912 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21913
21914 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
21915 fields.
21916
21917 2013-06-17 Roland McGrath <roland@hack.frob.com>
21918
21919 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
21920 length of target pattern, then descending length of dependency pattern.
21921 * configure.in (AWK): Require gawk 3.1.2 or newer.
21922 * manual/install.texi (Tools for Compilation): Say that we do.
21923 * configure: Regenerated.
21924
21925 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
21926 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
21927 * scripts/sysd-rules.awk: ... this new script.
21928 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
21929 than a glob-style pattern.
21930
21931 2013-06-17 Joseph Myers <joseph@codesourcery.com>
21932
21933 * math/test-misc.c (main): Do not treat incorrectly rounded
21934 conversions as failure unless ROUNDING_TESTS passes.
21935
21936 2013-06-15 Joseph Myers <joseph@codesourcery.com>
21937
21938 [BZ #15631]
21939 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
21940 restore exception state around main square root computation, then
21941 check for inexactness explicitly.
21942
21943 * math/libm-test.inc (fma_test_data): Add another test.
21944
21945 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
21946
21947 * manual/threads.texi (Non-POSIX Extensions): New document
21948 node. Document pthread_getattr_default_np and
21949 pthread_setattr_default_np.
21950
21951 * Versions.def (libpthread): Add GLIBC_2.18.
21952 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
21953 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
21954 Likewise.
21955 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
21956 Likewise.
21957 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
21958 Likewise.
21959 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
21960 Likewise.
21961 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
21962 Likewise.
21963 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
21964 Likewise.
21965 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
21966 Likewise.
21967 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
21968 Likewise.
21969 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
21970 Likewise.
21971
21972 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
21973
21974 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21975 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
21976
21977 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
21978 H.J. Lu <hjl.tools@gmail.com>
21979
21980 [BZ #15627]
21981 * sysdeps/x86_64/rtld-memset.c: Remove file.
21982 * sysdeps/x86_64/rtld-memset.S: New file.
21983
21984 2013-06-14 Joseph Myers <joseph@codesourcery.com>
21985
21986 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
21987 (test_in_one_mode): Take arguments for whether the rounding mode
21988 is supported for each floating-point type.
21989 (do_test): Pass new arguments to test_in_one_mode using
21990 ROUNDING_TESTS.
21991
21992 2013-06-13 Roland McGrath <roland@hack.frob.com>
21993
21994 * posix/tst-waitid.c (do_test): Distinguish different instances of
21995 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
21996 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
21997 before entering the kernel for waitpid.
21998
21999 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
22000
22001 * NEWS: Fix note on clock function precision. Text by Roland
22002 McGrath.
22003
22004 2013-06-13 Roland McGrath <roland@hack.frob.com>
22005
22006 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
22007 it into place only when and if the sanity check passes.
22008
22009 2013-06-13 Joseph Myers <joseph@codesourcery.com>
22010
22011 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
22012 output for whether conversion result is exact. Take argument
22013 indicating whether type is IBM long double.
22014 (round_for_all): Change need_exact field to ibm_ld.
22015 * stdlib/tst-strtod-round.c (struct exactness): New type.
22016 (struct test): Change bool ld_ok field to struct exactness exact.
22017 (TEST): Update all definitions for change to field.
22018 (tests): Regenerate array contents.
22019 (test_in_one_mode): Take pointer to new field instead of old ld_ok
22020 field value. Check for IBM long double here.
22021 (do_test): Update calls to test_in_one_mode.
22022
22023 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
22024
22025 [BZ #12515]
22026 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
22027 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
22028
22029 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22030
22031 [BZ #15605]
22032 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
22033 generated by the compiler on loop optimizations.
22034 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
22035 general definitions.
22036
22037 2013-06-12 Joseph Myers <joseph@codesourcery.com>
22038
22039 * math/bug-nextafter.c: Include <math-tests.h>.
22040 (main): Only test for exceptions if EXCEPTION_TESTS is true for
22041 the relevant type.
22042 * math/bug-nexttoward.c: Include <math-tests.h>.
22043 (main): Only test for exceptions if EXCEPTION_TESTS is true for
22044 the relevant type.
22045 * math/test-misc.c: Include <math-tests.h>.
22046 (main): Only test for exceptions if EXCEPTION_TESTS is true for
22047 the relevant type.
22048
22049 2013-06-12 Andreas Jaeger <aj@suse.de>
22050
22051 * po/ia.po: Update Interlingua translation from translation
22052 project.
22053
22054 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
22055
22056 * include/fenv.h: Include stdbool.h.
22057 (struct rm_ctx): New structure.
22058 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
22059 Define macro.
22060 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
22061 (SET_RESTORE_ROUNDF): Likewise.
22062 (SET_RESTORE_ROUNDL): Likewise.
22063 (SET_RESTORE_ROUND_NOEX): Likewise.
22064 (SET_RESTORE_ROUND_NOEXF): Likewise.
22065 (SET_RESTORE_ROUND_NOEXL): Likewise.
22066 (SET_RESTORE_ROUND_53BIT): Likewise.
22067 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
22068 (libc_feresetround_noexf_ctx): Likewise.
22069 (libc_feresetround_noexl_ctx): Likewise.
22070 (libc_feholdsetround_53bit_ctx): Likewise.
22071 (libc_feresetround_53bit_ctx): Likewise.
22072 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
22073 (libc_feholdexcept_setround_sse_ctx): New function.
22074 (libc_fesetenv_sse_ctx): Likewise.
22075 (libc_feupdateenv_sse_ctx): Likewise.
22076 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
22077 (libc_feholdexcept_setround_387_ctx): Likewise.
22078 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
22079 (libc_feholdsetround_387_prec_ctx): Likewise.
22080 (libc_feholdsetround_387_ctx): Likewise.
22081 (libc_feholdsetround_387_53bit_ctx): Likewise.
22082 (libc_feholdsetround_sse_ctx): Likewise.
22083 (libc_feresetround_sse_ctx): Likewise.
22084 (libc_feresetround_387_ctx): Likewise.
22085 (libc_feupdateenv_387_ctx): Likewise.
22086 (libc_feholdexcept_setroundf_ctx): Define macro.
22087 (libc_fesetenvf_ctx): Likewise.
22088 (libc_feupdateenvf_ctx): Likewise.
22089 (libc_feholdsetroundf_ctx): Likewise.
22090 (libc_feresetroundf_ctx): Likewise.
22091 (libc_feholdexcept_setround_ctx): Likewise.
22092 (libc_fesetenv_ctx): Likewise.
22093 (libc_feupdateenv_ctx): Likewise.
22094 (libc_feholdsetround_ctx): Likewise.
22095 (libc_feresetround_ctx): Likewise.
22096 (libc_feholdexcept_setroundl_ctx): Likewise.
22097 (libc_feupdateenvl_ctx): Likewise.
22098 (libc_feholdsetroundl_ctx): Likewise.
22099 (libc_feresetroundl_ctx): Likewise.
22100 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
22101 (libc_feresetround_53bit_ctx): Likewise.
22102
22103 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
22104
22105 * locale/iso-639.def: Convert to UTF-8.
22106
22107 2013-06-11 Joseph Myers <joseph@codesourcery.com>
22108
22109 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
22110 (EXCEPTION_TESTS_double): Likewise.
22111 (EXCEPTION_TESTS_long_double): Likewise.
22112 (EXCEPTION_TESTS): Likewise.
22113 * math/libm-test.inc (test_exceptions): Only test exceptions if
22114 EXCEPTION_TESTS (FLOAT).
22115
22116 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
22117
22118 * benchtests/Makefile (string-bench): Add strcpy_chk and
22119 stpcpy_chk.
22120 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
22121 * benchtests/bench-stpcpy_chk.c: New file.
22122 * benchtests/bench-strcpy_chk-ifunc.c: New file.
22123 * benchtests/bench-strcpy_chk.c: New file.
22124 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
22125 code.
22126 (do_test): Likewise.
22127
22128 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
22129
22130 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
22131 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
22132 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
22133 with tabs where appropriate.
22134 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
22135 dl-procinfo.h.
22136 [PPC_PLATFORM_PPC440]: Likewise.
22137 [PPC_PLATFORM_PPC464]: Likewise.
22138 [PPC_PLATFORM_PPC476]: Likewise.
22139 (_dl_string_platform): Add support for detecting ppc405, ppc440,
22140 ppc464, and ppc476 platform strings merging from ports/
22141 dl-procinfo.h.
22142
22143 2013-06-11 Andreas Schwab <schwab@suse.de>
22144
22145 [BZ #14991]
22146 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
22147 (from_ucs4_idx): Regenerate.
22148 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
22149 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
22150 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
22151 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
22152 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
22153 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
22154 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
22155 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
22156 from FROM_LOOP and TO_LOOP specific macros.
22157 (BODY): Handle combining characters.
22158 * iconvdata/BIG5HKSCS.irreversible: Update.
22159 * iconvdata/BIG5HKSCS.precomposed: New file.
22160 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
22161 characters.
22162 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
22163
22164 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
22165
22166 * include/sys/time.h: Fix indentation and add copyright header.
22167
22168 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
22169 (do_test): Likewise.
22170 * string/test-memchr.c (do_one_test): Likewise.
22171 (do_test): Likewise.
22172 * string/test-memcmp.c (do_one_test): Likewise.
22173 (do_test): Likewise.
22174 * string/test-memcpy.c (do_one_test): Likewise.
22175 (do_test): Likewise.
22176 * string/test-memmem.c (do_one_test): Likewise.
22177 (do_test): Likewise.
22178 (do_random_tests): Likewise.
22179 * string/test-memmove.c (do_one_test): Likewise.
22180 (do_test): Likewise.
22181 * string/test-memset.c (do_one_test): Likewise.
22182 (do_test): Likewise.
22183 * string/test-rawmemchr.c (do_one_test): Likewise.
22184 (do_test): Likewise.
22185 * string/test-strcasecmp.c (do_one_test): Likewise.
22186 (do_test): Likewise.
22187 * string/test-strcasestr.c (do_one_test): Likewise.
22188 (do_test): Likewise.
22189 * string/test-strcat.c (do_one_test): Likewise.
22190 (do_test): Likewise.
22191 * string/test-strchr.c (do_one_test): Likewise.
22192 (do_test): Likewise.
22193 * string/test-strcmp.c (do_one_test): Likewise.
22194 (do_test): Likewise.
22195 * string/test-strcpy.c (do_one_test): Likewise.
22196 (do_test): Likewise.
22197 * string/test-string.h: Likewise.
22198 (test_init): Likewise.
22199 * string/test-strlen.c (do_one_test): Likewise.
22200 (do_test): Likewise.
22201 * string/test-strncasecmp.c (do_one_test): Likewise.
22202 (do_test): Likewise.
22203 * string/test-strncat.c (do_one_test): Likewise.
22204 (do_test): Likewise.
22205 * string/test-strncmp.c (do_one_test): Likewise.
22206 (do_test_limit): Likewise.
22207 (do_test): Likewise.
22208 * string/test-strncpy.c (do_one_test): Likewise.
22209 (do_test): Likewise.
22210 * string/test-strnlen.c (do_one_test): Likewise.
22211 (do_test): Likewise.
22212 * string/test-strpbrk.c (do_one_test): Likewise.
22213 (do_test): Likewise.
22214 * string/test-strrchr.c (do_one_test): Likewise.
22215 (do_test): Likewise.
22216 * string/test-strspn.c (do_one_test): Likewise.
22217 (do_test): Likewise.
22218 * string/test-strstr.c (do_one_test): Likewise.
22219 (do_test): Likewise.
22220
22221 * benchtests/Makefile (string-bench): Add string benchmarks.
22222 * benchtests/bench-bcopy-ifunc.c: New file.
22223 * benchtests/bench-bcopy.c: New file.
22224 * benchtests/bench-bzero-ifunc.c: New file.
22225 * benchtests/bench-bzero.c: New file.
22226 * benchtests/bench-memccpy-ifunc.c: New file.
22227 * benchtests/bench-memccpy.c: New file.
22228 * benchtests/bench-memchr-ifunc.c: New file.
22229 * benchtests/bench-memchr.c: New file.
22230 * benchtests/bench-memcmp-ifunc.c: New file.
22231 * benchtests/bench-memcmp.c: New file.
22232 * benchtests/bench-memmem-ifunc.c: New file.
22233 * benchtests/bench-memmem.c: New file.
22234 * benchtests/bench-memmove-ifunc.c: New file.
22235 * benchtests/bench-memmove.c: New file.
22236 * benchtests/bench-mempcpy-ifunc.c: New file.
22237 * benchtests/bench-mempcpy.c: New file.
22238 * benchtests/bench-memset-ifunc.c: New file.
22239 * benchtests/bench-memset.c: New file.
22240 * benchtests/bench-rawmemchr-ifunc.c: New file.
22241 * benchtests/bench-rawmemchr.c: New file.
22242 * benchtests/bench-stpcpy-ifunc.c: New file.
22243 * benchtests/bench-stpcpy.c: New file.
22244 * benchtests/bench-stpncpy-ifunc.c: New file.
22245 * benchtests/bench-stpncpy.c: New file.
22246 * benchtests/bench-strcasecmp-ifunc.c: New file.
22247 * benchtests/bench-strcasecmp.c: New file.
22248 * benchtests/bench-strcasestr-ifunc.c: New file.
22249 * benchtests/bench-strcasestr.c: New file.
22250 * benchtests/bench-strcat-ifunc.c: New file.
22251 * benchtests/bench-strcat.c: New file.
22252 * benchtests/bench-strchr-ifunc.c: New file.
22253 * benchtests/bench-strchr.c: New file.
22254 * benchtests/bench-strchrnul-ifunc.c: New file.
22255 * benchtests/bench-strchrnul.c: New file.
22256 * benchtests/bench-strcmp-ifunc.c: New file.
22257 * benchtests/bench-strcmp.c: New file.
22258 * benchtests/bench-strcpy-ifunc.c: New file.
22259 * benchtests/bench-strcpy.c: New file.
22260 * benchtests/bench-strcspn-ifunc.c: New file.
22261 * benchtests/bench-strcspn.c: New file.
22262 * benchtests/bench-strlen-ifunc.c: New file.
22263 * benchtests/bench-strlen.c: New file.
22264 * benchtests/bench-strncasecmp-ifunc.c: New file.
22265 * benchtests/bench-strncasecmp.c: New file.
22266 * benchtests/bench-strncat-ifunc.c: New file.
22267 * benchtests/bench-strncat.c: New file.
22268 * benchtests/bench-strncmp-ifunc.c: New file.
22269 * benchtests/bench-strncmp.c: New file.
22270 * benchtests/bench-strncpy-ifunc.c: New file.
22271 * benchtests/bench-strncpy.c: New file.
22272 * benchtests/bench-strnlen-ifunc.c: New file.
22273 * benchtests/bench-strnlen.c: New file.
22274 * benchtests/bench-strpbrk-ifunc.c: New file.
22275 * benchtests/bench-strpbrk.c: New file.
22276 * benchtests/bench-strrchr-ifunc.c: New file.
22277 * benchtests/bench-strrchr.c: New file.
22278 * benchtests/bench-strspn-ifunc.c: New file.
22279 * benchtests/bench-strspn.c: New file.
22280 * benchtests/bench-strstr-ifunc.c: New file.
22281 * benchtests/bench-strstr.c: New file.
22282
22283 * benchtests/Makefile: Disable parallel execution of targets.
22284 (string-bench): Add memcpy.
22285 (benchset): New variable to store a list of benchmark sets.
22286 (bench-func): Renamed from bench.
22287 (bench-set): New target.
22288 (bench): Depend on bench-func and bench-set.
22289 * benchtests/README: Add section on benchmark sets.
22290 * benchtests/bench-memcpy-ifunc.c: New file.
22291 * benchtests/bench-memcpy.c: New file.
22292 * benchtests/bench-string.h: New file.
22293
22294 2013-06-11 Andreas Schwab <schwab@suse.de>
22295
22296 [BZ #15577]
22297 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
22298 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
22299 values in the triple.
22300 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
22301 terminator in the group key.
22302
22303 2013-06-11 Andreas Jaeger <aj@suse.de>
22304
22305 * po/zh_TW.po: Update Chinese (traditional) translation from
22306 translation project.
22307
22308 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
22309
22310 * include/time.h (__clock_gettime): Add libc_hidden_proto.
22311 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
22312 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
22313 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
22314 (clock_getcpuclockid): Likewise.
22315 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
22316 Add weak_alias and libc_hidden_def.
22317 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
22318 * rt/clock_gettime.c (clock_gettime): Rename to
22319 __clock_gettime. Add weak_alias and libc_hidden_def.
22320 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
22321 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
22322 __clock_nanosleep. Add weak_alias and libc_hidden_def.
22323 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
22324 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
22325 Likewise.
22326 * rt/clock_settime.c (clock_settime): Rename to
22327 __clock_settime. Add weak_alias and libc_hidden_def.
22328 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
22329
22330 2013-06-10 Joseph Myers <joseph@codesourcery.com>
22331
22332 * mach/err_boot.sub: Remove trailing whitespace.
22333 * mach/err_ipc.sub: Likewise.
22334 * mach/err_mach.sub: Likewise.
22335
22336 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
22337 (ROUNDING_TESTS_double): Likewise.
22338 (ROUNDING_TESTS_long_double): Likewise.
22339 (ROUNDING_TESTS): Likewise.
22340 * math/libm-test.inc: Include <math-tests.h>.
22341 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
22342 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
22343 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
22344 (IF_ROUND_INIT_FE_UPWARD): Likewise.
22345
22346 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
22347
22348 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
22349 of assigning.
22350
22351 2013-06-08 Joseph Myers <joseph@codesourcery.com>
22352
22353 * sysdeps/gnu/errlist.awk: Do not generate space at end of
22354 otherwise empty TRANS lines.
22355 * sysdeps/gnu/errlist.c: Regenerated.
22356
22357 * catgets/gencat.c (error_print): Use (void) in function
22358 definition.
22359 * crypt/crypt_util.c (__init_des): Likewise.
22360 * crypt/speeds.c (Stop): Likewise.
22361 (main): Likewise.
22362 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
22363 * inet/ruserpass.c (token): Likewise.
22364 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
22365 * intl/localealias.c (extend_alias_table): Likewise.
22366 * intl/plural-exp.c (init_germanic_plural): Likewise.
22367 * libio/fcloseall.c (__fcloseall): Likewise.
22368 * libio/genops.c (_IO_flush_all): Likewise.
22369 (_IO_flush_all_linebuffered): Likewise.
22370 (_IO_cleanup): Likewise.
22371 (_IO_iter_begin): Likewise.
22372 (_IO_iter_end): Likewise.
22373 (_IO_list_lock): Likewise.
22374 (_IO_list_unlock): Likewise.
22375 (_IO_list_resetlock): Likewise.
22376 * libio/getchar.c (getchar): Likewise.
22377 * libio/getchar_u.c (getchar_unlocked): Likewise.
22378 * libio/getwchar.c (getwchar): Likewise.
22379 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
22380 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
22381 * login/getpt.c (__getpt): Likewise.
22382 * login/tst-utmp.c (main): Likewise.
22383 * malloc/hooks.c (__malloc_check_init): Likewise.
22384 * malloc/malloc.c (__malloc_stats): Likewise.
22385 * malloc/mtrace.c (tr_break): Likewise.
22386 (mtrace): Likewise.
22387 (muntrace): Likewise.
22388 * misc/fstab.c (endfsent): Likewise.
22389 * misc/getclktck.c (__getclktck): Likewise.
22390 * misc/getdtsz.c (__getdtablesize): Likewise.
22391 * misc/gethostid.c (gethostid): Likewise.
22392 * misc/getpagesize.c (__getpagesize): Likewise.
22393 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
22394 (__get_nprocs): Likewise.
22395 (__get_phys_pages): Likewise.
22396 (__get_avphys_pages): Likewise.
22397 * misc/getttyent.c (getttyent): Likewise.
22398 (setttyent): Likewise.
22399 (endttyent): Likewise.
22400 * misc/getusershell.c (getusershell): Likewise.
22401 (endusershell): Likewise.
22402 (setusershell): Likewise.
22403 (initshells): Likewise.
22404 * misc/hsearch.c (__hdestroy): Likewise.
22405 * misc/sync.c (sync): Likewise.
22406 * misc/syslog.c (closelog_internal): Likewise.
22407 (closelog): Likewise.
22408 * misc/ttyslot.c (ttyslot): Likewise.
22409 * misc/vhangup.c (vhangup): Likewise.
22410 * posix/fork.c (__fork): Likewise.
22411 * posix/getegid.c (__getegid): Likewise.
22412 * posix/geteuid.c (__geteuid): Likewise.
22413 * posix/getgid.c (__getgid): Likewise.
22414 * posix/getpid.c (__getpid): Likewise.
22415 * posix/getppid.c (__getppid): Likewise.
22416 * posix/getuid.c (__getuid): Likewise.
22417 * posix/pause.c (pause): Likewise.
22418 * posix/setpgrp.c (setpgrp): Likewise.
22419 * posix/setsid.c (__setsid): Likewise.
22420 * posix/test-vfork.c (noop): Likewise.
22421 * resolv/gethnamaddr.c (_endhtent): Likewise.
22422 (_gethtent): Likewise.
22423 (ht_endhostent): Likewise.
22424 (gethostent): Likewise.
22425 (dns_service): Likewise.
22426 * stdlib/drand48.c (drand48): Likewise.
22427 * stdlib/lrand48.c (lrand48): Likewise.
22428 * stdlib/mrand48.c (mrand48): Likewise.
22429 * stdlib/rand.c (rand): Likewise.
22430 * stdlib/random.c (__random): Likewise.
22431 * stdlib/setenv.c (clearenv): Likewise.
22432 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
22433 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
22434 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
22435 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
22436 (__get_nprocs): Likewise.
22437 (__get_phys_pages): Likewise.
22438 (__get_avphys_pages): Likewise.
22439 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
22440 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
22441 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
22442 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
22443 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
22444 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
22445 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
22446 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
22447 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
22448 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
22449 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
22450 * sysdeps/mach/hurd/sync.c (sync): Likewise.
22451 * sysdeps/posix/clock.c (clock): Likewise.
22452 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
22453 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
22454 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
22455 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
22456 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
22457 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
22458 (__get_nprocs_conf): Likewise.
22459 (__get_phys_pages): Likewise.
22460 (__get_avphys_pages): Likewise.
22461 * time/clock.c (clock): Likewise.
22462 * time/tzset.c (__tzname_max): Likewise.
22463
22464 2013-06-07 Joseph Myers <joseph@codesourcery.com>
22465
22466 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
22467 (__bswap_32): Do not use "register".
22468 * crypt/crypt.c (_ufc_doit_r): Likewise.
22469 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
22470 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
22471 * gmon/gmon.c (__monstartup): Likewise.
22472 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
22473 * hurd/hurdmalloc.c (more_memory): Likewise.
22474 (malloc): Likewise.
22475 (free): Likewise.
22476 (realloc): Likewise.
22477 (malloc_fork_prepare): Likewise.
22478 (malloc_fork_parent): Likewise.
22479 (malloc_fork_child): Likewise.
22480 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
22481 (_svcauth_des): Likewise.
22482 * inet/inet_lnaof.c (inet_lnaof): Likewise.
22483 * inet/inet_net.c (inet_network): Likewise.
22484 * inet/inet_netof.c (inet_netof): Likewise.
22485 * inet/rcmd.c (__validuser2_sa): Likewise.
22486 * io/fts.c (fts_open): Likewise.
22487 (fts_load): Likewise.
22488 (fts_close): Likewise.
22489 (fts_read): Likewise.
22490 (fts_children): Likewise.
22491 (fts_build): Likewise.
22492 (fts_stat): Likewise.
22493 (fts_sort): Likewise.
22494 (fts_alloc): Likewise.
22495 (fts_lfree): Likewise.
22496 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
22497 (_IO_file_xsgetn): Likewise.
22498 (_IO_file_xsgetn_mmap): Likewise.
22499 * libio/iofopncook.c (_IO_cookie_read): Likewise.
22500 (_IO_cookie_write): Likewise.
22501 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
22502 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
22503 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
22504 * malloc/obstack.c (_obstack_begin): Likewise.
22505 (_obstack_begin_1): Likewise.
22506 (_obstack_newchunk): Likewise.
22507 (_obstack_allocated_p): Likewise.
22508 (obstack_free): Likewise.
22509 (_obstack_memory_used): Likewise.
22510 * misc/getttyent.c (getttynam): Likewise.
22511 (getttyent): Likewise.
22512 (skip): Likewise.
22513 (value): Likewise.
22514 * misc/getusershell.c (initshells): Likewise.
22515 * misc/syslog.c (__vsyslog_chk): Likewise.
22516 * misc/ttyslot.c (ttyslot): Likewise.
22517 * nis/nis_hash.c (__nis_hash): Likewise.
22518 * posix/fnmatch_loop.c (FCT): Likewise.
22519 * posix/getconf.c (print_all): Likewise.
22520 (main): Likewise.
22521 * posix/getopt.c (exchange): Likewise.
22522 * posix/glob.c (globfree): Likewise.
22523 (prefix_array): Likewise.
22524 (__glob_pattern_type): Likewise.
22525 * resolv/arpa/nameser.h (NS_GET16): Likewise.
22526 (NS_GET32): Likewise.
22527 (NS_PUT16): Likewise.
22528 (NS_PUT32): Likewise.
22529 * resolv/gethnamaddr.c (getanswer): Likewise.
22530 (gethostbyname2): Likewise.
22531 (gethostbyaddr): Likewise.
22532 (_gethtent): Likewise.
22533 (_gethtbyname2): Likewise.
22534 (_gethtbyaddr): Likewise.
22535 * resolv/ns_print.c (dst_s_get_int16): Likewise.
22536 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
22537 * resolv/res_init.c (__res_vinit): Likewise.
22538 (net_mask): Likewise.
22539 * resolv/res_mkquery.c (outchar): Likewise.
22540 (PRINT): Likewise.
22541 * stdio-common/printf_fp.c (outchar): Likewise.
22542 (PRINT): Likewise.
22543 * stdio-common/printf_fphex.c (outchar): Likewise.
22544 (PRINT): Likewise.
22545 * stdio-common/printf_size.c (outchar): Likewise.
22546 (PRINT): Likewise.
22547 * stdio-common/test_rdwr.c (main): Likewise.
22548 * stdio-common/tfformat.c (matches): Likewise.
22549 * stdio-common/vfprintf.c (outchar): Likewise.
22550 (printf_unknown): Likewise.
22551 (buffered_vfprintf): Likewise.
22552 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
22553 * stdio-common/xbug.c (AppendToBuffer): Likewise.
22554 (ReadFile): Likewise.
22555 * stdlib/qsort.c (SWAP): Likewise.
22556 (_quicksort): Likewise.
22557 * stdlib/setenv.c (__add_to_environ): Likewise.
22558 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
22559 * stdlib/strtol_l.c (__strtol_l): Likewise.
22560 * stdlib/tst-strtod.c (main): Likewise.
22561 * stdlib/tst-strtol.c (main): Likewise.
22562 * stdlib/tst-strtoll.c (main): Likewise.
22563 * string/bits/string2.h (__strcmp_cc): Likewise.
22564 (__strcmp_cg): Likewise.
22565 (__strcspn_c1): Likewise.
22566 (__strcspn_c2): Likewise.
22567 (__strcspn_c3): Likewise.
22568 (__strspn_c1): Likewise.
22569 (__strspn_c2): Likewise.
22570 (__strspn_c3): Likewise.
22571 (__strsep_1c): Likewise.
22572 (__strsep_2c): Likewise.
22573 (__strsep_3c): Likewise.
22574 * string/memccpy.c (__memccpy): Likewise.
22575 * string/stpcpy.c (__stpcpy): Likewise.
22576 * string/strcmp.c (strcmp): Likewise.
22577 * string/strrchr.c (strrchr): Likewise.
22578 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
22579 Likewise.
22580 * sysdeps/mach/hurd/getcwd.c
22581 (_hurd_canonicalize_directory_name_internal): Likewise.
22582 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
22583 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
22584 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
22585 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
22586 Likewise, in both definitions.
22587 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
22588 definitions.
22589 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
22590 64] (__bswap_64): Likewise.
22591 * time/test_time.c (main): Likewise.
22592 * time/tzfile.c (__tzfile_read): Likewise.
22593 (__tzfile_compute): Likewise.
22594 * time/tzset.c (__tzset_parse_tz): Likewise.
22595 (tzset_internal): Likewise.
22596 (compute_change): Likewise.
22597 * wcsmbs/wcscat.c (__wcscat): Likewise.
22598 * wcsmbs/wcschr.c (wcschr): Likewise.
22599 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
22600 * wcsmbs/wcscspn.c (wcscspn): Likewise.
22601 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
22602 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
22603 * wcsmbs/wcsspn.c (wcsspn): Likewise.
22604 * wcsmbs/wcsstr.c (wcsstr): Likewise.
22605 * wcsmbs/wmemchr.c (wmemchr): Likewise.
22606 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
22607 * wcsmbs/wmemset.c (wmemset): Likewise.
22608
22609 2013-06-06 Joseph Myers <joseph@codesourcery.com>
22610
22611 * scripts/config.guess: Update to version 2013-05-16.
22612 * scripts/config.sub: Update to version 2013-04-24.
22613 * scripts/install-sh: Update to version 2011-11-20.07.
22614 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
22615 * scripts/move-if-change: Update to version 2012-01-06 07:23.
22616
22617 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
22618
22619 * debug/fgetws_u_chk.c: Fix leading whitespaces.
22620 * elf/sln.c: Likewise.
22621 * hurd/hurd/ioctl.h: Likewise.
22622 * hurd/hurdmalloc.c: Likewise.
22623 * hurd/xattr.c: Likewise.
22624 * include/shlib-compat.h: Likewise.
22625 * inet/ruserpass.c: Likewise.
22626 * libio/iofgets_u.c: Likewise.
22627 * libio/iofgetws_u.c: Likewise.
22628 * locale/programs/ld-identification.c: Likewise.
22629 * locale/programs/ld-time.c: Likewise.
22630 * mach/msg-destroy.c: Likewise.
22631 * nss/nss_files/files-netgrp.c: Likewise.
22632 * resolv/res_data.c: Likewise.
22633 * soft-fp/op-1.h: Likewise.
22634 * soft-fp/op-2.h: Likewise.
22635 * soft-fp/op-4.h: Likewise.
22636 * soft-fp/op-common.h: Likewise.
22637 * stdio-common/printf_fphex.c: Likewise.
22638 * stdlib/strtod_l.c: Likewise.
22639 * sunrpc/rpc/clnt.h: Likewise.
22640 * sysdeps/generic/framestate.c: Likewise.
22641 * sysdeps/i386/bsd-_setjmp.S: Likewise.
22642 * sysdeps/i386/bsd-setjmp.S: Likewise.
22643 * sysdeps/i386/__longjmp.S: Likewise.
22644 * sysdeps/i386/setjmp.S: Likewise.
22645 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
22646 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
22647 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
22648 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
22649 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
22650 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
22651 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
22652 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
22653 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
22654 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
22655 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
22656 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
22657 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
22658 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
22659 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
22660 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
22661 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
22662 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
22663 * sysdeps/ieee754/support.c: Likewise.
22664 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
22665 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
22666 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
22667 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
22668 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
22669 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
22670 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
22671 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
22672 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
22673 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
22674 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
22675 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
22676 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
22677 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
22678 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
22679 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
22680 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
22681 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
22682
22683 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
22684
22685 * posix/transbug.c: Remove executable mode.
22686
22687 2013-06-05 Joseph Myers <joseph@codesourcery.com>
22688
22689 * crypt/speeds.c: Remove trailing whitespace.
22690 * dlfcn/default.c: Likewise.
22691 * elf/ifuncdep2.c: Likewise.
22692 * elf/ifuncmain1.c: Likewise.
22693 * elf/ifuncmain1vis.c: Likewise.
22694 * elf/testobj.h: Likewise.
22695 * elf/tst-stackguard1.c: Likewise.
22696 * gmon/sys/gmon.h: Likewise.
22697 * hurd/hurdmsg.c: Likewise.
22698 * hurd/new-fd.c: Likewise.
22699 * hurd/ports-get.c: Likewise.
22700 * iconvdata/ibm1008_420.c: Likewise.
22701 * inet/tst-getni1.c: Likewise.
22702 * inet/tst-getni2.c: Likewise.
22703 * libio/ioungetc.c: Likewise.
22704 * libio/wfiledoalloc.c: Likewise.
22705 * manual/libm-err-tab.pl: Likewise.
22706 * math/w_dremf.c: Likewise.
22707 * misc/ftruncate.c: Likewise.
22708 * posix/bug-glob2.c: Likewise.
22709 * posix/tst-pcre.c: Likewise.
22710 * posix/wait4.c: Likewise.
22711 * resolv/README: Likewise.
22712 * resolv/res_debug.h: Likewise.
22713 * resolv/tst-inet_ntop.c: Likewise.
22714 * setjmp/bug269-setjmp.c: Likewise.
22715 * soft-fp/extended.h: Likewise.
22716 * soft-fp/op-1.h: Likewise.
22717 * soft-fp/op-2.h: Likewise.
22718 * soft-fp/op-4.h: Likewise.
22719 * soft-fp/op-8.h: Likewise.
22720 * soft-fp/testit.c: Likewise.
22721 * stdio-common/bug16.c: Likewise.
22722 * stdlib/random.c: Likewise.
22723 * sunrpc/rpcsvc/rquota.x: Likewise.
22724 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
22725 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
22726 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
22727 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
22728 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
22729 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
22730 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
22731 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
22732 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
22733 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
22734 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
22735 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
22736 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
22737 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
22738 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
22739 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
22740 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
22741 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
22742 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
22743 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
22744 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
22745 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
22746 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
22747 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
22748 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
22749 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
22750 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
22751 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
22752 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
22753 * sysdeps/ieee754/s_lib_version.c: Likewise.
22754 * sysdeps/mach/hurd/check_fds.c: Likewise.
22755 * sysdeps/mach/hurd/getsockname.c: Likewise.
22756 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
22757 * sysdeps/mach/hurd/recvfrom.c: Likewise.
22758 * sysdeps/powerpc/bits/link.h: Likewise.
22759 * sysdeps/powerpc/dl-procinfo.c: Likewise.
22760 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
22761 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
22762 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
22763 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
22764 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
22765 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
22766 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
22767 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
22768 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
22769 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
22770 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
22771 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
22772 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
22773 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
22774 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
22775 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
22776 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
22777 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
22778 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
22779 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
22780 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
22781 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
22782 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
22783 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
22784 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
22785 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
22786 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
22787 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
22788 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
22789 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
22790 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
22791 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
22792 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
22793 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
22794 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
22795 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
22796 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
22797 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
22798 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
22799 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
22800 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
22801 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
22802 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
22803 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
22804 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
22805 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
22806 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
22807 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
22808 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
22809 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
22810 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
22811 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
22812 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
22813 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
22814 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
22815 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
22816 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
22817 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
22818 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
22819 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
22820 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
22821 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
22822 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
22823 * sysdeps/powerpc/sysdep.h: Likewise.
22824 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
22825 * sysdeps/s390/s390-64/sub_n.S: Likewise.
22826 * sysdeps/sh/dl-trampoline.S: Likewise.
22827 * sysdeps/sh/memset.S: Likewise.
22828 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
22829 * sysdeps/sh/strlen.S: Likewise.
22830 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
22831 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
22832 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
22833 * sysdeps/sparc/sparc32/rem.S: Likewise.
22834 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
22835 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
22836 * sysdeps/sparc/sparc32/strchr.S: Likewise.
22837 * sysdeps/sparc/sparc32/udiv.S: Likewise.
22838 * sysdeps/sparc/sparc32/urem.S: Likewise.
22839 * sysdeps/sparc/sparc64/add_n.S: Likewise.
22840 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
22841 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
22842 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
22843 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
22844 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
22845 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
22846 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
22847 * sysdeps/unix/bsd/times.c: Likewise.
22848 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
22849 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
22850 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
22851 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
22852 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
22853 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
22854 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
22855 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
22856 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
22857 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
22858 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
22859 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
22860 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
22861 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
22862 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
22863 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
22864 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
22865 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
22866 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
22867 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
22868 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
22869 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
22870 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
22871 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
22872 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
22873 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
22874 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
22875 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
22876 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
22877 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
22878 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
22879 * sysdeps/x86_64/strcspn.S: Likewise.
22880
22881 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
22882
22883 * locale/C-translit.h: Revert #include <stdint.h> because this is a
22884 generated file. Regenerate properly from gen-translit.pl.
22885 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
22886 locale/C-translit.h.
22887
22888 2013-06-05 Andreas Schwab <schwab@suse.de>
22889
22890 [BZ #15100]
22891 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
22892 week as 6 instead of -1.
22893 * time/tst-strptime.c (day_tests): Add test case.
22894
22895 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
22896
22897 * sysdeps/generic/math_private.h
22898 (libc_feholdexcept_setround_53bit): Replace with
22899 libc_feholdsetround_53bit.
22900 (libc_feupdateenv_53bit): Replace with
22901 libc_feresetround_53bit.
22902 (SET_RESTORE_ROUND_53BIT): Adjust.
22903
22904 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
22905
22906 * string/test-strchrnul.c: Add copyright header.
22907
22908 * posix/tst-getaddrinfo4.c: Increase test timeout.
22909
22910 2013-06-03 Carlos O'Donell <carlos@redhat.com>
22911
22912 [BZ #15536]
22913 * math/libm-test.inc (MAX_EXP): Remove
22914 (MIN_EXP): Define.
22915 (ulp): Use MIN_EXP - MANT_DIG.
22916 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
22917
22918 2013-05-31 Carlos O'Donell <carlos@redhat.com>
22919
22920 * po/be.po: Revert last change.
22921 * po/zh_CN.po: Likewise.
22922 * po/header.pot: Likewise.
22923
22924 2013-05-31 Joseph Myers <joseph@codesourcery.com>
22925
22926 * Makefile ($(common-objpfx)linkobj/libc.so): Define
22927 link-libc-deps to empty as target-specific variable.
22928 * Makerules (link-libc-args): New variable.
22929 (libc-for-link): Likewise.
22930 (link-libc-deps): Likewise.
22931 (lib%.so): Depend on $(link-libc-deps). Link with
22932 $(link-libc-args).
22933 (build-module): Link with $(link-libc-args).
22934 (build-module-asneeded): Likewise.
22935 (build-module-helper-objlist): Filter out $(link-libc-deps) from
22936 list of objects.
22937 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
22938 target-specific variable.
22939 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
22940 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
22941 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
22942 libc.
22943 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
22944 libc and ld.so.
22945 ($(objpfx)libpcprofile.so): Likewise.
22946 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
22947 libc_nonshared.a.
22948 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
22949 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
22950 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
22951 $(link-libc-deps).
22952 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
22953 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
22954 * login/Makefile ($(objpfx)libutil.so): Likewise.
22955 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
22956 * math/Makefile ($(objpfx)libm.so): Likewise.
22957 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
22958 $(objpfx)libnsl.so): Define libc-for-link as target-specific
22959 variable instead of depending directly on libc.
22960 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
22961 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
22962 $(link-libc-deps).
22963 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
22964 libc.
22965 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
22966 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
22967 ($(objpfx)libanl.so): Likewise.
22968 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
22969 ld.so.
22970 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
22971 $(link-libc-deps).
22972 * sysdeps/i386/fpu/Makefile: Remove file.
22973 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
22974 ($(objpfx)libm.so): Remove dependency on ld.so.
22975
22976 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
22977
22978 [BZ # 15553]
22979 * nis/yp_xdr.c (XDRMAXNAME): Define.
22980 (XDRMAXRECORD): Define.
22981 (xdr_domainname): Use XDRMAXNAME.
22982 (xdr_mapname): Likewise.
22983 (xdr_peername): Likewise.
22984 (xdr_keydat): Use XDRMAXRECORD.
22985 (xdr_valdat): Likewise.
22986
22987 2013-05-30 Jeff Law <law@redhat.com>
22988
22989 [BZ #14256]
22990 * manual/errno.texi (ESTALE): Update to account for more than
22991 just NFS file systems.
22992 * sysdeps/gnu/errlist.c: Regenerated.
22993
22994 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
22995
22996 [BZ #15465]
22997 * elf/Makefile (tests): Add tst-null-argv.
22998 (modules-names): Add tst-null-argv-lib.
22999 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
23000 (tst-null-argv-ENV): Set environment for tst-null-argv.
23001 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
23002 (RTLD_PROGNAME): New macro.
23003 * elf/tst-null-argv.c: New test case.
23004 * elf/tst-null-argv-lib.c: Library for test case.
23005 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
23006 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
23007 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
23008 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
23009 * elf/dl-init.c (call_init): Likewise.
23010 (_dl_init): Likewise.
23011 * elf/dl-load.c (print_search_path): Likewise.
23012 (_dl_map_object): Likewise.
23013 * elf/dl-lookup.c (do_lookup_x): Likewise.
23014 (add_dependency): Likewise.
23015 (_dl_lookup_symbol_x): Likewise.
23016 (_dl_debug_bindings): Likewise.
23017 * elf/dl-open.c (_dl_show_scope): Likewise.
23018 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
23019 * elf/dl-version.c (match_symbol): Likewise.
23020 (_dl_check_map_versions): Likewise.
23021 * elf/rtld.c (dl_main): Likewise.
23022 (print_unresolved): Use RTLD_PROGNAME.
23023 (print_missing_version): Likewise.
23024 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
23025 (elf_machine_rela): Likewise.
23026 * sysdeps/powerpc/powerpc32/dl-machine.c
23027 (__process_machine_rela): Likewise.
23028 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
23029 Likewise.
23030 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
23031 Likewise.
23032 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
23033 Likewise.
23034 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
23035 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
23036 Likewise.
23037 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
23038 Likewise.
23039 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
23040
23041 2013-05-28 Carlos O'Donell <carlos@redhat.com>
23042
23043 * po/be.po: Add descriptive title.
23044 * po/zh_CN.po: Likewise.
23045 * po/header.pot: Likewise.
23046
23047 2013-05-28 Mike Frysinger <vapier@gentoo.org>
23048
23049 * locale/programs/locarchive.c (create_archive): Inlucde fname in
23050 error message.
23051 (enlarge_archive): Likewise.
23052
23053 2013-05-28 Ben North <ben@redfrontdoor.org>
23054
23055 * manual/arith.texi (frexp): It is the magnitude of the return
23056 value which lies in [0.5, 1), not the return value itself.
23057
23058 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23059
23060 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23061
23062 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
23063
23064 * stdio-common/bug26.c (main): Correct fscanf template.
23065
23066 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
23067 declare _dl_skip_args.
23068
23069 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
23070 Don't declare.
23071
23072 * manual/platform.texi: Add missing @end deftypefun.
23073
23074 2013-05-24 Joseph Myers <joseph@codesourcery.com>
23075
23076 [BZ #15529]
23077 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
23078 bit of mantissa of 2^16382.
23079 * math/libm-test.inc (hypot_test_data): Add more tests.
23080
23081 * math/libm-test.inc: Add drem and pow10 to list of tested
23082 functions.
23083 (pow10_test): New function.
23084 (drem_test): Likewise.
23085 (drem_test_tonearest): Likewise.
23086 (drem_test_towardzero): Likewise.
23087 (drem_test_downward): Likewise.
23088 (drem_test_upward): Likewise.
23089 (main): Call the new functions.
23090
23091 * math/libm-test.inc (finite_test_data): Remove.
23092 (finite_test): Run tests from isfinite_test_data.
23093 (gamma_test_data): Remove.
23094 (gamma_test): Run tests from lgamma_test_data.
23095 * sysdeps/i386/fpu/libm-test-ulps: Update.
23096 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23097
23098 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23099
23100 * manual/platform.texi: Add PowerPC PPR function set documentation.
23101 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
23102 implementation.
23103
23104 2013-05-24 Carlos O'Donell <carlos@redhat.com>
23105
23106 * math/libm-test.inc (MAX_EXP): Define.
23107 (ULPDIFF): Define.
23108 (ulp): New function.
23109 (check_float_internal): Use ULPDIFF.
23110 (cpow_test): Disable failing test.
23111 (check_ulp): Test ulp() implemetnation.
23112 (main): Call check_ulp before starting tests.
23113
23114 2013-05-24 Joseph Myers <joseph@codesourcery.com>
23115
23116 * math/gen-libm-test.pl (generate_testfile): Do not handle
23117 START_DATA and END_DATA.
23118 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
23119 END_DATA.
23120 (acos_tonearest_test_data): Likewise.
23121 (acos_towardzero_test_data): Likewise.
23122 (acos_downward_test_data): Likewise.
23123 (acos_upward_test_data): Likewise.
23124 (acosh_test_data): Likewise.
23125 (asin_test_data): Likewise.
23126 (asin_tonearest_test_data): Likewise.
23127 (asin_towardzero_test_data): Likewise.
23128 (asin_downward_test_data): Likewise.
23129 (asin_upward_test_data): Likewise.
23130 (asinh_test_data): Likewise.
23131 (atan_test_data): Likewise.
23132 (atanh_test_data): Likewise.
23133 (atan2_test_data): Likewise.
23134 (cabs_test_data): Likewise.
23135 (cacos_test_data): Likewise.
23136 (cacosh_test_data): Likewise.
23137 (carg_test_data): Likewise.
23138 (casin_test_data): Likewise.
23139 (casinh_test_data): Likewise.
23140 (catan_test_data): Likewise.
23141 (catanh_test_data): Likewise.
23142 (cbrt_test_data): Likewise.
23143 (ccos_test_data): Likewise.
23144 (ccosh_test_data): Likewise.
23145 (ceil_test_data): Likewise.
23146 (cexp_test_data): Likewise.
23147 (cimag_test_data): Likewise.
23148 (clog_test_data): Likewise.
23149 (clog10_test_data): Likewise.
23150 (conj_test_data): Likewise.
23151 (copysign_test_data): Likewise.
23152 (cos_test_data): Likewise.
23153 (cos_tonearest_test_data): Likewise.
23154 (cos_towardzero_test_data): Likewise.
23155 (cos_downward_test_data): Likewise.
23156 (cos_upward_test_data): Likewise.
23157 (cosh_test_data): Likewise.
23158 (cosh_tonearest_test_data): Likewise.
23159 (cosh_towardzero_test_data): Likewise.
23160 (cosh_downward_test_data): Likewise.
23161 (cosh_upward_test_data): Likewise.
23162 (cpow_test_data): Likewise.
23163 (cproj_test_data): Likewise.
23164 (creal_test_data): Likewise.
23165 (csin_test_data): Likewise.
23166 (csinh_test_data): Likewise.
23167 (csqrt_test_data): Likewise.
23168 (ctan_test_data): Likewise.
23169 (ctan_tonearest_test_data): Likewise.
23170 (ctan_towardzero_test_data): Likewise.
23171 (ctan_downward_test_data): Likewise.
23172 (ctan_upward_test_data): Likewise.
23173 (ctanh_test_data): Likewise.
23174 (ctanh_tonearest_test_data): Likewise.
23175 (ctanh_towardzero_test_data): Likewise.
23176 (ctanh_downward_test_data): Likewise.
23177 (ctanh_upward_test_data): Likewise.
23178 (erf_test_data): Likewise.
23179 (erfc_test_data): Likewise.
23180 (exp_test_data): Likewise.
23181 (exp_tonearest_test_data): Likewise.
23182 (exp_towardzero_test_data): Likewise.
23183 (exp_downward_test_data): Likewise.
23184 (exp_upward_test_data): Likewise.
23185 (exp10_test_data): Likewise.
23186 (exp2_test_data): Likewise.
23187 (expm1_test_data): Likewise.
23188 (fabs_test_data): Likewise.
23189 (fdim_test_data): Likewise.
23190 (finite_test_data): Likewise.
23191 (floor_test_data): Likewise.
23192 (fma_test_data): Likewise.
23193 (fma_towardzero_test_data): Likewise.
23194 (fma_downward_test_data): Likewise.
23195 (fma_upward_test_data): Likewise.
23196 (fmax_test_data): Likewise.
23197 (fmin_test_data): Likewise.
23198 (fmod_test_data): Likewise.
23199 (fpclassify_test_data): Likewise.
23200 (frexp_test_data): Likewise.
23201 (gamma_test_data): Likewise.
23202 (hypot_test_data): Likewise.
23203 (ilogb_test_data): Likewise.
23204 (isfinite_test_data): Likewise.
23205 (isgreater_test_data): Likewise.
23206 (isgreaterequal_test_data): Likewise.
23207 (isinf_test_data): Likewise.
23208 (isless_test_data): Likewise.
23209 (islessequal_test_data): Likewise.
23210 (islessgreater_test_data): Likewise.
23211 (isnan_test_data): Likewise.
23212 (isnormal_test_data): Likewise.
23213 (issignaling_test_data): Likewise.
23214 (isunordered_test_data): Likewise.
23215 (j0_test_data): Likewise.
23216 (j1_test_data): Likewise.
23217 (jn_test_data): Likewise.
23218 (ldexp_test_data): Likewise.
23219 (lgamma_test_data): Likewise.
23220 (lrint_test_data): Likewise.
23221 (lrint_tonearest_test_data): Likewise.
23222 (lrint_towardzero_test_data): Likewise.
23223 (lrint_downward_test_data): Likewise.
23224 (lrint_upward_test_data): Likewise.
23225 (llrint_test_data): Likewise.
23226 (llrint_tonearest_test_data): Likewise.
23227 (llrint_towardzero_test_data): Likewise.
23228 (llrint_downward_test_data): Likewise.
23229 (llrint_upward_test_data): Likewise.
23230 (log_test_data): Likewise.
23231 (log10_test_data): Likewise.
23232 (log1p_test_data): Likewise.
23233 (log2_test_data): Likewise.
23234 (logb_test_data): Likewise.
23235 (logb_downward_test_data): Likewise.
23236 (lround_test_data): Likewise.
23237 (llround_test_data): Likewise.
23238 (modf_test_data): Likewise.
23239 (nearbyint_test_data): Likewise.
23240 (nextafter_test_data): Likewise.
23241 (nexttoward_test_data): Likewise.
23242 (pow_test_data): Likewise.
23243 (pow_tonearest_test_data): Likewise.
23244 (pow_towardzero_test_data): Likewise.
23245 (pow_downward_test_data): Likewise.
23246 (pow_upward_test_data): Likewise.
23247 (remainder_test_data): Likewise.
23248 (remainder_tonearest_test_data): Likewise.
23249 (remainder_towardzero_test_data): Likewise.
23250 (remainder_downward_test_data): Likewise.
23251 (remainder_upward_test_data): Likewise.
23252 (remquo_test_data): Likewise.
23253 (rint_test_data): Likewise.
23254 (rint_tonearest_test_data): Likewise.
23255 (rint_towardzero_test_data): Likewise.
23256 (rint_downward_test_data): Likewise.
23257 (rint_upward_test_data): Likewise.
23258 (round_test_data): Likewise.
23259 (scalb_test_data): Likewise.
23260 (scalbn_test_data): Likewise.
23261 (scalbln_test_data): Likewise.
23262 (signbit_test_data): Likewise.
23263 (sin_test_data): Likewise.
23264 (sin_tonearest_test_data): Likewise.
23265 (sin_towardzero_test_data): Likewise.
23266 (sin_downward_test_data): Likewise.
23267 (sin_upward_test_data): Likewise.
23268 (sincos_test_data): Likewise.
23269 (sinh_test_data): Likewise.
23270 (sinh_tonearest_test_data): Likewise.
23271 (sinh_towardzero_test_data): Likewise.
23272 (sinh_downward_test_data): Likewise.
23273 (sinh_upward_test_data): Likewise.
23274 (sqrt_test_data): Likewise.
23275 (tan_test_data): Likewise.
23276 (tan_tonearest_test_data): Likewise.
23277 (tan_towardzero_test_data): Likewise.
23278 (tan_downward_test_data): Likewise.
23279 (tan_upward_test_data): Likewise.
23280 (tanh_test_data): Likewise.
23281 (tgamma_test_data): Likewise.
23282 (trunc_test_data): Likewise.
23283 (y0_test_data): Likewise.
23284 (y1_test_data): Likewise.
23285 (yn_test_data): Likewise.
23286 (significand_test_data): Likewise.
23287
23288 * math/gen-libm-test.pl (@functions): Remove variable.
23289 (generate_testfile): Don't handle START and END lines.
23290 * math/libm-test.inc (START): New macro.
23291 (END): Likewise.
23292 (END_COMPLEX): Likewise.
23293 (acos_test): Use END macro without arguments.
23294 (acos_test_tonearest): Likewise.
23295 (acos_test_towardzero): Likewise.
23296 (acos_test_downward): Likewise.
23297 (acos_test_upward): Likewise.
23298 (acosh_test): Likewise.
23299 (asin_test): Likewise.
23300 (asin_test_tonearest): Likewise.
23301 (asin_test_towardzero): Likewise.
23302 (asin_test_downward): Likewise.
23303 (asin_test_upward): Likewise.
23304 (asinh_test): Likewise.
23305 (atan_test): Likewise.
23306 (atanh_test): Likewise.
23307 (atan2_test): Likewise.
23308 (cabs_test): Likewise.
23309 (cacos_test): Use END_COMPLEX macro without arguments.
23310 (cacosh_test): Likewise.
23311 (carg_test): Use END macro without arguments.
23312 (casin_test): Use END_COMPLEX macro without arguments.
23313 (casinh_test): Likewise.
23314 (catan_test): Likewise.
23315 (catanh_test): Likewise.
23316 (cbrt_test): Use END macro without arguments.
23317 (ccos_test): Use END_COMPLEX macro without arguments.
23318 (ccosh_test): Likewise.
23319 (ceil_test): Use END macro without arguments.
23320 (cexp_test): Use END_COMPLEX macro without arguments.
23321 (cimag_test): Use END macro without arguments.
23322 (clog_test): Use END_COMPLEX macro without arguments.
23323 (clog10_test): Likewise.
23324 (conj_test): Likewise.
23325 (copysign_test): Use END macro without arguments.
23326 (cos_test): Likewise.
23327 (cos_test_tonearest): Likewise.
23328 (cos_test_towardzero): Likewise.
23329 (cos_test_downward): Likewise.
23330 (cos_test_upward): Likewise.
23331 (cosh_test): Likewise.
23332 (cosh_test_tonearest): Likewise.
23333 (cosh_test_towardzero): Likewise.
23334 (cosh_test_downward): Likewise.
23335 (cosh_test_upward): Likewise.
23336 (cpow_test): Use END_COMPLEX macro without arguments.
23337 (cproj_test): Likewise.
23338 (creal_test): Use END macro without arguments.
23339 (csin_test): Use END_COMPLEX macro without arguments.
23340 (csinh_test): Likewise.
23341 (csqrt_test): Likewise.
23342 (ctan_test): Likewise.
23343 (ctan_test_tonearest): Likewise.
23344 (ctan_test_towardzero): Likewise.
23345 (ctan_test_downward): Likewise.
23346 (ctan_test_upward): Likewise.
23347 (ctanh_test): Likewise.
23348 (ctanh_test_tonearest): Likewise.
23349 (ctanh_test_towardzero): Likewise.
23350 (ctanh_test_downward): Likewise.
23351 (ctanh_test_upward): Likewise.
23352 (erf_test): Use END macro without arguments.
23353 (erfc_test): Likewise.
23354 (exp_test): Likewise.
23355 (exp_test_tonearest): Likewise.
23356 (exp_test_towardzero): Likewise.
23357 (exp_test_downward): Likewise.
23358 (exp_test_upward): Likewise.
23359 (exp10_test): Likewise.
23360 (exp2_test): Likewise.
23361 (expm1_test): Likewise.
23362 (fabs_test): Likewise.
23363 (fdim_test): Likewise.
23364 (finite_test): Likewise.
23365 (floor_test): Likewise.
23366 (fma_test): Likewise.
23367 (fma_test_towardzero): Likewise.
23368 (fma_test_downward): Likewise.
23369 (fma_test_upward): Likewise.
23370 (fmax_test): Likewise.
23371 (fmin_test): Likewise.
23372 (fmod_test): Likewise.
23373 (fpclassify_test): Likewise.
23374 (frexp_test): Likewise.
23375 (gamma_test): Likewise.
23376 (hypot_test): Likewise.
23377 (ilogb_test): Likewise.
23378 (isfinite_test): Likewise.
23379 (isgreater_test): Likewise.
23380 (isgreaterequal_test): Likewise.
23381 (isinf_test): Likewise.
23382 (isless_test): Likewise.
23383 (islessequal_test): Likewise.
23384 (islessgreater_test): Likewise.
23385 (isnan_test): Likewise.
23386 (isnormal_test): Likewise.
23387 (issignaling_test): Likewise.
23388 (isunordered_test): Likewise.
23389 (j0_test): Likewise.
23390 (j1_test): Likewise.
23391 (jn_test): Likewise.
23392 (ldexp_test): Likewise.
23393 (lgamma_test): Likewise.
23394 (lrint_test): Likewise.
23395 (lrint_test_tonearest): Likewise.
23396 (lrint_test_towardzero): Likewise.
23397 (lrint_test_downward): Likewise.
23398 (lrint_test_upward): Likewise.
23399 (llrint_test): Likewise.
23400 (llrint_test_tonearest): Likewise.
23401 (llrint_test_towardzero): Likewise.
23402 (llrint_test_downward): Likewise.
23403 (llrint_test_upward): Likewise.
23404 (log_test): Likewise.
23405 (log10_test): Likewise.
23406 (log1p_test): Likewise.
23407 (log2_test): Likewise.
23408 (logb_test): Likewise.
23409 (logb_test_downward): Likewise.
23410 (lround_test): Likewise.
23411 (llround_test): Likewise.
23412 (modf_test): Likewise.
23413 (nearbyint_test): Likewise.
23414 (nextafter_test): Likewise.
23415 (nexttoward_test): Likewise.
23416 (pow_test): Likewise.
23417 (pow_test_tonearest): Likewise.
23418 (pow_test_towardzero): Likewise.
23419 (pow_test_downward): Likewise.
23420 (pow_test_upward): Likewise.
23421 (remainder_test): Likewise.
23422 (remainder_test_tonearest): Likewise.
23423 (remainder_test_towardzero): Likewise.
23424 (remainder_test_downward): Likewise.
23425 (remainder_test_upward): Likewise.
23426 (remquo_test): Likewise.
23427 (rint_test): Likewise.
23428 (rint_test_tonearest): Likewise.
23429 (rint_test_towardzero): Likewise.
23430 (rint_test_downward): Likewise.
23431 (rint_test_upward): Likewise.
23432 (round_test): Likewise.
23433 (scalb_test): Likewise.
23434 (scalbn_test): Likewise.
23435 (scalbln_test): Likewise.
23436 (signbit_test): Likewise.
23437 (sin_test): Likewise.
23438 (sin_test_tonearest): Likewise.
23439 (sin_test_towardzero): Likewise.
23440 (sin_test_downward): Likewise.
23441 (sin_test_upward): Likewise.
23442 (sincos_test): Likewise.
23443 (sinh_test): Likewise.
23444 (sinh_test_tonearest): Likewise.
23445 (sinh_test_towardzero): Likewise.
23446 (sinh_test_downward): Likewise.
23447 (sinh_test_upward): Likewise.
23448 (sqrt_test): Likewise.
23449 (tan_test): Likewise.
23450 (tan_test_tonearest): Likewise.
23451 (tan_test_towardzero): Likewise.
23452 (tan_test_downward): Likewise.
23453 (tan_test_upward): Likewise.
23454 (tanh_test): Likewise.
23455 (tgamma_test): Likewise.
23456 (trunc_test): Likewise.
23457 (y0_test): Likewise.
23458 (y1_test): Likewise.
23459 (yn_test): Likewise.
23460 (significand_test): Likewise.
23461
23462 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
23463
23464 [BZ #15381]
23465 * libio/genops.c (_IO_no_init): Initialize wide struct info.
23466
23467 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
23468
23469 [BZ #14894]
23470 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
23471 __ppc_mdoio and __ppc_mdoom.
23472 * manual/platform.texi: Document new functions __ppc_yield,
23473 __ppc_mdoio and __ppc_mdoom.
23474
23475 2013-05-22 Carlos O'Donell <carlos@redhat.com>
23476
23477 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
23478 (main): Mention "tls" pseudo-hwcap is legacy.
23479 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
23480
23481 2013-05-22 Joseph Myers <joseph@codesourcery.com>
23482
23483 * math/gen-libm-test.pl (parse_args): Output only string of
23484 arguments as text for test name, not full call or descriptions of
23485 tests for extra outputs.
23486 (generate_testfile): Do not pass function name to parse_args.
23487 Generate this_func variable from START.
23488 * math/libm-test.inc (struct test_f_f_data): Rename test_name
23489 field to arg_str.
23490 (struct test_ff_f_data): Likewise.
23491 (test_ff_f_data_nexttoward): Likewise.
23492 (struct test_fi_f_data): Likewise.
23493 (struct test_fl_f_data): Likewise.
23494 (struct test_if_f_data): Likewise.
23495 (struct test_fff_f_data): Likewise.
23496 (struct test_c_f_data): Likewise.
23497 (struct test_f_f1_data): Likewise. Remove field extra_name.
23498 (struct test_fF_f1_data): Likewise.
23499 (struct test_ffI_f1_data): Likewise.
23500 (struct test_c_c_data): Rename test_name field to arg_str.
23501 (struct test_cc_c_data): Likewise.
23502 (struct test_f_i_data): Likewise.
23503 (struct test_ff_i_data): Likewise.
23504 (struct test_f_l_data): Likewise.
23505 (struct test_f_L_data): Likewise.
23506 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
23507 and extra2_name.
23508 (COMMON_TEST_SETUP): New macro.
23509 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
23510 (COMMON_TEST_CLEANUP): Likewise.
23511 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
23512 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
23513 macros.
23514 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
23515 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
23516 macros.
23517 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
23518 (RUN_TEST_fff_f): Take argument string. Call new setup and
23519 cleanup macros.
23520 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
23521 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
23522 macros.
23523 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
23524 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
23525 macros.
23526 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
23527 (RUN_TEST_fF_f1): Take argument string. Call new setup and
23528 cleanup macros.
23529 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
23530 (RUN_TEST_fI_f1): Take argument string. Call new setup and
23531 cleanup macros.
23532 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
23533 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
23534 cleanup macros.
23535 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
23536 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
23537 macros.
23538 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
23539 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
23540 macros.
23541 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
23542 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
23543 macros.
23544 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
23545 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
23546 cleanup macros.
23547 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
23548 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
23549 cleanup macros.
23550 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
23551 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
23552 macros.
23553 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
23554 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
23555 cleanup macros.
23556 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
23557 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
23558 macros.
23559 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
23560 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
23561 macros.
23562 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
23563 (RUN_TEST_fFF_11): Take argument string. Call new setup and
23564 cleanup macros.
23565 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
23566
23567 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
23568
23569 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
23570 to _sifields.sigfault.
23571 (si_addr_lsb): Define new macro.
23572 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
23573 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
23574 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
23575
23576 2013-05-03 Carlos O'Donell <carlos at redhat.com>
23577
23578 [BZ #15441]
23579 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
23580 returns -1.
23581 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
23582 null return -1.
23583 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
23584 loading the domain.
23585
23586 2013-05-22 Joseph Myers <joseph@codesourcery.com>
23587
23588 * math/gen-libm-test.pl (parse_args): Do not include expected
23589 result in test name.
23590 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
23591 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
23592 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
23593 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
23594 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
23595 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23596
23597 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
23598
23599 * benchtests/Makefile: Sort function entries.
23600
23601 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
23602 tanh, asinh, acosh, atanh.
23603 * benchtests/acos-inputs: New file.
23604 * benchtests/acosh-inputs: New file.
23605 * benchtests/asin-inputs: New file.
23606 * benchtests/asinh-inputs: New file.
23607 * benchtests/atanh-inputs: New file.
23608 * benchtests/cosh-inputs: New file.
23609 * benchtests/log-inputs: New file.
23610 * benchtests/sinh-inputs: New file.
23611 * benchtests/tanh-inputs: New file.
23612
23613 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
23614
23615 [BZ #15339]
23616 * posix/tst-getaddrinfo4.c: New test.
23617 * posix/Makefile (tests): Add it.
23618
23619 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
23620
23621 [BZ #15339]
23622 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
23623 when no services were used.
23624 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
23625 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
23626
23627 2013-05-21 Andreas Schwab <schwab@suse.de>
23628
23629 [BZ #15014]
23630 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
23631 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
23632 successful.
23633 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
23634 redundant variable declarations and reallocation of buffer when
23635 parsing as IPv6 address. Always set NSS status when called from
23636 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
23637 buffer too small. Correct computation of needed size.
23638 * nss/Makefile (tests): Add test-digits-dots.
23639 * nss/test-digits-dots.c: New test.
23640
23641 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
23642
23643 * benchtests/Makefile: Remove instructions for adding
23644 benchmark tests.
23645 * benchtests/README: New file to explain how to execute and
23646 enhance the benchmark tests.
23647
23648 2013-05-21 Andreas Schwab <schwab@suse.de>
23649
23650 [BZ #15493]
23651 * setjmp/Makefile (tests): Add tst-sigsetjmp.
23652 * setjmp/tst-sigsetjmp.c: New test.
23653
23654 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
23655
23656 * sysdeps/x86_64/memset.S (memset): New implementation.
23657 (__bzero): Likewise.
23658 (__memset_tail): New function.
23659
23660 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
23661
23662 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
23663 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
23664 __memcpy_sse2_unaligned ifunc selection.
23665 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
23666 Add memcpy-sse2-unaligned.S.
23667 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
23668 Add: __memcpy_sse2_unaligned.
23669
23670 2013-05-19 Joseph Myers <joseph@codesourcery.com>
23671
23672 [BZ #15490]
23673 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
23674 math_force_eval before restoring floating-point envrionment.
23675 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
23676 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
23677 Likewise.
23678 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
23679 <math_private.h>.
23680 (__nearbyintl): Use math_force_eval before restoring
23681 floating-point environment.
23682 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
23683
23684 * math/gen-libm-test.pl (special_functions): Remove.
23685 (parse_args): Don't handle TEST_extra. Handle functions with no
23686 return value.
23687 * math/libm-test.inc (struct test_sincos_data): Replace with
23688 struct test_fFF_11_data.
23689 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
23690 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
23691 (sincos_test_data): Change element type to struct
23692 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
23693 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
23694 RUN_TEST_LOOP_sincos.
23695 * math/README.libm-test: Don't mention special handling of
23696 individual functions.
23697 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
23698 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
23699 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
23700 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
23701 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
23702 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23703
23704 * math/gen-libm-test.pl (get_variable): Remove function.
23705 (parse_args): Don't show pointer parameters to call in test
23706 names. Use "extra output N" in test names for extra outputs
23707 rather than naming variables.
23708
23709 2013-05-18 Joseph Myers <joseph@codesourcery.com>
23710
23711 [BZ #15488]
23712 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
23713 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
23714 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
23715 double tests.
23716 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
23717 disable.
23718 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
23719 check_long_double.
23720
23721 * math/gen-libm-test.pl (@tests): Remove variable.
23722 ($count): Likewise.
23723 (new_test): Remove function.
23724 (show_exceptions): New function.
23725 (special_functions): Use show_exceptions instead of new_test.
23726 (parse_args): Likewise.
23727 (generate_testfile): Pass only function name in generated call to
23728 print_max_error or print_complex_max_error.
23729 (get_ulps): Do not handle complex tests specially.
23730 (output_test): Rename to ...
23731 (get_all_ulps_for_test): ... this. Return a string rather than
23732 printing to a file. Require ulps to be present.
23733 (output_ulps): Generate arrays rather than #defines.
23734 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
23735 (struct ulp_data): New type.
23736 (BUILD_COMPLEX_ULP): Remove macro.
23737 (compare_ulp_data): New function.
23738 (find_ulps): Likewise.
23739 (find_test_ulps): Likewise.
23740 (find_function_ulps): Likewise.
23741 (find_complex_function_ulps): Likewise.
23742 (print_max_error): Determine allowed ulps using
23743 find_function_ulps.
23744 (print_complex_max_error): Determine allowed ulps using
23745 find_complex_function_ulps.
23746 (check_float_internal): Determine max ulps using find_test_ulps.
23747 (check_float): Do not take max_ulp parameter. Update call to
23748 check_float_internal.
23749 (check_complex): Likewise.
23750 (check_int): Do not take max_ulp parameter.
23751 (check_long): Likewise.
23752 (check_bool): Likewise.
23753 (check_longlong): Likewise.
23754 (struct test_f_f_data): Remove max_ulp field.
23755 (struct test_ff_f_data): Likewise.
23756 (struct test_ff_f_data_nexttoward): Likewise.
23757 (struct test_fi_f_data): Likewise.
23758 (struct test_fl_f_data): Likewise.
23759 (struct test_if_f_data): Likewise.
23760 (struct test_fff_f_data): Likewise.
23761 (struct test_c_f_data): Likewise.
23762 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
23763 (struct test_fF_f1_data): Likewise.
23764 (struct test_ffI_f1_data): Likewise.
23765 (struct test_c_c_data): Remove max_ulp field.
23766 (struct test_cc_c_data): Likewise.
23767 (struct test_f_i_data): Likewise.
23768 (struct test_ff_i_data): Likewise.
23769 (struct test_f_l_data): Likewise.
23770 (struct test_f_L_data): Likewise.
23771 (struct test_sincos_data): Likewise.
23772 (RUN_TEST_f_f): Do not handle ulps.
23773 (RUN_TEST_LOOP_f_f): Likewise.
23774 (RUN_TEST_2_f): Likewise.
23775 (RUN_TEST_LOOP_2_f): Likewise.
23776 (RUN_TEST_fff_f): Likewise.
23777 (RUN_TEST_LOOP_fff_f): Likewise.
23778 (RUN_TEST_c_f): Likewise.
23779 (RUN_TEST_LOOP_c_f): Likewise.
23780 (RUN_TEST_f_f1): Likewise.
23781 (RUN_TEST_LOOP_f_f1): Likewise.
23782 (RUN_TEST_fF_f1): Likewise.
23783 (RUN_TEST_LOOP_fF_f1): Likewise.
23784 (RUN_TEST_fI_f1): Likewise.
23785 (RUN_TEST_LOOP_fI_f1): Likewise.
23786 (RUN_TEST_ffI_f1): Likewise.
23787 (RUN_TEST_LOOP_ffI_f1): Likewise.
23788 (RUN_TEST_c_c): Likewise.
23789 (RUN_TEST_LOOP_c_c): Likewise.
23790 (RUN_TEST_cc_c): Likewise.
23791 (RUN_TEST_LOOP_cc_c): Likewise.
23792 (RUN_TEST_f_i): Likewise.
23793 (RUN_TEST_LOOP_f_i): Likewise.
23794 (RUN_TEST_f_i_tg): Likewise.
23795 (RUN_TEST_LOOP_f_i_tg): Likewise.
23796 (RUN_TEST_ff_i_tg): Likewise.
23797 (RUN_TEST_LOOP_ff_i_tg): Likewise.
23798 (RUN_TEST_f_b): Likewise.
23799 (RUN_TEST_LOOP_f_b): Likewise.
23800 (RUN_TEST_f_b_tg): Likewise.
23801 (RUN_TEST_LOOP_f_b_tg): Likewise.
23802 (RUN_TEST_f_l): Likewise.
23803 (RUN_TEST_LOOP_f_l): Likewise.
23804 (RUN_TEST_f_L): Likewise.
23805 (RUN_TEST_LOOP_f_L): Likewise.
23806 (RUN_TEST_sincos): Likewise.
23807 (RUN_TEST_LOOP_sincos): Likewise.
23808
23809 2013-05-17 Joseph Myers <joseph@codesourcery.com>
23810
23811 [BZ #15480]
23812 [BZ #15485]
23813 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
23814 main case of finite arguments, set rounding mode to FE_TONEAREST
23815 and discard exceptions.
23816 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
23817 exceptions.
23818 (remainder_tonearest_test_data): New variable.
23819 (remainder_test_tonearest): New function.
23820 (remainder_towardzero_test_data): New variable.
23821 (remainder_test_towardzero): New function.
23822 (remainder_downward_test_data): New variable.
23823 (remainder_test_downward): New function.
23824 (remainder_upward_test_data): New variable.
23825 (remainder_test_upward): New function.
23826 (main): Call the new test functions.
23827
23828 * math/libm-test.inc (struct test_f_f1_data): Remove field
23829 extra_init.
23830 (struct test_fF_f1_data): Likewise.
23831 (struct test_ffI_f1_data): Likewise.
23832 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
23833 based on value of EXTRA_EXPECTED.
23834 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
23835 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
23836 EXTRA_VAR based on value of EXTRA_EXPECTED.
23837 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
23838 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
23839 EXTRA_VAR based on value of EXTRA_EXPECTED.
23840 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
23841 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
23842 EXTRA_VAR based on value of EXTRA_EXPECTED.
23843 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
23844 * math/gen-libm-test.pl (parse_args): Don't output initializers
23845 for extra output values.
23846
23847 * math/libm-test.inc (check_int): Expect result to be exactly
23848 equal to expected value and do not handle ulps.
23849 (check_long): Likewise.
23850 (check_longlong): Likewise.
23851
23852 * math/libm-test.inc (ceil_test_data): Test for "inexact"
23853 exceptions.
23854 (cimag_test_data): Likewise.
23855 (conj_test_data): Likewise.
23856 (copysign_test_data): Likewise.
23857 (cproj_test_data): Likewise.
23858 (creal_test_data): Likewise.
23859 (fabs_test_data): Likewise.
23860 (fdim_test_data): Likewise.
23861 (finite_test_data): Likewise.
23862 (floor_test_data): Likewise.
23863 (fmax_test_data): Likewise.
23864 (fmin_test_data): Likewise.
23865 (fmod_test_data): Likewise.
23866 (fpclassify_test_data): Likewise.
23867 (frexp_test_data): Likewise.
23868 (ilogb_test_data): Likewise.
23869 (isfinite_test_data): Likewise.
23870 (isgreater_test_data): Likewise.
23871 (isgreaterequal_test_data): Likewise.
23872 (isinf_test_data): Likewise.
23873 (isless_test_data): Likewise.
23874 (islessequal_test_data): Likewise.
23875 (islessgreater_test_data): Likewise.
23876 (isnan_test_data): Likewise.
23877 (isnormal_test_data): Likewise.
23878 (issignaling_test_data): Likewise.
23879 (isunordered_test_data): Likewise.
23880 (ldexp_test_data): Likewise.
23881 (lrint_test_data): Likewise.
23882 (lrint_test_data) [TEST_FLOAT]: Disable one test.
23883 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
23884 (lrint_tonearest_test_data): Test for "inexact" exceptions.
23885 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
23886 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
23887 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
23888 test input.
23889 (lrint_towardzero_test_data): Test for "inexact" exceptions.
23890 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
23891 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
23892 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
23893 that test input.
23894 (lrint_downward_test_data): Test for "inexact" exceptions.
23895 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
23896 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
23897 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
23898 test input.
23899 (lrint_upward_test_data): Test for "inexact" exceptions.
23900 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
23901 test input.
23902 (llrint_test_data): Test for "inexact" exceptions.
23903 (llrint_test_data) [TEST_FLOAT]: Disable one test.
23904 (llrint_tonearest_test_data): Test for "inexact" exceptions.
23905 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
23906 (llrint_towardzero_test_data): Test for "inexact" exceptions.
23907 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
23908 (llrint_downward_test_data): Test for "inexact" exceptions.
23909 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
23910 (llrint_upward_test_data): Test for "inexact" exceptions.
23911 (logb_test_data): Likewise.
23912 (logb_downward_test_data): Likewise.
23913 (nextafter_test_data): Likewise.
23914 (nexttoward_test_data): Likewise.
23915 (remainder_test_data): Likewise.
23916 (remquo_test_data): Likewise.
23917 (scalbn_test_data): Likewise.
23918 (scalbln_test_data): Likewise.
23919 (signbit_test_data): Likewise.
23920 (sqrt_test_data): Likewise.
23921 (significand_test_data): Likewise.
23922
23923 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
23924
23925 [BZ #15424]
23926 * benchtests/bench-modf.c (struct args): Mark arg0 as
23927 volatile.
23928 * scripts/bench.pl: Mark members of struct args as volatile.
23929
23930 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23931
23932 [BZ # 15497]
23933 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
23934 negative infinity on POWER6 or lower.
23935 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
23936
23937 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
23938
23939 [BZ #15442]
23940 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
23941 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
23942 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
23943 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
23944 (_FP_SETQNAN): New macro.
23945 (_FP_SETQNAN_SEMIRAW): Likewise.
23946 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
23947 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
23948 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
23949 (FP_EXTEND): Use _FP_FRAC_SNANP.
23950 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
23951 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
23952 into account.
23953 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
23954 New macro.
23955 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
23956 Likewise.
23957
23958 2013-05-16 Joseph Myers <joseph@codesourcery.com>
23959
23960 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
23961 with DIVIDE_BY_ZERO_EXCEPTION.
23962 (gamma_test_data): Likewise.
23963 (lgamma_test_data): Likewise.
23964 (log_test_data): Likewise.
23965 (log10_test_data): Likewise.
23966 (log2_test_data): Likewise.
23967 (tgamma_test_data): Likewise.
23968
23969 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
23970 (acos_test_tonearest): Likewise.
23971 (acos_test_towardzero): Likewise.
23972 (acos_test_downward): Likewise.
23973 (acos_test_upward): Likewise.
23974 (acosh_test): Likewise.
23975 (asin_test): Likewise.
23976 (asin_test_tonearest): Likewise.
23977 (asin_test_towardzero): Likewise.
23978 (asin_test_downward): Likewise.
23979 (asin_test_upward): Likewise.
23980 (asinh_test): Likewise.
23981 (atan_test): Likewise.
23982 (atanh_test): Likewise.
23983 (atan2_test): Likewise.
23984 (cabs_test): Likewise.
23985 (cacos_test): Likewise.
23986 (cacosh_test): Likewise.
23987 (casin_test): Likewise.
23988 (casinh_test): Likewise.
23989 (catan_test): Likewise.
23990 (catanh_test): Likewise.
23991 (cbrt_test): Likewise.
23992 (ccos_test): Likewise.
23993 (ccosh_test): Likewise.
23994 (cexp_test): Likewise.
23995 (clog_test): Likewise.
23996 (clog10_test): Likewise.
23997 (cos_test): Likewise.
23998 (cos_test_tonearest): Likewise.
23999 (cos_test_towardzero): Likewise.
24000 (cos_test_downward): Likewise.
24001 (cos_test_upward): Likewise.
24002 (cosh_test): Likewise.
24003 (cosh_test_tonearest): Likewise.
24004 (cosh_test_towardzero): Likewise.
24005 (cosh_test_downward): Likewise.
24006 (cosh_test_upward): Likewise.
24007 (cpow_test): Likewise.
24008 (csin_test): Likewise.
24009 (csinh_test): Likewise.
24010 (csqrt_test): Likewise.
24011 (ctan_test): Likewise.
24012 (ctan_test_tonearest): Likewise.
24013 (ctan_test_towardzero): Likewise.
24014 (ctan_test_downward): Likewise.
24015 (ctan_test_upward): Likewise.
24016 (ctanh_test): Likewise.
24017 (ctanh_test_tonearest): Likewise.
24018 (ctanh_test_towardzero): Likewise.
24019 (ctanh_test_downward): Likewise.
24020 (ctanh_test_upward): Likewise.
24021 (erf_test): Likewise.
24022 (erfc_test): Likewise.
24023 (exp_test): Likewise.
24024 (exp_test_tonearest): Likewise.
24025 (exp_test_towardzero): Likewise.
24026 (exp_test_downward): Likewise.
24027 (exp_test_upward): Likewise.
24028 (exp10_test): Likewise.
24029 (exp2_test): Likewise.
24030 (expm1_test): Likewise.
24031 (fmod_test): Likewise.
24032 (gamma_test): Likewise.
24033 (hypot_test): Likewise.
24034 (j0_test): Likewise.
24035 (j1_test): Likewise.
24036 (jn_test): Likewise.
24037 (lgamma_test): Likewise.
24038 (log_test): Likewise.
24039 (log10_test): Likewise.
24040 (log1p_test): Likewise.
24041 (log2_test): Likewise.
24042 (logb_test_downward): Likewise.
24043 (pow_test): Likewise.
24044 (pow_test_tonearest): Likewise.
24045 (pow_test_towardzero): Likewise.
24046 (pow_test_downward): Likewise.
24047 (pow_test_upward): Likewise.
24048 (remainder_test): Likewise.
24049 (remquo_test): Likewise.
24050 (sin_test): Likewise.
24051 (sin_test_tonearest): Likewise.
24052 (sin_test_towardzero): Likewise.
24053 (sin_test_downward): Likewise.
24054 (sin_test_upward): Likewise.
24055 (sincos_test): Likewise.
24056 (sinh_test): Likewise.
24057 (sinh_test_tonearest): Likewise.
24058 (sinh_test_towardzero): Likewise.
24059 (sinh_test_downward): Likewise.
24060 (sinh_test_upward): Likewise.
24061 (sqrt_test): Likewise.
24062 (tan_test): Likewise.
24063 (tan_test_tonearest): Likewise.
24064 (tan_test_towardzero): Likewise.
24065 (tan_test_downward): Likewise.
24066 (tan_test_upward): Likewise.
24067 (tanh_test): Likewise.
24068 (tgamma_test): Likewise.
24069 (y0_test): Likewise.
24070 (y1_test): Likewise.
24071 (yn_test): Likewise.
24072
24073 * math/gen-libm-test.pl (adjust_arg): Remove function.
24074 (special_function): Remove argument $in_func. Only handle
24075 generating output for tables of tests, not inside functions.
24076 (parse_args): Likewise.
24077 (generate_testfile): Remove variable $in_func. Update call to
24078 parse_args.
24079 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
24080 (MINUS_ZERO_INIT): Rename macro to minus_zero.
24081 (PLUS_INFTY_INIT): Rename macro to plus_infty.
24082 (MINUS_INFTY_INIT): Rename macro to minus_infty.
24083 (QNAN_VALUE_INIT): Rename macro to qnan_value.
24084 (MAX_VALUE_INIT): Rename macro to max_value.
24085 (MIN_VALUE_INIT): Rename macro to min_value.
24086 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
24087 (plus_zero): Remove variable.
24088 (minus_zero): Likewise.
24089 (plus_infty): Likewise.
24090 (minus_infty): Likewise.
24091 (qnan_value): Likewise.
24092 (max_value): Likewise.
24093 (min_value): Likewise.
24094 (min_subnorm_value): Likewise.
24095
24096 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
24097
24098 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
24099 uint64_t or uint32_t usage.
24100 * crypt/sha256-block.c: Likewise.
24101 * crypt/sha256-crypt.c: Likewise.
24102 * crypt/sha256.c: Likewise.
24103 * crypt/sha512-block.c: Likewise.
24104 * crypt/sha512-crypt.c: Likewise.
24105 * crypt/sha512.c: Likewise.
24106 * debug/backtrace-tst.c: Likewise.
24107 * debug/pcprofiledump.c: Likewise.
24108 * elf/cache.c: Likewise.
24109 * elf/dl-cache.c: Likewise.
24110 * elf/dl-misc.c: Likewise.
24111 * elf/dl-profile.c: Likewise.
24112 * elf/dl-support.c: Likewise.
24113 * elf/ldconfig.c: Likewise.
24114 * elf/sprof.c: Likewise.
24115 * iconv/dummy-repertoire.c: Likewise.
24116 * iconv/iconv_charmap.c: Likewise.
24117 * iconv/skeleton.c: Likewise.
24118 * iconvdata/8bit-generic.c: Likewise.
24119 * iconvdata/cp737.h: Likewise.
24120 * iconvdata/cp775.h: Likewise.
24121 * iconvdata/ibm1008.h: Likewise.
24122 * iconvdata/ibm1025.h: Likewise.
24123 * iconvdata/ibm1046.h: Likewise.
24124 * iconvdata/ibm1097.h: Likewise.
24125 * iconvdata/ibm1112.h: Likewise.
24126 * iconvdata/ibm1122.h: Likewise.
24127 * iconvdata/ibm1123.h: Likewise.
24128 * iconvdata/ibm1124.h: Likewise.
24129 * iconvdata/ibm1129.h: Likewise.
24130 * iconvdata/ibm1130.h: Likewise.
24131 * iconvdata/ibm1132.h: Likewise.
24132 * iconvdata/ibm1133.h: Likewise.
24133 * iconvdata/ibm1137.h: Likewise.
24134 * iconvdata/ibm1140.h: Likewise.
24135 * iconvdata/ibm1141.h: Likewise.
24136 * iconvdata/ibm1142.h: Likewise.
24137 * iconvdata/ibm1143.h: Likewise.
24138 * iconvdata/ibm1144.h: Likewise.
24139 * iconvdata/ibm1145.h: Likewise.
24140 * iconvdata/ibm1146.h: Likewise.
24141 * iconvdata/ibm1147.h: Likewise.
24142 * iconvdata/ibm1148.h: Likewise.
24143 * iconvdata/ibm1149.h: Likewise.
24144 * iconvdata/ibm1153.h: Likewise.
24145 * iconvdata/ibm1154.h: Likewise.
24146 * iconvdata/ibm1155.h: Likewise.
24147 * iconvdata/ibm1156.h: Likewise.
24148 * iconvdata/ibm1157.h: Likewise.
24149 * iconvdata/ibm1158.h: Likewise.
24150 * iconvdata/ibm1160.h: Likewise.
24151 * iconvdata/ibm1161.h: Likewise.
24152 * iconvdata/ibm1162.h: Likewise.
24153 * iconvdata/ibm1163.h: Likewise.
24154 * iconvdata/ibm1164.h: Likewise.
24155 * iconvdata/ibm1166.h: Likewise.
24156 * iconvdata/ibm1167.h: Likewise.
24157 * iconvdata/ibm12712.h: Likewise.
24158 * iconvdata/ibm1390.h: Likewise.
24159 * iconvdata/ibm1399.h: Likewise.
24160 * iconvdata/ibm16804.h: Likewise.
24161 * iconvdata/ibm4517.h: Likewise.
24162 * iconvdata/ibm4899.h: Likewise.
24163 * iconvdata/ibm4909.h: Likewise.
24164 * iconvdata/ibm4971.h: Likewise.
24165 * iconvdata/ibm5347.h: Likewise.
24166 * iconvdata/ibm803.h: Likewise.
24167 * iconvdata/ibm856.h: Likewise.
24168 * iconvdata/ibm901.h: Likewise.
24169 * iconvdata/ibm902.h: Likewise.
24170 * iconvdata/ibm9030.h: Likewise.
24171 * iconvdata/ibm9066.h: Likewise.
24172 * iconvdata/ibm921.h: Likewise.
24173 * iconvdata/ibm922.h: Likewise.
24174 * iconvdata/ibm9448.h: Likewise.
24175 * iconvdata/isiri-3342.h: Likewise.
24176 * iconvdata/jis0201.h: Likewise.
24177 * include/link.h: Likewise.
24178 * include/netdb.h: Likewise.
24179 * inet/check_native.c: Likewise.
24180 * inet/check_pf.c: Likewise.
24181 * inet/getipv4sourcefilter.c: Likewise.
24182 * inet/getnameinfo.c: Likewise.
24183 * inet/getsourcefilter.c: Likewise.
24184 * inet/htonl.c: Likewise.
24185 * inet/setipv4sourcefilter.c: Likewise.
24186 * inet/setsourcefilter.c: Likewise.
24187 * inet/test-inet6_opt.c: Likewise.
24188 * inet/tst-network.c: Likewise.
24189 * locale/C-collate.c: Likewise.
24190 * locale/C-ctype.c: Likewise.
24191 * locale/C-time.c: Likewise.
24192 * locale/C-translit.h: Likewise.
24193 * locale/loadarchive.c: Likewise.
24194 * locale/programs/3level.h: Likewise.
24195 * locale/programs/charmap.c: Likewise.
24196 * locale/programs/charmap.h: Likewise.
24197 * locale/programs/ld-address.c: Likewise.
24198 * locale/programs/ld-collate.c: Likewise.
24199 * locale/programs/ld-ctype.c: Likewise.
24200 * locale/programs/ld-identification.c: Likewise.
24201 * locale/programs/ld-measurement.c: Likewise.
24202 * locale/programs/ld-messages.c: Likewise.
24203 * locale/programs/ld-monetary.c: Likewise.
24204 * locale/programs/ld-name.c: Likewise.
24205 * locale/programs/ld-numeric.c: Likewise.
24206 * locale/programs/ld-paper.c: Likewise.
24207 * locale/programs/ld-telephone.c: Likewise.
24208 * locale/programs/ld-time.c: Likewise.
24209 * locale/programs/linereader.c: Likewise.
24210 * locale/programs/locale.c: Likewise.
24211 * locale/programs/locarchive.c: Likewise.
24212 * locale/programs/locfile.h: Likewise.
24213 * locale/programs/repertoire.c: Likewise.
24214 * locale/programs/simple-hash.c: Likewise.
24215 * locale/programs/simple-hash.h: Likewise.
24216 * malloc/memusage.c: Likewise.
24217 * malloc/memusagestat.c: Likewise.
24218 * nis/nis_defaults.c: Likewise.
24219 * nis/nis_hash.c: Likewise.
24220 * nis/nis_print.c: Likewise.
24221 * nis/nis_xdr.c: Likewise.
24222 * nscd/connections.c: Likewise.
24223 * nscd/hstcache.c: Likewise.
24224 * nscd/nscd_gethst_r.c: Likewise.
24225 * nscd/nscd_getserv_r.c: Likewise.
24226 * nscd/nscd_helper.c: Likewise.
24227 * nscd/servicescache.c: Likewise.
24228 * nss/makedb.c: Likewise.
24229 * nss/nss_db/db-XXX.c: Likewise.
24230 * nss/nss_db/db-initgroups.c: Likewise.
24231 * nss/nss_db/db-netgrp.c: Likewise.
24232 * nss/nss_files/files-network.c: Likewise.
24233 * nss/nss_files/files-parse.c: Likewise.
24234 * posix/bug-regex5.c: Likewise.
24235 * posix/fnmatch_loop.c: Likewise.
24236 * posix/regcomp.c: Likewise.
24237 * posix/regexec.c: Likewise.
24238 * posix/tst-rfc3484-2.c: Likewise.
24239 * posix/tst-rfc3484-3.c: Likewise.
24240 * posix/tst-rfc3484.c: Likewise.
24241 * resolv/nss_dns/dns-canon.c: Likewise.
24242 * resolv/nss_dns/dns-network.c: Likewise.
24243 * resolv/res_init.c: Likewise.
24244 * resolv/res_mkquery.c: Likewise.
24245 * resolv/tst-aton.c: Likewise.
24246 * stdlib/cxa_atexit.c: Likewise.
24247 * stdlib/cxa_finalize.c: Likewise.
24248 * stdlib/gen-fpioconst.c: Likewise.
24249 * stdlib/strtol_l.c: Likewise.
24250 * string/tst-endian.c: Likewise.
24251 * sunrpc/auth_des.c: Likewise.
24252 * sunrpc/clnt_udp.c: Likewise.
24253 * sunrpc/rtime.c: Likewise.
24254 * sunrpc/svcauth_des.c: Likewise.
24255 * sunrpc/xdr.c: Likewise.
24256 * sunrpc/xdr_intXX_t.c: Likewise.
24257 * sunrpc/xdr_rec.c: Likewise.
24258 * sysdeps/generic/ldconfig.h: Likewise.
24259 * sysdeps/generic/ldsodefs.h: Likewise.
24260 * sysdeps/generic/memusage.h: Likewise.
24261 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
24262 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
24263 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
24264 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
24265 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
24266 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
24267 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
24268 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
24269 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
24270 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
24271 * sysdeps/posix/getaddrinfo.c: Likewise.
24272 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
24273 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
24274 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
24275 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
24276 * sysdeps/powerpc/test-gettimebase.c: Likewise.
24277 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
24278 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
24279 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
24280 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
24281 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
24282 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
24283 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
24284 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
24285 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
24286 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
24287 * sysdeps/x86_64/dl-tls.h: Likewise.
24288 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
24289 * time/alt_digit.c: Likewise.
24290 * time/era.c: Likewise.
24291 * wcsmbs/tst-c16c32-1.c: Likewise.
24292
24293 2013-05-16 Joseph Myers <joseph@codesourcery.com>
24294
24295 * math/libm-test.inc (struct test_sincos_data): New type.
24296 (RUN_TEST_LOOP_sincos): New macro.
24297 (sincos_test_data): New variable.
24298 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
24299
24300 2013-05-16 Richard Henderson <rth@redhat.com>
24301
24302 * math/atest-exp2.c (LIMB64): New macro.
24303 (CONSTSZ): New macro.
24304 (mp_exp1, mp_exp_m1, mp_log2): New variables.
24305 (hexdig): Move ...
24306 (print_mpn_fp): ... to function scope.
24307 (read_mpn_hex): Remove.
24308 (get_log2): Remove.
24309 (exp2_mpn): Use mp_log2.
24310 (main): Use mp_exp1.
24311
24312 2013-05-16 Joseph Myers <joseph@codesourcery.com>
24313
24314 * math/libm-test.inc: Remove comment about not testing "inexact"
24315 exceptions.
24316 (INEXACT_EXCEPTION): New macro.
24317 (NO_INEXACT_EXCEPTION): Likewise.
24318 (INVALID_EXCEPTION_OK): Update value.
24319 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
24320 (OVERFLOW_EXCEPTION_OK): Likewise.
24321 (UNDERFLOW_EXCEPTION_OK): Likewise.
24322 (IGNORE_ZERO_INF_SIGN): Likewise.
24323 (ERRNO_UNCHANGED): Likewise.
24324 (ERRNO_EDOM): Likewise.
24325 (ERRNO_ERANGE): Likewise.
24326 (test_exceptions): Handle testing "inexact" exceptions.
24327 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
24328 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
24329 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
24330 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
24331 INEXACT_EXCEPTION.
24332 (rint_towardzero_test_data): Likewise.
24333 (rint_downward_test_data): Likewise.
24334 (rint_upward_test_data): Likewise.
24335
24336 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
24337 with OVERFLOW_EXCEPTION.
24338 (exp10_test_data): Likewise.
24339 (exp2_test_data): Likewise.
24340 (expm1_test_data): Likewise.
24341 (lgamma_test_data): Likewise.
24342 (pow_test_data): Likewise.
24343 (tgamma_test_data): Likewise.
24344 (yn_test_data): Remove duplicate test of overflow.
24345
24346 * math/libm-test.inc (struct test_cc_c_data): New type.
24347 (RUN_TEST_LOOP_cc_c): New macro.
24348 (cpow_test_data): New variable.
24349 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
24350
24351 * math/libm-test.inc (struct test_f_L_data): New type.
24352 (RUN_TEST_LOOP_f_L): New macro.
24353 (llrint_test_data): New variable.
24354 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
24355 (llrint_tonearest_test_data): New variable.
24356 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
24357 (llrint_towardzero_test_data): New variable.
24358 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
24359 (llrint_downward_test_data): New variable.
24360 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
24361 (llrint_upward_test_data): New variable.
24362 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
24363 (llround_test_data): New variable.
24364 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
24365
24366 2013-05-13 Peter Collingbourne <pcc@google.com>
24367
24368 * math/atest-exp2.c (get_log2): Remove const attribute.
24369
24370 2013-05-15 Joseph Myers <joseph@codesourcery.com>
24371
24372 * math/libm-test.inc (struct test_f_l_data): New type.
24373 (RUN_TEST_LOOP_f_l): New macro.
24374 (lrint_test_data): New variable.
24375 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
24376 (lrint_tonearest_test_data): New variable.
24377 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
24378 (lrint_towardzero_test_data): New variable.
24379 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
24380 (lrint_downward_test_data): New variable.
24381 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
24382 (lrint_upward_test_data): New variable.
24383 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
24384 (lround_test_data): New variable.
24385 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
24386
24387 2013-05-15 Peter Collingbourne <pcc@google.com>
24388
24389 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
24390 (EXTRACT_WORDS64) Use where appropriate.
24391 (INSERT_WORDS64) Likewise.
24392
24393 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
24394 constraints with x constraints.
24395 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
24396
24397 * malloc/obstack.c (_obstack_compat): Add initializer.
24398
24399 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
24400
24401 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
24402 si_trapno and add si_addr_lsb to _sifields.sigfault.
24403 (si_trapno): Remove macro.
24404 (si_addr_lsb): Define new macro.
24405 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
24406
24407 2013-05-15 Joseph Myers <joseph@codesourcery.com>
24408
24409 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
24410 instead of TEST_f_l.
24411 (llrint_test_tonearest): Likewise.
24412 (llrint_test_towardzero): Likewise.
24413 (llrint_test_downward): Likewise.
24414 (llrint_test_upward): Likewise.
24415 (llround_test): Likewise.
24416
24417 * math/libm-test.inc (struct test_f_i_data): Add comment.
24418 (RUN_TEST_LOOP_f_b): New macro.
24419 (RUN_TEST_LOOP_f_b_tg): Likewise.
24420 (finite_test_data): New variable.
24421 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
24422 (isfinite_test_data): New variable.
24423 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
24424 (isinf_test_data): New variable.
24425 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
24426 (isnan_test_data): New variable.
24427 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
24428 (isnormal_test_data): New variable.
24429 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
24430 (issignaling_test_data): New variable.
24431 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
24432 (signbit_test_data): New variable.
24433 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
24434
24435 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
24436 with INVALID_EXCEPTION.
24437 (acosh_test_data): Likewise.
24438 (asin_test_data): Likewise.
24439 (atanh_test_data): Likewise.
24440 (fmod_test_data): Likewise.
24441 (log_test_data): Likewise.
24442 (log10_test_data): Likewise.
24443 (log2_test_data): Likewise.
24444 (pow_test_data): Likewise.
24445 (sqrt_test_data): Likewise.
24446 (y0_test_data): Likewise.
24447 (y1_test_data): Likewise.
24448 (yn_test_data): Likewise.
24449
24450 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
24451 function contents.
24452
24453 * math/libm-test.inc (struct test_ff_i_data): New type.
24454 (RUN_TEST_LOOP_ff_i_tg): New macro.
24455 (isgreater_test_data): New variable.
24456 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
24457 (isgreaterequal_test_data): New variable.
24458 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
24459 (isless_test_data): New variable.
24460 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
24461 (islessequal_test_data): New variable.
24462 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
24463 (islessgreater_test_data): New variable.
24464 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
24465 (isunordered_test_data): New variable.
24466 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
24467
24468 2013-05-14 David S. Miller <davem@davemloft.net>
24469
24470 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24471
24472 2013-05-14 Joseph Myers <joseph@codesourcery.com>
24473
24474 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
24475
24476 * math/libm-test.inc (struct test_fF_f1_data): Change type of
24477 extra_test to int.
24478 (struct test_f_i_data): Change type of max_ulp to int.
24479
24480 * math/libm-test.inc (test_ffI_f1_data): New type.
24481 (RUN_TEST_LOOP_ffI_f1): New macro.
24482 (remquo_test_data): New variable.
24483 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
24484
24485 * setjmp/tst-setjmp-fp.c: New file.
24486 * setjmp/Makefile (tests): Add tst-setjmp-fp.
24487 (link-libm): New variable.
24488 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
24489
24490 * math/libm-test.inc (struct test_f_i_data): New type.
24491 (RUN_TEST_LOOP_f_i): New macro.
24492 (RUN_TEST_LOOP_f_i_tg): Likewise.
24493 (fpclassify_test_data): New variable.
24494 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
24495 (ilogb_test_data): New variable.
24496 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
24497
24498 * math/libm-test.inc (scalbln_test): Correct function name in END
24499 call.
24500
24501 * math/libm-test.inc (struct test_f_f1_data): Add comment.
24502 (RUN_TEST_LOOP_fI_f1): New macro.
24503 (frexp_test_data): New variable.
24504 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
24505
24506 * math/libm-test.inc (struct test_fF_f1_data): New type.
24507 (RUN_TEST_LOOP_fF_f1): New macro.
24508 (modf_test_data): New variable.
24509 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
24510
24511 * math/libm-test.inc (struct test_f_f1_data): New type.
24512 (RUN_TEST_LOOP_f_f1): New macro.
24513 (gamma_test_data): New variable.
24514 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
24515 (lgamma_test_data): New variable.
24516 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
24517
24518 2013-05-13 Carlos O'Donell <carlos@redhat.com>
24519
24520 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
24521 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
24522 (main): Comment "tls" pseudo-hwcap.
24523
24524 2013-05-13 Joseph Myers <joseph@codesourcery.com>
24525
24526 * math/libm-test.inc (struct test_fl_f_data): New type.
24527 (RUN_TEST_LOOP_fl_f): New variable.
24528 (scalbln_test_data): New variable.
24529 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
24530
24531 * math/libm-test.inc (struct test_fi_f_data): New type.
24532 (RUN_TEST_LOOP_fi_f): New macro.
24533 (ldexp_test_data): New variable.
24534 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
24535 (scalbn_test_data): New variable.
24536 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
24537
24538 * math/libm-test.inc (struct test_c_f_data): New type.
24539 (RUN_TEST_LOOP_c_f): New macro.
24540 (cabs_test_data): New variable.
24541 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
24542 (carg_test_data): New variable.
24543 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
24544 (cimag_test_data): New variable.
24545 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
24546 (creal_test_data): New variable.
24547 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
24548
24549 * math/libm-test.inc (struct test_if_f_data): New type.
24550 (RUN_TEST_LOOP_if_f): New macro.
24551 (jn_test_data): New variable.
24552 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
24553 (yn_test_data): New variable.
24554 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
24555
24556 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
24557
24558 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24559
24560 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
24561 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
24562
24563 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
24564
24565 * benchtests/Makefile (CPPFLAGS-nonlib): Add
24566 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
24567 (bench-deps): Add bench-timing.h.
24568 * benchtests-bench-skeleton.c: Include bench-timing.h.
24569 (main): Use TIMING_* macros instead of clock_gettime.
24570 * benchtests/bench-timing.h: New file.
24571
24572 [BZ #14582]
24573 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
24574 Renamed from _LIB_VERSION.
24575 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
24576
24577 2013-05-12 Joseph Myers <joseph@codesourcery.com>
24578
24579 * math/libm-test.inc (struct test_fff_f_data): New type.
24580 (RUN_TEST_LOOP_fff_f): New macro.
24581 (fma_test_data): New variable.
24582 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
24583 (fma_towardzero_test_data): New variable.
24584 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
24585 (fma_downward_test_data): New variable.
24586 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
24587 (fma_upward_test_data): New variable.
24588 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
24589
24590 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
24591 (struct test_c_c_data): New type.
24592 (RUN_TEST_LOOP_c_c): New macro.
24593 (cacos_test_data): New variable.
24594 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
24595 (cacosh_test_data): New variable.
24596 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
24597 (casin_test_data): New variable.
24598 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
24599 (casinh_test_data): New variable.
24600 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
24601 (catan_test_data): New variable.
24602 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
24603 (catanh_test_data): New variable.
24604 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
24605 (ccos_test_data): New variable.
24606 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
24607 (ccosh_test_data): New variable.
24608 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
24609 (cexp_test_data): New variable.
24610 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
24611 (clog_test_data): New variable.
24612 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
24613 (clog10_test_data): New variable.
24614 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
24615 (conj_test_data): New variable.
24616 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
24617 (cproj_test_data): New variable.
24618 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
24619 (csin_test_data): New variable.
24620 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
24621 (csinh_test_data): New variable.
24622 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
24623 (csqrt_test_data): New variable.
24624 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
24625 (ctan_test_data): New variable.
24626 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
24627 (ctan_tonearest_test_data): New variable.
24628 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
24629 (ctan_towardzero_test_data): New variable.
24630 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
24631 (ctan_downward_test_data): New variable.
24632 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
24633 (ctan_upward_test_data): New variable.
24634 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
24635 (ctanh_test_data): New variable.
24636 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
24637 (ctanh_tonearest_test_data): New variable.
24638 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
24639 (ctanh_towardzero_test_data): New variable.
24640 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
24641 (ctanh_downward_test_data): New variable.
24642 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
24643 (ctanh_upward_test_data): New variable.
24644 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
24645 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
24646 of BUILD_COMPLEX.
24647
24648 * math/libm-test.inc (struct test_ff_f_data): New type.
24649 (struct test_ff_f_data_nexttoward): Likewise.
24650 (RUN_TEST_LOOP_2_f): New macro.
24651 (RUN_TEST_LOOP_ff_f): Likewise.
24652 (atan2_test_data): New variable.
24653 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
24654 (copysign_test_data): New variable.
24655 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
24656 (fdim_test_data): New variable.
24657 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
24658 (fmax_test_data): New variable.
24659 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
24660 (fmin_test_data): New variable.
24661 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
24662 (fmod_test_data): New variable.
24663 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
24664 (hypot_test_data): New variable.
24665 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
24666 (nextafter_test_data): New variable.
24667 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
24668 (nexttoward_test_data): New variable.
24669 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
24670 (pow_test_data): New variable.
24671 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
24672 (pow_tonearest_test_data): New variable.
24673 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
24674 (pow_towardzero_test_data): New variable.
24675 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
24676 (pow_downward_test_data): New variable.
24677 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
24678 (pow_upward_test_data): New variable.
24679 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
24680 (remainder_test_data): New variable.
24681 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
24682 (scalb_test_data): New variable.
24683 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
24684 * sysdeps/i386/fpu/libm-test-ulps: Update.
24685
24686 2013-05-11 Joseph Myers <joseph@codesourcery.com>
24687
24688 * math/libm-test.inc (fma_test): Use max_value instead of local
24689 variable fltmax.
24690 (nextafter_test): Likewise.
24691
24692 * math/libm-test.inc (acos_towardzero_test_data): New variable.
24693 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
24694 (acos_downward_test_data): New variable.
24695 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
24696 (acos_upward_test_data): New variable.
24697 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
24698 (acosh_test_data): New variable.
24699 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
24700 (asin_test_data): New variable.
24701 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
24702 (asin_tonearest_test_data): New variable.
24703 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
24704 (asin_towardzero_test_data): New variable.
24705 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
24706 (asin_downward_test_data): New variable.
24707 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
24708 (asin_upward_test_data): New variable.
24709 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
24710 (asinh_test_data): New variable.
24711 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
24712 (atan_test_data): New variable.
24713 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
24714 (atanh_test_data): New variable.
24715 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
24716 (cbrt_test_data): New variable.
24717 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
24718 (ceil_test_data): New variable.
24719 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
24720 (cos_test_data): New variable.
24721 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
24722 (cos_tonearest_test_data): New variable.
24723 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
24724 (cos_towardzero_test_data): New variable.
24725 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
24726 (cos_downward_test_data): New variable.
24727 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
24728 (cos_upward_test_data): New variable.
24729 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
24730 (cosh_test_data): New variable.
24731 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
24732 (cosh_tonearest_test_data): New variable.
24733 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
24734 (cosh_towardzero_test_data): New variable.
24735 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
24736 (cosh_downward_test_data): New variable.
24737 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
24738 (cosh_upward_test_data): New variable.
24739 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
24740 (erf_test_data): New variable.
24741 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
24742 (erfc_test_data): New variable.
24743 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
24744 (exp_test_data): New variable.
24745 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
24746 (exp_tonearest_test_data): New variable.
24747 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
24748 (exp_towardzero_test_data): New variable.
24749 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
24750 (exp_downward_test_data): New variable.
24751 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
24752 (exp_upward_test_data): New variable.
24753 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
24754 (exp10_test_data): New variable.
24755 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
24756 (exp2_test_data): New variable.
24757 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
24758 (expm1_test_data): New variable.
24759 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
24760 (fabs_test_data): New variable.
24761 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
24762 (floor_test_data): New variable.
24763 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
24764 (j0_test_data): New variable.
24765 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
24766 (j1_test_data): New variable.
24767 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
24768 (log_test_data): New variable.
24769 (log_test): Run tests with RUN_TEST_LOOP_f_f.
24770 (log10_test_data): New variable.
24771 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
24772 (log1p_test_data): New variable.
24773 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
24774 (log2_test_data): New variable.
24775 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
24776 (logb_test_data): New variable.
24777 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
24778 (logb_downward_test_data): New variable.
24779 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
24780 (nearbyint_test_data): New variable.
24781 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
24782 (rint_test_data): New variable.
24783 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
24784 (rint_tonearest_test_data): New variable.
24785 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
24786 (rint_towardzero_test_data): New variable.
24787 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
24788 (rint_downward_test_data): New variable.
24789 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
24790 (rint_upward_test_data): New variable.
24791 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
24792 (round_test_data): New variable.
24793 (round_test): Run tests with RUN_TEST_LOOP_f_f.
24794 (sin_test_data): New variable.
24795 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
24796 (sin_tonearest_test_data): New variable.
24797 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
24798 (sin_towardzero_test_data): New variable.
24799 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
24800 (sin_downward_test_data): New variable.
24801 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
24802 (sin_upward_test_data): New variable.
24803 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
24804 (sinh_test_data): New variable.
24805 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
24806 (sinh_tonearest_test_data): New variable.
24807 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
24808 (sinh_towardzero_test_data): New variable.
24809 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
24810 (sinh_downward_test_data): New variable.
24811 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
24812 (sinh_upward_test_data): New variable.
24813 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
24814 (sqrt_test_data): New variable.
24815 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
24816 (tan_test_data): New variable.
24817 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
24818 (tan_tonearest_test_data): New variable.
24819 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
24820 (tan_towardzero_test_data): New variable.
24821 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
24822 (tan_downward_test_data): New variable.
24823 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
24824 (tan_upward_test_data): New variable.
24825 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
24826 (tanh_test_data): New variable.
24827 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
24828 (tgamma_test_data): New variable.
24829 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
24830 (trunc_test_data): New variable.
24831 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
24832 (y0_test_data): New variable.
24833 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
24834 (y1_test_data): New variable.
24835 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
24836 (significand_test_data): New variable.
24837 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
24838
24839 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
24840
24841 [BZ #12387]
24842 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
24843
24844 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
24845
24846 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
24847
24848 2013-05-10 Andreas Jaeger <aj@suse.de>
24849
24850 [BZ #15448]
24851 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
24852 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
24853
24854 2013-05-10 Joseph Myers <joseph@codesourcery.com>
24855
24856 * math/gen-libm-test.pl (adjust_arg): New function.
24857 (special_functions): Handle generating output in both functions
24858 and arrays.
24859 (parse_args): Likewise.
24860 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
24861 $in_func argument to parse_args.
24862 * math/libm-test.inc (struct test_f_f_data): New type.
24863 (IF_ROUND_INIT_): New macro.
24864 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
24865 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
24866 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
24867 (IF_ROUND_INIT_FE_UPWARD): Likewise.
24868 (ROUND_RESTORE_): Likewise.
24869 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
24870 (ROUND_RESTORE_FE_TONEAREST): Likewise.
24871 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
24872 (ROUND_RESTORE_FE_UPWARD): Likewise.
24873 (RUN_TEST_LOOP_f_f): New macro.
24874 (acos_test_data): New variable.
24875 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
24876 (acos_tonearest_test_data): New variable.
24877 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
24878
24879 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
24880
24881 * benchtests/bench-skeleton.c (startup): Fix coding style.
24882
24883 2013-05-10 Joseph Myers <joseph@codesourcery.com>
24884
24885 [BZ #6809]
24886 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
24887 negative infinity argument.
24888 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
24889 negative infinity argument.
24890 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
24891 negative infinity argument.
24892 * math/libm-test.inc (tgamma_test): Expect errno to be set for
24893 domain errors.
24894
24895 2013-05-10 Florian Weimer <fweimer@redhat.com>
24896
24897 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
24898 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
24899 * iconv/iconv_prog.c (main): Likewise.
24900 * locale/programs/charmap-dir.c (charmap_readdir)
24901 (fopen_uncompressed): Likewise.
24902 * locale/programs/locfile.c (siblings_uncached)
24903 (write_locale_data): Use lstat64 instead of lstat.
24904 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
24905 stat.
24906
24907 2013-05-10 Andreas Jaeger <aj@suse.de>
24908
24909 [BZ #15395]
24910 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
24911 localization.
24912 Include <locale.h>.
24913
24914 2013-05-09 Carlos O'Donell <carlos@redhat.com>
24915
24916 * elf/dl-close.c (_dl_close_worker): Add comments.
24917
24918 2013-05-09 Joseph Myers <joseph@codesourcery.com>
24919
24920 [BZ #15359]
24921 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
24922 high part of pi/2.
24923 (__ieee754_rem_pio2l): Update comments.
24924
24925 [BZ #15429]
24926 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
24927 high part of pi/2.
24928 (__ieee754_rem_pio2l): Update comments.
24929
24930 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
24931 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
24932
24933 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
24934 M_PI_4l.
24935
24936 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
24937 (M_PI_34_LOG10El): Likewise.
24938 (M_PI2_LOG10El): Likewise.
24939 (M_PI4_LOG10El): Likewise.
24940 (M_PI_LOG10El): Likewise.
24941
24942 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24943
24944 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24945
24946 2013-05-08 Joseph Myers <joseph@codesourcery.com>
24947
24948 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
24949 (MINUS_ZERO_INIT): Likewise.
24950 (PLUS_INFTY_INIT): Likewise.
24951 (MINUS_INFTY_INIT): Likewise.
24952 (QNAN_VALUE_INIT): Likewise.
24953 (MAX_VALUE_INIT): Likewise.
24954 (MIN_VALUE_INIT): Likewise.
24955 (MIN_SUBNORM_VALUE_INIT): Likewise.
24956 (plus_zero): Initialize with PLUS_ZERO_INIT.
24957 (minus_zero): Initialize with MINUS_ZERO_INIT.
24958 (plus_infty): Initialize with PLUS_INFTY_INIT.
24959 (minus_infty): Initialize with MINUS_INFTY_INIT.
24960 (qnan_value): Initialize with QNAN_VALUE_INIT.
24961 (max_value): Initialize with MAX_VALUE_INIT.
24962 (min_value): Initialize with MIN_VALUE_INIT.
24963 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
24964
24965 * math/libm-test.inc (RUN_TEST_if_f): New macro.
24966 (jn_test): Use TEST_if_f instead of TEST_ff_f.
24967 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
24968 (yn_test): Use TEST_if_f instead of TEST_ff_f.
24969
24970 * math/libm-test.inc (RUN_TEST_f_f): New macro.
24971 (RUN_TEST_2_f): Likewise.
24972 (RUN_TEST_ff_f): Likewise.
24973 (RUN_TEST_fi_f): Likewise.
24974 (RUN_TEST_fl_f): Likewise.
24975 (RUN_TEST_fff_f): Likewise.
24976 (RUN_TEST_c_f): Likewise.
24977 (RUN_TEST_f_f1): Likewise.
24978 (RUN_TEST_fF_f1): Likewise.
24979 (RUN_TEST_fI_f1): Likewise.
24980 (RUN_TEST_ffI_f1): Likewise.
24981 (RUN_TEST_c_c): Likewise.
24982 (RUN_TEST_cc_c): Likewise.
24983 (RUN_TEST_f_i): Likewise.
24984 (RUN_TEST_f_i_tg): Likewise.
24985 (RUN_TEST_ff_i_tg): Likewise.
24986 (RUN_TEST_f_b): Likewise.
24987 (RUN_TEST_f_b_tg): Likewise.
24988 (RUN_TEST_f_l): Likewise.
24989 (RUN_TEST_f_L): Likewise.
24990 (RUN_TEST_sincos): Likewise.
24991 * math/gen-libm-test.pl (new_test): Take new argument to indicate
24992 whether to show exceptions. Do not include ");\n" in return
24993 value.
24994 (special_functions): Output call to RUN_TEST_sincos instead of
24995 check_float calls. Update calls to new_test.
24996 (parse_args): Output call to single RUN_TEST_* macro instead of
24997 check_* calls and other assignments. Update calls to new_test.
24998
24999 [BZ #2546]
25000 [BZ #2560]
25001 [BZ #5159]
25002 [BZ #15426]
25003 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
25004 input to result for tgamma overflow.
25005 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
25006 (gamma_coeff): New variable.
25007 (NCOEFF): New macro.
25008 (gamma_positive): New function.
25009 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
25010 underflow here. Use gamma_positive instead of exp (lgamma) for
25011 other arguments.
25012 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
25013 (gamma_coeff): New variable.
25014 (NCOEFF): New macro.
25015 (gammaf_positive): New function.
25016 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
25017 underflow here. Use gamma_positive instead of exp (lgamma) for
25018 other arguments.
25019 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
25020 (gamma_coeff): New variable.
25021 (NCOEFF): New macro.
25022 (gammal_positive): New function.
25023 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
25024 underflow here. Use gamma_positive instead of exp (lgamma) for
25025 other arguments.
25026 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
25027 (gamma_coeff): New variable.
25028 (NCOEFF): New macro.
25029 (gammal_positive): New function.
25030 (__ieee754_gammal_r): Handle positive infinity, overflow and
25031 underflow here. Handle NaN the same as positive infinity. Remove
25032 check x < 0xffffffff for negative integers. Use gamma_positive
25033 instead of exp (lgamma) for other arguments.
25034 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
25035 (gamma_coeff): New variable.
25036 (NCOEFF): New macro.
25037 (gammal_positive): New function.
25038 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
25039 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
25040 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
25041 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
25042 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
25043 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
25044 * sysdeps/generic/math_private.h (__gamma_productf): New
25045 prototype.
25046 (__gamma_product): Likewise.
25047 (__gamma_productl): Likewise.
25048 * math/Makefile (libm-calls): Add gamma_product.
25049 * math/libm-test.inc (tgamma_test): Add more tests.
25050 * sysdeps/i386/fpu/libm-test-ulps: Update.
25051 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25052
25053 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
25054
25055 * benchtests/bench-skeleton.c (main): Preheat CPU.
25056
25057 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
25058
25059 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
25060
25061 2013-05-07 Roland McGrath <roland@hack.frob.com>
25062
25063 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
25064 and _dl_skip_args_internal.
25065
25066 2013-05-07 Carlos O'Donell <carlos@redhat.com>
25067
25068 * manual/message.texi (Message Translation): Talk about users.
25069 Message to key mapping impacts design.
25070
25071 2013-05-06 Roland McGrath <roland@hack.frob.com>
25072
25073 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
25074
25075 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
25076
25077 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
25078 * sysdeps/wordsize-64/glob64.c: ... here.
25079
25080 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
25081 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
25082 New macros.
25083
25084 * debug/getlogin_r_chk.c: Moved to ...
25085 * login/getlogin_r_chk.c: ... here.
25086 * debug/Makefile (routines): Move getlogin_r_chk to ...
25087 * login/Makefile (routines): ... here.
25088 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
25089 * login/Versions (libc: GLIBC_2.4): ... here.
25090
25091 * io/poll.c (__poll): Renamed from poll.
25092 Add libc_hidden_def.
25093 (poll): Define as weak alias.
25094
25095 * debug/ptsname_r_chk.c: Moved to ...
25096 * login/ptsname_r_chk.c: ... here.
25097 * debug/Makefile (routines): Move ptsname_r_chk to ...
25098 * login/Makefile (routines): ... here.
25099 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
25100 * login/Versions (libc: GLIBC_2.4): ... here.
25101
25102 * posix/getlogin.c: Moved to ...
25103 * login/getlogin.c: ... here.
25104 * posix/getlogin_r.c: Moved to ...
25105 * login/getlogin_r.c: ... here.
25106 * posix/getlogin_r.c: Moved to ...
25107 * login/getlogin_r.c: ... here.
25108 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
25109 * login/Makefile (routines): ... here.
25110 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
25111 * login/Versions (libc: GLIBC_2.0): ... here.
25112
25113 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
25114 (setrlimit): Define as weak alias.
25115
25116 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
25117 Call __ names for open, ftruncate, and close.
25118 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
25119 (truncate): Define as weak alias.
25120
25121 2013-05-06 Joseph Myers <joseph@codesourcery.com>
25122
25123 * math/gen-libm-test.pl (parse_args): Initialize x before each
25124 test of frexp, modf and remquo.
25125
25126 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
25127 test signgam value.
25128
25129 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25130
25131 [BZ #15418]
25132 [BZ #15419]
25133 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
25134 internal tests.
25135 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
25136
25137 2013-05-06 Roland McGrath <roland@hack.frob.com>
25138
25139 * elf/dl-writev.h: New file.
25140 * elf/dl-misc.c: Include it.
25141 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
25142 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
25143
25144 2013-05-04 Joseph Myers <joseph@codesourcery.com>
25145
25146 * math/libm-test.inc (noXFails): Remove variable.
25147 (noXPasses): Likewise.
25148 (BUILD_COMPLEX_INT): Remove macro.
25149 (print_screen): Remove xfail argument.
25150 (print_screen_max_error): Likewise.
25151 (update_stats): Likewise.
25152 (print_max_error): Likewise. Update calls to other affected
25153 functions.
25154 (print_complex_max_error): Likewise.
25155 (test_single_exception): Update calls to print_screen.
25156 (test_single_errno): Likewise.
25157 (check_float_internal): Remove xfail argument. Update calls to
25158 other affected functions.
25159 (check_float): Likewise.
25160 (check_complex): Likewise.
25161 (check_int): Likewise.
25162 (check_long): Likewise.
25163 (check_bool): Likewise.
25164 (check_longlong): Likewise.
25165 (main): Don't print noXFails and noXPasses.
25166 * math/gen-libm-test.pl (top level): Don't mention expected
25167 failure handling in comment.
25168 (new_test): Don't handle expected failures.
25169 (parse_args): Don't mention expected failure handling in comment.
25170 (generate_testfile): Don't handle expected failures.
25171 (parse_ulps): Likewise.
25172 (print_ulps_file): Likewise.
25173 (get_failure): Remove function.
25174 (output_test): Don't handle expected failures.
25175 * make/README.libm-test: Don't mention expected failure handling.
25176
25177 * math/libm-test.inc (plus_zero): Make const. Add initializer.
25178 (minus_zero): Likewise.
25179 (plus_infty): Likewise.
25180 (minus_infty): Likewise.
25181 (qnan_value): Likewise.
25182 (max_value): Likewise.
25183 (min_value): Likewise.
25184 (min_subnorm_value): Likewise.
25185 (initialize): Do not initialize those variables dynamically.
25186
25187 2013-05-03 Roland McGrath <roland@hack.frob.com>
25188
25189 * io/open.c (__open_2): Moved to ...
25190 * io/open_2.c: ... this new file.
25191 * io/open64.c (__open64_2): Moved to ...
25192 * io/open64_2.c: ... this new file.
25193 * io/openat.c (__openat_2): Moved to ...
25194 * io/openat_2.c: ... this new file.
25195 * io/openat64.c (__openat64_2): Moved to ...
25196 * io/openat64_2.c: ... this new file.
25197 * io/Makefile (routines): Add them.
25198 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
25199 * sysdeps/unix/sysv/linux/open_2.c: File removed.
25200 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
25201 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
25202 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
25203 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
25204 (__openat64): Add hidden_ver.
25205 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
25206 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
25207
25208 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
25209 Separately conditionalize setting of GLRO(dl_sysinfo) so
25210 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
25211 as well, but the actual setting is only under [NEED_DL_SYSINFO].
25212
25213 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25214
25215 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
25216 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
25217 definition.
25218 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
25219 * sysdeps/unix/sysv/linux/powerpc/init-first.c
25220 (_libc_vdso_platform_setup): Add __vdso_time initialization.
25221 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
25222 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
25223
25224 2013-05-03 Joseph Myers <joseph@codesourcery.com>
25225
25226 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
25227 test signgam value.
25228
25229 * math/libm-test.inc (hypot_test): Do not use
25230 IGNORE_ZERO_INF_SIGN.
25231
25232 2013-05-03 Andreas Jaeger <aj@suse.de>
25233
25234 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
25235 Linux 3.9.
25236 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
25237 (PF_MAX): Adjust for VSOCK change.
25238
25239 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25240
25241 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25242
25243 2013-05-02 Carlos O'Donell <carlos@redhat.com>
25244
25245 [BZ #15264]
25246 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
25247 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
25248 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
25249
25250 2013-05-02 David S. Miller <davem@davemloft.net>
25251
25252 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25253
25254 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
25255
25256 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
25257
25258 2013-05-01 Roland McGrath <roland@hack.frob.com>
25259
25260 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
25261
25262 2013-05-01 Richard Smith <richard@metafoo.co.uk>
25263
25264 [BZ #14952]
25265 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
25266 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
25267 Use __attribute__ ((__gnu_inline__)).
25268 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
25269 Don't use __attribute__ ((__gnu_inline__)).
25270
25271 2013-05-01 Joseph Myers <joseph@codesourcery.com>
25272
25273 [BZ #15423]
25274 * math/s_catan.c (__catan): Handle small real or imaginary part of
25275 input specially to avoid spurious underflow.
25276 * math/s_catanf.c (__catanf): Likewise.
25277 * math/s_catanh.c (__catanh): Likewise.
25278 * math/s_catanhf.c (__catanhf): Likewise.
25279 * math/s_catanhl.c (__catanhl): Likewise.
25280 * math/s_catanl.c (__catanl): Likewise.
25281 * math/libm-test.inc (catan_test): Add more tests.
25282 (catanh_test): Likewise.
25283 * sysdeps/i386/fpu/libm-test-ulps: Update.
25284 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25285
25286 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25287
25288 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25289
25290 2013-04-30 Joseph Myers <joseph@codesourcery.com>
25291
25292 [BZ #15416]
25293 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
25294 accurately for denominator in atan2.
25295 * math/s_catanf.c (__catanf): Likewise.
25296 * math/s_catanh.c (__catanh): Likewise.
25297 * math/s_catanhf.c (__catanhf): Likewise.
25298 * math/s_catanhl.c (__catanhl): Likewise.
25299 * math/s_catanl.c (__catanl): Likewise.
25300 * math/libm-test.inc (catan_test): Add more tests.
25301 (catanh_test): Likewise.
25302 * sysdeps/i386/fpu/libm-test-ulps: Update.
25303 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25304
25305 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
25306
25307 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
25308
25309 * benchtests/Makefile (bench): Remove slow benchmarks.
25310 * benchtests/atan-inputs: Add slow benchmark inputs.
25311 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
25312 (BENCH_FUNC): Accept variant offset.
25313 (VARIANT): Define.
25314 * benchtests/bench-skeleton.c (main): Run benchmark for each
25315 variant.
25316 * benchtests/cos-inputs: Add slow benchmark inputs.
25317 * benchtests/exp-inputs: Likewise.
25318 * benchtests/pow-inputs: Likewise.
25319 * benchtests/sin-inputs: Likewise.
25320 * benchtests/slowatan-inputs: Remove.
25321 * benchtests/slowatan.c: Remove.
25322 * benchtests/slowcos-inputs: Remove.
25323 * benchtests/slowcos.c: Remove.
25324 * benchtests/slowexp-inputs: Remove.
25325 * benchtests/slowexp.c: Remove.
25326 * benchtests/slowpow-inputs: Remove.
25327 * benchtests/slowpow.c: Remove.
25328 * benchtests/slowsin-inputs: Remove.
25329 * benchtests/slowsin.c: Remove.
25330 * benchtests/slowtan-inputs: Remove.
25331 * benchtests/slowtan.c: Remove.
25332 * benchtests/tan-inputs: Add slow benchmark inputs.
25333 * scripts/bench.pl: Parse comments and directives.
25334
25335 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
25336 in CPPFLAGS.
25337 ($(objpfx)bench-%.c): Remove *-ITER.
25338 * benchtests/bench-modf.c: Remove definition of ITER.
25339 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
25340 (main): Loop for DURATION seconds instead of fixed number of
25341 iterations.
25342 * scripts/bench.pl: Don't expect iterations in parameters.
25343
25344 2013-04-29 Roland McGrath <roland@hack.frob.com>
25345
25346 * io/fchdir.c (__fchdir): Renamed from fchdir.
25347 (fchdir): Define as weak alias.
25348
25349 2013-04-29 Joseph Myers <joseph@codesourcery.com>
25350
25351 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
25352 (ERRNO_EDOM): Likewise.
25353 (ERRNO_ERANGE): Likewise.
25354 (noErrnoTests): New variable.
25355 (init_max_error): Set errno to 0.
25356 (test_single_errno): New function.
25357 (test_errno): Likewise.
25358 (check_float_internal): Call test_errno. Set errno to 0.
25359 (check_complex): Refer to errno tests in comment.
25360 (check_int): Call test_errno. Set errno to 0.
25361 (check_long): Likewise.
25362 (check_bool): Likewise.
25363 (check_longlong): Likewise.
25364 (cos_test): Use ERRNO_* flags for errno tests instead of
25365 check_int.
25366 (expm1_test): Likewise.
25367 (fmod_test): Likewise.
25368 (ilogb_test): Likewise.
25369 (lgamma_test): Likewise.
25370 (pow_test): Likewise.
25371 (remainder_test): Likewise.
25372 (sin_test): Likewise.
25373 (tan_test): Likewise.
25374 (yn_test): Likewise.
25375 (initialize): Set errno to 0.
25376 (main): Print number of errno tests.
25377 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
25378
25379 2013-04-29 Andreas Jaeger <aj@suse.de>
25380
25381 [BZ #15084]
25382 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
25383 and RES_USEVC.
25384
25385 [BZ #15085]
25386 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
25387 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
25388 unimplemented.
25389
25390 [BZ #15380]
25391 * stdlib/random.c (__initstate): Return NULL if
25392 __initstate fails.
25393
25394 [BZ #15086]
25395 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
25396 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
25397 RES_SNGLKUPREOP.
25398
25399 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25400
25401 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25402
25403 2013-04-29 Joseph Myers <joseph@codesourcery.com>
25404
25405 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
25406 of individual tests.
25407 (casin_test): Likewise.
25408 (casinh_test): Likewise.
25409
25410 2013-04-27 Joseph Myers <joseph@codesourcery.com>
25411
25412 [BZ #15409]
25413 * math/s_catan.c (__catan): Handle arguments with large real or
25414 imaginary part separately without squaring.
25415 * math/s_catanf.c (__catanf): Likewise.
25416 * math/s_catanh.c (__catanh): Likewise.
25417 * math/s_catanhf.c (__catanhf): Likewise.
25418 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
25419 and redefine.
25420 (__catanhl): Handle arguments with large real or imaginary part
25421 separately without squaring.
25422 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
25423 and redefine.
25424 (__catanl): Handle arguments with large real or imaginary part
25425 separately without squaring.
25426 * math/libm-test.inc (catan_test): Add more tests.
25427 (catanh_test): Likewise.
25428 * sysdeps/i386/fpu/libm-test-ulps: Update.
25429 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25430
25431 2013-04-27 Andreas Jaeger <aj@suse.de>
25432
25433 [BZ #15007]
25434 * stdlib/stdlib.h: Update guards for qecvt.
25435 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
25436 <stdlib.h>.
25437
25438 2013-04-27 Allan McRae <allan@archlinux.org>
25439
25440 * sysdeps/i386/fpu/libm-test-ulps: Update.
25441
25442 2013-04-26 Joseph Myers <joseph@codesourcery.com>
25443
25444 [BZ #15406]
25445 * math/s_catan.c: Include <float.h>.
25446 (__catan): Ensure underflow exception occurs for underflowed
25447 result.
25448 * math/s_catanf.c: Include <float.h>.
25449 (__catanf): Ensure underflow exception occurs for underflowed
25450 result.
25451 * math/s_catanh.c: Include <float.h>.
25452 (__catanh): Ensure underflow exception occurs for underflowed
25453 result.
25454 * math/s_catanhf.c: Include <float.h>.
25455 (__catanhf): Ensure underflow exception occurs for underflowed
25456 result.
25457 * math/s_catanhl.c: Include <float.h>.
25458 (__catanhl): Ensure underflow exception occurs for underflowed
25459 result.
25460 * math/s_catanl.c: Include <float.h>.
25461 (__catanl): Ensure underflow exception occurs for underflowed
25462 result.
25463 * math/libm-test.inc (catan_test): Add more tests.
25464 (catanh_test): Likewise.
25465
25466 [BZ #15405]
25467 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
25468 underflowed result.
25469 * math/s_ccoshf.c (__ccoshf): Likewise.
25470 * math/s_ccoshl.c (__ccoshl): Likewise.
25471 * math/s_csin.c (__csin): Likewise.
25472 * math/s_csinf.c (__csinf): Likewise.
25473 * math/s_csinh.c (__csinh): Likewise.
25474 * math/s_csinhf.c (__csinhf): Likewise.
25475 * math/s_csinhl.c (__csinhl): Likewise.
25476 * math/s_csinl.c (__csinl): Likewise.
25477 * math/libm-test.inc (ccos_test): Add more tests.
25478 (ccosh_test): Likewise.
25479 (csin_test): Likewise.
25480 (csinh_test): Likewise.
25481
25482 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25483
25484 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
25485 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
25486 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
25487 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
25488 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
25489 powerpc/power5+/fpu folders.
25490 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
25491
25492
25493 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
25494
25495 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25496
25497 2013-04-25 Joseph Myers <joseph@codesourcery.com>
25498
25499 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
25500 additions to variable.
25501 [$(config-machine) = x86_64] (modules-names): Likewise.
25502 ($(objpfx)tst-audit3): Remove dependency.
25503 ($(objpfx)tst-audit3.out): Likewise.
25504 ($(objpfx)tst-audit4): Likewise.
25505 ($(objpfx)tst-audit4.out): Likewise.
25506 ($(objpfx)tst-audit5): Likewise.
25507 ($(objpfx)tst-audit5.out): Likewise.
25508 ($(objpfx)tst-audit6): Likewise.
25509 ($(objpfx)tst-audit6.out): Likewise.
25510 ($(objpfx)tst-audit7): Likewise.
25511 ($(objpfx)tst-audit7.out): Likewise.
25512 (tst-audit3-ENV): Remove variable.
25513 (tst-audit4-ENV): Likewise.
25514 (tst-audit5-ENV): Likewise.
25515 (tst-audit6-ENV): Likewise.
25516 (tst-audit7-ENV): Likewise.
25517 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
25518 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
25519 addition to variable.
25520 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
25521 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
25522 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
25523 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
25524 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
25525 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
25526 tst-audit3, tst-audit4 and tst-audit5.
25527 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
25528 tst-audit6 and tst-audit7.
25529 [$(subdir) = elf] (modules-names): Add audit modules for those
25530 tests.
25531 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
25532 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
25533 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
25534 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
25535 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
25536 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
25537 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
25538 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
25539 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
25540 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
25541 [$(subdir) = elf] (tst-audit3-ENV): New variable.
25542 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
25543 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
25544 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
25545 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
25546 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
25547 Likewise.
25548 [$(subdir) = elf && $(config-cflags-avx) = yes]
25549 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
25550 [$(subdir) = elf && $(config-cflags-avx) = yes]
25551 (CFLAGS-tst-auditmod4a.c): Likewise.
25552 [$(subdir) = elf && $(config-cflags-avx) = yes]
25553 (CFLAGS-tst-auditmod4b.c): Likewise.
25554 [$(subdir) = elf && $(config-cflags-avx) = yes]
25555 (CFLAGS-tst-auditmod6b.c): Likewise.
25556 [$(subdir) = elf && $(config-cflags-avx) = yes]
25557 (CFLAGS-tst-auditmod6c.c): Likewise.
25558 [$(subdir) = elf && $(config-cflags-avx) = yes]
25559 (CFLAGS-tst-auditmod7b.c): Likewise.
25560 * elf/tst-audit3.c: Move to ...
25561 * sysdeps/x86_64/tst-audit3.c: ... here.
25562 * elf/tst-audit4.c: Move to ...
25563 * sysdeps/x86_64/tst-audit4.c: ... here.
25564 * elf/tst-audit5.c: Move to ...
25565 * sysdeps/x86_64/tst-audit5.c: ... here.
25566 * elf/tst-audit6.c: Move to ...
25567 * sysdeps/x86_64/tst-audit6.c: ... here.
25568 * elf/tst-audit7.c: Move to ...
25569 * sysdeps/x86_64/tst-audit7.c: ... here.
25570 * elf/tst-auditmod3a.c: Move to ...
25571 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
25572 * elf/tst-auditmod3b.c: Move to ...
25573 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
25574 * elf/tst-auditmod4a.c: Move to ...
25575 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
25576 * elf/tst-auditmod4b.c: Move to ...
25577 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
25578 * elf/tst-auditmod5a.c: Move to ...
25579 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
25580 * elf/tst-auditmod5b.c: Move to ...
25581 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
25582 * elf/tst-auditmod6a.c: Move to ...
25583 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
25584 * elf/tst-auditmod6b.c: Move to ...
25585 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
25586 * elf/tst-auditmod6c.c: Move to ...
25587 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
25588 * elf/tst-auditmod7a.c: Move to ...
25589 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
25590 * elf/tst-auditmod7b.c: Move to ...
25591 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
25592
25593 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
25594
25595 [BZ #15366]
25596 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
25597 define unconditionally.
25598 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
25599 define unconditionally.
25600 (INT8_C, INT16_C, etc.): Likewise.
25601
25602 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
25603
25604 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
25605 __ehdr_start with hidden visibility.
25606
25607 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
25608
25609 2013-04-24 Carlos O'Donell <carlos@redhat.com>
25610
25611 * math/libm-test.inc (cos_test): Use accurate hex constants.
25612 (sincost_test): Likewise.
25613
25614 2013-04-24 Joseph Myers <joseph@codesourcery.com>
25615
25616 * math/libm-test.inc (catan_test): Add more tests.
25617 (catanh_test): Likewise.
25618
25619 * math/s_catanf.c (__catanf): Use suffixed floating-point
25620 constants.
25621 * math/s_catanhf.c (__catanhf): Likewise.
25622 * math/s_catanhl.c (__catanhl): Likewise.
25623 * math/s_catanl.c (__catanl): Likewise.
25624
25625 [BZ #15394]
25626 * math/s_catan.c (__catan): Calculate imaginary part of result
25627 with log1p not log unless computing log of number close to 0.
25628 * math/s_catanf.c (__catanf): Likewise.
25629 * math/s_catanl.c (__catanl): Likewise.
25630 * math/s_catanh.c (__catanh): Calculate real part of result with
25631 log1p not log unless computing log of number close to 0.
25632 * math/s_catanhf.c (__catanhf): Likewise.
25633 * math/s_catanhl.c (__catanhl): Likewise.
25634 * math/libm-test.inc (catan_test): Add more tests.
25635 (catanh_test): Likewise.
25636 * sysdeps/i386/fpu/libm-test-ulps: Update.
25637 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25638
25639 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
25640
25641 * benchtests/Makefile: Mention files in which fast and slow
25642 paths of math functions are implemented.
25643
25644 2013-04-23 Roland McGrath <roland@hack.frob.com>
25645
25646 * sysdeps/posix/timespec_get.c: New file.
25647
25648 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25649
25650 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
25651 POWER.
25652 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
25653 for POWER.
25654 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
25655 powerpc/power5/fpu folders.
25656 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
25657 * benchtests/Makefile: Add modf testcase.
25658 * benchtests/bench-modf.c: New file: Benchmark test for mo
25659
25660 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
25661
25662 [BZ #14888]
25663 * time/Makefile (tests): Add tst-strptime-whitespace.
25664 * time/strptime_l.c (get_number): Use ISSPACE.
25665 (__strptime_internal): Likewise.
25666 * time/tst-strptime-whitespace.c: New test case.
25667
25668 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
25669
25670 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
25671 member.
25672 (_nss_files_init): Set it here.
25673
25674 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
25675
25676 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
25677 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
25678 unsigned.
25679
25680 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
25681
25682 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
25683
25684 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
25685
25686 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
25687 size just once.
25688
25689 2013-04-21 David S. Miller <davem@davemloft.net>
25690
25691 * po/ru.po: Update Russion translation from translation project.
25692
25693 2013-04-17 Adam Conrad <adconrad@0c3.net>
25694
25695 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
25696 and setfsgid.
25697
25698 2013-04-17 Carlos O'Donell <carlos@redhat.com>
25699
25700 * configure.in: Remove i386 configure warning. Remove i386 case.
25701 * configure: Regenerate.
25702 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
25703 Add example to error message.
25704 * sysdeps/i386/configure: Regenerate.
25705
25706 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
25707
25708 * benchtests/Makefile (bench): Add cos, tan, slowcos and
25709 slowtan.
25710 * benchtests/cos-inputs: New file.
25711 * benchtests/slowcos-inputs: New file.
25712 * benchtests/slowcos.c: New file.
25713 * benchtests/slowtan-inputs: New file.
25714 * benchtests/slowtan.c: New file.
25715 * benchtests/tan-inputs: New file.
25716
25717 2013-04-16 Roland McGrath <roland@hack.frob.com>
25718
25719 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
25720 considered kosher.
25721
25722 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
25723
25724 * benchtests/Makefile: Include cppflags-iterator.mk to add
25725 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
25726
25727 * Makefile.in (bench-clean): New target.
25728 * benchtests/Makefile (bench-clean): Likewise.
25729
25730 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
25731
25732 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
25733
25734 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
25735
25736 * stdio-common/tstdiomisc.c: Fix coding-style violation.
25737
25738 2013-04-15 Andreas Schwab <schwab@suse.de>
25739
25740 * nscd/grpcache.c (cache_addgr): Properly check for short write.
25741 * nscd/initgrcache.c (addinitgroupsX): Likewise.
25742 * nscd/pwdcache.c (cache_addpw): Likewise.
25743 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
25744 more than recsize.
25745
25746 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
25747
25748 * benchtests/Makefile (bench): Write all output to
25749 bench-out.tmp together.
25750
25751 2013-04-15 Andreas Schwab <schwab@suse.de>
25752
25753 * nscd/nscd.c (main): Don't fork again after closing files.
25754
25755 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
25756
25757 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
25758
25759 * benchtests/Rules (bench-deps): Collect dependencies into a
25760 single variable. Add Makefile to dependencies.
25761 ($(objpfx)bench-%.c): Depend on bench-deps.
25762
25763 2013-04-12 Roland McGrath <roland@hack.frob.com>
25764 Xavier Roche <roche+kml2@exalead.com>
25765
25766 [BZ #15361]
25767 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
25768 just that it's a file descriptor.
25769 * manual/llio.texi (Synchronizing AIO Operations): Update description
25770 for EBADF error from aio_fsync.
25771
25772 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
25773
25774 * Rules (bench): Move target definition...
25775 * benchtests/Makefile: ... here.
25776
25777 2013-04-11 Carlos O'Donell <carlos@redhat.com>
25778
25779 * math/libm-test.inc (cos_test): Fix PI/2 test.
25780 (sincos_test): Likewise.
25781 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
25782 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
25783
25784 2013-04-11 Andreas Schwab <schwab@suse.de>
25785
25786 [BZ #13988]
25787 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
25788 accept exponent character only when digits were seen.
25789 * stdio-common/Makefile (tests): Add bug26.
25790 * stdio-common/bug26.c: New file.
25791
25792 [BZ #14293]
25793 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
25794 non-freeable.
25795
25796 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
25797
25798 * Makeconfig (rtld-prefix): Define built linker prefix.
25799 * Rules (run-bench): Use it.
25800 * math/Makefile (run-regen-ulps): Likewise.
25801
25802 * Rules (bench): Remove eval.
25803
25804 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
25805 Roland McGrath <roland@hack.frob.com>
25806 Ondrej Bilka <neleai@seznam.cz>
25807
25808 [BZ #15346]
25809 * time/getdate.c: Include ctype.h and alloca.h.
25810 (__getdate_r): Trim leading and trailing spaces of input.
25811 * time/tst-getdate.c (tests): Add tests with leading and
25812 trailing spaces.
25813
25814 2013-04-08 Roland McGrath <roland@hack.frob.com>
25815
25816 [BZ #14280]
25817 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
25818 when computing value.
25819
25820 2013-04-06 Carlos O'Donell <carlos@redhat.com>
25821
25822 * math/README.libm-test (How can I generate "libm-test-ulps"?):
25823 Use testrun.sh to run libm tests.
25824
25825 [BZ #15309]
25826 * elf/dl-open.c (dl_open_worker): memset all of seen array.
25827
25828 2013-04-06 Marko Myllynen <myllynen@redhat.com>
25829
25830 [BZ #15264]
25831 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
25832
25833 2013-04-06 Carlos O'Donell <carlos@redhat.com>
25834
25835 * Makefile.in (regen-ulps): New target.
25836 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
25837 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
25838 [ifneq (no,$(PERL)] (regen-ulps): New target.
25839 [ifeq (no,$(PERL)] (regen-ulps): New target.
25840 * math/libm-test.inc (ulps_file_name): Define.
25841 (output_dir): New variable.
25842 (options): Add "output-dir" option.
25843 (parse_opt): Handle 'o' case.
25844 (main): If output_dir is non-NULL use it as a prefix
25845 otherwise use "".
25846 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
25847
25848 2013-04-06 Carlos O'Donell <carlos@redhat.com>
25849
25850 [BZ #10060, #10062]
25851 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
25852 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
25853 fail configure if __sync_val_compare_and_swap is not inlined.
25854 * sysdeps/i386/configure: Regenerate.
25855 * configure.in: Build for i686 when configured for i386.
25856 * configure: Regenerate.
25857 * README: Remove i386 reference.
25858
25859 2013-04-06 Carlos O'Donell <carlos@redhat.com>
25860
25861 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
25862 * sysdeps/s390/s390-64/sysdep.h: Likewise.
25863
25864 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
25865
25866 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
25867 (lmsnanval): New variables.
25868 (F): Add conversion tests.
25869 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
25870 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
25871
25872 * stdio-common/tstdiomisc.c (F): Properly collect individual
25873 tests' results.
25874
25875 [BZ #14686, #15336]
25876 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
25877 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
25878 Instead, use input NaN values or generate a qNaN by arithmetic
25879 operation. Also fix bugs to comply with the standard.
25880 * math/libm-test.inc (remainder_test): Add more tests.
25881
25882 [BZ #15335, #15342]
25883 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
25884 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
25885 input NaN values or generate a qNaN by arithmetic operation.
25886
25887 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
25888 unreachable code.
25889
25890 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
25891 definitions.
25892
25893 2013-04-03 Joseph Myers <joseph@codesourcery.com>
25894
25895 [BZ #14478]
25896 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
25897 underflowed result.
25898 * math/s_cexpf.c (__cexpf): Likewise.
25899 * math/s_cexpl.c (__cexpl): Likewise.
25900 * math/libm-test.inc (cexp_test): Add more tests.
25901
25902 2013-04-03 Andreas Schwab <schwab@suse.de>
25903
25904 [BZ #15330]
25905 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
25906 order arrays from heap if bigger than alloca cutoff.
25907
25908 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
25909
25910 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
25911 (SNAN_TESTS_double): Refer to GCC PR56831.
25912 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
25913 GCC PR56828.
25914
25915 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
25916
25917 * Rules (bench): Move bench.out after the run is complete.
25918
25919 * Rules (bench): Echo currently running benchmark.
25920
25921 * benchtests/Makefile (bench): Add atan and slowatan.
25922 * benchtests/atan-inputs: New file.
25923 * benchtests/slowatan-inputs: New file.
25924 * benchtests/slowatan.c: New file.
25925
25926 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
25927 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
25928 its value.
25929
25930 [BZ #15305]
25931 * sysdeps/unix/sysv/linux/kernel-features.h
25932 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
25933 __ASSUME_XFS_RESTRICTED_CHOWN.
25934 * sysdeps/unix/sysv/linux/pathconf.c
25935 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
25936 Save and restore errno.
25937
25938 2013-04-02 Joseph Myers <joseph@codesourcery.com>
25939
25940 [BZ #15327]
25941 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
25942 arguments using __kernel_casinh.
25943 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
25944 arguments using __kernel_casinhf.
25945 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
25946 arguments using __kernel_casinhl.
25947 * math/libm-test.inc (cacosh_test): Add more tests.
25948 * sysdeps/i386/fpu/libm-test-ulps: Update.
25949 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25950
25951 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
25952
25953 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
25954 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
25955
25956 * bench/Makefile (bench): Add sin and slowsin.
25957 * benchtests/sin-inputs: New file.
25958 * benchtests/slowsin-inputs: New file.
25959 * benchtests/slowsin.c: New file.
25960
25961 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
25962 (bench): Add slowexp and slowpow.
25963 (exp-ITER): Increase iterations.
25964 (pow-ITER): Likewise.
25965 * benchtests/exp-inputs: Change input.
25966 * benchtests/pow-inputs: Likewise.
25967 * benchtests/slowexp-inputs: New file.
25968 * benchtests/slowexp.c: New file.
25969 * benchtests/slowpow-inputs: New file.
25970 * benchtests/slowpow.c: New file.
25971
25972 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25973
25974 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
25975 instructions.
25976 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
25977 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
25978 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
25979 * benchtests/Makefile: Add rint benchtest.
25980 * benchtests/rint-inputs: Input for rint benchtest.
25981
25982 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
25983
25984 * Versions.def (libm): Add GLIBC_2.18.
25985 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
25986 hidden libm prototypes.
25987 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
25988 * math/Makefile (libm-calls): Add s_issignaling.
25989 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
25990 __issignalingf, __issignalingl. Adjust all libm.abilist files.
25991 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
25992 declaration.
25993 * math/math.h [__USE_GNU] (issignaling): New macro.
25994 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
25995 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
25996 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
25997 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
25998 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
25999 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
26000 * manual/arith.texi (issignaling): New section.
26001 * manual/libm-err-tab.pl (@all_functions): Update comment.
26002 * math/gen-libm-test.pl (parse_args): Apply special handling for
26003 issignaling.
26004 * math/libm-test.inc (print_float, issignaling_test): New
26005 functions.
26006 (check_float_internal): Add issignaling checks.
26007 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
26008 default definition.
26009 * sysdeps/powerpc/math-tests.h: New file.
26010 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
26011 tests.
26012 * math/test-snan.c (TEST_FUNC): Likewise.
26013
26014 2013-03-30 David S. Miller <davem@davemloft.net>
26015
26016 * po/de.po: Update from translation team.
26017
26018 2013-03-30 Joseph Myers <joseph@codesourcery.com>
26019
26020 [BZ #10357]
26021 * math/k_casinh.c (__kernel_casinh): Handle arguments with
26022 imaginary part less than 1.0 and real part less than 0.5
26023 specially.
26024 * math/k_casinhf.c (__kernel_casinhf): Likewise.
26025 * math/k_casinhl.c (__kernel_casinhl): Likewise.
26026 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
26027 (cacos_test): Add more tests.
26028 (casin_test): Likewise.
26029 (casinh_test): Likewise.
26030 * sysdeps/i386/fpu/libm-test-ulps: Update.
26031 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26032
26033 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
26034
26035 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
26036 ONE with its value.
26037
26038 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
26039 (__pow_mp): Replace ONE and MONE with their values.
26040 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
26041 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
26042 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
26043 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
26044 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
26045 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
26046
26047 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
26048
26049 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
26050 (__pow_mp): Replace ZERO and MZERO with their values.
26051 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
26052 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
26053 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
26054 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
26055 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
26056 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
26057 (__sqr): Likewise.
26058
26059 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
26060
26061 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
26062
26063 2013-03-28 Roland McGrath <roland@hack.frob.com>
26064
26065 * include/stdlib.h [!SHARED] (__call_tls_dtors):
26066 Declare with __attribute__ ((weak)).
26067 * stdlib/exit.c (__libc_atexit) [!SHARED]:
26068 Call __call_tls_dtors only if it's not NULL.
26069
26070 2013-03-28 Roland McGrath <roland@hack.frob.com>
26071
26072 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
26073 didn't do it already, then set _dl_phdr and _dl_phnum based on the
26074 magic __ehdr_start linker symbol if it's defined.
26075 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
26076 them up here if it was already done.
26077
26078 * elf/dl-support.c (_dl_phdr): Make pointer to const.
26079 (_dl_aux_init): Use const in cast when setting it.
26080 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
26081 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
26082 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
26083
26084 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
26085 Declare them here.
26086 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
26087 * csu/libc-tls.c: Nor here.
26088 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
26089
26090 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
26091 (__libc_message): Never call vsyslog.
26092
26093 2013-03-28 Alan Modra <amodra@gmail.com>
26094
26095 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
26096 Define as empty.
26097 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
26098 Likewise.
26099
26100 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26101
26102 [BZ #15214]
26103 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
26104 underflow.
26105 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26106
26107 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
26108
26109 [BZ #15304]
26110 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
26111 Don't add gid passed as argument.
26112
26113 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
26114
26115 2013-03-27 Joseph Myers <joseph@codesourcery.com>
26116
26117 [BZ #15307]
26118 * math/k_casinh.c (__kernel_casinh): Handle arguments with
26119 imaginary part between 1.0 and 1.5 and real part less than 0.5
26120 specially.
26121 * math/k_casinhf.c (__kernel_casinhf): Likewise.
26122 * math/k_casinhl.c (__kernel_casinhl): Likewise.
26123 * math/libm-test.inc (cacos_test): Add more tests.
26124 (casin_test): Likewise.
26125 (casinh_test): Likewise.
26126 * sysdeps/i386/fpu/libm-test-ulps: Update.
26127 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26128
26129 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
26130
26131 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
26132 constants.
26133 (norm): Likewise.
26134 (denorm): Likewise.
26135 (__dbl_mp): Likewise.
26136 (add_magnitudes): Likewise.
26137 (sub_magnitudes): Likewise.
26138 (__add): Likewise.
26139 (__sub): Likewise.
26140 (__mul): Likewise.
26141 (__sqr): Likewise.
26142 (__inv): Likewise.
26143 (__dvd): Likewise.
26144
26145 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
26146 commented code.
26147 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
26148 (__dubcos): Likewise.
26149 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
26150 (__ieee754_acos): Likewise.
26151 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
26152 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
26153 (__exp1): Likewise.
26154 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
26155 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
26156 (log1): Likewise.
26157 (my_log2): Likewise.
26158 (checkint): Likewise.
26159 * sysdeps/ieee754/dbl-64/e_remainder.c
26160 (__ieee754_remainder): Likewise.
26161 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
26162 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
26163 (bsloww): Likewise.
26164 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
26165
26166 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
26167 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
26168 MANTISSA_STORE_T to store computations on mantissa. Use
26169 macros for rounding and division.
26170 (denorm): Likewise.
26171 (__dbl_mp): Likewise.
26172 (add_magnitudes): Likewise.
26173 (sub_magnitudes): Likewise.
26174 (__mul): Likewise.
26175 (__sqr): Likewise.
26176 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
26177 powers of two in terms of TWOPOW macro.
26178 (mp_no): Make type of mantissa as MANTISSA_T.
26179 [!RADIXI]: Define RADIXI.
26180 [!TWO52]: Define TWO52.
26181 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
26182
26183 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26184
26185 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
26186 llroundl symbol when building for PPC32.
26187
26188 2013-03-24 Mark H Weaver <mhw@netris.org>
26189
26190 * manual/arith.texi (Normalization Functions): Fix prototypes for
26191 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
26192
26193 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26194
26195 [BZ #13889]
26196 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
26197 high value to check if expl overflow.
26198 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
26199 to check for underflow and overflow.
26200 * math/libm-test.inc: Add exp test.
26201
26202 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
26203
26204 [BZ #11120]
26205 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
26206 with NOT_IN_libc.
26207
26208 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26209
26210 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
26211 symbol.
26212
26213 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
26214
26215 * math/gen-libm-test.pl (parse_args, special_functions): Properly
26216 wrap blocks consisting of several statements.
26217
26218 * sysdeps/generic/math-tests.h: New file.
26219 * sysdeps/i386/fpu/math-tests.h: Likewise.
26220 * math/test-snan.c: Include it.
26221 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
26222
26223 2013-03-21 Joseph Myers <joseph@codesourcery.com>
26224
26225 [BZ #15285]
26226 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
26227 (__ieee754_j0l): Do not improve calculations using cos of twice
26228 input for inputs above LDBL_MAX / 2.0L.
26229 (__ieee754_y0l): Likewise.
26230 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
26231 (__ieee754_j1l): Do not improve calculations using cos of twice
26232 input for inputs above LDBL_MAX / 2.0L.
26233 (__ieee754_y1l): Likewise.
26234 * math/libm-test.inc (j0_test): Add another test.
26235 (j1_test): Likewise.
26236 (y0_test): Likewise.
26237 (y1_test): Likewise.
26238 * sysdeps/i386/fpu/libm-test-ulps: Update.
26239
26240 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
26241
26242 * Rules ($(objpfx)bench-%.c): Include code from a C source
26243 file.
26244
26245 2013-03-21 Joseph Myers <joseph@codesourcery.com>
26246
26247 [BZ #15287]
26248 * math/k_casinh.c (__kernel_casinh): Handle arguments with
26249 imaginary part 1.0 and real part less than 0.5 specially.
26250 * math/k_casinhf.c (__kernel_casinhf): Likewise.
26251 * math/k_casinhl.c (__kernel_casinhl): Likewise.
26252 * math/libm-test.inc (cacos_test): Add more tests.
26253 (casin_test): Likewise.
26254 (casinh_test): Likewise.
26255 * sysdeps/i386/fpu/libm-test-ulps: Update.
26256 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26257
26258 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
26259
26260 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
26261 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
26262
26263 2013-03-20 Joseph Myers <joseph@codesourcery.com>
26264
26265 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
26266 * config.make.in (config-cflags-sse4): Remove variable.
26267 (config-cflags-avx): Likewise.
26268 (config-cflags-sse2avx): Likewise.
26269 (config-cflags-novzeroupper): Likewise.
26270 (config-asflags-i686): Likewise.
26271 (have-mfma4): Likewise.
26272 (have-as-vis3): Likewise.
26273 (MIG): Likewise.
26274 * configure.in (MIG): Do not AC_SUBST.
26275 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
26276 (libc_cv_cc_sse4): Do not AC_SUBST.
26277 (libc_cv_cc_avx): Likewise.
26278 (libc_cv_cc_sse2avx): Likewise.
26279 (libc_cv_cc_novzeroupper): Likewise.
26280 (libc_cv_cc_fma4): Likewise.
26281 (libc_cv_as_i686): Likewise.
26282 (libc_cv_sparc_as_vis3): Likewise.
26283 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
26284 LIBC_CONFIG_VAR.
26285 (config-asflags-i686): Likewise.
26286 (config-cflags-avx): Likewise.
26287 (config-cflags-sse2avx): Likewise.
26288 (have-mfma4): Likewise.
26289 (config-cflags-novzeroupper): Likewise.
26290 * sysdeps/mach/configure.in (MIG): Likewise.
26291 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
26292 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
26293 LIBC_CONFIG_VAR.
26294 (config-cflags-avx): Likewise.
26295 (config-cflags-sse2avx): Likewise.
26296 (have-mfma4): Likewise.
26297 (config-cflags-novzeroupper): Likewise.
26298 * configure: Regenerated.
26299 * sysdeps/i386/configure: Likewise.
26300 * sysdeps/mach/configure: Likewise.
26301 * sysdeps/sparc/configure: Likewise.
26302 * sysdeps/x86_64/configure: Likewise.
26303
26304 2013-03-20 Roland McGrath <roland@hack.frob.com>
26305
26306 [BZ #14812]
26307 * locale/programs/localedef.c (options): Put N_ translation marker
26308 on argument names, not just descriptions.
26309
26310 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
26311
26312 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
26313
26314 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
26315
26316 [BZ #14176]
26317 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
26318
26319 2013-03-19 Roland McGrath <roland@hack.frob.com>
26320
26321 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
26322 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
26323 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
26324 [!BEFORE_ABORT] (before_abort): New function.
26325 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
26326 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
26327 (writev_for_fatal): New function.
26328 (WRITEV_FOR_FATAL): New macro; call that.
26329 (backtrace_and_maps): New function.
26330 (BEFORE_ABORT): New macro; call that.
26331 (struct str_list): Type removed.
26332 (__libc_message, __libc_fatal): Functions removed.
26333 Include <sysdeps/posix/libc_fatal.c> instead.
26334
26335 2013-03-19 Joseph Myers <joseph@codesourcery.com>
26336
26337 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
26338 constants.
26339 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
26340 double constants.
26341
26342 2013-03-19 Andreas Schwab <schwab@suse.de>
26343
26344 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
26345 * sysdeps/gnu/configure: Regenerate.
26346
26347 * configure.in: Substitute libc_cv_rtlddir.
26348 * configure: Regenerate.
26349 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
26350 * Makeconfig (rtlddir, inst_rtlddir): New variables.
26351 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
26352 * elf/Makefile (install-others, CFLAGS-interp.c)
26353 (ldso_install, common-ldd-rewrite): Likewise.
26354 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
26355 $(inst_slibdir)/$(rtld-installed-name).
26356 * scripts/rellns-sh: Add -p option.
26357 * Makerules (make-shlib-link): Use rellns-sh to get relative name
26358 for source.
26359
26360 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
26361
26362 * manual/nptl.texi: Renamed to ...
26363 * manual/threads.texi: ... this.
26364 * manual/Makefile (chapters): Update.
26365
26366 2013-03-18 Roland McGrath <roland@hack.frob.com>
26367
26368 [BZ #14812]
26369 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
26370 on argument names, not just descriptions.
26371 * malloc/memusagestat.c (options): Likewise.
26372 * nss/getent.c (options): Likewise.
26373
26374 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
26375
26376 [BZ #14812]
26377 * iconv/iconv_prog.c (options): Put N_ translation marker
26378 on argument names, not just descriptions.
26379 * iconv/iconvconfig.c (options): Likewise.
26380
26381 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
26382
26383 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
26384 implementation which is faster on all x86_64 architectures.
26385 Tested on AMD, Intel Nehalem, SNB, IVB.
26386 * sysdeps/x86_64/strnlen.S: Likewise.
26387
26388 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
26389 Remove all multiarch strlen and strnlen versions.
26390 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
26391 Remove strlen and strnlen related parts.
26392
26393 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
26394 Inline strlen part.
26395 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
26396
26397 * sysdeps/x86_64/multiarch/strlen.S: Remove.
26398 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
26399 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
26400 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
26401 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
26402 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
26403
26404 2013-03-17 Carlos O'Donell <carlos@redhat.com>
26405
26406 * manual/memory.texi (Malloc Tunable Parameters):
26407 Sort parameters alphabetically. Add comments for missing entries.
26408
26409 2013-03-17 David S. Miller <davem@davemloft.net>
26410
26411 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26412
26413 2013-03-16 Joseph Myers <joseph@codesourcery.com>
26414
26415 [BZ #15283]
26416 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
26417 for arguments at most half maximum finite value.
26418 * math/libm-test.inc (j0_test): Add more tests.
26419 (j1_test): Likewise.
26420 (y0_test): Likewise.
26421 (y1_test): Likewise.
26422 * sysdeps/i386/fpu/libm-test-ulps: Update.
26423 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26424
26425 [BZ #14155]
26426 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
26427 1 / x and functions P and Q for arguments above 0x1p256L.
26428 (__ieee754_y0l): Likewise.
26429 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
26430 (__ieee754_y1l): Likewise.
26431 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
26432 (j1_test): Likewise.
26433 (y0_test): Likewise.
26434 (y1_test): Likewise.
26435
26436 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
26437
26438 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
26439 variable.
26440
26441 2013-03-15 Roland McGrath <roland@hack.frob.com>
26442
26443 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
26444 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
26445 zero since it's initialized to EXEC_PAGESIZE.
26446
26447 * sysdeps/unix/sysv/linux/ldsodefs.h
26448 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
26449 * sysdeps/generic/ldsodefs.h: ... here.
26450
26451 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
26452
26453 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
26454
26455 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
26456 math/test-snan.c.
26457 * math/test-snan.c: Renamed from
26458 sysdeps/powerpc/fpu/test-powerpc-snan.c.
26459 * math/Makefile (tests): Add test-snan.
26460 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
26461 test-powerpc-snan.
26462
26463 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
26464 SUFFIX. Initialize qNaN_var with __builtin_nan family of
26465 functions.
26466 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
26467 __builtin_nan family of functions.
26468 * math/libm-test.inc (initialize): Initialize qnan_value with
26469 __builtin_nan family of functions.
26470 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
26471 Remove variables.
26472 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
26473 Remove functions.
26474 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
26475 storage class. Initialize qNaN_var and sNaN_var with
26476 __builtin_nan and __builtin_nans families of functions,
26477 respectively.
26478
26479 * math/libm-test.inc (acosh_test): Also test with qNaN input.
26480 (sqrt_test): Remove duplicate test with qNaN input.
26481 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
26482 (round_test, signbit_test, significand_test): Note missing +/-Inf
26483 as well as qNaN tests.
26484
26485 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
26486 qNaN_var. Fix a few strings, too.
26487 * math/libm-test.inc (nan_value): Rename to qnan_value.
26488 * math/gen-libm-test.pl (%beautify): Adjust to that.
26489 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
26490 * math/test-misc.c (main): Likewise.
26491 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
26492 to __qnan_bytes, and __qnan_union, respectively.
26493 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
26494 Likewise.
26495 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
26496 and lqnanval, respectively.
26497 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
26498 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
26499 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
26500 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
26501
26502 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
26503 * math/test-misc.c (main) [__x86_64__]: Enable test for long
26504 doubles.
26505
26506 * math/test-misc.c (main): Fix copy'n'pastos.
26507 * misc/tst-efgcvt.c (special): Likewise.
26508
26509 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
26510 Remove declarations.
26511
26512 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
26513
26514 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
26515 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
26516 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
26517 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
26518
26519 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26520
26521 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
26522 macro to return vdso values correctly in IFUNC implementations.
26523 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
26524 Optimization by using IFUNC.
26525
26526 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
26527 Richard Henderson <rth@redhat.com>
26528 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
26529
26530 * Makefile.in (bench): New target.
26531 * NEWS: Mention the benchmark framework.
26532 * Rules (bench): Likewise.
26533 (binaries-bench): Generate binaries for functions to
26534 benchmark.
26535 * benchtests/Makefile: New makefile for benchmark tests.
26536 * benchtests/bench-skeleton.c: New skeleton file for benchmark
26537 programs.
26538 * benchtests/exp-inputs: New input file for EXP function.
26539 * benchtests/pow-inputs: New input file for POW function.
26540 * scripts/bench.pl: New script to generate source files for
26541 benchmark programs.
26542
26543 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
26544
26545 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
26546 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
26547 computations on mantissa. Use macros for rounding and
26548 division.
26549 (denorm): Likewise.
26550 (__dbl_mp): Likewise.
26551 (add_magnitudes): Likewise.
26552 (sub_magnitudes): Likewise.
26553 (__mul): Likewise.
26554 (__sqr): Likewise.
26555 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
26556 powers of two in terms of TWOPOW macro.
26557 (mp_no): Make type of mantissa as MANTISSA_T.
26558 [!RADIXI]: Define RADIXI.
26559 [!TWO52]: Define TWO52.
26560 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
26561
26562 * manual/nptl.texi (cindex): Modify threads to pthreads.
26563
26564 2013-03-15 Joseph Myers <joseph@codesourcery.com>
26565
26566 * sysdeps/x86_64/preconfigure: Regenerated.
26567
26568 2013-03-14 Joseph Myers <joseph@codesourcery.com>
26569
26570 [BZ #14155]
26571 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
26572 0x1p28 and above.
26573 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
26574 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
26575 0x1p28 and above.
26576 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
26577 * math/libm-test.inc (j0_test): Do not allow one spurious
26578 underflow exception.
26579 (y1_test): Likewise.
26580
26581 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
26582
26583 * manual/Makefile (chapters): Add nptl.
26584 * manual/debug.texi (Debugging Support): Add link to Threads
26585 chapter.
26586 * manual/nptl.texi: New file.
26587
26588 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
26589
26590 2013-03-14 Petr Baudis <pasky@ucw.cz>
26591
26592 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
26593 for non-NULL pointer before the memory validity test. Pointed
26594 out by Holger Brunck <holger.brunck@keymile.com>.
26595
26596 2013-03-13 Andreas Schwab <schwab@suse.de>
26597
26598 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
26599 instead of .os.
26600
26601 2013-03-13 Joseph Myers <joseph@codesourcery.com>
26602
26603 * timezone/zic.c: Update from tzcode 2013b.
26604
26605 2013-03-12 Carlos O'Donell <carlos@redhat.com>
26606
26607 * manual/install.texi (Configuring and compiling):
26608 Mention i686 and i586.
26609 * INSTALL: Regenerate.
26610
26611 2013-03-12 Roland McGrath <roland@hack.frob.com>
26612
26613 * sysdeps/init_array/elf-init.c: New file.
26614 * csu/elf-init.c
26615 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
26616 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
26617
26618 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
26619 __gmon_start__ as global, but as static with a .preinit_array pointer.
26620 * sysdeps/init_array/gmon-start.c: New file. Use that.
26621 * sysdeps/init_array/crti.S: New file, empty except for comments.
26622 * sysdeps/init_array/crtn.S: Likewise.
26623
26624 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
26625
26626 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
26627 definining bcopy.
26628 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26629 Remove Prefer_SSE_for_memop.
26630 * sysdeps/x86_64/multiarch/init-arch.h: Remove
26631 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
26632 HAS_PREFER_SSE_FOR_MEMOP.
26633 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
26634 memset-x86-64.
26635 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
26636 Remove bzero, memset ifunc support.
26637 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
26638 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
26639 * sysdeps/x86_64/multiarch/memset.S: Likewise.
26640 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
26641
26642 2013-03-11 Andreas Schwab <schwab@suse.de>
26643
26644 [BZ #15234]
26645 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
26646 by SHLIB_COMPAT.
26647 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
26648 (GLIBC_2.16): Remove pthread_atfork.
26649
26650 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
26651
26652 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
26653 (ptestcases.h): Likewise.
26654
26655 2013-03-08 Roland McGrath <roland@hack.frob.com>
26656
26657 * Makeconfig ($(common-objpfx)config.status): Depend on
26658 sysdeps/*/preconfigure{,.in} too.
26659
26660 2013-03-08 Joseph Myers <joseph@codesourcery.com>
26661
26662 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
26663 (__free_hook): Use void * instead of __malloc_ptr_t.
26664 (__malloc_hook): Likewise.
26665 (__realloc_hook): Likewise.
26666 (__memalign_hook): Likewise.
26667 (__after_morecore_hook): Likewise.
26668 * malloc/arena.c (save_malloc_hook): Likewise.
26669 (save_free_hook): Likewise.
26670 * malloc/hooks.c (malloc_hook_ini): Likewise.
26671 (realloc_hook_ini): Likewise.
26672 (memalign_hook_ini): Likewise.
26673 * malloc/malloc.c (malloc_hook_ini): Likewise.
26674 (realloc_hook_ini): Likewise.
26675 (memalign_hook_ini): Likewise.
26676 (__free_hook): Likewise.
26677 (__malloc_hook): Likewise.
26678 (__realloc_hook): Likewise.
26679 (__memalign_hook): Likewise.
26680 (__libc_malloc): Likewise.
26681 (__libc_free): Likewise.
26682 (__libc_realloc): Likewise.
26683 (__libc_memalign): Likewise.
26684 (__libc_valloc): Likewise.
26685 (__libc_pvalloc): Likewise.
26686 (__libc_calloc): Likewise.
26687 (__posix_memalign): Likewise.
26688 * malloc/morecore.c (__sbrk): Likewise.
26689 (__default_morecore): Likewise.
26690
26691 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
26692
26693 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
26694 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
26695 __malloc_ptrdiff_t.
26696
26697 * malloc/malloc.h (__malloc_size_t): Remove macro.
26698 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
26699 __malloc_size_t.
26700 (old_memalign_hook): Likewise.
26701 (old_realloc_hook): Likewise.
26702 (struct hdr): Likewise.
26703 (flood): Likewise.
26704 (mallochook): Likewise.
26705 (memalignhook): Likewise.
26706 (reallochook): Likewise.
26707 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
26708 (tr_old_realloc_hook): Likewise.
26709 (tr_old_memalign_hook): Likewise.
26710 (tr_mallochook): Likewise.
26711 (tr_reallochook): Likewise.
26712 (tr_memalignhook): Likewise.
26713
26714 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26715
26716 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
26717 default_ldbl_pack and using as default implementation.
26718 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
26719 implementation.
26720 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
26721 redundant definition.
26722 (ldbl_insert_mantissa): Likewise.
26723 (ldbl_canonicalize): Likewise.
26724 (ldbl_nearbyint): Likewise.
26725 (ldbl_pack): Rename to ldbl_pack_ppc.
26726 (ldbl_unpack): Rename to ldbl_unpack_ppc.
26727 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
26728 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
26729
26730 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
26731
26732 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
26733 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
26734 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
26735 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
26736 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
26737 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
26738 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
26739 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
26740
26741 2013-03-07 Andreas Jaeger <aj@suse.de>
26742
26743 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26744 bits/mman-linux.h.
26745
26746 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
26747
26748 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
26749 Include mpa.h and declare __MPEXP.
26750 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
26751 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
26752 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
26753 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
26754 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
26755 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
26756 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
26757
26758 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
26759 (__slowpow): Use long double EXPL and LOGL functions to
26760 compute POW.
26761 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
26762 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
26763 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
26764 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
26765 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
26766 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
26767
26768 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
26769 intermediate variable to calculate exponent.
26770 (__sqr): Likewise.
26771 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
26772 Likewise.
26773 (__sqr): Likewise.
26774
26775 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
26776 [!NO__SQR]: Define __sqr.
26777 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
26778 and NO__SQR. Remove all code except __mul and __sqr. Include
26779 sysdeps/ieee754/dbl-64/mpa.c.
26780 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
26781
26782 [BZ #12723]
26783 * posix/Makefile (tests): Add tst-pathconf.
26784 * posix/tst-pathconf.c: New test case.
26785 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
26786 _PC_PIPE_BUF.
26787 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
26788
26789 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
26790
26791 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
26792
26793 2013-03-06 Andreas Jaeger <aj@suse.de>
26794
26795 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
26796 definition via __MAP_ANONYMOUS.
26797
26798 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
26799 it's not part of Linux headers.
26800
26801 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
26802 (MAP_HUGE_MASK): Define.
26803
26804 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
26805 Define.
26806 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
26807 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
26808 Define.
26809 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
26810 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
26811 Define.
26812 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
26813 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
26814 Define.
26815 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
26816
26817 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
26818 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
26819 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
26820 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
26821 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
26822 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
26823
26824 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
26825 Handle f2fs.
26826
26827 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
26828 Handle f2fs and efivarfs.
26829
26830 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
26831 f2fs.
26832
26833 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
26834 (EFIVARFS_MAGIC): Add.
26835 (F2FS_LINK_MAX): Add.
26836
26837 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
26838
26839 * stdio-common/vfprintf.c: Replace __builtin_expect with
26840 __glibc_unlikely.
26841
26842 2013-03-06 Joseph Myers <joseph@codesourcery.com>
26843
26844 [BZ #13550]
26845 * sysdeps/generic/bp-sym.h: Remove file.
26846 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
26847 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
26848 <bp-sym.h> and <bp-asm.h>.
26849 (__longjmp): Don't use BP_SYM.
26850 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
26851 and <bp-asm.h>.
26852 (memcpy): Don't use BP_SYM.
26853 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
26854 <bp-sym.h> and <bp-asm.h>.
26855 (memcpy): Don't use BP_SYM.
26856 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
26857 <bp-asm.h>.
26858 (memcpy): Don't use BP_SYM.
26859 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
26860 <bp-asm.h>.
26861 (memset): Don't use BP_SYM.
26862 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
26863 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
26864 (__bzero): Don't use BP_SYM.
26865 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
26866 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
26867 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
26868 <bp-sym.h> and <bp-asm.h>.
26869 (memcmp): Don't use BP_SYM. Remove comment about bounded
26870 pointers.
26871 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
26872 <bp-sym.h> and <bp-asm.h>.
26873 (memcpy): Don't use BP_SYM.
26874 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
26875 <bp-sym.h> and <bp-asm.h>.
26876 (memset): Don't use BP_SYM.
26877 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
26878 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
26879 (__bzero): Don't use BP_SYM.
26880 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
26881 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
26882 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
26883 <bp-sym.h> and <bp-asm.h>.
26884 (strncmp): Don't use BP_SYM. Remove comment about bounded
26885 pointers.
26886 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
26887 <bp-sym.h> and <bp-asm.h>.
26888 (memcpy): Don't use BP_SYM.
26889 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
26890 <bp-sym.h> and <bp-asm.h>.
26891 (memset): Don't use BP_SYM.
26892 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
26893 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
26894 (__bzero): Don't use BP_SYM.
26895 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
26896 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
26897 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
26898 <bp-sym.h> and <bp-asm.h>.
26899 (__memchr): Don't use BP_SYM.
26900 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
26901 <bp-sym.h> and <bp-asm.h>.
26902 (memcmp): Don't use BP_SYM. Remove comment about bounded
26903 pointers.
26904 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
26905 <bp-sym.h> and <bp-asm.h>.
26906 (memcpy): Don't use BP_SYM.
26907 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
26908 <bp-sym.h> and <bp-asm.h>.
26909 (__mempcpy): Don't use BP_SYM.
26910 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
26911 <bp-sym.h> and <bp-asm.h>.
26912 (__memrchr): Don't use BP_SYM.
26913 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
26914 <bp-sym.h> and <bp-asm.h>.
26915 (memset): Don't use BP_SYM.
26916 (__bzero): Likewise.
26917 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
26918 <bp-sym.h> and <bp-asm.h>.
26919 (__rawmemchr): Don't use BP_SYM.
26920 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
26921 <bp-sym.h> and <bp-asm.h>.
26922 (__STRCMP): Don't use BP_SYM.
26923 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
26924 <bp-sym.h> and <bp-asm.h>.
26925 (strchr): Don't use BP_SYM.
26926 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
26927 <bp-sym.h> and <bp-asm.h>.
26928 (__strchrnul): Don't use BP_SYM.
26929 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
26930 <bp-sym.h> and <bp-asm.h>.
26931 (strlen): Don't use BP_SYM.
26932 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
26933 <bp-sym.h> and <bp-asm.h>.
26934 (strncmp): Don't use BP_SYM. Remove comment about bounded
26935 pointers.
26936 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
26937 <bp-sym.h> and <bp-asm.h>.
26938 (__strnlen): Don't use BP_SYM.
26939 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
26940 <bp-sym.h> and <bp-asm.h>.
26941 (__GI__setjmp): Don't use BP_SYM.
26942 (_setjmp): Likewise.
26943 (__sigsetjmp): Likewise.
26944 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
26945 (L(start_addresses)): Don't use BP_SYM.
26946 (_start): Likewise.
26947 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
26948 <bp-asm.h>.
26949 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
26950 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
26951 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
26952 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
26953 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
26954 <bp-asm.h>.
26955 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
26956 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
26957 about bounded pointers.
26958 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
26959 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
26960 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
26961 <bp-asm.h>.
26962 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
26963 about bounded pointers. Remove GKM FIXME comments.
26964 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
26965 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
26966 <bp-asm.h>.
26967 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
26968 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
26969 Remove GKM FIXME comments.
26970 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
26971 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
26972 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
26973 <bp-asm.h>.
26974 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
26975 about bounded pointers. Remove GKM FIXME comment.
26976 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
26977 and <bp-asm.h>.
26978 (strncmp): Don't use BP_SYM. Remove comment about bounded
26979 pointers.
26980 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
26981 <bp-sym.h> and <bp-asm.h>.
26982 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
26983 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
26984 <bp-sym.h> and <bp-asm.h>.
26985 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
26986 comment.
26987
26988 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
26989
26990 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
26991 call free(NULL).
26992
26993 2013-03-05 David S. Miller <davem@davemloft.net>
26994
26995 * po/es.po: Update from translation team.
26996
26997 2013-03-05 Andreas Jaeger <aj@suse.de>
26998
26999 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
27000 <bits/mman-linux.h>.
27001 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
27002 is fine.
27003 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
27004 <bits/mman-linux.h> to end of file.
27005 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
27006 is fine.
27007 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
27008 <bits/mman-linux.h> to end of file.
27009 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
27010 is fine.
27011 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
27012 <bits/mman-linux.h> to end of file.
27013
27014 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
27015 (MCL_CURRENT, MCL_FUTURE): Define here.
27016
27017 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27018
27019 [BZ #15232]
27020 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
27021 attribute_hidden.
27022 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
27023
27024 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27025
27026 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
27027 fourth parameter needed for rt_sigprocmask syscall.
27028 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
27029 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
27030 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
27031 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
27032 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
27033 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
27034
27035 2013-03-04 Joseph Myers <joseph@codesourcery.com>
27036
27037 [BZ #13550]
27038 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
27039 comment about bounded pointers.
27040 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
27041 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
27042
27043 2013-03-04 Andreas Jaeger <aj@suse.de>
27044
27045 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
27046 common definitions.
27047
27048 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
27049 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
27050 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
27051 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
27052 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
27053 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
27054
27055 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27056
27057 [BZ #15055]
27058 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
27059 __ieee754_sqrl instead of __sqrl.
27060
27061 2013-03-01 Joseph Myers <joseph@codesourcery.com>
27062
27063 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
27064 * sysdeps/powerpc/fpu_control.h: ... here.
27065 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
27066 * sysdeps/powerpc/bits/fenvinline.h: ... here.
27067 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
27068 * sysdeps/powerpc/bits/mathinline.h: ... here.
27069
27070 2013-03-01 Roland McGrath <roland@hack.frob.com>
27071
27072 * elf/dl-hwcaps.c (_dl_important_hwcaps):
27073 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
27074 to just [NEED_DL_SYSINFO_DSO].
27075 * elf/dl-support.c: Likewise.
27076 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
27077 * elf/rtld.c (dl_main): Likewise.
27078 * elf/setup-vdso.h (setup_vdso): Likewise.
27079 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
27080 * sysdeps/unix/sysv/linux/dl-sysdep.c
27081 (_dl_discover_osversion): Likewise.
27082
27083 2013-03-01 Carlos O'Donell <carlos@redhat.com>
27084
27085 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
27086 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
27087
27088 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
27089
27090 * NEWS: Mention libm performance improvements and non-x86 PI
27091 futex support.
27092
27093 * csu/libc-start.c (__pthread_initialize_minimal): Change
27094 function arguments.
27095 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
27096
27097 2013-02-28 Joseph Myers <joseph@codesourcery.com>
27098
27099 [BZ #13550]
27100 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
27101 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
27102 <bp-sym.h> and <bp-asm.h>.
27103 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
27104 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
27105 and <bp-asm.h>.
27106 (memcpy): Don't use BP_SYM.
27107 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
27108 <bp-asm.h>.
27109 (__mpn_add_n): Don't use BP_SYM.
27110 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
27111 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
27112 and <bp-asm.h>.
27113 (__mpn_addmul_1): Don't use BP_SYM.
27114 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
27115 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
27116 <bp-sym.h>.
27117 (_setjmp): Don't use BP_SYM.
27118 (__novmx_setjmp): Likewise.
27119 (__GI__setjmp): Likewise.
27120 (__vmx_setjmp): Likewise.
27121 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
27122 <bp-sym.h>.
27123 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
27124 (__bzero): Don't use BP_SYM.
27125 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
27126 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
27127 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
27128 <bp-sym.h> and <bp-asm.h>.
27129 (memcpy): Don't use BP_SYM.
27130 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
27131 <bp-sym.h> and <bp-asm.h>.
27132 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
27133 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
27134 <bp-sym.h> and <bp-asm.h>.
27135 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
27136 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
27137 <bp-asm.h>.
27138 (__mpn_lshift): Don't use BP_SYM.
27139 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
27140 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
27141 <bp-asm.h>.
27142 (memset): Don't use BP_SYM.
27143 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
27144 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
27145 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
27146 <bp-asm.h>.
27147 (__mpn_mul_1): Don't use BP_SYM.
27148 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
27149 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
27150 <bp-sym.h> and <bp-asm.h>.
27151 (memcmp): Don't use BP_SYM.
27152 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
27153 <bp-sym.h> and <bp-asm.h>.
27154 (memcpy): Don't use BP_SYM.
27155 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
27156 <bp-sym.h> and <bp-asm.h>.
27157 (memset): Don't use BP_SYM.
27158 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
27159 <bp-sym.h> and <bp-asm.h>.
27160 (strncmp): Don't use BP_SYM.
27161 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
27162 <bp-sym.h> and <bp-asm.h>.
27163 (memcpy): Don't use BP_SYM.
27164 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
27165 <bp-sym.h> and <bp-asm.h>.
27166 (memset): Don't use BP_SYM.
27167 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
27168 <bp-sym.h> and <bp-asm.h>.
27169 (__memchr): Don't use BP_SYM.
27170 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
27171 <bp-sym.h> and <bp-asm.h>.
27172 (memcmp): Don't use BP_SYM.
27173 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
27174 <bp-sym.h> and <bp-asm.h>.
27175 (memcpy): Don't use BP_SYM.
27176 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
27177 <bp-sym.h> and <bp-asm.h>.
27178 (__mempcpy): Don't use BP_SYM.
27179 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
27180 <bp-sym.h> and <bp-asm.h>.
27181 (__memrchr): Don't use BP_SYM.
27182 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
27183 <bp-sym.h> and <bp-asm.h>.
27184 (memset): Don't use BP_SYM.
27185 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
27186 <bp-sym.h> and <bp-asm.h>.
27187 (__rawmemchr): Don't use BP_SYM.
27188 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
27189 <bp-sym.h> and <bp-asm.h>.
27190 (__STRCMP): Don't use BP_SYM.
27191 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
27192 <bp-sym.h> and <bp-asm.h>.
27193 (strchr): Don't use BP_SYM.
27194 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
27195 <bp-sym.h> and <bp-asm.h>.
27196 (__strchrnul): Don't use BP_SYM.
27197 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
27198 <bp-sym.h> and <bp-asm.h>.
27199 (strlen): Don't use BP_SYM.
27200 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
27201 <bp-sym.h> and <bp-asm.h>.
27202 (strncmp): Don't use BP_SYM.
27203 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
27204 <bp-sym.h> and <bp-asm.h>.
27205 (__strnlen): Don't use BP_SYM.
27206 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
27207 <bp-asm.h>.
27208 (__mpn_rshift): Don't use BP_SYM.
27209 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
27210 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
27211 <bp-sym.h> and <bp-asm.h>.
27212 (__sigsetjmp): Don't use BP_SYM.
27213 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
27214 (L(start_addresses)): Don't use BP_SYM.
27215 (_start): Likewise.
27216 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
27217 <bp-asm.h>.
27218 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
27219 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
27220 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
27221 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
27222 <bp-asm.h>.
27223 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
27224 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
27225 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
27226 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
27227 <bp-asm.h>.
27228 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
27229 comments.
27230 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
27231 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
27232 <bp-asm.h>.
27233 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
27234 FIXME comments.
27235 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
27236 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
27237 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
27238 <bp-asm.h>.
27239 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
27240 comment.
27241 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
27242 and <bp-asm.h>.
27243 (strncmp): Don't use BP_SYM,
27244 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
27245 <bp-asm.h>.
27246 (__mpn_sub_n): Don't use BP_SYM.
27247 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
27248 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
27249 and <bp-asm.h>.
27250 (__mpn_submul_1): Don't use BP_SYM.
27251 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
27252 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
27253 <bp-sym.h> and <bp-asm.h>.
27254 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
27255 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
27256 <bp-sym.h> and <bp-asm.h>.
27257 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
27258 comment.
27259
27260 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
27261
27262 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
27263 Use ZK to minimize writes to Z.
27264 (sub_magnitudes): Simplify code a bit.
27265 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
27266 Use ZK to minimize writes to Z.
27267 (sub_magnitudes): Simplify code a bit.
27268
27269 2013-02-27 Roland McGrath <roland@hack.frob.com>
27270
27271 * csu/gmon-start.c: Add special exception to license text.
27272
27273 2013-02-27 Richard Henderson <rth@redhat.com>
27274
27275 * scripts/config.guess: Update from config.git.
27276 * scripts/config.sub: Likewise.
27277
27278 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
27279
27280 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
27281
27282 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
27283
27284 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
27285
27286 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
27287
27288 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
27289
27290 2013-02-26 Roland McGrath <roland@hack.frob.com>
27291
27292 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
27293 [$(build-shared = yes].
27294
27295 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
27296
27297 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
27298 (__mul): Reduce iterations for calculating mantissa.
27299
27300 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
27301 MPTWO.
27302 (__mpranred): Likewise.
27303
27304 [BZ #15160]
27305 * malloc/memusagestat.c (main): Draw graphs for heap and stack
27306 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
27307
27308 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
27309
27310 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
27311 Define __attribute__.
27312
27313 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
27314
27315 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
27316 unused.
27317 * posix/regex_internal.h (__attribute): Remove.
27318 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
27319 (re_string_context_at): Likewise.
27320 (bitset_not): Use __attribute__ and mark function as possibly
27321 unused.
27322 (bitset_merge): Likewise.
27323 (bitset_mask): Likewise.
27324 (re_string_char_size_at): Likewise.
27325 (re_string_wchar_at): Likewise.
27326 (re_string_elem_size_at): Likewise.
27327
27328 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
27329
27330 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
27331 code.
27332 (cc32): Likewise.
27333
27334 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
27335 (__acr): Likewise.
27336 (__cpy): Likewise.
27337 (norm): Likewise.
27338 (denorm): Likewise.
27339 (__dbl_mp): Likewise.
27340 (add_magnitudes): Likewise.
27341 (sub_magnitudes): Likewise.
27342 (__mul): Likewise.
27343 (__inv): Likewise.
27344
27345 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
27346 style.
27347
27348 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
27349 style.
27350
27351 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
27352 code.
27353
27354 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
27355 up changes with default code.
27356 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
27357 Likewise.
27358
27359 2013-02-24 Allan McRae <allan@archlinux.org>
27360
27361 * manual/socket.texi (The Internet Namespace): Order menu items
27362 to match that in the file.
27363
27364 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
27365 node listing of the info page menu.
27366
27367 2013-02-21 Joseph Myers <joseph@codesourcery.com>
27368
27369 [BZ #13550]
27370 * sysdeps/i386/bp-asm.h: Remove file.
27371 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
27372 (PARMS): Do not use macros from bp-asm.h.
27373 (S1): Likewise.
27374 (S2): Likewise.
27375 (SIZE): Likewise.
27376 (__mpn_add_n): Do not use BP_SYM
27377 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
27378 "bp-asm.h".
27379 (PARMS): Do not use macros from bp-asm.h.
27380 (S1): Likewise.
27381 (SIZE): Likewise.
27382 (__mpn_addmul_1): Do not use BP_SYM
27383 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
27384 "bp-asm.h".
27385 (PARMS): Do not use macros from bp-asm.h.
27386 (SIGMSK): Likewise.
27387 (_setjmp): Likewise. Do not use BP_SYM.
27388 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
27389 "bp-asm.h".
27390 (PARMS): Do not use macros from bp-asm.h.
27391 (SIGMSK): Likewise.
27392 (setjmp): Likewise. Do not use BP_SYM.
27393 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
27394 "bp-asm.h".
27395 (PARMS): Do not use macros from bp-asm.h.
27396 (__frexp): Do not use BP_SYM.
27397 (frexp): Likewise.
27398 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
27399 "bp-asm.h".
27400 (PARMS): Do not use macros from bp-asm.h.
27401 (__frexpf): Do not use BP_SYM.
27402 (frexpf): Likewise.
27403 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
27404 "bp-asm.h".
27405 (PARMS): Do not use macros from bp-asm.h.
27406 (__frexpl): Do not use BP_SYM.
27407 (frexpl): Likewise.
27408 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
27409 "bp-asm.h".
27410 (PARMS): Do not use macros from bp-asm.h.
27411 (__remquo): Do not use BP_SYM.
27412 (remquo): Likewise.
27413 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
27414 "bp-asm.h".
27415 (PARMS): Do not use macros from bp-asm.h.
27416 (__remquof): Do not use BP_SYM.
27417 (remquof): Likewise.
27418 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
27419 "bp-asm.h".
27420 (PARMS): Do not use macros from bp-asm.h.
27421 (__remquol): Do not use BP_SYM.
27422 (remquol): Likewise.
27423 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
27424 "bp-asm.h".
27425 (PARMS): Do not use macros from bp-asm.h.
27426 (DEST): Likewise.
27427 (SRC): Likewise.
27428 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
27429 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
27430 "bp-asm.h".
27431 (PARMS): Do not use macros from bp-asm.h.
27432 (strlen): Do not use BP_SYM.
27433 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
27434 "bp-asm.h".
27435 (PARMS): Do not use macros from bp-asm.h.
27436 (S1): Likewise.
27437 (S2): Likewise.
27438 (SIZE): Likewise.
27439 (__mpn_add_n): Do not use BP_SYM.
27440 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
27441 "bp-asm.h".
27442 (PARMS): Do not use macros from bp-asm.h.
27443 (S1): Likewise.
27444 (SIZE): Likewise.
27445 (__mpn_addmul_1): Do not use BP_SYM.
27446 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
27447 weak_alias.
27448 (bzero): Likewise.
27449 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
27450 "bp-asm.h".
27451 (PARMS): Do not use macros from bp-asm.h.
27452 (S): Likewise.
27453 (SIZE): Likewise.
27454 (__mpn_lshift): Do not use BP_SYM.
27455 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
27456 "bp-asm.h".
27457 (PARMS): Do not use macros from bp-asm.h.
27458 (DEST): Likewise.
27459 (SRC): Likewise.
27460 (LEN): Likewise.
27461 (memcpy): Likewise. Do not use BP_SYM.
27462 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
27463 libc_hidden_def and weak_alias.
27464 (mempcpy): Do not use BP_SYM in weak_alias.
27465 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
27466 "bp-asm.h".
27467 (PARMS): Do not use macros from bp-asm.h.
27468 (DEST): Likewise.
27469 (LEN): Likewise.
27470 [!BZERO_P] (CHR): Likewise.
27471 (memset): Likewise. Do not use BP_SYM.
27472 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
27473 "bp-asm.h".
27474 (PARMS): Do not use macros from bp-asm.h.
27475 (S1): Likewise.
27476 (SIZE): Likewise.
27477 (__mpn_mul_1): Do not use BP_SYM.
27478 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
27479 "bp-asm.h".
27480 (PARMS): Do not use macros from bp-asm.h.
27481 (S): Likewise.
27482 (SIZE): Likewise.
27483 (__mpn_rshift): Do not use BP_SYM.
27484 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
27485 "bp-asm.h".
27486 (PARMS): Do not use macros from bp-asm.h.
27487 (STR): Likewise.
27488 (CHR): Likewise.
27489 (strchr): Likewise. Do not use BP_SYM.
27490 (index): Do not use BP_SYM in weak_alias.
27491 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
27492 "bp-asm.h".
27493 (PARMS): Do not use macros from bp-asm.h.
27494 (DEST): Likewise.
27495 (SRC): Likewise.
27496 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
27497 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
27498 "bp-asm.h".
27499 (PARMS): Do not use macros from bp-asm.h.
27500 (strlen): Do not use BP_SYM.
27501 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
27502 "bp-asm.h".
27503 (PARMS): Do not use macros from bp-asm.h.
27504 (S1): Likewise.
27505 (S2): Likewise.
27506 (SIZE): Likewise.
27507 (__mpn_sub_n): Do not use BP_SYM.
27508 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
27509 "bp-asm.h".
27510 (PARMS): Do not use macros from bp-asm.h.
27511 (S1): Likewise.
27512 (SIZE): Likewise.
27513 (__mpn_submul_1): Do not use BP_SYM.
27514 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
27515 "bp-asm.h".
27516 (PARMS): Do not use macros from bp-asm.h.
27517 (S1): Likewise.
27518 (S2): Likewise.
27519 (SIZE): Likewise.
27520 (__mpn_add_n): Do not use BP_SYM.
27521 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
27522 weak_alias.
27523 (bzero): Likewise.
27524 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
27525 "bp-asm.h".
27526 (PARMS): Do not use macros from bp-asm.h.
27527 (BLK2): Likewise.
27528 (LEN): Likewise.
27529 (memcmp): Do not use BP_SYM.
27530 (bcmp): Do not use BP_SYM in weak_alias.
27531 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
27532 "bp-asm.h".
27533 (PARMS): Do not use macros from bp-asm.h.
27534 (DEST): Likewise.
27535 (SRC): Likewise.
27536 (LEN): Likewise.
27537 (memcpy): Likewise. Do not use BP_SYM.
27538 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
27539 "bp-asm.h".
27540 (PARMS): Do not use macros from bp-asm.h.
27541 (DEST): Likewise.
27542 (SRC): Likewise.
27543 (LEN): Likewise.
27544 (memmove): Likewise. Do not use BP_SYM.
27545 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
27546 "bp-asm.h".
27547 (PARMS): Do not use macros from bp-asm.h.
27548 (DEST): Likewise.
27549 (SRC): Likewise.
27550 (LEN): Likewise.
27551 (__mempcpy): Likewise. Do not use BP_SYM.
27552 (mempcpy): Do not use BP_SYM in weak_alias.
27553 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
27554 "bp-asm.h".
27555 (PARMS): Do not use macros from bp-asm.h.
27556 (DEST): Likewise.
27557 (LEN): Likewise.
27558 [!BZERO_P] (CHR): Likewise.
27559 (memset): Likewise. Do not use BP_SYM.
27560 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
27561 "bp-asm.h".
27562 (PARMS): Do not use macros from bp-asm.h.
27563 (STR2): Likewise.
27564 (strcmp): Do not use BP_SYM.
27565 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
27566 "bp-asm.h".
27567 (PARMS): Do not use macros from bp-asm.h.
27568 (STR): Likewise.
27569 (DELIM): Likewise.
27570 [USE_AS_STRTOK_R] (SAVE): Likewise.
27571 (FUNCTION): Likewise. Do not use BP_SYM.
27572 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
27573 aliases.
27574 (strtok_r): Likewise.
27575 (__GI___strtok_r): Likewise.
27576 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
27577 (PARMS): Do not use macros from bp-asm.h.
27578 (S): Likewise.
27579 (SIZE): Likewise.
27580 (__mpn_lshift): Do not use BP_SYM.
27581 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
27582 (PARMS): Do not use macros from bp-asm.h.
27583 (STR): Likewise.
27584 (CHR): Likewise.
27585 (__memchr): Do not use BP_SYM.
27586 (memchr): Do not use BP_SYM in weak_alias.
27587 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
27588 (PARMS): Do not use macros from bp-asm.h.
27589 (BLK2): Likewise.
27590 (LEN): Likewise.
27591 (memcmp): Do not use BP_SYM.
27592 (bcmp): Do not use BP_SYM in weak_alias.
27593 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
27594 (PARMS): Do not use macros from bp-asm.h.
27595 (S1): Likewise.
27596 (SIZE): Likewise.
27597 (__mpn_mul_1): Do not use BP_SYM.
27598 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
27599 "bp-asm.h".
27600 (PARMS): Do not use macros from bp-asm.h.
27601 (STR): Likewise.
27602 (CHR): Likewise.
27603 (__rawmemchr): Do not use BP_SYM.
27604 (rawmemchr): Do not use BP_SYM in weak_alias.
27605 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
27606 (PARMS): Do not use macros from bp-asm.h.
27607 (S): Likewise.
27608 (SIZE): Likewise.
27609 (__mpn_rshift): Do not use BP_SYM.
27610 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
27611 (PARMS): Do not use macros from bp-asm.h.
27612 (SIGMSK): Likewise.
27613 (__sigsetjmp): Likewise. Do not use BP_SYM.
27614 * sysdeps/i386/start.S: Do not include "bp-sym.h".
27615 (_start): Do not use BP_SYM.
27616 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
27617 (PARMS): Do not use macros from bp-asm.h.
27618 (DEST): Likewise.
27619 (SRC): Likewise.
27620 (__stpcpy): Likewise. Do not use BP_SYM.
27621 (stpcpy): Do not use BP_SYM in weak_alias.
27622 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
27623 "bp-asm.h".
27624 (PARMS): Do not use macros from bp-asm.h.
27625 (DEST): Likewise.
27626 (SRC): Likewise.
27627 (LEN): Likewise.
27628 (__stpncpy): Likewise. Do not use BP_SYM.
27629 (stpncpy): Do not use BP_SYM in weak_alias.
27630 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
27631 (PARMS): Do not use macros from bp-asm.h.
27632 (STR): Likewise.
27633 (CHR): Likewise.
27634 (strchr): Likewise. Do not use BP_SYM.
27635 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
27636 "bp-asm.h".
27637 (PARMS): Do not use macros from bp-asm.h.
27638 (STR): Likewise.
27639 (CHR): Likewise.
27640 (__strchrnul): Likewise. Do not use BP_SYM.
27641 (strchrnul): Do not use BP_SYM in weak_alias.
27642 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
27643 "bp-asm.h".
27644 (PARMS): Do not use macros from bp-asm.h.
27645 (STOP): Likewise.
27646 (strcspn): Do not use BP_SYM.
27647 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
27648 "bp-asm.h".
27649 (PARMS): Do not use macros from bp-asm.h.
27650 (STR): Likewise.
27651 (STOP): Likewise.
27652 (strpbrk): Likewise. Do not use BP_SYM.
27653 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
27654 "bp-asm.h".
27655 (PARMS): Do not use macros from bp-asm.h.
27656 (STR): Likewise.
27657 (CHR): Likewise.
27658 (strrchr): Likewise. Do not use BP_SYM.
27659 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
27660 (PARMS): Do not use macros from bp-asm.h.
27661 (SKIP): Likewise.
27662 (strspn): Do not use BP_SYM.
27663 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
27664 (PARMS): Do not use macros from bp-asm.h.
27665 (STR): Likewise.
27666 (DELIM): Likewise.
27667 (SAVE): Likewise.
27668 (FUNCTION): Likewise. Do not use BP_SYM.
27669 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
27670 aliases.
27671 (strtok_r): Likewise.
27672 (__GI___strtok_r): Likewise.
27673 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
27674 (PARMS): Do not use macros from bp-asm.h.
27675 (S1): Likewise.
27676 (S2): Likewise.
27677 (SIZE): Likewise.
27678 (__mpn_sub_n): Do not use BP_SYM.
27679 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
27680 "bp-asm.h".
27681 (PARMS): Do not use macros from bp-asm.h.
27682 (S1): Likewise.
27683 (SIZE): Likewise.
27684 (__mpn_submul_1): Do not use BP_SYM.
27685 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
27686 <bp-sym.h>.
27687 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
27688 and <bp-asm.h>.
27689 (PARMS): Do not use macros from bp-asm.h.
27690 (FLAGS): Likewise.
27691 (PTID): Likewise.
27692 (TLS): Likewise.
27693 (CTID): Likewise.
27694 (__clone): Do not use BP_SYM.
27695 (clone): Do not use BP_SYM in weak_alias.
27696 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
27697 and <bp-asm.h>.
27698 (PARMS): Do not use macros from bp-asm.h.
27699 (LEN): Likewise.
27700 (__mmap64): Do not use BP_SYM.
27701 (mmap64): Do not use BP_SYM in weak_alias.
27702 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
27703 <bp-sym.h> and <bp-asm.h>.
27704 (PARMS): Do not use macros from bp-asm.h.
27705 (__posix_fadvise64_l64): Do not use BP_SYM.
27706 * sysdeps/unix/sysv/linux/i386/semtimedop.S
27707 (PARMS): Do not use macros from bp-asm.h.
27708 (NSOPS): Likewise.
27709 (semtimedop): Do not use BP_SYM.
27710 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
27711 and <bp-asm.h>.
27712
27713 2013-02-21 Allan McRae <allan@archlinux.org>
27714
27715 * manual/message.texi (Charset conversion in gettext):
27716 Move @end statement to beginning of line.
27717
27718 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
27719
27720 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
27721 static.
27722 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
27723 Likewise.
27724
27725 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
27726 (denorm): Likewise.
27727 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
27728 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
27729
27730 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27731
27732 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
27733 tail-call to the resolved function if pltexit isn't needed.
27734
27735 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
27736
27737 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
27738 or Y being zero as being unlikely.
27739 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
27740 Likewise.
27741
27742 2013-02-20 Carlos O'Donell <carlos@redhat.com>
27743
27744 * manual/nss.texi (System Databases and Name Service Switch):
27745 Remove frobnicate @pxref.
27746
27747 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
27748
27749 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
27750 __attribute__ ((unused)) to __attribute__ ((__unused__)).
27751
27752 2013-02-20 Petr Machata <pmachata@redhat.com>
27753
27754 * elf/elf.h (R_ARM_TARGET1): New macro.
27755 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
27756 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
27757 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
27758 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
27759 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
27760 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
27761 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
27762 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
27763 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
27764 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
27765 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
27766 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
27767 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
27768 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
27769 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
27770 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
27771 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
27772 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
27773 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
27774 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
27775 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
27776 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
27777 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
27778 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
27779 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
27780 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
27781 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
27782 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
27783 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
27784 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
27785 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
27786 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
27787 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
27788 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
27789 (R_ARM_THM_GOT_BREL12): Likewise.
27790 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
27791 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
27792 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
27793 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
27794 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
27795 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
27796 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
27797 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
27798 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
27799
27800 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
27801
27802 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
27803 __attribute_used__ to __attribute__ ((unused)).
27804
27805 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
27806
27807 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
27808 powerpc mpa.c.
27809 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
27810 comment formatting.
27811 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
27812
27813 2013-02-19 Joseph Myers <joseph@codesourcery.com>
27814
27815 [BZ #13550]
27816 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
27817 Remove macro.
27818 (ENTER): Remove both macro definitions.
27819 (LEAVE): Likewise.
27820 (CHECK_BOUNDS_LOW): Likewise.
27821 (CHECK_BOUNDS_HIGH): Likewise.
27822 (CHECK_BOUNDS_BOTH): Likewise.
27823 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
27824 (RETURN_BOUNDED_POINTER): Likewise.
27825 (RETURN_NULL_BOUNDED_POINTER): Likewise.
27826 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
27827 (POP_ERRNO_LOCATION_RETURN): Likewise.
27828 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
27829 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
27830 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
27831 macros.
27832 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
27833 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
27834 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
27835 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
27836 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
27837 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
27838 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
27839 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
27840 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
27841 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
27842 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
27843 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
27844 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
27845 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
27846 removed macros.
27847 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
27848 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
27849 macros.
27850 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
27851 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
27852 * sysdeps/i386/i586/memset.S (memset): Likewise.
27853 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
27854 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
27855 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
27856 macros.
27857 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
27858 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
27859 Change uses of L(2) to L(out).
27860 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
27861 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
27862 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
27863 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
27864 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
27865 removed macros.
27866 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
27867 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
27868 macros.
27869 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
27870 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
27871 (RETURN): Do not use macro LEAVE.
27872 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
27873 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
27874 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
27875 * sysdeps/i386/i686/memset.S (memset): Likewise.
27876 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
27877 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
27878 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
27879 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
27880 Likewise.
27881 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
27882 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
27883 L(1_2) and L(1_3) into L(1).
27884 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
27885 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
27886 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
27887 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
27888 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
27889 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
27890 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
27891 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
27892 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
27893 macros.
27894 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
27895 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
27896 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
27897 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
27898 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
27899 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
27900 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
27901 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
27902 * sysdeps/i386/strcspn.S (strcspn): Likewise.
27903 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
27904 * sysdeps/i386/strrchr.S (strrchr): Likewise.
27905 * sysdeps/i386/strspn.S (strspn): Likewise.
27906 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
27907 conditional code.
27908 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
27909 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
27910 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
27911 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
27912 L(1_3) into L(1_1).
27913 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
27914 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
27915 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
27916 macros.
27917 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
27918
27919 2013-02-19 Jakub Jelinek <jakub@redhat.com>
27920
27921 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
27922 macro.
27923
27924 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
27925
27926 * math/atest-exp.c (exp_mpn): Remove ROUND.
27927 * math/atest-exp2.c (exp_mpn): Likewise.
27928 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
27929
27930 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
27931 * stdlib/tst-tls-atexit-lib.c: Likewise.
27932 * stdlib/tst-tls-atexit.c: Likewise.
27933
27934 2013-02-18 Mike Frysinger <vapier@gentoo.org>
27935
27936 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
27937 and __attribute_alloc_size__.
27938
27939 2013-02-18 Mike Frysinger <vapier@gentoo.org>
27940
27941 * include/programs/xmalloc.h: Change __attribute_alloc_size to
27942 __attribute_alloc_size__.
27943 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
27944 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
27945
27946 2013-02-18 Mike Frysinger <vapier@gentoo.org>
27947
27948 * include/programs/xmalloc.h: New file.
27949 * catgets/gencat.c: Include it.
27950 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
27951 * elf/pldd.c: Likewise.
27952 * iconv/iconv_charmap.c: Likewise.
27953 * iconv/iconvconfig.c: Likewise.
27954 * iconv/strtab.c: Likewise.
27955 * locale/programs/locale.c: Likewise.
27956 * locale/programs/localedef.h: Likewise.
27957 * locale/programs/simple-hash.c: Likewise.
27958 * nscd/nscd.h: Likewise.
27959 * nss/makedb.c: Likewise.
27960 * sysdeps/generic/ldconfig.h: Likewise.
27961
27962 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
27963
27964 * Versions.def: Add GLIBC_2.18.
27965 * include/link.h (struct link_map): New member l_tls_dtor_count.
27966 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
27967 (__call_tls_dtors): Likewise.
27968 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
27969 __cxa_thread_atexit_impl.
27970 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
27971 Likewise.
27972 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
27973 Likewise.
27974 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
27975 Likewise.
27976 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
27977 Likewise.
27978 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
27979 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
27980 Likewise.
27981 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
27982 Likewise.
27983 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
27984 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
27985 Likewise.
27986 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
27987 (tests): Add test case tst-tls-atexit.
27988 (modules-names): Add shared library for tst-tls-atexit.
27989 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
27990 (GLIBC_PRIVATE): Add __call_tls_dtors.
27991 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
27992 for libstdc++.
27993 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
27994 * stdlib/tst-tls-atexit.c: New test case.
27995 * stdlib/tst-tls-atexit-lib.c: New test case.
27996
27997 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
27998
27999 * elf/Versions (ld): Add _dl_find_dso_for_object.
28000 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
28001 * elf/dl-open.c (_dl_find_dso_for_object): New function.
28002 (dl_open_worker): Use _dl_find_dso_for_object.
28003 * elf/dl-sym.c (do_sym): Likewise.
28004 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
28005
28006 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28007
28008 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
28009 Syntactic changes only.
28010 (_dl_runtime_profile): Do a tail-call to the resolved function.
28011
28012 2013-02-17 Joseph Myers <joseph@codesourcery.com>
28013
28014 [BZ #13550]
28015 * sysdeps/x86_64/bp-asm.h: Remove file.
28016 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
28017 <bp-sym.h> and <bp-asm.h>.
28018 (__clone): Do not use BP_SYM.
28019 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
28020 <bp-sym.h> and <bp-asm.h>.
28021 * sysdeps/unix/x86_64/sysdep.S: Likewise.
28022 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
28023 "bp-asm.h".
28024 (_setjmp): Do not use BP_SYM.
28025 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
28026 "bp-asm.h".
28027 (setjmp): Do not use BP_SYM.
28028 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
28029 libc_hidden_def.
28030 (mempcpy): Do not use BP_SYM in weak_alias.
28031 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
28032 "bp-asm.h".
28033 (strchr): Do not use BP_SYM.
28034 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
28035 "bp-asm.h".
28036 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
28037 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
28038 (_start): Do not use BP_SYM.
28039 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
28040 "bp-asm.h".
28041 (strcat): Do not use BP_SYM.
28042 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
28043 "bp-asm.h".
28044 (STRCMP): Do not use BP_SYM.
28045 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
28046 "bp-asm.h".
28047 (STRCPY): Do not use BP_SYM.
28048 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
28049 "bp-asm.h".
28050 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
28051 "bp-asm.h".
28052 (FUNCTION): Do not use BP_SYM.
28053 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
28054 weak_alias.
28055 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
28056
28057 2013-02-17 Andreas Jaeger <aj@suse.de>
28058
28059 * time/Versions: Sort entries.
28060 * string/Versions: Likewise.
28061 * resolv/Versions: Likewise.
28062 * posix/Versions: Likewise.
28063 * iconv/Versions: Likewise.
28064 * elf/Versions: Likewise.
28065 * wcsmbs/Versions: Likewise.
28066
28067 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
28068
28069 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
28070 loop termination condition.
28071
28072 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
28073 variable to calculate EZ.
28074 (__sqr): Likewise.
28075
28076 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
28077 the lower precision input.
28078
28079 2013-02-15 Joseph Myers <joseph@codesourcery.com>
28080
28081 [BZ #13550]
28082 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
28083 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
28084 (run-via-rtld-prefix): Do not handle %-bp tests.
28085 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
28086 (all-object-suffixes): Remove .ob.
28087 (bppfx): Remove variable.
28088 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
28089 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
28090 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
28091 [$(build-bounded) = yes] (libtype.ob): Likewise.
28092 * Makerules (elide-routines.ob): Remove variable.
28093 (do-tests-clean): Do not handle *-bp.out.
28094 (common-mostlyclean): Do not handle *-bp and *-bp.out.
28095 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
28096 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
28097 (tests): Do not include $(tests-bp.out).
28098 (xtests): Do not include $(xtests-bp.out).
28099 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
28100 [$(build-bounded) = yes] ($(addprefix
28101 $(objpfx),$(binaries-bounded))): Remove rule.
28102 ($(objpfx)%-bp.out): Remove rule.
28103 * config.make.in (build-bounded): Remove variable.
28104 * crypt/Makefile [$(build-bounded) = yes]
28105 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
28106 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
28107 append to variable.
28108 [$(build-bounded) = yes] (install-lib): Likewise.
28109 [$(build-bounded) = yes] (generated): Likewise.
28110 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
28111 Remove rule.
28112 * intl/Makefile [$(build-bounded) = yes]
28113 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
28114 * math/Makefile [$(build-bounded) = yes]
28115 ($(tests:%=$(objpfx)%-bp): Likewise.
28116 * misc/Makefile [$(build-bounded) = yes]
28117 ($(objpfx)tst-tsearch-bp): Likewise.
28118 * nptl/Makeconfig (bounded-thread-library): Remove variable.
28119 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
28120 Remove dependency.
28121 * string/Makefile (o-objects.ob): Remove variable.
28122 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
28123 (CFLAGS-.ob): Remove variable.
28124 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
28125 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
28126 both definitions of variable.
28127 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
28128 (ASFLAGS-.ob): Remove variable.
28129
28130 2013-02-14 Joseph Myers <joseph@codesourcery.com>
28131
28132 [BZ #13550]
28133 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
28134 Remove __BOUNDED_POINTERS__ from condition.
28135 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
28136 * string/bits/string2.h [!__NO_STRING_INLINES &&
28137 !__BOUNDED_POINTERS__]: Likewise.
28138 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
28139 Likewise.
28140 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
28141 Remove conditional code.
28142 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
28143 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
28144 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
28145 condition.
28146
28147 [BZ #13550]
28148 * csu/libc-start.c: Do not include <bp-sym.h>.
28149 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
28150 * elf/dl-open.c: Do not include <bp-sym.h>.
28151 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
28152 * math/fegetenv.c: Do not include <bp-sym.h>.
28153 (fegetenv): Do not use BP_SYM in versioned symbols.
28154 * nptl/sysdeps/pthread/bits/libc-lockP.h
28155 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
28156 <bp-sym.h>.
28157 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28158 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
28159 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28160 (__pthread_mutex_destroy): Likewise.
28161 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28162 (__pthread_mutex_lock): Likewise.
28163 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28164 (__pthread_mutex_trylock): Likewise.
28165 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28166 (__pthread_mutex_unlock): Likewise.
28167 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28168 (__pthread_mutexattr_init): Likewise.
28169 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28170 (__pthread_mutexattr_destroy): Likewise.
28171 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28172 (__pthread_mutexattr_settype): Likewise.
28173 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28174 (__pthread_rwlock_init): Likewise.
28175 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28176 (__pthread_rwlock_destroy): Likewise.
28177 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28178 (__pthread_rwlock_rdlock): Likewise.
28179 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28180 (__pthread_rwlock_tryrdlock): Likewise.
28181 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28182 (__pthread_rwlock_wrlock): Likewise.
28183 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28184 (__pthread_rwlock_trywrlock): Likewise.
28185 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28186 (__pthread_rwlock_unlock): Likewise.
28187 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28188 (__pthread_key_create): Likewise.
28189 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28190 (__pthread_setspecific): Likewise.
28191 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28192 (__pthread_getspecific): Likewise.
28193 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
28194 Likewise.
28195 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28196 (_pthread_cleanup_push_defer): Likewise.
28197 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28198 (_pthread_cleanup_pop_restore): Likewise.
28199 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28200 (pthread_setcancelstate): Likewise.
28201 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
28202 <bp-sym.h>.
28203 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
28204 (memchr): Do not use BP_SYM in weak_alias.
28205 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
28206 (fegetenv): Do not use BP_SYM in versioned symbols.
28207 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
28208 (fesetenv): Do not use BP_SYM in versioned symbols.
28209 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
28210 (feupdateenv): Do not use BP_SYM in versioned symbols.
28211 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
28212 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
28213 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
28214 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
28215 (open64): Do not use BP_SYM in weak_alias.
28216 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
28217 (fegetenv): Do not use BP_SYM in versioned symbols.
28218 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
28219 (fesetenv): Do not use BP_SYM in versioned symbols.
28220 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
28221 (feupdateenv): Do not use BP_SYM in versioned symbols.
28222 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
28223 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
28224 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
28225 (feraiseexcept): Do not use BP_SYM in versioned symbols.
28226 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
28227 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
28228 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
28229 <bp-sym.h>.
28230 (__libc_start_main): Do not use BP_SYM.
28231
28232 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
28233
28234 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
28235 redundant return line.
28236 (norm): Likewise.
28237 (denorm): Likewise.
28238 (dbl_mp): Likewise.
28239 (sub_magnitudes): Likewise.
28240 (__add): Likewise.
28241 (__sub): Likewise.
28242 (__mul): Likewise.
28243 (__inv): Likewise.
28244 (__dvd): Likewise.
28245 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
28246 (norm): Likewise.
28247 (denorm): Likewise.
28248 (dbl_mp): Likewise.
28249 (sub_magnitudes): Likewise.
28250 (__add): Likewise.
28251 (__sub): Likewise.
28252 (__mul): Likewise.
28253 (__inv): Likewise.
28254 (__dvd): Likewise.
28255
28256 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
28257 instead of __mul.
28258 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
28259 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
28260 (cc32): Likewise.
28261
28262 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
28263 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
28264 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
28265 of __mul for squares.
28266 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
28267 function
28268 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
28269 Likewise.
28270 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
28271 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
28272
28273 2013-02-13 Joseph Myers <joseph@codesourcery.com>
28274
28275 [BZ #13550]
28276 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
28277 code.
28278 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
28279 prototype or function definition. Rename ubp_* variables and
28280 parameters. Remove argv definitions conditional on
28281 [__BOUNDED_POINTERS__].
28282 * debug/backtrace.c (__backtrace): Do not use __unbounded.
28283 * elf/dl-runtime.c (_dl_fixup): Likewise.
28284 * include/set-hooks.h (RUN_HOOK): Likewise.
28285 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
28286 definition.
28287 * string/strcpy.c (strcpy): Do not use __unbounded.
28288 * sysdeps/generic/frame.h (struct layout): Likewise.
28289 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
28290 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
28291 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
28292 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
28293 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
28294 (__backtrace): Likewise.
28295 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
28296 use __ptrvalue.
28297 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
28298 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
28299 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
28300 Likewise.
28301 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
28302 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
28303 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
28304 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
28305 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
28306 Do not use __unbounded.
28307 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
28308 Rename __unboundedrlimits parameter to rlimits in prototype.
28309 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
28310 Do not use __unbounded.
28311 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
28312 not use __ptrvalue.
28313 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
28314 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
28315 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
28316 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
28317 __ptrvalue or __unbounded.
28318 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
28319 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
28320 use __unbounded.
28321 (__new_msgctl): Do not use __ptrvalue.
28322 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
28323 __unbounded.
28324 (__libc_msgrcv): Do not use __ptrvalue.
28325 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
28326 startup_info): Do not use __unbounded.
28327 (__libc_start_main): Likewise. Rename ubp_* variables and
28328 parameters. Remove argv definitions conditional on
28329 [__BOUNDED_POINTERS__].
28330 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
28331 __ptrvalue.
28332 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
28333 use __unbounded.
28334 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
28335 or __ptrvalue.
28336 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
28337 use __unbounded.
28338 (__new_shmctl): Do not use __ptrvalue.
28339 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
28340 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
28341 Likewise.
28342 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
28343 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
28344 (__libc_sigaction): Likewise.
28345 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
28346 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
28347 Likewise.
28348 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
28349
28350 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
28351
28352 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
28353
28354 * string/mempcpy.c: Implement by calling memcpy.
28355
28356 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
28357
28358 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
28359
28360 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
28361 evaluation.
28362
28363 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
28364 values in the mantissa.
28365
28366 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
28367 minimize writes to Z.
28368 (sub_magnitudes): Simplify code a bit.
28369
28370 2013-02-12 Roland McGrath <roland@hack.frob.com>
28371
28372 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
28373 from the message. The linker prefixes all warnings with that already.
28374
28375 2013-02-12 Andreas Schwab <schwab@suse.de>
28376
28377 [BZ #15078]
28378 * posix/regexec.c (extend_buffers): Add parameter min_len.
28379 (check_matching): Pass minimum needed length.
28380 (clean_state_log_if_needed): Likewise.
28381 (get_subexp): Likewise.
28382 * posix/Makefile (tests): Add bug-regex34.
28383 (bug-regex34-ENV): Define.
28384 * posix/bug-regex34.c: New file.
28385
28386 [BZ #11561]
28387 * posix/regcomp.c (parse_bracket_exp): When looking up collating
28388 elements compare against the byte sequence of it, not its name.
28389 * posix/Makefile (tests): Add bug-regex35.
28390 (bug-regex35-ENV): Define.
28391 * posix/bug-regex35.c: New file.
28392
28393 2013-02-11 Tom de Vries <tom@codesourcery.com>
28394
28395 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
28396 comment.
28397 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
28398 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
28399 (CHECK_EOL): Add undef.
28400
28401 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
28402
28403 * bits/stdlib-bsearch.h: New file.
28404 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
28405 * stdlib/stdlib.h: Likewise.
28406
28407 2013-02-11 Roland McGrath <roland@hack.frob.com>
28408
28409 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
28410 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
28411 declaration.
28412 * manual/search.texi (Array Search Function): Add missing const in
28413 lfind prototype.
28414 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
28415 declaration to use rlim_t.
28416 (Basic Scheduling Functions): Remove erroneous const from
28417 sched_getparam prototype. Remove erroneous * from
28418 sched_get_priority_max and sched_get_priority_min prototypes.
28419 (Resource Usage): Fix summary @comment on vtimes to refer to
28420 sys/vtimes.h rather than vtimes.h.
28421 Add missing *s in vtimes prototype.
28422 (Limits on Resources): Fix ulimit prototype to return long int.
28423 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
28424 prototypes to use long int rather than double.
28425 (BSD Random): Fix initstate and setstate to use char *, not void *.
28426 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
28427 prototype to make second argument 'struct aiocb64 *const[]'.
28428 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
28429 (Status of AIO Operations): Remove erroneous const in aio_return and
28430 aio_return64 prototypes.
28431 (Synchronizing I/O): Fix sync prototype to return void.
28432 * manual/startup.texi (Suboptions): Remove an erroneous const in
28433 getsubopt prototype.
28434 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
28435 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
28436 use size_t rather than int.
28437 (Scanning All Users): Likewise for getpwent_r.
28438 (Setting Groups): Add missing const to setgroups prototype.
28439 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
28440 * manual/socket.texi (Host Names): Fix gethostbyaddr and
28441 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
28442 'const void *' rather than 'const char *'.
28443 (Host Address Functions): Likewise for inet_ntop.
28444 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
28445 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
28446 ssize_t for return value.
28447 (Sending Data): Likewise for send, sendto, sendmsg.
28448 (Socket Option Functions): Add a missing const in setsockopt prototype.
28449 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
28450 use wchar_t for the argument.
28451 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
28452 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
28453 take no arguments.
28454 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
28455 double/float/long double for second argument.
28456 Fix return types of significand, significandf, significandl.
28457 * manual/filesys.texi (Setting Permissions): Use mode_t for second
28458 argument in fchmod prototype.
28459 (File Owner): Use uid_t and gid_t in fchown prototype.
28460 (File Times): Add const to utimes, futimes, and lutimes prototypes.
28461 (Making Special Files): Use mode_t and dev_t in mknod prototype.
28462 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
28463 use 'const struct dirent **' as argument types to CMP function pointer
28464 argument.
28465 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
28466 (File Times): Fix summary magic @comment for struct utimbuf and utime
28467 to refer to utime.h, not time.h.
28468 * manual/string.texi (Argz Functions): Add missing const in
28469 argz_extract and argz_next prototypes.
28470 (Finding Tokens in a String): Likewise for basename.
28471 (String/Array Comparison): Fix typo in wcscasecmp prototype.
28472 (Copying and Concatenation): Fix typo in wmemmove prototype.
28473 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
28474 (Signal Stack): Remove erroneous const in sigstack prototype.
28475 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
28476 prototype.
28477 (Simple Calendar Time): Likewise for stime.
28478 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
28479 prototype.
28480 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
28481 say sys/sysctl.h instead.
28482 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
28483 and vsyslog prototypes.
28484
28485 2013-02-11 Tom de Vries <tom@codesourcery.com>
28486
28487 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
28488 Remove.
28489
28490 2013-02-11 Roland McGrath <roland@hack.frob.com>
28491
28492 * misc/sys/mman.h: Fix typo in mremap comment.
28493
28494 2013-02-08 Roland McGrath <roland@hack.frob.com>
28495
28496 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
28497 the '\0' terminator.
28498
28499 2013-02-08 Joseph Myers <joseph@codesourcery.com>
28500
28501 [BZ #13550]
28502 * debug/segfault.c: Don't include <bp-checks.h>.
28503 * sysdeps/generic/bp-checks.h: Remove file.
28504 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
28505 (__GETDENTS): Don't use CHECK_N.
28506 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
28507 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
28508 (__getgroups): Don't use CHECK_N.
28509 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
28510 (setgroups): Don't use CHECK_N.
28511 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
28512 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
28513 (__libc_msgrcv): Don't use CHECK_N.
28514 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
28515 (__libc_msgsnd): Don't use CHECK_N.
28516 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
28517 <bp-checks.h>.
28518 (__libc_pread): Don't use CHECK_N.
28519 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
28520 include <bp-checks.h>.
28521 (__libc_pread64): Don't use CHECK_N.
28522 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
28523 include <bp-checks.h>.
28524 (__libc_pwrite): Don't use CHECK_N.
28525 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
28526 include <bp-checks.h>.
28527 (__libc_pwrite64): Don't use CHECK_N.
28528 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
28529 <bp-checks.h>.
28530 (__libc_pread): Don't use CHECK_N.
28531 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
28532 include <bp-checks.h>.
28533 (__libc_pread64): Don't use CHECK_N.
28534 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
28535 include <bp-checks.h>.
28536 (__libc_pwrite): Don't use CHECK_N.
28537 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
28538 include <bp-checks.h>.
28539 (__libc_pwrite64): Don't use CHECK_N.
28540 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
28541 (do_pread): Don't use CHECK_N.
28542 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
28543 (do_pread64): Don't use CHECK_N.
28544 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
28545 (do_pwrite): Don't use CHECK_N.
28546 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
28547 (do_pwrite64): Don't use CHECK_N.
28548 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
28549 (__libc_readv): Don't use CHECK_N.
28550 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
28551 (semop): Don't use CHECK_N.
28552 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
28553 <bp-checks.h>.
28554 (semtimedop): Don't use CHECK_N.
28555 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
28556 (__libc_pread): Don't use CHECK_N.
28557 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
28558 <bp-checks.h>.
28559 (__libc_pread64): Don't use CHECK_N.
28560 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
28561 <bp-checks.h>.
28562 (__libc_pwrite): Don't use CHECK_N.
28563 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
28564 <bp-checks.h>.
28565 (__libc_pwrite64): Don't use CHECK_N.
28566 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
28567 <bp-checks.h>.
28568 (__libc_msgrcv): Don't use CHECK_N.
28569 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
28570 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
28571 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
28572 (__libc_writev): Don't use CHECK_N.
28573
28574 2013-02-08 Roland McGrath <roland@hack.frob.com>
28575
28576 * string/strcpy.c: Removed unused variable.
28577
28578 * Makeconfig (+sysdep-includes): Define with := rather than =.
28579 Use an existing include/ subdir of each sysdeps dir before it.
28580
28581 2013-02-08 Carlos O'Donell <carlos@redhat.com>
28582
28583 * nscd/connection.c (register_traced_file): Comment function.
28584 [HAVE_INOTIFY] (union __inev): Define.
28585 [HAVE_INOTIFY] (inotify_check_files): New function.
28586 [HAVE_INOTIFY] (clear_db_cache): Likewise.
28587 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
28588 clear_db_cache.
28589 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
28590
28591 2013-02-08 Carlos O'Donell <carlos@redhat.com>
28592
28593 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
28594 loaded if not already and that a failure is permanent.
28595
28596 2013-02-08 Carlos O'Donell <carlos@redhat.com>
28597
28598 [BZ #15006]
28599 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
28600 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
28601
28602 2013-02-08 Joseph Myers <joseph@codesourcery.com>
28603
28604 [BZ #13550]
28605 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
28606 (CHECK_1_NULL_OK): Likewise.
28607 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
28608 (__fxstat): Do not use CHECK_1.
28609 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
28610 <bp-checks.h>.
28611 (___fxstat64): Do not use CHECK_1.
28612 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
28613 <bp-checks.h>.
28614 (__fxstatat): Do not use CHECK_1.
28615 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
28616 <bp-checks.h>.
28617 (__fxstatat64): Do not use CHECK_1.
28618 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
28619 <bp-checks.h>.
28620 (__fxstat): Do not use CHECK_1.
28621 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
28622 <bp-checks.h>.
28623 (__fxstatat): Do not use CHECK_1.
28624 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
28625 <bp-checks.h>.
28626 (__getresgid): Do not use CHECK_1.
28627 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
28628 <bp-checks.h>.
28629 (__getresuid): Do not use CHECK_1.
28630 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
28631 <bp-checks.h>.
28632 (__lxstat): Do not use CHECK_1.
28633 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
28634 <bp-checks.h>.
28635 (__old_msgctl): Do not use CHECK_1.
28636 (__new_msgctl): Likewise.
28637 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
28638 <bp-checks.h>.
28639 (__new_setrlimit): Do not use CHECK_1.
28640 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
28641 <bp-checks.h>.
28642 (__old_shmctl): Do not use CHECK_1.
28643 (__new_shmctl): Likewise.
28644 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
28645 <bp-checks.h>.
28646 (__xstat): Do not use CHECK_1.
28647 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
28648 (__lxstat): Do not use CHECK_1.
28649 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
28650 <bp-checks.h>.
28651 (___lxstat64): Do not use CHECK_1.
28652 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
28653 (__old_msgctl): Do not use CHECK_1.
28654 (__new_msgctl): Likewise.
28655 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
28656 <bp-checks.h>.
28657 (__gettimeofday): Do not use CHECK_1.
28658 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
28659 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
28660 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
28661 <bp-checks.h>.
28662 (__gettimeofday): Do not use CHECK_1.
28663 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
28664 (__old_shmctl): Do not use CHECK_1_NULL_OK.
28665 (__new_shmctl): Do not use CHECK_1.
28666 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
28667 <bp-checks.h>.
28668 (do_sigtimedwait): Do not use CHECK_1.
28669 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
28670 <bp-checks.h>.
28671 (do_sigwaitinfo): Do not use CHECK_1.
28672 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
28673 <bp-checks.h>.
28674 (msgctl): Do not use CHECK_1.
28675 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
28676 <bp-checks.h>.
28677 (shmctl): Do not use CHECK_1.
28678 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
28679 (ustat): Do not use CHECK_1.
28680 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
28681 <bp-checks.h>.
28682 (__fxstat): Do not use CHECK_1.
28683 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
28684 <bp-checks.h>.
28685 (__fxstatat): Do not use CHECK_1.
28686 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
28687 <bp-checks.h>.
28688 (__lxstat): Do not use CHECK_1.
28689 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
28690 <bp-checks.h>.
28691 (__xstat): Do not use CHECK_1.
28692 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
28693 (__xstat): Do not use CHECK_1.
28694 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
28695 (___xstat64): Do not use CHECK_1.
28696
28697 [BZ #13550]
28698 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
28699 definitions.
28700 (CHECK_BOUNDS_HIGH): Likewise.
28701 * string/strcpy.c: Do not include <bp-checks.h>.
28702 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
28703
28704 2013-02-07 Roland McGrath <roland@hack.frob.com>
28705
28706 * nscd/nscd-client.h (__nscd_drop_map_ref):
28707 Add __attribute__ ((unused)).
28708 * nis/nss-nisplus.h (niserr2nss): Likewise.
28709
28710 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
28711 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
28712
28713 * csu/libc-tls.c (init_static_tls, init_slotinfo):
28714 Remove inline keyword.
28715 * include/rounding-mode.h (round_away): Likewise.
28716 * libio/wfileops.c (adjust_wide_data): Likewise.
28717 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
28718 (__m128i_strloadu_tolower): Likewise.
28719 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
28720 (__m128i_strloadu_tolower): Likewise.
28721 * time/mktime.c (ydhms_diff): Likewise.
28722 * locale/elem-hash.h (elem_hash): Likewise.
28723 * locale/setlocale.c (setdata): Likewise.
28724 * posix/regex_internal.h (re_string_char_size_at): Likewise.
28725 (re_string_wchar_at): Likewise.
28726 (bitset_not, bitset_merge, bitset_mask): Likewise.
28727 [!(__GNUC__ > 3)] (inline): Remove macro.
28728 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
28729 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
28730 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
28731 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
28732 * string/memcmp.c (memcmp_bytes): Likewise.
28733 * locale/programs/locarchive.c (compute_hashval): Likewise.
28734 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
28735 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
28736 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
28737 * nss/getent.c (print_rpc, print_protocols): Likewise.
28738 (print_passwd, print_group, print_aliases): Likewise.
28739 * nis/nss-nisplus.h (niserr2nss): Likewise.
28740 * nscd/connections.c (restart_p): Likewise.
28741 Change return type to bool.
28742
28743 2013-02-05 Roland McGrath <roland@hack.frob.com>
28744
28745 * Makeconfig (all-Depend-files): Add existing
28746 $(sorted-subdirs:=/Depend) files.
28747 (all-subdirs): Remove nss.
28748 * sysdeps/unix/inet/Subdirs: Add it here instead.
28749 * hesiod/Depend: New file.
28750
28751 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
28752 instead of calling alloca.
28753
28754 * io/lseek.c (__lseek): Rename to __libc_lseek.
28755 Define __lseek as an alias.
28756
28757 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
28758
28759 2013-02-04 Carlos O'Donell <carlos@redhat.com>
28760
28761 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
28762 else clause and remove check for non-standard endianness.
28763
28764 2013-02-04 David S. Miller <davem@davemloft.net>
28765
28766 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28767
28768 2013-02-04 Joseph Myers <joseph@codesourcery.com>
28769
28770 [BZ #13550]
28771 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
28772 (__ubp_memchr): Remove prototype.
28773 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
28774 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
28775 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
28776 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
28777 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
28778 Remove alias.
28779 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
28780 (__ubp_memchr): Likewise.
28781 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
28782 (__ubp_memchr): Likewise.
28783 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
28784 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
28785 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
28786 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
28787 CHECK_STRING.
28788 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
28789 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
28790 (__getcwd): Do not use CHECK_STRING.
28791 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
28792 <bp-checks.h>.
28793 (__real_chown): Do not use CHECK_STRING.
28794 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
28795 <bp-checks.h>.
28796 (fchownat): Do not use CHECK_STRING.
28797 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
28798 CHECK_STRING.
28799 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
28800 <bp-checks.h>.
28801 (__lchown): Do not use CHECK_STRING.
28802 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
28803 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
28804 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
28805 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
28806 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
28807 include <bp-checks.h>.
28808 (truncate64): Do not use CHECK_STRING.
28809 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
28810 <bp-checks.h>.
28811 (__real_chown): Do not use CHECK_STRING.
28812 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
28813 <bp-checks.h>.
28814 (__lchown): Do not use CHECK_STRING.
28815 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
28816 <bp-checks.h>.
28817 (__chown): Do not use CHECK_STRING.
28818 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
28819 <bp-checks.h>.
28820 (truncate64): Do not use CHECK_STRING.
28821 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
28822 Likewise.
28823 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
28824 (__xmknod): Do not use CHECK_STRING.
28825 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
28826 <bp-checks.h>.
28827 (__xmknodat): Do not use CHECK_STRING.
28828 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
28829 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
28830
28831 2013-02-04 Andreas Schwab <schwab@suse.de>
28832
28833 [BZ #14142]
28834 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
28835 * include/netdb.h: Likewise for h_errno.
28836 * elf/tst-stackguard1.c: Include <tls.h>.
28837
28838 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
28839
28840 * elf/link.h (struct link_map): Extend the l_addr comment.
28841 * include/link.h (struct link_map): Likewise.
28842
28843 2013-02-01 Joseph Myers <joseph@codesourcery.com>
28844
28845 [BZ #13550]
28846 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
28847 (BOUNDED_1): Remove macro.
28848 * debug/backtrace.c: Don't include <bp-checks.h>.
28849 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
28850 (__backtrace): Likewise.
28851 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
28852 <bp-checks.h>.
28853 (__backtrace): Don't use BOUNDED_1.
28854 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
28855 <bp-checks.h>.
28856 (__backtrace): Don't use BOUNDED_1.
28857 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
28858 (__backtrace): Don't use BOUNDED_1.
28859 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
28860 (shmat): Don't use BOUNDED_N.
28861
28862 2013-01-31 Joseph Myers <joseph@codesourcery.com>
28863
28864 [BZ #13550]
28865 * sysdeps/generic/bp-start.h: Remove file.
28866 * csu/libc-start.c: Don't include <bp-start.h>.
28867 (LIBC_START_MAIN): Set up __environ directly instead of using
28868 INIT_ARGV_and_ENVIRON.
28869 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
28870 <bp-start.h>.
28871
28872 [BZ #13550]
28873 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
28874 definitions.
28875 (CHECK_FCNTL): Likewise.
28876 (CHECK_N_PAGES): Likewise.
28877
28878 [BZ #13550]
28879 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
28880 definitions.
28881 (CHECK_SIGSET_NULL_OK): Likewise.
28882 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
28883 <bp-checks.h>.
28884 (sigpending): Don't use CHECK_SIGSET.
28885 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
28886 <bp-checks.h>.
28887 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
28888 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
28889 <bp-checks.h>.
28890 (do_sigsuspend): Don't use CHECK_SIGSET.
28891 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
28892 use CHECK_SIGSET.
28893 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
28894 (do_sigwait): Don't use CHECK_SIGSET.
28895 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
28896 use CHECK_SIGSET.
28897 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
28898 include <bp-checks.h>.
28899 (sigpending): Don't use CHECK_SIGSET.
28900 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
28901 include <bp-checks.h>.
28902 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
28903 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
28904 <bp-checks.h>.
28905 (sigpending): Don't use CHECK_SIGSET.
28906 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
28907 <bp-checks.h>.
28908 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
28909
28910 [BZ #13550]
28911 * sysdeps/generic/bp-semctl.h: Remove file.
28912 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
28913 <bp-checks.h> and <bp-semctl.h>.
28914 (__old_semctl): Don't use CHECK_SEMCTL.
28915 (__new_semctl): Likewise.
28916 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
28917 and <bp-semctl.h>.
28918 (__old_semctl): Don't use CHECK_SEMCTL.
28919 (__new_semctl): Likewise.
28920 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
28921 <bp-checks.h> and <bp-semctl.h>.
28922 (__old_semctl): Don't use CHECK_SEMCTL.
28923 (__new_semctl): Likewise.
28924 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
28925 <bp-checks.h> and <bp-semctl.h>.
28926 (semctl): Don't use CHECK_SEMCTL.
28927
28928 [BZ #13550]
28929 * Makerules (elide-bp-thunks): Remove variable.
28930 (elide-routines.oS): Don't use $(elide-bp-thunks).
28931 (elide-routines.os): Likewise.
28932 (elide-routines.o): Likewise.
28933 (elide-routines.op): Likewise.
28934 (elide-routines.og): Likewise.
28935 (objects): Don't use $(bp-thunks).
28936 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
28937 include.
28938 (common-generated): Do not add s-proto-bp.d.
28939 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
28940 (int): Likewise.
28941 (typ): Likewise.
28942 Do not generate makefile rules for bounded-pointer thunks.
28943 * sysdeps/generic/bp-thunks.h: Remove file.
28944 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
28945 * sysdeps/unix/s-proto-bp.S: Likewise.
28946
28947 [BZ #15062]
28948 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
28949 parts of result separately when argument is not close to line from
28950 -i to i and one part of argument is small.
28951 * math/k_casinhf.c (__kernel_casinhf): Likewise.
28952 * math/k_casinhl.c (__kernel_casinhl): Likewise.
28953 * math/libm-test.inc (cacos_test): Add more tests.
28954 (casin_test): Likewise.
28955 (casinh_test): Likewise.
28956 * sysdeps/i386/fpu/libm-test-ulps: Update.
28957 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28958
28959 2013-01-31 David S. Miller <davem@davemloft.net>
28960
28961 * po/de.po: Update from translation team.
28962
28963 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
28964
28965 * time/tzfile.c: Include stdint.h for SIZE_MAX.
28966
28967 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
28968
28969 * configure.in (_AC_PROG_CC_C89): New definition.
28970 * configure: Regenerate.
28971
28972 * configure.in (AC_PROG_CPP): New definition.
28973 * configure: Regenerate.
28974
28975 2013-01-23 Joseph Myers <joseph@codesourcery.com>
28976
28977 * debug/tst-backtrace.h: New file.
28978 * debug/tst-backtrace2.c: Include tst-backtrace.h.
28979 (ret): Remove variable.
28980 (x): Likewise.
28981 (FAIL): Remove macro.
28982 (NO_INLINE): Likewise.
28983 (fn1): Use match function instead of strstr.
28984 * debug/tst-backtrace3.c: Include tst-backtrace.h.
28985 (ret): Remove variable.
28986 (x): Likewise.
28987 (FAIL): Remove macro.
28988 (NO_INLINE): Likewise.
28989 (fn): Use match function instead of strstr.
28990 * debug/tst-backtrace4.c: Include tst-backtrace.h.
28991 (ret): Remove variable.
28992 (x): Likewise.
28993 (FAIL): Remove macro.
28994 (NO_INLINE): Likewise.
28995 (handle_signal): Use match function instead of strstr.
28996 * debug/tst-backtrace5.c: Include tst-backtrace.h.
28997 (ret): Remove variable.
28998 (x): Likewise.
28999 (FAIL): Remove macro.
29000 (NO_INLINE): Likewise.
29001 (handle_signal): Use match function instead of strstr.
29002
29003 2013-01-23 Roland McGrath <roland@hack.frob.com>
29004
29005 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
29006
29007 2013-01-23 David S. Miller <davem@davemloft.net>
29008
29009 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
29010 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
29011 argument of CAS if possible.
29012 * sysdeps/sparc/sparc64/bits/atomic.h
29013 (__arch_compare_and_exchange_val_32_acq): Likewise.
29014 (__arch_compare_and_exchange_val_64_acq): Likewise.
29015
29016 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
29017
29018 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
29019 * sysdeps/posix/ulimit.c: ... this.
29020 Include <limits.h>.
29021 * sysdeps/unix/bsd/ulimit.c: Remove file.
29022
29023 2013-01-23 Adam Conrad <adconrad@0c3.net>
29024
29025 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
29026 (LDFLAGS-tst-array5): Likewise.
29027
29028 2013-01-23 Joseph Myers <joseph@codesourcery.com>
29029
29030 [BZ #15036]
29031 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
29032 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
29033 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
29034 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
29035
29036 2013-01-21 David S. Miller <davem@davemloft.net>
29037
29038 * sysdeps/sparc/backtrace.c: New file.
29039 * sysdeps/sparc/sparc32/backtrace.h: New file.
29040 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
29041 * sysdeps/sparc/sparc64/backtrace.h: New file.
29042 * sysdeps/sparc/sparc64/backtrace.c: Delete.
29043 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
29044 -funwind-tables.
29045
29046 2013-01-21 Andreas Schwab <schwab@suse.de>
29047
29048 [BZ #15020]
29049 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
29050 closed its stdout.
29051
29052 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
29053
29054 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
29055 "mpa2.h".
29056 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
29057
29058 2013-01-18 Joseph Myers <joseph@codesourcery.com>
29059 Mark Mitchell <mark@codesourcery.com>
29060 Tom de Vries <tom@codesourcery.com>
29061 Paul Pluzhnikov <ppluzhnikov@google.com>
29062
29063 * debug/tst-backtrace2.c: New file.
29064 * debug/tst-backtrace3.c: Likewise.
29065 * debug/tst-backtrace4.c: Likewise.
29066 * debug/tst-backtrace5.c: Likewise.
29067 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
29068 (CFLAGS-tst-backtrace3.c): Likewise.
29069 (CFLAGS-tst-backtrace4.c): Likewise.
29070 (CFLAGS-tst-backtrace5.c): Likewise.
29071 (LDFLAGS-tst-backtrace2): Likewise.
29072 (LDFLAGS-tst-backtrace3): Likewise.
29073 (LDFLAGS-tst-backtrace4): Likewise.
29074 (LDFLAGS-tst-backtrace5): Likewise.
29075 (tests): Add new tests tst-backtrace2, tst-backtrace3,
29076 tst-backtrace4 and tst-backtrace5.
29077
29078 2013-01-18 Anton Blanchard <anton@samba.org>
29079 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
29080
29081 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
29082 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
29083 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
29084 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
29085 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
29086 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
29087 "+r" and remove output regs list as redundant. Add explicit inline
29088 asm to specify register of return val to work around compiler codegen
29089 bug. Remove (int) cast on return value. Add return type parameter to
29090 use in macro so that this macro does not truncate return value for
29091 64-bit values.
29092 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
29093 pass to INTERNAL_VSYSCALL_NCS.
29094 (INLINE_VSYSCALL): Add 'long int' as return type to
29095 INTERNAL_VSYSCALL_NCS macro invocation.
29096 (INTERNAL_VSYSCALL): Add 'long int' as return type to
29097 INTERNAL_VSYSCALL_NCS macro invocation.
29098 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
29099
29100 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
29101
29102 [BZ #14496]
29103 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
29104 Fix application of SIMD FP exception mask.
29105
29106 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
29107 mp_no from a power of two.
29108 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
29109 __mpexp_twomm1. Use __pow_mp.
29110
29111 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
29112 multiplication.
29113
29114 2013-01-17 David S. Miller <davem@davemloft.net>
29115
29116 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29117
29118 2013-01-17 Joseph Myers <joseph@codesourcery.com>
29119
29120 [BZ #15023]
29121 * include/complex.h: Condition contents on [!_COMPLEX_H].
29122 (__kernel_casinhf): New prototype.
29123 (__kernel_casinh): Likewise.
29124 (__kernel_casinhl): Likewise.
29125 * math/Makefile (libm_calls): Add k_casinh.
29126 * math/k_casinh.c: New file.
29127 * math/k_casinhf.c: Likewise.
29128 * math/k_casinhl.c: Likewise.
29129 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
29130 finite nonzero arguments.
29131 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
29132 finite nonzero arguments.
29133 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
29134 finite nonzero arguments.
29135 * math/s_casinh.c: Do not include <float.h>.
29136 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
29137 * math/s_casinhf.c: Do not include <float.h>.
29138 (__casinhf): Move code for finite nonzero arguments to
29139 k_casinhf.c.
29140 * math/s_casinhl.c: Do not include <float.h>.
29141 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
29142 redefine.
29143 (__casinhl): Move code for finite nonzero arguments to
29144 k_casinhl.c.
29145 * math/libm-test.inc (cacos_test): Add more tests.
29146 * sysdeps/i386/fpu/libm-test-ulps: Update.
29147 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29148
29149 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
29150
29151 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
29152 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
29153 [!HAVE_MREMAP]: Remove [defined linux] case.
29154 * malloc/arena.c: Do not include <malloc-sysdep.h>.
29155
29156 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
29157
29158 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
29159
29160 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
29161
29162 * elf/elf.h (R_386_SIZE32): New relocation.
29163 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
29164 R_386_SIZE32.
29165 (elf_machine_rela): Likewise.
29166 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
29167 R_X86_64_SIZE64 and R_X86_64_SIZE32.
29168
29169 2013-01-17 Joseph Myers <joseph@codesourcery.com>
29170
29171 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
29172 (FP_FAST_FMA): Do not define.
29173 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
29174 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
29175 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
29176 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
29177 !_SOFT_FLOAT]: Likewise.
29178 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
29179 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
29180 value.
29181 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
29182 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
29183 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
29184 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
29185 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
29186 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
29187 file.
29188
29189 2013-01-16 Andreas Schwab <schwab@suse.de>
29190
29191 [BZ #14327]
29192 * include/stdlib.h (__mktemp): Add declaration.
29193 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
29194 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
29195
29196 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
29197
29198 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
29199 definitions.
29200 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
29201 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
29202 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
29203 definitions here.
29204 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
29205 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
29206 definitions.
29207 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
29208 and ONE.
29209 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
29210 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
29211 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
29212 definitions.
29213 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
29214 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
29215 definitions.
29216 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
29217
29218 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
29219
29220 2013-01-15 David S. Miller <davem@davemloft.net>
29221
29222 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
29223 trunc{,f} to libm-sysdep_routes.
29224 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
29225 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
29226 file.
29227 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
29228 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
29229 file.
29230 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
29231 file.
29232 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
29233 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
29234 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
29235 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
29236 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
29237 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
29238 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
29239 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
29240
29241 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
29242 nearbyint{,f} to libm-sysdep_routes.
29243 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
29244 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
29245 New file.
29246 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
29247 file.
29248 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
29249 New file.
29250 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
29251 file.
29252 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
29253 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
29254 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
29255 file.
29256 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
29257 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
29258 file.
29259 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
29260 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
29261 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
29262
29263 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
29264 libc_feholdexcept and libc_fesetenv.
29265
29266 2013-01-15 Mike Frysinger <vapier@gentoo.org>
29267
29268 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
29269
29270 2013-01-14 David S. Miller <davem@davemloft.net>
29271
29272 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
29273 (SPARC_ASM_VIS2_IFUNC): Likewise.
29274 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
29275 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
29276 use of 'siam' instruction.
29277 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
29278 Likewise.
29279 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
29280 Likewise.
29281 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
29282 Likewise.
29283 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
29284 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
29285 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
29286 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
29287 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
29288 file.
29289 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
29290 file.
29291 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
29292 file.
29293 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
29294 file.
29295 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
29296 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
29297 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
29298 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
29299 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
29300 new VIS2 routines.
29301 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
29302 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
29303 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
29304 Likewise.
29305 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
29306 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
29307 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
29308 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
29309 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
29310 routines to libm-sysdep_routines.
29311 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
29312
29313 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
29314 fdim/fdimf to libm-sysdep_routines.
29315 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
29316 file.
29317 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
29318 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
29319 file.
29320 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
29321 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
29322 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
29323 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
29324 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
29325 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
29326 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
29327
29328 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
29329
29330 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
29331 to optimize copies.
29332
29333 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
29334 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
29335 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
29336
29337 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
29338 local variable MPTWO.
29339 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
29340 Likewise.
29341
29342 2013-01-13 Mike Frysinger <vapier@gentoo.org>
29343
29344 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
29345 GLOB_NOESCAPE.
29346
29347 2013-01-13 Mike Frysinger <vapier@gentoo.org>
29348
29349 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
29350
29351 2013-01-13 Mike Frysinger <vapier@gentoo.org>
29352
29353 * manual/pattern.texi (glob_t): Document gl_flags.
29354 (glob64_t): Likewise.
29355
29356 2013-01-11 David S. Miller <davem@davemloft.net>
29357
29358 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
29359 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
29360 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
29361 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
29362 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
29363 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
29364 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
29365 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
29366 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
29367 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
29368 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
29369 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
29370 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
29371
29372 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
29373 sparc V9 rather than using V8 code.
29374 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
29375 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
29376
29377 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
29378 Move to...
29379 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
29380 Here.
29381
29382 2013-01-11 Roland McGrath <roland@hack.frob.com>
29383
29384 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
29385 not in the main loop.
29386 * configure: Regenerated.
29387
29388 2013-01-11 Joseph Myers <joseph@codesourcery.com>
29389
29390 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
29391 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
29392 to just #else.
29393 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
29394 [!__GLIBC_HAVE_LONG_LONG] case.
29395 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
29396 condition to just #else.
29397 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
29398 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
29399 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
29400 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
29401 unconditional.
29402 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
29403 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
29404 #elif condition to just #else.
29405 * sysdeps/unix/sysv/linux/sys/sysmacros.h
29406 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
29407 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
29408 #elif condition to just #else.
29409
29410 2013-01-11 Steve Ellcey <sellcey@mips.com>
29411
29412 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
29413 (EF_MIPS_ARCH_64): Fix value.
29414 (EF_MIPS_ARCH_32R2): New.
29415 (EF_MIPS_ARCH_64R2): New.
29416
29417 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
29418
29419 * Makeconfig (+link-pie-before-libc): New.
29420 (+link-pie-after-libc): Likewise.
29421 (+link-pie-tests): Likewise.
29422 (+link-pie): Rewritten.
29423 (link-before-libc): Remove $(config-LDFLAGS).
29424 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
29425 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
29426 (config-LDFLAGS): Renamed to ...
29427 (rtld-LDFLAGS): This.
29428 (rtld-tests-LDFLAGS): New macro.
29429 (link-libc-rpath-link): Likewise.
29430 (link-libc-tests-rpath-link): Likewise.
29431 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
29432 (link-libc): Prepand $(link-libc-rpath-link).
29433 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
29434 (test-program-prefix): New macro.
29435 (test-via-rtld-prefix): Likewise.
29436 (test-program-cmd): Likewise.
29437 (host-test-program-cmd): Likewise.
29438 * Makefile ($(common-objpfx)testrun.sh): Replace
29439 $(run-program-prefix) with $(test-program-prefix).
29440 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
29441 $(rtld-LDFLAGS).
29442 ($(common-objpfx)shlib.lds): Likewise.
29443 (build-module-helper): Likewise.
29444 ($(common-objpfx)format.lds): Likewise.
29445 * Rules (binaries-pie-tests): New.
29446 (binaries-pie-notests): Likewise.
29447 (binaries-pie): Rewritten.
29448 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
29449 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
29450 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
29451 (make-test-out): Replace $(host-built-program-cmd) with
29452 $(host-test-program-cmd).
29453 * config.make.in (build-hardcoded-path-in-tests): New variable.
29454 * configure.in (--enable-hardcoded-path-in-tests): New configure
29455 option.
29456 (hardcoded_path_in_tests): New AC_SUBST.
29457 * configure: Regenerated.
29458 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
29459 $(built-program-cmd) with $(test-program-cmd).
29460 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
29461 (test_program_cmd): This.
29462 * elf/Makefile ($(objpfx)order.out): Run test with
29463 $(test-program-prefix).
29464 ($(objpfx)order2.out): Likewise.
29465 ($(objpfx)tst-initorder.out): Likewise.
29466 ($(objpfx)tst-initorder2.out): Likewise.
29467 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
29468 $(test-program-cmd).
29469 ($(objpfx)tst-array1-static.out): Likewise.
29470 ($(objpfx)tst-array2.out): Likewise.
29471 ($(objpfx)tst-array3.out): Likewise.
29472 ($(objpfx)tst-array4.out): Likewise.
29473 ($(objpfx)tst-array5.out): Likewise.
29474 ($(objpfx)tst-array5-static.out): Likewise.
29475 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
29476 $(test-program-cmd).
29477 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
29478 $(run-program-prefix) with $(test-program-prefix).
29479 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
29480 (test_program_prefix): This.
29481 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
29482 $(run-program-prefix) with $(test-program-prefix).
29483 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
29484 (test_program_prefix): This.
29485 * iconvdata/tst-tables.sh: Likewise.
29486 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
29487 $(run-program-prefix) with $(test-program-prefix).
29488 ($(objpfx)tst-translit.out): Likewise.
29489 ($(objpfx)tst-gettext2.out): Likewise.
29490 ($(objpfx)tst-gettext4.out): Likewise.
29491 ($(objpfx)tst-gettext6.out): Likewise.
29492 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
29493 (test_program_prefix): This.
29494 * intl/tst-gettext2.sh: Likewise.
29495 * intl/tst-gettext4.sh Likewise.
29496 * intl/tst-gettext6.sh: Likewise.
29497 * intl/tst-translit.sh: Likewise.
29498 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
29499 with $(test-program-cmd).
29500 * libio/Makefile ($(objpfx)test-freopen.out): Replace
29501 $(run-program-prefix) with $(test-program-prefix).
29502 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
29503 (test_program_prefix): This.
29504 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
29505 $(run-program-prefix) with $(test-program-prefix).
29506 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
29507 (test_program_prefix): This.
29508 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
29509 * posix/Makefile ($(objpfx)globtest.out): Replace
29510 $(run-via-rtld-prefix) and $(test-wrapper) with
29511 $(test-program-prefix) and $(test-via-rtld-prefix).
29512 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
29513 $(test-program-prefix).
29514 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
29515 $(host-test-program-cmd).
29516 (tst-spawn-ARGS): Likewise.
29517 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
29518 $(test-program-prefix).
29519 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
29520 (test_via_rtld_prefix): This.
29521 (test_wrapper): Renamed to ...
29522 (test_program_prefix): This.
29523 (run_program_prefix): Replaced by test_program_prefix.
29524 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
29525 (test_program_prefix): This.
29526 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
29527 with $(host-test-program-cmd).
29528 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
29529 $(run-program-prefix) with $(test-program-prefix).
29530 ($(objpfx)tst-printf.out): Likewise.
29531 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
29532 $(test-program-cmd).
29533 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
29534 (test_program_prefix): This.
29535 * stdio-common/tst-unbputc.sh: Likewise.
29536 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
29537 $(run-program-prefix) with $(test-program-prefix).
29538 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
29539 (test_program_prefix): This.
29540 * string/Makefile ($(objpfx)tst-svc.out): Replace
29541 $(built-program-cmd) with $(test-program-cmd).
29542
29543 2013-01-11 Andreas Jaeger <aj@suse.de>
29544
29545 [BZ #15003]
29546 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
29547 value. Sync with Linux 3.7.
29548
29549 2013-01-10 David S. Miller <davem@davemloft.net>
29550
29551 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
29552 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
29553 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
29554
29555 2013-01-10 Roland McGrath <roland@hack.frob.com>
29556
29557 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
29558 never set.
29559 * configure: Regenerated.
29560
29561 2013-01-10 David S. Miller <davem@davemloft.net>
29562
29563 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
29564 sparc V9 rather than using V8 code.
29565 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
29566 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
29567
29568 2013-01-10 Roland McGrath <roland@hack.frob.com>
29569
29570 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
29571 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
29572 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
29573 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
29574 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
29575 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
29576 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
29577 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
29578 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
29579 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
29580 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
29581 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
29582 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
29583 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
29584 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
29585 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
29586 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
29587 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
29588 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
29589 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
29590 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
29591 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
29592 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
29593 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
29594 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
29595 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
29596 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
29597
29598 2013-01-10 David S. Miller <davem@davemloft.net>
29599
29600 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29601
29602 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
29603
29604 * posix/Makefile (tests-static): New variable.
29605 (tests): Add $(tests-static).
29606 (tst-exec-static-ARGS): New variable.
29607 (tst-spawn-static-ARGS): Likewise.
29608 * posix/tst-exec-static.c: New file.
29609 * posix/tst-spawn-static.c: Likewise.
29610 * posix/tst-exec.c: Support run directly.
29611 * posix/tst-spawn.c: Likewise.
29612
29613 2013-01-10 Joseph Myers <joseph@codesourcery.com>
29614
29615 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
29616 long.
29617 * math/bits/mathcalls.h (llrint): Likewise.
29618 (llround): Likewise.
29619 * stdlib/stdlib.h (struct drand48_data): Likewise.
29620 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
29621 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
29622 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
29623 Likewise.
29624 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
29625 Likewise.
29626 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
29627 (elf_greg_t): Likewise.
29628 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
29629 (__jmp_buf): Likewise.
29630 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
29631 definitions.
29632 (llrint): Likewise, for all definitions.
29633 (llrintl): Likewise.
29634
29635 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
29636 Remove [__GNUC__] condition.
29637 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
29638 condition to just [__USE_ISOC99].
29639 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
29640
29641 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
29642
29643 [BZ #14200]
29644 * sysdeps/unix/sysv/linux/x86/bits/environments.h
29645 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
29646 defined.
29647 (_POSIX_V6_ILP32_OFF32): Likewise.
29648 (_XBS5_ILP32_OFF32): Likewise.
29649 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
29650 (__ILP32_OFFBIG_LDFLAGS): Likewise.
29651
29652 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
29653
29654 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
29655
29656 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
29657 doubles __mpexp_twomm1. Adjust usage.
29658 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
29659 Remove.
29660
29661 2013-01-10 Andreas Schwab <schwab@suse.de>
29662
29663 [BZ #14964]
29664 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
29665 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
29666
29667 2013-01-09 David S. Miller <davem@davemloft.net>
29668
29669 [BZ #15003]
29670 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
29671 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
29672 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
29673 (TCP_FASTOPEN): Define.
29674 (tcp_repair_opt): New structure.
29675 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
29676 enum values.
29677 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
29678 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
29679 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
29680 (tcp_cookie_transactions): New structure.
29681
29682 2013-01-09 Anton Blanchard <anton@samba.org>
29683
29684 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
29685 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
29686 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
29687 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
29688
29689 2013-01-09 Joseph Myers <joseph@codesourcery.com>
29690
29691 * include/features.h (__USE_ANSI): Remove.
29692
29693 2013-01-09 Roland McGrath <roland@hack.frob.com>
29694
29695 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
29696
29697 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
29698
29699 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
29700
29701 * sysdeps/s390/fpu/libm-test-ulps: Update.
29702
29703 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29704
29705 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
29706 (__acr): Likewise.
29707 (__cpy): Likewise.
29708 (norm): Likewise.
29709 (denorm): Likewise.
29710 (__mp_dbl): Likewise.
29711 (__dbl_mp): Likewise.
29712 (add_magnitudes): Likewise.
29713 (sub_magnitudes): Likewise.
29714 (__add): Likewise.
29715 (__sub): Likewise.
29716 (__mul): Likewise.
29717 (__inv): Likewise.
29718 (__dvd): Likewise.
29719 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
29720 (__acr): Likewise.
29721 (__cpy): Likewise.
29722 (norm): Likewise.
29723 (denorm): Likewise.
29724 (__mp_dbl): Likewise.
29725 (__dbl_mp): Likewise.
29726 (add_magnitudes): Likewise.
29727 (sub_magnitudes): Likewise.
29728 (__add): Likewise.
29729 (__sub): Likewise.
29730 (__mul): Likewise.
29731 (__inv): Likewise.
29732 (__dvd): Likewise.
29733 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
29734 (__acr): Likewise.
29735 (__cpy): Likewise.
29736 (norm): Likewise.
29737 (denorm): Likewise.
29738 (__mp_dbl): Likewise.
29739 (__dbl_mp): Likewise.
29740 (add_magnitudes): Likewise.
29741 (sub_magnitudes): Likewise.
29742 (__add): Likewise.
29743 (__sub): Likewise.
29744 (__mul): Likewise.
29745 (__inv): Likewise.
29746 (__dvd): Likewise.
29747
29748 2013-01-08 Joseph Myers <joseph@codesourcery.com>
29749
29750 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
29751 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
29752 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
29753 2 && __USE_EXTERN_INLINES]: Likewise.
29754
29755 2013-01-08 Andreas Jaeger <aj@suse.de>
29756
29757 [BZ# 14985]
29758 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
29759 Remove.
29760 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
29761 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
29762
29763 2013-01-07 Anton Blanchard <anton@samba.org>
29764
29765 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
29766 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
29767 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
29768 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
29769 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
29770 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
29771 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
29772 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
29773 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
29774 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
29775 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
29776 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
29777 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
29778 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
29779 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
29780 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
29781 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
29782 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
29783 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
29784 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
29785 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
29786 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
29787 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
29788 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
29789 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
29790 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
29791 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
29792 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
29793 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
29794 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
29795 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
29796 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
29797 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
29798 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
29799 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
29800 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
29801 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
29802 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
29803 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
29804 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
29805 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
29806 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
29807 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
29808
29809 2013-01-07 Joseph Myers <joseph@codesourcery.com>
29810
29811 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
29812 (__MALLOC_PMT): Likewise.
29813 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
29814 [__GNUC__], only on [_LIBC].
29815 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
29816 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
29817 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
29818 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
29819 forward declaration.
29820 (realloc_hook_ini): Likewise.
29821 (memalign_hook_ini): Likewise.
29822 (__libc_memalign): Do not use __MALLOC_PMT in variable
29823 declaration.
29824 (__libc_valloc): Likewise.
29825 (__libc_pvalloc): Likewise.
29826 (__libc_calloc): Likewise.
29827 (__posix_memalign): Likewise.
29828
29829 [BZ #14996]
29830 * math/s_casinh.c: Include <float.h>.
29831 (__casinh): Do not do computation with squaring and square root
29832 for large arguments.
29833 * math/s_casinhf.c: Include <float.h>.
29834 (__casinhf): Do not do computation with squaring and square root
29835 for large arguments.
29836 * math/s_casinhl.c: Include <float.h>.
29837 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
29838 (__casinhl): Do not do computation with squaring and square root
29839 for large arguments.
29840 * math/libm-test.inc (casin_test): Add more tests.
29841 (casinh_test): Likewise.
29842 * sysdeps/i386/fpu/libm-test-ulps: Update.
29843 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29844
29845 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
29846
29847 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
29848 (__x86_64_raw_data_cache_size): Likewise.
29849 (__x86_64_data_cache_size_half): Likewise.
29850 (__x86_64_raw_data_cache_size_half): Likewise.
29851 (__x86_64_shared_cache_size): Likewise.
29852 (__x86_64_raw_shared_cache_size): Likewise.
29853 (__x86_64_shared_cache_size_half): Likewise.
29854 (__x86_64_raw_shared_cache_size_half): Likewise.
29855 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
29856 to ...
29857 (__x86_data_cache_size): This.
29858 (__x86_64_raw_data_cache_size): Renamed to ...
29859 (__x86_raw_data_cache_size): This.
29860 (__x86_64_data_cache_size_half): Renamed to ...
29861 (__x86_data_cache_size_half): This.
29862 (__x86_64_raw_data_cache_size_half): Renamed to ...
29863 (__x86_raw_data_cache_size_half): This.
29864 (__x86_64_shared_cache_size): Renamed to ...
29865 (__x86_shared_cache_size): This.
29866 (__x86_64_raw_shared_cache_size): Renamed to ...
29867 (__x86_raw_shared_cache_size): This.
29868 (__x86_64_shared_cache_size_half): Renamed to ...
29869 (__x86_shared_cache_size_half): This.
29870 (__x86_64_raw_shared_cache_size_half): Renamed to ...
29871 (__x86_raw_shared_cache_size_half): This.
29872 * sysdeps/x86_64/memcpy.S: Updated.
29873 * sysdeps/x86_64/memset.S: Likewise.
29874 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
29875 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
29876 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
29877
29878 2013-01-04 David S. Miller <davem@davemloft.net>
29879
29880 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29881
29882 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
29883
29884 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
29885 1 to avoid redefinition warning.
29886 (__USE_GNU): Don't define.
29887 (init_signaling_nan): Protoize.
29888
29889 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29890
29891 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
29892
29893 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
29894 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
29895 (__cpymn): Likewise.
29896 (norm): Remove commented code.
29897 (denorm): Likewise.
29898 (__mp_dbl): Likewise.
29899 (__inv): Likewise.
29900 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
29901 (__cpymn): Likewise.
29902 (norm): Remove commented code.
29903 (denorm): Likewise.
29904 (__mp_dbl): Likewise.
29905 (__inv): Likewise.
29906
29907 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
29908 mp_no value for 1.0 and 2.0.
29909 (norm): Use RADIXI instead of radixi.d.
29910 (denorm): Likewise.
29911 (__mul): Use 0.0 instead of zero.d.
29912 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
29913 mp_no value for 1.0 and 2.0.
29914 (norm): Use RADIXI instead of radixi.d.
29915 (denorm): Likewise.
29916 (__mul): Use 0.0 instead of zero.d.
29917
29918 2013-01-04 Joseph Myers <joseph@codesourcery.com>
29919
29920 [BZ #14994]
29921 * math/s_casinh.c (__casinh): Reduce finite argument to first
29922 quadrant then set signs of results at the end.
29923 * math/s_casinhf.c (__casinhf): Likewise.
29924 * math/s_casinhl.c (__casinhl): Likewise.
29925 * math/libm-test.inc (casin_test): Add more tests.
29926 (casinh_test): Likewise.
29927 * sysdeps/i386/fpu/libm-test-ulps: Update.
29928 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29929
29930 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
29931
29932 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
29933
29934 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
29935
29936 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
29937 declarations.
29938 (denorm): Likewise.
29939 (__mp_dbl): Likewise.
29940 (__inv): Likewise.
29941
29942 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
29943 and adjust the header comment.
29944
29945 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
29946 variable name from declaration.
29947
29948 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
29949
29950 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29951 Initialize COMMON_CPUID_INDEX_7 element.
29952 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
29953 (CPUID_RTM): Likewise.
29954 (HAS_RTM): Likewise.
29955 (COMMON_CPUID_INDEX_7): New enum.
29956
29957 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
29958
29959 [BZ #14981]
29960 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
29961 size is zero, record memory as freed.
29962
29963 2013-01-03 Andreas Jaeger <aj@suse.de>
29964
29965 * po/ia.po: Add new Interlingua translation.
29966
29967 2012-01-03 Allan McRae <allan@archlinux.org>
29968
29969 * locale/programs/localedef.c: Fix description of '--posix' flag.
29970
29971 2013-01-02 Joseph Myers <joseph@codesourcery.com>
29972
29973 * NEWS: Update dates in second copyright notice.
29974 * README: Update copyright dates in example.
29975 * manual/libc.texinfo: Update copyright dates.
29976 * scripts/test-installation.pl: Update copyright date in --version
29977 output.
29978
29979 * hurd/ctty-input.c: Fix copyright notice formatting.
29980 * hurd/ctty-output.c: Likewise.
29981 * hurd/dtable.c: Likewise.
29982 * hurd/hurd-raise.c: Likewise.
29983 * hurd/hurdprio.c: Likewise.
29984 * hurd/msgportdemux.c: Likewise.
29985 * misc/sys/file.h: Likewise.
29986 * misc/sys/ioctl.h: Likewise.
29987 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
29988 * sysdeps/mach/hurd/chdir.c: Likewise.
29989 * sysdeps/mach/hurd/fchdir.c: Likewise.
29990 * sysdeps/mach/hurd/rename.c: Likewise.
29991 * sysdeps/mach/hurd/rmdir.c: Likewise.
29992 * sysdeps/mach/hurd/seekdir.c: Likewise.
29993 * sysdeps/mach/hurd/setsid.c: Likewise.
29994 * sysdeps/posix/wait3.c: Likewise.
29995
29996 * All files with FSF copyright notices: Update copyright dates
29997 using scripts/update-copyrights.
29998 * intl/plural.c: Regenerated.
29999 * locale/programs/charmap-kw.h: Likewise.
30000 * locale/programs/locfile-kw.h: Likewise.
30001
30002 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
30003
30004 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
30005 four values.
30006
30007 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
30008 calculation loop and add branch prediction.
30009
30010 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
30011 check access beyond bounds of m1np.
30012
30013 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
30014 MPTWO.
30015 (__inv): Remove local variable MPTWO to use the global
30016 constant.
30017 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
30018 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
30019 variable MPTWO.
30020 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
30021 MP3HALFS static const.
30022
30023 2013-01-01 David S. Miller <davem@davemloft.net>
30024
30025 * po/ca.po: Update from translation team.
30026
30027 2013-01-01 Joseph Myers <joseph@codesourcery.com>
30028
30029 * scripts/update-copyrights: New file.
30030 * Makeconfig: Reformat copyright notice.
30031 * ctype/ctype.h: Likewise.
30032 * debug/swprintf_chk.c: Likewise.
30033 * elf/dl-cache.c: Likewise.
30034 * elf/dl-debug.c: Likewise.
30035 * elf/dl-object.c: Likewise.
30036 * grp/initgroups.c: Likewise.
30037 * hurd/Makefile: Likewise.
30038 * hurd/hurd/signal.h: Likewise.
30039 * hurd/hurdfault.c: Likewise.
30040 * hurd/hurdioctl.c: Likewise.
30041 * hurd/hurdlookup.c: Likewise.
30042 * hurd/intr-msg.c: Likewise.
30043 * iconv/gconv_open.c: Likewise.
30044 * libio/swprintf.c: Likewise.
30045 * locale/lc-ctype.c: Likewise.
30046 * locale/nl_langinfo.c: Likewise.
30047 * mach/Machrules: Likewise.
30048 * mach/Makefile: Likewise.
30049 * malloc/obstack.h: Likewise.
30050 * manual/Makefile: Likewise.
30051 * manual/tsort.awk: Likewise.
30052 * misc/bits/stab.def: Likewise.
30053 * nis/nis_print_group_entry.c: Likewise.
30054 * nis/nis_table.c: Likewise.
30055 * nis/nss_compat/compat-pwd.c: Likewise.
30056 * nis/nss_compat/compat-spwd.c: Likewise.
30057 * po/Makefile: Likewise.
30058 * posix/fnmatch.c: Likewise.
30059 * posix/regex.h: Likewise.
30060 * resolv/Makefile: Likewise.
30061 * resolv/nss_dns/dns-network.c: Likewise.
30062 * resolv/res_hconf.c: Likewise.
30063 * scripts/gen-sorted.awk: Likewise.
30064 * soft-fp/soft-fp.h: Likewise.
30065 * stdio-common/printf.h: Likewise.
30066 * stdlib/monetary.h: Likewise.
30067 * stdlib/random.c: Likewise.
30068 * stdlib/random_r.c: Likewise.
30069 * sysdeps/generic/Makefile: Likewise.
30070 * sysdeps/gnu/Makefile: Likewise.
30071 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
30072 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
30073 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
30074 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
30075 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
30076 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
30077 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
30078 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
30079 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
30080 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
30081 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
30082 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
30083 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
30084 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
30085 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
30086 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
30087 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
30088 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
30089 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
30090 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
30091 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
30092 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
30093 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
30094 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
30095 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
30096 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
30097 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
30098 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
30099 * sysdeps/mach/hurd/errnos.awk: Likewise.
30100 * sysdeps/mach/hurd/fork.c: Likewise.
30101 * sysdeps/mach/hurd/getcwd.c: Likewise.
30102 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
30103 * sysdeps/mach/hurd/mmap.c: Likewise.
30104 * sysdeps/mach/hurd/utimes.c: Likewise.
30105 * sysdeps/mach/hurd/xmknod.c: Likewise.
30106 * sysdeps/posix/profil.c: Likewise.
30107 * sysdeps/posix/readdir_r.c: Likewise.
30108 * sysdeps/powerpc/bits/mathdef.h: Likewise.
30109 * sysdeps/powerpc/bits/setjmp.h: Likewise.
30110 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
30111 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
30112 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
30113 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
30114 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
30115 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
30116 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
30117 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
30118 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
30119 * sysdeps/pthread/lio_listio.c: Likewise.
30120 * sysdeps/sparc/dl-procinfo.h: Likewise.
30121 * sysdeps/unix/i386/sysdep.S: Likewise.
30122 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
30123 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
30124 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
30125 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
30126 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
30127 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
30128 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
30129 * sysdeps/unix/sysv/linux/speed.c: Likewise.
30130 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
30131 * sysdeps/wordsize-32/divdi3.c: Likewise.
30132 * time/sys/time.h: Likewise.
30133 * wcsmbs/Makefile: Likewise.
30134
30135 2013-01-01 David S. Miller <davem@davemloft.net>
30136
30137 * po/fr.po: Update from translation team.
30138
30139 * catgets/gencat.c: Update copyright year.
30140 * csu/version.c: Likewise.
30141 * debug/catchsegv.sh: Likewise.
30142 * debug/pcprofiledump.c: Likewise.
30143 * debug/xtrace.sh: Likewise.
30144 * elf/ldconfig.c: Likewise.
30145 * elf/ldd.bash.in: Likewise.
30146 * elf/pldd.c: Likewise.
30147 * elf/sotruss.ksh: Likewise.
30148 * elf/sprof.c: Likewise.
30149 * iconv/iconv_prog.c: Likewise.
30150 * iconv/iconvconfig.c: Likewise.
30151 * locale/programs/locale.c: Likewise.
30152 * locale/programs/localedef.c: Likewise.
30153 * login/programs/pt_chown.c: Likewise.
30154 * malloc/memusage.sh: Likewise.
30155 * malloc/memusagestat.c: Likewise.
30156 * malloc/mtrace.pl: Likewise.
30157 * nscd/nscd.c: Likewise.
30158 * nss/getent.c: Likewise.
30159 * nss/makedb.c: Likewise.
30160 * posix/getconf.c: Likewise.
30161
30162 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
30163
30164 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
30165 numbers.
30166
30167 2012-12-30 Mike Frysinger <vapier@gentoo.org>
30168
30169 * math/bits/mathcalls.h (modf): Use __nonnull.
30170
30171 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
30172
30173 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
30174 (split): Use macro CN instead of the bare value.
30175 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
30176 could be used.
30177 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
30178 instead of the bare value.
30179 (power1): Likewise.
30180
30181 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
30182
30183 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
30184 __ATAN_TWOM.
30185 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
30186
30187 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
30188 their values.
30189 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
30190 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
30191 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
30192 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
30193
30194 2012-12-28 Andreas Jaeger <aj@suse.de>
30195
30196 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
30197 values are from Linux 3.7.
30198
30199 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
30200 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
30201
30202 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
30203
30204 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
30205 TRUE case.
30206
30207 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
30208 (norm): Likewise.
30209 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
30210 variables with preprocessor constants.
30211 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
30212 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
30213 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
30214
30215 2012-12-27 Bruno Haible <bruno@clisp.org>
30216
30217 [BZ #14317]
30218 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
30219 only if needed.
30220
30221 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
30222
30223 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
30224 and use variable directly.
30225 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
30226
30227 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
30228 MPONE.
30229 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
30230 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
30231 variable MPONE.
30232 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
30233 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
30234 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
30235 include directive. Remove local variable MPONE.
30236 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
30237 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
30238 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
30239
30240 2012-12-25 David S. Miller <davem@davemloft.net>
30241
30242 * version.h (RELEASE): Set to "development".
30243 (VERSION): Set to "2.17.90".
30244 * NEWS: Add 2.18 section.
30245
30246 2012-12-21 David S. Miller <davem@davemloft.net>
30247
30248 * po/hr.po: Update from translation team.
30249
30250 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30251
30252 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
30253
30254 2012-12-19 Steve Ellcey <sellcey@mips.com>
30255
30256 * NEWS: Mention new memcpy for MIPS.
30257
30258 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
30259
30260 * manual/contrib.texi (Contributors): Spelling correction.
30261
30262 2012-12-15 David S. Miller <davem@davemloft.net>
30263
30264 * po/ru.po: Update from translation team.
30265
30266 2012-12-13 David S. Miller <davem@davemloft.net>
30267
30268 * NEWS: Mention IFUNC testsuite enhancements.
30269
30270 * po/pl.po: Update from translation team.
30271 * po/bg.po: Likewise.
30272
30273 * manual/contrib.texi (Contributors): Update entries for Hongjiu
30274 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
30275
30276 2012-12-11 David S. Miller <davem@davemloft.net>
30277
30278 * po/sv.po: Update from translation team.
30279
30280 * po/vi.po: Update from translation team.
30281
30282 * po/cs.po: Update from translation team.
30283
30284 * po/de.po: Update from translation team.
30285 * po/eo.po: Likewise.
30286 * po/nl.po: Likewise.
30287
30288 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
30289
30290 [BZ #14246]
30291 * manual/argp.texi (Argp Helper Functions): Move node to follow
30292 Argp Parsing State.
30293
30294 [BZ #14872]
30295 * manual/conf.texi (Limits on File System Capacity): Mention if
30296 terminating null is included in the max size.
30297
30298 2012-12-10 Andreas Jaeger <aj@suse.de>
30299
30300 * po/cs.po: Update from translation team.
30301
30302 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
30303
30304 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
30305 void pointer and cast to uintptr_t.
30306 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
30307 path.
30308 * sysdeps/s390/s390-64/memcpy.S: Likewise.
30309 * sysdeps/s390/s390-64/memset.S: Likewise.
30310
30311 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
30312
30313 [BZ #14833]
30314 * menual/message.texi (Message Translation): Fix typos.
30315 (Helper programs for gettext): Likewise.
30316
30317 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
30318
30319 [BZ #14898]
30320 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
30321 Change to -1.
30322
30323 2012-12-07 David S. Miller <davem@davemloft.net>
30324
30325 * po/libc.pot: Update.
30326
30327 2012-12-07 Richard Henderson <rth@redhat.com>
30328
30329 [BZ #10114]
30330 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
30331 normal/normal case to before the switch.
30332 (_FP_DIV): Likewise.
30333
30334 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
30335 Mike Frysinger <vapier@gentoo.org>
30336
30337 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
30338 check for __NR_fadvise64_64.
30339
30340 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
30341
30342 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
30343 0, not just to plain "0" as a statement.
30344 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
30345 with cw.
30346
30347 2012-12-06 Joseph Myers <joseph@codesourcery.com>
30348
30349 * NEWS: Use sourceware.org in Bugzilla URL.
30350
30351 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
30352
30353 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
30354 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
30355
30356 * stdio-common/tst-put-error.c (do_test): Add newline to the
30357 padded test to ensure flush.
30358
30359 2012-12-05 Jeff Law <law@redhat.com>
30360
30361 * sunrpc/etc.rpc (fedfs_admin): Add entry.
30362
30363 2012-12-05 Joseph Myers <joseph@codesourcery.com>
30364
30365 * README: Don't refer to ports add-on as distributed separately.
30366 Mention AArch64 in list of systems supported in the ports add-on.
30367
30368 * LICENSES: Add more non-FSF copyright and license notices.
30369
30370 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
30371 ((unused)).
30372
30373 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
30374
30375 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
30376 10000 as width of padded output.
30377
30378 2012-12-04 Joseph Myers <joseph@codesourcery.com>
30379
30380 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
30381
30382 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
30383 variable LX with __attribute__ ((unused)).
30384 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
30385 Likewise.
30386 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
30387 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
30388 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
30389 with __attribute__ ((unused)).
30390
30391 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
30392
30393 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
30394
30395 2012-12-04 Joseph Myers <joseph@codesourcery.com>
30396
30397 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
30398 (CFLAGS-nldbl-acos.c): New variable.
30399 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
30400 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
30401 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
30402 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
30403 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
30404 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
30405 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
30406 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
30407 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
30408 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
30409 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
30410 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
30411 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
30412 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
30413 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
30414 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
30415 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
30416 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
30417 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
30418 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
30419 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
30420 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
30421 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
30422 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
30423 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
30424 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
30425 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
30426 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
30427 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
30428 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
30429 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
30430 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
30431 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
30432 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
30433 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
30434 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
30435 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
30436 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
30437 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
30438 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
30439 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
30440 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
30441 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
30442 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
30443 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
30444 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
30445 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
30446 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
30447 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
30448 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
30449 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
30450 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
30451 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
30452 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
30453 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
30454 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
30455 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
30456 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
30457 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
30458 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
30459 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
30460 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
30461 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
30462 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
30463 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
30464 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
30465 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
30466 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
30467 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
30468 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
30469 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
30470 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
30471 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
30472 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
30473 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
30474 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
30475 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
30476 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
30477 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
30478 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
30479 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
30480 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
30481 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
30482 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
30483 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
30484 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
30485 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
30486 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
30487 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
30488 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
30489 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
30490 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
30491 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
30492 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
30493 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
30494 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
30495 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
30496
30497 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
30498 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
30499
30500 [BZ #14914]
30501 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
30502 whole low double instead of just low 47 bits when splitting values
30503 into two parts.
30504
30505 2012-12-03 Allan McRae <allan@archlinux.org>
30506
30507 * manual/stdio.texi (Predefined Printf Handlers): Remove
30508 @hsep and @vsep usage.
30509
30510 2012-12-03 Mike Frysinger <vapier@gentoo.org>
30511
30512 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
30513 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
30514
30515 2012-12-03 Jeff Law <law@redhat.com>
30516
30517 * time/sys/time.h (settimeofday): Do not mark TV argument
30518 as __nonnull.
30519
30520 2012-12-01 Mike Frysinger <vapier@gentoo.org>
30521
30522 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
30523 when currently writing and seek to current position when not.
30524 * libio/Makefile (tests): Remove bug-fclose1.
30525 * libio/bug-fclose1.c: Delete.
30526
30527 2012-12-01 Joseph Myers <joseph@codesourcery.com>
30528
30529 * manual/arith.texi (feenableexcept): Fix typo.
30530 (fedisableexcept): Likewise.
30531
30532 2012-11-30 Roland McGrath <roland@hack.frob.com>
30533
30534 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
30535 second, differently-typed declaration, rather than a cast.
30536
30537 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
30538
30539 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
30540 * include/rpc/svc.h: ... here.
30541
30542 2012-11-30 Aurelien Jarno <aurel32@debian.org>
30543
30544 [BZ #13013]
30545 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
30546 depending n and resplen2 to catch cases where answer
30547 equals answerp2.
30548
30549 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
30550
30551 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
30552 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
30553
30554 2012-11-29 Mike Frysinger <vapier@gentoo.org>
30555
30556 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
30557
30558 2012-11-29 Roland McGrath <roland@hack.frob.com>
30559
30560 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
30561
30562 2012-11-28 Jeff Law <law@redhat.com>
30563
30564 [BZ #13761]
30565 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
30566 dataset_temporary. Track alloca usage into alloca_used.
30567 If dataset is large allocate and release it via malloc/free.
30568
30569 2012-06-04 Florian Weimer <fweimer@redhat.com>
30570
30571 [BZ #14197]
30572 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
30573
30574 2012-11-28 David S. Miller <davem@davemloft.net>
30575
30576 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30577
30578 2012-11-28 Joseph Myers <joseph@codesourcery.com>
30579
30580 [BZ #14803]
30581 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
30582 of pi/2 rounded to nearest to 64 bits.
30583 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
30584 nearest to 64 bits.
30585 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
30586 bits.
30587
30588 2012-11-28 Jeff Law <law@redhat.com>
30589 Martin Osvald <mosvald@redhat.com>
30590
30591 [BZ #14889]
30592 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
30593 * sunrpc/svc.c: Include time.h.
30594 (__svc_accept_failed): New function.
30595 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
30596 any reason other than EINTR, call __svc_accept_failed.
30597 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
30598 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
30599
30600 2012-11-28 Andreas Schwab <schwab@suse.de>
30601
30602 * scripts/abilist.awk: Also handle indirect functions in .opd
30603 section.
30604
30605 2012-11-28 Joseph Myers <joseph@codesourcery.com>
30606
30607 [BZ #13881]
30608 * sysdeps/x86/fpu/powl_helper.c: New file.
30609 * sysdeps/x86/fpu/Makefile: Likewise.
30610 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
30611 (p3): New object.
30612 (__ieee754_powl): Use __powl_helper for finite arguments except
30613 integer exponents below 8.
30614 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
30615 (p3): New object.
30616 (__ieee754_powl): Use __powl_helper for finite arguments except
30617 integer exponents below 8.
30618 * math/libm-test.inc (pow_test): Add more tests and enable some
30619 previously disabled tests.
30620 * sysdeps/i386/fpu/libm-test-ulps: Update.
30621 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30622
30623 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
30624 Carlos O'Donell <carlos_odonell@mentor.com>
30625
30626 * nss/makedb.c (is_prime): Assert that input is odd and greater
30627 than 4. Note that fact in a comment too.
30628 (next_prime): Add 4 to input.
30629
30630 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
30631
30632 [BZ #11741]
30633 * libio/Makefile (tests): Add test case tst-fwrite-error.
30634 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
30635 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
30636 * libio/tst-fwrite-error.c: New test case.
30637
30638 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
30639
30640 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
30641 before casting to void *.
30642 * include/libc-internal.h (__pointer_type): New macro.
30643 (__integer_if_pointer_type_sub): Likewise.
30644 (__integer_if_pointer_type): Likewise.
30645 (cast_to_integer): Likewise.
30646 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
30647 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
30648 before casting to atomic64_t.
30649 (atomic_exchange_acq): Likewise.
30650 (__arch_exchange_and_add_body): Likewise.
30651 (__arch_add_body): Likewise.
30652 (atomic_add_negative): Likewise.
30653 (atomic_add_zero): Likewise.
30654
30655 2012-11-26 Joseph Myers <joseph@codesourcery.com>
30656
30657 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
30658 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
30659 (add_fdes): Likewise.
30660 (linear_search_fdes): Likewise.
30661 (binary_search_unencoded_fdes): Likewise.
30662
30663 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
30664
30665 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
30666
30667 2012-11-24 Adam Conrad <adconrad@0c3.net>
30668
30669 * configure.in: Autodetect C++ header directories.
30670 * configure: Regenerated.
30671
30672 2012-11-23 Mike Frysinger <vapier@gentoo.org>
30673
30674 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
30675
30676 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
30677
30678 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30679
30680 2012-11-22 Joseph Myers <joseph@codesourcery.com>
30681
30682 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
30683 LDBL_MANT_DIG == 106]: Disable some tests.
30684 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
30685 Likewise.
30686 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
30687 Likewise.
30688
30689 [BZ #14871]
30690 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
30691 input for small inputs. Return +/- pi/2 for large inputs.
30692 * math/libm-test.inc (atan_test): Add more tests.
30693
30694 * sysdeps/generic/unwind-dw2-fde-glibc.c
30695 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
30696 __attribute__ ((unused)).
30697
30698 [BZ #14645]
30699 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
30700 x * y if x and y are nonzero and z is zero.
30701
30702 [BZ #14811]
30703 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
30704 nonzero exponents with absolute value below 0x1p-117 to +/-
30705 0x1p-117.
30706
30707 [BZ #14869]
30708 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
30709 up arguments below 2**-450, not just those below 2**-500.
30710 * math/libm-test.inc (hypot_test): Add another test.
30711
30712 [BZ #14868]
30713 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
30714 Return a+b for ratio over 2**120, not 2**60.
30715 * math/libm-test.inc (hypot_test): Add another test.
30716
30717 * math/libm-test.inc (clog_test): Use
30718 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
30719 (clog10_test): Likewise.
30720
30721 [BZ #6778]
30722 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
30723
30724 2012-11-22 Andreas Schwab <schwab@suse.de>
30725
30726 * sysdeps/i386/fpu/libm-test-ulps: Update.
30727
30728 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
30729
30730 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
30731 printf output with newline.
30732
30733 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
30734
30735 [BZ #14865]
30736 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
30737 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
30738 -z nodlopen, -z initfirst and -z execstack support.
30739 * configure: Regenerated.
30740
30741 * elf/elf.h (DF_1_NODIRECT): New macro.
30742 (DF_1_IGNMULDEF): Likewise.
30743 (DF_1_NOKSYMS): Likewise.
30744 (DF_1_NOHDR): Likewise.
30745 (DF_1_EDITED): Likewise.
30746 (DF_1_NORELOC): Likewise.
30747 (DF_1_SYMINTPOSE): Likewise.
30748 (DF_1_GLOBAUDIT): Likewise.
30749 (DF_1_SINGLETON): Likewise.
30750 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
30751 DT_1_SUPPORTED_MASK bits.
30752 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
30753
30754 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
30755
30756 * sysdeps/unix/make-syscalls.sh: Document prefixes.
30757
30758 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
30759
30760 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
30761 macro.
30762
30763 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
30764 (sendmmsg): Move declarations...
30765 * socket/sys/socket.h: ... here.
30766 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
30767 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
30768 include it from...
30769 * socket/recvmmsg.c: ... this new file.
30770 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
30771 (sendmmsg): Rename to __sendmmsg, create weak alias and make
30772 definition of __sendmmsg hidden.
30773 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
30774 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
30775 Move ENOSYS stub into and include it from...
30776 * socket/sendmmsg.c: ... this new file.
30777 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
30778 (sysdep_routines): Move recvmmsg and sendmmsg...
30779 * socket/Makefile (routines): ... here.
30780 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
30781 (GLIBC_PRIVATE): Add __sendmmsg.
30782 * include/sys/socket.h (__sendmmsg): Add declarations.
30783 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
30784 sendmmsg.
30785
30786 2012-11-20 Joseph Myers <joseph@codesourcery.com>
30787
30788 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
30789 variable I1 with __attribute__ ((unused)).
30790 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
30791
30792 2012-11-19 Joseph Myers <joseph@codesourcery.com>
30793
30794 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
30795 DUMMY variables with __attribute__ ((unused)).
30796
30797 * bits/byteswap.h: Include <bits/types.h>.
30798 (__bswap_64): Use __uint64_t instead of unsigned long long int.
30799
30800 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
30801
30802 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
30803 string_t. Do not manually set errno.
30804 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
30805 length with __strnlen. Make sure to both set errno and return it on
30806 failure.
30807
30808 2012-11-19 David S. Miller <davem@davemloft.net>
30809
30810 With help from Joseph Myers.
30811 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
30812 very large arguments properly.
30813 * math/libm-test.inc (atan_test): New tests.
30814 (atan2_test): New tests.
30815 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30816 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30817
30818 2012-11-19 Joseph Myers <joseph@codesourcery.com>
30819
30820 [BZ #14856]
30821 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
30822 Define to 3.
30823
30824 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
30825 [POSIX] (EADDRNOTAVAIL): Likewise.
30826 [POSIX] (EAFNOSUPPORT): Likewise.
30827 [POSIX] (EALREADY): Likewise.
30828 [POSIX] (ECONNABORTED): Likewise.
30829 [POSIX] (ECONNREFUSED): Likewise.
30830 [POSIX] (ECONNRESET): Likewise.
30831 [POSIX] (EDESTADDRREQ): Likewise.
30832 [POSIX] (EDQUOT): Likewise.
30833 [POSIX] (EHOSTUNREACH): Likewise.
30834 [POSIX] (EIDRM): Likewise.
30835 [POSIX] (EISCONN): Likewise.
30836 [POSIX] (ELOOP): Likewise.
30837 [POSIX] (EMULTIHOP): Likewise.
30838 [POSIX] (ENETDOWN): Likewise.
30839 [POSIX] (ENETUNREACH): Likewise.
30840 [POSIX] (ENOBUFS): Likewise.
30841 [POSIX] (ENODATA): Likewise.
30842 [POSIX] (ENOLINK): Likewise.
30843 [POSIX] (ENOMSG): Likewise.
30844 [POSIX] (ENOPROTOOPT): Likewise.
30845 [POSIX] (ENOSR): Likewise.
30846 [POSIX] (ENOSTR): Likewise.
30847 [POSIX] (ENOTCONN): Likewise.
30848 [POSIX] (ENOTSOCK): Likewise.
30849 [POSIX] (EOPNOTSUPP): Likewise.
30850 [POSIX] (EOVERFLOW): Likewise.
30851 [POSIX] (EPROTO): Likewise.
30852 [POSIX] (EPROTONOSUPPORT): Likewise.
30853 [POSIX] (EPROTOTYPE): Likewise.
30854 [POSIX] (ESTALE): Likewise.
30855 [POSIX] (ETIME): Likewise.
30856 [POSIX] (ETXTBSY): Likewise.
30857 [POSIX] (EWOULDBLOCK): Likewise.
30858 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
30859 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
30860 [POSIX] (SEEK_CUR): Likewise.
30861 [POSIX] (SEEK_END): Likewise.
30862 [POSIX || UNIX98] (mode_t): Do not require.
30863 [POSIX] (off_t): Likewise.
30864 [POSIX] (pid_t): Likewise.
30865 [POSIX] (sys/stat.h): Do not allow header.
30866 [POSIX] (unistd.h): Likewise.
30867 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
30868 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
30869 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
30870 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
30871 require.
30872 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
30873 sigevent): Specify elements.
30874 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
30875 entry.
30876 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
30877 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
30878
30879 * conform/data/cpio.h-data [POSIX]: Disable whole file.
30880 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
30881 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
30882 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
30883 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
30884 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
30885 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
30886 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
30887 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
30888 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
30889 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
30890 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
30891 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
30892 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
30893 Likewise.
30894 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
30895 Likewise.
30896 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
30897 Likewise.
30898 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
30899 Likewise.
30900 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
30901 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
30902 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
30903 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
30904 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
30905 Specify lower bound on value.
30906 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
30907 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
30908 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
30909 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
30910 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
30911 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
30912 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
30913 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
30914 value.
30915 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
30916 as optional.
30917 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
30918 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
30919 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
30920 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
30921 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
30922 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
30923 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
30924 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
30925 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
30926 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
30927 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
30928 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
30929 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
30930 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
30931 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
30932 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
30933 entry.
30934 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
30935 optional.
30936 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
30937 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
30938 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
30939 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
30940 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
30941 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
30942 Likewise.
30943 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
30944 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
30945 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
30946 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
30947 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
30948 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
30949 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
30950 as optional.
30951 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
30952 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
30953 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
30954 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
30955 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
30956 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
30957 specify as optional.
30958 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
30959 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
30960 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
30961 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
30962 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
30963 [XPG3] (NL_LANGMAX): Likewise.
30964 [POSIX || XPG3] (NL_MSGMAX): Likewise.
30965 [POSIX || XPG3] (NL_NMAX): Likewise.
30966 [POSIX || XPG3] (NL_SETMAX): Likewise.
30967 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
30968 [XPG3] (NZERO): Likewise.
30969 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
30970 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
30971 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
30972 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
30973 (REG_ERANGE): Expect.
30974 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
30975 optional-constant.
30976 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
30977 Use (void) in prototype.
30978 [POSIX] (*_t): Allow.
30979 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
30980 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
30981 (WRDE_BADVAL): Expect.
30982
30983 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
30984 expect.
30985 [XPG3 || XPG4] (O_RSYNC): Likewise.
30986 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
30987 Likewise.
30988 [XPG3 || XPG4] (pthread_sigmask): Likewise.
30989 [XPG3 || XPG4] (sigqueue): Likewise.
30990 [XPG3 || XPG4] (sigtimedwait): Likewise.
30991 [XPG3 || XPG4] (sigwaitinfo): Likewise.
30992 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
30993 [XPG3 || XPG4] (vsnprintf): Likewise.
30994 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
30995 Likewise.
30996 [XPG3 || XPG4] (blksize_t): Likewise.
30997 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
30998 Likewise.
30999 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
31000 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
31001 [XPG3 || XPG4] (struct itimerspec): Likewise.
31002 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
31003 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
31004 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
31005 [XPG3 || XPG4] (clockid_t): Likewise.
31006 [XPG3 || XPG4] (timer_t): Likewise.
31007 [XPG3 || XPG4] (clock_getres): Likewise.
31008 [XPG3 || XPG4] (clock_gettime): Likewise.
31009 [XPG3 || XPG4] (clock_settime): Likewise.
31010 [XPG3 || XPG4] (nanosleep): Likewise.
31011 [XPG3 || XPG4] (timer_create): Likewise.
31012 [XPG3 || XPG4] (timer_delete): Likewise.
31013 [XPG3 || XPG4] (timer_gettime): Likewise.
31014 [XPG3 || XPG4] (timer_getoverrun): Likewise.
31015 [XPG3 || XPG4] (timer_settime): Likewise.
31016 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
31017 [XPG3 || XPG4] (getlogin_r): Likewise.
31018 [XPG3 || XPG4] (pread): Likewise.
31019 [XPG3 || XPG4] (pthread_atfork): Likewise.
31020 [XPG3 || XPG4] (pwrite): Likewise.
31021
31022 [BZ #14835]
31023 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
31024 <bits/siginfo.h>.
31025
31026 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
31027
31028 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
31029 finalizing MALLSTREAM.
31030
31031 * sysdeps/mach/hurd/syncfs.c: New file.
31032
31033 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
31034
31035 [BZ #14719]
31036 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
31037 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
31038 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
31039 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
31040 (_nss_dns_gethostbyname4_r): Likewise.
31041 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
31042 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
31043
31044 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
31045
31046 [BZ #13763]
31047 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
31048
31049 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
31050
31051 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
31052 * elf/cache.c (print_entry): Print ",AArch64" for
31053 FLAG_AARCH64_LIB64
31054
31055 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
31056 * elf/cache.c (print_entry): Print ",hard-float" for
31057 FLAG_ARM_LIBHF.
31058
31059 2012-11-18 David S. Miller <davem@davemloft.net>
31060
31061 With help from Joseph Myers.
31062 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
31063 cutoff to 2**-13.
31064 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
31065 cutoff to 2**-25.
31066 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
31067 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
31068 small.
31069 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
31070 * math/libm-test.inc (y0_test): New tests.
31071 (y1_test): New tests.
31072 * sysdeps/i386/fpu/libm-test-ulps: Update.
31073 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31074 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31075
31076 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
31077
31078 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
31079 64-bit targets.
31080 * configure: Regenerated.
31081
31082 2012-11-17 David S. Miller <davem@davemloft.net>
31083
31084 [BZ #14811]
31085 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
31086 nonzero exponents with absolute value below 0x1p-128 to +/-
31087 0x1p-128.
31088
31089 2012-11-17 Joseph Myers <joseph@codesourcery.com>
31090
31091 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
31092
31093 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
31094
31095 * posix/getconf-speclist.c: New file.
31096 * posix/posix-envs.def: Likewise.
31097 * posix/confstr.c (START_ENV_GROUP): New macro.
31098 (END_ENV_GROUP): Likewise.
31099 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
31100 (KNOWN_PRESENT_ENV_STRING): Likewise.
31101 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
31102 (UNKNOWN_ENVIRONMENT): Likewise.
31103 (confstr): Include posix-envs.def instead of handling
31104 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
31105 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
31106 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
31107 (END_ENV_GROUP): Likewise.
31108 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
31109 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
31110 (UNKNOWN_ENVIRONMENT): Likewise.
31111 (__sysconf): Include posix-envs.def instead of handling associated
31112 cases directly here.
31113 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
31114 preprocessing getconf-speclist.c rather than running getconf or
31115 generating empty file.
31116
31117 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
31118
31119 * scripts/check-local-headers.sh: Ignore 'mach' headers.
31120
31121 2012-11-16 Andrej Lajovic <natrij@gmail.com>
31122
31123 [BZ #14672]
31124 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
31125
31126 2012-11-16 David S. Miller <davem@davemloft.net>
31127
31128 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
31129 smaller than LDBL_EPSILON/2.0L, just return xm1.
31130
31131 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
31132
31133 * elf/tst-array1.c (init): Set constructor priority to 1000.
31134 (fini): Set destructor priority to 1000.
31135 * elf/tst-array2dep.c: Likewise.
31136
31137 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
31138
31139 [BZ #11741]
31140 * libio/fileops.c (_IO_new_file_write): Correctly return error.
31141 (_IO_new_file_xsputn): Also return EOF if none of the input
31142 data was written when overflow failed.
31143 * libio/iopadn.c (_IO_padn): Likewise.
31144 * libio/iowpadn.c (_IO_wpadn): Likewise.
31145 * stdio-common/tst-put-error.c: Add copyright notice.
31146 (do_test): Add case for printing padded string.
31147 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
31148 _IO_padn returned error.
31149 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
31150 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
31151 return EOF.
31152
31153 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
31154
31155 * libio/libioP.h: Add comment note that the references to C++
31156 bits are now obsolete.
31157
31158 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
31159
31160 * math/libm-test.inc (check_complex): Use asprintf.
31161
31162 2012-11-14 Joseph Myers <joseph@codesourcery.com>
31163
31164 * debug/pcprofiledump.c (print_version): Update copyright year.
31165 * malloc/memusagestat.c (print_version): Likewise.
31166
31167 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
31168
31169 [BZ #14831]
31170 * elf/Makefile (tests): Add tst-audit8.
31171 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
31172 ($(objpfx)tst-audit8.out): New target.
31173 (tst-audit8-ENV): New variable.
31174 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
31175 audit if l_reloc_result is NULL.
31176 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
31177 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
31178 * elf/tst-audit8.c: New file.
31179
31180 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
31181
31182 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
31183 * misc/Makefile (CFLAGS-select.c): Define.
31184 * posix/Makefile (CFLAGS-pause.c): Define.
31185
31186 2012-11-13 David S. Miller <davem@davemloft.net>
31187
31188 * crypt/Makefile: Move test targets after toplevel Rules
31189 inclusion. Grab any necessary sysdep routines when linking.
31190 * crypt/md5.c (md5_process_block): Remove define, we will always
31191 name it __md5_process_block.
31192 (md5_finish_ctx): Update md5_process_block call.
31193 (md5_stream): Likewise.
31194 (md5_process_bytes): Likewise.
31195 (md5_process_block): Rename to __md5_process_block and move to ...
31196 * crypt/md5-block.c: ... here.
31197 * crypt/sha256.c (sha256_process_block): Move to ...
31198 * crypt/sha256-block.c: ... here.
31199 * crypt/sha512.c (sha512_process_block): Move to ...
31200 * crypt/sha512-block.c: ... here.
31201 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
31202 path.
31203 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
31204 * sysdeps/sparc/sparc64/multiarch/Makefile
31205 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
31206 crypt subdir.
31207 (localedef-aux): Add md5 crypto assembler when in locale subdir.
31208 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
31209 multiarch changes.
31210 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
31211 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
31212 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
31213 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
31214 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
31215 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
31216 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
31217 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
31218 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
31219 file.
31220 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
31221 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
31222 file.
31223 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
31224
31225 2012-11-13 Joseph Myers <joseph@codesourcery.com>
31226
31227 * timezone/tzselect.ksh: Update from tzcode git revision
31228 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
31229 * timezone/zdump.c: Likewise.
31230 * timezone/zic.c: Likewise.
31231 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
31232 in TZVERSION setting, not $(PKGVERSION).
31233 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
31234 REPORT_BUGS_TO settings.
31235
31236 [BZ #14838]
31237 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
31238 macro.
31239
31240 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
31241
31242 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
31243 detection to immediately after _FP_ROUND().
31244 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
31245 bits are 0.
31246
31247 2012-11-11 David S. Miller <davem@davemloft.net>
31248
31249 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
31250 inttypes.h
31251 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
31252 __close rather than their public counterparts.
31253
31254 2012-11-10 Joseph Myers <joseph@codesourcery.com>
31255
31256 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
31257 file.
31258 [UNIX98] (sem_timedwait): Do not expect.
31259 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
31260 [XPG4 || UNIX98] (sockatmark): Do not expect.
31261 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
31262 (clock_getcpuclockid): Do not expect.
31263 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
31264 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
31265 Do not expect.
31266 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
31267 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
31268 [UNIX98] (vwscanf): Likewise.
31269 [UNIX98] (vswscanf): Likewise.
31270
31271 2012-11-09 Joseph Myers <joseph@codesourcery.com>
31272
31273 * timezone/version.h: Remove file.
31274 * timezone/README: Do not refer to version.h.
31275 * timezone/Makefile ($(objpfx)zic.o): New dependency on
31276 $(objpfx)version.h.
31277 ($(objpfx)zdump.o): Likewise.
31278 ($(objpfx)version.h): New target.
31279
31280 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
31281 2012i.
31282 * timezone/README: Don't mention modification to tzselect.ksh.
31283 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
31284 work on unmodified tzselect.ksh. Substitute version numbers in
31285 tzselect.ksh.
31286
31287 * Makefile (format-me): Remove.
31288 (INSTALL): Adjust indentation. Use commands directly instead of
31289 using $(format-me).
31290
31291 * aclocal.m4 (ACX_PKGVERSION): New macro.
31292 (ACX_BUGURL): Likewise.
31293 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
31294 (PKGVERSION): New AC_DEFINE_UNQUOTED.
31295 (REPORT_BUGS_TO): Likewise.
31296 * configure: Regenerated.
31297 * config.h.in (PKGVERSION): New macro.
31298 (REPORT_BUGS_TO): Likewise.
31299 * config.make.in (PKGVERSION): New variable.
31300 (PKGVERSION_TEXI): Likewise.
31301 (REPORT_BUGS_TO): Likewise.
31302 (REPORT_BUGS_TEXI): Likewise.
31303 * Makefile (format-me): Use -I$(common-objpfx)manual.
31304 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
31305 ($(common-objpfx)manual/%): New target.
31306 (manual/%): Remove target.
31307 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
31308 (print_version): Use PKGVERSION.
31309 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
31310 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
31311 and REPORT_BUGS_TO.
31312 ($(objpfx)xtrace): Likewise.
31313 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
31314 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
31315 (print_version): Use PKGVERSION.
31316 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
31317 (do_version): Use PKGVERSION.
31318 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
31319 REPORT_BUGS_TO.
31320 (common-ldd-rewrite): Likewise.
31321 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
31322 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
31323 (print_version): Use PKGVERSION.
31324 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
31325 * elf/pldd.c (argp_program_bug_address): Remove variable.
31326 (more_help): New function.
31327 (argp): Use more_help.
31328 (print_version): Use PKGVERSION.
31329 * elf/sln.c (main): Use PKGVERSION.
31330 (usage): Use REPORT_BUGS_TO.
31331 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
31332 (top level): Use PKGVERSION.
31333 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
31334 (print_version): Use PKGVERSION.
31335 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
31336 (print_version): Use PKGVERSION.
31337 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
31338 (print_version): Use PKGVERSION.
31339 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
31340 (print_version): Use PKGVERSION.
31341 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
31342 (print_version): Use PKGVERSION.
31343 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
31344 (print_version): Use PKGVERSION.
31345 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
31346 and BUGURL.
31347 ($(objpfx)memusage): Likewise.
31348 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
31349 (do_version): Use PKGVERSION.
31350 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
31351 (print_version): Use PKGVERSION.
31352 * malloc/mtrace.pl ($PACKAGE): Remove variable.
31353 ($PKGVERSION): New variable.
31354 ($REPORT_BUGS_TO): Likewise.
31355 (usage): Use $REPORT_BUGS_TO.
31356 (top level): Use $PKGVERSION.
31357 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
31358 ($(objpfx)pkgvers.texi): New rule.
31359 ($(objpfx)stamp-pkgvers): Likewise.
31360 * manual/install.texi: Include pkgvers.texi.
31361 (--with-pkgversion): Document new configure option.
31362 (--with-bugurl): Likewise.
31363 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
31364 than necessarily for this particular distribution. Use
31365 REPORT_BUGS_TO for where to report bugs.
31366 * INSTALL: Regenerated.
31367 * manual/libc.texinfo: Include pkgvers.texi.
31368 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
31369 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
31370 (print_version): Use PKGVERSION.
31371 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
31372 (print_version): Use PKGVERSION.
31373 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
31374 (print_version): Use PKGVERSION.
31375 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
31376 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
31377 macro.
31378 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
31379 (print_version): Use PKGVERSION.
31380 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
31381 (print_version): Use PKGVERSION.
31382 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
31383 and PKGVERSION.
31384
31385 * timezone/checktab.awk: Update from tzcode 2012i.
31386 * timezone/ialloc.c: Likewise.
31387 * timezone/private.h: Likewise.
31388 * timezone/scheck.c: Likewise.
31389 * timezone/tzfile.h: Likewise.
31390 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
31391 (TZVERSION): Hardcode tzcode version number.
31392 * timezone/zdump.c: Update from tzcode 2012i.
31393 * timezone/zic.c: Likewise.
31394 * timezone/version.h: New file.
31395 * timezone/README: Describe version.h. Update upstream location.
31396
31397 [BZ #14824]
31398 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
31399 (mktemp): Enable declaration.
31400 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
31401 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
31402 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
31403 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
31404 Likewise.
31405 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
31406 Likewise.
31407 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
31408 Likewise.
31409 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
31410 Likewise.
31411 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
31412 Likewise.
31413 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
31414 Likewise.
31415
31416 [BZ #14821]
31417 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
31418 offset in buffer as u_int32_t not u_long. Consistently use memcpy
31419 for copies of such integer values.
31420 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
31421 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
31422
31423 2012-11-09 Andreas Jaeger <aj@suse.de>
31424
31425 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
31426 definitions and declarations that are provided by
31427 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
31428
31429 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31430
31431 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
31432 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
31433 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
31434 definition.
31435
31436 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
31437
31438 * elf/elf.h: Update comment before AArch64 relocations.
31439
31440 2012-11-07 David S. Miller <davem@davemloft.net>
31441
31442 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
31443 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
31444 (__start_context): Declare.
31445 (__makecontext_ret): Delete.
31446 (__makecontext): Hook up __start_context instead of
31447 __makecontext_ret.
31448 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
31449 (sysdep_routines): Add __start_context when in stdlib.
31450
31451 2012-11-07 Joseph Myers <joseph@codesourcery.com>
31452
31453 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
31454 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
31455 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
31456 hardcoded "nm".
31457 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
31458 (READELF): New variable. Use it instead of hardcoded "readelf".
31459
31460 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
31461
31462 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
31463 * sysdeps/x86/Makefile: Here.
31464 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
31465 * sysdeps/x86/tst-xmmymm.sh: This.
31466
31467 2012-11-07 Joseph Myers <joseph@codesourcery.com>
31468
31469 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
31470 expectations.
31471 [UNIX98] (pthread_barrier_t): Do not expect.
31472 [UNIX98] (pthread_barrierattr_t): Likewise.
31473 [UNIX98] (pthread_spinlock_t): Likewise.
31474 [UNIX98] (pthread_barrier_destroy): Likewise.
31475 [UNIX98] (pthread_barrier_init): Likewise.
31476 [UNIX98] (pthread_barrier_wait): Likewise.
31477 [UNIX98] (pthread_barrierattr_destroy): Likewise.
31478 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
31479 [UNIX98] (pthread_barrierattr_init): Likewise.
31480 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
31481 [UNIX98] (pthread_getcpuclockid): Likewise.
31482 [UNIX98] (pthread_mutex_timedlock): Likewise.
31483 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
31484 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
31485 [UNIX98] (pthread_sigmask): Likewise.
31486 [UNIX98] (pthread_spin_destroy): Likewise.
31487 [UNIX98] (pthread_spin_init): Likewise.
31488 [UNIX98] (pthread_spin_lock): Likewise.
31489 [UNIX98] (pthread_spin_trylock): Likewise.
31490 [UNIX98] (pthread_spin_unlock): Likewise.
31491 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
31492 Do not expect.
31493 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
31494 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
31495 [XPG3 || XPG4] (pthread_cond_t): Likewise.
31496 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
31497 [XPG3 || XPG4] (pthread_key_t): Likewise.
31498 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
31499 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
31500 [XPG3 || XPG4] (pthread_once_t): Likewise.
31501 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
31502 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
31503 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
31504 [XPG3 || XPG4] (pthread_t): Likewise.
31505
31506 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
31507 not expect.
31508 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
31509
31510 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
31511 Change function return type to int.
31512
31513 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
31514 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
31515 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
31516 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
31517 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
31518 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
31519 [!POSIX] (posix_madvise): Likewise.
31520 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
31521 && !UNIX98].
31522 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
31523 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
31524 (mode_t): Likewise.
31525 (posix_mem_offset): Likewise.
31526 (posix_typed_mem_get_info): Likewise.
31527 (posix_typed_mem_open): Likewise.
31528
31529 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
31530 Change condition to [XOPEN2K8].
31531
31532 * conform/conformtest.pl: Preprocess allow-header data with -x c
31533 instead of from stdin.
31534 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
31535 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
31536 [C99-based standards] (cerfc): Likewise.
31537 [C99-based standards] (cexp2): Likewise.
31538 [C99-based standards] (cexpm1): Likewise.
31539 [C99-based standards] (clog10): Likewise.
31540 [C99-based standards] (clog1p): Likewise.
31541 [C99-based standards] (clog2): Likewise.
31542 [C99-based standards] (clgamma): Likewise.
31543 [C99-based standards] (ctgamma): Likewise.
31544 [C99-based standards] (cerff): Likewise.
31545 [C99-based standards] (cerfcf): Likewise.
31546 [C99-based standards] (cexp2f): Likewise.
31547 [C99-based standards] (cexpm1f): Likewise.
31548 [C99-based standards] (clog10f): Likewise.
31549 [C99-based standards] (clog1pf): Likewise.
31550 [C99-based standards] (clog2f): Likewise.
31551 [C99-based standards] (clgammaf): Likewise.
31552 [C99-based standards] (ctgammaf): Likewise.
31553 [C99-based standards] (cerfl): Likewise.
31554 [C99-based standards] (cerfcl): Likewise.
31555 [C99-based standards] (cexp2l): Likewise.
31556 [C99-based standards] (cexpm1l): Likewise.
31557 [C99-based standards] (clog10l): Likewise.
31558 [C99-based standards] (clog1pl): Likewise.
31559 [C99-based standards] (clog2l): Likewise.
31560 [C99-based standards] (clgammal): Likewise.
31561 [C99-based standards] (ctgammal): Likewise.
31562 * conform/data/inttypes.h-data [C99-based standards]: Include
31563 stdint.h-data. Remove all expectations for stdint.h contents.
31564 [C99-based standards] (PRI*): Do not allow.
31565 [C99-based standards] (SCN*): Likewise.
31566 [C99-based standards] (*_t): Likewise.
31567 [C99-based-standards] (PRId8): Expect macro.
31568 [C99-based-standards] (PRIi8): Likewise.
31569 [C99-based-standards] (PRIo8): Likewise.
31570 [C99-based-standards] (PRIu8): Likewise.
31571 [C99-based-standards] (PRIx8): Likewise.
31572 [C99-based-standards] (PRIX8): Likewise.
31573 [C99-based-standards] (SCNd8): Likewise.
31574 [C99-based-standards] (SCNi8): Likewise.
31575 [C99-based-standards] (SCNo8): Likewise.
31576 [C99-based-standards] (SCNu8): Likewise.
31577 [C99-based-standards] (SCNx8): Likewise.
31578 [C99-based-standards] (PRIdLEAST8): Likewise.
31579 [C99-based-standards] (PRIiLEAST8): Likewise.
31580 [C99-based-standards] (PRIoLEAST8): Likewise.
31581 [C99-based-standards] (PRIuLEAST8): Likewise.
31582 [C99-based-standards] (PRIxLEAST8): Likewise.
31583 [C99-based-standards] (PRIXLEAST8): Likewise.
31584 [C99-based-standards] (SCNdLEAST8): Likewise.
31585 [C99-based-standards] (SCNiLEAST8): Likewise.
31586 [C99-based-standards] (SCNoLEAST8): Likewise.
31587 [C99-based-standards] (SCNuLEAST8): Likewise.
31588 [C99-based-standards] (SCNxLEAST8): Likewise.
31589 [C99-based-standards] (PRIdFAST8): Likewise.
31590 [C99-based-standards] (PRIiFAST8): Likewise.
31591 [C99-based-standards] (PRIoFAST8): Likewise.
31592 [C99-based-standards] (PRIuFAST8): Likewise.
31593 [C99-based-standards] (PRIxFAST8): Likewise.
31594 [C99-based-standards] (PRIXFAST8): Likewise.
31595 [C99-based-standards] (SCNdFAST8): Likewise.
31596 [C99-based-standards] (SCNiFAST8): Likewise.
31597 [C99-based-standards] (SCNoFAST8): Likewise.
31598 [C99-based-standards] (SCNuFAST8): Likewise.
31599 [C99-based-standards] (SCNxFAST8): Likewise.
31600 [C99-based-standards] (PRId16): Likewise.
31601 [C99-based-standards] (PRIi16): Likewise.
31602 [C99-based-standards] (PRIo16): Likewise.
31603 [C99-based-standards] (PRIu16): Likewise.
31604 [C99-based-standards] (PRIx16): Likewise.
31605 [C99-based-standards] (PRIX16): Likewise.
31606 [C99-based-standards] (SCNd16): Likewise.
31607 [C99-based-standards] (SCNi16): Likewise.
31608 [C99-based-standards] (SCNo16): Likewise.
31609 [C99-based-standards] (SCNu16): Likewise.
31610 [C99-based-standards] (SCNx16): Likewise.
31611 [C99-based-standards] (PRIdLEAST16): Likewise.
31612 [C99-based-standards] (PRIiLEAST16): Likewise.
31613 [C99-based-standards] (PRIoLEAST16): Likewise.
31614 [C99-based-standards] (PRIuLEAST16): Likewise.
31615 [C99-based-standards] (PRIxLEAST16): Likewise.
31616 [C99-based-standards] (PRIXLEAST16): Likewise.
31617 [C99-based-standards] (SCNdLEAST16): Likewise.
31618 [C99-based-standards] (SCNiLEAST16): Likewise.
31619 [C99-based-standards] (SCNoLEAST16): Likewise.
31620 [C99-based-standards] (SCNuLEAST16): Likewise.
31621 [C99-based-standards] (SCNxLEAST16): Likewise.
31622 [C99-based-standards] (PRIdFAST16): Likewise.
31623 [C99-based-standards] (PRIiFAST16): Likewise.
31624 [C99-based-standards] (PRIoFAST16): Likewise.
31625 [C99-based-standards] (PRIuFAST16): Likewise.
31626 [C99-based-standards] (PRIxFAST16): Likewise.
31627 [C99-based-standards] (PRIXFAST16): Likewise.
31628 [C99-based-standards] (SCNdFAST16): Likewise.
31629 [C99-based-standards] (SCNiFAST16): Likewise.
31630 [C99-based-standards] (SCNoFAST16): Likewise.
31631 [C99-based-standards] (SCNuFAST16): Likewise.
31632 [C99-based-standards] (SCNxFAST16): Likewise.
31633 [C99-based-standards] (PRId32): Likewise.
31634 [C99-based-standards] (PRIi32): Likewise.
31635 [C99-based-standards] (PRIo32): Likewise.
31636 [C99-based-standards] (PRIu32): Likewise.
31637 [C99-based-standards] (PRIx32): Likewise.
31638 [C99-based-standards] (PRIX32): Likewise.
31639 [C99-based-standards] (SCNd32): Likewise.
31640 [C99-based-standards] (SCNi32): Likewise.
31641 [C99-based-standards] (SCNo32): Likewise.
31642 [C99-based-standards] (SCNu32): Likewise.
31643 [C99-based-standards] (SCNx32): Likewise.
31644 [C99-based-standards] (PRIdLEAST32): Likewise.
31645 [C99-based-standards] (PRIiLEAST32): Likewise.
31646 [C99-based-standards] (PRIoLEAST32): Likewise.
31647 [C99-based-standards] (PRIuLEAST32): Likewise.
31648 [C99-based-standards] (PRIxLEAST32): Likewise.
31649 [C99-based-standards] (PRIXLEAST32): Likewise.
31650 [C99-based-standards] (SCNdLEAST32): Likewise.
31651 [C99-based-standards] (SCNiLEAST32): Likewise.
31652 [C99-based-standards] (SCNoLEAST32): Likewise.
31653 [C99-based-standards] (SCNuLEAST32): Likewise.
31654 [C99-based-standards] (SCNxLEAST32): Likewise.
31655 [C99-based-standards] (PRIdFAST32): Likewise.
31656 [C99-based-standards] (PRIiFAST32): Likewise.
31657 [C99-based-standards] (PRIoFAST32): Likewise.
31658 [C99-based-standards] (PRIuFAST32): Likewise.
31659 [C99-based-standards] (PRIxFAST32): Likewise.
31660 [C99-based-standards] (PRIXFAST32): Likewise.
31661 [C99-based-standards] (SCNdFAST32): Likewise.
31662 [C99-based-standards] (SCNiFAST32): Likewise.
31663 [C99-based-standards] (SCNoFAST32): Likewise.
31664 [C99-based-standards] (SCNuFAST32): Likewise.
31665 [C99-based-standards] (SCNxFAST32): Likewise.
31666 [C99-based-standards] (PRId64): Likewise.
31667 [C99-based-standards] (PRIi64): Likewise.
31668 [C99-based-standards] (PRIo64): Likewise.
31669 [C99-based-standards] (PRIu64): Likewise.
31670 [C99-based-standards] (PRIx64): Likewise.
31671 [C99-based-standards] (PRIX64): Likewise.
31672 [C99-based-standards] (SCNd64): Likewise.
31673 [C99-based-standards] (SCNi64): Likewise.
31674 [C99-based-standards] (SCNo64): Likewise.
31675 [C99-based-standards] (SCNu64): Likewise.
31676 [C99-based-standards] (SCNx64): Likewise.
31677 [C99-based-standards] (PRIdLEAST64): Likewise.
31678 [C99-based-standards] (PRIiLEAST64): Likewise.
31679 [C99-based-standards] (PRIoLEAST64): Likewise.
31680 [C99-based-standards] (PRIuLEAST64): Likewise.
31681 [C99-based-standards] (PRIxLEAST64): Likewise.
31682 [C99-based-standards] (PRIXLEAST64): Likewise.
31683 [C99-based-standards] (SCNdLEAST64): Likewise.
31684 [C99-based-standards] (SCNiLEAST64): Likewise.
31685 [C99-based-standards] (SCNoLEAST64): Likewise.
31686 [C99-based-standards] (SCNuLEAST64): Likewise.
31687 [C99-based-standards] (SCNxLEAST64): Likewise.
31688 [C99-based-standards] (PRIdFAST64): Likewise.
31689 [C99-based-standards] (PRIiFAST64): Likewise.
31690 [C99-based-standards] (PRIoFAST64): Likewise.
31691 [C99-based-standards] (PRIuFAST64): Likewise.
31692 [C99-based-standards] (PRIxFAST64): Likewise.
31693 [C99-based-standards] (PRIXFAST64): Likewise.
31694 [C99-based-standards] (SCNdFAST64): Likewise.
31695 [C99-based-standards] (SCNiFAST64): Likewise.
31696 [C99-based-standards] (SCNoFAST64): Likewise.
31697 [C99-based-standards] (SCNuFAST64): Likewise.
31698 [C99-based-standards] (SCNxFAST64): Likewise.
31699 [C99-based-standards] (PRIdMAX): Likewise.
31700 [C99-based-standards] (PRIiMAX): Likewise.
31701 [C99-based-standards] (PRIoMAX): Likewise.
31702 [C99-based-standards] (PRIuMAX): Likewise.
31703 [C99-based-standards] (PRIxMAX): Likewise.
31704 [C99-based-standards] (PRIXMAX): Likewise.
31705 [C99-based-standards] (SCNdMAX): Likewise.
31706 [C99-based-standards] (SCNiMAX): Likewise.
31707 [C99-based-standards] (SCNoMAX): Likewise.
31708 [C99-based-standards] (SCNuMAX): Likewise.
31709 [C99-based-standards] (SCNxMAX): Likewise.
31710 [C99-based-standards] (PRIdPTR): Likewise.
31711 [C99-based-standards] (PRIiPTR): Likewise.
31712 [C99-based-standards] (PRIoPTR): Likewise.
31713 [C99-based-standards] (PRIuPTR): Likewise.
31714 [C99-based-standards] (PRIxPTR): Likewise.
31715 [C99-based-standards] (PRIXPTR): Likewise.
31716 [C99-based-standards] (SCNdPTR): Likewise.
31717 [C99-based-standards] (SCNiPTR): Likewise.
31718 [C99-based-standards] (SCNoPTR): Likewise.
31719 [C99-based-standards] (SCNuPTR): Likewise.
31720 [C99-based-standards] (SCNxPTR): Likewise.
31721 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
31722 allow.
31723 * conform/data/stdint.h-data: Update comments to clarify
31724 requirements.
31725 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
31726 type.
31727 [C99-based standards] (INT8_MAX): Likewise.
31728 [C99-based standards] (INT16_MIN): Likewise.
31729 [C99-based standards] (INT16_MAX): Likewise.
31730 [C99-based standards] (INT32_MIN): Likewise.
31731 [C99-based standards] (INT32_MAX): Likewise.
31732 [C99-based standards] (INT64_MIN): Likewise.
31733 [C99-based standards] (INT64_MAX): Likewise.
31734 [C99-based standards] (UINT8_MAX): Likewise.
31735 [C99-based standards] (UINT16_MAX): Likewise.
31736 [C99-based standards] (UINT32_MAX): Likewise.
31737 [C99-based standards] (UINT64_MAX): Likewise.
31738 [C99-based standards] (INT_LEAST8_MIN): Likewise.
31739 [C99-based standards] (INT_LEAST8_MAX): Likewise.
31740 [C99-based standards] (INT_LEAST16_MIN): Likewise.
31741 [C99-based standards] (INT_LEAST16_MAX): Likewise.
31742 [C99-based standards] (INT_LEAST32_MIN): Likewise.
31743 [C99-based standards] (INT_LEAST32_MAX): Likewise.
31744 [C99-based standards] (INT_LEAST64_MIN): Likewise.
31745 [C99-based standards] (INT_LEAST64_MAX): Likewise.
31746 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
31747 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
31748 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
31749 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
31750 [C99-based standards] (INT_FAST8_MIN): Likewise.
31751 [C99-based standards] (INT_FAST8_MAX): Likewise.
31752 [C99-based standards] (INT_FAST16_MIN): Likewise.
31753 [C99-based standards] (INT_FAST16_MAX): Likewise.
31754 [C99-based standards] (INT_FAST32_MIN): Likewise.
31755 [C99-based standards] (INT_FAST32_MAX): Likewise.
31756 [C99-based standards] (INT_FAST64_MIN): Likewise.
31757 [C99-based standards] (INT_FAST64_MAX): Likewise.
31758 [C99-based standards] (UINT_FAST8_MAX): Likewise.
31759 [C99-based standards] (UINT_FAST16_MAX): Likewise.
31760 [C99-based standards] (UINT_FAST32_MAX): Likewise.
31761 [C99-based standards] (UINT_FAST64_MAX): Likewise.
31762 [C99-based standards] (INTPTR_MIN): Likewise.
31763 [C99-based standards] (INTPTR_MAX): Likewise.
31764 [C99-based standards] (UINTPTR_MAX): Likewise.
31765 [C99-based standards] (INTMAX_MIN): Likewise.
31766 [C99-based standards] (INTMAX_MAX): Likewise.
31767 [C99-based standards] (UINTMAX_MAX): Likewise.
31768 [C99-based standards] (PTRDIFF_MIN): Likewise.
31769 [C99-based standards] (PTRDIFF_MAX): Likewise.
31770 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
31771 [C99-based standards] (SIZE_MAX): Likewise.
31772 [C99-based standards] (WCHAR_MAX): Likewise.
31773 [C99-based standards] (WINT_MAX): Likewise.
31774 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
31775 constraint on value.
31776 [C99-based standards] (WCHAR_MIN): Likewise.
31777 [C99-based standards] (WINT_MIN): Likewise.
31778 [C99-based standards] (*_t): Allow.
31779 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
31780 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
31781 Include math.h-data and complex.h-data. Remove all expectations
31782 of math.h and complex.h contents.
31783 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
31784 at end of line.
31785 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
31786 (struct tm): Expect tag.
31787 [C99-based-standards] (wcstof): Expect function.
31788 [C99-based-standards] (wcstold): Likewise.
31789 [C99-based-standards] (wcstoll): Likewise.
31790 [C99-based-standards] (wcstoull): Likewise.
31791 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
31792 macro-int-constant. Specify type.
31793 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
31794 constraint on value.
31795 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
31796 Specify type.
31797 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
31798 Specify value.
31799 [ISO C standards]: Do not allow headers.
31800 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
31801 wcs[abcdefghijklmnopqrstuvwxyz]*.
31802 [ISO C standards] (*_t): Do not allow.
31803 * conform/data/wctype.h-data [C99-based standards] (iswblank):
31804 Expect function.
31805 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
31806 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
31807 Specify type.
31808 [ISO C standards]: Do not allow headers.
31809 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
31810 is[abcdefghijklmnopqrstuvwxyz]*.
31811 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
31812 to[abcdefghijklmnopqrstuvwxyz]*.
31813 [ISO C standards] (*_t): Do not allow.
31814 * conform/data/stdalign.h-data: New file.
31815 * conform/data/stdbool.h-data: Likewise.
31816 * conform/data/stdnoreturn.h-data: Likewise.
31817
31818 2012-11-07 Roland McGrath <roland@hack.frob.com>
31819
31820 [BZ #14815]
31821 * manual/filesys.texi (Directory Entries): Typo fix.
31822 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
31823
31824 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
31825
31826 * elf/elf.h (EM_AARCH64): New macro.
31827 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
31828 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
31829 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
31830 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
31831 (R_AARCH64_TLSDESC): Likewise.
31832 (NT_ARM_TLS): Likewise.
31833 (NT_ARM_HW_BREAK): Likewise.
31834 (NT_ARM_HW_WATCH): Likewise.
31835
31836 2012-11-07 Joseph Myers <joseph@codesourcery.com>
31837
31838 [BZ #14811]
31839 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
31840 (__ieee754_powl): Saturate nonzero exponents with absolute value
31841 below 0x1p-79 to +/- 0x1p-79.
31842 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
31843 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
31844 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
31845 nonzero exponents with absolute value below 0x1p-32 to +/-
31846 0x1p-32.
31847 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
31848 (__ieee754_powl): Saturate nonzero exponents with absolute value
31849 below 0x1p-79 to +/- 0x1p-79.
31850 * math/libm-test.inc (pow_test): Add more tests.
31851
31852 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31853
31854 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
31855 _dl_s390_cap_flags with kernel. Increase string length.
31856 (_dl_s390_platforms): Add z196 and zEC12.
31857
31858 2012-11-07 Joseph Myers <joseph@codesourcery.com>
31859
31860 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
31861 Change XOPEN21K to XOPEN2K.
31862
31863 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
31864
31865 * string/memmove.c: Use memcpy when possible.
31866
31867 2012-11-06 Andreas Jaeger <aj@suse.de>
31868
31869 * po/eo.po: Update from translation team.
31870
31871 2012-11-06 Joseph Myers <joseph@codesourcery.com>
31872
31873 [BZ #14793]
31874 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
31875 exponent and small x and y exponents, scale x or y up. Increase
31876 by 2 the exponent used in scaling up.
31877 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
31878 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
31879 * math/libm-test.inc (fma_test): Add more tests.
31880 (fma_test_towardzero): Likewise.
31881 (fma_test_downward): Likewise.
31882 (fma_test_upward): Likewise.
31883
31884 2012-11-05 Joseph Myers <joseph@codesourcery.com>
31885
31886 [BZ #14805]
31887 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
31888 fenv_t *.
31889
31890 [BZ #14801]
31891 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
31892 namespace for names of struct fields.
31893 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
31894 fenv_t fields.
31895 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
31896 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
31897
31898 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
31899
31900 [BZ #3665]
31901 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
31902
31903 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
31904
31905 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
31906 PTR_DEMANGLE.
31907
31908 [BZ #5246]
31909 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
31910 PTR_DEMANGLE.
31911
31912 2012-11-04 Joseph Myers <joseph@codesourcery.com>
31913
31914 [BZ #14797]
31915 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
31916 definitely overflow as x * y not x * y + z.
31917 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
31918 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
31919 * math/libm-test.inc (fma_test): Add more tests.
31920 (fma_test_towardzero): Likewise.
31921 (fma_test_downward): Likewise.
31922 (fma_test_upward): Likewise.
31923
31924 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
31925
31926 [BZ #157]
31927
31928 * include/stub-tag.h: Remove file.
31929 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
31930 '#include' of it.
31931 * manual/maint.texi (Porting): Don't reference it.
31932 * Makerules ($(objpfx)stubs): Likewise.
31933 * dirent/closedir.c: Don't include <stub-tag.h>.
31934 * dirent/dirfd.c: Likewise.
31935 * dirent/fdopendir.c: Likewise.
31936 * dirent/getdents.c: Likewise.
31937 * dirent/getdents64.c: Likewise.
31938 * dirent/opendir.c: Likewise.
31939 * dirent/readdir.c: Likewise.
31940 * dirent/readdir64.c: Likewise.
31941 * dirent/readdir64_r.c: Likewise.
31942 * dirent/readdir_r.c: Likewise.
31943 * dirent/rewinddir.c: Likewise.
31944 * dirent/seekdir.c: Likewise.
31945 * dirent/telldir.c: Likewise.
31946 * gmon/profil.c: Likewise.
31947 * grp/setgroups.c: Likewise.
31948 * inet/if_index.c: Likewise.
31949 * io/access.c: Likewise.
31950 * io/chdir.c: Likewise.
31951 * io/chmod.c: Likewise.
31952 * io/chown.c: Likewise.
31953 * io/close.c: Likewise.
31954 * io/dup.c: Likewise.
31955 * io/dup2.c: Likewise.
31956 * io/dup3.c: Likewise.
31957 * io/euidaccess.c: Likewise.
31958 * io/faccessat.c: Likewise.
31959 * io/fchdir.c: Likewise.
31960 * io/fchmod.c: Likewise.
31961 * io/fchmodat.c: Likewise.
31962 * io/fchown.c: Likewise.
31963 * io/fchownat.c: Likewise.
31964 * io/fcntl.c: Likewise.
31965 * io/flock.c: Likewise.
31966 * io/fstatfs.c: Likewise.
31967 * io/fstatfs64.c: Likewise.
31968 * io/fstatvfs.c: Likewise.
31969 * io/fstatvfs64.c: Likewise.
31970 * io/futimens.c: Likewise.
31971 * io/fxstat.c: Likewise.
31972 * io/fxstat64.c: Likewise.
31973 * io/fxstatat.c: Likewise.
31974 * io/fxstatat64.c: Likewise.
31975 * io/getcwd.c: Likewise.
31976 * io/isatty.c: Likewise.
31977 * io/lchmod.c: Likewise.
31978 * io/lchown.c: Likewise.
31979 * io/link.c: Likewise.
31980 * io/linkat.c: Likewise.
31981 * io/lseek.c: Likewise.
31982 * io/lseek64.c: Likewise.
31983 * io/lxstat64.c: Likewise.
31984 * io/mkdir.c: Likewise.
31985 * io/mkdirat.c: Likewise.
31986 * io/mkfifo.c: Likewise.
31987 * io/mkfifoat.c: Likewise.
31988 * io/open.c: Likewise.
31989 * io/open64.c: Likewise.
31990 * io/openat.c: Likewise.
31991 * io/openat64.c: Likewise.
31992 * io/pipe.c: Likewise.
31993 * io/pipe2.c: Likewise.
31994 * io/poll.c: Likewise.
31995 * io/posix_fadvise.c: Likewise.
31996 * io/posix_fadvise64.c: Likewise.
31997 * io/posix_fallocate.c: Likewise.
31998 * io/posix_fallocate64.c: Likewise.
31999 * io/read.c: Likewise.
32000 * io/readlink.c: Likewise.
32001 * io/readlinkat.c: Likewise.
32002 * io/rmdir.c: Likewise.
32003 * io/sendfile.c: Likewise.
32004 * io/sendfile64.c: Likewise.
32005 * io/statfs.c: Likewise.
32006 * io/statfs64.c: Likewise.
32007 * io/statvfs.c: Likewise.
32008 * io/statvfs64.c: Likewise.
32009 * io/symlink.c: Likewise.
32010 * io/symlinkat.c: Likewise.
32011 * io/ttyname.c: Likewise.
32012 * io/ttyname_r.c: Likewise.
32013 * io/umask.c: Likewise.
32014 * io/unlink.c: Likewise.
32015 * io/unlinkat.c: Likewise.
32016 * io/utime.c: Likewise.
32017 * io/utimensat.c: Likewise.
32018 * io/write.c: Likewise.
32019 * io/xmknod.c: Likewise.
32020 * io/xmknodat.c: Likewise.
32021 * io/xstat.c: Likewise.
32022 * io/xstat64.c: Likewise.
32023 * login/getpt.c: Likewise.
32024 * login/grantpt.c: Likewise.
32025 * login/unlockpt.c: Likewise.
32026 * math/e_acoshl.c: Likewise.
32027 * math/e_acosl.c: Likewise.
32028 * math/e_asinl.c: Likewise.
32029 * math/e_atan2l.c: Likewise.
32030 * math/e_atanhl.c: Likewise.
32031 * math/e_coshl.c: Likewise.
32032 * math/e_expl.c: Likewise.
32033 * math/e_fmodl.c: Likewise.
32034 * math/e_gammal_r.c: Likewise.
32035 * math/e_hypotl.c: Likewise.
32036 * math/e_j0l.c: Likewise.
32037 * math/e_j1l.c: Likewise.
32038 * math/e_jnl.c: Likewise.
32039 * math/e_lgammal_r.c: Likewise.
32040 * math/e_log10l.c: Likewise.
32041 * math/e_log2l.c: Likewise.
32042 * math/e_logl.c: Likewise.
32043 * math/e_powl.c: Likewise.
32044 * math/e_rem_pio2l.c: Likewise.
32045 * math/e_sinhl.c: Likewise.
32046 * math/e_sqrtl.c: Likewise.
32047 * math/fclrexcpt.c: Likewise.
32048 * math/fedisblxcpt.c: Likewise.
32049 * math/feenablxcpt.c: Likewise.
32050 * math/fegetenv.c: Likewise.
32051 * math/fegetexcept.c: Likewise.
32052 * math/fegetround.c: Likewise.
32053 * math/feholdexcpt.c: Likewise.
32054 * math/fesetenv.c: Likewise.
32055 * math/fesetround.c: Likewise.
32056 * math/feupdateenv.c: Likewise.
32057 * math/fgetexcptflg.c: Likewise.
32058 * math/fraiseexcpt.c: Likewise.
32059 * math/fsetexcptflg.c: Likewise.
32060 * math/ftestexcept.c: Likewise.
32061 * math/k_cosl.c: Likewise.
32062 * math/k_rem_pio2l.c: Likewise.
32063 * math/k_sinl.c: Likewise.
32064 * math/k_tanl.c: Likewise.
32065 * math/s_asinhl.c: Likewise.
32066 * math/s_atanl.c: Likewise.
32067 * math/s_cbrtl.c: Likewise.
32068 * math/s_erfl.c: Likewise.
32069 * math/s_expm1l.c: Likewise.
32070 * math/s_log1pl.c: Likewise.
32071 * math/s_tanhl.c: Likewise.
32072 * misc/acct.c: Likewise.
32073 * misc/brk.c: Likewise.
32074 * misc/chflags.c: Likewise.
32075 * misc/chroot.c: Likewise.
32076 * misc/fchflags.c: Likewise.
32077 * misc/fgetxattr.c: Likewise.
32078 * misc/flistxattr.c: Likewise.
32079 * misc/fremovexattr.c: Likewise.
32080 * misc/fsetxattr.c: Likewise.
32081 * misc/fsync.c: Likewise.
32082 * misc/ftruncate.c: Likewise.
32083 * misc/futimes.c: Likewise.
32084 * misc/futimesat.c: Likewise.
32085 * misc/getdomain.c: Likewise.
32086 * misc/getdtsz.c: Likewise.
32087 * misc/gethostid.c: Likewise.
32088 * misc/gethostname.c: Likewise.
32089 * misc/getloadavg.c: Likewise.
32090 * misc/getpagesize.c: Likewise.
32091 * misc/getsysstats.c: Likewise.
32092 * misc/getxattr.c: Likewise.
32093 * misc/gtty.c: Likewise.
32094 * misc/ioctl.c: Likewise.
32095 * misc/lgetxattr.c: Likewise.
32096 * misc/listxattr.c: Likewise.
32097 * misc/llistxattr.c: Likewise.
32098 * misc/lremovexattr.c: Likewise.
32099 * misc/lsetxattr.c: Likewise.
32100 * misc/lutimes.c: Likewise.
32101 * misc/madvise.c: Likewise.
32102 * misc/mincore.c: Likewise.
32103 * misc/mlock.c: Likewise.
32104 * misc/mlockall.c: Likewise.
32105 * misc/mmap.c: Likewise.
32106 * misc/mprotect.c: Likewise.
32107 * misc/msync.c: Likewise.
32108 * misc/munlock.c: Likewise.
32109 * misc/munlockall.c: Likewise.
32110 * misc/munmap.c: Likewise.
32111 * misc/preadv.c: Likewise.
32112 * misc/preadv64.c: Likewise.
32113 * misc/ptrace.c: Likewise.
32114 * misc/pwritev.c: Likewise.
32115 * misc/pwritev64.c: Likewise.
32116 * misc/readv.c: Likewise.
32117 * misc/reboot.c: Likewise.
32118 * misc/remap_file_pages.c: Likewise.
32119 * misc/removexattr.c: Likewise.
32120 * misc/revoke.c: Likewise.
32121 * misc/select.c: Likewise.
32122 * misc/setdomain.c: Likewise.
32123 * misc/setegid.c: Likewise.
32124 * misc/seteuid.c: Likewise.
32125 * misc/sethostid.c: Likewise.
32126 * misc/sethostname.c: Likewise.
32127 * misc/setregid.c: Likewise.
32128 * misc/setreuid.c: Likewise.
32129 * misc/setxattr.c: Likewise.
32130 * misc/sstk.c: Likewise.
32131 * misc/stty.c: Likewise.
32132 * misc/swapoff.c: Likewise.
32133 * misc/swapon.c: Likewise.
32134 * misc/sync.c: Likewise.
32135 * misc/syncfs.c: Likewise.
32136 * misc/syscall.c: Likewise.
32137 * misc/truncate.c: Likewise.
32138 * misc/ualarm.c: Likewise.
32139 * misc/usleep.c: Likewise.
32140 * misc/ustat.c: Likewise.
32141 * misc/utimes.c: Likewise.
32142 * misc/vhangup.c: Likewise.
32143 * misc/writev.c: Likewise.
32144 * posix/_exit.c: Likewise.
32145 * posix/alarm.c: Likewise.
32146 * posix/execve.c: Likewise.
32147 * posix/fexecve.c: Likewise.
32148 * posix/fork.c: Likewise.
32149 * posix/fpathconf.c: Likewise.
32150 * posix/getaddrinfo.c: Likewise.
32151 * posix/getegid.c: Likewise.
32152 * posix/geteuid.c: Likewise.
32153 * posix/getgid.c: Likewise.
32154 * posix/getgroups.c: Likewise.
32155 * posix/getlogin.c: Likewise.
32156 * posix/getlogin_r.c: Likewise.
32157 * posix/getpgid.c: Likewise.
32158 * posix/getpid.c: Likewise.
32159 * posix/getppid.c: Likewise.
32160 * posix/getresgid.c: Likewise.
32161 * posix/getresuid.c: Likewise.
32162 * posix/getsid.c: Likewise.
32163 * posix/getuid.c: Likewise.
32164 * posix/glob64.c: Likewise.
32165 * posix/nanosleep.c: Likewise.
32166 * posix/pathconf.c: Likewise.
32167 * posix/pause.c: Likewise.
32168 * posix/posix_madvise.c: Likewise.
32169 * posix/pread.c: Likewise.
32170 * posix/pread64.c: Likewise.
32171 * posix/pwrite.c: Likewise.
32172 * posix/pwrite64.c: Likewise.
32173 * posix/sched_getaffinity.c: Likewise.
32174 * posix/sched_getp.c: Likewise.
32175 * posix/sched_gets.c: Likewise.
32176 * posix/sched_primax.c: Likewise.
32177 * posix/sched_primin.c: Likewise.
32178 * posix/sched_rr_gi.c: Likewise.
32179 * posix/sched_setaffinity.c: Likewise.
32180 * posix/sched_setp.c: Likewise.
32181 * posix/sched_sets.c: Likewise.
32182 * posix/sched_yield.c: Likewise.
32183 * posix/setgid.c: Likewise.
32184 * posix/setlogin.c: Likewise.
32185 * posix/setpgid.c: Likewise.
32186 * posix/setresgid.c: Likewise.
32187 * posix/setresuid.c: Likewise.
32188 * posix/setsid.c: Likewise.
32189 * posix/setuid.c: Likewise.
32190 * posix/sleep.c: Likewise.
32191 * posix/spawni.c: Likewise.
32192 * posix/sysconf.c: Likewise.
32193 * posix/times.c: Likewise.
32194 * posix/wait.c: Likewise.
32195 * posix/wait3.c: Likewise.
32196 * posix/wait4.c: Likewise.
32197 * posix/waitpid.c: Likewise.
32198 * resolv/gai_sigqueue.c: Likewise.
32199 * resource/getpriority.c: Likewise.
32200 * resource/getrlimit.c: Likewise.
32201 * resource/getrusage.c: Likewise.
32202 * resource/nice.c: Likewise.
32203 * resource/setpriority.c: Likewise.
32204 * resource/setrlimit.c: Likewise.
32205 * resource/ulimit.c: Likewise.
32206 * rt/aio_cancel.c: Likewise.
32207 * rt/aio_fsync.c: Likewise.
32208 * rt/aio_read.c: Likewise.
32209 * rt/aio_sigqueue.c: Likewise.
32210 * rt/aio_suspend.c: Likewise.
32211 * rt/aio_write.c: Likewise.
32212 * rt/clock_getres.c: Likewise.
32213 * rt/clock_gettime.c: Likewise.
32214 * rt/clock_nanosleep.c: Likewise.
32215 * rt/clock_settime.c: Likewise.
32216 * rt/lio_listio.c: Likewise.
32217 * rt/mq_close.c: Likewise.
32218 * rt/mq_getattr.c: Likewise.
32219 * rt/mq_notify.c: Likewise.
32220 * rt/mq_open.c: Likewise.
32221 * rt/mq_receive.c: Likewise.
32222 * rt/mq_send.c: Likewise.
32223 * rt/mq_setattr.c: Likewise.
32224 * rt/mq_timedreceive.c: Likewise.
32225 * rt/mq_timedsend.c: Likewise.
32226 * rt/mq_unlink.c: Likewise.
32227 * rt/shm_open.c: Likewise.
32228 * rt/shm_unlink.c: Likewise.
32229 * rt/timer_create.c: Likewise.
32230 * rt/timer_delete.c: Likewise.
32231 * rt/timer_getoverr.c: Likewise.
32232 * rt/timer_gettime.c: Likewise.
32233 * rt/timer_settime.c: Likewise.
32234 * setjmp/__longjmp.c: Likewise.
32235 * setjmp/setjmp.c: Likewise.
32236 * signal/kill.c: Likewise.
32237 * signal/killpg.c: Likewise.
32238 * signal/raise.c: Likewise.
32239 * signal/sigaction.c: Likewise.
32240 * signal/sigaltstack.c: Likewise.
32241 * signal/sigblock.c: Likewise.
32242 * signal/sigignore.c: Likewise.
32243 * signal/sigintr.c: Likewise.
32244 * signal/signal.c: Likewise.
32245 * signal/sigpause.c: Likewise.
32246 * signal/sigpending.c: Likewise.
32247 * signal/sigqueue.c: Likewise.
32248 * signal/sigreturn.c: Likewise.
32249 * signal/sigset.c: Likewise.
32250 * signal/sigsetmask.c: Likewise.
32251 * signal/sigstack.c: Likewise.
32252 * signal/sigsuspend.c: Likewise.
32253 * signal/sigtimedwait.c: Likewise.
32254 * signal/sigvec.c: Likewise.
32255 * signal/sigwait.c: Likewise.
32256 * signal/sigwaitinfo.c: Likewise.
32257 * signal/sysv_signal.c: Likewise.
32258 * socket/accept.c: Likewise.
32259 * socket/accept4.c: Likewise.
32260 * socket/bind.c: Likewise.
32261 * socket/connect.c: Likewise.
32262 * socket/getpeername.c: Likewise.
32263 * socket/getsockname.c: Likewise.
32264 * socket/getsockopt.c: Likewise.
32265 * socket/isfdtype.c: Likewise.
32266 * socket/listen.c: Likewise.
32267 * socket/recv.c: Likewise.
32268 * socket/recvfrom.c: Likewise.
32269 * socket/recvmsg.c: Likewise.
32270 * socket/send.c: Likewise.
32271 * socket/sendmsg.c: Likewise.
32272 * socket/sendto.c: Likewise.
32273 * socket/setsockopt.c: Likewise.
32274 * socket/shutdown.c: Likewise.
32275 * socket/sockatmark.c: Likewise.
32276 * socket/socket.c: Likewise.
32277 * socket/socketpair.c: Likewise.
32278 * stdio-common/ctermid.c: Likewise.
32279 * stdio-common/cuserid.c: Likewise.
32280 * stdio-common/remove.c: Likewise.
32281 * stdio-common/rename.c: Likewise.
32282 * stdio-common/renameat.c: Likewise.
32283 * stdio-common/tempname.c: Likewise.
32284 * stdlib/getcontext.c: Likewise.
32285 * stdlib/makecontext.c: Likewise.
32286 * stdlib/setcontext.c: Likewise.
32287 * stdlib/swapcontext.c: Likewise.
32288 * stdlib/system.c: Likewise.
32289 * streams/fattach.c: Likewise.
32290 * streams/fdetach.c: Likewise.
32291 * streams/getmsg.c: Likewise.
32292 * streams/getpmsg.c: Likewise.
32293 * streams/putmsg.c: Likewise.
32294 * streams/putpmsg.c: Likewise.
32295 * sysdeps/unix/bsd/getpt.c: Likewise.
32296 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
32297 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
32298 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
32299 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
32300 Likewise.
32301 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
32302 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
32303 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
32304 * sysvipc/msgctl.c: Likewise.
32305 * sysvipc/msgget.c: Likewise.
32306 * sysvipc/msgrcv.c: Likewise.
32307 * sysvipc/msgsnd.c: Likewise.
32308 * sysvipc/semctl.c: Likewise.
32309 * sysvipc/semget.c: Likewise.
32310 * sysvipc/semop.c: Likewise.
32311 * sysvipc/semtimedop.c: Likewise.
32312 * sysvipc/shmat.c: Likewise.
32313 * sysvipc/shmctl.c: Likewise.
32314 * sysvipc/shmdt.c: Likewise.
32315 * sysvipc/shmget.c: Likewise.
32316 * termios/tcdrain.c: Likewise.
32317 * termios/tcflow.c: Likewise.
32318 * termios/tcflush.c: Likewise.
32319 * termios/tcgetattr.c: Likewise.
32320 * termios/tcgetpgrp.c: Likewise.
32321 * termios/tcsendbrk.c: Likewise.
32322 * termios/tcsetattr.c: Likewise.
32323 * termios/tcsetpgrp.c: Likewise.
32324 * time/adjtime.c: Likewise.
32325 * time/clock.c: Likewise.
32326 * time/getitimer.c: Likewise.
32327 * time/gettimeofday.c: Likewise.
32328 * time/setitimer.c: Likewise.
32329 * time/settimeofday.c: Likewise.
32330 * time/stime.c: Likewise.
32331 * time/time.c: Likewise.
32332
32333 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
32334
32335 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
32336 /usr/old/bin.
32337
32338 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
32339 instead of spaces.
32340 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
32341
32342 2012-11-03 Joseph Myers <joseph@codesourcery.com>
32343
32344 [BZ #14796]
32345 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
32346 FE_TONEAREST before applying Dekker multiplication and Knuth
32347 addition. Clear inexact exceptions and check for exact zero
32348 results afterwards.
32349 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
32350 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
32351 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
32352 * math/libm-test.inc (fma_test): Add more tests.
32353 (fma_test_towardzero): Likewise.
32354 (fma_test_downward): Likewise.
32355 (fma_test_upward): Likewise.
32356 * sysdeps/generic/math_private.h (default_libc_fesetround): New
32357 function.
32358 (libc_fesetround): New macro.
32359 (libc_fesetroundf): Likewise.
32360 (libc_fesetroundl): Likewise.
32361 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
32362 function.
32363 (libc_fesetround_387): Likewise.
32364 (libc_fesetroundf): New macro.
32365 (libc_fesetround): Likewise.
32366 (libc_fesetroundl): Likewise.
32367 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
32368 function.
32369 (libc_fesetroundf): New macro.
32370 (libc_fesetround): Likewise.
32371 (libc_fesetroundl): Likewise.
32372 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
32373 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
32374 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
32375 libm_hidden_ver.
32376 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
32377 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
32378 libm_hidden_def.
32379 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
32380 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
32381 libm_hidden_ver.
32382 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
32383 libm_hidden_def.
32384
32385 [BZ #3439]
32386 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
32387 integer constant usable in #if and use that to give value to enum
32388 constant.
32389 (FE_DIVBYZERO): Likewise.
32390 (FE_UNDERFLOW): Likewise.
32391 (FE_OVERFLOW): Likewise.
32392 (FE_INVALID): Likewise.
32393 (FE_INVALID_SNAN): Likewise.
32394 (FE_INVALID_ISI): Likewise.
32395 (FE_INVALID_IDI): Likewise.
32396 (FE_INVALID_ZDZ): Likewise.
32397 (FE_INVALID_IMZ): Likewise.
32398 (FE_INVALID_COMPARE): Likewise.
32399 (FE_INVALID_SOFTWARE): Likewise.
32400 (FE_INVALID_SQRT): Likewise.
32401 (FE_INVALID_INTEGER_CONVERSION): Likewise.
32402 (FE_TONEAREST): Likewise.
32403 (FE_TOWARDZERO): Likewise.
32404 (FE_UPWARD): Likewise.
32405 (FE_DOWNWARD): Likewise.
32406 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
32407 (FE_DIVBYZERO): Likewise.
32408 (FE_OVERFLOW): Likewise.
32409 (FE_UNDERFLOW): Likewise.
32410 (FE_INEXACT): Likewise.
32411 (FE_TONEAREST): Likewise.
32412 (FE_DOWNWARD): Likewise.
32413 (FE_UPWARD): Likewise.
32414 (FE_TOWARDZERO): Likewise.
32415 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
32416 (FE_UNDERFLOW): Likewise.
32417 (FE_OVERFLOW): Likewise.
32418 (FE_DIVBYZERO): Likewise.
32419 (FE_INVALID): Likewise.
32420 (FE_TONEAREST): Likewise.
32421 (FE_TOWARDZERO): Likewise.
32422 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
32423 (FE_OVERFLOW): Likewise.
32424 (FE_UNDERFLOW): Likewise.
32425 (FE_DIVBYZERO): Likewise.
32426 (FE_INEXACT): Likewise.
32427 (FE_TONEAREST): Likewise.
32428 (FE_TOWARDZERO): Likewise.
32429 (FE_UPWARD): Likewise.
32430 (FE_DOWNWARD): Likewise.
32431 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
32432 (FE_DIVBYZERO): Likewise.
32433 (FE_OVERFLOW): Likewise.
32434 (FE_UNDERFLOW): Likewise.
32435 (FE_INEXACT): Likewise.
32436 (FE_TONEAREST): Likewise.
32437 (FE_DOWNWARD): Likewise.
32438 (FE_UPWARD): Likewise.
32439 (FE_TOWARDZERO): Likewise.
32440
32441 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
32442
32443 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
32444
32445 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
32446
32447 * scripts/cross-test-ssh.sh (command): Use newlines to separate
32448 commands. Quote $PWD.
32449 (blacklist_exports): Don't use remove_newlines. Replace "declare
32450 -x" by "export".
32451 (remove_newlines): Remove.
32452
32453 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
32454
32455 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
32456 * stdlib/stdlib.h (atof): Moved to ...
32457 * include/bits/stdlib-float.h: Here. New file.
32458 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
32459 * stdlib/bits/stdlib-float.h: New file.
32460 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
32461 -mno-sse -mno-mmx.
32462 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
32463 <xmmintrin.h>.
32464
32465 2012-11-02 Joseph Myers <joseph@codesourcery.com>
32466
32467 * conform/conformtest.pl (@headers): Add fenv.h.
32468 * conform/data/fenv.h-data: New file.
32469 * include/fenv.h [_ISOMAC]: Disable all contents of file except
32470 include of <math/fenv.h>.
32471
32472 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
32473 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
32474 && !UNIX98]. Enables tests for XOPEN2K8.
32475 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
32476 POSIX2008]: Likewise.
32477
32478 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
32479 (struct rusage): Do not expect type or its members.
32480
32481 [BZ #3439]
32482 * math/math.h (FP_NAN): Define macro to integer constant usable in
32483 #if and use that to give value to enum constant.
32484 (FP_INFINITE): Likewise.
32485 (FP_ZERO): Likewise.
32486 (FP_SUBNORMAL): Likewise.
32487 (FP_NORMAL): Likewise.
32488
32489 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
32490
32491 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
32492 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
32493 arguments.
32494
32495 2012-11-02 Roland McGrath <roland@hack.frob.com>
32496
32497 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
32498 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
32499 autoconf-time if not.
32500 * configure.in: Remove AC_PREREQ.
32501
32502 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
32503
32504 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
32505 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
32506 of the internal implementation.
32507
32508 2012-11-02 Joseph Myers <joseph@codesourcery.com>
32509
32510 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
32511 except include of <misc/sys/syslog.h>.
32512
32513 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
32514
32515 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
32516 function returns with a NULL context exit with zero.
32517
32518 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
32519
32520 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
32521
32522 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
32523
32524 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
32525 (run_program_cmd): This.
32526 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
32527 (tst_langinfo): New variable. Use it.
32528
32529 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
32530
32531 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
32532 floating point opcodes.
32533
32534 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
32535
32536 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
32537 variable.
32538
32539 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
32540
32541 * sysdeps/mach/hurd/powerpc: Remove directory.
32542 * sysdeps/mach/powerpc: Likewise.
32543
32544 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
32545
32546 * scripts/check-local-headers.sh: Ignore c++ headers.
32547
32548 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
32549
32550 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
32551 __libc_cleanup_region_start argument.
32552
32553 2012-11-01 Joseph Myers <joseph@codesourcery.com>
32554
32555 [BZ #14784]
32556 [BZ #14785]
32557 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
32558 x * y using scaling, not as x * y + z.
32559 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
32560 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
32561 * math/libm-test.inc (fma_test): Add more tests.
32562 (fma_test_towardzero): Likewise.
32563 (fma_test_downward): Likewise.
32564 (fma_test_upward): Likewise.
32565
32566 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
32567
32568 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
32569
32570 2012-10-31 Joseph Myers <joseph@codesourcery.com>
32571
32572 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
32573 New variable.
32574
32575 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
32576
32577 * rt/tst-shm.c (worker): Correct checking for mmap failure.
32578
32579 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
32580
32581 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
32582 Fix sort order.
32583 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
32584 Likewise.
32585
32586 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
32587
32588 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
32589 Fix the order of the list for glibc 2.17.
32590 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
32591 Likewise.
32592
32593 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
32594
32595 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32596
32597 2012-10-31 Joseph Myers <joseph@codesourcery.com>
32598
32599 [BZ #14610]
32600 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
32601 for low part of x being zero before using __atanl (y).
32602 * math/libm-test.inc (atan2_test): Add another test.
32603
32604 * manual/install.texi (Configuring and compiling): Document
32605 general use of test-wrapper and test-wrapper-env.
32606 * INSTALL: Regenerated.
32607
32608 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
32609 (__fma): Do not extract and scale down low bits on after-rounding
32610 systems when result rounded to normal precision would have normal
32611 exponent.
32612 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
32613 (__fmal): Do not extract and scale down low bits on after-rounding
32614 systems when result rounded to normal precision would have normal
32615 exponent.
32616 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
32617 (__fmal): Do not extract and scale down low bits on after-rounding
32618 systems when result rounded to normal precision would have normal
32619 exponent.
32620 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
32621 macro.
32622 (fma_test): Add more tests.
32623 (fma_test_towardzero): Likewise.
32624 (fma_test_downward): Likewise.
32625 (fma_test_upward): Likewise.
32626
32627 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
32628
32629 * sysdeps/i386/tininess.h: Renamed to ...
32630 * sysdeps/x86/tininess.h: This.
32631 * sysdeps/x86_64/tininess.h: Removed.
32632
32633 2012-10-30 Joseph Myers <joseph@codesourcery.com>
32634
32635 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
32636 input. Use $(build-program-cmd).
32637 ($(objpfx)tst-array1-static.out): Likewise.
32638 ($(objpfx)tst-array2.out): Likewise.
32639 ($(objpfx)tst-array3.out): Likewise.
32640 ($(objpfx)tst-array4.out): Likewise.
32641 ($(objpfx)tst-array5.out): Likewise.
32642 ($(objpfx)tst-array5-static.out): Likewise.
32643
32644 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
32645
32646 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
32647 if defined.
32648
32649 * nss/nsswitch.h (nss_interface_function): Provide new
32650 macro for use with NSS functions.
32651 * grp/initgroups.c: Use new macro.
32652 * nss/getXXbyYY.c: Likewise.
32653 * nss/getXXbyYY_r.c: Likewise.
32654 * nss/getXXent.c: Likewise.
32655 * nss/getXXent_r.c: Likewise.
32656 * sysdeps/posix/getaddrinfo.c: Likewise.
32657
32658 2012-10-30 Andreas Jaeger <aj@suse.de>
32659
32660 * po/ru.po: Update Russion translation from translation project.
32661
32662 2012-10-30 Joseph Myers <joseph@codesourcery.com>
32663
32664 [BZ #14152]
32665 [BZ #14783]
32666 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
32667 result and shift together with sticky bit instead of replicating
32668 round-to-nearest rounding.
32669 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
32670 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
32671 * math/libm-test.inc (fma_test): Add more tests. Do not permit
32672 missing underflow exceptions.
32673 (fma_test_towardzero): Add more tests.
32674 (fma_test_downward): Likewise.
32675 (fma_test_upward): Likewise.
32676
32677 [BZ #14047]
32678 * sysdeps/generic/tininess.h: New file.
32679 * sysdeps/i386/tininess.h: Likewise.
32680 * sysdeps/sh/tininess.h: Likewise.
32681 * sysdeps/x86_64/tininess.h: Likewise.
32682 * stdlib/tst-strtod-underflow.c: Likewise.
32683 * stdlib/tst-tininess.c: Likewise.
32684 * stdlib/strtod_l.c: Include <tininess.h>.
32685 (round_and_return): Do not set errno for exact underflow cases.
32686 Force an underflow exception when setting errno for underflow.
32687 Determine underflow based on rounding to normal precision if
32688 TININESS_AFTER_ROUNDING.
32689 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
32690 ERANGE for exact underflow cases.
32691 * stdlib/Makefile (tests): Add tst-tininess and
32692 tst-strtod-underflow.
32693 ($(objpfx)tst-tininess): Use $(link-libm).
32694 ($(objpfx)tst-strtod-underflow): Likewise.
32695
32696 2012-10-30 Andreas Jaeger <aj@suse.de>
32697
32698 [BZ#14767]
32699 * elf/Makefile (tests): Remove conditional for have-initfini-array
32700 since this is now always required and the variable does not exist
32701 anymore.
32702 (tests-static): Likewise.
32703 (modules-names): Likewise.
32704
32705 * po/eo.po: Add Esperanto translation from translation project.
32706
32707 * elf/tst-array1.c (fini_array): Make writeable so that it can be
32708 merged with constructor/destructor.
32709 (init_array): Likewise.
32710 * elf/tst-array2dep.c (fini_array): Likewise.
32711 (init_array): Likewise.
32712
32713 2012-10-29 Mike Frysinger <vapier@gentoo.org>
32714
32715 * manual/message.texi: Delete @cartouche tags.
32716
32717 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
32718
32719 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
32720 EOPNOTSUPP.
32721 * sysdeps/mach/hurd/fsync.c: Likewise.
32722
32723 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
32724 [_POSIX_REALTIME_SIGNALS]: Change condition to
32725 [_POSIX_REALTIME_SIGNALS > 0].
32726
32727 2012-10-27 Andreas Jaeger <aj@suse.de>
32728
32729 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
32730 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
32731 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
32732 [__WORDSIZE != 64]: Likewise.
32733
32734 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
32735
32736 * iconvdata/tst-table.sh: Remove ${SHELL}.
32737 * iconvdata/tst-tables.sh: Likewise.
32738
32739 2012-10-25 David S. Miller <davem@davemloft.net>
32740
32741 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
32742 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
32743 of strtoull.
32744
32745 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
32746 ifunc-impl-list.c
32747 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
32748 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
32749 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
32750 file.
32751
32752 2012-10-25 Roland McGrath <roland@hack.frob.com>
32753
32754 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
32755 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
32756 __getdirentries.
32757
32758 2012-10-25 Joseph Myers <joseph@codesourcery.com>
32759 Jim Blandy <jimb@codesourcery.com>
32760
32761 * scripts/cross-test-ssh.sh: New file.
32762 * manual/install.texi (Configuring and compiling): Document use of
32763 cross-test-ssh.sh.
32764 * INSTALL: Regenerated.
32765
32766 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
32767
32768 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
32769 EOPNOTSUPP.
32770
32771 2012-10-25 Joseph Myers <joseph@codesourcery.com>
32772
32773 * Makeconfig (run-program-prefix): Fix comment.
32774
32775 2012-10-24 Joseph Myers <joseph@codesourcery.com>
32776 Jim Blandy <jimb@codesourcery.com>
32777
32778 * Makeconfig (test-wrapper): New variable,
32779 (test-wrapper-env): Likewise.
32780 [$(cross-compiling) = yes && $(test-wrapper) != ""]
32781 (run-built-tests): Define to yes.
32782 (run-program-prefix): Use $(test-wrapper).
32783 (built-program-cmd): Likewise.
32784 * Rules (make-test-out): Use $(test-wrapper-env) and
32785 $(host-built-program-cmd).
32786 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
32787 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
32788 tst-pathopt.sh.
32789 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
32790 $(test-wrapper-env) to tst-rtld-load-self.sh.
32791 ($(objpfx)order2.out): Use $(test-wrapper).
32792 ($(objpfx)tst-initorder.out): Likewise.
32793 ($(objpfx)tst-initorder2.out): Likewise.
32794 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
32795 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
32796 (test_wrapper_env): New variable. Use it to run ld.so.
32797 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
32798 Use it to run ld.so.
32799 (test_wrapper_env): Likewise.
32800 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
32801 $(test-wrapper) to run-iconv-test.sh.
32802 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
32803 (ICONV): Use $test_wrapper.
32804 * posix/Makefile ($(objpfx)globtest.out): Pass
32805 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
32806 globtest.sh, not $(run-program-prefix).
32807 * posix/globtest.sh (run_via_rtld_prefix): New variable.
32808 (test_wrapper): Likewise.
32809 (test_wrapper_env): Likewise. Use it to run globtest with HOME
32810 set together with run_via_rtld_prefix.
32811 (run_program_prefix): Define in terms of test_wrapper and
32812 run_via_rtld_prefix.
32813
32814 2012-10-24 Roland McGrath <roland@hack.frob.com>
32815
32816 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
32817 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
32818 Targets removed.
32819
32820 [BZ #14743]
32821 * include/time.h: Remove librt_hidden_proto (clock_gettime).
32822 Declare __clock_getres, __clock_gettime, __clock_settime,
32823 __clock_nanosleep, and __clock_getcpuclockid.
32824 * rt/clock_gettime.c: Define __clock_gettime as an alias.
32825 Remove librt_hidden_def (clock_gettime).
32826 * sysdeps/unix/clock_gettime.c: Likewise.
32827 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
32828 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
32829 * rt/clock_getres.c: Define __clock_getres as an alias.
32830 * sysdeps/posix/clock_getres.c: Likewise.
32831 * rt/clock_settime.c: Define __clock_settime as an alias.
32832 * sysdeps/unix/clock_settime.c: Likewise.
32833 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
32834 * sysdeps/unix/clock_nanosleep.c: Likewise.
32835 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
32836 * rt/clock-compat.c: New file.
32837 * rt/Makefile (librt-routines): Add clock-compat and move
32838 $(clock-routines) to ...
32839 (routines): ... here, new variable.
32840 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
32841 Don't add get_clockfreq here.
32842 * rt/Versions (libc: GLIBC_2.17): New version set.
32843 Add clock_* symbols here.
32844 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
32845 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
32846 (GLIBC_2.17): Add clock_* symbols.
32847 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
32848 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
32849 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
32850 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
32851 Likewise.
32852 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
32853 Likewise.
32854 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
32855 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
32856 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
32857 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
32858 * NEWS: Mention the move.
32859
32860 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
32861 Use __open, __read, __close rather than their public counterparts.
32862 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
32863 (__get_clockfreq_via_cpuinfo): Likewise.
32864 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
32865 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
32866
32867 * config.h.in (HAVE_IFUNC): New #undef.
32868 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
32869 was successful.
32870 * configure: Regenerated.
32871
32872 2012-10-24 Mike Frysinger <vapier@gentoo.org>
32873
32874 * configure.in: Move READELF check to start of file.
32875 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
32876 libc_cv_asm_gnu_indirect_function in the process.
32877 * configure: Regenerated.
32878
32879 2012-10-24 Mike Frysinger <vapier@gentoo.org>
32880
32881 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
32882 send the output to /dev/null.
32883 (libc_cv_cc_with_libunwind): Likewise.
32884 (libc_cv_as_noexecstack): Likewise.
32885 * configure: Regenerate.
32886
32887 2012-10-24 Joseph Myers <joseph@codesourcery.com>
32888
32889 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
32890
32891 * posix/globtest.sh (TMPDIR): Do not set.
32892 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
32893 (testout): Likewise.
32894
32895 2012-10-24 Andreas Jaeger <aj@suse.de>
32896
32897 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
32898 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
32899 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
32900 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
32901 posix_fadvise64, posix_fallocate64.
32902
32903 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
32904 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
32905 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
32906 Likewise.
32907 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
32908 Likewise.
32909 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
32910
32911 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
32912 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
32913 <bits/fcntl-linux.h>.
32914 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
32915
32916 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
32917 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
32918 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
32919 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
32920 [__WORDSIZE != 64]: Likewise.
32921
32922 2012-10-23 Joseph Myers <joseph@codesourcery.com>
32923
32924 * Makeconfig (run-built-tests): New variable.
32925 * Rules [$(cross-compiling) = yes]: Change condition to
32926 [$(run-built-tests) = no].
32927 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
32928 to [$(run-built-tests) = yes].
32929 * elf/Makefile [$(cross-compiling) = no]: Likewise
32930 * grp/Makefile [$(cross-compiling) = no]: Likewise.
32931 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
32932 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
32933 * intl/Makefile [$(cross-compiling) = no]: Likewise.
32934 * io/Makefile [$(cross-compiling) = no]: Likewise.
32935 * libio/Makefile [$(cross-compiling) = no]: Likewise.
32936 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
32937 * misc/Makefile [$(cross-compiling) = no]: Likewise.
32938 * posix/Makefile [$(cross-compiling) = no]: Likewise.
32939 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
32940 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
32941 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
32942 * string/Makefile [$(cross-compiling) = no]: Likewise.
32943
32944 * posix/Makefile ($(objpfx)globtest.out): Pass
32945 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
32946 $(rtld-installed-name).
32947 * posix/globtest.sh (elf_objpfx): Remove variable.
32948 (rtld_installed_name): Likewise.
32949 (library_path): Likewise.
32950 (run_program_prefix): New variable. Use for running globtest
32951 binary.
32952
32953 2012-10-23 Jim Blandy <jimb@codesourcery.com>
32954 Joseph Myers <joseph@codesourcery.com>
32955
32956 * Makeconfig (host-built-program-cmd): New variable.
32957 * elf/Makefile (tst-stackguard1-ARGS): Use
32958 $(host-built-program-cmd).
32959 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
32960 (tst-spawn-ARGS): Likewise.
32961 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
32962
32963 2012-10-23 Joseph Myers <joseph@codesourcery.com>
32964 Jim Blandy <jimb@codesourcery.com>
32965
32966 * Makeconfig (run-via-rtld-prefix): New variable.
32967 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
32968 (built-program-cmd): Likewise.
32969
32970 2012-10-22 Andreas Jaeger <aj@suse.de>
32971
32972 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
32973 __O_RSYNC if it exists, otherwise to O_SYNC.
32974
32975 2012-10-22 Jim Blandy <jimb@codesourcery.com>
32976 Joseph Myers <joseph@codesourcery.com>
32977
32978 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
32979 /dev/null.
32980 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
32981 from /dev/null
32982 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
32983 /dev/null.
32984
32985 2012-10-22 Andreas Jaeger <aj@suse.de>
32986
32987 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
32988 Define always.
32989 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
32990
32991 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
32992 bits/fcntl-linux.h.
32993
32994 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
32995 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
32996
32997 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
32998 to __O_LARGEFILE.
32999 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
33000 to __O_LARGEFILE.
33001
33002 2012-10-21 Jim Blandy <jimb@codesourcery.com>
33003 Joseph Myers <joseph@codesourcery.com>
33004
33005 * config.make.in (NM): New variable.
33006
33007 2012-10-21 Andreas Jaeger <aj@suse.de>
33008
33009 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
33010 definitions and declarations that are provided by
33011 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
33012
33013 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
33014
33015 [BZ #14683]
33016 * elf/Makefile (tests-static): Add tst-leaks1-static.
33017 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
33018 ($(objpfx)tst-leaks1-static): New rule.
33019 ($(objpfx)tst-leaks1-static-mem): Likewise.
33020 (tst-leaks1-static-ENV): New macro.
33021 * elf/dl-open.c (dl_open_worker): Check the main application
33022 only if SHARED is defined.
33023 * elf/tst-leaks1-static.c: New file.
33024
33025 2012-10-20 Andreas Jaeger <aj@suse.de>
33026
33027 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
33028 generic values for Linux.
33029 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
33030 and declarations that are provided by <bits/fcntl-linux.h> and
33031 include <bits/fcntl-linux.h>.
33032 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
33033 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
33034
33035 2012-10-20 Roland McGrath <roland@hack.frob.com>
33036
33037 * io/fcntl.h: Move include of <bits/types.h> to the top and
33038 include it unconditionally.
33039
33040 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
33041
33042 * wcsmbs/Makefile (tests-ifunc): New variable.
33043 (tests): Add $(tests-ifunc).
33044 * wcsmbs/test-wcschr-ifunc.c: New file.
33045 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
33046 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
33047 * wcsmbs/test-wcslen-ifunc.c: Likewise.
33048 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
33049 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
33050
33051 * string/Makefile (tests-ifunc): New variable.
33052 (tests): Add $(tests-ifunc).
33053 * string/test-memccpy.c (TEST_NAME): New macro.
33054 * string/test-memchr.c (TEST_NAME): Likewise.
33055 * string/test-memcmp.c (TEST_NAME): Likewise.
33056 * string/test-memcpy.c (TEST_NAME): Likewise.
33057 * string/test-memmem.c (TEST_NAME): Likewise.
33058 * string/test-memmove.c (TEST_NAME): Likewise.
33059 * string/test-memset.c (TEST_NAME): Likewise.
33060 * string/test-rawmemchr.c (TEST_NAME): Likewise.
33061 * string/test-stpcpy.c (TEST_NAME): Likewise.
33062 * string/test-stpncpy.c (TEST_NAME): Likewise.
33063 * string/test-strcasecmp.c (TEST_NAME): Likewise.
33064 * string/test-strcasestr.c (TEST_NAME): Likewise.
33065 * string/test-strcat.c (TEST_NAME): Likewise.
33066 * string/test-strchr.c (TEST_NAME): Likewise.
33067 * string/test-strcmp.c(TEST_NAME): Likewise.
33068 * string/test-strcpy.c (TEST_NAME): Likewise.
33069 * string/test-strcspn.c (TEST_NAME): Likewise.
33070 * string/test-strlen.c (TEST_NAME): Likewise.
33071 * string/test-strncasecmp.c (TEST_NAME): Likewise.
33072 * string/test-strncmp.c (TEST_NAME): Likewise.
33073 * string/test-strncpy.c (TEST_NAME): Likewise.
33074 * string/test-strnlen.c (TEST_NAME): Likewise.
33075 * string/test-strpbrk.c (TEST_NAME): Likewise.
33076 * string/test-strrchr.c (TEST_NAME): Likewise.
33077 * string/test-strspn.c (TEST_NAME): Likewise.
33078 * string/test-strstr.c (TEST_NAME): Likewise.
33079 * string/test-bcopy-ifunc.c: New file.
33080 * string/test-bzero-ifunc.c: Likewise.
33081 * string/test-memccpy-ifunc.c: Likewise.
33082 * string/test-memchr-ifunc.c: Likewise.
33083 * string/test-memcmp-ifunc.c: Likewise.
33084 * string/test-memcpy-ifunc.c: Likewise.
33085 * string/test-memmem-ifunc.c: Likewise.
33086 * string/test-memmove-ifunc.c: Likewise.
33087 * string/test-mempcpy-ifunc.c: Likewise.
33088 * string/test-memset-ifunc.c: Likewise.
33089 * string/test-rawmemchr-ifunc.c: Likewise.
33090 * string/test-stpcpy-ifunc.c: Likewise.
33091 * string/test-stpncpy-ifunc.c: Likewise.
33092 * string/test-strcasecmp-ifunc.c: Likewise.
33093 * string/test-strcasestr-ifunc.c: Likewise.
33094 * string/test-strcat-ifunc.c: Likewise.
33095 * string/test-strchr-ifunc.c: Likewise.
33096 * string/test-strchrnul-ifunc.c: Likewise.
33097 * string/test-strcmp-ifunc.c: Likewise.
33098 * string/test-strcpy-ifunc.c: Likewise.
33099 * string/test-strcspn-ifunc.c: Likewise.
33100 * string/test-strlen-ifunc.c: Likewise.
33101 * string/test-strncasecmp-ifunc.c: Likewise.
33102 * string/test-strncat-ifunc.c: Likewise.
33103 * string/test-strncmp-ifunc.c: Likewise.
33104 * string/test-strncpy-ifunc.c: Likewise.
33105 * string/test-strnlen-ifunc.c: Likewise.
33106 * string/test-strpbrk-ifunc.c: Likewise.
33107 * string/test-strrchr-ifunc.c: Likewise.
33108 * string/test-strspn-ifunc.c: Likewise.
33109 * string/test-strstr-ifunc.c: Likewise.
33110
33111 * debug/Makefile (tests-ifunc): New variable.
33112 (tests): Add $(tests-ifunc).
33113 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
33114 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
33115 * debug/test-stpcpy_chk-ifunc.c: New file.
33116 * debug/test-strcpy_chk-ifunc.c: Likewise.
33117
33118 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
33119
33120 [BZ #13601]
33121 * elf/dl-load.c (open_verify): Retry read if the entire ELF
33122 header is not read in.
33123
33124 2012-10-19 Joseph Myers <joseph@codesourcery.com>
33125
33126 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
33127 script to $(SHELL) as $<. Pass $(common-objpfx) to script
33128 directly. Pass built executable to script as
33129 $(built-program-cmd).
33130 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
33131 $testprogram without using LD_LIBRARY_PATH and $ldso.
33132
33133 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
33134 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
33135 $(rtld-installed-name).
33136 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
33137 (rtld_installed_name): Likewise.
33138 (library_path): Likewise.
33139 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
33140 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
33141 $(run-program-prefix) to tst-tables.sh.
33142 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
33143 it to run tst-table-from and tst-table-to.
33144 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
33145 Pass it to tst-table.sh.
33146 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
33147 $(run-program-prefix) to tst-gettext.sh.
33148 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
33149 tst-translit.sh.
33150 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
33151 tst-gettext2.sh.
33152 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
33153 to run tst-gettext.
33154 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
33155 to run tst-gettext2.
33156 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
33157 to run tst-translit.
33158 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
33159 $(run-program-prefix) to tst-mtrace.sh.
33160 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
33161 to run tst-mtrace.
33162 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
33163 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
33164 $(rtld-installed-name).
33165 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
33166 (rtld_installed_name): Likewise.
33167 (run_program_prefix): New variable. Use it to run wordexp-test.
33168
33169 * Makeconfig (ARCH): Remove all definitions.
33170 (machine): Likewise.
33171 [ARCH]: Remove conditional code.
33172 [!objdir]: Give error.
33173 [!objdir] (objpfx): Remove.
33174 [!objdir] (common-objpfx): Likewise.
33175 [!objdir] (common-objdir): Likewise.
33176 * configure.in (config_makefile): Remove. Hardcode Makefile in
33177 AC_CONFIG_FILES call.
33178 * configure: Regenerated.
33179
33180 [BZ #13888]
33181 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
33182 or TMPDIR.
33183 (testout): Likewise.
33184
33185 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
33186 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
33187 $(rtld-installed-name).
33188 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
33189 (rtld_installed_name): Likwise.
33190 (runit): Remove function.
33191 (run_getconf): New variable, Use it for running getconf binary.
33192
33193 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
33194
33195 [BZ #14716]
33196 * string/test-memmem.c (check_result): New function.
33197 (do_one_test): Use it.
33198 (check1): New function.
33199 (test_main): Use it.
33200
33201 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
33202
33203 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
33204
33205 2012-10-18 Joseph Myers <joseph@codesourcery.com>
33206
33207 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
33208 (_G_LSEEK64): Likewise.
33209 (_G_MMAP64): Likewise.
33210 (_G_FSTAT64): Likewise.
33211 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
33212 (_G_LSEEK64): Likewise.
33213 (_G_MMAP64): Likewise.
33214 (_G_FSTAT64): Likewise.
33215 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
33216 unconditional. Call __mmap64 directly.
33217 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
33218 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
33219 __lseek64 directly.
33220 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
33221 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
33222 __mmap64 directly.
33223 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
33224 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
33225 __lseek64 directly.
33226 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
33227 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
33228 __lseek64 directly.
33229 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
33230 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
33231 __lseek64 directly.
33232 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
33233 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
33234 __fxstat64 directly.
33235 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
33236 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
33237 unconditional.
33238 (freopen64) [!_G_OPEN64]: Remove conditional code.
33239 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
33240 unconditional.
33241 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
33242 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
33243 unconditional.
33244 (ftello64) [!_G_LSEEK64]: Remove conditional code.
33245 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
33246 unconditional.
33247 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
33248 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
33249 unconditional.
33250 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
33251 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
33252 unconditional.
33253 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
33254 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
33255 unconditional.
33256 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
33257 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
33258 unconditional.
33259 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
33260
33261 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
33262
33263 [BZ #12140]
33264 * manual/memory.texi (Malloc Tunable Parameters): Add note
33265 about free list pointers overwriting some perturb bytes.
33266 Wording suggested by Roland McGrath.
33267
33268 2012-10-17 Joseph Myers <joseph@codesourcery.com>
33269
33270 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
33271 (lgamma_test): Likewise.
33272 (tgamma_test): Likewise.
33273
33274 2012-10-16 Florian Weimer <fweimer@redhat.com>
33275
33276 [BZ #14700]
33277 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
33278 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
33279
33280 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
33281
33282 * NEWS: Mention BZ #14716.
33283 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
33284 when removing AVAILABLE1_USES_J macro.
33285
33286 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
33287
33288 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
33289 (__bswap_64): __uint64_t for unsigned 64-bit int.
33290
33291 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
33292
33293 * include/string.h (memmem): Declare libc hidden alias.
33294 * string/memmem.c (memmem): Define libc hidden alias.
33295 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
33296 __read, __close instead of open, read, close.
33297
33298 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
33299
33300 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
33301 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
33302 global and hidden.
33303 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
33304 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
33305 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
33306 Likewise.
33307 (__rawmemchr_sse2): Likewise.
33308 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
33309 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
33310 (__strchr_sse2): Likewise.
33311 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
33312 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
33313 (__strcasecmp_sse2): Likewise.
33314 (__strncasecmp_sse2): Likewise.
33315 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
33316 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
33317 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
33318 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
33319 (__strrchr_sse2): Likewise.
33320 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
33321 ifunc-impl-list.c.
33322 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
33323 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
33324 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
33325 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
33326 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
33327 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
33328 * sysdeps/x86_64/multiarch/memset.S: Likewise.
33329 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
33330 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
33331 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
33332 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
33333 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
33334 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
33335 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
33336 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
33337 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
33338 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
33339 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
33340 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
33341 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
33342 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
33343 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
33344 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
33345 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
33346 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
33347 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
33348 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
33349 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
33350 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
33351 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
33352
33353 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
33354 global and hidden.
33355 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
33356 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
33357 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
33358 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
33359 Likewise.
33360 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
33361 Likewise.
33362 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
33363 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
33364 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
33365 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
33366 ifunc-impl-list.c.
33367 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
33368 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
33369 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
33370 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
33371 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
33372 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
33373 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
33374 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
33375 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
33376 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
33377 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
33378 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
33379 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
33380 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
33381 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
33382 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
33383 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
33384 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
33385 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
33386 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
33387 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
33388 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
33389 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
33390 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
33391 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
33392 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
33393 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
33394 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
33395 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
33396 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
33397 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
33398 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
33399 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
33400 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
33401 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
33402 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
33403 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
33404 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
33405 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
33406 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
33407 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
33408
33409 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
33410 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
33411 * include/ifunc-impl-list.h: New file.
33412 * misc/ifunc-impl-list.c: Likewise.
33413 * misc/Makefile (routines): Add ifunc-impl-list.
33414 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
33415 * string/test-string.h: Include <ifunc-impl-list.h>.
33416 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
33417 TEST_NAME]: New variables.
33418 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
33419 are defined.
33420 (test_init): Call __libc_ifunc_impl_list to initialize
33421 func_list if TEST_IFUNC and TEST_NAME are defined.
33422
33423 * string/Makefile (strop-tests): Add bcopy and bzero.
33424 * string/test-bcopy.c: New file.
33425 * string/test-bzero.c: Likewise.
33426 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
33427 defined.
33428 * string/test-memset.c: Support bzero test if TEST_BZERO is
33429 defined.
33430 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
33431 __libc_memmove.
33432 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
33433 __libc_memset.
33434 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
33435 of memset.
33436
33437 2012-10-10 Joseph Myers <joseph@codesourcery.com>
33438
33439 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
33440 * configure: Regenerated.
33441
33442 * Makeconfig (+link-static-before-libc): Don't include
33443 $(link-static-libc).
33444
33445 * libio/libio.h (_IO_pos_t): Remove.
33446
33447 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
33448
33449 * NEWS: Add note about FIPS mode. Wording suggested by Roland
33450 McGrath.
33451
33452 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
33453
33454 * crypt/crypt-entry.c: Include fips-private.h.
33455 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
33456 * crypt/md5c-test.c (main): Tolerate disabled MD5.
33457 * sysdeps/unix/sysv/linux/fips-private.h: New file.
33458 * sysdeps/generic/fips-private.h: New file, dummy fallback.
33459
33460 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
33461
33462 * crypt/crypt-private.h: Include stdbool.h.
33463 (_ufc_setup_salt_r): Return bool.
33464 * crypt/crypt-entry.c: Include errno.h.
33465 (__crypt_r): Return NULL with EINVAL for bad salt.
33466 * crypt/crypt_util.c (bad_for_salt): New.
33467 (_ufc_setup_salt_r): Check that salt is long enough and within
33468 the specified alphabet.
33469 * crypt/badsalttest.c: New file.
33470 * crypt/Makefile (tests): Add it.
33471 ($(objpfx)badsalttest): New.
33472
33473 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
33474
33475 * NEWS: Add entry for BZ #14602.
33476
33477 2012-10-09 Joseph Myers <joseph@codesourcery.com>
33478
33479 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
33480 type-generic.
33481 * math/libm-test.inc: Update comment listing what functions and
33482 macros are tested.
33483 (isgreater_test): New function.
33484 (isgreaterequal_test): Likewise.
33485 (isless_test): Likewise.
33486 (islessequal_test): Likewise.
33487 (islessgreater_test): Likewise.
33488 (isunordered_test): Likewise.
33489 (main): Call the new functions.
33490
33491 2012-10-09 Roland McGrath <roland@hack.frob.com>
33492
33493 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
33494 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
33495 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
33496 * sysdeps/i386/configure: Regenerated.
33497 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
33498 * sysdeps/mach/configure: Regenerated.
33499 * sysdeps/mach/hurd/configure: Regenerated.
33500 * sysdeps/powerpc/configure: Regenerated.
33501 * sysdeps/powerpc/powerpc32/configure: Regenerated.
33502 * sysdeps/powerpc/powerpc64/configure: Regenerated.
33503 * sysdeps/s390/s390-32/configure: Regenerated.
33504 * sysdeps/s390/s390-64/configure: Regenerated.
33505 * sysdeps/sh/configure: Regenerated.
33506 * sysdeps/sparc/configure: Regenerated.
33507 * sysdeps/unix/sysv/linux/configure: Regenerated.
33508 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
33509 * sysdeps/x86_64/configure: Regenerated.
33510
33511 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
33512 defined. Don't check if MAP is NULL.
33513
33514 2012-10-09 Joseph Myers <joseph@codesourcery.com>
33515
33516 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
33517 (_G_stat64): Likewise.
33518 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
33519 (_G_stat64): Likewise.
33520 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
33521 instead of struct _G_stat64.
33522 * libio/fileops.c (mmap_remap_check): Likewise.
33523 (decide_maybe_mmap): Likewise.
33524 (_IO_new_file_seekoff): Likewise.
33525 (_IO_file_stat): Likewise.
33526 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
33527 _G_off64_t.
33528 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
33529 instead of struct _G_stat64.
33530 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
33531
33532 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
33533
33534 [BZ #14602]
33535 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
33536 Replace with ...
33537 (CHECK_EOL): New macro.
33538 (two_way_short_needle): Check beginning of haystack for EOL. Use
33539 CHECK_EOL.
33540 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
33541 Replace with CHECK_EOL.
33542 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
33543 Replace with CHECK_EOL.
33544
33545 2012-10-08 Joseph Myers <joseph@codesourcery.com>
33546
33547 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
33548 type-generic.
33549 * math/libm-test.inc: Update comment listing what functions and
33550 macros are tested.
33551 (finite_test): New function.
33552 (isinf_test): Likewise.
33553 (isnan_test): Likewise.
33554 (fpclassify_test): Test subnormal input.
33555 (isfinite_test): Likewise.
33556 (isnormal_test): Likewise.
33557 (main): Call the new functions.
33558
33559 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
33560
33561 [BZ #14660]
33562 * Makerules (%.dynsym): Force C locale when running
33563 $(OBJDUMP) --dynamic-syms.
33564
33565 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
33566
33567 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
33568 <stdint.h>.
33569
33570 2012-10-06 David S. Miller <davem@davemloft.net>
33571
33572 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
33573 upper 32-bits of the length value in %o2 since we use branch-on-register
33574 tests which consider the entire 64-bit register.
33575
33576 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
33577
33578 * string/test-strstr.c (check2): Add a test for page boundary.
33579
33580 2012-10-05 David S. Miller <davem@davemloft.net>
33581
33582 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
33583 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
33584 file.
33585 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
33586 sysdep_routines.
33587 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
33588 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
33589 and bzero when HWCAP_SPARC_CRYPTO is present.
33590
33591 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
33592
33593 [BZ #14602]
33594 * string/test-strstr.c (check2): New function.
33595 (test_main): Call check2.
33596
33597 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
33598 and bug-strchr1.
33599 * string/bug-strcasestr1.c (do_test): Moved to ...
33600 * string/test-strcasestr.c (check1): Here. New function.
33601 (do_one_test): Break out result checking code into ...
33602 (check_result): This. New function.
33603 (do_one_test): Call check_result.
33604 (test_main): Call check1.
33605 * string/bug-strchr1.c (do_test): Moved to ...
33606 * string/test-strchr.c (check1): Here. New function.
33607 (do_one_test): Break out result checking code into ...
33608 (check_result): This. New function.
33609 (do_one_test): Call check_result.
33610 (test_main): Call check1.
33611 * string/bug-strstr1.c (main): Moved to ...
33612 * string/test-strstr.c (check1): Here. New function.
33613 (do_one_test): Break out result checking code into ...
33614 (check_result): This. New function.
33615 (do_one_test): Call check_result.
33616 (test_main): Call check1.
33617 * string/bug-strcasestr1.c: Removed.
33618 * string/bug-strchr1.c: Likewise.
33619 * string/bug-strstr1.c: Likewise.
33620
33621 * elf/Makefile (dl-routines): Add hwcaps.
33622 * elf/dl-support.c (_dl_important_hwcaps): Removed.
33623 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
33624 (_dl_important_hwcaps): Moved to ...
33625 * elf/dl-hwcaps.c: Here. New file.
33626 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
33627
33628 [BZ #14557]
33629 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
33630 if IS_IN_rtld isn't defined.
33631
33632 * elf/dl-support.c (_dl_sysinfo_map): New.
33633 Include "get-dynamic-info.h" and "setup-vdso.h".
33634 (_dl_non_dynamic_init): Call setup_vdso.
33635 * elf/dynamic-link.h: Don't include <assert.h>.
33636 (elf_get_dynamic_info): Moved to ...
33637 * elf/get-dynamic-info.h: Here. New file.
33638 * elf/dynamic-link.h: Include "get-dynamic-info.h".
33639 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
33640 * elf/setup-vdso.h: Here. New file.
33641 * elf/rtld.c: Include "setup-vdso.h".
33642 (dl_main): Call setup_vdso.
33643
33644 2012-10-05 Joseph Myers <joseph@codesourcery.com>
33645
33646 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
33647 creal in comment listing functions tested. List finite, isinf,
33648 isnan, isless, islessequal, isgreater, isgreaterequal,
33649 islessgreater, isunordered, lgamma_r and pow10 as functions and
33650 macros not tested. Mention which functions not tested are aliases
33651 for other functions. Fix typo. Note that signs of NaNs are not
33652 tested.
33653
33654 * scripts/config.guess: Update from config.git.
33655 * scripts/config.sub: Likewise.
33656
33657 2012-10-04 Roland McGrath <roland@hack.frob.com>
33658
33659 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
33660 * misc/madvise.c (madvise): Renamed to __madvise.
33661 Make madvise a weak alias.
33662 * include/sys/mman.h: Declare __madvise.
33663 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
33664 * sysdeps/unix/syscalls.list
33665 (madvise): Make __madvise the strong name, and madvise a weak alias.
33666 * sysdeps/unix/sysv/linux/syscalls.list
33667 (madvise, mmap): Remove redundant entries.
33668 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
33669 * malloc/malloc.c (mtrim): Likewise.
33670 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
33671
33672 2012-10-03 Roland McGrath <roland@hack.frob.com>
33673
33674 * sysdeps/mach/hurd/dl-cache.c: File removed.
33675 * config.h.in (USE_LDCONFIG): New #undef.
33676 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
33677 * configure: Regenerated.
33678 * elf/Makefile (dl-routines): Add dl-cache only under
33679 [$(use-ldconfig) = yes].
33680 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
33681 cache on [USE_LDCONFIG].
33682 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
33683 [USE_LDCONFIG].
33684 * elf/rtld.c (dl_main): Likewise.
33685
33686 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
33687
33688 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
33689 _SC_LEVEL4_CACHE_LINESIZE.
33690
33691 2012-10-03 Roland McGrath <roland@hack.frob.com>
33692
33693 * sysdeps/unix/bsd/confstr.h: File removed.
33694
33695 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
33696
33697 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
33698 sys/sdt-config.h.
33699
33700 2012-10-02 Roland McGrath <roland@hack.frob.com>
33701
33702 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
33703 Make 'mapoff' field ElfW(Off) rather than off_t.
33704
33705 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
33706
33707 * nscd/Makefile: Remove nscd-cflags and all its users.
33708 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
33709 (CFLAGS-nonlib): Add compiler flags for nscd modules.
33710
33711 [BZ #10631]
33712 * malloc.c (malloc_printerr): Clarify error message.
33713
33714 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
33715
33716 [BZ #14648]
33717 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33718 Set bit_FMA_Usable if FMA is supported.
33719 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
33720 macro.
33721 (bit_FMA4_Usable): Updated.
33722 (index_FMA_Usable): New macro.
33723 (CPUID_FMA): Likewise
33724 (HAS_FMA): Defined with bit_FMA_Usable.
33725
33726 2012-10-01 Roland McGrath <roland@hack.frob.com>
33727
33728 * bits/types.h (__swblk_t): Type removed.
33729 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
33730 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
33731 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
33732 (__SWBLK_T_TYPE): Likewise.
33733 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
33734 (__SWBLK_T_TYPE): Likewise.
33735 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
33736 (__SWBLK_T_TYPE): Likewise.
33737 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
33738 (__SWBLK_T_TYPE): Likewise.
33739
33740 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
33741 Honza Horak <hhorak@redhat.com>
33742
33743 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
33744 (xdr_mapname): Use YPMAXMAP as maxsize.
33745 (xdr_peername): Use YPMAXPEER as maxsize.
33746 (xdr_keydat): Use YPAXRECORD as maxsize.
33747 (xdr_valdat): Use YPMAXRECORD as maxsize.
33748
33749 2012-10-01 Roland McGrath <roland@hack.frob.com>
33750
33751 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
33752
33753 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
33754 * csu/init-first.c: ... here.
33755 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
33756 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
33757 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
33758 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
33759 * sysdeps/i386/init-first.c: File removed.
33760 * sysdeps/sh/init-first.c: File removed.
33761
33762 2012-10-01 Joseph Myers <joseph@codesourcery.com>
33763
33764 [BZ #14645]
33765 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
33766 if x * y might underflow to zero and z is zero.
33767 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
33768 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
33769 * math/libm-test.inc (min_subnorm_value): New variable.
33770 (fma_test): Add more tests.
33771 (fma_test_towardzero): Likewise.
33772 (fma_test_downward): Likewise
33773 (fma_test_upward): Likewise.
33774 (initialize): Set min_subnorm_value.
33775
33776 2012-09-29 Joseph Myers <joseph@codesourcery.com>
33777
33778 [BZ #14638]
33779 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
33780 0 + 0.
33781 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
33782 mode for addition resulting in exact zero.
33783 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
33784 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
33785 exact 0 + 0.
33786 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
33787 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
33788 * math/libm-test.inc (fma_test): Add more tests.
33789 (fma_test_towardzero): New function.
33790 (fma_test_downward): Likewise.
33791 (fma_test_upward): Likewise.
33792 (main): Call the new functions.
33793
33794 2012-09-28 David S. Miller <davem@davemloft.net>
33795
33796 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
33797
33798 2012-09-28 Roland McGrath <roland@hack.frob.com>
33799
33800 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
33801 instead of SIGALRM.
33802
33803 * sysdeps/gnu/_G_config.h: Moved to ...
33804 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
33805 * sysdeps/mach/hurd/_G_config.h: Moved to ...
33806 * sysdeps/generic/_G_config.h: ... here.
33807
33808 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
33809
33810 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
33811
33812 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
33813 Conditionalize target on [libnss_test1.so-version].
33814
33815 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
33816
33817 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
33818 (elfobjdir): Move out of conditionals.
33819
33820 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
33821 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
33822 (__nss_lookup_function): Conditionalize label remove_from_tree on
33823 [!DO_STATIC_NSS || SHARED], matching its only use.
33824
33825 2012-09-28 David S. Miller <davem@davemloft.net>
33826
33827 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
33828 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
33829 file.
33830 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
33831 sysdep_routines.
33832 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
33833 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
33834 when HWCAP_SPARC_CRYPTO is present.
33835
33836 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
33837
33838 * io/tst-mknodat.c: Create a FIFO instead of a socket.
33839
33840 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
33841
33842 [BZ #6530]
33843 * stdio-common/vfprintf.c (process_string_arg): Revert
33844 2000-07-22 change.
33845
33846 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
33847
33848 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
33849 for testcase.
33850 * stdio-common/tst-sprintf.c: Include <locale.h>
33851 (main): Test sprintf's handling of incomplete multibyte
33852 characters.
33853
33854 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
33855
33856 * elf/dl-runtime.c (VERSYMIDX): Removed.
33857 * elf/dl-version.c (VERSYMIDX): Likewise.
33858 * elf/do-rel.h (VERSYMIDX): Likewise.
33859 (VALIDX): Likewise.
33860 * elf/dynamic-link.h (VERSYMIDX): Likewise.
33861 * elf/rtld.c (VALIDX): Likewise.
33862 (ADDRIDX): Likewise.
33863 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
33864 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
33865 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
33866 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
33867 (VALIDX): Likewise.
33868 (ADDRIDX): Likewise.
33869
33870 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
33871
33872 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
33873
33874 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
33875
33876 [BZ #11438]
33877 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
33878 to global scope.
33879 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
33880 addresses are in the same scope as 192.0.2/24.
33881 * posix/gai.conf: Document new scope table defaults.
33882
33883 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
33884
33885 [BZ #5298]
33886 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
33887 for ftell. Compute offsets from write pointers instead.
33888 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
33889
33890 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
33891
33892 [BZ #14543]
33893 * libio/Makefile (tests): New test case tst-fseek.
33894 * libio/tst-fseek.c: New test case to verify that fseek/ftell
33895 combination works in wide mode.
33896 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
33897 state when the external buffer state changes.
33898
33899 2012-09-27 David S. Miller <davem@davemloft.net>
33900
33901 [BZ #14376]
33902 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
33903 pass reloc->r_addend in as the 'high' argument to
33904 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
33905
33906 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33907
33908 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
33909
33910 * rt/tst-aio2.c: Include <pthread.h>.
33911 * rt/tst-aio3.c: Likewise.
33912
33913 2012-09-27 Steve Ellcey <sellcey@mips.com>
33914
33915 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
33916
33917 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
33918
33919 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
33920 contents on [SHARED].
33921
33922 2012-09-26 Marek Polacek <polacek@redhat.com>
33923
33924 [BZ #14530]
33925 [BZ #13741]
33926 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
33927 for C++ and GCC <4.3 as well as for non GCC compilers.
33928
33929 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
33930
33931 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33932
33933 2012-09-25 Roland McGrath <roland@hack.frob.com>
33934
33935 * Makefile.in (all, install): Declare with .PHONY.
33936 Reported by Michael Hope <michael.hope@linaro.org>.
33937
33938 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
33939
33940 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
33941 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
33942 system header.
33943 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
33944 Likewise.
33945 (sydep_routines): Add the new and the internal functions.
33946 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
33947 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
33948 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
33949 (GLIBC_2.17): Add the new function.
33950 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
33951 (GLIBC_2.17): Likewise.
33952 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
33953 (GLIBC_2.17): Likewise.
33954 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
33955 (GLIBC_2.17): Likewise.
33956 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
33957
33958 2012-09-25 Alan Modra <amodra@gmail.com>
33959
33960 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
33961 Add release barrier before setting once_control to say
33962 initialisation is done. Add hints on lwarx. Use macro in
33963 place of isync.
33964 (clear_once_control): Add release barrier.
33965
33966 2012-09-25 Joseph Myers <joseph@codesourcery.com>
33967
33968 [BZ #13629]
33969 * math/s_clog.c (__clog): Handle more values close to |z| = 1
33970 specially.
33971 * math/s_clog10.c (__clog10): Likewise.
33972 * math/s_clog10f.c (__clog10f): Likewise.
33973 * math/s_clog10l.c (__clog10l): Likewise.
33974 * math/s_clogf.c (__clogf): Likewise.
33975 * math/s_clogl.c (__clogl): Likewise.
33976 * math/Makefile (libm-calls): Add x2y2m1.
33977 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
33978 (__x2y2m1): Likewise.
33979 (__x2y2m1l): Likewise.
33980 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
33981 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
33982 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
33983 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
33984 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
33985 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
33986 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
33987 * sysdeps/i386/fpu/libm-test-ulps: Update.
33988 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33989
33990 [BZ #14621]
33991 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
33992 int as type of variable DEPTH.
33993 (glob): Use size_t instead of int as type of variables NEWCOUNT
33994 and OLD_PATHC.
33995
33996 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33997
33998 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
33999 Add s_sincosf-sse2.
34000 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
34001 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
34002 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
34003 macros for using routine as __sincosf_ia32.
34004 Use macro for function declaration and weak_alias.
34005 * sysdeps/i386/fpu/libm-test-ulps: Update.
34006
34007 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
34008 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34009
34010 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
34011 subnormal argument.
34012 * math/s_cexpf.c (__cexpf): Likewise.
34013 * math/s_csinf.c (__csinf): Likewise.
34014 * math/s_csinhf.c (__csinhf): Likewise.
34015 * math/s_ctanf.c (__ctanf): Likewise.
34016 * math/s_ctanhf.c (__ctanhf): Likewise.
34017 * math/s_ccosh.c (__ccoshf): Likewise.
34018 * math/s_cexp.c (__cexpl): Likewise.
34019 * math/s_csin.c (__csin): Likewise.
34020 * math/s_csinh.c (__csinh): Likewise.
34021 * math/s_ctan.c (__ctan): Likewise.
34022 * math/s_ctanh.c (ctanh): Likewise.
34023 * math/s_ccoshl.c (__ccoshl): Likewise.
34024 * math/s_cexpl.c (__cexpl): Likewise.
34025 * math/s_csinl.c (__csinl): Likewise.
34026 * math/s_csinhl.c (__csinhl): Likewise.
34027 * math/s_ctanl.c (__ctanl): Likewise.
34028 * math/s_ctanhl.c (__ctanhl): Likewise.
34029
34030 2012-09-25 Joseph Myers <joseph@codesourcery.com>
34031
34032 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
34033 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
34034 (_IO_off_t): Define to __off_t, not _G_off_t.
34035 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
34036 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
34037 (_IO_wint_t): Define to wint_t, not _G_wint_t.
34038 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
34039 type of __dummy and __dummy2 fields.
34040 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
34041 (_G_ssize_t): Likewise.
34042 (_G_off_t): Likewise.
34043 (_G_pid_t): Likewise.
34044 (_G_uid_t): Likewise.
34045 (_G_wchar_t): Likewise.
34046 (_G_wint_t): Likewise.
34047 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
34048 (_G_ssize_t): Likewise.
34049 (_G_off_t): Likewise.
34050 (_G_pid_t): Likewise.
34051 (_G_uid_t): Likewise.
34052 (_G_wchar_t): Likewise.
34053 (_G_wint_t): Likewise.
34054 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
34055 (_G_ssize_t): Likewise.
34056 (_G_off_t): Likewise.
34057 (_G_pid_t): Likewise.
34058 (_G_uid_t): Likewise.
34059 (_G_wchar_t): Likewise.
34060 (_G_wint_t): Likewise.
34061
34062 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
34063
34064 * malloc/arena.c: Include malloc-sysdep.h.
34065 (shrink_heap): Use check_may_shrink_heap to decide if madvise
34066 is sufficient to shrink the heap or an unmap is needed.
34067 * sysdeps/generic/malloc-sysdep.h: New file. Define
34068 new function check_may_shrink_heap.
34069 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
34070 new function check_may_shrink_heap.
34071
34072 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
34073
34074 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
34075 comments.
34076
34077 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
34078
34079 * catgets/test-gencat.sh: Add "set -e".
34080 * elf/tst-pathopt.sh: Likewise.
34081 * grp/tst_fgetgrent.sh: Likewise.
34082 * iconvdata/run-iconv-test.sh: Likewise.
34083 * intl/tst-gettext.sh: Likewise.
34084 * intl/tst-gettext2.sh: Likewise.
34085 * intl/tst-gettext4.sh: Likewise.
34086 * intl/tst-gettext6.sh: Likewise.
34087 * intl/tst-translit.sh: Likewise.
34088 * io/ftwtest-sh: Likewise.
34089 * libio/test-freopen.sh: Likewise.
34090 * malloc/tst-mtrace.sh: Likewise.
34091 * posix/globtest.sh: Likewise.
34092 * posix/tst-getconf.sh: Likewise.
34093 * posix/wordexp-tst.sh: Likewise.
34094 * stdio-common/tst-printf.sh: Likewise.
34095 * stdio-common/tst-unbputc.sh: Likewise.
34096 * stdlib/tst-fmtmsg.sh: Likewise.
34097 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
34098 * catgets/Makefile: Do not specify -e option when running
34099 testsuite shell scripts.
34100 * elf/Makefile: Likewise.
34101 * grp/Makefile: Likewise.
34102 * iconvdata/Makefile: Likewise.
34103 * intl/Makefile: Likewise.
34104 * io/Makefile: Likewise.
34105 * libio/Makefile: Likewise.
34106 * malloc/Makefile: Likewise.
34107 * posix/Makefile: Likewise.
34108 * stdio-common/Makefile: Likewise.
34109 * stdlib/Makefile: Likewise.
34110 * sysdeps/x86_64/Makefile: Likewise.
34111
34112 * io/ftwtest-sh: Add copyright header.
34113 * posix/globtest.sh: Likewise.
34114 * posix/tst-getconf.sh: Likewise.
34115 * posix/wordexp-tst.sh: Likewise.
34116 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
34117
34118 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
34119
34120 [BZ #13679]
34121 * Makeconfig (+link): Defined as $(+link-static) if
34122 $(build-shared) isn't yes.
34123 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
34124 isn't yes.
34125 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
34126
34127 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
34128
34129 [BZ #14562]
34130 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
34131 new chunk size with MALLOC_ALIGN_MASK.
34132
34133 2012-09-24 Joseph Myers <joseph@codesourcery.com>
34134
34135 [BZ #5044]
34136 * stdio-common/printf_fphex.c: Include <stdbool.h> and
34137 <rounding-mode.h>.
34138 (__printf_fphex): Determine rounding using get_rounding_mode and
34139 round_away.
34140 * stdio-common/tst-printf-round.c (struct hex_test): New
34141 structure.
34142 (hex_tests): New variable.
34143 (test_hex_in_one_mode): New function.
34144 (do_test): Also run tests for hex float output.
34145
34146 2012-09-21 Joseph Myers <joseph@codesourcery.com>
34147
34148 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
34149 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
34150 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
34151 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
34152 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
34153 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
34154 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
34155 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
34156
34157 2012-09-20 Joseph Myers <joseph@codesourcery.com>
34158
34159 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
34160 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
34161 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
34162 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
34163
34164 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
34165
34166 [BZ #14579]
34167 * elf/rtld.c (dl_main): Limit the check for self loading to normal
34168 mode only.
34169 * elf/tst-rtld-load-self.sh: New test.
34170 * elf/Makefile: Run it.
34171
34172 2012-09-18 Joseph Myers <joseph@codesourcery.com>
34173
34174 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
34175 (tst-writev-ENV): Remove.
34176 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
34177
34178 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
34179
34180 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
34181
34182 2012-09-17 Joseph Myers <joseph@codesourcery.com>
34183
34184 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
34185 unconditional.
34186 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
34187 Likewise.
34188 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
34189 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
34190 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
34191 Likewise.
34192
34193 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
34194
34195 [BZ #14587]
34196 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
34197 * config.make.in (have-cpp-asm-debuginfo): Removed.
34198 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
34199 * configure: Regenerated.
34200
34201 2012-09-14 Joseph Myers <joseph@codesourcery.com>
34202
34203 [BZ #5044]
34204 * stdio-common/printf_fp.c: Include <stdbool.h> and
34205 <rounding-mode.h>.
34206 (___printf_fp): Determine rounding using get_rounding_mode and
34207 round_away.
34208 * stdio-common/tst-printf-round.c: New file.
34209 * stdio-common/Makefile (tests): Add tst-printf-round.
34210 (link-libm): New variable.
34211 ($(objpfx)tst-printf-round): Depend in $(link-libm).
34212
34213 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
34214
34215 [BZ #14576]
34216 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
34217 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
34218 Likewise.
34219 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
34220 Likewise.
34221
34222 2012-09-13 Joseph Myers <joseph@codesourcery.com>
34223
34224 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
34225 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
34226 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
34227 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
34228
34229 2012-09-12 Joseph Myers <joseph@codesourcery.com>
34230
34231 [BZ #14518]
34232 * include/rounding-mode.h: New file.
34233 * sysdeps/generic/get-rounding-mode.h: Likewise.
34234 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
34235 * stdlib/strtod_l.c: Include <rounding-mode.h>.
34236 (MAX_VALUE): New macro.
34237 (MIN_VALUE): Likewise.
34238 (overflow_value): New function.
34239 (underflow_value): Likewise.
34240 (round_and_return): Use overflow_value and underflow_value to
34241 determine return values in overflow and underflow cases. Use
34242 round_away to determine rounding depending on rounding mode.
34243 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
34244 determine return values in overflow and underflow cases.
34245 * stdlib/tst-strtod-round.c: Include <fenv.h>.
34246 (struct test_results): New structure.
34247 (struct test): Use struct test_results to store expected results
34248 for all rounding modes.
34249 (TEST): Include expected results for all rounding modes.
34250 (test_in_one_mode): New function.
34251 (do_test): Use test_in_one_mode to compute and check results.
34252 Check results for all rounding modes.
34253 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
34254 $(link-libm).
34255
34256 2012-12-09 Allan McRae <allan@archlinux.org>
34257
34258 * sysdeps/i386/fpu/libm-test-ulps: Update
34259
34260 2012-09-11 Joseph Myers <joseph@codesourcery.com>
34261
34262 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
34263 (_G_int32_t): Likewise.
34264 (_G_uint16_t): Likewise.
34265 (_G_uint32_t): Likewise.
34266 (_G_HAVE_BOOL): Likewise.
34267 (_G_HAVE_ATEXIT): Likewise.
34268 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
34269 (_G_HAVE_IO_FILE_OPEN): Likewise.
34270 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
34271 (_G_int32_t): Likewise.
34272 (_G_uint16_t): Likewise.
34273 (_G_uint32_t): Likewise.
34274 (_G_HAVE_BOOL): Likewise.
34275 (_G_HAVE_ATEXIT): Likewise.
34276 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
34277 (_G_HAVE_IO_FILE_OPEN): Likewise.
34278 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
34279 (_G_int32_t): Likewise.
34280 (_G_uint16_t): Likewise.
34281 (_G_uint32_t): Likewise.
34282 (_G_HAVE_BOOL): Likewise.
34283 (_G_HAVE_ATEXIT): Likewise.
34284 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
34285 (_G_HAVE_IO_FILE_OPEN): Likewise.
34286
34287 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
34288
34289 * csu/libc-tls.c: Update copyright years.
34290
34291 2012-09-10 Joseph Myers <joseph@codesourcery.com>
34292
34293 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
34294 [!_G_USING_THUNKS]: Remove conditional code.
34295 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
34296 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
34297
34298 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
34299 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
34300 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
34301 (_G_VTABLE_LABEL_PREFIX): Likewise.
34302 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
34303 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
34304 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
34305 (_G_VTABLE_LABEL_PREFIX): Likewise.
34306 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
34307 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
34308 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
34309 (_G_VTABLE_LABEL_PREFIX): Likewise.
34310 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
34311
34312 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
34313
34314 * libio/Makefile: Include ../Makeconfig before tests.
34315 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
34316 only if $(build-shared) is yes.
34317
34318 * iconv/gconv_db.c: Update copyright years.
34319
34320 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34321
34322 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
34323 unwind info if defined PIC. Fix special cases description.
34324 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
34325
34326 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
34327 DP_HI_MASK entry.
34328 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
34329
34330 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
34331
34332 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
34333
34334 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
34335 is NULL.
34336
34337 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
34338 (LDLIBS-tst-chk4): This.
34339 (LDFLAGS-tst-chk5): Renamed to ...
34340 (LDLIBS-tst-chk5): This.
34341 (LDFLAGS-tst-chk6): Renamed to ...
34342 (LDLIBS-tst-chk6): This.
34343 (LDFLAGS-tst-lfschk4): Renamed to ...
34344 (LDLIBS-tst-lfschk4): This.
34345 (LDFLAGS-tst-lfschk5): Renamed to ...
34346 (LDLIBS-tst-lfschk5): This.
34347 (LDFLAGS-tst-lfschk6): Renamed to ...
34348 (LDLIBS-tst-lfschk6): This.
34349
34350 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
34351 on $(common-objpfx)soversions.mk.
34352
34353 2012-09-07 Joseph Myers <joseph@codesourcery.com>
34354
34355 [BZ #10014]
34356 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
34357 example host name.
34358
34359 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
34360
34361 * malloc/arena.c (arena_get_retry): New function that gets
34362 another arena for the caller to try its request on.
34363 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
34364 current arena cannot fulfill the request.
34365 (__libc_memalign): Likewise.
34366 (__libc_memalign): Likewise.
34367 (__libc_pvalloc): Likewise.
34368 (__libc_calloc): Likewise.
34369
34370 2012-09-05 John Tobey <john.tobey@gmail.com>
34371
34372 [BZ #13542]
34373 * manual/arith.texi (Operations on Complex): Fix description
34374 of carg branch cut.
34375
34376 2012-09-06 Joseph Myers <joseph@codesourcery.com>
34377
34378 [BZ #10014]
34379 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
34380 host name.
34381
34382 [BZ #10038]
34383 * manual/memory.texi (Memory): Make order of menu items match
34384 order of sections.
34385
34386 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
34387
34388 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
34389 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
34390 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
34391
34392 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
34393
34394 * csu/libc-tls.c (static_dtv): Renamed to ...
34395 (_dl_static_dtv): This. Make it global.
34396 (_dl_initial_dtv): Removed.
34397 (__libc_setup_tls): Updated.
34398 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
34399 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
34400 DL_INITIAL_DTV.
34401
34402 2012-09-06 Petr Machata <pmachata@redhat.com>
34403
34404 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
34405 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
34406 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
34407 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
34408
34409 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
34410
34411 [BZ #14545]
34412 * csu/libc-tls.c (_dl_initial_dtv): New variable.
34413 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
34414 freeing dtv[-1].
34415
34416 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
34417
34418 [BZ #14544]
34419 * Makeconfig (link-static-before-libc): Replace $(+prector)
34420 with $(+prectorT).
34421 (link-static-after-libc): Replace $(+postctor) with
34422 $(+postctorT).
34423 (link-bounded): Replace $(+prector)/$(+postctor) with
34424 $(+prectorT)/$(+postctorT).
34425 (+prectorT): New macro.
34426 (+postctorT): Likewise.
34427
34428 2012-09-06 Joseph Myers <joseph@codesourcery.com>
34429
34430 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
34431 (round_str): Handle values above the maximum for IBM long double
34432 as inexact.
34433 * stdlib/tst-strtod-round.c (tests): Regenerated.
34434
34435 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34436
34437 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
34438 assembler flag.
34439 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
34440 zarch_nohighgprs around the zarch optimized routines.
34441 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
34442 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
34443 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
34444 for zarch.
34445
34446 2012-09-05 David S. Miller <davem@davemloft.net>
34447
34448 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34449
34450 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
34451 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
34452 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
34453 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
34454 entries.
34455
34456 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
34457
34458 * malloc/arena.c: Fold copyright years.
34459 * malloc/mcheck.c, malloc/memusage.c: Likewise.
34460
34461 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
34462
34463 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
34464
34465 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
34466
34467 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
34468
34469 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
34470
34471 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
34472 change internal state upon failure.
34473
34474 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
34475
34476 * malloc/mcheck.c (mcheck_check_all): Fix typo.
34477 * malloc/memusage.c (mmap): Likewise.
34478 (mmap64, mremap): Likewise. Adjust name in comment.
34479
34480 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
34481
34482 * libio/fileops.c: Fix typos in comments.
34483 * libio/oldfileops.c: Likewise.
34484 * libio/wfileops.c: Likewise.
34485
34486 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
34487
34488 [BZ #1349]
34489 * malloc/Makefile (tests): Add tst-malloc-usable test case.
34490 (tst-malloc-usable-ENV): Set environment for test case.
34491 * malloc/hooks.c (malloc_check_get_size): New function to get
34492 requested size.
34493 * malloc/malloc.c (musable): Use malloc_check_get_size.
34494 * malloc/tst-malloc-usable.c: New test case.
34495
34496 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
34497
34498 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
34499
34500 2012-09-05 Allan McRae <allan@archlinux.org>
34501
34502 [BZ #13966]
34503 * configure.in (CXX_SYSINCLUDES): Use compiler output to
34504 determine header location.
34505 * configure: Regenerated.
34506
34507 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
34508
34509 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
34510 float format.
34511 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
34512 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
34513 format.
34514 (test): Regenerate.
34515
34516 2012-09-04 David S. Miller <davem@davemloft.net>
34517
34518 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
34519 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
34520 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
34521
34522 2012-09-04 Florian Weimer <fweimer@redhat.com>
34523
34524 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
34525 failures.
34526
34527 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
34528
34529 2012-09-04 Joseph Myers <joseph@codesourcery.com>
34530
34531 [BZ #9914]
34532 * libio/iogetdelim.c: Include <limits.h>.
34533 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
34534 + len + 1 would overflow.
34535
34536 2012-09-03 Andreas Jaeger <aj@suse.de>
34537
34538 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34539 * sysdeps/i386/fpu/libm-test-ulps: Update.
34540
34541 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34542
34543 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
34544 Add s_sinf-sse2, s_conf-sse2.
34545
34546 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
34547 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
34548 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
34549 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
34550
34551 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
34552 for using routine as __sinf_ia32.
34553 Use macro for function declaration and weak_alias.
34554 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
34555 for using routine as __cosf_ia32.
34556 Use macro for function declaration and weak_alias.
34557
34558 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
34559 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
34560
34561 * sysdeps/x86_64/fpu/s_sinf.S: New file.
34562 * sysdeps/x86_64/fpu/s_cosf.S: New file.
34563 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34564
34565 * math/libm-test.inc (cos_test): Add more test cases.
34566 (sin_test): Likewise.
34567 (sincos_test): Likewise.
34568
34569 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34570
34571 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
34572 (IFUNC_RESOLVE): Make pointers to the specialized implementations
34573 hidden.
34574 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
34575
34576 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
34577
34578 [BZ #14538]
34579 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
34580 first element of the GOT.
34581 (elf_machine_load_address): Return the difference between
34582 the runtime address of _DYNAMIC and elf_machine_dynamic ().
34583
34584 2012-09-01 Allan McRae <allan@archlinux.org>
34585
34586 [BZ #13412]
34587 * configure.in (AWK): Require gawk version 3.0 or later.
34588 * configure: Regenerated.
34589
34590 2012-09-01 Joseph Myers <joseph@codesourcery.com>
34591
34592 * sysdeps/unix/sysv/linux/kernel-features.h
34593 (__ASSUME_POSIX_CPU_TIMERS): Remove.
34594 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
34595 [__NR_clock_getres]: Make code unconditional.
34596 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
34597 (clock_getcpuclockid): Remove code left unreachable by removal of
34598 conditionals.
34599 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
34600 code unconditional.
34601 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
34602 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
34603 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
34604 Make code unconditional.
34605 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
34606 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
34607 * sysdeps/unix/sysv/linux/clock_settime.c
34608 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
34609 conditional code.
34610 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
34611 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
34612
34613 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
34614
34615 [BZ #14476]
34616 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
34617 scripts/test-installation.pl.
34618
34619 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
34620 and $ld_so_version if it is set.
34621
34622 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
34623
34624 [BZ #14516]
34625 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
34626 failure if reading from procfs failed.
34627 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
34628
34629 2012-08-27 Joseph Myers <joseph@codesourcery.com>
34630
34631 * sysdeps/unix/sysv/linux/kernel-features.h
34632 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
34633 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
34634 Remove conditional code.
34635 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
34636 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
34637 Remove conditional code.
34638 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
34639 * sysdeps/unix/sysv/linux/i386/fxstat.c
34640 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
34641 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
34642 * sysdeps/unix/sysv/linux/i386/fxstatat.c
34643 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
34644 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
34645 * sysdeps/unix/sysv/linux/i386/lxstat.c
34646 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
34647 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
34648 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
34649 Remove conditional code.
34650 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
34651 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
34652 Remove conditional code.
34653 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
34654 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
34655 <kernel-features.h>.
34656 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
34657 Remove.
34658 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
34659 Remove conditional code.
34660 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
34661 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
34662 Remove conditional.
34663
34664 2012-08-27 Mike Frysinger <vapier@gentoo.org>
34665
34666 [BZ #5400]
34667 * NEWS: Add fixed bug number.
34668
34669 2012-08-27 Joseph Myers <joseph@codesourcery.com>
34670
34671 [BZ #14519]
34672 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
34673 underflowing exponent in case of negative sign.
34674 * stdlib/tst-strtod-round-data: Add more tests.
34675 * stdlib/tst-strtod-round.c (tests): Regenerated.
34676
34677 [BZ #3479]
34678 * stdlib/strtod_l.c (NDIG): Remove.
34679 (HEXNDIG): Likewise.
34680 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
34681 smallest representable value.
34682 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
34683 lie within an exact representation of 1/2 ulp of the result.
34684 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
34685 unconditionally.
34686 (TENS_P9_IDX): Define unconditionally.
34687 (TENS_P9_SIZE): Likewise.
34688 (TENS_P10_IDX): Likewise.
34689 (TENS_P10_SIZE): Likewise.
34690 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
34691 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
34692 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
34693 entries for 10^2^13 and 10^2^14.
34694 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
34695 (TENS_P13_IDX): Define.
34696 (TENS_P13_SIZE): Likewise.
34697 (TENS_P14_IDX): Likewise.
34698 (TENS_P14_SIZE): Likewise.
34699 (_fpioconst_pow10): Change array size to
34700 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
34701 unconditional.
34702 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
34703 1024]: Add entries for 10^2^13 and 10^2^14.
34704 [LAST_POW10 > _LAST_POW10]: Remove #error.
34705 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
34706 (_fpioconst_pow10): Change array size to
34707 FPIOCONST_POW10_ARRAY_SIZE.
34708 * stdlib/gen-fpioconst.c: New file.
34709 * stdlib/gen-tst-strtod-round.c: Likewise.
34710 * stdlib/tst-strtod-round-data: Likewise.
34711 * stdlib/tst-strtod-round.c: Likewise.
34712 * stdlib/Makefile (tests): Add tst-strtod-round.
34713
34714 [BZ #14459]
34715 * stdlib/strtod_l.c: Include <stdint.h>.
34716 (NDEBUG): Do not define.
34717 (round_and_return): Change EXPONENT parameter to type intmax_t.
34718 Rearrange calculations to avoid internal overflow possibilities.
34719 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
34720 Rearrange calculations to avoid internal overflow possibilities.
34721 Assert that number fits inside MPNSIZE limbs.
34722 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
34723 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
34724 calculations and add assertions to avoid internal overflow
34725 possibilities. Add casts to avoid signed/unsigned operations.
34726 * stdlib/tst-strtod-overflow.c: New file.
34727 * stdlib/Makefile (tests): Add tst-strtod-overflow.
34728
34729 2012-08-25 Marek Polacek <polacek@redhat.com>
34730
34731 * time/time.h: Fix some typos in comments.
34732
34733 2012-08-23 Roland McGrath <roland@hack.frob.com>
34734
34735 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
34736 * posix/tst-rfc3484-2.c: Likewise.
34737 * posix/tst-rfc3484-3.c: Likewise.
34738
34739 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
34740
34741 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
34742 (EF_ARM_ABI_FLOAT_HARD): Likewise.
34743
34744 2012-08-23 Joseph Myers <joseph@codesourcery.com>
34745
34746 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
34747 #include of fxstatat64.c.
34748
34749 2012-08-22 Roland McGrath <roland@hack.frob.com>
34750
34751 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
34752 * shadow/getspent_r.c: Likewise.
34753 * shadow/getspnam.c: Likewise.
34754 * shadow/getspnam_r.c: Likewise.
34755 * gshadow/getsgent.c: Likewise.
34756 * gshadow/getsgent_r.c: Likewise.
34757 * gshadow/getsgnam.c: Likewise.
34758 * gshadow/getsgnam_r.c: Likewise.
34759 * inet/getnetbyad.c: Likewise.
34760 * inet/getnetbyad_r.c: Likewise.
34761 * inet/getnetbynm.c: Likewise.
34762 * inet/getnetbynm_r.c: Likewise.
34763 * inet/getnetent.c: Likewise.
34764 * inet/getnetent_r.c: Likewise.
34765 * inet/getproto.c: Likewise.
34766 * inet/getproto_r.c: Likewise.
34767 * inet/getprtent.c: Likewise.
34768 * inet/getprtent_r.c: Likewise.
34769 * inet/getprtname.c: Likewise.
34770 * inet/getprtname_r.c: Likewise.
34771 * inet/getrpcbyname.c: Likewise.
34772 * inet/getrpcbyname_r.c: Likewise.
34773 * inet/getrpcbynumber.c: Likewise.
34774 * inet/getrpcbynumber_r.c: Likewise.
34775 * inet/getrpcent.c: Likewise.
34776 * inet/getrpcent_r.c: Likewise.
34777 * inet/getaliasent.c: Likewise.
34778 * inet/getaliasent_r.c: Likewise.
34779 * inet/getaliasname.c: Likewise.
34780 * inet/getaliasname_r.c: Likewise.
34781 * nscd/getgrgid_r.c: Likewise.
34782 * nscd/getgrnam_r.c: Likewise.
34783 * nscd/gethstbyad_r.c: Likewise.
34784 * nscd/gethstbynm3_r.c: Likewise.
34785 * nscd/getpwnam_r.c: Likewise.
34786 * nscd/getpwuid_r.c: Likewise.
34787 * nscd/getsrvbynm_r.c: Likewise.
34788 * nscd/getsrvbypt_r.c: Likewise.
34789 * nscd/gai.c: Likewise.
34790
34791 * configure.in (build_nscd): New substituted variable, set
34792 by --disable-build-nscd and defaults to $use_nscd.
34793 * configure: Regenerated.
34794 * config.make.in (build-nscd): New substituted variable.
34795 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
34796 Change conditional to require [$(build-nscd) = yes] as well.
34797 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
34798
34799 [BZ# 13696]
34800 * configure.in (use_nscd): New substituted variable, set by
34801 --disable-nscd. If enabled, define USE_NSCD.
34802 * configure: Regenerated.
34803 * config.h.in: Add USE_NSCD.
34804 * config.make.in (use-nscd): New substituted variable.
34805 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
34806 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
34807 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
34808 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
34809 (CFLAGS-getgrnam_r.c): Likewise.
34810 (CFLAGS-initgroups.c): Likewise.
34811 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
34812 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
34813 Variables removed.
34814 * inet/getnetgrent_r.c
34815 (nscd_setnetgrent): New function, broken out of ...
34816 (setnetgrent): ... here. Call it.
34817 (innetgr): Conditionalize nscd bits on [USE_NSCD].
34818 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
34819 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
34820 * nscd/Makefile (routines, aux): Move definitions after include of
34821 Makeconfig. Conditionalize on [$(use-nscd) != no].
34822 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
34823 Conditionalize on [USE_NSCD].
34824 (is_nscd, nscd_init_cb): Likewise.
34825 (nss_load_library): Conditionalize init callback on [USE_NSCD].
34826 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
34827 * nss/nss_db/db-init.c: Likewise.
34828 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
34829 [USE_NSCD].
34830 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
34831 (make_request): Use it.
34832 (cache_valid_p): New function.
34833 (__check_pf): Use it.
34834 * NEWS: Add item for --disable-nscd.
34835
34836 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
34837
34838 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
34839 to support sed >= 4.2.1-20-ga9bf076.
34840 * configure: Regenerated.
34841
34842 2012-08-22 Roland McGrath <roland@hack.frob.com>
34843
34844 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
34845 Conditionalize whole body on [IREL].
34846
34847 2012-08-22 Jeff Law <law@redhat.com>
34848
34849 [BZ #14505]
34850 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
34851 if the family is PF_UNSPEC.
34852
34853 2012-08-22 Mike Frysinger <vapier@gentoo.org>
34854
34855 * Makerules (lib-version): Rename from V.
34856 (install-lib-nosubdir): Change V to lib-version.
34857
34858 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
34859
34860 [BZ #14252]
34861 * powerpc32/power6/wcschr.c: New file.
34862 * powerpc32/power6/wcscpy.c: New file.
34863 * powerpc32/power6/wcsrchr.c: New file.
34864 * powerpc64/power6/wcschr.c: New file.
34865 * powerpc64/power6/wcscpy.c: New file.
34866 * powerpc64/power6/wcsrchr.c: New file.
34867
34868 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
34869
34870 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
34871 (two_way_short_needle): Use it.
34872 * string/strstr.c (AVAILABLE1_USES_J): Define.
34873 * string/strcasestr.c: Likewise.
34874
34875 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
34876 array references.
34877 * string/strcasestr.c (TOLOWER): Make side-effect safe.
34878
34879 [BZ #11607]
34880 * NEWS: Add an entry.
34881 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
34882 define their defaults.
34883 (two_way_short_needle): Detect end-of-string on-the-fly.
34884 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
34885 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
34886 * string/bug-strcasestr1.c: New test.
34887 * string/Makefile: Run it.
34888
34889 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
34890
34891 [BZ #11607]
34892 * string/str-two-way.h (two_way_short_needle): Optimize matching of
34893 the first character.
34894
34895 2012-08-21 Roland McGrath <roland@hack.frob.com>
34896
34897 * csu/elf-init.c (__libc_csu_irel): Function removed.
34898 * csu/libc-start.c (apply_irel): New function.
34899 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
34900
34901 2012-08-21 Joseph Myers <joseph@codesourcery.com>
34902
34903 * sysdeps/unix/sysv/linux/kernel-features.h
34904 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
34905 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
34906 <kernel-features.h>.
34907 [__NR_fadvise64_64]: Make code unconditional.
34908 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
34909 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
34910 !__NR_fadvise64_64)]: Likewise.
34911 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
34912 !__NR_fadvise64_64))]: Likewise.
34913 [__NR_fadvise64]: Make code unconditional.
34914 [!__NR_fadvise64]: Remove conditional code.
34915 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
34916 <kernel-features.h>.
34917 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
34918 unconditional.
34919 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
34920 conditional code.
34921 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
34922 not include <kernel-features.h>.
34923 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
34924 unconditional.
34925 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
34926 conditional code.
34927 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
34928 include <kernel-features.h>.
34929 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
34930 unconditional.
34931 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
34932 conditional code.
34933
34934 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
34935
34936 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
34937 slight instruction rearrangements per scrollpipe analysis.
34938 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
34939
34940 2012-08-20 Roland McGrath <roland@hack.frob.com>
34941
34942 * manual/syslog.texi (syslog; vsyslog, closelog):
34943 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
34944 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
34945
34946 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
34947 DSOCAPS to match condition on defining it.
34948
34949 2012-08-20 Joseph Myers <joseph@codesourcery.com>
34950
34951 * sysdeps/unix/sysv/linux/kernel-features.h
34952 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
34953 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
34954 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
34955 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
34956 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
34957 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
34958 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
34959 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
34960 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
34961 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
34962
34963 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
34964 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
34965
34966 * sysdeps/unix/sysv/linux/kernel-features.h
34967 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
34968 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
34969 unconditional.
34970 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
34971 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
34972 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
34973 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
34974 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
34975 Make code unconditional.
34976 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
34977 (__mmap64) [!__NR_mmap2]: Likewise.
34978 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
34979 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
34980 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
34981 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
34982 [__NR_mmap2]: Make code unconditional.
34983 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
34984 (__mmap64) [!__NR_mmap2]: Likewise.
34985
34986 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34987
34988 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
34989
34990 2012-08-18 Andreas Jaeger <aj@suse.de>
34991
34992 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
34993
34994 2012-08-18 Mike Frysinger <vapier@gentoo.org>
34995
34996 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
34997 * include/unistd.h (__have_sock_cloexec): Likewise.
34998 (__have_pipe2): Likewise.
34999 (__have_dup3): Likewise.
35000
35001 2012-08-18 Mike Frysinger <vapier@gentoo.org>
35002
35003 [BZ #9685]
35004 * include/unistd.h (__have_pipe2): Change define into an extern int.
35005 (__have_dup3): Likewise.
35006 * socket/have_sock_cloexec.c: Include fcntl.h.
35007 (__have_pipe2): New variable.
35008 (__have_dup3): Likewise.
35009
35010 2012-08-17 Mike Frysinger <vapier@gentoo.org>
35011
35012 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
35013
35014 2012-08-17 Marek Polacek <polacek@redhat.com>
35015
35016 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
35017 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
35018
35019 2012-08-17 Roland McGrath <roland@hack.frob.com>
35020
35021 * configure.in: Add AC_SUBST for sysheaders.
35022 * configure: Regenerated.
35023 * config.make.in (sysheaders): New substituted variable.
35024
35025 * sysdeps/unix/mkfifo.c: Moved ...
35026 * sysdeps/posix/mkfifo.c: ... here.
35027 * sysdeps/unix/mkfifoat.c: Moved ...
35028 * sysdeps/posix/mkfifoat.c: ... here.
35029
35030 * sysdeps/unix/utime.c: Moved ...
35031 * sysdeps/posix/utime.c: ... here.
35032
35033 * sysdeps/unix/time.c: Moved ...
35034 * sysdeps/posix/time.c: ... here.
35035 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
35036 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
35037
35038 * sysdeps/unix/nice.c: Moved ...
35039 * sysdeps/posix/nice.c: ... here.
35040
35041 * sysdeps/unix/alarm.c: Moved ...
35042 * sysdeps/posix/alarm.c: ... here.
35043
35044 * intl/Makefile ($(codeset_mo)): Depend on the input file.
35045
35046 2012-08-17 Jeff Law <law@redhat.com>
35047
35048 * intl/Makefile (codeset_mo): New variable.
35049 ($(codeset_mo)): New target.
35050 (tst-codeset.out): Depend on that. Remove explicit rule.
35051 (tst-gettext3.out, tst-gettext5.out): Likewise.
35052 (LOCPATH-ENV, tst-codeset-ENV): New variables.
35053 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
35054 * intl/tst-codeset.sh: Remove.
35055 * intl/tst-gettext3.sh: Likewise.
35056 * intl/tst-gettext5.sh: Likewise.
35057
35058 2012-08-17 Roland McGrath <roland@hack.frob.com>
35059
35060 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
35061 * sysdeps/unix/syscalls.list: ... here.
35062
35063 * sysdeps/posix/getaddrinfo.c
35064 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
35065 (gaiconf_init, gaiconf_reload): Use them.
35066 [!_STATBUF_ST_NSEC]
35067 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
35068 Define using time_t rather than struct timespec.
35069
35070 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
35071 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
35072 Macros removed.
35073 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
35074 [!NO_THREADS].
35075 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
35076 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
35077 Likewise.
35078
35079 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
35080 __libc_cleanup_push argument.
35081
35082 * bits/param.h: New file.
35083 * misc/sys/param.h: New file.
35084 * include/sys/param.h: New file.
35085 * misc/Makefile (headers): Add bits/param.h.
35086 * sysdeps/generic/sys/param.h: File removed.
35087 * sysdeps/unix/sysv/linux/bits/param.h: New file.
35088 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
35089 * sysdeps/mach/hurd/bits/param.h: New file.
35090 * sysdeps/mach/hurd/sys/param.h: File removed.
35091
35092 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
35093 last change.
35094
35095 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
35096 [_IO_MTSAFE_IO].
35097 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
35098 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
35099 New macros.
35100
35101 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
35102 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
35103 rather than -D_IO_MTSAFE_IO conditionally.
35104 * stdio-common/Makefile (CPPFLAGS): Likewise.
35105 * wcsmbs/Makefile (CPPFLAGS): Likewise.
35106 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
35107 Use $(libio-mtsafe).
35108 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
35109 of -D_IO_MTSAFE_IO.
35110 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
35111 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
35112 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
35113 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
35114 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
35115 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
35116 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
35117 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
35118 (CFLAGS-fread_u_chk.c): Likewise.
35119 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
35120 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
35121 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
35122 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
35123 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
35124 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
35125 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
35126 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
35127 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
35128
35129 * libio/Makefile: Test [$(libc-reentrant) = yes]
35130 instead of [$(filter %REENTRANT, $(defines)) nonempty].
35131
35132 * Makeconfig
35133 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
35134 * sysdeps/pthread/configure: File removed.
35135 * sysdeps/pthread/Makeconfig: New file.
35136 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
35137 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
35138
35139 2012-08-16 Gary Benson <gbenson@redhat.com>
35140
35141 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
35142 unmapping the first object in a namespace.
35143
35144 2012-08-16 Roland McGrath <roland@hack.frob.com>
35145
35146 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
35147 (__internal_setnetgrent): ... this. Add internal_function to
35148 definition. Add libc_hidden_def.
35149 (setnetgrent): Update caller.
35150 (internal_endnetgrent): Renamed to ...
35151 (__internal_endnetgrent): ... this. Add internal_function to
35152 definition. Add libc_hidden_def.
35153 (endnetgrent): Update caller.
35154 (internal_getnetgrent_r): Renamed to ...
35155 (__internal_getnetgrent_r): ... this. Add internal_function to
35156 definition. Add libc_hidden_def.
35157 (__getnetgrent_r): Update caller.
35158 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
35159
35160 2012-08-16 Joseph Myers <joseph@codesourcery.com>
35161
35162 * stdlib/longlong.h: Update from GCC.
35163
35164 2012-08-16 Roland McGrath <roland@hack.frob.com>
35165
35166 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
35167 on _QL, which is set by umul_ppmm but never used.
35168 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
35169 variables, which are set by GMP macros but never used.
35170 * stdio-common/_itowa.c (_itowa): Likewise.
35171 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
35172 * stdlib/mod_1.c (mpn_mod_1): Likewise.
35173
35174 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
35175
35176 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
35177 struct La_sh_regs is not constant.
35178 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
35179 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
35180 and struct La_sparc64_regs are not constant.
35181
35182 2012-08-16 Joseph Myers <joseph@codesourcery.com>
35183
35184 * sysdeps/unix/sysv/linux/kernel-features.h
35185 (__ASSUME_POSIX_TIMERS): Remove.
35186 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
35187 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
35188 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
35189 Make code unconditional.
35190 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
35191 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
35192 Make code unconditional.
35193 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
35194 * sysdeps/unix/sysv/linux/clock_nanosleep.c
35195 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
35196 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
35197 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
35198 Make code unconditional.
35199 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
35200 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
35201 (__libc_missing_posix_timers): Remove.
35202
35203 2012-08-15 Roland McGrath <roland@hack.frob.com>
35204
35205 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
35206 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
35207
35208 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
35209
35210 * elf/dl-sym.c: Include <stdlib.h>.
35211
35212 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
35213 constants, which avoids warnings in 32-bit builds.
35214
35215 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
35216 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
35217
35218 * misc/lseek.c: File moved to ...
35219 * io/lseek.c: ... here.
35220
35221 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
35222
35223 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
35224 shifting LEN more than 31 bits at once.
35225
35226 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35227
35228 [BZ #14195]
35229 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
35230 segmentation fault for a case of two empty input strings.
35231 * string/test-strncasecmp.c (check1): Renamed to...
35232 (bz12205): ...this.
35233 (bz14195): Add new testcase for two empty input strings and N > 0.
35234 (test_main): Call new testcase, adapt for renamed function.
35235
35236 2012-08-15 Andreas Jaeger <aj@suse.de>
35237
35238 [BZ #14090]
35239 * crypt/md5test2.c: New test, based on test supplied by Serge
35240 Belyshev <belyshev@depni.sinp.msu.ru>.
35241 * crypt/Makefile (xtests): Add md5test-giant..
35242 * crypt/Makefile ($(objpfx)md5test-giant): Add.
35243
35244 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
35245
35246 [BZ #14090]
35247 * crypt/md5.c (md5_process_block): Don't assume the buffer
35248 length is less than 2**32.
35249 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
35250 length is less than 2**64.
35251
35252 2012-08-15 Roland McGrath <roland@hack.frob.com>
35253
35254 * string/str-two-way.h: Include <sys/param.h>.
35255 (MAX): Macro removed.
35256
35257 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
35258 Move #define and #undef of memmove to just before and after
35259 including <string.h>.
35260
35261 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
35262 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
35263 and after including <string.h>. Move declarations of
35264 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
35265 to before #include "string/memmove.c".
35266
35267 * include/dirent.h: Declare __getdirentries.
35268
35269 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
35270 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
35271
35272 2012-08-14 Mike Frysinger <vapier@gentoo.org>
35273
35274 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
35275 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
35276 * sysdeps/i386/configure: Regenerated.
35277 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
35278 STABS_CURRENT_FILE, and STABS_FUN.
35279 (END): Remove call to STABS_FUN_END.
35280 (STABS_CURRENT_FILE1): Delete.
35281 (STABS_CURRENT_FILE): Likewise.
35282 (STABS_FUN): Likewise.
35283 (STABS_FUN_END): Likewise.
35284 (STABS_FUN2): Likewise.
35285 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
35286 * sysdeps/x86_64/configure: Regenerated.
35287
35288 2012-08-14 Roland McGrath <roland@hack.frob.com>
35289
35290 * elf/dl-open.c: Include <atomic.h>.
35291 * elf/dl-lookup.c: Likewise.
35292
35293 2012-08-14 Joseph Myers <joseph@codesourcery.com>
35294
35295 * sysdeps/unix/sysv/linux/kernel-features.h
35296 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
35297 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
35298 unconditionally.
35299 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
35300 unconditionally.
35301 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
35302 condition on __ASSUME_CLONE_THREAD_FLAGS.
35303
35304 2012-08-14 Andreas Jaeger <aj@suse.de>
35305
35306 * sysdeps/i386/fpu/libm-test-ulps: Update.
35307
35308 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
35309
35310 * include/atomic.h (atomic_exchange_and_add): Split into ...
35311 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
35312 New atomic macros.
35313
35314 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
35315
35316 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35317
35318 2012-08-13 Jeff Law <law@redhat.com>
35319
35320 * manual/stdio.texi (snprintf): Clarify handling of the trailing
35321 null byte in the output string.
35322
35323 2012-08-10 Joseph Myers <joseph@codesourcery.com>
35324
35325 * sysdeps/unix/sysv/linux/kernel-features.h
35326 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
35327 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
35328 (__ASSUME_ARG_MAX_STACK_BASED): Define.
35329 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
35330 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
35331 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
35332 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
35333
35334 2012-08-09 Jeff Law <law@redhat.com>
35335
35336 [BZ #13939]
35337 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
35338 When avoid_arena is set, don't retry in the that arena. Pick the
35339 next one, whatever it might be.
35340 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
35341 (arena_lock): Pass in new parameter to arena_get2.
35342 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
35343 arena_get2.
35344 (__libc_malloc): Unify retrying after main arena failure with
35345 __libc_memalign version.
35346 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
35347
35348 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
35349
35350 [BZ #14166]
35351 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
35352 to __redirect_strstr.
35353 (__strstr_sse42): Use typeof __redirect_strstr.
35354 (__strstr_ia32): Likewise.
35355 (__libc_strstr): New prototype.
35356 (strstr): Renamed to ...
35357 (__libc_strstr): This.
35358 (strstr): New strong alias of __libc_strstr.
35359 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
35360 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
35361 __redirect_time.
35362 Include <time.h>.
35363 (__libc_time): New prototype.
35364 (time_ifunc): Replace time with __libc_time.
35365 (time): New strong alias and hidden definition of __libc_time.
35366 (__GI_time): Remove strong alias.
35367 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
35368 Include <stddef.h>.
35369 (memmove): Redefined to __redirect_memmove.
35370 (__memmove_sse2): Use typeof __redirect_memmove.
35371 (__memmove_ssse3): Likewise.
35372 (__memmove_ssse3_back): Likewise.
35373 (__libc_memmove): New prototype.
35374 (memmove): Renamed to ...
35375 (__libc_memmove): This.
35376 (memmove): New strong alias of __libc_memmove.
35377
35378 2012-08-08 Mark Salter <msalter@redhat.com>
35379
35380 * elf/elf.h
35381 (R_MN10300_TLS_GD): Define.
35382 (R_MN10300_TLS_LD): Likewise.
35383 (R_MN10300_TLS_LDO): Likewise.
35384 (R_MN10300_TLS_GOTIE): Likewise.
35385 (R_MN10300_TLS_IE): Likewise.
35386 (R_MN10300_TLS_LE): Likewise.
35387 (R_MN10300_TLS_DTPMOD): Likewise.
35388 (R_MN10300_TLS_DTPOFF): Likewise.
35389 (R_MN10300_TLS_TPOFF): Likewise.
35390 (R_MN10300_SYM_DIFF): Likewise.
35391 (R_MN10300_ALIGN): Likewise.
35392 (R_MN10300_NUM): Update.
35393
35394 2012-08-08 Joseph Myers <joseph@codesourcery.com>
35395
35396 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
35397 Remove.
35398
35399 2012-08-08 Roland McGrath <roland@hack.frob.com>
35400
35401 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
35402
35403 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
35404 sysdeps/unix -> sysdeps/posix move.
35405 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
35406
35407 2012-08-07 Allan McRae <allan@archlinux.org>
35408
35409 [BZ #14303]
35410 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
35411 (SUNOS_CPP): Likewise.
35412 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
35413 not found.
35414 (open_input): Call CPP using execvp.
35415
35416 2012-08-07 Joseph Myers <joseph@codesourcery.com>
35417
35418 * sysdeps/unix/sysv/linux/kernel-features.h
35419 (__ASSUME_PROT_GROWSUPDOWN): Remove.
35420 (__ASSUME_NO_CLONE_DETACHED): Likewise.
35421 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
35422 (__ASSUME_WAITID_SYSCALL): Likewise.
35423 * sysdeps/unix/sysv/linux/dl-execstack.c
35424 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
35425 code unconditional.
35426 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
35427 conditional code.
35428 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
35429 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
35430 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
35431 code.
35432 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
35433 unconditional.
35434 [__ASSUME_WAITID_SYSCALL]: Likewise.
35435 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
35436
35437 2012-08-07 Roland McGrath <roland@hack.frob.com>
35438
35439 * sysdeps/unix/closedir.c: Renamed to ...
35440 * sysdeps/posix/closedir.c: ... here.
35441 * sysdeps/unix/dirfd.c: Renamed to ...
35442 * sysdeps/posix/dirfd.c: ... here.
35443 * sysdeps/unix/dirstream.h: Renamed to ...
35444 * sysdeps/posix/dirstream.h: ... here.
35445 * sysdeps/unix/fdopendir.c: Renamed to ...
35446 * sysdeps/posix/fdopendir.c: ... here.
35447 * sysdeps/unix/opendir.c: Renamed to ...
35448 * sysdeps/posix/opendir.c: ... here.
35449 * sysdeps/unix/readdir.c: Renamed to ...
35450 * sysdeps/posix/readdir.c: ... here.
35451 * sysdeps/unix/readdir_r.c: Renamed to ...
35452 * sysdeps/posix/readdir_r.c: ... here.
35453 * sysdeps/unix/rewinddir.c: Renamed to ...
35454 * sysdeps/posix/rewinddir.c: ... here.
35455 * sysdeps/unix/seekdir.c: Renamed to ...
35456 * sysdeps/posix/seekdir.c: ... here.
35457 * sysdeps/unix/telldir.c: Renamed to ...
35458 * sysdeps/posix/telldir.c: ... here.
35459 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
35460 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
35461 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
35462 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
35463
35464 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
35465 * bits/fcntl.h: ... here.
35466
35467 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
35468 not 0.
35469 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
35470 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
35471 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
35472 (struct flock): Move l_start, l_len to the beginning.
35473 Use __pid_t for l_pid.
35474 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
35475 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
35476 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
35477 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
35478 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
35479 [__USE_LARGEFILE64] (struct flock64): New type.
35480 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
35481
35482 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
35483 * bits/dirent.h: ... here.
35484
35485 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
35486 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
35487
35488 2012-08-07 Joseph Myers <joseph@codesourcery.com>
35489
35490 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
35491 Change from 2.6.0 to 2.6.16.
35492 * sysdeps/unix/sysv/linux/configure: Regenerated.
35493 * sysdeps/unix/sysv/linux/kernel-features.h
35494 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
35495 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
35496 version.
35497 (__ASSUME_UTIMES): Likewise.
35498 (__ASSUME_CLONE_STOPPED): Remove.
35499 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
35500 architectures, not kernel version.
35501 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
35502 (__ASSUME_NO_CLONE_DETACHED): Likewise.
35503 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
35504 (__ASSUME_WAITID_SYSCALL): Likewise.
35505 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
35506 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
35507 * README: State 2.6.16 as minimum Linux kernel version. Do not
35508 refer to older versions.
35509
35510 2012-08-06 Roland McGrath <roland@hack.frob.com>
35511
35512 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
35513 Define alphasort64 as an alias.
35514 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
35515 Define versionsort64 as an alias.
35516 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
35517 Define scandir64 as an alias.
35518 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
35519 Define scandirat64 as an alias.
35520 * dirent/alphasort64.c (alphasort64):
35521 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
35522 * dirent/versionsort64.c: Likewise.
35523 * dirent/scandir64.c: Likewise.
35524 * dirent/scandirat64.c: Likewise.
35525 * sysdeps/wordsize-64/alphasort.c: File removed.
35526 * sysdeps/wordsize-64/alphasort64.c: File removed.
35527 * sysdeps/wordsize-64/scandir.c: File removed.
35528 * sysdeps/wordsize-64/scandir64.c: File removed.
35529 * sysdeps/wordsize-64/scandirat.c: File removed.
35530 * sysdeps/wordsize-64/scandirat64.c: File removed.
35531 * sysdeps/wordsize-64/versionsort.c: File removed.
35532 * sysdeps/wordsize-64/versionsort64.c: File removed.
35533 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
35534 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
35535 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
35536 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
35537 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
35538 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
35539 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
35540 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
35541
35542 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
35543 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
35544 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
35545 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
35546 [defined __arch64__ || defined __sparcv9]
35547 (__INO_T_MATCHES_INO64_T): New macro.
35548 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
35549 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
35550 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
35551 * sysdeps/unix/sysv/linux/bits/dirent.h
35552 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
35553 (_DIRENT_MATCHES_DIRENT64): New macro.
35554
35555 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
35556 Define lockf64 as an alias.
35557 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
35558 Define fseeko64 as an alias.
35559 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
35560 Define ftello64 as an alias.
35561 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
35562 Define _IO_fgetpos64 and fgetpos64 as aliases.
35563 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
35564 Define _IO_fsetpos64 and fsetpos64 as aliases.
35565 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
35566 Conditionalize body on this.
35567 * libio/fseeko64.c: Likewise.
35568 * libio/ftello64.c: Likewise.
35569 * libio/iofgetpos64.c: Likewise.
35570 * libio/iofsetpos64.c: Likewise.
35571 * sysdeps/wordsize-64/lockf.c: File removed.
35572 * sysdeps/wordsize-64/lockf64.c: File removed.
35573 * sysdeps/wordsize-64/fseeko.c: File removed.
35574 * sysdeps/wordsize-64/fseeko64.c: File removed.
35575 * sysdeps/wordsize-64/ftello.c: File removed.
35576 * sysdeps/wordsize-64/ftello64.c: File removed.
35577 * sysdeps/wordsize-64/iofgetpos.c: File removed.
35578 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
35579 * sysdeps/wordsize-64/iofsetpos.c: File removed.
35580 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
35581 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
35582 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
35583 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
35584 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
35585 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
35586 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
35587 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
35588 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
35589 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
35590 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
35591
35592 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
35593 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
35594 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
35595 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
35596 [defined __arch64__ || defined __sparcv9]
35597 (__OFF_T_MATCHES_OFF64_T): New macro.
35598 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
35599 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
35600 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
35601 (__OFF_T_MATCHES_OFF64_T): New macro.
35602
35603 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
35604
35605 * stdlib/secure-getenv.c (__secure_getenv): Replace
35606 GLIBC_2_16 with GLIBC_2_17.
35607
35608 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
35609
35610 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
35611 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
35612
35613 2012-08-03 David S. Miller <davem@davemloft.net>
35614
35615 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35616
35617 2012-08-03 Joseph Myers <joseph@codesourcery.com>
35618
35619 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
35620 Remove.
35621 (__ASSUME_CORRECT_SI_PID): Likewise.
35622 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
35623 (__ASSUME_TMPFS_NAME): Likewise.
35624 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
35625 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
35626 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
35627 (HAVE_AUX_SECURE): Make definition unconditional.
35628 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
35629 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
35630
35631 2012-08-03 Roland McGrath <roland@hack.frob.com>
35632
35633 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
35634 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
35635 * sysdeps/mach/hurd/eloop-threshold.h: New file.
35636 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
35637 __eloop_threshold instead of SYMLOOP_MAX.
35638
35639 * sysdeps/generic/eloop-threshold.h: New file.
35640 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
35641 of MAXSYMLINKS.
35642 * elf/chroot_canon.c (chroot_canon): Likewise.
35643
35644 2012-08-03 Joseph Myers <joseph@codesourcery.com>
35645
35646 [BZ #13717]
35647 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
35648 Change to 2.6.0 everywhere.
35649 * sysdeps/unix/sysv/linux/configure: Regenerated.
35650 * sysdeps/unix/sysv/linux/kernel-features.h
35651 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
35652 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
35653 kernel versions.
35654 (__ASSUME_POSIX_TIMERS): Define unconditionally.
35655 (__ASSUME_FUTEX_REQUEUE): Remove.
35656 (__ASSUME_STATFS64): Define unconditionally.
35657 (__ASSUME_AT_SECURE): Likewise.
35658 (__ASSUME_CORRECT_SI_PID): Likewise.
35659 (__ASSUME_TGKILL): Define without depending on kernel version for
35660 i386.
35661 (__ASSUME_UTIMES): Likewise.
35662 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
35663 kernel version.
35664 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
35665 (__ASSUME_TMPFS_NAME): Likewise.
35666 * README: Update reference to Linux kernel versions.
35667
35668 2012-08-02 Marek Polacek <polacek@redhat.com>
35669
35670 [BZ# 14150]
35671 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
35672 libc_cv_asm_type_prefix with %.
35673 * configure: Regenerated.
35674 * include/libc-symbols.h: Remove comment about
35675 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
35676 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
35677 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
35678 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
35679 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
35680 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
35681 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
35682 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
35683 * elf/tst-unique2mod1.c: Likewise.
35684 * elf/tst-unique1mod2.c: Likewise.
35685 * elf/tst-unique1mod1.c: Likewise.
35686 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
35687 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
35688 Replace ASM_TYPE_DIRECTIVE with .type.
35689 * sysdeps/s390/s390-64/sysdep.h: Likewise.
35690 * sysdeps/i386/sysdep.h: Likewise.
35691 * sysdeps/x86_64/sysdep.h: Likewise.
35692 * sysdeps/sh/sysdep.h: Likewise.
35693 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
35694 Do not define ASM_TYPE_DIRECTIVE.
35695 * sysdeps/powerpc/sysdep.h: Likewise.
35696 * sysdeps/powerpc/powerpc32/sysdep.h:
35697 Replace ASM_TYPE_DIRECTIVE with .type.
35698 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
35699 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
35700 * sysdeps/i386/fpu/e_powf.S: Likewise.
35701 * sysdeps/i386/fpu/e_expl.S: Likewise.
35702 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
35703 * sysdeps/i386/fpu/e_acosh.S: Likewise.
35704 * sysdeps/i386/fpu/e_pow.S: Likewise.
35705 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
35706 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
35707 * sysdeps/i386/fpu/s_expm1.S: Likewise.
35708 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
35709 * sysdeps/i386/fpu/e_log2.S: Likewise.
35710 * sysdeps/i386/fpu/e_log2l.S: Likewise.
35711 * sysdeps/i386/fpu/e_scalb.S: Likewise.
35712 * sysdeps/i386/fpu/e_powl.S: Likewise.
35713 * sysdeps/i386/fpu/e_log10f.S: Likewise.
35714 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
35715 * sysdeps/i386/fpu/e_logl.S: Likewise.
35716 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
35717 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
35718 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
35719 * sysdeps/i386/fpu/e_log2f.S: Likewise.
35720 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
35721 * sysdeps/i386/fpu/e_log.S: Likewise.
35722 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
35723 * sysdeps/i386/fpu/e_logf.S: Likewise.
35724 * sysdeps/i386/fpu/e_log10l.S: Likewise.
35725 * sysdeps/i386/fpu/e_atanh.S: Likewise.
35726 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
35727 * sysdeps/i386/fpu/e_log10.S: Likewise.
35728 * sysdeps/i386/fpu/s_frexp.S: Likewise.
35729 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
35730 * sysdeps/i386/fpu/s_asinh.S: Likewise.
35731 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
35732 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
35733 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
35734 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
35735 * sysdeps/i386/i686/strtok.S: Likewise.
35736 * sysdeps/i386/i386-mcount.S: Likewise.
35737 * sysdeps/i386/strtok.S: Likewise.
35738 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
35739 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
35740 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
35741 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
35742 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
35743 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
35744 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
35745 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
35746 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
35747 * sysdeps/x86_64/_mcount.S: Likewise.
35748 * sysdeps/x86_64/strtok.S: Likewise.
35749 * sysdeps/sh/_mcount.S: Likewise.
35750
35751 2012-08-01 Roland McGrath <roland@hack.frob.com>
35752
35753 * libio/iofopen.c: Include <fcntl.h>.
35754 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
35755 (_IO_fopen64, fopen64): Define as aliases.
35756 * libio/iofopen64.c: Include <fcntl.h>.
35757 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
35758 Conditionalize body on this.
35759 * sysdeps/wordsize-64/iofopen.c: File removed.
35760 * sysdeps/wordsize-64/iofopen64.c: File removed.
35761
35762 2012-08-01 Marek Polacek <polacek@redhat.com>
35763
35764 * libc/Makeconfig: Use elf in place of binfmt-subdir.
35765 Use dlfcn directly instead of a variable.
35766 (binfmt-subdir): Do not define.
35767 (dlfcn): Likewise.
35768
35769 2012-08-01 Joseph Myers <joseph@codesourcery.com>
35770
35771 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
35772 Remove all definitions.
35773 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
35774 <kernel-features.h>.
35775 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
35776 (miss_F_GETOWN_EX): Remove all definitions.
35777 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
35778 macro definition.
35779 [!__ASSUME_FCNTL64]: Remove conditional code.
35780 [__ASSUME_FCNTL64]: Make code unconditional.
35781 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
35782 <kernel-features.h>.
35783 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
35784 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
35785 (lockf64) [__NR_fcntl64]: Make code unconditional.
35786 (lockf64) [__ASSUME_FCNTL64]: Likewise.
35787
35788 * sysdeps/unix/sysv/linux/kernel-features.h
35789 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
35790 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
35791 Make code unconditional.
35792 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
35793 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
35794 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
35795 [__NR_vfork]: Make code unconditional.
35796 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
35797 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
35798 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
35799 [__NR_vfork]: Make code unconditional.
35800 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
35801 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
35802
35803 2012-08-01 Roland McGrath <roland@hack.frob.com>
35804
35805 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
35806 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
35807
35808 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
35809 Define mkstemp64 as an alias.
35810 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
35811 Define mkstemps64 as an alias.
35812 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
35813 Define mkostemp64 as an alias.
35814 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
35815 Define mkostemps64 as an alias.
35816 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
35817 Conditionalize body on this.
35818 * misc/mkostemp64.c: Likewise.
35819 * misc/mkostemps64.c: Likewise.
35820 * misc/mkstemps64.c: Likewise.
35821 * sysdeps/wordsize-64/mkstemp64.c: File removed.
35822 * sysdeps/wordsize-64/mkostemp64.c: File removed.
35823 * sysdeps/wordsize-64/mkostemp.c: File removed.
35824 * sysdeps/wordsize-64/mkstemp.c: File removed.
35825 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
35826 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
35827 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
35828 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
35829
35830 [BZ #14138]
35831 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
35832 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
35833 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
35834 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
35835
35836 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
35837 compat_symbol macros from <shlib-compat.h> rather than the underlying
35838 default_symbol_version and symbol_version macros, so that DEFAULT
35839 lines in shlib-versions are respected.
35840 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
35841
35842 2012-08-01 Florian Weimer <fweimer@redhat.com>
35843
35844 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
35845 Declare with warn_unused_result.
35846 (setgid, setregid, setegid, setresgid): Likewise.
35847 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
35848 Likewise.
35849 * WUR-REPORT: Remove set*id functions.
35850
35851 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
35852
35853 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
35854
35855 2012-07-31 Roland McGrath <roland@hack.frob.com>
35856
35857 [BZ #10191]
35858 * include/sys/socket.h (__libc_accept, __libc_accept4):
35859 Add attribute_hidden.
35860 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
35861
35862 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
35863 use of PTR_MANGLE.
35864 * inet/getnetgrent_r.c (setup): Likewise.
35865
35866 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
35867
35868 2012-07-31 David S. Miller <davem@davemloft.net>
35869
35870 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35871
35872 2012-07-31 Joseph Myers <joseph@codesourcery.com>
35873
35874 [BZ #13629]
35875 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
35876 value between 1.0 and 2.0 and smaller part has absolute value less
35877 than 1.0.
35878 * math/s_clog10.c (__clog10): Likewise.
35879 * math/s_clog10f.c (__clog10f): Likewise.
35880 * math/s_clog10l.c (__clog10l): Likewise.
35881 * math/s_clogf.c (__clogf): Likewise.
35882 * math/s_clogl.c (__clogl): Likewise.
35883 * math/libm-test.inc (clog_test): Add more tests.
35884 (clog10_test): Likewise.
35885 * sysdeps/i386/fpu/libm-test-ulps: Update.
35886 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35887
35888 2012-07-31 Florian Weimer <fweimer@redhat.com>
35889
35890 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
35891 Exit with zero in case no suitable GID is found, and write a
35892 message to standard error.
35893
35894 2012-07-30 Roland McGrath <roland@hack.frob.com>
35895
35896 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
35897 rather than to 1.
35898 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
35899 (MAXPATHLEN): Removed.
35900 (NOGROUP, NODEV): New macros.
35901 (setbit, clrbit, isset, isclr): New macros.
35902 (howmany, roundup, powerof2): New macros.
35903 (DEV_BSIZE): New macro.
35904
35905 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
35906 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
35907
35908 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
35909 definition on [!__NO_LONG_DOUBLE_MATH].
35910
35911 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
35912 PTR_MANGLE and PTR_DEMANGLE.
35913
35914 * socket/accept4.c (accept4): Rename to __libc_accept4.
35915 Define accept4 as a weak alias.
35916
35917 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
35918 on [_DIRENT_HAVE_D_TYPE].
35919 * io/ftw.c (ftw_dir): Likewise.
35920
35921 * io/xmknod.c (__xmknod): Don't check PATH for being null.
35922
35923 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
35924
35925 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
35926 Use the BSD numbers rather than the arbitrary ones we had.
35927 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
35928 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
35929 (SIGXCPU, SIGXFSZ): New macros.
35930 (_NSIG): Now 32.
35931
35932 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
35933 initializer on [_LIBC_REENTRANT].
35934
35935 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
35936 definitions inside [_POSIX_MAPPED_FILES].
35937
35938 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
35939
35940 * dirent/opendir.c: Include <fcntl.h>.
35941
35942 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
35943 (__libc_getspecific): Likewise.
35944 (__libc_key_create): Likewise.
35945
35946 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
35947 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
35948 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
35949 (tmpfile64): Define as alias.
35950 * sysdeps/wordsize-64/tmpfile.c: File removed.
35951 * sysdeps/wordsize-64/tmpfile64.c: File removed.
35952 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
35953 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
35954
35955 * stdio-common/vfscanf.c: Include <stdbool.h>.
35956 * nss/makedb.c: Likewise.
35957 * stdio-common/_i18n_number.h: Likewise.
35958 * argp/argp-help.c: Likewise.
35959 * posix/wordexp.c: Likewise.
35960 * sysdeps/posix/spawni.c: Likewise.
35961 * nss/nss_files/files-initgroups.c: Likewise.
35962 * stdio-common/reg-modifier.c: Include <stdlib.h>.
35963 * nss/nss_files/files-initgroups.c: Likewise.
35964 * nss/nss_db/db-netgrp.c: Likewise.
35965 * nss/nss_db/db-initgroups.c: Likewise.
35966 * io/fchmodat.c: Include <sys/stat.h>.
35967
35968 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
35969 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
35970
35971 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
35972 [HAVE_MMAP].
35973
35974 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
35975 Add multiple inclusion protection.
35976
35977 2012-07-27 David S. Miller <davem@davemloft.net>
35978
35979 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35980
35981 2012-07-27 Gary Benson <gbenson@redhat.com>
35982
35983 [BZ #14298]
35984 * elf/rtld.c: Include <stap-probe.h>.
35985 (dl_main): Added static probes "init_start" and "init_complete".
35986 * elf/dl-load.c: Include <stap-probe.h>.
35987 (lose): Take new parameter "nsid".
35988 Added static probe "map_failed".
35989 (_dl_map_object_from_fd): Pass namespace id to lose.
35990 Added static probe "map_start".
35991 (open_verify): Pass namespace id to lose.
35992 * elf/dl-open.c: Include <stap-probe.h>.
35993 (dl_open_worker) Added static probes "map_complete", "reloc_start"
35994 and "reloc_complete".
35995 * elf/dl-close.c: Include <stap-probe.h>.
35996 (_dl_close_worker): Added static probes "unmap_start" and
35997 "unmap_complete".
35998 * elf/rtld-debugger-interface.txt: New file documenting the above.
35999
36000 2012-07-26 Roland McGrath <roland@hack.frob.com>
36001
36002 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
36003 rather than a string variable.
36004 * sunrpc/rpc_main.c (h_output): Likewise.
36005 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
36006
36007 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
36008
36009 * inet/check_native.c: New file.
36010
36011 2012-07-26 Joseph Myers <joseph@codesourcery.com>
36012
36013 [BZ #13629]
36014 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
36015 if larger part has absolute value 1.0.
36016 * math/s_clog10.c (__clog10): Likewise.
36017 * math/s_clog10f.c (__clog10f): Likewise.
36018 * math/s_clog10l.c (__clog10l): Likewise.
36019 * math/s_clogf.c (__clogf): Likewise.
36020 * math/s_clogl.c (__clogl): Likewise.
36021 * math/libm-test.inc (clog_test): Add more tests.
36022 (clog10_test): Likewise.
36023 * sysdeps/i386/fpu/libm-test-ulps: Update.
36024 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36025
36026 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
36027 (pltexit): Likewise.
36028 (La_regs): Likewise.
36029 (La_retval): Likewise.
36030 (int_retval): Likewise.
36031 Update #error for removed macros to refer only to definitions in
36032 tst-audit.h.
36033 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
36034 macro.
36035 (pltexit): Likewise.
36036 (La_regs): Likewise.
36037 (La_retval): Likewise.
36038 (int_retval): Likewise.
36039 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
36040 macro.
36041 (pltexit): Likewise.
36042 (La_regs): Likewise.
36043 (La_retval): Likewise.
36044 (int_retval): Likewise.
36045 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
36046 macro.
36047 (pltexit): Likewise.
36048 (La_regs): Likewise.
36049 (La_retval): Likewise.
36050 (int_retval): Likewise.
36051 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
36052 macro.
36053 (pltexit): Likewise.
36054 (La_regs): Likewise.
36055 (La_retval): Likewise.
36056 (int_retval): Likewise.
36057 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
36058 macro.
36059 (pltexit): Likewise.
36060 (La_regs): Likewise.
36061 (La_retval): Likewise.
36062 (int_retval): Likewise.
36063 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
36064 macro.
36065 (pltexit): Likewise.
36066 (La_regs): Likewise.
36067 (La_retval): Likewise.
36068 (int_retval): Likewise.
36069 * sysdeps/generic/tst-audit.h: Update comment to refer only to
36070 macro definitions in tst-audit.h.
36071 * sysdeps/i386/tst-audit.h: New file.
36072 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
36073 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
36074 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
36075 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
36076 * sysdeps/sh/tst-audit.h: Likewise.
36077 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
36078 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
36079 * sysdeps/x86_64/tst-audit.h: Likewise.
36080
36081 2012-07-26 Andreas Jaeger <aj@suse.de>
36082
36083 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
36084 ptrace.
36085
36086 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
36087 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
36088 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
36089 PTRACE_O_MASK.
36090 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
36091 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
36092 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
36093
36094 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
36095 value.
36096
36097 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
36098 _sigsys.
36099 (si_call_addr, si_syscall, si_arch): Define new macro.
36100 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
36101 _sigsys.
36102 (si_call_addr, si_syscall, si_arch): Define new marcro.
36103 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
36104 _sigsys.
36105 (si_call_addr, si_syscall, si_arch): Define new macro.
36106 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
36107 _sigsys.
36108 (si_call_addr, si_syscall, si_arch): Define new macro.
36109
36110 2012-07-25 Joseph Myers <joseph@codesourcery.com>
36111
36112 [BZ #13717]
36113 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
36114 Change to 2.4.21 where previously 2.4.1.
36115 * sysdeps/unix/sysv/linux/configure: Regenerated.
36116 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
36117 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
36118 Linux kernel version.
36119 (__ASSUME_STD_AUXV): Remove.
36120 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
36121 kernel version.
36122 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
36123 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
36124 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
36125 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
36126 (__ASSUME_NETLINK_SUPPORT): Likewise.
36127 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
36128 (__no_netlink_support): Remove conditional definition.
36129 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
36130 Remove.
36131 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
36132 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
36133 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
36134 (if_nameindex_ioctl): Remove.
36135 (if_nameindex_netlink): Do not handle __no_netlink_support.
36136 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
36137 code.
36138 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
36139 Remove conditional code.
36140 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
36141 code.
36142 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
36143 unconditional.
36144 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
36145 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
36146 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
36147 Remove.
36148 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
36149 [!__ASSUME_STD_AUXV]: Remove conditional code.
36150 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
36151 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
36152 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
36153 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
36154 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
36155 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
36156 code.
36157 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
36158 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
36159 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
36160 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
36161 conditional code.
36162 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
36163 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
36164 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
36165 code.
36166 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
36167 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
36168 conditional code.
36169 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
36170 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
36171 code unconditional.
36172 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
36173 conditional code.
36174 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
36175 unconditional.
36176 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
36177 conditional code.
36178 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
36179 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
36180 unconditional.
36181 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
36182 conditional code.
36183 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
36184 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
36185 code unconditional.
36186 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
36187 conditional code.
36188 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
36189 unconditional.
36190 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
36191 conditional code.
36192 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
36193 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
36194 code unconditional.
36195 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
36196 conditional code.
36197 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
36198 unconditional.
36199 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
36200 conditional code.
36201
36202 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
36203
36204 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
36205 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
36206 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
36207 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
36208 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
36209 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
36210 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
36211 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
36212 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
36213 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
36214 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
36215 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
36216 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
36217 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
36218 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
36219 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
36220 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
36221 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
36222 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
36223 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
36224 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
36225 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
36226 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
36227
36228 2012-07-25 Florian Weimer <fweimer@redhat.com>
36229
36230 * Versions.def: Add GLIBC_2.17.
36231 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
36232 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
36233 Introduce __libc_secure_getenv.
36234 * stdlib/Versions (2.17): Add secure_getenv
36235 (GLIBC_PRIVATE): Add __libc_secure_getenv.
36236 * stdlib/secure-getenv.c: Rename __secure_getenv to
36237 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
36238 symbol __secure_getenv for GLIBC_2.0.
36239 * stdlib/tst-secure-getenv.c: New.
36240 * stdlib/Makefile (tests): Add testcase.
36241 * manual/startup.texi (Environment Access): Document
36242 secure_getenv.
36243 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
36244 __libc_secure_getenv.
36245 * inet/ruserpass.c (ruserpass): Likewise.
36246 * malloc/mtrace.c (mtrace): Likewise.
36247 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
36248 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
36249 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
36250 * sysdeps/posix/tempname.c: Likewise. Evaluate
36251 HAVE_SECURE_GETENV.
36252 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
36253 __secure_getenv to __libc_secure_getenv.
36254 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
36255 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
36256 Likewise.
36257 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
36258 Likewise.
36259 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
36260 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
36261 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
36262 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
36263 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
36264 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
36265 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
36266
36267 2012-07-25 Joseph Myers <joseph@codesourcery.com>
36268
36269 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
36270 (struct La_i86_retval): Likewise.
36271 (struct La_x86_64_regs): Likewise.
36272 (struct La_x86_64_retval): Likewise.
36273 (struct La_x32_regs): Likewise.
36274 (struct La_x32_retval): Likewise.
36275 (struct La_ppc32_regs): Likewise.
36276 (struct La_ppc32_retval): Likewise.
36277 (struct La_ppc64_regs): Likewise.
36278 (struct La_ppc64_retval): Likewise.
36279 (struct La_sh_regs): Likewise.
36280 (struct La_sh_retval): Likewise.
36281 (struct La_s390_32_regs): Likewise.
36282 (struct La_s390_32_retval): Likewise.
36283 (struct La_s390_64_regs): Likewise.
36284 (struct La_s390_64_retval): Likewise.
36285 (struct La_sparc32_regs): Likewise.
36286 (struct La_sparc32_retval): Likewise.
36287 (struct La_sparc64_regs): Likewise.
36288 (struct La_sparc64_retval): Likewise.
36289 (struct audit_ifaces): Remove architecture-specific pltenter and
36290 pltexit members.
36291 * sysdeps/i386/ldsodefs.h: New file.
36292 * sysdeps/powerpc/ldsodefs.h: Likewise.
36293 * sysdeps/s390/ldsodefs.h: Likewise.
36294 * sysdeps/sh/ldsodefs.h: Likewise.
36295 * sysdeps/sparc/ldsodefs.h: Likewise.
36296 * sysdeps/x86_64/ldsodefs.h: Likewise.
36297
36298 2012-07-25 Marek Polacek <polacek@redhat.com>
36299
36300 [BZ #6808]
36301 * math/libm-test.inc (yn_test): Add another test.
36302 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
36303 to ERANGE when the result is +-Inf.
36304 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
36305 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
36306 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
36307 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
36308
36309 2012-07-24 Joseph Myers <joseph@codesourcery.com>
36310
36311 * conform/data/time.h-data (NULL): Use macro-constant. Require
36312 equal to 0.
36313 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
36314 clock_t.
36315 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
36316
36317 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
36318
36319 * configure.in <sysdeps resolving>: Correct printing
36320 Implies_before.
36321 * configure: Regenerate.
36322
36323 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
36324
36325 * math/w_ilogb.c: Include <limits.h>.
36326 * math/w_ilogbl.c: Likewise.
36327
36328 2012-07-20 Joseph Myers <joseph@codesourcery.com>
36329
36330 * manual/lang.texi (__va_copy): Document primarily as ISO C99
36331 va_copy. Document allowing for unavailable va_copy only as
36332 pre-C99 compatibility.
36333 * manual/string.texi (Copying and Concatenation): Use va_copy
36334 instead of __va_copy in concat example.
36335
36336 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
36337
36338 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
36339 (__sendto): Use create_address_port. Initialize APORT and deallocate
36340 it if not null.
36341
36342 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
36343 with O_NOLINK passed to __file_name_lookup.
36344
36345 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
36346 with O_NOLINK passed to __file_name_lookup.
36347
36348 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
36349 negative N or less than NGIDS.
36350
36351 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
36352 type to string_t. Set ERANGE as errno and return it if NAME is not big
36353 enough. Use memcpy instead of strncpy.
36354
36355 2012-07-20 Joseph Myers <joseph@codesourcery.com>
36356
36357 * elf/Makefile (check-data): Remove.
36358 (localplt.data): New vpath directive.
36359 ($(objpfx)check-localplt.out): Use localplt.data from vpath
36360 instead of $(check-data).
36361 * scripts/data/localplt-generic.data: Move to ...
36362 * sysdeps/generic/localplt.data: ... here.
36363 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
36364 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
36365 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
36366 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
36367 ... here.
36368 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
36369 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
36370 ... here.
36371 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
36372 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
36373 ... here.
36374 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
36375 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
36376 ... here.
36377 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
36378 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
36379 ... here.
36380 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
36381 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
36382 ... here.
36383
36384 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36385
36386 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
36387 PPC32 and PPC64 files.
36388 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
36389 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
36390
36391 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36392
36393 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
36394 __makecontext_ret to ...
36395 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
36396 ... here and call exit if uc_link is NULL. New file.
36397 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
36398 __makecontext_ret.S.
36399 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
36400 __makecontext_ret to ...
36401 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
36402 ... here and call exit if uc_link is NULL. New file.
36403 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
36404 __makecontext_ret.S.
36405
36406 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36407
36408 * elf/elf.h (R_390_IRELATIVE): New definition.
36409 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
36410 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
36411 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
36412 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
36413 (elf_machine_lazy_rel): Likewise.
36414 * sysdeps/s390/dl-irel.h: New file.
36415 * sysdeps/s390/s390-64/memcpy.S: New asm code.
36416 * sysdeps/s390/s390-64/memset.S: New asm code.
36417 * sysdeps/s390/s390-64/memcmp.S: New asm code.
36418 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
36419 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
36420 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
36421 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
36422 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
36423 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
36424 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
36425 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
36426 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
36427 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
36428 * sysdeps/s390/s390-32/memcpy.S: New asm code.
36429 * sysdeps/s390/s390-32/memset.S: New asm code.
36430 * sysdeps/s390/s390-32/memcmp.S: New asm code.
36431
36432 2012-07-17 Marek Polacek <polacek@redhat.com>
36433
36434 [BZ #14349]
36435 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
36436 * sysdeps/s390/s390-64/configure.in: Likewise.
36437 * sysdeps/sparc/configure.in: Likewise.
36438 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
36439 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
36440 * sysdeps/i386/configure.in: Likewise.
36441 * sysdeps/x86_64/configure.in: Likewise.
36442 * sysdeps/sh/configure.in: Likewise.
36443 * sysdeps/s390/s390-32/configure: Regenerated.
36444 * sysdeps/s390/s390-64/configure: Likewise.
36445 * sysdeps/x86_64/configure: Likewise.
36446 * sysdeps/sh/configure: Likewise.
36447 * sysdeps/powerpc/powerpc64/configure: Likewise.
36448 * sysdeps/powerpc/powerpc32/configure: Likewise.
36449 * sysdeps/sparc/configure: Likwise.
36450 * sysdeps/i386/configure: Likewise.
36451
36452 * elf/dl-open.c: Comment fixes.
36453
36454 2012-07-17 Joseph Myers <joseph@codesourcery.com>
36455
36456 * Makefile [CXX] (check-data): Remove.
36457 [CXX] (c++-types.data): New vpath directive.
36458 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
36459 vpath. Do not allow for C++ type data being missing.
36460 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
36461 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
36462 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
36463 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
36464 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
36465 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
36466 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
36467 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
36468 ... here.
36469 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
36470 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
36471 ... here.
36472 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
36473 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
36474 ... here.
36475 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
36476 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
36477 ... here.
36478 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
36479 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
36480 ... here.
36481 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
36482 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
36483 ... here.
36484 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
36485 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
36486 ... here.
36487 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
36488 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
36489
36490 * elf/tls-macros.h (TLS_LE): Move architecture-specific
36491 definitions to architecture-specific files.
36492 (TLS_IE): Likewise.
36493 (TLS_LD): Likewise.
36494 (TLS_GD): Likewise.
36495 * sysdeps/i386/tls-macros.h: New file.
36496 * sysdeps/powerpc/tls-macros.h: Likewise.
36497 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
36498 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
36499 * sysdeps/sh/tls-macros.h: Likewise.
36500 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
36501 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
36502 * sysdeps/x86_64/tls-macros.h: Likewise.
36503
36504 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
36505
36506 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
36507 zero value for regular exit case.
36508
36509 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
36510 (__start_context): Preserve zero value for regular exit case.
36511
36512 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
36513 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36514
36515 * manual/setjmp.texi (setcontext): Clarify normal process
36516 termination when uc_link is the null pointer.
36517 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
36518 exit call.
36519
36520 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
36521
36522 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
36523 preprocessor. Test for each exception mask separately.
36524
36525 2012-07-16 Andreas Jaeger <aj@suse.de>
36526
36527 * po/ru.po: Update from translation team.
36528
36529 2012-07-15 Joseph Myers <joseph@codesourcery.com>
36530
36531 * conform/data/string.h-data (NULL): Use macro-constant. Require
36532 equal to 0.
36533 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
36534 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
36535 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
36536 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
36537 [ISO || ISO99 || ISO11] (*_t): Do not allow.
36538
36539 2012-07-13 Andreas Jaeger <aj@suse.de>
36540
36541 * po/fr.po: Update from translation team.
36542
36543 2012-07-12 Marek Polacek <polacek@redhat.com>
36544
36545 [BZ #14173]
36546 * math/libm-test.inc (yn_test): Add test for BZ #14173.
36547 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
36548 loop condition.
36549
36550 2012-07-12 Joseph Myers <joseph@codesourcery.com>
36551
36552 [BZ #13717]
36553 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
36554 Change to 2.4.1 where previously 2.4.0.
36555 * sysdeps/unix/sysv/linux/configure: Regenerated.
36556 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
36557 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
36558 version.
36559 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
36560 (__ASSUME_AT_CLKTCK): Remove.
36561 (__ASSUME_AT_PAGESIZE): Likewise.
36562 (__ASSUME_AT_XID): Likewise.
36563 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
36564 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
36565 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
36566 unconditionally.
36567 (HAVE_AUX_PAGESIZE): Likewise.
36568 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
36569 [__ASSUME_AT_CLKTCK]: Make code unconditional.
36570 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
36571
36572 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
36573
36574 [BZ #14307]
36575 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
36576 the temporary buffer used to invoke __gethostbyname2_r,
36577 __gethostbyaddr_r and gethostbyname4_r to make room for struct
36578 host_data / struct gaih_addrtuple.
36579 * resolv/nss_dns/dns-host.c (global scope): Move definition of
36580 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
36581 header file nss/nsswitch.h.
36582 * nss/nsswitch.h (global scope): Add definition of implementation
36583 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
36584 resolv/nss_dns/dns-host.c).
36585
36586 2012-07-11 Andreas Jaeger <aj@suse.de>
36587
36588 * po/fr.po: Update from translation team.
36589
36590 * po/sv.po: Update from translation team
36591 * po/fr.po: Another update from translation team.
36592
36593 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36594
36595 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
36596 for subnormals or multiply small sinh result by itself.
36597 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
36598 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36599
36600 2012-07-11 David S. Miller <davem@davemloft.net>
36601
36602 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36603
36604 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
36605
36606 [BZ #14347]
36607 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
36608 (INTERNAL_MARK): Shift it here.
36609
36610 2012-07-10 Marek Polacek <polacek@redhat.com>
36611
36612 [BZ #14151]
36613 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
36614 libc_cv_asm_global_directive with .globl.
36615 * configure: Regenerated.
36616 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
36617 with .globl.
36618 * sysdeps/i386/configure: Regenerated.
36619 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
36620 with .globl.
36621 * sysdeps/x86_64/configure: Regenerated.
36622 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
36623 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
36624 * elf/tst-unique2mod2.c: Likewise.
36625 * elf/tst-unique2mod1.c: Likewise.
36626 * elf/tst-unique1mod2.c: Likewise.
36627 * elf/tst-unique1mod1.c: Likewise.
36628 * sysdeps/s390/s390-32/sysdep.h: Likewise.
36629 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
36630 * sysdeps/s390/s390-64/sysdep.h: Likewise.
36631 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
36632 * sysdeps/mach/sysdep.h: Likewise.
36633 * sysdeps/i386/sysdep.h: Likewise.
36634 * sysdeps/i386/i386-mcount.S: Likewise.
36635 * sysdeps/x86_64/_mcount.S: Likewise.
36636 * sysdeps/x86_64/sysdep.h: Likewise.
36637 * sysdeps/sh/_mcount.S: Likewise.
36638 * sysdeps/sh/sysdep.h: Likewise.
36639 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
36640 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
36641 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
36642 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
36643 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
36644 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
36645 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
36646 * locale/localeinfo.h: Likewise.
36647 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
36648 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
36649
36650 2012-07-09 Roland McGrath <roland@hack.frob.com>
36651
36652 [BZ #14336]
36653 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
36654 system".
36655 * manual/message.texi (The Uniforum approach): Likewise.
36656 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
36657 (glibc iconv Implementation): Likewise.
36658
36659 2012-07-09 Joseph Myers <joseph@codesourcery.com>
36660
36661 [BZ #14337]
36662 * math/s_clog.c (__clog): Avoid scaling a value down where that
36663 could result in underflow.
36664 * math/s_clog10.c (__clog10): Likewise.
36665 * math/s_clog10f.c (__clog10f): Likewise.
36666 * math/s_clog10l.c (__clog10l): Likewise.
36667 * math/s_clogf.c (__clogf): Likewise.
36668 * math/s_clogl.c (__clogl): Likewise.
36669 * math/libm-test.inc (clog_test): Add more tests.
36670 (clog10_test): Likewise.
36671 * sysdeps/i386/fpu/libm-test-ulps: Update.
36672 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36673
36674 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
36675
36676 [BZ #14283]
36677 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
36678 by 7 not 8 to examine high bit of fractional part.
36679
36680 [BZ #14042]
36681 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
36682 for call to __mcount_internal.
36683 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
36684 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
36685 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
36686
36687 2012-07-06 Joseph Myers <joseph@codesourcery.com>
36688
36689 [BZ #14154]
36690 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
36691 approximation for values within 0x1p-13f of an odd multiple of
36692 pi/4.
36693 * math/libm-test.inc (tan_test): Do not allow spurious underflow
36694 exception. Add more tests.
36695 * sysdeps/i386/fpu/libm-test-ulps: Update.
36696
36697 [BZ #6778]
36698 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
36699 inputs and return -1 for them. Do not check for +Inf in case not
36700 reachable for +Inf.
36701 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
36702 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
36703 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
36704 and return -1 for them. Do not check for +Inf in case not
36705 reachable for +Inf.
36706 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
36707 define.
36708 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
36709 and return -1 for them. Do not check for +Inf in case not
36710 reachable for +Inf.
36711 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
36712 spurious underflow.
36713 * sysdeps/i386/fpu/libm-test-ulps: Update.
36714 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36715
36716 2012-07-06 Mike Frysinger <vapier@gentoo.org>
36717
36718 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
36719
36720 2012-07-05 Joseph Myers <joseph@codesourcery.com>
36721
36722 [BZ #14157]
36723 [BZ #14331]
36724 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
36725 could result in spurious underflow. Scale down values above
36726 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
36727 * math/s_csqrtf.c (__csqrtf): Likewise.
36728 * math/s_csqrtl.c (__csqrtl): Likewise.
36729 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
36730 spurious underflow.
36731 * sysdeps/i386/fpu/libm-test-ulps: Update.
36732 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36733
36734 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
36735
36736 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
36737 xopen-msg.sed.
36738 * catgets/xopen-msg.awk: New file.
36739 * catgets/xopen-msg.sed: Removed.
36740
36741 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
36742 po2text.sed.
36743 * intl/po2test.awk: New file.
36744 * intl/po2test.sed: Removed.
36745
36746 2012-07-04 Joseph Myers <joseph@codesourcery.com>
36747
36748 [BZ #14328]
36749 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
36750 or multiply small sinh result by itself.
36751 * math/s_ctanf.c (__ctanf): Likewise.
36752 * math/s_ctanh.c (__ctanh): Likewise.
36753 * math/s_ctanhf.c (__ctanhf): Likewise.
36754 * math/s_ctanhl.c (__ctanhl): Likewise.
36755 * math/s_ctanl.c (__ctanl): Likewise.
36756 * math/libm-test.inc (ctan_test_tonearest): New function.
36757 (ctan_test_towardzero): Likewise.
36758 (ctan_test_downward): Likewise.
36759 (ctan_test_upward): Likewise.
36760 (ctanh_test_tonearest): Likewise.
36761 (ctanh_test_towardzero): Likewise.
36762 (ctanh_test_downward): Likewise.
36763 (ctanh_test_upward): Likewise.
36764 (main): Call these new functions.
36765 * sysdeps/i386/fpu/libm-test-ulps: Update.
36766 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36767
36768 2012-07-03 Mike Frysinger <vapier@gentoo.org>
36769
36770 * .gitignore: Delete /ports entry.
36771
36772 2012-07-03 Andreas Jaeger <aj@suse.de>
36773
36774 * po/bg.po: Update from translation team.
36775 * po/cs.po: Likewise.
36776 * po/de.po: Likewise.
36777 * po/hr.po: Likewise.
36778 * po/nl.pl: Likewise.
36779 * po/pl.po: Likewise.
36780 * po/vi.po: Likewise.
36781
36782 2012-07-03 Joseph Myers <joseph@codesourcery.com>
36783
36784 * Makeconfig [!+link] (+link-before-libc): New variable.
36785 [!+link] (+link-after-libc): Likewise.
36786 [!+link] (+link-tests): Likewise.
36787 [!+link] (+link): Define in terms of $(+link-before-libc) and
36788 $(+link-after-libc).
36789 [!+link-static] (+link-static-before-libc): New variable.
36790 [!+link-static] (+link-static-after-libc): Likewise.
36791 [!+link-static] (+link-static-tests): Likewise.
36792 [!+link-static] (+link-static): Define in terms of
36793 $(+link-static-before-libc) and $(+link-static-after-libc).
36794 [build-shared] (link-libc-before-gnulib): New variable.
36795 [build-shared] (link-libc-tests): Likewise.
36796 [build-shared] (link-libc): Define in terms of
36797 $(link-libc-before-gnulib).
36798 [!build-shared] (link-libc-tests): New variable.
36799 (link-libc-static-tests): New variable.
36800 [!gnulib] (gnulib-arch): New variable.
36801 [!gnulib] (gnulib-tests): Likewise.
36802 [!gnulib] (static-gnulib-arch): Likewise.
36803 [!gnulib] (static-gnulib-tests): Likewise.
36804 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
36805 Define with "=" instead of ":=".
36806 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
36807 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
36808 * Rules (binaries-all-notests): New variable.
36809 (binaries-all-tests): Likewise.
36810 (binaries-static-notests): Likewise.
36811 (binaries-static-tests): Likewise.
36812 (binaries-all): Define using $(binaries-all-notests) and
36813 $(binaries-all-tests).
36814 (binaries-static): Define using $(binaries-static-notests) and
36815 $(binaries-static-tests).
36816 (binaries-shared-tests): New variable.
36817 (binaries-shared-notests): Likewise.
36818 (binaries-shared): Remove variable.
36819 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
36820 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
36821 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
36822 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
36823 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
36824 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
36825 * elf/Makefile (sln-modules): New variable.
36826 (extra-objs): Add $(sln-modules:=.o).
36827 (ldconfig-modules): Add static-stubs.
36828 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
36829 * elf/static-stubs.c: New file.
36830
36831 [BZ #14283]
36832 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
36833 by 7 not 8 to examine high bit of fractional part. Use volatile
36834 variables when splitting into final array of floats if
36835 __FLT_EVAL_METHOD__ != 0.
36836 * math/libm-test.inc (cos_test): Add another test.
36837 (sin_test): Likewise.
36838 * sysdeps/i386/fpu/libm-test-ulps: Update.
36839
36840 [BZ #14273]
36841 * math/libm-test.inc (cosh_test): Add more tests.
36842
36843 * version.h (RELEASE): Set to "development".
36844 (VERSION): Set to "2.16.90".
36845
36846 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
36847
36848 * NEWS: Update copyright. Remove last-updated date.
36849 Mention math library bug fixes and timezone data changes.
36850 * README: Mention GNU/Hurd, x32, and HPPA support status.
36851
36852 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
36853
36854 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
36855
36856 2012-06-27 Andreas Jaeger <aj@suse.de>
36857
36858 * manual/contrib.texi (Contributors): Add Samuel Thibault.
36859
36860 2012-06-25 Andreas Jaeger <aj@suse.de>
36861
36862 * sysdeps/s390/fpu/libm-test-ulps: Update.
36863
36864 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
36865 Thomas Schwinge <thomas@codesourcery.com>
36866
36867 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
36868 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
36869 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
36870 fanotify_mark.
36871
36872 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
36873
36874 * sysdeps/mach/start.c: Remove file.
36875 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
36876 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
36877 * sysdeps/sh/init-first.c: Likewise.
36878
36879 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
36880 registers for frame unwinding purposes, add CFI directives.
36881 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
36882 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
36883 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
36884 Likewise.
36885
36886 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
36887 __fortify_fail returning.
36888 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
36889
36890 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
36891 sysdeps/sh/____longjmp_chk.S.
36892 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
36893 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
36894 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
36895 (gen-as-const-headers): Append sigaltstack-offsets.sym.
36896
36897 * sysdeps/sh/abort-instr.h: New file.
36898 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
36899 process in case exit returns.
36900
36901 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
36902 initialize the GOT register before use.
36903
36904 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
36905 calculation of ARGC > 4.
36906
36907 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
36908 meaningful names to some local labels.
36909
36910 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
36911 Kaz Kojima <kkojima@rr.iij4u.or.jp>
36912
36913 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
36914 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
36915 (__arch_compare_and_exchange_val_16_acq): Likewise.
36916 (__arch_compare_and_exchange_val_32_acq): Likewise.
36917 (atomic_exchange_and_add): Fix gUSA sequence.
36918 (atomic_add): Likewise.
36919 (atomic_add_negative): Likewise.
36920 (atomic_add_zero): Likewise.
36921 (atomic_bit_test_set): Likewise.
36922
36923 2012-06-22 Andreas Schwab <schwab@redhat.com>
36924
36925 [BZ #13579]
36926 * include/link.h (struct link_map): Add l_free_initfini.
36927 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
36928 l_initfini.
36929 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
36930 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
36931 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
36932 set.
36933
36934 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
36935
36936 * configure.in: Use AC_LANG_SOURCE.
36937 * configure: Regenerate.
36938
36939 2012-06-22 Roland McGrath <roland@hack.frob.com>
36940
36941 * configure.in (libc_cv_localstatedir): New substituted variable.
36942 * configure: Regenerated.
36943 * config.make.in (localstatedir): New variable, substituted from
36944 libc_cv_localstatedir.
36945 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
36946 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
36947 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
36948 * sysdeps/gnu/configure: Regenerated.
36949
36950 2012-06-21 Jeff Law <law@redhat.com>
36951
36952 [BZ #14277]
36953 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
36954 free. Simplify list management for _LIBC case.
36955
36956 2012-06-21 Joseph Myers <joseph@codesourcery.com>
36957
36958 [BZ #14273]
36959 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
36960 Clear sign bit of 64-bit integer value before comparing against
36961 overflow value.
36962
36963 * sysdeps/mach/configure: Regenerated.
36964
36965 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
36966
36967 [BZ #14278]
36968 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
36969
36970 2012-06-21 Jeff Law <law@redhat.com>
36971
36972 [BZ #13882]
36973 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
36974 uint16_t for elements in the "seen" array to avoid char overflows.
36975 * elf/dl-fini.c (_dl_sort_fini): Likewise.
36976 * elf/dl-open.c (dl_open_worker): Likewise.
36977
36978 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
36979
36980 * scripts/list-sources.sh: Scan PORTS for translations.
36981 * po/libc.pot: Regenerated.
36982
36983 2012-06-21 Andreas Jaeger <aj@suse.de>
36984
36985 [BZ #12194]
36986 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
36987 warning.
36988 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
36989 * bits/byteswap-16.h (__bswap_16): Likewise.
36990 * bits/byteswap.h (__bswap_constant_16): Likewise.
36991
36992 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
36993
36994 [BZ #14117]
36995 * sysdeps/i386/fpu_control.h: Removed.
36996 * sysdeps/x86_64/fpu_control.h: Moved to ...
36997 * sysdeps/x86/fpu_control.h: Here.
36998
36999 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
37000 (_FPU_SETCW): Likewise.
37001
37002 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
37003
37004 [BZ #14117]
37005 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
37006 * sysdeps/x86/fpu/bits/mathinline.h: This.
37007 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
37008
37009 [BZ #14050]
37010 [BZ #14117]
37011 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
37012 functions if __x86_64__ is defined.
37013
37014 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
37015
37016 * string/endian.h: Add !__ASSEMBLER__ condition for including
37017 conversion interfaces.
37018
37019 2012-06-15 Joseph Myers <joseph@codesourcery.com>
37020
37021 [BZ #14241]
37022 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
37023 of ABS(x) in calculating zero to negative powers other than odd
37024 integers.
37025 * math/libm-test.inc (pow_test): Add more tests.
37026
37027 2012-06-15 Andreas Jaeger <aj@suse.de>
37028
37029 * manual/contrib.texi (Contributors): Update entry of Liubov
37030 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
37031 Machado Filho.
37032
37033 2012-06-15 Cyril Hrubis <metan@ucw.cz>
37034
37035 * string/string.h: Add __wur to GNU version of strerror_r.
37036
37037 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
37038
37039 [BZ #14229]
37040 * string/Makefile (tests): Add tst-strtok_r.
37041 * string/tst-strtok_r.c: New file.
37042 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
37043 RAX_LP/RDX_LP on SAVE_PTR.
37044
37045 2012-06-14 Roland McGrath <roland@hack.frob.com>
37046
37047 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
37048
37049 2012-06-14 Joseph Myers <joseph@codesourcery.com>
37050
37051 * libm_test.inc (csqrt_test): Allow more spurious underflow
37052 exceptions.
37053 (j0_test): Likewise.
37054 (j1_test): Likewise.
37055 (y0_test): Likewise.
37056 (y1_test): Likewise.
37057
37058 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
37059
37060 * po/Makefile (libc.pot): Use UTF-8 charset.
37061
37062 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
37063
37064 [BZ #14210]
37065 Suppress sign-conversion warning from FD_SET.
37066 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
37067 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
37068 not unsigned long int.
37069 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
37070
37071 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
37072
37073 [BZ #14050]
37074 [BZ #14117]
37075 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
37076 __extern_always_inline instead of __extern_inline.
37077 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
37078 (__signbit): Likewise.
37079 (__signbitl): Support C++ namespace.
37080 (lrintf): New inline function.
37081 (lrint): Likewise.
37082 (llrintf): Likewise.
37083 (llrint): Likewise.
37084 (fmaxf): Likewise.
37085 (fmax): Likewise.
37086 (fminf): Likewise.
37087 (fmin): Likewise.
37088 (rint): Likewise.
37089 (rintf): Likewise.
37090 (ceil): Likewise.
37091 (ceilf): Likewise.
37092 (floor): Likewise.
37093 (floorf): Likewise.
37094 (nearbyint): Likewise.
37095 (nearbyintf): Likewise.
37096
37097 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
37098
37099 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
37100 non-default versions.
37101
37102 2012-06-11 Roland McGrath <roland@hack.frob.com>
37103
37104 [BZ #14218]
37105 * manual/argp.texi (Argp): Reword argp_parse description slightly.
37106
37107 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
37108
37109 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
37110 (FE_UPWARD, FE_DOWNWARD): Don't define.
37111 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
37112 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
37113
37114 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
37115 reading it.
37116 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
37117 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
37118
37119 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
37120
37121 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
37122 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
37123 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
37124 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
37125
37126 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
37127
37128 [BZ #14117]
37129 * sysdeps/i386/fpu/bits/fenv.h: Removed.
37130 * sysdeps/i386/fpu/Implies: New file.
37131 * sysdeps/x86_64/fpu/Implies: Likewise.
37132 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
37133 * sysdeps/x86/fpu/bits/fenv.h: This.
37134
37135 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
37136 __SSE_MATH__.
37137
37138 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
37139
37140 [BZ #14134]
37141 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
37142 character 0xffff that matches the last element of the
37143 conversion table.
37144
37145 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37146
37147 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
37148 fmodl commit.
37149
37150 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37151
37152 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
37153 values higher than 25.6283.
37154
37155 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37156
37157 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
37158 subnormal exponent extraction and add some __builtin_expect.
37159 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
37160 Fix for subnormal mantissa calculation.
37161
37162 2012-06-04 Mike Frysinger <vapier@gentoo.org>
37163
37164 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
37165 cpu2 is -1 and errno is not ENOSYS.
37166
37167 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
37168
37169 [BZ #14117]
37170 * sysdeps/i386/i486/bits/string.h: Renamed to ...
37171 * sysdeps/x86/bits/string.h: This.
37172 * sysdeps/x86_64/bits/string.h: Removed.
37173
37174 * sysdeps/i386/i486/bits/string.h: Define inline functions only
37175 if not compiling for x86-64, but compiling for >= i486.
37176
37177 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
37178 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
37179
37180 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
37181 New macro from Linux kernel 3.4.0.
37182 (FP_XSTATE_MAGIC2): Likewise.
37183 (FP_XSTATE_MAGIC2_SIZE): Likewise.
37184 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
37185 (struct _fpx_sw_bytes): New struct.
37186 (struct _xsave_hdr): Likewise.
37187 (struct _ymmh_state): Likewise.
37188 (struct _xstate): Likewise.
37189
37190 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
37191 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
37192 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
37193 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
37194 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
37195 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
37196
37197 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
37198 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
37199 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
37200 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
37201 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
37202 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
37203
37204 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
37205
37206 [BZ #13743]
37207 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
37208 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
37209 (sysdep_headers): Include sys/platform/ppc.h.
37210 * sysdeps/powerpc/test-gettimebase.c: Test for
37211 __ppc_get_timebase() to catch future ISA opcode/insn changes.
37212 * manual/Makefile (appendices): Include platform.texi.
37213 * manual/contrib.texi (Contributors): Update @node pointers.
37214 * manual/maint.texi (Maintenance): Likewise.
37215 (Platform): New node.
37216 * manual/platform.texi: New file. Document the new features.
37217
37218 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
37219 Jakub Jelinek <jakub@redhat.com>
37220
37221 [BZ #14188]
37222 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
37223 where __builtin_expect is unavailable.
37224
37225 2012-06-03 David S. Miller <davem@davemloft.net>
37226
37227 * stdlib/longlong.h: Updated from GCC.
37228
37229 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
37230
37231 [BZ #14042]
37232 * sysdeps/powerpc/powerpc32/mcount.c: New file.
37233 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
37234 __mcount_internal.
37235 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
37236 (GLIBC_2.16): Likewise.
37237
37238 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
37239
37240 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
37241
37242 2012-06-01 Joseph Myers <joseph@codesourcery.com>
37243
37244 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
37245 (default-abi): New variable.
37246 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
37247 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
37248 variable.
37249 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
37250 Likewise.
37251 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
37252 Likewise.
37253 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
37254 Likewise.
37255
37256 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
37257 definition. Document in comment.
37258
37259 2012-06-01 David S. Miller <davem@davemloft.net>
37260
37261 * stdlib/longlong.h: Updated from GCC.
37262
37263 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
37264
37265 [BZ #14117]
37266 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
37267 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
37268 sys/debugreg.h sys/io.h here.
37269 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
37270 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
37271 sys/io.h.
37272 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
37273 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
37274 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
37275 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
37276 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
37277 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
37278
37279 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
37280 Define only if __x86_64__ is defined.
37281
37282 2012-06-01 Joseph Myers <joseph@codesourcery.com>
37283
37284 [BZ #14048]
37285 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
37286 Use int64_t for variable i.
37287 * math/libm-test.inc (fmod_test): Add more tests.
37288
37289 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
37290 z computation is not scheduled after fetestexcept.
37291 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
37292 Use math_force_eval instead of asm to ensure calculation scheduled
37293 before exception test.
37294 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
37295 Ensure a1 + u.d computation is not scheduled after fetestexcept.
37296
37297 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
37298
37299 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
37300 computation is not scheduled after fetestexcept.
37301
37302 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
37303
37304 [BZ #14117]
37305 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
37306 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
37307
37308 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37309
37310 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
37311 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
37312
37313 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
37314
37315 [BZ #14117]
37316 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
37317 <bits/wordsize.h>.
37318 (__WCHAR_MIN): Support __WORDSIZE == 64.
37319 (__WCHAR_MAX): Likewise.
37320
37321 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
37322 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
37323
37324 [BZ #14183]
37325 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
37326 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
37327
37328 [BZ #14117]
37329 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
37330 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
37331
37332 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
37333 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
37334
37335 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
37336 Defined to 1 if __x86_64__ isn't defined.
37337 (_STAT_VER_LINUX_OLD): New.
37338 (st_atime): Remove duplicate.
37339 (st_mtime): Likewise.
37340 (st_ctime): Likewise.
37341
37342 2012-05-31 David S. Miller <davem@davemloft.net>
37343
37344 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
37345 entries.
37346
37347 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
37348
37349 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
37350 gen-libm-test.pl.
37351
37352 [BZ #14132]
37353 * elf/dl-reloc.c: Include <_itoa.h>.
37354 (_dl_reloc_bad_type): Remove use of INTUSE.
37355 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
37356 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
37357 * stdio-common/psiginfo.c (psiginfo): Likewise.
37358 * stdio-common/psignal.c (psignal): Likewise.
37359 * string/strsignal.c (strsignal): Likewise.
37360 * include/signal.h (_sys_siglist): Declare hidden proto.
37361 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
37362 INTVARDEF with libc_hidden_data_def.
37363 * stdio-common/itoa-udigits.c: Likewise.
37364 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
37365 (_itoa_lower_digits_internal): Remove declaration.
37366 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
37367 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
37368 (_sys_sigabbrev_internal): Remove aliases.
37369 (_sys_siglist): Define hidden alias.
37370
37371 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
37372
37373 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
37374 bits/sysctl.h.
37375
37376 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
37377
37378 [BZ #14117]
37379 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
37380 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
37381
37382 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
37383 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
37384 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
37385 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
37386 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
37387 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
37388
37389 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
37390 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
37391 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
37392
37393 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
37394 with __addr.
37395 (insw): Likewise.
37396 (insl): Likewise.
37397 (outsb): Likewise.
37398 (outsw): Likewise.
37399 (outsl): Likewise.
37400
37401 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
37402 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
37403 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
37404
37405 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
37406 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
37407 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
37408 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
37409 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
37410 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
37411
37412 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
37413 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
37414
37415 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
37416 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
37417
37418 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
37419 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
37420 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
37421
37422 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
37423 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
37424 to ...
37425 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
37426
37427 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
37428 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
37429 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
37430
37431 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
37432 for x86-64.
37433 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
37434
37435 2012-05-31 Joseph Myers <joseph@codesourcery.com>
37436
37437 * math/math.h (M_El): Use two more decimal places.
37438 (M_LOG2El): Likewise.
37439 (M_LOG10El): Likewise.
37440 (M_LN2l): Likewise.
37441 (M_LN10l): Likewise.
37442 (M_PIl): Likewise.
37443 (M_PI_2l): Likewise.
37444 (M_PI_4l): Likewise.
37445 (M_1_PIl): Likewise.
37446 (M_2_PIl): Likewise.
37447 (M_2_SQRTPIl): Likewise.
37448 (M_SQRT2l): Likewise.
37449 (M_SQRT1_2l): Likewise.
37450
37451 2012-05-31 David S. Miller <davem@davemloft.net>
37452
37453 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
37454 values between float registers.
37455 * sysdeps/sparc/sparc64/memset.S: Likewise.
37456 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
37457
37458 2012-05-31 Mike Frysinger <vapier@gentoo.org>
37459
37460 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
37461 -D_FORTIFY_SOURCE=1.
37462 (CPPFLAGS-tst-longjmp_chk.c): Define.
37463 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
37464 (CPPFLAGS-tst-longjmp_chk2.c): Define.
37465 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
37466 CFLAGS-tst-wchar-h.c.
37467
37468 2012-05-31 Marek Polacek <polacek@redhat.com>
37469
37470 [BZ #14132]
37471 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
37472 __endmntent_internal): Remove declaration.
37473 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
37474 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
37475 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
37476
37477 2012-05-30 David S. Miller <davem@davemloft.net>
37478
37479 * sysdeps/sparc/sparc32/soft-fp/q_util.c
37480 (___Q_simulate_exceptions): Use real FP ops rather than writing
37481 into the %fsr.
37482 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
37483 Likewise.
37484
37485 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
37486
37487 [BZ #14117]
37488 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
37489 * sysdeps/x86/bits/xtitypes.h: This.
37490
37491 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
37492 * sysdeps/x86/bits/wordsize.h: This.
37493
37494 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
37495 * sysdeps/x86/bits/huge_vall.h: This.
37496
37497 * sysdeps/i386/bits/select.h: Removed.
37498 * sysdeps/x86_64/bits/select.h: Renamed to ...
37499 * sysdeps/x86/bits/select.h: This.
37500
37501 * sysdeps/i386/bits/setjmp.h: Removed.
37502 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
37503 * sysdeps/x86/bits/setjmp.h: This.
37504
37505 * sysdeps/i386/bits/mathdef.h: Removed.
37506 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
37507 * sysdeps/x86/bits/mathdef.h: This.
37508
37509 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
37510
37511 [BZ #14132]
37512 * include/sys/socket.h (__connect_internal)
37513 (__libc_sa_len_internal): Remove declaration.
37514 (__connect, __libc_sa_len): Declare hidden_proto.
37515 (SA_LEN): Remove use of INTUSE.
37516 * socket/connect.c: Add libc_hidden_def.
37517 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
37518 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
37519 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
37520 alias.
37521 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
37522 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
37523 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
37524 of adding _internal alias.
37525
37526 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
37527
37528 [BZ #14117]
37529 * sysdeps/i386/bits/link.h: Removed.
37530 * sysdeps/i386/bits/linkmap.h: Likewise.
37531 * sysdeps/x86_64/bits/link.h: Renamed to ...
37532 * sysdeps/x86/bits/link.h: This.
37533 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
37534 * sysdeps/x86/bits/linkmap.h: This.
37535
37536 * sysdeps/i386/bits/endian.h: Removed.
37537 * sysdeps/x86_64/bits/endian.h: Renamed to ...
37538 * sysdeps/x86/bits/endian.h: This.
37539
37540 * sysdeps/i386/bits/byteswap.h: Removed.
37541 * sysdeps/i386/bits/byteswap-16.h: Likewise.
37542 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
37543 * sysdeps/x86/bits/byteswap.h: This.
37544 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
37545 * sysdeps/x86/bits/byteswap-16.h: This.
37546 * sysdeps/i386/Implies: Add x86.
37547 * sysdeps/x86_64/Implies: Likewise.
37548
37549 2012-05-30 David S. Miller <davem@davemloft.net>
37550
37551 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
37552 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
37553 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
37554 (FP_TRAPPING_EXCEPTIONS): Define.
37555 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
37556 (FP_TRAPPING_EXCEPTIONS): Define.
37557 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
37558 subnormals only when inexact has been signalled or underflow
37559 exceptions are enabled.
37560 (_FP_PACK_CANONICAL): Likewise.
37561
37562 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
37563
37564 [BZ #14183]
37565 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
37566 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
37567
37568 2012-05-30 Richard Henderson <rth@twiddle.net>
37569
37570 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
37571 with #ifndef NOT_IN_libc.
37572
37573 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
37574 marked to avoid plt entry.
37575
37576 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
37577
37578 [BZ #14112]
37579 * Makeconfig (default-abi): New macro.
37580 (abi-includes): Likewise.
37581 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
37582 $(abi-$(default-abi)-lib-soname) for soname if defined.
37583 ($(common-objpfx)gnu/lib-names.stmp): Generate from
37584 abi-variants.
37585 * Makefile (installed-stubs): Likewise.
37586 * include/stubs-biarch.h: Removed.
37587 * scripts/lib-names.awk: Only handle one library at a time.
37588 * scripts/soversions.awk: Remove WORDSIZE support.
37589 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
37590 entries.
37591 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
37592 Removed.
37593 (syscall-list-default-condition): Likewise.
37594 (syscall-list-default-condition): Likewise.
37595 (syscall-list-includes): Likewise.
37596 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
37597 syscall-list-* with abi-*. Handle undefined abi-variants.
37598 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
37599 * sysdeps/unix/sysv/linux/i386/Implies: New file.
37600 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
37601 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
37602 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
37603 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
37604 Removed.
37605 (syscall-list-32-options): Likewise.
37606 (syscall-list-32-condition): Likewise.
37607 (syscall-list-64-options): Likewise.
37608 (syscall-list-64-condition): Likewise.
37609 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
37610 macro.
37611 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
37612 Renamed to ...
37613 (abi-*): This.
37614 (abi-64-ld-soname): New macro.
37615 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
37616 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
37617 Renamed to ...
37618 (abi-*): This.
37619 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
37620 * sysdeps/x86_64/x32/shlib-versions: Likewise.
37621
37622 2012-05-30 Joseph Myers <joseph@codesourcery.com>
37623
37624 * sysdeps/unix/sysv/linux/kernel-features.h
37625 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
37626 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
37627 include <kernel-features.h>.
37628 [!__NR_ftruncate64]: Remove conditional code.
37629 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
37630 [__NR_ftruncate64]: Make code unconditional.
37631 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
37632 * sysdeps/unix/sysv/linux/truncate64.c: Do not
37633 include <kernel-features.h>.
37634 [!__NR_ftruncate64]: Remove conditional code.
37635 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
37636 [__NR_ftruncate64]: Make code unconditional.
37637 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
37638 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
37639 include <kernel-features.h>.
37640 [!__NR_ftruncate64]: Remove conditional code.
37641 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
37642 [__NR_ftruncate64]: Make code unconditional.
37643 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
37644 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
37645 include <kernel-features.h>.
37646 [!__NR_ftruncate64]: Remove conditional code.
37647 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
37648 [__NR_ftruncate64]: Make code unconditional.
37649 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
37650
37651 * configure.in (libc_cv_fpie): Weaken to a compile test using
37652 LIBC_TRY_CC_OPTION.
37653 * configure: Regenerated.
37654
37655 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37656
37657 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
37658 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
37659 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
37660 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
37661 Refreshed.
37662 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
37663 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
37664 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
37665 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
37666 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
37667 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
37668 Refreshed.
37669
37670 2012-05-27 David S. Miller <davem@davemloft.net>
37671
37672 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
37673 (___Q_zero): New.
37674 (__Q_simulate_exceptions): Return void. Change to simulate
37675 exceptions by writing into the %fsr.
37676 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
37677 (__Qp_handle_exceptions): Likewise.
37678 (numbers): Delete.
37679 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
37680 __Qp_handle_exceptions.
37681 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
37682 __Qp_handle_exceptions.
37683 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
37684 as unused and give dummy FP_RND_NEAREST initializer.
37685 (FP_INHIBIT_RESULTS): Define.
37686 (___Q_simulate_exceptions): Update declaration.
37687 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
37688 formatting.
37689 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
37690 as unused and give dummy FP_RND_NEAREST initializer.
37691 (__Qp_handle_exceptions): Update declaration.
37692 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
37693 formatting.
37694
37695 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
37696
37697 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
37698 the temporary FPU control word.
37699 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
37700 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
37701 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
37702 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
37703 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
37704 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
37705 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
37706 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
37707 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
37708 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
37709 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
37710
37711 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
37712
37713 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
37714 fields.
37715
37716 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
37717
37718 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
37719 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
37720 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
37721 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
37722 Likewise.
37723 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
37724 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
37725 Likewise.
37726
37727 2012-05-27 Ulrich Drepper <drepper@gmail.com>
37728
37729 * po/h.po: Update from translation team.
37730
37731 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
37732
37733 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
37734
37735 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
37736 handling of denormals.
37737 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
37738 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
37739 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
37740 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
37741 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
37742 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
37743 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
37744 Likewise.
37745
37746 2012-05-26 Marek Polacek <polacek@redhat.com>
37747
37748 [BZ #14152]
37749 * math/libm-test.inc (fma_test): Don't always expect underflow
37750 exception.
37751
37752 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
37753
37754 [BZ #12416]
37755 * elf/tst-execstack.c: Include stackinfo.h.
37756 (do_test): Adjust test case to ensure that pthread_getattr_np
37757 behaviour remains the same after marking stack executable.
37758
37759 2012-05-25 Joseph Myers <joseph@codesourcery.com>
37760
37761 * sysdeps/unix/sysv/linux/kernel-features.h
37762 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
37763 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
37764 kernel-features.h.
37765 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
37766 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
37767 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
37768 kernel-features.h.
37769 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
37770 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
37771
37772 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
37773
37774 * configure.in: Define the default includes to being none.
37775 * configure: Regenerated.
37776
37777 2012-05-25 Roland McGrath <roland@hack.frob.com>
37778
37779 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
37780 * sysdeps/x86_64/setjmp.S: Likewise.
37781 * sysdeps/i386/bsd-setjmp.S: Likewise.
37782 * sysdeps/i386/bsd-_setjmp.S: Likewise.
37783 * sysdeps/i386/setjmp.S: Likewise.
37784 * sysdeps/i386/__longjmp.S: Likewise.
37785 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
37786 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
37787
37788 * include/stap-probe.h: New file.
37789 * configure.in: Handle --enable-systemtap.
37790 * configure: Regenerated.
37791 * config.h.in (USE_STAP_PROBE): New #undef.
37792 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
37793 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
37794 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
37795
37796 2012-05-25 Joseph Myers <joseph@codesourcery.com>
37797
37798 [BZ #13717]
37799 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
37800 to 2.4.0 where earlier.
37801 * sysdeps/unix/sysv/linux/configure: Regenerated.
37802 * sysdeps/unix/sysv/linux/i386/chown.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/fchown.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/fchownat.c (fchownat)
37811 [__ASSUME_32BITUIDS]: Make code unconditional.
37812 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
37813 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
37814 <kernel-features.h>.
37815 [__ASSUME_32BITUIDS]: Make code unconditional.
37816 [!__ASSUME_32BITUIDS]: Remove conditional code.
37817 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
37818 <kernel-features.h>.
37819 [__ASSUME_32BITUIDS]: Make code unconditional.
37820 [!__ASSUME_32BITUIDS]: Remove conditional code.
37821 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
37822 <kernel-features.h>.
37823 [__ASSUME_32BITUIDS]: Make code unconditional.
37824 [!__ASSUME_32BITUIDS]: Remove conditional code.
37825 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
37826 <kernel-features.h>.
37827 [__ASSUME_32BITUIDS]: Make code unconditional.
37828 [!__ASSUME_32BITUIDS]: Remove conditional code.
37829 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
37830 <kernel-features.h>.
37831 [__ASSUME_32BITUIDS]: Make code unconditional.
37832 [!__ASSUME_32BITUIDS]: Remove conditional code.
37833 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
37834 <kernel-features.h>.
37835 [__ASSUME_32BITUIDS]: Make code unconditional.
37836 [!__ASSUME_32BITUIDS]: Remove conditional code.
37837 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
37838 <kernel-features.h>.
37839 [__ASSUME_32BITUIDS]: Make code unconditional.
37840 [!__ASSUME_32BITUIDS]: Remove conditional code.
37841 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
37842 <kernel-features.h>.
37843 [__ASSUME_32BITUIDS]: Make code unconditional.
37844 [!__ASSUME_32BITUIDS]: Remove conditional code.
37845 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
37846 <kernel-features.h>.
37847 [__ASSUME_32BITUIDS]: Make code unconditional.
37848 [!__ASSUME_32BITUIDS]: Remove conditional code.
37849 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
37850 <kernel-features.h>.
37851 [__ASSUME_32BITUIDS]: Make code unconditional.
37852 [!__ASSUME_32BITUIDS]: Remove conditional code.
37853 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
37854 <kernel-features.h>.
37855 [__NR_setresgid] (__setresgid): Do not declare.
37856 [__ASSUME_32BITUIDS]: Make code unconditional.
37857 [!__ASSUME_32BITUIDS]: Remove conditional code.
37858 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
37859 <kernel-features.h>.
37860 [__NR_setresuid] (__setresuid): Do not declare.
37861 [__ASSUME_32BITUIDS]: Make code unconditional.
37862 [!__ASSUME_32BITUIDS]: Remove conditional code.
37863 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
37864 <kernel-features.h>.
37865 [__ASSUME_32BITUIDS]: Make code unconditional.
37866 [!__ASSUME_32BITUIDS]: Remove conditional code.
37867 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
37868 <kernel-features.h>.
37869 [__ASSUME_32BITUIDS]: Make code unconditional.
37870 [!__ASSUME_32BITUIDS]: Remove conditional code.
37871 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
37872 <kernel-features.h>.
37873 [__ASSUME_32BITUIDS]: Make code unconditional.
37874 [!__ASSUME_32BITUIDS]: Remove conditional code.
37875 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
37876 <kernel-features.h>.
37877 [__ASSUME_32BITUIDS]: Make code unconditional.
37878 [!__ASSUME_32BITUIDS]: Remove conditional code.
37879 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
37880 <kernel-features.h>.
37881 [__ASSUME_32BITUIDS]: Make code unconditional.
37882 [!__ASSUME_32BITUIDS]: Remove conditional code.
37883 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
37884 <kernel-features.h>.
37885 [__ASSUME_32BITUIDS]: Make code unconditional.
37886 [!__ASSUME_32BITUIDS]: Remove conditional code.
37887 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
37888 <kernel-features.h>.
37889 [__ASSUME_32BITUIDS]: Make code unconditional.
37890 [!__ASSUME_32BITUIDS]: Remove conditional code.
37891 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
37892 <kernel-features.h>.
37893 [__ASSUME_32BITUIDS]: Make code unconditional.
37894 [!__ASSUME_32BITUIDS]: Remove conditional code.
37895 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
37896 <kernel-features.h>.
37897 [__ASSUME_32BITUIDS]: Make code unconditional.
37898 [!__ASSUME_32BITUIDS]: Remove conditional code.
37899 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
37900 <kernel-features.h>.
37901 [__ASSUME_32BITUIDS]: Make code unconditional.
37902 [!__ASSUME_32BITUIDS]: Remove conditional code.
37903 * sysdeps/unix/sysv/linux/kernel-features.h
37904 (__ASSUME_SETRESUID_SYSCALL): Remove.
37905 (__ASSUME_SETRESGID_SYSCALL): Likewise.
37906 (__ASSUME_32BITUIDS): Likewise.
37907 (__ASSUME_LDT_WORKS): Likewise.
37908 (__ASSUME_O_DIRECTORY): Likewise.
37909 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
37910 architecture but not kernel version.
37911 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
37912 (__ASSUME_MMAP2_SYSCALL): Likewise.
37913 (__ASSUME_STAT64_SYSCALL): Likewise.
37914 (__ASSUME_IPC64): Likewise.
37915 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
37916 <kernel-features.h>.
37917 [__ASSUME_32BITUIDS]: Make code unconditional.
37918 [!__ASSUME_32BITUIDS]: Remove conditional code.
37919 * sysdeps/unix/sysv/linux/opendir.c: Do not include
37920 <kernel-features.h>.
37921 [__ASSUME_O_DIRECTORY]: Make code unconditional.
37922 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
37923 132096]: Remove conditional code.
37924 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
37925 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
37926 <kernel-features.h>.
37927 [__ASSUME_32BITUIDS]: Make code unconditional.
37928 [!__ASSUME_32BITUIDS]: Remove conditional code.
37929 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
37930 <kernel-features.h>.
37931 [__ASSUME_32BITUIDS]: Make code unconditional.
37932 [!__ASSUME_32BITUIDS]: Remove conditional code.
37933 * sysdeps/unix/sysv/linux/setegid.c: Do not include
37934 <kernel-features.h>.
37935 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
37936 unconditional.
37937 (__setresgid): Do not declare.
37938 [__ASSUME_32BITUIDS]: Make code unconditional.
37939 [!__ASSUME_32BITUIDS]: Remove conditional code.
37940 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
37941 <kernel-features.h>.
37942 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
37943 unconditional.
37944 (__setresuid): Do not declare.
37945 [__ASSUME_32BITUIDS]: Make code unconditional.
37946 [!__ASSUME_32BITUIDS]: Remove conditional code.
37947 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
37948 <kernel-features.h>.
37949 [__ASSUME_32BITUIDS]: Make code unconditional.
37950 [!__ASSUME_32BITUIDS]: Remove conditional code.
37951 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
37952 <kernel-features.h>.
37953 [__ASSUME_32BITUIDS]: Make code unconditional.
37954 [!__ASSUME_32BITUIDS]: Remove conditional code.
37955
37956 2012-05-25 Richard Henderson <rth@twiddle.net>
37957
37958 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
37959 dl_hwcap to ifunc resolver.
37960 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
37961 elf_ifunc_invoke.
37962 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
37963 dl_hwcap to ifunc resolver.
37964 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
37965
37966 2012-05-24 Joseph Myers <joseph@codesourcery.com>
37967
37968 [BZ #14153]
37969 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
37970 for |x| <= 2**-26, not 2**-57.
37971 * math/libm-test.inc (acos_test): Do not allow spurious underflow
37972 exception.
37973
37974 2012-05-24 Jeff Law <law@redhat.com>
37975
37976 * stdio-common/Makefile (tests): Add bug25.
37977 * stdio-common/bug25.c: New test.
37978
37979 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
37980
37981 [BZ #13576]
37982 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
37983 multiple of MALLOC_ALIGNMENT in size.
37984 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
37985
37986 2012-05-24 Joseph Myers <joseph@codesourcery.com>
37987
37988 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
37989 Require >= 256.
37990 (FILENAME_MAX): Use macro-int-constant.
37991 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
37992 (_IOFBF): Use macro-int-constant.
37993 (_IOLBF): Likewise.
37994 (_IONBF): Likewise.
37995 (SEEK_CUR): Likewise.
37996 (SEEK_END): Likewise.
37997 (SEEK_SET): Likewise.
37998 (TMP_MAX): Likewise.
37999 (EOF): Use macro-int-constant. Require < 0.
38000 (NULL): Use macro-constant. Require == 0.
38001 (stdin): Require type to be FILE *.
38002 (stdout): Likewise.
38003 (stderr): Likewise.
38004 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
38005 macro-int-constant.
38006 (EXIT_SUCCESS): Likewise.
38007 (NULL): Use macro-constant. Require == 0.
38008 (RAND_MAX): Use macro-int-constant.
38009 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
38010 [C99-based standards] (strtof): Require function.
38011 [C99-based standards] (strtold): Likewise.
38012 [C99-based standards] (strtoll): Likewise.
38013 [C99-based standards] (strtoull): Likewise.
38014 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
38015 [ISO || ISO99 || ISO11] (limits.h): Likewise.
38016 [ISO || ISO99 || ISO11] (math.h): Likewise.
38017 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
38018 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
38019 [ISO || ISO99 || ISO11] (*_t): Do not allow.
38020
38021 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
38022
38023 [BZ #14132]
38024 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
38025 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
38026 * intl/dgettext.c (DCGETTEXT): Likewise.
38027 * intl/gettext.c (DCGETTEXT): Likewise.
38028 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
38029 * posix/regex_internal.h (gettext): Likewise.
38030 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
38031 Remove declaration.
38032 * include/argz.h (__argz_count_internal)
38033 (__argz_stringify_internal): Remove declaration.
38034 (__argz_count, __argz_stringify): Declare hidden proto.
38035 * intl/dcgettext.c: Remove use of INTDEF.
38036 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
38037 * string/argz-stringify.c: Likewise.
38038 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
38039 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
38040 Declare hidden proto.
38041 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
38042 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
38043 Declare hidden proto.
38044 * include/stdio.h (__asprintf_internal): Don't declare.
38045 (__asprintf): Don't define as macro. Declare hidden proto.
38046 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
38047 (__fsetlocking): Declare hidden proto.
38048 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
38049 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
38050 hidden proto.
38051 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
38052 (_IO_setlinebuf): Remove use of INTUSE.
38053 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
38054 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
38055 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
38056 Remove declaration.
38057 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
38058 (_IO_do_flush): Remove use of INTUSE.
38059 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
38060 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
38061 (_IO_adjust_column, _IO_least_wmarker)
38062 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
38063 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
38064 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
38065 (_IO_default_doallocate, _IO_wdefault_doallocate)
38066 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
38067 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
38068 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
38069 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
38070 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
38071 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
38072 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
38073 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
38074 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
38075 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
38076 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
38077 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
38078 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
38079 proto.
38080 (_IO_flush_all_internal, _IO_adjust_column_internal)
38081 (_IO_default_uflow_internal, _IO_default_finish_internal)
38082 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
38083 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
38084 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
38085 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
38086 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
38087 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
38088 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
38089 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
38090 (_IO_file_close_internal, _IO_file_close_it_internal)
38091 (_IO_file_underflow_internal, _IO_file_overflow_internal)
38092 (_IO_file_init_internal, _IO_file_attach_internal)
38093 (_IO_file_fopen_internal, _IO_file_read_internal)
38094 (_IO_file_sync_internal, _IO_file_seek_internal)
38095 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
38096 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
38097 (_IO_str_underflow_internal, _IO_str_overflow_internal)
38098 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
38099 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
38100 (_IO_list_all_internal, _IO_link_in_internal)
38101 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
38102 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
38103 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
38104 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
38105 (_IO_do_write_internal, _IO_padn_internal)
38106 (_IO_getline_info_internal, _IO_getline_internal)
38107 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
38108 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
38109 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
38110 (_IO_vfscanf_internal, _IO_vfprintf_internal)
38111 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
38112 (_IO_init_internal, _IO_un_link_internal): Don't declare.
38113 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
38114 with libc_hidden_ver, remove use of INTUSE.
38115 * libio/genops.c: Likewise.
38116 * libio/freopen.c: Likewise.
38117 * libio/freopen64.c: Likewise.
38118 * libio/iofclose.c: Likewise.
38119 * libio/iofdopen.c: Likewise.
38120 * libio/iofflush.c: Likewise.
38121 * libio/iofflush_u.c: Likewise.
38122 * libio/iofgets.c: Likewise.
38123 * libio/iofgets_u.c: Likewise.
38124 * libio/iofopen.c: Likewise.
38125 * libio/iofopncook.c: Likewise.
38126 * libio/iofread.c: Likewise.
38127 * libio/iofread_u.c: Likewise.
38128 * libio/ioftell.c: Likewise.
38129 * libio/iofwrite.c: Likewise.
38130 * libio/iogetline.c: Likewise.
38131 * libio/iogets.c: Likewise.
38132 * libio/iogetwline.c: Likewise.
38133 * libio/iopadn.c: Likewise.
38134 * libio/iopopen.c: Likewise.
38135 * libio/ioseekoff.c: Likewise.
38136 * libio/ioseekpos.c: Likewise.
38137 * libio/iosetbuffer.c: Likewise.
38138 * libio/iosetvbuf.c: Likewise.
38139 * libio/ioungetc.c: Likewise.
38140 * libio/ioungetwc.c: Likewise.
38141 * libio/iovdprintf.c: Likewise.
38142 * libio/iovsprintf.c: Likewise.
38143 * libio/iovsscanf.c: Likewise.
38144 * libio/memstream.c: Likewise.
38145 * libio/obprintf.c: Likewise.
38146 * libio/oldfileops.c: Likewise.
38147 * libio/oldiofclose.c: Likewise.
38148 * libio/oldiofdopen.c: Likewise.
38149 * libio/oldiofopen.c: Likewise.
38150 * libio/oldiopopen.c: Likewise.
38151 * libio/oldstdfiles.c: Likewise.
38152 * libio/putc.c: Likewise.
38153 * libio/setbuf.c: Likewise.
38154 * libio/setlinebuf.c: Likewise.
38155 * libio/stdfiles.c: Likewise.
38156 * libio/strops.c: Likewise.
38157 * libio/vasprintf.c: Likewise.
38158 * libio/vscanf.c: Likewise.
38159 * libio/vsnprintf.c: Likewise.
38160 * libio/vswprintf.c: Likewise.
38161 * libio/wfiledoalloc.c: Likewise.
38162 * libio/wfileops.c: Likewise.
38163 * libio/wgenops.c: Likewise.
38164 * libio/wmemstream.c: Likewise.
38165 * libio/wstrops.c: Likewise.
38166 * libio/__fpurge.c: Likewise.
38167 * libio/__fsetlocking.c: Likewise.
38168 * assert/assert.c: Likewise.
38169 * debug/fgets_chk.c: Likewise.
38170 * debug/fgets_u_chk.c: Likewise.
38171 * debug/fread_chk.c: Likewise.
38172 * debug/fread_u_chk.c: Likewise.
38173 * debug/gets_chk.c: Likewise.
38174 * debug/obprintf_chk.c: Likewise.
38175 * debug/vasprintf_chk.c: Likewise.
38176 * debug/vdprintf_chk.c: Likewise.
38177 * debug/vsnprintf_chk.c: Likewise.
38178 * debug/vsprintf_chk.c: Likewise.
38179 * malloc/mtrace.c: Likewise.
38180 * misc/error.c: Likewise.
38181 * misc/syslog.c: Likewise.
38182 * stdio-common/asprintf.c: Likewise.
38183 * stdio-common/fxprintf.c: Likewise.
38184 * stdio-common/getw.c: Likewise.
38185 * stdio-common/isoc99_fscanf.c: Likewise.
38186 * stdio-common/isoc99_scanf.c: Likewise.
38187 * stdio-common/isoc99_vfscanf.c: Likewise.
38188 * stdio-common/isoc99_vscanf.c: Likewise.
38189 * stdio-common/isoc99_vsscanf.c: Likewise.
38190 * stdio-common/printf-prs.c: Likewise.
38191 * stdio-common/printf_fp.c: Likewise.
38192 * stdio-common/printf_fphex.c: Likewise.
38193 * stdio-common/printf_size.c: Likewise.
38194 * stdio-common/putw.c: Likewise.
38195 * stdio-common/scanf.c: Likewise.
38196 * stdio-common/sprintf.c: Likewise.
38197 * stdio-common/tmpfile.c: Likewise.
38198 * stdio-common/vfprintf.c: Likewise.
38199 * stdio-common/vfscanf.c: Likewise.
38200 * stdlib/strfmon_l.c: Likewise.
38201 * sunrpc/openchild.c: Likewise.
38202 * sunrpc/xdr_stdio.c: Likewise.
38203 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
38204 * sysdeps/mach/hurd/tmpfile.c: Likewise.
38205
38206 2012-05-24 Roland McGrath <roland@hack.frob.com>
38207
38208 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
38209
38210 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
38211 in the third column, to generate for the shared library an IFUNC
38212 that uses _dl_vdso_vsym.
38213 * Makerules (COMPILE.c, compile-stdin.c): New variables.
38214 * Makeconfig (object-suffixes-noshared): New variable.
38215
38216 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
38217 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
38218 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
38219 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
38220
38221 [BZ #14132]
38222 * include/sys/time.h (__gettimeofday): Remove macro.
38223 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
38224 * time/gettimeofday.c (__gettimeofday): Remove #undef.
38225 Remove INTDEF.
38226 (__gettimeofday): Add libc_hidden_def.
38227 (gettimeofday): Add libc_hidden_weak.
38228 * sysdeps/mach/gettimeofday.c: Likewise.
38229 * sysdeps/posix/gettimeofday.c: Likewise.
38230 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
38231 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
38232 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
38233 (__gettimeofday_internal): Remove strong_alias.
38234 (__gettimeofday): Add libc_hidden_def.
38235 (gettimeofday): Add libc_hidden_weak.
38236 * sysdeps/unix/syscalls.list (gettimeofday):
38237 Remove __gettimeofday_internal alias.
38238
38239 2012-05-24 Daniel Jacobowitz <drow@false.org>
38240 H.J. Lu <hongjiu.lu@intel.com>
38241
38242 [BZ #12495]
38243 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
38244 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
38245 (largebin_index_32_big): New.
38246 (largebin_index): Use it for 16-byte alignment.
38247 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
38248 correction with front_misalign.
38249
38250 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
38251
38252 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
38253 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
38254 Likewise.
38255 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
38256 Likewise.
38257 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
38258 Likewise.
38259 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
38260 Likewise.
38261 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
38262 Likewise.
38263 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
38264 Likewise.
38265 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
38266 Likewise.
38267 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
38268 Likewise.
38269 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
38270 Likewise.
38271 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
38272 Likewise.
38273 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
38274 Likewise.
38275 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
38276 Likewise.
38277
38278 * scripts/data/c++-types-x32-linux-gnu.data: New file.
38279 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
38280
38281 2012-05-24 Joseph Myers <joseph@codesourcery.com>
38282
38283 [BZ #10846]
38284 [BZ #14036]
38285 * math/libm-test.inc (exp_test): Add test from bug 14036.
38286 (pow_test): Add test from bug 10846.
38287
38288 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
38289 and other flags.
38290 (special_function): Do not include flags in test name.
38291 (parse_args): Likewise.
38292 * sysdeps/i386/fpu/libm-test-ulps: Update.
38293 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
38294 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
38295 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
38296 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38297
38298 * math/gen-libm-test.pl (%beautify): Add entries for underflow
38299 exceptions.
38300 * math/libm-test.inc ("Philosophy"): Update comment about
38301 exception testing.
38302 (UNDERFLOW_EXCEPTION): New macro.
38303 (UNDERFLOW_EXCEPTION_OK): Likewise.
38304 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
38305 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
38306 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
38307 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
38308 (INVALID_EXCEPTION_OK): Update value.
38309 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
38310 (OVERFLOW_EXCEPTION_OK): Likewise.
38311 (IGNORE_ZERO_INF_SIGN): Likewise.
38312 (test_exceptions): Handle underflow exceptions.
38313 (acos_test): Update for underflow exception expectations.
38314 (cexp_test): Likewise.
38315 (clog_test): Likewise.
38316 (clog10_test): Likewise.
38317 (csqrt_test): Likewise.
38318 (ctan_test): Likewise.
38319 (ctanh_test): Likewise.
38320 (exp_test): Likewise.
38321 (exp10_test): Likewise.
38322 (exp2_test): Likewise.
38323 (expm1_test): Likewise.
38324 (fma_test): Likewise.
38325 (j0_test): Likewise.
38326 (jn_test): Likewise.
38327 (nexttoward_test): Likewise.
38328 (pow_test): Likewise.
38329 (scalbn_test): Likewise.
38330 (scalbln_test): Likewise.
38331 (tan_test): Likewise.
38332 (y1_test): Likewise.
38333 * sysdeps/i386/fpu/libm-test-ulps: Update.
38334 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38335
38336 2012-05-23 David S. Miller <davem@davemloft.net>
38337
38338 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
38339 (__libc_sigaction): Remove unused local variables.
38340
38341 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
38342
38343 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
38344
38345 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
38346
38347 mktime: avoid signed integer overflow
38348 * time/mktime.c (__mktime_internal): Do not mishandle the case
38349 where diff == INT_MIN.
38350
38351 mktime: simplify computation of average
38352 * time/mktime.c (ranged_convert): Use new time_t_avg function
38353 instead of rolling our own (probably-slower) code.
38354
38355 mktime: do not assume signed right shift propagates sign bit
38356 * time/mktime.c (isdst_differ): New static function.
38357 (__mktime_internal): No need to normalize tm_isdst now.
38358 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
38359 tm_isdst values.
38360
38361 mktime: merge another wrapv change from gnulib
38362 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
38363 from some compilers.
38364
38365 mktime: remove incorrect attempt at unusual arithmetics
38366 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
38367 The code didn't really work on such machines anyway.
38368 (TYPE_MINIMUM): Assume two's complement.
38369 (twos_complement_arithmetic): Verify that long_int and time_t
38370 are two's complement (or unsigned, in the latter case).
38371
38372 mktime: check signed shifts on long_int and time_t, too
38373 * time/mktime.c (SHR): Check that shifts work as desired
38374 on the types long_int and time_t too, as SHR is used on
38375 such types.
38376
38377 mktime: do not assume 'long' is wide enough
38378 * time/mktime.c (verify): Move decl up.
38379 (long_int): New type.
38380 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
38381 to remove assumption in the code that 'long' is wide enough to
38382 store year values. This assumption is not true on x32 and on
38383 some non-glibc platforms.
38384
38385 mktime: merge wrapv change from gnulib
38386 * time/mktime.c (WRAPV): New macro.
38387 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
38388 (guess_time_tm, __mktime_internal): Do not assume that signed
38389 integer overflow wraps around; modern compilers generate code
38390 where this assumption is no longer valid.
38391
38392 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
38393
38394 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
38395 Replace "jmp L(pseudo_end)" with "ret".
38396 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
38397 Likewise.
38398
38399 2012-05-23 Andreas Jaeger <aj@suse.de>
38400
38401 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
38402 * sysdeps/unix/sysv/linux/poll.c: Remove file.
38403
38404 2012-05-23 Andreas Jaeger <aj@suse.de>
38405 Maximilian Attems <max@stro.at>
38406
38407 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
38408 New macros.
38409
38410 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
38411
38412 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
38413 code so that pseudo_end is just ret and the stack pointer is
38414 correct also for static library in error case.
38415
38416 2012-05-23 Joseph Myers <joseph@codesourcery.com>
38417
38418 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
38419 move to syscalls.list.
38420 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
38421 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
38422 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
38423 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
38424
38425 * manual/install.texi (Running make install): Do not mention Linux
38426 kernel version for which pt_chown is not needed.
38427 (Linux): Do not mention problems with nscd with 2.0 kernels.
38428 * INSTALL: Regenerated.
38429
38430 2012-05-23 Andreas Jaeger <aj@suse.de>
38431
38432 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
38433 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
38434 macro.
38435 * sysdeps/unix/sysv/linux/s390/bits/mman.h
38436 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
38437 * sysdeps/unix/sysv/linux/sh/bits/mman.h
38438 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
38439 * sysdeps/unix/sysv/linux/i386/bits/mman.h
38440 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
38441 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
38442 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
38443 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
38444 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
38445 * sysdeps/unix/sysv/linux/bits/in.h
38446 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
38447
38448 2012-05-22 Roland McGrath <roland@hack.frob.com>
38449
38450 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
38451 (PREPARE_VERSION): Just use assert instead, it will be elided
38452 under [NDEBUG] anyway.
38453
38454 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
38455
38456 * sysdeps/unix/sysv/linux/Makefile: Include
38457 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
38458 (sysdep_routines): Remove sysctl.
38459 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
38460 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
38461 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
38462 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
38463 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
38464
38465 2012-05-22 Andreas Jaeger <aj@suse.de>
38466
38467 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
38468 that pseudo_end is just ret and the stack pointer is correct also
38469 for static library in error case.
38470
38471 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
38472
38473 [BZ #14122]
38474 * nss/nsswitch.c (defconfig_entries): New variable.
38475 (__nss_database_lookup): Don't leak defconfig entries.
38476 (nss_parse_service_list): Don't leak on error paths.
38477 (free_database_entries): New function.
38478 (free_defconfig): New function.
38479 (free_mem): Move common code to free_database_entries.
38480
38481 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
38482
38483 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
38484 Add arch_prctl.
38485 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
38486
38487 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
38488 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
38489 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
38490 New macro.
38491 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
38492 (INTERNAL_SYSCALL_TYPES): Likewise.
38493 (LOAD_ARGS_TYPES_[1-6]): Likewise.
38494 (LOAD_REGS_TYPES_[1-6]): Likewise.
38495 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
38496 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
38497
38498 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38499
38500 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
38501 copysignl for GLIBC_2_0.
38502 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
38503 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
38504 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
38505 logbl for GLIBC_2_0.
38506 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
38507 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
38508
38509 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
38510
38511 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
38512 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
38513
38514 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
38515 Use "neg %eax".
38516
38517 * time/mktime.c: Update copyright years.
38518
38519 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
38520
38521 mktime: merge comment-quoting-style change from gnulib
38522 * time/mktime.c: Quote 'like this' in comments.
38523 The GNU coding standards suggest that we no longer quote `like this',
38524 as "`" and "'" are typically rendered asymmetrically nowadays.
38525 The typical gnulib style is to quote 'like this' when quoting
38526 code, and "like this" when quoting English.
38527
38528 * time/mktime.c (compile-command): Add "-I.".
38529
38530 mktime: merge mktime-internal.h change from gnulib
38531 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
38532
38533 mktime: merge time_r change from gnulib
38534 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
38535
38536 mktime: merge DEBUG change from gnulib
38537 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
38538 case system <time.h> has a #define.
38539
38540 mktime: merge <sys/types.h> change from gnulib
38541 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
38542 since <time.t> is now guaranteed to define time_t.
38543
38544 mktime: merge HAVE_CONFIG_H change from gnulib
38545 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
38546
38547 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
38548
38549 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
38550 Use "neg %eax".
38551
38552 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
38553 __rlim_t cast.
38554 (struct rusage): Use anonymous union to pad each field to
38555 __syscall_slong_t.
38556
38557 2012-05-21 David S. Miller <davem@davemloft.net>
38558
38559 * Makefules (o-iterator): Remove .s cases.
38560 (compile-command.s): Delete.
38561 (COMPILE.s): Delete.
38562 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
38563
38564 2012-05-21 Joseph Myers <joseph@codesourcery.com>
38565
38566 * configure.in (libc_cv_predef_stack_protector): Only consider
38567 "foobar" and "__stack_chk_fail" lines in libc_undefs.
38568 * configure: Regenerated.
38569
38570 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
38571
38572 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
38573 New macro. Use R*LP on int and pointer.
38574 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
38575 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
38576 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
38577 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
38578
38579 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
38580 [__WORDSIZE_TIME64_COMPAT32] instead of
38581 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
38582 (struct utmp): Likewise.
38583 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
38584 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
38585 Renamed to ...
38586 (__WORDSIZE_TIME64_COMPAT32): This.
38587 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
38588 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
38589 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
38590 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
38591 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
38592 (__WORDSIZE_TIME64_COMPAT32): New macro.
38593
38594 2012-05-21 Andreas Jaeger <aj@suse.de>
38595
38596 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
38597 only if [SHARED]. Add prototype for __wcschr_ia32.
38598
38599 2012-05-21 Roland McGrath <roland@hack.frob.com>
38600
38601 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
38602 of %rbp unmolested in the jmp_buf while mangling the low bits.
38603 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
38604 unmolested high bits of %rbp while demangling the low bits.
38605 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
38606
38607 2012-05-21 Andreas Jaeger <aj@suse.de>
38608
38609 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
38610 * sunrpc/svc_simple.c: Use it for registerrpc.
38611 * sunrpc/xcrypt.c: Use it for passwd2des.
38612
38613 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
38614
38615 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
38616
38617 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
38618 Don't define if [__SYSCALL_WORDSIZE != 32].
38619 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
38620 New macro.
38621
38622 2012-05-21 Bruno Haible <bruno@clisp.org>
38623 Andreas Jaeger <aj@suse.de>
38624
38625 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
38626 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
38627 inptr and inend for must_buffer_ch.
38628 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
38629 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
38630 * stdio-common/Makefile (tests): Remove bug15.
38631 (bug15-ENV): Remove macro.
38632 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
38633 anymore.
38634
38635 2012-05-19 Andreas Jaeger <aj@suse.de>
38636 Roland McGrath <roland@hack.frob.com>
38637
38638 * manual/contrib.texi: Completely rewritten. It contains now an
38639 alphabetical list of contributors and their contributions.
38640
38641 2012-05-21 Richard Henderson <rth@twiddle.net>
38642
38643 * misc/getauxval.c (__getauxval): Use unsigned long int.
38644 * misc/sys/auxv.h: Include <sys/cdefs.h>.
38645 (getauxval): Use unsigned long int.
38646
38647 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
38648
38649 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
38650
38651 2012-05-21 Roland McGrath <roland@hack.frob.com>
38652
38653 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
38654 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
38655 __alignof__ (long double).
38656
38657 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38658
38659 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38660
38661 2012-05-20 Richard Henderson <rth@twiddle.net>
38662
38663 * misc/getauxval.c: New file.
38664 * misc/sys/auxv.h: New file.
38665 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
38666 (routines): Add getauxval.
38667 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
38668 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
38669 * elf/dl-sysdep.c (_dl_auxv): Remove.
38670 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
38671 * elf/dl-support.c (_dl_auxv): New variable.
38672 (_dl_aux_init): Initialize it.
38673 * manual/startup.texi (Auxiliary Vector): New node.
38674 * sysdeps/generic/bits/hwcap.h: New file.
38675 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
38676 * sysdeps/powerpc/sysdep.h: ... here. Include it.
38677 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
38678 * sysdeps/sparc/sysdep.h: ... here. Include it.
38679 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
38680 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
38681 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
38682 Update.
38683 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
38684 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
38685 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
38686 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
38687 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
38688 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
38689 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
38690 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
38691
38692 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38693
38694 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38695
38696 2012-05-19 David S. Miller <davem@davemloft.net>
38697
38698 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38699
38700 2012-05-19 Joseph Myers <joseph@codesourcery.com>
38701
38702 [BZ #14123]
38703 * math/s_ccosh.c: Include <float.h>
38704 (__ccosh): Avoid internal overflow calculating sinh and cosh
38705 values before multiplying by sin and cos values.
38706 * math/s_ccoshf.c: Likewise.
38707 * math/s_ccoshl.c: Likewise.
38708 * math/s_csin.c: Likewise.
38709 * math/s_csinf.c: Likewise.
38710 * math/s_csinl.c: Likewise.
38711 * math/s_csinh.c: Likewise.
38712 * math/s_csinhf.c: Likewise.
38713 * math/s_csinhl.c: Likewise.
38714 * math/libm-test.inc (ccos_test): Add more tests.
38715 (ccosh_test): Likewise.
38716 (csin_test): Likewise.
38717 (csinh_test): Likewise.
38718 * sysdeps/i386/fpu/libm-test-ulps: Update.
38719 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38720
38721 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
38722
38723 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
38724 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
38725
38726 * sysdeps/x86_64/x32/_itoa.h: Add comment.
38727
38728 2012-05-19 Joseph Myers <joseph@codesourcery.com>
38729
38730 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
38731 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
38732 * sysdeps/powerpc/soft-fp/Versions: Likewise.
38733 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
38734 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
38735 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
38736 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
38737 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
38738 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
38739 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
38740 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
38741 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
38742 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
38743 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
38744 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
38745 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
38746 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
38747 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
38748 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
38749 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
38750 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
38751 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
38752 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
38753 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
38754 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
38755 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
38756 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
38757 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
38758 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
38759 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
38760 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
38761
38762 2012-05-18 Andreas Jaeger <aj@suse.de>
38763
38764 * csu/.gitignore: Delete.
38765
38766 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
38767
38768 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
38769 (timex): Use __syscall_slong_t.
38770
38771 2012-05-18 Andreas Jaeger <aj@suse.de>
38772 Carlos O'Donell <carlos_odonell@mentor.com>
38773
38774 * manual/install.texi (Configuring and compiling): Update
38775 description about files modified in the source directory.
38776 * INSTALL: Regenerated.
38777
38778 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
38779
38780 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
38781 value. Use "or" to set return value to -1.
38782 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
38783 negate return value.
38784
38785 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
38786
38787 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
38788 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
38789 failure if the compiler has Graphite support disabled.
38790 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
38791 Likewise.
38792 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
38793 (CFLAGS-memmove.c): Likewise.
38794 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
38795 Likewise.
38796
38797 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
38798
38799 * sysdeps/x86_64/x32/_itoa.h: New file.
38800
38801 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
38802 getdents system call only if kernel and user dirents have the
38803 same d_ino and d_off.
38804
38805 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
38806 LLONG_MAX != LONG_MAX.
38807 (_itoa_word): Use _ITOA_WORD_TYPE on value.
38808 (_fitoa_word): Likewise.
38809
38810 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
38811 years.
38812 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
38813 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
38814 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
38815
38816 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
38817 include <bits/wordsize.h>. Check __x86_64__ instead of
38818 __WORDSIZE.
38819 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
38820 if __x86_64__ is defined. Use anonymous union on fpstate.
38821
38822 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
38823 anonymous union.
38824
38825 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
38826
38827 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
38828 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
38829 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
38830 Refer to _rtld_local_ro instead of _rtld_global_ro.
38831 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
38832 Likewise.
38833 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
38834 Likewise.
38835 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
38836 Likewise.
38837 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
38838 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
38839 of _rtld_global, and rtld_progname instead of _dl_argv[0].
38840
38841 * sysdeps/powerpc/powerpc32/dl-machine.c
38842 (__elf_machine_runtime_setup) [PROF]: Don't reference
38843 _dl_prof_resolve.
38844
38845 2012-05-18 Andreas Jaeger <aj@suse.de>
38846
38847 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
38848 function only available for GCCs before 3.4 since GCC 3.4
38849 introduced a builtin.
38850 (lrint): Likewise.
38851 (llrintf): Likewise.
38852 (llrint): Likewise.
38853 (fmaxf): Likewise.
38854 (fmax): Likewise.
38855 (fminf): Likewise.
38856 (fmin): Likewise.
38857 (rint): Likewise.
38858 (rintf): Likewise.
38859 (nearbyint): Likewise.
38860 (nearbyintf): Likewise.
38861 (ceil): Likewise.
38862 (ceilf): Likewise.
38863 (floor): Likewise.
38864 (floorf): Likewise.
38865
38866 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
38867
38868 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
38869 on both fields and cast pointer to __syscall_ulong_t.
38870
38871 * bits/types.h (__fsword_t): New type.
38872 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
38873 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
38874 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
38875 (__FSWORD_T_TYPE): Likewise.
38876 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
38877 (__FSWORD_T_TYPE): Likewise.
38878 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
38879 (__FSWORD_T_TYPE): Likewise.
38880 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
38881 (__FSWORD_T_TYPE): Likewise.
38882 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
38883 __SWORD_TYPE with __fsword_t.
38884 (statfs64): Likewise.
38885
38886 2012-05-17 David S. Miller <davem@davemloft.net>
38887
38888 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
38889
38890 2012-05-17 Andreas Jaeger <aj@suse.de>
38891
38892 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
38893 warning.
38894
38895 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
38896
38897 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
38898
38899 2012-05-17 Andreas Jaeger <aj@suse.de>
38900
38901 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
38902 when it is used.
38903
38904 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
38905
38906 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
38907
38908 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
38909
38910 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
38911 * sysdeps/x86_64/tst-mallocalign1.c: New file.
38912
38913 2012-05-17 Andreas Jaeger <aj@suse.de>
38914 Carlos O'Donell <carlos_odonell@mentor.com>
38915
38916 [BZ #14059]
38917 * sysdeps/x86_64/multiarch/init-arch.h
38918 (bit_YMM_Usable): Rename to...
38919 (bit_AVX_Usable): ... this.
38920 (bit_FMA4_Usable): New macro.
38921 (bit_XMM_state): New macro.
38922 (bit_YMM_state): New macro.
38923 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
38924 [__ASSEMBLER__] (index_AVX_Usable): ... this.
38925 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
38926 (CPUID_OSXSAVE): New macro.
38927 (CPUID_AVX): New macro.
38928 (CPUID_FMA4): New macro.
38929 (index_YMM_Usable): Rename to...
38930 (index_AVX_Usable): ... this.
38931 (HAS_AVX): Use HAS_ARCH_FEATURE.
38932 (HAS_FMA4): Likewise.
38933 (HAS_YMM_USABLE): Remove.
38934 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
38935 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
38936 are present.
38937 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
38938 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
38939 * sysdeps/x86_64/multiarch/Makefile: Likewise.
38940 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
38941 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
38942
38943 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
38944
38945 * math/libm-test.c: Support platforms without multiple rounding modes.
38946 * math/bug-nextafter.c: Support platforms without FP exceptions.
38947 * math/bug-nexttoward.c: Likewise.
38948 * math/test-fenv.c: Likewise.
38949 * math/test-misc.c: Likewise.
38950 * stdlib/bug-getcontext.c: Likewise.
38951
38952 2012-05-17 Andreas Jaeger <aj@suse.de>
38953
38954 * manual/examples/search.c (critter_cmp): Change signature to
38955 avoid warnings.
38956 * manual/string.texi (Collation Functions): Likewise.
38957
38958 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
38959
38960 * bits/types.h: Fold copyright years.
38961 * bits/typesizes.h: Likewise.
38962 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
38963 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
38964 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
38965 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
38966 * time/time.h: Likewise.
38967
38968 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
38969
38970 [BZ #208]
38971 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
38972 in instead of returning them. Return void.
38973 (__libc_mallinfo): Accumulate over all arenas.
38974 (__malloc_stats): Adjust for change in int_mallinfo interface.
38975
38976 2012-05-16 Roland McGrath <roland@hack.frob.com>
38977
38978 [BZ #10375]
38979 * configure.in (NM): Add AC_CHECK_TOOL for it.
38980 (libc_extra_cflags): New substituted variable.
38981 Check for -fstack-protector being used implicitly.
38982 * configure: Regenerated.
38983 * config.make.in (config-extra-cflags): New variable,
38984 gets @libc_extra_cflags@.
38985 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
38986
38987 [BZ #10375]
38988 * configure.in: Check for _FORTIFY_SOURCE being predefined.
38989 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
38990 * configure: Regenerated.
38991 * config.make.in (CPPUNDEFS): New substituted variable.
38992 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
38993 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
38994 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
38995
38996 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
38997
38998 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
38999 (mq_attr): Use __syscall_slong_t.
39000
39001 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
39002
39003 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
39004 Check __x86_64__ instead of __WORDSIZE.
39005 (_STAT_VER_LINUX): Likewise.
39006 (stat): Check __x86_64__ instead of __WORDSIZE. Use
39007 __syscall_ulong_t and __syscall_slong_t.
39008 (stat64): Likewise.
39009
39010 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
39011
39012 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
39013
39014 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
39015
39016 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
39017
39018 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
39019
39020 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
39021 __syscall_ulong_t.
39022
39023 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
39024 include <bits/wordsize.h>. Check __x86_64__ instead of
39025 __WORDSIZE.
39026 (greg_t): Use "__extension__ long long int" if __x86_64__ is
39027 defined.
39028 (mcontext_t): Replace "unsigned long" with "unsigned long long".
39029
39030 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
39031 include <bits/wordsize.h>. Check __x86_64__ instead of
39032 __WORDSIZE.
39033 (user_regs_struct): Use "__extension__ unsigned long long"
39034 instead of "unsigned long" if __x86_64__ is defined.
39035 (user): Likewise. Pad after pointer field if __ILP32__ is
39036 defined.
39037
39038 2012-05-16 Joseph Myers <joseph@codesourcery.com>
39039
39040 * configure.in (makeinfo): Require version 4.5 or later. Allow
39041 versions 5 to 9.
39042 * configure: Regenerated.
39043 * manual/install.texi (texinfo): Increase version requirement to
39044 4.5 or later.
39045 * INSTALL: Regenerated.
39046
39047 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
39048
39049 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
39050
39051 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
39052
39053 * sysdeps/x86_64/x32/ffs.c: New file.
39054
39055 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
39056 __syscall_ulong_t.
39057 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
39058 defined. Use __syscall_ulong_t.
39059 (shminfo): Use __syscall_ulong_t.
39060 (shm_info): Likewise.
39061
39062 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
39063 __syscall_ulong_t.
39064
39065 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
39066 <bits/wordsize.h>.
39067 (msgqnum_t): Use __syscall_ulong_t.
39068 (msglen_t): Likewise.
39069 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
39070 __syscall_ulong_t.
39071
39072 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
39073 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
39074
39075 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
39076
39077 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
39078 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
39079
39080 * sysvipc/sys/msg.h (msgbuf): Replace long int with
39081 __syscall_slong_t.
39082
39083 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
39084 include <bits/wordsize.h>. Check __x86_64__ instead of
39085 __WORDSIZE.
39086
39087 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
39088 "unsigned long long int" if __x86_64__ is defined.
39089 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
39090
39091 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
39092 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
39093 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
39094
39095 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
39096 <stdint.h>.
39097 (GET_PC): Cast to uintptr_t first.
39098 (GET_FRAME): Likewise.
39099 (GET_STACK): Likewise.
39100
39101 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
39102 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
39103 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
39104 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
39105 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
39106 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
39107 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
39108 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
39109 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
39110 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
39111 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
39112 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
39113 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
39114 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
39115 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
39116 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
39117 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
39118 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
39119 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
39120 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
39121 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
39122 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
39123 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
39124 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
39125 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
39126 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
39127 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
39128 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
39129 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
39130
39131 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
39132
39133 * Makerules (+depfiles): Also collect depfiles from .oS in
39134 $(extra-objs).
39135 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
39136 .oS, $(libnldbl-routines)).
39137
39138 * Makerules (native-compile-mkdep-flags): Define.
39139 * sunrpc/Makefile (extra-objs): Add $(addprefix
39140 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
39141 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
39142 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
39143 calling $(make-target-directory).
39144
39145 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39146
39147 * bits/types.h (__snseconds_t): Removed.
39148 * time/time.h (struct timespec): Replace __snseconds_t with
39149 __syscall_slong_t.
39150 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
39151 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
39152 Likewise.
39153 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
39154 (__SNSECONDS_T_TYPE): Likewise.
39155 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
39156 (__SNSECONDS_T_TYPE): Likewise.
39157 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
39158 (__SNSECONDS_T_TYPE): Likewise.
39159
39160 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39161
39162 * sysdeps/mach/hurd/bits/typesizes.h
39163 (__SYSCALL_SLONG_TYPE): New macro.
39164 (__SYSCALL_ULONG_TYPE): Likewise.
39165
39166 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39167
39168 * bits/types.h (__syscall_slong_t): New type.
39169 (__syscall_ulong_t): Likewise.
39170
39171 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
39172 (__SYSCALL_ULONG_TYPE): Likewise.
39173 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
39174 (__SYSCALL_SLONG_TYPE): Likewise.
39175 (__SYSCALL_ULONG_TYPE): Likewise.
39176 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
39177 (__SYSCALL_SLONG_TYPE): Likewise.
39178 (__SYSCALL_ULONG_TYPE): Likewise.
39179 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
39180 (__SYSCALL_SLONG_TYPE): Likewise.
39181 (__SYSCALL_ULONG_TYPE): Likewise.
39182
39183 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39184
39185 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
39186 Add sigaltstack-offsets.sym.
39187 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
39188 <sigaltstack-offsets.h>.
39189 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
39190 longjmp_msg pointer.
39191 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
39192 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
39193 signal stack.
39194 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
39195
39196 2012-05-15 Joseph Myers <joseph@codesourcery.com>
39197
39198 * elf/stackguard-macros.h: Remove file.
39199 * sysdeps/generic/stackguard-macros.h: New file.
39200 * sysdeps/i386/stackguard-macros.h: Likewise.
39201 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
39202 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
39203 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
39204 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
39205 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
39206 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
39207 * sysdeps/x86_64/stackguard-macros.h: Likewise.
39208 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
39209 <elf/stackguard-macros.h>.
39210
39211 [BZ #14109]
39212 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
39213 __aligned__ in attribute.
39214 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
39215 (gregset_t): Likewise.
39216
39217 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39218
39219 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
39220 * sysdeps/x86_64/64/Implies-after: Here. New file.
39221 * sysdeps/x86_64/x32/Implies-after: New file.
39222
39223 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39224
39225 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
39226 and access return value for _dl_profile_fixup. Use R10_LP to
39227 load frame size.
39228
39229 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39230
39231 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
39232
39233 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39234
39235 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
39236 * sysdeps/x86_64/x32/sysdep.h: New file.
39237
39238 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39239
39240 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
39241 * sysdeps/x86_64/setjmp.S: Likewise.
39242
39243 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39244
39245 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
39246 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
39247 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
39248 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
39249 remove unused global constant.
39250
39251 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
39252
39253 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
39254 include of <not-cancel.h>.
39255
39256 2012-05-15 Roland McGrath <roland@hack.frob.com>
39257
39258 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
39259
39260 2012-05-15 Jeff Law <law@redhat.com>
39261 Andreas Jaeger <aj@suse.de>
39262
39263 [BZ #13594]
39264 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
39265 out from...
39266 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
39267 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
39268 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
39269 code changing __hst_map_handle.map.
39270
39271 2012-05-15 Roland McGrath <roland@hack.frob.com>
39272
39273 * configure.in (sysnames): Look for Implies-before and Implies-after
39274 files.
39275 * configure: Regenerated.
39276
39277 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39278
39279 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
39280 8-byte data alignment with LP_SIZE alignment.
39281
39282 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39283
39284 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
39285 into R10_LP.
39286
39287 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39288
39289 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
39290
39291 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39292
39293 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
39294 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
39295 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
39296 Likewise.
39297 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
39298
39299 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39300
39301 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
39302 (stackinfo_sub_sp): Likewise.
39303
39304 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39305
39306 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
39307 RAX_LP.
39308
39309 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39310
39311 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
39312 into R*_LP.
39313
39314 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39315
39316 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
39317 sizes into R*_LP.
39318
39319 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39320
39321 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
39322
39323 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39324
39325 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
39326 into R11_LP and load __x86_64_shared_cache_size_half into
39327 R8_LP.
39328
39329 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39330
39331 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
39332 R8_LP.
39333
39334 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39335
39336 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
39337 logb for POWER7.
39338 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
39339 logbf for POWER7.
39340 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
39341 logbl for POWER7.
39342 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
39343 powerpc32/power7/fpu/s_logb.c via #include.
39344 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
39345 powerpc32/power7/fpu/s_logbf.c via #include.
39346 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
39347 powerpc32/power7/fpu/s_logbl.c via #include.
39348
39349 2012-05-15 Joseph Myers <joseph@codesourcery.com>
39350
39351 * README.libm: Remove file.
39352
39353 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
39354
39355 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
39356 count for x32. Use R*_LP and omit operand-size suffix.
39357
39358 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
39359
39360 * shlib-versions: Move x86_64-.*-linux.* entries to ...
39361 * sysdeps/x86_64/64/shlib-versions: Here. New file.
39362 * sysdeps/x86_64/x32/shlib-versions: New file.
39363
39364 2012-05-14 Roland McGrath <roland@hack.frob.com>
39365
39366 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
39367 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
39368 Use _dl_fatal_printf instead.
39369
39370 2012-05-14 Joseph Myers <joseph@codesourcery.com>
39371
39372 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
39373 set if not set by the user. Do not allow for being unset.
39374 * sysdeps/unix/sysv/linux/configure: Regenerated.
39375
39376 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
39377
39378 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
39379 the `q' suffix from lea and replace .quad with ASM_ADDR.
39380
39381 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
39382
39383 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
39384 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
39385 instead of $17.
39386 (PTR_DEMANGLE): Likewise.
39387
39388 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
39389
39390 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
39391 (LP_OP): Likewise.
39392 (ASM_ADDR): Likewise.
39393 (RAX_LP): Likewise.
39394 (RBP_LP): Likewise.
39395 (RBX_LP): Likewise.
39396 (RCX_LP): Likewise.
39397 (RDI_LP): Likewise.
39398 (RSI_LP): Likewise.
39399 (RSP_LP): Likewise.
39400 (R8_LP): Likewise.
39401 (R9_LP): Likewise.
39402 (R10_LP): Likewise.
39403 (R10_LP): Likewise.
39404 (R11_LP): Likewise.
39405 (R12_LP): Likewise.
39406 (R13_LP): Likewise.
39407 (R14_LP): Likewise.
39408 (R15_LP): Likewise.
39409
39410 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
39411
39412 * sysdeps/x86_64/x32/dl-machine.h: New file.
39413
39414 2012-05-14 Andreas Jaeger <aj@suse.de>
39415
39416 * manual/Makefile (subdir): Remove export of subdir.
39417 (all): Remove target.
39418 (.PHONY): Remove all from list.
39419 (mkinstalldirs): Remove.
39420 (.PHONY): Remove installdirs from list.
39421 ($(inst_infodir)/libc.info): Use make-target-directory.
39422 (installdirs): Remove.
39423 (subdir_%): Remove.
39424 (glibc-targets): Remove.
39425 (lib): Remove.
39426 (stubs): Remove.
39427 ($(objpfx)stubs ../po/manual.pot): Remove.
39428 ($(objpfx)stamp%): Remove.
39429 (make-target-directory): Remove.
39430 (subdir_install): Remove.
39431 (routines): Remove.
39432 (aux): Remove.
39433 (sources): Remove.
39434 (objects): Remove.
39435 (headers): Remove.
39436
39437 [BZ #13750]
39438 * manual/.gitignore: Remove, it's not needed anymore.
39439 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
39440 all files in it.
39441 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
39442 directory.
39443 (texis): Renamed to $(objpfx)texis.
39444 (texis-path): New, contains path to generated files.
39445 (chapters.%): Use texis-path for complete path, add extra argument
39446 libc-texinfo.sh.
39447 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
39448 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
39449 (summary,texi, stamp-summary): Use complete path of
39450 files. Generate files in build dir.
39451 (dir-add.texi): Build in build dir.
39452 (libm-err.texi,stamp-libm-err): Likewise.
39453 (version.texi, stamp-version): Likewise.
39454 (.%c.texi): Likewise.
39455 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
39456 (mostlyclean): Remove target.
39457 (realclean): Remove target.
39458 (generated): Add new variable with contents from mostlyclean and
39459 realclean, remove entries duplicated in common-mostlyclean, add
39460 stamp-libm-err and stamp-version.
39461 (generated-dirs): Add libc directory.
39462 ($(inst_infodir)/libc.info): Install files from build dir.
39463
39464 * manual/install.texi (Configuring and compiling): Adjust since
39465 the info files are not part of the tar ball anymore.
39466
39467 2012-05-14 Andreas Jaeger <aj@suse.de>
39468
39469 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
39470 variable.
39471
39472 2012-05-14 Joseph Myers <joseph@codesourcery.com>
39473
39474 [BZ #13717]
39475 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
39476 to 2.2.0 where earlier.
39477 * sysdeps/unix/sysv/linux/configure: Regenerated.
39478 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
39479 Remove conditional code.
39480 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
39481 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
39482 Remove conditional code.
39483 [!__NR_lchown]: Likewise.
39484 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
39485 [__NR_lchown]: Likewise.
39486 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
39487 comment referencing __ASSUME_LCHOWN_SYSCALL.
39488 * sysdeps/unix/sysv/linux/i386/sigaction.c
39489 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
39490 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
39491 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
39492 Remove conditional code.
39493 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
39494 (__protocol_available): Remove #if 0 code.
39495 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
39496 conditional code.
39497 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
39498 * sysdeps/unix/sysv/linux/kernel-features.h
39499 (__ASSUME_GETCWD_SYSCALL): Don't define.
39500 (__ASSUME_REALTIME_SIGNALS): Likewise.
39501 (__ASSUME_PREAD_SYSCALL): Likewise.
39502 (__ASSUME_PWRITE_SYSCALL): Likewise.
39503 (__ASSUME_POLL_SYSCALL): Likewise.
39504 (__ASSUME_LCHOWN_SYSCALL): Likewise.
39505 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
39506 non-SPARC.
39507 (__ASSUME_SIOCGIFNAME): Don't define.
39508 (__ASSUME_MSG_NOSIGNAL): Likewise.
39509 (__ASSUME_SENDFILE): Define unconditionally.
39510 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
39511 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
39512 conditional code.
39513 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
39514 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
39515 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
39516 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
39517 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
39518 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
39519 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
39520 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
39521 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
39522 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
39523 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
39524 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
39525 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
39526 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
39527 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
39528 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
39529 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
39530 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
39531 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
39532 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
39533 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
39534 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
39535 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
39536 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
39537 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
39538 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
39539 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
39540 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
39541 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
39542 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
39543 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
39544 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
39545 Remove conditional code.
39546 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
39547 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
39548 Remove conditional code.
39549 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
39550 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
39551 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
39552 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
39553 Remove conditional code.
39554 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
39555 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
39556 Remove conditional code.
39557 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
39558 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
39559 Remove conditional code.
39560 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
39561 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
39562 Remove conditional code.
39563 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
39564 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
39565 Remove conditional code.
39566 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
39567 * sysdeps/unix/sysv/linux/sh/pwrite64.c
39568 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
39569 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
39570 * sysdeps/unix/sysv/linux/sigaction.c
39571 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
39572 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
39573 * sysdeps/unix/sysv/linux/sigpending.c
39574 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
39575 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
39576 * sysdeps/unix/sysv/linux/sigprocmask.c
39577 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
39578 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
39579 * sysdeps/unix/sysv/linux/sigsuspend.c
39580 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
39581 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
39582 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
39583 (__libc_missing_rt_sigs): Remove.
39584 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
39585 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
39586 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
39587 Remove conditional code.
39588 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
39589 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
39590 return 1.
39591 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
39592 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
39593 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
39594 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
39595
39596 2012-05-14 Andreas Jaeger <aj@suse.de>
39597
39598 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
39599 it's not used in glibc.
39600 (__coshm1): Likewise.
39601 (__acosh1p): Likewise.
39602 (__sgn): Likewise.
39603
39604 * manual/string.texi (Copying and Concatenation): Add missing
39605 variable in concat example.
39606 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
39607
39608 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
39609
39610 [BZ #14103]
39611 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
39612 __builtin_clzl with __builtin_clzll.
39613
39614 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
39615
39616 [BZ #14104]
39617 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
39618 libc_freeres_ptr.
39619
39620 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39621
39622 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
39623 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
39624 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
39625 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
39626
39627 2012-05-14 Mike Frysinger <vapier@gentoo.org>
39628
39629 * NEWS: Update ia64 info.
39630
39631 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
39632
39633 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
39634 used as bcopy.
39635
39636 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
39637
39638 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
39639 * sysdeps/unix/syscalls.list (dup3): Likewise.
39640 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
39641 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
39642
39643 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
39644
39645 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
39646 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
39647
39648 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
39649
39650 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
39651 thread pointer.
39652 (TLS_IE): Use mov/add instead of movq/addq to load thread
39653 pointer.
39654 (TLS_GD_PREFIX): New.
39655 (TLS_GD): Use it.
39656
39657 2012-05-11 David S. Miller <davem@davemloft.net>
39658
39659 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
39660 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
39661 (_FPU_SETCW): Likewise.
39662
39663 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
39664
39665 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
39666 is 32-byte aligned.
39667
39668 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
39669
39670 [BZ #11837]
39671 * iconvdata/gb18030.c: Update tables.
39672 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
39673 characters specially.
39674 (BODY for TO_LOOP): Add encoding of missing ranges.
39675
39676 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
39677
39678 [BZ #13673]
39679 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
39680 * sysdeps/mach/hurd/dup3.c: Likewise.
39681 * sysdeps/mach/hurd/readlinkat.c: Likewise.
39682 * sysdeps/powerpc/memmove.c:: Likewise.
39683
39684 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
39685
39686 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
39687 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
39688
39689 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
39690
39691 * elf/elf.h (R_X86_64_RELATIVE64): New.
39692 (R_X86_64_NUM): Updated.
39693 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
39694 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
39695 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
39696 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
39697 tst-quad1pie tst-quad2pie
39698 (modules-names): Add tst-quadmod1 tst-quadmod2.
39699 ($(objpfx)tst-quad1): New dependency.
39700 ($(objpfx)tst-quad2): Likewise.
39701 ($(objpfx)tst-quad1pie): Likewise.
39702 ($(objpfx)tst-quad2pie): Likewise.
39703 * sysdeps/x86_64/tst-quad1.c: New file.
39704 * sysdeps/x86_64/tst-quad1pie.c: New file.
39705 * sysdeps/x86_64/tst-quad2.c: Likewise.
39706 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
39707 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
39708 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
39709 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
39710 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
39711
39712 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
39713
39714 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
39715 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
39716 * streams/stropts.h (t_scalar_t): Define type.
39717
39718 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
39719 (_PATH_PRESERVE): Set to "/var/lib".
39720 (_PATH_RWHODIR): Set to "/var/spool/rwho".
39721
39722 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
39723 instead of int.
39724
39725 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
39726 if __dir_mkfile succeeded.
39727
39728 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
39729 checking for _hurd_dtablesize. Unlock it right after having
39730 finished _hurd_dtable allocation.
39731
39732 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
39733
39734 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
39735 * sysdeps/mach/hurd/configure: Regenerated.
39736 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
39737 special-casing to...
39738 * sysdeps/gnu/configure.in: ... this new file.
39739 * sysdeps/unix/sysv/linux/configure: Regenerated.
39740 * sysdeps/gnu/configure: New generated file.
39741
39742 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
39743 for Linux: use nsec instead of usec, as well as:
39744 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
39745 members of type struct timespec.
39746 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
39747 New macros.
39748 (struct stat64): Likewise.
39749 (_STATBUF_ST_NSEC): New macro.
39750 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
39751
39752 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
39753 __strtoul_internal rather than strtoul.
39754
39755 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
39756
39757 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
39758 and reject them.
39759
39760 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
39761
39762 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
39763 which preserves existing values.
39764 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
39765
39766 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
39767
39768 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
39769 TIMEOUT values. Return EINVAL for NFDS values either negative or
39770 greater than FD_SETSIZE.
39771
39772 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
39773
39774 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
39775 allocated, call __vm_protect to finish enabling the existing space, and
39776 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
39777 allocate the remainder.
39778
39779 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
39780
39781 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
39782 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
39783
39784 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
39785
39786 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
39787 sysdeps/mach/hurd/readlink.c.
39788
39789 * posix/tst-sysconf.c (posix_options): Only use
39790 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
39791 _POSIX_SYNCHRONIZED_IO when they are defined
39792 * sysdeps/mach/hurd/bits/posix_opt.h:
39793 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
39794 (_XOPEN_REALTIME): Undefine macro.
39795 (_XOPEN_REALTIME_THREADS): Undefine macro.
39796 (_XOPEN_SHM): Undefine macro.
39797 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
39798 macro to -1.
39799 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
39800 macro to -1.
39801 (_POSIX_ASYNC_IO): Undefine macro.
39802 (_POSIX_PRIORITIZED_IO): Undefine macro.
39803 (_POSIX_SPIN_LOCKS): Define macro to -1.
39804
39805 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
39806 SA_NODEFER, SA_RESETHAND.
39807 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
39808 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
39809 F_DUPFD_CLOEXEC.
39810
39811 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
39812
39813 * elf/Makefile (pldd-modules): Define unconditionally.
39814
39815 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
39816
39817 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
39818
39819 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
39820
39821 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
39822 Return ENOENT when name is empty.
39823 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
39824
39825 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
39826
39827 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
39828
39829 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
39830
39831 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
39832
39833 Fix mlock in all cases except non-readable pages.
39834 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
39835 instead of VM_PROT_ALL as parameter to __vm_wire function.
39836
39837 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
39838 (__mkdir): When path is `/', just fail with EEXIST.
39839 * sysdeps/mach/hurd/mkdirat.c: Likewise.
39840
39841 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
39842
39843 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
39844 <sys/uio.h> (for writev).
39845 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
39846 and <sys/param.h> (for MIN).
39847
39848 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
39849
39850 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
39851 REQUESTED_TIME. Properly set the remaining time and return EINTR
39852 if interrupted.
39853
39854 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
39855
39856 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
39857 Depend on against $(link-rpcuserlibs).
39858
39859 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
39860
39861 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
39862 (__libc_stack_end): Do not use attribute_relro.
39863 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
39864 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
39865 to libthread-provided value.
39866 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
39867 attribute_relro.
39868
39869 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
39870
39871 [BZ #3748]
39872 * bits/libc-lock.h (__libc_once_get): New macro.
39873 * sysdeps/mach/bits/libc-lock.h: Likewise.
39874 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
39875 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
39876 instead of using implementation details.
39877
39878 * libio/fileops.c: Unconditionally include <kernel-features.h>.
39879 * libio/freopen.c: Likewise.
39880 * libio/freopen64.c: Likewise.
39881 * misc/syslog.c: Likewise.
39882 * nscd/connections.c: Likewise.
39883 * nscd/netgroupcache.c: Likewise.
39884 * sysdeps/posix/getcwd.c: Likewise.
39885
39886 2012-05-10 Roland McGrath <roland@hack.frob.com>
39887
39888 * math/w_ilogbf.c: Add #include <limits.h>.
39889
39890 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
39891
39892 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
39893 path instead of returning without unlocking.
39894
39895 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
39896 immediate-write ioctls.
39897 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
39898
39899 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
39900
39901 * sysdeps/mach/hurd/i386/init-first.c (init): Use
39902 __builtin_frame_address instead of making assumptions about the
39903 location of the return address relative to DATA. Force early load of
39904 the return address.
39905 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
39906 __builtin_frame_address.
39907
39908 dup3 for GNU Hurd.
39909 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
39910 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
39911 implement dup3 and do some further code clean-ups.
39912 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
39913 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
39914
39915 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
39916
39917 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
39918
39919 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
39920 HURD_CRITICAL_END around holding _hurd_dtable_lock.
39921 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
39922 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
39923 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
39924 d->port.lock.
39925
39926 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
39927 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
39928 when handler == SIG_ERR, not when handler != SIG_ERR.
39929
39930 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
39931
39932 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
39933 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
39934 definitions.
39935
39936 accept4 for GNU Hurd.
39937 * include/sys/socket.h (__libc_accept4): New prototype.
39938 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
39939 to implement __libc_accept4.
39940 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
39941 __libc_accept4.
39942 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
39943
39944 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
39945 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
39946 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
39947 signal-defines.sym.
39948
39949 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
39950
39951 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
39952
39953 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
39954
39955 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
39956 assertion on O_CLOEXEC flag.
39957 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
39958 * hurd/intern-fd.c: Likewise.
39959 * hurd/port2fd.c: Likewise.
39960
39961 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
39962
39963 [BZ #3906]
39964 * bits/in.h (IPV6_PKTINFO): Define new macro.
39965 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
39966
39967 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39968
39969 [BZ #13954]
39970 [BZ #13955]
39971 [BZ #13956]
39972 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
39973 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
39974 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
39975 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
39976 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
39977 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
39978 * math/libm-test.inc (logb_test) : Additional logb tests.
39979
39980 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
39981 Andreas Jaeger <aj@suse.de>
39982
39983 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
39984 * configure: Regenerated.
39985 * config.h.in (LINK_OBSOLETE_RPC): New macro.
39986 * config.make.in (link-obsolete-rpc): New substituted variable.
39987 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
39988 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
39989 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
39990 (shared-only-routines): Don't set it under [link-obsolete-rpc],
39991 so that libc.a contains the symbols.
39992 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
39993 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
39994 * sunrpc/auth_none.c: Likewise.
39995 * sunrpc/auth_unix.c: Likewise.
39996 * sunrpc/authdes_prot.c: Likewise.
39997 * sunrpc/authuxprot.c: Likewise.
39998 * sunrpc/clnt_gen.c: Likewise.
39999 * sunrpc/clnt_perr.c: Likewise.
40000 * sunrpc/clnt_raw.c: Likewise.
40001 * sunrpc/clnt_simp.c: Likewise.
40002 * sunrpc/clnt_tcp.c: Likewise.
40003 * sunrpc/clnt_udp.c: Likewise.
40004 * sunrpc/clnt_unix.c: Likewise.
40005 * sunrpc/des_crypt.c: Likewise.
40006 * sunrpc/des_soft.c: Likewise.
40007 * sunrpc/get_myaddr.c: Likewise.
40008 * sunrpc/key_call.c: Likewise.
40009 * sunrpc/key_prot.c: Likewise.
40010 * sunrpc/netname.c: Likewise.
40011 * sunrpc/pm_getmaps.c: Likewise.
40012 * sunrpc/pm_getport.c: Likewise.
40013 * sunrpc/pmap_clnt.c: Likewise.
40014 * sunrpc/pmap_prot.c: Likewise.
40015 * sunrpc/pmap_prot2.c: Likewise.
40016 * sunrpc/pmap_rmt.c: Likewise.
40017 * sunrpc/publickey.c: Likewise.
40018 * sunrpc/rpc_cmsg.c: Likewise.
40019 * sunrpc/rpc_common.c: Likewise.
40020 * sunrpc/rpc_dtable.c: Likewise.
40021 * sunrpc/rpc_prot.c: Likewise.
40022 * sunrpc/rpc_thread.c: Likewise.
40023 * sunrpc/rtime.c: Likewise.
40024 * sunrpc/svc.c: Likewise.
40025 * sunrpc/svc_auth.c: Likewise.
40026 * sunrpc/svc_raw.c: Likewise.
40027 * sunrpc/svc_run.c: Likewise.
40028 * sunrpc/svc_tcp.c: Likewise.
40029 * sunrpc/svc_udp.c: Likewise.
40030 * sunrpc/svc_unix.c: Likewise.
40031 * sunrpc/svcauth_des.c: Likewise.
40032 * sunrpc/xcrypt.c: Likewise.
40033 * sunrpc/xdr.c: Likewise.
40034 * sunrpc/xdr_array.c: Likewise.
40035 * sunrpc/xdr_float.c: Likewise.
40036 * sunrpc/xdr_intXX_t.c: Likewise.
40037 * sunrpc/xdr_mem.c: Likewise.
40038 * sunrpc/xdr_rec.c: Likewise.
40039 * sunrpc/xdr_ref.c: Likewise.
40040 * sunrpc/xdr_sizeof.c: Likewise.
40041 * sunrpc/xdr_stdio.c: Likewise.
40042
40043 2012-05-10 Roland McGrath <roland@hack.frob.com>
40044
40045 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
40046 change. Update copyright years.
40047
40048 2012-05-10 Joseph Myers <joseph@codesourcery.com>
40049
40050 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
40051
40052 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
40053 Joseph Myers <joseph@codesourcery.com>
40054 Paul Pluzhnikov <ppluzhnikov@google.com>
40055
40056 [BZ #14012]
40057 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
40058 requiring rpcgen.
40059 [cross-compiling] (extra-libs): Likewise.
40060 [cross-compiling] (extra-libs-others): Likewise.
40061 [cross-compiling] (librpcsvc-routines): Likewise.
40062 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
40063 [cross-compiling] (omit-deps): Likewise.
40064 (sunrpc-CPPFLAGS): New variable.
40065 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
40066 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
40067 (cross-rpcgen-objs): New variable.
40068 (extra-objs): Append $(cross-rpcgen-objs).
40069 ($(cross-rpcgen-objs)): New rule.
40070 ($(objpfx)cross-rpcgen): Likewise.
40071 (rpcgen-cmd): Define to use $(built-program-file). Expand
40072 comment.
40073 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
40074 ($(objpfx)x%.stmp): Likewise.
40075 * sunrpc/proto.h [IS_IN_build] (_): Define.
40076 [IS_IN_build] (_libc_intl_domainname): Likewise.
40077
40078 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
40079
40080 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
40081 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
40082 and R_X86_64_TPOFF64.
40083
40084 2012-05-10 Joseph Myers <joseph@codesourcery.com>
40085
40086 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
40087 sysdeps/unix/sysv/syscalls.list.
40088 (stime): Likewise.
40089 (utime): Likewise.
40090 * sysdeps/unix/sysv/syscalls.list: Remove file.
40091
40092 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
40093
40094 [BZ #3440]
40095 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
40096 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
40097 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
40098 (__LC_IDENTIFICATION): Make these macros useful in #if
40099 expressions, as required by C99.
40100
40101 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
40102
40103 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
40104 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
40105 after this.
40106
40107 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
40108
40109 * stdlib/longlong.h: Updated from GCC.
40110
40111 2012-05-09 Andreas Jaeger <aj@suse.de>
40112
40113 * nscd/nscd.c (run_modes): Make named enum, reorder so that
40114 default is first entry.
40115 (run_mode): Set type.
40116 (main): Remove informal message about syslog.
40117 (options): Fix typo.
40118
40119 [BZ #14053]
40120 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
40121 to asm.
40122 (lrint): Likewise.
40123 (llrintf): Likewise.
40124 (llrint): Likewise.
40125 (rint): Likewise.
40126 (rintf): Likewise.
40127 (nearbyint): Likewise.
40128 (nearbyintf): Likewise.
40129
40130 2012-05-09 Andreas Jaeger <aj@suse.de>
40131 Pedro Alves <palves@redhat.com>
40132
40133 * nscd/nscd.c (run_mode): Use enum.
40134 (main): Cleanup coding style issue.
40135
40136 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
40137 Andreas Jaeger <aj@suse.de>
40138
40139 * nscd/nscd.c (go_background): Replaced with...
40140 (run_mode): ... this.
40141 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
40142 (options): Add -F --foreground.
40143 (main): Implement it.
40144 (parse_opt): Parse it.
40145
40146 2012-05-09 Andreas Jaeger <aj@suse.de>
40147
40148 [BZ #14083]
40149 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
40150 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
40151 -Wconversion warning.
40152 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
40153 Likewise.
40154
40155 2012-05-09 Joseph Myers <joseph@codesourcery.com>
40156
40157 * conform/data/locale.h-data (NULL): Use macro-constant. Require
40158 == 0.
40159 (LC_ALL): Use macro-int-constant.
40160 (LC_COLLATE): Likewise.
40161 (LC_CTYPE): Likewise.
40162 (LC_MESSAGES): Likewise.
40163 (LC_MONETARY): Likewise.
40164 (LC_NUMERIC): Likewise.
40165 (LC_TIME): Likewise.
40166 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
40167 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
40168 [ISO || ISO99 || ISO11] (*_t): Do not allow.
40169 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
40170 Specify type.
40171 [C99-based standards] (float_t): Expect type.
40172 [C99-based standards] (double_t): Expect type.
40173 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
40174 type.
40175 [C99-based standards] (HUGE_VALL): Likewise.
40176 [C99-based standards] (INFINITY): Likewise.
40177 [C99-based standards] (NAN): Likewise.
40178 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
40179 [C99-based standards] (FP_NAN): Likewise.
40180 [C99-based standards] (FP_NORMAL): Likewise.
40181 [C99-based standards] (FP_SUBNORMAL): Likewise.
40182 [C99-based standards] (FP_ZERO): Likewise.
40183 [C99-based standards] (FP_FAST_FMA): Use
40184 optional-macro-int-constant. Specify type. Require == 1.
40185 [C99-based standards] (FP_FAST_FMAF): Likewise.
40186 [C99-based standards] (FP_FAST_FMAL): Likewise.
40187 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
40188 [C99-based standards] (FP_ILOGBNAN): Likewise.
40189 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
40190 Specify type.
40191 [C99-based standards] (MATH_ERREXCEPT): Likewise.
40192 [C99-based standards] (math_errhandling): Specify type.
40193 [ISO99 || ISO11] (signgam): Do not allow.
40194 [non-C99-based standards] (copysignf): Do not allow.
40195 [non-C99-based standards] (exp2f): Likewise.
40196 [non-C99-based standards] (log2f): Likewise.
40197 [non-C99-based standards] (modff): Allow.
40198 [non-C99-based standards] (erff): Do not allow.
40199 [non-C99-based standards] (erfcf): Likewise.
40200 [non-C99-based standards] (gammaf): Likewise.
40201 [non-C99-based standards] (hypotf): Likewise.
40202 [non-C99-based standards] (j0f): Likewise.
40203 [non-C99-based standards] (j1f): Likewise.
40204 [non-C99-based standards] (jnf): Likewise.
40205 [non-C99-based standards] (lgammaf): Likewise.
40206 [non-C99-based standards] (tgammaf): Likewise.
40207 [non-C99-based standards] (y0f): Likewise.
40208 [non-C99-based standards] (y1f): Likewise.
40209 [non-C99-based standards] (ynf): Likewise.
40210 [non-C99-based standards] (isnanf): Likewise.
40211 [non-C99-based standards] (acoshf): Likewise.
40212 [non-C99-based standards] (asinhf): Likewise.
40213 [non-C99-based standards] (atanhf): Likewise.
40214 [non-C99-based standards] (cbrtf): Likewise.
40215 [non-C99-based standards] (expm1f): Likewise.
40216 [non-C99-based standards] (ilogbf): Likewise.
40217 [non-C99-based standards] (log1pf): Likewise.
40218 [non-C99-based standards] (logbf): Likewise.
40219 [non-C99-based standards] (nextafterf): Likewise.
40220 [non-C99-based standards] (remainderf): Likewise.
40221 [non-C99-based standards] (rintf): Likewise.
40222 [non-C99-based standards] (scalbf): Likewise.
40223 [non-C99-based standards] (copysignl): Likewise.
40224 [non-C99-based standards] (exp2l): Likewise.
40225 [non-C99-based standards] (log2l): Likewise.
40226 [non-C99-based standards] (modfl): Allow.
40227 [non-C99-based standards] (erfl): Do not allow.
40228 [non-C99-based standards] (erfcl): Likewise.
40229 [non-C99-based standards] (gammal): Likewise.
40230 [non-C99-based standards] (hypotl): Likewise.
40231 [non-C99-based standards] (j0l): Likewise.
40232 [non-C99-based standards] (j1l): Likewise.
40233 [non-C99-based standards] (jnl): Likewise.
40234 [non-C99-based standards] (lgammal): Likewise.
40235 [non-C99-based standards] (tgammal): Likewise.
40236 [non-C99-based standards] (y0l): Likewise.
40237 [non-C99-based standards] (y1l): Likewise.
40238 [non-C99-based standards] (ynl): Likewise.
40239 [non-C99-based standards] (isnanl): Likewise.
40240 [non-C99-based standards] (acoshl): Likewise.
40241 [non-C99-based standards] (asinhl): Likewise.
40242 [non-C99-based standards] (atanhl): Likewise.
40243 [non-C99-based standards] (cbrtl): Likewise.
40244 [non-C99-based standards] (expm1l): Likewise.
40245 [non-C99-based standards] (ilogbl): Likewise.
40246 [non-C99-based standards] (log1pl): Likewise.
40247 [non-C99-based standards] (logbl): Likewise.
40248 [non-C99-based standards] (nextafterl): Likewise.
40249 [non-C99-based standards] (remainderl): Likewise.
40250 [non-C99-based standards] (rintl): Likewise.
40251 [non-C99-based standards] (scalbl): Likewise.
40252 [ISO || ISO99 || ISO11] (*_t): Do not allow.
40253 [non-C99-based standards] (FP_*): Do not allow.
40254 [C99-based standards] (FP_*): Change to
40255 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
40256 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
40257 allow.
40258 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
40259 (SIG_ERR): Likewise.
40260 [X/Open-based standards] (SIG_HOLD): Likewise.
40261 (SIG_IGN): Likewise.
40262 (SIGABRT): Use macro-int-constant. Specify type. Require
40263 positive value.
40264 (SIGFPE): Likewise.
40265 (SIGILL): Likewise.
40266 (SIGINT): Likewise.
40267 (SIGSEGV): Likewise.
40268 (SIGTER): Likewise.
40269 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
40270 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
40271 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
40272 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
40273 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
40274 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
40275 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
40276 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
40277 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
40278 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
40279 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
40280 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
40281 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
40282 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
40283 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
40284 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
40285 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
40286 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
40287 [X/Open-based standards] (SIGTRAP): Likewise.
40288 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
40289 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
40290 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
40291 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
40292 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
40293 allow.
40294
40295 2012-05-08 Ian Wienand <ianw@vmware.com>
40296
40297 [BZ #14080]
40298 * time/tzset.c (__tzset_parse_tz): Update default rules for
40299 daylight time changes in the Energy Policy Act of 2005.
40300
40301 2012-05-09 Andreas Jaeger <aj@suse.de>
40302
40303 [BZ #13983]
40304 * elf/ldconfig.c (parse_conf): Change string to make clear that
40305 ldconfig only issued a warning if ld.so.conf does not exist.
40306
40307 2012-05-08 David S. Miller <davem@davemloft.net>
40308
40309 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
40310 movxtod instead of popping the value on the stack.
40311
40312 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40313
40314 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
40315
40316 * config.h.in: Add HAVE_ARM_PCS_VFP.
40317
40318 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
40319
40320 [BZ #13979]
40321 * include/features.h: Warn if user requests __FORTIFY_SOURCE
40322 checking but the checks are disabled for any reason.
40323
40324 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
40325
40326 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
40327 and ELF64_R_TYPE with ELFW(R_TYPE).
40328
40329 2012-05-08 Joseph Myers <joseph@codesourcery.com>
40330
40331 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
40332 (ulimit): Likewise.
40333
40334 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
40335 (settimeofday): Likewise.
40336
40337 2012-05-08 Mike Frysinger <vapier@gentoo.org>
40338
40339 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
40340 a struct th_u2 inside the union, and move tu_block/tu_code into
40341 a new th_u3 union of tu_block/tu_code inside of that. Move
40342 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
40343 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
40344 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
40345 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
40346 (th_stuff): Change to th_u1.tu_stuff.
40347 (th_data): Define.
40348 (th_msg): Change to th_u1.th_u2.tu_data.
40349
40350 2012-05-07 David S. Miller <davem@davemloft.net>
40351
40352 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40353
40354 [BZ #14074]
40355 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
40356 (SETUP_PIC_REG): Use it.
40357 (SETUP_PIC_REG_LEAF): Use it.
40358
40359 2012-05-07 Joseph Myers <joseph@codesourcery.com>
40360
40361 [BZ #13885]
40362 [BZ #13923]
40363 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
40364 USE_AS_EXPM1L.
40365 (EXPL_FINITE): Likewise.
40366 (FLDLOG): Likewise.
40367 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
40368 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
40369 e_expl.S.
40370 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
40371 USE_AS_EXPM1L.
40372 (EXPL_FINITE): Likewise.
40373 (FLDLOG): Likewise.
40374 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
40375 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
40376 e_expl.S.
40377 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
40378 test of -max_value argument for long double.
40379 * sysdeps/i386/fpu/libm-test-ulps: Update.
40380 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40381
40382 2012-05-06 David S. Miller <davem@davemloft.net>
40383
40384 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
40385 quad soft-float symbols whose references which are compiler
40386 generated.
40387 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
40388
40389 2012-05-06 Joseph Myers <joseph@codesourcery.com>
40390
40391 [BZ #13884]
40392 [BZ #13914]
40393 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
40394 USE_AS_EXP10L.
40395 (EXPL_FINITE): Likewise.
40396 (FLDLOG): Likewise.
40397 (c0): Likewise.
40398 (c1): Likewise.
40399 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
40400 Adjust comments for base varying.
40401 (__expl_finite): Change alias to EXPL_FINITE.
40402 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
40403 e_expl.S.
40404 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
40405 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
40406 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
40407 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
40408 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
40409 USE_AS_EXP10L.
40410 (EXPL_FINITE): Likewise.
40411 (FLDLOG): Likewise.
40412 (c0): Likewise.
40413 (c1): Likewise.
40414 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
40415 Adjust comments for base varying.
40416 (__expl_finite): Change alias to EXPL_FINITE.
40417 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
40418 tests for bugs.
40419 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40420
40421 [BZ #14064]
40422 * math/libm-test.inc (check_float_internal): Correct ulp
40423 calculation for subnormal expected results.
40424
40425 2012-05-06 Andreas Jaeger <aj@suse.de>
40426
40427 * Makeconfig (+math-flags): New, set to -frounding-math.
40428 (+cflags): Add +math-flags so that all of glibc gets compiled with
40429 it.
40430
40431 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
40432
40433 2012-05-05 Joseph Myers <joseph@codesourcery.com>
40434
40435 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
40436 Disable one test.
40437
40438 [BZ #13787]
40439 [BZ #13922]
40440 [BZ #14036]
40441 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
40442 (__ieee754_expl): Allow for and saturate large arguments.
40443 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
40444 (u_threshold): Likewise.
40445 (__exp): Call __ieee754_exp before checking for overflow and
40446 underflow.
40447 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
40448 (u_threshold): Likewise.
40449 (__expf): Call __ieee754_expf before checking for overflow and
40450 underflow.
40451 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
40452 (u_threshold): Likewise.
40453 (__expl): Call __ieee754_expl before checking for overflow and
40454 underflow.
40455 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
40456 (__ieee754_expl): Allow for and saturate large arguments.
40457 * math/libm-test.inc (exp_test): Add another test. Do not allow
40458 missing overflow exception on overflow.
40459 (expm1_test): Do not allow missing overflow exception on overflow.
40460
40461 * sysdeps/i386/fpu/e_expl.c: Move to ...
40462 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
40463 rather than using inline asm.
40464 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
40465 * sysdeps/x86_64/fpu/e_expl.S: Copy from
40466 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
40467
40468 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
40469 (nice): Likewise.
40470 (poll): Likewise.
40471 (signal): Likewise.
40472 (time): Likewise.
40473 (times): Likewise.
40474
40475 2012-05-04 Joseph Myers <joseph@codesourcery.com>
40476
40477 * sysdeps/unix/syscalls.list (adjtime): Add entry from
40478 sysdeps/unix/common/syscalls.list.
40479 (fchmod): Likewise.
40480 (fchown): Likewise.
40481 (ftruncate): Likewise.
40482 (getrusage): Likewise.
40483 (gettimeofday): Likewise.
40484 (setpgid): Likewise.
40485 (setregid): Likewise.
40486 (setreuid): Likewise.
40487 (sigaction): Likewise.
40488 (truncate): Likewise.
40489 (vhangup): Likewise.
40490 * sysdeps/unix/common/syscalls.list: Remove file.
40491 * sysdeps/unix/bsd/Implies: Don't include unix/common.
40492 * sysdeps/unix/sysv/linux/Implies: Likewise.
40493
40494 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
40495
40496 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
40497 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
40498 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
40499 Moved to ...
40500 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
40501 Here.
40502 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
40503 to ...
40504 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
40505 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
40506 to ...
40507 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
40508 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
40509 to ...
40510 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
40511 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
40512 to ...
40513 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
40514 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
40515 to ...
40516 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
40517 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
40518 to ...
40519 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
40520 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
40521 to ...
40522 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
40523 Here.
40524 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
40525 to ...
40526 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
40527 Here.
40528 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
40529 to ...
40530 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
40531 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
40532 Moved to ...
40533 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
40534 Here.
40535 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
40536 to ...
40537 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
40538
40539 2012-05-04 Joseph Myers <joseph@codesourcery.com>
40540
40541 * sysdeps/unix/common/bits/dirent.h: Remove file.
40542 * sysdeps/unix/common/bits/fcntl.h: Likewise.
40543
40544 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
40545 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
40546 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
40547 * sysdeps/unix/bsd/isatty.c: Likewise.
40548 * sysdeps/unix/bsd/tcdrain.c: Likewise.
40549 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
40550 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
40551
40552 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40553
40554 [BZ #13563]
40555 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
40556 long double comparison inaccuracies.
40557 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
40558 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40559
40560 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
40561
40562 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
40563 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
40564
40565 2012-05-04 Joseph Myers <joseph@codesourcery.com>
40566
40567 [BZ #14049]
40568 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
40569 nonzero digits before rounding a hex value.
40570 * stdlib/tst-strtod.c (tests): Add another test.
40571
40572 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40573
40574 * sysdeps/s390/fpu/libm-test-ulps: Update.
40575
40576 2012-05-03 Andreas Jaeger <aj@suse.de>
40577
40578 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
40579 does not get optimized out.
40580 (malloc_opt_barrier): New.
40581
40582 2012-05-03 Andreas Jaeger <aj@suse.de>
40583 Roland McGrath <roland@hack.frob.com>
40584
40585 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
40586 intermediate file deletion.
40587 (generated): Add .symlist files.
40588
40589 2012-05-03 Joseph Myers <joseph@codesourcery.com>
40590
40591 [BZ #13775]
40592 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
40593 Redirect under this condition.
40594 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
40595 [__USE_GNU] (__dprintf_chk): Not under this condition.
40596 [__USE_GNU] (__vdprintf_chk): Likewise.
40597 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
40598 under this condition.
40599 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
40600 [__USE_XOPEN2K8] (dprintf): Define under this condition.
40601 [__USE_XOPEN2K8] (vdprintf): Likewise.
40602 [__USE_GNU] (__dprintf_chk): Not under this condition.
40603 [__USE_GNU] (__vdprintf_chk): Likewise.
40604 [__USE_GNU] (dprintf): Likewise.
40605 [__USE_GNU] (vdprintf): Likewise.
40606
40607 2012-05-03 Roland McGrath <roland@hack.frob.com>
40608
40609 * elf/Makefile (common-generated): Set this instead of generated for
40610 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
40611 $(all-built-dso)-derived lists.
40612
40613 2012-05-03 Andreas Jaeger <aj@suse.de>
40614
40615 * sysdeps/i386/fpu/libm-test-ulps: Update.
40616
40617 * FAQ: Removed.
40618 * FAQ.in: Likewise.
40619 * scripts/gen-FAQ.pl: Likewise.
40620 * manual/install.texi (Installation): Point to online location of
40621 FAQ.
40622 * Makefile (files-for-dist): Remove FAQ.
40623 (FAQ): Remove.
40624
40625 2012-05-02 Allan McRae <allan@archlinux.org>
40626
40627 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
40628 (LDFLAGS-reldepmod5.so): Likewise.
40629 (LDFLAGS-reldep6mod1.so): Likewise.
40630 (LDFLAGS-reldep6mod4.so): Likewise.
40631 (LDFLAGS-reldep8mod3.so): Likewise.
40632 (LDFLAGS-unload4mod1.so): Likewise.
40633 (LDFLAGS-unload4mod2.so): Likewise.
40634 (LDFLAGS-tst-initorder): Likewise.
40635 (LDFLAGS-tst-initordera2.so): Likewise.
40636 (LDFLAGS-tst-initordera3.so): Likewise.
40637 (LDFLAGS-tst-initordera4.so): Likewise.
40638 (LDFLAGS-tst-initorderb2.so): Likewise.
40639 (LDFLAGS-noload): Likewise.
40640 (LDFLAGS-next): Likewise.
40641 (LDFLAGS-order2mod1.so): Likewise.
40642 (LDFLAGS-order2mod2.so): Likewise.
40643 (LDFLAGS-tst-initorder2): Likewise.
40644 (LDFLAGS-tst-initorder2a.so): Likewise.
40645 (LDFLAGS-tst-initorder2b.so): Likewise.
40646 (LDFLAGS-tst-initorder2c.so): Likewise.
40647 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
40648
40649 2012-05-02 David S. Miller <davem@davemloft.net>
40650
40651 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40652
40653 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
40654
40655 [BZ #14055]
40656 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
40657
40658 2012-05-02 Andreas Jaeger <aj@suse.de>
40659
40660 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
40661 since we manipulate rounding mode.
40662 (CPPFLAGS-test-idouble.c): Likewise.
40663 (CPPFLAGS-test-ifloat.c): Likewise.
40664 (CFLAGS-test-ldouble.c): Likewise.
40665 (CFLAGS-test-double.c): Likewise.
40666 (CFLAGS-test-float.c): Likewise.
40667 (CFLAGS-test-misc.c): Likewise.
40668 (CFLAGS-test-test-fenv.c): Likewise.
40669
40670 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40671
40672 [BZ #2550]
40673 [BZ #2570]
40674 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
40675 comparisons to determine direction to adjust input.
40676
40677 2012-05-01 Roland McGrath <roland@hack.frob.com>
40678
40679 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
40680 output to the target.
40681
40682 * scripts/localplt.awk: New file.
40683 * elf/Makefile ($(objpfx)check-localplt): Target removed.
40684 (check-localplt-CFLAGS): Variable removed.
40685 ($(all-built-dso:=.jmprel)): New static pattern rule.
40686 (generated): Add those targets.
40687 (localplt-built-dso): New variable.
40688 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
40689
40690 * elf/check-localplt.c: File removed.
40691
40692 * scripts/check-execstack.awk: New file.
40693 * elf/Makefile ($(objpfx)check-execstack): Target removed.
40694 (check-execstack-CFLAGS): Variable removed.
40695 ($(objpfx)check-execstack.h): Target removed.
40696 ($(objpfx)execstack-default): New target.
40697 (generated): Add that instead of check-execstack.h.
40698 ($(all-built-dso:=.phdr)): New static pattern rule.
40699 (generated): Add those targets.
40700 * elf/check-execstack.c: File removed.
40701
40702 * scripts/check-textrel.awk: New file.
40703 * elf/Makefile ($(objpfx)check-textrel): Target removed.
40704 (check-textrel-CFLAGS): Variable removed.
40705 (all-built-dso): Use := to define.o
40706 ($(all-built-dso:=.dyn)): New static pattern rule.
40707 (generated): Add those targets.
40708 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
40709 * config.make.in (READELF): New substituted variable.
40710 * elf/check-textrel.c: File removed.
40711
40712 2012-05-01 Joseph Myers <joseph@codesourcery.com>
40713
40714 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
40715 allow.
40716 * conform/data/ctype.h-data [C99-based standards] (isblank):
40717 Expect function.
40718 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
40719 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
40720 [ISO || ISO99 || ISO11] (*_t): Do not allow.
40721 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
40722 Specify type. Require positive value.
40723 (EILSEQ): Likewise.
40724 (ERANGE): Likewise.
40725 [ISO || POSIX] (EILSEQ): Do not expect.
40726 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
40727 Specify type. Require positive value.
40728 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
40729 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
40730 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
40731 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
40732 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
40733 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
40734 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
40735 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
40736 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
40737 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
40738 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
40739 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
40740 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
40741 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
40742 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
40743 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
40744 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
40745 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
40746 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
40747 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
40748 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
40749 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
40750 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
40751 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
40752 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
40753 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
40754 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
40755 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
40756 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
40757 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
40758 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
40759 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
40760 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
40761 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
40762 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
40763 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
40764 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
40765 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
40766 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
40767 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
40768 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
40769 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
40770 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
40771 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
40772 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
40773 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
40774 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
40775 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
40776 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
40777 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
40778 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
40779 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
40780 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
40781 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
40782 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
40783 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
40784 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
40785 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
40786 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
40787 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
40788 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
40789 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
40790 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
40791 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
40792 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
40793 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
40794 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
40795 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
40796 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
40797 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
40798 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
40799 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
40800 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
40801 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
40802 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
40803 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
40804 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
40805 Require >= 2.
40806 (FLT_ROUNDS): Expect as macro, not constant.
40807 (FLT_MANT_DIG): Use macro-int-constant.
40808 (DBL_MANT_DIG): Likewise.
40809 (LDBL_MANT_DIG): Likewise.
40810 (FLT_DIG): Likewise.
40811 (DBL_DIG): Likewise.
40812 (LDBL_DIG): Likewise.
40813 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
40814 (DBL_MIN_EXP): Likewise.
40815 (LDBL_MIN_EXP): Likewise.
40816 (FLT_MAX_EXP): Use macro-int-constant.
40817 (DBL_MAX_EXP): Likewise.
40818 (LDBL_MAX_EXP): Likewise.
40819 (FLT_MAX_10_EXP): Likewise.
40820 (DBL_MAX_10_EXP): Likewise.
40821 (LDBL_MAX_10_EXP): Likewise.
40822 (FLT_MAX): Use macro-constant.
40823 (DBL_MAX): Likewise.
40824 (LDBL_MAX): Likewise.
40825 (FLT_EPSILON): Use macro-constant. Give upper bound.
40826 (DBL_EPSILON): Likewise.
40827 (LDBL_EPSILON): Likewise.
40828 (FLT_MIN): Likewise.
40829 (DBL_MIN): Likewise.
40830 (LDBL_MIN): Likewise.
40831 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
40832 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
40833 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
40834 [ISO11] (FLT_HAS_SUBNORM): Likewise.
40835 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
40836 [ISO11] (DBL_DECIMAL_DIG): Likewise.
40837 [ISO11] (FLT_DECIMAL_DIG): Likewise.
40838 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
40839 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
40840 [ISO11] (FLT_TRUE_MIN): Likewise.
40841 [ISO11] (LDBL_TRUE_MIN): Likewise.
40842 [ISO || ISO99 || ISO11] (*_t): Do not allow.
40843 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
40844 (SCHAR_MIN): Use macro-int-constant. Specify type.
40845 (SCHAR_MAX): Likewise.
40846 (UCHAR_MAX): Likewise.
40847 (CHAR_MIN): Likewise.
40848 (CHAR_MAX): Likewise.
40849 (MB_LEN_MAX): Use macro-int-constant.
40850 (SHRT_MIN): Use macro-int-constant. Specify type.
40851 (SHRT_MAX): Likewise.
40852 (USHRT_MAX): Likewise.
40853 (INT_MAX): Likewise.
40854 (INT_MIN): Use macro-int-constant. Specify type. Make upper
40855 bound negative.
40856 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
40857 bound with "U".
40858 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
40859 bound with "L".
40860 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
40861 bound negative. Suffix upper bound with "L".
40862 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
40863 bound with "UL".
40864 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
40865 Specify type.
40866 [C99-based standards] (LLONG_MAX): Likewise.
40867 [C99-based standards] (ULLONG_MAX): Likewise.
40868 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
40869 == 0.
40870 [ISO11] (max_align_t): Require type.
40871 [ISO || ISO99 || ISO11] (*_t): Do not allow.
40872
40873 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
40874 from $CFLAGS, without defining away __attribute__ calls.
40875 (checknamespace): Use $CFLAGS_namespace.
40876
40877 * conform/conformtest.pl (@keywords): Only include C99 keywords
40878 for standards based on C99 or C11.
40879
40880 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
40881 Disable tests.
40882 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
40883 UNIX98]: Likewise.
40884
40885 * conform/conformtest.pl: Handle "macro-int-constant" and test for
40886 usability of symbols in #if.
40887
40888 * conform/conformtest.pl: If macro or constant types start
40889 "promoted:", expect the symbol to be of the following type
40890 promoted by the integer promotions.
40891
40892 * conform/conformtest.pl: Parse all "constant" and "macro" lines
40893 in one place. Also handle "macro-constant".
40894
40895 * conform/conformtest.pl: Only accept expected macro values with
40896 "==". Parse all "macro" lines in one place.
40897 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
40898
40899 * conform/conformtest.pl: Handle braced types on "constant" lines
40900 instead of handling "typed-constant".
40901 * conform/data/signal.h-data: Use "constant" instead of
40902 "typed-constant".
40903
40904 * conform/conformtest.pl: Handle "optional-" at start of lines in
40905 one place rather than duplicating several cases. Handle each
40906 format of "macro" line with initial "optional-".
40907
40908 * conform/conformtest.pl: Only accept expected constant or
40909 optional-constant values with "==". Parse all "constant" lines in
40910 one place. Parse all "optional-constant" lines in one place.
40911 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
40912 * conform/data/fmtmsg.h-data: Likewise.
40913 * conform/data/netinet/in.h-data: Likewise.
40914 * conform/data/tar.h-data: Likewise.
40915 * conform/data/limits.h-data: Use "==" form on "constant" and
40916 "optional-constant" lines.
40917
40918 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
40919 Use -std=c99 for XOPEN2K.
40920 (@knownproblems): Remove.
40921 (newtoken): Don't check %isknown.
40922
40923 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
40924 Do not expect macro.
40925 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
40926 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
40927 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
40928 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
40929 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
40930 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
40931 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
40932 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
40933 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
40934 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
40935 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
40936 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
40937 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
40938 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
40939 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
40940 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
40941 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
40942 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
40943 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
40944 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
40945 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
40946 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
40947 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
40948 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
40949 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
40950 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
40951 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
40952 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
40953 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
40954 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
40955 [XPG3] (acosh): Likewise.
40956 [XPG3] (asinh): Likewise.
40957 [XPG3] (atanh): Likewise.
40958 [XPG3] (cbrt): Likewise.
40959 [XPG3] (expm1): Likewise.
40960 [XPG3] (ilogb): Likewise.
40961 [XPG3] (log1p): Likewise.
40962 [XPG3] (logb): Likewise.
40963 [XPG3] (nextafter): Likewise.
40964 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
40965 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
40966 [XPG3] (remainder): Likewise.
40967 [XPG3] (rint): Likewise.
40968 [XPG3 || XPG4 || UNIX98] (round): Likewise.
40969 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
40970 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
40971 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
40972 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
40973 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
40974 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
40975 [UNIX98 || XOPEN2K] (scalb): Expect.
40976 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
40977 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
40978 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
40979 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
40980 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
40981 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
40982 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
40983 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
40984 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
40985 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
40986 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
40987 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
40988 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
40989 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
40990 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
40991 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
40992 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
40993 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
40994 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
40995 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
40996 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
40997 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
40998 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
40999 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
41000 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
41001 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
41002 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
41003 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
41004 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
41005 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
41006 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
41007 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
41008 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
41009 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
41010 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
41011 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
41012 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
41013 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
41014 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
41015 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
41016 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
41017 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
41018 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
41019 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
41020 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
41021 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
41022 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
41023 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
41024 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
41025 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
41026 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
41027 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
41028 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
41029 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
41030 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
41031 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
41032 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
41033 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
41034 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
41035 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
41036 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
41037 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
41038 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
41039 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
41040 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
41041 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
41042 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
41043 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
41044 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
41045 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
41046 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
41047 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
41048 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
41049 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
41050 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
41051 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
41052 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
41053 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
41054 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
41055 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
41056 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
41057 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
41058 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
41059 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
41060 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
41061 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
41062 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
41063 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
41064 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
41065 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
41066 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
41067 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
41068 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
41069 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
41070 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
41071 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
41072 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
41073 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
41074 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
41075 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
41076 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
41077 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
41078 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
41079 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
41080 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
41081 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
41082 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
41083 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
41084 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
41085 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
41086 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
41087 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
41088 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
41089 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
41090 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
41091 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
41092 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
41093 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
41094 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
41095 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
41096 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
41097 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
41098 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
41099 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
41100 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
41101 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
41102 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
41103 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
41104 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
41105 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
41106 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
41107 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
41108 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
41109 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
41110 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
41111 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
41112 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
41113
41114 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
41115 _XOPEN_SOURCE_EXTENDED for XPG4.
41116
41117 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
41118
41119 * Makeconfig (localtime): Remove variable.
41120 (inst_localtime-file): Likewise.
41121
41122 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
41123
41124 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
41125 Update.
41126 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
41127 Update.
41128 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
41129 Update.
41130 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
41131 Update.
41132 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
41133 Update.
41134 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
41135 Update.
41136 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
41137 Update.
41138 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
41139 Update.
41140 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
41141 Update.
41142
41143 2012-05-01 Joseph Myers <joseph@codesourcery.com>
41144
41145 [BZ #2550]
41146 [BZ #2570]
41147 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
41148 comparisons to determine direction to adjust input.
41149 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
41150 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
41151 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
41152 Likewise.
41153 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
41154 Likewise.
41155 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
41156 Likewise.
41157 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
41158 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
41159 Likewise.
41160 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
41161 Likewise.
41162 * math/libm-test.inc (nexttoward_test): Add more tests.
41163
41164 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
41165
41166 [BZ #14040]
41167 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
41168 in version GLIBC_2.1, not GLIBC_2.0.
41169 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
41170 Likewise.
41171
41172 2012-04-30 Joseph Myers <joseph@codesourcery.com>
41173
41174 [BZ #13942]
41175 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
41176 (1 - x) * (1 + x).
41177 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
41178 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
41179 * math/libm-test.inc (acos_test): Add more tests.
41180 (asin_test): Likewise.
41181 * sysdeps/i386/fpu/libm-test-ulps: Update.
41182 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41183
41184 [BZ #14034]
41185 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
41186 of square root.
41187 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
41188 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
41189 * math/libm-test.inc (acos_test_tonearest): New function.
41190 (acos_test_towardzero): Likewise.
41191 (acos_test_downward): Likewise.
41192 (acos_test_upward): Likewise.
41193 (asin_test_tonearest): Likewise.
41194 (asin_test_towardzero): Likewise.
41195 (asin_test_downward): Likewise.
41196 (asin_test_upward): Likewise.
41197 (main): Call the new functions.
41198 * sysdeps/i386/fpu/libm-test-ulps: Update.
41199 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41200
41201 [BZ #13884]
41202 [BZ #13924]
41203 * math/e_exp10.c: Include <float.h>.
41204 (__ieee754_exp10): Handle underflow here rather than multiplying
41205 large negative argument by M_LN10.
41206 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
41207 of __ieee754_expf.
41208 * math/e_exp10l.c: Include <float.h>.
41209 (__ieee754_exp10l): Handle underflow here rather than multiplying
41210 large negative argument by M_LN10l.
41211 * math/libm-test.inc (exp10_test): Add another test. Do not allow
41212 spurious overflow exception on underflow.
41213
41214 2012-04-29 Marek Polacek <polacek@redhat.com>
41215
41216 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
41217 (__fortify_function): New macro.
41218 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
41219 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
41220 __extern_always_inline.
41221 * libio/bits/stdio2.h: Likewise.
41222 * libio/bits/stdio.h: Likewise.
41223 * string/string.h: Likewise.
41224 * string/bits/string3.h: Likewise.
41225 * include/stdio.h: Likewise.
41226 * stdlib/bits/stdlib.h: Likewise.
41227 * stdlib/stdlib.h: Likewise.
41228 * rt/bits/mqueue2.h: Likewise.
41229 * rt/mqueue.h: Likewise.
41230 * posix/bits/unistd.h: Likewise.
41231 * posix/unistd.h: Likewise.
41232 * io/bits/poll2.h: Likewise.
41233 * io/bits/fcntl2.h: Likewise.
41234 * io/fcntl.h: Likewise.
41235 * io/sys/poll.h: Likewise.
41236 * misc/bits/syslog.h: Likewise.
41237 * misc/bits/syslog-ldbl.h: Likewise.
41238 * misc/sys/syslog.h: Likewise.
41239 * socket/bits/socket2.h: Likewise.
41240 * socket/sys/socket.h: Likewise.
41241 * debug/tst-chk1.c: Likewise.
41242 * wcsmbs/bits/wchar2.h: Likewise.
41243 * wcsmbs/bits/wchar-ldbl.h: Likewise.
41244 * wcsmbs/wchar.h: Likewise.
41245
41246 2012-04-29 Andreas Jaeger <aj@suse.de>
41247
41248 * Makerules (tests): Remove enable-check-abi protection.
41249 (check-abi-warn): Remove.
41250 (check-abi-%): Remove check-abi-warn usage.
41251
41252 * configure.in: Remove check-abi configure option.
41253 * configure: Regenerated.
41254 * config.make.in (enable-check-abi): Remove.
41255
41256 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
41257
41258 [BZ #14033]
41259 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
41260 double functions to double *_finite functions.
41261
41262 [BZ #13941]
41263 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
41264 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
41265 LDBL_MIN_EXP.
41266 * stdio-common/Makefile (tests): Add tst-sprintf3.
41267 * stdio-common/tst-sprintf3.c: New file.
41268
41269 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
41270 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
41271
41272 2012-04-28 Joseph Myers <joseph@codesourcery.com>
41273
41274 * conform/conformtest.pl: Remove duplicate typed-constant
41275 handling.
41276
41277 2012-04-28 David S. Miller <davem@davemloft.net>
41278
41279 * Makerules (%.abilist): Add vpath on sysdep_dirs.
41280 (check-abi-%): Remove AWK script prerequisite and explicit
41281 abilist directory.
41282 (check-abi): Rewrite to just diff the symlist with the abilist.
41283 (config-tls, config-abi-config): Delete, no longer used.
41284 (update-abi-%): Remove AWK script and explicit abilist directory.
41285 (update-abi): Rewrite to simply compare and conditionally copy the
41286 symlist and the sysdep abilist file. Remove update-abi-config
41287 checks.
41288 * abilist/ld.abilist: Remove.
41289 * abilist/libBrokenLocale.abilist: Remove.
41290 * abilist/libanl.abilist: Remove.
41291 * abilist/libcrypt.abilist: Remove.
41292 * abilist/libdl.abilist: Remove.
41293 * abilist/librt.abilist: Remove.
41294 * abilist/libthread_db.abilist: Remove.
41295 * abilist/libutil.abilist: Remove.
41296 * scripts/extract-abilist.awk: Remove.
41297 * scripts/merge-abilist.awk: Remove.
41298 * sysdeps/generic/libcidn.abilist: New file.
41299 * sysdeps/generic/libnss_compat.abilist: New file.
41300 * sysdeps/generic/libnss_db.abilist: New file.
41301 * sysdeps/generic/libnss_dns.abilist: New file.
41302 * sysdeps/generic/libnss_files.abilist: New file.
41303 * sysdeps/generic/libnss_hesiod.abilist: New file.
41304 * sysdeps/generic/libnss_nis.abilist: New file.
41305 * sysdeps/generic/libnss_nisplus.abilist: New file.
41306 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
41307 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
41308 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
41309 file.
41310 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
41311 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
41312 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
41313 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
41314 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
41315 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
41316 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
41317 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
41318 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
41319 file.
41320 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
41321 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
41322 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
41323 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
41324 file.
41325 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
41326 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
41327 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
41328 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
41329 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
41330 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
41331 file.
41332 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
41333 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
41334 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
41335 file.
41336 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
41337 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
41338 New file.
41339 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
41340 New file.
41341 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
41342 New file.
41343 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
41344 New file.
41345 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
41346 New file.
41347 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
41348 New file.
41349 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
41350 New file.
41351 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
41352 New file.
41353 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
41354 New file.
41355 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
41356 New file.
41357 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
41358 New file.
41359 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
41360 New file.
41361 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
41362 New file.
41363 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
41364 file.
41365 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
41366 New file.
41367 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
41368 New file.
41369 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
41370 file.
41371 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
41372 New file.
41373 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
41374 New file.
41375 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
41376 file.
41377 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
41378 New file.
41379 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
41380 New file.
41381 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
41382 New file.
41383 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
41384 New file.
41385 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
41386 New file.
41387 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
41388 New file.
41389 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
41390 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
41391 file.
41392 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
41393 New file.
41394 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
41395 file.
41396 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
41397 file.
41398 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
41399 file.
41400 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
41401 file.
41402 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
41403 file.
41404 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
41405 New file.
41406 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
41407 file.
41408 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
41409 file.
41410 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
41411 New file.
41412 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
41413 file.
41414 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
41415 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
41416 file.
41417 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
41418 New file.
41419 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
41420 file.
41421 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
41422 file.
41423 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
41424 file.
41425 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
41426 file.
41427 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
41428 file.
41429 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
41430 New file.
41431 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
41432 file.
41433 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
41434 file.
41435 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
41436 New file.
41437 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
41438 file.
41439 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
41440 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
41441 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
41442 file.
41443 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
41444 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
41445 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
41446 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
41447 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
41448 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
41449 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
41450 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
41451 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
41452 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
41453 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
41454 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
41455 file.
41456 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
41457 New file.
41458 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
41459 file.
41460 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
41461 file.
41462 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
41463 file.
41464 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
41465 file.
41466 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
41467 file.
41468 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
41469 New file.
41470 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
41471 New file.
41472 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
41473 file.
41474 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
41475 New file.
41476 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
41477 file.
41478 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
41479 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
41480 file.
41481 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
41482 New file.
41483 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
41484 file.
41485 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
41486 file.
41487 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
41488 file.
41489 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
41490 file.
41491 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
41492 file.
41493 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
41494 New file.
41495 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
41496 New file.
41497 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
41498 file.
41499 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
41500 New file.
41501 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
41502 file.
41503
41504 2012-04-28 Joseph Myers <joseph@codesourcery.com>
41505
41506 * conform/conformtest.pl: Fix typo in handling typed-constant from
41507 allow-header.
41508
41509 2012-04-27 Joseph Myers <joseph@codesourcery.com>
41510
41511 * README: Cut down references to pre-2.6 Linux kernels and
41512 Linuxthreads. Update lists of configurations in libc and ports
41513 and sort alphabetically. Say "or newer" with Linux kernel version
41514 requirements.
41515
41516 * config.h.in [IS_IN_build]: Allow compiling without optimization.
41517
41518 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
41519
41520 [BZ #887]
41521 * math/libm-test.inc (logb_test_downward): New test to expose
41522 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
41523 rounding mode.
41524
41525 2012-04-27 Joseph Myers <joseph@codesourcery.com>
41526
41527 [BZ #14027]
41528 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
41529 to be done.
41530 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
41531 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
41532
41533 2012-04-26 Joseph Myers <joseph@codesourcery.com>
41534
41535 * sysdeps/unix/i386/brk.S: Remove file.
41536 * sysdeps/unix/i386/dl-brk.S: Likewise.
41537 * sysdeps/unix/i386/pipe.S: Likewise.
41538 * sysdeps/unix/i386/sigreturn.S: Likewise.
41539 * sysdeps/unix/i386/syscall.S: Likewise.
41540 * sysdeps/unix/i386/vfork.S: Likewise.
41541 * sysdeps/unix/i386/wait.S: Likewise.
41542
41543 * sysdeps/unix/common/tcsendbrk.c: Move to ...
41544 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
41545
41546 * configure.in (arm*-none*): Do not allow without
41547 --enable-hacker-mode.
41548 (netbsd*): Remove case setting base_os.
41549 (386bsd*): Likewise.
41550 (freebsd*): Likewise.
41551 (bsdi*): Likewise.
41552 (osf*): Likewise.
41553 (sunos*): Likewise.
41554 (ultrix*): Likewise.
41555 (newsos*): Likewise.
41556 (dynix*): Likewise.
41557 (*bsd*): Likewise.
41558 (sysv*): Likewise.
41559 (isc*): Likewise.
41560 (esix*): Likewise.
41561 (sco*): Likewise.
41562 (minix*): Likewise.
41563 (irix4*): Likewise.
41564 (irix6*): Likewise.
41565 (solaris[2-9]*): Likewise.
41566 (none): Likewise.
41567 * configure: Regenerated.
41568
41569 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41570
41571 [BZ #11521]
41572 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
41573 overflow or cancellation in calculating denominator.
41574 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
41575 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
41576 down expression to avoid unexpected rounding in newer GCCs.
41577 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
41578
41579 2012-04-26 David S. Miller <davem@davemloft.net>
41580
41581 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
41582 long-double compat symbols.
41583 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
41584 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
41585 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
41586 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
41587 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
41588 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
41589 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
41590 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
41591 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
41592 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
41593 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
41594 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
41595 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
41596
41597 2012-04-25 David S. Miller <davem@davemloft.net>
41598
41599 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
41600 HWCAP_* values only after the memory barriers have been defined.
41601 (atomic_full_barrier): Define.
41602 (atomic_read_barrier): Define.
41603 (atomic_write_barrier): Define.
41604
41605 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
41606
41607 * shlib-versions: Add libgcc_s version information.
41608 * sysdeps/generic/libgcc_s.h: Remove.
41609 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
41610 libgcc_s.h.
41611 * sysdeps/gnu/unwind-resume.c: Likewise.
41612 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
41613
41614 2012-04-25 David S. Miller <davem@davemloft.net>
41615
41616 * sysdeps/unix/sparc/brk.S: Delete.
41617 * sysdeps/unix/sparc/dl-brk.S: Delete.
41618 * sysdeps/unix/sparc/pipe.S: Delete.
41619 * sysdeps/unix/sparc/sysdep.S: Delete.
41620 * sysdeps/unix/sparc/sysdep.h: Delete.
41621 * sysdeps/unix/sparc/vfork.S: Delete.
41622 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
41623 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
41624 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
41625 (ret_ERRVAL, r0, r1, MOVE): Define.
41626 (JUMPTARGET): Remove.
41627 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
41628 sysdeps/unix/sparc/sysdep.h
41629 (ENTRY, END): Remove.
41630 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
41631
41632 2012-04-25 Joseph Myers <joseph@codesourcery.com>
41633
41634 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
41635 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
41636 -DIS_IN_build.
41637
41638 * timezone/README: Update upstream location and email address for
41639 tzcode and tzdata.
41640 * timezone/zdump.c: Update from tzcode 2012b.
41641 * timezone/zic.c: Likewise.
41642
41643 * configure.in (libc_cv_as_needed): Remove test.
41644 * configure: Regenerated.
41645 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
41646 conditional definition.
41647 [$(have-as-needed) != yes] (no-as-needed): Likewise.
41648 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
41649 * config.make.in (have-as-needed): Remove variable.
41650
41651 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
41652 Paul Pluzhnikov <ppluzhnikov@google.com>
41653
41654 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
41655 strings correctly.
41656
41657 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
41658
41659 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
41660 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
41661 * sysdeps/sh/strlen.S: Likewise.
41662
41663 2012-04-24 Joseph Myers <joseph@codesourcery.com>
41664
41665 * sysdeps/unix/fork.S: Remove file.
41666 * sysdeps/unix/i386/fork.S: Likewise.
41667 * sysdeps/unix/sparc/fork.S: Likewise.
41668
41669 * sysdeps/unix/system.c: Remove file.
41670 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
41671
41672 * sysdeps/unix/getegid.S: Remove file.
41673 * sysdeps/unix/geteuid.S: Likewise.
41674
41675 2012-04-24 Roland McGrath <roland@hack.frob.com>
41676
41677 * scripts/check-localplt.awk: New file.
41678 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
41679 of diff.
41680 * scripts/data/localplt-generic.data: Add a comment.
41681
41682 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
41683 NODE when __dir_mkfile failed.
41684 * sysdeps/mach/hurd/symlinkat.c: Likewise.
41685 Reported by Ludovic Courtès <ludo@gnu.org>.
41686
41687 2012-04-24 Andreas Jaeger <aj@suse.de>
41688
41689 * Makerules (common-clean): Also remove gen-as-const-headers
41690 files.
41691
41692 2012-04-24 Joseph Myers <joseph@codesourcery.com>
41693
41694 * Makerules (native-compile): Do not change working directory for
41695 build. Use $(OUTPUT_OPTION) in command.
41696 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
41697
41698 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41699
41700 [BZ #13886]
41701 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
41702 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
41703 * math/libm-test.inc (floor_test): Add more tests.
41704 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
41705
41706 2012-04-24 Joseph Myers <joseph@codesourcery.com>
41707
41708 * sysdeps/unix/getdents.c: Remove file.
41709 * sysdeps/unix/sysv/getdents.c: Likewise.
41710 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
41711
41712 * sysdeps/unix/syscalls.list (madvise): Add syscall from
41713 sysdeps/unix/mman/syscalls.list.
41714 (mmap): Likewise.
41715 (mprotect): Likewise.
41716 (msync): Likewise.
41717 (munmap): Likewise.
41718 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
41719 * sysdeps/unix/mman/syscalls.list: Remove.
41720 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
41721
41722 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
41723 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
41724 * configure: Regenerated.
41725 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
41726 $(libgcc_s_suffix).
41727 * config.make.in (libgcc_s_suffix): Remove variable.
41728
41729 2012-04-23 Joseph Myers <joseph@codesourcery.com>
41730
41731 * sysdeps/unix/sysv/gethostname.c: Move to ...
41732 * sysdeps/posix/gethostname.c: ... here.
41733
41734 * sysdeps/unix/execve.S: Remove file.
41735
41736 * sysdeps/unix/_exit.S: Remove file.
41737
41738 2012-04-23 Andreas Jaeger <aj@suse.de>
41739
41740 [BZ #13739]
41741 * manual/Makefile: Remove make dist support, there's no
41742 need for a stand-alone documentation tar ball.
41743 (TEXI2DVI): Define always, it's not in Makeconfig.
41744 (dist): Removed.
41745 (tar-it): Removed.
41746 (edition): Removed.
41747 (glibc-doc-$(edition).tar): Removed
41748 (%.Z): Removed.
41749 (%.gz): Removed.
41750 (%.uu): Removed.
41751 (ETAGS): Remove, it's in Makeconfig.
41752 (move-if-change): Remove, it's in Makeconfig.
41753
41754 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
41755
41756 [BZ #13970]
41757 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
41758 (strtod, strtof, strtold, strtol, strtoul, strtoq)
41759 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
41760 (strtod_l, strtof_l, strtold_l): Remove __wur.
41761 It is not necessarily an error to ignore strtol's return value.
41762 One can reliably look at the stored endptr to decide whether
41763 the number had valid syntax.
41764
41765 2012-04-21 Andreas Jaeger <aj@suse.de>
41766
41767 [BZ #13739]
41768 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
41769
41770 2012-04-21 Joseph Myers <joseph@codesourcery.com>
41771
41772 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
41773 * sysdeps/unix/sysv/Versions: Remove file.
41774
41775 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
41776
41777 [BZ #13927]
41778 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41779
41780 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
41781
41782 [BZ #7064]
41783 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
41784 version from __vm86.
41785
41786 2012-04-20 Joseph Myers <joseph@codesourcery.com>
41787
41788 * sysdeps/unix/common/lxstat.c: Remove file.
41789 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
41790
41791 * sysdeps/unix/sysv/Makefile: Remove file.
41792
41793 * sysdeps/unix/sysv/direct.h: Remove file.
41794
41795 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
41796 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
41797 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
41798 * sysdeps/unix/sysv/bits/signum.h: Likewise.
41799 * sysdeps/unix/sysv/bits/stat.h: Likewise.
41800 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
41801 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
41802
41803 * sysdeps/unix/sysv/setrlimit.c: Remove file.
41804
41805 * sysdeps/unix/xmknod.c: Remove file.
41806 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
41807
41808 * sysdeps/unix/sysv/settimeofday.c: Remove file.
41809
41810 * sysdeps/unix/sysv/i386/time.S: Remove file.
41811
41812 * sysdeps/unix/fxstat.c: Remove file.
41813 * sysdeps/unix/xstat.c: Likewise.
41814 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
41815
41816 * sysdeps/unix/sysv/sigaction.c: Remove file.
41817
41818 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
41819 (sysdep_headers): Remove variable.
41820 [termio.h not in sysdep_headers] (generated): Likewise.
41821 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
41822 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
41823 * sysdeps/unix/sysv/tcdrain.c: Likewise.
41824 * sysdeps/unix/sysv/tcflow.c: Likewise.
41825 * sysdeps/unix/sysv/tcflush.c: Likewise.
41826 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
41827 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
41828 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
41829 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
41830 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
41831
41832 * sysdeps/unix/siglist.c: Remove file.
41833
41834 * sysdeps/unix/getppid.S: Remove file.
41835
41836 * sysdeps/unix/mkdir.c: Remove file.
41837 * sysdeps/unix/rmdir.c: Likewise.
41838
41839 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
41840
41841 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
41842 ERR_MAX value.
41843 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
41844 errlist-compat value.
41845
41846 2012-04-18 David S. Miller <davem@davemloft.net>
41847
41848 * sysdeps/generic/memcopy.h (reg_char): Delete.
41849 * debug/strcat_chk.c: Use char, not reg_char.
41850 * debug/strcpy_chk.c: Likewise.
41851 * debug/strncat_chk.c: Likewise.
41852 * debug/strncpy_chk.c: Likewise.
41853 * string/memchr.c: Likewise.
41854 * string/memrchr.c: Likewise.
41855 * string/rawmemchr.c: Likewise.
41856 * string/strcat.c: Likewise.
41857 * string/strchr.c: Likewise.
41858 * string/strchrnul.c: Likewise.
41859 * string/strcmp.c: Likewise.
41860 * string/strcpy.c: Likewise.
41861 * string/strncat.c: Likewise.
41862 * string/strncmp.c: Likewise.
41863 * string/strncpy.c: Likewise.
41864
41865 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
41866
41867 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
41868 __builtin_memcopy is called when src and dest ranges are known to not
41869 overlap.
41870
41871 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
41872
41873 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
41874 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
41875 fwd_align_merge macro call.
41876 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
41877 bwd_align_merge macro call.
41878 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
41879
41880 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
41881
41882 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
41883 bwd_align_merge macros.
41884 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
41885 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
41886 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
41887
41888 2012-04-18 David S. Miller <davem@davemloft.net>
41889
41890 * sysdeps/sparc/sparc64/memcopy.h: Delete.
41891
41892 2012-04-18 Andreas Jaeger <aj@suse.de>
41893
41894 [BZ# 6794]
41895 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
41896 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
41897 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
41898
41899 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
41900 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
41901 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
41902
41903 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
41904 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
41905 Adjust for changed ldbl-128 files.
41906
41907 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
41908 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
41909 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
41910
41911 2012-04-17 David S. Miller <davem@davemloft.net>
41912
41913 * sysdeps/sparc/sparc32/memcopy.h: Delete.
41914
41915 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
41916
41917 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
41918 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
41919 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
41920 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
41921 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
41922 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
41923
41924 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41925
41926 [BZ #6794]
41927 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
41928 * math/libm-test.inc: Add ilogb errno and exception tests.
41929 * math/w_ilogb.c: New file: ilogb wrapper.
41930 * math/w_ilogbf.c: New file: ilogbf wrapper.
41931 * math/w_ilogbl.c: New file: ilogbl wrapper.
41932 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
41933 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
41934 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
41935 exception being thrown with 0.0 as argument.
41936 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
41937 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
41938 exception being thrown with 0.0 as argument.
41939 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
41940 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
41941 exception being thrown with 0.0 as argument.
41942 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
41943 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
41944 exception being thrown with 0.0 as argument.
41945 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
41946 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
41947 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
41948 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
41949 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
41950 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
41951 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
41952 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
41953 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
41954
41955 2012-04-17 Petr Baudis <pasky@ucw.cz>
41956
41957 * include/sys/uio.h: Change __vector to __iovec to avoid clash
41958 with altivec.
41959
41960 2012-04-16 Marek Polacek <polacek@redhat.com>
41961
41962 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
41963
41964 2012-04-16 Marek Polacek <polacek@redhat.com>
41965
41966 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
41967 operands of fdivp instruction.
41968
41969 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
41970
41971 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
41972 * elf/tst-auditmod3b.c: Likewise.
41973 * elf/tst-auditmod4b.c: Likewise.
41974 * elf/tst-auditmod5b.c: Likewise.
41975 * elf/tst-auditmod6b.c: Likewise.
41976 * elf/tst-auditmod6c.c: Likewise.
41977 * elf/tst-auditmod7b.c: Likewise.
41978 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
41979 * sysdeps/x86_64/preconfigure.in: Likewise.
41980 * sysdeps/x86_64/preconfigure: Regenerated.
41981
41982 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
41983
41984 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
41985 __ILP32__.
41986
41987 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
41988
41989 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
41990 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
41991
41992 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
41993
41994 [BZ #13973]
41995 * locale/iso-639.def: Fix gl language name. Spotted by
41996 Yaron Shahrabani.
41997
41998 2012-04-12 Roland McGrath <roland@hack.frob.com>
41999
42000 [BZ #2074]
42001 * libio/libio.h (__io_write_fn): Update comment.
42002
42003 2012-04-12 Petr Baudis <pasky@ucw.cz>
42004
42005 [BZ #2074]
42006 * stdio.texi (Hook Functions): The user provided writer function
42007 is not allowed to return -1.
42008
42009 2012-04-11 David S. Miller <davem@davemloft.net>
42010
42011 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42012
42013 2012-04-11 Mike Frysinger <vapier@gentoo.org>
42014
42015 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
42016 Add a leading slash to rtkaio.
42017
42018 2012-04-11 Jim Meyering <meyering@redhat.com>
42019
42020 [BZ #11959]
42021 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
42022 It is not necessarily an error to ignore fwrite's return
42023 value. One can reliably use ferror to test for errors after
42024 the fact.
42025
42026 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
42027
42028 * bits/types.h (__snseconds_t): New type.
42029 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
42030
42031 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
42032 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
42033 (__SNSECONDS_T_TYPE): Likewise.
42034 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
42035 (__SNSECONDS_T_TYPE): Likewise.
42036 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
42037 (__SNSECONDS_T_TYPE): Likewise.
42038
42039 2012-04-10 Andreas Jaeger <aj@suse.de>
42040
42041 [BZ #2636]
42042 * manual/time.texi (Processor Time): Return type of times is
42043 elapsed real time since an arbitrary point in the past.
42044 (CPU Time): Move CLK_TCK from here...
42045 (Processor Time): ...to here. Correct description.
42046 * manual/conf.texi (Constants for Sysconf): Correct description of
42047 _SC_CLK_TCK.
42048
42049 2012-04-10 David S. Miller <davem@davemloft.net>
42050
42051 [BZ #13967]
42052 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
42053 where the is a gap between DT_REL(A) and DT_JMPREL.
42054
42055 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
42056
42057 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
42058 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
42059 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
42060
42061 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
42062
42063 * elf/dl-support.c (_dl_inhibit_cache): New variable.
42064 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
42065 (dl_main): Handle --inhibit-cache.
42066 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
42067 _dl_inhibit_cache.
42068 * elf/dl-load.c (_dl_map_object): Use it.
42069 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
42070
42071 2012-04-09 Joseph Myers <joseph@codesourcery.com>
42072
42073 [BZ #13872]
42074 * sysdeps/i386/fpu/e_powl.S (p78): New object.
42075 (__ieee754_powl): Saturate large exponents rather than testing for
42076 overflow of y*log2(x).
42077 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
42078 * math/libm-test.inc (pow_test): Do not permit spurious overflow
42079 exceptions.
42080
42081 [BZ #11521]
42082 * math/s_ctan.c: Include <float.h>.
42083 (__ctan): Avoid internal overflow or cancellation in calculating
42084 denominator.
42085 * math/s_ctanf.c: Likewise.
42086 * math/s_ctanl.c: Likewise.
42087 * math/s_ctanh.c: Likewise.
42088 * math/s_ctanhf.c: Likewise.
42089 * math/s_ctanhl.c: Likewise.
42090 * math/libm-test.inc (ctan_test): Add more tests.
42091 (ctanh_test): Likewise.
42092 * sysdeps/i386/fpu/libm-test-ulps: Update.
42093 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42094
42095 2012-04-09 Andreas Jaeger <aj@suse.de>
42096
42097 [BZ #6894]
42098 * manual/filesys.texi (Directory Entries): Mention that d_namlen
42099 is an optional BSD extension.
42100
42101 [BZ #10254]
42102 * manual/stdio.texi (Opening Streams): Document additional fopen
42103 parameters.
42104
42105 2012-04-09 Roland McGrath <roland@hack.frob.com>
42106
42107 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
42108 %eax without telling the compiler.
42109
42110 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
42111
42112 [BZ # 13963]
42113 * manual/install.texi: Use sourceware.org.
42114
42115 2012-04-09 Joseph Myers <joseph@codesourcery.com>
42116
42117 [BZ #13873]
42118 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
42119 (__ieee754_pow): Generate overflow and underflow using huge*huge
42120 and tiny*tiny rather than just returning constant infinity or zero
42121 for large exponents.
42122 * math/libm-test.inc (pow_test): Require overflow exceptions for
42123 applicable cases of large exponents.
42124
42125 [BZ #706]
42126 * sysdeps/i386/fpu/e_pow.S (p10): New object.
42127 (__ieee754_pow): Use iterative multiplication algorithm only for
42128 integer exponents with absolute value below 1024. Check for odd
42129 integer exponents when using algorithm for real exponents.
42130 * math/libm-test.inc (pow_test): Add more tests.
42131 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42132
42133 2012-04-08 Joseph Myers <joseph@codesourcery.com>
42134
42135 [BZ #13705]
42136 * math/libm-test.inc (exp_test): Do not allow overflow exception
42137 on underflow test.
42138
42139 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
42140
42141 [BZ #13705]
42142 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
42143 instead of __kernel_standard_f.
42144
42145 2012-04-08 Mike Frysinger <vapier@gentoo.org>
42146
42147 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
42148 * sysdeps/x86_64/memset_chk.S: Likewise.
42149
42150 2012-04-08 Andreas Jaeger <aj@suse.de>
42151
42152 [BZ #10153]
42153 * manual/startup.texi (Environment Access): Describe return value
42154 for putenv and setenv.
42155
42156 [BZ #6895]
42157 * manual/filesys.texi (Directory Entries): Add description for
42158 DT_LNK.
42159
42160 [BZ #6890]
42161 * manual/filesys.texi (Directory Entries): Clarify that it's file
42162 system not operating system in the description of DT_UNKNOWN.
42163
42164 [BZ #6578]
42165 * manual/syslog.texi (closelog): Fix reference, it's openlog.
42166
42167 2012-04-08 Stephen Compall <s11@member.fsf.org>
42168
42169 [BZ #6649]
42170 * manual/llio.texi (Opening and Closing Files): Add cross
42171 reference to explain mode argument.
42172
42173 2012-04-07 Mike Frysinger <vapier@gentoo.org>
42174
42175 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
42176 * sysdeps/x86_64/memset_chk.S: Likewise.
42177
42178 2012-04-07 David S. Miller <davem@davemloft.net>
42179
42180 * elf/elf.h (R_SPARC_WDISP10): Define.
42181 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
42182 R_SPARC_SIZE32.
42183 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
42184 R_SPARC_SIZE64 and R_SPARC_H34.
42185
42186 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
42187
42188 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
42189 conditions and remove no longer applicable assertion.
42190
42191 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
42192
42193 * bits/byteswap.h: Include <features.h>.
42194 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
42195 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
42196
42197 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
42198
42199 * bits/byteswap.h (__bswap_16): Removed.
42200 Include <bits/byteswap-16.h> to get __bswap_16.
42201 * sysdeps/i386/bits/byteswap.h: Likewise.
42202 * sysdeps/s390/bits/byteswap.h: Likewise.
42203 * sysdeps/x86_64/bits/byteswap.h: Likewise.
42204 * bits/byteswap-16.h: New file.
42205 * sysdeps/i386/bits/byteswap-16.h: Likewise.
42206 * sysdeps/s390/bits/byteswap-16.h: Likewise.
42207 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
42208 * string/Makefile (headers): Add bits/byteswap-16.h.
42209
42210 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
42211
42212 [BZ #13895]
42213 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
42214 extra indirection.
42215 * nss/Makefile (tests-static, tests): Add tst-nss-static.
42216 * nss/tst-nss-static.c: New.
42217
42218 2012-04-06 Robert Millan <rmh@gnu.org>
42219
42220 [BZ #6486]
42221 * manual/llio.texi (File Position Primitive): lseek
42222 refers to WHENCE when it really means OFFSET.
42223
42224 2012-04-06 Andreas Jaeger <aj@suse.de>
42225
42226 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
42227 strncmp declarations.
42228
42229 * abilist/libc.abilist: Add __poll and __ppoll.
42230
42231 2012-04-05 David S. Miller <davem@davemloft.net>
42232
42233 * scripts/check-local-headers.sh: Accept a host triplet in the
42234 path matched by the exclude regexp.
42235
42236 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
42237 definition.
42238 * sysdeps/powerpc/powerpc32/dl-machine.h
42239 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
42240 * sysdeps/s390/s390-32/dl-machine.h
42241 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
42242 * sysdeps/sparc/sparc32/dl-machine.h
42243 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
42244 * sysdeps/sparc/sparc64/dl-machine.h
42245 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
42246
42247 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
42248 lazy binding.
42249 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
42250 undefined symbol errors.
42251
42252 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
42253 DT_NEEDED entries.
42254
42255 2012-04-05 Michael Matz <matz@suse.de>
42256
42257 [BZ #13592]
42258 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
42259
42260 2012-04-05 Andreas Jaeger <aj@suse.de>
42261
42262 [BZ #13908]
42263 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
42264 comment.
42265
42266 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
42267
42268 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
42269 which ROUND is no valid rounding mode.
42270
42271 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
42272
42273 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
42274 read again.
42275 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
42276
42277 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
42278
42279 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
42280 an exception using FPU order intentionally.
42281
42282 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
42283
42284 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
42285 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
42286 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
42287 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
42288
42289 2012-04-05 Simon Josefsson <simon@josefsson.org>
42290
42291 [BZ #12340]
42292 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
42293 EINVAL when BUFLEN is too smal.
42294
42295 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
42296
42297 [BZ #13553]
42298 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
42299 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
42300
42301 2012-04-03 Andreas Jaeger <aj@suse.de>
42302
42303 [BZ #13938]
42304 * manual/setjmp.texi (System V contexts): Fix sentence.
42305
42306 [BZ #13926]
42307 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
42308 New macro for this case.
42309 [!__GNUC__] (__bswap_64): New inline function for this case.
42310 * sysdeps/x86_64/bits/byteswap.h: Likewise.
42311 * bits/byteswap.h: Likewise.
42312 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
42313 ull, guard with __GLIBC_HAVE_LONG_LONG.
42314
42315 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
42316 __GLIBC_HAVE_LONG_LONG.
42317
42318 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
42319 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
42320
42321 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
42322
42323 [BZ #13691]
42324 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
42325 inptr and inend, rather than using last_ch.
42326
42327 2012-04-02 David S. Miller <davem@davemloft.net>
42328
42329 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
42330 * stdio-common/printf-parse.h (read_int): Change return type to
42331 'int', return -1 on INT_MAX overflow.
42332 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
42333 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
42334 overflows INT_MAX. Check for overflow of in-format-string precision
42335 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
42336 SIZE_MAX not INT_MAX for integer overflow test.
42337 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
42338 skip the construct in the format string but do not record anything.
42339 * stdio-common/bug22.c: Adjust to test both width/prevision
42340 INT_MAX overflow as well as total length INT_MAX overflow. Check
42341 explicitly for proper errno values.
42342
42343 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
42344
42345 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
42346 CHAR_MAX.
42347 * string/test-strcmp.c [! WIDE]: Likewise.
42348 * time/tst-mktime2.c: Likewise for INT_MAX.
42349 * string/test-string.h: #include <sys/param.h> for MIN.
42350
42351 * csu/init-first.c (__libc_init_first): Call __ctype_init.
42352 * sysdeps/i386/init-first.c (init): Likewise.
42353 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
42354 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
42355 * sysdeps/sh/init-first.c (init): Likewise.
42356
42357 2012-04-01 Ulrich Drepper <drepper@gmail.com>
42358
42359 * po/ru.po: Update from translation team.
42360 * po/vi.po: Likewise.
42361
42362 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
42363
42364 * resolv/nss_dns/dns-host.c: Merge copyright years.
42365
42366 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42367
42368 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
42369 Optimize memcpy with prefetch if
42370 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
42371 src, dst pointers have unequal 16 byte alignments.
42372
42373 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
42374
42375 [BZ #13928]
42376 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
42377 from a CNAME entry and return the minimum ttl for the query.
42378 (gaih_getanswer_slice): Likewise.
42379
42380 2012-03-30 Jeff Law <law@redhat.com>
42381
42382 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
42383 due to long keys.
42384 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
42385 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
42386
42387 * resolv/nss_dns/dns-host.c: Update copyright year.
42388
42389 2012-03-30 Ulrich Drepper <drepper@gmail.com>
42390
42391 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
42392 requests to save a system call. Fix check that all bytes are sent.
42393
42394 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
42395 comments for sendmmsg.
42396
42397 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
42398
42399 [BZ #13691]
42400 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
42401 with only 1 character between 0x0041 and 0x01b0.
42402 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
42403 * wcsmbs/tst-mbsnrtowcs.c: New file.
42404
42405 2012-03-29 David S. Miller <davem@davemloft.net>
42406
42407 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
42408 small copies by hand.
42409
42410 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
42411
42412 [BZ #13761]
42413 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
42414 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
42415 group memberships.
42416
42417 2012-03-28 David S. Miller <davem@davemloft.net>
42418
42419 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
42420 that branches into memcpy.
42421 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
42422 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
42423 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
42424 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
42425 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
42426 bits.
42427 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
42428 implementation too.
42429 * sysdeps/sparc/mempcpy.S: New file.
42430
42431 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
42432 the IFUNC routine in the libc case.
42433 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
42434
42435 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
42436 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
42437 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
42438 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
42439 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
42440 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
42441 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
42442 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
42443
42444 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
42445 loop to 256 bytes instead of 64 bytes and fix test signedness.
42446
42447 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
42448 * sysdeps/sparc/sparc32/Makefile: rather than here...
42449 * sysdeps/sparc/sparc64/Makefile: and here.
42450
42451 2012-03-28 Ulrich Drepper <drepper@gmail.com>
42452
42453 * malloc/mallocbug.c: Avoid warnings about unused variables.
42454
42455 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
42456
42457 [BZ #13760]
42458 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
42459 in the right place. Discard and retry query if response is
42460 larger than input buffer size.
42461
42462 2012-03-28 Joseph Myers <joseph@codesourcery.com>
42463
42464 [BZ #369]
42465 [BZ #2678]
42466 [BZ #3866]
42467 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
42468 x for large integer exponent.
42469 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
42470 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
42471 sign of result as needed afterwards.
42472 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
42473 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
42474 result for underflowing pow the same as for overflow.
42475 (__kernel_standard_l): Handle powl overflow and underflow here
42476 rather than calling __kernel_standard.
42477 * math/libm-test.inc (pow_test): Add more tests.
42478
42479 [BZ #3868]
42480 [BZ #13879]
42481 [BZ #13910]
42482 [BZ #13911]
42483 [BZ #13912]
42484 [BZ #13913]
42485 [BZ #13915]
42486 [BZ #13916]
42487 [BZ #13917]
42488 [BZ #13918]
42489 [BZ #13919]
42490 [BZ #13920]
42491 [BZ #13921]
42492 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
42493 * sysdeps/ieee754/k_standard.c: Include <float.h>.
42494 (__kernel_standard_l): New function.
42495 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
42496 __kernel_standard.
42497 * math/w_acosl.c (__acosl): Likewise.
42498 * math/w_asinl.c (__asinl): Likewise.
42499 * math/w_atan2l.c (__atan2l): Likewise.
42500 * math/w_atanhl.c (__atanhl): Likewise.
42501 * math/w_coshl.c (__coshl): Likewise.
42502 * math/w_exp10l.c (__exp10l): Likewise.
42503 * math/w_exp2l.c (__exp2l): Likewise.
42504 * math/w_fmodl.c (__fmodl): Likewise.
42505 * math/w_hypotl.c (__hypotl): Likewise.
42506 * math/w_j0l.c (__j0l, __y0l): Likewise.
42507 * math/w_j1l.c (__j1l, __y1l): Likewise.
42508 * math/w_jnl.c (__jnl, __ynl): Likewise.
42509 * math/w_lgammal.c (__lgammal): Likewise.
42510 * math/w_log10l.c (__log10l): Likewise.
42511 * math/w_log2l.c (__log2l): Likewise.
42512 * math/w_logl.c (__logl): Likewise.
42513 * math/w_powl.c (__powl): Likewise.
42514 * math/w_remainderl.c (__remainderl): Likewise.
42515 * math/w_scalbl.c (sysv_scalbl): Likewise.
42516 * math/w_sinhl.c (__sinhl): Likewise.
42517 * math/w_sqrtl.c (__sqrtl): Likewise.
42518 * math/w_tgammal.c (__tgammal): Likewise.
42519 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
42520 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
42521 * math/libm-test.inc (acos_test): Add more tests.
42522 (acosh_test): Likewise.
42523 (asin_test): Likewise.
42524 (atanh_test): Likewise.
42525 (exp_test): Likewise.
42526 (exp10_test): Likewise.
42527 (exp2_test): Likewise.
42528 (expm1_test): Likewise.
42529 (lgamma_test): Likewise.
42530 (log_test): Likewise.
42531 (log10_test): Likewise.
42532 (log1p_test): Likewise.
42533 (log2_test): Likewise.
42534 (pow_test): Do not allow some spurious overflow exceptions.
42535 (sqrt_test): Add more tests.
42536 (tgamma_test): Likewise.
42537 (y0_test): Likewise.
42538 (y1_test): Likewise.
42539 (yn_test): Likewise.
42540
42541 2012-03-27 Anton Blanchard <anton@samba.org>
42542
42543 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
42544 MAP_HUGETLB.
42545 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
42546 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
42547 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
42548
42549 2012-03-27 David S. Miller <davem@davemloft.net>
42550
42551 * conform/Makefile: Run run-conformtest.sh using $(BASH).
42552
42553 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
42554 have-as-vis3 check.
42555
42556 2012-03-27 Andreas Jaeger <aj@suse.de>
42557
42558 * sysdeps/x86_64/elf/configure.in: Moved to ...
42559 * sysdeps/x86_64/configure.in: ... here.
42560 * sysdeps/x86_64/elf/start.S: Moved to ...
42561 * sysdeps/x86_64/start.S: ... here.
42562 * sysdeps/x86_64/elf/configure: Delete.
42563
42564 * sysdeps/x86_64/configure.in: Merge contents from
42565 sysdeps/i386/configure.in (without i686 check).
42566
42567 * sysdeps/i386/elf/Versions: Merge into ...
42568 * sysdeps/i386/Versions: ... this.
42569 * sysdeps/i386/elf/Versions: Delete file.
42570 * sysdeps/i386/elf/start.S: Moved to ...
42571 * sysdeps/i386/start.S: ...here.
42572 * sysdeps/i386/elf/configure.in: Merge into...
42573 * sysdeps/i386/configure.in: ...here.
42574 * sysdeps/i386/elf/configure.in: Delete file.
42575 * sysdeps/i386/elf/configure: Delete file.
42576
42577 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
42578 * debug/backtracesyms.c: ... here.
42579 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
42580 * debug/backtracesymsfd.c: ... here.
42581 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
42582 * sysdeps/generic/ifunc-sel.h: ... here.
42583
42584 * sysdeps/unix/i386/start.c: Delete file.
42585 * sysdeps/unix/sparc/start.c: Delete file.
42586 * sysdeps/unix/start.c: Delete file.
42587
42588 * sysdeps/sh/elf/configure.in: Moved to ...
42589 * sysdeps/sh/configure.in: ... here.
42590 * sysdeps/sh/elf/start.S: Moved to ...
42591 * sysdeps/sh/start.S: ... here.
42592 * sysdeps/sh/elf/configure: Delete file.
42593
42594 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
42595 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
42596 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
42597 * sysdeps/powerpc/powerpc64/entry.h: ... here.
42598 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
42599 * sysdeps/powerpc/powerpc64/start.S: here.
42600 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
42601 * sysdeps/powerpc/powerpc64/Makefile: ... this.
42602 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
42603 * sysdeps/powerpc/powerpc64/configure.in: ... this.
42604 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
42605
42606 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
42607 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
42608 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
42609 * sysdeps/powerpc/powerpc32/start.S: ... here.
42610 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
42611 * sysdeps/powerpc/powerpc32/configure.in: ... this.
42612 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
42613
42614 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
42615 * sysdeps/powerpc/ifunc-sel.h: ... here.
42616 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
42617 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
42618
42619 * sysdeps/sparc/elf/configure.in: Moved to ...
42620 * sysdeps/sparc/configure.in: ... here.
42621 * sysdeps/sparc/elf/configure: Delete file.
42622 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
42623 * sysdeps/sparc/sparc32/start.S: ... here.
42624 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
42625 * sysdeps/sparc/sparc64/start.S: ... here.
42626 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
42627 * sysdeps/sparc/sparc32/Makefile: ... this.
42628 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
42629 * sysdeps/sparc/sparc64/Makefile: ... this.
42630
42631 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
42632 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
42633 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
42634 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
42635 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
42636 * sysdeps/s390/s390-32/setjmp.S: ... here.
42637 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
42638 * sysdeps/s390/s390-32/configure.in: ... here.
42639 * sysdeps/s390/s390-32/elf/configure: Delete file.
42640 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
42641 * sysdeps/s390/s390-32/start.S: ... here.
42642
42643 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
42644 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
42645 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
42646 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
42647 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
42648 * sysdeps/s390/s390-64/setjmp.S: ... here.
42649 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
42650 * sysdeps/s390/s390-64/configure.in: ... here
42651 * sysdeps/s390/s390-64/elf/configure: Delete file.
42652 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
42653 * sysdeps/s390/s390-64/start.S: ... here.
42654 * sysdeps/s390/s390-64/elf/configure: Delete.
42655
42656 * configure.in: Remove support for elf directories in sysdeps.
42657
42658 * configure: Regenerated.
42659 * sysdeps/i386/configure: Regenerated.
42660 * sysdeps/powerpc/powerpc32/configure: Regenerated.
42661 * sysdeps/powerpc/powerpc64/configure: Regenerated.
42662 * sysdeps/s390/s390-32/configure: Regenerated.
42663 * sysdeps/s390/s390-64/configure: Regenerated.
42664 * sysdeps/sh/configure: Regenerated.
42665 * sysdeps/sparc/configure: Regenerated.
42666 * sysdeps/x86_64/configure: Regenerated.
42667
42668 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
42669
42670 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42671
42672 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
42673 denormal result into account.
42674
42675 2012-03-25 Roland McGrath <roland@hack.frob.com>
42676
42677 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
42678 Reported by Allan McRae <allan@archlinux.org>.
42679
42680 2012-03-23 Jeff Law <law@redhat.com>
42681
42682 * nss/getnssent.c (__nss_getent): Fix typo.
42683
42684 2012-03-23 David S. Miller <davem@davemloft.net>
42685
42686 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42687
42688 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
42689
42690 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
42691 to pad to uint64_t for each field.
42692 (dl_tls_index): Replace unsigned long with uint64_t.
42693
42694 2012-03-23 Daniel Jacobowitz <dmj@google.com>
42695 Paul Pluzhnikov <ppluzhnikov@google.com>
42696
42697 [BZ #6528]
42698 * grp/Makefile (otherlibs): Don't set it.
42699 * inet/Makefile (otherlibs): Likewise.
42700 * login/Makefile (otherlibs): Likewise.
42701 * nscd/Makefile (otherlibs): Likewise.
42702 * posix/Makefile (otherlibs): Likewise.
42703 * pwd/Makefile (otherlibs): Likewise.
42704 * rt/Makefile (otherlibs): Likewise.
42705 * sunrpc/Makefile (otherlibs): Likewise.
42706 * nss/Makefile (otherlibs): Likewise.
42707 Add libnss_files to routines and static-only-routines.
42708 ($(objpfx)getent): Remove rule.
42709 * resolv/Makefile: Add libnss_dns and libresolv to routines and
42710 static-only-routines.
42711
42712 2012-03-22 Joseph Myers <joseph@codesourcery.com>
42713
42714 [BZ #13892]
42715 * math/s_cexp.c: Include <float.h>.
42716 (__cexp): Handle exp result overflowing not necessarily
42717 overflowing both real and imaginary parts of result.
42718 * math/s_cexpf.c: Likewise.
42719 * math/s_cexpl.c: Likewise.
42720 * math/libm-test.inc (cexp_test): Add more tests.
42721 * sysdeps/i386/fpu/libm-test-ulps: Update.
42722 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42723
42724 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
42725
42726 * include/link.h (ELFW): New macro.
42727 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
42728 Replace ELF64_R_TYPE with ELFW(R_TYPE).
42729
42730 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
42731
42732 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
42733 with uint64_t.
42734
42735 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
42736
42737 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
42738 declaration.
42739 (struct La_x32_retval): Likewise.
42740
42741 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
42742
42743 * sysdeps/x86_64/preconfigure.in: New file.
42744 * sysdeps/x86_64/preconfigure: New generated file.
42745
42746 2012-03-22 Joseph Myers <joseph@codesourcery.com>
42747
42748 [BZ #13824]
42749 * math/e_exp2l.c: Include <float.h>.
42750 (__ieee754_exp2l): Handle overflow and underflow cases
42751 separately. Only pass fractional part of argument to
42752 __ieee754_expl.
42753 * math/libm-test.inc (exp2_test): Add more tests.
42754
42755 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
42756 negating x to take absolute value.
42757 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
42758 Likewise.
42759 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
42760 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
42761 Likewise.
42762 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
42763 computing low part if x was negated.
42764 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
42765
42766 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
42767
42768 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
42769 la_x32_gnu_pltexit.
42770 (pltexit): Cast int_retval to ptrdiff_t.
42771 * elf/tst-auditmod3b.c: Likewise.
42772 * elf/tst-auditmod4b.c: Likewise.
42773 * elf/tst-auditmod5b.c: Likewise.
42774 * elf/tst-auditmod6b.c: Likewise.
42775 * elf/tst-auditmod6c.c: Likewise.
42776 * elf/tst-auditmod7b.c: Likewise.
42777
42778 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
42779 and x32_gnu_pltexit.
42780
42781 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
42782 __ELF_NATIVE_CLASS.
42783 (La_x32_regs): New macro.
42784 (La_x32_retval): Likewise.
42785 (la_x32_gnu_pltenter): New function prototype.
42786 (la_x32_gnu_pltexit): Likewise.
42787
42788 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
42789
42790 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
42791 exponent.
42792
42793 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42794
42795 * configure.in (libc_cv_cc_nofma): Check for option to disable
42796 generation of FMA instructions.
42797 * configure: Regenerate.
42798 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
42799 * sysdeps/ieee754/dbl-64/Makefile: New file.
42800 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
42801 Remove brandred-fma4.
42802 (CFLAGS-brandred-fma4.c): Remove.
42803 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
42804 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
42805 define.
42806 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
42807 define.
42808
42809 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
42810
42811 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
42812 LLONG_MAX != LONG_MAX.
42813 (_itoa_word): Use _ITOA_WORD_TYPE on value.
42814 (_fitoa_word): Likewise.
42815 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
42816 LLONG_MAX != LONG_MAX.
42817 * stdio-common/_itowa.h: Include <_itoa.h>.
42818 (_itowa_word): Use _ITOA_WORD_TYPE on value.
42819 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
42820 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
42821 only if not defined.
42822 (_ITOA_WORD_TYPE): Likewise.
42823 (_itoa_word): Use _ITOA_WORD_TYPE on value.
42824 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
42825
42826 2012-03-21 David S. Miller <davem@davemloft.net>
42827
42828 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42829
42830 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
42831
42832 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
42833 of x86_64 when setting libc_cv_slibdir, libdir and
42834 libc_cv_localedir.
42835 * sysdeps/unix/sysv/linux/configure: Regenerated.
42836
42837 2012-03-21 Joseph Myers <joseph@codesourcery.com>
42838
42839 * manual/lang.texi (Old Varargs): Remove section.
42840 (How Variadic): Update menu.
42841 (va_start): Do not mention varargs.h.
42842
42843 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
42844 Joseph Myers <joseph@codesourcery.com>
42845
42846 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
42847 link test.
42848 * configure: Regenerated.
42849
42850 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
42851
42852 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
42853 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
42854 conformtest.pl
42855
42856 2012-03-21 Joseph Myers <joseph@codesourcery.com>
42857
42858 * NOTES: Remove.
42859 * Makefile (files-for-dist): Remove NOTES.
42860 (NOTES): Remove rule.
42861 * README: Don't refer to NOTES.
42862 * manual/creature.texi: Don't include macros.texi.
42863 * manual/intro.texi (creature.texi): Remove comment referring to
42864 NOTES.
42865
42866 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
42867 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
42868 * configure: Regenerated.
42869 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
42870 LIBC_TRY_CC_OPTION.
42871 (libc_cv_as_i686): Likewise.
42872 (libc_cv_cc_avx): Likewise.
42873 (libc_cv_cc_sse2avx): Likewise.
42874 (libc_cv_cc_fma4): Likewise.
42875 (libc_cv_cc_novzeroupper): Likewise.
42876 * sysdeps/i386/configure: Regenerated.
42877
42878 [BZ #13883]
42879 * sysdeps/i386/fpu/s_cexp.S: Remove.
42880 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
42881 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
42882 * math/libm-test.inc (cexp_test): Add more tests.
42883 * sysdeps/i386/fpu/libm-test-ulps: Update.
42884 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42885
42886 2012-03-21 Allan McRae <allan@archlinux.org>
42887
42888 * timezone/Makefile: Do not install iso3166.tab and zone.tab
42889
42890 2012-03-21 Joseph Myers <joseph@codesourcery.com>
42891
42892 [BZ #13871]
42893 * math/w_exp2.c: Do not include <float.h>.
42894 (o_threshold, u_threshold): Remove.
42895 (__exp2): Calculate result before checking finiteness and calling
42896 __kernel_standard.
42897 * math/w_exp2f.c: Likewise.
42898 * math/w_exp2l.c: Likewise.
42899 * math/libm-test.inc (exp2_test): Require overflow exception for
42900 1e6 input.
42901
42902 [BZ #3866]
42903 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
42904 range of signed 64-bit integers before using fistpll. Remove
42905 checks for whether integers fit in mantissa bits.
42906 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
42907 the range of signed 32-bit integers before using fistpl. Remove
42908 checks for whether integers fit in mantissa bits.
42909 * sysdeps/i386/fpu/e_powl.S (p64): New object.
42910 (__ieee754_powl): Test for y outside the range of signed 64-bit
42911 integers before using fistpll. Reduce 64-bit values to 63-bit
42912 ones as needed.
42913 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
42914 divide-by-zero is raised for zero to large negative powers.
42915 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
42916 (__ieee754_powl): Test for y outside the range of signed 64-bit
42917 integers before using fistpll. Reduce 64-bit values to 63-bit
42918 ones as needed.
42919 * math/libm-test.inc (pow_test): Add more tests.
42920
42921 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
42922
42923 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
42924 <stdio-common/_itoa.h>.
42925 * debug/segfault.c: Likewise.
42926 * elf/dl-cache.c: Likewise.
42927 * elf/dl-minimal.c: Likewise.
42928 * elf/dl-misc.c: Likewise.
42929 * elf/dl-sysdep.c: Likewise.
42930 * elf/dl-version.c: Likewise.
42931 * elf/rtld.c: Likewise.
42932 * hurd/hurdsock.c: Likewise.
42933 * hurd/lookup-retry.c: Likewise.
42934 * malloc/malloc.c: Likewise.
42935 * malloc/mtrace.c: Likewise.
42936 * nscd/nscd_getgr_r.c: Likewise.
42937 * nscd/nscd_getpw_r.c: Likewise.
42938 * nscd/nscd_getserv_r.c: Likewise.
42939 * posix/getopt_init.c: Likewise.
42940 * posix/wordexp.c: Likewise.
42941 * stdio-common/_itoa.c: Likewise.
42942 * stdio-common/printf_fphex.c: Likewise.
42943 * stdio-common/vfprintf.c: Likewise.
42944 * string/_strerror.c: Likewise.
42945 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
42946 * sysdeps/i386/i686/hp-timing.h: Likewise.
42947 * sysdeps/mach/_strerror.c: Likewise.
42948 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
42949 * sysdeps/mach/hurd/sethostid.c: Likewise.
42950 * sysdeps/mach/hurd/xmknodat.c: Likewise.
42951 * sysdeps/mach/xpg-strerror.c: Likewise.
42952 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
42953 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
42954 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
42955 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
42956 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
42957 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
42958 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
42959 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
42960 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
42961 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
42962 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
42963 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
42964 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
42965 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
42966 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
42967 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
42968 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
42969 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
42970 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
42971 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
42972 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
42973
42974 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
42975
42976 * stdio-common/_itoa.h: Moved to ...
42977 * sysdeps/generic/_itoa.h: Here.
42978
42979 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
42980
42981 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
42982 instead of "_itoa.h" and "_itowa.h".
42983 * stdio-common/vfprintf.: Likewise.
42984
42985 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
42986
42987 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
42988 <bits/wordsize.h>.
42989 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
42990 (__signbit): Likwise.
42991 (llrintf): Likwise.
42992 (llrint): Likwise.
42993
42994 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
42995
42996 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
42997 __WORDSIZE != 64.
42998
42999 2012-03-20 Joseph Myers <joseph@codesourcery.com>
43000
43001 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
43002 OVERFLOW_EXCEPTION_OK.
43003 * math/libm-test.inc ("Philosophy"): Update comment about
43004 exception testing.
43005 (OVERFLOW_EXCEPTION): Define.
43006 (OVERFLOW_EXCEPTION_OK): Likewise.
43007 (INVALID_EXCEPTION_OK): Renumber.
43008 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
43009 (IGNORE_ZERO_INF_SIGN): Likewise.
43010 (test_exceptions): Handle FE_OVERFLOW.
43011 (exp10_test): Expect overflow exceptions.
43012 (exp2_test): Likewise.
43013 (expm1_test): Likewise.
43014 (nextafter_test): Likewise.
43015 (pow_test): Likewise.
43016 (scalbn_test): Likewise.
43017 (scalbln_test): Likewise.
43018
43019 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
43020
43021 * sysdeps/x86_64/bits/atomic.h
43022 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
43023 64bit integer.
43024 (atomic_exchange_acq): Likewise.
43025 (__arch_exchange_and_add_body): Likewise.
43026 (__arch_add_body): Likewise.
43027 (atomic_add_negative): Likewise.
43028 (atomic_add_zero): Likewise.
43029
43030 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
43031
43032 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
43033 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
43034
43035 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
43036
43037 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
43038 Check __x86_64__ instead of __WORDSIZE.
43039
43040 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
43041
43042 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
43043
43044 2012-03-19 David S. Miller <davem@davemloft.net>
43045
43046 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43047
43048 * sysdeps/sparc/fpu/fenv_private.h: New file.
43049 * sysdeps/sparc/fpu/math_private.h: Use it.
43050 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
43051 Remove.
43052 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
43053 (libc_feholdexcept_setroundl): Remove.
43054 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
43055 Remove.
43056 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
43057 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
43058
43059 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
43060
43061 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
43062 int64_t instead of long int.
43063 (INSERT_WORDS64): Likwise.
43064
43065 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
43066
43067 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
43068 _Unwind_GetCFA return to _Unwind_Ptr first.
43069
43070 2012-03-19 Joseph Myers <joseph@codesourcery.com>
43071
43072 [BZ #13629]
43073 * math/s_clog.c: Include <float.h>.
43074 (__clog): Scale large or subnormal inputs.
43075 * math/s_clogf.c: Likewise.
43076 * math/s_clogl.c: Likewise.
43077 * math/s_clog10.c: Include <float.h>.
43078 (M_LOG10_2): Define.
43079 (__clog10): Scale large or subnormal inputs.
43080 * math/s_clog10f.c: Likewise.
43081 * math/s_clog10l.c: Likewise.
43082 * math/libm-test.inc (clog_test): Add more tests.
43083 (clog10_test): Likewise.
43084 * sysdeps/i386/fpu/libm-test-ulps: Update.
43085 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43086
43087 [BZ #11451]
43088 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
43089 x and y.
43090 * math/libm-test.inc (atan2_test): Add another test.
43091
43092 * Makerules (common-objdir-compile): Remove.
43093 * sysdeps/unix/Makefile (config-generated): Do not add
43094 $(unix-generated) to variable.
43095 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
43096 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
43097 Remove rule.
43098 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
43099 Likewise.
43100 [generic bits/local_lim.h] (before-compile): Do not append to
43101 variable.
43102 [generic bits/local_lim.h] (common-generated): Likewise.
43103 [generic sys/param.h] (before-compile): Do not append to variable.
43104 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
43105 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
43106 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
43107 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
43108 include.
43109 [generic sys/param.h] (sys/param.h-includes): Remove variable.
43110 [generic sys/param.h] (sys/param.h-includes): Remove rule.
43111 [generic sys/param.h] ($(addprefix
43112 $(common-objpfx),$(sys/param.h-includes))): Likewise.
43113 [generic sys/param.h] (common-generated): Do not append to
43114 variable.
43115 [generic sys/param.h] (sysdep_headers): Likewise.
43116 [generic bits/errno.h] (before-compile): Do not append to
43117 variable.
43118 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
43119 rule.
43120 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
43121 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
43122 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
43123 [generic bits/errno.h] (common-generated): Do not append to
43124 variable.
43125 [generic bits/ioctls.h] (before-compile): Do not append to
43126 variable.
43127 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
43128 rule.
43129 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
43130 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
43131 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
43132 rule.
43133 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
43134 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
43135 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
43136 [generic bits/ioctls.h] (common-generated): Do not append to
43137 variable.
43138 [generic sys/syscall.h] (syscall.h): Remove variable.
43139 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
43140 rule.
43141 [generic sys/syscall.h] (before-compile): Do not append to
43142 variable.
43143 [generic sys/syscall.h] (common-generated): Likewise.
43144 * sysdeps/unix/errnos-tmpl.c: Remove file.
43145 * sysdeps/unix/errnos.awk: Likewise.
43146 * sysdeps/unix/ioctls-tmpl.c: Likewise.
43147 * sysdeps/unix/ioctls.awk: Likewise.
43148 * sysdeps/unix/mk-local_lim.c: Likewise.
43149 * sysdeps/unix/snarf-ioctls: Likewise.
43150
43151 2012-03-19 Richard Henderson <rth@twiddle.net>
43152
43153 * sysdeps/i386/fpu/fenv_private.h: New file.
43154 * sysdeps/i386/fpu/math_private.h: Use it.
43155 (math_opt_barrier, math_force_eval): Remove.
43156 (libc_feholdexcept_setround_53bit): Remove.
43157 (libc_feupdateenv_53bit): Remove.
43158 * sysdeps/x86_64/fpu/math_private.h: Likewise.
43159 (math_opt_barrier, math_force_eval): Remove.
43160 (libc_feholdexcept): Remove.
43161 (libc_feholdexcept_setround): Remove.
43162 (libc_fetestexcept, libc_fesetenv): Remove.
43163 (libc_feupdateenv_test): Remove.
43164 (libc_feupdateenv, libc_feholdsetround): Remove.
43165 (libc_feresetround): Remove.
43166
43167 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
43168 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
43169
43170 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
43171 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
43172 (libc_feupdateenv_testl): New.
43173 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
43174 (libc_feupdateenv_testf): New.
43175 (libc_feupdateenv): Use libc_feupdateenv_test.
43176 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
43177 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
43178
43179 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
43180 (libc_feholdsetroundf, libc_feholdsetroundl): New.
43181 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
43182 (libc_feresetround_noex): New.
43183 (libc_feresetround_noexf): New.
43184 (libc_feresetround_noexl): New.
43185 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
43186 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
43187 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
43188 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
43189 SET_RESTORE_ROUND.
43190 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
43191 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
43192 (__cos): Likewise.
43193 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
43194 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
43195 SET_RESTORE_ROUND_NOEX.
43196 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
43197 SET_RESTORE_ROUND_NOEXF.
43198 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
43199 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
43200 (libc_feholdsetroundf): New.
43201 (libc_feresetround, libc_feresetroundf): New.
43202
43203 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
43204 (libc_feholdexcept_setround_53bit): Convert from macro to function.
43205 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
43206
43207 * sysdeps/generic/math_private.h: Include <fenv.h>.
43208 (default_libc_feholdexcept): New.
43209 (default_libc_feholdexcept_setround): New.
43210 (default_libc_fesetenv, default_libc_feupdateenv): New.
43211 (libc_feholdexcept): Only define if undefined.
43212 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
43213 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
43214 (libc_feholdexcept_setroundl): Likewise.
43215 (libc_feholdexcept_setround_53bit): Likewise.
43216 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
43217 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
43218 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
43219 (libc_feupdateenv_53bit): Likewise.
43220 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
43221 (libc_feholdexcept): Convert from macro to inline function.
43222 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
43223 (libc_fesetenv, libc_feupdateenv): Likewise.
43224
43225 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
43226 not previously defined.
43227 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
43228 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
43229 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
43230 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
43231 * sysdeps/ieee754/flt-32/math_private.h: New file.
43232 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
43233 math_private.h below SET_FLOAT_WORD.
43234 (__isnan, __isinf_ns, __finite): Remove.
43235 (__isnanf, __isinf_nsf, __finitef): Remove.
43236
43237 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
43238
43239 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43240
43241 2012-03-17 David S. Miller <davem@davemloft.net>
43242
43243 [BZ #6471]
43244 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
43245 for 2.16.
43246
43247 2012-03-16 David S. Miller <davem@davemloft.net>
43248
43249 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
43250 warnings.
43251
43252 [BZ #6471]
43253 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
43254 properly.
43255 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
43256 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
43257 sysdep_routines when subdir is sysvipc.
43258 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
43259 __getshmlba helper.
43260
43261 * sysdeps/sparc/fpu/libm-test/ulps: Update.
43262
43263 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
43264
43265 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
43266 [__LP64__].
43267
43268 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
43269
43270 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
43271 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
43272 (__lround): Renamed to ...
43273 (__llround): This. Replace long int with long long int.
43274 Define lround functions as aliases of llround functions.
43275 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
43276
43277 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
43278
43279 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
43280 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
43281 adresses to uintptr_t. Replace "long int" and "unsigned long
43282 int" with "greg_t" on va_arg.
43283
43284 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
43285
43286 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
43287 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
43288
43289 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
43290 Move e_machine check before EI_CLASS check. Handle x32
43291 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
43292 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
43293 SKIP_EM_IA_64 and include
43294 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
43295
43296 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
43297 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
43298 (add_system_dir): New macro.
43299
43300 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
43301 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
43302
43303 2012-03-16 Joseph Myers <joseph@codesourcery.com>
43304
43305 [BZ #2551]
43306 [BZ #2552]
43307 [BZ #2553]
43308 [BZ #2554]
43309 [BZ #2562]
43310 [BZ #2563]
43311 [BZ #2565]
43312 [BZ #2566]
43313 [BZ #2576]
43314 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
43315 (y0): Likewise.
43316 * math/w_j0f.c (j0f): Likewise.
43317 (y0f): Likewise.
43318 * math/w_j0l.c (__j0l): Likewise.
43319 (__y0l): Likewise.
43320 * math/w_j1.c (j1): Likewise.
43321 (y1): Likewise.
43322 * math/w_j1f.c (j1f): Likewise.
43323 (y1f): Likewise.
43324 * math/w_j1l.c (__j1l): Likewise.
43325 (__y1l): Likewise.
43326 * math/w_jn.c (jn): Likewise.
43327 (yn): Likewise.
43328 * math/w_jnf.c (jnf): Likewise.
43329 (ynf): Likewise.
43330 * math/w_jnl.c (__jnl): Likewise.
43331 (__ynl): Likewise.
43332 * math/libm-test.inc (j0_test): Add more tests.
43333 (j1_test): Likewise.
43334 (jn_test): Likewise. Add trailing semicolon to existing test.
43335 (y0_test): Likewise.
43336 (y1_test): Likewise.
43337 * sysdeps/i386/fpu/libm-test-ulps: Update.
43338 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43339
43340 [BZ #13851]
43341 [BZ #13854]
43342 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
43343 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
43344 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
43345 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
43346 (__tanl): Set errno for infinite argument.
43347 * sysdeps/i386/fpu/mptan.c: Remove.
43348 * sysdeps/i386/fpu/s_tan.S: Likewise.
43349 * sysdeps/i386/fpu/s_tanl.S: Likewise.
43350 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
43351 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
43352 * math/libm-test.inc (tan_test): Add more tests and enable more
43353 tests for double and long double.
43354 * sysdeps/i386/fpu/libm-test-ulps: Update.
43355 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43356
43357 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
43358
43359 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
43360 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
43361
43362 2012-03-16 Roland McGrath <roland@hack.frob.com>
43363
43364 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
43365 * configure.in: Use it for both main tree and add-ons.
43366 * configure: Regenerated.
43367
43368 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
43369
43370 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
43371
43372 2012-03-16 Joseph Myers <joseph@codesourcery.com>
43373
43374 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
43375 in comment.
43376
43377 [BZ #13851]
43378 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
43379 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
43380 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
43381 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
43382 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
43383 infinite argument.
43384 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
43385 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
43386 != 0 for prec == 2.
43387 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
43388 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
43389 * sysdeps/i386/fpu/s_cosl.S: Likewise.
43390 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
43391 * sysdeps/i386/fpu/s_sinl.S: Likewise.
43392 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
43393 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
43394 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
43395 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
43396 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
43397 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
43398 * math/libm-test.inc (cos_test): Add more tests and enable more
43399 tests for long double.
43400 (sin_test): Likewise.
43401 (sincos_test): Likewise.
43402 * sysdeps/i386/fpu/libm-test-ulps: Update.
43403 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43404
43405 2012-03-16 David S. Miller <davem@davemloft.net>
43406
43407 * sysdeps/sparc/fpu/math_private.h: New file.
43408
43409 2012-03-15 David S. Miller <davem@davemloft.net>
43410
43411 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
43412 file.
43413 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
43414 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
43415 file.
43416 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
43417 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
43418 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
43419 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
43420 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
43421 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
43422 sysdep routines.
43423 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
43424
43425 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
43426 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
43427
43428 * sysdeps/sparc/sparc-ifunc.h: New file.
43429 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
43430 sparc-ifunc.h
43431 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
43432 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
43433 Likewise.
43434 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
43435 Likewise.
43436 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
43437 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
43438 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
43439 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
43440 Likewise.
43441 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
43442 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
43443 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
43444 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
43445 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
43446 Likewise.
43447 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
43448 Likewise.
43449 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
43450 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
43451 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
43452 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
43453 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
43454 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
43455 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
43456 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
43457 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
43458 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
43459 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
43460 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
43461 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
43462 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
43463 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
43464 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
43465 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
43466 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
43467 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
43468 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
43469 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
43470 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
43471 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
43472 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
43473
43474 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
43475
43476 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
43477 scaling.
43478 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43479
43480 2012-03-15 Andreas Jaeger <aj@suse.de>
43481
43482 [BZ #13852]
43483 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
43484 ieee754/flt-32 implementation for sin, cos and sincos.
43485 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
43486 * sysdeps/i386/fpu/s_cosf.S: Likewise.
43487 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
43488 * sysdeps/i386/fpu/s_sinf.S: Likewise.
43489 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
43490 ieee754/flt-32 implementation for tan.
43491
43492 * math/libm-test.inc (cos_test): Enable some large input tests for
43493 float as well
43494 (sin_test): Likewise.
43495 (sincos_test): Likewise.
43496 (tan_test): Add tests for large input.
43497
43498 * sysdeps/i386/fpu/libm-test-ulps: Update.
43499
43500 2012-03-15 Andreas Jaeger <aj@suse.de>
43501
43502 [BZ #13658]
43503 * math/libm-test.inc (cos_test): Add more test cases.
43504 (sin_test): Likewise.
43505 (sincos_test): Likewise.
43506
43507 2012-03-15 Andreas Jaeger <aj@suse.de>
43508
43509 [BZ #13837]
43510 * math/libm-test.inc (cos_test): Add a test case for large input
43511 value.
43512 (sin_test): Likewise.
43513 (sincos_test): Likewise.
43514
43515 2012-03-15 Andreas Jaeger <aj@suse.de>
43516 Joseph Myers <joseph@codesourcery.com>
43517
43518 [BZ #13658]
43519 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
43520 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
43521 * sysdeps/i386/fpu/branred.c: Likewise.
43522 * sysdeps/i386/fpu/dosincos.c: Likewise.
43523 * sysdeps/i386/fpu/mpa.c: Likewise.
43524 * sysdeps/i386/fpu/s_cos.S: Likewise.
43525 * sysdeps/i386/fpu/s_sin.S: Likewise.
43526 * sysdeps/i386/fpu/s_sincos.S: Likewise.
43527 * sysdeps/i386/fpu/sincos32.c: Likewise.
43528
43529 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
43530 Define.
43531 (libc_feupdateenv_53bit): Define.
43532 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
43533 Define.
43534 (libc_feupdateenv_53bit): Define.
43535
43536 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
43537 53 bit (without extend i386 double precision).
43538
43539 * math/libm-test.inc (sincos_test): Add tests for large input.
43540 (sin): Likewise.
43541 (cos): Likewise.
43542
43543 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
43544
43545 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
43546
43547 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43548
43549 2012-03-15 David S. Miller <davem@davemloft.net>
43550
43551 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
43552 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
43553 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
43554 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
43555 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
43556 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
43557 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
43558 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
43559 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
43560 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
43561 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
43562 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
43563 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
43564 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
43565 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
43566 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
43567 file.
43568 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
43569 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
43570 file.
43571 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
43572 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
43573 file.
43574 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
43575 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
43576 file.
43577 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
43578 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
43579 fmin/fmax sysdep routines.
43580 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
43581
43582 2012-03-14 David S. Miller <davem@davemloft.net>
43583
43584 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
43585 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
43586 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
43587 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
43588 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
43589 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
43590 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
43591 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
43592 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
43593 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
43594 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
43595 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
43596 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
43597 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
43598 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
43599 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
43600 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
43601 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
43602 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
43603 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
43604 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
43605 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
43606 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
43607 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
43608 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
43609 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
43610 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
43611 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
43612 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
43613 routines.
43614 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
43615 file.
43616 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
43617 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
43618 file.
43619 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
43620 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
43621 file.
43622 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
43623 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
43624 file.
43625 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
43626 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
43627 file.
43628 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
43629 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
43630 file.
43631 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
43632 file.
43633 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
43634 file.
43635 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
43636 file.
43637 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
43638 New file.
43639 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
43640 file.
43641 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
43642 file.
43643 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
43644 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
43645 file.
43646 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
43647 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
43648 file.
43649 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
43650 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
43651 file.
43652 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
43653 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
43654 VIS3 routines.
43655
43656 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
43657 New file.
43658
43659 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43660
43661 * sysdeps/sparc/configure.in: New file.
43662 * sysdeps/sparc/configure: Generate.
43663 * configure.in (libc_cv_sparc_as_vis3): Substitute.
43664 * configure: Regenerate.
43665 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
43666 * config.make.in (have-as-vis3): New.
43667 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
43668 available use -Av9d instead of -Av9a.
43669 * sysdeps/sparc/sparc64/Makefile: Likewise.
43670 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
43671 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
43672 New file.
43673 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
43674 file.
43675 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
43676 New file.
43677 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
43678 file.
43679 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
43680 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
43681 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
43682 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
43683 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
43684
43685 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
43686 fzeros/fnegs to load 0x80000000 into a float register instead of
43687 using the stack.
43688 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
43689
43690 2012-03-14 Joseph Myers <joseph@codesourcery.com>
43691
43692 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
43693 bits/syscall.h.
43694 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
43695 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
43696 ($(inst_includedir)/bits/syscall.h): Remove rule.
43697 ($(objpfx)bits/syscall.d): Include instead of
43698 $(objpfx)syscall-list.d.
43699 (generated): Change syscall-list.h and syscall-list.d to
43700 bits/syscall.h and bits/syscall.d.
43701
43702 2012-03-14 Roland McGrath <roland@hack.frob.com>
43703
43704 [BZ #13846]
43705 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
43706
43707 2012-03-14 Joseph Myers <joseph@codesourcery.com>
43708
43709 [BZ #13841]
43710 * math/s_csqrt.c: Include <float.h>.
43711 (__csqrt): Scale large or subnormal inputs.
43712 * math/s_csqrtf.c: Likewise.
43713 * math/s_csqrtl.c: Likewise.
43714 * math/libm-test.inc (csqrt_test): Add more tests.
43715 * sysdeps/i386/fpu/libm-test-ulps: Update.
43716 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43717
43718 [BZ #13840]
43719 * math/libm-test.inc (hypot_test): Add more tests.
43720
43721 2012-03-13 David S. Miller <davem@davemloft.net>
43722
43723 [BZ #13840]
43724 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
43725 double-precision for the calculation instead of scaling.
43726
43727 2012-03-13 Joseph Myers <joseph@codesourcery.com>
43728
43729 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
43730 manipulate bits before adding and subtracting TWO52[sx].
43731 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
43732 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
43733 Likewise.
43734 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
43735
43736 2012-03-13 David S. Miller <davem@davemloft.net>
43737
43738 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
43739 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
43740 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
43741 rtld-global-offsets.h
43742 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
43743
43744 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
43745 large parameters.
43746
43747 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
43748
43749 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
43750 'err' in the ifdef scope in which it is actually used.
43751
43752 * nss/nss_db/db-init.c: Include string.h
43753
43754 2012-03-12 David S. Miller <davem@davemloft.net>
43755
43756 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
43757 masking out of the most significant byte of random value used.
43758 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
43759 Fix coding style in previous change.
43760
43761 * sysdeps/unix/sysv/linux/kernel-features.h
43762 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
43763 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
43764 expression.
43765 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
43766 later.
43767
43768 2012-03-11 David S. Miller <davem@davemloft.net>
43769
43770 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
43771 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
43772 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
43773 for 'resultvar' otherwise things get truncated on 64-bit.
43774
43775 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
43776 Fix masking out of the most significant byte of random value used.
43777
43778 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43779
43780 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
43781
43782 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43783
43784 2012-03-09 David S. Miller <davem@davemloft.net>
43785
43786 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
43787 variables with appropriate CPP guards.
43788 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
43789 from the frame pointer, not the stack pointer. Correct layout
43790 comments. Fix test on resulting framesize and the management of
43791 the outregs buffer for pltexit. Preserve floating point return
43792 values across _dl_call_pltexit call.
43793 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
43794 framesize and the management of the outregs buffer for pltexit.
43795 Preserve floating point return values across _dl_call_pltexit
43796 call.
43797 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
43798 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
43799 (la_sparc64_gnu_pltexit): New functions.
43800 (print_exit): Fix format string for return register value.
43801
43802 2012-03-10 Joseph Myers <joseph@codesourcery.com>
43803
43804 * sunrpc/Makefile (others): Add rpcgen.
43805 ($(objpfx)rpcgen): Remove special build rule and dependency on
43806 libc.
43807 * sunrpc/rpcgen.c: New file.
43808
43809 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
43810
43811 [BZ #13673]
43812 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
43813 * stdio-common/bug-vfprintf-nargs.c: Likewise.
43814 * sysdeps/i386/crti.S: Likewise.
43815 * sysdeps/i386/crtn.S: Likewise.
43816 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
43817 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
43818 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
43819 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
43820 * sysdeps/sh/crti.S: Likewise.
43821 * sysdeps/sh/crtn.S: Likewise.
43822 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
43823
43824 [BZ #13673]
43825 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
43826 with URL.
43827 * locale/programs/locfile-kw.gperf: Likewise.
43828 * locale/programs/charmap-kw.h: Regenerated.
43829 * locale/programs/locfile-kw.h: Likewise.
43830
43831 [BZ #13673]
43832 * intl/plural.y: Replace FSF snail mail address with URL.
43833 * intl/plural.c: Regenerated.
43834
43835 2012-03-09 Richard Henderson <rth@twiddle.net>
43836
43837 * include/math_private.h: Remove file.
43838 * math/math_private.h: Move file ...
43839 * sysdeps/generic/math_private.h: ... here.
43840
43841 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
43842 * sysdeps/powerpc/fpu/math_private.h: Likewise.
43843 * sysdeps/x86_64/fpu/math_private.h: Likewise.
43844
43845 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
43846 and <math_private.h>.
43847 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
43848 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
43849 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
43850 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
43851 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
43852 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
43853 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
43854 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
43855 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
43856 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
43857 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
43858 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
43859 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
43860 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
43861 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
43862 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
43863 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
43864 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
43865 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
43866 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
43867 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43868 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
43869 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
43870 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
43871 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
43872 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
43873 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
43874 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
43875 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
43876 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
43877 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
43878 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
43879 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
43880 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
43881 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
43882 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
43883 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
43884 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
43885 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
43886 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
43887 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
43888 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
43889 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
43890 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
43891 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
43892 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
43893 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
43894 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
43895 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
43896 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
43897 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
43898 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
43899 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
43900 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
43901 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
43902 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
43903 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
43904 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
43905 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
43906 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
43907 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
43908 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
43909 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
43910 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
43911 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
43912 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
43913 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
43914 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
43915 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
43916 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
43917 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
43918 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
43919 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
43920 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
43921 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
43922 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
43923 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
43924 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
43925 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
43926 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
43927 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
43928 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
43929 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
43930 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
43931 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
43932 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
43933 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
43934 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
43935 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
43936 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
43937 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
43938 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
43939 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
43940 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
43941 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
43942 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
43943 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
43944 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
43945 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
43946 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
43947 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
43948 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
43949 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
43950 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
43951 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
43952 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
43953 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
43954 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
43955 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
43956 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
43957 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
43958 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
43959 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
43960 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
43961 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
43962 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
43963 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
43964 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
43965 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
43966 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
43967 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
43968 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
43969 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
43970 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
43971 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
43972 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
43973 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
43974 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
43975 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
43976 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
43977 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
43978 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
43979 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
43980 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
43981 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
43982 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
43983 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
43984 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
43985 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
43986 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
43987 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
43988 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
43989 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
43990 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
43991 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
43992 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
43993 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
43994 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
43995 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
43996 * sysdeps/ieee754/k_standard.c: Likewise.
43997 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
43998 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
43999 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
44000 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
44001 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
44002 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
44003 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
44004 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
44005 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
44006 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
44007 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
44008 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
44009 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
44010 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
44011 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
44012 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
44013 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
44014 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
44015 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
44016 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
44017 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
44018 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
44019 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
44020 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
44021 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
44022 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
44023 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
44024 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
44025 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
44026 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
44027 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
44028 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
44029 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
44030 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
44031 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
44032 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
44033 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
44034 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
44035 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
44036 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
44037 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
44038 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
44039 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
44040 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
44041 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
44042 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
44043 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
44044 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
44045 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
44046 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
44047 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
44048 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
44049 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
44050 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
44051 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
44052 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
44053 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
44054 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
44055 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
44056 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
44057 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
44058 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
44059 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
44060 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
44061 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
44062 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
44063 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
44064 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
44065 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
44066 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
44067 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
44068 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
44069 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
44070 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
44071 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
44072 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
44073 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
44074 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
44075 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
44076 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
44077 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
44078 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
44079 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
44080 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
44081 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
44082 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
44083 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
44084 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
44085 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
44086 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
44087 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
44088 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
44089 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
44090 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
44091 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
44092 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
44093 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
44094 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
44095 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
44096 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
44097 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
44098 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
44099 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
44100 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
44101 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
44102 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
44103 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
44104 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
44105 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
44106 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
44107 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
44108 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
44109 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
44110 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
44111 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
44112 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
44113 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
44114 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
44115 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
44116 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
44117 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
44118 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
44119 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
44120 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
44121 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
44122 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
44123 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
44124 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
44125 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
44126 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
44127 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
44128 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
44129 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
44130 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
44131 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
44132 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
44133 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
44134 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
44135 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
44136 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
44137 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
44138 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
44139 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
44140 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
44141 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
44142 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
44143 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
44144 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
44145 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
44146 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
44147 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
44148 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
44149 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
44150 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
44151 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
44152 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
44153 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
44154 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
44155 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
44156 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
44157 * sysdeps/ieee754/s_lib_version.c: Likewise.
44158 * sysdeps/ieee754/s_matherr.c: Likewise.
44159 * sysdeps/ieee754/s_signgam.c: Likewise.
44160 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
44161 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
44162 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
44163 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
44164 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
44165 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
44166 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
44167 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
44168 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
44169 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
44170 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
44171 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
44172 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
44173 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
44174 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
44175 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
44176 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
44177 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
44178 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
44179 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
44180 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
44181
44182 2012-03-09 Joseph Myers <joseph@codesourcery.com>
44183
44184 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
44185 * sunrpc/rpc_main.c: Likewise.
44186 * sunrpc/rpc_svcout.c: Likewise.
44187
44188 2012-03-09 David S. Miller <davem@davemloft.net>
44189
44190 * include/math_private.h: New file.
44191
44192 2012-03-09 Joseph Myers <joseph@codesourcery.com>
44193
44194 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
44195 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
44196 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
44197 from <bits/socket_type.h>.
44198 (enum __socket_type): Don't define here.
44199 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
44200 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
44201 bits/socket_type.h.
44202
44203 [BZ #13566]
44204 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
44205 checking __USE_GNU.
44206
44207 * Makerules ($(inst_includedir)/%.h): New rule.
44208 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
44209 (install-others): Remove variable setting.
44210 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
44211
44212 2012-03-08 Richard Henderson <rth@twiddle.net>
44213
44214 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
44215 from macro to inline function; merge with the
44216 !__LIBC_INTERNAL_MATH_INLINES version.
44217 (__ieee754_sqrtf): Likewise.
44218
44219 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
44220 to inline function.
44221 (__rintf, __floor, __floorf): Likewise.
44222
44223 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
44224 macro to inline function.
44225 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
44226
44227 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
44228 not <math/math_private.h>.
44229
44230 2012-03-08 David S. Miller <davem@davemloft.net>
44231
44232 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
44233 copyright year.
44234 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
44235
44236 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
44237
44238 * resolv/gai_misc.c (handle_requests): Fix struct timespec
44239 normalization.
44240 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
44241 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
44242
44243 2012-03-08 Ulrich Drepper <drepper@gmail.com>
44244
44245 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
44246 be defined individually, they must be defined as a block. Define
44247 S for printing a string instead of hidint the different by using a
44248 macro for adding the 'l'.
44249 * stdio-common/tst-fphex-wide.c: Adjust.
44250
44251 2012-03-07 Marek Polacek <polacek@redhat.com>
44252
44253 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
44254
44255 2012-03-08 Marek Polacek <polacek@redhat.com>
44256
44257 [BZ #13806]
44258 * stdio-common/Makefile (tests): Add tst-fphex-wide.
44259 * stdio-common/tst-fphex.c: Define a few macros to make the
44260 test reusable. Use them.
44261 * stdio-common/tst-fphex-wide.c: New file.
44262
44263 2012-03-08 Joseph Myers <joseph@codesourcery.com>
44264
44265 [BZ #6911]
44266 * manual/macros.texi (gnusystems): New macro.
44267 (nongnusystems): Likewise.
44268 (gnulinuxhurdsystems): Likewise.
44269 (gnuhurdsystems): Likewise..
44270 (gnulinuxsystems): Likewise.
44271 * manual/charset.texi: Use new macros or @theglibc{} to refer to
44272 variants of the GNU system, not "GNU system".
44273 * manual/conf.texi: Likewise.
44274 * manual/errno.texi: Likewise. Update example of errno macro
44275 expansion.
44276 * manual/filesys.texi: Likewise.
44277 (getumask): Document as specific to GNU/Hurd.
44278 * manual/install.texi: Likewise. Reword some references to
44279 GNU/Linux.
44280 * manual/intro.texi: Likewise.
44281 * manual/io.texi: Likewise.
44282 (File Name Portability): Detail which constraints are inapplicable
44283 to all GNU systems and which are only inapplicable to GNU/Hurd.
44284 * manual/job.texi: Likewise.
44285 * manual/llio.texi: Likewise.
44286 (O_NOCTTY): Document as present on GNU/Linux.
44287 * manual/maint.texi: Likewise.
44288 * manual/memory.texi: Likewise.
44289 * manual/pattern.texi: Likewise.
44290 * manual/pipe.texi: Likewise.
44291 * manual/process.texi: Likewise.
44292 * manual/resource.texi: Likewise.
44293 (RUSAGE_CHILDREN): Remove statement about specifying a particular
44294 child on GNU/Hurd.
44295 * manual/setjmp.texi: Likewise.
44296 * manual/signal.texi: Likewise.
44297 * manual/startup.texi: Likewise.
44298 * manual/stdio.texi: Likewise.
44299 * manual/terminal.texi: Likewise.
44300 (ONLCR): Document as POSIX.
44301 (OXTABS): Document availability on GNU/Linux as XTABS.
44302 (ONOEOT): Document availability separately from other bits.
44303 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
44304 * manual/time.texi: Likewise.
44305 * manual/users.texi: Likewise.
44306 * INSTALL: Regenerated.
44307 * sysdeps/gnu/errlist.c: Regenerated.
44308
44309 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
44310 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
44311 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
44312 puts.
44313 * configure: Regenerated.
44314
44315 2012-03-07 Joseph Myers <joseph@codesourcery.com>
44316
44317 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
44318 default includes instead of AC_HEADER_CHECK.
44319 * sysdeps/i386/configure: Regenerated.
44320
44321 [BZ #10716]
44322 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
44323 * math/s_cacoshf.c (__cacoshf): Likewise.
44324 * math/s_cacoshl.c (__cacoshl): Likewise.
44325 * math/s_casinh.c (__casinh): Set signs of result from argument.
44326 * math/s_casinhf.c (__casinhf): Likewise.
44327 * math/s_casinhl.c (__casinhl): Likewise.
44328 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
44329 (casinh_test): Add more tests.
44330 * sysdeps/i386/fpu/libm-test-ulps: Update.
44331 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44332
44333 2012-03-07 Ulrich Drepper <drepper@gmail.com>
44334
44335 * po/zh_TW.po: Update from translation team.
44336
44337 * login/Makefile (distribute): Remove variable.
44338 * catgets/Makefile: Likewise.
44339 * mach/Makefile: Likewise.
44340 * malloc/Makefile: Likewise.
44341 * misc/Makefile: Likewise.
44342 * iconv/Makefile: Likewise.
44343 * nscd/Makefile: Likewise.
44344 * hurd/Makefile: Likewise.
44345 * manual/Makefile: Likewise.
44346 * locale/Makefile: Likewise.
44347 * intl/Makefile: Likewise.
44348 * conform/Makefile: Likewise.
44349 * nss/Makefile: Likewise.
44350 * time/Makefile: Likewise.
44351 * soft-fp/Makefile: Likewise.
44352 * dirent/Makefile: Likewise.
44353 * gmon/Makefile: Likewise.
44354 * po/Makefile: Likewise.
44355 * rt/Makefile: Likewise.
44356 * socket/Makefile: Likewise.
44357 * math/Makefile: Likewise.
44358 * signal/Makefile: Likewise.
44359 * debug/Makefile: Likewise.
44360 * elf/Makefile: Likewise.
44361 * timezone/Makefile: Likewise.
44362 * stdlib/Makefile: Likewise.
44363 * iconvdata/Makefile: Likewise.
44364 * sunrpc/Makefile: Likewise.
44365 * io/Makefile: Likewise.
44366 * argp/Makefile: Likewise.
44367 * inet/Makefile: Likewise.
44368 * hesiod/Makefile: Likewise.
44369 * grp/Makefile: Likewise.
44370 * csu/Makefile: Likewise.
44371 * wctype/Makefile: Likewise.
44372 * crypt/Makefile: Likewise.
44373 * libio/Makefile: Likewise.
44374 * string/Makefile: Likewise.
44375 * nis/Makefile: Likewise.
44376 * resolv/Makefile: Likewise.
44377 * stdio-common/Makefile: Likewise.
44378 * wcsmbs/Makefile: Likewise.
44379 * dlfcn/Makefile: Likewise.
44380 * posix/Makefile: Likewise.
44381
44382 [BZ #6959]
44383 * timezone/Makefile: Don't install timezone files, just the programs
44384 and scripts.
44385
44386 2012-03-06 Ulrich Drepper <drepper@gmail.com>
44387
44388 * nss/databases.def: Add missing gshadow entry.
44389
44390 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
44391
44392 2012-03-06 Marek Polacek <polacek@redhat.com>
44393
44394 [BZ #13726]
44395 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
44396 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
44397 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
44398 * stdio-common/tst-long-dbl-fphex.c: New file.
44399
44400 2012-03-06 David S. Miller <davem@davemloft.net>
44401
44402 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
44403 (set_obp_int): New function.
44404 (get_obp_int): New function.
44405 (__get_clockfreq_via_dev_openprom): Likewise.
44406 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
44407 Avoid unused variable warnings on 'val' and use builtin_expect.
44408 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
44409 __builtin_expect.
44410 (INLINE_CLONE_SYSCALL): Likewise.
44411
44412 2012-03-05 David S. Miller <davem@davemloft.net>
44413
44414 * sysdeps/sparc/fpu/libm-test-ulps: Update.
44415
44416 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
44417
44418 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44419
44420 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
44421 only for |x| >= 40.
44422 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
44423
44424 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
44425
44426 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
44427 Replace gettimeofday with __vdso_gettimeofday.
44428
44429 * sysdeps/unix/sysv/linux/x86_64/init-first.c
44430 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
44431 __vdso_clock_gettime and __vdso_getcpu.
44432
44433 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
44434 time with __vdso_time.
44435
44436 2012-03-05 Joseph Myers <joseph@codesourcery.com>
44437
44438 * manual/lang.texi (size_t): Note types to which size_t may be
44439 equivalent with the GNU C Library, but do not describe when
44440 differences between them are significant.
44441
44442 2012-03-05 Andreas Jaeger <aj@suse.de>
44443
44444 * sysdeps/i386/fpu/libm-test-ulps: Update.
44445
44446 2012-03-05 Joseph Myers <joseph@codesourcery.com>
44447
44448 [BZ #3976]
44449 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
44450 (__ieee754_pow): Save and restore rounding mode and use
44451 round-to-nearest for main computations.
44452 * math/libm-test.inc (pow_test_tonearest): New function.
44453 (pow_test_towardzero): Likewise.
44454 (pow_test_downward): Likewise.
44455 (pow_test_upward): Likewise.
44456 (main): Call the new functions.
44457 * sysdeps/i386/fpu/libm-test-ulps: Update.
44458 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44459
44460 [BZ #3976]
44461 * math/libm-test.inc (cosh_test_tonearest): New function.
44462 (cosh_test_towardzero): Likewise.
44463 (cosh_test_downward): Likewise.
44464 (cosh_test_upward): Likewise.
44465 (sinh_test_tonearest): Likewise.
44466 (sinh_test_towardzero): Likewise.
44467 (sinh_test_downward): Likewise.
44468 (sinh_test_upward): Likewise.
44469 (main): Call the new functions.
44470 * sysdeps/i386/fpu/libm-test-ulps: Update.
44471 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44472
44473 2012-03-05 Tom de Vries <tom@codesourcery.com>
44474
44475 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
44476 default stack guard is set in last bytes.
44477 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
44478
44479 2012-03-05 Kees Cook <keescook@chromium.org>
44480
44481 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
44482
44483 [BZ #13656]
44484 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
44485 possibly allocate from heap instead of stack.
44486 * stdio-common/bug-vfprintf-nargs.c: New file.
44487 * stdio-common/Makefile (tests): Add nargs overflow test.
44488
44489 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
44490
44491 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44492
44493 2012-03-03 Marek Polacek <polacek@redhat.com>
44494
44495 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
44496 * math/math_private.h: Likewise.
44497 * stdlib/tst-strtod.c: Likewise.
44498 * sysdeps/i386/i486/bits/atomic.h: Likewise.
44499 * sysdeps/x86_64/bits/atomic.h: Likewise.
44500
44501 2012-03-02 David S. Miller <davem@davemloft.net>
44502
44503 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
44504 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
44505 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
44506 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
44507 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
44508 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
44509 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
44510 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
44511
44512 2012-03-02 Roland McGrath <roland@hack.frob.com>
44513
44514 [BZ #13792]
44515 * manual/examples/README: New file, says the example source files
44516 can be used under GPL>=2.
44517 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
44518 line containing just "*/".
44519 * manual/examples/add.c: Add copyright header (GPL>=2).
44520 * manual/examples/argp-ex1.c: Likewise.
44521 * manual/examples/argp-ex2.c: Likewise.
44522 * manual/examples/argp-ex3.c: Likewise.
44523 * manual/examples/argp-ex4.c: Likewise.
44524 * manual/examples/atexit.c: Likewise.
44525 * manual/examples/db.c: Likewise.
44526 * manual/examples/dir.c: Likewise.
44527 * manual/examples/dir2.c: Likewise.
44528 * manual/examples/execinfo.c: Likewise.
44529 * manual/examples/filecli.c: Likewise.
44530 * manual/examples/filesrv.c: Likewise.
44531 * manual/examples/fmtmsgexpl.c: Likewise.
44532 * manual/examples/genpass.c: Likewise.
44533 * manual/examples/inetcli.c: Likewise.
44534 * manual/examples/inetsrv.c: Likewise.
44535 * manual/examples/isockad.c: Likewise.
44536 * manual/examples/longopt.c: Likewise.
44537 * manual/examples/memopen.c: Likewise.
44538 * manual/examples/memstrm.c: Likewise.
44539 * manual/examples/mkfsock.c: Likewise.
44540 * manual/examples/mkisock.c: Likewise.
44541 * manual/examples/mygetpass.c: Likewise.
44542 * manual/examples/pipe.c: Likewise.
44543 * manual/examples/popen.c: Likewise.
44544 * manual/examples/rprintf.c: Likewise.
44545 * manual/examples/search.c: Likewise.
44546 * manual/examples/select.c: Likewise.
44547 * manual/examples/setjmp.c: Likewise.
44548 * manual/examples/sigh1.c: Likewise.
44549 * manual/examples/sigusr.c: Likewise.
44550 * manual/examples/stpcpy.c: Likewise.
44551 * manual/examples/strdupa.c: Likewise.
44552 * manual/examples/strftim.c: Likewise.
44553 * manual/examples/strncat.c: Likewise.
44554 * manual/examples/subopt.c: Likewise.
44555 * manual/examples/swapcontext.c: Likewise.
44556 * manual/examples/termios.c: Likewise.
44557 * manual/examples/testopt.c: Likewise.
44558 * manual/examples/testpass.c: Likewise.
44559 * manual/examples/timeval_subtract.c: Likewise.
44560
44561 [BZ #13792]
44562 * manual/time.texi (Elapsed Time): Move timeval_subtract example
44563 function to ...
44564 * manual/timeval_subtract.c.texi: ... here, new file.
44565
44566 2012-03-02 David S. Miller <davem@davemloft.net>
44567
44568 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
44569
44570 2012-03-02 Joseph Myers <joseph@codesourcery.com>
44571
44572 [BZ #3976]
44573 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
44574 (__sin): Save and restore rounding mode and use round-to-nearest
44575 for all computations.
44576 (__cos): Save and restore rounding mode and use round-to-nearest
44577 for all computations.
44578 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
44579 <fenv.h>.
44580 (tan): Save and restore rounding mode and use round-to-nearest for
44581 all computations.
44582 * math/libm-test.inc (cos_test_tonearest): New function.
44583 (cos_test_towardzero): Likewise.
44584 (cos_test_downward): Likewise.
44585 (cos_test_upward): Likewise.
44586 (sin_test_tonearest): Likewise.
44587 (sin_test_towardzero): Likewise.
44588 (sin_test_downward): Likewise.
44589 (sin_test_upward): Likewise.
44590 (tan_test_tonearest): Likewise.
44591 (tan_test_towardzero): Likewise.
44592 (tan_test_downward): Likewise.
44593 (tan_test_upward): Likewise.
44594 (main): Call the new functions.
44595 * sysdeps/i386/fpu/libm-test-ulps: Update.
44596 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44597
44598 [BZ #10135]
44599 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
44600 small n, then large n, before computing and testing k+n.
44601 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
44602 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
44603 Likewise.
44604 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
44605 Likewise.
44606 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
44607 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
44608 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
44609 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
44610 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
44611 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
44612 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
44613 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
44614 * math/libm-test.inc (scalbn_test): Add more tests.
44615 (scalbln_test): Likewise.
44616
44617 * manual/filesys.texi (mode_t): Describe constraints on size and
44618 signedness, not exact equivalence to a particular type.
44619 (ino_t): Likewise.
44620 (ino64_t): Likewise.
44621 (dev_t): Likewise.
44622 (nlink_t): Likewise.
44623 (blkcnt_t): Likewise.
44624 (blkcnt64_t): Likewise.
44625 * manual/llio.texi (off_t): Likewise.
44626
44627 [BZ #3976]
44628 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
44629 (__ieee754_exp): Save and restore rounding mode and use
44630 round-to-nearest for all computations.
44631 * math/libm-test.inc (exp_test_tonearest): New function.
44632 (exp_test_towardzero): Likewise.
44633 (exp_test_downward): Likewise.
44634 (exp_test_upward): Likewise.
44635 (main): Call the new functions.
44636 * sysdeps/i386/fpu/libm-test-ulps: Update.
44637 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44638
44639 2012-03-01 Chris Demetriou <cgd@google.com>
44640
44641 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
44642 have predictable order.
44643
44644 2012-03-01 David S. Miller <davem@davemloft.net>
44645
44646 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
44647
44648 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
44649 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
44650 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
44651 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
44652
44653 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
44654 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
44655 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
44656 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
44657 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
44658 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
44659 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
44660 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
44661 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
44662
44663 * sysdeps/sparc/fpu/libm-test-ulps: Update.
44664
44665 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
44666 * sysdeps/sparc/fpu/libm-test-ulps: to here.
44667 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
44668
44669 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
44670 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
44671 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
44672 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
44673 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
44674 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
44675 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
44676 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
44677 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
44678 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
44679 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
44680 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
44681 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
44682 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
44683 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
44684 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
44685 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
44686 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
44687 * sysdeps/sparc/elf/configure: Regenerated.
44688
44689 2012-03-01 Joseph Myers <joseph@codesourcery.com>
44690
44691 * configure.in (AS, LD): Require binutils 2.20 or later.
44692 * configure: Regenerated.
44693 * manual/install.texi (Tools for Compilation): Give binutils 2.20
44694 as required minimum version.
44695 * INSTALL: Regenerated.
44696
44697 [BZ #2541]
44698 [BZ #4108]
44699 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
44700 before squaring exponent.
44701 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
44702 bottom long double and 27 bits of top long double before squaring
44703 exponent.
44704 * math/libm-test.inc (erfc_test): Add more tests.
44705 * sysdeps/i386/fpu/libm-test-ulps: Update.
44706 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
44707 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44708
44709 2012-03-01 Kai Tietz <ktietz@redhat.com>
44710
44711 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
44712 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
44713 containing bit-fields.
44714 * soft-fp/extended.h (_FP_UNION_E): Likewise.
44715 * soft-fp/single.h (_FP_UNION_S): Likewise.
44716 * soft-fp/double.h (_FP_UNION_D): Likewise.
44717
44718 2012-02-29 Joseph Myers <joseph@codesourcery.com>
44719
44720 [BZ #13786]
44721 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
44722 not include ../strcmp.S.
44723 [USE_AS_STRNCASECMP_L]: Likewise.
44724 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
44725 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
44726 * sysdeps/i386/i686/multiarch/strncase_l-c.c
44727 (__strncasecmp_l_ia32): Define as alias to
44728 __strncasecmp_l_nonascii.
44729
44730 [BZ #5794]
44731 * math/libm-test.inc (expm1_test): Add test for bug 5794.
44732 * sysdeps/i386/fpu/libm-test-ulps: Update.
44733 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44734
44735 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
44736 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44737
44738 2012-02-29 Jeff Law <law@redhat.com>
44739
44740 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
44741 out of bounds read.
44742
44743 2012-02-29 Marek Polacek <polacek@redhat.com>
44744
44745 [BZ #13706]
44746 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
44747 * elf/Makefile: Add rules to run tst-unused-dep.out.
44748
44749 2012-02-28 David S. Miller <davem@davemloft.net>
44750
44751 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
44752 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
44753 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
44754 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
44755 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
44756 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
44757
44758 2012-02-29 Joseph Myers <joseph@codesourcery.com>
44759
44760 * math/libm-test.inc (llround_test): Move one test from
44761 lround_test. Use TEST_f_L in moved test.
44762 (lround_test): Move misplaced test to llround_test. Add testcase
44763 from bug 2561.
44764
44765 2012-02-28 Ulrich Drepper <drepper@gmail.com>
44766
44767 * sysdeps/x86_64/fpu/e_expf.S: New file.
44768 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
44769
44770 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
44771
44772 [BZ #13637]
44773 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
44774 of remain_len that may cause incomplete multi-byte character and
44775 false match.
44776 * posix/bug-regex33.c: New file.
44777 * posix/Makefile (tests): Add bug-regex33.
44778
44779 2012-02-28 Joseph Myers <joseph@codesourcery.com>
44780
44781 * manual/macros.texi: New file.
44782 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
44783 * manual/libc.texinfo: Include macros.texi.
44784 * manual/creatute.texi: Likewise.
44785 * manual/install.texi: Likewise.
44786 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
44787 @glibcadj{} in references to the GNU C Library.
44788 * manual/charset.texi: Likewise.
44789 * manual/conf.texi: Likewise.
44790 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
44791 when not using those macros.
44792 * manual/creature.texi: Likewise.
44793 * manual/crypt.texi: Likewise.
44794 * manual/errno.texi: Likewise.
44795 * manual/filesys.texi: Likewise.
44796 * manual/header.texi: Likewise.
44797 * manual/install.texi: Likewise.
44798 * manual/intro.texi: Likewise.
44799 * manual/io.texi: Likewise.
44800 * manual/job.texi: Likewise.
44801 * manual/lang.texi: Likewise.
44802 * manual/libc.texiinfo: Likewise.
44803 * manual/llio.texi: Likewise.
44804 * manual/locale.texi: Likewise.
44805 * manual/maint.texi: Likewise.
44806 * manual/math.texi: Likewise.
44807 * manual/memory.texi: Likewise.
44808 * manual/message.texi: Likewise.
44809 * manual/nss.texi: Likewise.
44810 * manual/pattern.texi: Likewise.
44811 * manual/process.texi: Likewise.
44812 * manual/resource.texi: Likewise.
44813 * manual/search.texi: Likewise.
44814 * manual/setjmp.texi: Likewise.
44815 * manual/signal.texi: Likewise.
44816 * manual/socket.texi: Likewise.
44817 * manual/startup.texi: Likewise.
44818 * manual/stdio.texi: Likewise.
44819 * manual/string.texi: Likewise.
44820 * manual/sysinfo.texi: Likewise.
44821 * manual/syslog.texi: Likewise.
44822 * manual/terminal.texi: Likewise.
44823 * manual/time.texi: Likewise.
44824 * manual/users.texi: Likewise.
44825 * INSTALL: Regenerated.
44826 * NOTES: Regenerated.
44827 * sysdeps/gnu/errlist.c: Regenerated.
44828
44829 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
44830
44831 * include/dirent.h: Include <dirstream.h> before
44832 <dirent/dirent.h>.
44833
44834 2012-02-28 David S. Miller <davem@davemloft.net>
44835
44836 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
44837 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
44838 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
44839 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
44840
44841 2012-02-27 David S. Miller <davem@davemloft.net>
44842
44843 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
44844 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
44845 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
44846 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
44847
44848 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
44849 frame pointer instead of stack pointer relative arg slot.
44850 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
44851 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
44852 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
44853
44854 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
44855
44856 [BZ #3992]
44857 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
44858
44859 2012-02-27 David S. Miller <davem@davemloft.net>
44860
44861 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
44862 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
44863 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
44864 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
44865 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
44866 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
44867 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
44868 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
44869
44870 2012-02-27 Joseph Myers <joseph@codesourcery.com>
44871
44872 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
44873 later. Allow versions 5-9.
44874 * configure: Regenerated.
44875 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
44876 required minimum version and 4.6 as recommended version. Do not
44877 mention bugs in GCC 2.7 and 2.8.
44878 * INSTALL: Regenerated.
44879
44880 2012-02-27 David S. Miller <davem@davemloft.net>
44881
44882 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
44883 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
44884 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
44885 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
44886 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
44887 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
44888 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
44889 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
44890
44891 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
44892 manipulate bits before adding and subtracting TWO112[sx].
44893 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
44894
44895 2012-02-27 Roland McGrath <roland@hack.frob.com>
44896
44897 [BZ #13775]
44898 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
44899 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
44900 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
44901 being in POSIX, because they are in 1003.1-2008.
44902
44903 * rt/tst-aio.c: Include <fcntl.h>.
44904 * rt/tst-aio7.c: Likewise.
44905 * rt/tst-aio64.c: Likewise.
44906
44907 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
44908
44909 2012-02-27 Joseph Myers <joseph@codesourcery.com>
44910
44911 * manual/install.texi (--with-headers): Describe headers as
44912 interface headers, not private headers.
44913 (Specific advice for GNU/Linux systems): Describe use of headers
44914 from "make headers_install", not private headers from older
44915 kernels.
44916 * INSTALL: Regenerated.
44917 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
44918 Change to 2.6.19.
44919 * sysdeps/unix/sysv/linux/configure: Regenerated.
44920
44921 * manual/llio.texi (fclean): Remove documentation.
44922
44923 * manual/Makefile (libc-texi-generated): New variable. Include
44924 version.texi.
44925 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
44926 $(libc-texi-generated), not duplicated list of files.
44927 (version.texi, stamp-version): New rules.
44928 (realclean): Remove $(libc-texi-generated), not individual files
44929 from that list. Do not remove dir-add.texinfo.
44930 * manual/libc.texinfo: Comment out uses of edition numbers and
44931 references to printed manual. Remove last-updated dates.
44932 (EDITION): Comment out.
44933 (ISBN): Likewise.
44934 (VERSION, UPDATED): Remove.
44935 (version.texi): Include.
44936
44937 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
44938
44939 * sysdeps/posix/spawni.c: Include <signal.h>.
44940 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
44941 * sysdeps/pthread/aio_fsync.c: Likewise.
44942
44943 2012-02-26 Ulrich Drepper <drepper@gmail.com>
44944
44945 * conform/Makefile (tests): Run only when not cross-compiling and
44946 when fast-check is not defined.
44947
44948 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
44949 * conform/data/limits.h-data: Fixes for POSIX2008.
44950 * conform/run-conformtest.sh: Run all tests.
44951 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
44952 headers.
44953 * include/bits/dlfcn.h: Likewise.
44954 * include/langinfo.h: Likewise.
44955 * include/monetary.h: Likewise.
44956 * include/sys/poll.h: Likewise.
44957
44958 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
44959 for __USE_GNU.
44960 * posix/spawn.h: Define __need_sigset_t.
44961 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
44962 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
44963 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
44964 to get sigevent_t only.
44965 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
44966 only for __USE_GNU.
44967 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
44968 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
44969 process_vm_writev only for __USE_GNU.
44970 * termios/termios.h: Declare tcgetsid also for POSIX2008.
44971
44972 * conform/Makefile: For now ignore errors from run-conformtest.
44973 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
44974 POSIX to avoid namespace pollution. Don't prepend headers.
44975 * conform/data/aio.h-data: Fixes for POSIX testing.
44976 * conform/data/fcntl.h-data: Likewise.
44977 * conform/data/glob.h-data: Likewise.
44978 * conform/data/grp.h-data: Likewise.
44979 * conform/data/pthread.h-data: Likewise.
44980 * conform/data/pwd.h-data: Likewise.
44981 * conform/data/signal.h-data: Likewise.
44982 * conform/data/spawn.h-data: Likewise.
44983 * conform/data/stdio.h-data: Likewise.
44984 * conform/data/stdlib.h-data: Likewise.
44985 * conform/data/stropts.h-data: Likewise.
44986 * conform/data/sys/mman.h-data: Likewise.
44987 * conform/data/sys/stat.h-data: Likewise.
44988 * conform/data/sys/types.h-data: Likewise.
44989 * conform/data/sys/wait.h-data: Likewise.
44990 * conform/data/time.h-data: Likewise.
44991 * conform/data/unistd.h-data: Likewise.
44992 * conform/data/utime.h-data: Likewise.
44993
44994 * io/sys/stat.h: fchmod was always in POSIX.
44995 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
44996 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
44997 * rt/aio.h: Define __need_timespec before including <time.h>.
44998 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
44999 struct. Add forward declaration of pthread_attr_t and use it in
45000 sigevent.
45001 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
45002 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
45003 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
45004 always remove CLK_TCK definition.
45005
45006 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
45007
45008 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
45009
45010 2012-02-25 Ulrich Drepper <drepper@gmail.com>
45011
45012 * conform/run-conformtest.sh: New file.
45013 * conform/Makefile: Run run-conformtest for tests.
45014 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
45015 support.
45016
45017 * conform/data/uchar.h-data: New file.
45018 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
45019 * conform/data/arpa/inet.h-data: Likewise.
45020 * conform/data/assert.h-data: Likewise.
45021 * conform/data/complex.h-data: Likewise.
45022 * conform/data/cpio.h-data: Likewise.
45023 * conform/data/ctype.h-data: Likewise.
45024 * conform/data/dirent.h-data: Likewise.
45025 * conform/data/dlfcn.h-data: Likewise.
45026 * conform/data/errno.h-data: Likewise.
45027 * conform/data/fcntl.h-data: Likewise.
45028 * conform/data/float.h-data: Likewise.
45029 * conform/data/fmtmsg.h-data: Likewise.
45030 * conform/data/fnmatch.h-data: Likewise.
45031 * conform/data/ftw.h-data: Likewise.
45032 * conform/data/glob.h-data: Likewise.
45033 * conform/data/grp.h-data: Likewise.
45034 * conform/data/iconv.h-data: Likewise.
45035 * conform/data/inttypes.h-data: Likewise.
45036 * conform/data/langinfo.h-data: Likewise.
45037 * conform/data/libgen.h-data: Likewise.
45038 * conform/data/limits.h-data: Likewise.
45039 * conform/data/locale.h-data: Likewise.
45040 * conform/data/math.h-data: Likewise.
45041 * conform/data/monetary.h-data: Likewise.
45042 * conform/data/mqueue.h-data: Likewise.
45043 * conform/data/ndbm.h-data: Likewise.
45044 * conform/data/net/if.h-data: Likewise.
45045 * conform/data/netdb.h-data: Likewise.
45046 * conform/data/netinet/in.h-data: Likewise.
45047 * conform/data/nl_types.h-data: Likewise.
45048 * conform/data/poll.h-data: Likewise.
45049 * conform/data/pthread.h-data: Likewise.
45050 * conform/data/pwd.h-data: Likewise.
45051 * conform/data/regex.h-data: Likewise.
45052 * conform/data/sched.h-data: Likewise.
45053 * conform/data/search.h-data: Likewise.
45054 * conform/data/semaphore.h-data: Likewise.
45055 * conform/data/setjmp.h-data: Likewise.
45056 * conform/data/signal.h-data: Likewise.
45057 * conform/data/spawn.h-data: Likewise.
45058 * conform/data/stdarg.h-data: Likewise.
45059 * conform/data/stdio.h-data: Likewise.
45060 * conform/data/stdlib.h-data: Likewise.
45061 * conform/data/string.h-data: Likewise.
45062 * conform/data/strings.h-data: Likewise.
45063 * conform/data/stropts.h-data: Likewise.
45064 * conform/data/sys/ipc.h-data: Likewise.
45065 * conform/data/sys/mman.h-data: Likewise.
45066 * conform/data/sys/msg.h-data: Likewise.
45067 * conform/data/sys/resource.h-data: Likewise.
45068 * conform/data/sys/select.h-data: Likewise.
45069 * conform/data/sys/sem.h-data: Likewise.
45070 * conform/data/sys/shm.h-data: Likewise.
45071 * conform/data/sys/socket.h-data: Likewise.
45072 * conform/data/sys/stat.h-data: Likewise.
45073 * conform/data/sys/statvfs.h-data: Likewise.
45074 * conform/data/sys/time.h-data: Likewise.
45075 * conform/data/sys/timeb.h-data: Likewise.
45076 * conform/data/sys/times.h-data: Likewise.
45077 * conform/data/sys/types.h-data: Likewise.
45078 * conform/data/sys/uio.h-data: Likewise.
45079 * conform/data/sys/un.h-data: Likewise.
45080 * conform/data/sys/utsname.h-data: Likewise.
45081 * conform/data/sys/wait.h-data: Likewise.
45082 * conform/data/syslog.h-data: Likewise.
45083 * conform/data/tar.h-data: Likewise.
45084 * conform/data/termios.h-data: Likewise.
45085 * conform/data/utime.h-data: Likewise.
45086 * conform/data/utmpx.h-data: Likewise.
45087 * conform/data/varargs.h-data: Likewise.
45088 * conform/data/wchar.h-data: Likewise.
45089 * conform/data/wctype.h-data: Likewise.
45090 * conform/data/wordexp.h-data: Likewise.
45091
45092 * include/stropts.h: New file.
45093 * include/uchar.h: New file.
45094 * include/aio.h: Changes to allow conformtest.pl to use the headers.
45095 * include/assert.h: Likewise.
45096 * include/ctype.h: Likewise.
45097 * include/dirent.h: Likewise.
45098 * include/dlfcn.h: Likewise.
45099 * include/fcntl.h: Likewise.
45100 * include/fnmatch.h: Likewise.
45101 * include/glob.h: Likewise.
45102 * include/grp.h: Likewise.
45103 * include/libio.h: Likewise.
45104 * include/locale.h: Likewise.
45105 * include/math.h: Likewise.
45106 * include/net/if.h: Likewise.
45107 * include/netdb.h: Likewise.
45108 * include/netinet/in.h: Likewise.
45109 * include/pthread.h: Likewise.
45110 * include/pwd.h: Likewise.
45111 * include/regex.h: Likewise.
45112 * include/sched.h: Likewise.
45113 * include/search.h: Likewise.
45114 * include/setjmp.h: Likewise.
45115 * include/signal.h: Likewise.
45116 * include/stdio.h: Likewise.
45117 * include/stdlib.h: Likewise.
45118 * include/string.h: Likewise.
45119 * include/sys/cdefs.h: Likewise.
45120 * include/sys/mman.h: Likewise.
45121 * include/sys/msg.h: Likewise.
45122 * include/sys/resource.h: Likewise.
45123 * include/sys/select.h: Likewise.
45124 * include/sys/socket.h: Likewise.
45125 * include/sys/stat.h: Likewise.
45126 * include/sys/statvfs.h: Likewise.
45127 * include/sys/time.h: Likewise.
45128 * include/sys/times.h: Likewise.
45129 * include/sys/uio.h: Likewise.
45130 * include/sys/utsname.h: Likewise.
45131 * include/sys/wait.h: Likewise.
45132 * include/termios.h: Likewise.
45133 * include/time.h: Likewise.
45134 * include/ulimit.h: Likewise.
45135 * include/unistd.h: Likewise.
45136 * include/utime.h: Likewise.
45137 * include/wchar.h: Likewise.
45138 * include/wctype.h: Likewise.
45139 * include/wordexp.h: Likewise.
45140
45141 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
45142
45143 * time/time.h: TIME_UTC must be a macro.
45144 Make timespec_get available for ISO C11 only as well.
45145
45146 2012-02-24 Ulrich Drepper <drepper@gmail.com>
45147
45148 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
45149 Reported by Peng Haitao <penght@cn.fujitsu.com>.
45150
45151 2012-02-24 Joseph Myers <joseph@codesourcery.com>
45152
45153 * configure.in: Use -o not -a in test for unsupported multi-arch.
45154
45155 2012-02-24 Joseph Myers <joseph@codesourcery.com>
45156
45157 * manual/texinfo.tex: Update to version 2012-01-19.16.
45158
45159 2012-02-24 Joseph Myers <joseph@codesourcery.com>
45160
45161 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
45162
45163 2012-02-24 Roland McGrath <roland@hack.frob.com>
45164
45165 [BZ #13738]
45166 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
45167 * manual/fdl-1.3.texi: New file.
45168 * manual/fdl-1.1.texi: File removed.
45169
45170 [BZ #13738]
45171 * manual/libc.texinfo (FDL_VERSION): New @set.
45172 Use it for mention of FDL in cover text.
45173 (Documentation License): Use it in @include file name.
45174
45175 2012-02-22 Joseph Myers <joseph@codesourcery.com>
45176 Roland McGrath <roland@hack.frob.com>
45177
45178 [BZ #5461]
45179 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
45180 (not LONG_LONG_MAX and LONG_LONG_MIN.
45181 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
45182 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
45183 name.
45184 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
45185
45186 2012-02-22 Joseph Myers <joseph@codesourcery.com>
45187
45188 [BZ #2547]
45189 [BZ #11365]
45190 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
45191 manipulate bits before adding and subtracting TWO23[sx].
45192 * math/libm-test.inc (nearbyint_test): Add more tests.
45193
45194 2012-02-22 Joseph Myers <joseph@codesourcery.com>
45195
45196 [BZ #2548]
45197 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
45198 bits before adding and subtracting TWO23[sx].
45199 * math/libm-test.inc (rint_test): Add more tests.
45200 (rint_test_tonearest): Likewise.
45201 (rint_test_towardzero): Likewise.
45202 (rint_test_downward): Likewise.
45203 (rint_test_upward: Likewise.
45204
45205 2012-02-22 Joseph Myers <joseph@codesourcery.com>
45206
45207 [BZ #10110]
45208 * include/stdc-predef.h: New file. Extracted from features.h.
45209 * include/features.h: Include stdc-predef.h.
45210 * Makefile (headers): Add stdc-predef.h.
45211 * CONFORMANCE (Compiler limitations): Update.
45212
45213 2012-02-22 Joseph Myers <joseph@codesourcery.com>
45214
45215 * manual/libc.texinfo (VERSION, UPDATED): Revert.
45216
45217 2012-02-21 David S. Miller <davem@davemloft.net>
45218
45219 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
45220 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
45221
45222 2012-02-20 David S. Miller <davem@davemloft.net>
45223
45224 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
45225 using a normal save/restore sequence, rather than allocating a
45226 dummy stack frame just to store a frame pointer and restore.
45227 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
45228
45229 2012-02-21 Joseph Myers <joseph@codesourcery.com>
45230
45231 * manual/install.texi: Fix stray word in line-wrapped comment.
45232
45233 2012-02-20 David S. Miller <davem@davemloft.net>
45234
45235 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
45236 both binutils and gcc support GOTDATA.
45237
45238 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
45239 "rd %pc" in the PIC register setup sequences.
45240
45241 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
45242 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
45243 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
45244 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
45245 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
45246 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
45247 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
45248 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
45249 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
45250 (SYSCALL_ERROR_HANDLER): Likewise.
45251 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
45252 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
45253 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
45254 (SYSCALL_ERROR_HANDLER): Likewise.
45255
45256 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
45257 (HAVE_GCC_GOTDATA): New.
45258 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
45259 relocation support in both binutils and gcc.
45260 * sysdeps/sparc/elf/configure: Regenerate.
45261
45262 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
45263 * sysdeps/sparc/sparc32/elf/configure: Delete.
45264 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
45265 * sysdeps/sparc/sparc64/elf/configure: Delete.
45266 * sysdeps/sparc/elf/configure.in: New file.
45267 * sysdeps/sparc/elf/configure: Generate.
45268
45269 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
45270 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
45271 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
45272 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
45273 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
45274
45275 2012-02-21 Joseph Myers <joseph@codesourcery.com>
45276
45277 * manual/install.texi: Do not mention specific glibc version
45278 numbers.
45279 * manual/libc.texinfo (VERSION, UPDATED): Update.
45280 (@copying): Use @copyright{} and range of years.
45281
45282 2012-02-21 Joseph Myers <joseph@codesourcery.com>
45283
45284 [BZ #13695]
45285 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
45286 [crti.S not in sysdirs] (generated): Do not append.
45287 [crti.S not in sysdirs] (omit-deps): Likewise.
45288 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
45289 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
45290 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
45291 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
45292 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
45293 Likewise.
45294 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
45295 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
45296 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
45297 * csu/defs.awk: Remove file.
45298 * sysdeps/generic/initfini.c: Likewise.
45299 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
45300 variable.
45301 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
45302 Likewise.
45303
45304 2012-02-20 Joseph Myers <joseph@codesourcery.com>
45305
45306 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
45307 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
45308 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
45309 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
45310 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
45311 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
45312 <bits/epoll.h>.
45313 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
45314 (__EPOLL_PACKED): Define to empty if not defined by
45315 <bits/epoll.h>.
45316 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
45317 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
45318 bits/epoll.h.
45319
45320 2012-02-20 Joseph Myers <joseph@codesourcery.com>
45321
45322 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
45323 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
45324 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
45325 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
45326 <bits/timerfd.h>.
45327 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
45328 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
45329 bits/timerfd.h.
45330
45331 2012-02-20 Joseph Myers <joseph@codesourcery.com>
45332
45333 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
45334 in C locale.
45335 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
45336 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
45337 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
45338 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45339
45340 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
45341
45342 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
45343 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
45344
45345 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
45346
45347 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
45348 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
45349 defined.
45350 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
45351 Likewise.
45352 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
45353 entry for 2.16.
45354
45355 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
45356
45357 * math/w_acos.c: Use non-signaling floating-point comparisons.
45358 * math/w_acosf.c: Likewise.
45359 * math/w_acosh.c: Likewise.
45360 * math/w_acoshf.c: Likewise.
45361 * math/w_acoshl.c: Likewise.
45362 * math/w_acosl.c: Likewise.
45363 * math/w_asin.c: Likewise.
45364 * math/w_asinf.c: Likewise.
45365 * math/w_asinl.c: Likewise.
45366 * math/w_atanh.c: Likewise.
45367 * math/w_atanhf.c: Likewise.
45368 * math/w_atanhl.c: Likewise.
45369 * math/w_exp2.c: Likewise.
45370 * math/w_exp2f.c: Likewise.
45371 * math/w_exp2l.c: Likewise.
45372 * math/w_j0.c: Likewise.
45373 * math/w_j0f.c: Likewise.
45374 * math/w_j0l.c: Likewise.
45375 * math/w_j1.c: Likewise.
45376 * math/w_j1f.c: Likewise.
45377 * math/w_j1l.c: Likewise.
45378 * math/w_jn.c: Likewise.
45379 * math/w_jnf.c: Likewise.
45380 * math/w_log.c: Likewise.
45381 * math/w_log10.c: Likewise.
45382 * math/w_log10f.c: Likewise.
45383 * math/w_log10l.c: Likewise.
45384 * math/w_log2.c: Likewise.
45385 * math/w_log2f.c: Likewise.
45386 * math/w_log2l.c: Likewise.
45387 * math/w_logf.c: Likewise.
45388 * math/w_logl.c: Likewise.
45389 * math/w_sqrt.c: Likewise.
45390 * math/w_sqrtf.c: Likewise.
45391 * math/w_sqrtl.c: Likewise.
45392 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
45393 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
45394 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
45395 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
45396 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
45397
45398 2012-02-19 Joseph Myers <joseph@codesourcery.com>
45399
45400 [BZ #9739]
45401 * manual/string.texi (strnlen): Use correct parameter name in
45402 equivalent expression.
45403
45404 2012-02-19 Joseph Myers <joseph@codesourcery.com>
45405
45406 [BZ #11174]
45407 * manual/users.texi (seteuid): Consistently use neweuid for
45408 argument name.
45409
45410 2012-02-19 Joseph Myers <joseph@codesourcery.com>
45411
45412 [BZ #13704]
45413 * manual/nss.texi (Services in the NSS configuration): Correct
45414 list of services in example configuration file.
45415
45416 2012-02-19 Nick Bowler <nbowler@draconx.ca>
45417
45418 [BZ #11322]
45419 * manual/arith.texi: Remove statements about negative zero
45420 behaving identically to zero.
45421
45422 2012-02-18 Joseph Myers <joseph@codesourcery.com>
45423
45424 [BZ #5993]
45425 * manual/install.texi: Do not document upgrading from libc5.
45426
45427 2012-02-18 Joseph Myers <joseph@codesourcery.com>
45428
45429 [BZ #4596]
45430 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
45431
45432 2012-02-18 David S. Miller <davem@davemloft.net>
45433
45434 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
45435 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
45436 %o7 across the call.
45437 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
45438 instead.
45439 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
45440 SETUP_PIC_REG_LEAF.
45441 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
45442 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
45443 * sysdeps/sparc/crtn.S: Likewise.
45444
45445 2012-02-17 Ulrich Drepper <drepper@gmail.com>
45446
45447 * aout/Makefile: Remove.
45448
45449 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
45450
45451 [BZ #13058]
45452 * manual/examples/argp-ex1.c (main): Format definition in GNU
45453 style.
45454 * manual/examples/argp-ex2.c (main): Likewise.
45455 * manual/examples/argp-ex3.c (main): Likewise.
45456 * manual/examples/argp-ex4.c (main): Likewise.
45457 * manual/examples/longopt.c (main): Use new-style prototype
45458 definition.
45459 * manual/examples/strncat.c (main): Specify return type and use
45460 (void) for arguments.
45461 * manual/examples/subopt.c (main): Use char **argv argument.
45462
45463 2012-02-17 Joseph Myers <joseph@codesourcery.com>
45464
45465 [BZ #5077]
45466 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
45467 rounding modes.
45468
45469 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
45470
45471 [BZ #6907]
45472 * manual/string.texi (strchr): Change when strchrnul is
45473 recommended.
45474
45475 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
45476
45477 [BZ #174]
45478 * manual/locale.texi (setlocale): Document LOCPATH.
45479
45480 2012-02-17 Joseph Myers <joseph@codesourcery.com>
45481
45482 [BZ #10210]
45483 * manual/process.texi (execle): Move @dots{} before last argument.
45484
45485 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
45486
45487 [BZ #12047]
45488 * manual/charset.texi (Generic Charset Conversion): Fix typo
45489 (LC_TYPE -> LC_CTYPE).
45490
45491 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
45492
45493 [BZ #5805]
45494 * manual/arith.texi (scalbn): Use @var{} on parameter names.
45495 (scalbnf): Likewise.
45496 (scalbnl): Likewise.
45497 (scalbln): Likewise.
45498 (scalblnf): Likewise.
45499 (scalblnl): Likewise.
45500 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
45501 (vwarnx): Likewise.
45502 (verr): Likewise.
45503 (verrx): Likewise.
45504 * manual/filesys.texi (telldir): Use braces around return type.
45505 * manual/llio.texi (mmap): Add space after comma.
45506 (mmap64): Likewise.
45507 * manual/math.texi (jn): Use @var{} on parameter names.
45508 (jnf): Likewise.
45509 (jnl): Likewise.
45510 (yn): Likewise.
45511 (ynf): Likewise.
45512 (ynl): Likewise.
45513 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
45514 line.
45515 * manual/resource.texi (ulimit): Use @dots{} instead of literal
45516 "...".
45517 (sched_get_priority_min): Remove semicolon on @deftypefun line.
45518 (sched_get_priority_max): Likewise.
45519 * manual/signal.texi (sigvec): Add space after comma.
45520 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
45521 names.
45522 (if_indextoname): Likewise.
45523 (if_freenameindex): Likewise.
45524 (sendto): Use ',' instead of '.' in prototype.
45525 * manual/startup.texi (syscall): Use @dots{} instead of literal
45526 "...".
45527 * manual/stdio.texi (__fpending): Separate initial words of
45528 paragraph from @deftypefun line.
45529 * manual/syslog.texi (syslog): Use @dots{} instead of literal
45530 "...".
45531 (vsyslog): Use @var{} on parameter names.
45532 * manual/terminal.texi (stty): Use @var{} on parameter names.
45533 * manual/users.texi (getutmp): Use @var{} on parameter names.
45534 (getutmpx): Likewise.
45535
45536 2012-02-17 Joseph Myers <joseph@codesourcery.com>
45537
45538 [BZ #6884]
45539 * manual/stdio.texi (fopen): Fix typos in description of
45540 ",ccs=STRING".
45541
45542 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
45543
45544 [BZ #4026]
45545 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
45546 get clock_id definition.
45547
45548 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
45549
45550 [BZ #4822]
45551 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
45552 (madvise): Cast every argument to void on its own.
45553
45554 2012-02-17 Joseph Myers <joseph@codesourcery.com>
45555
45556 [BZ #9902]
45557 * manual/startup.texi (Exit Status): Fix typo.
45558
45559 2012-02-17 Joseph Myers <joseph@codesourcery.com>
45560
45561 [BZ #10140]
45562 * manual/examples/argp-ex1.c: Include <stdlib.h>.
45563 * manual/examples/argp-ex2.c: Likewise.
45564 * manual/examples/argp-ex3.c: Likewise.
45565
45566 2012-02-16 Richard Henderson <rth@redhat.com>
45567
45568 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
45569 * sysdeps/s390/s390-32/initfini.c: Remove.
45570 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
45571 * sysdeps/s390/s390-64/initfini.c: Remove.
45572
45573 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
45574
45575 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
45576 compiler output for sysdeps/generic/initfini.c.
45577 * sysdeps/sh/elf/initfini.c: Remove file.
45578
45579 2012-02-16 David S. Miller <davem@davemloft.net>
45580
45581 [BZ #11494]
45582 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
45583
45584 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
45585 * sysdeps/sparc/crti.S: New file.
45586 * sysdeps/sparc/crtn.S: New file.
45587 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
45588 * sysdeps/sparc/sparc64/Makefile: Likewise.
45589
45590 2012-02-15 Mike Frysinger <vapier@gentoo.org>
45591
45592 [BZ #3335]
45593 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
45594
45595 2012-02-15 Roland McGrath <roland@hack.frob.com>
45596
45597 [BZ #4822]
45598 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
45599
45600 * mach/devstream.c (cookie_io_functions_t): Macro removed.
45601 (write, read, close): Likewise.
45602 Patch by Aurelien Jarno <aurelien@aurel32.net>.
45603
45604 2012-02-15 Joseph Myers <joseph@codesourcery.com>
45605
45606 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
45607 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
45608 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
45609 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
45610 <bits/signalfd.h>.
45611 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
45612 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
45613 bits/signalfd.h.
45614
45615 2012-02-14 Marek Polacek <polacek@redhat.com>
45616
45617 * sysdeps/x86_64/crti.S: New file.
45618 * sysdeps/x86_64/crtn.S: New file.
45619 * sysdeps/x86_64/elf/initfini.c: Remove file.
45620
45621 2012-02-13 Joseph Myers <joseph@codesourcery.com>
45622
45623 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
45624 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
45625 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
45626 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
45627 <bits/inotify.h>.
45628 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
45629 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
45630 bits/inotify.h.
45631
45632 2012-02-13 Joseph Myers <joseph@codesourcery.com>
45633
45634 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
45635 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
45636 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
45637 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
45638 <bits/eventfd.h>.
45639 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
45640 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
45641 bits/eventfd.h.
45642
45643 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
45644
45645 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
45646 __feraiseexcept instead of feraiseexcept.
45647
45648 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
45649 nanosleep invocations.
45650 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
45651 strings, and add error checking for a nanosleep invocations.
45652
45653 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
45654
45655 Replace FSF snail mail address with URLs, as per GNU coding standards.
45656 Most of the snail mail addresses were wrong anyway, and omitting
45657 them makes the source code easier to maintain. Almost all of the
45658 changes are to license notices and to locale LC_IDENTIFICATION
45659 addresses, except for this one:
45660 * manual/libc.texinfo: In "Published by", give the FSF's URL,
45661 not its snail mail address.
45662
45663 2012-02-09 Richard Henderson <rth@twiddle.net>
45664
45665 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
45666 of kernel-features.h.
45667
45668 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
45669
45670 2012-02-08 Marek Polacek <polacek@redhat.com>
45671
45672 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
45673 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
45674 * sysdeps/gnu/_G_config.h: Likewise.
45675 * sysdeps/generic/_G_config.h: Likewise.
45676
45677 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
45678
45679 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
45680 tests.
45681 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45682
45683 * sysdeps/powerpc/powerpc32/crti.S: New file.
45684 * sysdeps/powerpc/powerpc32/crtn.S: New file.
45685 * sysdeps/powerpc/powerpc64/crti.S: New file.
45686 * sysdeps/powerpc/powerpc64/crtn.S: New file.
45687
45688 * Makeconfig (have-initfini): Don't set.
45689 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
45690 * configure.in (nopic_initfini): Don't substitute.
45691 * config.h.in (HAVE_INITFINI): Don't #undef.
45692 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
45693 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
45694
45695 2012-02-08 Joseph Myers <joseph@codesourcery.com>
45696
45697 Support crti.S and crtn.S provided directly by architectures.
45698 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
45699 [crti.S in sysdirs] (omit-deps): Likewise.
45700 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
45701 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
45702 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
45703 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
45704 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
45705 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
45706 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
45707 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
45708 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
45709 compiler output for sysdeps/generic/initfini.c.
45710 * sysdeps/i386/elf/Makefile: Remove file.
45711 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
45712
45713 2012-02-07 Marek Polacek <polacek@redhat.com>
45714
45715 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
45716 * sysdeps/gnu/_G_config.h: Likewise.
45717 * sysdeps/mach/hurd/_G_config.h: Likewise.
45718
45719 2012-02-07 Marek Polacek <polacek@redhat.com>
45720
45721 * math/Makefile (tests): Add tst-CMPLX2.
45722 * math/tst-CMPLX2.c: New file.
45723
45724 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
45725
45726 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
45727
45728 * math/libm-test.inc (jn_test): Add missing L suffix.
45729
45730 2012-02-06 Marek Polacek <polacek@redhat.com>
45731
45732 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
45733 * sysdeps/i386/fpu/e_powf.S: Likewise.
45734 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
45735 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
45736 * sysdeps/i386/fpu/e_acosh.S: Likewise.
45737 * sysdeps/i386/fpu/e_pow.S: Likewise.
45738 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
45739 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
45740 * sysdeps/i386/fpu/s_expm1.S: Likewise.
45741 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
45742 * sysdeps/i386/fpu/e_log2.S: Likewise.
45743 * sysdeps/i386/fpu/e_log2l.S: Likewise.
45744 * sysdeps/i386/fpu/e_scalb.S: Likewise.
45745 * sysdeps/i386/fpu/e_powl.S: Likewise.
45746 * sysdeps/i386/fpu/s_log1p.S: Likewise.
45747 * sysdeps/i386/fpu/e_log10f.S: Likewise.
45748 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
45749 * sysdeps/i386/fpu/e_logl.S: Likewise.
45750 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
45751 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
45752 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
45753 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
45754 * sysdeps/i386/fpu/e_log2f.S: Likewise.
45755 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
45756 * sysdeps/i386/fpu/e_log.S: Likewise.
45757 * sysdeps/i386/fpu/s_cexp.S: Likewise.
45758 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
45759 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
45760 * sysdeps/i386/fpu/e_logf.S: Likewise.
45761 * sysdeps/i386/fpu/e_log10l.S: Likewise.
45762 * sysdeps/i386/fpu/e_atanh.S: Likewise.
45763 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
45764 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
45765 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
45766 * sysdeps/i386/fpu/e_log10.S: Likewise.
45767 * sysdeps/i386/fpu/s_frexp.S: Likewise.
45768 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
45769 * sysdeps/i386/fpu/s_asinh.S: Likewise.
45770 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
45771 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
45772 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
45773 * sysdeps/i386/asm-syntax.h: Likewise.
45774 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
45775 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
45776 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
45777 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
45778 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
45779 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
45780 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
45781 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
45782 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
45783 * sysdeps/powerpc/sysdep.h: Likewise.
45784 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
45785 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
45786
45787 2012-02-06 Joseph Myers <joseph@codesourcery.com>
45788
45789 [BZ #411]
45790 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
45791
45792 2012-02-06 Joseph Myers <joseph@codesourcery.com>
45793
45794 * sysdeps/i386/sysdep.h: Include <features.h>.
45795 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
45796 version.
45797
45798 2012-02-05 Joseph Myers <joseph@codesourcery.com>
45799
45800 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
45801 Define.
45802 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
45803 LOAD_PIC_REG_STR.
45804
45805 2012-02-03 Joseph Myers <joseph@codesourcery.com>
45806
45807 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
45808 (SETUP_PIC_REG): Use GET_PC_THUNK.
45809 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
45810 macro.
45811
45812 2012-02-03 Joseph Myers <joseph@codesourcery.com>
45813
45814 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
45815 for non-PIC compilation.
45816 (SETUP_PIC_REG): Add .p2align directive.
45817 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
45818 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
45819 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
45820 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
45821 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
45822 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
45823 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
45824 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
45825 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
45826 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
45827 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
45828 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
45829 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
45830 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
45831 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
45832 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
45833 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
45834 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
45835 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
45836 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
45837 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
45838 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
45839 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
45840 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
45841 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
45842 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
45843 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
45844 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
45845 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
45846 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
45847 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
45848 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
45849 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
45850 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
45851 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
45852 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
45853 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
45854 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
45855 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
45856 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
45857 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
45858
45859 2012-02-03 Joseph Myers <joseph@codesourcery.com>
45860
45861 * math/tst-CMPLX.c: Include <stdio.h>.
45862
45863 2012-01-31 Joseph Myers <joseph@codesourcery.com>
45864
45865 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
45866 float.
45867 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
45868 * sysdeps/sparc/bits/mathdef.h: Likewise.
45869
45870 2012-01-31 Marek Polacek <polacek@redhat.com>
45871
45872 * libio/libio.h: Don't define _PARAMS.
45873 * locale/programs/config.h: Don't define PARAMS.
45874 * stdlib/strtol_l.c: Likewise.
45875 (__strtol_l): Remove PARAMS from the prototype.
45876
45877 2012-01-31 Ulrich Drepper <drepper@gmail.com>
45878
45879 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
45880 names. Just use the correct names. Remove unnecessary wrapper
45881 functions.
45882 * malloc/arena.c: Likewise.
45883 * malloc/hooks.c: Likewise.
45884
45885 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
45886 ARENA_TEST says not to. Simplify test for creation of a new arena.
45887 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
45888
45889 2012-01-30 Ulrich Drepper <drepper@gmail.com>
45890
45891 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
45892 into tail calls.
45893 (update_get_addr): New function.
45894 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
45895 GET_ADDR_MODULE parameter.
45896
45897 2012-01-30 Joseph Myers <joseph@codesourcery.com>
45898
45899 * crypt/cert.c: Remove __STDC__ conditionals.
45900 * crypt/crypt-entry.c: Likewise.
45901 * crypt/crypt_util.c: Likewise.
45902 * libio/filedoalloc.c: Likewise.
45903 * libio/fileops.c: Likewise.
45904 * libio/genops.c: Likewise.
45905 * libio/iofclose.c: Likewise.
45906 * libio/iofdopen.c: Likewise.
45907 * libio/iofopen.c: Likewise.
45908 * libio/iofopen64.c: Likewise.
45909 * libio/iogetdelim.c: Likewise.
45910 * libio/iopopen.c: Likewise.
45911 * libio/obprintf.c: Likewise.
45912 * libio/oldfileops.c: Likewise.
45913 * libio/oldiofclose.c: Likewise.
45914 * libio/oldiofdopen.c: Likewise.
45915 * libio/oldiofopen.c: Likewise.
45916 * libio/oldiopopen.c: Likewise.
45917 * libio/wfiledoalloc.c: Likewise.
45918 * libio/wgenops.c: Likewise.
45919 * locale/programs/xmalloc.c: Likewise.
45920 * misc/syslog.c: Likewise.
45921 * stdio-common/xbug.c: Likewise.
45922 * string/memchr.c: Likewise.
45923 * string/memcmp.c: Likewise.
45924 * string/memrchr.c: Likewise.
45925 * string/rawmemchr.c: Likewise.
45926 * sysdeps/posix/getcwd.c: Likewise.
45927 * time/strftime_l.c: Likewise.
45928
45929 2012-01-30 Joseph Myers <joseph@codesourcery.com>
45930
45931 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
45932 * config.make.in (config-cflags-sse2avx): Define.
45933 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
45934 Fix typo.
45935
45936 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
45937
45938 * scripts/config.guess: Update from upstream config git repository.
45939 * scripts/config.sub: Likewise.
45940
45941 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
45942
45943 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
45944 (EM_NUM): Update.
45945 (R_TILEPRO_*, R_TILEGX_*): New macros.
45946
45947 * scripts/firstversions.awk: Fix bug in version range handling.
45948
45949 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
45950
45951 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
45952
45953 * include/sys/epoll.h: New file.
45954 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
45955 libc_hidden_def.
45956
45957 2012-01-28 Ulrich Drepper <drepper@gmail.com>
45958
45959 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
45960 Avoid unnecessary __WORDSIZE == 64 test.
45961 (fmaxf): Use VEX format if possible.
45962 (fmax): Likewise.
45963 (fminf): Likewise.
45964 (fmin): Likewise.
45965
45966 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
45967 * math/math_private.h: Remove libc_fegetround* and
45968 libc_fesetround*.
45969 * sysdeps/i386/configure.in: Check for -msse2avx.
45970 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
45971 also if SSE2AVX is defined.
45972 Remove libc_fegetround* and libc_fesetround*.
45973 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
45974 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
45975 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
45976 of HAS_YMM_USABLE.
45977 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
45978 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
45979 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
45980 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
45981 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
45982
45983 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
45984
45985 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45986
45987 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
45988 size is not set.
45989 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
45990
45991 2012-01-27 Ulrich Drepper <drepper@gmail.com>
45992
45993 [BZ #13618]
45994 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
45995 relocation.
45996 * Makeconfig (libm): Define.
45997 * elf/Makefile: Add rules to build and run tst-relsort1.
45998 * elf/tst-relsort1.c: New file.
45999 * elf/tst-relsort1mod1.c: New file.
46000 * elf/tst-relsort1mod2.c: New file.
46001
46002 2012-01-27 Joseph Myers <joseph@codesourcery.com>
46003
46004 * math/s_ldexp.c: Remove __STDC__ conditionals.
46005 * math/s_ldexpf.c: Likewise.
46006 * math/s_ldexpl.c: Likewise.
46007 * math/s_nextafter.c: Likewise.
46008 * math/s_nexttowardf.c: Likewise.
46009 * math/s_significand.c: Likewise.
46010 * math/s_significandf.c: Likewise.
46011 * math/s_significandl.c: Likewise.
46012 * math/w_jnl.c: Likewise.
46013 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
46014 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
46015 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
46016 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
46017 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
46018 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
46019 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
46020 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
46021 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
46022 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
46023 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
46024 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
46025 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
46026 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
46027 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
46028 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
46029 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
46030 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
46031 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
46032 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
46033 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
46034 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
46035 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
46036 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
46037 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
46038 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
46039 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
46040 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
46041 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
46042 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
46043 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
46044 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
46045 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
46046 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
46047 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
46048 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
46049 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
46050 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
46051 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
46052 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
46053 * sysdeps/ieee754/k_standard.c: Likewise.
46054 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
46055 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
46056 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
46057 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
46058 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
46059 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
46060 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
46061 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
46062 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
46063 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
46064 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
46065 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
46066 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
46067 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
46068 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
46069 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
46070 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
46071 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
46072 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
46073 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
46074 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
46075 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
46076 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
46077 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
46078 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
46079 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
46080 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
46081 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
46082 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
46083 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
46084 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
46085 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
46086 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
46087 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
46088 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
46089 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
46090 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
46091 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
46092 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
46093 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
46094 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
46095 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
46096 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
46097 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
46098 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
46099 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
46100 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
46101 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
46102 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
46103 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
46104 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
46105 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
46106 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
46107 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
46108 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
46109 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
46110 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
46111 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
46112 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
46113 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
46114 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
46115 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
46116 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
46117 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
46118 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
46119 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
46120 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
46121 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
46122 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
46123 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
46124 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
46125 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
46126 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
46127 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
46128 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
46129 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
46130 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
46131 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
46132 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
46133 * sysdeps/ieee754/s_matherr.c: Likewise.
46134 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
46135 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
46136 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
46137 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
46138
46139 2012-01-26 Joseph Myers <joseph@codesourcery.com>
46140
46141 * crypt/md5.h: Remove __STDC__ conditionals.
46142 * libio/libioP.h: Likewise.
46143 * locale/programs/config.h: Likewise.
46144 * sysdeps/generic/sysdep.h: Likewise.
46145 * sysdeps/i386/asm-syntax.h: Likewise.
46146 * sysdeps/s390/asm-syntax.h: Likewise.
46147 * sysdeps/unix/sysdep.h: Likewise.
46148 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
46149 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
46150
46151 2012-01-26 Joseph Myers <joseph@codesourcery.com>
46152
46153 * libio/libio.h: Remove __STDC__ conditionals.
46154 * malloc/obstack.h: Likewise.
46155 * math/complex.h: Likewise.
46156 * math/math.h: Likewise.
46157 * sysdeps/generic/_G_config.h: Likewise.
46158 * sysdeps/gnu/_G_config.h: Likewise.
46159 * sysdeps/mach/hurd/_G_config.h: Likewise.
46160 * sysdeps/powerpc/bits/mathdef.h: Likewise.
46161 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
46162 * sysdeps/sparc/bits/mathdef.h: Likewise.
46163
46164 2012-01-26 Ulrich Drepper <drepper@gmail.com>
46165
46166 [BZ #13583]
46167 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
46168 Clean up HAS_* macros.
46169 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
46170 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
46171 possible.
46172 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
46173 HAS_AVX.
46174 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
46175 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
46176 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
46177 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
46178 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
46179
46180 2012-01-25 Joseph Myers <joseph@codesourcery.com>
46181
46182 * elf/tst-unique3.cc (gets): Remove declaration.
46183 * elf/tst-unique3lib.cc (gets): Likewise.
46184 * elf/tst-unique3lib2.cc (gets): Likewise.
46185 * elf/tst-unique4.cc (gets): Likewise.
46186
46187 2012-01-24 Ulrich Drepper <drepper@gmail.com>
46188
46189 * include/stdio.h: Add C++ protection. Add gets declarations and
46190 definitions.
46191 * debug/tst-chk1.c: Don't declare gets here.
46192 * stdio-common/tst-gets.c: Likewise.
46193
46194 2012-01-24 Joseph Myers <joseph@codesourcery.com>
46195
46196 * posix/glob: Remove directory.
46197
46198 2012-01-24 Joseph Myers <joseph@codesourcery.com>
46199
46200 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
46201
46202 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
46203
46204 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
46205 of the non-standard EPFNOSUPPORT.
46206
46207 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
46208
46209 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
46210 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
46211 ANYWHERE set to 1 only on KERN_NO_SPACE error.
46212
46213 2012-01-21 Ulrich Drepper <drepper@gmail.com>
46214
46215 * wcsmbs/uchar.h: Test __STDC_VERSION__.
46216
46217 2012-01-20 Ulrich Drepper <drepper@gmail.com>
46218
46219 * nscd/aicache.c (addhstaiX): Do not cache negative results of
46220 transient errors.
46221 * nscd/grpcache.c (cache_addgr): Likewise.
46222 * nscd/hstcache.c (cache_addhst): Likewise.
46223 * nscd/initgrcache.c (addinitgroupsX): Likewise.
46224 * nscd/pwdcache.c (cache_addpw): Likewise.
46225 * nscd/servicescache.c (cache_addserv): Likewise.
46226
46227 2012-01-16 Ulrich Drepper <drepper@gmail.com>
46228
46229 * malloc/malloc.c: Various cleanups.
46230 * malloc/hooks.c: Likewise.
46231
46232 * stdlib/Makefile (tests): Add bug-fmtmsg1.
46233 * stdlib/bug-fmtmsg1.c: New file.
46234
46235 * stdlib/fmtmsg.c (init): Add missing unlock.
46236 Patch by Peng Haitao <penght@cn.fujitsu.com>.
46237
46238 2012-01-12 Marek Polacek <polacek@redhat.com>
46239
46240 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
46241 and _GNU_SOURCE.
46242
46243 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
46244
46245 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
46246 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
46247 macro to ensure uniqueness of label name.
46248 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
46249 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
46250
46251 2012-01-11 Ulrich Drepper <drepper@gmail.com>
46252
46253 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
46254
46255 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
46256 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
46257 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
46258 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
46259
46260 2012-01-10 Ulrich Drepper <drepper@gmail.com>
46261
46262 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
46263
46264 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
46265 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
46266 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
46267
46268 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
46269
46270 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
46271 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
46272 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
46273 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
46274
46275 * math/bits/math-finite.h: Add ldexp support.
46276
46277 2012-01-10 Marek Polacek <polacek@redhat.com>
46278
46279 * locale/programs/localedef.h (show_archive_content): Add noreturn
46280 attribute.
46281
46282 2012-01-09 Ulrich Drepper <drepper@gmail.com>
46283
46284 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
46285
46286 2012-01-08 Ulrich Drepper <drepper@gmail.com>
46287
46288 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
46289
46290 * io/Makefile (headers): Add bits/poll2.h.
46291
46292 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
46293
46294 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
46295 typo #include statement.
46296
46297 2012-01-08 Ulrich Drepper <drepper@gmail.com>
46298
46299 * include/sys/cdefs.h: Define __attribute_alloc_size.
46300 * catgets/gencat.c: Add alloc_size attribute and apply consistently
46301 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
46302 * elf/pldd.c: Likewise.
46303 * iconv/iconv_charmap.c: Likewise.
46304 * iconv/iconvconfig.c: Likewise.
46305 * iconv/strtab.c: Likewise.
46306 * locale/programs/locale.c: Likewise.
46307 * locale/programs/localedef.h: Likewise.
46308 * locale/programs/simple-hash.c: Likewise.
46309 * nscd/nscd.h: Likewise.
46310 * nss/makedb.c: Likewise.
46311 * sysdeps/generic/ldconfig.h: Likewise.
46312 * locale/programs/localedef.c: Remove xmalloc prototype.
46313 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
46314
46315 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
46316
46317 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
46318 appropriate.
46319
46320 2012-01-08 Ulrich Drepper <drepper@gmail.com>
46321
46322 * math/Makefile (tests): Add tst-CMPLX.
46323 * math/tst-CMPLX.c: New file.
46324
46325 * math/complex.h (CMPLXL): Fix typo.
46326
46327 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
46328 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
46329 GLIBC_2.16.
46330 * debug/tst-chk1.c: Add poll and ppoll tests.
46331 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
46332 * include/sys/poll.h: Add hidden proto for ppoll.
46333 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
46334 * sysdeps/mach/hurd/ppoll.c: Likewise.
46335 * io/ppoll.c: Likewise.
46336 * debug/poll_chk.c: New file.
46337 * debug/ppoll_chk.c: New file.
46338 * include/bits/poll2.h: New file.
46339 * io/bits/poll2.h: New file.
46340
46341 [BZ #1350]
46342 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
46343
46344 * configure.in: static is always set to yes. Remove.
46345 * config.make.in: Don't set build-static.
46346 * Makeconfig: Remove use of build-static.
46347 * dlfcn/Makefile: Likewise.
46348 * elf/Makefile: Likewise.
46349 * math/Makefile: Likewise.
46350 * misc/Makefile: Likewise.
46351 * nptl/Makefile: Likewise.
46352 * sysdeps/mach/hurd/Makefile: Likewise.
46353
46354 * configure.in: PWD_P is not used anymore.
46355 * config.make.in: Remove PWD_P entry.
46356
46357 * configure.in: Remove last remnants of RANLIB.
46358 No need to check for signed size_t anymore.
46359 Don't set libc_commonpagesize and libc_relro_required here for Alpha
46360 and IA-64.
46361 Remove __builtin_expect test because we require at least gcc 3.4.
46362 * aclocal.m4: Likewise.
46363
46364 * wcsmbs/mbrtoc16.c: Implement using towc function.
46365 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
46366 * wcsmbs/wcsmbsload.c: Likewise.
46367 * iconv/gconv_simple.c: Likewise.
46368 * iconv/gconv_int.h: Likewise.
46369 * iconv/gconv_builtin.h: Likewise.
46370 * iconv/iconv_prog.c: Remove CHAR16 handling.
46371
46372 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
46373
46374 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
46375
46376 * configure.in: Remove --with-elf and --enable-bounded options.
46377 Dont set base_machine for ia64. More non-ELF conditions removed.
46378 Remove testing and setting of leading underscore information.
46379 * config.make.in (build-bounded): Set to no.
46380 * config.h.in: Remove NO_UNDERSCORES entry.
46381 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
46382 them.
46383 * csu/start.c: Remove !NO_UNDERSCORE code.
46384 * locale/localeinfo.h: Likewise.
46385 * sysdeps/generic/machine-gmon.h: Likewise.
46386 * sysdeps/generic/sysdep.h: Likewise.
46387 * sysdeps/i386/sysdep.h: Likewise.
46388 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
46389 * sysdeps/mach/sysdep.h: Likewise.
46390 * sysdeps/s390/s390-32/sysdep.h: Likewise.
46391 * sysdeps/s390/s390-64/sysdep.h: Likewise.
46392 * sysdeps/sh/sysdep.h: Likewise.
46393 * sysdeps/sparc/sparc32/alloca.S: Likewise.
46394 * sysdeps/unix/i386/sysdep.S: Likewise.
46395 * sysdeps/unix/sparc/start.c: Likewise.
46396 * sysdeps/unix/sparc/sysdep.S: Likewise.
46397 * sysdeps/unix/sparc/sysdep.h: Likewise.
46398 * sysdeps/unix/start.c: Likewise.
46399 * sysdeps/unix/x86_64/sysdep.S: Likewise.
46400 * sysdeps/x86_64/sysdep.h: Likewise.
46401
46402 2012-01-07 Ulrich Drepper <drepper@gmail.com>
46403
46404 [BZ #13553]
46405 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
46406 for non-gcc.
46407 * argp/argp-fmtstream.h: Use const instead __const.
46408 * argp/argp.h: Likewise.
46409 * assert/assert.h: Likewise.
46410 * bits/fenv.h: Likewise.
46411 * bits/sched.h: Likewise.
46412 * bits/sigset.h: Likewise.
46413 * bits/sigthread.h: Likewise.
46414 * catgets/nl_types.h: Likewise.
46415 * conform/data/pthread.h-data: Likewise.
46416 * crypt/crypt-private.h: Likewise.
46417 * crypt/crypt.h: Likewise.
46418 * crypt/crypt_util.c: Likewise.
46419 * ctype/ctype.h: Likewise.
46420 * debug/execinfo.h: Likewise.
46421 * debug/mbsnrtowcs_chk.c: Likewise.
46422 * debug/mbsrtowcs_chk.c: Likewise.
46423 * debug/wcsnrtombs_chk.c: Likewise.
46424 * debug/wcsrtombs_chk.c: Likewise.
46425 * debug/wcstombs_chk.c: Likewise.
46426 * dirent/dirent.h: Likewise.
46427 * dlfcn/dlfcn.h: Likewise.
46428 * elf/neededtest4.c: Likewise.
46429 * grp/grp.h: Likewise.
46430 * gshadow/gshadow.h: Likewise.
46431 * iconv/gconv.h: Likewise.
46432 * iconv/gconv_int.h: Likewise.
46433 * iconv/gconv_simple.c: Likewise.
46434 * iconv/iconv.h: Likewise.
46435 * iconv/loop.c: Likewise.
46436 * iconv/skeleton.c: Likewise.
46437 * include/aio.h: Likewise.
46438 * include/aliases.h: Likewise.
46439 * include/argz.h: Likewise.
46440 * include/arpa/inet.h: Likewise.
46441 * include/assert.h: Likewise.
46442 * include/dirent.h: Likewise.
46443 * include/dlfcn.h: Likewise.
46444 * include/execinfo.h: Likewise.
46445 * include/fcntl.h: Likewise.
46446 * include/fenv.h: Likewise.
46447 * include/glob.h: Likewise.
46448 * include/grp.h: Likewise.
46449 * include/libintl.h: Likewise.
46450 * include/mntent.h: Likewise.
46451 * include/netdb.h: Likewise.
46452 * include/pwd.h: Likewise.
46453 * include/rpc/netdb.h: Likewise.
46454 * include/sched.h: Likewise.
46455 * include/search.h: Likewise.
46456 * include/shadow.h: Likewise.
46457 * include/signal.h: Likewise.
46458 * include/stdio.h: Likewise.
46459 * include/stdlib.h: Likewise.
46460 * include/string.h: Likewise.
46461 * include/sys/socket.h: Likewise.
46462 * include/sys/stat.h: Likewise.
46463 * include/sys/statfs.h: Likewise.
46464 * include/sys/statvfs.h: Likewise.
46465 * include/sys/syslog.h: Likewise.
46466 * include/sys/time.h: Likewise.
46467 * include/sys/uio.h: Likewise.
46468 * include/time.h: Likewise.
46469 * include/unistd.h: Likewise.
46470 * include/utmp.h: Likewise.
46471 * include/wchar.h: Likewise.
46472 * include/wctype.h: Likewise.
46473 * inet/aliases.h: Likewise.
46474 * inet/arpa/inet.h: Likewise.
46475 * inet/netinet/ether.h: Likewise.
46476 * inet/netinet/in.h: Likewise.
46477 * intl/libintl.h: Likewise.
46478 * io/bits/fcntl2.h: Likewise.
46479 * io/fcntl.h: Likewise.
46480 * io/ftw.h: Likewise.
46481 * io/sys/poll.h: Likewise.
46482 * io/sys/stat.h: Likewise.
46483 * io/sys/statfs.h: Likewise.
46484 * io/sys/statvfs.h: Likewise.
46485 * io/utime.h: Likewise.
46486 * libio/bits/stdio.h: Likewise.
46487 * libio/bits/stdio2.h: Likewise.
46488 * libio/libio.h: Likewise.
46489 * libio/libioP.h: Likewise.
46490 * libio/stdio.h: Likewise.
46491 * locale/lc-ctype.c: Likewise.
46492 * locale/locale.h: Likewise.
46493 * login/utmp.h: Likewise.
46494 * malloc/arena.c: Likewise.
46495 * malloc/malloc.c: Likewise.
46496 * malloc/malloc.h: Likewise.
46497 * malloc/mcheck.c: Likewise.
46498 * malloc/mtrace.c: Likewise.
46499 * math/bits/mathcalls.h: Likewise.
46500 * math/fenv.h: Likewise.
46501 * math/math_private.h: Likewise.
46502 * misc/bits/error.h: Likewise.
46503 * misc/bits/syslog.h: Likewise.
46504 * misc/err.h: Likewise.
46505 * misc/error.h: Likewise.
46506 * misc/fstab.h: Likewise.
46507 * misc/mntent.h: Likewise.
46508 * misc/regexp.h: Likewise.
46509 * misc/search.h: Likewise.
46510 * misc/sgtty.h: Likewise.
46511 * misc/sys/mman.h: Likewise.
46512 * misc/sys/syslog.h: Likewise.
46513 * misc/sys/uio.h: Likewise.
46514 * misc/sys/xattr.h: Likewise.
46515 * misc/ttyent.h: Likewise.
46516 * nis/rpcsvc/ypclnt.h: Likewise.
46517 * nss/nss.h: Likewise.
46518 * posix/bits/unistd.h: Likewise.
46519 * posix/fnmatch.h: Likewise.
46520 * posix/glob.h: Likewise.
46521 * posix/sched.h: Likewise.
46522 * posix/spawn.h: Likewise.
46523 * posix/sys/wait.h: Likewise.
46524 * posix/unistd.h: Likewise.
46525 * posix/wordexp.h: Likewise.
46526 * pwd/pwd.h: Likewise.
46527 * resolv/netdb.h: Likewise.
46528 * resource/sys/resource.h: Likewise.
46529 * rt/aio.h: Likewise.
46530 * rt/bits/mqueue2.h: Likewise.
46531 * rt/mqueue.h: Likewise.
46532 * shadow/shadow.h: Likewise.
46533 * signal/signal.h: Likewise.
46534 * socket/send.c: Likewise.
46535 * socket/sendto.c: Likewise.
46536 * socket/sys/socket.h: Likewise.
46537 * stdio-common/printf.h: Likewise.
46538 * stdlib/bits/stdlib.h: Likewise.
46539 * stdlib/fmtmsg.h: Likewise.
46540 * stdlib/monetary.h: Likewise.
46541 * stdlib/stdlib.h: Likewise.
46542 * stdlib/ucontext.h: Likewise.
46543 * streams/stropts.h: Likewise.
46544 * string/argz.h: Likewise.
46545 * string/bits/string2.h: Likewise.
46546 * string/string.h: Likewise.
46547 * string/strings.h: Likewise.
46548 * sunrpc/rpc/auth.h: Likewise.
46549 * sunrpc/rpc/auth_des.h: Likewise.
46550 * sunrpc/rpc/clnt.h: Likewise.
46551 * sunrpc/rpc/netdb.h: Likewise.
46552 * sunrpc/rpc/pmap_clnt.h: Likewise.
46553 * sunrpc/rpc/xdr.h: Likewise.
46554 * sysdeps/generic/inttypes.h: Likewise.
46555 * sysdeps/generic/net/if.h: Likewise.
46556 * sysdeps/generic/sys/swap.h: Likewise.
46557 * sysdeps/gnu/net/if.h: Likewise.
46558 * sysdeps/gnu/utmpx.h: Likewise.
46559 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
46560 * sysdeps/i386/i486/bits/string.h: Likewise.
46561 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
46562 * sysdeps/s390/bits/string.h: Likewise.
46563 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
46564 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
46565 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
46566 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
46567 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
46568 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
46569 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
46570 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
46571 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
46572 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
46573 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
46574 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
46575 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
46576 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
46577 * sysdeps/unix/sysv/linux/readv.c: Likewise.
46578 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
46579 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
46580 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
46581 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
46582 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
46583 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
46584 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
46585 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
46586 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
46587 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
46588 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
46589 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
46590 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
46591 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
46592 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
46593 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
46594 * sysvipc/sys/ipc.h: Likewise.
46595 * sysvipc/sys/msg.h: Likewise.
46596 * sysvipc/sys/sem.h: Likewise.
46597 * sysvipc/sys/shm.h: Likewise.
46598 * termios/termios.h: Likewise.
46599 * time/sys/time.h: Likewise.
46600 * time/time.h: Likewise.
46601 * wcsmbs/bits/wchar2.h: Likewise.
46602 * wcsmbs/uchar.h: Likewise.
46603 * wcsmbs/wchar.h: Likewise.
46604 * wctype/wctype.h: Likewise.
46605
46606 [BZ #13551]
46607 * Makeconfig: Remove all but ELF support including AIX support.
46608 * Makerules: Likewise.
46609 * config.h.in: Likewise.
46610 * config.make.in: Likewise.
46611 * configure: Likewise.
46612 * configure.in: Likewise.
46613 * csu/Makefile: Likewise.
46614 * csu/version.c: Likewise.
46615 * debug/Makefile: Likewise.
46616 * dlfcn/Makefile: Likewise.
46617 * elf/Makefile: Likewise.
46618 * extra-lib.mk: Likewise.
46619 * iconv/Makefile: Likewise.
46620 * include/libc-symbols.h: Likewise.
46621 * include/shlib-compat.h: Likewise.
46622 * resolv/Makefile: Likewise.
46623 * resolv/res_libc.c: Likewise.
46624 * rt/Makefile: Likewise.
46625 * sysdeps/i386/asm-syntax.h: Likewise.
46626 * sysdeps/i386/sysdep.h: Likewise.
46627 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
46628 * sysdeps/mach/sysdep.h: Likewise.
46629 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
46630 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
46631 * sysdeps/s390/asm-syntax.h: Likewise.
46632 * sysdeps/s390/s390-32/sysdep.h: Likewise.
46633 * sysdeps/s390/s390-64/sysdep.h: Likewise.
46634 * sysdeps/sh/sysdep.h: Likewise.
46635 * sysdeps/unix/sparc/sysdep.h: Likewise.
46636 * sysdeps/wordsize-32/divdi3.c: Likewise.
46637 * sysdeps/x86_64/sysdep.h: Likewise.
46638
46639 * argp/Versions: Remove _argp_unlock_xxx.
46640
46641 [BZ #13559]
46642 * abilist/ld.abilist: Update. Adjust for removal of tls option.
46643 * abilist/libBrokenLocale.abilist: Likewise.
46644 * abilist/libanl.abilist: Likewise.
46645 * abilist/libc.abilist: Likewise.
46646 * abilist/libcrypt.abilist: Likewise.
46647 * abilist/libdl.abilist: Likewise.
46648 * abilist/libm.abilist: Likewise.
46649 * abilist/libnsl.abilist: Likewise.
46650 * abilist/libpthread.abilist: Likewise.
46651 * abilist/libresolv.abilist: Likewise.
46652 * abilist/librt.abilist: Likewise.
46653 * abilist/libthread_db.abilist: Likewise.
46654 * abilist/libutil.abilist: Likewise.
46655 * abilist/libnss_db.abilist: New file.
46656
46657 * scripts/abilist.awk: Add support for indirect functions.
46658
46659 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
46660
46661 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
46662
46663 * shlib-versions: Remove entries for ports architectures.
46664
46665 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
46666 files in ports.
46667 * elf/stackguard-macros.h: Remove support for IA-64.
46668 * elf/tst-auditmod1.c: Likewise.
46669 * sysdeps/generic/ldsodefs.h: Likewise.
46670
46671 * sysdeps/unix/sysv/linux/configure.in: Ports should define
46672 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
46673 configure files.
46674
46675 [BZ #13552]
46676 * configure.in: Remove --enable-omitfp support.
46677 * FAQ.in: Adjust.
46678 * config.make.in: Likewise.
46679 * Makeconfig: Likewise.
46680 * manual/install.texi: Likewise.
46681
46682 In case anyone cares, the IA-64 architecture could move to ports.
46683 * sysdeps/ia64/*: Removed.
46684 * sysdeps/unix/sysv/linux/ia64/*: Removed.
46685 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
46686
46687 [BZ #13555]
46688 * configure.in: Remove entries for unsupported architectures.
46689
46690 [BZ #13533]
46691 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
46692 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
46693 routines.
46694 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
46695 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
46696 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
46697 fall back to using wcrtomb.
46698 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
46699 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
46700 renaming.
46701 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
46702 * wcsmbs/tst-c16c32-1.c: New file.
46703
46704 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
46705 local variable.
46706
46707 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
46708
46709 * elf/tst-unique3.cc: Add explicit declaration of gets.
46710 * elf/tst-unique3lib.cc: Likewise.
46711 * elf/tst-unique3lib2.cc: Likewise.
46712 * elf/tst-unique4.cc: Likewise.
46713
46714 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
46715
46716 2012-01-06 Joseph Myers <joseph@codesourcery.com>
46717
46718 [BZ #13566]
46719 * assert/assert.h (static_assert): Don't define for C++.
46720 * libio/stdio.h (gets): Do declare for C++ <= C++11.
46721 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
46722
46723 2012-01-03 Ulrich Drepper <drepper@gmail.com>
46724
46725 * iconv/loop.c (single loop): Fix assertion in storing of
46726 remaining bytes.
46727
46728 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
46729
46730 2012-01-01 Ulrich Drepper <drepper@gmail.com>
46731
46732 * posix/getconf.c: Update copyright year.
46733 * nss/getent.c: Likewise.
46734 * nss/makedb.c: Likewise.
46735 * iconv/iconvconfig.c: Likewise.
46736 * iconv/iconv_prog.c: Likewise.
46737 * elf/ldconfig.c: Likewise.
46738 * elf/pldd.c: Likewise.
46739 * elf/sotruss.ksh: Likewise.
46740 * catgets/gencat.c: Likewise.
46741 * csu/version.c: Likewise.
46742 * elf/ldd.bash.in: Likewise.
46743 * elf/sprof.c (print_version): Likewise.
46744 * locale/programs/locale.c: Likewise.
46745 * locale/programs/localedef.c: Likewise.
46746 * login/programs/pt_chown.c: Likewise.
46747 * nscd/nscd.c (print_version): Likewise.
46748 * debug/xtrace.sh: Likewise.
46749 * malloc/memusage.sh: Likewise.
46750 * malloc/mtrace.pl: Likewise.
46751 * debug/catchsegv.sh: Likewise.
46752
46753 2011-12-30 Jakub Jelinek <jakub@redhat.com>
46754
46755 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
46756 pure attribute.
46757
46758 2011-12-24 Ulrich Drepper <drepper@gmail.com>
46759
46760 [BZ #13533]
46761 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
46762 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
46763 transformations.
46764 * iconv/gconv_int.h: Likewise.
46765 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
46766 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
46767 from libc for GLIBC_2.16.
46768 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
46769 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
46770 * wcsmbs/uchar.h: Really define mbstate_t.
46771 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
46772 * wcsmbs/c16rtomb.c: New file.
46773 * wcsmbs/mbrtoc16.c: New file.
46774 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
46775 for C/POSIX locale.
46776 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
46777 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
46778
46779 * wcsmbs/wchar.h: Add missing __restrict.
46780
46781 2011-12-23 Ulrich Drepper <drepper@gmail.com>
46782
46783 [BZ #13532]
46784 * time/Makefile (routines): Add timespec_get.
46785 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
46786 * time/time.h: Define TIME_UTC and declare timespec_get. Define
46787 timespec for ISO C11.
46788 * time/timespec_get.c: New file.
46789 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
46790 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
46791
46792 [BZ #13531]
46793 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
46794 * stdlib/stdlib.h: Declare aligned_alloc.
46795 * Versions.def: Add GLIBC_2.16 for libc.
46796 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
46797
46798 [BZ 13527]
46799 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
46800 ISO C11.
46801
46802 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
46803 code.
46804
46805 [BZ #13528]
46806 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
46807
46808 [BZ #13529]
46809 * assert/assert.h (static_assert): Define.
46810
46811 * version.h: Update for 2.16 development version.
46812
46813 [BZ #13526]
46814 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
46815 _ISOC11_SOURCE.
46816
46817 * version.h (RELEASE): Bump for 2.15 release.
46818 * include/features.h (__GLIBC_MINOR__): Bump to 15.
46819
46820 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
46821 Patch by Marek Polacek <mpolacek@redhat.com>.
46822
46823 * bits/byteswap.h: Protect long long constants with __extension__.
46824 * sysdeps/i386/bits/byteswap.h: Likewise.
46825 * sysdeps/ia64/bits/byteswap.h: Likewise.
46826 * sysdeps/s390/bits/byteswap.h: Likewise.
46827 * sysdeps/x86_64/bits/byteswap.h: Likewise.
46828
46829 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46830
46831 [BZ #13540]
46832 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
46833 destination buffer.
46834 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
46835
46836 2011-12-23 Marek Polacek <polacek@redhat.com>
46837
46838 * elf/dl-addr.c (determine_info): Add inline keyword.
46839 * elf/tst-auditmod4b.c (check_avx): Likewise.
46840 * elf/tst-auditmod6b.c (check_avx): Likewise.
46841 * elf/tst-auditmod6c.c (check_avx): Likewise.
46842 * elf/tst-auditmod7b.c (check_avx): Likewise.
46843
46844 2011-12-23 Ulrich Drepper <drepper@gmail.com>
46845
46846 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
46847 !__SSE_MATH__.
46848
46849 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46850
46851 [BZ #13540]
46852 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
46853 processing for last bytes.
46854
46855 2011-08-06 Bruno Haible <bruno@clisp.org>
46856
46857 [BZ #13061]
46858 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
46859 U+0385, not to U+1FEE.
46860
46861 [BZ #13062]
46862 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
46863 entry for U+00A5 U+0301.
46864
46865 2011-12-22 Ulrich Drepper <drepper@gmail.com>
46866
46867 [BZ #13166]
46868 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
46869 buffer for the output is too small.
46870
46871 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
46872 optimization.
46873
46874 [BZ #13185]
46875 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
46876 SSE flags if possible.
46877
46878 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46879
46880 [BZ #13540]
46881 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
46882 processing for last bytes.
46883
46884 2011-12-22 Joseph Myers <joseph@codesourcery.com>
46885
46886 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
46887 (syscall-list-default-options, syscall-list-default-condition)
46888 (syscall-list-includes): Define.
46889 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
46890 list of ABIs and options and #if conditions for each ABI. Do not
46891 handle common syscalls between ABIs specially.
46892 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
46893 Remove.
46894 (syscall-list-variants, syscall-list-32bit-options)
46895 (syscall-list-32bit-condition, syscall-list-64bit-options)
46896 (syscall-list-64bit-condition): Define.
46897 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
46898 (syscall-list-variants, syscall-list-32bit-options)
46899 (syscall-list-32bit-condition, syscall-list-64bit-options)
46900 (syscall-list-64bit-condition): Define.
46901 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
46902 Remove.
46903 (syscall-list-variants, syscall-list-32bit-options)
46904 (syscall-list-32bit-condition, syscall-list-64bit-options)
46905 (syscall-list-64bit-condition): Define.
46906 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
46907 Remove.
46908 (syscall-list-variants, syscall-list-32bit-options)
46909 (syscall-list-32bit-condition, syscall-list-64bit-options)
46910 (syscall-list-64bit-condition): Define.
46911
46912 2011-12-22 Ulrich Drepper <drepper@gmail.com>
46913
46914 * locale/iso-639.def: Add brx entry.
46915
46916 [BZ #13328]
46917 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
46918 Proposed by Mariusz_Cukr <marcukr@op.pl>.
46919
46920 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
46921 __feraiseexcept_renamed.
46922
46923 2011-12-21 Ulrich Drepper <drepper@gmail.com>
46924
46925 [BZ #13538]
46926 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
46927 EPOLLET with unsigned values.
46928 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
46929 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
46930
46931 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
46932 to large cancellation.
46933 * math/s_cacoshf.c: Likewise.
46934 * math/s_cacoshl.c: Likewise.
46935
46936 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
46937
46938 [BZ #13305]
46939 [BZ #12786]
46940 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
46941 * math/s_cacoshf.c: Likewise.
46942 * math/s_cacoshl.c: Likewise.
46943
46944 2011-12-21 Ulrich Drepper <drepper@gmail.com>
46945
46946 [BZ #13439]
46947 * iconv/gconv.h: Define __GCONV_SWAP.
46948 * iconvdata/unicode.c: The swap bit must be stored in __flags.
46949 * iconvdata/utf-16.c: Likewise.
46950 * iconvdata/utf-32.c: Likewise.
46951
46952 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
46953
46954 [BZ #13524]
46955 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
46956 numerator after shifting it by one limb.
46957
46958 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
46959
46960 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
46961 under [__USE_EXTERN_INLINES].
46962
46963 2011-12-17 Ulrich Drepper <drepper@gmail.com>
46964
46965 [BZ #13446]
46966 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
46967
46968 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46969
46970 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
46971 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
46972 optimized code.
46973 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
46974 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
46975 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
46976 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
46977 for strncasecmp/strncasecmp_l compilation.
46978 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
46979 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
46980
46981 2011-12-08 Marek Polacek <mpolacek@redhat.com>
46982
46983 [BZ #13484]
46984 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
46985 of __asm__.
46986
46987 2011-12-17 Ulrich Drepper <drepper@gmail.com>
46988
46989 [BZ #13506]
46990 * time/tzfile.c (__tzfile_read): Check values from file header.
46991
46992 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
46993
46994 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
46995 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
46996 * powerpc/powerpc32/dl-start.S: Likewise.
46997 * powerpc/powerpc32/elf/start.S: Likewise.
46998 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
46999 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
47000 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
47001 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
47002 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
47003 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
47004 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
47005 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
47006 * powerpc/powerpc32/fpu/s_round.S: Likewise.
47007 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
47008 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
47009 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
47010 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
47011 * powerpc/powerpc32/memset.S: Likewise.
47012 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
47013 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
47014 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
47015 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
47016 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
47017 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
47018 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
47019 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
47020 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
47021 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
47022 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
47023 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
47024 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
47025
47026 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47027
47028 * math/libm-test.inc: Added more nearbyint tests.
47029 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
47030 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
47031 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
47032 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
47033
47034 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
47035
47036 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
47037 FD_CLOEXEC.
47038
47039 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47040
47041 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
47042 Add wcscpy-ssse3 wcscpy-c.
47043 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
47044 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
47045 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
47046 * sysdeps/x86_64/wcschr.S: New file.
47047 * sysdeps/x86_64/wcsrchr.S: New file.
47048 * string/test-strcmp.c: Remove checking of wcscmp function for
47049 wrong alignments.
47050 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
47051 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
47052 wcsrchr-sse2 wcsrchr-c.
47053 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
47054 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
47055 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
47056 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
47057 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
47058 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
47059 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
47060 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
47061 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
47062 * wcsmbc/wcschr.c (WCSCHR): New macro.
47063
47064 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47065
47066 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
47067 * wcsmbs/test-wcsrchr.c: New file.
47068 * string/test-strrchr.c: Add wcsrchr support.
47069 (WIDE): New macro.
47070 * wcsmbs/test-wcscpy.c: New file.
47071 * string/test-strcpy.c: Add wcscpy support.
47072 (WIDE): New macro.
47073
47074 2011-12-10 Ulrich Drepper <drepper@gmail.com>
47075
47076 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
47077 the inner loop.
47078
47079 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
47080
47081 [BZ #13472]
47082 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
47083
47084 2011-12-04 Ulrich Drepper <drepper@gmail.com>
47085
47086 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
47087 Minor optimizations.
47088
47089 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
47090 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
47091 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
47092
47093 2011-12-03 Ulrich Drepper <drepper@gmail.com>
47094
47095 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
47096 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
47097 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
47098 for gcc to avoid warnings.
47099 * inet/Makefile (tests): Add tst-checks.
47100 * inet/tst-checks.c: New file.
47101
47102 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
47103 warning.
47104
47105 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
47106 __wmemcmp_sse2.
47107
47108 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
47109 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
47110
47111 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
47112
47113 2011-12-02 Ulrich Drepper <drepper@gmail.com>
47114
47115 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
47116 problem.
47117
47118 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
47119
47120 2011-11-29 Joseph Myers <joseph@codesourcery.com>
47121
47122 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
47123 conditional on GCC version.
47124 (__arch_compare_and_exchange_val_8_acq)
47125 (__arch_compare_and_exchange_val_16_acq)
47126 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
47127 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
47128 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
47129
47130 2011-12-02 Joseph Myers <joseph@codesourcery.com>
47131
47132 * sysdeps/sh/backtrace.c: New file.
47133
47134 2011-12-02 Andreas Schwab <schwab@redhat.com>
47135
47136 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
47137 parenthesis.
47138
47139 2011-12-01 Andreas Schwab <schwab@redhat.com>
47140
47141 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
47142 falling back to utime.
47143
47144 2011-11-30 Andreas Schwab <schwab@redhat.com>
47145
47146 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
47147 expectations for float.
47148
47149 2011-11-29 Andreas Schwab <schwab@redhat.com>
47150
47151 * locale/weight.h (findidx): Add parameter len.
47152 * locale/weightwc.h (findidx): Likewise.
47153 * posix/fnmatch_loop.c (FCT): Adjust caller.
47154 * posix/regcomp.c (build_equiv_class): Likewise.
47155 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
47156 * posix/regexec.c (check_node_accept_bytes): Likewise.
47157 * string/strcoll_l.c (STRCOLL): Likewise.
47158 * string/strxfrm_l.c (STRXFRM): Likewise.
47159
47160 2011-11-17 Ulrich Drepper <drepper@gmail.com>
47161
47162 * Makefile.in: Remove CVSOPT handling.
47163 * configure.in: Remove use of AC_REVISION.
47164 * iconvdata/Makefile (distribute): No need to filter out CVS.
47165 * scripts/list-sources.sh: Remove CVS, subversion and monotone
47166 handling.
47167
47168 2011-11-16 Andreas Schwab <schwab@redhat.com>
47169
47170 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
47171 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
47172 [USE_AS_STRNCASECMP_L]: Likewise.
47173 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
47174 NO_TLS_DIRECT_SEG_REFS.
47175 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
47176 Fix argument offsets for non-PIC.
47177 [USE_AS_STRNCASECMP_L]: Likewise.
47178 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
47179 NO_TLS_DIRECT_SEG_REFS.
47180
47181 2011-11-15 Ulrich Drepper <drepper@gmail.com>
47182
47183 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
47184 O_CLOEXEC.
47185 * locale/loadlocale.c (_nl_load_locale): Likewise.
47186
47187 2011-11-15 Andreas Schwab <schwab@redhat.com>
47188
47189 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
47190 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
47191 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
47192 (SYSCALL_GETTIME): Set errno on error.
47193
47194 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
47195 count references to noai6ai_cached.
47196
47197 2011-11-15 Ulrich Drepper <drepper@gmail.com>
47198
47199 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
47200
47201 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
47202 FD_CLOEXEC for /proc/self/maps.
47203
47204 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
47205 FD_CLOEXEC for /proc/meminfo.
47206
47207 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
47208 gai.conf.
47209
47210 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
47211 FD_CLOEXEC for given file.
47212
47213 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
47214
47215 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
47216 FD_CLOEXEC for /etc/hosts.
47217 (_gethtent): Likewise.
47218
47219 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
47220
47221 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
47222 cancellation and set FD_CLOEXEC for /etc/netgroup.
47223
47224 * nss/nss_files/files-key.c (search): Don't allow cancellation when
47225 reading /etc/publickey.
47226
47227 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
47228 allow cancellation when reading /etc/group.
47229
47230 * nss/nss_files/files-alias.c (internal_setent): Don't allow
47231 cancellation.
47232 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
47233
47234 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
47235 when using data file.
47236
47237 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
47238
47239 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
47240 (write_nis_obj): Use "c" and "e" in fopen.
47241
47242 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
47243
47244 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
47245
47246 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
47247
47248 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
47249
47250 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
47251 locale.alias.
47252
47253 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
47254
47255 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
47256
47257 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
47258
47259 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
47260 file parsing and set FD_CLOEXEC.
47261
47262 2011-11-14 Ulrich Drepper <drepper@gmail.com>
47263
47264 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
47265
47266 2011-11-14 Andreas Schwab <schwab@redhat.com>
47267
47268 * malloc/arena.c (arena_get2): Don't call reused_arena when
47269 _int_new_arena failed.
47270
47271 2011-11-14 Ulrich Drepper <drepper@gmail.com>
47272
47273 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
47274 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
47275 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
47276 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
47277 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
47278 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
47279 to compile strcasecmp and strncasecmp.
47280 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
47281 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
47282
47283 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
47284
47285 2011-11-13 Ulrich Drepper <drepper@gmail.com>
47286
47287 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
47288 locale-defines.sym to gen-as-const-headers.
47289 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
47290 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
47291 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
47292 to compile strcasecmp and strncasecmp.
47293 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
47294 strcasecmp_l and strncasecmp_l.
47295 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
47296 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
47297 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
47298 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
47299 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
47300 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
47301 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
47302 * sysdeps/i386/i686/multiarch/strncase.S: New file.
47303 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
47304 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
47305 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
47306
47307 2011-11-12 Ulrich Drepper <drepper@gmail.com>
47308
47309 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
47310 result of SYSDEP_GETTIME_CPU to retval.
47311 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
47312 parameter list to macro. Remove trailing semicolon. Adjust users.
47313
47314 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
47315 variable.
47316
47317 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
47318 mantissa words.
47319 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
47320
47321 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
47322 from unused variable.
47323
47324 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
47325 DWARF definitions.
47326 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
47327 for assembling.
47328
47329 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
47330 over namespaces.
47331
47332 * sunrpc/rpc_prot.c (rejected): Fix case value.
47333
47334 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
47335 unsigned long long int to avoid warnings in shift.
47336
47337 * posix/regex_internal.c (re_string_reconstruct): Actually use result
47338 of use of trans.
47339 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
47340 variable tmp.
47341
47342 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
47343 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
47344 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
47345
47346 * nis/nis_table.c (nis_list): Use variable of correct type for
47347 result of __follow_path call.
47348
47349 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47350
47351 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
47352 of math functions ceil, trunc, floor, round, and sqrt, when
47353 avaliable on the platform.
47354 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
47355 name clash.
47356 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
47357 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
47358 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
47359
47360 2011-10-30 Marek Polacek <mpolacek@redhat.com>
47361
47362 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
47363 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
47364
47365 2011-11-11 Roland McGrath <roland@hack.frob.com>
47366
47367 * include/unistd.h: Fix __readlink return type.
47368 Reported by Chris Metcalf <cmetcalf@tilera.com>.
47369
47370 2011-11-11 Ulrich Drepper <drepper@gmail.com>
47371
47372 * stdlib/ucontext.h: Undo last change for makecontext.
47373
47374 2011-11-11 Andreas Schwab <schwab@redhat.com>
47375
47376 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
47377
47378 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
47379 * setjmp/setjmp.h: Mark functions as non-leaf.
47380 * setjmp/bits/setjmp2.h: Likewise.
47381 * stdlib/ucontext.h: Likewise.
47382
47383 2011-11-10 Andreas Schwab <schwab@redhat.com>
47384
47385 * malloc/arena.c (_int_new_arena): Don't increment narenas.
47386 (reused_arena): Don't check arena limit.
47387 (arena_get2): Atomically check arena limit.
47388
47389 2011-11-08 Ulrich Drepper <drepper@gmail.com>
47390
47391 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
47392 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
47393
47394 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
47395 instructions.
47396
47397 2011-11-07 Andreas Schwab <schwab@redhat.com>
47398
47399 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
47400 handler when locking.
47401
47402 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
47403 Fix size of allocated buffer.
47404
47405 2011-11-04 Andreas Schwab <schwab@redhat.com>
47406
47407 [BZ #10103]
47408 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
47409 declarations for long double functions.
47410 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
47411
47412 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
47413
47414 2011-11-03 Andreas Schwab <schwab@redhat.com>
47415
47416 * nscd/nscd.c (main): Don't start AVC thread until credentials are
47417 installed.
47418
47419 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
47420 is disabled.
47421
47422 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
47423
47424 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
47425
47426 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
47427
47428 * include/alloca.h (stackinfo_alloca_round): Define.
47429 (extend_alloca): Use it.
47430 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
47431 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
47432 here.
47433
47434 * scripts/check-local-headers.sh: Ignore libaudit.h.
47435
47436 * nscd/Makefile (extra-objs): Make recursively expanded.
47437
47438 2011-11-01 Ulrich Drepper <drepper@gmail.com>
47439
47440 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
47441 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
47442
47443 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
47444 * posix/tst-rfc3484-2.c: Likewise.
47445 * posix/tst-rfc3484-3.c: Likewise.
47446
47447 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
47448 process_vm_writev.
47449 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
47450 process_vm_writev.
47451 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
47452 process_vm_writev from libc using GLIBC_2.15 version.
47453
47454 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
47455
47456 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
47457
47458 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
47459 stack usage.
47460
47461 2011-10-31 Ulrich Drepper <drepper@gmail.com>
47462
47463 [BZ #13367]
47464 * nss/getent.c (initgroups_keys): Show error message in case no group
47465 names are given.
47466
47467 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
47468 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
47469 __bump_nl_timestamp.
47470 * nscd/connections (nscd_init): When host database is served open
47471 netlink socket and request notification about configuration changes.
47472 (main_loop_poll): Track netlink file descriptor and bump timestamp
47473 in case data becomes available.
47474 (main_loop_epoll): Likewise.
47475 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
47476 (database_pers_head): Add extra_data fileds.
47477 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
47478 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
47479 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
47480 Adjust caller.
47481 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
47482 in6ai data, call __free_in6ai.
47483 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
47484 Add -DHAVE_NETLINK.
47485 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
47486 interface information. Reuse previous data if netlink timestamp
47487 is not changed.
47488 (__bump_nl_timestamp): New function.
47489 (__free_in6ai): New function.
47490
47491 2011-10-30 Ulrich Drepper <drepper@gmail.com>
47492
47493 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
47494 close_not_cancel_no_status here.
47495 (__check_pf): Reorganize code a bit to not call close twice if OOM.
47496
47497 2011-10-29 Ulrich Drepper <drepper@gmail.com>
47498
47499 [BZ #13276]
47500 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
47501 return value.
47502
47503 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
47504 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
47505 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
47506
47507 2011-07-03 Andreas Jaeger <aj@suse.de>
47508
47509 [BZ #10709]
47510 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
47511 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
47512 * math/libm-test.inc (sin_test): Add test case.
47513
47514 2011-10-29 Ulrich Drepper <drepper@gmail.com>
47515
47516 [BZ #13337]
47517 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
47518 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
47519
47520 * elf/chroot_canon.c (chroot_canon): Cleanups.
47521
47522 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
47523
47524 [BZ #13335]
47525 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
47526 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
47527
47528 * string/test-strchr.c: Make usable for strchrnul testing.
47529 * string/test-strchrnul.c: New file.
47530 * string/Makefile (strop-tests): Add strchrnul.
47531
47532 * po/it.po: Update from translation team.
47533 * po/es.po: Likewise.
47534
47535 2011-10-28 Ulrich Drepper <drepper@gmail.com>
47536
47537 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
47538 the three constants needed as parameters. Drop the others.
47539 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
47540 __m128i_strloadu_tolower.
47541 Create and initialize variable zero and use it in all the places
47542 where _mm_setzero_si128 was used.
47543
47544 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
47545 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
47546 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
47547 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
47548 anymore.
47549 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
47550 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
47551 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
47552 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
47553 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
47554 __mpranred, __mptan.
47555 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
47556 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
47557 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
47558 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
47559 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
47560 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
47561 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
47562 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
47563 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
47564
47565 2011-10-28 Andreas Schwab <schwab@redhat.com>
47566
47567 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
47568 redefine if SHARED.
47569 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
47570
47571 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
47572 wide char related routines to wcsmbs subdir.
47573
47574 2011-10-27 Andreas Schwab <schwab@redhat.com>
47575
47576 [BZ #13344]
47577 * misc/sys/cdefs.h (__THROWNL): Define.
47578 * posix/unistd.h: Use __THREADNL instead of __THREAD
47579 for memory synchronization functions.
47580
47581 2011-10-26 Roland McGrath <roland@hack.frob.com>
47582
47583 [BZ #13349]
47584 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
47585 doesn't exist.
47586 * manual/stdio.texi (Obstack Streams): Node removed.
47587
47588 2011-10-26 Andreas Schwab <schwab@redhat.com>
47589
47590 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
47591 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
47592 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
47593
47594 * math/math_private.h (math_force_eval): Allow non-addressable
47595 arguments.
47596 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
47597
47598 2011-10-25 Ulrich Drepper <drepper@gmail.com>
47599
47600 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
47601 file is not needed.
47602
47603 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
47604 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
47605 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
47606 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
47607 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
47608 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
47609 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
47610 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
47611 Add AVX variants.
47612 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
47613 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
47614 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
47615 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
47616 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
47617 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
47618 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
47619 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
47620 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
47621 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
47622 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
47623 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
47624 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
47625 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
47626 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
47627 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
47628 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
47629 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
47630 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
47631
47632 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
47633 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
47634
47635 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
47636 place. Use VEX encoding when compiling for AVX.
47637
47638 2011-10-25 Andreas Schwab <schwab@redhat.com>
47639
47640 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
47641 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
47642
47643 * string/test-strchr.c (do_test): Don't generate NUL bytes.
47644
47645 2011-10-25 Ulrich Drepper <drepper@gmail.com>
47646
47647 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
47648 useless if() expression.
47649 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
47650 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
47651 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
47652 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
47653 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
47654 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
47655 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
47656 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
47657 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
47658 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
47659 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
47660 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
47661 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
47662 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
47663 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
47664 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
47665 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
47666 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
47667 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
47668
47669 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
47670
47671 2011-10-25 Andreas Schwab <schwab@redhat.com>
47672
47673 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
47674 condition.
47675 * elf/dl-fini.c (_dl_sort_fini): Likewise.
47676
47677 2011-10-25 Ulrich Drepper <drepper@gmail.com>
47678
47679 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
47680 .text section. Avoid duplicate constants.
47681 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
47682 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
47683 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
47684 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
47685 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
47686 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
47687 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
47688 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
47689 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
47690 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
47691 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
47692 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
47693 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
47694 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
47695 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
47696 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
47697 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
47698 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
47699 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
47700 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
47701 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
47702 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
47703 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
47704 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
47705 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
47706 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
47707 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
47708 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
47709 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
47710 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
47711 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
47712 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
47713 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
47714 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
47715 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
47716 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
47717 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
47718 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
47719 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
47720 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
47721 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
47722 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
47723 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
47724 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
47725 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
47726
47727 2011-10-24 Ulrich Drepper <drepper@gmail.com>
47728
47729 * sysdeps/x86_64/dla.h: Move to ...
47730 * sysdeps/x86_64/fpu/dla.h: ...here.
47731 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
47732 situations. Use __builtin_fma only for gcc 4.6 and up.
47733
47734 * config.make.in: Add have-mfma4 entry.
47735 * configure.in: Substitute libc_cv_cc_fma4.
47736 * math/Makefile (dbl-only-routines): Add sincostab.
47737 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
47738 Use __sincostab not sincos.
47739 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
47740 name is a macro.
47741 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
47742 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
47743 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
47744 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
47745 using __copysign.
47746 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
47747 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
47748 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
47749 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
47750 and __inv.
47751 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
47752 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
47753 __copysign.
47754 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
47755 define aliases when function name is a macro.
47756 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
47757 sysdeps/ieee754/dbl-64/sincos.tbl.
47758 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
47759 fma4-enabled routines.
47760 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
47761 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
47762 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
47763 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
47764 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
47765 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
47766 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
47767 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
47768 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
47769 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
47770 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
47771 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
47772 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
47773 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
47774 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
47775 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
47776 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
47777 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
47778 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
47779 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
47780 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
47781 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
47782 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
47783 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
47784 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
47785 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
47786 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
47787 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
47788 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
47789 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
47790
47791 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
47792 rename.
47793 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
47794 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
47795 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
47796 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
47797 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
47798 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
47799 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
47800 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
47801
47802 2011-10-24 Andreas Schwab <schwab@redhat.com>
47803
47804 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
47805
47806 2011-10-23 Ulrich Drepper <drepper@gmail.com>
47807
47808 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
47809
47810 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
47811 prediction.
47812 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
47813
47814 * string/strnlen.c: Don't define STRNLEN, reverse logic.
47815 Remove unused variable magic_bits.
47816 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
47817
47818 * string/strnlen.c: Define and use STRNLEN macro.
47819 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
47820 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
47821 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
47822 * wcsmbs/wcslen.c: Define and use WCSLEN.
47823 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
47824 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
47825 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
47826 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
47827 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
47828 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
47829 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
47830
47831 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47832
47833 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
47834 strnlen-sse2-no-bsf.
47835 Rename strlen-no-bsf to strlen-sse2-no-bsf.
47836 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
47837 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
47838 Add strnlen support.
47839 (USE_AS_STRNLEN): New macro.
47840 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
47841 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
47842 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
47843 * sysdeps/x86_64/wcslen.S: New file.
47844
47845 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
47846
47847 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
47848 XMM-moves are used for copying on small sizes.
47849
47850 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47851
47852 * wcsmbs/Makefile (strop-tests): Add wcschr.
47853 * wcsmbs/test-wcschr.c: New file.
47854 * string/test-strchr.c: Update.
47855 Add wcschr support.
47856 (WIDE): New macro.
47857
47858 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47859
47860 * wcsmbs/Makefile (strop-tests): Add wcslen.
47861 * wcsmbs/test-wcslen.c: New file.
47862 * string/test-strlen.c: Update.
47863 Add wcslen support.
47864 (WIDE): New macro.
47865
47866 2011-10-23 Ulrich Drepper <drepper@gmail.com>
47867
47868 * po/it.po: Update from translation team.
47869
47870 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47871
47872 * sysdeps/x86_64/wcscmp.S: Update.
47873 Fix wrong comparison semantics.
47874 wcscmp shall use signed comparison not unsigned.
47875 Don't use substraction to avoid overflow bug.
47876 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
47877 * wcsmbc/wcscmp.c: Likewise.
47878 * string/test-strcmp.c: Likewise.
47879 Add new tests to check cases with negative values.
47880
47881 2011-10-23 Ulrich Drepper <drepper@gmail.com>
47882
47883 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
47884 * sysdeps/x86_64/dla.h: ...here. New file.
47885 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
47886 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
47887 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
47888 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
47889 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
47890 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
47891 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
47892 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
47893 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
47894
47895 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
47896
47897 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
47898 __ynl_finite aliases.
47899
47900 2011-10-22 Ulrich Drepper <drepper@gmail.com>
47901
47902 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
47903
47904 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
47905 define DLA_FMA.
47906 [DLA_FMA] (EMULV): Use DLA_FMA.
47907 [DLA_FMA] (MUL12): Use EMULV.
47908 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
47909 that are not needed.
47910 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
47911 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
47912 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
47913 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
47914 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
47915 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
47916 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
47917
47918 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
47919
47920 * math/s_nan.c: Undef __nan.
47921 * math/s_nanf.c: Undef __nanf.
47922 * math/s_nanl.c: Undef __nanl.
47923 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
47924 "math_private.h".
47925
47926 2011-10-22 Ulrich Drepper <drepper@gmail.com>
47927
47928 * math/s_catan.c: Add branch predictions.
47929 * math/s_catanf.c: Likewise.
47930 * math/s_catanh.c: Likewise.
47931 * math/s_catanhf.c: Likewise.
47932 * math/s_catanhl.c: Likewise.
47933 * math/s_catanl.c: Likewise.
47934 * math/s_cexp.c: Likewise.
47935 * math/s_cexpf.c: Likewise.
47936 * math/s_cexpl.c: Likewise.
47937 * math/s_clog.c: Likewise.
47938 * math/s_clog10.c: Likewise.
47939 * math/s_clog10f.c: Likewise.
47940 * math/s_clog10l.c: Likewise.
47941 * math/s_clogf.c: Likewise.
47942 * math/s_clogl.c: Likewise.
47943 * math/s_csqrt.c: Likewise.
47944 * math/s_csqrtf.c: Likewise.
47945 * math/s_csqrtl.c: Likewise.
47946 * math/s_ctanf.c: Likewise.
47947 * math/s_ctanh.c: Likewise.
47948 * math/s_ctanhf.c: Likewise.
47949 * math/s_ctanhl.c: Likewise.
47950 * math/s_ctanl.c: Likewise.
47951
47952 * math/math_private.h: Define __nan, __nanf, __nanl.
47953 * math/s_cacosh.c: Include <math_private.h>.
47954 * math/s_cacoshl.c: Likewise.
47955 * math/s_casinh.c: Likewise.
47956 * math/s_casinhf.c: Likewise.
47957 * math/s_casinhl.c: Likewise.
47958 * math/s_ccos.c: Rely entire on ccosh.
47959 * math/s_ccosf.c: Rely entire on ccoshf.
47960 * math/s_ccosl.c: Rely entirely on ccoshl.
47961 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
47962 Remove tests for FE_INVALID.
47963 * math/s_ccoshf.c: Likewise.
47964 * math/s_ccoshl.c: Likewise.
47965 * math/s_csin.c: Likewise.
47966 * math/s_csinf.c: Likewise.
47967 * math/s_csinh.c Likewise.
47968 * math/s_csinhf.c: Likewise.
47969 * math/s_csinhl.c: Likewise.
47970 * math/s_csinl.c: Likewise.
47971 * math/s_ctan.c: Likewise.
47972 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
47973 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
47974 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
47975
47976 2011-10-21 Ulrich Drepper <drepper@gmail.com>
47977
47978 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
47979 compilation problems.
47980
47981 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
47982 __builtin_expect.
47983
47984 2011-10-20 Ulrich Drepper <drepper@gmail.com>
47985
47986 * sysdeps/i386/configure.in: Test for -mfma4 option.
47987 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
47988 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
47989 COMMON_CPUID_INDEX_80000001.
47990 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
47991 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
47992 use it if FMA3 is not supported.
47993 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
47994
47995 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
47996 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
47997
47998 2011-10-20 Andreas Schwab <schwab@redhat.com>
47999
48000 [BZ #12892]
48001 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
48002 it would create a cycle with a link time dependency.
48003
48004 2011-10-19 Ulrich Drepper <drepper@gmail.com>
48005
48006 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
48007 instruction.
48008 * string/Makefile (strop-tests): Add rawmemchr.
48009 * string/test-rawmemchr.c: New file.
48010
48011 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
48012 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
48013 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
48014 when compiling str{,n}casecmp and when AVX is available. Hook up
48015 new optimized code in initializers.
48016
48017 2011-10-19 Andreas Schwab <schwab@redhat.com>
48018
48019 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
48020 __feraiseexcept instead of feraiseexcept.
48021
48022 2011-10-18 Ulrich Drepper <drepper@gmail.com>
48023
48024 * math/math_private.h: Define defaults for libc_fetestexcept and
48025 libc_feupdateenv.
48026 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
48027 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
48028 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
48029 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
48030 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
48031 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
48032 libc_fetestexcept and libc_feupdateenv.
48033
48034 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
48035 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
48036 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
48037 * sysdeps/x86_64/fpu/math_private.h: Define special version of
48038 libc_feholdexcept_setround.
48039
48040 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
48041 Add s_nearbyint-c and s_nearbyintf-c.
48042 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
48043 nearbyintf inlines.
48044 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
48045 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
48046 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
48047 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
48048
48049 * math/math_private.h: Define defaults for libc_fegetround,
48050 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
48051 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
48052 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
48053 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
48054 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
48055 standard functions.
48056 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
48057 Remove comments and hacks for old compiler versions.
48058 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
48059 libc_fegetround, libc_fesetround, libc_feholdexcept, and
48060 libc_feholdexceptl.
48061
48062 2011-10-18 Andreas Schwab <schwab@redhat.com>
48063
48064 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
48065 (__feraiseexcept_renamed): Add __NTH.
48066 (feraiseexcept): Add __NTH. Rename local variables to fix
48067 namespace violations.
48068
48069 2011-10-17 Ulrich Drepper <drepper@gmail.com>
48070
48071 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
48072
48073 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
48074
48075 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
48076 recently added interfaces.
48077 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
48078
48079 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
48080 about macro parameter expansion.
48081
48082 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
48083 __NO_MATH_INLINES is defined. Cleanups.
48084
48085 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
48086 and __floorf is target has SSE4.1.
48087 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
48088 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
48089 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
48090 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
48091
48092 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
48093 name.
48094 (floorf): Likewise.
48095
48096 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
48097
48098 2011-10-17 Andreas Schwab <schwab@redhat.com>
48099
48100 * misc/sys/cdefs.h: Fix last change.
48101
48102 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
48103 database lookup.
48104
48105 2011-10-16 Ulrich Drepper <drepper@gmail.com>
48106
48107 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
48108
48109 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
48110 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
48111 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
48112 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
48113 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
48114 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
48115 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
48116 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
48117 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
48118 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
48119 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
48120 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
48121 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
48122 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
48123 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
48124 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
48125 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
48126 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
48127 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
48128 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
48129 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
48130 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
48131
48132 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
48133 ceil, ceilf, floor, floorf.
48134
48135 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
48136 Perform IRELATIVE relocations last.
48137
48138 * elf/do-rel.h: Add another parameter nrelative, replacing the
48139 local variable with the same name. Change name of the function
48140 to end in Rel or Rela (uppercase).
48141 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
48142 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
48143 elf_dynamic_do_##reloc function.
48144
48145 2011-10-15 Ulrich Drepper <drepper@gmail.com>
48146
48147 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
48148 is sufficient, at least on modern CPUs.
48149
48150 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
48151
48152 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
48153 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
48154
48155 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
48156 __expl_finite.
48157 * math/bits/math-finite.h: Add entries for exp.
48158 * math/e_expl.c: Add __*_finite alias.
48159 * sysdeps/i386/fpu/e_exp.S: Likewise.
48160 * sysdeps/i386/fpu/e_expf.S: Likewise.
48161 * sysdeps/i386/fpu/e_expl.c: Likewise.
48162 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
48163 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
48164 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
48165 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
48166 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
48167 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
48168 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
48169
48170 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
48171 is sufficient, at least on modern CPUs.
48172
48173 * ctype/ctype-info.c (__ctype_init): Define.
48174 * include/ctype.h (__ctype_init): Declare.
48175 (__ctype_b_loc): The variable is always initialized.
48176 (__ctype_toupper_loc): Likewise.
48177 (__ctype_tolower_loc): Likewise.
48178 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
48179 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
48180
48181 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
48182
48183 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
48184
48185 * configure.in: Also look in $cxxmachine/include for C++ system
48186 headers.
48187
48188 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
48189
48190 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
48191 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
48192 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
48193 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
48194 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
48195 (USE_AS_WMEMCMP): New macro.
48196 Fixing indents.
48197 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
48198 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
48199 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
48200 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
48201 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
48202 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
48203 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
48204 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
48205 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
48206 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
48207 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
48208 (USE_AS_WMEMCMP): New macro.
48209 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
48210 * sysdeps/string/test-memcmp.c: Update.
48211 Fix simple_wmemcmp.
48212 Add new tests.
48213 * wcsmbs/wmemcmp.c: Update.
48214 (WMEMCMP): New macro.
48215 Fix overflow bug.
48216
48217 2011-10-12 Andreas Jaeger <aj@suse.de>
48218
48219 [BZ #13268]
48220 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
48221
48222 2011-10-15 Ulrich Drepper <drepper@gmail.com>
48223
48224 * libio/iofwide.c (do_length): Avoid warning.
48225
48226 * ctype/ctype.h (__isctype_f): Add missing __THROW.
48227
48228 2011-10-14 Ulrich Drepper <drepper@gmail.com>
48229
48230 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
48231
48232 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
48233 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
48234 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
48235 * sysdeps/i386/i686/fpu/e_log.S: New file.
48236 * sysdeps/i386/i686/fpu/e_logf.S: New file.
48237 * sysdeps/i386/i686/fpu/e_logl.S: New file.
48238
48239 * ctype/ctype.h: Add support for inlined isXXX functions when
48240 compiling C++ code.
48241
48242 2011-10-14 Andreas Schwab <schwab@redhat.com>
48243
48244 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
48245
48246 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
48247
48248 2011-10-13 Roland McGrath <roland@hack.frob.com>
48249
48250 [BZ #13291]
48251 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
48252
48253 2011-10-13 Andreas Schwab <schwab@redhat.com>
48254
48255 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
48256 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
48257 feraiseexcept.
48258
48259 * sysdeps/x86_64/memrchr.S: Check for zero size.
48260
48261 * string/stratcliff.c: Add memrchr tests.
48262
48263 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
48264
48265 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
48266 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
48267 rawmemchr-sse2 rawmemchr-sse2-bsf.
48268 * sysdeps/i386/i686/multiarch/memchr.S: New file.
48269 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
48270 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
48271 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
48272 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
48273 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
48274 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
48275 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
48276 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
48277 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
48278 * string/memrchr.c (MEMRCHR): New macro.
48279
48280 2011-10-12 Ulrich Drepper <drepper@gmail.com>
48281
48282 Add integration with gcc's -ffinite-math-only and optimize wrapper
48283 functions in libm.
48284 * Versions.def: Define GLIBC_2.15 version for libm.
48285 * math/Makefile (headers): Add bits/math-finite.h.
48286 * math/bits/math-finite.h: New file.
48287 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
48288 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
48289 * math/e_acoshl.c: Add __*_finite alias.
48290 * math/e_acosl.c: Likewise.
48291 * math/e_asinl.c: Likewise.
48292 * math/e_atan2l.c: Likewise.
48293 * math/e_atanhl.c: Likewise.
48294 * math/e_coshl.c: Likewise.
48295 * math/e_exp10.c: Likewise.
48296 * math/e_exp10f.c: Likewise.
48297 * math/e_exp10l.c: Likewise.
48298 * math/e_exp2l.c: Likewise.
48299 * math/e_fmodl.c: Likewise.
48300 * math/e_gammal_r.c: Likewise.
48301 * math/e_hypotl.c: Likewise.
48302 * math/e_j0l.c: Likewise.
48303 * math/e_j1l.c: Likewise.
48304 * math/e_jnl.c: Likewise.
48305 * math/e_lgammal_r.c: Likewise.
48306 * math/e_log10l.c: Likewise.
48307 * math/e_log2l.c: Likewise.
48308 * math/e_logl.c: Likewise.
48309 * math/e_powl.c: Likewise.
48310 * math/e_sinhl.c: Likewise.
48311 * math/e_sqrtl.c: Likewise.
48312 * math/e_scalb.c: Completely rewritten and optimized.
48313 * math/e_scalbf.c: Likewise.
48314 * math/e_scalbl.c: Likewise.
48315 * math/w_acos.c: Likewise.
48316 * math/w_acosf.c: Likewise.
48317 * math/w_acosl.c: Likewise.
48318 * math/w_acosh.c: Likewise.
48319 * math/w_acoshf.c: Likewise.
48320 * math/w_acoshl.c: Likewise.
48321 * math/w_asin.c: Likewise.
48322 * math/w_asinf.c: Likewise.
48323 * math/w_asinl.c: Likewise.
48324 * math/w_atan2.c: Likewise.
48325 * math/w_atan2f.c: Likewise.
48326 * math/w_atan2l.c: Likewise.
48327 * math/w_atanh.c: Likewise.
48328 * math/w_atanhf.c: Likewise.
48329 * math/w_atanhl.c: Likewise.
48330 * math/w_exp10.c: Likewise.
48331 * math/w_exp10f.c: Likewise.
48332 * math/w_exp10l.c: Likewise.
48333 * math/w_fmod.c: Likewise.
48334 * math/w_fmodf.c: Likewise.
48335 * math/w_fmodl.c: Likewise.
48336 * math/w_j0.c: Likewise.
48337 * math/w_j0f.c: Likewise.
48338 * math/w_j0l.c: Likewise.
48339 * math/w_j1.c: Likewise.
48340 * math/w_j1f.c: Likewise.
48341 * math/w_j1l.c: Likewise.
48342 * math/w_jn.c: Likewise.
48343 * math/w_jnf.c: Likewise.
48344 * math/w_log.c: Likewise.
48345 * math/w_logf.c: Likewise.
48346 * math/w_logl.c: Likewise.
48347 * math/w_log10.c: Likewise.
48348 * math/w_log10f.c: Likewise.
48349 * math/w_log10l.c: Likewise.
48350 * math/w_log2.c: Likewise.
48351 * math/w_log2f.c: Likewise.
48352 * math/w_log2l.c: Likewise.
48353 * math/w_pow.c: Likewise.
48354 * math/w_powf.c: Likewise.
48355 * math/w_powl.c: Likewise.
48356 * math/w_remainder.c: Likewise.
48357 * math/w_remainderf.c: Likewise.
48358 * math/w_remainderl.c: Likewise.
48359 * math/w_scalb.c: Likewise.
48360 * math/w_scalbf.c: Likewise.
48361 * math/w_scalbl.c: Likewise.
48362 * math/w_sqrt.c: Likewise.
48363 * math/w_sqrtf.c: Likewise.
48364 * math/w_sqrtl.c: Likewise.
48365 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
48366 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
48367 used.
48368 * math/math_private.h: Declare __kernel_standard_f.
48369 * math/w_cosh.c: Remove cruft and optimize a bit.
48370 * math/w_coshf.c: Likewise.
48371 * math/w_coshl.c: Likewise.
48372 * math/w_exp2.c: Likewise.
48373 * math/w_exp2f.c: Likewise.
48374 * math/w_exp2l.c: Likewise.
48375 * math/w_hypot.c: Likewise.
48376 * math/w_hypotf.c: Likewise.
48377 * math/w_hypotl.c: Likewise.
48378 * math/w_lgamma.c: Likewise.
48379 * math/w_lgamma_r.c: Likewise.
48380 * math/w_lgammaf.c: Likewise.
48381 * math/w_lgammaf_r.c: Likewise.
48382 * math/w_lgammal.c: Likewise.
48383 * math/w_lgammal_r.c: Likewise.
48384 * math/w_sinh.c: Likewise.
48385 * math/w_sinhf.c: Likewise.
48386 * math/w_sinhl.c: Likewise.
48387 * math/w_tgamma.c: Likewise.
48388 * math/w_tgammaf.c: Likewise.
48389 * math/w_tgammal.c: Likewise.
48390 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
48391 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
48392 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
48393 Minor optimizations. Pretty printing. Remove cruft.
48394 * sysdeps/i386/fpu/e_acosf.S: Likewise.
48395 * sysdeps/i386/fpu/e_acosh.S: Likewise.
48396 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
48397 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
48398 * sysdeps/i386/fpu/e_acosl.c: Likewise.
48399 * sysdeps/i386/fpu/e_asin.S: Likewise.
48400 * sysdeps/i386/fpu/e_asinf.S: Likewise.
48401 * sysdeps/i386/fpu/e_atan2.S: Likewise.
48402 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
48403 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
48404 * sysdeps/i386/fpu/e_atanh.S: Likewise.
48405 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
48406 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
48407 * sysdeps/i386/fpu/e_exp10.S: Likewise.
48408 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
48409 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
48410 * sysdeps/i386/fpu/e_exp2.S: Likewise.
48411 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
48412 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
48413 * sysdeps/i386/fpu/e_fmod.S: Likewise.
48414 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
48415 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
48416 * sysdeps/i386/fpu/e_hypot.S: Likewise.
48417 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
48418 * sysdeps/i386/fpu/e_log.S: Likewise.
48419 * sysdeps/i386/fpu/e_log10.S: Likewise.
48420 * sysdeps/i386/fpu/e_log10f.S: Likewise.
48421 * sysdeps/i386/fpu/e_log10l.S: Likewise.
48422 * sysdeps/i386/fpu/e_log2.S: Likewise.
48423 * sysdeps/i386/fpu/e_log2f.S: Likewise.
48424 * sysdeps/i386/fpu/e_log2l.S: Likewise.
48425 * sysdeps/i386/fpu/e_logf.S: Likewise.
48426 * sysdeps/i386/fpu/e_logl.S: Likewise.
48427 * sysdeps/i386/fpu/e_pow.S: Likewise.
48428 * sysdeps/i386/fpu/e_powf.S: Likewise.
48429 * sysdeps/i386/fpu/e_powl.S: Likewise.
48430 * sysdeps/i386/fpu/e_remainder.S: Likewise.
48431 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
48432 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
48433 * sysdeps/i386/fpu/e_scalb.S: Likewise.
48434 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
48435 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
48436 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
48437 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
48438 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
48439 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
48440 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
48441 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
48442 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
48443 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
48444 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
48445 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
48446 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
48447 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
48448 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
48449 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
48450 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
48451 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
48452 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
48453 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
48454 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
48455 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
48456 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
48457 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
48458 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
48459 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
48460 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
48461 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
48462 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
48463 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
48464 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
48465 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
48466 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
48467 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
48468 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
48469 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
48470 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
48471 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
48472 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
48473 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
48474 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
48475 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
48476 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
48477 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
48478 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
48479 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
48480 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
48481 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
48482 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
48483 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
48484 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
48485 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
48486 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
48487 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
48488 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
48489 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
48490 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
48491 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
48492 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
48493 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
48494 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
48495 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
48496 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
48497 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
48498 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
48499 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
48500 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
48501 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
48502 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
48503 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
48504 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
48505 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
48506 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
48507 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
48508 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
48509 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
48510 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
48511 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
48512 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
48513 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
48514 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
48515 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
48516 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
48517 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
48518 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
48519 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
48520 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
48521 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
48522 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
48523 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
48524 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
48525 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
48526 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
48527 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
48528 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
48529 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
48530 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
48531 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
48532 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
48533 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
48534 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
48535 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
48536 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
48537 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
48538 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
48539 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
48540 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
48541 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
48542 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
48543 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
48544 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
48545 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
48546 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
48547 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
48548 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
48549 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
48550 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
48551 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
48552 (__isnanf): Likewise.
48553 (__isinf_ns): Likewise.
48554 (__isinf_nsf): Likewise.
48555 (__finite): Likewise.
48556 (__finitef): Likewise.
48557 (__ieee754_sqrt): Define as macro.
48558 (__ieee754_sqrtf): Define as macro.
48559 (__ieee754_sqrtl): Define as macro.
48560 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
48561 inlined copy.
48562 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
48563 __FINITE_MATH_ONLY__ consistent.
48564 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
48565
48566 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
48567
48568 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
48569 of rawmemchr.
48570
48571 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
48572
48573 2011-10-09 Ulrich Drepper <drepper@gmail.com>
48574
48575 * po/ja.po: Update from translation team.
48576
48577 2011-10-08 Roland McGrath <roland@hack.frob.com>
48578
48579 * locale/programs/locarchive.c (prepare_address_space): New function.
48580 (create_archive, enlarge_archive, open_archive): Use it.
48581
48582 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
48583 inside [SHARED], where it is used.
48584
48585 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
48586
48587 * nss/getent.c (netgroup_keys): Remove unused variable.
48588 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
48589
48590 2011-10-08 Ulrich Drepper <drepper@gmail.com>
48591
48592 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
48593 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
48594 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
48595 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
48596 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
48597 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
48598 * math/Makefile (libm-calls): Add s_isinf_ns.
48599 * math/divtc3.c: Use __isinf_nsl instead of isinf.
48600 * math/multc3.c: Likewise.
48601 * math/s_casin.c: Likewise.
48602 * math/s_casinf.c: Likewise.
48603 * math/s_casinl.c: Likewise.
48604 * math/s_ccos.c: Likewise.
48605 * math/s_ccosf.c: Likewise.
48606 * math/s_ccosl.c: Likewise.
48607 * math/s_ctan.c: Likewise.
48608 * math/s_ctanf.c: Likewise.
48609 * math/s_ctanh.c: Likewise.
48610 * math/s_ctanhf.c: Likewise.
48611 * math/s_ctanhl.c: Likewise.
48612 * math/s_ctanl.c: Likewise.
48613 * math/w_fmod.c: Likewise.
48614 * math/w_fmodf.c: Likewise.
48615 * math/w_fmodl.c: Likewise.
48616 * math/w_remainder.c: Likewise.
48617 * math/w_remainderf.c: Likewise.
48618 * math/w_remainderl.c: Likewise.
48619 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
48620 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
48621 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
48622 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
48623 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
48624 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
48625 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
48626 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
48627
48628 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
48629 of the number.
48630 * stdio-common/printf_fphex.c: Likewise.
48631 * stdio-common/printf_size.c: Likewise.
48632
48633 * math/e_exp10.c: Include math_private.h using <...> not "...".
48634 * math/e_exp10f.c: Likewise.
48635 * math/e_exp10l.c: Likewise.
48636 * math/e_exp2l.c: Likewise.
48637 * math/e_j0l.c: Likewise.
48638 * math/e_j1l.c: Likewise.
48639 * math/e_jnl.c: Likewise.
48640 * math/e_lgammal_r.c: Likewise.
48641 * math/e_rem_pio2l.c: Likewise.
48642 * math/e_scalb.c: Likewise.
48643 * math/e_scalbf.c: Likewise.
48644 * math/e_scalbl.c: Likewise.
48645 * math/k_cosl.c: Likewise.
48646 * math/k_sinl.c: Likewise.
48647 * math/k_tanl.c: Likewise.
48648 * math/s_cacoshf.c: Likewise.
48649 * math/s_catan.c: Likewise.
48650 * math/s_catanf.c: Likewise.
48651 * math/s_catanh.c: Likewise.
48652 * math/s_catanhf.c: Likewise.
48653 * math/s_catanhl.c: Likewise.
48654 * math/s_catanl.c: Likewise.
48655 * math/s_ccosh.c: Likewise.
48656 * math/s_ccoshf.c: Likewise.
48657 * math/s_ccoshl.c: Likewise.
48658 * math/s_cexp.c: Likewise.
48659 * math/s_cexpf.c: Likewise.
48660 * math/s_cexpl.c: Likewise.
48661 * math/s_clog.c: Likewise.
48662 * math/s_clog10.c: Likewise.
48663 * math/s_clog10f.c: Likewise.
48664 * math/s_clog10l.c: Likewise.
48665 * math/s_clogf.c: Likewise.
48666 * math/s_clogl.c: Likewise.
48667 * math/s_csin.c: Likewise.
48668 * math/s_csinf.c: Likewise.
48669 * math/s_csinh.c: Likewise.
48670 * math/s_csinhf.c: Likewise.
48671 * math/s_csinhl.c: Likewise.
48672 * math/s_csinl.c: Likewise.
48673 * math/s_csqrt.c: Likewise.
48674 * math/s_csqrtf.c: Likewise.
48675 * math/s_csqrtl.c: Likewise.
48676 * math/s_ctan.c: Likewise.
48677 * math/s_ctanf.c: Likewise.
48678 * math/s_ctanh.c: Likewise.
48679 * math/s_ctanhf.c: Likewise.
48680 * math/s_ctanhl.c: Likewise.
48681 * math/s_ctanl.c: Likewise.
48682 * math/s_ldexp.c: Likewise.
48683 * math/s_ldexpf.c: Likewise.
48684 * math/s_ldexpl.c: Likewise.
48685 * math/s_significand.c: Likewise.
48686 * math/s_significandf.c: Likewise.
48687 * math/s_significandl.c: Likewise.
48688 * math/w_acos.c: Likewise.
48689 * math/w_acosf.c: Likewise.
48690 * math/w_acosh.c: Likewise.
48691 * math/w_acoshf.c: Likewise.
48692 * math/w_acoshl.c: Likewise.
48693 * math/w_acosl.c: Likewise.
48694 * math/w_asin.c: Likewise.
48695 * math/w_asinf.c: Likewise.
48696 * math/w_asinl.c: Likewise.
48697 * math/w_atan2.c: Likewise.
48698 * math/w_atan2f.c: Likewise.
48699 * math/w_atan2l.c: Likewise.
48700 * math/w_atanh.c: Likewise.
48701 * math/w_atanhf.c: Likewise.
48702 * math/w_atanhl.c: Likewise.
48703 * math/w_cosh.c: Likewise.
48704 * math/w_coshf.c: Likewise.
48705 * math/w_coshl.c: Likewise.
48706 * math/w_dremf.c: Likewise.
48707 * math/w_exp10.c: Likewise.
48708 * math/w_exp10f.c: Likewise.
48709 * math/w_exp10l.c: Likewise.
48710 * math/w_exp2.c: Likewise.
48711 * math/w_exp2f.c: Likewise.
48712 * math/w_fmod.c: Likewise.
48713 * math/w_fmodf.c: Likewise.
48714 * math/w_fmodl.c: Likewise.
48715 * math/w_hypot.c: Likewise.
48716 * math/w_hypotf.c: Likewise.
48717 * math/w_hypotl.c: Likewise.
48718 * math/w_j0.c: Likewise.
48719 * math/w_j0f.c: Likewise.
48720 * math/w_j0l.c: Likewise.
48721 * math/w_j1.c: Likewise.
48722 * math/w_j1f.c: Likewise.
48723 * math/w_j1l.c: Likewise.
48724 * math/w_jn.c: Likewise.
48725 * math/w_jnf.c: Likewise.
48726 * math/w_jnl.c: Likewise.
48727 * math/w_lgamma.c: Likewise.
48728 * math/w_lgamma_r.c: Likewise.
48729 * math/w_lgammaf.c: Likewise.
48730 * math/w_lgammaf_r.c: Likewise.
48731 * math/w_lgammal.c: Likewise.
48732 * math/w_lgammal_r.c: Likewise.
48733 * math/w_log.c: Likewise.
48734 * math/w_log10.c: Likewise.
48735 * math/w_log10f.c: Likewise.
48736 * math/w_log10l.c: Likewise.
48737 * math/w_log2.c: Likewise.
48738 * math/w_log2f.c: Likewise.
48739 * math/w_log2l.c: Likewise.
48740 * math/w_logf.c: Likewise.
48741 * math/w_logl.c: Likewise.
48742 * math/w_pow.c: Likewise.
48743 * math/w_powf.c: Likewise.
48744 * math/w_powl.c: Likewise.
48745 * math/w_remainder.c: Likewise.
48746 * math/w_remainderf.c: Likewise.
48747 * math/w_remainderl.c: Likewise.
48748 * math/w_scalb.c: Likewise.
48749 * math/w_scalbf.c: Likewise.
48750 * math/w_scalbl.c: Likewise.
48751 * math/w_sinh.c: Likewise.
48752 * math/w_sinhf.c: Likewise.
48753 * math/w_sinhl.c: Likewise.
48754 * math/w_sqrt.c: Likewise.
48755 * math/w_sqrtf.c: Likewise.
48756 * math/w_sqrtl.c: Likewise.
48757 * math/w_tgamma.c: Likewise.
48758 * math/w_tgammaf.c: Likewise.
48759 * math/w_tgammal.c: Likewise.
48760
48761 * po/ja.po: Update from translation team.
48762
48763 2011-09-29 Andreas Jaeger <aj@suse.de>
48764
48765 [BZ #13179]
48766 * sunrpc/netname.c (netname2host): Fix logic.
48767
48768 [BZ #6779]
48769 [BZ #6783]
48770 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
48771 correctly.
48772 * math/w_remainder.c (__remainder): Likewise.
48773 * math/w_remainderf.c (__remainderf): Likewise.
48774 * math/libm-test.inc (remainder_test): Add test cases.
48775
48776 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
48777
48778 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
48779 sdiv_qrnnd.
48780
48781 2011-10-07 Ulrich Drepper <drepper@gmail.com>
48782
48783 * string/test-memcmp.c: Avoid unncessary #defines.
48784 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
48785
48786 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
48787
48788 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
48789 Use new sse2 version for core i3 - i7 as it's faster
48790 than sse42 version.
48791 (bit_Prefer_PMINUB_for_stringop): New.
48792 * sysdeps/x86_64/rawmemchr.S: Update.
48793 Replace with faster SSE2 version.
48794 * sysdeps/x86_64/memrchr.S: New file.
48795 * sysdeps/x86_64/memchr.S: Update.
48796 Replace with faster SSE2 version.
48797
48798 2011-09-12 Marek Polacek <mpolacek@redhat.com>
48799
48800 * elf/dl-load.c (lose): Add cast to avoid warning.
48801
48802 2011-10-07 Ulrich Drepper <drepper@gmail.com>
48803
48804 * po/ca.po: Update from translation team.
48805
48806 * inet/getnetgrent_r.c: Hook up nscd.
48807 * nscd/Makefile (routines): Add nscd_netgroup.
48808 (nscd-modules): Add netgroupcache.
48809 (CFLAGS-netgroupcache.c): Define.
48810 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
48811 (cache_search): Add const to second parameter.
48812 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
48813 INNETGR.
48814 (dbs): Add netgrdb entry.
48815 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
48816 (verify_persistent_db): Handle netgrdb.
48817 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
48818 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
48819 GETFDNETGR.
48820 (netgroup_response_header): Define.
48821 (innetgroup_response_header): Define.
48822 (datahead): Add netgroup_response_header and innetgroup_response_header
48823 elements.
48824 * nscd/nscd.conf: Add entries for netgroup cache.
48825 * nscd/nscd.h (dbtype): Add netgrdb.
48826 (_PATH_NSCD_NETGROUP_DB): Define.
48827 (netgroup_iov_disabled): Declare.
48828 (xmalloc, xcalloc, xrealloc): Move declarations here.
48829 (cache_search): Adjust prototype.
48830 Add netgroup-related prototypes.
48831 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
48832 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
48833 (__nscd_innetgr): Declare.
48834 * nscd/selinux.c (perms): Use access_vector_t as element type and
48835 add netgroup-related initializers.
48836 * nscd/netgroupcache.c: New file.
48837 * nscd/nscd_netgroup.c: New file.
48838 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
48839 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
48840 For four parameters use innetgr.
48841 * nss/nss_files/files-init.c: Add definition and callback for netgr.
48842 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
48843 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
48844 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
48845
48846 * nscd/connections.c (register_traced_file): Don't register file
48847 for disabled databases.
48848
48849 2011-10-06 Ulrich Drepper <drepper@gmail.com>
48850
48851 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
48852
48853 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
48854 from tree and freeing node.
48855
48856 2011-09-25 Jiri Olsa <jolsa@redhat.com>
48857
48858 * nss/nsswitch.c (__nss_database_lookup): Handle
48859 nss_parse_service_list out of memory case.
48860
48861 2011-09-15 Jiri Olsa <jolsa@redhat.com>
48862
48863 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
48864 out of memory case.
48865
48866 2011-10-04 Andreas Schwab <schwab@redhat.com>
48867
48868 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
48869 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
48870 pass it down.
48871 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
48872 elf_machine_rela, elf_machine_lazy_rel.
48873 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
48874 (ELF_DYNAMIC_DO_REL): Likewise.
48875 (ELF_DYNAMIC_DO_RELA): Likewise.
48876 (ELF_DYNAMIC_RELOCATE): Likewise.
48877 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
48878 to ELF_DYNAMIC_DO_REL.
48879 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
48880 (dl_main): In trace mode always set __RTLD_NOIFUNC.
48881 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
48882 elf_machine_rela.
48883 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
48884 skip_ifunc, don't call ifunc function if non-zero.
48885 (elf_machine_rela): Likewise.
48886 (elf_machine_lazy_rel): Likewise.
48887 (elf_machine_lazy_rela): Likewise.
48888 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
48889 (elf_machine_lazy_rel): Likewise.
48890 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
48891 Likewise.
48892 (elf_machine_lazy_rel): Likewise.
48893 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
48894 Likewise.
48895 (elf_machine_lazy_rel): Likewise.
48896 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
48897 (elf_machine_lazy_rel): Likewise.
48898 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
48899 (elf_machine_lazy_rel): Likewise.
48900 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
48901 (elf_machine_lazy_rel): Likewise.
48902 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
48903 (elf_machine_lazy_rel): Likewise.
48904 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
48905 (elf_machine_lazy_rel): Likewise.
48906 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
48907 (elf_machine_lazy_rel): Likewise.
48908
48909 2011-09-28 Ulrich Drepper <drepper@gmail.com>
48910
48911 * nss/nss_files/files-init.c (_nss_files_init): Use static
48912 initialization for all the *_traced_file variables.
48913
48914 2011-09-28 Andreas Schwab <schwab@redhat.com>
48915
48916 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
48917
48918 2011-09-27 Roland McGrath <roland@hack.frob.com>
48919
48920 [BZ #13226]
48921 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
48922
48923 2011-09-27 Andreas Schwab <schwab@redhat.com>
48924
48925 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
48926 Reread the line before reparsing it.
48927
48928 2011-09-26 Andreas Schwab <schwab@redhat.com>
48929
48930 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
48931
48932 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
48933 Maxim Kuvyrkov <maxim@codesourcery.com>
48934 Joseph Myers <joseph@codesourcery.com>
48935
48936 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
48937 if needed for __stack_chk_guard.
48938
48939 2011-09-19 Roland McGrath <roland@hack.frob.com>
48940
48941 * sysdeps/posix/spawni.c (script_execute): Always define it.
48942 It will be optimized away if unused.
48943 (maybe_script_execute): New function.
48944 (__spawni): Call it.
48945
48946 * Makerules: Don't include tls.make.
48947 (config-tls): Always set to thread.
48948 * tls.make.c: File removed.
48949
48950 2011-09-19 Mike Frysinger <vapier@gentoo.org>
48951
48952 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
48953 * config.make.in (CPPFLAGS-config): New substituted variable.
48954
48955 2011-09-15 Ulrich Drepper <drepper@gmail.com>
48956
48957 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
48958
48959 [BZ #13192]
48960 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
48961 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
48962
48963 2011-09-15 Roland McGrath <roland@hack.frob.com>
48964
48965 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
48966 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
48967 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
48968 (CALL_FAIL): Likewise.
48969 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
48970 (CALL_FAIL): Macro removed.
48971 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
48972
48973 2011-09-15 Ulrich Drepper <drepper@gmail.com>
48974
48975 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
48976 for __FINITE_MATH_ONLY__ == 1.
48977
48978 2011-09-15 Andreas Schwab <schwab@redhat.com>
48979
48980 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
48981 __ieee754_sqrt instead of sqrt.
48982 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
48983 __ieee754_sqrtf instead of sqrtf.
48984 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
48985 __floorf instead of floorf.
48986 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
48987 __floorf, __truncf instead of floorf, truncf.
48988
48989 2011-09-14 Ulrich Drepper <drepper@gmail.com>
48990
48991 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
48992
48993 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
48994 __extern_always_inline.
48995 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
48996 32-bit.
48997
48998 2011-09-14 Andreas Schwab <schwab@redhat.com>
48999
49000 * elf/rtld.c (dl_main): Also relocate in dependency order when
49001 doing symbol dependency testing.
49002
49003 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
49004
49005 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
49006 Always define `refsym'.
49007
49008 2011-09-13 Andreas Schwab <schwab@redhat.com>
49009
49010 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
49011 (__FD_ELT): Renamed from __FDELT.
49012 * misc/bits/select2.h (__FD_ELT): Likewise.
49013 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
49014 __FD_MASK instead of __FDELT, __FDMASK.
49015 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
49016 Likewise.
49017 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
49018 Likewise.
49019
49020 * elf/Makefile (gen-ldd): Fix pattern.
49021
49022 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
49023 (init_tls): Likewise.
49024
49025 2011-09-12 Ulrich Drepper <drepper@gmail.com>
49026
49027 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
49028
49029 2011-09-12 Andreas Schwab <schwab@redhat.com>
49030
49031 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
49032 `struct cmsghdr *' instead of `void *'.
49033 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
49034 Likewise.
49035
49036 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
49037
49038 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
49039 if non-absolute.
49040 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
49041 ldd_rewrite_script.
49042
49043 2011-09-11 Ulrich Drepper <drepper@gmail.com>
49044
49045 * configure.in: Remove --with-tls option.
49046 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
49047 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
49048 out in case it is missing.
49049 * sysdeps/ia64/elf/configure.in: Likewise.
49050 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
49051 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
49052 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
49053 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
49054 * sysdeps/sh/elf/configure.in: Likewise.
49055 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
49056 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
49057 * sysdeps/x86_64/elf/configure.in: Likewise.
49058 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
49059 * sysdeps/mach/hurd/tls.h: Likewise.
49060
49061 [BZ #13067]
49062 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
49063
49064 [BZ #13090]
49065 * configure.in: Fix use of AC_INIT.
49066
49067 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
49068
49069 2011-09-10 Ulrich Drepper <drepper@gmail.com>
49070
49071 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
49072 __set_errno.
49073 * malloc/hooks.c: Likewise.
49074
49075 [BZ #11929]
49076 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
49077 variables statically.
49078 (narenas): Initialize.
49079 (list_lock): Initialize.
49080 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
49081 initializtion of main_arena and list_lock. Small cleanups.
49082 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
49083 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
49084 Add initializers to main_arena and mp_.
49085 (malloc_state): Remove pagesize member. Change all users to use
49086 GLRO(dl_pagesize).
49087
49088 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
49089 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
49090 is always initialized.
49091
49092 * malloc/malloc.c: Removed unused configurations and dead code.
49093 * malloc/arena.c: Likewise.
49094 * malloc/hooks.c: Likewise.
49095 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
49096
49097 * include/tls.h: Removed. USE___THREAD must always be defined.
49098 * bits/libc-tsd.h: Don't handle !USE___THREAD.
49099 * elf/dl-libc.c: Likewise.
49100 * elf/dl-tsd.c: Likewise.
49101 * include/errno.h: Likewise.
49102 * include/netdb.h: Likewise.
49103 * include/resolv.h: Likewise.
49104 * inet/herrno-loc.c: Likewise.
49105 * inet/herrno.c: Likewise.
49106 * malloc/arena.c: Likewise.
49107 * malloc/hooks.c: Likewise.
49108 * malloc/malloc.c: Likewise.
49109 * resolv/res-state.c: Likewise.
49110 * resolv/res_libc.c: Likewise.
49111 * sysdeps/i386/dl-machine.h: Likewise.
49112 * sysdeps/ia64/dl-machine.h: Likewise.
49113 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
49114 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
49115 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
49116 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
49117 * sysdeps/sh/dl-machine.h: Likewise.
49118 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
49119 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
49120 * sysdeps/unix/i386/sysdep.S: Likewise.
49121 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
49122 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
49123 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
49124 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
49125 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
49126 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
49127 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
49128 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
49129 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
49130 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
49131 * sysdeps/unix/x86_64/sysdep.S: Likewise.
49132 * sysdeps/x86_64/dl-machine.h: Likewise.
49133 * tls.make.c: Likewise.
49134
49135 * configure.in: Remove --with-__thread option. Make tests for
49136 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
49137 tls_model attribute fail if no support is available. Remove
49138 USE_IN_LIBIO.
49139 * Makeconfig: Adjust for dropped configure option. All features are
49140 now mandatory.
49141 * Makerules: Likewise.
49142 * Versions.def: Likewise.
49143 * argp/argp-fmtstream.c: Likewise.
49144 * argp/argp-fmtstream.h: Likewise.
49145 * argp/argp-help.c: Likewise.
49146 * assert/assert.c: Likewise.
49147 * config.h.in: Likewise.
49148 * config.make.in: Likewise.
49149 * configure: Likewise.
49150 * configure.in: Likewise.
49151 * csu/Versions: Likewise.
49152 * csu/init.c: Likewise.
49153 * elf/tst-audit2.c: Likewise.
49154 * elf/tst-tls10.c: Likewise.
49155 * elf/tst-tls10.h: Likewise.
49156 * elf/tst-tls11.c: Likewise.
49157 * elf/tst-tls12.c: Likewise.
49158 * elf/tst-tls14.c: Likewise.
49159 * elf/tst-tlsmod11.c: Likewise.
49160 * elf/tst-tlsmod12.c: Likewise.
49161 * elf/tst-tlsmod13.c: Likewise.
49162 * elf/tst-tlsmod13a.c: Likewise.
49163 * elf/tst-tlsmod14a.c: Likewise.
49164 * elf/tst-tlsmod15b.c: Likewise.
49165 * elf/tst-tlsmod16a.c: Likewise.
49166 * elf/tst-tlsmod16b.c: Likewise.
49167 * elf/tst-tlsmod7.c: Likewise.
49168 * elf/tst-tlsmod8.c: Likewise.
49169 * elf/tst-tlsmod9.c: Likewise.
49170 * gmon/gmon.c: Likewise.
49171 * grp/fgetgrent_r.c: Likewise.
49172 * grp/putgrent.c: Likewise.
49173 * hurd/fopenport.c: Likewise.
49174 * include/libc-symbols.h: Likewise.
49175 * include/tls.h: Likewise.
49176 * intl/gettextP.h: Likewise.
49177 * intl/loadinfo.h: Likewise.
49178 * locale/global-locale.c: Likewise.
49179 * locale/localeinfo.h: Likewise.
49180 * mach/devstream.c: Likewise.
49181 * malloc/arena.c: Likewise.
49182 * malloc/set-freeres.c: Likewise.
49183 * misc/err.c: Likewise.
49184 * misc/getttyent.c: Likewise.
49185 * misc/mntent_r.c: Likewise.
49186 * posix/getopt.c: Likewise.
49187 * posix/wordexp.c: Likewise.
49188 * pwd/fgetpwent_r.c: Likewise.
49189 * resolv/Versions: Likewise.
49190 * resolv/res_hconf.c: Likewise.
49191 * shadow/fgetspent_r.c: Likewise.
49192 * shadow/putspent.c: Likewise.
49193 * stdio-common/printf_fphex.c: Likewise.
49194 * stdio-common/tmpfile.c: Likewise.
49195 * stdlib/abort.c: Likewise.
49196 * stdlib/fmtmsg.c: Likewise.
49197 * sunrpc/auth_unix.c: Likewise.
49198 * sunrpc/clnt_perr.c: Likewise.
49199 * sunrpc/clnt_tcp.c: Likewise.
49200 * sunrpc/clnt_udp.c: Likewise.
49201 * sunrpc/clnt_unix.c: Likewise.
49202 * sunrpc/openchild.c: Likewise.
49203 * sunrpc/svc_simple.c: Likewise.
49204 * sunrpc/svc_tcp.c: Likewise.
49205 * sunrpc/svc_udp.c: Likewise.
49206 * sunrpc/svc_unix.c: Likewise.
49207 * sunrpc/xdr.c: Likewise.
49208 * sunrpc/xdr_array.c: Likewise.
49209 * sunrpc/xdr_rec.c: Likewise.
49210 * sunrpc/xdr_ref.c: Likewise.
49211 * sunrpc/xdr_stdio.c: Likewise.
49212
49213 2011-09-09 Ulrich Drepper <drepper@gmail.com>
49214
49215 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
49216
49217 2011-07-03 Andreas Jaeger <aj@suse.de>
49218
49219 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
49220 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
49221 regenerate with gen-libm-tests.pl.
49222
49223 2010-05-12 Petr Baudis <pasky@suse.cz>
49224
49225 [BZ #11589]
49226 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
49227 around j0() zero points by switching to j1().
49228 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
49229 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
49230 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
49231 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
49232
49233 2011-09-09 Ulrich Drepper <drepper@gmail.com>
49234
49235 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
49236 instead of 0.
49237 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
49238 instead of 0.
49239 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
49240 Patch in part by Pavel Roskin <proski@gnu.org>.
49241
49242 [BZ #13138]
49243 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
49244 realloc.
49245 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
49246 Free memory block if necessary.
49247
49248 [BZ #12847]
49249 * libio/genops.c (INTDEF): For string streams the _lock pointer can
49250 be NULL. Don't lock in this case.
49251
49252 2011-09-09 Roland McGrath <roland@hack.frob.com>
49253
49254 * elf/elf.h (ELFOSABI_GNU): New macro.
49255 (ELFOSABI_LINUX): Define to that.
49256
49257 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
49258
49259 * string/strncat.c (strncat): Undef the symbol in case it has been
49260 defined in bits/string.h.
49261
49262 2011-09-09 Ulrich Drepper <drepper@gmail.com>
49263
49264 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
49265
49266 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
49267 link map.
49268
49269 2011-08-17 Andreas Jaeger <aj@suse.de>
49270
49271 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
49272
49273 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
49274 Ian Lance Taylor <iant@google.com>
49275
49276 * math/libm-test.inc (lround_test): New testcase.
49277 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
49278
49279 2011-09-08 Ulrich Drepper <drepper@gmail.com>
49280
49281 * Makefile: Remove support for automatic cvs check-ins.
49282 * Makerules: Likewise.
49283 * config.make.in: Likewise.
49284 * configure.in: Likewise.
49285 * intl/Makefile: Likewise.
49286 * locale/Makefile: Likewise.
49287 * po/Makefile: Likewise.
49288 * posix/Makefile: Likewise.
49289 * sysdeps/gnu/Makefile: Likewise.
49290 * sysdeps/mach/hurd/Makefile: Likewise.
49291 * sysdeps/sparc/sparc32/Makefile: Likewise.
49292
49293 [BZ #13118]
49294 * posix/Makefile (bug-regex32-ENV): Define.
49295 Patch by John Stanley <jpsinthemix@verizon.net>.
49296
49297 * misc/Makefile (headers): Add bits/select2.h.
49298 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
49299 * misc/bits/select2.h: New file.
49300 * include/bits/select2.h: New file.
49301 * debug/Makefile (routines): Add fdelt_chk.
49302 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
49303 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
49304 FD_ISSET.
49305 * debug/fdelt_chk.c: New file.
49306
49307 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
49308 * wcsmbs/test-wmemcmp.c: Likewise.
49309 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
49310 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
49311
49312 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
49313
49314 * string/Makefile (strop-tests): Add memcmp.
49315 * string/test-wmemcmp.c: New file.
49316 * string/test-memcmp.c: Add wmemcmp support.
49317
49318 2011-09-08 Roland McGrath <roland@hack.frob.com>
49319
49320 [BZ #13153]
49321 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
49322 2011-07-19 change.
49323
49324 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
49325 garbage value in a __mach_port_mod_refs call in the cases of the
49326 task-self and thread-self ports.
49327
49328 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
49329
49330 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
49331
49332 2011-09-08 Andreas Schwab <schwab@redhat.com>
49333
49334 * elf/dl-load.c (lose): Check for non-null L.
49335
49336 2011-09-07 Ulrich Drepper <drepper@gmail.com>
49337
49338 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
49339
49340 * elf/dl-libc.c (dlerror_run): Pass back error code from
49341 dl_catch_error.
49342
49343 [BZ #13123]
49344 * elf/dl-load.c (lose): Free l_origin if it is valid.
49345
49346 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
49347 names.
49348 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
49349 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
49350 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
49351 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
49352 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
49353 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
49354
49355 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49356
49357 * sysdeps/powerpc/fpu/e_hypot.c: New file.
49358 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
49359 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
49360 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
49361 * sysdeps/powerpc/fpu/k_cosf.c: New file.
49362 * sysdeps/powerpc/fpu/k_sinf.c: New file.
49363 * sysdeps/powerpc/fpu/s_cosf.c: New file.
49364 * sysdeps/powerpc/fpu/s_sinf.c: New file.
49365 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
49366 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
49367
49368 2011-08-15 Alan Modra <amodra@gmail.com>
49369
49370 [BZ #13092]
49371 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
49372 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
49373 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
49374 ppc_mcount to static-only-routines.
49375 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
49376 __mcount_internal.
49377 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
49378 __mcount_internal with usual JUMPTARGET. Remove useless nop.
49379
49380 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
49381
49382 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
49383 for finite and infinity parameters.
49384
49385 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
49386
49387 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
49388 and add nop instructions for throughput optimization.
49389 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
49390
49391 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
49392
49393 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
49394 aligned copy for power7 with vector-scalar instructions.
49395 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
49396
49397 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
49398
49399 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
49400 AVX check.
49401
49402 2011-09-07 Andreas Schwab <schwab@redhat.com>
49403
49404 [BZ #13144]
49405 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
49406 last change.
49407
49408 2011-09-07 Ulrich Drepper <drepper@gmail.com>
49409
49410 * sysdeps/unix/sysv/linux/x86_64/init-first.c
49411 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
49412 syscall wrapper around clock_gettime in __vdso_clock_gettime.
49413 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
49414 clock_gettime.
49415
49416 2011-09-06 Ulrich Drepper <drepper@gmail.com>
49417
49418 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
49419 Forgot to demangle the pointer.
49420
49421 * sysdeps/i386/sysdep.h: Define atom_text_section.
49422 * sysdeps/x86_64/sysdep.h: Likewise.
49423 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
49424 section with atom_text_section.
49425 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
49426 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
49427 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
49428 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
49429 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
49430
49431 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
49432 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
49433 already be defined. Change to take two parameters and don't assign
49434 result to variable. Adjust all users.
49435 Define INTERNAL_GETTIME if not already defined.
49436 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
49437 call.
49438 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
49439 HAVE_CLOCK_GETTIME_VSYSCALL.
49440 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
49441
49442 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
49443 gettimeofday vsyscall, just use time.
49444
49445 2011-09-06 Andreas Schwab <schwab@redhat.com>
49446
49447 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
49448 <errno.h>.
49449
49450 2011-09-06 Ulrich Drepper <drepper@gmail.com>
49451
49452 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
49453 syscall on x86-64.
49454 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
49455 syscall.
49456 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
49457 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
49458 syscall if possible.
49459
49460 2011-09-05 Ulrich Drepper <drepper@gmail.com>
49461
49462 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
49463 e_ident. Don't pass to find_mapsXX.
49464 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
49465
49466 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
49467
49468 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
49469 strchr-sse2-no-bsf strrchr-sse2-no-bsf
49470 * sysdeps/x86_64/multiarch/strchr.S: Update.
49471 Check bit_slow_BSF bit.
49472 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
49473 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
49474 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
49475
49476 2011-09-05 Ulrich Drepper <drepper@gmail.com>
49477
49478 [BZ #13134]
49479 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
49480 before glibc 2.15.
49481 (tryshell): Define.
49482 (__spawni): Change last parameter to be flag. Test
49483 SPAWN_XFLAGS_USE_PATH flag to use path or not.
49484 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
49485 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
49486 * posix/spawni.c: Likewise.
49487 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
49488 * posix/spawnp.c: Likewise. Change normal version to use
49489 SPAWN_XFLAGS_USE_PATH.
49490 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
49491 SPAWN_XFLAGS_TRY_SHELL.
49492
49493 [BZ #13150]
49494 * posix/glob.h: Remove gcc 1.x support.
49495
49496 [BZ #13068]
49497 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
49498
49499 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
49500
49501 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
49502 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
49503 strrchr-sse2-bsf
49504 * sysdeps/i386/i686/multiarch/strchr.S: New file.
49505 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
49506 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
49507 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
49508 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
49509 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
49510
49511 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
49512
49513 * sysdeps/x86_64/wcscmp.S: New file.
49514
49515 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
49516 wcscmp-c wcscmp-sse2
49517 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
49518 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
49519 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
49520 * wcsmbs/wcscmp.c: Allow renaming.
49521
49522 2011-09-05 David S. Miller <davem@davemloft.net>
49523
49524 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
49525 stack slot, rather than the struct return pointer slot.
49526 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
49527 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
49528 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
49529 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
49530
49531 2011-09-05 Ulrich Drepper <drepper@gmail.com>
49532
49533 * po/ja.po: Update from translation team.
49534
49535 [BZ #13144]
49536 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
49537 kernel in 64-bit binaries.
49538
49539 2011-09-01 David S. Miller <davem@davemloft.net>
49540
49541 * elf/elf.h (HWCAP_SPARC_*): Move to..
49542 * sysdeps/sparc/sysdep.h: this new file and add new values.
49543 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
49544 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
49545 _DL_HWCAP_COUNT to 24.
49546 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
49547 entries.
49548 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
49549 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
49550 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
49551 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
49552 instead of magic constants.
49553 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
49554
49555 2011-08-31 David S. Miller <davem@davemloft.net>
49556
49557 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
49558 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
49559 Reimplement to do errno handling inline.
49560 (SYSCALL_ERROR_HANDLER): New macro.
49561 (__SYSCALL_STRING): Do not do errno handling in asm.
49562 (__CLONE_SYSCALL_STRING): Delete.
49563 (__INTERNAL_SYSCALL_STRING): Delete.
49564 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
49565 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
49566 (PSEUDO): Reimplement to do errno handling inline.
49567 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
49568 (SYSCALL_ERROR_HANDLER): New macro.
49569 (__SYSCALL_STRING): Do not do errno handling in asm.
49570 (__CLONE_SYSCALL_STRING): Delete.
49571 (__INTERNAL_SYSCALL_STRING): Delete.
49572 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
49573 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
49574 i386.
49575 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
49576 (inline_syscall*): Add 'err' argument.
49577 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
49578 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
49579 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
49580 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
49581
49582 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
49583 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
49584
49585 2011-08-30 Andreas Schwab <schwab@redhat.com>
49586
49587 * elf/rtld.c (dl_main): Relocate objects in dependency order.
49588
49589 2011-08-29 Jiri Olsa <jolsa@redhat.com>
49590
49591 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
49592 directive.
49593
49594 2011-08-24 David S. Miller <davem@davemloft.net>
49595
49596 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
49597
49598 2011-08-24 Andreas Schwab <schwab@redhat.com>
49599
49600 * elf/Makefile: Add rules to build and run unload8 test.
49601 * elf/unload8.c: New file.
49602 * elf/unload8mod1.c: New file.
49603 * elf/unload8mod1x.c: New file.
49604 * elf/unload8mod2.c: New file.
49605 * elf/unload8mod3.c: New file.
49606
49607 * elf/dl-close.c (_dl_close_worker): Reset private search list if
49608 it wasn't used.
49609
49610 2011-08-23 David S. Miller <davem@davemloft.net>
49611
49612 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
49613 subtract stack bias.
49614 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
49615 %sp not %fp in calculations.
49616 (_JMPBUF_UNWINDS_ADJ): Likewise.
49617
49618 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
49619 (aio_suspend): Call it to force an exception region around the
49620 AIO_MISC_WAIT() invocation.
49621
49622 2011-08-23 Andreas Schwab <schwab@redhat.com>
49623
49624 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
49625 backslash.
49626
49627 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
49628
49629 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
49630 protection macro.
49631 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
49632 and <dl-machine.h>.
49633 (Elf64_FuncDesc): Remove.
49634
49635 2011-08-22 David S. Miller <davem@davemloft.net>
49636
49637 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
49638 sigaltstack check, add missing cfi directives.
49639 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
49640 missing cfi directives, and sigaltstack handling.
49641
49642 2011-08-16 Andreas Schwab <schwab@redhat.com>
49643
49644 [BZ #11724]
49645 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
49646 object is seen twice.
49647 * elf/dl-fini.c (_dl_sort_fini): Likewise.
49648
49649 * elf/Makefile (distribute): Add tst-initorder2.c.
49650 (tests): Add tst-initorder2.
49651 (modules-names): Add tst-initorder2a tst-initorder2b
49652 tst-initorder2c tst-initorder2d. Add rules to build them.
49653 ($(objpfx)tst-initorder2.out): New rule.
49654 * elf/tst-initorder2.c: New file.
49655 * elf/tst-initorder2.exp: New file.
49656
49657 2011-08-22 Andreas Schwab <schwab@redhat.com>
49658
49659 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
49660
49661 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
49662 dependencies back to end of function.
49663
49664 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
49665 $(elfobjdir)/ld.so.
49666
49667 2011-08-21 Ulrich Drepper <drepper@gmail.com>
49668
49669 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
49670 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
49671 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
49672 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
49673 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
49674 of __vdso_gettimeofday.
49675 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
49676 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
49677 attribute_hidden.
49678 (_libc_vdso_platform_setup): Remove initialization of
49679 __vdso_gettimeofday and __vdso_time.
49680
49681 2011-08-20 Ulrich Drepper <drepper@gmail.com>
49682
49683 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
49684 and fgetc_unlocked.
49685 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
49686 getc_unlocked.
49687
49688 * elf/dl-open.c (add_to_global): Report additions to the global scope
49689 for LD_DEBUG=scopes.
49690 (dl_open_worker): Also print scope of newly loaded dependencies.
49691 (_dl_show_scope): Indicate if there is no scope.
49692
49693 [BZ #13114]
49694 * stdio-common/Makefile (tests): Add bug24.
49695 * stdio-common/bug24.c: New file.
49696
49697 2011-08-19 Andreas Jaeger <aj@suse.de>
49698
49699 [BZ #13114]
49700 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
49701 non-existant file when using close-on-exec mode.
49702
49703 2011-08-20 Ulrich Drepper <drepper@gmail.com>
49704
49705 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
49706 the very first instruction.
49707
49708 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
49709 the CFI state in the end.
49710 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
49711 inclusion of dl-trampoline.h.
49712 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
49713
49714 2011-08-19 Andreas Schwab <schwab@redhat.com>
49715
49716 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
49717 expectations for long double.
49718
49719 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
49720 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
49721
49722 2011-08-14 David S. Miller <davem@davemloft.net>
49723
49724 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
49725 artificual limit depends upon the system page size.
49726
49727 2011-08-17 Ulrich Drepper <drepper@gmail.com>
49728
49729 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
49730 * resolv/Makefile: Define CFLAGS-libresolv.
49731
49732 2011-08-17 Andreas Schwab <schwab@redhat.com>
49733
49734 * nss/makedb.c (compute_tables): Make variables used in nested
49735 function static.
49736
49737 2011-08-17 Ulrich Drepper <drepper@gmail.com>
49738
49739 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
49740 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
49741 if buffer was too small.
49742
49743 * elf/pldd.c (main): Attach to all threads in the process.
49744 Rewrite /proc handling to use *at functions.
49745
49746 2011-08-16 Ulrich Drepper <drepper@gmail.com>
49747
49748 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
49749 specifies first scope to show.
49750 (dl_open_worker): Update callers. Move printing scope of new
49751 object to before the relocation.
49752 * elf/rtld.c (dl_main): Update _dl_show_scope call.
49753 * sysdeps/generic/ldsodefs.h: Update declaration.
49754
49755 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
49756 string for the scope number.
49757
49758 2011-08-14 Ulrich Drepper <drepper@gmail.com>
49759
49760 * nscd/servicescache.c (cache_addserv): Make sure written is always
49761 initialized.
49762
49763 2011-08-14 Roland McGrath <roland@hack.frob.com>
49764
49765 * sysdeps/i386/i486/bits/atomic.h
49766 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
49767 statement expression, so as to suppress "set but not used" warning.
49768 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
49769
49770 * string/strncat.c (STRNCAT): Use prototype definition.
49771
49772 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
49773 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
49774 -Iprograms here.
49775 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
49776 (localedef-modules): Add localedef.
49777 (locale-modules): Add locale.
49778
49779 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
49780 * elf/rtld.c (dl_main): Invert order of assignment in last change,
49781 to avoid a warning.
49782
49783 2011-08-14 David S. Miller <davem@davemloft.net>
49784
49785 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
49786 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
49787
49788 2011-08-13 Ulrich Drepper <drepper@gmail.com>
49789
49790 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
49791 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
49792 * elf/rtld.c (dl_main): Set l_name of vDSO.
49793 Call _dl_show_scope when DL_DEBUG_SCOPES.
49794 (process_dl_debug): Recognize scopes flag and also set it for all.
49795 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
49796 Declare _dl_show_scope.
49797
49798 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
49799 (do_dlopen): Pass caller_dlopen to dl_open.
49800 (__libc_dlopen_mode): Initialize caller_dlopen.
49801
49802 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
49803 of libc. Make tolower call locale-independent. Optimize a bit by
49804 using isdigit instead of isalnum.
49805 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
49806
49807 2011-08-12 Ulrich Drepper <drepper@gmail.com>
49808
49809 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
49810 was a dependency or dynamically loaded.
49811
49812 2011-08-11 Ulrich Drepper <drepper@gmail.com>
49813
49814 * intl/l10nflist.c: Allow architecture-specific pop function.
49815 * sysdeps/x86_64/l10nflist.c: New file.
49816
49817 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
49818 classification.
49819
49820 2011-08-10 Andreas Schwab <schwab@redhat.com>
49821
49822 * include/dirent.h: Add libc_hidden_proto for scandirat and
49823 scandirat64. Don't declare __scandirat64.
49824 * dirent/scandirat.c: Add libc_hidden_def.
49825 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
49826 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
49827
49828 2011-08-10 David S. Miller <davem@davemloft.net>
49829
49830 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
49831 enum.
49832 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
49833 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
49834 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
49835
49836 2011-08-09 Ulrich Drepper <drepper@gmail.com>
49837
49838 * Versions.def [libc]: Add GLIBC_2.15.
49839 * dirent/Makefile (routines): Add scandirat and scandirat64.
49840 * dirent/Versions [libc]: Export scandirat and scandirat64 for
49841 GLIBC_2.15.
49842 * dirent/dirent.h: Declare scandirat and scandirat64.
49843 * dirent/scandirat.c: New file.
49844 * dirent/scandirat64.c: New file.
49845 * sysdeps/wordsize-64/scandirat.c: New file.
49846 * sysdeps/wordsize-64/scandirat64.c: New file.
49847 * dirent/opendir.c: Define opendirat.
49848 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
49849 using scandirat.
49850 * dirent/scandir64.c: Adjust for scandir.c change.
49851 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
49852 __scandirat64, and __scandir_cancel_handler.
49853 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
49854 additional parameter and use openat instead of open (outside of ld.so).
49855 Add new __opendir as wrapper around __opendirat.
49856 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
49857 here without requiring old scandirat implementation.
49858
49859 2011-08-08 Ulrich Drepper <drepper@gmail.com>
49860
49861 * dirent/scandir.c (cancel_handler): Renamed to
49862 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
49863 defined. Adjust users.
49864 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
49865 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
49866
49867 2011-08-04 Ulrich Drepper <drepper@gmail.com>
49868
49869 * string/test-string.h (IMPL): Use __STRING to expand name and then
49870 stringify it.
49871
49872 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
49873 of cleanups.
49874
49875 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
49876
49877 * string/Makefile: Update.
49878 (strop-tests): Append strncat.
49879 * string/test-wcscmp.c: New file.
49880 New comprehensive test for wcscmp.
49881 * string/test-strcmp.c: Update.
49882 (WIDE): New define.
49883
49884 2011-07-22 Andreas Schwab <schwab@redhat.com>
49885
49886 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
49887 line.
49888
49889 2011-07-26 Andreas Schwab <schwab@redhat.com>
49890
49891 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
49892 encoding to ACE if AI_IDN.
49893
49894 2011-08-01 Jakub Jelinek <jakub@redhat.com>
49895
49896 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
49897 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
49898
49899 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
49900
49901 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
49902 Fix overflow bug in strncat.
49903 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
49904
49905 * string/test-strncat.c: Update.
49906 Add new tests for checking overflow bugs.
49907
49908 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
49909
49910 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
49911 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
49912 * sysdeps/i386/i686/multiarch/strcat.S: New file.
49913 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
49914 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
49915 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
49916 * sysdeps/i386/i686/multiarch/strncat.S: New file.
49917 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
49918 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
49919
49920 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
49921 (USE_AS_STRCAT): Define.
49922 Add strcat and strncat support.
49923 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
49924
49925 2011-07-25 Andreas Schwab <schwab@redhat.com>
49926
49927 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
49928 __n bigger than INT_MAX+1.
49929 (__strncmp_g): Likewise.
49930
49931 2011-07-23 Ulrich Drepper <drepper@gmail.com>
49932
49933 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
49934 * libio/stido.h: Likewise.
49935
49936 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
49937 (AF_NFC): Define.
49938 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
49939 (AF_NFC): Define.
49940
49941 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
49942 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
49943 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
49944 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
49945 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
49946
49947 [BZ #13021]
49948 * scripts/test-installation.pl: Don't expect libnss_test1 to be
49949 installed.
49950
49951 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
49952 typo.
49953 (_dl_x86_64_save_sse): Likewise.
49954
49955 2011-07-22 Ulrich Drepper <drepper@gmail.com>
49956
49957 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
49958 OSXSAVE.
49959 (_dl_x86_64_save_sse): Likewise.
49960
49961 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
49962
49963 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
49964
49965 2011-07-21 Andreas Schwab <schwab@redhat.com>
49966
49967 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
49968 change.
49969 (_dl_x86_64_save_sse): Use correct AVX check.
49970
49971 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
49972
49973 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
49974 bug in strncpy/strncat.
49975 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
49976
49977 2011-07-21 Ulrich Drepper <drepper@gmail.com>
49978
49979 * string/tester.c (test_strcat): Add tests for different alignments
49980 of source and destination.
49981 (test_strncat): Likewise.
49982
49983 2011-07-20 Ulrich Drepper <drepper@gmail.com>
49984
49985 [BZ #12852]
49986 * posix/glob.c (glob): Check passed in values before using them in
49987 expressions to avoid some overflows.
49988 (glob_in_dir): Likewise.
49989
49990 [BZ #13007]
49991 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
49992 check for AVX enablement so that we don't crash with old kernels and
49993 new hardware.
49994 * elf/tst-audit4.c: Add same checks here.
49995 * elf/tst-audit6.c: Likewise.
49996
49997 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
49998
49999 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
50000
50001 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
50002
50003 2011-07-20 Ulrich Drepper <drepper@gmail.com>
50004
50005 * po/cs.po: Update from translation team.
50006 * po/bg.po: Likewise.
50007
50008 2011-07-12 Marek Polacek <mpolacek@redhat.com>
50009
50010 * misc/sys/cdefs.h: Add support for const attribute.
50011 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
50012 to gnu_dev_{major,minor,makedev} functions.
50013
50014 2011-07-20 Marek Polacek <mpolacek@redhat.com>
50015
50016 * intl/dcigettext.c (get_output_charset): Add missing bracket.
50017
50018 2011-07-20 Andreas Schwab <schwab@redhat.com>
50019
50020 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
50021 strlen results.
50022
50023 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
50024
50025 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
50026 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
50027 register in order to avoid conflicts with the soft frame pointer
50028 being held in r11 when necessary.
50029 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
50030 (INTERNAL_VSYSCALL_NCS): Likewise.
50031
50032 2011-07-14 Marek Polacek <mpolacek@redhat.com>
50033
50034 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
50035 * elf/dl-fini.c (_dl_fini): Adjust caller.
50036 * elf/dl-close.c (_dl_close_worker): Likewise.
50037 * sysdeps/generic/ldsodefs.h: Adjust declaration.
50038
50039 2011-07-15 Marek Polacek <mpolacek@redhat.com>
50040
50041 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
50042 "aux_cache->nlibs < 0".
50043
50044 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
50045 in the reload-count case.
50046
50047 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
50048
50049 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
50050 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
50051 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
50052 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
50053 * sysdeps/x86_64/multiarch/strcat.S: New file.
50054 * sysdeps/x86_64/multiarch/strncat.S: New file.
50055 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
50056 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
50057 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
50058 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
50059 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
50060 (USE_AS_STRCAT): Define.
50061 Add strcat and strncat support.
50062 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
50063 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
50064 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
50065 * string/strncat.c: Update.
50066 (USE_AS_STRNCAT): Define.
50067 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
50068 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
50069 and i7.
50070 * sysdeps/x86_64/multiarch/init-arch.h
50071 (bit_Prefer_PMINUB_for_stringop): New.
50072 (index_Prefer_PMINUB_for_stringop): Likewise.
50073 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
50074 bit_Prefer_PMINUB_for_stringop.
50075
50076 2011-07-19 Ulrich Drepper <drepper@gmail.com>
50077
50078 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
50079 buffer64.
50080 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
50081 of casting of buffer.
50082 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
50083 buffer32 and buffer64.
50084 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
50085 writes instead of casting of buffer.
50086 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
50087 buffer32.
50088 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
50089 casting of buffer.
50090
50091 2011-07-19 Andreas Schwab <schwab@redhat.com>
50092
50093 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
50094
50095 2011-07-19 Ulrich Drepper <drepper@gmail.com>
50096
50097 * nscd/nscd.c (termination_handler): Don't do anything for a database
50098 if it has not yet been initialized.
50099
50100 2011-07-18 Ulrich Drepper <drepper@gmail.com>
50101
50102 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
50103
50104 2011-07-15 Marek Polacek <mpolacek@redhat.com>
50105
50106 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
50107
50108 2011-07-18 Ulrich Drepper <drepper@gmail.com>
50109
50110 * po/nl.po: Update from translation team.
50111 * po/sv.po: Likewise.
50112
50113 2011-07-16 Roland McGrath <roland@hack.frob.com>
50114
50115 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
50116 now disallowed by GCC.
50117
50118 * configure.in (use-default-link): Default to yes if a test -shared
50119 link meets our qualifications.
50120 * configure: Regenerated.
50121
50122 * config.make.in (output-format): New variable.
50123 * configure.in: Check for ld --print-output-format support.
50124 * configure: Regenerated.
50125 * Makerules ($(common-objpfx)format.lds)
50126 [$(output-format) != unknown]: Just use $(output-format),
50127 instead of the linker-script munging.
50128
50129 2011-07-14 Roland McGrath <roland@hack.frob.com>
50130
50131 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
50132 of $(common-objpfx)shlib.lds.
50133 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
50134
50135 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
50136 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
50137
50138 * configure.in (-z relro check): Adjust test code to add a large
50139 writable data section after it.
50140 * configure: Regenerated.
50141
50142 2011-07-11 Roland McGrath <roland@hack.frob.com>
50143
50144 * configure.in (-z relro check): Fix test code to make the variable
50145 truly const.
50146 * configure: Regenerated.
50147
50148 2011-07-11 Ulrich Drepper <drepper@gmail.com>
50149
50150 * nscd/nscd.h (struct traced_file): Define.
50151 (struct database_dyn): Remove inotify_descr, reset_res, and filename
50152 elements. Add traced_files.
50153 (inotify_fd): Declare.
50154 (register_traced_file): Declare.
50155 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
50156 (inotify_fd): Export.
50157 (resolv_conf_descr): Remove.
50158 (nscd_init): Move inotify descriptor creation to main.
50159 Don't register files for notification here.
50160 (register_traced_file): New function.
50161 (invalidate_cache): Don't use reset_res to determine whether to call
50162 res_init, go through the list of registered files.
50163 (main_loop_poll): The inotify descriptors are now stored in the
50164 structures for the traced files.
50165 (main_loop_epoll): Likewise
50166 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
50167 to __nss_disable_nscd.
50168 * nscd/cache.c (prune_cache): There is no single inotify descriptor
50169 for a database anymore. Check the records for all the registered
50170 files instead.
50171 * nss/Makefile (libnss_files-routines): Add files-init.
50172 (libnss_db-routines): Add db-init.
50173 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
50174 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
50175 * nss/nss_db/db-init.c: New file.
50176 * nss/nss_files/files-init.c: New file.
50177 * nss/nsswitch.c (nss_load_library): New function. Broken out of
50178 __nss_lookup_function.
50179 (__nss_lookup_function): Call nss_load_library.
50180 (nss_load_all_libraries): New function.
50181 (__nss_disable_nscd): Take parameter with callback function for files
50182 to register. Set is_nscd. Load all the DSOs for the NSS modules
50183 used for the cached services.
50184 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
50185 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
50186 options for features to all the files in nscd.
50187
50188 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
50189
50190 2011-07-10 Roland McGrath <roland@hack.frob.com>
50191
50192 * csu/elf-init.c (__libc_csu_init): Comment typo.
50193
50194 2011-07-09 Ulrich Drepper <drepper@gmail.com>
50195
50196 * po/pl.po: Update from translation team.
50197 * po/ja.po: Likewise.
50198 * po/ru.po: Likewise.
50199 * po/ko.po: Likewise.
50200 * po/fr.po: Likewise.
50201
50202 2011-07-09 Roland McGrath <roland@hack.frob.com>
50203
50204 * configure.in (.ctors/.dtors header and trailer check):
50205 Use an empirical test on a built program.
50206 * configure: Regenerated.
50207
50208 * configure.in (-z relro check): Use an empirical test on a built DSO.
50209 Detect, but do not require, on ia64.
50210 * configure: Regenerated.
50211
50212 * configure.in (READELF): Find it with AC_CHECK_TOOL.
50213 Update tests that use readelf to use $READELF instead.
50214 * configure: Regenerated.
50215
50216 2011-07-08 Ulrich Drepper <drepper@gmail.com>
50217
50218 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
50219 if the result is not used.
50220
50221 2011-07-05 Andreas Jaeger <aj@suse.de>
50222
50223 [BZ#9696]
50224 * stdlib/tst-strtod.c: Add testcase.
50225
50226 2011-07-07 Ulrich Drepper <drepper@gmail.com>
50227
50228 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
50229 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
50230 The latter has a higher limit. Take additional parameter to pass to
50231 the new function.
50232 (__pathconf): Pass file to __statfs_link_max.
50233 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
50234 __statfs_link_max.
50235 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
50236 __statfs_link_max.
50237
50238 [BZ #12868]
50239 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
50240 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
50241 Handle Lustre.
50242 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
50243 (__statfs_filesize_max): Likewise.
50244 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
50245
50246 2011-07-05 Andreas Jaeger <aj@suse.de>
50247
50248 * resolv/res_comp.c (dn_skipname): Remove unused variable.
50249
50250 2011-07-06 Marek Polacek <mpolacek@redhat.com>
50251
50252 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
50253 `status' variable.
50254 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
50255 Likewise.
50256
50257 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
50258
50259 * Makefile (strop-tests): Add strncat.
50260 * string/test-strncat.c: New file.
50261
50262 2011-06-30 Marek Polacek <mpolacek@redhat.com>
50263
50264 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
50265
50266 2011-06-21 Andreas Jaeger <aj@suse.de>
50267
50268 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
50269 Copy rule from iconvdata/Makefile.
50270
50271 2011-07-06 Ulrich Drepper <drepper@gmail.com>
50272
50273 [BZ #12922]
50274 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
50275 but no long options are defined, just return 'W'.
50276
50277 2011-06-22 Marek Polacek <mpolacek@redhat.com>
50278
50279 [BZ #9696]
50280 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
50281
50282 2011-07-06 Ulrich Drepper <drepper@gmail.com>
50283
50284 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
50285 netgroups to read.
50286 (innetgr): Likewise.
50287
50288 2011-07-05 Roland McGrath <roland@hack.frob.com>
50289
50290 * config.make.in (install_root): Default to $(DESTDIR).
50291
50292 2011-07-05 Ulrich Drepper <drepper@gmail.com>
50293
50294 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
50295
50296 2011-07-02 Roland McGrath <roland@hack.frob.com>
50297
50298 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
50299
50300 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
50301 containing directory rather than embedding absolute directory names.
50302
50303 * scripts/check-local-headers.sh: Rewritten using awk.
50304 Match by word, not by line. Print error messages for matches.
50305 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
50306
50307 * Makerules [shlib-lds-flags empty]:
50308 ($(common-objpfx)libc_pic.opts): New target.
50309 ($(common-objpfx)libc_pic.os.clean): New target.
50310 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
50311
50312 * config.make.in (OBJCOPY): New variable.
50313 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
50314 * configure: Regenerated.
50315
50316 * config.make.in (use-default-link): New variable.
50317 * configure.in (use_default_link): Grok --with-default-link to set it.
50318 * configure: Regenerated.
50319 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
50320 (shlib-lds, shlib-lds-flags): Define to empty.
50321
50322 * Makerules (shlib-lds): New variable.
50323 (shlib-lds-flags): New variable.
50324 (build-shlib, build-moduile, build-module-asneeded): Use it.
50325 ($(common-objpfx)libc.so): Use $(shlib-lds).
50326 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
50327 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
50328
50329 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
50330 DT_FLAGS/DT_FLAGS_1 with zero flags.
50331
50332 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
50333 linker script munging.
50334
50335 2011-07-02 Ulrich Drepper <drepper@gmail.com>
50336
50337 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
50338 as 128-bit value.
50339 * crypt/sha512.c (sha512_process_block): Perform total addition using
50340 128-bit if possible.
50341 (__sha512_finish_ctx): Likewise.
50342 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
50343 as 64-bit value.
50344 * crypt/sha256.c (SWAP64): Define.
50345 (sha256_process_block): Perform total addition using 64-bit if
50346 possible.
50347 (__sha256_finish_ctx): Likewise.
50348
50349 2011-07-01 Ulrich Drepper <drepper@gmail.com>
50350
50351 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
50352 * nscd/initgrcache.c (addinitgroupsX): Likewise.
50353 * nscd/hstcache.c (cache_addhst): Likewise.
50354 * nscd/grpcache.c (cache_addgr): Likewise.
50355 * nscd/aicache.c (addhstaiX): Likewise
50356 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
50357
50358 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
50359
50360 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
50361 * nscd/initgrcache.c (addinitgroupsX): Likewise.
50362 * nscd/hstcache.c (cache_addhst): Likewise.
50363 * nscd/grpcache.c (cache_addgr): Likewise.
50364 * nscd/aicache.c (addhstaiX): Likewise
50365
50366 2011-07-01 Andreas Schwab <schwab@redhat.com>
50367
50368 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
50369 domain only when needed.
50370
50371 2011-06-30 Andreas Schwab <schwab@redhat.com>
50372
50373 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
50374 is always restored.
50375
50376 2011-06-29 Ulrich Drepper <drepper@gmail.com>
50377
50378 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
50379 are re-adding the entry.
50380 * nscd/servicescache.c (cache_addserv): Likewise.
50381
50382 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
50383
50384 * sysdeps/generic/dl-irel.h: fix protection against multiple
50385 inclusions.
50386 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
50387
50388 2011-06-28 Ulrich Drepper <drepper@gmail.com>
50389
50390 [BZ #12935]
50391 * malloc/memusage.sh: Fix quoting in message.
50392 * debug/xtrace.sh: Likewise.
50393
50394 * configure.in: Remove support for --experimental-malloc option, make
50395 it the default.
50396 * config.make.in: Likewise.
50397 * malloc/Makefile: Likewise.
50398
50399 2011-06-27 Andreas Schwab <schwab@redhat.com>
50400
50401 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
50402 two-byte characters.
50403
50404 2011-06-27 Roland McGrath <roland@hack.frob.com>
50405
50406 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
50407 AC_CACHE_CHECK invocation.
50408 * configure: Regenerated.
50409
50410 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
50411
50412 2011-06-27 Ulrich Drepper <drepper@gmail.com>
50413
50414 [BZ #12350]
50415 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
50416 bit from old_res_options.
50417
50418 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
50419
50420 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
50421 value type for setfct.
50422
50423 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
50424
50425 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
50426 __gettimeofday instead of gettimeofday.
50427
50428 2011-06-26 Ulrich Drepper <drepper@gmail.com>
50429
50430 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
50431
50432 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
50433
50434 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
50435
50436 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
50437 info.
50438
50439 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
50440
50441 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
50442 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
50443 strcpy-sse2-unaligned strncpy-sse2-unaligned
50444 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
50445 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
50446 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
50447 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
50448 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
50449 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
50450 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
50451 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
50452 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
50453 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
50454 (STRCPY): Support SSE2 and SSSE3 versions.
50455
50456 2011-06-24 Ulrich Drepper <drepper@gmail.com>
50457
50458 [BZ #12874]
50459 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
50460 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
50461 kernels which artificially limit size of requests.
50462
50463 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
50464
50465 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
50466 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
50467 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
50468 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
50469 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
50470 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
50471 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
50472 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
50473 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
50474 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
50475 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
50476 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
50477 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
50478 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
50479 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
50480 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
50481 Enable unaligned load optimization for Intel Core i3, i5 and i7
50482 processors.
50483 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
50484 Define.
50485 (index_Fast_Unaligned_Load): Define.
50486 (HAS_FAST_UNALIGNED_LOAD): Define.
50487
50488 2011-06-23 Marek Polacek <mpolacek@redhat.com>
50489
50490 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
50491
50492 2011-06-22 Ulrich Drepper <drepper@gmail.com>
50493
50494 [BZ #12907]
50495 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
50496 until it is clear that the information is realy needed.
50497 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
50498
50499 2011-06-22 Andreas Schwab <schwab@redhat.com>
50500
50501 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
50502
50503 2011-06-22 Ulrich Drepper <drepper@gmail.com>
50504
50505 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
50506 /sys/devices/system/cpu/online if it is usable.
50507
50508 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
50509 reading the information from the /proc filesystem to once a second.
50510
50511 2011-06-21 Andreas Jaeger <aj@suse.de>
50512
50513 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
50514 NULL after inclusion of kernel headers.
50515
50516 2011-06-21 Ulrich Drepper <drepper@gmail.com>
50517
50518 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
50519 calls to internal_setent.
50520
50521 [BZ #12885]
50522 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
50523 addresses using gethostbyname4_r ignore IPv4 addresses.
50524
50525 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
50526 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
50527
50528 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
50529
50530 2011-06-20 David S. Miller <davem@davemloft.net>
50531
50532 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
50533 inclusions.
50534 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
50535
50536 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
50537 (elf_irel): Use it.
50538 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
50539 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
50540 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
50541 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
50542 * sysdeps/x86_64/dl-irel.h: Likewise.
50543
50544 * elf/dl-runtime.c: Use elf_ifunc_invoke.
50545 * elf/dl-sym.c: Likewise.
50546
50547 2011-06-15 Ulrich Drepper <drepper@gmail.com>
50548
50549 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
50550 need to dereference resplen2.
50551
50552 2011-06-14 Andreas Schwab <schwab@redhat.com>
50553
50554 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
50555
50556 2011-06-15 Ulrich Drepper <drepper@gmail.com>
50557
50558 * Makeconfig: Define vardbdir and inst_vardbdir.
50559 * nss/Makefile: Add rules to install db-Makefile.
50560
50561 * nss/nss_db/db-XXX.c: Cleanup.
50562
50563 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
50564 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
50565 GLIBC_PRIVATE.
50566 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
50567 * nss/makedb.c: Implement -g option to specify that value strings
50568 are generated and should not be added to table iterated over for
50569 get*ent calls.
50570 * nss/nss_db/db-initgroups.c: New file.
50571
50572 * nss/getent.c: Add support for initgroups lookups through getgrouplist
50573 interface.
50574
50575 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
50576 (internal_getgrouplist): Adjust to name change.
50577 Update use_initgroups_entry if this is not the first call.
50578 * nss/databases.def: Add initgroups entry.
50579
50580 * nss/makedb.c (compute_tables): Check result of multiple hash table
50581 sizes to minimize maximum chain length.
50582
50583 2011-06-14 Ulrich Drepper <drepper@gmail.com>
50584
50585 * Versions.def: Add entry for libnss_db.
50586 * shlib-versions: Likewise.
50587 * nss/Makefile: Add rules to build libnss_db.
50588 * nss/Versions: Add libnss_db information. Organize libnss_files
50589 entries better.
50590 * nss/db-Makefile: Add gshadow support. Change rules for the new
50591 makedb progra. Some minor improvements to generate smaller files.
50592 * nss/nss_db/nss_db.h: Move NSS database header data structures to
50593 here from...
50594 * nss/makedb.c: ...here.
50595 Improve database format to be smaller and require less memory at
50596 runtime.
50597 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
50598 db anymore.
50599 * nss/nss_db/db-netgrp.c: Likewise.
50600 * nss/nss_db/db-open.c: Likewise.
50601 * nss/nss_files/flies-XXX.x: Adjust comments.
50602 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
50603 * nss/nss_files/files-grp.c: Likewise.
50604 * nss/nss_files/files-hosts.c: Likewise.
50605 * nss/nss_files/files-network.c: Likewise.
50606 * nss/nss_files/files-proto.c: Likewise.
50607 * nss/nss_files/files-pwd.c: Likewise.
50608 * nss/nss_files/files-rpc.c: Likewise.
50609 * nss/nss_files/files-service.c: Likewise.
50610 * nss/nss_files/files-sgrp.c: Likewise.
50611 * nss/nss_files/files-spwd.c: Likewise.
50612 * nss/nss_db/db-alias.c: Removed.
50613 * nss/nss_db/dummy-db.h: Removed.
50614
50615 2011-06-02 Ulrich Drepper <drepper@gmail.com>
50616
50617 * nss/makedb.c: Rewritten to not use database library.
50618 * nss/Makefile: Update to build new makedb program.
50619
50620 2011-06-14 Andreas Jaeger <aj@suse.de>
50621
50622 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
50623 memset declaration.
50624
50625 2011-06-10 Andreas Schwab <schwab@redhat.com>
50626
50627 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
50628 tmpbuf.
50629
50630 2011-06-10 Roland McGrath <roland@hack.frob.com>
50631
50632 * Makerules (shlib.lds): Fail if the linker script comes out empty.
50633 * elf/Makefile ($(objpfx)ld.so): Likewise.
50634
50635 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
50636 Don't list ld.so twice in dependencies.
50637
50638 * posix/bug-regex31.c: Include <stdlib.h>.
50639
50640 * nscd/hstcache.c (cache_addhst): Remove unused variable.
50641
50642 * nis/nss_compat/compat-spwd.c
50643 (getspent_next_nss_netgr): Remove unused variable.
50644 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
50645
50646 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
50647 nonmembers" output to use the right array.
50648
50649 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
50650
50651 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
50652
50653 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
50654 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
50655 * catgets/gencat.c (read_input_file): Likewise.
50656 * locale/programs/locarchive.c (enlarge_archive): Likewise.
50657
50658 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
50659 variable definition inside #if's controlling its use.
50660
50661 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
50662
50663 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
50664
50665 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
50666
50667 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
50668 unreachable code.
50669
50670 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
50671
50672 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
50673 * configure: Regenerated.
50674
50675 * Makerules: Revert last change.
50676 * elf/Makefile: Likewise.
50677
50678 2011-06-09 Roland McGrath <roland@hack.frob.com>
50679
50680 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
50681 * elf/Makefile ($(objpfx)librtld.os): Likewise.
50682 (reloc-link): Likewise.
50683
50684 2011-06-09 Ulrich Drepper <drepper@gmail.com>
50685
50686 * elf/Makefile: Add rules to build pldd.
50687 * elf/pldd.c: New file.
50688 * elf/pldd-xx.c: New file.
50689
50690 2011-06-07 Ulrich Drepper <drepper@gmail.com>
50691
50692 * version.h: Update for 2.15 development version.
50693
50694 2011-06-07 David S. Miller <davem@davemloft.net>
50695
50696 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
50697 ifuncs.
50698 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
50699 elf_machine_lazy_rel): Likewise.
50700 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
50701 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
50702 elf_machine_lazy_rel): Likewise.
50703 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
50704 dl_hwcap via passed in argument.
50705 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
50706 Likewise.
50707
50708 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
50709
50710 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
50711
50712 2011-06-06 Roland McGrath <roland@hack.frob.com>
50713
50714 [BZ #12849]
50715 * manual/fdl-1.1.texi: New file, verbatim from:
50716 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
50717 * manual/lgpl-2.1.texi: New file, verbatim from:
50718 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
50719 * manual/Makefile (licenses): New variable, list those new file names.
50720 (texis): Use it.
50721 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
50722
50723 * manual/fdl.texi: File removed.
50724 * manual/lesser.texi: File removed.
50725 * manual/libc.texinfo (Copying, Documentation License):
50726 Use new @include file names, put @appendix directive before @include.
50727
50728 2011-06-04 Jakub Jelinek <jakub@redhat.com>
50729
50730 [BZ #12841]
50731 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
50732 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
50733 (mq_open): Add __NTH.
50734
50735 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
50736
50737 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
50738 Assume Intel Core i3/i5/i7 processor if AVX is available.
50739
50740 2011-05-31 Ulrich Drepper <drepper@gmail.com>
50741
50742 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
50743 typo.
50744
50745 2011-05-31 Andreas Schwab <schwab@redhat.com>
50746
50747 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
50748 memory. Use alloca_account. Fix memory leak when retrying.
50749
50750 2011-05-31 Ulrich Drepper <drepper@gmail.com>
50751
50752 * version.h (RELEASE): Bump for 2.14 release.
50753 * include/features.h (__GLIBC_MINOR__): Bump to 14.
50754
50755 * config.make.in (RANLIB): Remove entry.
50756
50757 2011-05-30 Ulrich Drepper <drepper@gmail.com>
50758
50759 * po/Makefile (po-sed-cmd): Add ksh to extensions.
50760 (libc.pot): Work around missing support for .ksh extension in xgettext.
50761
50762 [BZ #12684]
50763 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
50764 if both request failed.
50765 (send_dg): In case of server errors clear resplen or *resplen2.
50766
50767 [BZ #12454]
50768 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
50769 when there are multiple maps.
50770 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
50771 (_dl_fini): Remove test here.
50772
50773 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
50774
50775 2011-05-29 Ulrich Drepper <drepper@gmail.com>
50776
50777 [BZ #12350]
50778 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
50779 bit from old_res_options.
50780 (gaih_inet): Likewise.
50781
50782 [BZ #11099]
50783 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
50784 as signed.
50785
50786 * resolv/res_init.c (res_setoptions): Make the code more compact.
50787
50788 [BZ #11558]
50789 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
50790 set RES_USEVC.
50791
50792 [BZ #11634]
50793 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
50794
50795 * malloc/malloc.h: Mark malloc hook variables as deprecated.
50796
50797 [BZ #11781]
50798 * malloc/malloc.h: Declare malloc hook variables as volatile.
50799
50800 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
50801 in last patch.
50802
50803 [BZ #11799]
50804 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
50805 raise in the comment.
50806 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
50807 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
50808 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
50809
50810 2011-05-28 Ulrich Drepper <drepper@gmail.com>
50811
50812 [BZ #12811]
50813 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
50814 grow the buffers more if it already has to be sufficient.
50815 (build_wcs_upper_buffer): Likewise.
50816 * posix/regexec.c (check_matching): Likewise.
50817 (clean_state_log_if_needed): Likewise.
50818 (extend_buffers): Don't enlarge buffers beyond size of the input
50819 buffer.
50820 Patches mostly by Emil Wojak <emil@wojak.eu>.
50821 * posix/bug-regex32.c: New file.
50822 * posix/Makefile (tests): Add bug-regex32.
50823
50824 * locale/findlocale.c (_nl_find_locale): Return right away if
50825 _nl_explode_name failed.
50826 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
50827
50828 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
50829
50830 * debug/xtrace.sh: Unify messages.
50831 * malloc/memusage.sh: Likewise.
50832
50833 [BZ #12813]
50834 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
50835 time symbol from vDSO. Substitute with vsyscall if not available.
50836 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
50837 __vdso_time.
50838
50839 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
50840 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
50841 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
50842 Add sendmmsg and internal_sendmmsg.
50843 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
50844 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
50845 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
50846
50847 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
50848 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
50849 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
50850
50851 2011-05-27 Ulrich Drepper <drepper@gmail.com>
50852
50853 [BZ #12813]
50854 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
50855 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
50856 available.
50857 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
50858 __vdso_getcpu.
50859
50860 [BZ #12814]
50861 * iconvdata/Makefile (tests): Add bug-iconv9.
50862 * iconvdata/bug-iconv9.c: New file.
50863
50864 2011-05-27 Andreas Schwab <schwab@redhat.com>
50865
50866 [BZ #12814]
50867 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
50868
50869 2011-05-25 Jakub Jelinek <jakub@redhat.com>
50870
50871 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
50872 (struct user_regs_struct): Change intcs field back to cs.
50873
50874 2011-05-25 Ulrich Drepper <drepper@gmail.com>
50875
50876 * po/ja.po: Update from translation team.
50877
50878 2011-05-23 Ulrich Drepper <drepper@gmail.com>
50879
50880 [BZ #12795]
50881 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
50882 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
50883
50884 2011-05-20 Andreas Schwab <schwab@redhat.com>
50885
50886 * stdlib/longlong.h: Update from GCC.
50887
50888 2011-05-23 Andreas Schwab <schwab@redhat.com>
50889
50890 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
50891 parameter name.
50892 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
50893 Add parameter name.
50894 (__sysconf): Pass it down.
50895
50896 2011-05-22 Ulrich Drepper <drepper@gmail.com>
50897
50898 [BZ #12671]
50899 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
50900 some situations.
50901 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
50902 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
50903 add in in __libc_use_alloca calls. Adjust callers.
50904 (glob): Use malloc in some situations.
50905
50906 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
50907 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
50908 pltexit.
50909
50910 2011-05-21 Ulrich Drepper <drepper@gmail.com>
50911
50912 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
50913 and CLOCK_BOOTTIME_ALARM.
50914
50915 [BZ #12782]
50916 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
50917 is returned.
50918
50919 * string/_strerror.c (__strerror_r): Print negative errors as signed
50920 numbers.
50921
50922 [BZ #12777]
50923 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
50924 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
50925 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
50926
50927 * configure.in: Fix typo in redirection and correct removal of test
50928 files in two cases.
50929
50930 [BZ #12788]
50931 * locale/setlocale.c (new_composite_name): Fix test to check for
50932 identical name of all categories.
50933
50934 [BZ #12792]
50935 * libio/filedoalloc.c (local_isatty): New function.
50936 (_IO_file_doallocate): Use local_isatty.
50937 * stdio-common/perror.c (perror): In case a new stream is used
50938 forward the stream error.
50939 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
50940 error flag.
50941
50942 2011-05-20 Ulrich Drepper <drepper@gmail.com>
50943
50944 [BZ #11869]
50945 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
50946 alloca.
50947 * include/alloca.h (extend_alloca_account): Define.
50948
50949 [BZ #11857]
50950 * posix/regex.h: Fix comments with documentation of user-accessible
50951 fields after compilation and describe correct free'ing of pattern
50952 after re_compile_pattern.
50953 Patch by Reuben Thomas <rrt@sc3d.org>.
50954
50955 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
50956
50957 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
50958 and -mno-altivec to prevent the compiler from using Altivec and/or
50959 VSX instructions when the corresponding registers are not available.
50960
50961 2011-05-19 Andreas Schwab <schwab@redhat.com>
50962
50963 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
50964
50965 2011-05-19 Ulrich Drepper <drepper@gmail.com>
50966
50967 * libio/freopen.c (freopen): Use __dup2, not dup2.
50968 * libio/freopen64.c (freopen64): Likewise.
50969
50970 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
50971
50972 [BZ #12775]
50973 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
50974 * math/Makefile (tests): Add test-powl.
50975 (CFLAGS-test-powl.c): Define.
50976 * math/test-powl.c: New file.
50977
50978 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
50979
50980 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
50981
50982 2011-05-17 Ulrich Drepper <drepper@gmail.com>
50983
50984 [BZ #11837]
50985 * iconvdata/gb18030.c: Update to GB18020-2005.
50986
50987 2011-05-16 Ulrich Drepper <drepper@gmail.com>
50988
50989 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
50990 RE_SYNTAX_POSIX_AWK): Update to match recent development.
50991 Patch by Aharon Robbins <arnold@skeeve.com>.
50992
50993 [BZ #11892]
50994 * stdlib/putenv.c (putenv): Don't always create copy of the variable
50995 on the stack.
50996
50997 [BZ #11895]
50998 * misc/pselect.c (__pselect): Handle timeout value errors hidden
50999 through underflows.
51000
51001 [BZ #12766]
51002 * misc/error.c (error_at_line): Ensure file_name and old_file_name
51003 point to strings before performing equality test for error_one_per_line
51004 mode.
51005
51006 [BZ #11697]
51007 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
51008
51009 [BZ #11820]
51010 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
51011 (struct user_fpregs_struct): Avoid __uint*_t types.
51012
51013 [BZ #6420]
51014 * malloc/mtrace.c (tr_where): Add additional parameter to point to
51015 symbol info. Use it instead of calling _dl_addr locally.
51016 (lock_and_info): New function.
51017 (tr_freehook): Call lock_and_info and pass symbol info as additional
51018 parameter to tr_where.
51019 (tr_mallochook): Likewise.
51020 (tr_reallochook): Likewise.
51021 (tr_memalignhook): Likewise.
51022
51023 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
51024 used and couldn't be at all thread-safe.
51025
51026 2011-05-15 Ulrich Drepper <drepper@gmail.com>
51027
51028 * libio/freopen.c (freopen): Don't close old file descriptor
51029 before the new one is opened. Instead dup the new file descriptor
51030 to the old one after the new stream is created.
51031 * libio/freopen64.c (freopen64): Likewise.
51032 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
51033 * libio/fileops.c (_IO_new_file_close_it): Handle new
51034 _IO_FLAGS2_NOCLOSE flag.
51035 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
51036 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
51037 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
51038 _IO_FLAGS2_NOCLOSE flag.
51039 * include/unistd.h: Add hidden_proto for dup3.
51040 Define __have_dup3.
51041 * io/dup3.c: Define hidden symbol.
51042 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
51043
51044 [BZ #7101]
51045 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
51046 when an incomplete long option is used.
51047 * posix/tst-getopt_long1.c: New file.
51048 * posix/Makefile (tests): Add tst-getopt_long1.
51049
51050 [BZ #10138]
51051 * scripts/config.guess: Update from autoconf-2.68.
51052 * scripts/config.sub: Likewise.
51053
51054 [BZ #10157]
51055 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
51056 tests into ...
51057 (has_cpuclock): ...this. New function.
51058 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
51059 macro here based on has_cpuclock code.
51060
51061 [BZ #10149]
51062 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
51063 First byte (not low byte) is now always NUL.
51064 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
51065
51066 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
51067 Use non-cancelable interfaces.
51068
51069 [BZ #9809]
51070 * locale/iso-639.def: Add entry for Sorani.
51071
51072 [BZ #11901]
51073 * include/stdlib.h: Move include protection to the right place.
51074 Define abort_msg_s. Declare __abort_msg with it.
51075 * stdlib/abort.c (__abort_msg): Adjust type.
51076 * assert/assert.c (__assert_fail_base): New function. Majority
51077 of code from __assert_fail. Allocate memory for __abort_msg with
51078 mmap.
51079 (__assert_fail): Now call __assert_fail_base.
51080 * assert/assert-perr.c: Remove bulk of implementation. Use
51081 __assert_fail_base.
51082 * include/assert.hL Declare __assert_fail_base.
51083 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
51084 mmap.
51085 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
51086
51087 2011-05-14 Ulrich Drepper <drepper@gmail.com>
51088
51089 [BZ #11952]
51090 [BZ #12453]
51091 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
51092 until all modules are registered in the DTV.
51093 * elf/Makefile: Add rules to build and run tst-tls19.
51094 * elf/tst-tls19.c: New file.
51095 * elf/tst-tls19mod1.c: New file.
51096 * elf/tst-tls19mod2.c: New file.
51097 * elf/tst-tls19mod3.c: New file.
51098 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
51099
51100 [BZ #12083]
51101 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
51102 correctly.
51103
51104 [BZ #12601]
51105 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
51106 two-byte sequence errors.
51107 * iconvdata/Makefile (tests): Add bug-iconv8.
51108 * iconvdata/bug-iconv8.c: New file.
51109
51110 [BZ #12626]
51111 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
51112 buf2 definition.
51113
51114 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
51115
51116 [BZ #12432]
51117 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
51118 (dummy_getcfa): New function.
51119 (init): Get _Unwind_GetCFA address, use dummy if not found.
51120 (backtrace_helper): In recursion check, also check whether CFA changes.
51121 (__backtrace): Completely initialize arg.
51122
51123 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
51124 storing incomplete byte sequence in state object. Avoid testing for
51125 guaranteed too small input if we know there is enough data available.
51126
51127 2011-05-11 Andreas Schwab <schwab@redhat.com>
51128
51129 * Makeconfig (+link-pie): Indent.
51130 * Rules (binaries-pie): Define if $(have-fpie) and
51131 $(build-shared).
51132 (binaries-shared): Also filter out $(binaries-pie).
51133 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
51134 * nscd/Makefile (others-pie): Add nscd.
51135 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
51136 ($(objpfx)nscd): Remove command override.
51137 * login/Makefile (others-pie): Add pt_chown.
51138 ($(objpfx)pt_chown): Remove command override.
51139 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
51140 remove command overrides.
51141
51142 2011-05-13 Ulrich Drepper <drepper@gmail.com>
51143
51144 * libio/tst_putwc.c: Fix error messages.
51145
51146 [BZ #12724]
51147 * libio/fileops.c (_IO_new_file_close_it): Always flush when
51148 currently writing and seek to current position when not.
51149 * libio/Makefile (tests): Add bug-fclose1.
51150 * libio/bug-fclose1.c: New file.
51151
51152 2011-05-12 Ulrich Drepper <drepper@gmail.com>
51153
51154 [BZ #12511]
51155 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
51156 don't set DF_1_NODELETE here.
51157 (do_lookup_x): When entering new entry test for copy relocation
51158 and if necessary set DF_1_NODELETE flag.
51159 * elf/tst-unique4.cc: New file.
51160 * elf/tst-unique4.h: New file.
51161 * elf/tst-unique4lib.cc: New file.
51162 * elf/Makefile: Add rules to build and run tst-unique4.
51163 Patch by Piotr Bury <pbury@goahead.com>.
51164
51165 2011-05-11 Ulrich Drepper <drepper@gmail.com>
51166
51167 [BZ #12052]
51168 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
51169
51170 [BZ #12625]
51171 * misc/mntent_r.c (addmntent): Flush the stream after the output
51172
51173 [BZ #12393]
51174 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
51175 (is_trusted_path_normalize): Skip initial colon. Append slash
51176 to empty buffer. Duplicate is_trusted_path code but allow
51177 constructed patch to be prefix.
51178 (is_dst): Allow $ORIGIN followed by /.
51179 (_dl_dst_substitute): Correct clearing of check_for_trusted.
51180 Correct testing of result of is_trusted_path_normalize
51181 (decompose_rpath): Fix warning.
51182
51183 2011-05-10 Ulrich Drepper <drepper@gmail.com>
51184
51185 [BZ #11257]
51186 * grp/initgroups.c (internal_getgrouplist): When we found the service
51187 list through the initgroups entry in nsswitch.conf do not always
51188 continue on a successful lookup. Don't always use the
51189 __nss_group_database value if it is set.
51190 * nss/nsswitch.conf (initgroups): Change action for successful db
51191 lookup to continue for compatibility.
51192
51193 2011-05-09 Ulrich Drepper <drepper@gmail.com>
51194
51195 [BZ #11532]
51196 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
51197 and CP774 modules.
51198 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
51199 and CP774 modules.
51200 * iconvdata/tst-tables.sh: Likewise.
51201 * iconvdata/cp770.c: New file.
51202 * iconvdata/cp771.c: New file.
51203 * iconvdata/cp772.c: New file.
51204 * iconvdata/cp773.c: New file.
51205 * iconvdata/cp774.c: New file.
51206 * iconvdata/testdata/CP770: New file.
51207 * iconvdata/testdata/CP770..UTF8: New file.
51208 * iconvdata/testdata/CP771: New file.
51209 * iconvdata/testdata/CP771..UTF8: New file.
51210 * iconvdata/testdata/CP772: New file.
51211 * iconvdata/testdata/CP772..UTF8: New file.
51212 * iconvdata/testdata/CP773: New file.
51213 * iconvdata/testdata/CP773..UTF8: New file.
51214 * iconvdata/testdata/CP774: New file.
51215 * iconvdata/testdata/CP774..UTF8: New file.
51216
51217 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
51218 END CHARMAP line.
51219 * iconvdata/gen-8bit-gap.sh: Likewise.
51220 * iconvdata/gen-8bit.sh: Likewise.
51221
51222 * locale/iso-639.def: Add ary entry.
51223
51224 [BZ #11258]
51225 * locale/C-translit.h.in: Add U20A1 transliteration.
51226
51227 [BZ #12178]
51228 * locale/iso-639.def: Add wae entry.
51229 Patch by Kevin Bortis <bortis@translate-wae.ch>.
51230
51231 [BZ #12545]
51232 * locale/programs/localedef.c (construct_output_path): Use ssize_t
51233 for n.
51234
51235 [BZ #12711]
51236 * locale/C-translit.h.in: Add entry for U20B9.
51237 Patch by pravin.d.s@gmail.com.
51238
51239 2011-05-08 Ulrich Drepper <drepper@gmail.com>
51240
51241 [BZ #12713]
51242 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
51243 ENAMETOOLONG use generic getcwd.
51244 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
51245 in rtld. Use *stat64.
51246 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
51247 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
51248 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
51249 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
51250 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
51251 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
51252 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
51253 __fstatat64 macros.
51254 * include/dirent.h: Add libc_hidden_proto for rewinddir.
51255 * dirent/rewinddir.c: Add libc_hidden_def.
51256 * sysdeps/mach/hurd/rewinddir.c: Likewise.
51257 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
51258
51259 * include/dirent.h (__alloc_dir): Add flags parameter.
51260 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
51261 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
51262 __alloc_dir.
51263 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
51264 from fdopendir if O_CLOEXEC is already set.
51265
51266 2011-03-15 Alan Modra <amodra@gmail.com>
51267
51268 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
51269 l_tls_firstbyte_offset non-zero. Save padding offset in
51270 l_tls_firstbyte_offset for later use.
51271 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
51272 freeing static tls block.
51273
51274 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
51275
51276 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
51277 where #ifdef was intended. The intent is to prevent ARG_MAX from
51278 being defined by the kernel headers.
51279
51280 2011-05-07 Ulrich Drepper <drepper@gmail.com>
51281
51282 [BZ #12734]
51283 * resolv/resolv.h: Define RES_NOTLDQUERY.
51284 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
51285 no-tld-query and set RES_NOTLDQUERY.
51286 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
51287 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
51288 modern BIND to search name as TLD unless forbidden.
51289
51290 2011-05-07 Petr Baudis <pasky@suse.cz>
51291 Ulrich Drepper <drepper@gmail.com>
51292
51293 [BZ #12393]
51294 * elf/dl-load.c (fillin_rpath): Move trusted path check...
51295 (is_trusted_path): ...to here.
51296 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
51297 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
51298 using is_trusted_path_normalize() in setuid scripts.
51299
51300 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
51301
51302 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
51303 __BEGIN/__END_DECLS.
51304
51305 2011-05-06 Ulrich Drepper <drepper@gmail.com>
51306
51307 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
51308 NSS_STATUS_NOTFOUND if no record was found.
51309
51310 2011-05-05 Andreas Schwab <schwab@redhat.com>
51311
51312 * sunrpc/Makefile (headers): Add rpc/netdb.h.
51313 (headers-not-in-tirpc): Remove rpc/netdb.h
51314 * resolv/netdb.h: Revert last change.
51315
51316 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
51317
51318 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
51319 circular dependency between libgcc.a and libc.a.
51320
51321 2011-05-05 Andreas Schwab <schwab@redhat.com>
51322
51323 * resolv/netdb.h: Don't include <rpc/netdb.h>.
51324 * nis/Makefile: Don't install rpcsvc/*.
51325 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
51326 instead of <rpc/types.h>.
51327 (MAXHOSTNAMELEN): Define.
51328
51329 2011-05-03 Andreas Schwab <schwab@redhat.com>
51330
51331 * elf/ldconfig.c (add_dir): Don't crash on empty path.
51332
51333 2011-04-28 Maciej Babinski <mbabinski@google.com>
51334
51335 [BZ #12714]
51336 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
51337 gethostbyname4_r when IPv6 results are possible.
51338
51339 2011-05-02 Ulrich Drepper <drepper@gmail.com>
51340
51341 [BZ #12723]
51342 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
51343 _PC_PIPE_BUF handling.
51344
51345 2011-04-30 Bruno Haible <bruno@clisp.org>
51346
51347 [BZ #12717]
51348 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
51349 * resolv/netdb.h (getnameinfo): Change type of flags parameter
51350 to 'int'.
51351 * inet/getnameinfo.c (getnameinfo): Likewise.
51352
51353 2011-04-29 Ulrich Drepper <drepper@gmail.com>
51354
51355 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
51356 to groups setting in database lookup.
51357 * nss/nsswitch.conf: Add initgroups entry.
51358
51359 2011-04-22 Ulrich Drepper <drepper@gmail.com>
51360
51361 [BZ #12685]
51362 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
51363 mode string.
51364 Patch by Eric Blake <eblake@redhat.com>.
51365
51366 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
51367
51368 * sunrpc/Makefile (need-export-routines): Add svc_run.
51369 (routines): Remove svc_run.
51370 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
51371 * sunrpc/clnt_perr.c (clnt_perrno): Export.
51372 * sunrpc/svc_run.c (svc_run): Likewise.
51373 * sunrpc/svc_udp.c (svcudp_create): Likewise.
51374
51375 2011-04-21 Ulrich Drepper <drepper@gmail.com>
51376
51377 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
51378 problem in reallocation in last patch.
51379
51380 2011-04-20 Ulrich Drepper <drepper@gmail.com>
51381
51382 * sunrpc/Makefile: Move inclusion of Rules.
51383
51384 2011-04-19 Ulrich Drepper <drepper@gmail.com>
51385
51386 * nss/nss_files/files-initgroups.c: New file.
51387 * nss/Makefile (libnss_files-routines): Add files-initgroups.
51388 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
51389 _nss_files_initgroups_dyn.
51390
51391 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
51392
51393 * elf/elf.h (R_ARM_IRELATIVE): Define.
51394
51395 2011-04-19 Ulrich Drepper <drepper@gmail.com>
51396
51397 * po/ru.po: Update from translation team.
51398
51399 2011-04-17 Ulrich Drepper <drepper@gmail.com>
51400
51401 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
51402 dependencies.
51403
51404 2011-02-06 Mike Frysinger <vapier@gentoo.org>
51405
51406 [BZ #12653]
51407 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
51408 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
51409 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
51410 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
51411 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
51412
51413 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
51414
51415 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
51416 differing bytes.
51417 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
51418 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
51419 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
51420
51421 2011-04-17 Ulrich Drepper <drepper@gmail.com>
51422
51423 [BZ #12420]
51424 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
51425 storing it.
51426 * stdlib/bug-getcontext.c: New file.
51427 * stdlib/Makefile: Add rules to build and run bug-getcontext.
51428
51429 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
51430
51431 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
51432 instructions into .machine "z9-109".
51433 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
51434 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
51435
51436 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
51437
51438 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
51439 between environment variables and auxiliary vector.
51440
51441 2011-04-16 Ulrich Drepper <drepper@gmail.com>
51442
51443 * Makefile: Add rules to build linkobj/libc.so.
51444 * include/libc-symbols.h: Define libc_hidden_nolink.
51445 * include/rpc/auth.h: Mark functions which are to be hidden.
51446 * include/rpc/auth_des.h: Likewise.
51447 * include/rpc/auth_unix.h: Likewise.
51448 * include/rpc/clnt.h: Likewise.
51449 * include/rpc/des_crypt.h: Likewise.
51450 * include/rpc/key_prot.h: Likewise.
51451 * include/rpc/pmap_clnt.h: Likewise.
51452 * include/rpc/pmap_prot.h: Likewise.
51453 * include/rpc/pmap_rmt.h: Likewise.
51454 * include/rpc/rpc_msg.h: Likewise.
51455 * include/rpc/svc.h: Likewise.
51456 * include/rpc/svc_auth.h: Likewise.
51457 * include/rpc/xdr.h: Likewise.
51458 * nis/Makefile: Link all DSOs against linkobj/libc.so.
51459 * nss/Makefile: Likewise.
51460 * sunrpc/Makefile: Don't install headers. Build library with normal
51461 entry points. Don't build rpcinfo. Link RPC tests appropriately.
51462 * sunrpc/auth_des.c: Hide exported symbols by default, export some
51463 for the compat linking library. Remove use of INTDEF/INTUSE.
51464 * sunrpc/auth_none.c: Likewise.
51465 * sunrpc/auth_unix.c: Likewise.
51466 * sunrpc/authdes_prot.c: Likewise.
51467 * sunrpc/authuxprot.c: Likewise.
51468 * sunrpc/clnt_gen.c: Likewise.
51469 * sunrpc/clnt_perr.c: Likewise.
51470 * sunrpc/clnt_raw.c: Likewise.
51471 * sunrpc/clnt_simp.c: Likewise.
51472 * sunrpc/clnt_tcp.c: Likewise.
51473 * sunrpc/clnt_udp.c: Likewise.
51474 * sunrpc/clnt_unix.c: Likewise.
51475 * sunrpc/des_crypt.c: Likewise.
51476 * sunrpc/des_soft.c: Likewise.
51477 * sunrpc/get_myaddr.c: Likewise.
51478 * sunrpc/key_call.c: Likewise.
51479 * sunrpc/key_prot.c: Likewise.
51480 * sunrpc/netname.c: Likewise.
51481 * sunrpc/pm_getmaps.c: Likewise.
51482 * sunrpc/pm_getport.c: Likewise.
51483 * sunrpc/pmap_clnt.c: Likewise.
51484 * sunrpc/pmap_prot.c: Likewise.
51485 * sunrpc/pmap_prot2.c: Likewise.
51486 * sunrpc/pmap_rmt.c: Likewise.
51487 * sunrpc/publickey.c: Likewise.
51488 * sunrpc/rpc_cmsg.c: Likewise.
51489 * sunrpc/rpc_common.c: Likewise.
51490 * sunrpc/rpc_dtable.c: Likewise.
51491 * sunrpc/rpc_prot.c: Likewise.
51492 * sunrpc/rpc_thread.c: Likewise.
51493 * sunrpc/rtime.c: Likewise.
51494 * sunrpc/svc.c: Likewise.
51495 * sunrpc/svc_auth.c: Likewise.
51496 * sunrpc/svc_authux.c: Likewise.
51497 * sunrpc/svc_raw.c: Likewise.
51498 * sunrpc/svc_run.c: Likewise.
51499 * sunrpc/svc_simple.c: Likewise.
51500 * sunrpc/svc_tcp.c: Likewise.
51501 * sunrpc/svc_udp.c: Likewise.
51502 * sunrpc/svc_unix.c: Likewise.
51503 * sunrpc/svcauth_des.c: Likewise.
51504 * sunrpc/xcrypt.c: Likewise.
51505 * sunrpc/xdr.c: Likewise.
51506 * sunrpc/xdr_array.c: Likewise.
51507 * sunrpc/xdr_float.c: Likewise.
51508 * sunrpc/xdr_intXX_t.c: Likewise.
51509 * sunrpc/xdr_mem.c: Likewise.
51510 * sunrpc/xdr_rec.c: Likewise.
51511 * sunrpc/xdr_ref.c: Likewise.
51512 * sunrpc/xdr_sizeof.c: Likewise.
51513 * sunrpc/xdr_stdio.c: Likewise.
51514
51515 2011-04-10 Ulrich Drepper <drepper@gmail.com>
51516
51517 [BZ #12650]
51518 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
51519 * sysdeps/ia64/dl-tls.h: Likewise.
51520 * sysdeps/powerpc/dl-tls.h: Likewise.
51521 * sysdeps/s390/dl-tls.h: Likewise.
51522 * sysdeps/sh/dl-tls.h: Likewise.
51523 * sysdeps/sparc/dl-tls.h: Likewise.
51524 * sysdeps/x86_64/dl-tls.h: Likewise.
51525 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
51526
51527 2011-03-14 Andreas Schwab <schwab@redhat.com>
51528
51529 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
51530 rpath element also skip the following colon.
51531 (expand_dynamic_string_token): Add is_path parameter and pass
51532 down to DL_DST_REQUIRED and _dl_dst_substitute.
51533 (decompose_rpath): Call expand_dynamic_string_token with
51534 non-zero is_path. Ignore empty rpaths.
51535 (_dl_map_object_from_fd): Call expand_dynamic_string_token
51536 with zero is_path.
51537
51538 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
51539
51540 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
51541 Make cancelable.
51542
51543 2011-04-09 Ulrich Drepper <drepper@gmail.com>
51544
51545 [BZ #12655]
51546 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
51547 Patch by Filipe David Manana <fdmanana@apache.org>.
51548
51549 2011-04-07 Andreas Schwab <schwab@redhat.com>
51550
51551 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
51552 Maintain aligned stack.
51553 (CHECK_RSP): Remove unused macro.
51554
51555 2011-04-03 Ulrich Drepper <drepper@gmail.com>
51556
51557 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
51558 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
51559
51560 2011-04-02 Ulrich Drepper <drepper@gmail.com>
51561
51562 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
51563
51564 * include/features.h: Mention __USE_XOPEN2K8 in comment.
51565
51566 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
51567
51568 [BZ #12518]
51569 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
51570 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
51571 * sysdeps/x86_64/memmove.c: New file.
51572 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
51573 (memcpy): Renamed to ...
51574 (__new_memcpy): This.
51575 (memcpy): Provide GLIBC_2_14 memcpy.
51576 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
51577 (memcpy): Provide GLIBC_2_2_5 memcpy.
51578
51579 2011-04-01 Ulrich Drepper <drepper@gmail.com>
51580
51581 [BZ #12631]
51582 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
51583
51584 2011-03-30 Andreas Schwab <schwab@redhat.com>
51585
51586 * misc/syncfs.c: New file.
51587 * misc/Makefile (routines): Add syncfs.
51588 * posix/unistd.h: Declare syncfs.
51589 * sysdeps/unix/syscalls.list: Add syncfs.
51590
51591 2011-04-01 Andreas Schwab <schwab@redhat.com>
51592
51593 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
51594 open_by_handle_at.
51595 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
51596 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
51597 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
51598 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
51599 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
51600 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
51601 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
51602
51603 2011-04-01 Ulrich Drepper <drepper@gmail.com>
51604
51605 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
51606 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
51607 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
51608 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
51609 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
51610 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
51611 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
51612
51613 * io/Makefile: Compile fallocate.c, fallocate64.c, and
51614 sync_file_range.c with -fexceptions.
51615 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
51616 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
51617 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
51618 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
51619 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
51620 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
51621 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
51622 sync_file_range as cancellation point
51623 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
51624 now a wrapper around __call_sync_file_range with cancellation handling.
51625 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
51626 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
51627 function name to __call_sync_file_range.
51628 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
51629 Add call_sync_file_range.
51630
51631 2011-04-01 Andreas Schwab <schwab@redhat.com>
51632
51633 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
51634 bits/timex.h.
51635
51636 2011-04-01 Ulrich Drepper <drepper@gmail.com>
51637
51638 * iconv/iconv.h: Fix typo in comment.
51639 * io/fcntl.h: Likewise.
51640 * libio/stdio.h: Likewise.
51641 * posix/spawn.h: Likewise.
51642 * posix/unistd.h: Likewise.
51643 * stdlib/stdlib.h: Likewise.
51644 * time/time.h: Likewise.
51645 * wcsmbs/wchar.h: Likewise.
51646
51647 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
51648 open_by_handle): Add.
51649 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
51650 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
51651 Augment a few comments.
51652 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
51653 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
51654 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
51655 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
51656 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
51657 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
51658 open_by_handle.
51659
51660 * io/fcntl.h (AT_EMPTY_PATH): Define.
51661
51662 2011-03-30 Ulrich Drepper <drepper@gmail.com>
51663
51664 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
51665 * sysdeps/unix/sysv/linux/bits/time.h: New file.
51666 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
51667 to...
51668 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
51669 * Versions.def: Add GLIBC_2.14.
51670 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
51671 Export.
51672
51673 2011-03-22 Ulrich Drepper <drepper@gmail.com>
51674
51675 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
51676 round counter.
51677 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
51678
51679 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
51680
51681 [BZ #12597]
51682 * string/test-strncmp.c (do_page_test): New function.
51683 (check2): Likewise.
51684 (test_main): Call check2.
51685 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
51686
51687 2011-03-20 Ulrich Drepper <drepper@gmail.com>
51688
51689 [BZ #12587]
51690 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
51691 Handle cache information in CPU leaf 4.
51692 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
51693
51694 2011-03-18 Ulrich Drepper <drepper@gmail.com>
51695
51696 [BZ #12583]
51697 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
51698 character representation.
51699 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
51700
51701 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
51702
51703 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
51704 END(__isnan) to END(__isnanf) to match function entry point/label
51705 EALIGN(__isnanf,...).
51706
51707 2011-03-10 Jakub Jelinek <jakub@redhat.com>
51708
51709 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
51710
51711 2011-03-10 Ulrich Drepper <drepper@gmail.com>
51712
51713 [BZ #12510]
51714 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
51715 copy from the symbol referenced in the relocation to initialize the
51716 used variable.
51717 Patch by Piotr Bury <pbury@goahead.com>.
51718 * elf/Makefile: Add rules to build and tst-unique3.
51719 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
51720 * elf/tst-unique3.cc: New file.
51721 * elf/tst-unique3.h: New file.
51722 * elf/tst-unique3lib.cc: New file.
51723 * elf/tst-unique3lib2.cc: New file.
51724
51725 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
51726
51727 2011-03-10 Mike Frysinger <vapier@gentoo.org>
51728
51729 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
51730 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
51731 to _start.
51732
51733 2011-03-06 Ulrich Drepper <drepper@gmail.com>
51734
51735 * elf/dl-load.c (_dl_map_object): If we are looking for the first
51736 to-be-loaded object along a path to loader is ld.so.
51737
51738 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
51739 Ulrich Drepper <drepper@gmail.com>
51740
51741 * sysdeps/x86_64/memset.S: After aligning destination, code
51742 branches to different locations depending on the value of
51743 misalignment, when multiarch is enabled. Fix this.
51744
51745 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
51746
51747 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
51748 Set _x86_64_preferred_memory_instruction for AMD processsors.
51749 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
51750 Set bit_Prefer_SSE_for_memop for AMD processors.
51751
51752 2011-03-04 Ulrich Drepper <drepper@gmail.com>
51753
51754 * libio/fmemopen.c (fmemopen): Optimize a bit.
51755
51756 2011-03-03 Andreas Schwab <schwab@redhat.com>
51757
51758 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
51759
51760 2011-03-03 Roland McGrath <roland@redhat.com>
51761
51762 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
51763
51764 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
51765
51766 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
51767 __bzero_ultra1 instead of __memset_ultra1.
51768
51769 2011-02-23 Andreas Schwab <schwab@redhat.com>
51770 Ulrich Drepper <drepper@gmail.com>
51771
51772 [BZ #12509]
51773 * include/link.h (struct link_map): Add l_orig_initfini.
51774 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
51775 returning unsuccessfully.
51776 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
51777 close of a file loaded at startup, restore the original l_initfini
51778 list.
51779 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
51780 list, store the pointer.
51781 * elf/Makefile ($(objpfx)noload-mem): New rule.
51782 (noload-ENV): Define.
51783 (tests): Add $(objpfx)noload-mem.
51784 * elf/noload.c: Include <memcheck.h>.
51785 (main): Call mtrace. Close all opened handles.
51786
51787 2011-02-17 Andreas Schwab <schwab@redhat.com>
51788
51789 [BZ #12454]
51790 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
51791 dependencies are missing.
51792
51793 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
51794
51795 Fix __if_freereq crash: Unlike the generic version which uses free,
51796 Hurd needs munmap.
51797 * sysdeps/mach/hurd/ifreq.h: New file.
51798
51799 2011-01-27 Petr Baudis <pasky@suse.cz>
51800 Ulrich Drepper <drepper@gmail.com>
51801
51802 [BZ 12445]#
51803 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
51804 to extend_alloca().
51805 * stdio-common/bug23.c: New file.
51806 * stdio-common/Makefile (tests): Add bug23.
51807
51808 2010-09-28 Andreas Schwab <schwab@redhat.com>
51809 Ulrich Drepper <drepper@gmail.com>
51810
51811 [BZ #12489]
51812 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
51813 before performing relro protection. At old place add assertion
51814 to make sure nothing changed.
51815
51816 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
51817 Glauber de Oliveira Costa <glommer@gmail.com>
51818
51819 * elf/elf.h: Add new ARM TLS relocs.
51820
51821 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
51822
51823 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
51824 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
51825 cast from r3.
51826 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
51827 'tests' variable.
51828 * sysdeps/wordsize-64/tst-writev.c: New file.
51829
51830 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
51831
51832 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
51833 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
51834 insns in _dl_start to prevent a TOC reference before relocs are
51835 resolved.
51836
51837 2011-02-15 Ulrich Drepper <drepper@gmail.com>
51838
51839 [BZ #12469]
51840 * Makeconfig: Remove RANLIB definition.
51841 * Makerules: Don't use RANLIB.
51842 * aclocal.m4: Remove ranlib test.
51843 * configure.in: No need to check for ranlib.
51844 * elf/rtld-Rules: Don't use RANLIB.
51845
51846 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
51847
51848 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
51849 protection macro.
51850 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
51851 inclusion protection macro.
51852
51853 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
51854 SIGRTMIN and SIGRTMAX and print information in that case only when
51855 SIGRTMIN is defined.
51856
51857 2011-02-11 Jakub Jelinek <jakub@redhat.com>
51858
51859 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
51860 arginfo fn returning -1.
51861
51862 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
51863 and thousands string is zero terminated.
51864
51865 2011-02-03 Andreas Schwab <schwab@redhat.com>
51866
51867 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
51868 sysdeps/unix/sysv/linux/bits/socket.h.
51869
51870 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
51871
51872 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
51873 (__CPU_COUNT): Remove old macros.
51874 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
51875 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
51876 (__CPU_ALLOC, __CPU_FREE): Add macros.
51877 (__sched_cpualloc, __sched_cpufree): Add declarations.
51878
51879 2011-02-05 Ulrich Drepper <drepper@gmail.com>
51880
51881 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
51882 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
51883 * nscd/aicache.c (addhstaiX): Return timeout of added value.
51884 (readdhstai): Return value of addhstaiX call.
51885 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
51886 (addgrbyX): Return value returned by cache_addgr.
51887 (readdgrbyname): Return value returned by addgrbyX.
51888 (readdgrbygid): Likewise.
51889 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
51890 (addpwbyX): Return value returned by cache_addpw.
51891 (readdpwbyname): Return value returned by addhstbyX.
51892 (readdpwbyuid): Likewise.
51893 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
51894 (addservbyX): Return value returned by cache_addserv.
51895 (readdservbyname): Return value returned by addservbyX:
51896 (readdservbyport): Likewise.
51897 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
51898 (addhstbyX): Return value returned by cache_addhst.
51899 (readdhstbyname): Return value returned by addhstbyX.
51900 (readdhstbyaddr): Likewise.
51901 (readdhstbynamev6): Likewise.
51902 (readdhstbyaddrv6): Likewise.
51903 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
51904 (readdinitgroups): Return value returned by addinitgroupsX.
51905 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
51906 (prune_cache): Keep track of timeout value of re-added entries.
51907 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
51908 * nscd/nscd.h: Adjust prototypes of readd* functions.
51909
51910 2011-02-04 Roland McGrath <roland@redhat.com>
51911
51912 * nis/nis_server.c (nis_servstate): Use the right name for 0.
51913 (nis_stats): Likewise.
51914 * nis/nis_modify.c (nis_modify): Likewise.
51915 * nis/nis_remove.c (nis_remove): Likewise.
51916 * nis/nis_add.c (nis_add): Likewise.
51917
51918 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
51919
51920 * posix/fnmatch_loop.c: Add some consts.
51921
51922 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
51923
51924 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
51925
51926 [BZ #12460]
51927 * config.make.in (config-cflags-novzeroupper): Define.
51928 * configure.in: Substitute libc_cv_cc_novzeroupper.
51929 * elf/Makefile (AVX-CFLAGS): Define.
51930 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
51931 (CFLAGS-tst-auditmod4a.c): Likewise.
51932 (CFLAGS-tst-auditmod4b.c): Likewise.
51933 (CFLAGS-tst-auditmod6b.c): Likewise.
51934 (CFLAGS-tst-auditmod6c.c): Likewise.
51935 (CFLAGS-tst-auditmod7b.c): Likewise.
51936 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
51937
51938 2011-02-02 Ulrich Drepper <drepper@gmail.com>
51939
51940 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
51941 function to the callback.
51942 Patch partly by Jiri Olsa <jolsa@redhat.com>.
51943
51944 2011-02-02 Andreas Schwab <schwab@redhat.com>
51945
51946 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
51947 of errno.
51948
51949 2011-01-19 Ulrich Drepper <drepper@gmail.com>
51950
51951 [BZ #11724]
51952 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
51953 of constructors.
51954 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
51955 of destructors.
51956 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
51957
51958 [BZ #11724]
51959 * elf/Makefile: Add rules to build and run new test.
51960 * elf/tst-initorder.c: New file.
51961 * elf/tst-initorder.exp: New file.
51962 * elf/tst-initordera1.c: New file.
51963 * elf/tst-initordera2.c: New file.
51964 * elf/tst-initordera3.c: New file.
51965 * elf/tst-initordera4.c: New file.
51966 * elf/tst-initorderb1.c: New file.
51967 * elf/tst-initorderb2.c: New file.
51968 * elf/tst-order-a1.c: New file.
51969 * elf/tst-order-a2.c: New file.
51970 * elf/tst-order-a3.c: New file.
51971 * elf/tst-order-a4.c: New file.
51972 * elf/tst-order-b1.c: New file.
51973 * elf/tst-order-b2.c: New file.
51974 * elf/tst-order-main.c: New file.
51975 New test case by George Gensure <werkt0@gmail.com>.
51976
51977 2010-10-01 Andreas Schwab <schwab@redhat.com>
51978
51979 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
51980 decoding ACE if AI_CANONIDN.
51981
51982 2011-01-18 Ulrich Drepper <drepper@gmail.com>
51983
51984 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
51985
51986 2011-01-17 Ulrich Drepper <drepper@gmail.com>
51987
51988 * version.h (RELEASE): Bump for 2.13 release.
51989 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
51990
51991 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
51992
51993 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
51994 MADV_NOHUGEPAGE.
51995 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
51996 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
51997 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
51998 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
51999 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
52000 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
52001
52002 * posix/getconf.c: Update copyright year.
52003 * catgets/gencat.c: Likewise.
52004 * csu/version.c: Likewise.
52005 * debug/catchsegv.sh: Likewise.
52006 * debug/xtrace.sh: Likewise.
52007 * elf/ldconfig.c: Likewise.
52008 * elf/ldd.bash.in: Likewise.
52009 * elf/sprof.c (print_version): Likewise.
52010 * iconv/iconv_prog.c: Likewise.
52011 * iconv/iconvconfig.c: Likewise.
52012 * locale/programs/locale.c: Likewise.
52013 * locale/programs/localedef.c: Likewise.
52014 * malloc/memusage.sh: Likewise.
52015 * malloc/mtrace.pl: Likewise.
52016 * nscd/nscd.c (print_version): Likewise.
52017 * nss/getent.c: Likewise.
52018
52019 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
52020 PF_CAIF, and PF_ALG.
52021 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
52022
52023 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
52024
52025 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
52026 (modules-names): Use them.
52027 (ifunc-test-modules, ifunc-pie-tests): Define.
52028 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
52029 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
52030 (test-extras): Likewise.
52031 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
52032 $(compile-command.c).
52033 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
52034 (all-built-dso): Define.
52035 (check-textrel.out, check-execstack.out): Depend on it.
52036
52037 * configure.in: Don't override --enable-multi-arch.
52038
52039 2011-01-15 Ulrich Drepper <drepper@gmail.com>
52040
52041 [BZ #6812]
52042 * nscd/hstcache.c (tryagain): Define.
52043 (cache_addhst): Return tryagain not notfound for temporary errors.
52044 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
52045 failed.
52046
52047 2011-01-14 Ulrich Drepper <drepper@gmail.com>
52048
52049 [BZ #10563]
52050 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
52051 to make the syscall.
52052 * sysdeps/unix/sysv/linux/setgroups.c: New file.
52053
52054 [BZ #12378]
52055 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
52056 and fall back to matching as normal character if the string ends before
52057 the matching ']' is found. This is what POSIX requires.
52058 * posix/testfnm.c: Adjust test result.
52059 * posix/globtest.sh: Adjust test result. Add new test.
52060 * posix/tst-fnmatch.input: Likewise.
52061 * posix/tst-fnmatch2.c: Add new test.
52062
52063 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
52064
52065 * elf/Makefile (check-execstack): Revert last change. Depend on
52066 check-execstack.h.
52067 (check-execstack.h): New target.
52068 (generated): Add check-execstack.h.
52069 * elf/check-execstack.c: Include "check-execstack.h".
52070 (main): Revert last change.
52071 (handle_file): Return zero if GNU_STACK is absent and
52072 DEFAULT_STACK_PERMS doesn't include PF_X.
52073
52074 2011-01-13 Ulrich Drepper <drepper@gmail.com>
52075
52076 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
52077 in child fails because the descriptor is already closed.
52078 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
52079 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
52080 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
52081
52082 [BZ #12397]
52083 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
52084 syscall.
52085
52086 [BZ #10484]
52087 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
52088 temporary buffer used to handle multi lookups locally.
52089 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
52090
52091 2011-01-12 Ulrich Drepper <drepper@gmail.com>
52092
52093 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
52094 loader is ld.so.
52095
52096 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
52097
52098 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
52099 alignment for SSE2.
52100
52101 2011-01-12 Ulrich Drepper <drepper@gmail.com>
52102
52103 [BZ #12394]
52104 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
52105 characters. When rounding increased number of integer digits recompute
52106 number of groups.
52107 * stdio-common/tst-grouping.c: New file.
52108 * stdio-common/Makefile: Add rules to build and run tst-grouping.
52109
52110 2011-01-09 Ulrich Drepper <drepper@gmail.com>
52111
52112 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
52113 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
52114
52115 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
52116 void.
52117 * bits/select.h: Likewise.
52118
52119 2011-01-08 Ulrich Drepper <drepper@gmail.com>
52120
52121 * po/ja.po: Update from translation team.
52122
52123 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
52124
52125 [BZ #11155]
52126 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
52127 implementation just like for lxstat, fxstatat, et al.
52128
52129 2010-12-27 Jim Meyering <meyering@redhat.com>
52130
52131 [BZ #12348]
52132 * posix/regexec.c (build_trtable): Return failure indication upon
52133 calloc failure. Otherwise, re_search_internal could infloop on OOM.
52134
52135 2010-12-25 Ulrich Drepper <drepper@gmail.com>
52136
52137 [BZ #12201]
52138 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
52139 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
52140 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
52141 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
52142
52143 [BZ #12207]
52144 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
52145
52146 [BZ #12204]
52147 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
52148 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
52149
52150 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
52151
52152 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
52153 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
52154 script has SORT_BY_INIT_PRIORITY.
52155 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
52156 NO_CTORS_DTORS_SECTIONS is defined.
52157 * elf/soinit.c: Likewise.
52158 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
52159 NO_CTORS_DTORS_SECTIONS is defined.
52160 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
52161 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
52162 * sysdeps/sh/init-first.c: Likewise.
52163 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
52164
52165 2010-12-24 Ulrich Drepper <drepper@gmail.com>
52166
52167 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
52168 always use the slow path.
52169
52170 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
52171
52172 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
52173 similar rule which adds the sysdep directories to the header search in
52174 order to pick up the correct platform stackinfo.h.
52175 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
52176 perform test if it is, otherwise return successfully without testing.
52177 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
52178 DEFAULT_STACK_PERMS define in stackinfo.h.
52179 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
52180 defined in stackinfo.h.
52181 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
52182 DEFAULT_STACK_PERMS defined in stackinfo.h.
52183 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
52184 * sysdeps/ia64/stackinfo.h: Likewise.
52185 * sysdeps/s390/stackinfo.h: Likewise.
52186 * sysdeps/sh/stackinfo.h: Likewise.
52187 * sysdeps/sparc/stackinfo.h: Likewise.
52188 * sysdeps/x86_64/stackinfo.h: Likewise.
52189 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
52190 PF_X for powerpc64. Retain PF_X for powerpc32.
52191
52192 2010-12-19 Ulrich Drepper <drepper@gmail.com>
52193
52194 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
52195 accurately.
52196 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
52197 GETDENTS_64BIT_ALIGNED.
52198
52199 2010-12-14 Ulrich Drepper <dreper@gmail.com>
52200
52201 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
52202
52203 2010-12-10 Andreas Schwab <schwab@redhat.com>
52204
52205 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
52206 _GNU_SOURCE.
52207
52208 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
52209 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
52210 Remove __restrict.
52211 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
52212 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
52213
52214 2010-12-09 Ulrich Drepper <drepper@gmail.com>
52215
52216 [BZ #11655]
52217 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
52218 are initialized.
52219
52220 2010-12-09 Jakub Jelinek <jakub@redhat.com>
52221
52222 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
52223
52224 2010-12-03 Ulrich Drepper <drepper@gmail.com>
52225
52226 * po/it.po: Update from translation team.
52227
52228 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
52229
52230 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
52231 unused codes.
52232
52233 2010-11-30 Ulrich Drepper <drepper@gmail.com>
52234
52235 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
52236
52237 2010-11-24 Andreas Schwab <schwab@redhat.com>
52238
52239 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
52240 specially.
52241 (gaih_getanswer_slice): Likewise.
52242
52243 2010-10-20 Jakub Jelinek <jakub@redhat.com>
52244
52245 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
52246
52247 2010-05-31 Petr Baudis <pasky@suse.cz>
52248
52249 [BZ #11149]
52250 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
52251 silently even in the chroot mode.
52252
52253 2010-11-22 Ulrich Drepper <drepper@gmail.com>
52254
52255 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
52256 last patch a bit. Pretty printing
52257
52258 2010-05-31 Petr Baudis <pasky@suse.cz>
52259
52260 [BZ #10085]
52261 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
52262 initialization of skip_initgroups_dyn.
52263
52264 2010-11-19 Ulrich Drepper <drepper@gmail.com>
52265
52266 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
52267 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
52268
52269 2010-11-16 Ulrich Drepper <drepper@gmail.com>
52270
52271 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
52272
52273 2010-11-11 Andreas Schwab <schwab@redhat.com>
52274
52275 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
52276 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
52277 (tst-fnmatch-ENV): Set MALLOC_TRACE.
52278 ($(objpfx)tst-fnmatch-mem): New rule.
52279 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
52280 * posix/tst-fnmatch.c (main): Call mtrace.
52281
52282 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
52283
52284 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
52285 Support Intel processor model 6 and model 0x2c.
52286
52287 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
52288
52289 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
52290 signed comparison.
52291
52292 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
52293
52294 [BZ #12205]
52295 * string/test-strncasecmp.c (check_result): New function.
52296 (do_one_test): Use it.
52297 (check1): New function.
52298 (test_main): Use it.
52299 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
52300 Support strcasecmp and strncasecmp.
52301
52302 2010-11-08 Ulrich Drepper <drepper@gmail.com>
52303
52304 [BZ #12194]
52305 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
52306 * sysdeps/x86_64/bits/byteswap.h: Likewise.
52307
52308 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
52309
52310 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
52311 IFUNC support.
52312 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
52313 memset-x86-64.
52314 * sysdeps/x86_64/multiarch/bzero.S: New file.
52315 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
52316 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
52317 * sysdeps/x86_64/multiarch/memset.S: New file.
52318 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
52319 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
52320 Set bit_Prefer_SSE_for_memop for Intel processors.
52321 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
52322 Define.
52323 (index_Prefer_SSE_for_memop): Define.
52324 (HAS_PREFER_SSE_FOR_MEMOP): Define.
52325
52326 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
52327
52328 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
52329 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
52330
52331 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
52332
52333 [BZ #12191]
52334 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
52335 (__x86_64_raw_data_cache_size_half): Likewise.
52336 (__x86_64_raw_shared_cache_size): Likewise.
52337 (__x86_64_raw_shared_cache_size_half): Likewise.
52338
52339 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
52340 (__x86_64_raw_data_cache_size_half): Likewise.
52341 (__x86_64_raw_shared_cache_size): Likewise.
52342 (__x86_64_raw_shared_cache_size_half): Likewise.
52343 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
52344 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
52345 and __x86_64_raw_shared_cache_size_half. Round
52346 __x86_64_data_cache_size_half, __x86_64_data_cache_size
52347 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
52348 to multiple of 256 bytes.
52349
52350 2010-11-03 Ulrich Drepper <drepper@gmail.com>
52351
52352 [BZ #12167]
52353 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
52354 of inacessible symlinks. Verify result of symlink before returning it.
52355 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
52356 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
52357
52358 2010-10-28 Erich Ritz <erichritz@gmail.com>
52359
52360 * math/math.h (isinf): Fix typo in comment.
52361
52362 2010-11-01 Ulrich Drepper <drepper@gmail.com>
52363
52364 * po/da.po: Update from translation team.
52365
52366 2010-10-26 Ulrich Drepper <drepper@gmail.com>
52367
52368 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
52369 is added to the list.
52370
52371 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
52372 Ulrich Drepper <drepper@gmail.com>
52373
52374 * elf/dl-object.c (_dl_new_object): Don't append the new object to
52375 the global list here. Move code to...
52376 (_dl_add_to_namespace_list): ...here. New function.
52377 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
52378 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
52379 * elf/dl-load.c (lose): Don't remove the element from the list.
52380 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
52381 (_dl_map_object): Likewise.
52382
52383 2010-10-25 Ulrich Drepper <drepper@gmail.com>
52384
52385 [BZ #12159]
52386 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
52387 into all bytes of SSE register.
52388 Patch by Richard Li <richardpku@gmail.com>.
52389
52390 2010-10-24 Ulrich Drepper <drepper@gmail.com>
52391
52392 [BZ #12140]
52393 * malloc/malloc.c (_int_free): Fill correct number of bytes when
52394 perturbing.
52395
52396 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
52397
52398 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
52399 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
52400 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
52401 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
52402 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
52403 submachine.
52404 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
52405
52406 2010-10-22 Andreas Schwab <schwab@redhat.com>
52407
52408 * include/dlfcn.h (__RTLD_SECURE): Define.
52409 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
52410 mode & __RTLD_SECURE instead.
52411 (open_path): Rename preloaded parameter to secure.
52412 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
52413 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
52414 * elf/dl-deps.c (openaux): Likewise.
52415 * elf/rtld.c (struct map_args): Remove is_preloaded.
52416 (map_doit): Don't use it.
52417 (dl_main): Likewise.
52418 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
52419 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
52420
52421 2010-09-09 Andreas Schwab <schwab@redhat.com>
52422
52423 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
52424 (sysd-rules-targets): Remove duplicates.
52425 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
52426 rtld-%.$o dependency.
52427
52428 2010-10-18 Andreas Schwab <schwab@redhat.com>
52429
52430 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
52431 _dl_map_object do it.
52432
52433 2010-10-19 Ulrich Drepper <drepper@gmail.com>
52434
52435 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
52436 fast fma builtins, define the macros in the C99 standard.
52437 (FP_FAST_FMAF): Likewise.
52438 (FP_FAST_FMAL): Likewise.
52439 * sysdeps/x86_64/bits/mathdef.h: Likewise.
52440
52441 * bits/mathdef.h: Update copyright year.
52442 * sysdeps/powerpc/bits/mathdef.h: Likewise.
52443
52444 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
52445
52446 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
52447 builtins, define the macros in the C99 standard.
52448 (FP_FAST_FMAF): Likewise.
52449 (FP_FAST_FMAL): Likewise.
52450 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
52451 multiply/add.
52452 (FP_FAST_FMAF): Likewise.
52453
52454 2010-10-15 Jakub Jelinek <jakub@redhat.com>
52455
52456 [BZ #3268]
52457 * math/libm-test.inc (fma_test): Some new testcases.
52458 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
52459 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
52460 y and infinite z. Do multiplication by C already in long double.
52461 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
52462 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
52463 y and infinite z. Do bitwise or of inexact bit into u.d.
52464 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
52465 * sysdeps/i386/fpu/s_fmaf.S: Removed.
52466 * sysdeps/i386/fpu/s_fma.S: Removed.
52467 * sysdeps/i386/fpu/s_fmal.S: Removed.
52468
52469 2010-10-16 Jakub Jelinek <jakub@redhat.com>
52470
52471 [BZ #3268]
52472 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
52473 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
52474 computation is not scheduled after fetestexcept. Fix value
52475 of minimum denormal long double.
52476
52477 2010-10-14 Jakub Jelinek <jakub@redhat.com>
52478
52479 [BZ #3268]
52480 * math/libm-test.inc (fma_test): Add some more tests.
52481 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
52482 correctly.
52483
52484 2010-10-15 Andreas Schwab <schwab@redhat.com>
52485
52486 * scripts/data/localplt-s390-linux-gnu.data: New file.
52487 * scripts/data/localplt-s390x-linux-gnu.data: New file.
52488
52489 2010-10-13 Jakub Jelinek <jakub@redhat.com>
52490
52491 [BZ #3268]
52492 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
52493 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
52494 instead of dbl-64.
52495 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
52496 inlines.
52497 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
52498 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
52499 if one of x and y is very large and the other is subnormal.
52500 * sysdeps/s390/fpu/s_fmaf.c: New file.
52501 * sysdeps/s390/fpu/s_fma.c: New file.
52502 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
52503 * sysdeps/powerpc/fpu/s_fma.S: New file.
52504 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
52505 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
52506 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
52507
52508 2010-10-12 Jakub Jelinek <jakub@redhat.com>
52509
52510 [BZ #3268]
52511 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
52512 fma tests.
52513 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
52514 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
52515 * sysdeps/i386/i686/multiarch/s_fma.c: Include
52516 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
52517 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
52518 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
52519 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
52520
52521 2010-10-12 Ulrich Drepper <drepper@redhat.com>
52522
52523 [BZ #12078]
52524 * posix/regcomp.c (parse_branch): One more memory leak plugged.
52525 * posix/bug-regex31.input: Add test case.
52526
52527 2010-10-11 Ulrich Drepper <drepper@gmail.com>
52528
52529 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
52530 * posix/bug-regex31.input: New file.
52531
52532 [BZ #12078]
52533 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
52534 (parse_sub_exp): Fix last change, use postorder.
52535
52536 * posix/bug-regex31.c: New file.
52537 * posix/Makefile: Add rules to build and run bug-regex31.
52538
52539 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
52540
52541 [BZ #12078]
52542 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
52543
52544 [BZ #12108]
52545 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
52546 to have entries in sys_siglist.
52547
52548 [BZ #12093]
52549 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
52550 be NULL.
52551
52552 2010-10-07 Jakub Jelinek <jakub@redhat.com>
52553
52554 [BZ #3268]
52555 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
52556 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
52557 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
52558 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
52559 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
52560 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
52561 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
52562 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
52563 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
52564 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
52565 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
52566 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
52567 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
52568 * math/ftestexcept.c (fetestexcept): Likewise.
52569 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
52570 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
52571 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
52572 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
52573 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
52574 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
52575 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
52576
52577 2010-10-11 Ulrich Drepper <drepper@gmail.com>
52578
52579 [BZ #12107]
52580 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
52581 newline.
52582
52583 2010-10-06 Ulrich Drepper <drepper@gmail.com>
52584
52585 * string/bug-strstr1.c: New file.
52586 * string/Makefile: Add rules to build and run bug-strstr1.
52587
52588 2010-10-05 Eric Blake <eblake@redhat.com>
52589
52590 [BZ #12092]
52591 * string/str-two-way.h (two_way_long_needle): Always clear memory
52592 when skipping input due to the shift table.
52593
52594 2010-10-03 Ulrich Drepper <drepper@gmail.com>
52595
52596 [BZ #12005]
52597 * malloc/mcheck.c: Handle large requests.
52598
52599 [BZ #12077]
52600 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
52601 for strncmp and strncasecmp.
52602 * string/stratcliff.c: Add tests for strcmp and strncmp.
52603 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
52604
52605 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
52606
52607 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
52608 __set_fpscr.
52609
52610 2010-09-30 Andreas Jaeger <aj@suse.de>
52611
52612 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
52613 (CGROUP_SUPER_MAGIC): Define.
52614 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
52615 Handle btrfs and cgroup file systems.
52616 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
52617 Likewise.
52618
52619 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
52620
52621 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
52622 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
52623
52624 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
52625
52626 [BZ #12067]
52627 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
52628 trying to locate the ELF header.
52629
52630 2010-09-27 Andreas Schwab <schwab@redhat.com>
52631
52632 [BZ #11611]
52633 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
52634 Mask out sign-bit copies when constructing f_fsid.
52635
52636 2010-09-24 Petr Baudis <pasky@suse.cz>
52637
52638 * debug/stack_chk_fail_local.c: Add missing licence exception.
52639 * debug/warning-nop.c: Likewise.
52640
52641 2010-09-15 Joseph Myers <joseph@codesourcery.com>
52642
52643 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
52644 implementing getdents64 using getdents syscall, set d_type if
52645 __ASSUME_GETDENTS32_D_TYPE.
52646
52647 2010-09-16 Andreas Schwab <schwab@redhat.com>
52648
52649 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
52650 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
52651
52652 2010-09-21 Ulrich Drepper <drepper@redhat.com>
52653
52654 [BZ #12037]
52655 * posix/unistd.h: Undo change of feature selection for ftruncate from
52656 2010-01-11.
52657
52658 2010-09-20 Ulrich Drepper <drepper@redhat.com>
52659
52660 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
52661 detection.
52662
52663 2010-09-20 Andreas Schwab <schwab@redhat.com>
52664
52665 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
52666 fanotify_mark.
52667 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
52668
52669 2010-09-14 Andreas Schwab <schwab@redhat.com>
52670
52671 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
52672 variables after CHECK_SP call.
52673 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
52674
52675 2010-09-13 Andreas Schwab <schwab@redhat.com>
52676 Ulrich Drepper <drepper@redhat.com>
52677
52678 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
52679 re-relocationg ld.so.
52680 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
52681 _dl_init_paths call.
52682 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
52683 here anymore.
52684
52685 2010-09-14 Ulrich Drepper <drepper@redhat.com>
52686
52687 * resolv/res_init.c (__res_vinit): Count the default server we added.
52688
52689 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
52690 Ulrich Drepper <drepper@redhat.com>
52691
52692 [BZ #11968]
52693 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
52694 (____longjmp_chk): Use %ebx for saving value across system call.
52695 Add unwind info.
52696
52697 2010-09-06 Andreas Schwab <schwab@redhat.com>
52698
52699 * manual/Makefile: Don't mix pattern rules with normal rules.
52700
52701 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
52702
52703 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
52704 operation.
52705 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
52706 * libio/iofopncook.c (_IO_cookie_init): Likewise.
52707 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
52708 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
52709 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
52710 Likewise.
52711
52712 2010-09-04 Ulrich Drepper <drepper@redhat.com>
52713
52714 [BZ #11979]
52715 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
52716 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
52717
52718 2010-09-02 Ulrich Drepper <drepper@redhat.com>
52719
52720 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
52721 * sysdeps/x86_64/addmul_1.S: Likewise.
52722 * sysdeps/x86_64/lshift.S: Likewise.
52723 * sysdeps/x86_64/mul_1.S: Likewise.
52724 * sysdeps/x86_64/rshift.S: Likewise.
52725 * sysdeps/x86_64/sub_n.S: Likewise.
52726 * sysdeps/x86_64/submul_1.S: Likewise.
52727
52728 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
52729
52730 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
52731 Define __sched_param instead of SCHED_* and sched_param when
52732 <bits/sched.h> is included with __need_schedparam defined.
52733 * bits/sched.h [__need_schedparam]
52734 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
52735 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
52736 (__defined_schedparam): Define to 1.
52737 (__sched_param): New structure, identical to sched_param.
52738 (__need_schedparam): Undefine.
52739
52740 2010-08-31 Mike Frysinger <vapier@gentoo.org>
52741
52742 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
52743 (epoll_create1): Declare.
52744
52745 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
52746
52747 2010-08-31 Andreas Schwab <schwab@redhat.com>
52748
52749 [BZ #7066]
52750 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
52751 shifting retval into place.
52752
52753 2010-09-01 Ulrich Drepper <drepper@redhat.com>
52754
52755 * nis/rpcsvc/nis.h: Update copyright notice.
52756 * nis/rpcsvc/nis.x: Likewise.
52757 * nis/rpcsvc/nis_callback.h: Likewise.
52758 * nis/rpcsvc/nis_callback.x: Likewise.
52759 * nis/rpcsvc/nis_object.x: Likewise.
52760 * nis/rpcsvc/nis_tags.h: Likewise.
52761 * nis/rpcsvc/yp.h: Likewise.
52762 * nis/rpcsvc/yp.x: Likewise.
52763 * nis/rpcsvc/ypupd.h: Likewise.
52764 * nis/yp_xdr.c: Likewise.
52765 * nis/ypupdate_xdr.c: Likewise.
52766
52767 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
52768 mainly the body of pmap_getport. Add parameters to specify timeouts.
52769 (pmap_getport): Use __libc_rpc_getport.
52770 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
52771 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
52772 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
52773
52774 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
52775
52776 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
52777 fanotify_mark.
52778
52779 2010-08-27 Roland McGrath <roland@redhat.com>
52780
52781 * sysdeps/i386/i686/multiarch/Makefile
52782 (CFLAGS-varshift.c): New variable.
52783
52784 2010-08-27 Ulrich Drepper <drepper@redhat.com>
52785
52786 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
52787 * sysdeps/i386/i686/multiarch/varshift.c: New file.
52788
52789 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
52790
52791 * sysdeps/x86_64/strlen.S: Minimal code improvement.
52792
52793 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
52794
52795 * sysdeps/x86_64/strlen.S: Unroll the loop.
52796 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
52797 strlen-sse2 strlen-sse2-bsf.
52798 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
52799 __strlen_no_bsf if bit_Slow_BSF is set.
52800 (__strlen_sse42): Removed.
52801 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
52802 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
52803
52804 2010-08-25 Roland McGrath <roland@redhat.com>
52805
52806 * sysdeps/x86_64/multiarch/varshift.S: File removed.
52807 * sysdeps/x86_64/multiarch/varshift.c: New file.
52808 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
52809 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
52810 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
52811 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
52812
52813 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
52814
52815 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
52816 strlen-sse2 strlen-sse2-bsf.
52817 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
52818 __strlen_sse2_bsf if bit_Slow_BSF is unset.
52819 (__strlen_sse2): Removed.
52820 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
52821 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
52822 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
52823 bit_Slow_BSF for Atom.
52824 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
52825 (index_Slow_BSF): Define.
52826 (HAS_SLOW_BSF): Define.
52827
52828 2010-08-25 Ulrich Drepper <drepper@redhat.com>
52829
52830 [BZ #10851]
52831 * resolv/res_init.c (__res_vinit): When no server address at all
52832 is given default to loopback.
52833
52834 2010-08-24 Roland McGrath <roland@redhat.com>
52835
52836 * configure.in: Remove config-name.h generation.
52837 * configure: Regenerated.
52838 * config-name.in: File removed.
52839 * scripts/config-uname.sh: New file.
52840 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
52841 ($(objdir)config-name.h): New target.
52842
52843 * sunrpc/rpc_parse.h: Avoid nested comment.
52844
52845 2010-08-24 Richard Henderson <rth@redhat.com>
52846 Ulrich Drepper <drepper@redhat.com>
52847 H.J. Lu <hongjiu.lu@intel.com>
52848
52849 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
52850 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
52851 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
52852 Replace _mm_srli_si128 with __m128i_shift_right. Replace
52853 _mm_alignr_epi8 with _mm_loadu_si128.
52854 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
52855 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
52856 (__m128i_shift_right): Removed.
52857 * sysdeps/i386/i686/multiarch/varshift.h: New file.
52858 * sysdeps/i386/i686/multiarch/varshift.S: New file.
52859 * sysdeps/x86_64/multiarch/varshift.h: New file.
52860 * sysdeps/x86_64/multiarch/varshift.S: New file.
52861
52862 2010-08-21 Mike Frysinger <vapier@gentoo.org>
52863
52864 * configure.in: Move assembler checks to before sysdep dir checking.
52865
52866 2010-08-20 Petr Baudis <pasky@suse.cz>
52867
52868 * LICENSES: Sync the sunrpc license.
52869
52870 2010-08-19 Ulrich Drepper <drepper@redhat.com>
52871
52872 * sunrpc/auth_des.c: Update copyright notice once again.
52873 * sunrpc/auth_none.c: Likewise.
52874 * sunrpc/auth_unix.c: Likewise.
52875 * sunrpc/authdes_prot.c: Likewise.
52876 * sunrpc/authuxprot.c: Likewise.
52877 * sunrpc/bindrsvprt.c: Likewise.
52878 * sunrpc/clnt_gen.c: Likewise.
52879 * sunrpc/clnt_perr.c: Likewise.
52880 * sunrpc/clnt_raw.c: Likewise.
52881 * sunrpc/clnt_simp.c: Likewise.
52882 * sunrpc/clnt_tcp.c: Likewise.
52883 * sunrpc/clnt_udp.c: Likewise.
52884 * sunrpc/clnt_unix.c: Likewise.
52885 * sunrpc/des_crypt.c: Likewise.
52886 * sunrpc/des_soft.c: Likewise.
52887 * sunrpc/get_myaddr.c: Likewise.
52888 * sunrpc/getrpcport.c: Likewise.
52889 * sunrpc/key_call.c: Likewise.
52890 * sunrpc/key_prot.c: Likewise.
52891 * sunrpc/openchild.c: Likewise.
52892 * sunrpc/pm_getmaps.c: Likewise.
52893 * sunrpc/pm_getport.c: Likewise.
52894 * sunrpc/pmap_clnt.c: Likewise.
52895 * sunrpc/pmap_prot.c: Likewise.
52896 * sunrpc/pmap_prot2.c: Likewise.
52897 * sunrpc/pmap_rmt.c: Likewise.
52898 * sunrpc/rpc/auth.h: Likewise.
52899 * sunrpc/rpc/auth_unix.h: Likewise.
52900 * sunrpc/rpc/clnt.h: Likewise.
52901 * sunrpc/rpc/des_crypt.h: Likewise.
52902 * sunrpc/rpc/key_prot.h: Likewise.
52903 * sunrpc/rpc/netdb.h: Likewise.
52904 * sunrpc/rpc/pmap_clnt.h: Likewise.
52905 * sunrpc/rpc/pmap_prot.h: Likewise.
52906 * sunrpc/rpc/pmap_rmt.h: Likewise.
52907 * sunrpc/rpc/rpc.h: Likewise.
52908 * sunrpc/rpc/rpc_des.h: Likewise.
52909 * sunrpc/rpc/rpc_msg.h: Likewise.
52910 * sunrpc/rpc/svc.h: Likewise.
52911 * sunrpc/rpc/svc_auth.h: Likewise.
52912 * sunrpc/rpc/types.h: Likewise.
52913 * sunrpc/rpc/xdr.h: Likewise.
52914 * sunrpc/rpc_clntout.c: Likewise.
52915 * sunrpc/rpc_cmsg.c: Likewise.
52916 * sunrpc/rpc_common.c: Likewise.
52917 * sunrpc/rpc_cout.c: Likewise.
52918 * sunrpc/rpc_dtable.c: Likewise.
52919 * sunrpc/rpc_hout.c: Likewise.
52920 * sunrpc/rpc_main.c: Likewise.
52921 * sunrpc/rpc_parse.c: Likewise.
52922 * sunrpc/rpc_parse.h: Likewise.
52923 * sunrpc/rpc_prot.c: Likewise.
52924 * sunrpc/rpc_sample.c: Likewise.
52925 * sunrpc/rpc_scan.c: Likewise.
52926 * sunrpc/rpc_scan.h: Likewise.
52927 * sunrpc/rpc_svcout.c: Likewise.
52928 * sunrpc/rpc_tblout.c: Likewise.
52929 * sunrpc/rpc_util.c: Likewise.
52930 * sunrpc/rpc_util.h: Likewise.
52931 * sunrpc/rpcinfo.c: Likewise.
52932 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
52933 * sunrpc/rpcsvc/key_prot.x: Likewise.
52934 * sunrpc/rpcsvc/klm_prot.x: Likewise.
52935 * sunrpc/rpcsvc/mount.x: Likewise.
52936 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
52937 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
52938 * sunrpc/rpcsvc/rex.x: Likewise.
52939 * sunrpc/rpcsvc/rstat.x: Likewise.
52940 * sunrpc/rpcsvc/rusers.x: Likewise.
52941 * sunrpc/rpcsvc/sm_inter.x: Likewise.
52942 * sunrpc/rpcsvc/spray.x: Likewise.
52943 * sunrpc/rpcsvc/yppasswd.x: Likewise.
52944 * sunrpc/rtime.c: Likewise.
52945 * sunrpc/svc.c: Likewise.
52946 * sunrpc/svc_auth.c: Likewise.
52947 * sunrpc/svc_authux.c: Likewise.
52948 * sunrpc/svc_raw.c: Likewise.
52949 * sunrpc/svc_run.c: Likewise.
52950 * sunrpc/svc_simple.c: Likewise.
52951 * sunrpc/svc_tcp.c: Likewise.
52952 * sunrpc/svc_udp.c: Likewise.
52953 * sunrpc/svc_unix.c: Likewise.
52954 * sunrpc/svcauth_des.c: Likewise.
52955 * sunrpc/xcrypt.c: Likewise.
52956 * sunrpc/xdr.c: Likewise.
52957 * sunrpc/xdr_array.c: Likewise.
52958 * sunrpc/xdr_float.c: Likewise.
52959 * sunrpc/xdr_mem.c: Likewise.
52960 * sunrpc/xdr_rec.c: Likewise.
52961 * sunrpc/xdr_ref.c: Likewise.
52962 * sunrpc/xdr_sizeof.c: Likewise.
52963 * sunrpc/xdr_stdio.c: Likewise.
52964
52965 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
52966 handling.
52967
52968 2010-08-19 Andreas Schwab <schwab@redhat.com>
52969
52970 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
52971
52972 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
52973
52974 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
52975 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
52976 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
52977 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
52978 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
52979 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
52980 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
52981 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
52982 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
52983 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
52984 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
52985 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
52986 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
52987 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
52988
52989 2010-07-26 Anton Blanchard <anton@samba.org>
52990
52991 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
52992 * malloc/arena.c (heap_trim): Likewise.
52993
52994 2010-08-16 Ulrich Drepper <drepper@redhat.com>
52995
52996 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
52997 here. Not...
52998 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
52999 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
53000
53001 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
53002
53003 * sysdeps/i386/elf/Makefile: New file.
53004
53005 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
53006
53007 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
53008 from fanotify_init.
53009 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
53010 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
53011
53012 2010-08-15 Ulrich Drepper <drepper@redhat.com>
53013
53014 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
53015 of strncasecmp_l.
53016 * sysdeps/multiarch/strcmp.S: Likewise.
53017
53018 2010-08-14 Ulrich Drepper <drepper@redhat.com>
53019
53020 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
53021 strncase_l-nonascii.
53022 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
53023 Add strncase_l-ssse3.
53024 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
53025 * sysdeps/x86_64/strcmp.S: Likewise.
53026 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
53027 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
53028 * sysdeps/x86_64/strncase.S: New file.
53029 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
53030 * sysdeps/x86_64/strncase_l.S: New file.
53031 * string/Makefile (strop-tests): Add strncasecmp.
53032 * string/test-strncasecmp.c: New file.
53033
53034 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
53035 warning.
53036
53037 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
53038 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
53039
53040 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
53041
53042 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
53043
53044 2010-08-12 Ulrich Drepper <drepper@redhat.com>
53045
53046 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
53047 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
53048 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
53049
53050 2010-05-01 Alan Modra <amodra@gmail.com>
53051
53052 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
53053 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
53054 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
53055 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
53056 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
53057 tidying. Don't tail-call __sigjmp_save for static lib.
53058 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
53059 save location.
53060 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
53061 (CALL_MCOUNT): Add eh info, and nop after bl.
53062 (TAIL_CALL_SYSCALL_ERROR): New macro.
53063 (PSEUDO_RET): Use it.
53064 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
53065 Correct save location of integer regs and cr.
53066 (_dl_profile_resolve): Correct cr save location. Delete nops
53067 after bl when SHARED. Reduce cfi size a little by better
53068 placement of cfi directives.
53069 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
53070 make a stack frame. Instead use parm save area as a temp.
53071 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
53072 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
53073 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
53074 Don't make a stack frame for parent, use parm save area.
53075 Increase child stack frame to 112 bytes. Don't save unused reg,
53076 and adjust reg usage. Set up cfi on error recovery and
53077 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
53078 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
53079 (__makecontext): Add dummy nop after jump to exit.
53080 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
53081 Use correct parm save area and cr save, reduce stack frame.
53082 Correct cfi for possible PSEUDO_RET frame setup.
53083 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
53084 Branch to local label emitted by PSEUDO_RET rather than
53085 __syscall_error.
53086
53087 2010-08-12 Andreas Schwab <schwab@redhat.com>
53088
53089 [BZ #11904]
53090 * locale/programs/locale.c (print_assignment): New function.
53091 (show_locale_vars): Use it.
53092
53093 2010-08-11 Ulrich Drepper <drepper@redhat.com>
53094
53095 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
53096 field.
53097 (struct statfs64): Likewise.
53098 (_STATFS_F_FLAGS): Define.
53099 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
53100 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
53101 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
53102 (ST_VALID): Define locally.
53103 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
53104 __statvfs_getflags, use the provided value.
53105 * sysdeps/unix/sysv/linux/kernel-features.h: Define
53106 __ASSUME_STATFS_F_FLAGS.
53107
53108 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
53109
53110 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
53111 Add sys/fanotify.h.
53112 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
53113 fanotify_mask for GLIBC_2.13.
53114 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
53115 fanotify_init and fanotify_mark.
53116 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
53117 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
53118
53119 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
53120 Add prlimit.
53121 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
53122 prlimit64 for GLIBC_2.13.
53123 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
53124 prlimit64.
53125 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
53126 syscall.
53127 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
53128 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
53129 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
53130 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
53131 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
53132 add prlimit alias.
53133 * sysdeps/unix/sysv/linux/prlimit.c: New file.
53134
53135 [BZ #11903]
53136 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
53137 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
53138
53139 * nss/Makefile: Add rules to build and run tst-nss-test1.
53140 * shlib-versions: Add entry for libnss_test1.
53141 * nss/nss_test1.c: New file.
53142 * nss/tst-nss-test1.c: New file.
53143
53144 * nss/nsswitch.c (__nss_database_custom): Define new variable.
53145 (__nss_configure_lookup): Set appropriate entry in
53146 __nss_configure_lookup to true.
53147 * nss/nsswitch.h: Define enum with indeces of databases in
53148 databases and __nss_database_custom arrays. Declare
53149 __nss_database_custom.
53150 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
53151 to avoid using nscd when custom rules are installed.
53152 * nss/getXXbyYY_r.c: Likewise.
53153 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
53154
53155 * nss/nss_files/files-parse.c: Whitespace fixes.
53156
53157 2010-08-09 Ulrich Drepper <drepper@redhat.com>
53158
53159 [BZ #11883]
53160 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
53161 * posix/fnmatch_loop.c: Likewise.
53162
53163 2010-07-17 Andi Kleen <ak@linux.intel.com>
53164
53165 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
53166 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
53167 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
53168 * Versions.def [GLIBC_2.13]: Add.
53169
53170 2010-08-06 Ulrich Drepper <drepper@redhat.com>
53171
53172 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
53173 Also fail if tpwd after pwuid call is NULL.
53174
53175 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
53176
53177 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
53178 when converting to ms.
53179
53180 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
53181
53182 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
53183 EOPNOTSUPP errors with ENOTTY.
53184 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
53185 EOPNOTSUPP errors with ENOTTY.
53186
53187 2010-07-31 Ulrich Drepper <drepper@redhat.com>
53188
53189 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
53190 Add strcasecmp_l-ssse3.
53191 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
53192 strcasecmp.
53193 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
53194 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
53195 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
53196
53197 2010-07-30 Ulrich Drepper <drepper@redhat.com>
53198
53199 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
53200
53201 * string/Makefile (strop-tests): Add strcasecmp.
53202 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
53203 strcasecmp_l-nonascii.
53204 (gen-as-const-headers): Add locale-defines.sym.
53205 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
53206 * sysdeps/x86_64/strcasecmp.S: New file.
53207 * sysdeps/x86_64/strcasecmp_l.S: New file.
53208 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
53209 * sysdeps/x86_64/locale-defines.sym: New file.
53210 * string/test-strcasecmp.c: New file.
53211
53212 * string/test-strcasestr.c: Test both ends of the range of characters.
53213 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
53214
53215 2010-07-29 Roland McGrath <roland@redhat.com>
53216
53217 [BZ #11856]
53218 * manual/locale.texi (Yes-or-No Questions): Fix example code.
53219
53220 2010-07-27 Ulrich Drepper <drepper@redhat.com>
53221
53222 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
53223 for ld.so.
53224
53225 2010-07-27 Andreas Schwab <schwab@redhat.com>
53226
53227 * manual/memory.texi (Malloc Tunable Parameters): Document
53228 M_PERTURB.
53229
53230 2010-07-26 Roland McGrath <roland@redhat.com>
53231
53232 [BZ #11840]
53233 * configure.in (-fgnu89-inline check): Set and substitute
53234 gnu89_inline, not libc_cv_gnu89_inline.
53235 * configure: Regenerated.
53236 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
53237
53238 2010-07-26 Ulrich Drepper <drepper@redhat.com>
53239
53240 * string/test-strnlen.c: New file.
53241 * string/Makefile (strop-tests): Add strnlen.
53242 * string/tester.c (test_strnlen): Add a few more test cases.
53243 * string/tst-strlen.c: Better error reporting.
53244
53245 * sysdeps/x86_64/strnlen.S: New file.
53246
53247 2010-07-24 Ulrich Drepper <drepper@redhat.com>
53248
53249 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
53250 lower-latency instructions.
53251
53252 2010-07-23 Ulrich Drepper <drepper@redhat.com>
53253
53254 * string/test-strcasestr.c: New file.
53255 * string/test-strstr.c: New file.
53256 * string/Makefile (strop-tests): Add strstr and strcasestr.
53257 * string/str-two-way.h: Don't undefine MAX.
53258 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
53259
53260 2010-07-21 Andreas Schwab <schwab@redhat.com>
53261
53262 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
53263 strcasestr-nonascii.
53264 (CFLAGS-strcasestr-nonascii.c): Define.
53265 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
53266 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
53267 Remove unused attribute.
53268
53269 2010-07-20 Roland McGrath <roland@redhat.com>
53270
53271 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
53272 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
53273 ld.so.cache was broken. With it, there is no way to disable dsocaps
53274 like LD_HWCAP_MASK can disable hwcaps.
53275
53276 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
53277
53278 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
53279
53280 2010-07-16 Ulrich Drepper <drepper@redhat.com>
53281
53282 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
53283 call in strcasestr.
53284 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
53285 __strcasestr_sse42_nonascii.
53286 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
53287 strcasestr-nonascii.c.
53288 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
53289
53290 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
53291
53292 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
53293 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
53294 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
53295 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
53296
53297 2010-07-09 Ulrich Drepper <drepper@redhat.com>
53298
53299 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
53300 fcntl.
53301
53302 2010-07-06 Andreas Schwab <schwab@redhat.com>
53303
53304 [BZ #11577]
53305 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
53306 dl_signal_cerror.
53307
53308 2010-07-06 Ulrich Drepper <drepper@redhat.com>
53309
53310 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
53311 _PC_PIPE_BUF using F_GETPIPE_SZ.
53312
53313 2010-07-05 Roland McGrath <roland@redhat.com>
53314
53315 * manual/arith.texi (Rounding Functions): Fix rint description
53316 implicit in round description.
53317
53318 2010-07-02 Ulrich Drepper <drepper@redhat.com>
53319
53320 * elf/Makefile: Fix linking for a few tests to make recent linker
53321 happy.
53322
53323 2010-06-30 Andreas Schwab <schwab@redhat.com>
53324
53325 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
53326 $(common-objpfx)libc_nonshared.a.
53327
53328 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
53329
53330 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
53331 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
53332 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
53333 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
53334 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
53335 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
53336 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
53337 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
53338 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
53339 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
53340 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
53341 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
53342 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
53343 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
53344 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
53345 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
53346 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
53347 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
53348 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
53349 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
53350 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
53351 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
53352 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
53353 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
53354 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
53355 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
53356 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
53357 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
53358 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
53359 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
53360 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
53361 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
53362 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
53363 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
53364 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
53365 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
53366 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
53367 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
53368 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
53369 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
53370 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
53371 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
53372 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
53373 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
53374 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
53375 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
53376 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
53377 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
53378
53379 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
53380
53381 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
53382 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
53383 * string/memmove.c (memmove): Renamed to ...
53384 (MEMMOVE): ...this. Default to memmove.
53385 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
53386 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
53387 (END_CHK): Define.
53388 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
53389 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
53390 mempcpy-ssse3-back memmove-ssse3-back.
53391 * sysdeps/x86_64/multiarch/bcopy.S: New file .
53392 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
53393 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
53394 * sysdeps/x86_64/multiarch/memcpy.S: New file.
53395 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
53396 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
53397 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
53398 * sysdeps/x86_64/multiarch/memmove.c: New file.
53399 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
53400 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
53401 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
53402 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
53403 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
53404 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
53405 Define.
53406 (index_Fast_Copy_Backward): Define.
53407 (HAS_ARCH_FEATURE): Define.
53408 (HAS_FAST_REP_STRING): Define.
53409 (HAS_FAST_COPY_BACKWARD): Define.
53410
53411 2010-06-21 Andreas Schwab <schwab@redhat.com>
53412
53413 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
53414 Restore proper fallback handling.
53415
53416 2010-06-19 Ulrich Drepper <drepper@redhat.com>
53417
53418 [BZ #11701]
53419 * posix/group_member.c (__group_member): Correct checking loop.
53420
53421 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
53422 OOM in getpwuid_r correctly. Return error number when the caller
53423 should return, otherwise -1.
53424 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
53425 call returning > 0 value.
53426 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
53427
53428 2010-06-07 Andreas Schwab <schwab@redhat.com>
53429
53430 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
53431 libc_nonshared.a from targets in modules-names.
53432
53433 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
53434
53435 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
53436 requires it.
53437
53438 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
53439
53440 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
53441 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
53442 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
53443 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
53444
53445 2010-06-02 Andreas Schwab <schwab@redhat.com>
53446
53447 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
53448
53449 2010-06-14 Ulrich Drepper <drepper@redhat.com>
53450
53451 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
53452 and F_GETPIPE_SZ.
53453 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
53454 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
53455 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
53456 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
53457 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
53458 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
53459
53460 2010-06-14 Roland McGrath <roland@redhat.com>
53461
53462 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
53463
53464 2010-06-07 Jakub Jelinek <jakub@redhat.com>
53465
53466 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
53467 __REDIRECT followed by __THROW.
53468 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
53469 * posix/getopt.h (getopt): Likewise.
53470
53471 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
53472
53473 * hurd/lookup-at.c (__file_name_lookup_at): Accept
53474 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
53475 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
53476 in AT_FLAGS.
53477 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
53478 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
53479
53480 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
53481
53482 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
53483
53484 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
53485
53486 [BZ #11640]
53487 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
53488 Properly check family and model.
53489
53490 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
53491
53492 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
53493
53494 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
53495
53496 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
53497
53498 2010-05-21 Ulrich Drepper <drepper@redhat.com>
53499
53500 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
53501 symbol reference.
53502
53503 2010-05-19 Andreas Schwab <schwab@redhat.com>
53504
53505 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
53506 symbol reference.
53507
53508 2010-05-21 Andreas Schwab <schwab@redhat.com>
53509
53510 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
53511 and internal_recvmmsg.
53512 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
53513 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
53514 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
53515 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
53516
53517 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
53518 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
53519 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
53520
53521 2010-05-20 Andreas Schwab <schwab@redhat.com>
53522
53523 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
53524
53525 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
53526
53527 POWER7 optimizations.
53528 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
53529 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
53530
53531 2010-05-19 Ulrich Drepper <drepper@redhat.com>
53532
53533 * version.h: Update for 2.13 development version.
53534
53535 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
53536
53537 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
53538 exceptions. Return 0.
53539
53540 2010-05-07 Roland McGrath <roland@redhat.com>
53541
53542 * elf/ldconfig.c (main): Add a const.
53543
53544 2010-05-06 Ulrich Drepper <drepper@redhat.com>
53545
53546 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
53547 (args_options): Add no-idn option.
53548 (ahosts_keys_int): Add idn_flags to ai_flags.
53549 (parse_option): Handle 'i' option to clear idn_flags.
53550
53551 * malloc/malloc.c (_int_free): Possible race in the most recently
53552 added check. Only act on the data if no current modification
53553 happened.
53554
53555 See ChangeLog.17 for earlier changes.