]> git.ipfire.org Git - thirdparty/glibc.git/blob - ChangeLog
Fix for test "malloc_usable_size: expected 7 but got 11"
[thirdparty/glibc.git] / ChangeLog
1 2014-12-01 James Lemke <jwlemke@codesourcery.com>
2
3 [BZ #17581]
4 * malloc/hooks.c
5 (mem2mem_check): Add a terminator to the chain of checking blocks.
6 (malloc_check_get_size): Use it here.
7 (mem2chunk_check): Ditto.
8
9 2014-12-01 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10
11 * sysdeps/powerpc/powerpc64/strtok.S: New file.
12 * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
13
14 2014-11-29 Carlos O'Donell <carlos@redhat.com>
15
16 * bits/ioctl-types.h: Indent preprocessor directives correctly.
17
18 * nptl/nptl-init.c: Include libc-internal.h.
19 (__pthread_initialize_minimal_internal): Use ROUND_UP.
20
21 * elf/ldconfig.c (search_dir): Expand comment.
22
23 2014-11-29 Joseph Myers <joseph@codesourcery.com>
24
25 * conform/Makefile (linknamespace-symlist-stdlibs-base): New
26 variable.
27 (linknamespace-symlist-stdlibs-tests): Likewise.
28 (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
29 instead of $(objpfx)symlist-stdlibs.
30 (linknamespace-libs-isoc): New variable.
31 (linknamespace-libs): Use $(linknamespace-libs-isoc).
32 (linknamespace-libs-ISO): New variable.
33 (linknamespace-libs-ISO99): Likewise.
34 (linknamespace-libs-ISO11): Likewise.
35 (linknamespace-libs-XPG3): Likewise.
36 (linknamespace-libs-XPG4): Likewise.
37 (linknamespace-libs-POSIX): Likewise.
38 (linknamespace-libs-UNIX98): Likewise.
39 (linknamespace-libs-XOPEN2K): Likewise.
40 (linknamespace-libs-POSIX2008): Likewise.
41 (linknamespace-libs-XOPEN2K8): Likewise.
42 ($(objpfx)symlist-stdlibs): Replace by
43 $(linknamespace-symlist-stdlibs-tests). Use
44 $(linknamespace-libs-$*) as set of libraries.
45 ($(linknamespace-header-tests)): Update dependencies. Use
46 $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
47 (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
48 * conform/linknamespace.pl: Remove comment about considering
49 definitions of symbols from irrelevant libraries.
50
51 2014-11-28 H.J. Lu <hongjiu.lu@intel.com>
52
53 [BZ #13862]
54 * elf/dl-tls.c: Include <atomic.h>.
55 (oom): Remove #ifdef SHARED/#endif.
56 (_dl_static_dtv, _dl_initial_dtv): Moved before ...
57 (_dl_resize_dtv): This. Extracted from _dl_update_slotinfo.
58 (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
59 big enough.
60 (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
61 * nptl/Makefile (tests): Add tst-stack4.
62 (modules-names): Add tst-stack4mod.
63 ($(objpfx)tst-stack4): New.
64 (tst-stack4mod.sos): Likewise.
65 ($(objpfx)tst-stack4.out): Likewise.
66 ($(tst-stack4mod.sos)): Likewise.
67 (clean): Likewise.
68 * nptl/tst-stack4.c: New file.
69 * nptl/tst-stack4mod.c: Likewise.
70
71 2014-11-27 J. Brown <jb999@gmx.de>
72
73 * sysdeps/x86/bits/string.h: Add recent CPUs.
74
75 2014-11-27 Joseph Myers <joseph@codesourcery.com>
76
77 * misc/tst-pselect.c (do_test): Use sigprocmask instead of
78 sigblock.
79
80 * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
81 feof.
82
83 * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
84 variable.
85
86 2014-11-27 Stefan Liebler <stli@linux.vnet.ibm.com>
87
88 * nscd/connections.c: Include libc-internal.h because of macro
89 usage ignore_value.
90
91 2014-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
92
93 * string/bits/string3.h (__warn_memset_zero_len): Don't
94 declare for gcc newer than 5.0.
95 (memset): Don't test for zero-length __LEN for gcc newer than
96 5.0.
97
98 2014-11-27 Joseph Myers <joseph@codesourcery.com>
99
100 * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
101 size_t for %zu format.
102
103 * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
104 difference, not %ju.
105
106 2014-11-26 Joseph Myers <joseph@codesourcery.com>
107
108 * include/libc-internal.h (ignore_value): New macro.
109 * nscd/connections.c (restart): Wrap calls to setuid and setgid
110 with ignore_value.
111
112 * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
113 definition.
114
115 * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
116 pthread_cleanup_push to void *.
117
118 * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
119 Undefine.
120
121 [BZ #16619]
122 [BZ #16740]
123 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
124 instead of 1L << 52.
125
126 * libio/bug-rewind.c (do_test): Check fwscanf return values.
127 * libio/bug-rewind2.c (do_test): Likewise.
128
129 * debug/test-stpcpy_chk-ifunc.c: Remove file.
130 * debug/test-strcpy_chk-ifunc.c: Likewise.
131 * wcsmbs/test-wcschr-ifunc.c: Likewise.
132 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
133 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
134 * wcsmbs/test-wcslen-ifunc.c: Likewise.
135 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
136 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
137 * Rules [$(multi-arch) = no] (tests): Do not filter out
138 $(tests-ifunc).
139 [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
140 * debug/Makefile (tests-ifunc): Remove variable.
141 (tests): Do not add $(tests-ifunc).
142 * wcsmbs/Makefile (tests-ifunc): Remove variable.
143 (tests): Do not add $(tests-ifunc).
144 * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
145 [TEST_IFUNC]: Remove conditionals.
146 * string/test-string.h (TEST_IFUNC): Remove macro.
147 [TEST_IFUNC]: Remove conditionals.
148
149 * string/test-strchr.c [!WIDE] (L): New macro.
150 [WIDE] (L): Likewise.
151 (check1): Use CHAR instead of char. Use L on string and character
152 constants.
153
154 2014-11-26 Adhemerval Zanella <azanella@linux.ibm.com>
155
156 * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
157 tests.
158 * sysdeps/powerpc/bits/atomic.h
159 (__arch_atomic_exchange_and_add_32_acq): Add definition.
160 (__arch_atomic_exchange_and_add_32_rel): Likewise.
161 (atomic_exchange_and_add_acq): Likewise.
162 (atomic_exchange_and_add_rel): Likewise.
163 * sysdeps/powerpc/powerpc32/bits/atomic.h
164 (__arch_atomic_exchange_and_add_64_acq): Add definition.
165 (__arch_atomic_exchange_and_add_64_rel): Likewise.
166 * sysdeps/powerpc/powerpc64/bits/atomic.h
167 (__arch_atomic_exchange_and_add_64_acq): Add definition.
168 (__arch_atomic_exchange_and_add_64_rel): Likewise.
169
170 2014-11-26 Torvald Riegel <triegel@redhat.com>
171
172 * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
173 Change synchronization of __sched_fifo_min_prio and
174 __sched_fifo_max_prio.
175 * nptl/pthread_mutexattr_getprioceiling.c
176 (pthread_mutexattr_getprioceiling): Likewise.
177 * nptl/pthread_mutexattr_setprioceiling.c
178 (pthread_mutexattr_setprioceiling): Likewise.
179 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
180 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
181 Likewise.
182
183 2014-11-26 Joseph Myers <joseph@codesourcery.com>
184
185 * setjmp/jmpbug.c (test): Make foo volatile and cast it to
186 void.
187
188 2014-11-25 Joseph Myers <joseph@codesourcery.com>
189
190 * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
191 third argument const.
192
193 2014-11-25 Paul Eggert <eggert@cs.ucla.edu>
194
195 fnmatch: work around GCC compiler warning bug with uninit var
196 * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
197 This works around a bug with x86-64 GCC 4.9.2 and earlier
198 where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
199 "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
200 used uninitialized in this function [-Wmaybe-uninitialized]".
201
202 2014-11-25 Joseph Myers <joseph@codesourcery.com>
203
204 * posix/bug-regex31.c (main): Return RES not 0.
205
206 2014-11-25 Anton Blanchard <anton@samba.org>
207
208 * sysdeps/powerpc/bits/atomic.h
209 (__arch_compare_and_exchange_bool_64_rel): Load from mem.
210
211 2014-11-24 Sterling Augustine <saugustine@google.com>
212
213 * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
214
215 2014-11-24 Ryan Cumming <etaoins@gmail.com>
216
217 [BZ #17608]
218 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
219
220 2014-11-24 Joseph Myers <joseph@codesourcery.com>
221
222 [BZ #17633]
223 * stdio-common/perror.c (perror): Call __fileno instead of fileno.
224 * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
225 variable.
226 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
227 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
228
229 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
230
231 * string/strncpy.c (strncpy): Improve performance by using memset.
232
233 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
234
235 * string/strcpy.c (strcpy):
236 Improve performance by using strlen and memcpy.
237
238 2014-11-24 Leonhard Holz <leonhard.holz@web.de>
239
240 * string/strcoll_l.c (get_next_seq): __always_inline.
241 * string/strcoll_l.c (do_compare): __always_inline.
242
243 2014-11-24 Siddhesh Poyarekar <siddhesh@redhat.com>
244
245 * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
246 defined.
247 * include/mqueue.h: Likewise.
248 * include/stdlib.h: Likewise.
249
250 * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
251 (get_null_defines): Adjust.
252 * sunrpc/Makefile: Adjust comment.
253 * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
254 * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
255 (CFLAGS-interp.c): Likewise.
256 (CFLAGS-ldconfig.c): Likewise.
257 (CPPFLAGS-.os): Likewise.
258 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
259 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
260 * extra-modules.mk (extra-modules.mk): Likewise.
261 * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
262 * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
263 * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
264 * nscd/Makefile (CPPFLAGS-nscd): Likewise.
265 * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
266 * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
267 * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
268 * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
269 * iconvdata/Makefile (CPPFLAGS): Likewise.
270 (cpp-srcs-left): Add libof for all iconvdata routines.
271 * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
272 * include/assert.h: Likewise.
273 * include/ctype.h: Likewise.
274 * include/errno.h: Likewise.
275 * include/libc-symbols.h: Likewise.
276 * include/math.h: Likewise.
277 * include/netdb.h: Likewise.
278 * include/resolv.h: Likewise.
279 * include/stdio.h: Likewise.
280 * include/stdlib.h: Likewise.
281 * include/string.h: Likewise.
282 * include/sys/stat.h: Likewise.
283 * include/wctype.h: Likewise.
284 * intl/l10nflist.c: Likewise.
285 * libidn/idn-stub.c: Likewise.
286 * libio/libioP.h: Likewise.
287 * nptl/libc_multiple_threads.c: Likewise.
288 * nptl/pthreadP.h: Likewise.
289 * posix/regex_internal.h: Likewise.
290 * resolv/res_hconf.c: Likewise.
291 * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
292 * sysdeps/arm/memmove.S: Likewise.
293 * sysdeps/arm/sysdep.h: Likewise.
294 * sysdeps/generic/_itoa.h: Likewise.
295 * sysdeps/generic/symbol-hacks.h: Likewise.
296 * sysdeps/gnu/errlist.awk: Likewise.
297 * sysdeps/gnu/errlist.c: Likewise.
298 * sysdeps/i386/i586/memcpy.S: Likewise.
299 * sysdeps/i386/i586/memset.S: Likewise.
300 * sysdeps/i386/i686/memcpy.S: Likewise.
301 * sysdeps/i386/i686/memmove.S: Likewise.
302 * sysdeps/i386/i686/mempcpy.S: Likewise.
303 * sysdeps/i386/i686/memset.S: Likewise.
304 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
305 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
306 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
307 * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
308 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
309 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
310 * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
311 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
312 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
313 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
314 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
315 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
316 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
317 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
318 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
319 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
320 * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
321 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
322 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
323 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
324 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
325 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
326 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
327 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
328 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
329 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
330 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
331 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
332 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
333 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
334 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
335 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
336 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
337 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
338 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
339 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
340 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
341 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
342 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
343 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
344 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
345 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
346 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
347 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
348 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
349 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
350 * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
351 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
352 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
353 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
354 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
355 * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
356 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
357 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
358 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
359 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
360 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
361 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
362 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
363 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
364 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
365 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
366 * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
367 * sysdeps/nptl/bits/libc-lock.h: Likewise.
368 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
369 * sysdeps/nptl/bits/stdio-lock.h: Likewise.
370 * sysdeps/posix/closedir.c: Likewise.
371 * sysdeps/posix/opendir.c: Likewise.
372 * sysdeps/posix/readdir.c: Likewise.
373 * sysdeps/posix/rewinddir.c: Likewise.
374 * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
375 * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
376 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
377 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
378 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
379 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
380 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
381 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
382 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
383 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
384 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
385 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
386 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
387 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
388 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
389 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
390 * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
391 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
392 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
393 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
394 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
395 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
396 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
397 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
398 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
399 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
400 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
401 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
402 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
403 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
404 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
405 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
406 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
407 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
408 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
409 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
410 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
411 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
412 * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
413 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
414 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
415 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
416 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
417 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
418 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
419 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
420 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
421 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
422 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
423 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
424 * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
425 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
426 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
427 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
428 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
429 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
430 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
431 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
432 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
433 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
434 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
435 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
436 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
437 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
438 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
439 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
440 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
441 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
442 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
443 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
444 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
445 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
446 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
447 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
448 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
449 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
450 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
451 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
452 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
453 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
454 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
455 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
456 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
457 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
458 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
459 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
460 * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
461 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
462 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
463 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
464 * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
465 * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
466 * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
467 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
468 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
469 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
470 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
471 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
472 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
473 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
474 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
475 * sysdeps/unix/alpha/sysdep.S: Likewise.
476 * sysdeps/unix/alpha/sysdep.h: Likewise.
477 * sysdeps/unix/make-syscalls.sh: Likewise.
478 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
479 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
480 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
481 * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
482 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
483 * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
484 * sysdeps/unix/sysv/linux/getpid.c: Likewise.
485 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
486 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
487 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
488 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
489 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
490 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
491 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
492 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
493 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
494 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
495 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
496 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
497 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
498 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
499 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
500 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
501 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
502 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
503 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
504 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
505 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
506 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
507 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
508 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
509 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
510 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
511 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
512 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
513 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
514 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
515 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
516 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
517 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
518 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
519 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
520 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
521 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
522 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
523 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
524 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
525 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
526 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
527 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
528 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
529 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
530 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
531 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
532 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
533 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
534 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
535 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
536 * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
537 * sysdeps/x86_64/memcpy.S: Likewise.
538 * sysdeps/x86_64/memmove.c: Likewise.
539 * sysdeps/x86_64/memset.S: Likewise.
540 * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
541 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
542 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
543 * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
544 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
545 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
546 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
547 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
548 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
549 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
550 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
551 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
552 * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
553 * sysdeps/x86_64/multiarch/memset.S: Likewise.
554 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
555 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
556 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
557 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
558 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
559 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
560 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
561 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
562 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
563 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
564 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
565 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
566 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
567 * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
568 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
569 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
570 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
571 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
572 * sysdeps/x86_64/strcmp.S: Likewise.
573
574 * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
575
576 * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
577 * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
578 * elf/rtld-Rules: Likewise.
579 * elf/setup-vdso.h: Likewise.
580 * include/assert.h: Likewise.
581 * include/bits/stdlib-float.h: Likewise.
582 * include/errno.h: Likewise.
583 * include/sys/stat.h: Likewise.
584 * include/unistd.h: Likewise.
585 * sysdeps/aarch64/setjmp.S: Likewise.
586 * sysdeps/alpha/setjmp.S: Likewise.
587 * sysdeps/arm/__longjmp.S: Likewise.
588 * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
589 * sysdeps/arm/setjmp.S: Likewise.
590 * sysdeps/arm/sysdep.h: Likewise.
591 * sysdeps/generic/_itoa.h: Likewise.
592 * sysdeps/generic/dl-sysdep.h: Likewise.
593 * sysdeps/generic/ldsodefs.h: Likewise.
594 * sysdeps/i386/dl-tls.h: Likewise.
595 * sysdeps/i386/setjmp.S: Likewise.
596 * sysdeps/m68k/setjmp.c: Likewise.
597 * sysdeps/mach/hurd/dl-execstack.c: Likewise.
598 * sysdeps/mach/hurd/opendir.c: Likewise.
599 * sysdeps/posix/getcwd.c: Likewise.
600 * sysdeps/posix/opendir.c: Likewise.
601 * sysdeps/posix/profil.c: Likewise.
602 * sysdeps/powerpc/dl-procinfo.h: Likewise.
603 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
604 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
605 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
606 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
607 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
608 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
609 * sysdeps/s390/dl-tls.h: Likewise.
610 * sysdeps/s390/s390-32/setjmp.S: Likewise.
611 * sysdeps/s390/s390-64/setjmp.S: Likewise.
612 * sysdeps/sh/sh3/setjmp.S: Likewise.
613 * sysdeps/sh/sh4/setjmp.S: Likewise.
614 * sysdeps/unix/alpha/sysdep.h: Likewise.
615 * sysdeps/unix/arm/sysdep.S: Likewise.
616 * sysdeps/unix/i386/sysdep.S: Likewise.
617 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
618 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
619 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
620 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
621 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
622 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
623 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
624 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
625 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
626 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
627 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
628 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
629 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
630 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
631 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
632 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
633 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
634 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
635 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
636 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
637 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
638 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
639 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
640 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
641 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
642 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
643 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
644 * sysdeps/unix/x86_64/sysdep.S: Likewise.
645 * sysdeps/x86_64/setjmp.S: Likewise.
646
647 * include/math.h: Use IS_IN instead of IS_IN_libm.
648 * sysdeps/alpha/fpu/s_copysign.c: Likewise.
649 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
650 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
651 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
652 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
653 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
654 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
655 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
656 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
657 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
658 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
659 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
660 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
661 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
662 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
663 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
664 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
665 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
666 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
667 * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
668 * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
669 * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
670 * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
671 * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
672 * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
673 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
674 * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
675 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
676 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
677 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
678 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
679 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
680 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
681 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
682 Likewise.
683 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
684 Likewise.
685 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
686 Likewise.
687 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
688 Likewise.
689 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
690 Likewise.
691 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
692 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
693 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
694 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
695 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
696 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
697 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
698 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
699 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
700 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
701 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
702 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
703 * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
704 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
705 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
706 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
707 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
708 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
709 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
710 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
711 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
712 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
713 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
714 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
715 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
716 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
717 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
718
719 * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
720 * nptl/pthreadP.h: Likewise.
721 * nptl_db/structs.def: Likewise.
722 * sysdeps/arm/sysdep.h: Likewise.
723 * sysdeps/nptl/bits/libc-lock.h: Likewise.
724 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
725 * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
726 * sysdeps/unix/alpha/sysdep.h: Likewise.
727 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
728 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
729 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
730 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
731 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
732 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
733 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
734 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
735 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
736 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
737 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
738 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
739 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
740 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
741 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
742 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
743 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
744 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
745 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
746 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
747 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
748 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
749 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
750 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
751 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
752 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
753
754 * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
755 * nptl/pthreadP.h: Likewise.
756 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
757 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
758 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
759 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
760 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
761 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
762 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
763 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
764 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
765 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
766 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
767 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
768 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
769 Likewise.
770 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
771 Likewise.
772 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
773 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
774 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
775 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
776 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
777 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
778 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
779 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
780
781 * dlfcn/dladdr.c: Use IS_IN.
782 * dlfcn/dladdr1.c: Likewise.
783 * dlfcn/dlclose.c: Likewise.
784 * dlfcn/dlerror.c: Likewise.
785 * dlfcn/dlinfo.c: Likewise.
786 * dlfcn/dlmopen.c: Likewise.
787 * dlfcn/dlopen.c: Likewise.
788 * dlfcn/dlsym.c: Likewise.
789 * dlfcn/dlvsym.c: Likewise.
790
791 * include/ifaddrs.h: Use IS_IN.
792 * inet/check_pf.c: Likewise.
793 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
794 * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
795
796 * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
797 IS_IN_ldconfig.
798 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
799 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
800
801 * include/shlib-compat.h [!NOT_IN_libc]: Remove.
802 * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
803 IS_IN (libc).
804
805 * elf/Makefile (libof-sotruss-lib): Set as extramodules.
806
807 * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
808 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
809 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
810 * include/libc-symbols.h (IS_IN_LIB): New macro.
811 * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
812 * include/netdb.h: Likewise.
813 * include/stap-probe.h: Remove all uses of IN_LIB.
814
815 * Makeconfig (module-cppflags-real): Define MODULE_NAME
816 instead of IN_MODULE.
817 * include/libc-symbols.h (IN_MODULE): Define using
818 MODULE_NAME.
819 (PASTE_NAME, PASTE_NAME1): New macros.
820 * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
821 of IN_LIB.
822 (STAP_PROBE_ASM): Likewise.
823
824 2014-11-23 Samuel Thibault <samuel.thibault@ens-lyon.org>
825
826 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
827 __mach_init in dlopened libc.
828
829 2014-11-22 Mike Frysinger <vapier@gentoo.org>
830
831 * sysdeps/arm/preconfigure.ac: Delete EABI check.
832 * sysdeps/arm/preconfigure: Regenerate.
833
834 2014-11-21 Roland McGrath <roland@hack.frob.com>
835
836 * nptl/pthread_create.c (__pthread_create_2_1): Set
837 ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
838 when copying values from IATTR into PD.
839
840 2014-11-21 Will Newton <will.newton@linaro.org>
841 Andrew Pinski <andrew.pinski@caviumnetworks.com>
842
843 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
844 Refactor inline-asm. Also add comment.
845
846 * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
847 ElfW macro instead of hardcoded Elf64 types.
848 (la_aarch64_gnu_pltenter): Likewise.
849 * sysdeps/aarch64/dl-machine.h
850 (elf_machine_runtime_setup): Use ElfW(Addr).
851
852 * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
853 R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
854 R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
855 R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
856 R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
857 (R_AARCH64_TLS_DTPMOD64): Rename to ..
858 (R_AARCH64_TLS_DTPMOD): This.
859 (R_AARCH64_TLS_DTPREL64): Rename to ...
860 (R_AARCH64_TLS_DTPREL): This.
861 (R_AARCH64_TLS_TPREL64): Rename to ...
862 (R_AARCH64_TLS_TPREL): This.
863 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
864 R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
865 R_AARCH64_TLS_TPREL64.
866 (elf_machine_rela): Likewise.
867
868 2014-11-21 Torvald Riegel <triegel@redhat.com>
869
870 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
871 by setting it to 0. 64b atomics are not supported currently.
872
873 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
874
875 [BZ #16469]
876 * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
877 search domain names.
878
879 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
880
881 [BZ #16469]
882 * NEWS: Update.
883 * resolv/res_query.c (__libc_res_nquerydomain): Retain
884 trailing dot.
885 * posix/tst-getaddrinfo5.c: New.
886 * posix/Makefile (tests): Add it.
887
888 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
889
890 [BZ #14498]
891 * NEWS: Fixed.
892 * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
893 after parsing line but before break_if_match.
894 * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
895 if there is a protocol mismatch.
896
897 2014-11-21 Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
898
899 * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
900 because the potential race is on the user-supplied stream.
901
902 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
903
904 * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
905 string literal if not passed a buffer.
906 * manual/job.texi (ctermid): Update reasoning, note deviation
907 from posix, suggest mtasurace when not passed a buffer, for
908 future non-preliminary safety notes.
909
910 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
911
912 * manual/users.texi (cuserid): Fix MT-Safety note for the case
913 of not passing it a buffer.
914 Reported by Peng Haitao.
915
916 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
917
918 * manual/Makefile ($(objpfx)stamp-summary): Require
919 check-safety.sh to pass.
920 * manual/check-safety.sh: Wish for verification that every
921 @deftypefn and @deftypefun is followed by a @safety remark.
922
923 2014-11-20 Roland McGrath <roland@hack.frob.com>
924
925 * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
926
927 * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
928 PTHREAD_CANCEL_ASYNCHRONOUS.
929 * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
930 send SIGCANCEL.
931
932 * nptl/default-sched.h: New file.
933 * sysdeps/unix/sysv/linux/default-sched.h: New file.
934 * nptl/pthread_create.c: Include it.
935 (__pthread_create_2_1): Use collect_default_sched instead of making
936 Linux syscalls here directly.
937
938 2014-11-20 Torvald Riegel <triegel@redhat.com>
939
940 * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
941 __pthread_once): Use C11 atomics.
942
943 2014-11-20 Torvald Riegel <triegel@redhat.com>
944
945 * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
946
947 2014-11-20 Torvald Riegel <triegel@redhat.com>
948
949 * include/atomic.h (__atomic_link_error, __atomic_check_size,
950 atomic_thread_fence_acquire, atomic_thread_fence_release,
951 atomic_thread_fence_seq_cst, atomic_load_relaxed,
952 atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
953 atomic_compare_exchange_weak_relaxed,
954 atomic_compare_exchange_weak_acquire,
955 atomic_compare_exchange_weak_release,
956 atomic_exchange_acquire, atomic_exchange_release,
957 atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
958 atomic_fetch_add_release, atomic_fetch_add_acq_rel,
959 atomic_fetch_and_acquire,
960 atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
961
962 2014-11-20 Torvald Riegel <triegel@redhat.com>
963
964 * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
965 USE_ATOMIC_COMPILER_BUILTINS): Define.
966 * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
967 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
968 * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
969 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
970 * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
971 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
972 * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
973 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
974 * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
975 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
976 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
977 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
978 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
979 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
980 * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
981 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
982 * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
983 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
984 * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
985 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
986 * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
987 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
988 * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
989 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
990 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
991 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
992 * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
993 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
994 * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
995 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
996 * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
997 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
998 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
999 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1000 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
1001 (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1002 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
1003 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1004 * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
1005 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1006
1007 2014-11-19 Roland McGrath <roland@hack.frob.com>
1008
1009 * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
1010 the sched_priority value here. It was already checked when the user
1011 called pthread_attr_setschedparam.
1012
1013 * nptl/tst-bad-schedattr.c: New file.
1014 * nptl/Makefile (tests): Add it.
1015
1016 2014-11-19 Carlos O'Donell <carlos@redhat.com>
1017 Florian Weimer <fweimer@redhat.com>
1018 Joseph Myers <joseph@codesourcery.com>
1019 Adam Conrad <adconrad@0c3.net>
1020 Andreas Schwab <schwab@suse.de>
1021 Brooks <bmoses@google.com>
1022
1023 [BZ #17625]
1024 * wordexp-test.c (__dso_handle): Add prototype.
1025 (__register_atfork): Likewise.
1026 (__app_register_atfork): New function.
1027 (registered_forks): New global.
1028 (register_fork): New function.
1029 (test_case): Add 3 new tests for WRDE_CMDSUB.
1030 (main): Call __app_register_atfork.
1031 (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
1032 fork count is non-zero fail the test.
1033 * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
1034 is set.
1035 (parse_dollars): Remove check for WRDE_NOCMD.
1036 (parse_dquote): Likewise.
1037
1038 2014-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
1039
1040 * Makeconfig (built-modules): List non-library modules to be
1041 built.
1042 (module-cppflags): Include libc-modules.h for
1043 everything except shlib-versions.v.i.
1044 (CPPFLAGS): Use it.
1045 (before-compile): Add libc-modules.h.
1046 ($(common-objpfx)libc-modules.h,
1047 $(common-objpfx)libc-modules.stmp): New targets.
1048 (common-generated): Add libc-modules.h and libc-modules.stmp.
1049 ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
1050 * include/libc-symbols.h: Don't include libc-modules.h.
1051 * include/libc-modules.h: Remove file.
1052 * scripts/gen-libc-modules.awk: New script to generate
1053 libc-modules.h.
1054 * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
1055 Depend on libc-modules.stmp.
1056
1057 * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
1058
1059 * Makeconfig (in-module): Get value of libof set for the
1060 translation unit.
1061 (CPPFLAGS): Use $(in-module).
1062 * Makerules: Don't suffix routine names for nonlib.
1063 * include/libc-modules.h: New file.
1064 * include/libc-symbols.h: Include libc-modules.h
1065 (IS_IN): New macro to replace IS_IN_* macros.
1066 * elf/Makefile: Set libof-* for each routine.
1067 * elf/rtld-Rules: Likewise.
1068 * extra-modules.mk: Likewise.
1069 * iconv/Makefile: Likewise.
1070 * iconvdata/Makefile: Likewise.
1071 * locale/Makefile: Likewise.
1072 * malloc/Makefile: Likewise.
1073 * nss/Makefile: Likewise.
1074 * sysdeps/gnu/Makefile: Likewise.
1075 * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
1076 * sysdeps/unix/sysv/linux/Makefile: Likewise.
1077 * sysdeps/s390/s390-64/Makefile: Likewise.
1078 * nscd/Makefile: Set libof-* for each routine. Set CFLAGS and
1079 CPPFLAGS for nscd instead of nonlib.
1080
1081 2014-11-18 Roland McGrath <roland@hack.frob.com>
1082
1083 * nptl/createthread.c: New file.
1084
1085 * nptl/createthread.c: Moved ...
1086 * sysdeps/unix/sysv/linux/createthread.c: ... here.
1087
1088 * nptl/createthread.c: Add proper top-line comment.
1089 (do_clone): Folded into ...
1090 (create_thread): ... here. Take new arguments STOPPED_START and
1091 THREAD_RAN. Always set PD->stopped_start to something here. Don't
1092 increment __nptl_threads, do event-reporting logic, do
1093 CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
1094 here. Set *THREAD_RAN after ARCH_CLONE call succeeds. Don't do any
1095 resource cleanup if sched_setaffinity or sched_setscheduler fails,
1096 just send SIGCANCEL.
1097 * nptl/pthread_create.c: Forward-declare create_thread before
1098 including createthread.c.
1099 (start_thread): Use new macro START_THREAD_DEFN to replace defining
1100 declaration, and new macro START_THREAD_SELF to replace argument.
1101 Remove return statement.
1102 (report_thread_creation): New function.
1103 (__pthread_create_2_1): Use it. Do TD_CREATE reporting,
1104 synchronization logic, and __nptl_nthreads increment here, around
1105 calling create_thread. Do CHECK_THREAD_SYSINFO and initialize
1106 PD->parent_cancelhandling here, before create_thread. When
1107 create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
1108 __deallocate_stack, and ENOMEM translation here.
1109
1110 2014-11-18 Joseph Myers <joseph@codesourcery.com>
1111
1112 [BZ #17616]
1113 * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
1114 (mptwo): Rename to __mptwo.
1115 (__inv): Use __mptwo instead of mptwo.
1116 * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
1117 (mptwo): Rename to __mptwo.
1118 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
1119 of mpone and __mptwo instead of mptwo.
1120 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
1121 instead of mpone.
1122 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
1123 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
1124 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
1125 of mpone and __mptwo instead of mptwo.
1126 (__mpranred): Use __mpone instead of mpone.
1127 * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
1128 variable.
1129 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
1130 (test-xfail-ISO99/math.h/linknamespace): Likewise.
1131 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
1132 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
1133 (test-xfail-ISO11/math.h/linknamespace): Likewise.
1134 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
1135 (test-xfail-XPG3/math.h/linknamespace): Likewise.
1136 (test-xfail-XPG4/math.h/linknamespace): Likewise.
1137 (test-xfail-POSIX/math.h/linknamespace): Likewise.
1138 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
1139 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
1140 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
1141 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
1142 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
1143 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
1144 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
1145 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
1146 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
1147 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
1148
1149 2014-11-18 Tom de Vries <tom@codesoucery.com>
1150
1151 * manual/signal.texi (Primitives Interrupted by Signals): In section,
1152 replace BSD Handler xref with BSD Signal Handling.
1153
1154 2014-11-17 Richard Henderson <rth@redhat.com>
1155
1156 * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
1157 (_FP_PACK_RAW_2): Remove.
1158 (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
1159 (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
1160 (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
1161 (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
1162 * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
1163 * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
1164 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
1165 * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
1166 * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
1167 * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
1168 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
1169 * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
1170 * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
1171 * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
1172 * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
1173 * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
1174
1175 2014-11-14 Roland McGrath <roland@hack.frob.com>
1176
1177 * signal/signal.h [__USE_MISC]
1178 (struct sigvec): Remove type.
1179 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
1180 (sigvec): Remove declaration.
1181 * sysdeps/posix/sigvec.c: Moved ...
1182 * signal/sigvec.c: ... here, replacing old file.
1183 (struct sigvec): New type, copied from old signal.h definition.
1184 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
1185 (__sigvec): Convert definition to prototype.
1186 (sigvec): Replace weak_alias with compat_symbol.
1187 * signal/Versions (libc: GLIBC_2.21): New version set.
1188 * include/signal.h: Remove __sigvec declaration.
1189 * sysdeps/unix/bsd/sigvec.c: Remove file.
1190 * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
1191 * manual/signal.texi (BSD Handler): Remove subsection.
1192 Move siginterrupt up to ...
1193 (BSD Signal Handling): ... here. Mark it as XPG rather than BSD.
1194 (Blocking in BSD): Fold subsection into its parent.
1195 * NEWS: Mention sigvec removal.
1196
1197 2014-11-14 Joseph Myers <joseph@codesourcery.com>
1198
1199 * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
1200 (DLA_FMS): Make definition conditional only on [__FMA4__].
1201 [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
1202 definition.
1203
1204 * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
1205 Make definition conditional only on [PROF].
1206 [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
1207 definition.
1208 [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
1209 [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
1210
1211 * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
1212 !__GNUC__].
1213 * include/signal.h (__sigpause): Move declaration above call to
1214 libc_hidden_proto.
1215 * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
1216 variable.
1217 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
1218 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
1219
1220 2014-11-14 David S. Miller <davem@davemloft.net>
1221
1222 * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
1223 Define before including <string/memcpy.c> and <string/mempcpy.c>.
1224
1225 2014-11-14 Joseph Myers <joseph@codesourcery.com>
1226
1227 * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
1228 * configure: Regenerated.
1229 * manual/install.texi (Tools for Compilation): Document a
1230 requirement of GCC 4.6 or later and that GCC 4.9 is the newest
1231 compiler verified to work.
1232 * INSTALL: Regenerated.
1233
1234 * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
1235 redeclare with asm name.
1236 [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
1237 * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
1238 including <string.h>.
1239 * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
1240 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
1241 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
1242 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
1243 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
1244 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
1245 [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
1246
1247 2014-11-13 Joseph Myers <joseph@codesourcery.com>
1248
1249 * stdlib/strtol.c (__strtol): Use prototype definition.
1250
1251 [BZ #17594]
1252 * stdlib/strtol.c (SYM__): New macro.
1253 (SYM__1): Likewise.
1254 (__strtol): Likewise.
1255 (strtol): Rename to __strtol and define as weak alias of
1256 __strtol. Use libc_hidden_weak.
1257
1258 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
1259
1260 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
1261 Use numbered labels in inline assembly.
1262
1263 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
1264
1265 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
1266 Add setjmp LIBC_PROBE.
1267 * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
1268 Likewise.
1269 * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
1270 Add longjmp, longjmp_target LIBC_PROBE.
1271 * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
1272 Likewise.
1273
1274 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
1275
1276 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
1277 Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
1278 to get rid of unused variable warning.
1279
1280 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
1281
1282 * sysdeps/s390/s390-32/backtrace.c (__backtrace):
1283 Check for unwind_backtrace == NULL only in SHARED case.
1284 (__backchain_backtrace): Compile only in SHARED case.
1285 * sysdeps/s390/s390-64/backtrace.c (__backtrace):
1286 Likewise.
1287 (__backchain_backtrace): Declare as static.
1288
1289 2014-11-12 Roland McGrath <roland@hack.frob.com>
1290
1291 * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
1292 (__libc_multiple_threads_ptr): Variable moved ...
1293 * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
1294
1295 2014-11-12 Joseph Myers <joseph@codesourcery.com>
1296
1297 * conform/GlibcConform.pm: New file.
1298 * conform/conformtest.pl: Use GlibcConform module.
1299 * conform/linknamespace.pl: New file.
1300 * conform/list-header-symbols.pl: Likewise.
1301 * conform/Makefile (linknamespace-symlists-base): New variable.
1302 (linknamespace-symlists-tests): Likewise.
1303 (linknamespace-header-base): Likewise.
1304 (linknamespace-header-tests): Likewise.
1305 (tests-special): Add new tests.
1306 ($(linknamespace-symlists-tests)): New rule.
1307 (linknamespace-libs): New variable.
1308 ($(objpfx)symlist-stdlibs): New rule.
1309 ($(linknamespace-header-tests)): Likewise.
1310 (test-xfail-XPG3/varargs.h/linknamespace): New variable.
1311 (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
1312 (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
1313 (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
1314 (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
1315 (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
1316 (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
1317 (test-xfail-ISO/math.h/linknamespace): Likewise.
1318 (test-xfail-ISO/signal.h/linknamespace): Likewise.
1319 (test-xfail-ISO/stdio.h/linknamespace): Likewise.
1320 (test-xfail-ISO/time.h/linknamespace): Likewise.
1321 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
1322 (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
1323 (test-xfail-ISO99/math.h/linknamespace): Likewise.
1324 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
1325 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
1326 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
1327 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
1328 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
1329 (test-xfail-ISO11/math.h/linknamespace): Likewise.
1330 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
1331 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
1332 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
1333 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
1334 (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
1335 (test-xfail-XPG3/glob.h/linknamespace): Likewise.
1336 (test-xfail-XPG3/math.h/linknamespace): Likewise.
1337 (test-xfail-XPG3/regex.h/linknamespace): Likewise.
1338 (test-xfail-XPG3/search.h/linknamespace): Likewise.
1339 (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
1340 (test-xfail-XPG3/time.h/linknamespace): Likewise.
1341 (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
1342 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
1343 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
1344 (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
1345 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
1346 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
1347 (test-xfail-XPG4/grp.h/linknamespace): Likewise.
1348 (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
1349 (test-xfail-XPG4/math.h/linknamespace): Likewise.
1350 (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
1351 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
1352 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
1353 (test-xfail-XPG4/search.h/linknamespace): Likewise.
1354 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
1355 (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
1356 (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
1357 (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
1358 (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
1359 (test-xfail-XPG4/time.h/linknamespace): Likewise.
1360 (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
1361 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
1362 (test-xfail-POSIX/aio.h/linknamespace): Likewise.
1363 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
1364 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
1365 (test-xfail-POSIX/math.h/linknamespace): Likewise.
1366 (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
1367 (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
1368 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
1369 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
1370 (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
1371 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
1372 (test-xfail-POSIX/time.h/linknamespace): Likewise.
1373 (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
1374 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
1375 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
1376 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
1377 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
1378 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
1379 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
1380 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
1381 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
1382 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
1383 (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
1384 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
1385 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
1386 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
1387 (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
1388 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
1389 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
1390 (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
1391 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
1392 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
1393 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
1394 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
1395 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
1396 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
1397 (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
1398 (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
1399 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
1400 (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
1401 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
1402 (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
1403 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
1404 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
1405 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
1406 (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
1407 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
1408 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
1409 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
1410 (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
1411 (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
1412 (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
1413 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
1414 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
1415 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
1416 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
1417 (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
1418 (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
1419 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
1420 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
1421 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
1422 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
1423 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
1424 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
1425 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
1426 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
1427 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
1428 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
1429 (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
1430 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
1431 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
1432 (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
1433 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
1434 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
1435 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
1436 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
1437 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
1438 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
1439 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
1440 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
1441 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
1442 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
1443 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
1444 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
1445 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
1446 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
1447 (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
1448 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
1449 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
1450 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
1451 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
1452 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
1453 (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
1454 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
1455 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
1456 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
1457 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
1458 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
1459 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
1460 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
1461 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
1462 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
1463 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
1464 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
1465 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
1466 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
1467 (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
1468 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
1469 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
1470 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
1471
1472 [BZ #17589]
1473 * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
1474 of fgets_unlocked.
1475
1476 [BZ #17585]
1477 * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
1478 (memmem): Rename to __memmem and define as weak alias of
1479 __memmem. Use libc_hidden_weak.
1480 (__memmem): Use libc_hidden_def.
1481 * include/string.h (__memmem): Declare. Use libc_hidden_proto.
1482 * locale/findlocale.c (valid_locale_name): Use __memmem instead of
1483 memmem.
1484
1485 [BZ #17582]
1486 * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
1487 (__fgets_unlocked): Add alias of _IO_fgets. Use libc_hidden_def.
1488 * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
1489 and define as weak alias of __fgets_unlocked. Use
1490 libc_hidden_weak.
1491 (__fgets_unlocked): Use libc_hidden_def.
1492 * include/stdio.h (__fgets_unlocked): Declare. Use
1493 libc_hidden_proto.
1494 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
1495 __fgets_unlocked instead of fgets_unlocked.
1496 * sysdeps/unix/sysv/linux/alpha/getsysstats.c
1497 (GET_NPROCS_CONF_PARSER): Likewise.
1498 * sysdeps/unix/sysv/linux/sparc/getsysstats.c
1499 (GET_NPROCS_CONF_PARSER): Likewise.
1500
1501 [BZ #17574]
1502 * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
1503 weak alias of __wmemset. Use libc_hidden_weak.
1504 (__wmemset): Use libc_hidden_def.
1505 * include/wchar.h (__wmemset): Declare. Use libc_hidden_proto.
1506 * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
1507 of wmemset.
1508
1509 [BZ #17573]
1510 * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
1511 with asm name __mempcpy.
1512 [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
1513
1514 [BZ #17572]
1515 * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
1516 and define as weak alias of __rawmemchr.
1517 (__rawmemchr): Do not define as strong alias of rawmemchr.
1518
1519 [BZ #17571]
1520 * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
1521 alias of __qsort_r.
1522 (qsort): Call __qsort_r instead of qsort_r.
1523 * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
1524 (__qsort_r): Declare. Call libc_hidden_proto.
1525 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
1526 instead of qsort_r.
1527 * nscd/gai.c (__qsort_r): Define to qsort_r.
1528 * posix/tst-rfc3484.c (__qsort_r): Likewise.
1529 * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
1530 * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
1531
1532 [BZ #17570]
1533 * malloc/malloc.c (malloc_info): Rename to __malloc_info and
1534 define as weak alias of __malloc_info.
1535
1536 [BZ #17584]
1537 * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
1538 as weak alias of __rewinddir. Don't use libc_hidden_def.
1539 (__rewinddir): Use libc_hidden_def.
1540 * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
1541 as weak alias of __rewinddir. Don't use libc_hidden_def.
1542 (__rewinddir): Use libc_hidden_def.
1543 * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
1544 weak alias of __rewinddir. Don't use libc_hidden_def.
1545 (__rewinddir): Use libc_hidden_def.
1546 * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
1547 (__rewinddir): Use libc_hidden_proto.
1548 * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
1549 rewinddir.
1550 (__getcwd): Use __rewinddir instead of rewinddir.
1551
1552 [BZ #17583]
1553 * libio/fileno.c (fileno): Rename to __fileno and define as weak
1554 alias of __fileno. Use libc_hidden_weak.
1555 (__fileno): Use libc_hidden_def.
1556 [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
1557 * libio/ftello.c (ftello): Rename to __ftello and define as weak
1558 alias of __ftello.
1559 [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
1560 __ftello.
1561 * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
1562 (__fread_unlocked): Define as strong alias of _IO_fread. Use
1563 libc_hidden_def.
1564 (fread_unlocked): Don't use libc_hidden_ver.
1565 * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
1566 and define as weak alias of __fread_unlocked. Don't use
1567 libc_hidden_def.
1568 (__fread_unlocked): Use libc_hidden_def.
1569 * include/stdio.h (__fileno): Declare. Use libc_hidden_proto.
1570 (ftello): Don't use libc_hidden_proto.
1571 (__ftello): Declare. Use libc_hidden_proto.
1572 (fread_unlocked): Don't use libc_hidden_proto.
1573 (__fread_unlocked): Declare. Use libc_hidden_proto.
1574 * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
1575 and __ftello instead of fileno, fread_unlocked and ftello.
1576
1577 2012-11-12 Siddhesh Poyarekar <siddhesh@redhat.com>
1578
1579 * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
1580 GOT12.
1581 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
1582 Likewise.
1583 (_dl_start_user): Likewise.
1584 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
1585
1586 2014-11-12 Carlos O'Donell <carlos@redhat.com>
1587 Siddhesh Poyarekar <siddhesh@redhat.com>
1588
1589 * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
1590 Move argv and envp down instead of moving argc up.
1591 * sysdeps/s390/s390-32/dl-sysdep.h: New file.
1592
1593 2014-11-12 Leonhard Holz <leonhard.holz@web.de>
1594
1595 [BZ #17506]
1596 * test-skeleton.c (main): Return successful if one of
1597 EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
1598 * string/tst-strcoll-overflow.c: Define expected status.
1599
1600 2014-11-12 Tatiana Udalova <t.udalova@samsung.com>
1601
1602 [BZ #17475]
1603 * locale/iso-639.def: Define Bhili and Tulu language codes.
1604
1605 2014-11-11 Alan Hayward <alan.hayward@arm.com>
1606
1607 * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
1608
1609 2014-11-10 Renlin Li <Renlin.Li@arm.com>
1610
1611 [BZ #17555]
1612 * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
1613
1614 2014-11-10 Andrew Senkevich <andrew.n.senkevich@gmail.com>
1615
1616 * configure.ac: Updated check of minimal required version to
1617 2.22.
1618 * manual/install.texi (Tools for Compilation): Updated version
1619 number.
1620 * configure: Regenerated.
1621 * INSTALL: Likewise.
1622
1623 2014-11-07 Andreas Schwab <schwab@linux-m68k.org>
1624
1625 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
1626 __tls_get_addr.
1627
1628 2014-11-07 Joseph Myers <joseph@codesourcery.com>
1629
1630 * include/sys/wait.h (__libc_waitpid): Remove declaration.
1631 * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
1632 (__waitpid): Don't define as alias. Use libc_hidden_def not
1633 libc_hidden_weak.
1634 (waitpid): Define as alias of __waitpid.
1635 * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
1636 __waitpid.
1637 (__waitpid): Don't define as alias. Use libc_hidden_def not
1638 libc_hidden_weak.
1639 (waitpid): Define as alias of __waitpid.
1640 * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
1641 __libc_waitpid alias.
1642 * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
1643 * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
1644 Likewise.
1645 * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
1646 * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
1647 * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
1648 alias.
1649 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
1650 __waitpid.
1651 (__waitpid): Don't define as alias. Use libc_hidden_def not
1652 libc_hidden_weak.
1653 (waitpid): Define as alias of __waitpid.
1654
1655 2014-11-06 Carlos O'Donell <carlos@redhat.com>
1656
1657 * manual/llio.texi: Add comment that write safety has been
1658 fixed in Linux.
1659
1660 * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
1661 (localplt-build-dso): Add elf/ld.so.
1662 * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
1663 i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
1664 and free for ld.so.
1665 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
1666 __libc_memalign, malloc, calloc, realloc, and free for ld.so.
1667 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
1668 Likewise.
1669 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
1670 Likewise.
1671 * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
1672 * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
1673 version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
1674 * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
1675 * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
1676 * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
1677 * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
1678 * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
1679 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
1680 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
1681 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
1682
1683 2014-11-05 Joseph Myers <joseph@codesourcery.com>
1684
1685 [BZ #14132]
1686 * include/libc-symbols.h (INTUSE): Remove macro.
1687 (INTDEF): Likewise.
1688 (INTVARDEF): Likewise.
1689 (_INTVARDEF): Likewise.
1690 (INTDEF2): Likewise.
1691 (INTVARDEF2): Likewise.
1692 * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
1693 rtld_hidden_def instead of INTVARDEF.
1694 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
1695 (_dl_starting_up_internal): Remove declaration.
1696 (_dl_starting_up): Use rtld_hidden_proto.
1697 * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
1698 declaration.
1699 [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
1700 (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
1701 _dl_starting_up.
1702 * elf/dl-writev.h (_dl_writev): Likewise.
1703 * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
1704 (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
1705 _dl_starting_up_internal.
1706
1707 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1708
1709 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
1710 test-skeleton.c.
1711
1712 2014-11-05 Will Newton <will.newton@linaro.org>
1713
1714 * benchtests/Makefile: (bench-malloc): Add malloc thread
1715 scalability benchmark.
1716 * benchtests/bench-malloc-threads.c: New file.
1717
1718 2014-11-05 Richard Earnshaw <rearnsha@arm.com>
1719
1720 * sysdeps/aarch64/strchrnul.S: New file.
1721
1722 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1723
1724 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
1725 definition.
1726 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
1727 Likwise.
1728 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
1729 Likewise.
1730 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
1731 Likewise.
1732 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
1733 Likewise.
1734 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
1735 Likewise.
1736
1737 2014-11-05 Arjun Shankar <arjun.is@lostca.se>
1738
1739 * catgets/test-gencat.c: Use test-skeleton.c.
1740 * catgets/tst-catgets.c: Likewise.
1741 * csu/tst-empty.c: Likewise.
1742 * elf/tst-audit2.c: Likewise.
1743 * elf/tst-global1.c: Likewise.
1744 * elf/tst-pathopt.c: Likewise.
1745 * elf/tst-piemod1.c: Likewise.
1746 * elf/tst-tls10.c: Likewise.
1747 * elf/tst-tls11.c: Likewise.
1748 * elf/tst-tls12.c: Likewise.
1749 * gnulib/tst-gcc.c: Likewise.
1750 * iconvdata/tst-e2big.c: Likewise.
1751 * iconvdata/tst-loading.c: Likewise.
1752 * iconv/tst-iconv1.c: Likewise.
1753 * iconv/tst-iconv2.c: Likewise.
1754 * inet/test-inet6_opt.c: Likewise.
1755 * inet/tst-gethnm.c: Likewise.
1756 * inet/tst-network.c: Likewise.
1757 * inet/tst-ntoa.c: Likewise.
1758 * intl/tst-codeset.c: Likewise.
1759 * intl/tst-gettext2.c: Likewise.
1760 * intl/tst-gettext3.c: Likewise.
1761 * intl/tst-ngettext.c: Likewise.
1762 * intl/tst-translit.c: Likewise.
1763 * io/test-stat.c: Likewise.
1764 * libio/test-fmemopen.c: Likewise.
1765 * libio/tst-freopen.c: Likewise.
1766 * libio/tst-sscanf.c: Likewise.
1767 * libio/tst-ungetwc1.c: Likewise.
1768 * libio/tst-ungetwc2.c: Likewise.
1769 * libio/tst-widetext.c: Likewise.
1770 * localedata/tst-ctype.c: Likewise.
1771 * localedata/tst-digits.c: Likewise.
1772 * localedata/tst-leaks.c: Likewise.
1773 * localedata/tst-mbswcs1.c: Likewise.
1774 * localedata/tst-mbswcs2.c: Likewise.
1775 * localedata/tst-mbswcs3.c: Likewise.
1776 * localedata/tst-mbswcs4.c: Likewise.
1777 * localedata/tst-mbswcs5.c: Likewise.
1778 * localedata/tst-setlocale.c: Likewise.
1779 * localedata/tst-trans.c: Likewise.
1780 * localedata/tst-wctype.c: Likewise.
1781 * localedata/tst-xlocale1.c: Likewise.
1782 * login/tst-grantpt.c: Likewise.
1783 * malloc/tst-calloc.c: Likewise.
1784 * malloc/tst-malloc.c: Likewise.
1785 * malloc/tst-mallocstate.c: Likewise.
1786 * malloc/tst-mcheck.c: Likewise.
1787 * malloc/tst-mtrace.c: Likewise.
1788 * malloc/tst-obstack.c: Likewise.
1789 * math/atest-exp2.c: Likewise.
1790 * math/atest-exp.c: Likewise.
1791 * math/atest-sincos.c: Likewise.
1792 * math/test-matherr.c: Likewise.
1793 * math/test-misc.c: Likewise.
1794 * math/test-powl.c: Likewise.
1795 * math/tst-definitions.c: Likewise.
1796 * misc/tst-dirname.c: Likewise.
1797 * misc/tst-efgcvt.c: Likewise.
1798 * misc/tst-fdset.c: Likewise.
1799 * misc/tst-hsearch.c: Likewise.
1800 * misc/tst-mntent2.c: Likewise.
1801 * nptl/tst-sem7.c: Likewise.
1802 * nptl/tst-sem8.c: Likewise.
1803 * nptl/tst-sem9.c: Likewise.
1804 * nss/test-netdb.c: Likewise.
1805 * posix/tst-fnmatch.c: Likewise.
1806 * posix/tst-getlogin.c: Likewise.
1807 * posix/tst-gnuglob.c: Likewise.
1808 * posix/tst-mmap.c: Likewise.
1809 * pwd/tst-getpw.c: Likewise.
1810 * resolv/tst-inet_ntop.c: Likewise.
1811 * rt/tst-timer.c: Likewise.
1812 * stdio-common/test-fseek.c: Likewise.
1813 * stdio-common/test-popen.c: Likewise.
1814 * stdio-common/test-vfprintf.c: Likewise.
1815 * stdio-common/tst-cookie.c: Likewise.
1816 * stdio-common/tst-fileno.c: Likewise.
1817 * stdio-common/tst-gets.c: Likewise.
1818 * stdio-common/tst-obprintf.c: Likewise.
1819 * stdio-common/tst-perror.c: Likewise.
1820 * stdio-common/tst-sprintf2.c: Likewise.
1821 * stdio-common/tst-sprintf3.c: Likewise.
1822 * stdio-common/tst-sprintf.c: Likewise.
1823 * stdio-common/tst-swprintf.c: Likewise.
1824 * stdio-common/tst-tmpnam.c: Likewise.
1825 * stdio-common/tst-unbputc.c: Likewise.
1826 * stdio-common/tst-wc-printf.c: Likewise.
1827 * stdlib/tst-environ.c: Likewise.
1828 * stdlib/tst-fmtmsg.c: Likewise.
1829 * stdlib/tst-limits.c: Likewise.
1830 * stdlib/tst-rand48-2.c: Likewise.
1831 * stdlib/tst-rand48.c: Likewise.
1832 * stdlib/tst-random2.c: Likewise.
1833 * stdlib/tst-random.c: Likewise.
1834 * stdlib/tst-strtol.c: Likewise.
1835 * stdlib/tst-strtoll.c: Likewise.
1836 * stdlib/tst-tls-atexit.c: Likewise.
1837 * stdlib/tst-xpg-basename.c: Likewise.
1838 * string/test-ffs.c: Likewise.
1839 * string/tst-bswap.c: Likewise.
1840 * string/tst-inlcall.c: Likewise.
1841 * string/tst-strtok.c: Likewise.
1842 * string/tst-strxfrm.c: Likewise.
1843 * sysdeps/x86_64/tst-audit10.c: Likewise.
1844 * sysdeps/x86_64/tst-audit3.c: Likewise.
1845 * sysdeps/x86_64/tst-audit4.c: Likewise.
1846 * sysdeps/x86_64/tst-audit5.c: Likewise.
1847 * time/tst-ftime_l.c: Likewise.
1848 * time/tst-getdate.c: Likewise.
1849 * time/tst-mktime3.c: Likewise.
1850 * time/tst-mktime.c: Likewise.
1851 * time/tst-posixtz.c: Likewise.
1852 * time/tst-strptime2.c: Likewise.
1853 * time/tst-strptime3.c: Likewise.
1854 * wcsmbs/tst-btowc.c: Likewise.
1855 * wcsmbs/tst-mbrtowc.c: Likewise.
1856 * wcsmbs/tst-mbsrtowcs.c: Likewise.
1857 * wcsmbs/tst-wchar-h.c: Likewise.
1858 * wcsmbs/tst-wcpncpy.c: Likewise.
1859 * wcsmbs/tst-wcrtomb.c: Likewise.
1860 * wcsmbs/tst-wcsnlen.c: Likewise.
1861 * wcsmbs/tst-wcstof.c: Likewise.
1862
1863 2014-11-04 Joseph Myers <joseph@codesourcery.com>
1864
1865 [BZ #14132]
1866 * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
1867 INTDEF.
1868 * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
1869 declaration.
1870 (_dl_mcount): Use rtld_hidden_proto.
1871 * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
1872 _dl_mcount.
1873 * elf/rtld.c (_rtld_global_ro): Likewise.
1874
1875 [BZ #14132]
1876 * elf/dl-init.c (_dl_init): Don't use INTDEF.
1877 * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
1878 of _dl_init_internal.
1879 * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
1880 * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
1881 * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
1882 * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
1883 * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
1884 * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
1885 * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
1886 * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
1887 * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
1888 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
1889 * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
1890 * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
1891 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
1892 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
1893 * sysdeps/tile/dl-start.S (_start): Likewise.
1894 * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
1895 * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
1896
1897 [BZ #14132]
1898 * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
1899 [IS_IN_rtld] (_dl_argv_internal): Do not declare.
1900 (rtld_progname): Make macro definition unconditional.
1901 * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
1902 INTDEF.
1903 (dlmopen_doit): Do not use INTUSE with _dl_argv.
1904 (dl_main): Likewise.
1905 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
1906 * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
1907 instead of _dl_argv_internal.
1908 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
1909 __GI__dl_argv instead of INTUSE(_dl_argv).
1910 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
1911 __GI__dl_argv instead of _dl_argv_internal.
1912
1913 * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
1914 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
1915 macro.
1916 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
1917 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
1918 New macro.
1919 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
1920 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
1921 macro.
1922 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
1923 * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
1924
1925 2014-11-04 Andreas Schwab <schwab@suse.de>
1926
1927 * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
1928
1929 2014-11-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1930
1931 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
1932 mtvsrd instruction in binary form.
1933
1934 2014-11-03 Andreas Schwab <schwab@suse.de>
1935
1936 [BZ #17522]
1937 * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
1938 for less than MB_LEN_MAX use a local buffer of that size.
1939 * libio/tst-fputws.c: New file.
1940 * libio/Makefile (tests): Add tst-fputws.
1941
1942 2014-11-01 Jose E. Marchesi <jose.marchesi@oracle.com>
1943
1944 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
1945 the size of the fpu_fr.fpu_dregs[] array.
1946
1947 2014-11-01 Joseph Myers <joseph@codesourcery.com>
1948
1949 * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
1950 (__nanosleep): Do not define as alias.
1951 (nanosleep): Define as alias of __nanosleep.
1952 * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
1953 __libc_nanosleep name.
1954
1955 2014-10-31 Joseph Myers <joseph@codesourcery.com>
1956
1957 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
1958 install.texi in comment.
1959
1960 2014-10-31 Torvald Riegel <triegel@redhat.com>
1961
1962 * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
1963 * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
1964 ... add here and use lwsync or sync ...
1965 * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
1966 ... and add here using lwsync.
1967
1968 2014-10-31 Matthew Fortune <matthew.fortune@imgtec.com>
1969
1970 * elf/dl-machine-reject-phdr.h: New file.
1971 * elf/dl-load.c: #include that.
1972 (open_verify): Call elf_machine_reject_phdr_p and ignore the file
1973 if that returned true.
1974
1975 2014-10-31 Roland McGrath <roland@hack.frob.com>
1976
1977 [BZ #17496]
1978 * Makerules: Move gnu/lib-names.h generation chunk up, to right after
1979 gen-as-const-headers chunk. Add a big scare comment after the last
1980 safe place to touch before-compile.
1981
1982 2014-10-31 Joseph Myers <joseph@codesourcery.com>
1983
1984 * manual/install.texi (Tools for Compilation): Update autoconf
1985 version requirements.
1986 * INSTALL: Regenerated.
1987
1988 * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
1989 * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
1990 (__libc_pselect): Likewise.
1991
1992 [BZ #14138]
1993 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
1994 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
1995 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
1996 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
1997
1998 2014-10-31 Torvald Riegel <triegel@redhat.com>
1999
2000 * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
2001 correct barrier instruction.
2002 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
2003 Likewise.
2004 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
2005 Likewise.
2006
2007 2014-10-30 Roland McGrath <roland@hack.frob.com>
2008
2009 * include/ctype.h: Include <ctype/ctype.h> first thing rather than
2010 after defining inlines. Instead, just use parens to defeat macro
2011 expansion of __isctype in its declaration.
2012
2013 2014-10-30 Joseph Myers <joseph@codesourcery.com>
2014
2015 * include/sys/uio.h (__libc_readv): Remove declaration.
2016 (__libc_writev): Likewise.
2017 * misc/readv.c (__libc_readv): Rename to __readv.
2018 (__readv): Do not define as alias.
2019 (readv): Define as alias of __readv.
2020 * misc/writev.c (__libc_writev): Rename to __writev.
2021 (__writev): Do not define as alias.
2022 (writev): Define as alias of __writev.
2023 * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
2024 (__readv): Do not define as alias.
2025 (readv): Define unconditionally as alias of __readv.
2026 * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
2027 (__writev): Do not define as alias.
2028 (writev): Define unconditionally as alias of __writev.
2029 * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
2030 name.
2031 (writev): Do not define __libc_writev name.
2032
2033 2014-10-30 Roland McGrath <roland@hack.frob.com>
2034
2035 * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
2036 (convert_charseq): New function, broken out of ...
2037 (use_from_charmap): ... here. Call it.
2038 (use_to_charmap): Use convert_charseq and free instead of duplicating
2039 its code with a variable-length stack struct.
2040
2041 2014-10-30 Joseph Myers <joseph@codesourcery.com>
2042
2043 * include/fcntl.h (__libc_creat): Remove declaration.
2044 * io/creat.c (__libc_creat): Rename to creat.
2045 (creat): Do not define as alias.
2046 * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
2047 of creat instead of __libc_creat.
2048 * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
2049 to creat.
2050 (creat): Do not define as alias.
2051 [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
2052 __libc_creat.
2053 * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
2054 __libc_creat name.
2055 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
2056 Likewise.
2057
2058 2014-10-29 Carlos O'Donell <carlos@redhat.com>
2059
2060 * manual/llio.texi: Add comments discussing why write() may be
2061 considered MT-unsafe on Linux.
2062
2063 2014-10-28 Carlos O'Donell <carlos@redhat.com>
2064
2065 * dl-load.c (local_strdup): Remove.
2066 (expand_dynamic_string_token): Use __strdup.
2067 (decompose_rpath): Likewise.
2068 (_dl_map_object): Likewise.
2069
2070 2014-10-28 Joseph Myers <joseph@codesourcery.com>
2071
2072 [BZ #14132]
2073 * sysdeps/generic/unwind-dw2-fde.c
2074 (__register_frame_info_bases_internal): Do not declare.
2075 (__register_frame_info_table_bases_internal): Likewise.
2076 (__deregister_frame_info_bases_internal): Likewise.
2077 (__register_frame_info_bases): Declare and use hidden_proto before
2078 definition. Use hidden_def instead of INTDEF.
2079 (__register_frame_info_table_bases): Likewise.
2080 (__deregister_frame_info_bases): Likewise.
2081 (__register_frame_info): Do not use INTUSE.
2082 (__register_frame): Likewise.
2083 (__register_frame_info_table): Likewise.
2084 (__register_frame_table): Likewise.
2085 (__deregister_frame_info): Likewise.
2086 (__deregister_frame): Likewise.
2087
2088 2014-10-27 Gratian Crisan <gratian.crisan@ni.com>
2089
2090 * sysdeps/unix/sysv/linux/arm/kernel-features.h
2091 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
2092 not undefine.
2093 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
2094 Likewise.
2095 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
2096 Likewise.
2097
2098 2014-10-27 Joseph Myers <joseph@codesourcery.com>
2099
2100 [BZ #14138]
2101 * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
2102 * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
2103 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
2104 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
2105 * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
2106 * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
2107 * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
2108 * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
2109 * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
2110 * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
2111 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
2112 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
2113 * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
2114 syscall.
2115 (setfsuid): Likewise.
2116 * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
2117 (setfsuid): Likewise.
2118 * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
2119 (setfsuid): Likewise.
2120 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
2121 Likewise.
2122 (setfsuid): Likewise.
2123 * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
2124 (setfsuid): Likewise.
2125 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
2126 Likewise.
2127 (setfsuid): Likewise.
2128
2129 2014-10-27 Andreas Schwab <schwab@suse.de>
2130
2131 [BZ #17501]
2132 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
2133 check for Slow_SSE4_2 feature bit.
2134 * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
2135 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
2136 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
2137 Likewise. Fix check for Fast_Unaligned_Load feature bit.
2138
2139 2014-10-24 Roland McGrath <roland@hack.frob.com>
2140
2141 * configure.ac: Validate compiler version with a empirical test of
2142 __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
2143 $CC -v output.
2144 * configure: Regenerated.
2145
2146 * inet/htons.c (htons): Prototypify.
2147 * inet/htonl.c (htonl): Likewise.
2148
2149 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
2150
2151 * string/strncat.c (strncat): Improve performance by using strlen.
2152
2153 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
2154
2155 * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
2156
2157 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
2158
2159 * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
2160 Call libc_fetestexcept_aarch64.
2161
2162 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
2163
2164 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
2165 Call libc_feholdexcept_aarch64.
2166
2167 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
2168
2169 * sysdeps/aarch64/fpu/fegetround.c (fegetround):
2170 Call get_rounding_mode.
2171
2172 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
2173
2174 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
2175 Simplify logic.
2176
2177 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
2178
2179 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
2180 Simplify logic.
2181
2182 2014-10-24 Joseph Myers <joseph@codesourcery.com>
2183
2184 [BZ #14138]
2185 * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
2186 * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
2187 * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
2188 * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
2189 * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
2190 * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
2191 * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
2192 * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
2193 * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
2194 * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
2195 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
2196 * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
2197 * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
2198 * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
2199 * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
2200 * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
2201 * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
2202 * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
2203 * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
2204 * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
2205 * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
2206 * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
2207 * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
2208 * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
2209 * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
2210 * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
2211 * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
2212 * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
2213 * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
2214 * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
2215 * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
2216 * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
2217 * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
2218 * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
2219 * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
2220 * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
2221 * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
2222 * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
2223 * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
2224 * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
2225 * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
2226 syscall.
2227 (geteuid): Likewise.
2228 (getgid): Likewise.
2229 (getuid): Likewise.
2230 (getresgid): Likewise.
2231 (getresuid): Likewise.
2232 (getgroups): Likewise.
2233 * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
2234 (geteuid): Likewise.
2235 (getgid): Likewise.
2236 (getuid): Likewise.
2237 (getresgid): Likewise.
2238 (getresuid): Likewise.
2239 (getgroups): Likewise.
2240 * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
2241 (geteuid): Likewise.
2242 (getgid): Likewise.
2243 (getuid): Likewise.
2244 (getresgid): Likewise.
2245 (getresuid): Likewise.
2246 (getgroups): Likewise.
2247 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
2248 Likewise.
2249 (geteuid): Likewise.
2250 (getgid): Likewise.
2251 (getuid): Likewise.
2252 (getresgid): Likewise.
2253 (getresuid): Likewise.
2254 (getgroups): Likewise.
2255 * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
2256 (geteuid): Likewise.
2257 (getgid): Likewise.
2258 (getuid): Likewise.
2259 (getresgid): Likewise.
2260 (getresuid): Likewise.
2261 (getgroups): Likewise.
2262 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
2263 Likewise.
2264 (geteuid): Likewise.
2265 (getgid): Likewise.
2266 (getuid): Likewise.
2267 (getgroups): Likewise.
2268
2269 [BZ #14138]
2270 * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
2271 * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
2272 * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
2273 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
2274 * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
2275 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
2276 * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
2277 * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
2278 * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
2279 * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
2280 * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
2281 * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
2282 * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
2283 __chown.
2284 * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
2285 (lchown): Likewise.
2286 (fchown): Likewise.
2287 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
2288 Likewise.
2289 (lchown): Likewise.
2290 (fchown): Likewise.
2291 * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
2292 (lchown): Likewise.
2293 (fchown): Likewise.
2294 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
2295 Likewise.
2296 (lchown): Likewise.
2297 (fchown): Likewise.
2298
2299 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
2300
2301 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
2302 Simplify logic.
2303
2304 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
2305
2306 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
2307 Cleanup logic.
2308
2309 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
2310
2311 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
2312 Remove unused include.
2313
2314 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
2315
2316 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
2317 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
2318 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
2319 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
2320
2321 2014-10-23 Carlos O'Donell <carlos@systemhalted.org>
2322 Helge Deller <deller@gmx.de>
2323
2324 [BZ #17508]
2325 * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
2326 Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
2327 Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
2328
2329 2014-10-23 Joseph Myers <joseph@codesourcery.com>
2330
2331 [BZ #14132]
2332 * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
2333 Remove macro definition.
2334 (__ashrdi3_v_glibc20): Likewise.
2335 (__lshrdi3_v_glibc20): Likewise.
2336 (__cmpdi2_v_glibc20): Likewise.
2337 (__ucmpdi2_v_glibc20): Likewise.
2338 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
2339 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
2340 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
2341 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
2342 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
2343 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
2344
2345 2014-10-22 Roland McGrath <roland@hack.frob.com>
2346
2347 * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
2348 old GNU extension [0] syntax.
2349 * nscd/nscd_helper.c (open_socket): Use a flexible array member and
2350 alloca rather than an array member with variable length.
2351 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
2352 * nscd/nscd.c (invalidate_db): New function, broken out of ...
2353 (parse_opt): ... here. Likewise use alloca there.
2354 Validate the -i argument before checking for rootness.
2355 (send_shutdown): New function, broken out of ...
2356 (parse_opt): ... here.
2357
2358 2014-10-22 Roland McGrath <roland@hack.frob.com>
2359
2360 * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
2361 macro to get at the _rt_local_ro field.
2362 [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
2363 ([PIC] case) or _dl_hwcap ([!PIC] case).
2364 * sysdeps/arm/setjmp.S: Likewise.
2365
2366 * config.h.in (ARM_PCREL_MOVW_OK): New macro.
2367 * sysdeps/arm/configure.ac: New check to define it.
2368 * sysdeps/arm/configure: Regenerated.
2369 * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
2370 (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
2371 (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
2372 depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
2373 (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
2374 Use move/movt pair instead of a load.
2375 (LDST_GLOBAL): Macro removed.
2376 (LDR_GLOBAL): New macro replaces it.
2377 (LDR_HIDDEN): New macro.
2378 (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
2379 Use LDR_HIDDEN instead for __pointer_chk_guard_local.
2380
2381 * setjmp/tst-setjmp-static.c: New file.
2382 * setjmp/Makefile (tests): Add it.
2383 (tests-static): New variable.
2384
2385 2014-10-22 Maciej W. Rozycki <macro@codesourcery.com>
2386
2387 [BZ #17485]
2388 * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
2389
2390 2014-10-21 Joseph Myers <joseph@codesourcery.com>
2391
2392 [BZ #14132]
2393 * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
2394
2395 2014-10-21 Roland McGrath <roland@hack.frob.com>
2396
2397 * nptl/version.c (__nptl_main): Call __libc_write, not __write.
2398
2399 2014-10-20 Roland McGrath <roland@hack.frob.com>
2400
2401 * io/fts.c (dirent_not_directory): New function.
2402 (fts_build): Call it.
2403
2404 2014-10-20 Roland McGrath <roland@hack.frob.com>
2405
2406 * nptl/version.c (__nptl_main): Use normal __write rather than
2407 INTERNAL_SYSCALL.
2408 (banner): Update copyright years.
2409
2410 * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
2411 gettimeofday.
2412 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
2413 * nptl/pthread_cond_timedwait.c: Likewise.
2414 * nptl/pthread_mutex_timedlock.c: Likewise.
2415 * nptl/sem_timedwait.c: Likewise.
2416
2417 * sysdeps/nptl/bits/libc-lock.h
2418 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
2419 (__libc_lock_init_recursive): Return void, not 0.
2420 * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
2421 (__libc_rwlock_init): Likewise.
2422 * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
2423
2424 2014-10-20 Torvald Riegel <triegel@redhat.com>
2425
2426 [BZ #15215]
2427 * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
2428 (__pthread_once_slow): ... here.
2429 * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
2430 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
2431
2432 2014-10-20 Torvald Riegel <triegel@redhat.com>
2433
2434 [BZ #15215]
2435 * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
2436 __PTHREAD_ONCE_FORK_GEN_INCR): New.
2437 * sysdeps/nptl/fork.c (__libc_fork): Use them.
2438 * nptl/pthread_once.c (__pthread_once): Likewise.
2439 Update comments.
2440
2441 2014-10-20 Joseph Myers <joseph@codesourcery.com>
2442
2443 [BZ #14138]
2444 * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
2445 name.
2446 (writev): Use __libc_writev as strong name.
2447 * sysdeps/unix/sysv/linux/readv.c: Remove file.
2448 * sysdeps/unix/sysv/linux/writev.c: Likewise.
2449
2450 2014-10-17 Roland McGrath <roland@hack.frob.com>
2451
2452 * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
2453
2454 * sysdeps/i386/nptl/tls.h
2455 (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
2456 [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
2457 New macros.
2458 * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
2459 (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
2460 * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
2461 Call SETUP_THREAD_SYSINFO instead of doing an assignment.
2462 * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
2463 Call CHECK_THREAD_SYSINFO instead of doing an assert.
2464
2465 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
2466 Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
2467 on [__NR_futex].
2468 * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
2469 broken out of ...
2470 (__pthread_mutex_init): ... here. Call it.
2471 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
2472 Conditionalize PI cases on [__NR_futex].
2473 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
2474 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
2475 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
2476
2477 * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
2478 conditional on [SIGSETXID].
2479 (sigcancel_handler): Make definition conditional on [SIGCANCEL].
2480 (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
2481 is defined. Likewise for SIGSETXID.
2482 * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
2483 Conditionalize definitions on [SIGSETXID].
2484 (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
2485 * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
2486 unblocking on [SIGCANCEL].
2487
2488 * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
2489 [__NR_set_robust_list].
2490
2491 2014-10-17 Siddhesh Poyarekar <siddhesh@redhat.com>
2492
2493 * string/strcoll_l.c (get_next_seq): Fix up formatting.
2494 (do_compare): Likewise.
2495
2496 2014-10-17 Leonhard Holz <leonhard.holz@web.de>
2497
2498 [BZ #15884]
2499 * string/strcoll_l.c: Don't include stdio.h.
2500 (coll_seq): Remove members idxarr and rulearr.
2501 (get_next_seq_cached): Remove function.
2502 (get_next_seq): Likewise.
2503 (get_next_seq_nocache): Rename to get_next_seq.
2504 (do_compare): Remove function.
2505 (do_compare_nocache): Rename to do_compare.
2506 (STRCOLL): Remove weight and rules cache.
2507
2508 2014-10-16 Roland McGrath <roland@hack.frob.com>
2509
2510 * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
2511 * sysdeps/arm/sfp-machine.h: ... to here.
2512 * sysdeps/arm/Implies: Remove arm/soft-fp.
2513
2514 2014-10-14 Joseph Myers <joseph@codesourcery.com>
2515
2516 * conform/data/sys/utsname.h-data (*_t): Allow.
2517 * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
2518 [POSIX] (WEXITED): Do not expect constant.
2519 [POSIX] (WSTOPPED): Likewise.
2520 [POSIX] (WNOHANG): Likewise.
2521 [POSIX] (WNOWAIT): Likewise.
2522 [POSIX] (siginfo_t): Do not expect type or elements.
2523 [POSIX] (pid_t): Do not expect type.
2524 [POSIX] (signal.h): Do not allow header.
2525 [POSIX] (sys/resource.h): Likewise.
2526 [POSIX] (si_*): Do not allow pattern.
2527 [POSIX] (W*): Likewise.
2528 [POSIX] (P_*): Likewise.
2529 [POSIX] (BUS_*): Likewise.
2530 [POSIX] (CLD_*): Likewise.
2531 [POSIX] (FPE_*): Likewise.
2532 [POSIX] (ILL_*): Likewise.
2533 [POSIX] (POLL_*): Likewise.
2534 [POSIX] (SEGV_*): Likewise.
2535 [POSIX] (SI_*): Likewise.
2536 [POSIX] (TRAP_*): Likewise.
2537 * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
2538 variable.
2539
2540 2014-10-14 Paul Pluzhnikov <ppluzhnikov@google.com>
2541
2542 [BZ #12926]
2543 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
2544 infinite loop when __recvmsg returns 0.
2545
2546 2014-10-10 Joseph Myers <joseph@codesourcery.com>
2547
2548 * CANCEL-FCT-WAIVE: Remove file.
2549 * CANCEL-FILE-WAIVE: Likewise.
2550
2551 [BZ #14132]
2552 * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
2553 instead of INTVARDEF.
2554 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
2555 * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
2556 rtld_hidden_data_def instead of INTVARDEF.
2557 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
2558 * elf/dl-deps.c (expand_dst): Likewise.
2559 * elf/dl-load.c (_dl_dst_count): Likewise.
2560 (_dl_dst_substitute): Likewise.
2561 (decompose_rpath): Likewise.
2562 (_dl_init_paths): Likewise.
2563 (open_path): Likewise.
2564 (_dl_map_object): Likewise.
2565 * elf/rtld.c (dl_main): Likewise.
2566 (process_dl_audit): Likewise.
2567 (process_envvars): Likewise.
2568 * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
2569 Remove declaration.
2570 (__libc_enable_secure): Use rtld_hidden_proto.
2571
2572 2014-10-09 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
2573
2574 * elf/dl-load.c
2575 (add_path): New function broken out of _dl_rtld_di_serinfo.
2576 (_dl_rtld_di_serinfo): Remove that nested function. Update call sites.
2577
2578 2014-10-09 Joseph Myers <joseph@codesourcery.com>
2579
2580 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
2581 parentheses around macro arguments.
2582 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
2583 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
2584 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
2585 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
2586 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
2587 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
2588 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
2589 [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
2590 [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
2591 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
2592 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
2593 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
2594 [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
2595 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
2596 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
2597 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
2598 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
2599 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
2600 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
2601 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
2602 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
2603 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
2604 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
2605 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
2606 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
2607 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
2608 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
2609 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
2610 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
2611 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
2612 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
2613 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
2614 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
2615 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
2616 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
2617 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
2618 Likewise.
2619 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
2620 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
2621 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
2622 [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
2623 [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
2624 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
2625 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
2626 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
2627 [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
2628 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
2629 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
2630 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
2631 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
2632 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
2633 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
2634 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
2635 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
2636 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
2637 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
2638 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
2639 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
2640 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
2641 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
2642 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
2643 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
2644 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
2645 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
2646 * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
2647 (_FP_FRAC_SRS_1): Likewise.
2648 (_FP_FRAC_CLZ_1): Likewise.
2649 (_FP_MUL_MEAT_1_imm): Likewise.
2650 (_FP_MUL_MEAT_1_wide): Likewise.
2651 (_FP_MUL_MEAT_1_hard): Likewise.
2652 (_FP_SQRT_MEAT_1): Likewise.
2653 (_FP_FRAC_ASSEMBLE_1): Likewise.
2654 (_FP_FRAC_DISASSEMBLE_1): Likewise.
2655 * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
2656 (__FP_CLZ_2): Likewise.
2657 (_FP_MUL_MEAT_2_wide): Likewise.
2658 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
2659 (_FP_MUL_MEAT_2_gmp): Likewise.
2660 (_FP_MUL_MEAT_2_120_240_double): Likewise.
2661 (_FP_SQRT_MEAT_2): Likewise.
2662 (_FP_FRAC_ASSEMBLE_2): Likewise.
2663 (_FP_FRAC_DISASSEMBLE_2): Likewise.
2664 * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
2665 (_FP_FRAC_CLZ_4): Likewise.
2666 (_FP_MUL_MEAT_4_wide): Likewise.
2667 (_FP_MUL_MEAT_4_gmp): Likewise.
2668 (_FP_SQRT_MEAT_4): Likewise.
2669 (_FP_FRAC_ASSEMBLE_4): Likewise.
2670 (_FP_FRAC_DISASSEMBLE_4): Likewise.
2671 * soft-fp/op-common.h (_FP_CMP): Likewise.
2672 (_FP_CMP_EQ): Likewise.
2673 (_FP_CMP_UNORD): Likewise.
2674 (_FP_TO_INT): Likewise.
2675 (_FP_FROM_INT): Likewise.
2676 [!__FP_CLZ] (__FP_CLZ): Likewise.
2677 (_FP_DIV_HELP_imm): Likewise.
2678 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
2679 Likewise.
2680 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
2681 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
2682 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
2683 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
2684 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
2685 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
2686 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
2687 [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
2688 [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
2689 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
2690 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
2691 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
2692 [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
2693 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
2694 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
2695 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
2696 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
2697 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
2698 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
2699 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
2700 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
2701 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
2702 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
2703 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
2704 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
2705 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
2706 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
2707 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
2708 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
2709 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
2710 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
2711 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
2712 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
2713 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
2714 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
2715 * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
2716 (FP_UNPACK_RAW_SP): Likewise.
2717 (FP_PACK_RAW_S): Likewise.
2718 (FP_PACK_RAW_SP): Likewise.
2719 (FP_UNPACK_S): Likewise.
2720 (FP_UNPACK_SP): Likewise.
2721 (FP_UNPACK_SEMIRAW_S): Likewise.
2722 (FP_UNPACK_SEMIRAW_SP): Likewise.
2723 (FP_PACK_S): Likewise.
2724 (FP_PACK_SP): Likewise.
2725 (FP_PACK_SEMIRAW_S): Likewise.
2726 (FP_PACK_SEMIRAW_SP): Likewise.
2727 (_FP_SQRT_MEAT_S): Likewise.
2728 (FP_CMP_S): Likewise.
2729 (FP_CMP_EQ_S): Likewise.
2730 (FP_CMP_UNORD_S): Likewise.
2731 (FP_TO_INT_S): Likewise.
2732 (FP_FROM_INT_S): Likewise.
2733
2734 * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
2735
2736 * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
2737 (FP_EX_INVALID_IMZ): Likewise.
2738 (FP_EX_INVALID_IMZ_FMA): Likewise.
2739 (FP_EX_INVALID_ISI): Likewise.
2740 (FP_EX_INVALID_ZDZ): Likewise.
2741 (FP_EX_INVALID_IDI): Likewise.
2742 (FP_EX_INVALID_SQRT): Likewise.
2743 (FP_EX_INVALID_CVI): Likewise.
2744 (FP_EX_INVALID_VC): Likewise.
2745 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
2746 "invalid" exceptions.
2747 (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
2748 (_FP_ADD_INTERNAL): Likewise.
2749 (_FP_MUL): Likewise.
2750 (_FP_FMA): Likewise.
2751 (_FP_DIV): Likewise.
2752 (_FP_CMP_CHECK_NAN): Likewise.
2753 (_FP_SQRT): Likewise.
2754 (_FP_TO_INT): Likewise.
2755 (FP_EXTEND): Likewise.
2756
2757 2014-10-09 Allan McRae <allan@archlinux.org>
2758
2759 * po/fr.po: Update French translation from translation project.
2760
2761 2014-10-09 Joseph Myers <joseph@codesourcery.com>
2762
2763 [BZ #14132]
2764 * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
2765 of INTDEF.
2766 * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
2767 (__cxa_atexit): Use libc_hidden_proto.
2768 [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
2769
2770 [BZ #14132]
2771 * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
2772 declaration.
2773 [!_ISOMAC] (__iswdigit_l_internal): Likewise.
2774 [!_ISOMAC] (__iswspace_l_internal): Likewise.
2775 [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
2776 [!_ISOMAC] (__iswctype_internal): Likewise.
2777 * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
2778 * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
2779 alias.
2780 (fcntl): Remove __fcntl_internal alias.
2781 * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
2782 __connect_internal alias.
2783 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
2784 Likewise.
2785
2786 * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
2787 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
2788 FP_DENORM_ZERO.
2789 (_FP_CHECK_FLUSH_ZERO): New macro.
2790 (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
2791 (_FP_CMP): Likewise.
2792 (_FP_CMP_EQ): Likewise.
2793 (_FP_TO_INT): Do not set inexact for subnormal arguments if
2794 FP_DENORM_ZERO.
2795 (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
2796 (FP_TRUNC): Likewise.
2797
2798 * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
2799 treated as invalid conversion, not as normal exponent.
2800
2801 * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
2802 (_FP_CMP): Add extra argument EX. Call _FP_CMP_CHECK_NAN.
2803 (_FP_CMP_EQ): Likewise.
2804 (_FP_CMP_UNORD): Likewise.
2805 * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
2806 (FP_CMP_EQ_D): Likewise.
2807 (FP_CMP_UNORD_D): Likewise.
2808 * soft-fp/extended.h (FP_CMP_E): Likewise.
2809 (FP_CMP_EQ_E): Likewise.
2810 (FP_CMP_UNORD_E): Likewise.
2811 * soft-fp/quad.h (FP_CMP_Q): Likewise.
2812 (FP_CMP_EQ_Q): Likewise.
2813 (FP_CMP_UNORD_Q): Likewise.
2814 * soft-fp/single.h (FP_CMP_S): Likewise.
2815 (FP_CMP_EQ_S): Likewise.
2816 (FP_CMP_UNORD_S): Likewise.
2817 * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
2818 * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
2819 * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
2820 * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
2821 * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
2822 * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
2823 * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
2824 * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
2825 * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
2826 * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
2827 * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
2828 * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
2829 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
2830 to FP_CMP_Q.
2831 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
2832 FP_CMP_Q.
2833 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
2834 * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
2835 FP_CMP_EQ_Q.
2836 * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
2837 FP_CMP_Q.
2838 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
2839 * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
2840 * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
2841 * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
2842 FP_CMP_EQ_Q.
2843 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
2844 FP_CMP_Q.
2845 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
2846 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
2847 FP_CMP_EQ_Q.
2848 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
2849 FP_CMP_Q.
2850 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
2851 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
2852 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
2853 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
2854 FP_CMP_EQ_Q.
2855
2856 * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
2857 a subnormal result, set the underflow exception if trapping on
2858 underflow is enabled.
2859 * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
2860 (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
2861 [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
2862 redefine to 0.
2863 * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
2864 * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
2865 * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
2866 * soft-fp/extendxftf2.c (__extendxftf2): Use
2867 FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
2868
2869 * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
2870 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
2871 (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
2872 FP_HANDLE_EXCEPTIONS.
2873 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
2874 (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
2875 FP_HANDLE_EXCEPTIONS.
2876 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
2877 (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
2878 FP_HANDLE_EXCEPTIONS.
2879 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
2880 (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
2881 FP_HANDLE_EXCEPTIONS.
2882
2883 2014-10-08 Joseph Myers <joseph@codesourcery.com>
2884
2885 [BZ #14132]
2886 * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
2887 * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
2888 use INTUSE.
2889 [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
2890 * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
2891 Remove alias.
2892 (__adjtimex): Define using libc_hidden_ver.
2893 * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
2894 Remove declaration.
2895 (ntp_gettime): Call __adjtimex directly.
2896 * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
2897 Remove declaration.
2898 (ntp_gettimex): Call __adjtimex directly.
2899 * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
2900 __adjtimex_internal alias.
2901
2902 2014-10-08 Roland McGrath <roland@hack.frob.com>
2903
2904 [BZ #17460]
2905 * nscd/nscd.c (more_help): Rewrite list of tables collection
2906 using xstrdup and asprintf.
2907
2908 * nscd/nscd_conf.c: Remove local xstrdup declaration.
2909
2910 2014-10-08 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
2911 Roland McGrath <roland@hack.frob.com>
2912
2913 * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
2914 (do_lookup_unique): ... local function 'enter' here; update callers.
2915
2916 2014-10-06 Joseph Myers <joseph@codesourcery.com>
2917
2918 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
2919 compat_symbol calls on [SHARED].
2920 * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
2921 * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
2922 Remove.
2923 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
2924 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
2925 (oldsetrlimit): Remove.
2926 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
2927 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
2928 (lchown): New syscall entry.
2929 (oldsetrlimit): Remove.
2930 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
2931 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
2932 (oldsetrlimit): Remove.
2933 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
2934
2935 [BZ #14138]
2936 * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
2937 * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
2938 * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
2939 * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
2940 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
2941 * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
2942 (fchown): Likewise.
2943 * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
2944 (fchown): Likewise.
2945 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
2946 Likewise.
2947
2948 2014-10-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2949
2950 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
2951 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
2952 (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
2953 __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
2954 * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
2955 Likewise.
2956 (__old_sem_post): Likewise.
2957
2958 2014-10-06 Chris Metcalf <cmetcalf@tilera.com>
2959
2960 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
2961 INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
2962 HAVE_CLOCK_GETTIME_VSYSCALL macros.
2963 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
2964 Use INLINE_VSYSCALL macro.
2965 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
2966 __vdso_clock_gettime.
2967 * sysdeps/unix/sysv/linux/tile/init-first.c
2968 (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
2969 * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
2970 __vdso_clock_gettime.
2971
2972 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
2973 to set up frame more cleanly.
2974
2975 * sysdeps/tile/memcmp.c: New file.
2976
2977 * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
2978
2979 * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
2980 * sysdeps/tile/tilegx/strcasestr.c: New file.
2981 * sysdeps/tile/tilegx/strnlen.c: New file.
2982 * sysdeps/tile/tilegx/strstr.c: New file.
2983
2984 * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
2985
2986 2014-10-06 Arjun Shankar <arjun.is@lostca.se>
2987
2988 * nptl/tst-setuid3.c: Write errors to stdout.
2989
2990 2014-10-01 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
2991
2992 * elf/dl-deps.c
2993 (preload): New functions broken out of _dl_map_object_deps.
2994 (_dl_map_object_deps): Remove a nested function. Update call sites.
2995
2996 2014-10-01 Joseph Myers <joseph@codesourcery.com>
2997
2998 [BZ #14138]
2999 * sysdeps/unix/sysv/linux/execve.c: Remove file.
3000 * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
3001
3002 2014-10-01 Steve Ellcey <sellcey@mips.com>
3003
3004 * sysdeps/mips/strcmp.S: New.
3005
3006 2014-09-30 Joseph Myers <joseph@codesourcery.com>
3007
3008 [BZ #14138]
3009 * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
3010 (linkat): Likewise.
3011 (mkdirat): Likewise.
3012 (readlinkat): Likewise.
3013 (renameat): Likewise.
3014 (symlinkat): Likewise.
3015 (unlinkat): Likewise.
3016 * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
3017 * sysdeps/unix/sysv/linux/linkat.c: Likewise.
3018 * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
3019 * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
3020 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
3021 * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
3022 * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
3023
3024 2014-09-30 Will Newton <will.newton@linaro.org>
3025
3026 * math/math.h: Define long double math functions if
3027 _LIBC_TEST is defined.
3028 * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
3029
3030 * localedata/Makefile: Move assignment to tests-special
3031 into an ifdef testing run-built-tests.
3032 * timezone/Makefile: Likewise.
3033
3034 2014-09-29 Joseph Myers <joseph@codesourcery.com>
3035
3036 * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
3037 with $(BASH) not $(SHELL).
3038
3039 2014-09-29 Carlos O'Donell <carlos@redhat.com>
3040 Matthew LeGendre <legendre1@llnl.gov>
3041
3042 [BZ #17411]
3043 * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
3044 l_reloc_result.
3045
3046 2014-09-29 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
3047
3048 * stdio-common/printf_fp.c
3049 (hack_digit): New function, broken out of ...
3050 (__printf_fp): ... local function here. Update call sites.
3051 hack_digit now takes an additional parameter that is a pointer
3052 to a struct of the referenced locals. Those locals moved inside
3053 the struct and references updated.
3054
3055 2014-09-29 H.J. Lu <hongjiu.lu@intel.com>
3056
3057 * aclocal.m4: Require autoconf 2.69.
3058 * configure: Regenerated.
3059 * sysdeps/aarch64/configure: Likewise.
3060 * sysdeps/alpha/configure: Likewise.
3061 * sysdeps/arm/armv7/configure: Likewise.
3062 * sysdeps/arm/configure: Likewise.
3063 * sysdeps/ia64/configure: Likewise.
3064 * sysdeps/mach/configure: Likewise.
3065 * sysdeps/mips/configure: Likewise.
3066 * sysdeps/s390/configure: Likewise.
3067 * sysdeps/unix/sysv/linux/mips/configure: Likewise.
3068 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
3069
3070 * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
3071 file.
3072 * sysdeps/ia64/configure.ac: Likewise.
3073
3074 2014-09-26 Joseph Myers <joseph@codesourcery.com>
3075
3076 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
3077 specify symbol version for ld.so. Do not include entry for
3078 libpthread.
3079 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
3080 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
3081 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
3082
3083 [BZ #14171]
3084 * Makeconfig [$(build-shared) = yes]
3085 ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
3086 makefiles.
3087 [$(build-shared) = yes && $(soversions.mk-done) = t]
3088 ($(common-objpfx)gnu/lib-names.h): Remove rule.
3089 [$(build-shared) = yes && $(soversions.mk-done) = t]
3090 ($(common-objpfx)gnu/lib-names.stmp): Likewise. Split and moved
3091 to Makerules.
3092 [$(build-shared) = yes && $(soversions.mk-done) = t]
3093 (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
3094 here.
3095 [$(build-shared) = yes && $(soversions.mk-done) = t]
3096 (common-generated): Don't append gnu/lib-names.h and
3097 gnu/lib-names.stmp here.
3098 * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
3099 (lib-names-h-abi): New variable.
3100 [$(build-shared) = yes && $(soversions.mk-done) = t]
3101 (lib-names-stmp-abi): Likewise.
3102 [$(build-shared) = yes && $(soversions.mk-done) = t &&
3103 abi-variants] (before-compile): Append
3104 $(common-objpfx)$(lib-names-h-abi).
3105 [$(build-shared) = yes && $(soversions.mk-done) = t &&
3106 abi-variants] (common-generated): Append gnu/lib-names.h.
3107 [$(build-shared) = yes && $(soversions.mk-done) = t &&
3108 abi-variants] (install-others-nosubdir): Depend on
3109 $(inst_includedir)/$(lib-names-h-abi).
3110 [$(build-shared) = yes && $(soversions.mk-done) = t &&
3111 abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
3112 [$(build-shared) = yes && $(soversions.mk-done) = t]
3113 ($(common-objpfx)$(lib-names-h-abi)): New rule.
3114 [$(build-shared) = yes && $(soversions.mk-done) = t]
3115 ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
3116 [$(build-shared) = yes && $(soversions.mk-done) = t]
3117 (common-generated): Append $(lib-names-h-abi) and
3118 $(lib-names-stmp-abi).
3119 * scripts/lib-names.awk: Do not handle multi being set.
3120 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
3121 Remove variable.
3122 (abi-lp64_be-ld-soname): Likewise.
3123 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
3124 Likewise.
3125 (abi-hard-ld-soname): Likewise.
3126 * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
3127 * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
3128 Remove variable.
3129 (abi-o32_hard-ld-soname): Likewise.
3130 (abi-o32_soft_2008-ld-soname): Likewise.
3131 (abi-o32_hard_2008-ld-soname): Likewise.
3132 (abi-n32_soft-ld-soname): Likewise.
3133 (abi-n32_hard-ld-soname): Likewise.
3134 (abi-n32_soft_2008-ld-soname): Likewise.
3135 (abi-n32_hard_2008-ld-soname): Likewise.
3136 (abi-n64_soft-ld-soname): Likewise.
3137 (abi-n64_hard-ld-soname): Likewise.
3138 (abi-n64_soft_2008-ld-soname): Likewise.
3139 (abi-n64_hard_2008-ld-soname): Likewise.
3140 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
3141 Likewise.
3142 (abi-64-v2-ld-soname): Likewise.
3143 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
3144 ld.so entries.
3145 * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
3146 variable.
3147 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
3148 entry.
3149 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
3150 variable.
3151 (abi-64-ld-soname): Likewise.
3152 (abi-x32-ld-soname): Likewise.
3153 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
3154 entry.
3155 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
3156
3157 2014-09-23 Joseph Myers <joseph@codesourcery.com>
3158
3159 [BZ #14138]
3160 * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
3161 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
3162 * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
3163 * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
3164 * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
3165 * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
3166 * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
3167 syscall entry for GLIBC_2.2 symbol version.
3168 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
3169 Likewise.
3170 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
3171 (setrlimit): Likewise.
3172 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
3173 Likewise.
3174
3175 2014-09-23 Will Newton <will.newton@linaro.org>
3176
3177 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
3178 _LINUX_ARM_SYSDEP_H include guard too.
3179 * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
3180 define.
3181
3182 2014-09-20 Rasmus Villemoes <rv@rasmusvillemoes.dk>
3183
3184 * sysdeps/unix/sysv/linux/eventfd.c:
3185 Make first argument unsigned.
3186 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
3187 * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
3188
3189 2014-09-20 Ondřej Bílka <neleai@seznam.cz>
3190
3191 * socket/recvmmsg.c (recvmmsg): Drop const argument.
3192 * socket/sys/socket.h: Likewise
3193 * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
3194
3195 2014-09-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3196
3197 * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
3198
3199 2014-09-17 Arjun Shankar <arjun.is@lostca.se>
3200
3201 * time/tst-ftime.c: New test.
3202 * time/Makefile (tests): Add tst-ftime.
3203
3204 2014-09-17 Joseph Myers <joseph@codesourcery.com>
3205
3206 * soft-fp/extended.h: Fix comment formatting.
3207 * soft-fp/op-1.h: Likewise.
3208 * soft-fp/op-2.h: Likewise.
3209 * soft-fp/op-4.h: Likewise.
3210 * soft-fp/op-8.h: Likewise.
3211 * soft-fp/op-common.h: Likewise.
3212 * soft-fp/soft-fp.h: Likewise.
3213
3214 * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
3215
3216 2014-09-16 Joseph Myers <joseph@codesourcery.com>
3217
3218 [BZ #6652]
3219 * Makeconfig (soversions-default-setname): Remove variable.
3220 ($(common-objpfx)soversions.i): Don't pass default_setname to
3221 soversions.awk.
3222 * Makerules ($(common-objpfx)abi-versions.h): Don't pass
3223 oldest_abi to abi-versions.awk.
3224 * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
3225 * config.make.in (oldest-abi): Remove variable.
3226 * configure.ac (--enable-oldest-abi): Remove configure option.
3227 * configure: Regenerated.
3228 * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
3229 text.
3230 * scripts/abi-versions.awk: Do not handle oldest_abi variable.
3231 * scripts/soversions.awk: Do not handle default_setname variable.
3232 * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
3233 variable.
3234 * sysdeps/mach/hurd/configure: Regenerated.
3235 * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
3236 variable.
3237 * sysdeps/unix/sysv/linux/configure: Regenerated.
3238
3239 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
3240
3241 * elf/Makefile (CFLAGS-interp.c): Remove.
3242 ($(elf-objpfx)runtime-linker.h): Generate header with linker
3243 path string.
3244 * elf/interp.c: Include generated runtime-linker.h
3245
3246 * Makerules (lib%.so): Don't include $(+interp) in
3247 prerequisites.
3248 * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
3249 * dlfcn/eval.c: Remove file.
3250
3251 * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
3252 macros.
3253
3254 [BZ #17266]
3255 * misc/sys/cdefs.h: Define __extern_always_inline for clang
3256 4.2 and newer.
3257
3258 [BZ #17370]
3259 * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
3260
3261 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
3262 Jakub Jelinek <jakub@redhat.com>
3263
3264 [BZ #17266]
3265 * libio/stdio.h: Check definition of __fortify_function
3266 instead of __extern_always_inline to include bits/stdio2.h.
3267 * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
3268 check if __extern_always_inline is defined.
3269 [__USE_MISC || __USE_XOPEN]: Likewise.
3270 [__USE_ISOC99] Likewise.
3271 * misc/sys/cdefs.h (__fortify_function): Define only if
3272 __extern_always_inline is defined.
3273 [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
3274 __extern_always_inline and __extern_inline only for g++-4.3
3275 and newer or a compatible gcc.
3276
3277 2014-09-15 Andreas Schwab <schwab@linux-m68k.org>
3278
3279 [BZ #17371]
3280 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
3281 last change to handle zero prefix length.
3282
3283 2014-09-15 Siddhesh Poyarekar <siddhesh@redhat.com>
3284
3285 * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
3286 _SC_REGEX_VERSION.
3287
3288 * posix/getconf.c (vars): Add _POSIX_IPV6 and
3289 _POSIX_RAW_SOCKETS.
3290
3291 2014-09-13 Allan McRae <allan@archlinux.org>
3292
3293 * po/ru.po: Update Russian translation from translation project.
3294
3295 2014-09-12 Roland McGrath <roland@hack.frob.com>
3296
3297 * locale/programs/locale.c (show_locale_vars): Inline local function
3298 into its sole call site. Clean up some style nits.
3299 (print_item): New function, broken out of ...
3300 (show_info): ... local function here. Clean up style nits.
3301
3302 * locale/programs/ld-ctype.c (set_one_default): New function, broken
3303 out of ...
3304 (set_class_defaults): ... local function set_default here.
3305 Define set_default as a macro locally to pass constant parameters.
3306 (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
3307 rather than a shared local.
3308
3309 * stdlib/rpmatch.c (try): New function, broken out of ...
3310 (rpmatch): ... local function here. Also, prototypify definition.
3311
3312 2014-09-12 Joseph Myers <joseph@codesourcery.com>
3313
3314 * scripts/soversions.awk: Do not handle configuration names.
3315 * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
3316 vendor and os variables to soversions.awk.
3317 * configure.ac: Do not modify gnu-* host_os.
3318 * configure: Regenerated
3319 * shlib-versions: Remove first column with configuration names.
3320 * nptl/shlib-versions: Likewise.
3321 * nptl_db/shlib-versions: Likewise.
3322 * sysdeps/hppa/shlib-versions: Likewise.
3323 * sysdeps/m68k/shlib-versions: Likewise.
3324 * sysdeps/mach/hurd/shlib-versions: Likewise.
3325 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
3326 * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
3327 * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
3328 * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
3329 * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
3330 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
3331 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
3332 * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
3333 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
3334 Likewise.
3335 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
3336 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
3337 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
3338 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
3339 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
3340 * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
3341 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
3342 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
3343
3344 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
3345 (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
3346 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
3347 Regenerated.
3348 * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
3349 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
3350 Condition symbol version definitions on [HAVE_ELFV2_ABI].
3351
3352 * shlib-versions: Remove OS-specific entries. Moved to files in
3353 sysdeps.
3354 * sysdeps/mach/hurd/shlib-versions: New file.
3355 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
3356
3357 * nptl/shlib-versions: Remove architecture-specific entries.
3358 Moved to files in sysdeps.
3359 * shlib-versions: Likewise.
3360 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
3361 file.
3362 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
3363 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
3364 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
3365 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
3366
3367 * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
3368 (UDP_NO_CHECK6_RX): Likewise.
3369
3370 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
3371
3372 * sysdeps/posix/sysconf.c (__sysconf): Spell
3373 _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
3374
3375 2014-08-12 Florian Weimer <fweimer@redhat.com>
3376
3377 * iconv/gconv_open.c (__gconv_open): Remove transliteration module
3378 loading.
3379 * iconv/Versions (__gconv_transliterate): Export for use from
3380 gconv modules.
3381 * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
3382 (struct __gconv_trans_data, __gconv_trans_fct,
3383 __gconv_trans_context_fct, __gconv_trans_query_fct,
3384 __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
3385 definitions.
3386 (struct __gconv_step_data): Remove __trans member.
3387 (__gconv_transliterate): Declaration moved from gconv_int.h. No
3388 longer hidden. Remove unused trans_data argument.
3389 * iconv/gconv_int.h (struct trans_struct): Remove definition.
3390 (__gconv_translit_find): Remove declaration.
3391 (__gconv_transliterate): Declaration moved to gconv.h. Add hidden
3392 prototype.
3393 * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
3394 * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
3395 trans_data argument. Add hidden definition.
3396 (__gconv_translit_find): Remove.
3397 * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
3398 __gconv_transliterate directly if __GCONV_TRANSLIT is set.
3399 * iconv/skeleton.c: Remove transliteration initialization.
3400 * libio/fileops.c (_IO_new_file_fopen): Adjust struct
3401 __gconv_step_data initialization.
3402 * libio/iofwide.c (__libio_translit_): Remove.
3403 (_IO_fwide): Adjust struct __gconv_step_data initialization.
3404 * wcsmbs/btowc.c (__btowc): Likewise.
3405 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
3406 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
3407 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
3408 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
3409 * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
3410 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
3411 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
3412 * wcsmbs/wctob.c (wctob): Likewise.
3413
3414 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
3415
3416 [BZ #16194]
3417 * sysdeps/x86/tst-xmmymm.sh: Rename file to...
3418 * sysdeps/x86/tst-ld-sse-use.sh: ... this. Check for zmm
3419 register usage.
3420 * sysdeps/x86/Makefile: Adjust.
3421
3422 2014-09-11 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
3423 Roland McGrath <roland@hack.frob.com>
3424
3425 * locale/weight.h: Add include guard.
3426 (findidx): Make static rather than auto; take new parameters
3427 TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
3428 * locale/weightwc.h: Likewise.
3429 * posix/fnmatch_loop.c
3430 (FCT): Change type of EXTRA from int32_t to wint_t.
3431 Don't include either header inside the function.
3432 Call FINDIDX rather than findidx, and pass new arguments.
3433 #undef FINDIDX at the end of the file.
3434 * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
3435 FINDIDX before including fnmatch_loop.c for the non-wide version.
3436 [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
3437 #include <locale/weightwc.h>, and define FINDIDX to findidxwc
3438 for the wide version.
3439 * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
3440 (build_equiv_class) [_LIBC]: Don't #include it inside the function.
3441 Pass new arguments to findidx.
3442 * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
3443 [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
3444 Don't #include it inside the function. Pass new arguments to findidx.
3445 * posix/regex_internal.h
3446 [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
3447 (re_string_elem_size_at): Don't #include it inside the function.
3448 Pass new arguments to findidx.
3449 * string/strcoll_l.c: #include WEIGHT_H at top level.
3450 (get_next_seq): Don't #include it inside the function.
3451 Pass new arguments to findidx.
3452 (get_next_seq_nocache): Likewise.
3453 * string/strxfrm_l.c: #include WEIGHT_H at top level.
3454 (STRXFRM): Don't #include it inside the function.
3455 Pass new arguments to findidx.
3456
3457 2014-09-11 Florian Weimer <fweimer@redhat.com>
3458
3459 [BZ #17344]
3460 * malloc/malloc.c (unlink): Turn asserts into a call to
3461 malloc_printerr.
3462
3463 2014-09-11 Tim Lammens <tim.lammens@gmail.com>
3464
3465 [BZ #17370]
3466 * libio/wfileops (do_ftell_wide): Free OUT.
3467
3468 2014-09-10 Chris Metcalf <cmetcalf@tilera.com>
3469
3470 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
3471
3472 2014-09-10 Siddhesh Poyarekar <siddhesh@redhat.com>
3473
3474 [BZ #17363]
3475 * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
3476 group if the current group is empty.
3477
3478 2014-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3479
3480 * benchtests/bench-memset.c (test_main): Add more test from size
3481 from 32 to 512 bytes.
3482 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
3483 Add POWER8 memset object.
3484 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3485 (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
3486 * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
3487 implementation.
3488 * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
3489 Likewise.
3490 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
3491 multiarch POWER8 memset optimization.
3492 * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
3493 POWER8 memset optimization.
3494
3495 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
3496 Remove bzero multiarch objects.
3497 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
3498 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
3499 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
3500 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
3501 Remove define.
3502 [__bzero]: Redefine to specific name.
3503 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
3504 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
3505 * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
3506 define.
3507 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
3508 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
3509
3510 2014-09-10 Florian Weimer <fweimer@redhat.com>
3511
3512 * Makeconfig (gccwarn-c): Turn implicit-function-declaration
3513 warnings into errors.
3514
3515 * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
3516 __cxa_thread_atexit_impl prototype.
3517
3518 2014-09-09 Steve Ellcey <sellcey@mips.com>
3519
3520 * sysdeps/mips/preconfigure: Put code inside mips* case statement.
3521 Fix capitalization of error message.
3522
3523 2014-09-09 Steve Ellcey <sellcey@mips.com>
3524
3525 * sysdeps/mips/preconfigure: Modify ABI tests.
3526
3527 2014-09-07 Carlos O'Donell <carlos@systemhalted.org>
3528
3529 * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
3530
3531 2014-09-07 Roland McGrath <roland@hack.frob.com>
3532 Carlos O'Donell <carlos@systemhalted.org>
3533
3534 * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
3535 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
3536 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
3537 * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
3538 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
3539 * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
3540 * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
3541 * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
3542 * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
3543 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
3544 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
3545 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
3546 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
3547 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
3548 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
3549 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
3550 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
3551 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
3552 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
3553 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
3554 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
3555 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
3556 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
3557 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
3558 * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
3559 * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
3560 * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
3561 * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
3562 Deconditionalize the code that was previously under [RESET_PID].
3563 * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
3564 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
3565 * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
3566 * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
3567 include sysdep.h.
3568
3569 2014-09-08 Allan McRae <allan@archlinux.org>
3570
3571 * version.h (RELEASE): Set to "development".
3572 (VERSION): Set to "2.20.90"
3573
3574 2014-09-07 Allan McRae <allan@archlinux.org
3575
3576 * version.h (RELEASE): Set to "stable".
3577 (VERSION): Set to "2.20"
3578 * include/features.h (__GLIBC_MINOR__): Set to 20.
3579
3580 * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
3581 Liebler.
3582
3583 * po/ko.po: Update Korean translation from translation project.
3584
3585 2014-09-06 Chris Metcalf <cmetcalf@tilera.com>
3586
3587 [BZ #17354]
3588 * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
3589 macro for handling signed relocations.
3590
3591 2014-09-03 Florian Weimer <fweimer@redhat.com>
3592
3593 [BZ #17325]
3594 * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
3595 * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
3596 assert.
3597 * iconvdata/ibm933.c (BODY): Fix check for sentinel.
3598 * iconvdata/ibm935.c (BODY): Likewise.
3599 * iconvdata/ibm937.c (BODY): Likewise.
3600 * iconvdata/ibm939.c (BODY): Likewise.
3601 * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
3602 assert.
3603 * iconvdata/Makefile (iconv-test.out): Pass module list to test
3604 script.
3605 * iconvdata/run-iconv-test.sh: New test loop for checking for
3606 decoder crashers.
3607
3608 2014-09-02 Khem Raj <raj.khem@gmail.com>
3609
3610 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
3611 libm_hidden_ver.
3612
3613 2014-09-01 Allan McRae <allan@archlinux.org>
3614
3615 * po/eo.po: Update Esperanto translation from translation project.
3616
3617 * po/ca.po: Update Catalan translation from translation project.
3618
3619 2014-08-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
3620
3621 * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
3622 __proc_dostop call.
3623
3624 2014-08-27 Mark Wielaard <mjw@redhat.com>
3625
3626 [BZ #17319]
3627 * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
3628 to call set_thread_area instead of hand written asm.
3629 (__NR_set_thread_area): Removed define.
3630 (TLS_FLAG_WRITABLE): Likewise.
3631 (__ASSUME_SET_THREAD_AREA): Remove check.
3632 (TLS_EBX_ARG): Remove define.
3633 (TLS_LOAD_EBX): Likewise.
3634
3635 2014-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
3636
3637 Simplify atomicity of socket creation in bind.
3638
3639 * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
3640 looking up the name after linking the file.
3641
3642 2014-08-27 Allan McRae <allan@archlinux.org>
3643
3644 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
3645
3646 2014-08-26 Florian Weimer <fweimer@redhat.com>
3647
3648 [BZ #17187]
3649 * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
3650 trans_compare, open_translit, __gconv_translit_find):
3651 Remove module loading code.
3652
3653 2014-08-26 Allan McRae <allan@archlinux.org>
3654
3655 * po/vi.po: Update Vietnamese translation from translation project.
3656
3657 * po/uk.po: Update Ukrainian translation from translation project.
3658
3659 * po/fr.po: Update French translation from translation project.
3660
3661 * po/ru.po: Update Russian translation from translation project.
3662
3663 * po/pl.po: Update Polish translation from translation project.
3664
3665 * po/cs.po: Update Czech translation from translation project.
3666
3667 * po/de.po: Update German translation from translation project.
3668
3669 * po/bg.po: Update Bulgarian translation from translation project.
3670
3671 * po/sv.po: Update Sweedish translation from translation project.
3672
3673 * po/nl.po: Update Dutch translation from translation project.
3674
3675 * po/es.po: Update Spanish translation from translation project.
3676
3677 2014-08-21 Siddhesh Poyarekar <siddhesh@redhat.com>
3678
3679 * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
3680
3681 * catgets/Makefile (CPPFLAGS-gencat): Remove.
3682 * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
3683 (CPPFLAGS-iconvconfig): Likewise.
3684 * timezone/Makefile (CPPFLAGS-zic): Likewise.
3685
3686 * include/libc-symbols.h: Remove unnecessary check for
3687 NOT_IN_libc.
3688 * nptl/pthreadP.h: Likewise.
3689 * sysdeps/aarch64/setjmp.S: Likewise.
3690 * sysdeps/alpha/setjmp.S: Likewise.
3691 * sysdeps/arm/sysdep.h: Likewise.
3692 * sysdeps/i386/setjmp.S: Likewise.
3693 * sysdeps/m68k/setjmp.c: Likewise.
3694 * sysdeps/posix/getcwd.c: Likewise.
3695 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
3696 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
3697 * sysdeps/s390/s390-32/setjmp.S: Likewise.
3698 * sysdeps/s390/s390-64/setjmp.S: Likewise.
3699 * sysdeps/sh/sh3/setjmp.S: Likewise.
3700 * sysdeps/sh/sh4/setjmp.S: Likewise.
3701 * sysdeps/unix/alpha/sysdep.h: Likewise.
3702 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
3703 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
3704 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
3705 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
3706 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
3707 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
3708 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
3709 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
3710 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
3711 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
3712 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
3713 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
3714 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
3715 * sysdeps/x86_64/setjmp.S: Likewise.
3716
3717 2014-08-13 Joseph Myers <joseph@codesourcery.com>
3718
3719 [BZ #17263]
3720 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
3721 <stdint.h>.
3722 (__get_clockfreq): Use uint64_t instead of hp_timing_t in
3723 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
3724
3725 2014-08-13 Siddhesh Poyarekar <siddhesh@redhat.com>
3726
3727 * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
3728
3729 [BZ #17262]
3730 * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
3731 and __x86_64__ when disabling x87 inline functions.
3732
3733 2014-08-12 H.J. Lu <hongjiu.lu@intel.com>
3734
3735 [BZ #17259]
3736 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
3737 asm statement with __cpuid_count.
3738
3739 2014-08-12 Mike Frysinger <vapier@gentoo.org>
3740
3741 * configure.ac: Change __ehdr_start code to dereference the struct.
3742 Run readelf on the output to look for relocations.
3743 * configure: Regenerated.
3744
3745 2014-08-12 Joseph Myers <joseph@codesourcery.com>
3746
3747 [BZ #17261]
3748 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
3749 value to 0.
3750 (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
3751
3752 2014-08-12 Roland McGrath <roland@hack.frob.com>
3753
3754 * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
3755
3756 2014-08-12 Bernard Ogden <bernie.ogden@linaro.org>
3757
3758 [BZ #16892]
3759 * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
3760 atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
3761
3762 2014-08-12 Sean Anderson <seanga2@gmail.com>
3763
3764 * malloc/malloc.c: Fix typo in comment.
3765
3766 2014-08-09 Allan McRae <allan@archlinux.org>
3767
3768 * Regenerate libc.po.
3769
3770 2014-08-08 Mike Frysinger <vapier@gentoo.org>
3771
3772 * intl/tst-gettext2.sh: Check every lang file for creation.
3773
3774 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
3775
3776 * sysdeps/aarch64/fpu/math_private.h
3777 (libc_feholdsetround_noex_aarch64_ctx): New function.
3778
3779 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
3780
3781 * sysdeps/arm/armv6/strcpy.S (strcpy):
3782 Fix performance issue in misaligned cases.
3783
3784 2014-08-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3785
3786 * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
3787 Move definition from termios.h.
3788 (struct termio): Likewise.
3789 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
3790 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
3791 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
3792 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
3793 Likewise.
3794 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
3795 Move definition to ioctl-types.h
3796 (struct termio): Likewise.
3797 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
3798 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
3799 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
3800 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
3801 Likewise.
3802
3803 2014-08-05 Richard Henderson <rth@redhat.com>
3804
3805 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
3806 exceptions.
3807 * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
3808 Add fraiseexcpt.
3809 * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
3810 Use __feraiseexcept.
3811 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
3812 Protect libm symbols with IS_IN_libm.
3813
3814 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
3815
3816 2014-08-04 Bernard Ogden <bernie.ogden@linaro.org>
3817
3818 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
3819
3820 2014-08-04 Will Newton <will.newton@linaro.org>
3821
3822 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
3823 file.
3824
3825 2014-08-04 Mike Frysinger <vapier@gentoo.org>
3826
3827 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
3828 variants for each function.
3829
3830 2014-08-04 Roland McGrath <roland@hack.frob.com>
3831
3832 * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
3833 appended ...
3834 * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
3835 * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
3836 appended ...
3837 * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
3838 * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
3839 * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
3840 * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
3841 * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
3842 * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
3843 * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
3844 * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
3845 * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
3846 * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
3847 * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
3848 * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
3849 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
3850 * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
3851 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
3852 * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
3853 * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
3854 * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
3855 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
3856 * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
3857 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
3858 * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
3859 * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
3860 * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
3861 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
3862 * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
3863 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
3864 * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
3865 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
3866 * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
3867 * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
3868 * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
3869 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
3870 * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
3871 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
3872 * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
3873 * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
3874 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
3875 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
3876 * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
3877 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
3878 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
3879 * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
3880 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
3881 * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
3882 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
3883 * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
3884 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
3885 * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
3886 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
3887 * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
3888 * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
3889 * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
3890 Update #include.
3891 * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
3892 * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
3893
3894 2014-08-04 Roland McGrath <roland@hack.frob.com>
3895
3896 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
3897 * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
3898 * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
3899 * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
3900 * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
3901 * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
3902
3903 2014-08-04 Roland McGrath <roland@hack.frob.com>
3904
3905 * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
3906 * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
3907 * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3908 * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
3909
3910 2014-08-04 Roland McGrath <roland@hack.frob.com>
3911
3912 * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
3913 * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
3914 (__libc_vfork): Define function under this name.
3915 (__vfork): Define as an alias.
3916 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
3917 * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
3918
3919 2014-08-04 Roland McGrath <roland@hack.frob.com>
3920
3921 * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
3922 that was previously under [RESET_PID].
3923 * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
3924
3925 2014-08-04 Andreas Schwab <schwab@suse.de>
3926
3927 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
3928
3929 2014-08-03 Mike Frysinger <vapier@gentoo.org>
3930
3931 * stdlib/tst-setcontext.c (test_stack): Fix coding style.
3932 (main): Likewise.
3933
3934 2014-08-01 Roland McGrath <roland@hack.frob.com>
3935
3936 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
3937
3938 2014-08-01 Richard Henderon <rth@redhat.com>
3939
3940 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
3941 feclearexcept; use math_opt_barrier instead of open-coded asm; fix
3942 typo in exact zero test.
3943 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
3944 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
3945 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
3946
3947 2014-08-01 Roland McGrath <roland@hack.frob.com>
3948
3949 * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
3950 (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
3951 * sysdeps/arm/sysdep.h: ... here.
3952 [!__ASSEMBLER__]: Include <stdint.h>.
3953
3954 2014-08-01 Siddhesh Poyarekar <siddhesh@redhat.com>
3955
3956 * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
3957 (HAVE_WCTYPE_H): Likewise.
3958 (HAVE_ISWCTYPE): Likewise.
3959 (ENABLE_NLS): Likewise.
3960 * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
3961 && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
3962
3963 * posix/regex_internal.c: Check if DEBUG is defined and is
3964 set.
3965
3966 * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
3967 (HAVE_MBSRTOWCS): Likewise.
3968 * posix/fnmatch.c: Include string.h unconditionally.
3969
3970 2014-08-01 Stefan Liebler <stli@linux.vnet.ibm.com>
3971
3972 * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
3973 reversal.
3974
3975 2014-07-31 Roland McGrath <roland@hack.frob.com>
3976
3977 * sysdeps/generic/safe-fatal.h: New file.
3978 * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
3979 * nptl/forward.c: Include it.
3980 (__pthread_unwind): Use __safe_fatal as default action, rather
3981 than a bogus use of INTERNAL_SYSCALL that could never work.
3982
3983 * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
3984 * configure.ac (libc_cv_builtin_trap): New test.
3985 * configure: Regenerated.
3986 * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
3987 (ABORT_INSTRUCTION): Define using __builtin_trap.
3988
3989 * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
3990 * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
3991 * sysdeps/nptl/nptl-signals.h: New file.
3992 * nptl/pthreadP.h: Include <nptl-signals.h>.
3993
3994 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
3995
3996 * sysdeps/s390/s390-64/utf16-utf32-z9.c
3997 (ONE_DIRECTION): Define.
3998 * sysdeps/s390/s390-64/utf8-utf16-z9.c
3999 (ONE_DIRECTION): Define.
4000 * sysdeps/s390/s390-64/utf8-utf32-z9.c
4001 (ONE_DIRECTION): Define.
4002
4003 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
4004
4005 * sysdeps/s390/Makefile: Delete file.
4006 * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
4007 * sysdeps/s390/__longjmp.c: Delete file.
4008 * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
4009 Remove fields __flags and __reserved.
4010 * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
4011 and add versioning.
4012 * sysdeps/s390/rtld-__longjmp.c: Delete file.
4013 * sysdeps/s390/rtld-global-offsets.sym: Likewise.
4014 * sysdeps/s390/rtld-setjmp.S: Likewise.
4015 * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
4016 * sysdeps/s390/s390-32/__longjmp.c: ... here.
4017 * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
4018 * sysdeps/s390/s390-32/setjmp.S: ... here.
4019 Add versioning.
4020 (__sigsetjmp): Remove setting __flags field.
4021 * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
4022 * sysdeps/s390/s390-64/__longjmp.c: ... here.
4023 * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
4024 * sysdeps/s390/s390-64/setjmp.S: ... here.
4025 Add versioning.
4026 (__sigsetjmp): Remove setting __flags field.
4027 * sysdeps/s390/setjmp.S: Delete file.
4028 * sysdeps/s390/sigjmp.c: Likewise.
4029 * sysdeps/s390/v1-longjmp.c: Likewise.
4030 * sysdeps/s390/v1-setjmp.h: Likewise.
4031 * sysdeps/s390/v1-sigjmp.c: Likewise.
4032 * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
4033 Remove v1-longjmp_chk.
4034 * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
4035 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
4036 Include debug/longjmp_chk.c and add versioning.
4037 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
4038 Include nptl/pt-longjmp.c and add versioning.
4039 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
4040 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
4041 Include __longjmp.c.
4042 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
4043 Move to ...
4044 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
4045 (__getcontext): Remove setting __flags field.
4046 Add versioning.
4047 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
4048 Don't restore upper high grps.
4049 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
4050 Likewise.
4051 (__swapcontext): Remove setting uc_flags field.
4052 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
4053 Delete file.
4054 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
4055 Include __longjmp.c.
4056 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
4057 Move to ...
4058 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
4059 (__getcontext): Remove setting __flags field.
4060 Add versioning.
4061 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
4062 (__swapcontext): Remove setting uc_flags field.
4063 * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
4064 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
4065 Remove fields uc_high_gprs and __reserved.
4066 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
4067 New file with reverted content.
4068 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
4069 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
4070 Regenerated.
4071 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
4072 Regenerated.
4073
4074 2014-07-31 Andreas Schwab <schwab@suse.de>
4075
4076 * config.h.in (HAVE_IFUNC): Define to 0.
4077 * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
4078 definedness.
4079
4080 2014-07-30 Ling Ma <ling.ml@alibaba-inc.com>
4081
4082 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
4083 memmove-avx-unaligned, memcpy-avx-unaligned and
4084 mempcpy-avx-unaligned.
4085 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
4086 Add tests for AVX memcpy functions.
4087 * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
4088 * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
4089 memcpy_chk.
4090 * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
4091 * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
4092 memmove_chk.
4093 * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
4094 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
4095 mempcpy_chk.
4096 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
4097 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
4098 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
4099
4100 2013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4101
4102 [BZ #17213]
4103 * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
4104 powerpc64le.
4105
4106 2014-07-29 Jeff Layton <jlayton@poochiereds.net>
4107
4108 [BZ #16839]
4109 * manual/llio.texi: Add section about open file description locks.
4110 * manual/examples/ofdlocks.c: Example of open file description
4111 lock usage.
4112 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
4113 F_OFD_SETLK, and F_OFD_SETLKW.
4114
4115 2014-07-23 Allan McRae <allan@archlinux.org>
4116
4117 * po/es.po: Update Spanish translation from translation project.
4118
4119 2014-07-18 Andreas Schwab <schwab@linux-m68k.org>
4120
4121 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
4122
4123 2014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
4124
4125 [BZ #17078]
4126 * sysdeps/arm/dl-machine.h (elf_machine_rela)
4127 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
4128 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
4129
4130 2014-07-17 Joseph Myers <joseph@codesourcery.com>
4131
4132 [BZ #17088]
4133 * math/fesetenv.c (__fesetenv)
4134 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
4135 * math/feupdateenv.c (__feupdateenv)
4136 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
4137
4138 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
4139 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
4140 (__ASSUME_SOCKETCALL): Do not define.
4141
4142 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
4143 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
4144 (__ASSUME_SOCKETCALL): Do not define.
4145 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
4146 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
4147 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
4148 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
4149 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
4150 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
4151 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
4152 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
4153
4154 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
4155 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
4156 (__ASSUME_SOCKETCALL): Do not define.
4157 (__ASSUME_IPC64): Define unconditionally.
4158 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
4159 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
4160 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
4161 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
4162 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
4163 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
4164 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
4165 Likewise.
4166
4167 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
4168 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
4169 (__ASSUME_SOCKETCALL): Do not define.
4170 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
4171 (__ASSUME_FUTEX_LOCK_PI): Likewise.
4172 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
4173 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
4174 (__ASSUME_REQUEUE_PI): Define unconditionally.
4175 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
4176 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
4177 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
4178 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
4179 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
4180 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
4181
4182 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
4183 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
4184 (__ASSUME_SOCKETCALL): Do not define.
4185 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
4186 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
4187 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
4188 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
4189 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
4190 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
4191
4192 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
4193 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
4194 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
4195 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
4196 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
4197 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
4198 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
4199 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
4200 (__ASSUME_GETCPU_SYSCALL): Likewise.
4201
4202 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
4203 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
4204 cases for individual architectures.
4205 * sysdeps/gnu/configure: Regenerated.
4206 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
4207 LIBC_SLIBDIR_RTLDDIR.
4208 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
4209 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
4210 LIBC_SLIBDIR_RTLDDIR.
4211 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
4212 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
4213 LIBC_SLIBDIR_RTLDDIR.
4214 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
4215 Regenerated.
4216 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
4217 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
4218 file.
4219 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
4220 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
4221 file.
4222 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
4223 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
4224 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
4225 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
4226
4227 * sysdeps/aarch64/shlib-versions: Move to ...
4228 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
4229 * sysdeps/alpha/shlib-versions: Move to ...
4230 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
4231 * sysdeps/arm/shlib-versions: Move to ...
4232 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
4233 * sysdeps/hppa/shlib-versions: Move all contents except for
4234 libgcc_s entry to ...
4235 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
4236 entry from ...
4237 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
4238 * sysdeps/ia64/shlib-versions: Move to ...
4239 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
4240 entry from ...
4241 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
4242 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
4243 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
4244 * sysdeps/microblaze/shlib-versions: Move to ...
4245 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
4246 * sysdeps/mips/shlib-versions: Move to ...
4247 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
4248 entry from ...
4249 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
4250 * sysdeps/tile/shlib-versions: Move to ...
4251 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
4252 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
4253 from ...
4254 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
4255 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
4256 entry from ...
4257 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
4258
4259 2014-07-17 Will Newton <will.newton@linaro.org>
4260
4261 * sysdeps/arm/bits/atomic.h
4262 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
4263 (__arch_compare_and_exchange_bool_16_int): Likewise.
4264 (__arch_compare_and_exchange_bool_64_int): Likewise.
4265
4266 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
4267 into an #else block.
4268
4269 2014-07-16 Roland McGrath <roland@hack.frob.com>
4270
4271 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
4272 just Linux configurations. Test empirically that the compiler sets
4273 __ARM_EABI__, rather than using the tuple to decide.
4274 * sysdeps/arm/preconfigure: Regenerated.
4275 * sysdeps/unix/sysv/linux/arm/configure: File removed.
4276 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
4277 contents appended ...
4278 * sysdeps/arm/configure.ac: ... here.
4279 * sysdeps/arm/configure: Regenerated.
4280
4281 2014-07-15 Roland McGrath <roland@hack.frob.com>
4282
4283 * nptl/pthread_kill.c: New file.
4284 * nptl/pthread_sigmask.c: New file.
4285 * nptl/pthread_sigqueue.c: New file.
4286
4287 * sysdeps/nptl/lowlevellock.h: New file.
4288 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
4289 * sysdeps/nptl/lowlevellock-futex.h: New file.
4290
4291 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
4292 Remove dead declarations.
4293
4294 2014-07-14 H.J. Lu <hongjiu.lu@intel.com>
4295
4296 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
4297 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
4298 config-cflags-avx2.
4299 * sysdeps/x86_64/configure.ac: Likewise.
4300 * sysdeps/i386/configure: Regenerated.
4301 * sysdeps/x86_64/configure: Likewise.
4302 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
4303 memset-avx2 only if config-cflags-avx2 is yes.
4304 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
4305 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
4306 defined.
4307 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
4308 only if HAVE_AVX2_SUPPORT is defined.
4309 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
4310
4311 2014-07-14 Alan Modra <amodra@gmail.com>
4312
4313 [BZ #17153]
4314 * elf/elf.h (DT_PPC64_NUM): Correct value.
4315 * NEWS: Add to fixed bug list.
4316
4317 2014-07-13 Jim Meyering <meyering@fb.com>
4318
4319 [BZ 17150]
4320 regex: don't deref NULL upon heap allocation failure
4321 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
4322 failure in one more place.
4323 To trigger the segfault, configure grep -with-included-regex,
4324 build it, and run these commands:
4325 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
4326
4327 2014-07-13 Andreas Schwab <schwab@linux-m68k.org>
4328
4329 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
4330
4331 2014-07-11 Richard Henderson <rth@redhat.com>
4332
4333 * sysdeps/aarch64/libm-test-ulps: Update.
4334
4335 2014-07-10 Florian Weimer <fweimer@redhat.com>
4336
4337 [BZ #17135]
4338 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
4339 * nptl/allocatestack.c (__nptl_setxid_error): New function.
4340 (__nptl_setxid): Initialize error member. Call
4341 __nptl_setxid_error.
4342 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
4343 * nptl/descr.h (struct xid_command): Add error member.
4344 * nptl/tst-setuid3.c: New file.
4345 * nptl/Makefile (tests): Add it.
4346
4347 2014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4348
4349 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
4350 New define.
4351 (__lll_trylock): Use __lll_base_trylock.
4352 (__lll_cond_trylock): Likewise.
4353
4354 2014-07-10 Roland McGrath <roland@hack.frob.com>
4355
4356 * nptl/pthread_create.c (start_thread): Use atomic_or and
4357 lll_futex_wake directly rather than lll_robust_dead.
4358 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
4359 (lll_robust_dead): Macro removed.
4360 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
4361 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
4362 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
4363 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
4364 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
4365 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
4366 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
4367 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
4368 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
4369 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
4370 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
4371 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
4372 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
4373 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
4374 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
4375
4376 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
4377 Use atomic_compare_and_exchange_val_acq directly rather than
4378 lll_robust_trylock.
4379 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
4380 (__lll_robust_trylock, lll_robust_trylock): Removed.
4381 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
4382 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
4383 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
4384 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
4385 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
4386 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
4387 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
4388 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
4389 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
4390 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
4391 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
4392 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
4393 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
4394 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
4395
4396 2014-07-02 Florian Weimer <fweimer@redhat.com>
4397
4398 * manual/locale.texi (Locale Names): New section documenting
4399 locale name syntax. Adjust menu and node chaining accordingly.
4400 (Choosing Locale): Reference Locale Names, Locale Categories.
4401 Mention setting LC_ALL=C. Reflect that name syntax is now
4402 documented.
4403 (Locale Categories): New section title. Reference Locale Names.
4404 LC_ALL is an environment variable, but not a category.
4405 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
4406 description, now in Locale Name. Reference that section. Locale
4407 name syntax is now documented.
4408
4409 2014-07-02 Florian Weimer <fweimer@redhat.com>
4410
4411 [BZ #17137]
4412 * locale/findlocale.c (name_present, valid_locale_name): New
4413 functions.
4414 (_nl_find_locale): Use the loc_name variable to store name
4415 candidates. Call name_present and valid_locale_name to check and
4416 validate locale names. Return an error if the locale is invalid.
4417
4418 2014-07-02 Florian Weimer <fweimer@redhat.com>
4419
4420 * locale/setlocale.c (setlocale): Use strdup for allocating
4421 composite name copy.
4422
4423 2014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
4424
4425 Sync up with gnulib.
4426 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
4427 [!_LIBC && ENABLE_NLS]: Include gettext.h.
4428 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
4429 and _GL_ARG_NONNULL.
4430 [USE_UNLOCKED_IO]: Include unlocked-io.h.
4431 [!_LIBC]: Include code for Windows and Cygwin.
4432 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
4433 Include prototype for int strerror_r.
4434 [!_LIBC] (is_open): New function.
4435 (flush_stdout): New function.
4436 (print_errno_message): Use it.
4437 (error): Likewise.
4438 (error_at_line): Likewise.
4439 (error_tail) Add function attribute macros. Use
4440 __builtin_expect.
4441
4442 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
4443
4444 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
4445
4446 * io/ftw.c: Include sys/param.h unconditionally.
4447
4448 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
4449
4450 [BZ #17125]
4451 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
4452 libc_freeres_ptr.
4453 (freecache): New function to free CACHE on exit.
4454
4455 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
4456 initialization.
4457
4458 2014-07-09 David S. Miller <davem@davemloft.net>
4459
4460 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4461
4462 * sysdeps/sparc/nptl/internaltypes.h: Delete.
4463 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
4464 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
4465 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
4466 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
4467 * sysdeps/sparc/nptl/sem_init.c: Likewise.
4468 * sysdeps/sparc/nptl/sem_post.c: Likewise.
4469 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
4470 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
4471 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
4472 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
4473 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
4474 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
4475
4476 2014-07-09 Andreas Schwab <schwab@suse.de>
4477
4478 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
4479 output.
4480 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
4481 (do_test): Likewise.
4482
4483 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
4484
4485 2014-07-09 Will Newton <will.newton@linaro.org>
4486
4487 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
4488 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
4489 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
4490 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
4491 * sysdeps/hppa/start.S (_start): Likewise.
4492
4493 2014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
4494
4495 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
4496
4497 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
4498 defined.
4499
4500 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
4501
4502 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
4503 after checking that it is non-NULL.
4504
4505 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
4506
4507 2014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4508
4509 * sysdeps/powerpc/memmove.c: Remove file.
4510 * sysdeps/powerpc/powerpc32/power4/memcopy.h
4511 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
4512 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
4513 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
4514 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
4515 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
4516 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
4517 string memmove instead of removed powerpc one.
4518
4519 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
4520 [weak_alias]: Fix compiler warning due trailing data.
4521 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
4522 [weak_alias]: Likewise.
4523 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
4524 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
4525
4526 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
4527 (__libc_ifunc_impl_list): Add memmove functions.
4528
4529 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
4530
4531 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
4532 Remove code.
4533 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
4534 Likewise
4535 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
4536 Likewise
4537 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
4538 Likewise
4539 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
4540 Likewise
4541 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
4542 Likewise
4543 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
4544 Likewise
4545 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
4546 Likewise
4547 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
4548 Likewise
4549 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
4550 Likewise
4551 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
4552 Likewise
4553 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
4554 Likewise
4555 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
4556 Likewise
4557 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
4558 Likewise
4559 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
4560 Likewise
4561 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
4562 Likewise
4563 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
4564 Likewise
4565
4566 2014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4567
4568 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
4569 to avoid alignment traps in non-cacheable memory.
4570 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
4571
4572 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
4573 multiarch objects.
4574 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
4575 file: multiarch power7 memmove.
4576 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
4577 multiarch default memmove.
4578 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
4579 multiarch memove for powerpc32/power4.
4580
4581 * string/bcopy.c: Use full path to include memmove.c.
4582 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
4583 multiarch objects.
4584 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
4585 bcopy for powerpc64.
4586 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
4587 bcopy for powerpc64.
4588 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
4589 and memmove implementations.
4590 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
4591 optimized multiarch memmove for POWER7/powerpc64.
4592 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
4593 default multiarch memmove for powerpc64.
4594 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
4595 multiarch for powerpc64.
4596 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
4597 for POWER7/powerpc64.
4598 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
4599 memmove for POWER7/powerpc64.
4600
4601 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
4602 glibc default one.
4603
4604 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
4605 __ELF_NATIVE_CLASS equal to 64.
4606
4607 2014-07-07 Roland McGrath <roland@hack.frob.com>
4608
4609 * sysdeps/nptl/lowlevellock.h: File removed.
4610
4611 * NEWS: NPTL is no longer an add-on!
4612 * nptl/internaltypes.h: Moved ...
4613 * sysdeps/nptl/internaltypes.h: ... here.
4614 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
4615 * sysdeps/nptl/fork.c: Likewise.
4616 * sysdeps/nptl/gai_misc.h: Likewise.
4617 * sysdeps/nptl/librt-cancellation.c: Likewise.
4618 * sysdeps/nptl/jmp-unwind.c: Likewise.
4619 * sysdeps/nptl/setxid.h: Likewise.
4620 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
4621 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
4622 * sysdeps/unix/sysv/linux/arm/Implies: New file.
4623 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
4624 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
4625 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
4626 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
4627 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
4628 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
4629 * sysdeps/unix/sysv/linux/mips/Implies: New file.
4630 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
4631 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
4632 * sysdeps/unix/sysv/linux/sh/Implies: New file.
4633 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
4634 * sysdeps/unix/sysv/linux/tile/Implies: New file.
4635 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
4636 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
4637 * nptl/Makeconfig: Moved ...
4638 * sysdeps/nptl/Makeconfig: ... here.
4639 * nptl/configure: File removed.
4640 * nptl/ANNOUNCE: File removed.
4641 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
4642 * sysdeps/unix/sysv/linux/configure: Regenerated.
4643
4644 * nptl/Makefile (routines): Add libc_pthread_init,
4645 libc_multiple_threads, register-atfork and unregister-atfork.
4646 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
4647 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
4648 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
4649 pthread-pi-defines.sym, structsem.sym.
4650 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
4651 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
4652 [$(subdir) = nptl] (tests): Add tst-setgetname.
4653 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
4654 * sysdeps/unix/sysv/linux/sigaction.c: Just include
4655 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
4656 [!LIBC_SIGACTION]: Remove aliases.
4657 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
4658 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
4659 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
4660 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
4661 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
4662 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
4663 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
4664 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
4665 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
4666 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
4667 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
4668 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
4669 __libc_allocate_rtsig_private.
4670 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
4671 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
4672 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
4673 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
4674 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
4675 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
4676 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
4677 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
4678 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
4679 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
4680 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
4681 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
4682 * nptl/internaltypes.h: ... here.
4683 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
4684 * sysdeps/nptl/jmp-unwind.c: ... here.
4685 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
4686 * nptl/libc-lowlevellock.c: ... here.
4687 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
4688 * nptl/libc_multiple_threads.c: ... here.
4689 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
4690 * nptl/libc_pthread_init.c: ... here.
4691 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
4692 * nptl/lowlevelbarrier.sym: ... here.
4693 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
4694 * nptl/lowlevelcond.sym: ... here.
4695 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
4696 * nptl/lowlevellock.c: ... here.
4697 * nptl/lowlevellock.h: Moved ...
4698 * sysdeps/nptl/lowlevellock.h: ... here.
4699 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
4700 * nptl/lowlevelrobustlock.c: ... here.
4701 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
4702 * nptl/lowlevelrobustlock.sym: ... here.
4703 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
4704 * nptl/lowlevelrwlock.sym: ... here.
4705 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
4706 * nptl/pt-fork.c: ... here.
4707 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
4708 * nptl/pthread-pi-defines.sym: ... here.
4709 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
4710 * nptl/pthread_attr_getaffinity.c: ... here.
4711 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
4712 * nptl/pthread_attr_setaffinity.c: ... here.
4713 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
4714 * nptl/pthread_mutex_cond_lock.c: ... here.
4715 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
4716 Update #include.
4717 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
4718 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
4719 * nptl/pthread_once.c: ... here, replacing old file.
4720 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
4721 * nptl/pthread_yield.c: ... here.
4722 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
4723 * nptl/register-atfork.c: ... here.
4724 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
4725 * nptl/sem_post.c: ... here.
4726 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
4727 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
4728 * nptl/sem_timedwait.c: ... here.
4729 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
4730 * nptl/sem_trywait.c: ... here.
4731 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
4732 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
4733 * nptl/sem_wait.c: ... here.
4734 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
4735 * nptl/structsem.sym: ... here.
4736 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
4737 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
4738 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
4739 * nptl/unregister-atfork.c: ... here.
4740 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
4741 * nptl/unwindbuf.sym: ... here.
4742 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
4743 * sysdeps/nptl/fork.c: ... here.
4744 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
4745 * sysdeps/nptl/fork.h: ... here.
4746 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
4747 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
4748 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
4749 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
4750 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
4751 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
4752 * sysdeps/unix/sysv/linux/getpid.c: ... here.
4753 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
4754 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
4755 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
4756 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
4757 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
4758 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
4759 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
4760 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
4761 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
4762 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
4763 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
4764 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
4765 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
4766 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
4767 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
4768 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
4769 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
4770 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
4771 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
4772 * sysdeps/unix/sysv/linux/raise.c: ... here.
4773 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
4774 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
4775 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
4776 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
4777 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
4778 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
4779 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
4780 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
4781 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
4782 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
4783 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
4784 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
4785 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
4786 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
4787 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
4788
4789 2014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
4790
4791 * sysdeps/generic/memcopy.h: Add comment for
4792 MEMCPY_OK_FOR_FWD_MEMMOVE.
4793
4794 2014-07-04 Will Newton <will.newton@linaro.org>
4795
4796 * string/memchr.c: Merge from gnulib.
4797 [_LIBC]: Remove conditionals.
4798 (__ptr_t): Remove define.
4799 (LONG_MAX_32_BITS): Likewise.
4800 (LONG_MAX): Likewise.
4801 (MEMCHR): Use ANSI prototype and optimize algorithm.
4802
4803 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
4804
4805 2014-07-03 Roland McGrath <roland@hack.frob.com>
4806
4807 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
4808 (lll_futex_timed_wait_bitset): Fix syscall argument count.
4809
4810 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
4811 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
4812 in a bare environment with no <stdlib.h> installed.
4813 * sysdeps/nptl/configure: Regenerated.
4814
4815 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
4816
4817 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
4818 AC_EGREP_CPP for kernel header checks, so they only succeed if
4819 including <linux/version.h> actually works right.
4820 * sysdeps/unix/sysv/linux/configure: Regenerated.
4821
4822 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
4823 value so it's not diagnosed as unused.
4824
4825 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
4826 thing) with "ifeq ($(subdir),rt)".
4827
4828 2014-07-03 Richard Henderson <rth@redhat.com>
4829
4830 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
4831 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
4832 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
4833
4834 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
4835 (math_force_eval): New.
4836
4837 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
4838 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
4839
4840 * sysdeps/alpha/fpu/s_round.c: Remove file.
4841 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
4842
4843 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
4844 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
4845 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
4846 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
4847 (_dl_start, print_statistics): Likewise.
4848 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
4849 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
4850
4851 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
4852 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
4853 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
4854 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
4855 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
4856 (HP_SMALL_TIMING_AVAIL): Define.
4857 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
4858 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
4859 (HP_SMALL_TIMING_AVAIL): Define.
4860 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
4861 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
4862
4863 * sysdeps/aarch64/hp-timing.h: New file.
4864
4865 * sysdeps/generic/hp-timing.h: Remove dead comment.
4866 * sysdeps/generic/hp-timing-common.h: New file.
4867 * sysdeps/alpha/hp-timing.h: Include it.
4868 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
4869 * sysdeps/i386/i686/hp-timing.h: Likewise.
4870 * sysdeps/ia64/hp-timing.h: Likewise.
4871 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
4872 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
4873 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
4874 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
4875 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
4876 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
4877 (hp_timing_t): New.
4878
4879 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
4880 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
4881 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
4882 * elf/rtld.c (_dl_start_final): Likewise.
4883 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
4884 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
4885 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
4886 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
4887 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
4888 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
4889 (HP_TIMING_DIFF_INIT): Remove.
4890 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
4891 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
4892 (HP_TIMING_DIFF_INIT): Remove.
4893 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
4894 * sysdeps/i386/i686/hp-timing.c: Remove file.
4895 * sysdeps/x86_64/hp-timing.c: Remove file.
4896 * sysdeps/ia64/hp-timing.c: Remove file.
4897 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
4898 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
4899 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
4900 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
4901
4902 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
4903 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
4904 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
4905 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
4906 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
4907 (HP_TIMING_ACCUM): Remove.
4908 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
4909 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
4910 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
4911
4912 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
4913 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
4914 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
4915 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
4916 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
4917 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
4918 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
4919 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
4920
4921 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
4922
4923 2014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
4924
4925 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
4926
4927 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
4928
4929 Sync up with gettext.
4930 * intl/loadmsgcat.c: Define O_BINARY if not defined.
4931 [_MSC_VER]: Include malloc.h
4932 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
4933 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
4934 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
4935 TEMP_FAILURE_RETRY. Cast return of alloca.
4936 [!_LIBC] Call gl_rwlock_init.
4937 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
4938
4939 2014-07-02 Roland McGrath <roland@hack.frob.com>
4940
4941 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
4942 before checking its value.
4943
4944 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
4945
4946 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
4947
4948 * debug/memcpy_chk.c: Don't include pagecopy.h.
4949 * debug/mempcpy_chk.c: Likewise.
4950 * string/memcpy.c: Likewise.
4951 * string/memmove.c: Likewise.
4952 * sysdeps/powerpc/memmove.c: Likewise.
4953 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
4954 definition of PAGE_COPY_FWD_MAYBE here...
4955 * sysdeps/generic/pagecopy.h: ... from here.
4956 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
4957
4958 2014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
4959 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4960
4961 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
4962 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
4963 optimizations.
4964 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
4965 (__libc_ifunc_impl_list): Likewise.
4966 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
4967 multiarch strcat for PPC64.
4968 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
4969 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
4970
4971 2014-07-02 Roland McGrath <roland@hack.frob.com>
4972
4973 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
4974
4975 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
4976
4977 * intl/loadmsgcat.c: Remove declaration of
4978 get_sysdep_segment_value.
4979 (get_sysdep_segment_value): Use ISO C style.
4980 (_nl_load_domain): Use ISO C style. Get rid of redundant
4981 semicolon. Fix typo and formatting in comment.
4982 (_nl_unload_domain): Use ISO C style.
4983
4984 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
4985
4986 2014-07-02 Will Newton <will.newton@linaro.org>
4987
4988 * malloc/obstack.c: Merge from gnulib master.
4989 [HAVE_CONFIG_H]: Remove conditional code.
4990 [!_LIBC]: Include config.h.
4991 [!ELIDE_CODE]: Don't include inttypes.h, include
4992 stdint.h unconditionally.
4993 (print_and_abort): Mark as _Noreturn.
4994 (_obstack_allocated_p): Mark as __attribute_pure__.
4995 (obstack_free): Rename to __obstack_free.
4996 [!__attribute__]: Remove conditional code.
4997 * malloc/obstack.h: Merge from gnulib master.
4998 [__cplusplus]: Move conditional down.
4999 [!__attribute_pure__]: Define __attribute_pure__ here
5000 if it is not already defined.
5001 (_obstack_memory_used): Mark as __attribute_pure__.
5002 [!__obstack_free]: Define as obstack_free.
5003 [__GNUC__]: Remove check for ancient NeXT gcc.
5004
5005 2014-07-02 Will Newton <will.newton@linaro.org>
5006 Paul Eggert <eggert@cs.ucla.edu>
5007
5008 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
5009
5010 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
5011
5012 * resolv/gethnamaddr.c: Add comment warning that the file is
5013 not maintained.
5014
5015 2014-07-01 Carlos O'Donell <carlos@redhat.com>
5016
5017 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
5018 entries.
5019
5020 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
5021 entry for aio_cancel and aio_cancel64.
5022 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
5023 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
5024 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
5025 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
5026 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
5027 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
5028 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
5029 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
5030 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
5031 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
5032 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
5033 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
5034 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
5035
5036 2014-07-01 Roland McGrath <roland@hack.frob.com>
5037
5038 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
5039 * nptl/pthread_mutex_lock.c: Likewise.
5040 * nptl/pthread_mutex_timedlock.c: Likewise.
5041 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
5042
5043 2014-07-01 Richard henderson <rth@redhat.com>
5044
5045 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
5046 (__isnan, __isnanl): Remove.
5047 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
5048
5049 * sysdeps/alpha/fpu/libm-test-ulps: Update.
5050
5051 2014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
5052
5053 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
5054
5055 2014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
5056
5057 * resolv/nss_dns/dns-host.c (getanswer_r)
5058 [MULTI_PTRS_ARE_ALIASES]: Remove code.
5059
5060 2014-07-01 Joseph Myers <joseph@codesourcery.com>
5061
5062 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5063 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
5064 undefine.
5065 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
5066 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
5067
5068 2014-07-01 Roland McGrath <roland@hack.frob.com>
5069
5070 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
5071 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
5072
5073 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
5074 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
5075
5076 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
5077 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
5078 ... here.
5079 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
5080 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
5081
5082 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
5083 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
5084 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
5085 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
5086
5087 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
5088 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
5089 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
5090 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
5091 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
5092 Moved ...
5093 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
5094 ... here.
5095 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
5096 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
5097 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
5098 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
5099 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
5100 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
5101 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
5102 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
5103 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
5104 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
5105 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
5106 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
5107 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
5108 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
5109 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
5110 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
5111 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
5112 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
5113 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
5114 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
5115 ... here.
5116 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
5117 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
5118 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
5119 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
5120 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
5121 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
5122 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
5123 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
5124
5125 2014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
5126
5127 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
5128 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
5129 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
5130 Add sysdep.
5131
5132 2014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5133
5134 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5135
5136 2014-06-30 Joseph Myers <joseph@codesourcery.com>
5137
5138 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
5139 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
5140
5141 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
5142
5143 * sysdeps/arm/libm-test-ulps: Regenerated.
5144
5145 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
5146 Roland McGrath <roland@hack.frob.com>
5147
5148 * test-skeleton.c (signal_handler): Kill the whole process group
5149 before killing the child individually.
5150 (main): Report any failure on `setpgid'.
5151
5152 2014-06-30 Roland McGrath <roland@hack.frob.com>
5153
5154 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
5155 from _TLS_H to _ARM_NPTL_TLS_H.
5156 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
5157 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
5158
5159 2014-06-30 Joseph Myers <joseph@codesourcery.com>
5160
5161 [BZ #16539]
5162 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
5163 (__expm1l): Return argument unchanged when small but not
5164 subnormal.
5165
5166 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
5167 include macro name.
5168 (_FP_UNPACK_RAW_1_P): Likewise.
5169 (_FP_PACK_RAW_1): Likewise.
5170 (_FP_PACK_RAW_1_P): Likewise.
5171 (_FP_MUL_MEAT_1_wide): Likewise.
5172 (_FP_MUL_MEAT_DW_1_hard): Likewise.
5173 (_FP_MUL_MEAT_1_hard): Likewise.
5174 (_FP_DIV_MEAT_1_imm): Likewise.
5175 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
5176 (_FP_DIV_MEAT_1_udiv): Likewise.
5177 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
5178 (_FP_UNPACK_RAW_2): Likewise.
5179 (_FP_UNPACK_RAW_2_P): Likewise.
5180 (_FP_PACK_RAW_2): Likewise.
5181 (_FP_PACK_RAW_2_P): Likewise.
5182 (_FP_MUL_MEAT_DW_2_wide): Likewise.
5183 (_FP_MUL_MEAT_2_wide): Likewise.
5184 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
5185 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
5186 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
5187 (_FP_MUL_MEAT_2_gmp): Likewise.
5188 (_FP_DIV_MEAT_2_udiv): Likewise.
5189 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
5190 (_FP_FRAC_SRL_4): Likewise.
5191 (_FP_FRAC_SRST_4): Likewise.
5192 (_FP_FRAC_SRS_4): Likewise.
5193 (_FP_UNPACK_RAW_4): Likewise.
5194 (_FP_UNPACK_RAW_4_P): Likewise.
5195 (_FP_PACK_RAW_4): Likewise.
5196 (_FP_PACK_RAW_4_P): Likewise.
5197 (_FP_MUL_MEAT_DW_4_wide): Likewise.
5198 (_FP_MUL_MEAT_4_wide): Likewise.
5199 (_FP_MUL_MEAT_4_gmp): Likewise.
5200 (umul_ppppmnnn): Likewise.
5201 (_FP_DIV_MEAT_4_udiv): Likewise.
5202 (__FP_FRAC_ADD_4): Likewise.
5203 (__FP_FRAC_SUB_3): Likewise.
5204 (__FP_FRAC_SUB_4): Likewise.
5205 (__FP_FRAC_DEC_3): Likewise.
5206 (__FP_FRAC_DEC_4): Likewise.
5207 (__FP_FRAC_ADDI_4): Likewise.
5208 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
5209 (_FP_FRAC_SRL_8): Likewise.
5210 (_FP_FRAC_SRS_8): Likewise.
5211
5212 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
5213 include macro name.
5214 (FP_UNPACK_RAW_EP): Likewise.
5215 (FP_PACK_RAW_E): Likewise.
5216 (FP_PACK_RAW_EP): Likewise.
5217 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
5218 (_FP_ISSIGNAN): Likewise.
5219 (_FP_ADD_INTERNAL): Likewise.
5220 (_FP_FMA): Likewise.
5221 (_FP_CMP): Likewise.
5222 (_FP_SQRT): Likewise.
5223 (_FP_TO_INT): Likewise.
5224 (_FP_FROM_INT): Likewise.
5225 (FP_EXTEND): Likewise.
5226 (_FP_DIV_MEAT_N_loop): Likewise.
5227
5228 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
5229
5230 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
5231 throughout.
5232
5233 2014-06-29 Joseph Myers <joseph@codesourcery.com>
5234
5235 [BZ #17097]
5236 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
5237 result with correct sign in case of exponents that produce
5238 overflow except for X very close to 1.
5239
5240 2014-06-28 Paul Eggert <eggert@cs.ucla.edu>
5241
5242 mktime: merge #if/#ifdef usage from glibc
5243 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
5244 as that works with both Glibc's and Gnulib's style.
5245 See thread starting at Siddhesh Poyarekar's bug report at:
5246 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
5247
5248 2014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5249
5250 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
5251 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
5252 * sysdeps/tile/tilegx/memmove.c: Remove file.
5253
5254 2014-06-27 Joseph Myers <joseph@codesourcery.com>
5255
5256 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
5257 abi-name definition.
5258 * scripts/soversions.awk: Do not handle or generate ABI lines.
5259 * shlib-versions: Remove ABI entries.
5260 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
5261 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
5262
5263 2014-06-27 Roland McGrath <roland@hack.frob.com>
5264
5265 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
5266 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
5267 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
5268 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
5269 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
5270 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
5271 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
5272 Moved ...
5273 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
5274 ... here.
5275 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
5276 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
5277 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
5278 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
5279 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
5280 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
5281 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
5282 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
5283 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
5284 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
5285 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
5286 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
5287 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
5288 Moved ...
5289 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
5290 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
5291 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
5292 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
5293 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
5294 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
5295 Moved ...
5296 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
5297 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
5298 Moved ...
5299 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
5300 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
5301 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
5302 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
5303 Moved ...
5304 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
5305 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
5306 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
5307 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
5308 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
5309 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
5310 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
5311 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
5312 Moved ...
5313 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
5314 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
5315 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
5316 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
5317 Moved ...
5318 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
5319 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
5320 Moved ...
5321 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
5322 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
5323 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
5324 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
5325 Moved ...
5326 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
5327 ... here.
5328 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
5329 Identical file removed.
5330 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
5331 Moved ...
5332 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
5333 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
5334 Identical file removed.
5335 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
5336 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
5337 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
5338 Moved ...
5339 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
5340 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
5341 Identical file removed.
5342 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
5343 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
5344 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
5345 Identical file removed.
5346 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
5347 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
5348 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
5349 Identical file removed.
5350 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
5351 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
5352 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
5353 Identical file removed.
5354 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
5355 Moved ...
5356 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
5357 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
5358 Identical file removed.
5359 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
5360 Moved ...
5361 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
5362 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
5363 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
5364 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
5365 Identical file removed.
5366 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
5367 Moved ...
5368 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
5369 ... here.
5370 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
5371 Identical file removed.
5372 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
5373 Moved ...
5374 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
5375 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
5376 Identical file removed.
5377 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
5378 Moved ...
5379 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
5380 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
5381 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
5382 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
5383 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
5384 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
5385 Moved ...
5386 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
5387 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
5388 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
5389
5390 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
5391 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
5392 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
5393 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
5394 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
5395
5396 2014-06-27 Arjun Shankar <arjun.is@lostca.se>
5397
5398 [BZ #17092]
5399 * nscd/nscd.c (monitor_child): Return exit status of child
5400 instead of return value from wait syscall.
5401
5402 2014-06-27 Joseph Myers <joseph@codesourcery.com>
5403
5404 * configure.ac (libc_commonpagesize): Remove variable.
5405 (libc_relro_required): Likewise.
5406 (libc_cv_z_relro): Remove configure test.
5407 * configure: Regenerated.
5408 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
5409 variable.
5410 (libc_relro_required): Likewise.
5411 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
5412 (libc_relro_required): Likewise.
5413 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
5414 (libc_relro_required): Likewise.
5415 * sysdeps/arm/preconfigure: Regenerated.
5416 * sysdeps/ia64/preconfigure: Remove file.
5417 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
5418 variable.
5419 (libc_relro_required): Likewise.
5420
5421 [BZ #16561]
5422 [BZ #16562]
5423 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
5424 (__ieee754_yn): Set FE_TONEAREST mode internally and then
5425 recompute overflowing results in original rounding mode.
5426 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
5427 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
5428 recompute overflowing results in original rounding mode.
5429 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
5430 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
5431 recompute overflowing results in original rounding mode.
5432 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
5433 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
5434 recompute overflowing results in original rounding mode.
5435 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
5436 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
5437 recompute overflowing results in original rounding mode.
5438 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
5439 (libc_feholdsetround_ctx): New macro.
5440 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
5441 * sysdeps/i386/fpu/libm-test-ulps: Update.
5442 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
5443
5444 2014-06-26 Joseph Myers <joseph@codesourcery.com>
5445
5446 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
5447 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
5448 corresponding .cpsetup call.
5449
5450 2014-06-26 Roland McGrath <roland@hack.frob.com>
5451
5452 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
5453 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
5454 * sysdeps/arm/Makefile [$(subdir) = csu]
5455 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
5456 (static-only-routines): Add aeabi_read_tp here.
5457 (shared-only-routines): Add libc-aeabi_read_tp here.
5458 (CFLAGS-libc-start.c): Add -fexceptions here.
5459 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
5460 (sysdep_routines, static-only-routines, shared-only-routines):
5461 Don't add to these here.
5462 (CFLAGS-libc-start.c): Likewise.
5463
5464 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
5465 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
5466 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
5467 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
5468 * sysdeps/arm/Makefile [$(subdir) = rt]
5469 (librt-sysdep_routines, librt-shared-only-routines):
5470 Append rt-aeabi_unwind_cpp_pr1 here.
5471 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
5472 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
5473 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
5474 (libpthread-sysdep_routines, libpthread-shared-only-routines):
5475 Append nptl-aeabi_unwind_cpp_pr1 here.
5476 (tests): Filter out tst-cleanupx4 here.
5477 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
5478 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
5479 Don't do those here.
5480
5481 2014-06-26 Joseph Myers <joseph@codesourcery.com>
5482
5483 * scripts/list-sources.sh: Do not handle ports specially.
5484
5485 2014-06-26 Roland McGrath <roland@hack.frob.com>
5486
5487 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
5488 * sysdeps/arm/feupdateenv.c: Likewise.
5489
5490 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
5491
5492 2014-06-26 Joseph Myers <joseph@codesourcery.com>
5493
5494 * manual/texinfo.tex: Update to version 2014-05-05.10 with
5495 trailing whitespace removed.
5496 * scripts/config.guess: Update to version 2014-03-23.
5497 * scripts/config.sub: Update to version 2014-05-01
5498 * scripts/install-sh: Update to version 2013-12-25.23.
5499 * scripts/move-if-change: Update from gnulib.
5500
5501 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
5502
5503 * debug/memmove_chk.c: Remove pagecopy.h include.
5504
5505 2014-06-26 Paul Eggert <eggert@cs.ucla.edu>
5506
5507 * time/mktime.c (leapyear): Remove inline keyword. The code is now
5508 identical to gnulib mktime.
5509
5510 2014-06-26 Joseph Myers <joseph@codesourcery.com>
5511
5512 * configure.ac: Do not test for machine being rs6000. Do not test
5513 for powerpc*-*soft.
5514 * configure: Regenerated.
5515
5516 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
5517 test.
5518 * configure: Regenerated.
5519 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
5520 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
5521 Remove configure test.
5522 * sysdeps/arm/configure: Regenerated.
5523 * sysdeps/nptl/configure.ac: Do not check
5524 libc_cv_asm_cfi_directives.
5525 * sysdeps/nptl/configure: Regenerated.
5526 * sysdeps/x86_64/nptl/configure.ac: Remove file.
5527 * sysdeps/x86_64/nptl/configure: Remove generated file.
5528 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
5529 unconditional.
5530 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
5531
5532 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
5533
5534 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
5535 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
5536 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
5537 it is defined.
5538
5539 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
5540 instead of whether it is defined.
5541 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
5542 * sysdeps/hppa/dl-machine.h: Likewise.
5543 * sysdeps/ia64/dl-machine.h: Likewise.
5544 * sysdeps/m68k/dl-machine.h: Likewise.
5545 * sysdeps/microblaze/dl-machine.h: Likewise.
5546 * sysdeps/mips/dl-machine.: Likewise.
5547 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
5548 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
5549 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
5550 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
5551 * sysdeps/sh/dl-machine.h: Likewise.
5552 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
5553 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
5554 * sysdeps/tile/dl-machine.h: Likewise.
5555 * sysdeps/x86_64/dl-machine.h: Likewise.
5556
5557 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
5558 code.
5559 (verify_persistent_db): Likewise.
5560
5561 2014-06-26 Roland McGrath <roland@hack.frob.com>
5562
5563 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
5564 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
5565 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
5566 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
5567 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
5568 Moved ...
5569 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
5570 ... here.
5571 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
5572 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
5573 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
5574 Identical file removed.
5575 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
5576 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
5577 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
5578 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
5579 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
5580 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
5581 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
5582 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
5583 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
5584 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
5585 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
5586 Moved ...
5587 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
5588 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
5589 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
5590 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
5591 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
5592 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
5593 Moved ...
5594 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
5595 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
5596 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
5597 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
5598 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
5599 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
5600 Identical file removed.
5601 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
5602 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
5603 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
5604 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
5605 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
5606 Moved ...
5607 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
5608 ... here.
5609 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
5610 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
5611 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
5612 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
5613 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
5614 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
5615 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
5616 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
5617 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
5618 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
5619 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
5620 Moved ...
5621 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
5622 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
5623 Moved ...
5624 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
5625 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
5626 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
5627 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
5628 Moved ...
5629 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
5630 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
5631 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
5632
5633 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
5634 folded into ...
5635 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
5636 * sysdeps/unix/sysv/linux/s390/Versions
5637 (libpthread: GLIBC_2.19): New version set.
5638 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
5639 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
5640 (librt: GLIBC_2.3.3): New version set.
5641 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
5642 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
5643 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
5644 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
5645 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
5646 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
5647 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
5648 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
5649 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
5650 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
5651 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
5652 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
5653 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
5654 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
5655 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
5656 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
5657 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
5658 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
5659 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
5660 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
5661 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
5662 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
5663 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
5664 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
5665 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
5666 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
5667 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
5668 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
5669 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
5670 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
5671 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
5672 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
5673 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
5674 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
5675 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
5676 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
5677 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
5678 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
5679 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
5680 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
5681 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
5682 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
5683 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
5684 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
5685 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
5686
5687 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
5688 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
5689 (__libc_vfork): Define the function under this name.
5690 [!NOT_IN_libc] (__vfork): Make this an alias.
5691 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
5692 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
5693 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
5694 (__libc_vfork): Define the function under this name.
5695 [!NOT_IN_libc] (__vfork): Make this an alias.
5696 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
5697 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
5698 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
5699 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
5700 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
5701 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
5702
5703 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
5704 code that was previously under [RESET_PID].
5705 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
5706 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
5707 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
5708
5709 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
5710 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
5711 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
5712 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
5713 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
5714 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
5715 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
5716 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
5717 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
5718 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
5719 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
5720 Moved ...
5721 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
5722 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
5723 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
5724 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
5725 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
5726 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
5727 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
5728 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
5729 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
5730 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
5731 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
5732 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
5733 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
5734 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
5735 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
5736 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
5737 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
5738 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
5739 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
5740 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
5741 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
5742 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
5743 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
5744 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
5745 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
5746 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
5747 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
5748 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
5749 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
5750
5751 2014-06-25 Roland McGrath <roland@hack.frob.com>
5752
5753 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
5754 that was previously under [RESET_PID].
5755 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
5756
5757 2014-06-25 Joseph Myers <joseph@codesourcery.com>
5758
5759 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
5760 not undefine and redefine.
5761 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
5762 [O_CLOEXEC]: Make code unconditional.
5763 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
5764 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
5765 <kernel-features.h>.
5766 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
5767 conditional variable definition.
5768 (shm_open) [O_CLOEXEC]: Make code unconditional.
5769 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
5770 code.
5771
5772 * configure.ac (USE_REGPARMS): Don't define here.
5773 * configure: Regenerated.
5774 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
5775 * sysdeps/i386/configure: Regenerated.
5776
5777 * nptl/createthread.c: Don't include kernel-features.h.
5778 * nptl/pthread_cancel.c: Likewise.
5779 * nptl/pthread_condattr_setclock.c: Likewise.
5780 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
5781 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
5782 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
5783 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
5784 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
5785 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
5786 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
5787 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
5788 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
5789 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
5790 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
5791 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
5792 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
5793 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
5794 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
5795 * nscd/gai.c: Likewise.
5796 * nss/nss_db/db-open.c: Likewise.
5797 * sysdeps/generic/ldsodefs.h: Likewise.
5798 * sysdeps/sh/nptl/tls.h: Likewise.
5799 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
5800 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
5801 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
5802 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
5803 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
5804 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
5805 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
5806 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
5807 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
5808 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
5809 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
5810 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
5811 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
5812 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
5813 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
5814 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
5815 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
5816 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
5817 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
5818 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
5819 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
5820 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
5821 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
5822 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
5823 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
5824 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
5825 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
5826 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
5827 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
5828 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
5829 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
5830 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
5831 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
5832 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
5833 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
5834 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
5835 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
5836 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
5837 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
5838 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
5839 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
5840 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
5841 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
5842 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
5843 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
5844 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
5845 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
5846 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
5847 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
5848 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
5849 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
5850 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
5851 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
5852 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
5853 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
5854 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
5855 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
5856 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
5857 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
5858 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
5859 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
5860 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
5861 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
5862 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
5863 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
5864 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
5865 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
5866 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
5867 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
5868 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
5869 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
5870 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
5871 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
5872 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
5873 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
5874 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
5875 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
5876 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
5877 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
5878 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
5879 * sysdeps/unix/sysv/linux/pread.c: Likewise.
5880 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
5881 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
5882 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
5883 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
5884 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
5885 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
5886 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
5887 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
5888 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
5889 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
5890 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
5891 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
5892 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
5893 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
5894 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
5895 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
5896 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
5897 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
5898 * sysdeps/unix/sysv/linux/system.c: Likewise.
5899 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
5900 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
5901 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
5902 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
5903 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
5904 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
5905 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
5906
5907 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
5908 * configure: Regenerated.
5909 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
5910
5911 * configure.ac (base_machine): Do not set specially for particular
5912 machines here.
5913 * configure: Regenerated.
5914 * sysdeps/powerpc/preconfigure: Move machine and base_machine
5915 settings from configure.ac.
5916 * sysdeps/i386/preconfigure: New file.
5917 * sysdeps/s390/preconfigure: Likewise.
5918 * sysdeps/sh/preconfigure: Likewise.
5919 * sysdeps/sparc/preconfigure: Likewise.
5920
5921 2014-06-25 Roland McGrath <roland@hack.frob.com>
5922
5923 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
5924 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
5925 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
5926 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
5927 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
5928 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
5929 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
5930 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
5931 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
5932 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
5933 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
5934 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
5935 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
5936 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
5937 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
5938 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
5939 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
5940 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
5941 * sysdeps/sparc/sparc64/Makefile: ... appended here.
5942
5943 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
5944 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
5945 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
5946 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
5947 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
5948 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
5949 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
5950 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
5951 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
5952 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
5953 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
5954 * sysdeps/sparc/sparc32/sem_post.c: ... here.
5955 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
5956 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
5957 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
5958 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
5959 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
5960 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
5961 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
5962 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
5963 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
5964 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
5965 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
5966 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
5967 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
5968 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
5969 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
5970 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
5971 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
5972 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
5973 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
5974 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
5975 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
5976 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
5977 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
5978 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
5979 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
5980 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
5981
5982 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
5983 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
5984 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
5985 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
5986 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
5987 Moved ...
5988 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
5989 ... here.
5990 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
5991 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
5992 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
5993 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
5994 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
5995 Moved ...
5996 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
5997 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
5998 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
5999 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
6000 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
6001 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
6002 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
6003 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
6004 Moved ...
6005 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
6006 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
6007 Moved ...
6008 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
6009 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
6010 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
6011 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
6012 Moved ...
6013 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
6014 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
6015 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
6016 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
6017 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
6018 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
6019 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
6020 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
6021 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
6022 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
6023 Moved ...
6024 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
6025 ... here.
6026 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
6027 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
6028 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
6029 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
6030 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
6031 Moved ...
6032 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
6033 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
6034 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
6035 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
6036 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
6037 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
6038 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
6039 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
6040 Moved ...
6041 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
6042 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
6043 Moved ...
6044 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
6045 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
6046 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
6047 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
6048 Moved ...
6049 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
6050 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
6051 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
6052 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
6053 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
6054
6055 2014-06-25 Joseph Myers <joseph@codesourcery.com>
6056
6057 * timezone/checktab.awk: Update from tzcode 2014e.
6058 * timezone/private.h: Likewise.
6059 * timezone/tzfile.h: Likewise.
6060 * timezone/zdump.c: Likewise.
6061 * timezone/zic.c: Likewise.
6062
6063 * sysdeps/unix/sysv/linux/kernel-features.h
6064 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
6065 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
6066 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
6067 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
6068 Remove conditional code.
6069
6070 2014-06-25 Will Newton <will.newton@linaro.org>
6071
6072 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
6073 (_dl_arm_cap_flags): Add HWCAP2 values.
6074 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
6075 (_DL_HWCAP_COUNT): Increase to 37.
6076 (_DL_HWCAP_LAST): New define.
6077 (_DL_HWCAP2_LAST): New define.
6078 (_dl_procinfo): Add support for printing
6079 AT_HWCAP2 entries.
6080 (_dl_string_hwcap): Use _dl_hwcap_string.
6081
6082 2014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6083
6084 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6085
6086 2014-06-25 Joseph Myers <joseph@codesourcery.com>
6087
6088 * README: Do not mention ports directory.
6089
6090 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
6091 Remove macro.
6092 * sysdeps/unix/sysv/linux/futimes.c: Do not include
6093 <kernel-features.h>.
6094 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
6095 conditional variable definition.
6096 (__futimes): Update comment.
6097 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
6098 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
6099
6100 [BZ #16560]
6101 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
6102 arguments close to 0.
6103 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
6104 Likewise.
6105 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
6106 Likewise.
6107 * math/auto-libm-test-in: Add more tests of exp10.
6108 * math/auto-libm-test-out: Regenerated.
6109 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6110
6111 * sysdeps/unix/sysv/linux/kernel-features.h
6112 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
6113 * sysdeps/unix/sysv/linux/readv.c: Do not include
6114 <kernel-features.h>.
6115 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
6116 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
6117 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
6118 unconditional.
6119 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
6120 conditional code.
6121 * sysdeps/unix/sysv/linux/writev.c: Do not include
6122 <kernel-features.h>.
6123 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
6124 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
6125 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
6126 unconditional.
6127 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
6128 conditional code.
6129
6130 2014-06-25 Will Newton <will.newton@linaro.org>
6131
6132 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
6133 comment changes throughout the file. Remove checks
6134 for HAVE_*_H definitions that are not required.
6135 (__gen_tempname): Call abort if an unknown kind value is
6136 passed.
6137
6138 2014-06-25 Andreas Schwab <schwab@suse.de>
6139
6140 [BZ #17086]
6141 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
6142 scalbln, scalblnf, scalblnl in libc.
6143
6144 2014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
6145
6146 [BZ #17086]
6147 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
6148 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
6149 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
6150
6151 2014-06-24 Roland McGrath <roland@hack.frob.com>
6152
6153 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
6154 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
6155 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
6156 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
6157 Update #include.
6158 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
6159 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
6160 Update #include.
6161 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
6162 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
6163 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
6164 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
6165 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
6166 * sysdeps/x86/bits/pthreadtypes.h: ... here.
6167 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
6168 * sysdeps/x86/bits/semaphore.h: ... here.
6169 * sysdeps/x86/nptl/elide.h: Moved ...
6170 * sysdeps/x86/elide.h: ... here.
6171 * sysdeps/x86_64/nptl/Implies: File removed.
6172 * sysdeps/i386/nptl/Implies: File removed.
6173
6174 2014-06-24 Joseph Myers <joseph@codesourcery.com>
6175
6176 [BZ #16539]
6177 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
6178 return the argument for normal arguments with exponent below -64.
6179 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
6180 Likewise.
6181 * math/auto-libm-test-in: Add another test of expm1.
6182 * math/auto-libm-test-out: Regenerated.
6183
6184 [BZ #16287]
6185 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
6186 calling __erfcl for arguments at least 16.
6187 * math/auto-libm-test-in: Add more tests of erf.
6188 * math/auto-libm-test-out: Regenerated.
6189
6190 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
6191 individual architectures.
6192 * sysdeps/unix/sysv/linux/configure: Regenerated.
6193 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
6194 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
6195 * sysdeps/unix/sysv/linux/powerpc/configure.ac
6196 (ldd_rewrite_script): Define variable.
6197 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
6198 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
6199 file.
6200 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
6201 generated file.
6202 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
6203 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
6204 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
6205 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
6206 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
6207 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
6208 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
6209 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
6210
6211 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
6212
6213 [BZ #17084]
6214 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
6215 Rename member __data.d to __data.__elision_data.
6216
6217 2014-06-24 Wilco <wdijkstr@arm.com>
6218
6219 * NEWS: Add 16918 to fixed bug list.
6220
6221 2014-06-24 Wilco <wdijkstr@arm.com>
6222
6223 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
6224
6225 2014-06-24 Wilco <wdijkstr@arm.com>
6226
6227 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
6228 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
6229 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
6230 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
6231 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
6232 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
6233 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
6234 Use _FPU_MASK_RM.
6235
6236 2014-06-24 Wilco <wdijkstr@arm.com>
6237
6238 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
6239
6240 2014-06-24 Wilco <wdijkstr@arm.com>
6241
6242 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
6243 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
6244 * sysdeps/arm/fesetround.c (fesetround): Remove space.
6245 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
6246
6247 2014-06-24 Wilco <wdijkstr@arm.com>
6248
6249 [BZ #16918]
6250 * sysdeps/arm/feupdateenv.c (feupdateenv):
6251 Rewrite to reduce FPSCR accesses and fix return value.
6252
6253 2014-06-24 Wilco <wdijkstr@arm.com>
6254
6255 * sysdeps/arm/fclrexcpt.c (feclearexcept):
6256 Optimize to avoid unnecessary FPSCR writes.
6257 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
6258 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
6259 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
6260 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
6261
6262 2014-06-24 Wilco <wdijkstr@arm.com>
6263
6264 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
6265 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
6266 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
6267 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
6268 Call libc_fetestexcept_vfp.
6269 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
6270 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
6271 __SOFTFP__ ifdef so that they can be built for softfp.
6272
6273 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
6274
6275 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
6276 argument type signed char.
6277
6278 * Makerules (check-abi): Dump diff of symlist if the test
6279 fails.
6280
6281 2014-06-23 Roland McGrath <roland@hack.frob.com>
6282
6283 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
6284 using abort.
6285
6286 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
6287 Remove unused variable ST.
6288
6289 2014-06-23 Joseph Myers <joseph@codesourcery.com>
6290
6291 [BZ #16354]
6292 [BZ #17061]
6293 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
6294 small arguments before calling __expm1.
6295 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
6296 small arguments before calling __expm1f.
6297 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
6298 small arguments before calling __expm1l.
6299 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
6300 Likewise.
6301 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
6302 * math/auto-libm-test-in: Add more cosh tests. Do not allow
6303 spurious underflow for some cosh tests.
6304 * math/auto-libm-test-out: Regenerated.
6305 * sysdeps/i386/fpu/libm-test-ulps: Update.
6306
6307 [BZ #17050]
6308 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
6309 (__ieee754_y1): Set errno if return value overflows.
6310 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
6311 (__ieee754_y1f): Set errno if return value overflows.
6312 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
6313 (__ieee754_y1l): Set errno if return value overflows.
6314 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
6315 (__ieee754_y1l): Set errno if return value overflows.
6316 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
6317 * math/auto-libm-test-out: Regenerated.
6318
6319 * math/gen-auto-libm-tests.c: Document use of
6320 ignore-zero-inf-sign.
6321 (input_flag_type): Add value flag_ignore_zero_inf_sign.
6322 (input_flags): Add ignore-zero-inf-sign.
6323 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
6324 * math/gen-libm-test.pl (generate_testfile): Handle
6325 ignore-zero-inf-sign.
6326 * math/auto-libm-test-in: Mark some cpow tests with
6327 ignore-zero-inf-sign and some with xfail-rounding.
6328 * math/auto-libm-test-out: Regenerated.
6329 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
6330 * sysdeps/i386/fpu/libm-test-ulps: Update.
6331 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6332
6333 [BZ #16315]
6334 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
6335 overflowing or underflowing operations take place with sign of
6336 result.
6337 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
6338 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
6339 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
6340 (__ieee754_pow): Recompute overflowing and underflowing results in
6341 original rounding mode.
6342 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
6343 (__powl_helper): Allow negative argument X and scale negated value
6344 as needed. Avoid passing value outside [-1, 1] to f2xm1.
6345 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
6346 overflowing or underflowing operations take place with sign of
6347 result.
6348 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
6349 Include <math.h>.
6350 * math/auto-libm-test-in: Add more tests of pow.
6351 * math/auto-libm-test-out: Regenerated.
6352 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
6353 (pow_tonearest_test_data): Remove.
6354 (pow_test_tonearest): Likewise.
6355 (pow_towardzero_test_data): Likewise.
6356 (pow_test_towardzero): Likewise.
6357 (pow_downward_test_data): Likewise.
6358 (pow_test_downward): Likewise.
6359 (pow_upward_test_data): Likewise.
6360 (pow_test_upward): Likewise.
6361 (main): Don't call removed functions.
6362 * sysdeps/i386/fpu/libm-test-ulps: Update.
6363 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6364
6365 2014-06-23 Roland McGrath <roland@hack.frob.com>
6366
6367 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
6368 Moved ...
6369 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
6370 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
6371 Moved ...
6372 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
6373 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
6374 Moved ...
6375 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
6376 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
6377 Moved ...
6378 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
6379 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
6380 File removed.
6381 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
6382 File removed.
6383 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
6384 File removed.
6385 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
6386 File removed.
6387 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
6388 File removed.
6389 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
6390 File removed.
6391 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
6392 File removed.
6393 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
6394 File removed.
6395 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
6396 File removed.
6397 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
6398 File removed.
6399 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
6400 File removed.
6401 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
6402 File removed.
6403 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
6404 Moved ...
6405 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
6406 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
6407 Moved ...
6408 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
6409 ... here.
6410 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
6411 Moved ...
6412 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
6413 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
6414 Moved ...
6415 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
6416 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
6417 Moved ...
6418 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
6419 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
6420 Moved ...
6421 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
6422 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
6423 Moved ...
6424 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
6425 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
6426 Moved ...
6427 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
6428 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
6429 Moved ...
6430 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
6431 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
6432 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
6433 ... here.
6434 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
6435 Moved ...
6436 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
6437 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
6438 Moved ...
6439 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
6440 ... here.
6441 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
6442 Moved ...
6443 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
6444 ... here.
6445 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
6446 Moved ...
6447 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
6448 ... here.
6449 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
6450 Moved ...
6451 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
6452 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
6453 Moved ...
6454 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
6455 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
6456 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
6457 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
6458 Moved ...
6459 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
6460 ... here.
6461 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
6462 Moved ...
6463 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
6464 ... here.
6465 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
6466 Moved ...
6467 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
6468 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
6469 Moved ...
6470 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
6471 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
6472 Moved ...
6473 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
6474 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
6475 Moved ...
6476 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
6477 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
6478 Moved ...
6479 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
6480 ... here.
6481 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
6482 Moved ...
6483 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
6484 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
6485 Moved ...
6486 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
6487 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
6488 Moved ...
6489 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
6490 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
6491 Moved ...
6492 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
6493 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
6494 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
6495 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
6496 Moved ...
6497 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
6498 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
6499 Moved ...
6500 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
6501 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
6502 Moved ...
6503 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
6504 ... here.
6505 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
6506 Moved ...
6507 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
6508 ... here.
6509 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
6510 Moved ...
6511 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
6512 ... here.
6513 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
6514 Moved ...
6515 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
6516 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
6517 Moved ...
6518 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
6519 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
6520 Moved ...
6521 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
6522 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
6523 Moved ...
6524 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
6525 ... here.
6526 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
6527 Moved ...
6528 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
6529 ... here.
6530 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
6531 Moved ...
6532 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
6533 ... here.
6534 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
6535 Moved ...
6536 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
6537 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
6538 Moved ...
6539 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
6540
6541 2014-06-23 Will Newton <will.newton@linaro.org>
6542 Wilco <wdijkstr@arm.com>
6543
6544 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
6545 implementation. Include get-rounding-mode.h.
6546 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
6547 [!libc_feholdsetround_noex_ctx]: Define
6548 libc_feholdsetround_noex_ctx.
6549 [!libc_feholdsetround_noexf_ctx]: Define
6550 libc_feholdsetround_noexf_ctx.
6551 [!libc_feholdsetround_noexl_ctx]: Define
6552 libc_feholdsetround_noexl_ctx.
6553 (libc_feholdsetround_ctx): New function.
6554 (libc_feresetround_ctx): New function.
6555 (libc_feholdsetround_noex_ctx): New function.
6556 (libc_feresetround_noex_ctx): New function.
6557
6558 2014-06-23 Roland McGrath <roland@hack.frob.com>
6559
6560 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
6561 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
6562 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
6563 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
6564 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
6565 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
6566
6567 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
6568 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
6569 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
6570 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
6571 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
6572 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
6573 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
6574 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
6575 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
6576 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
6577 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
6578 Moved ...
6579 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
6580 ... here.
6581 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
6582 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
6583 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
6584 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
6585 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
6586 Moved ...
6587 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
6588 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
6589 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
6590 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
6591 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
6592 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
6593 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
6594 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
6595 Moved ...
6596 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
6597 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
6598 Moved ...
6599 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
6600 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
6601 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
6602 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
6603 Moved ...
6604 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
6605 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
6606 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
6607 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
6608 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
6609 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
6610 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
6611 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
6612 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
6613 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
6614 Moved ...
6615 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
6616 ... here.
6617 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
6618 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
6619 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
6620 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
6621 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
6622 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
6623 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
6624 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
6625 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
6626 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
6627 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
6628 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
6629 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
6630 Moved ...
6631 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
6632 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
6633 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
6634 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
6635 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
6636 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
6637 Moved ...
6638 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
6639 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
6640 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
6641 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
6642 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
6643
6644 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
6645 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
6646 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
6647 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
6648 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
6649 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
6650 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
6651 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
6652 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
6653 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
6654 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
6655 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
6656 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
6657 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
6658 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
6659 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
6660 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
6661 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
6662 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
6663 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
6664 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
6665 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
6666 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
6667 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
6668 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
6669 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
6670 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
6671 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
6672
6673 2014-06-23 Joseph Myers <joseph@codesourcery.com>
6674
6675 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
6676 (FALLOC_FL_COLLAPSE_RANGE): New macro.
6677 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
6678 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
6679 (IPV6_PMTUDISC_INTERFACE): Likewise.
6680 (IPV6_PMTUDISC_OMIT): Likewise.
6681
6682 2014-06-23 Andreas Schwab <schwab@suse.de>
6683
6684 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
6685 Remove unused errout label.
6686
6687 2014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6688
6689 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
6690 macro: hardware supports Vector Crypto instructions.
6691
6692 2014-06-23 Will Newton <will.newton@linaro.org>
6693
6694 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
6695 rather than __builtin_expect.
6696
6697 * elf/dl-lookup.c (undefined_msg): Remove variable.
6698 (_dl_lookup_symbol_x): Replace undefined_msg with string
6699 literal.
6700
6701 * elf/dl-lookup.c (do_lookup_unique): New function.
6702 (do_lookup_x): Move STB_GNU_UNIQUE handling code
6703 to a separate function.
6704
6705 2014-06-23 Andreas Schwab <schwab@suse.de>
6706
6707 [BZ #17079]
6708 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
6709 before reading the next line.
6710
6711 2014-06-23 Will Newton <will.newton@linaro.org>
6712
6713 * test-skeleton.c (signal_handler): Use printf and %m
6714 rather than perror. Use printf rather than fprintf to
6715 stderr. Use puts rather than fputs to stderr.
6716 (main): Likewise.
6717
6718 2014-06-22 Ludovic Courtès <ludo@gnu.org>
6719
6720 * nscd/nscd.c (thread_info_t): Remove typedef.
6721 (thread_info): Remove variable.
6722
6723 2014-06-21 Allan McRae <allan@archlinux.org>
6724
6725 * NEWS: Mention CVE-2014-4043.
6726
6727 2014-06-20 Roland McGrath <roland@hack.frob.com>
6728
6729 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
6730 * nptl/smp.h: ... here.
6731
6732 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
6733
6734 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
6735 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
6736 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
6737 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
6738
6739 * nptl/allocatestack.c: Include <stack-aliasing.h>.
6740 * nptl/stack-aliasing.h: New file.
6741 * sysdeps/i386/i686/stack-aliasing.h: New file.
6742 * sysdeps/i386/i686/nptl/Makefile: File removed.
6743 * sysdeps/x86_64/stack-aliasing.h: New file.
6744 * sysdeps/x86_64/nptl/Makefile
6745 (CFLAGS-pthread_create.c): Variable removed.
6746
6747 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
6748 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
6749 old file.
6750 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
6751 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
6752 old file.
6753
6754 2014-06-21 Joseph Myers <joseph@codesourcery.com>
6755
6756 * sysdeps/unix/sysv/linux/arm/kernel-features.h
6757 (__ASSUME_SIGFRAME_V2): Remove macro.
6758 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
6759 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
6760 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
6761 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
6762 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
6763 Declare as function. Remove conditional macro definitions.
6764 (__default_rt_sa_restorer): Likewise.
6765 (__default_sa_restorer_v1): Remove declaration.
6766 (__default_sa_restorer_v2): Likewise.
6767 (__default_rt_sa_restorer_v1): Likewise.
6768 (__default_rt_sa_restorer_v2): Likewise.
6769 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
6770 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
6771 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
6772
6773 2014-06-20 Roland McGrath <roland@hack.frob.com>
6774
6775 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
6776 (libpthread-routines): Add sysdep.
6777 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
6778 * sysdeps/unix/sysv/linux/sparc/Versions
6779 (libpthread: GLIBC_2.3.3): New version set.
6780 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
6781 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
6782 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
6783 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
6784 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
6785 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
6786 Moved ...
6787 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
6788 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
6789 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
6790 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
6791 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
6792 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
6793 * sysdeps/sparc/nptl/sem_init.c: ... here.
6794 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
6795 * sysdeps/sparc/nptl/sem_post.c: ... here.
6796 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
6797 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
6798 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
6799 * sysdeps/sparc/nptl/sem_wait.c: ... here.
6800 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
6801 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
6802 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
6803 (libpthread-routines): Add cpu_relax.
6804 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
6805 File removed.
6806 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
6807 (librt: GLIBC_2.3.3): New version set.
6808 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
6809 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
6810 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
6811 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
6812 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
6813 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
6814 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
6815 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
6816 Moved ...
6817 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
6818 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
6819 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
6820 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
6821 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
6822 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
6823 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
6824 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
6825 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
6826 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
6827 Moved ...
6828 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
6829 Update #include.
6830 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
6831 Moved ...
6832 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
6833 Update #include.
6834 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
6835 Moved ...
6836 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
6837 Update #include.
6838 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
6839 Moved ...
6840 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
6841 Update #include.
6842 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
6843 Moved ...
6844 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
6845 Update #include.
6846 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
6847 Moved ...
6848 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
6849 Update #include.
6850 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
6851 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
6852 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
6853 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
6854 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
6855 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
6856 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
6857 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
6858 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
6859 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
6860 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
6861 Moved ...
6862 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
6863 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
6864 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
6865 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
6866 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
6867
6868 2014-06-20 Joseph Myers <joseph@codesourcery.com>
6869
6870 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
6871 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
6872 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
6873 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
6874 * nscd/nscd.c: Likewise.
6875 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
6876 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
6877 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
6878 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
6879
6880 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
6881 <kernel-features.h>.
6882 (init_mq_netlink): Remove conditional have_sock_cloexec
6883 definitions. Remove code conditional on have_sock_cloexec < 0.
6884 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
6885 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
6886 * sysdeps/unix/sysv/linux/opensock.c: Do not include
6887 <kernel-features.h>.
6888 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
6889 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
6890
6891 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
6892
6893 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
6894 Add tests for memset_chk and memset.
6895
6896 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
6897 with AVX2_Usable.
6898
6899 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
6900
6901 [BZ #16046]
6902 * elf/tst-dl-iter-static.c: New file.
6903 * elf/Makefile (tests-static): Add tst-dl-iter-static.
6904
6905 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
6906 error.
6907
6908 2014-06-20 Joseph Myers <joseph@codesourcery.com>
6909
6910 * sysdeps/unix/sysv/linux/kernel-features.h
6911 (__ASSUME_F_GETOWN_EX): Remove macro.
6912 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
6913 <kernel-features.h>.
6914 (miss_F_GETOWN_EX): Remove variable or macro.
6915 (do_fcntl): Do not check miss_F_GETOWN_EX.
6916 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
6917
6918 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
6919 Remove macro.
6920 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
6921 [!__ASSUME_AT_RANDOM]: Remove conditional code.
6922 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
6923
6924 * sysdeps/unix/sysv/linux/kernel-features.h
6925 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
6926 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
6927 [ADJ_OFFSET_SS_READ]: Make code unconditional.
6928 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
6929
6930 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
6931
6932 [BZ #17075]
6933 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
6934 Fix calculation of the symbol's value.
6935 * sysdeps/arm/tst-armtlsdescloc.c: New file.
6936 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
6937 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
6938 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
6939 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
6940 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
6941 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
6942 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
6943 (modules-names): Add `tst-armtlsdescmod',
6944 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
6945 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
6946 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
6947 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
6948 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
6949 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
6950 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
6951 ($(objpfx)tst-armtlsdescloc): New dependency.
6952 ($(objpfx)tst-armtlsdescextnow): Likewise.
6953 ($(objpfx)tst-armtlsdescextlazy): Likewise.
6954 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
6955 TLS scheme support.
6956 * sysdeps/arm/configure: Regenerate.
6957
6958 2014-06-20 Joseph Myers <joseph@codesourcery.com>
6959
6960 * include/fcntl.h (__atfct_seterrno): Remove prototype.
6961 (__atfct_seterrno_2): Likewise.
6962 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
6963 <kernel-features.h>.
6964 (__ASSUME_ATFCTS): Do not undefine and redefine.
6965 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
6966 (__have_atfcts): Remove conditional definition.
6967 (__fxstatat([__NR_fstatat64]: Make code unconditional.
6968 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
6969 unreachable if [__ASSUME_ATFCTS].
6970 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
6971 not undefine and redefine.
6972 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
6973 <kernel-features.h>.
6974 (faccessat) [__NR_faccessat]: Make code unconditional.
6975 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
6976 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
6977 <kernel-features.h>.
6978 (fchmodat) [__NR_fchmodat]: Make code unconditional.
6979 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
6980 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
6981 <kernel-features.h>.
6982 (fchownat) [__NR_fchownat]: Make code unconditional.
6983 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
6984 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
6985 <kernel-features.h>.
6986 (futimesat) [__NR_futimesat]: Make code unconditional.
6987 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
6988 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
6989 <kernel-features.h>.
6990 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
6991 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
6992 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
6993 <kernel-features.h>.
6994 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
6995 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
6996 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
6997 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
6998 <kernel-features.h>.
6999 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
7000 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
7001 * sysdeps/unix/sysv/linux/linkat.c: Do not include
7002 <kernel-features.h>.
7003 (linkat) [__NR_linkat]: Make code unconditional.
7004 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
7005 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
7006 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
7007 <kernel-features.h>.
7008 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
7009 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
7010 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
7011 <kernel-features.h>.
7012 (mkdirat) [__NR_mkdirat]: Make code unconditional.
7013 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
7014 * sysdeps/unix/sysv/linux/openat.c: Do not include
7015 <kernel-features.h>.
7016 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
7017 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
7018 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
7019 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
7020 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
7021 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
7022 <kernel-features.h>.
7023 (readlinkat) [__NR_readlinkat]: Make code unconditional.
7024 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
7025 result of INLINE_SYSCALL directly, not via int variable.
7026 * sysdeps/unix/sysv/linux/renameat.c: Do not include
7027 <kernel-features.h>.
7028 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
7029 (renameat) [__NR_renameat]: Make code unconditional.
7030 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
7031 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
7032 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
7033 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
7034 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
7035 (__ASSUME_ATFCTS): Do not undefine and redefine.
7036 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
7037 <kernel-features.h>.
7038 (symlinkat) [__NR_symlinkat]: Make code unconditional.
7039 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
7040 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
7041 <kernel-features.h>.
7042 (unlinkat) [__NR_unlinkat]: Make code unconditional.
7043 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
7044 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
7045 (__ASSUME_ATFCTS): Do not undefine and redefine.
7046 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
7047 <kernel-features.h>.
7048 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
7049 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
7050 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
7051 <kernel-features.h>.
7052 (__xmknodat) [__NR_mknodat]: Make code unconditional.
7053 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
7054
7055 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
7056
7057 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
7058
7059 2014-06-20 Andreas Schwab <schwab@linux-m68k.org>
7060
7061 [BZ #17069]
7062 * posix/regcomp.c (parse_reg_exp): Deallocate partially
7063 constructed tree before returning error.
7064 * posix/bug-regexp36.c: Expand test case.
7065
7066 2014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
7067
7068 [BZ #6803]
7069 * math/libm-test.inc (scalbln_test_date):
7070 Add errno expectations.
7071 * math/w_scalblnf.c: New File.
7072 Add wrapper which checks for setting errno to ERANGE.
7073 Add weak_alias for corresponding scalbln function.
7074 * math/w_scalbln.c: Likewise.
7075 * math/w_scalblnl.c: Likewise.
7076 * math/Makefile (libm-calls): Add w_scalbln.
7077 * sysdeps/ieee754/flt-32/s_scalblnf.c:
7078 Remove weak_alias for corresponding scalbln function.
7079 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
7080 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
7081 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
7082 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
7083 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
7084 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
7085 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
7086 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
7087 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
7088 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
7089 Remove long_double_symbol for scalblnl function in libm, libc.
7090 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
7091 Add wrapper which checks for setting errno to ERANGE.
7092 Add long_double_symbol for scalblnl function in libm, libc.
7093 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
7094 Remove long_double_symbol for scalblnl in libm.
7095 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
7096 Add wrapper which checks for setting errno to ERANGE.
7097 Add long_double_symbol for scalblnl function in libm.
7098 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
7099 Do not use wrapper because of own implementation.
7100
7101 2014-06-19 H.J. Lu <hongjiu.lu@intel.com>
7102
7103 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
7104 3 bytes for __pad1 for x32.
7105 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
7106
7107 2014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
7108 H.J. Lu <hongjiu.lu@intel.com>
7109
7110 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
7111 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
7112 * sysdeps/x86_64/multiarch/memset.S: Likewise.
7113 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
7114 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
7115
7116 2014-06-19 Andreas Schwab <schwab@linux-m68k.org>
7117
7118 [BZ #17069]
7119 * posix/regcomp.c (parse_expression): Deallocate partially
7120 constructed tree before returning error.
7121 * posix/Makefile.c (tests): Add bug-regex36.
7122 (generated): Add bug-regex36.mtrace.
7123 (tests-special): Add $(objpfx)bug-regex36-mem.out
7124 (bug-regex36-ENV): New variable.
7125 ($(objpfx)bug-regex36-mem.out): New rule.
7126 * posix/bug-regex36.c: New file.
7127
7128 2014-06-19 Will Newton <will.newton@linaro.org>
7129
7130 * malloc/malloc.c (systrim): If extra is zero then return
7131 early.
7132
7133 2014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
7134
7135 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
7136
7137 2014-06-19 Richard Earnshaw <rearnsha@arm.com>
7138
7139 * sysdeps/aarch64/strchr.S: New file.
7140
7141 2014-06-18 Joseph Myers <joseph@codesourcery.com>
7142
7143 [BZ #17022]
7144 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
7145 from arguments -2 or below.
7146 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
7147 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
7148
7149 2014-06-18 Andreas Schwab <schwab@suse.de>
7150
7151 [BZ #17062]
7152 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
7153 of a bracket expr not to run off the end of the string.
7154 * posix/Makefile (tests): Add tst-fnmatch3.
7155 * posix/tst-fnmatch3.c: New file.
7156
7157 2014-06-18 Joseph Myers <joseph@codesourcery.com>
7158
7159 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
7160 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
7161 [$(cross-compiling) = no]: Likewise.
7162 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
7163 [$(cross-compiling) = no]: Likewise.
7164
7165 2014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
7166
7167 [BZ #17031]
7168 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
7169 double, adjusted for any remainder from the high double.
7170 * math/libm-test.inc (nearbyint): Add tests.
7171 (rint): Likewise.
7172
7173 2014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7174
7175 * nptl/sysdeps/powerpc/Makefile: Moved ...
7176 * sysdeps/powerpc/nptl/Makefile: ... here.
7177 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
7178 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
7179 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
7180 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
7181 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
7182 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
7183 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
7184 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
7185 * nptl/sysdeps/powerpc/tls.h: Moved ...
7186 * sysdeps/powerpc/nptl/tls.h: ... here.
7187
7188 2014-06-16 Joseph Myers <joseph@codesourcery.com>
7189
7190 [BZ #16681]
7191 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
7192 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
7193 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
7194 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
7195 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
7196 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
7197 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
7198 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
7199 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
7200
7201 2014-06-17 Andreas Schwab <schwab@linux-m68k.org>
7202
7203 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
7204
7205 2014-06-16 Andreas Schwab <schwab@linux-m68k.org>
7206
7207 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
7208 defined operator.
7209
7210 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
7211 $TIMEOUTFACTOR.
7212
7213 2014-06-16 Florian Weimer <fweimer@redhat.com>
7214
7215 [BZ #17058]
7216 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
7217 non-executed part of the test.
7218
7219 2014-06-16 Andreas Schwab <schwab@suse.de>
7220
7221 * string/bits/string2.h (strdup, strndup): Update feature guard.
7222
7223 2014-06-14 David S. Miller <davem@davemloft.net>
7224
7225 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7226
7227 2014-06-14 Andreas Schwab <schwab@linux-m68k.org>
7228
7229 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
7230 that was previously under [RESET_PID].
7231 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
7232
7233 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
7234 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
7235 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
7236 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
7237 (__libc_vfork): New strong alias.
7238 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
7239
7240 2014-06-14 Andi Kleen <ak@linux.intel.com>
7241
7242 * sysdeps/generic/elide.h: New file.
7243
7244 2014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
7245
7246 * Makefile (installed-headers): Adjust path of pthread.h header.
7247
7248 2014-06-13 Roland McGrath <roland@hack.frob.com>
7249
7250 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
7251 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
7252 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
7253 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
7254
7255 * nptl/sysdeps/s390/Makefile: Moved ...
7256 * sysdeps/s390/nptl/Makefile: ... here.
7257 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
7258 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
7259 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
7260 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
7261 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
7262 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
7263 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
7264 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
7265 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
7266 * sysdeps/s390/nptl/pthreaddef.h: ... here.
7267 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
7268 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
7269 * nptl/sysdeps/s390/tls.h: Moved ...
7270 * sysdeps/s390/nptl/tls.h: ... here.
7271
7272 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
7273 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
7274
7275 2014-06-13 David S. Miller <davem@davemloft.net>
7276
7277 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
7278 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
7279 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
7280 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
7281 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
7282 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
7283 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
7284 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
7285 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
7286 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
7287 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
7288 Remove RESET_PID cpp guards.
7289 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
7290 Remove RESET_PID cpp guards.
7291 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
7292
7293 2014-06-13 Andreas Schwab <schwab@linux-m68k.org>
7294
7295 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
7296 __sp to uintptr_t.
7297
7298 2014-06-13 Andi Kleen <ak@linux.intel.com>
7299
7300 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
7301 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
7302 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
7303 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
7304 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
7305 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
7306 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
7307 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
7308 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
7309 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
7310 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
7311 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
7312 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
7313 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
7314 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
7315 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
7316 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
7317 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
7318 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
7319 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
7320
7321 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
7322 (pthread_rwlock_rdlock): Add elision.
7323 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
7324 (pthread_rwlock_wrlock): Add elision.
7325 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
7326 (pthread_rwlock_trywrlock): Add elision.
7327 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
7328 (pthread_rwlock_tryrdlock): Add elision.
7329 * nptl/pthread_rwlock_unlock.c: Include elide.h.
7330 (pthread_rwlock_tryrdlock): Add elision unlock.
7331 * nptl/sysdeps/pthread/pthread.h:
7332 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
7333 (PTHREAD_RWLOCK_INITIALIZER,
7334 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
7335 Handle new elision field.
7336 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
7337 * sysdeps/arm/nptl/bits/pthreadtypes.h
7338 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7339 * sysdeps/sh/nptl/bits/pthreadtypes.h
7340 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7341 * sysdeps/tile/nptl/bits/pthreadtypes.h
7342 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7343 * sysdeps/a/nptl/bits/pthreadtypes.h
7344 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7345 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
7346 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7347 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
7348 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7349 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
7350 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7351 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
7352 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7353 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
7354 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7355 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
7356 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7357 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
7358 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7359 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
7360 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7361 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
7362 (elision_init): Set try_xbegin to zero when no RTM.
7363 * sysdeps/x86/nptl/bits/pthreadtypes.h
7364 (pthread_rwlock_t): Change __pad1 to __rwelision.
7365 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7366
7367 2014-06-13 Andi Kleen <ak@linux.intel.com>
7368
7369 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
7370 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
7371 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
7372 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
7373
7374 2014-06-13 Meador Inge <meadori@codesourcery.com>
7375
7376 [BZ #16996]
7377 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
7378 that the cached result has been set before returning it.
7379
7380 2014-06-12 Roland McGrath <roland@hack.frob.com>
7381
7382 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
7383 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
7384 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
7385 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
7386 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
7387 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
7388
7389 * nptl/sysdeps/sparc/Makefile: Moved ...
7390 * sysdeps/sparc/nptl/Makefile: ... here.
7391 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
7392 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
7393 * nptl/sysdeps/sparc/tls.h: Moved ...
7394 * sysdeps/sparc/nptl/tls.h: ... here.
7395 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
7396 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
7397 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
7398 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
7399 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
7400 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
7401 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
7402 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
7403 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
7404 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
7405 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
7406 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
7407 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
7408 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
7409 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
7410 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
7411 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
7412 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
7413 Update #include.
7414 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
7415 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
7416 Update #include.
7417 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
7418 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
7419 Update #include.
7420 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
7421 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
7422 Update #include.
7423
7424 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
7425
7426 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
7427 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
7428
7429 * sysdeps/pthread/posix-timer.h: Include <list.h>.
7430 (struct list_links): Type removed.
7431 (struct thread_node, struct timer_node): Replace struct list_links
7432 with struct list_head.
7433 (list_unlink_ip): Likewise.
7434 * sysdeps/pthread/timer_routines.c
7435 (timer_free_list, thread_free_list, thread_active_list): Likewise.
7436 (list_append, list_insbefore): Likewise.
7437 (list_init): Function removed.
7438 (thread_init, init_module): Use INIT_LIST_HEAD instead.
7439 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
7440 * sysdeps/pthread/Makefile: ... here, new file.
7441
7442 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
7443 * sysdeps/nptl/Implies: ... here.
7444 * sysdeps/unix/sysv/linux/Implies: Add nptl.
7445 * nptl/sysdeps/pthread/list.h: Moved ...
7446 * include/list.h: ... here.
7447 * nptl/sysdeps/pthread/createthread.c: Moved ...
7448 * nptl/createthread.c: ... here.
7449 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
7450 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
7451 * nptl/pt-longjmp.c: ... here.
7452 * nptl/sysdeps/pthread/Makefile: Moved ...
7453 * sysdeps/nptl/Makefile: ... here.
7454 * nptl/sysdeps/pthread/Subdirs: Moved ...
7455 * sysdeps/nptl/Subdirs: ... here.
7456 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
7457 * sysdeps/nptl/aio_misc.h: ... here.
7458 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
7459 * sysdeps/nptl/bits/libc-lock.h: ... here.
7460 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
7461 * sysdeps/nptl/bits/libc-lockP.h: ... here.
7462 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
7463 * sysdeps/nptl/bits/stdio-lock.h: ... here.
7464 * nptl/sysdeps/pthread/configure: Moved ...
7465 * sysdeps/nptl/configure: ... here.
7466 * nptl/sysdeps/pthread/configure.ac: Moved ...
7467 * sysdeps/nptl/configure.ac: ... here.
7468 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
7469 * sysdeps/nptl/gai_misc.h: ... here.
7470 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
7471 * sysdeps/nptl/librt-cancellation.c: ... here.
7472 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
7473 * sysdeps/nptl/malloc-machine.h: ... here.
7474 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
7475 * sysdeps/nptl/pthread-functions.h: ... here.
7476 * nptl/sysdeps/pthread/pthread.h: Moved ...
7477 * sysdeps/nptl/pthread.h: ... here.
7478 * nptl/sysdeps/pthread/setxid.h: Moved ...
7479 * sysdeps/nptl/setxid.h: ... here.
7480 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
7481 * sysdeps/nptl/sigfillset.c: ... here.
7482 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
7483 * sysdeps/nptl/tcb-offsets.h: ... here.
7484 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
7485 * sysdeps/nptl/tst-mqueue8x.c: ... here.
7486 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
7487 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
7488 * nptl/sysdeps/pthread/allocalim.h: Moved ...
7489 * sysdeps/pthread/allocalim.h: ... here.
7490 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
7491 * sysdeps/pthread/bits/sigthread.h: ... here.
7492 * nptl/sysdeps/pthread/flockfile.c: Moved ...
7493 * sysdeps/pthread/flockfile.c: ... here.
7494 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
7495 * sysdeps/pthread/ftrylockfile.c: ... here.
7496 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
7497 * sysdeps/pthread/funlockfile.c: ... here.
7498 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
7499 * sysdeps/pthread/posix-timer.h: ... here.
7500 * nptl/sysdeps/pthread/timer_create.c: Moved ...
7501 * sysdeps/pthread/timer_create.c: ... here.
7502 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
7503 * sysdeps/pthread/timer_delete.c: ... here.
7504 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
7505 * sysdeps/pthread/timer_getoverr.c: ... here.
7506 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
7507 * sysdeps/pthread/timer_gettime.c: ... here.
7508 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
7509 * sysdeps/pthread/timer_routines.c: ... here.
7510 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
7511 * sysdeps/pthread/timer_settime.c: ... here.
7512 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
7513 * sysdeps/pthread/tst-timer.c: ... here.
7514 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
7515 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
7516
7517 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
7518 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
7519
7520 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
7521 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
7522 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
7523 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
7524 Update #include target.
7525 * nptl/sysdeps/i386/i686/Makefile: Moved ...
7526 * sysdeps/i386/i686/nptl/Makefile: ... here.
7527 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
7528 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
7529 Update #include target.
7530 * nptl/sysdeps/i386/i686/tls.h: Moved ...
7531 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
7532 * nptl/sysdeps/i386/Makefile: Moved ...
7533 * sysdeps/i386/nptl/Makefile: ... here.
7534 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
7535 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
7536 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
7537 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
7538 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
7539 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
7540 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
7541 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
7542 * sysdeps/i386/nptl/pthreaddef.h: ... here.
7543 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
7544 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
7545 * nptl/sysdeps/i386/tls.h: Moved ...
7546 * sysdeps/i386/nptl/tls.h: ... here.
7547
7548 * sysdeps/sh/Makefile [$(subdir) = csu]
7549 (gen-as-const-headers): Add tcb-offsets.sym.
7550 * nptl/sysdeps/sh/Makefile: File removed.
7551 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
7552 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
7553 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
7554 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
7555 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
7556 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
7557 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
7558 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
7559 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
7560 * sysdeps/sh/nptl/pthreaddef.h: ... here.
7561 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
7562 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
7563 * nptl/sysdeps/sh/tls.h: Moved ...
7564 * sysdeps/sh/nptl/tls.h: ... here.
7565 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
7566 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
7567 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
7568 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
7569 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
7570 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
7571 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
7572 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
7573 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
7574 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
7575 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
7576 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
7577 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
7578 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
7579 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
7580 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
7581 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
7582 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
7583 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
7584 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
7585 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
7586 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
7587 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
7588 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
7589 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
7590 Moved ...
7591 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
7592 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
7593 Moved ...
7594 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
7595 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
7596 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
7597 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
7598 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
7599 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
7600 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
7601 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
7602 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
7603 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
7604 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
7605 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
7606 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
7607 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
7608 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
7609 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
7610 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
7611 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
7612 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
7613
7614 2014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
7615
7616 * posix/spawn_faction_addopen.c: Include string.h.
7617
7618 2014-06-11 Roland McGrath <roland@hack.frob.com>
7619
7620 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
7621 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
7622 * nptl/sysdeps/x86_64/Makefile: Moved ...
7623 * sysdeps/x86_64/nptl/Makefile: ... here.
7624 * nptl/sysdeps/x86_64/configure: Moved ...
7625 * sysdeps/x86_64/nptl/configure: ... here.
7626 * nptl/sysdeps/x86_64/configure.ac: Moved ...
7627 * sysdeps/x86_64/nptl/configure.ac: ... here.
7628 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
7629 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
7630 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
7631 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
7632 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
7633 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
7634 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
7635 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
7636 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
7637 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
7638 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
7639 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
7640 * nptl/sysdeps/x86_64/tls.h: Moved ...
7641 * sysdeps/x86_64/nptl/tls.h: ... here.
7642 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
7643 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
7644 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
7645 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
7646
7647 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
7648
7649 2014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7650
7651 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7652
7653 2014-06-11 Joseph Myers <joseph@codesourcery.com>
7654
7655 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
7656 type.
7657 [POSIX] (off_t): Likewise.
7658 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
7659 [POSIX] (S_ISBLK): Require macro.
7660 [POSIX] (S_ISCHR): Likewise.
7661 [POSIX] (S_ISDIR): Likewise.
7662 [POSIX] (S_ISFIFO): Likewise.
7663 [POSIX] (S_ISREG): Likewise.
7664 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
7665 optional-macro.
7666 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
7667 type.
7668 [POSIX] (time_t): Likewise.
7669 [POSIX] (timer_t): Likewise.
7670
7671 2014-06-11 Florian Weimer <fweimer@redhat.com>
7672
7673 [BZ #17048]
7674 * posix/spawn_int.h (struct __spawn_action): Make the path string
7675 non-const to support deallocation.
7676 * posix/spawn_faction_addopen.c
7677 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
7678 * posix/spawn_faction_destroy.c
7679 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
7680 path in all spawn_do_open actions.
7681 * posix/tst-spawn.c (do_test): Exercise the copy operation in
7682 posix_spawn_file_actions_addopen.
7683
7684 2014-06-11 Chris Metcalf <cmetcalf@tilera.com>
7685
7686 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
7687 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
7688 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
7689 conditional code always true.
7690 (__libc_vfork): New alias.
7691
7692 2014-06-11 Roland McGrath <roland@hack.frob.com>
7693
7694 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
7695 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
7696
7697 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
7698
7699 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
7700 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
7701
7702 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
7703 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
7704
7705 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
7706 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
7707
7708 2014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
7709
7710 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
7711 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
7712 multiarch strcmp for PPC64.
7713 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
7714 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
7715 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
7716 multiarch optimizations.
7717 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
7718 (__libc_ifunc_impl_list): Likewise.
7719
7720 2014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
7721
7722 * benchtests/scripts/validate_benchout.py: New script.
7723 * benchtests/Makefile (bench-func): Call it.
7724 * benchtests/scripts/benchout.schema.json: New file.
7725
7726 2014-06-10 Chris Metcalf <cmetcalf@tilera.com>
7727
7728 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
7729 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
7730 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
7731 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
7732 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
7733 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
7734 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
7735 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
7736 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
7737 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
7738 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
7739 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
7740 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
7741 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
7742 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
7743 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
7744 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
7745 Moved ...
7746 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
7747 ... here.
7748 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
7749 Moved ...
7750 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
7751 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
7752 Moved ...
7753 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
7754 ... here.
7755 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
7756 Moved ...
7757 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
7758 ... here.
7759 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
7760 Moved ...
7761 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
7762 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
7763 Moved ...
7764 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
7765 ... here.
7766 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
7767 Moved ...
7768 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
7769 ... here.
7770 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
7771 Moved ...
7772 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
7773 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
7774 Moved ...
7775 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
7776 ... here.
7777 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
7778 Moved ...
7779 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
7780 ... here.
7781 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
7782 Moved ...
7783 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
7784 ... here.
7785 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
7786 Moved ...
7787 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
7788 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
7789 Moved ...
7790 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
7791 ... here.
7792 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
7793 Moved ...
7794 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
7795 ... here.
7796 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
7797 Moved ...
7798 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
7799 ... here.
7800 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
7801 Moved ...
7802 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
7803 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
7804 Moved ...
7805 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
7806 ... here.
7807 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
7808 Moved ...
7809 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
7810 ... here.
7811 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
7812 Moved ...
7813 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
7814 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
7815 Moved ...
7816 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
7817 ... here.
7818 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
7819 Moved ...
7820 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
7821 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
7822 Moved ...
7823 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
7824 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
7825 Moved ...
7826 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
7827 ... here.
7828 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
7829 Moved ...
7830 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
7831 ... here.
7832 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
7833 Moved ...
7834 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
7835 ... here.
7836 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
7837 Moved ...
7838 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
7839 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
7840 Moved ...
7841 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
7842 ... here.
7843 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
7844 Moved ...
7845 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
7846 ... here.
7847 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
7848 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
7849 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
7850 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
7851 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
7852 Moved ...
7853 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
7854 ... here.
7855 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
7856 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
7857 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
7858 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
7859 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
7860 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
7861 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
7862 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
7863 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
7864 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
7865 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
7866 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
7867 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
7868 Moved ...
7869 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
7870 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
7871 Moved ...
7872 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
7873 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
7874 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
7875 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
7876 Moved ...
7877 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
7878 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
7879 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
7880 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
7881 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
7882 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
7883 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
7884
7885 2014-06-10 Wilco <wdijkstr@arm.com>
7886
7887 * math/test-fenv-return.c: New file.
7888 * math/Makefile: Add new test test-fenv-return.
7889
7890 2014-06-10 Joseph Myers <joseph@codesourcery.com>
7891
7892 [BZ #17042]
7893 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
7894 when x - 1 is zero.
7895 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
7896 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
7897 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
7898 0.0L for an argument of 1.0L.
7899 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
7900 Likewise.
7901 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
7902 value when x - 1 is zero.
7903 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
7904 * sysdeps/i386/fpu/libm-test-ulps: Update.
7905 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7906
7907 2014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
7908
7909 [BZ #15119]
7910 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
7911
7912 2014-06-09 Roland McGrath <roland@hack.frob.com>
7913
7914 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
7915 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
7916
7917 2014-06-09 Roland McGrath <roland@hack.frob.com>
7918
7919 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
7920 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
7921
7922 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
7923 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
7924
7925 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
7926 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
7927
7928 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
7929 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
7930
7931 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
7932 if not already defined.
7933 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
7934 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
7935 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
7936 (TLS_INIT_TP): Use it.
7937 (TLS_DEFINE_INIT_TP): New macro.
7938 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
7939
7940 2014-06-09 Joseph Myers <joseph@codesourcery.com>
7941
7942 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
7943 constant.
7944 [POSIX] (IXANY): Likewise.
7945 [POSIX] (OLCUC): Likewise.
7946 [POSIX || POSIX2008] (CBAUD): Do not allow.
7947 [POSIX || POSIX2008] (DEFECHO): Likewise.
7948 [POSIX || POSIX2008] (ECHOCTL): Likewise.
7949 [POSIX || POSIX2008] (ECHOKE): Likewise.
7950 [POSIX || POSIX2008] (ECHOPRT): Likewise.
7951 [POSIX || POSIX2008] (EXTA): Likewise.
7952 [POSIX || POSIX2008] (EXTB): Likewise.
7953 [POSIX || POSIX2008] (FLUSHO): Likewise.
7954 [POSIX || POSIX2008] (LOBLK): Likewise.
7955 [POSIX || POSIX2008] (PENDIN): Likewise.
7956 [POSIX || POSIX2008] (SWTCH): Likewise.
7957 [POSIX || POSIX2008] (VDISCARD): Likewise.
7958 [POSIX || POSIX2008] (VDSUSP): Likewise.
7959 [POSIX || POSIX2008] (VLNEXT): Likewise.
7960 [POSIX || POSIX2008] (VREPRINT): Likewise.
7961 [POSIX || POSIX2008] (VSTATUS): Likewise.
7962 [POSIX || POSIX2008] (VWERASE): Likewise.
7963 (B*): Change to B[0123456789]*.
7964 * conform/data/time.h-data [POSIX || UNIX98]
7965 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
7966 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
7967 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
7968 [POSIX] (tm_*): Do not allow.
7969
7970 2014-06-07 Joseph Myers <joseph@codesourcery.com>
7971
7972 * Makefile (install): Don't set LANGUAGE.
7973 * Makefile.in (install): Likewise.
7974 * assert/Makefile (test-assert-ENV): Remove variable.
7975 (test-assert-perr-ENV): Likewise.
7976 * elf/Makefile (neededtest4-ENV): Likewise.
7977 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
7978 [$(cross-compiling) = no]: Don't set LANGUAGE.
7979 * io/ftwtest-sh (LANG): Remove variable.
7980 * libio/Makefile (tst-widetext-ENV): Likewise.
7981 * manual/install.texi (Running make install): Don't refer to
7982 environment settings for make install.
7983 * INSTALL: Regenerated.
7984 * nptl/tst-tls6.sh: Don't set LANG.
7985 * posix/globtest.sh (LANG): Remove variable.
7986 * string/Makefile (tester-ENV): Likewise.
7987 (inl-tester-ENV): Likewise.
7988 (noinl-tester-ENV): Likewise.
7989 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
7990 [$(cross-compiling) = no]: Don't set LANGUAGE.
7991 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
7992 without explicit environment settings.
7993
7994 2014-06-06 Roland McGrath <roland@hack.frob.com>
7995
7996 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
7997 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
7998 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
7999 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
8000
8001 2014-06-06 Chris Metcalf <cmetcalf@tilera.com>
8002
8003 * crypt/crypt-private.h [DOS]: Add some includes taken from the
8004 other files in the crypt directory.
8005 * crypt/crypt.c: Remove duplicate includes.
8006 * crypt/crypt-entry.c: Likewise.
8007 * crypt/crypt_util.c: Likewise.
8008
8009 2014-06-06 Joseph Myers <joseph@codesourcery.com>
8010
8011 * Makeconfig (run-program-env): New variable.
8012 (run-program-prefix-before-env): Likewise.
8013 (run-program-prefix-after-env): Likewise.
8014 (run-program-prefix): Define in terms of new variables.
8015 (built-program-cmd-before-env): New variable.
8016 (built-program-cmd-after-env): Likewise.
8017 (built-program-cmd): Define in terms of new variables.
8018 (test-program-prefix-before-env): New variable.
8019 (test-program-prefix-after-env): Likewise.
8020 (test-program-prefix): Define in terms of new variables.
8021 (test-program-cmd-before-env): New variable.
8022 (test-program-cmd-after-env): Likewise.
8023 (test-program-cmd): Define in terms of new variables.
8024 * Rules (make-test-out): Use $(run-program-env).
8025 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
8026 (help): Do not mention environment variables. Mention
8027 --timeoutfactor option.
8028 (timeoutfactor): New variable.
8029 (blacklist_exports): Remove function.
8030 (exports): Remove variable.
8031 (command): Do not include ${exports}.
8032 * manual/install.texi (Configuring and compiling): Do not mention
8033 test wrappers preserving environment variables. Mention that last
8034 assignment to a variable must take precedence.
8035 * INSTALL: Regenerated.
8036 * benchtests/Makefile (run-bench): Use $(run-program-env).
8037 * catgets/Makefile ($(objpfx)test1.cat): Use
8038 $(built-program-cmd-before-env), $(run-program-env) and
8039 $(built-program-cmd-after-env).
8040 ($(objpfx)test2.cat): Do not specify environment variables
8041 explicitly.
8042 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
8043 $(run-program-env) and $(built-program-cmd-after-env).
8044 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
8045 $(run-program-env) and $(test-program-cmd-after-env).
8046 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
8047 explicitly.
8048 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
8049 run_program_env and test_program_cmd_after_env arguments.
8050 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
8051 * elf/tst-pathopt.sh: Use run_program_env argument.
8052 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
8053 $(test-wrapper-env) and $(run-program-env).
8054 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
8055 run_program_env arguments.
8056 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
8057 * intl/Makefile ($(objpfx)tst-gettext.out): Use
8058 $(test-program-prefix-before-env), $(run-program-env) and
8059 $(test-program-prefix-after-env).
8060 ($(objpfx)tst-gettext2.out): Likewise.
8061 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
8062 run_program_env and test_program_prefix_after_env arguments.
8063 * intl/tst-gettext2.sh: Likewise.
8064 * intl/tst-gettext4.sh: Do not set environment variables
8065 explicitly.
8066 * intl/tst-gettext6.sh: Likewise.
8067 * intl/tst-translit.sh: Likewise.
8068 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
8069 $(test-program-prefix-before-env), $(run-program-env) and
8070 $(test-program-prefix-after-env).
8071 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
8072 run_program_env and test_program_prefix_after_env arguments.
8073 * math/Makefile (run-regen-ulps): Use $(run-program-env).
8074 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
8075 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
8076 explicitly with each use of ${test_wrapper_env}.
8077 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
8078 $(test-program-prefix-before-env), $(run-program-env) and
8079 $(test-program-prefix-after-env).
8080 * posix/tst-getconf.sh: Do not set environment variables
8081 explicitly.
8082 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
8083 run_program_env and test_program_prefix_after_env arguments.
8084 * stdio-common/tst-printf.sh: Do not set environment variables
8085 explicitly.
8086 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
8087 $(test-program-prefix-before-env), $(run-program-env) and
8088 $(test-program-prefix-after-env).
8089 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
8090 run_program_env and test_program_prefix_after_env arguments.
8091 Split $test calls into $test_pre and $test.
8092 * timezone/Makefile (build-testdata): Use
8093 $(built-program-cmd-before-env), $(run-program-env) and
8094 $(built-program-cmd-after-env).
8095
8096 2014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8097
8098 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
8099 strlen for non SHARED builds.
8100
8101 2014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
8102
8103 * nptl/allocatestack.c (check_list): Inlined function...
8104 (__reclaim_stacks): ... here.
8105
8106 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
8107
8108 [BZ #15698]
8109 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
8110 memory overrun.
8111
8112 2014-06-05 Joseph Myers <joseph@codesourcery.com>
8113
8114 * Rules (make-test-out): Include
8115 LOCPATH=$(common-objpfx)localedata in default environment.
8116 * debug/Makefile (tst-chk1-ENV): Remove variable.
8117 (tst-chk2-ENV): Likewise.
8118 (tst-chk3-ENV): Likewise.
8119 (tst-chk4-ENV): Likewise.
8120 (tst-chk5-ENV): Likewise.
8121 (tst-chk6-ENV): Likewise.
8122 (tst-lfschk1-ENV): Likewise.
8123 (tst-lfschk2-ENV): Likewise.
8124 (tst-lfschk3-ENV): Likewise.
8125 (tst-lfschk4-ENV): Likewise.
8126 (tst-lfschk5-ENV): Likewise.
8127 (tst-lfschk6-ENV): Likewise.
8128 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
8129 (tst-iconv7-ENV): Likewise.
8130 * intl/Makefile (LOCPATH-ENV): Likewise.
8131 (tst-codeset-ENV): Likewise.
8132 (tst-gettext3-ENV): Likewise.
8133 (tst-gettext5-ENV): Likewise.
8134 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
8135 (tst-fopenloc-ENV): Likewise.
8136 (tst-fgetws-ENV): Remove variable.
8137 (tst-ungetwc1-ENV): Likewise.
8138 (tst-ungetwc2-ENV): Likewise.
8139 (bug-ungetwc2-ENV): Likewise.
8140 (tst-swscanf-ENV): Likewise.
8141 (bug-ftell-ENV): Likewise.
8142 (tst-fgetwc-ENV): Likewise.
8143 (tst-fseek-ENV): Likewise.
8144 (tst-ftell-partial-wide-ENV): Likewise.
8145 (tst-ftell-active-handler-ENV): Likewise.
8146 (tst-ftell-append-ENV): Likewise.
8147 * posix/Makefile (tst-fnmatch-ENV): Likewise.
8148 (tst-regexloc-ENV): Likewise.
8149 (bug-regex1-ENV): Likewise.
8150 (tst-regex-ENV): Likewise.
8151 (tst-regex2-ENV): Likewise.
8152 (bug-regex5-ENV): Likewise.
8153 (bug-regex6-ENV): Likewise.
8154 (bug-regex17-ENV): Likewise.
8155 (bug-regex18-ENV): Likewise.
8156 (bug-regex19-ENV): Likewise.
8157 (bug-regex20-ENV): Likewise.
8158 (bug-regex22-ENV): Likewise.
8159 (bug-regex23-ENV): Likewise.
8160 (bug-regex25-ENV): Likewise.
8161 (bug-regex26-ENV): Likewise.
8162 (bug-regex30-ENV): Likewise.
8163 (bug-regex32-ENV): Likewise.
8164 (bug-regex33-ENV): Likewise.
8165 (bug-regex34-ENV): Likewise.
8166 (bug-regex35-ENV): Likewise.
8167 (tst-rxspencer-ENV): Likewise.
8168 (tst-rxspencer-no-utf8-ENV): Likewise.
8169 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
8170 (tst-sscanf-ENV): Likewise.
8171 (tst-swprintf-ENV): Likewise.
8172 (tst-swscanf-ENV): Likewise.
8173 (test-vfprintf-ENV): Likewise.
8174 (scanf13-ENV): Likewise.
8175 (bug14-ENV): Likewise.
8176 (tst-grouping-ENV): Likewise.
8177 * stdlib/Makefile (tst-strtod-ENV): Likewise.
8178 (tst-strtod3-ENV): Likewise.
8179 (tst-strtod4-ENV): Likewise.
8180 (tst-strtod5-ENV): Likewise.
8181 (testmb2-ENV): Likewise./
8182 * string/Makefile (tst-strxfrm-ENV): Likewise.
8183 (tst-strxfrm2-ENV): Likewise.
8184 (bug-strcoll1-ENV): Likewise.
8185 (test-strcasecmp-ENV): Likewise.
8186 (test-strncasecmp-ENV): Likewise.
8187 * time/Makefile (tst-strptime-ENV): Likewise.
8188 (tst-ftime_l-ENV): Likewise.
8189 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
8190 (tst-mbrtowc-ENV): Likewise.
8191 (tst-wcrtomb-ENV): Likewise.
8192 (tst-mbrtowc2-ENV): Likewise.
8193 (tst-c16c32-1-ENV): Likewise.
8194 (tst-mbsnrtowcs-ENV): Likewise.
8195
8196 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
8197
8198 * manual/resource.texi (How to get information about the memory
8199 subsystem?): Fix typo.
8200 Reported by Peon de la Parra Ivan <peon@keba.com>
8201
8202 2014-06-03 Guo Yixuan <culu.gyx@gmail.com>
8203
8204 [BZ #16882]
8205 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
8206 (pthread_spin_lock): Branch out of spin loop to proper location.
8207 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
8208 (pthread_spin_lock): Likewise.
8209
8210 * nptl/tst-spin4.c: New test.
8211 * nptl/Makefile (tests): Add tst-spin4.
8212
8213 2014-06-03 Andreas Schwab <schwab@suse.de>
8214
8215 [BZ #15946]
8216 * resolv/res_send.c (send_dg): Reload file descriptor after
8217 calling reopen.
8218
8219 2014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
8220
8221 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
8222
8223 2014-06-03 Richard Henderson <rth@redhat.com>
8224
8225 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
8226 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
8227 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
8228 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
8229 in the SAVE_PID block.
8230 (__libc_vfork): New alias.
8231 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
8232
8233 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
8234 child in registers, not on the stack. Remove RESET_PID conditionals.
8235 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
8236
8237 2014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
8238
8239 * sysdeps/aarch64/libm-test-ulps: Regenerate.
8240
8241 2014-06-03 Wilco <wdijkstr@arm.com>
8242
8243 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
8244 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
8245 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
8246 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
8247 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
8248 Likewise.
8249
8250 2014-06-03 Wilco <wdijkstr@arm.com>
8251
8252 * sysdeps/aarch64/fpu/math_private.h
8253 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
8254 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
8255 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
8256 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
8257 Fix declarations.
8258
8259 2014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
8260
8261 * crypt/crypt-private.h: Include ufc-crypt.h.
8262 (__b64_from_24bit): Declare extern.
8263 * crypt/crypt_util.c(__b64_from_24bit): New function.
8264 (b64t): New static const variable.
8265 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
8266 (b64t): Remove variable.
8267 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
8268 * crypt/sha256-crypt.c: Include crypt-private.h.
8269 (b64t): Remove variable.
8270 (__sha256_crypt_r): Remove b64_from_24bit and replace
8271 with __b64_from_24bit.
8272 * crypt/sha512-crypt.c: Likewise.
8273
8274 2014-06-02 Roland McGrath <roland@hack.frob.com>
8275
8276 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
8277 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
8278 Label the code __libc_vfork rather than __vfork.
8279 [!NOT_IN_libc] (vfork): Define as weak alias.
8280 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
8281 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
8282 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
8283
8284 2014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
8285
8286 * malloc/malloc.c (malloc_info): Fix format specifier for
8287 n_mmaps.
8288
8289 2014-06-02 Wilco <wdijkstr@arm.com>
8290
8291 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
8292 FPCR write.
8293
8294 2014-06-02 Wilco <wdijkstr@arm.com>
8295
8296 [BZ #17009]
8297 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
8298 Rewrite to reduce FPCR/FPSR accesses.
8299
8300 2014-06-01 David S. Miller <davem@davemloft.net>
8301
8302 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8303
8304 2014-05-31 David S. Miller <davem@davemloft.net>
8305
8306 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
8307 to occur in round to nearest mode when |x| >= 2.0
8308
8309 2014-05-30 Richard Henderson <rth@twiddle.net>
8310
8311 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
8312 (PSEUDO_RET_NOERRNO): Remove.
8313 (ret): Don't redefine.
8314 (ret_NOERRNO): Define in terms of ret.
8315 (ret_ERRVAL): Likewise.
8316
8317 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
8318 use of PSEUDO_RET; perform the error check directly.
8319
8320 2014-05-30 Marko Myllynen <myllynen@redhat.com>
8321
8322 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
8323 with __int128_t.
8324
8325 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
8326
8327 * malloc/malloc (malloc_info): Fix formatting.
8328
8329 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
8330 Roland McGrath <roland@hack.frob.com>
8331
8332 * malloc/malloc (malloc_info): Also print mmapped statistics.
8333
8334 2014-05-30 Roland McGrath <roland@hack.frob.com>
8335
8336 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
8337 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
8338
8339 2014-05-30 Ondřej Bílka <neleai@seznam.cz>
8340
8341 * malloc/malloc.c (malloc_info): Inline mi_arena.
8342
8343 2014-05-29 Richard Henderson <rth@twiddle.net>
8344
8345 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
8346 Remove comma before expanding ASM_ARGS_##nr.
8347 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
8348 Make _x0 a strict output; make _x8 a strict input; adjust expansion
8349 of ASM_ARGS_##nr.
8350 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
8351 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
8352 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
8353 (ASM_ARGS_1): Add leading comma.
8354
8355 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
8356 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
8357 to __errno_location.
8358 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
8359 Remove the expected plt for __errno_location.
8360
8361 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
8362 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
8363 call to __read_tp.
8364
8365 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
8366 Always allocate 64 bytes of stack frame. Use ldp/stp to create
8367 it and break it down.
8368 (DOCARGS_0, DOCARGS_1): Do nothing.
8369 (DOCARGS_2): Update to store into the new stack frame.
8370 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
8371 (UNDOCARGS_1): Update to restore from the new stack frame.
8372 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
8373 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
8374
8375 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
8376 (SINGLE_THREAD_P): New parameter for result regno.
8377 (PSEUDO): Update to match; use cbz instead of beq.
8378
8379 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
8380 Use ENTRY to define the _nocancel entry point. Share the syscall
8381 and syscall error check paths with the cancel path.
8382 (PSEUDO_END): New.
8383
8384 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
8385 whitespace; tabs before and after asm mnemonics.
8386
8387 2014-05-29 Eric Wong <normalperson@yhbt.net>
8388
8389 [BZ #15132]
8390 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
8391 Call fstat64 or stat64 internally, depending on arguments passed.
8392 Replace stat buffer argument with file descriptor argument.
8393 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
8394 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
8395 Pass fd to __internal_statvfs instead of calling fstat64.
8396 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
8397 Pass fd to __internal_statvfs64 instead of calling fstat64.
8398 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
8399 Pass -1 to __internal_statvfs instead of calling stat64.
8400 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
8401 Pass -1 to __internal_statvfs64 instead of calling stat64.
8402
8403 2014-05-28 Roland McGrath <roland@hack.frob.com>
8404
8405 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
8406 that was previously under [RESET_PID].
8407 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
8408
8409 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
8410 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
8411
8412 2014-05-27 Roland McGrath <roland@hack.frob.com>
8413
8414 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
8415
8416 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
8417 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
8418
8419 2014-05-27 Ondřej Bílka <neleai@seznam.cz>
8420
8421 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
8422
8423 2014-05-27 Andreas Schwab <schwab@suse.de>
8424
8425 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
8426 TLS_INIT_TP macro.
8427 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
8428 * elf/rtld.c (init_tls, dl_main): Likewise.
8429 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
8430 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
8431 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
8432 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
8433 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
8434 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
8435 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
8436 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
8437 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
8438 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
8439 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
8440 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
8441 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
8442 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
8443 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
8444 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
8445 * sysdeps/generic/tls.h: Update description.
8446
8447 2014-05-27 Will Newton <will.newton@linaro.org>
8448
8449 [BZ #16990]
8450 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
8451 and restore r2 rather than just restoring.
8452
8453 2014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
8454
8455 [BZ #16724]
8456 * libio/tst-ftell-append.c: New test case.
8457 * libio/Makefile (tests): Add test case.
8458 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
8459 append mode.
8460 * libio/wfileops.c (do_ftell_wide): Likewise.
8461
8462 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8463
8464 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8465
8466 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
8467 ...
8468 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
8469 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
8470 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
8471 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
8472 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
8473 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
8474 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
8475 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
8476 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
8477 Moved ...
8478 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
8479 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
8480 Moved ...
8481 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
8482 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
8483 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
8484 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
8485 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
8486 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
8487 ...
8488 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
8489 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
8490 Moved ...
8491 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
8492 here.
8493 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
8494 ...
8495 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
8496 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
8497 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
8498
8499 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
8500 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
8501 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
8502 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
8503
8504 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
8505 merge into ...
8506 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
8507 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
8508 ...
8509 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
8510 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
8511 ...
8512 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
8513 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
8514 Moved ...
8515 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
8516 here.
8517 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
8518 Moved ...
8519 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
8520 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
8521 Moved ...
8522 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
8523
8524 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
8525 conditional [RESET_PID].
8526 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
8527 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
8528 removed.
8529 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
8530 removed.
8531
8532 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
8533 <tcb-offsets.h>.
8534 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
8535 (__libc_vfork): New strong alias.
8536 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
8537 removed.
8538 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
8539 Removed.
8540
8541 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
8542 <tcb-offsets.h>.
8543 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
8544 (__libc_vfork): New strong alias.
8545 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
8546 removed.
8547 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
8548 removed.
8549
8550 2014-05-26 Carlos O'Donell <carlos@redhat.com>
8551
8552 * malloc/malloc.c (mi_arena): New function.
8553 (malloc_info): Remove nested function mi_arena. Call non-nosted
8554 function mi_arena.
8555
8556 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8557
8558 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
8559 by insrwi.
8560 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
8561 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
8562 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
8563 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
8564 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
8565 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
8566 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
8567
8568 2014-05-26 Andreas Schwab <schwab@suse.de>
8569
8570 [BZ #16984]
8571 * locale/programs/repertoire.c (repertoire_read): Add slash
8572 between I18NPATH element and file name.
8573 * locale/programs/locfile.c (locfile_read): Likewise.
8574
8575 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
8576
8577 * nptl/pthread_mutexattr_settype.c
8578 (__pthread_mutexattr_settype):
8579 Disable lock elision for PTHREAD_MUTEX_NORMAL.
8580
8581 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
8582
8583 * nptl/tst-mutex5 (do_test):
8584 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
8585
8586 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
8587
8588 * benchtests/README: Document 'init' directive.
8589 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
8590 BENCH_INIT.
8591 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
8592 (parse_file): Recognize 'init' directive.
8593
8594 2014-05-26 Kyle McMartin <kyle@redhat.com>
8595
8596 [BZ #16796]
8597 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
8598 alignment of struct pthread.
8599
8600 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
8601
8602 [BZ #16878]
8603 * nscd/netgroupcache.c (addgetnetgrentX): Look for
8604 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
8605 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
8606 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
8607
8608 2014-05-25 Richard Henderson <rth@twiddle.net>
8609
8610 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
8611 (SINGLE_THREAD_P_PIC): Remove.
8612 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
8613 (SINGLE_THREAD_P_PIC): Remove.
8614
8615 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
8616 branch to syscall error ...
8617 (PSEUDO): ... here.
8618 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
8619 from __local_syscall_error to .Lsyscall_error.
8620 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
8621 (SYSCALL_ERROR): Update label name.
8622
8623 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
8624 Do not use DOARGS/UNDOARGS.
8625 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
8626 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
8627 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
8628 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
8629 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
8630
8631 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
8632 block comment.
8633
8634 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
8635 define if !NOT_IN_libc.
8636 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
8637 define with non-default symbol versions.
8638
8639 2014-05-23 Richard Henderson <rth@twiddle.net>
8640
8641 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
8642 (vfork, __vfork): Define via compat_symbol.
8643
8644 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
8645 [!HAVE_IFUNC] (vfork_compat): Remove.
8646 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
8647
8648 2014-05-23 Joseph Myers <joseph@codesourcery.com>
8649
8650 [BZ #16978]
8651 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
8652 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
8653 variable.
8654
8655 2014-05-23 Richard Henderson <rth@twiddle.net>
8656
8657 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
8658 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
8659 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
8660 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
8661
8662 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
8663 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
8664 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
8665 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
8666 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
8667 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
8668 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
8669 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
8670 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
8671 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
8672 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
8673 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
8674 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
8675 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
8676 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
8677 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
8678 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
8679 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
8680 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
8681 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
8682 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
8683 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
8684 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
8685 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
8686 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
8687 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
8688 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
8689 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
8690 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
8691 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
8692 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
8693 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
8694 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
8695 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
8696 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
8697 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
8698 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
8699 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
8700 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
8701 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
8702 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
8703 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
8704 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
8705 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
8706 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
8707 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
8708 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
8709 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
8710 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
8711 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
8712 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
8713 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
8714 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
8715 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
8716 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
8717 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
8718
8719 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
8720 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
8721 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
8722 before exiting on error.
8723 (__libc_vfork): New strong alias.
8724 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
8725 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
8726
8727 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
8728 that was previously under [RESET_PID].
8729 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
8730
8731 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
8732
8733 2014-05-23 Joseph Myers <joseph@codesourcery.com>
8734
8735 [BZ #16977]
8736 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
8737 value when x - 1 is zero.
8738 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
8739 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
8740 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
8741 0.0L for an argument of 1.0L.
8742 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
8743 Likewise.
8744 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
8745 value when x - 1 is zero.
8746 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
8747 * sysdeps/i386/fpu/libm-test-ulps: Update.
8748 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8749
8750 2014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
8751
8752 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
8753 alphasort and versionsort.
8754
8755 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8756
8757 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
8758 macro.
8759 [copysignf]: Likewise.
8760
8761 2014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
8762
8763 * crypt/md5-crypt.c: Fix formatting.
8764
8765 2014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
8766
8767 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
8768 (b64_from_24bit): New function.
8769
8770 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8771
8772 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
8773 libc_hidden_builtin_def to ifunc.
8774 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
8775 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
8776
8777 2014-05-21 Roland McGrath <roland@hack.frob.com>
8778
8779 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
8780 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
8781
8782 2014-05-21 Joseph Myers <joseph@codesourcery.com>
8783
8784 * nscd/Depend (linuxthreads): Remove.
8785 (nptl): Add.
8786 * resolv/Depend (linuxthreads): Remove.
8787 * rt/Depend (linuxthreads): Remove.
8788
8789 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
8790 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
8791 $(common-objpfx)elf/.
8792 (link-libc-before-gnulib): Likewise.
8793 (elfobjdir): Remove variable.
8794 * Makefile (install): Use $(elf-objpfx) instead of
8795 $(common-objpfx)elf/.
8796 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
8797 $(elfobjdir)/.
8798 (link-libc-deps): Likewise.
8799 ($(common-objpfx)libc.so): Likewise.
8800 ($(common-objpfx)linkobj/libc.so): Likewise.
8801 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
8802 instead of $(common-objpfx)elf/.
8803 (symbolic-link-list): Likewise.
8804 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
8805 [$(cross-compiling) = no]: Likewise.
8806 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
8807 $(elfobjdir)/.
8808 (static-gnulib-arch): Likewise.
8809 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
8810 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
8811 $(common-objpfx)elf/.
8812
8813 2014-05-21 Richard Henderson <rth@redhat.com>
8814
8815 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
8816 (SINGLE_THREAD_P): Use the correct width load. Fold
8817 into the ldr offset.
8818
8819 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
8820 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
8821
8822 2014-05-20 Joseph Myers <joseph@codesourcery.com>
8823
8824 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
8825 (libgcc_s_resume): Use __attribute_used__.
8826 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
8827 Likewise.
8828
8829 2014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8830
8831 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
8832 optimization when used with float constants.
8833
8834 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8835
8836 2014-05-20 Aurelien Jarno <aurelien@aurel32.net>
8837
8838 [BZ #16915]
8839 * locale/nl_langinfo_l.c: Make direct reference to every
8840 _nl_current_CATEGORY symbol.
8841 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
8842 (tests-static): Add tst-langinfo-static.
8843 (tests-special): Add tst-langinfo-static.out.
8844 ($(objpfx)tst-langinfo.out): Redirect output.
8845 ($(objpfx)tst-langinfo-static.out): New.
8846 * localedata/tst-langinfo.sh: Send output to stdout.
8847 * localedata/tst-langinfo-static.c: New file.
8848
8849 [BZ #16965]
8850 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
8851 when the shift amount is modulo the limb size.
8852
8853 2014-05-20 Richard Henderson <rth@redhat.com>
8854
8855 [BZ #16967]
8856 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
8857 Change type of sa_flags from unsigned int to int.
8858
8859 [BZ #16966]
8860 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
8861
8862 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
8863
8864 2014-05-20 Will Newton <will.newton@linaro.org>
8865
8866 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
8867 Test the return value of the system call in the nocancel case.
8868
8869 2014-05-20 Will Newton <will.newton@linaro.org>
8870 Yvan Roux <yvan.roux@linaro.org>
8871
8872 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
8873 #include of asm/ptrace.h.
8874 (PTRACE_GET_THREAD_AREA): Remove #undef.
8875 (PTRACE_GETHBPREGS): Likewise.
8876 (PTRACE_SETHBPREGS): Likewise.
8877 (struct user_regs_struct): New structure.
8878 (struct user_fpsimd_struct): New structure.
8879 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
8880 #include of asm/ptrace.h and second #include of sys/user.h.
8881 (PTRACE_GET_THREAD_AREA): Remove #undef.
8882 (PTRACE_GETHBPREGS): Likewise.
8883 (PTRACE_SETHBPREGS): Likewise.
8884 (ELF_NGREG): Use new struct user_regs_struct.
8885 (elf_fpregset_t): Use new struct user_fpsimd_struct.
8886
8887 2014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8888
8889 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
8890 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
8891
8892 2014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
8893
8894 [BZ #16958]
8895 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
8896 membar to avoid block loads/stores to overlap previous stores.
8897
8898 2014-05-17 Richard Henderson <rth@redhat.com>
8899
8900 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
8901 Create the __##syscall_name##_nocancel entry point.
8902 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
8903 Remove; let the sysdep-cancel.h code create it.
8904
8905 2014-05-17 David S. Miller <davem@davemloft.net>
8906
8907 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
8908 Protect with __USE_GNU.
8909 (TIOCSET_TEMPT): Likewise.
8910 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
8911 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
8912 these are already provided in bits/ioctl-types.h
8913
8914 2014-05-16 Roland McGrath <roland@hack.frob.com>
8915
8916 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
8917 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
8918
8919 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
8920 Use wait4 regardless of [__NR_waitpid].
8921
8922 2014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
8923
8924 PR libgcc/60166
8925 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
8926 (_FP_NANSIGN_Q): Set the quiet bit.
8927
8928 2014-05-16 Joseph Myers <joseph@codesourcery.com>
8929
8930 * benchtests/Makefile
8931 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
8932 not $(common-objpfx)math/libm.so.
8933 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
8934 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
8935 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
8936 $(common-objpfx)dlfcn/libdl.so.
8937 ($(objpfx)tst-audit8): Depend on $(libm), not
8938 $(common-objpfx)math/libm.so.
8939 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
8940 not $(common-objpfx)dlfcn/libdl.so.
8941 * math/Makefile
8942 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
8943 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
8944 [$(build-shared) = yes].
8945 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
8946 $(common-objpfx)nptl/libpthread.so.
8947 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
8948 $(common-objpfx)math/libm.so$(libm.so-version) or
8949 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
8950 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
8951 $(common-objpfx)dlfcn/libdl.so.
8952 * setjmp/Makefile (link-libm): Remove variable.
8953 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
8954 * stdio-common/Makefile (link-libm): Remove variable.
8955 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
8956 * stdlib/Makefile (link-libm): Remove variable.
8957 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
8958 ($(objpfx)tst-strtod-round): Likewise.
8959 ($(objpfx)tst-tininess): Likewise.
8960 ($(objpfx)tst-strtod-underflow): Likewise.
8961 ($(objpfx)tst-strtod6): Likewise.
8962 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
8963 $(libdl), not $(common-objpfx)nptl/libpthread.so and
8964 $(common-objpfx)dlfcn/libdl.so.
8965
8966 2014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8967
8968 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
8969 BSD terminal modes definitions.
8970
8971 2014-05-16 Roland McGrath <roland@hack.frob.com>
8972
8973 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
8974 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
8975
8976 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
8977 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
8978 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
8979 Don't do #include_next.
8980 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
8981 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
8982 Don't do #include_next.
8983 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
8984 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
8985 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
8986 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
8987
8988 2014-05-16 Allan McRae <allan@archlinux.org>
8989
8990 * po/sv.po: Update Swedish translation from translation project.
8991
8992 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
8993 in sed expression.
8994
8995 2014-05-16 Aurelien Jarno <aurelien@aurel32.net>
8996
8997 [BZ #16917]
8998 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
8999 errno if the TIOCGPTN ioctl fails with an error different than
9000 EINVAL.
9001 * login/tst-ptsname.c: New file.
9002 * login/Makefile (tests): Add tst-ptsname.
9003
9004 [BZ #16943]
9005 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
9006 and prlimit64.
9007
9008 2014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
9009
9010 [BZ #16849]
9011 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
9012 herrno to return EAI_AGAIN.
9013
9014 2014-05-14 Roland McGrath <roland@hack.frob.com>
9015
9016 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
9017 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
9018 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
9019 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
9020 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
9021 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
9022 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
9023 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
9024 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
9025 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
9026 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
9027 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
9028 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
9029 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
9030 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
9031 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
9032 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
9033 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
9034 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
9035 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
9036 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
9037 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
9038 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
9039 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
9040 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
9041 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
9042 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
9043 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
9044 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
9045 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
9046 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
9047 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
9048 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
9049 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
9050 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
9051 Moved ...
9052 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
9053 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
9054 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
9055 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
9056 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
9057 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
9058 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
9059 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
9060 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
9061 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
9062 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
9063 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
9064 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
9065 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
9066 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
9067 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
9068 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
9069 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
9070 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
9071 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
9072 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
9073 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
9074 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
9075 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
9076 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
9077 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
9078 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
9079 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
9080 Moved ...
9081 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
9082 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
9083 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
9084 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
9085 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
9086 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
9087 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
9088 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
9089 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
9090 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
9091 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
9092 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
9093 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
9094 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
9095 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
9096 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
9097 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
9098 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
9099 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
9100 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
9101 Moved ...
9102 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
9103 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
9104 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
9105
9106 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
9107 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
9108 (libpthread-sysdep_routines): Add elision-related stuff here instead.
9109 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
9110 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
9111 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
9112 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
9113 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
9114 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
9115 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
9116 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
9117 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
9118 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
9119 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
9120 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
9121 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
9122 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
9123 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
9124 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
9125 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
9126 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
9127 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
9128 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
9129 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
9130 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
9131 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
9132 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
9133 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
9134 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
9135 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
9136 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
9137
9138 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
9139 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
9140
9141 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
9142 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
9143 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
9144 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
9145 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
9146 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
9147 Moved ...
9148 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
9149 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
9150 Moved ...
9151 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
9152 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
9153 Moved ...
9154 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
9155 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
9156 Moved ...
9157 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
9158 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
9159 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
9160 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
9161 Moved ...
9162 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
9163 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
9164 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
9165 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
9166 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
9167 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
9168 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
9169 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
9170 Moved ...
9171 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
9172 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
9173 Moved ...
9174 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
9175 ... here.
9176 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
9177 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
9178 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
9179 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
9180 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
9181 Moved ...
9182 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
9183 ... here.
9184 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
9185 Moved ...
9186 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
9187 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
9188 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
9189 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
9190 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
9191 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
9192 Moved ...
9193 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
9194 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
9195 Moved ...
9196 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
9197 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
9198 Moved ...
9199 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
9200 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
9201 Moved ...
9202 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
9203 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
9204 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
9205 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
9206 Moved ...
9207 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
9208 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
9209 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
9210 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
9211 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
9212 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
9213 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
9214 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
9215 Moved ...
9216 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
9217 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
9218 Moved ...
9219 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
9220 ... here.
9221 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
9222 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
9223 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
9224 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
9225 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
9226 Moved ...
9227 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
9228 ... here.
9229 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
9230 Moved ...
9231 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
9232 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
9233 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
9234 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
9235 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
9236 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
9237 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
9238 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
9239 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
9240 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
9241 Moved ...
9242 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
9243 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
9244 Moved ...
9245 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
9246 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
9247 Moved ...
9248 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
9249 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
9250 Moved ...
9251 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
9252 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
9253 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
9254 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
9255 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
9256 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
9257 Moved ...
9258 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
9259 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
9260 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
9261 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
9262 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
9263 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
9264 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
9265 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
9266 Moved ...
9267 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
9268 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
9269 Moved ...
9270 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
9271 ... here.
9272 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
9273 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
9274 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
9275 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
9276 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
9277 Moved ...
9278 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
9279 ... here.
9280 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
9281 Moved ...
9282 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
9283 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
9284 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
9285 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
9286 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
9287 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
9288 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
9289 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
9290 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
9291 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
9292 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
9293
9294 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
9295 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
9296
9297 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
9298 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
9299
9300 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
9301 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
9302 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
9303 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
9304 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
9305 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
9306 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
9307 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
9308 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
9309 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
9310 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
9311 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
9312 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
9313 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
9314 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
9315 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
9316 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
9317 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
9318 Moved ...
9319 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
9320 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
9321 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
9322 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
9323 Moved ...
9324 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
9325 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
9326 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
9327 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
9328 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
9329 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
9330 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
9331 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
9332 Moved ...
9333 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
9334 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
9335 Moved ...
9336 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
9337 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
9338 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
9339 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
9340 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
9341 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
9342 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
9343 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
9344 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
9345 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
9346 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
9347 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
9348 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
9349 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
9350 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
9351 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
9352 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
9353
9354 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
9355 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
9356 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
9357 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
9358 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
9359
9360 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
9361 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
9362 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
9363 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
9364 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
9365 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
9366 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
9367 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
9368 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
9369 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
9370
9371 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
9372 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
9373
9374 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
9375 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
9376 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
9377 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
9378 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
9379 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
9380 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
9381 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
9382 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
9383 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
9384 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
9385 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
9386 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
9387 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
9388 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
9389 Update #include.
9390 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
9391 Likewise.
9392 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
9393 Likewise.
9394 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
9395 Likewise.
9396 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
9397 Likewise.
9398 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
9399 Likewise.
9400 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
9401 Likewise.
9402 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
9403 Likewise.
9404 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
9405 Likewise.
9406 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
9407 Likewise.
9408 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
9409 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
9410 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
9411 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
9412 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
9413 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
9414 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
9415 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
9416 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
9417 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
9418 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
9419 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
9420 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
9421 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
9422 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
9423
9424 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
9425 that was previously under [RESET_PID].
9426 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
9427 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
9428 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
9429
9430 * sysdeps/i386/nptl/Implies: New file.
9431 * sysdeps/x86_64/nptl/Implies: New file.
9432 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
9433 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
9434 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
9435 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
9436
9437 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
9438 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
9439 (__libc_vfork): New strong alias.
9440 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
9441 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
9442
9443 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
9444 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
9445 (__libc_vfork): New strong alias.
9446 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
9447 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
9448
9449 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
9450 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
9451 (__libc_vfork): New strong alias.
9452 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
9453 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
9454 * nptl/pt-vfork.c: New file.
9455 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
9456 (libpthread: GLIBC_2.20): New version set (empty).
9457
9458 2014-05-14 Will Newton <will.newton@linaro.org>
9459
9460 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
9461 rather than #if.
9462
9463 2014-05-14 Joseph Myers <joseph@codesourcery.com>
9464
9465 [BZ #16564]
9466 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
9467 arguments with exponent 65 or above.
9468 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
9469 arguments 0x1p113L or above.
9470 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
9471 to arguments 0x1p107L or above.
9472 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
9473 positive arguments with exponent 65 or above.
9474 * math/auto-libm-test-in: Add more tests of log1p.
9475 * math/auto-libm-test-out: Regenerated.
9476
9477 [BZ #16928]
9478 * math/s_cacos.c (__cacos): Ensure zero real part of result from
9479 non-finite arguments is +0.
9480 * math/s_cacosf.c (__cacosf): Likewise.
9481 * math/s_cacosl.c (__cacosl): Likewise.
9482 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
9483 * sysdeps/i386/fpu/libm-test-ulps: Update.
9484 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9485
9486 [BZ #16927]
9487 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
9488 value.
9489 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
9490 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
9491 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
9492 for explicit high bit of mantissa when testing for argument equal
9493 to 1.
9494 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
9495 * sysdeps/i386/fpu/libm-test-ulps: Update.
9496 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9497
9498 [BZ #16516]
9499 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
9500 (__erf): Scale by 16 instead of 8 in potentially underflowing
9501 case. Ensure exception if result actually underflows.
9502 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
9503 (__erff): Scale by 16 instead of 8 in potentially underflowing
9504 case. Ensure exception if result actually underflows.
9505 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
9506 (efx8): Remove variable.
9507 (__erfl): Scale by 16 instead of 8 in potentially underflowing
9508 case. Ensure exception if result actually underflows.
9509 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
9510 (efx8): Remove variable.
9511 (__erfl): Scale by 16 instead of 8 in potentially underflowing
9512 case. Ensure exception if result actually underflows.
9513 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
9514 (efx8): Remove variable.
9515 (__erfl): Scale by 16 instead of 8 in potentially underflowing
9516 case. Ensure exception if result actually underflows.
9517 * math/auto-libm-test-in: Add more tests of erf.
9518 * math/auto-libm-test-out: Regenerated.
9519
9520 2014-05-14 Andreas Schwab <schwab@suse.de>
9521
9522 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
9523 Remove code conditionalized on USE___THREAD.
9524
9525 * config.h.in (HAVE_PT_CHOWN): Define as 0.
9526 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
9527 not definedness.
9528
9529 2014-05-14 Joseph Myers <joseph@codesourcery.com>
9530
9531 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
9532 Define unconditionally.
9533 (__ASSUME_O_CLOEXEC): Likewise.
9534 (__ASSUME_SOCK_CLOEXEC): Likewise.
9535 (__ASSUME_IN_NONBLOCK): Likewise.
9536 (__ASSUME_PIPE2): Likewise.
9537 (__ASSUME_EVENTFD2): Likewise.
9538 (__ASSUME_SIGNALFD4): Likewise.
9539 (__ASSUME_DUP3): Likewise.
9540 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
9541 (__ASSUME_DUP3): Do not define.
9542 (__ASSUME_EVENTFD2): Likewise.
9543 (__ASSUME_IN_NONBLOCK): Likewise.
9544 (__ASSUME_O_CLOEXEC): Likewise.
9545 (__ASSUME_PIPE2): Likewise.
9546 (__ASSUME_SIGNALFD4): Likewise.
9547 (__ASSUME_SOCK_CLOEXEC): Likewise.
9548 (__ASSUME_UTIMES): Undefine.
9549 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
9550 (__ASSUME_UTIMES): Do not define.
9551 (__ASSUME_O_CLOEXEC): Likewise.
9552 (__ASSUME_SOCK_CLOEXEC): Likewise.
9553 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
9554 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
9555 0x020621].
9556 (__ASSUME_PIPE2): Likewise.
9557 (__ASSUME_EVENTFD2): Likewise.
9558 (__ASSUME_SIGNALFD4): Likewise.
9559 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
9560 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
9561 Do not define.
9562 (__ASSUME_EVENTFD2): Likewise.
9563 (__ASSUME_SIGNALFD4): Likewise.
9564 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
9565 (__ASSUME_32BITUIDS): Likewise.
9566 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
9567 (__ASSUME_IPC64): Likewise.
9568 (__ASSUME_ST_INO_64_BIT): Likewise.
9569 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
9570 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
9571 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
9572 (__ASSUME_UTIMES): Do not define.
9573 (__ASSUME_PSELECT): Likewise.
9574 (__ASSUME_PPOLL): Likewise.
9575 (__ASSUME_O_CLOEXEC): Likewise.
9576 (__ASSUME_SOCK_CLOEXEC): Likewise.
9577 (__ASSUME_IN_NONBLOCK): Likewise.
9578 (__ASSUME_PIPE2): Likewise.
9579 (__ASSUME_EVENTFD2): Likewise.
9580 (__ASSUME_SIGNALFD4): Likewise.
9581 (__ASSUME_DUP3): Likewise.
9582 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
9583 (__ASSUME_UTIMES): Likewise.
9584 (__ASSUME_O_CLOEXEC): Likewise.
9585 (__ASSUME_SOCK_CLOEXEC): Likewise.
9586 (__ASSUME_IN_NONBLOCK): Likewise.
9587 (__ASSUME_PIPE2): Likewise.
9588 (__ASSUME_EVENTFD2): Likewise.
9589 (__ASSUME_SIGNALFD4): Likewise.
9590 (__ASSUME_DUP3): Likewise.
9591 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9592 (__ASSUME_UTIMES): Likewise.
9593 (__ASSUME_O_CLOEXEC): Likewise.
9594 (__ASSUME_SOCK_CLOEXEC): Likewise.
9595 (__ASSUME_IN_NONBLOCK): Likewise.
9596 (__ASSUME_PIPE2): Likewise.
9597 (__ASSUME_EVENTFD2): Likewise.
9598 (__ASSUME_SIGNALFD4): Likewise.
9599 (__ASSUME_DUP3): Likewise.
9600 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
9601 Likewise.
9602 (__ASSUME_UTIMES): Likewise.
9603 (__ASSUME_EVENTFD2): Likewise.
9604 (__ASSUME_SIGNALFD4): Likewise.
9605 * sysdeps/unix/sysv/linux/tile/kernel-features.h
9606 (__ASSUME_O_CLOEXEC): Likewise.
9607 (__ASSUME_SOCK_CLOEXEC): Likewise.
9608 (__ASSUME_IN_NONBLOCK): Likewise.
9609 (__ASSUME_PIPE2): Likewise.
9610 (__ASSUME_EVENTFD2): Likewise.
9611 (__ASSUME_SIGNALFD4): Likewise.
9612 (__ASSUME_DUP3): Likewise.
9613 (__ASSUME_UTIMES): Undefine.
9614
9615 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
9616 feclearexcept. Remove symbol versioning code.
9617 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
9618 symbol versioning code.
9619 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
9620 symbol versioning code.
9621 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
9622 feupdateenv. Remove symbol versioning code.
9623 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
9624 fegetexceptflag. Remove symbol versioning code.
9625 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
9626 fesetexceptflag. Remove symbol versioning code.
9627 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
9628 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
9629 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
9630 (__posix_fadvise64_l32): Remove prototype.
9631 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
9632 code.
9633
9634 2014-05-13 Roland McGrath <roland@hack.frob.com>
9635
9636 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
9637 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
9638 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
9639 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
9640
9641 2014-05-13 Sami Kerola <kerolasa@iki.fi>
9642
9643 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
9644 current working directory
9645
9646 2014-05-13 Roland McGrath <roland@hack.frob.com>
9647
9648 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
9649 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
9650 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
9651 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
9652 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
9653 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
9654 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
9655 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
9656 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
9657 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
9658 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
9659 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
9660 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
9661 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
9662 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
9663 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
9664 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
9665 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
9666 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
9667 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
9668 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
9669 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
9670 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
9671 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
9672 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
9673 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
9674 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
9675 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
9676 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
9677 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
9678 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
9679 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
9680 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
9681 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
9682 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
9683 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
9684 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
9685 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
9686 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
9687 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
9688 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
9689 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
9690
9691 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
9692 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
9693
9694 * sysdeps/unix/sysv/linux/arm/Makefile
9695 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
9696 Add rt-aeabi_unwind_cpp_pr1.
9697 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
9698 Add nptl-aeabi_unwind_cpp_pr1.
9699 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
9700 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
9701 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
9702 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
9703 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
9704 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
9705
9706 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
9707 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
9708 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
9709 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
9710
9711 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
9712 Deconditionalize the code that was previously under [RESET_PID].
9713 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
9714
9715 * sysdeps/generic/exit-thread.h: New file.
9716 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
9717 * include/unistd.h (__exit_thread): Remove declaration.
9718 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
9719 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
9720 * csu/libc-start.c: Include <exit-thread.h>.
9721 (LIBC_START_MAIN): Pass no argument to __exit_thread.
9722 * nptl/pthread_create.c: Include <exit-thread.h>.
9723 (start_thread): Call __exit_thread in place of __exit_thread_inline.
9724 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
9725 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
9726 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
9727 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
9728 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
9729 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
9730 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
9731 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
9732 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
9733 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
9734 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
9735 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
9736 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
9737 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
9738 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
9739 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
9740
9741 2014-05-13 Andreas Schwab <schwab@suse.de>
9742
9743 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
9744
9745 2014-05-12 Joseph Myers <joseph@codesourcery.com>
9746
9747 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
9748 (__ASSUME_UTIMES): Do not condition on kernel version.
9749 (__ASSUME_PSELECT): Define unconditionally.
9750 (__ASSUME_PPOLL): Likewise.
9751 (__ASSUME_ATFCTS): Likewise.
9752 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
9753 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
9754 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
9755 (__ASSUME_UTIMENSAT): Define unconditionally.
9756 (__ASSUME_PRIVATE_FUTEX): Likewise.
9757 (__ASSUME_FALLOCATE): Likewise.
9758 (__ASSUME_O_CLOEXEC): Likewise.
9759 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
9760 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
9761 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
9762 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
9763 (__ASSUME_IN_NONBLOCK): Likewise.
9764 (__ASSUME_PIPE2): Likewise.
9765 (__ASSUME_EVENTFD2): Likewise.
9766 (__ASSUME_SIGNALFD4): Likewise.
9767 (__ASSUME_DUP3): Likewise.
9768 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
9769 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
9770 (__ASSUME_AT_RANDOM): Likewise.
9771 (__ASSUME_PREADV): Likewise.
9772 (__ASSUME_PWRITEV): Likewise.
9773 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
9774 (__ASSUME_F_GETOWN_EX): Define unconditionally.
9775 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
9776 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
9777 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
9778 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
9779 (__ASSUME_O_CLOEXEC): Define unconditionally.
9780 (__ASSUME_PSELECT): Do not undefine conditionally.
9781 (__ASSUME_PPOLL): Likewise.
9782 (__ASSUME_ATFCTS): Likewise.
9783 (__ASSUME_SET_ROBUST_LIST): Likewise.
9784 (__ASSUME_UTIMENSAT): Likewise.
9785 (__ASSUME_FDATASYNC): Define unconditionally.
9786 * sysdeps/unix/sysv/linux/arm/kernel-features.h
9787 (__ASSUME_SIGFRAME_V2): Likewise.
9788 )__ASSUME_EVENTFD2): Likewise.
9789 (__ASSUME_SIGNALFD4): Likewise.
9790 (__ASSUME_PSELECT): Do not undefine conditionally.
9791 (__ASSUME_PPOLL): Likewise.
9792 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
9793 (__ASSUME_PSELECT): Define unconditionally.
9794 (__ASSUME_PPOLL): Likewise.
9795 (__ASSUME_O_CLOEXEC): Likewise.
9796 (__ASSUME_SOCK_CLOEXEC): Likewise.
9797 (__ASSUME_IN_NONBLOCK): Likewise.
9798 (__ASSUME_PIPE2): Likewise.
9799 (__ASSUME_EVENTFD2): Likewise.
9800 (__ASSUME_SIGNALFD4): Likewise.
9801 (__ASSUME_DUP3): Likewise.
9802 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
9803 (__ASSUME_O_CLOEXEC): Likewise.
9804 (__ASSUME_SOCK_CLOEXEC): Likewise.
9805 (__ASSUME_IN_NONBLOCK): Likewise.
9806 (__ASSUME_PIPE2): Likewise.
9807 (__ASSUME_EVENTFD2): Likewise.
9808 (__ASSUME_SIGNALFD4): Likewise.
9809 (__ASSUME_DUP3): Likewise.
9810 * sysdeps/unix/sysv/linux/mips/kernel-features.h
9811 (__ASSUME_EVENTFD2): Likewise.
9812 (__ASSUME_SIGNALFD4): Likewise.
9813 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
9814
9815 2014-05-12 Andreas Schwab <schwab@suse.de>
9816
9817 [BZ #16932]
9818 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
9819 (_nss_nis_gethostbyname4_r): Return error if item length is larger
9820 than maximum RPC packet size.
9821 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
9822 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
9823 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
9824 (_nss_nis_getservbyport_r): Likewise.
9825
9826 2014-05-12 Will Newton <will.newton@linaro.org>
9827
9828 * malloc/Makefile (tests): Add tst-mallopt.
9829 * malloc/tst-mallopt.c: New file.
9830
9831 2014-05-09 Roland McGrath <roland@hack.frob.com>
9832
9833 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
9834 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
9835
9836 2014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9837
9838 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
9839 (tst-tlsmod6.so): Likewise.
9840
9841 2014-05-09 Roland McGrath <roland@hack.frob.com>
9842
9843 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
9844
9845 2014-05-09 Joseph Myers <joseph@codesourcery.com>
9846
9847 [BZ #16064]
9848 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
9849 and <dl-procinfo.h>.
9850 (__fegetenv): Save SSE state in envp->__eip if supported.
9851 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
9852 envp->__eip if supported.
9853 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
9854 and <dl-procinfo.h>.
9855 (__fesetenv): Always set __eip, __cs_selector, __opcode,
9856 __data_offset and __data_selector in environment to 0. Set SSE
9857 state if supported.
9858 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
9859 test-fenv-sse.
9860 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
9861 -mfpmath=sse.
9862 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
9863
9864 2014-05-09 Will Newton <will.newton@linaro.org>
9865
9866 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
9867 and libc_relro_required for ARM.
9868 * sysdeps/arm/preconfigure: Regenerate.
9869
9870 2014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
9871 Stefan Liebler <stli@linux.vnet.ibm.com>
9872
9873 * config.make.in (enable-lock-elision): New Makefile variable.
9874 * configure.ac: Likewise.
9875 * configure: Regenerate.
9876 * sysdeps/s390/configure.ac:
9877 Add check for gcc transactions support.
9878 * sysdeps/s390/configure: Regenerate.
9879 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
9880 Build elision files if enabled.
9881 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
9882 Add lock elision support for s390.
9883 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
9884 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
9885 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
9886 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
9887 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
9888 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
9889 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
9890 Likewise.
9891 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
9892 Likewise.
9893 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
9894 Likewise.
9895 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
9896 Likewise.
9897 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
9898 (__lll_timedlock_elision, __lll_lock_elision)
9899 (__lll_unlock_elision, __lll_trylock_elision)
9900 (lll_timedlock_elision, lll_lock_elision)
9901 (lll_unlock_elision, lll_trylock_elision): Add.
9902 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
9903 (pthread_mutex_t): Add lock elision support for s390.
9904
9905 2014-05-14 Wilco <wdijkstr@arm.com>
9906
9907 * sysdeps/arm/fclrexcpt.c: Cleanup.
9908 * sysdeps/arm/fedisblxcpt.c: Cleanup.
9909 * sysdeps/arm/feenablxcpt.c: Cleanup.
9910 * sysdeps/arm/fegetenv.c: Cleanup.
9911 * sysdeps/arm/fegetexcept.c: Cleanup.
9912 * sysdeps/arm/fegetround.c: Cleanup.
9913 * sysdeps/arm/feholdexcpt.c: Cleanup.
9914 * sysdeps/arm/fesetenv.c: Cleanup.
9915 * sysdeps/arm/fesetround.c: Cleanup.
9916 * sysdeps/arm/feupdateenv.c: Cleanup.
9917 * sysdeps/arm/fgetexcptflg.c: Cleanup.
9918 * sysdeps/arm/fraiseexcpt.c: Cleanup.
9919 * sysdeps/arm/fsetexcptflg.c: Cleanup.
9920 * sysdeps/arm/ftestexcept.c: Cleanup.
9921 * sysdeps/arm/get-rounding-mode.h: Cleanup.
9922 * sysdeps/arm/setfpucw.c: Cleanup.
9923
9924 2014-05-09 Will Newton <will.newton@linaro.org>
9925
9926 * sysdeps/arm/armv7/strcmp.S: New file.
9927 * NEWS: Mention addition of ARMv7 optimized strcmp.
9928
9929 2014-05-08 Roland McGrath <roland@hack.frob.com>
9930
9931 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
9932 look for %.ac rather than %.in.
9933
9934 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
9935 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
9936 * sysdeps/mach/hurd/configure: Regenerated.
9937 * sysdeps/unix/sysv/linux/configure: Regenerated.
9938
9939 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
9940
9941 2014-05-07 Steve Ellcey <sellcey@mips.com>
9942
9943 [BZ# 16922]
9944 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
9945 (LONG_SUB): Ditto.
9946 (PTR_SUB): Ditto.
9947
9948 2014-05-07 Andreas Schwab <schwab@suse.de>
9949
9950 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
9951 when skipping over non-matching result from nscd.
9952
9953 2014-05-07 Ondřej Bílka <neleai@seznam.cz>
9954
9955 [BZ #16876]
9956 * nptl/sockperf.c (client): Check socket return value.
9957
9958 [BZ #16877]
9959 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
9960 nscd security class.
9961
9962 2014-05-06 Roland McGrath <roland@hack.frob.com>
9963
9964 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
9965 * sysdeps/arm/unwind.h: ... here.
9966
9967 2014-05-06 Aurelien Jarno <aurelien@aurel32.net>
9968
9969 [BZ# 16916]
9970 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
9971 Define.
9972
9973 2014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
9974
9975 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
9976 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
9977 multiarch strncpy for PPC64.
9978 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
9979 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
9980 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
9981 multiarch optimizations.
9982 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
9983 (__libc_ifunc_impl_list): Likewise.
9984 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
9985 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
9986 multiarch stpncpy for PPC64.
9987 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
9988 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
9989
9990 2014-05-06 Andreas Schwab <schwab@suse.de>
9991
9992 [BZ #16912]
9993 * gmon/mcount.c (_MCOUNT_DECL): Use
9994 atomic_compare_and_exchange_bool_acq instead of
9995 catomic_compare_and_exchange_bool_acq.
9996
9997 2014-05-05 Roland McGrath <roland@hack.frob.com>
9998
9999 * elf/Makefile (others, install-bin): Remove pldd.
10000 (pldd-modules): Variable removed.
10001 ($(objpfx)pldd): Target removed.
10002 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
10003 (others, install-bin): Append pldd here.
10004 ($(objpfx)pldd): New target.
10005
10006 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
10007 to 0, so the first #if test emitted later doesn't see it undefined.
10008 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
10009 * sysdeps/gnu/errlist.c: Regenerated.
10010
10011 2014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10012
10013 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
10014 [libc_hidden_builtin_def]: Define to empty value.
10015 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
10016 [libc_hidden_builtin_def]: Likewise.
10017 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
10018 [libc_hidden_builtin_def]: Likewise.
10019 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
10020 [libc_hidden_builtin_def]: Likewise.
10021 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
10022 __redirect_memcpy and define ifunc as default hidden symbol.
10023 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
10024 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
10025
10026 2014-05-04 Adam Conrad <adconrad@0c3.net>
10027
10028 * locale/iso-4217.def: Reintroduce XDR currency.
10029
10030 2014-05-04 Allan McRae <allan@archlinux.org>
10031
10032 * po/eo.po: Update Esperanto translation from translation project.
10033
10034 2014-05-02 Carlos O'Donell <carlos@redhat.com>
10035
10036 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
10037 and FEATURE_INDEX_MAX to 1.
10038 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
10039
10040 2014-05-01 Steve Ellcey <sellcey@mips.com>
10041
10042 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
10043 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
10044 * iconvdata/big5.c (ONE_DIRECTION): Define.
10045 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
10046 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
10047 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
10048 * iconvdata/cp932.c (ONE_DIRECTION): Define.
10049 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
10050 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
10051 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
10052 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
10053 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
10054 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
10055 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
10056 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
10057 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
10058 * iconvdata/gbk.c (ONE_DIRECTION): Define.
10059 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
10060 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
10061 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
10062 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
10063 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
10064 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
10065 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
10066 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
10067 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
10068 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
10069 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
10070 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
10071 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
10072 * iconvdata/iso646.c (ONE_DIRECTION): Define.
10073 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
10074 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
10075 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
10076 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
10077 * iconvdata/johab.c (ONE_DIRECTION): Define.
10078 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
10079 * iconvdata/sjis.c (ONE_DIRECTION): Define.
10080 * iconvdata/t.61.c (ONE_DIRECTION): Define.
10081 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
10082 * iconvdata/tscii.c (ONE_DIRECTION): Define.
10083 * iconvdata/uhc.c (ONE_DIRECTION): Define.
10084 * iconvdata/unicode.c (ONE_DIRECTION): Define.
10085 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
10086 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
10087 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
10088
10089 2014-05-01 Roland McGrath <roland@hack.frob.com>
10090
10091 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
10092 (_IO_JUMPS_OFFSET): Define to 0.
10093
10094 * nptl/sysdeps/pthread/bits/libc-lock.h
10095 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
10096 (__libc_lock_define_initialized_recursive): Always define using
10097 initializer. Modern compilers treat uninitialized (implicit zero) and
10098 explicit zero initializers the same (i.e. put the datum in bss).
10099
10100 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
10101
10102 * nscd/nscd-client.h: Include <string.h>.
10103
10104 2014-05-01 David S. Miller <davem@davemloft.net>
10105
10106 [BZ #16885]
10107 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
10108 multiple zero bytes exist at the end of a string.
10109 Reported by Aurelien Jarno <aurelien@aurel32.net>
10110
10111 * string/test-strcmp.c (check): Add explicit test for situations where
10112 there are multiple zero bytes after the first.
10113
10114 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
10115
10116 [BZ #16890]
10117 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
10118 when compiling wprintf.
10119 * stdio-common/tstdiomisc.c (t3): New function.
10120 (main): Call it.
10121
10122 2014-05-01 Steve Ellcey <sellcey@mips.com>
10123
10124 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
10125 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
10126 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
10127 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
10128
10129 2014-05-01 Steve Ellcey <sellcey@mips.com>
10130
10131 * stdlib/longlong.h: Updated from GCC.
10132
10133 2014-05-01 Will Newton <will.newton@linaro.org>
10134 Bernard Ogden <bernie.ogden@linaro.org>
10135
10136 * NEWS: Update fixed bug list.
10137
10138 [BZ #15119]
10139 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
10140
10141 2014-04-30 David S. Miller <davem@davemloft.net>
10142
10143 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
10144 (libc_feholdexcept_setround_sparc_ctx): New function.
10145 (libc_fesetenv_sparc_ctx): Likewise.
10146 (libc_feupdateenv_sparc_ctx): Likewise.
10147 (libc_feholdsetround_sparc_ctx): Likewise.
10148 (libc_feholdexcept_setround_ctx): Define.
10149 (libc_feholdexcept_setroundf_ctx): Likewise.
10150 (libc_feholdexcept_setroundl_ctx): Likewise.
10151 (libc_fesetenv_ctx): Likewise.
10152 (libc_fesetenvf_ctx): Likewise.
10153 (libc_fesetenvl_ctx): Likewise.
10154 (libc_feupdateenv_ctx): Likewise.
10155 (libc_feupdateenvf_ctx): Likewise.
10156 (libc_feupdateenvl_ctx): Likewise.
10157 (libc_feresetround_ctx): Likewise.
10158 (libc_feresetroundf_ctx): Likewise.
10159 (libc_feresetroundl_ctx): Likewise.
10160 (libc_feholdsetround_ctx): Likewise.
10161 (libc_feholdsetroundf_ctx): Likewise.
10162 (libc_feholdsetroundl_ctx): Likewise.
10163
10164 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
10165 with __USE_GNU instead of XOPEN cpp guards.
10166
10167 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
10168 0.
10169
10170 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
10171 with XOPEN cpp guards.
10172
10173 2014-04-30 Julian Brown <julian@codesourcery.com>
10174
10175 [BZ #16888]
10176 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
10177 handling.
10178
10179 2014-04-30 Joseph Myers <joseph@codesourcery.com>
10180
10181 [BZ #9894]
10182 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
10183 Change to 2.6.32.
10184 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
10185 * sysdeps/unix/sysv/linux/configure: Regenerated.
10186 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
10187 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
10188 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
10189 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
10190 * README: Update reference to required Linux kernel version.
10191 * manual/install.texi (Linux): Update reference to required Linux
10192 kernel headers version.
10193 * INSTALL: Regenerated.
10194
10195 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
10196 header inclusion.
10197 [POSIX] (limits.h): Likewise.
10198 [POSIX] (math.h): Likewise.
10199 [POSIX] (sys/wait.h): Likewise.
10200 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
10201 function.
10202 [POSIX] (stddef.h): Do not allow header inclusion.
10203
10204 2014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10205
10206 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
10207
10208 2014-04-30 Yang Yingliang <yangyingliang@huawei.com>
10209
10210 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
10211 Return immediately after lll_futex_wake.
10212
10213 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
10214
10215 [BZ #16791]
10216 * nscd/nscd-client.h (datahead_init_common): Initialize entire
10217 structure.
10218 (datahead_init_pos): Call datahead_init_common early.
10219 (datahead_init_neg): Likewise.
10220
10221 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
10222 datahead_init_neg): New functions.
10223 * nscd/aicache.c (addhstaiX): Use them.
10224 * nscd/grpcache.c (cache_addgr): Likewise.
10225 * nscd/hstcache.c (cache_addhst): Likewise.
10226 * nscd/initgrcache.c (addinitgroupsX): Likewise.
10227 * nscd/netgroupcache.c (do_notfound): Likewise.
10228 (addgetnetgrentX): Likewise.
10229 (addinnetgrX): Likewise.
10230 * nscd/pwdcache.c (cache_addpw): Likewise.
10231 * nscd/servicescache.c (cache_addserv): Likewise.
10232
10233 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
10234 Atsushi Onoe <atsushi@onoe.org>
10235
10236 [BZ #14308]
10237 [BZ #12994]
10238 [BZ #13651]
10239 * resolv/res_query.c (__libc_res_nsearch): Return if at least
10240 one response is valid.
10241 * resolv/res_send.c (send_dg): Check for validity of other
10242 response if the current response is a referral.
10243
10244 2014-04-29 Steve Ellcey <sellcey@mips.com>
10245
10246 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
10247
10248 2014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
10249
10250 [BZ #16823]
10251 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
10252 Always divide by positive zero when computing -Inf result.
10253 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
10254 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
10255
10256 2014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10257
10258 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
10259 FPSCR if value do not change.
10260 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
10261 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
10262 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
10263 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
10264 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
10265 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
10266 function.
10267
10268 2014-05-29 Carlos O'Donell <carlos@systemhalted.org>
10269
10270 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
10271 * sysdeps/unix/sysv/linux/hppa: Move directory from
10272 ports/systeps/unix/sysv/linux/hppa.
10273 * README: Update listing for hppa-*-linux-gnu.
10274
10275 2014-04-28 Ondřej Bílka <neleai@seznam.cz>
10276
10277 [BZ #16754]
10278 * manual/stdio.texi (Hook functions): Fix types of stream hook
10279 functions.
10280 [BZ #16854]
10281 * socket/sys/socket.h: Fix typo in comment.
10282
10283 2014-04-28 Wilco <wdijkstr@arm.com>
10284
10285 * sysdeps/arm/fenv_private.h: New file.
10286 * sysdeps/arm/math_private.h: New file.
10287 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
10288
10289 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
10290
10291 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
10292 with __int128_t.
10293 (La_x86_64_retval): Likewise.
10294
10295 2014-04-24 Ian Bolton <ian.bolton@arm.com>
10296
10297 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
10298 fpsr if value didn't change.
10299 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
10300 to fpcr if value didn't change.
10301 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
10302 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
10303 fpsr or fpcr if value didn't change.
10304 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
10305 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
10306 fpcr if value didn't change.
10307 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
10308 to fpsr if value didn't change.
10309
10310 2014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
10311
10312 * nptl/tst-sem3.c: Use test-skeleton.c
10313 (main): Rename to do_test. Use return instead of
10314 exit.
10315 * nptl/tst-sem4.c: Use test-skeleton.c
10316 (main): Rename to do_test.
10317
10318 2014-04-22 David S. Miller <davem@davemloft.net>
10319
10320 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
10321 (struct sigaction): New struct member __glibc_reserved0, change
10322 type of sa_flags to int.
10323
10324 2014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
10325
10326 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
10327 (COUNT_LEADING_ZEROS_0): Define for AArch64.
10328
10329 2014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
10330
10331 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
10332 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
10333
10334 2014-04-22 Will Newton <will.newton@linaro.org>
10335 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
10336
10337 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
10338 (__longjmp): Add longjmp and longjmp_target SystemTap
10339 probes.
10340 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
10341 (__sigsetjmp): Add setjmp SystemTap probe.
10342
10343 2014-04-17 Carlos O'Donell <carlos@redhat.com>
10344
10345 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
10346 match manual order.
10347
10348 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10349
10350 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
10351
10352 * sysdeps/powerpc/fpu/fenv_private.h
10353 (libc_feholdexcept_setroundl_ctx): Define to
10354 libc_feholdexcept_setround_ppc_ctx.
10355 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
10356 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
10357 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
10358 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
10359
10360 2014-04-17 Ian Bolton <ian.bolton@arm.com>
10361
10362 * sysdeps/aarch64/math-tests.h: New file.
10363
10364 2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
10365
10366 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
10367 New.
10368 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10369 Check and set bit_AVX2_Usable.
10370 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
10371 macro.
10372 (bit_AVX2): Likewise.
10373 (index_AVX2_Usable): Likewise.
10374 (CPUID_AVX2): Likewise.
10375 (HAS_AVX2): Likewise.
10376
10377 2014-04-17 Will Newton <will.newton@linaro.org>
10378
10379 * manual/setjmp.texi (System V contexts): Add note that
10380 calling setcontext on a context created by a call to a
10381 signal handler is undefined. Update text to note that
10382 setcontext from a signal handler is possible but not
10383 recommended.
10384
10385 [BZ #16629]
10386 * stdlib/tst-setcontext.c: Include signal.h.
10387 (main): Check that the signal stack before and
10388 after swapcontext is the same.
10389
10390 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
10391 Re-implement to restore registers in user code and avoid
10392 rt_sigreturn system call.
10393
10394 2014-04-17 Wilco <wdijkstr@arm.com>
10395
10396 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
10397 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
10398 * math/test-fenv.c: Skip exception trap tests on targets which only
10399 support non-stop mode.
10400
10401 2014-04-17 Ian Bolton <ian.bolton@arm.com>
10402 Wilco Dijkstra <wilco.dijkstra@arm.com>
10403
10404 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
10405 (libc_feholdsetround_aarch64_ctx)
10406 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
10407 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
10408 (libc_feresetround_ctx, libc_feresetroundf_ctx)
10409 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
10410 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
10411 (libc_feresetround_noexl_ctx): Define.
10412
10413 2014-04-16 Richard Henderson <rth@redhat.com>
10414
10415 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
10416
10417 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
10418 unwind tables.
10419
10420 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
10421 const from the non-libc, non-ldso copy.
10422
10423 * sysdeps/alpha/libm-test-ulps: Regenerate.
10424
10425 2014-04-16 Ian Bolton <ian.bolton@arm.com>
10426 Wilco Dijkstra <wilco.dijkstra@arm.com>
10427
10428 * sysdeps/aarch64/fpu/math_private.h: New file.
10429
10430 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
10431
10432 * sysdeps/aarch64/libm-test-ulps: Regenerate.
10433
10434 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
10435
10436 [BZ #16275]
10437 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
10438 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
10439 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
10440 Intel MPX bound registers before _dl_profile_fixup.
10441 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
10442 registers after _dl_profile_fixup. Save and restore bound
10443 registers bnd0/bnd1 when calling _dl_call_pltexit.
10444 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
10445 (LR_BND_OFFSET): Likewise.
10446 (LRV_BND0_OFFSET): Likewise.
10447 (LRV_BND1_OFFSET): Likewise.
10448
10449 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
10450
10451 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
10452 to...
10453 * sysdeps/mach/hurd/i386/tls.h: ... here.
10454 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
10455 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
10456 fields.
10457
10458 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
10459
10460 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
10461
10462 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
10463
10464 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
10465
10466 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
10467
10468 [BZ #14770]
10469 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
10470 * sysdeps/s390/configure: Regenerate.
10471
10472 [BZ #16824]
10473 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
10474 Set round-to-nearest internally to reduce error accumulation.
10475
10476 2014-04-16 Alan Modra <amodra@gmail.com>
10477
10478 [BZ #16740]
10479 [BZ #16619]
10480 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
10481 * math/libm-test.inc (frexp_test_data): Add tests.
10482 * NEWS: Update fixed bug list.
10483
10484 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
10485
10486 * benchtests/Makefile: Depend on libraries in build directory.
10487 (bench-math): Separate out math tests.
10488 (bench-pthread): Separate out pthread tests.
10489 (bench): Include math and pthread tests.
10490
10491 2014-04-14 Carlos O'Donell <carlos@redhat.com>
10492
10493 [BZ #16831]
10494 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
10495 _dl_debug_initialize.
10496
10497 * configure.ac: Remove SELinux header check.
10498 * configure: Regenerate.
10499 * nscd/selinux.c (perms): Array of const char* to permission names.
10500 (nscd_request_avc_has_perm): Call security_deny_unknown to find
10501 default policy. Call string_to_security_class and string_to_av_perm to
10502 translate strings. Enforce default policy and call avs_has_perm with
10503 results of translated strings.
10504
10505 2014-04-13 David S. Miller <davem@davemloft.net>
10506
10507 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10508
10509 2014-04-12 Allan McRae <allan@archlinux.org>
10510
10511 [BZ #16838]
10512 * manual/string.texi (Collation Functions): Fix qsort argument
10513 order in example.
10514 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
10515
10516 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
10517
10518 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
10519 Make the test a no-op if there are no exceptions defined.
10520
10521 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
10522
10523 * elf/Makefile (tests): make tst-dlopen-aout conditional on
10524 enable-hardcoded-path-in-tests
10525
10526 2014-04-11 Will Newton <will.newton@linaro.org>
10527
10528 * benchtests/Makefile (extra-objs): Add json-lib.o.
10529 (bench-func): Tidy up JSON output.
10530 * benchtests/bench-skeleton.c: Include json-lib.h.
10531 (main): Use JSON library functions to do output of
10532 benchmark results.
10533 * benchtests/bench-timing-type.c (main): Output the
10534 timing type simply, leaving formatting to the user.
10535 * benchtests/json-lib.c: New file.
10536 * benchtests/json-lib.h: Likewise.
10537
10538 2014-04-11 Torvald Riegel <triegel@redhat.com>
10539
10540 [BZ #15215]
10541 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
10542 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
10543 memory barriers. Add comments.
10544 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
10545 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
10546 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
10547 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
10548 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
10549 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
10550
10551 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
10552
10553 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
10554 * sysdeps/s390/s390-64/configure.ac: ... this ...
10555 * sysdeps/s390/configure.ac: ... to here.
10556 * sysdeps/s390/s390-32/configure: Delete file.
10557 * sysdeps/s390/s390-64/configure: Delete file.
10558 * sysdeps/s390/configure: Regenerate.
10559
10560 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
10561
10562 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
10563
10564 2014-04-11 Will Newton <will.newton@linaro.org>
10565
10566 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
10567 to zero if it is not defined elsewhere. (mtrim): Test
10568 the value of MALLOC_DEBUG with #if rather than #ifdef.
10569
10570 2014-04-10 Torvald Riegel <triegel@redhat.com>
10571
10572 * benchtests/pthread_once-inputs: New file.
10573 * benchtests/pthread_once-source.c: New file.
10574 * benchtests/README: Update documentation.
10575
10576 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
10577 H.J. Lu <hongjiu.lu@intel.com>
10578
10579 [BZ #16275]
10580 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
10581 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
10582 * sysdeps/x86_64/configure: Regenerated.
10583 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
10584 macro.
10585 (REGISTER_SAVE_RAX): Likewise.
10586 (REGISTER_SAVE_RCX): Likewise.
10587 (REGISTER_SAVE_RDX): Likewise.
10588 (REGISTER_SAVE_RSI): Likewise.
10589 (REGISTER_SAVE_RDI): Likewise.
10590 (REGISTER_SAVE_R8): Likewise.
10591 (REGISTER_SAVE_R9): Likewise.
10592 (REGISTER_SAVE_BND0): Likewise.
10593 (REGISTER_SAVE_BND1): Likewise.
10594 (REGISTER_SAVE_BND2): Likewise.
10595 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
10596 bound registers when calling _dl_fixup.
10597
10598 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10599
10600 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
10601 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
10602 of its definition.
10603 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
10604 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
10605 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
10606 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
10607 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
10608 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
10609 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
10610
10611 2014-04-09 Peter Brett <peter@peter-b.co.uk>
10612
10613 [BZ #15514]
10614 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
10615 pathconf(_PC_NAME_MAX).
10616
10617 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10618
10619 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
10620 Remove macro usage.
10621 (__PTHREAD_SPINS): Move definition to ...
10622 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
10623 (__PTHREAD_SPINS): ... here.
10624 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
10625 (__PTHREAD_SPIN): Likewise.
10626 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
10627 (__PTHREAD_SPIN): Likewise.
10628 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
10629 (__PTHREAD_SPIN): Likewise.
10630 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
10631 (__PTHREAD_SPIN): Likewise.
10632 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
10633 (__PTHREAD_SPIN): Likewise.
10634 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
10635 (__PTHREAD_SPIN): Likewise.
10636 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
10637 (__PTHREAD_SPIN): Likewise.
10638 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
10639 (__PTHREAD_SPIN): Likewise.
10640 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
10641 (__PTHREAD_SPIN): Likewise.
10642 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
10643 (__PTHREAD_SPIN): Likewise.
10644 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
10645 (__PTHREAD_SPIN): Likewise.
10646 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
10647 (__PTHREAD_SPIN): Likewise.
10648
10649 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
10650 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
10651 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
10652 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
10653 imply folder.
10654 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
10655 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
10656 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
10657 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
10658 correct imply path.
10659 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
10660 strlen symbol for non multi-arch builds.
10661 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
10662 missing hidden_def and weak_alias.
10663
10664 2014-04-08 Carlos O'Donell <carlos@redhat.com>
10665
10666 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
10667
10668 2014-04-07 Will Newton <will.newton@linaro.org>
10669
10670 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
10671 and contents. [!_LIBC] Remove #ifndef and contents.
10672 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
10673 * string/memccpy.c (__memccpy): Use ANSI prototype.
10674 * string/memfrob.c (memfrob): Likewise.
10675 * string/strcoll.c (STRCOLL): Likewise.
10676 * string/strlen.c (strlen): Likewise.
10677 * string/strtok.c (STRTOK): Likewise.
10678 * string/strcat.c: Remove unused #include of memcopy.h.
10679 (strcat): Use ANSI prototype.
10680 * string/strchr.c: Remove unused #include of memcopy.h.
10681 (strchr): Use ANSI prototype.
10682 * string/strcmp.c: Remove unused #include of memcopy.h.
10683 (strcmp): Use ANSI prototype.
10684 * string/strcpy.c: Remove unused #include of memcopy.h.
10685 (strcpy): Use ANSI prototype.
10686
10687 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10688
10689 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
10690 * config.make.in (config-extra-cppflags): Set it from
10691 libc_extra_cppflags.
10692 * configure.ac (libc_extra_cflags): Make it accumulate over
10693 configure fragments.
10694 (libc_extra_cppflags): New flag.
10695 * configure. Regenerate.
10696 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
10697 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
10698 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
10699 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
10700
10701 [BZ #16815]
10702 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
10703 result for FE_DOWNWARD rounding mode.
10704 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
10705 Likewise.
10706 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10707
10708 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
10709
10710 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
10711 in function argument name.
10712
10713 2014-04-03 David Svoboda <svoboda@cert.org>
10714
10715 [BZ #5666]
10716 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
10717 explicitly.
10718
10719 2014-04-03 Roland McGrath <roland@hack.frob.com>
10720
10721 * elf/dl-unmap-segments.h: New file.
10722 * sysdeps/generic/ldsodefs.h
10723 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
10724 * elf/dl-close.c: Include <dl-unmap-segments.h>.
10725 * elf/dl-fptr.c: Likewise.
10726 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
10727 * sysdeps/aarch64/tlsdesc.c: Likewise.
10728 * sysdeps/arm/tlsdesc.c: Likewise.
10729 * sysdeps/i386/tlsdesc.c: Likewise.
10730 * sysdeps/tile/dl-runtime.c: Likewise.
10731 * sysdeps/x86_64/tlsdesc.c: Likewise.
10732 * elf/dl-load.h: New file.
10733 * elf/dl-load.c: Include it.
10734 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
10735 Macros moved to dl-load.h.
10736 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
10737 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
10738 Use _dl_unmap_segments in place of __munmap.
10739 Break out segment-mapping loop into ...
10740 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
10741
10742 2014-04-03 Will Newton <will.newton@linaro.org>
10743
10744 * elf/dl-lookup.c (do_lookup_x): Remove comment
10745 referring to nested function and move variable
10746 declarations down to before first use.
10747
10748 2014-04-02 Joseph Myers <joseph@codesourcery.com>
10749
10750 [BZ #16799]
10751 [BZ #16800]
10752 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
10753 with 0 numerator.
10754 * math/s_catanf.c (__catanf): Likewise.
10755 * math/s_catanh.c (__catanh): Likewise.
10756 * math/s_catanhf.c (__catanhf): Likewise.
10757 * math/s_catanhl.c (__catanhl): Likewise.
10758 * math/s_catanl.c (__catanl): Likewise.
10759 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
10760 by positive zero when computing -Inf result.
10761 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
10762 (catanh_test): Likewise.
10763 * sysdeps/i386/fpu/libm-test-ulps: Update.
10764 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10765
10766 [BZ #16789]
10767 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
10768 instead of using underflowing value in computing result.
10769 * math/s_clog10.c (__clog10): Likewise.
10770 * math/s_clog10f.c (__clog10f): Likewise.
10771 * math/s_clog10l.c (__clog10l): Likewise.
10772 * math/s_clogf.c (__clogf): Likewise.
10773 * math/s_clogl.c (__clogl): Likewise.
10774 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
10775 (clog10_test): Likewise.
10776 * sysdeps/i386/fpu/libm-test-ulps: Update.
10777 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10778
10779 2014-04-02 Alan Modra <amodra@gmail.com>
10780
10781 [BZ #16739]
10782 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
10783 output when value is near a power of two. Use int64_t for lx and
10784 remove casts. Use decimal rather than hex exponent constants.
10785 Don't use long double multiplication when double will suffice.
10786 * math/libm-test.inc (nextafter_test_data): Add tests.
10787 * NEWS: Add 16739 and 16786 to bug list.
10788
10789 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
10790
10791 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
10792
10793 2014-04-01 Will Newton <will.newton@linaro.org>
10794
10795 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
10796 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
10797
10798 2014-04-01 Florian Weimer <fweimer@redhat.com>
10799
10800 [BZ #13347]
10801 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
10802 * nptl/tst-setuid2.c: New file.
10803 * nptl/Makefile (xtests): Add tst-setuid2.
10804
10805 2014-04-01 Alan Modra <amodra@gmail.com>
10806
10807 [BZ #16786]
10808 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
10809
10810 2014-03-31 Joseph Myers <joseph@codesourcery.com>
10811
10812 [BZ #6803]
10813 [BZ #6804]
10814 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
10815 set errno as appropriate.
10816 * math/w_scalbf.c (__scalbf): Likewise.
10817 * math/w_scalbl.c (__scalbl): Likewise.
10818 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
10819 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
10820 * math/libm-test.inc (scalb_test_data): Add errno expectations.
10821 Add more NaN tests.
10822
10823 [BZ #16349]
10824 * math/w_atan2.c: Include <errno.h>.
10825 (__atan2): Set errno for result underflowing to zero.
10826 * math/w_atan2f.c: Include <errno.h>.
10827 (__atan2f): Set errno for result underflowing to zero.
10828 * math/w_atan2l.c: Include <errno.h>.
10829 (__atan2l): Set errno for result underflowing to zero.
10830 * math/auto-libm-test-in: Don't allow missing errno for some atan2
10831 tests.
10832 * math/auto-libm-test-out: Regenerated.
10833
10834 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10835
10836 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
10837 Encode instruction correctly in little endian.
10838 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
10839 Likewise.
10840 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
10841 Likewise.
10842 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
10843 Likewise.
10844 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
10845 Likewise.
10846
10847 2014-03-31 Joseph Myers <joseph@codesourcery.com>
10848
10849 [BZ #9894]
10850 * sysdeps/unix/sysv/linux/kernel-features.h
10851 [__sparc__ && !__arch64__ && !__sparc_v9__]
10852 (__ASSUME_SET_ROBUST_LIST): Do not define.
10853 [__sparc__ && !__arch64__ && !__sparc_v9__]
10854 (__ASSUME_FUTEX_LOCK_PI): Likewise.
10855 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
10856 Likewise.
10857 * sysdeps/unix/sysv/linux/arm/kernel-features.h
10858 (__ASSUME_FUTEX_LOCK_PI): Undefine.
10859 (__ASSUME_REQUEUE_PI): Likewise.
10860 (__ASSUME_SET_ROBUST_LIST): Likewise.
10861 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
10862 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
10863 Undefine.
10864 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10865 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
10866 Likewise.
10867 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
10868 Likewise.
10869 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
10870 Likewise.
10871 * sysdeps/unix/sysv/linux/mips/kernel-features.h
10872 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
10873 Undefine.
10874 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
10875 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
10876 Likewise.
10877
10878 [BZ #16648]
10879 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10880 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
10881 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
10882
10883 2014-03-31 Will Newton <will.newton@linaro.org>
10884
10885 * benchtests/Makefile (bench): Add ffs and ffsll to list
10886 of tests.
10887 * benchtests/ffs-inputs: New file.
10888 * benchtests/ffsll-inputs: Likewise.
10889
10890 2014-03-29 Joseph Myers <joseph@codesourcery.com>
10891
10892 [BZ #16770]
10893 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
10894 too large before casting to int.
10895 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
10896 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
10897 * math/libm-test.inc (scalb_test_data): Add more tests.
10898
10899 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
10900
10901 * benchtests/Makefile (DETAILED_OPT): New make option.
10902 (bench-func): Run benchmark program with -d if DETAILED_OPT is
10903 set.
10904 * benchtests/bench-skeleton.c: Include stdbool.h.
10905 (main): Store and print timings per input.
10906 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
10907 member to each argument value.
10908 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
10909 (_print_arg_data): Initialize per-input timing to 0.
10910
10911 * benchtests/Makefile (timing-type): New binary.
10912 (bench-clean): Also remove bench-timing-type.
10913 (bench): New target for timing-type.
10914 (bench-func): Print output in JSON format.
10915 * benchtests/bench-skeleton.c (main): Print output in JSON
10916 format.
10917 * benchtests/bench-timing-type.c: New file.
10918 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
10919 (TIMING_PRINT_STATS): Remove.
10920 * benchtests/scripts/bench.py (_print_arg_data): Store variant
10921 name separately.
10922
10923 * benchtests/bench-modf.c: Remove.
10924 * benchtests/modf-inputs: New inputs file.
10925
10926 2014-03-28 Joseph Myers <joseph@codesourcery.com>
10927
10928 [BZ #16362]
10929 * math/s_clog10.c (M_PI_LOG10E): New macro.
10930 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
10931 imaginary parts are 0.
10932 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
10933 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
10934 imaginary parts are 0.
10935 * math/s_clog10l.c (M_PI_LOG10El): New macro.
10936 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
10937 imaginary parts are 0.
10938 * math/libm-test.inc (clog10_test_data): Update expected results
10939 for when real and imaginary parts are 0.
10940
10941 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
10942
10943 * elf/dl-load.c: Finish conversion of __builtin_expect into
10944 __glibc_{un}likely.
10945
10946 2014-03-27 Joseph Myers <joseph@codesourcery.com>
10947
10948 [BZ #16348]
10949 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
10950 1+x for argument with exponent below -67.
10951 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
10952 Likewise.
10953 * math/auto-libm-test-in: Add more tests of exp.
10954 * math/auto-libm-test-out: Regenerated.
10955
10956 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
10957
10958 [BZ #16759]
10959 * inet/getnetgrent_r.c (get_nonempty_val): New function.
10960 (nscd_getnetgrent): Use it.
10961
10962 [BZ #16760]
10963 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
10964 of stpcpy.
10965
10966 2014-03-27 Andi Kleen <ak@linux.intel.com>
10967
10968 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
10969 (lll_robust_lock, lll_cond_lock, lll_timedlock)
10970 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
10971 (lll_robust_unlock): Remove out of line section. Use cfi
10972 intrinsics.
10973 (LLL_STUB_UNWIND_INFO*): Remove.
10974 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
10975 (lll_robust_lock, lll_cond_lock, lll_timedlock)
10976 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
10977 (lll_robust_unlock): Remove out of line section. Use cfi
10978 intrinsics.
10979 (LLL_STUB_UNWIND_INFO*): Remove.
10980
10981 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
10982
10983 [BZ #16758]
10984 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
10985 blank values.
10986
10987 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
10988
10989 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
10990
10991 2014-03-26 Joseph Myers <joseph@codesourcery.com>
10992
10993 [BZ #16198]
10994 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
10995 fnstenv.
10996 * math/test-fenv-preserve.c: New file.
10997 * math/Makefile (tests): Add test-fenv-preserve.
10998
10999 2014-03-26 Will Newton <will.newton@linaro.org>
11000
11001 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
11002
11003 2014-03-25 Roland McGrath <roland@hack.frob.com>
11004
11005 * scripts/versionlist.awk: Partition the version sets and emit all
11006 GLIBC_* (sorted) before all others (sorted).
11007
11008 2014-03-25 Joseph Myers <joseph@codesourcery.com>
11009
11010 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
11011 GLIBC_2.2.5 version.
11012
11013 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11014
11015 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
11016 calls.
11017
11018 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
11019 previous change.
11020
11021 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11022
11023 2014-03-25 Andreas Schwab <schwab@suse.de>
11024
11025 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
11026 label to be used after in6ailist is initialized.
11027
11028 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11029
11030 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
11031 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
11032
11033 2014-03-25 Joseph Myers <joseph@codesourcery.com>
11034
11035 [BZ #16357]
11036 [BZ #16599]
11037 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
11038 min_plus_half.
11039 (fp_formats): Update initializers.
11040 (init_fp_formats): Initialize new field.
11041 (output_for_one_input_case): Allow underflow for results up to
11042 min_plus_half.
11043 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
11044 * math/auto-libm-test-in: Don't mark some underflows from asin and
11045 atanh as spurious.
11046 * math/auto-libm-test-out: Regenerated.
11047 * sysdeps/i386/fpu/libm-test-ulps: Update.
11048 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11049
11050 2014-03-25 Andreas Schwab <schwab@suse.de>
11051
11052 * libio/Makefile (tst-ftell-partial-wide-ENV)
11053 (tst-ftell-active-handler-ENV): Define.
11054
11055 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
11056
11057 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
11058
11059 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
11060
11061 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
11062
11063 2014-03-24 Joseph Myers <joseph@codesourcery.com>
11064
11065 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
11066 * sysdeps/x86_64/fpu/multiarch/e_exp.c
11067 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
11068
11069 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
11070
11071 [BZ #16634]
11072 * elf/dl-load.c (open_verify): Add mode parameter.
11073 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
11074 (open_path): Change from boolean 'secure' to complete flag 'mode'
11075 (_dl_map_object): Adjust.
11076 * elf/Makefile (tests): Add tst-dlopen-aout.
11077 * elf/tst-dlopen-aout.c: New test.
11078
11079 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
11080
11081 [BZ #16714]
11082 * sysdeps/unix/sysv/linux/s390/bits/stat.h
11083 (struct stat): Rename member pad0 to __glibc_reserved0.
11084
11085 [BZ #16712]
11086 * sysdeps/s390/s390-32/bits/wordsize.h
11087 (__WORDSIZE32_SIZE_ULONG): New define.
11088 * sysdeps/s390/s390-64/bits/wordsize.h
11089 (__WORDSIZE32_SIZE_ULONG): Likewise.
11090 * sysdeps/generic/stdint.h (SIZE_MAX):
11091 Define as UL if __WORDSIZE32_SIZE_ULONG.
11092
11093 [BZ #16713]
11094 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
11095 (__glibc_reserved0): New variable.
11096 (sa_flags): Change type to int.
11097
11098 * posix/Makefile (before-compile): Use += before-compile instead
11099 of a :=.
11100
11101 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
11102 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
11103
11104 2014-03-20 Andreas Schwab <schwab@suse.de>
11105
11106 [BZ #16743]
11107 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
11108 non-matching result from nscd.
11109
11110 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
11111
11112 * scripts/bench.py: Moved to ...
11113 * benchtests/scripts/bench.py: ... here.
11114 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
11115
11116 2014-03-24 Andreas Schwab <schwab@suse.de>
11117
11118 [BZ #16002]
11119 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
11120 alloca_account and account alloca use for struct in6ailist.
11121
11122 2014-03-24 Joseph Myers <joseph@codesourcery.com>
11123
11124 [BZ #16284]
11125 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
11126 rounding mode to recompute results that overflow to infinity or
11127 underflow to zero.
11128 * math/auto-libm-test-in: Don't mark tests as expected to fail for
11129 bug 16284.
11130 * math/auto-libm-test-out: Regenerated.
11131 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
11132 (ccosh_test): Likewise.
11133 (csin_test_data): Use plus_oflow.
11134 (csin_test): Use ALL_RM_TEST.
11135 (csinh_test_data): Use plus_oflow.
11136 (csinh_test): Use ALL_RM_TEST.
11137 * sysdeps/i386/fpu/libm-test-ulps: Update.
11138 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11139
11140 2014-03-21 Joseph Myers <joseph@codesourcery.com>
11141
11142 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
11143 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
11144 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
11145
11146 [BZ #16731]
11147 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
11148 when x - 1 is zero.
11149 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
11150 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
11151 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
11152 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
11153 argument is 1.
11154 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
11155 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
11156 zero.
11157 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
11158 * sysdeps/i386/fpu/libm-test-ulps: Update.
11159 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11160
11161 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
11162
11163 * scripts/bench.pl: Remove file.
11164 * scripts/bench.py: New benchmark script.
11165 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
11166 * benchtests/README: Mention python dependency.
11167 * scripts/pylintrc: New file.
11168 * scripts/pylint: New file.
11169
11170 * bits/mathdef.h: Use #ifdef instead of #if.
11171 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
11172 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
11173 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
11174 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
11175 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
11176 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
11177
11178 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11179 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
11180
11181 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
11182 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
11183 and strpbrk-ppc64 objects.
11184 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11185 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
11186 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
11187 multiarch strpbrk for POWER7.
11188 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
11189 multiarch strpbrk for PPC64.
11190 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
11191 ifunc selector.
11192 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
11193 strpbrk for POWER7.
11194
11195 2014-03-20 Joseph Myers <joseph@codesourcery.com>
11196
11197 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
11198 (atan_test): Likewise.
11199 (atanh_test_data): Use NO_TEST_INLINE for two tests.
11200 (atanh_test): Use ALL_RM_TEST.
11201 (atan2_test_data): Likewise.
11202 (cabs_test): Likewise.
11203 (cacosh_test): Likewise.
11204 (carg_test): Likewise.
11205 (casin_test): Likewise.
11206 (casinh_test): Likewise.
11207 (cbrt_test): Likewise.
11208 (csqrt_test): Likewise.
11209 (erf_test): Likewise.
11210 (erfc_test): Likewise.
11211 (pow10_test): Likewise.
11212 (exp2_test): Likewise.
11213 (hypot_test): Likewise.
11214 (j0_test): Likewise.
11215 (j1_test): Likewise.
11216 (lgamma_test): Likewise.
11217 (gamma_test): Likewise.
11218 (sincos_test): Likewise.
11219 (tanh_test): Likewise.
11220 (y0_test): Likewise.
11221 (y1_test): Likewise.
11222 * sysdeps/i386/fpu/libm-test-ulps: Update.
11223 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11224
11225 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11226
11227 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
11228 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
11229 and strcspn-ppc64 objects.
11230 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11231 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
11232 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
11233 multiarch strcspn for POWER7.
11234 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
11235 multiarch strcspn for PPC64.
11236 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
11237 ifunc selector.
11238 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
11239 strcspn for POWER7.
11240
11241 2014-03-20 Joseph Myers <joseph@codesourcery.com>
11242
11243 * math/gen-libm-test.pl (generate_testfile): Expect only function
11244 name as argument to AUTO_TESTS_* and pass results for all rounding
11245 modes to parse_args.
11246 (parse_auto_input): Separate inputs of automatic tests from
11247 outputs before storing in %auto_tests.
11248 * math/libm-test.inc (acos_test_data): Update call to
11249 AUTO_TESTS_f_f.
11250 (acos_test): Use ALL_RM_TEST.
11251 (acos_tonearest_test_data): Remove.
11252 (acos_test_tonearest): Likewise.
11253 (acos_towardzero_test_data): Likewise.
11254 (acos_test_towardzero): Likewise.
11255 (acos_downward_test_data): Likewise.
11256 (acos_test_downward): Likewise.
11257 (acos_upward_test_data): Likewise.
11258 (acos_test_upward): Likewise.
11259 (acosh_test_data): Update call to AUTO_TESTS_f_f.
11260 (asin_test_data): Likewise.
11261 (asin_test): Use ALL_RM_TEST.
11262 (asin_tonearest_test_data): Remove.
11263 (asin_test_tonearest): Likewise.
11264 (asin_towardzero_test_data): Likewise.
11265 (asin_test_towardzero): Likewise.
11266 (asin_downward_test_data): Likewise.
11267 (asin_test_downward): Likewise.
11268 (asin_upward_test_data): Likewise.
11269 (asin_test_upward): Likewise.
11270 (asinh_test_data): Update call to AUTO_TESTS_f_f.
11271 (atan_test_data): Likewise.
11272 (atanh_test_data): Likewise.
11273 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
11274 (cabs_test_data): Update call to AUTO_TESTS_c_f.
11275 (carg_test_data): Likewise.
11276 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
11277 (ccos_test_data): Update call to AUTO_TESTS_c_c.
11278 (ccosh_test_data): Likewise.
11279 (cexp_test_data): Likewise.
11280 (clog_test_data): Likewise.
11281 (clog10_test_data): Likewise.
11282 (cos_test_data): Update call to AUTO_TESTS_f_f.
11283 (cos_test): Use ALL_RM_TEST.
11284 (cos_tonearest_test_data): Remove.
11285 (cos_test_tonearest): Likewise.
11286 (cos_towardzero_test_data): Likewise.
11287 (cos_test_towardzero): Likewise.
11288 (cos_downward_test_data): Likewise.
11289 (cos_test_downward): Likewise.
11290 (cos_upward_test_data): Likewise.
11291 (cos_test_upward): Likewise.
11292 (cosh_test_data): Update call to AUTO_TESTS_f_f.
11293 (cosh_test): Use ALL_RM_TEST.
11294 (cosh_tonearest_test_data): Remove.
11295 (cosh_test_tonearest): Likewise.
11296 (cosh_towardzero_test_data): Likewise.
11297 (cosh_test_towardzero): Likewise.
11298 (cosh_downward_test_data): Likewise.
11299 (cosh_test_downward): Likewise.
11300 (cosh_upward_test_data): Likewise.
11301 (cosh_test_upward): Likewise.
11302 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
11303 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
11304 (ctan_test_data): Likewise.
11305 (ctan_test): Use ALL_RM_TEST.
11306 (ctan_tonearest_test_data): Remove.
11307 (ctan_test_tonearest): Likewise.
11308 (ctan_towardzero_test_data): Likewise.
11309 (ctan_test_towardzero): Likewise.
11310 (ctan_downward_test_data): Likewise.
11311 (ctan_test_downward): Likewise.
11312 (ctan_upward_test_data): Likewise.
11313 (ctan_test_upward): Likewise.
11314 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
11315 (ctanh_test): Use ALL_RM_TEST.
11316 (ctanh_tonearest_test_data): Remove.
11317 (ctanh_test_tonearest): Likewise.
11318 (ctanh_towardzero_test_data): Likewise.
11319 (ctanh_test_towardzero): Likewise.
11320 (ctanh_downward_test_data): Likewise.
11321 (ctanh_test_downward): Likewise.
11322 (ctanh_upward_test_data): Likewise.
11323 (ctanh_test_upward): Likewise.
11324 (erf_test_data): Update call to AUTO_TESTS_f_f.
11325 (erfc_test_data): Likewise.
11326 (exp_test_data): Likewise.
11327 (exp_test): Use ALL_RM_TEST.
11328 (exp_tonearest_test_data): Remove.
11329 (exp_test_tonearest): Likewise.
11330 (exp_towardzero_test_data): Likewise.
11331 (exp_test_towardzero): Likewise.
11332 (exp_downward_test_data): Likewise.
11333 (exp_test_downward): Likewise.
11334 (exp_upward_test_data): Likewise.
11335 (exp_test_upward): Likewise.
11336 (exp10_test_data): Update call to AUTO_TESTS_f_f.
11337 (exp10_test): Use ALL_RM_TEST.
11338 (exp10_tonearest_test_data): Remove.
11339 (exp10_test_tonearest): Likewise.
11340 (exp10_towardzero_test_data): Likewise.
11341 (exp10_test_towardzero): Likewise.
11342 (exp10_downward_test_data): Likewise.
11343 (exp10_test_downward): Likewise.
11344 (exp10_upward_test_data): Likewise.
11345 (exp10_test_upward): Likewise.
11346 (exp2_test_data): Update call to AUTO_TESTS_f_f.
11347 (expm1_test_data): Likewise.
11348 (expm1_test): Use ALL_RM_TEST.
11349 (expm1_tonearest_test_data): Remove.
11350 (expm1_test_tonearest): Likewise.
11351 (expm1_towardzero_test_data): Likewise.
11352 (expm1_test_towardzero): Likewise.
11353 (expm1_downward_test_data): Likewise.
11354 (expm1_test_downward): Likewise.
11355 (expm1_upward_test_data): Likewise.
11356 (expm1_test_upward): Likewise.
11357 (fma_test_data): Update call to AUTO_TESTS_fff_f.
11358 (fma_test): Use ALL_RM_TEST.
11359 (fma_towardzero_test_data): Remove.
11360 (fma_test_towardzero): Likewise.
11361 (fma_downward_test_data): Likewise.
11362 (fma_test_downward): Likewise.
11363 (fma_upward_test_data): Likewise.
11364 (fma_test_upward): Likewise.
11365 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
11366 (j0_test_data): Update call to AUTO_TESTS_f_f.
11367 (j1_test_data): Likewise.
11368 (jn_test_data): Update call to AUTO_TESTS_if_f.
11369 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
11370 (log_test_data): Update call to AUTO_TESTS_f_f.
11371 (log10_test_data): Likewise.
11372 (log1p_test_data): Likewise.
11373 (log2_test_data): Likewise.
11374 (pow_test_data): Update call to AUTO_TESTS_ff_f.
11375 (pow_tonearest_test_data): Likewise.
11376 (sin_test_data): Update call to AUTO_TESTS_f_f.
11377 (sin_test): Use ALL_RM_TEST.
11378 (sin_tonearest_test_data): Remove.
11379 (sin_test_tonearest): Likewise.
11380 (sin_towardzero_test_data): Likewise.
11381 (sin_test_towardzero): Likewise.
11382 (sin_downward_test_data): Likewise.
11383 (sin_test_downward): Likewise.
11384 (sin_upward_test_data): Likewise.
11385 (sin_test_upward): Likewise.
11386 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
11387 (sinh_test_data): Update call to AUTO_TESTS_f_f.
11388 (sinh_test): Use ALL_RM_TEST.
11389 (sinh_tonearest_test_data): Remove.
11390 (sinh_test_tonearest): Likewise.
11391 (sinh_towardzero_test_data): Likewise.
11392 (sinh_test_towardzero): Likewise.
11393 (sinh_downward_test_data): Likewise.
11394 (sinh_test_downward): Likewise.
11395 (sinh_upward_test_data): Likewise.
11396 (sinh_test_upward): Likewise.
11397 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
11398 (sqrt_test): Use ALL_RM_TEST.
11399 (sqrt_tonearest_test_data): Remove.
11400 (sqrt_test_tonearest): Likewise.
11401 (sqrt_towardzero_test_data): Likewise.
11402 (sqrt_test_towardzero): Likewise.
11403 (sqrt_downward_test_data): Likewise.
11404 (sqrt_test_downward): Likewise.
11405 (sqrt_upward_test_data): Likewise.
11406 (sqrt_test_upward): Likewise.
11407 (tan_test_data): Update call to AUTO_TESTS_f_f.
11408 (tan_test): Use ALL_RM_TEST.
11409 (tan_tonearest_test_data): Remove.
11410 (tan_test_tonearest): Likewise.
11411 (tan_towardzero_test_data): Likewise.
11412 (tan_test_towardzero): Likewise.
11413 (tan_downward_test_data): Likewise.
11414 (tan_test_downward): Likewise.
11415 (tan_upward_test_data): Likewise.
11416 (tan_test_upward): Likewise.
11417 (tanh_test_data): Update call to AUTO_TESTS_f_f.
11418 (tgamma_test_data): Likewise.
11419 (y0_test_data): Likewise.
11420 (y1_test_data): Likewise.
11421 (yn_test_data): Update call to AUTO_TESTS_if_f.
11422 (main): Do not call removed functions.
11423
11424 2014-03-19 Joseph Myers <joseph@codesourcery.com>
11425
11426 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
11427 (ldexp_test_data): Remove.
11428 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
11429 scalbn_test_data.
11430 (scalb_test): Use ALL_RM_TEST.
11431
11432 2014-03-19 Andreas Schwab <schwab@suse.de>
11433
11434 * nscd/nscd.service: Also invalidate netgroup cache on reload.
11435
11436 2014-03-19 Joseph Myers <joseph@codesourcery.com>
11437
11438 [BZ #16649]
11439 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
11440 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
11441 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
11442 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11443 (__ASSUME_PREADV): Undefine.
11444 (__ASSUME_PWRITEV): Likewise.
11445
11446 2014-03-18 Roland McGrath <roland@hack.frob.com>
11447
11448 * bits/mman-linux.h: Add comment about non-Linux use.
11449 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
11450 bits/mman-linux.h resting place.
11451
11452 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
11453 * bits/mman-linux.h: ... here.
11454
11455 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11456
11457 * conform/conformtest.pl: Add standard definition when calling C
11458 preprocessor on data files.
11459 (checknamespace): Remove unused variable.
11460
11461 2014-03-18 Joseph Myers <joseph@codesourcery.com>
11462
11463 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
11464 minus_oflow, plus_uflow and minus_uflow in expected results.
11465 * math/libm-test.inc (scalbn_test_data): Add more tests of
11466 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
11467 minus_uflow.
11468 (scalbn_test): Use ALL_RM_TEST.
11469 (scalbln_test_data): Add more tests of negative arguments. Use
11470 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
11471 (scalbln_test): Use ALL_RM_TEST.
11472
11473 2014-03-18 Roland McGrath <roland@hack.frob.com>
11474
11475 * scripts/abilist.awk: Ignore symbols marked with .hidden.
11476
11477 2014-03-18 Will Newton <will.newton@linaro.org>
11478
11479 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
11480 inaccurate comment.
11481
11482 2014-03-18 Joseph Myers <joseph@codesourcery.com>
11483
11484 * Makerules [!subdir] (check-abi): Exit with error status if a
11485 test failed.
11486
11487 2014-03-17 Joseph Myers <joseph@codesourcery.com>
11488
11489 * math/libm-test.inc (nearbyint_test_data): Include all tests used
11490 for rint. Include results for all rounding modes.
11491 (nearbyint_test): Use ALL_RM_TEST.
11492 (rint_test_data): Include all tests used for nearbyint.
11493
11494 2014-03-17 Will Newton <will.newton@linaro.org>
11495
11496 * nptl/sysdeps/pthread/pthread.h: Revert previous
11497 change.
11498
11499 * sysdeps/generic/ldsodefs.h: Revert previous
11500 change.
11501
11502 * libio/genops.c: Revert previous change.
11503 * libio/libioP.h: Likewise.
11504 * stdio-common/vfprintf.c: Likewise.
11505
11506 * sysdeps/generic/math_private.h: Revert previous
11507 change.
11508
11509 * sysdeps/generic/math_private.h: Check whether
11510 HAVE_RM_CTX is defined with #ifdef rather
11511 than #if.
11512
11513 * argp/argp-fmtstream.h: Check whether
11514 __STRICT_ANSI__ is defined with #ifdef rather
11515 than #if.
11516 * argp/argp.h: Likewise.
11517
11518 * libio/genops.c: Check whether
11519 _IO_JUMPS_OFFSET is defined with #ifdef rather
11520 than #if.
11521 * libio/libioP.h: Likewise.
11522 * stdio-common/vfprintf.c: Likewise.
11523
11524 * sysdeps/generic/ldsodefs.h: Check whether
11525 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
11526 than #if.
11527
11528 * nptl/sysdeps/pthread/pthread.h: Check
11529 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
11530 its value.
11531
11532 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
11533
11534 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
11535 setting O_APPEND.
11536 * libio/tst-ftell-active-handler.c (do_append_test): Add a
11537 test case.
11538
11539 [BZ #16680]
11540 * libio/fileops.c (_IO_file_open): Seek to end of file but
11541 don't cache the offset.
11542 (get_file_offset): Remove function.
11543 (do_ftell): Use cached offset when available.
11544 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
11545 don't cache the offset.
11546 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
11547 case.
11548 (do_one_test): Call it.
11549 (do_ftell_test): Fix up expected old offset for a+ mode.
11550 * libio/wfileops.c (do_ftell_wide): Used cached offset when
11551 available.
11552
11553 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
11554 up test status with function return status.
11555 (do_write_test): Likewise.
11556 (do_append_test): Likewise.
11557
11558 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
11559 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
11560 Remove.
11561
11562 2014-03-17 Joseph Myers <joseph@codesourcery.com>
11563
11564 * math/gen-libm-test.pl (parse_args): Handle results specified for
11565 each rounding mode separately.
11566 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
11567 tests and results from lrint_tonearest_test_data,
11568 lrint_towardzero_test_data, lrint_downward_test_data and
11569 lrint_upward_test_data.
11570 (lrint_test): Use ALL_RM_TEST.
11571 (lrint_tonearest_test_data): Remove.
11572 (lrint_test_tonearest): Likewise.
11573 (lrint_towardzero_test_data): Likewise.
11574 (lrint_test_towardzero): Likewise.
11575 (lrint_downward_test_data): Likewise.
11576 (lrint_test_downward): Likewise.
11577 (lrint_upward_test_data): Likewise.
11578 (lrint_test_upward): Likewise.
11579 (llrint_test_data): Merge in per-rounding-mode tests and results
11580 from llrint_tonearest_test_data, llrint_towardzero_test_data,
11581 llrint_downward_test_data and llrint_upward_test_data.
11582 (llrint_test): Use ALL_RM_TEST.
11583 (llrint_tonearest_test_data): Remove.
11584 (llrint_test_tonearest): Likewise.
11585 (llrint_towardzero_test_data): Likewise.
11586 (llrint_test_towardzero): Likewise.
11587 (llrint_downward_test_data): Likewise.
11588 (llrint_test_downward): Likewise.
11589 (llrint_upward_test_data): Likewise.
11590 (llrint_test_upward): Likewise.
11591 (rint_test_data): Merge in per-rounding-mode tests and results
11592 from rint_tonearest_test_data, rint_towardzero_test_data,
11593 rint_downward_test_data and rint_upward_test_data. Add
11594 per-rounding-mode results for tests not in those arrays.
11595 (rint_test): Use ALL_RM_TEST.
11596 (rint_tonearest_test_data): Remove.
11597 (rint_test_tonearest): Likewise.
11598 (rint_towardzero_test_data): Likewise.
11599 (rint_test_towardzero): Likewise.
11600 (rint_downward_test_data): Likewise.
11601 (rint_test_downward): Likewise.
11602 (rint_upward_test_data): Likewise.
11603 (rint_test_upward): Likewise.
11604 (main): Don't call removed functions.
11605
11606 2014-03-14 Roland McGrath <roland@hack.frob.com>
11607
11608 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
11609 "Compiled on ..." crapola. It is anti-useful.
11610
11611 2014-03-14 Joseph Myers <joseph@codesourcery.com>
11612
11613 * scripts/evaluate-test.sh: Handle fourth argument to determine
11614 whether test run should stop on failure.
11615 * Makeconfig (stop-on-test-failure): New variable.
11616 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
11617 $(stop-on-test-failure).
11618 * Makefile (tests): Give a summary of results from testing and
11619 exit with failure status if they include an ERROR or FAIL.
11620 (xtests): Likewise.
11621 * manual/install.texi (Configuring and compiling): Mention
11622 stop-on-test-failure=y.
11623 * INSTALL: Regenerated.
11624
11625 2014-03-14 Roland McGrath <roland@hack.frob.com>
11626
11627 * scripts/versionlist.awk: New file.
11628 * Makerules [$(build-shared) = yes]
11629 (postclean-generated): Add Versions.def, not Versions.def.v and
11630 Versions.def.v.i.
11631 ($(common-objpfx)Versions.def.v.i): Target removed.
11632 ($(common-objpfx)Versions.def): New target.
11633 ($(common-objpfx)Versions.all): Depend on that rather that
11634 $(common-objpfx)Versions.def.v.
11635 * Versions.def: File removed.
11636
11637 * Makeconfig (+gccwarn): Add -Wundef.
11638 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
11639 a dl-sysdep.h breaking its contract.
11640 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
11641 * include/stackinfo.h: New file.
11642 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
11643 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
11644 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
11645 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
11646 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
11647 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
11648 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
11649 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
11650 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
11651 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
11652 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
11653 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
11654 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
11655 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
11656 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
11657
11658 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11659
11660 [BZ #16707]
11661 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
11662 implementation.
11663 * math/libm-test.inc (round_test_data): Add more tests.
11664
11665 [BZ #16706]
11666 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
11667 implementation.
11668 * math/libm-test.inc (nearbyint_test_data): Add more tests.
11669
11670 [BZ #16701]
11671 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
11672 implementation.
11673 * math/libm-test.inc (ceil_test_data): Add more tests.
11674
11675 * math/libm-test.inc (trunc_test_data): Add more tests related to
11676 BZ#16414.
11677
11678 2014-03-14 Roland McGrath <roland@hack.frob.com>
11679
11680 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
11681 with #if rather than #ifdef.
11682 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
11683
11684 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
11685
11686 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
11687 first. Disable AVX-512 GCC support if assembler doesn't support
11688 it.
11689 * sysdeps/x86_64/configure: Regenerated.
11690
11691 2014-03-13 Carlos O'Donell <carlos@redhat.com>
11692
11693 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
11694 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
11695 (__old_pthread_attr_setstack): Likewise.
11696 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
11697 [!_STACK_GROWS_DOWN]: Likewise.
11698
11699 2014-03-13 Mike Frysinger <vapier@gentoo.org>
11700
11701 * config.make.in (have-bash2): Delete.
11702 * configure.ac (libc_cv_have_bash2): Delete.
11703 * configure: Regenerate.
11704 * elf/Makefile (common-ldd-rewrite): Rename to ...
11705 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
11706 (sh-ldd-rewrite): Delete.
11707 (bash-ldd-rewrite): Delete.
11708 (have-bash2): Delete checks.
11709 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
11710 ldd-rewrite.
11711
11712 * config.make.in (have-ksh): Delete.
11713 (KSH): Delete.
11714 * configure.ac (libc_cv_have_ksh): Delete.
11715 * configure: Regenerate.
11716
11717 * elf/Makefile: Delete $(have-ksh) check.
11718 ($(objpfx)sotruss): Change KSH to BASH.
11719 * elf/sotruss.ksh: Rename to ...
11720 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
11721 function style to match POSIX. Drop ksh vim mode setting.
11722
11723 * manual/time.texi (Specifying the Time Zone with TZ): Change
11724 Tuesday to Thursday.
11725
11726 * debug/tst-longjmp_chk2.c: Update header comment.
11727 (stackoverflow_handler): Add comment. Call assert on pass value.
11728
11729 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
11730
11731 [BZ #16194]
11732 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
11733 (HAVE_AVX512_ASM_SUPPORT): Likewise.
11734 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
11735 (La_x86_64_vector): Add zmm.
11736 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
11737 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
11738 ($(objpfx)tst-audit10): New target.
11739 ($(objpfx)tst-audit10.out): Likewise.
11740 (tst-audit10-ENV): New.
11741 (AVX512-CFLAGS): Likewise.
11742 (CFLAGS-tst-audit10.c): Likewise.
11743 (CFLAGS-tst-auditmod10a.c): Likewise.
11744 (CFLAGS-tst-auditmod10b.c): Likewise.
11745 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
11746 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
11747 * sysdeps/x86_64/configure: Regenerated.
11748 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
11749 AVX-512 zmm register support.
11750 (_dl_x86_64_save_sse): Likewise.
11751 (_dl_x86_64_restore_sse): Likewise.
11752 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
11753 size vector registers.
11754 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
11755 (ZMM_SIZE): Likewise.
11756 * sysdeps/x86_64/tst-audit10.c: New file.
11757 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
11758 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
11759
11760 2014-03-13 Roland McGrath <roland@hack.frob.com>
11761
11762 * configure.ac (HAVE_EHDR_START): New check.
11763 * configure: Regenerated.
11764 * config.h.in (HAVE_EHDR_START): New #undef.
11765 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
11766 assuming the lowest-addressed segment maps the start of the file.
11767
11768 2014-03-13 Joseph Myers <joseph@codesourcery.com>
11769
11770 * INSTALL: Regenerated.
11771
11772 2014-03-13 Will Newton <will.newton@linaro.org>
11773
11774 * manual/setjmp.texi (System V contexts): Improve
11775 clarity and grammar of documentation.
11776
11777 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
11778
11779 [BZ #16381]
11780 * elf/Makefile (tests): Add tst-pie2.
11781 (tests-pie): Add tst-pie2.
11782 * elf/tst-pie2.c: New file.
11783 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
11784 for ET_EXEC.
11785 * elf/rtld.c (map_doit): Load executable as lt_executable.
11786 (dl_main): Likewise.
11787
11788 2014-03-12 Joseph Myers <joseph@codesourcery.com>
11789
11790 [BZ #16642]
11791 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11792 (__ASSUME_PSELECT): Undefine.
11793
11794 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11795
11796 [BZ #16689]
11797 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
11798 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
11799 static build.
11800 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
11801 selector for static builds.
11802
11803 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
11804
11805 [BZ #16695]
11806 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
11807 key in the buffer.
11808
11809 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11810
11811 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
11812 IFUNC selector for static builds.
11813
11814 2014-03-11 Joseph Myers <joseph@codesourcery.com>
11815
11816 * sysdeps/mips/math_private.h [__mips_hard_float]
11817 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
11818 libc_feresetround_mips_ctx.
11819 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
11820 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
11821 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
11822
11823 [BZ #16677]
11824 * math/s_nextafter.c (__nextafter): Do not return value from
11825 overflowing computation.
11826 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
11827 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
11828 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
11829 Likewise.
11830 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
11831 Likewise.
11832 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
11833 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
11834
11835 2014-03-11 Roland McGrath <roland@hack.frob.com>
11836
11837 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
11838 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
11839 Move sfi_sp use from the load-multiple (that no longer sets sp) to
11840 the new mov targetting sp.
11841
11842 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11843
11844 [BZ #16683]
11845 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
11846 Define it for static builds as well.
11847 (NO_BZERO_IMPL): Likewise.
11848
11849 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
11850
11851 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
11852 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
11853 multiarch strspn for PPC64.
11854 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
11855 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
11856 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
11857 (__libc_ifunc_impl_list): Likewise.
11858 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
11859 multiarch optimizations
11860 * string/strspn.c (strspn): Using macro to redefine symbol name.
11861
11862 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
11863 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11864
11865 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
11866 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
11867 multiarch strncat for PPC64.
11868 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
11869 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
11870 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
11871 (__libc_ifunc_impl_list): Likewise.
11872 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
11873 multiarch optimizations
11874
11875 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
11876
11877 [BZ #16639]
11878 * nscd/nscd.service: Make service type forking.
11879
11880 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11881
11882 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
11883 sign in non default rounding modes.
11884 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
11885
11886 2014-03-08 Joseph Myers <joseph@codesourcery.com>
11887
11888 * math/libm-test.inc (ALL_RM_TEST): New macro.
11889 (ceil_test): Use ALL_RM_TEST.
11890 (cimag_test): Likewise.
11891 (conj_test): Likewise.
11892 (copysign_test): Likewise.
11893 (cproj_test): Likewise.
11894 (creal_test): Likewise.
11895 (fabs_test): Likewise.
11896 (floor_test): Likewise.
11897 (fmax_test): Likewise.
11898 (fmin_test): Likewise.
11899 (fmod_test): Likewise.
11900 (fpclassify_test): Likewise.
11901 (frexp_test): Likewise.
11902 (ilogb_test): Likewise.
11903 (isfinite_test): Likewise.
11904 (finite_test): Likewise.
11905 (isgreater_test): Likewise.
11906 (isgreaterequal_test): Likewise.
11907 (isinf_test): Likewise.
11908 (isless_test): Likewise.
11909 (islessequal_test): Likewise.
11910 (islessgreater_test): Likewise.
11911 (isnan_test): Likewise.
11912 (isnormal_test): Likewise.
11913 (issignaling_test): Likewise.
11914 (isunordered_test): Likewise.
11915 (logb_test): Likewise.
11916 (logb_downward_test_data): Remove.
11917 (logb_test_downward): Likewise.
11918 (lround_test): Use ALL_RM_TEST.
11919 (llround_test): Likewise.
11920 (modf_test): Likewise.
11921 (nexttoward_test): Likewise.
11922 (remainder_test): Likewise.
11923 (drem_test): Likewise.
11924 (remainder_tonearest_test_data): Likewise.
11925 (remainder_test_tonearest): Likewise.
11926 (drem_test_tonearest): Likewise.
11927 (remainder_towardzero_test_data): Likewise.
11928 (remainder_test_towardzero): Likewise.
11929 (drem_test_towardzero): Likewise.
11930 (remainder_downward_test_data): Likewise.
11931 (remainder_test_downward): Likewise.
11932 (drem_test_downward): Likewise.
11933 (remainder_upward_test_data): Likewise.
11934 (remainder_test_upward): Likewise.
11935 (drem_test_upward): Likewise.
11936 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
11937 (round_test): Use ALL_RM_TEST.
11938 (signbit_test): Likewise.
11939 (trunc_test): Likewise.
11940 (significand_test): Likewise.
11941 (main): Don't call removed functions.
11942
11943 2014-03-07 Joseph Myers <joseph@codesourcery.com>
11944
11945 [BZ #16674]
11946 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
11947 || __USE_XOPEN2K8].
11948 (ILL_ILLOPN): Likewise.
11949 (ILL_ILLADR): Likewise.
11950 (ILL_ILLTRP): Likewise.
11951 (ILL_PRVOPC): Likewise.
11952 (ILL_PRVREG): Likewise.
11953 (ILL_COPROC): Likewise.
11954 (ILL_BADSTK): Likewise.
11955 (FPE_INTDIV): Likewise.
11956 (FPE_INTOVF): Likewise.
11957 (FPE_FLTDIV): Likewise.
11958 (FPE_FLTOVF): Likewise.
11959 (FPE_FLTUND): Likewise.
11960 (FPE_FLTRES): Likewise.
11961 (FPE_FLTINV): Likewise.
11962 (FPE_FLTSUB): Likewise.
11963 (SEGV_MAPERR): Likewise.
11964 (SEGV_ACCERR): Likewise.
11965 (BUS_ADRALN): Likewise.
11966 (BUS_ADRERR): Likewise.
11967 (BUS_OBJERR): Likewise.
11968 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
11969 (TRAP_TRACE): Likewise.
11970 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
11971 __USE_XOPEN2K8].
11972 (CLD_KILLED): Likewise.
11973 (CLD_DUMPED): Likewise.
11974 (CLD_TRAPPED): Likewise.
11975 (CLD_STOPPED): Likewise.
11976 (CLD_CONTINUED): Likewise.
11977 (POLL_IN): Likewise.
11978 (POLL_OUT): Likewise.
11979 (POLL_MSG): Likewise.
11980 (POLL_ERR): Likewise.
11981 (POLL_PRI): Likewise.
11982 (POLL_HUP): Likewise.
11983 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
11984 Likewise.
11985 (ILL_ILLOPN): Likewise.
11986 (ILL_ILLADR): Likewise.
11987 (ILL_ILLTRP): Likewise.
11988 (ILL_PRVOPC): Likewise.
11989 (ILL_PRVREG): Likewise.
11990 (ILL_COPROC): Likewise.
11991 (ILL_BADSTK): Likewise.
11992 (FPE_INTDIV): Likewise.
11993 (FPE_INTOVF): Likewise.
11994 (FPE_FLTDIV): Likewise.
11995 (FPE_FLTOVF): Likewise.
11996 (FPE_FLTUND): Likewise.
11997 (FPE_FLTRES): Likewise.
11998 (FPE_FLTINV): Likewise.
11999 (FPE_FLTSUB): Likewise.
12000 (SEGV_MAPERR): Likewise.
12001 (SEGV_ACCERR): Likewise.
12002 (BUS_ADRALN): Likewise.
12003 (BUS_ADRERR): Likewise.
12004 (BUS_OBJERR): Likewise.
12005 (BUS_MCEERR_AR): Likewise.
12006 (BUS_MCEERR_AO): Likewise.
12007 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
12008 (TRAP_TRACE): Likewise.
12009 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
12010 __USE_XOPEN2K8].
12011 (CLD_KILLED): Likewise.
12012 (CLD_DUMPED): Likewise.
12013 (CLD_TRAPPED): Likewise.
12014 (CLD_STOPPED): Likewise.
12015 (CLD_CONTINUED): Likewise.
12016 (POLL_IN): Likewise.
12017 (POLL_OUT): Likewise.
12018 (POLL_MSG): Likewise.
12019 (POLL_ERR): Likewise.
12020 (POLL_PRI): Likewise.
12021 (POLL_HUP): Likewise.
12022 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
12023 (ILL_ILLOPN): Likewise.
12024 (ILL_ILLADR): Likewise.
12025 (ILL_ILLTRP): Likewise.
12026 (ILL_PRVOPC): Likewise.
12027 (ILL_PRVREG): Likewise.
12028 (ILL_COPROC): Likewise.
12029 (ILL_BADSTK): Likewise.
12030 (FPE_INTDIV): Likewise.
12031 (FPE_INTOVF): Likewise.
12032 (FPE_FLTDIV): Likewise.
12033 (FPE_FLTOVF): Likewise.
12034 (FPE_FLTUND): Likewise.
12035 (FPE_FLTRES): Likewise.
12036 (FPE_FLTINV): Likewise.
12037 (FPE_FLTSUB): Likewise.
12038 (SEGV_MAPERR): Likewise.
12039 (SEGV_ACCERR): Likewise.
12040 (BUS_ADRALN): Likewise.
12041 (BUS_ADRERR): Likewise.
12042 (BUS_OBJERR): Likewise.
12043 (BUS_MCEERR_AR): Likewise.
12044 (BUS_MCEERR_AO): Likewise.
12045 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
12046 (TRAP_TRACE): Likewise.
12047 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
12048 __USE_XOPEN2K8].
12049 (CLD_KILLED): Likewise.
12050 (CLD_DUMPED): Likewise.
12051 (CLD_TRAPPED): Likewise.
12052 (CLD_STOPPED): Likewise.
12053 (CLD_CONTINUED): Likewise.
12054 (POLL_IN): Likewise.
12055 (POLL_OUT): Likewise.
12056 (POLL_MSG): Likewise.
12057 (POLL_ERR): Likewise.
12058 (POLL_PRI): Likewise.
12059 (POLL_HUP): Likewise.
12060 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
12061 Likewise.
12062 (ILL_ILLOPN): Likewise.
12063 (ILL_ILLADR): Likewise.
12064 (ILL_ILLTRP): Likewise.
12065 (ILL_PRVOPC): Likewise.
12066 (ILL_PRVREG): Likewise.
12067 (ILL_COPROC): Likewise.
12068 (ILL_BADSTK): Likewise.
12069 (ILL_BADIADDR): Likewise.
12070 (ILL_BREAK): Likewise.
12071 (FPE_INTDIV): Likewise.
12072 (FPE_INTOVF): Likewise.
12073 (FPE_FLTDIV): Likewise.
12074 (FPE_FLTOVF): Likewise.
12075 (FPE_FLTUND): Likewise.
12076 (FPE_FLTRES): Likewise.
12077 (FPE_FLTINV): Likewise.
12078 (FPE_FLTSUB): Likewise.
12079 (FPE_DECOVF): Likewise.
12080 (FPE_DECDIV): Likewise.
12081 (FPE_DECERR): Likewise.
12082 (FPE_INVASC): Likewise.
12083 (FPE_INVDEC): Likewise.
12084 (SEGV_MAPERR): Likewise.
12085 (SEGV_ACCERR): Likewise.
12086 (SEGV_PSTKOVF): Likewise.
12087 (BUS_ADRALN): Likewise.
12088 (BUS_ADRERR): Likewise.
12089 (BUS_OBJERR): Likewise.
12090 (BUS_MCEERR_AR): Likewise.
12091 (BUS_MCEERR_AO): Likewise.
12092 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
12093 (TRAP_TRACE): Likewise.
12094 (TRAP_BRANCH): Likewise.
12095 (TRAP_HWBKPT): Likewise.
12096 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
12097 __USE_XOPEN2K8].
12098 (CLD_KILLED): Likewise.
12099 (CLD_DUMPED): Likewise.
12100 (CLD_TRAPPED): Likewise.
12101 (CLD_STOPPED): Likewise.
12102 (CLD_CONTINUED): Likewise.
12103 (POLL_IN): Likewise.
12104 (POLL_OUT): Likewise.
12105 (POLL_MSG): Likewise.
12106 (POLL_ERR): Likewise.
12107 (POLL_PRI): Likewise.
12108 (POLL_HUP): Likewise.
12109 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
12110 (ILL_ILLOPN): Likewise.
12111 (ILL_ILLADR): Likewise.
12112 (ILL_ILLTRP): Likewise.
12113 (ILL_PRVOPC): Likewise.
12114 (ILL_PRVREG): Likewise.
12115 (ILL_COPROC): Likewise.
12116 (ILL_BADSTK): Likewise.
12117 (FPE_INTDIV): Likewise.
12118 (FPE_INTOVF): Likewise.
12119 (FPE_FLTDIV): Likewise.
12120 (FPE_FLTOVF): Likewise.
12121 (FPE_FLTUND): Likewise.
12122 (FPE_FLTRES): Likewise.
12123 (FPE_FLTINV): Likewise.
12124 (FPE_FLTSUB): Likewise.
12125 (SEGV_MAPERR): Likewise.
12126 (SEGV_ACCERR): Likewise.
12127 (BUS_ADRALN): Likewise.
12128 (BUS_ADRERR): Likewise.
12129 (BUS_OBJERR): Likewise.
12130 (BUS_MCEERR_AR): Likewise.
12131 (BUS_MCEERR_AO): Likewise.
12132 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
12133 (TRAP_TRACE): Likewise.
12134 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
12135 __USE_XOPEN2K8].
12136 (CLD_KILLED): Likewise.
12137 (CLD_DUMPED): Likewise.
12138 (CLD_TRAPPED): Likewise.
12139 (CLD_STOPPED): Likewise.
12140 (CLD_CONTINUED): Likewise.
12141 (POLL_IN): Likewise.
12142 (POLL_OUT): Likewise.
12143 (POLL_MSG): Likewise.
12144 (POLL_ERR): Likewise.
12145 (POLL_PRI): Likewise.
12146 (POLL_HUP): Likewise.
12147 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
12148 (ILL_ILLOPN): Likewise.
12149 (ILL_ILLADR): Likewise.
12150 (ILL_ILLTRP): Likewise.
12151 (ILL_PRVOPC): Likewise.
12152 (ILL_PRVREG): Likewise.
12153 (ILL_COPROC): Likewise.
12154 (ILL_BADSTK): Likewise.
12155 (FPE_INTDIV): Likewise.
12156 (FPE_INTOVF): Likewise.
12157 (FPE_FLTDIV): Likewise.
12158 (FPE_FLTOVF): Likewise.
12159 (FPE_FLTUND): Likewise.
12160 (FPE_FLTRES): Likewise.
12161 (FPE_FLTINV): Likewise.
12162 (FPE_FLTSUB): Likewise.
12163 (SEGV_MAPERR): Likewise.
12164 (SEGV_ACCERR): Likewise.
12165 (BUS_ADRALN): Likewise.
12166 (BUS_ADRERR): Likewise.
12167 (BUS_OBJERR): Likewise.
12168 (BUS_MCEERR_AR): Likewise.
12169 (BUS_MCEERR_AO): Likewise.
12170 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
12171 (TRAP_TRACE): Likewise.
12172 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
12173 __USE_XOPEN2K8].
12174 (CLD_KILLED): Likewise.
12175 (CLD_DUMPED): Likewise.
12176 (CLD_TRAPPED): Likewise.
12177 (CLD_STOPPED): Likewise.
12178 (CLD_CONTINUED): Likewise.
12179 (POLL_IN): Likewise.
12180 (POLL_OUT): Likewise.
12181 (POLL_MSG): Likewise.
12182 (POLL_ERR): Likewise.
12183 (POLL_PRI): Likewise.
12184 (POLL_HUP): Likewise.
12185 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
12186 (ILL_ILLOPN): Likewise.
12187 (ILL_ILLADR): Likewise.
12188 (ILL_ILLTRP): Likewise.
12189 (ILL_PRVOPC): Likewise.
12190 (ILL_PRVREG): Likewise.
12191 (ILL_COPROC): Likewise.
12192 (ILL_BADSTK): Likewise.
12193 (FPE_INTDIV): Likewise.
12194 (FPE_INTOVF): Likewise.
12195 (FPE_FLTDIV): Likewise.
12196 (FPE_FLTOVF): Likewise.
12197 (FPE_FLTUND): Likewise.
12198 (FPE_FLTRES): Likewise.
12199 (FPE_FLTINV): Likewise.
12200 (FPE_FLTSUB): Likewise.
12201 (SEGV_MAPERR): Likewise.
12202 (SEGV_ACCERR): Likewise.
12203 (BUS_ADRALN): Likewise.
12204 (BUS_ADRERR): Likewise.
12205 (BUS_OBJERR): Likewise.
12206 (BUS_MCEERR_AR): Likewise.
12207 (BUS_MCEERR_AO): Likewise.
12208 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
12209 (TRAP_TRACE): Likewise.
12210 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
12211 __USE_XOPEN2K8].
12212 (CLD_KILLED): Likewise.
12213 (CLD_DUMPED): Likewise.
12214 (CLD_TRAPPED): Likewise.
12215 (CLD_STOPPED): Likewise.
12216 (CLD_CONTINUED): Likewise.
12217 (POLL_IN): Likewise.
12218 (POLL_OUT): Likewise.
12219 (POLL_MSG): Likewise.
12220 (POLL_ERR): Likewise.
12221 (POLL_PRI): Likewise.
12222 (POLL_HUP): Likewise.
12223 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
12224 (ILL_ILLOPN): Likewise.
12225 (ILL_ILLADR): Likewise.
12226 (ILL_ILLTRP): Likewise.
12227 (ILL_PRVOPC): Likewise.
12228 (ILL_PRVREG): Likewise.
12229 (ILL_COPROC): Likewise.
12230 (ILL_BADSTK): Likewise.
12231 (ILL_DBLFLT): Likewise.
12232 (ILL_HARDWALL): Likewise.
12233 (FPE_INTDIV): Likewise.
12234 (FPE_INTOVF): Likewise.
12235 (FPE_FLTDIV): Likewise.
12236 (FPE_FLTOVF): Likewise.
12237 (FPE_FLTUND): Likewise.
12238 (FPE_FLTRES): Likewise.
12239 (FPE_FLTINV): Likewise.
12240 (FPE_FLTSUB): Likewise.
12241 (SEGV_MAPERR): Likewise.
12242 (SEGV_ACCERR): Likewise.
12243 (BUS_ADRALN): Likewise.
12244 (BUS_ADRERR): Likewise.
12245 (BUS_OBJERR): Likewise.
12246 (BUS_MCEERR_AR): Likewise.
12247 (BUS_MCEERR_AO): Likewise.
12248 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
12249 (TRAP_TRACE): Likewise.
12250 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
12251 __USE_XOPEN2K8].
12252 (CLD_KILLED): Likewise.
12253 (CLD_DUMPED): Likewise.
12254 (CLD_TRAPPED): Likewise.
12255 (CLD_STOPPED): Likewise.
12256 (CLD_CONTINUED): Likewise.
12257 (POLL_IN): Likewise.
12258 (POLL_OUT): Likewise.
12259 (POLL_MSG): Likewise.
12260 (POLL_ERR): Likewise.
12261 (POLL_PRI): Likewise.
12262 (POLL_HUP): Likewise.
12263 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
12264 (ILL_ILLOPN): Likewise.
12265 (ILL_ILLADR): Likewise.
12266 (ILL_ILLTRP): Likewise.
12267 (ILL_PRVOPC): Likewise.
12268 (ILL_PRVREG): Likewise.
12269 (ILL_COPROC): Likewise.
12270 (ILL_BADSTK): Likewise.
12271 (FPE_INTDIV): Likewise.
12272 (FPE_INTOVF): Likewise.
12273 (FPE_FLTDIV): Likewise.
12274 (FPE_FLTOVF): Likewise.
12275 (FPE_FLTUND): Likewise.
12276 (FPE_FLTRES): Likewise.
12277 (FPE_FLTINV): Likewise.
12278 (FPE_FLTSUB): Likewise.
12279 (SEGV_MAPERR): Likewise.
12280 (SEGV_ACCERR): Likewise.
12281 (BUS_ADRALN): Likewise.
12282 (BUS_ADRERR): Likewise.
12283 (BUS_OBJERR): Likewise.
12284 (BUS_MCEERR_AR): Likewise.
12285 (BUS_MCEERR_AO): Likewise.
12286 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
12287 (TRAP_TRACE): Likewise.
12288 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
12289 __USE_XOPEN2K8].
12290 (CLD_KILLED): Likewise.
12291 (CLD_DUMPED): Likewise.
12292 (CLD_TRAPPED): Likewise.
12293 (CLD_STOPPED): Likewise.
12294 (CLD_CONTINUED): Likewise.
12295 (POLL_IN): Likewise.
12296 (POLL_OUT): Likewise.
12297 (POLL_MSG): Likewise.
12298 (POLL_ERR): Likewise.
12299 (POLL_PRI): Likewise.
12300 (POLL_HUP): Likewise.
12301 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
12302 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
12303
12304 [BZ #16670]
12305 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
12306 before #include of <time.h>.
12307 [!__USE_XOPEN2K] (__need_timespec): Likewise.
12308 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
12309 (test-xfail-UNIX98/sched.h/conform): Likewise.
12310
12311 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
12312
12313 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
12314 error absence of trapping exception support.
12315 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
12316
12317 2014-03-07 Joseph Myers <joseph@codesourcery.com>
12318
12319 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
12320 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
12321 * timezone/Makefile (testdata): Move definition above include of
12322 Rules.
12323 (test-zones): New variable.
12324 (tests-special): Add zone files.
12325 (build-testdata): Use $(evaluate-test).
12326
12327 * elf/Makefile (tests-special): Rename tests to end with .out.
12328 ($(objpfx)noload-mem): Likewise.
12329 ($(objpfx)tst-leaks1-mem): Likewise.
12330 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
12331 * iconv/Makefile (xtests-special): Change test-iconvconfig to
12332 $(objpfx)test-iconvconfig.out.
12333 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
12334 set -e inside subshell and redirect output to file.
12335 * iconvdata/Makefile (generated): Rename tests to end with .out.
12336 Correct type.
12337 (tests-special): Rename tests to end with .out.
12338 ($(objpfx)mtrace-tst-loading): Likewise.
12339 * intl/Makefile (generated): Likewise.
12340 (tests-special): Likewise.
12341 ($(objpfx)mtrace-tst-gettext): Likewise.
12342 * misc/Makefile (generated): Likewise.
12343 (tests-special): Likewise.
12344 ($(objpfx)tst-error1-mem): Likewise.
12345 * nptl/Makefile (tests-special): Likewise.
12346 ($(objpfx)tst-stack3-mem): Likewise.
12347 (generated): Likewise.
12348 * posix/Makefile (generated): Likewise.
12349 (tests-special): Likewise.
12350 (xtests-special): Likewise.
12351 ($(objpfx)tst-fnmatch-mem): Likewise.
12352 ($(objpfx)bug-regex2-mem): Likewise.
12353 ($(objpfx)bug-regex14-mem): Likewise.
12354 ($(objpfx)bug-regex21-mem): Likewise.
12355 ($(objpfx)bug-regex31-mem): Likewise.
12356 ($(objpfx)tst-vfork3-mem): Likewise.
12357 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
12358 ($(objpfx)tst-pcre-mem): Likewise.
12359 ($(objpfx)tst-boost-mem): Likewise.
12360 ($(objpfx)bug-ga2-mem): Likewise.
12361 ($(objpfx)bug-glob2-mem): Likewise.
12362 * resolv/Makefile (generate): Likewise.
12363 (tests-special): Likewise.
12364 (xtests-special): Likewise.
12365 (generated): Likewise.
12366 ($(objpfx)mtrace-tst-leaks): Likewise.
12367 ($(objpfx)mtrace-tst-leaks2): Likewise.
12368
12369 * scripts/merge-test-results.sh: New file.
12370 * Makefile (tests-special-notdir): New variable.
12371 (tests): Run merge-test-results.sh.
12372 (xtests): Likewise.
12373 * Rules (tests-special-notdir): New variable.
12374 (xtests-special-notdir): Likewise.
12375 (tests): Run merge-test-results.sh
12376 (xtests): Likewise.
12377
12378 * Makeconfig (test-xfail-name): New variable.
12379 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
12380 compute variable name for expected failures.
12381 * conform/Makefile (conformtest-headers-data): New variable.
12382 (conformtest-standards): Likewise.
12383 (conformtest-headers-ISO): Likewise.
12384 (conformtest-headers-ISO99): Likewise.
12385 (conformtest-headers-ISO11): Likewise.
12386 (conformtest-headers-POSIX): Likewise.
12387 (conformtest-headers-XPG3): Likewise.
12388 (conformtest-headers-XPG4): Likewise.
12389 (conformtest-headers-UNIX98): Likewise.
12390 (conformtest-headers-XOPEN2K): Likewise.
12391 (conformtest-headers-POSIX2008): Likewise.
12392 (conformtest-headers-XOPEN2K8): Likewise.
12393 (conformtest-header-list-base): Likewise.
12394 (conformtest-header-list-tests): Likewise.
12395 (conformtest-header-base): Likewise.
12396 (conformtest-header-tests): Likewise.
12397 (tests-special): Add $(conformtest-header-list-tests). If
12398 [$(fast-check) && !$(cross-compiling)], add
12399 $(conformtest-header-tests) instead of
12400 $(objpfx)run-conformtest.out.
12401 (generated): Add $(conformtest-header-list-base). If
12402 [$(fast-check) && !$(cross-compiling)], add
12403 $(conformtest-header-base). Remove previous setting.
12404 ($(conformtest-header-list-tests)): New target.
12405 (test-xfail-run-conformtest): Remove variable.
12406 ($(objpfx)run-conformtest.out): Remove target.
12407 (test-xfail-ISO11/complex.h/conform): New variable.
12408 (test-xfail-ISO11/stdalign.h/conform): Likewise.
12409 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
12410 (test-xfail-XPG3/varargs.h/conform): Likewise.
12411 (test-xfail-XPG4/varargs.h/conform): Likewise.
12412 (test-xfail-UNIX98/varargs.h/conform): Likewise.
12413 (test-xfail-XPG4/ndbm.h/conform): Likewise.
12414 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
12415 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
12416 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
12417 (test-xfail-XPG3/fcntl.h/conform): Likewise.
12418 (test-xfail-XPG3/ftw.h/conform): Likewise.
12419 (test-xfail-XPG3/grp.h/conform): Likewise.
12420 (test-xfail-XPG3/langinfo.h/conform): Likewise.
12421 (test-xfail-XPG3/limits.h/conform): Likewise.
12422 (test-xfail-XPG3/pwd.h/conform): Likewise.
12423 (test-xfail-XPG3/search.h/conform): Likewise.
12424 (test-xfail-XPG3/signal.h/conform): Likewise.
12425 (test-xfail-XPG3/stdio.h/conform): Likewise.
12426 (test-xfail-XPG3/stdlib.h/conform): Likewise.
12427 (test-xfail-XPG3/string.h/conform): Likewise.
12428 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
12429 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
12430 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
12431 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
12432 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
12433 (test-xfail-XPG3/sys/types.h/conform): Likewise.
12434 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
12435 (test-xfail-XPG3/termios.h/conform): Likewise.
12436 (test-xfail-XPG3/time.h/conform): Likewise.
12437 (test-xfail-XPG3/unistd.h/conform): Likewise.
12438 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
12439 (test-xfail-XPG4/fcntl.h/conform): Likewise.
12440 (test-xfail-XPG4/langinfo.h/conform): Likewise.
12441 (test-xfail-XPG4/netdb.h/conform): Likewise.
12442 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
12443 (test-xfail-XPG4/signal.h/conform): Likewise.
12444 (test-xfail-XPG4/stdio.h/conform): Likewise.
12445 (test-xfail-XPG4/stdlib.h/conform): Likewise.
12446 (test-xfail-XPG4/stropts.h/conform): Likewise.
12447 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
12448 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
12449 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
12450 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
12451 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
12452 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
12453 (test-xfail-XPG4/sys/time.h/conform): Likewise.
12454 (test-xfail-XPG4/sys/types.h/conform): Likewise.
12455 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
12456 (test-xfail-XPG4/termios.h/conform): Likewise.
12457 (test-xfail-XPG4/ucontext.h/conform): Likewise.
12458 (test-xfail-XPG4/unistd.h/conform): Likewise.
12459 (test-xfail-XPG4/utmpx.h/conform): Likewise.
12460 (test-xfail-POSIX/sched.h/conform): Likewise.
12461 (test-xfail-POSIX/signal.h/conform): Likewise.
12462 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
12463 (test-xfail-POSIX/tar.h/conform): Likewise.
12464 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
12465 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
12466 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
12467 (test-xfail-UNIX98/netdb.h/conform): Likewise.
12468 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
12469 (test-xfail-UNIX98/sched.h/conform): Likewise.
12470 (test-xfail-UNIX98/signal.h/conform): Likewise.
12471 (test-xfail-UNIX98/stdio.h/conform): Likewise.
12472 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
12473 (test-xfail-UNIX98/stropts.h/conform): Likewise.
12474 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
12475 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
12476 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
12477 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
12478 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
12479 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
12480 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
12481 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
12482 (test-xfail-UNIX98/unistd.h/conform): Likewise.
12483 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
12484 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
12485 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
12486 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
12487 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
12488 (test-xfail-XOPEN2K/math.h/conform): Likewise.
12489 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
12490 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
12491 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
12492 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
12493 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
12494 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
12495 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
12496 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
12497 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
12498 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
12499 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
12500 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
12501 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
12502 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
12503 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
12504 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
12505 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
12506 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
12507 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
12508 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
12509 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
12510 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
12511 (test-xfail-POSIX2008/signal.h/conform): Likewise.
12512 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
12513 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
12514 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
12515 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
12516 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
12517 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
12518 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
12519 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
12520 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
12521 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
12522 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
12523 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
12524 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
12525 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
12526 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
12527 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
12528 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
12529 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
12530 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
12531 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
12532 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
12533 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
12534 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
12535 (conformtest-cc-flags): Likewise.
12536 ($(conformtest-header-tests): New target.
12537 * conform/check-header-lists.sh: New file.
12538 * conform/run-conformtest.sh: Remove.
12539
12540 * conform/conformtest.pl: Allow ' and \ in values given for
12541 constants.
12542 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
12543 inclusion.
12544 [POSIX] (sys/types.h): Likewise.
12545 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
12546 inclusion.
12547 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
12548 inclusion.
12549 * conform/data/signal.h-data (SIGIO): Remove expectation.
12550 [XPG3] (SIGBUS): Do not expect.
12551 [POSIX || XPG3] (SIGPOLL): Likewise.
12552 [POSIX || XPG3] (SIGPROF): Likewise.
12553 [POSIX || XPG3] (SIGSYS): Likewise.
12554 [XPG3] (SIGTRAP): Likewise.
12555 [POSIX || XPG3] (SIGURG): Likewise.
12556 [POSIX || XPG3] (SIGVTALRM): Likewise.
12557 [POSIX || XPG3] (SIGXCPU): Likewise.
12558 [POSIX || XPG3] (SIGXFSZ): Likewise.
12559 [POSIX] (SA_SIGINFO): Expect.
12560 [XPG3] (siginfo_t): Do not expect type or contents.
12561 [POSIX] (si_pid): Do not expect element.
12562 [POSIX] (si_uid): Likewise.
12563 [POSIX] (si_addr): Likewise.
12564 [POSIX] (si_status): Likewise.
12565 [POSIX] (si_band): Likewise.
12566 [XPG4] (si_value): Likewise.
12567 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
12568 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
12569 [POSIX || XPG3] (ILL_ILLADR): Likewise.
12570 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
12571 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
12572 [POSIX || XPG3] (ILL_PRVREG): Likewise.
12573 [POSIX || XPG3] (ILL_COPROC): Likewise.
12574 [POSIX || XPG3] (ILL_BADSTK): Likewise.
12575 [POSIX || XPG3] (FPE_INTDIV): Likewise.
12576 [POSIX || XPG3] (FPE_INTOVF): Likewise.
12577 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
12578 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
12579 [POSIX || XPG3] (FPE_FLTUND): Likewise.
12580 [POSIX || XPG3] (FPE_FLTRES): Likewise.
12581 [POSIX || XPG3] (FPE_FLTINV): Likewise.
12582 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
12583 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
12584 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
12585 [POSIX || XPG3] (BUS_ADRALN): Likewise.
12586 [POSIX || XPG3] (BUS_ADRERR): Likewise.
12587 [POSIX || XPG3] (BUS_OBJERR): Likewise.
12588 [POSIX || XPG3] (CLD_EXITED): Likewise.
12589 [POSIX || XPG3] (CLD_KILLED): Likewise.
12590 [POSIX || XPG3] (CLD_DUMPED): Likewise.
12591 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
12592 [POSIX || XPG3] (CLD_STOPPED): Likewise.
12593 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
12594 [POSIX || XPG3] (POLL_IN): Likewise.
12595 [POSIX || XPG3] (POLL_OUT): Likewise.
12596 [POSIX || XPG3] (POLL_MSG): Likewise.
12597 [POSIX || XPG3] (POLL_ERR): Likewise.
12598 [POSIX || XPG3] (POLL_PRI): Likewise.
12599 [POSIX || XPG3] (POLL_HUP): Likewise.
12600 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
12601 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
12602 (SIG*): Do not allow.
12603 [XPG3] (si_*): Likewise.
12604 [XPG3] (SI_*): Likewise.
12605 [XPG3 || XPG4] (sigev_*): Likewise.
12606 [XPG3 || XPG4] (SIGEV_*): Likewise.
12607 [XPG3 || XPG4] (sival_*): Likewise.
12608 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
12609 [POSIX || XPG3] (BUS_*): Likewise.
12610 [POSIX || XPG3] (CLD_*): Likewise.
12611 [POSIX || XPG3] (FPE_*): Likewise.
12612 [POSIX || XPG3] (ILL_*): Likewise.
12613 [POSIX || XPG3] (POLL_*): Likewise.
12614 [POSIX || XPG3] (SEGV_*): Likewise.
12615 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
12616 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
12617 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
12618 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
12619 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
12620 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
12621 Specify type and value.
12622 (TVERSLEN): Likewise.
12623 (REGTYPE): Likewise.
12624 (AREGTYPE): Likewise.
12625 (LNKTYPE): Likewise.
12626 (SYMTYPE): Likewise.
12627 (CHRTYPE): Likewise.
12628 (BLKTYPE): Likewise.
12629 (DIRTYPE): Likewise.
12630 (FIFOTYPE): Likewise.
12631 (CONTTYPE): Likewise.
12632 (TSUID): Likewise.
12633 (TSGID): Likewise.
12634 (TSVTX): Likewise.
12635 (TUREAD): Likewise.
12636 (TUWRITE): Likewise.
12637 (TUEXEC): Likewise.
12638 (TGREAD): Likewise.
12639 (TGWRITE): Likewise.
12640 (TGEXEC): Likewise.
12641 (TOREAD): Likewise.
12642 (TOWRITE): Likewise.
12643 (TOEXEC): Likewise.
12644 [POSIX] (TSVTX): Expect constant.
12645
12646 2014-03-06 Joseph Myers <joseph@codesourcery.com>
12647
12648 * Makefile (tests): Change dependencies to ....
12649 (tests-special): ... additions to this variable.
12650 (tests): Depend on $(tests-special).
12651 * Makerules (check-abi-list): New variable.
12652 (check-abi): Depend on $(check-abi-list).
12653 [$(subdir) = elf] (tests-special): Add
12654 $(objpfx)check-abi-libc.out.
12655 [$(build-shared) = yes && subdir] (tests-special): Add
12656 $(check-abi-list).
12657 [$(build-shared) = yes && subdir] (tests): Do not depend on
12658 check-abi.
12659 * Rules (tests): Depend on $(tests-special).
12660 (xtests): Depend on $(xtests-special).
12661 * catgets/Makefile (tests): Change dependencies to ....
12662 (tests-special): ... additions to this variable.
12663 * conform/Makefile (tests): Change dependencies to ....
12664 (tests-special): ... additions to this variable.
12665 * elf/Makefile (tests): Change dependencies to ....
12666 (tests-special): ... additions to this variable.
12667 * grp/Makefile (tests): Change dependencies to ....
12668 (tests-special): ... additions to this variable.
12669 * iconv/Makefile (xtests): Change dependencies to ....
12670 (xtests-special): ... additions to this variable.
12671 * iconvdata/Makefile (tests): Change dependencies to ....
12672 (tests-special): ... additions to this variable.
12673 * intl/Makefile (tests): Change dependencies to ....
12674 (tests-special): ... additions to this variable. Also add
12675 $(objpfx)tst-gettext.out.
12676 * io/Makefile (tests): Change dependencies to ....
12677 (tests-special): ... additions to this variable.
12678 * libio/Makefile (tests): Change dependencies to ....
12679 (tests-special): ... additions to this variable.
12680 * malloc/Makefile (tests): Change dependencies to ....
12681 (tests-special): ... additions to this variable.
12682 * misc/Makefile (tests): Change dependencies to ....
12683 (tests-special): ... additions to this variable.
12684 * nptl/Makefile (tests): Change dependencies to ....
12685 (tests-special): ... additions to this variable.
12686 * nptl_db/Makefile (tests): Change dependencies to ....
12687 (tests-special): ... additions to this variable.
12688 * posix/Makefile (tests): Change dependencies to ....
12689 (tests-special): ... additions to this variable.
12690 (xtests): Change dependencies to ....
12691 (xtests-special): ... additions to this variable.
12692 * resolv/Makefile (tests): Change dependencies to ....
12693 (tests-special): ... additions to this variable.
12694 (xtests): Change dependencies to ....
12695 (xtests-special): ... additions to this variable.
12696 * stdio-common/Makefile (tests): Change dependencies to ....
12697 (tests-special): ... additions to this variable.
12698 (do-tst-unbputc): Remove target.
12699 (do-tst-printf): Likewise.
12700 * stdlib/Makefile (tests): Change dependencies to ....
12701 (tests-special): ... additions to this variable.
12702 * string/Makefile (tests): Change dependencies to ....
12703 (tests-special): ... additions to this variable.
12704 * sysdeps/x86/Makefile (tests): Change dependencies to ....
12705 (tests-special): ... additions to this variable.
12706
12707 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
12708 whole file.
12709 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
12710 whole file.
12711 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
12712 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
12713
12714 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
12715 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
12716 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
12717 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
12718 * conform/data/libgen.h-data [XPG3]: Likewise.
12719 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
12720 * conform/data/ndbm.h-data [XPG3]: Likewise.
12721 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
12722 * conform/data/netdb.h-data [XPG3]: Likewise.
12723 * conform/data/netinet/in.h-data [XPG3]: Likewise.
12724 * conform/data/poll.h-data [XPG3]: Likewise.
12725 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
12726 * conform/data/strings.h-data [XPG3]: Likewise.
12727 * conform/data/stropts.h-data [XPG3]: Likewise.
12728 * conform/data/sys/mman.h-data [XPG3]: Likewise.
12729 * conform/data/sys/resource.h-data [XPG3]: Likewise.
12730 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
12731 Likewise.
12732 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
12733 * conform/data/sys/time.h-data [XPG3]: Likewise.
12734 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
12735 * conform/data/sys/uio.h-data [XPG3]: Likewise.
12736 * conform/data/sys/un.h-data [XPG3]: Likewise.
12737 * conform/data/syslog.h-data [XPG3]: Likewise.
12738 * conform/data/ucontext.h-data [XPG3]: Likewise.
12739 * conform/data/utmpx.h-data [XPG3]: Likewise.
12740 * conform/data/varargs.h-data [UNIX98]: Enable file.
12741
12742 * manual/Makefile (INSTALL_INFO): Remove variable setting.
12743
12744 * math/libm-test.inc (struct test_f_f_data): Move expected results
12745 into structure for each rounding mode.
12746 (struct test_ff_f_data): Likewise.
12747 (struct test_ff_f_data_nexttoward): Likewise.
12748 (struct test_fi_f_data): Likewise.
12749 (struct test_fl_f_data): Likewise.
12750 (struct test_if_f_data): Likewise.
12751 (struct test_fff_f_data): Likewise.
12752 (struct test_c_f_data): Likewise.
12753 (struct test_f_f1_data): Likewise.
12754 (struct test_fF_f1_data): Likewise.
12755 (struct test_ffI_f1_data): Likewise.
12756 (struct test_c_c_data): Likewise.
12757 (struct test_cc_c_data): Likewise.
12758 (struct test_f_i_data): Likewise.
12759 (struct test_ff_i_data): Likewise.
12760 (struct test_f_l_data): Likewise.
12761 (struct test_f_L_data): Likewise.
12762 (struct test_fFF_11_data): Likewise.
12763 (RM_): New macro.
12764 (RM_FE_DOWNWARD): Likewise.
12765 (RM_FE_TONEAREST): Likewise.
12766 (RM_FE_TOWARDZERO): Likewise.
12767 (RM_FE_UPWARD): Likewise.
12768 (RUN_TEST_LOOP_f_f): Update references to expected results.
12769 (RUN_TEST_LOOP_2_f): Likewise.
12770 (RUN_TEST_LOOP_fff_f): Likewise.
12771 (RUN_TEST_LOOP_c_f): Likewise.
12772 (RUN_TEST_LOOP_f_f1): Likewise.
12773 (RUN_TEST_LOOP_fF_f1): Likewise.
12774 (RUN_TEST_LOOP_fI_f1): Likewise.
12775 (RUN_TEST_LOOP_ffI_f1): Likewise.
12776 (RUN_TEST_LOOP_c_c): Likewise.
12777 (RUN_TEST_LOOP_cc_c): Likewise.
12778 (RUN_TEST_LOOP_f_i): Likewise.
12779 (RUN_TEST_LOOP_f_i_tg): Likewise.
12780 (RUN_TEST_LOOP_ff_i_tg): Likewise.
12781 (RUN_TEST_LOOP_f_b): Likewise.
12782 (RUN_TEST_LOOP_f_b_tg): Likewise.
12783 (RUN_TEST_LOOP_f_l): Likewise.
12784 (RUN_TEST_LOOP_f_L): Likewise.
12785 (RUN_TEST_LOOP_fFF_11): Likewise.
12786 * math/gen-libm-test.pl (parse_args): Output four copies of
12787 expected results for each test.
12788
12789 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
12790 (__ASSUME_UTIMES): Remove.
12791 * sysdeps/unix/sysv/linux/tile/kernel-features.h
12792 (__ASSUME_UTIMES): Likewise.
12793
12794 * math/gen-auto-libm-tests.c: Update comment on output format.
12795 (output_for_one_input_case): Generate before-rounding and
12796 after-rounding information as conditions on output flags not
12797 floating-point format.
12798 * math/auto-libm-test-out: Regenerated.
12799 * math/gen-libm-test.pl (cond_value): New function.
12800 (or_cond_value): Use cond_value.
12801 (generate_testfile): Handle conditional exceptions.
12802
12803 2014-03-05 Joseph Myers <joseph@codesourcery.com>
12804
12805 * math/libm-test.inc (max_valid_error): New variable.
12806 (init_max_error): Take new argument specifying whether function
12807 results are exactly determined. Set max_valid_error and bound
12808 other variables for errors based on this argument.
12809 (set_max_error): Do not record results above max_valid_error.
12810 (check_float_internal): Only accept errors of up to 0.5ulps if
12811 also at most max_valid_error.
12812 (START): Take new argument EXACT and pass it to init_max_error.
12813 (acos_test): Update call to START.
12814 (acos_test_tonearest): Likewise.
12815 (acos_test_towardzero): Likewise.
12816 (acos_test_downward): Likewise.
12817 (acos_test_upward): Likewise.
12818 (acosh_test): Likewise.
12819 (asin_test): Likewise.
12820 (asin_test_tonearest): Likewise.
12821 (asin_test_towardzero): Likewise.
12822 (asin_test_downward): Likewise.
12823 (asin_test_upward): Likewise.
12824 (asinh_test): Likewise.
12825 (atan_test): Likewise.
12826 (atanh_test): Likewise.
12827 (atan2_test): Likewise.
12828 (cabs_test): Likewise.
12829 (cacos_test): Likewise.
12830 (cacosh_test): Likewise.
12831 (carg_test): Likewise.
12832 (casin_test): Likewise.
12833 (casinh_test): Likewise.
12834 (catan_test): Likewise.
12835 (catanh_test): Likewise.
12836 (cbrt_test): Likewise.
12837 (ccos_test): Likewise.
12838 (ccosh_test): Likewise.
12839 (ceil_test): Likewise.
12840 (cexp_test): Likewise.
12841 (cimag_test): Likewise.
12842 (clog_test): Likewise.
12843 (clog10_test): Likewise.
12844 (conj_test): Likewise.
12845 (copysign_test): Likewise.
12846 (cos_test): Likewise.
12847 (cos_test_tonearest): Likewise.
12848 (cos_test_towardzero): Likewise.
12849 (cos_test_downward): Likewise.
12850 (cos_test_upward): Likewise.
12851 (cosh_test): Likewise.
12852 (cosh_test_tonearest): Likewise.
12853 (cosh_test_towardzero): Likewise.
12854 (cosh_test_downward): Likewise.
12855 (cosh_test_upward): Likewise.
12856 (cpow_test): Likewise.
12857 (cproj_test): Likewise.
12858 (creal_test): Likewise.
12859 (csin_test): Likewise.
12860 (csinh_test): Likewise.
12861 (csqrt_test): Likewise.
12862 (ctan_test): Likewise.
12863 (ctan_test_tonearest): Likewise.
12864 (ctan_test_towardzero): Likewise.
12865 (ctan_test_downward): Likewise.
12866 (ctan_test_upward): Likewise.
12867 (ctanh_test): Likewise.
12868 (ctanh_test_tonearest): Likewise.
12869 (ctanh_test_towardzero): Likewise.
12870 (ctanh_test_downward): Likewise.
12871 (ctanh_test_upward): Likewise.
12872 (erf_test): Likewise.
12873 (erfc_test): Likewise.
12874 (exp_test): Likewise.
12875 (exp_test_tonearest): Likewise.
12876 (exp_test_towardzero): Likewise.
12877 (exp_test_downward): Likewise.
12878 (exp_test_upward): Likewise.
12879 (exp10_test): Likewise.
12880 (exp10_test_tonearest): Likewise.
12881 (exp10_test_towardzero): Likewise.
12882 (exp10_test_downward): Likewise.
12883 (exp10_test_upward): Likewise.
12884 (pow10_test): Likewise.
12885 (exp2_test): Likewise.
12886 (expm1_test): Likewise.
12887 (expm1_test_tonearest): Likewise.
12888 (expm1_test_towardzero): Likewise.
12889 (expm1_test_downward): Likewise.
12890 (expm1_test_upward): Likewise.
12891 (fabs_test): Likewise.
12892 (fdim_test): Likewise.
12893 (floor_test): Likewise.
12894 (fma_test): Likewise.
12895 (fma_test_towardzero): Likewise.
12896 (fma_test_downward): Likewise.
12897 (fma_test_upward): Likewise.
12898 (fmax_test): Likewise.
12899 (fmin_test): Likewise.
12900 (fmod_test): Likewise.
12901 (fpclassify_test): Likewise.
12902 (frexp_test): Likewise.
12903 (hypot_test): Likewise.
12904 (ilogb_test): Likewise.
12905 (isfinite_test): Likewise.
12906 (finite_test): Likewise.
12907 (isgreater_test): Likewise.
12908 (isgreaterequal_test): Likewise.
12909 (isinf_test): Likewise.
12910 (isless_test): Likewise.
12911 (islessequal_test): Likewise.
12912 (islessgreater_test): Likewise.
12913 (isnan_test): Likewise.
12914 (isnormal_test): Likewise.
12915 (issignaling_test): Likewise.
12916 (isunordered_test): Likewise.
12917 (j0_test): Likewise.
12918 (j1_test): Likewise.
12919 (jn_test): Likewise.
12920 (ldexp_test): Likewise.
12921 (lgamma_test): Likewise.
12922 (gamma_test): Likewise.
12923 (lrint_test): Likewise.
12924 (lrint_test_tonearest): Likewise.
12925 (lrint_test_towardzero): Likewise.
12926 (lrint_test_downward): Likewise.
12927 (lrint_test_upward): Likewise.
12928 (llrint_test): Likewise.
12929 (llrint_test_tonearest): Likewise.
12930 (llrint_test_towardzero): Likewise.
12931 (llrint_test_downward): Likewise.
12932 (llrint_test_upward): Likewise.
12933 (log_test): Likewise.
12934 (log10_test): Likewise.
12935 (log1p_test): Likewise.
12936 (log2_test): Likewise.
12937 (logb_test): Likewise.
12938 (logb_test_downward): Likewise.
12939 (lround_test): Likewise.
12940 (llround_test): Likewise.
12941 (modf_test): Likewise.
12942 (nearbyint_test): Likewise.
12943 (nextafter_test): Likewise.
12944 (nexttoward_test): Likewise.
12945 (pow_test): Likewise.
12946 (pow_test_tonearest): Likewise.
12947 (pow_test_towardzero): Likewise.
12948 (pow_test_downward): Likewise.
12949 (pow_test_upward): Likewise.
12950 (remainder_test): Likewise.
12951 (drem_test): Likewise.
12952 (remainder_test_tonearest): Likewise.
12953 (drem_test_tonearest): Likewise.
12954 (remainder_test_towardzero): Likewise.
12955 (drem_test_towardzero): Likewise.
12956 (remainder_test_downward): Likewise.
12957 (drem_test_downward): Likewise.
12958 (remainder_test_upward): Likewise.
12959 (drem_test_upward): Likewise.
12960 (remquo_test): Likewise.
12961 (rint_test): Likewise.
12962 (rint_test_tonearest): Likewise.
12963 (rint_test_towardzero): Likewise.
12964 (rint_test_downward): Likewise.
12965 (rint_test_upward): Likewise.
12966 (round_test): Likewise.
12967 (scalb_test): Likewise.
12968 (scalbn_test): Likewise.
12969 (scalbln_test): Likewise.
12970 (signbit_test): Likewise.
12971 (sin_test): Likewise.
12972 (sin_test_tonearest): Likewise.
12973 (sin_test_towardzero): Likewise.
12974 (sin_test_downward): Likewise.
12975 (sin_test_upward): Likewise.
12976 (sincos_test): Likewise.
12977 (sinh_test): Likewise.
12978 (sinh_test_tonearest): Likewise.
12979 (sinh_test_towardzero): Likewise.
12980 (sinh_test_downward): Likewise.
12981 (sinh_test_upward): Likewise.
12982 (sqrt_test): Likewise.
12983 (sqrt_test_tonearest): Likewise.
12984 (sqrt_test_towardzero): Likewise.
12985 (sqrt_test_downward): Likewise.
12986 (sqrt_test_upward): Likewise.
12987 (tan_test): Likewise.
12988 (tan_test_tonearest): Likewise.
12989 (tan_test_towardzero): Likewise.
12990 (tan_test_downward): Likewise.
12991 (tan_test_upward): Likewise.
12992 (tanh_test): Likewise.
12993 (tgamma_test): Likewise.
12994 (trunc_test): Likewise.
12995 (y0_test): Likewise.
12996 (y1_test): Likewise.
12997 (yn_test): Likewise.
12998 (significand_test): Likewise.
12999
13000 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
13001 individual tests in comment.
13002 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
13003 (prev_max_error): New variable.
13004 (prev_real_max_error): Likewise.
13005 (prev_imag_max_error): Likewise.
13006 (compare_ulp_data): Don't refer to test names in comment.
13007 (find_test_ulps): Remove function.
13008 (find_function_ulps): Likewise.
13009 (find_complex_function_ulps): Likewise.
13010 (init_max_error): Take function name as argument. Look up ulps
13011 for that function.
13012 (print_ulps): Remove function.
13013 (print_max_error): Use prev_max_error instead of calling
13014 find_function_ulps.
13015 (print_complex_max_error): Use prev_real_max_error and
13016 prev_imag_max_error instead of calling find_complex_function_ulps.
13017 (check_float_internal): Take max_ulp parameter instead of calling
13018 find_test_ulps. Don't call print_ulps.
13019 (check_float): Update call to check_float_internal.
13020 (check_complex): Update calls to check_float_internal.
13021 (START): Pass argument to init_max_error.
13022 * math/gen-libm-test.pl (%results): Don't include "kind"
13023 information.
13024 (parse_ulps): Don't handle ulps of individual tests.
13025 (print_ulps_file): Likewise.
13026 (output_ulps): Likewise.
13027 * math/README.libm-test: Update.
13028 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
13029 individual tests.
13030 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
13031 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
13032 * sysdeps/arm/libm-test-ulps: Likewise.
13033 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
13034 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
13035 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
13036 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
13037 * sysdeps/microblaze/libm-test-ulps: Likewise.
13038 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
13039 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
13040 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
13041 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
13042 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
13043 * sysdeps/sh/libm-test-ulps: Likewise.
13044 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
13045 * sysdeps/tile/libm-test-ulps: Likewise.
13046 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13047
13048 2014-03-04 Joseph Myers <joseph@codesourcery.com>
13049
13050 * math/libm-test.inc (print_complex_max_error): Check separately
13051 whether real and imaginary errors are within allowed range and
13052 pass 0 to print_complex_function_ulps instead of value within
13053 allowed range.
13054
13055 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
13056
13057 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
13058 formatting.
13059 (get_handles_fopen): Likewise.
13060 (do_write_test): Likewise.
13061
13062 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
13063
13064 * libio/fileops.c (do_ftell): Use cached offset when
13065 available.
13066 * libio/iofwide.c (do_ftell_wide): Likewise.
13067 * libio/iofdopen.c (_IO_new_fdopen): Don't use
13068 _IO_file_attach.
13069 * libio/wfileops.c (_IO_fwide): Don't cache offset.
13070
13071 [BZ #16532]
13072 * libio/libioP.h (get_file_offset): New function.
13073 * libio/fileops.c (get_file_offset): Likewise.
13074 (do_ftell): Likewise.
13075 (_IO_new_file_seekoff): Split out ftell logic.
13076 * libio/wfileops.c (do_ftell_wide): Likewise.
13077 (_IO_wfile_seekoff): Split out ftell logic.
13078 * libio/tst-ftell-active-handler.c: New test case.
13079 * libio/Makefile (tests): Add it.
13080
13081 2014-03-03 Roland McGrath <roland@hack.frob.com>
13082
13083 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
13084 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
13085
13086 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
13087
13088 [BZ #16639]
13089 * nscd/connections.c (nscd_init): Call do_exit.
13090 (start_threads): Call do_exit and notify_parent.
13091 (begin_drop_privileges): Call do_exit.
13092 (finish_drop_privileges): Likewise.
13093 * nscd/selinux.c (preserve_capabilities): Likewise.
13094 (install_real_capabilities): Likewise.
13095 (nscd_selinux_enabled): Likewise.
13096 (avc_create_thread): Likewise.
13097 (avc_alloc_lock): Likewise.
13098 (nscd_avc_init): Likewise.
13099 * nscd/nscd.c (parent_fd): New static variable.
13100 (main): Create a pipe between parent and child processes.
13101 Skip closing parent_fd.
13102 (monitor_child): New function.
13103 (do_exit): Likewise.
13104 (notify_parent): Likewise.
13105 * nscd/nscd.h (notify_parent): Likewise.
13106 (do_exit): Likewise.
13107
13108 2014-03-03 Carlos O'Donell <carlos@redhat.com>
13109
13110 * malloc/malloc.c (__libc_calloc): Revert last change.
13111
13112 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13113
13114 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13115
13116 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
13117
13118 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
13119 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
13120 implementation.
13121 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
13122 (__libc_ifunc_impl_list): Likewise.
13123 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
13124 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
13125 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
13126 * string/strrchr.c: Define STRRCHR.
13127
13128 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
13129
13130 * benchtest/bench-strtok.c (simple_strtok): Delete.
13131 (strtok_string): Use as benchmark.
13132 * string/strtok (STRTOK): New macro.
13133
13134 2014-02-28 Carlos O'Donell <carlos@redhat.com>
13135
13136 * manual/threads.texi: Add header and standard comments to all
13137 functions.
13138
13139 * elf/dl-lookup.c (check_match): New function.
13140 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
13141 (do_lookup_x): Remove nested function check_match. Use non-nested
13142 function check_match.
13143
13144 2014-02-28 Roland McGrath <roland@hack.frob.com>
13145
13146 * csu/Makefile (generated, before-compile): Use += rather than =.
13147 * catgets/Makefile (generated, generated-dirs): Likewise.
13148 * debug/Makefile (generated): Likewise.
13149 * dlfcn/Makefile (generated): Likewise.
13150 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
13151 * iconvdata/Makefile (before-compile, generated): Likewise.
13152 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
13153 * libio/Makefile (generated): Likewise.
13154 * malloc/Makefile (generated): Likewise.
13155 * manual/Makefile (generated, generated-dirs): Likewise.
13156 * misc/Makefile (generated): Likewise.
13157 * posix/Makefile (generated): Likewise.
13158 * resolv/Makefile (generated): Likewise.
13159 * sunrpc/Makefile (generated, generated-dirs): Likewise.
13160 * timezone/Makefile (generated, generated-dirs): Likewise.
13161
13162 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
13163
13164 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13165
13166 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
13167 power8 implementation.
13168 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
13169 file: POWER8 llround ifunc implementation.
13170 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
13171 (__lllround): Add POWER8 implementation.
13172 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
13173 POWER8 llround implementation.
13174
13175 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
13176 power8 implementation.
13177 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
13178 file: POWER8 llrint ifunc implementation.
13179 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
13180 Add POWER8 implementation.
13181 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
13182 POWER8 llrint implementation.
13183
13184 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
13185 power8 implementation.
13186 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
13187 file: POWER8 finite ifunc implementation.
13188 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
13189 Add POWER8 implementation.
13190 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
13191 Likewise.
13192 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
13193 POWER8 finite implementation.
13194 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
13195
13196 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
13197 power8 implementation.
13198 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
13199 file: POWER8 isinf ifunc implementation.
13200 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
13201 POWER8 implementation.
13202 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
13203 Likewise.
13204 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
13205 isinf implementation.
13206 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
13207
13208 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
13209 (INIT_ARCH): Add hwcap2 initialization.
13210 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
13211 power8 implementation.
13212 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
13213 file: POWER8 isnan ifunc implementation.
13214 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
13215 POWER8 implementation.
13216 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
13217 Likewise.
13218 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
13219 isnan implementation.
13220 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
13221
13222 2014-02-27 Joey Ye <joey.ye@arm.com>
13223
13224 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
13225 (_FP_NANFRAC_Q): Set to zero.
13226
13227 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
13228
13229 [BZ #16623]
13230 * math/auto-libm-test-in: New test inputs.
13231 * math/auto-libm-test-out: Regenerate.
13232 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
13233 and DA.
13234 (__cos): Likewise.
13235 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
13236
13237 2014-02-27 Joseph Myers <joseph@codesourcery.com>
13238
13239 * scripts/evaluate-test.sh: Take new argument indicating whether
13240 failure is expected.
13241 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
13242 indicating whether failure is expected.
13243 * conform/Makefile (test-xfail-run-conformtest): New variable.
13244 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
13245 level.
13246 * posix/Makefile (test-xfail-annexc): New variable.
13247 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
13248
13249 2014-02-26 Joseph Myers <joseph@codesourcery.com>
13250
13251 * argp/Makefile: Include Makeconfig immediately after defining
13252 subdir.
13253 * assert/Makefile: Likewise.
13254 * benchtests/Makefile: Likewise.
13255 * catgets/Makefile: Likewise.
13256 * conform/Makefile: Likewise.
13257 * crypt/Makefile: Likewise.
13258 * csu/Makefile: Likewise.
13259 (all): Remove target.
13260 * ctype/Makefile: Include Makeconfig immediately after defining
13261 subdir.
13262 * debug/Makefile: Likewise.
13263 * dirent/Makefile: Likewise.
13264 * dlfcn/Makefile: Likewise.
13265 * gmon/Makefile: Likewise.
13266 * gnulib/Makefile: Likewise.
13267 * grp/Makefile: Likewise.
13268 * gshadow/Makefile: Likewise.
13269 * hesiod/Makefile: Likewise.
13270 * hurd/Makefile: Likewise.
13271 (all): Remove target.
13272 * iconvdata/Makefile: Include Makeconfig immediately after
13273 defining subdir.
13274 * inet/Makefile: Likewise.
13275 * intl/Makefile: Likewise.
13276 * io/Makefile: Likewise.
13277 * libio/Makefile: Likewise.
13278 (all): Remove target.
13279 * locale/Makefile: Include Makeconfig immediately after defining
13280 subdir.
13281 * login/Makefile: Likewise.
13282 * mach/Makefile: Likewise.
13283 (all): Remove target.
13284 * malloc/Makefile: Include Makeconfig immediately after defining
13285 subdir.
13286 (all): Remove target.
13287 * manual/Makefile: Include Makeconfig immediately after defining
13288 subdir.
13289 * math/Makefile: Likewise.
13290 * misc/Makefile: Likewise.
13291 * nis/Makefile: Likewise.
13292 * nss/Makefile: Likewise.
13293 * po/Makefile: Likewise.
13294 (all): Remove target.
13295 * posix/Makefile: Include Makeconfig immediately after defining
13296 subdir.
13297 * pwd/Makefile: Likewise.
13298 * resolv/Makefile: Likewise.
13299 * resource/Makefile: Likewise.
13300 * rt/Makefile: Likewise.
13301 * setjmp/Makefile: Likewise.
13302 * shadow/Makefile: Likewise.
13303 * signal/Makefile: Likewise.
13304 * socket/Makefile: Likewise.
13305 * soft-fp/Makefile: Likewise.
13306 * stdio-common/Makefile: Likewise.
13307 * stdlib/Makefile: Likewise.
13308 * streams/Makefile: Likewise.
13309 * string/Makefile: Likewise.
13310 * sunrpc/Makefile: Likewise.
13311 (all): Remove target.
13312 * sysvipc/Makefile: Include Makeconfig immediately after defining
13313 subdir.
13314 * termios/Makefile: Likewise.
13315 * time/Makefile: Likewise.
13316 * timezone/Makefile: Likewise.
13317 (all): Remove target.
13318 * wcsmbs/Makefile: Include Makeconfig immediately after defining
13319 subdir.
13320 * wctype/Makefile: Likewise.
13321
13322 2014-02-26 Steve Ellcey <sellcey@mips.com>
13323
13324 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
13325 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
13326 (libc_feholdexcept_setround_mips): Ditto.
13327 (libc_feholdsetround): New.
13328 (libc_feholdsetroundf): New.
13329 (libc_feholdsetroundl): New.
13330 (libc_feupdateenv_test_mips): New.
13331 (libc_feupdateenv_test): New.
13332 (libc_feupdateenv_testf): New.
13333 (libc_feupdateenv_testl): New.
13334 (libc_feresetround): New.
13335 (libc_feresetroundf): New.
13336 (libc_feresetroundl): New.
13337 (libc_fetestexcept_mips): New.
13338 (libc_fetestexcept): New.
13339 (libc_fetestexceptf): New.
13340 (libc_fetestexceptl): New.
13341 (HAVE_RM_CTX): New.
13342 (libc_feholdexcept_setround_mips_ctx): New.
13343 (libc_feholdexcept_setround_ctx): New.
13344 (libc_feholdexcept_setroundf_ctx): New.
13345 (libc_feholdexcept_setroundl_ctx): New.
13346 (libc_fesetenv_mips_ctx): New.
13347 (libc_fesetenv_ctx): New.
13348 (libc_fesetenv_ctxf): New.
13349 (libc_fesetenv_ctxl): New.
13350 (libc_feupdateenv_mips_ctx): New.
13351 (libc_feupdateenv_ctx): New.
13352 (libc_feupdateenvf_ctx): New.
13353 (libc_feupdateenvl_ctx): New.
13354 (libc_feholdsetround_mips_ctx): New.
13355 (libc_feholdsetround_ctx): New.
13356 (libc_feholdsetroundf_ctx): New.
13357 (libc_feholdsetroundl_ctx): New.
13358 (libc_feresetround_mips_ctx): New.
13359 (libc_feresetround_ctx): New.
13360 (libc_feresetroundf_ctx): New.
13361 (libc_feresetroundl_ctx): New.
13362
13363 2014-02-26 Carlos O'Donell <carlos@redhat.com>
13364
13365 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
13366
13367 * manual/ipc.texi: New file.
13368 * manual/Makefile (chapters): Add ipc.
13369 * manual/job.texi: Add "Inter-Process Communication" to next.
13370 * manual/process.texi: Add "Inter-Process Communication" to prev.
13371
13372 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13373
13374 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13375
13376 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
13377
13378 * malloc/malloc.c (__libc_calloc): Simplify implementation.
13379
13380 * manual/arith.texi: Fix spaces after sentences.
13381 * manual/charset.texi: Likewise.
13382 * manual/errno.texi: Likewise.
13383 * manual/install.texi: Likewise.
13384 * manual/llio.texi: Likewise.
13385 * manual/locale.texi: Likewise.
13386 * manual/maint.texi: Likewise.
13387 * manual/math.texi: Likewise.
13388 * manual/memory.texi: Likewise.
13389 * manual/message.texi: Likewise.
13390 * manual/probes.texi: Likewise.
13391 * manual/resource.texi: Likewise.
13392 * manual/signal.texi: Likewise.
13393 * manual/socket.texi: Likewise.
13394 * manual/stdio.texi: Likewise.
13395 * manual/string.texi: Likewise.
13396 * manual/time.texi: Likewise.
13397 * manual/users.texi: Likewise.
13398
13399 2014-02-25 Carlos O'Donell <carlos@redhat.com>
13400
13401 [BZ #16632]
13402 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
13403 _DEFAULT_SOURCE is defined.
13404
13405 2014-02-25 Ulrich Drepper <drepper@gmail.com>
13406 Carlos O'Donell <carlos@redhat.com>
13407
13408 [BZ #16613]
13409 * elf/dl-tls.c (_dl_count_modids): New function.
13410 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
13411 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
13412 audit library and increment generation counter.
13413 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
13414 * elf/tst-audit9.c: New file.
13415 * elf/tst-auditmod9a.c: New file.
13416 * elf/tst-auditmod9b.c: New file.
13417 * elf/Makefile: Add rules to build and run tst-audit9.
13418
13419 2014-02-25 Florian Weimer <fweimer@redhat.com>
13420
13421 [BZ #15347]
13422 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
13423
13424 2014-02-25 Will Newton <will.newton@linaro.org>
13425
13426 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
13427 (__longjmp): Restore sp and lr before restoring callee
13428 saved registers. Add longjmp and longjmp_target
13429 SystemTap probe point.
13430 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
13431 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
13432 Define to zero to match jmpbuf layout.
13433 * sysdeps/arm/setjmp.S: Include stap-probe.h.
13434 (__sigsetjmp): Save sp and lr before saving callee
13435 saved registers. Add setjmp SystemTap probe point.
13436
13437 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
13438
13439 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
13440
13441 2014-02-24 Andreas Schwab <schwab@suse.de>
13442
13443 [BZ #15804]
13444 * elf/pldd.c (wait_for_ptrace_stop): New function.
13445 (main): Call it after attaching.
13446
13447 2014-02-22 Roland McGrath <roland@hack.frob.com>
13448
13449 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
13450 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
13451 Versions files is now verboten.
13452 * hurd/Versions (libc: GLIBC_2.0):
13453 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
13454 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
13455 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
13456 * mach/Versions: Likewise.
13457
13458 * csu/Versions: Remove unused %include.
13459 * resolv/Versions: Likewise.
13460
13461 2014-02-21 Joseph Myers <joseph@codesourcery.com>
13462
13463 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
13464 ($(objpfx)check-local-headers.out): Likewise.
13465 ($(objpfx)begin-end-check.out): Likewise.
13466 * Makerules (check-abi-%.out): Likewise.
13467 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
13468 ($(objpfx)test2.cat): Likewise.
13469 ($(objpfx)de/libc.cat): Likewise.
13470 ($(objpfx)test-gencat.out): Likewise.
13471 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
13472 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
13473 ($(objpfx)noload-mem): Likewise.
13474 ($(objpfx)tst-pathopt.out): Likewise.
13475 ($(objpfx)tst-rtld-load-self.out): Likewise.
13476 ($(objpfx)tst-array1-cmp.out): Likewise.
13477 ($(objpfx)tst-array1-static-cmp.out): Likewise.
13478 ($(objpfx)tst-array2-cmp.out): Likewise.
13479 ($(objpfx)tst-array3-cmp.out): Likewise.
13480 ($(objpfx)tst-array4-cmp.out): Likewise.
13481 ($(objpfx)tst-array5-cmp.out): Likewise.
13482 ($(objpfx)tst-array5-static-cmp.out): Likewise.
13483 ($(objpfx)check-textrel.out): Likewise.
13484 ($(objpfx)check-execstack.out): Likewise.
13485 ($(objpfx)check-localplt.out): Likewise.
13486 ($(objpfx)order2-cmp.out): Likewise.
13487 ($(objpfx)tst-leaks1-mem): Likewise.
13488 ($(objpfx)tst-leaks1-static-mem): Likewise.
13489 ($(objpfx)tst-initorder-cmp.out): Likewise.
13490 ($(objpfx)tst-initorder2-cmp.out): Likewise.
13491 ($(objpfx)tst-unused-dep.out): Likewise.
13492 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
13493 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
13494 * iconv/Makefile (test-iconvconfig): Likewise.
13495 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
13496 ($(objpfx)iconv-test.out): Likewise.
13497 ($(objpfx)tst-tables.out): Likewise.
13498 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
13499 ($(objpfx)tst-gettext.out): Likewise.
13500 ($(objpfx)tst-translit.out): Likewise.
13501 ($(objpfx)tst-gettext2.out): Likewise.
13502 ($(objpfx)tst-gettext4.out): Likewise.
13503 ($(objpfx)tst-gettext6.out): Likewise.
13504 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
13505 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
13506 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
13507 ($(objpfx)tst-fopenloc-mem.out): Likewise.
13508 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
13509 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
13510 * posix/Makefile ($(objpfx)globtest.out): Likewise.
13511 ($(objpfx)wordexp-tst.out): Likewise.
13512 ($(objpfx)annexc.out): Likewise.
13513 ($(objpfx)tst-fnmatch-mem): Likewise.
13514 ($(objpfx)bug-regex2-mem): Likewise.
13515 ($(objpfx)bug-regex14-mem): Likewise.
13516 ($(objpfx)bug-regex21-mem): Likewise.
13517 ($(objpfx)bug-regex31-mem): Likewise.
13518 ($(objpfx)tst-vfork3-mem): Likewise.
13519 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
13520 ($(objpfx)tst-pcre-mem): Likewise.
13521 ($(objpfx)tst-boost-mem): Likewise.
13522 ($(objpfx)tst-getconf.out): Likewise.
13523 ($(objpfx)bug-ga2-mem): Likewise.
13524 ($(objpfx)bug-glob2-mem): Likewise.
13525 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
13526 ($(objpfx)mtrace-tst-leaks2): Likewise.
13527 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
13528 ($(objpfx)tst-printf.out): Likewise.
13529 ($(objpfx)tst-setvbuf1.out): Likewise.
13530 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
13531 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
13532 ($(objpfx)tst-fmtmsg.out): Likewise.
13533 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
13534 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
13535
13536 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
13537 * bits/sigaction.h [__USE_MISC]: Likewise.
13538 * bits/waitstatus.h: Update #endif comments.
13539 * ctype/ctype.h: Likewise.
13540 * dirent/dirent.h: Likewise.
13541 [__USE_MISC]: Remove redundant conditionals.
13542 * grp/grp.h: Update #endif comments.
13543 [__USE_GNU]: Remove redundant conditionals.
13544 [__USE_MISC]: Likewise.
13545 * inet/netinet/in.h [__USE_GNU]: Likewise.
13546 * io/sys/stat.h [__USE_MISC]: Likewise.
13547 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
13548 * libio/bits/stdio.h: Update #endif comments.
13549 [__USE_MISC]: Remove redundant conditionals.
13550 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
13551 * libio/stdio.h: Update #endif comments.
13552 [__USE_MISC]: Remove redundant conditionals.
13553 * math/bits/math-finite.h [__USE_MISC]: Likewise.
13554 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
13555 * math/math.h: Update #else and #endif comments.
13556 [__USE_MISC]: Remove redundant conditionals.
13557 * misc/sys/uio.h: Update #endif comments.
13558 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
13559 * posix/glob.h [__USE_MISC]: Likewise.
13560 * posix/sys/types.h: Update #endif comments.
13561 [__USE_MISC]: Remove redundant conditionals.
13562 * posix/sys/wait.h: Update #endif comments.
13563 [__USE_MISC]: Remove redundant conditionals.
13564 * posix/unistd.h: Update #endif comments.
13565 [__USE_MISC]: Remove redundant conditionals.
13566 * pwd/pwd.h [__USE_GNU]: Likewise.
13567 [__USE_MISC]: Likewise.
13568 * resolv/netdb.h [__USE_GNU]: Likewise.
13569 * signal/signal.h: Update #endif comments.
13570 [__USE_MISC]: Remove redundant conditionals.
13571 * stdlib/stdlib.h: Update #else and #endif comments.
13572 [__USE_MISC]: Remove redundant conditionals.
13573 [__USE_GNU]: Likewise.
13574 * string/bits/string2.h [__USE_MISC]: Likewise.
13575 * string/string.h: Update #endif comments.
13576 [__USE_MISC]: Remove redundant conditionals.
13577 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
13578 Likewise.
13579 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
13580 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
13581 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
13582 Likewise.
13583 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
13584 Likewise.
13585 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
13586 comments.
13587 [__USE_MISC]: Remove redundant conditionals.
13588 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
13589 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
13590 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
13591 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
13592 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
13593 Likewise.
13594 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
13595 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
13596 Likewise.
13597 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
13598 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
13599 Likewise.
13600 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
13601 Likewise.
13602 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
13603 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
13604 Likewise.
13605 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
13606 Likewise.
13607 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
13608 * sysdeps/x86/bits/string.h: Update #endif comments.
13609 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
13610 conditionals.
13611 * time/sys/time.h: Update #endif comments.
13612 * time/time.h: Likewise.
13613 [__USE_MISC]: Remove redundant conditionals.
13614
13615 2014-02-21 Yury Gribov <y.gribov@samsung.com>
13616
13617 [BZ #16600]
13618 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
13619
13620 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
13621
13622 * Versions.def (librt): Add GLIBC_2.17.
13623
13624 2014-02-21 Adam Conrad <adconrad@0c3.net>
13625
13626 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
13627 synonym for _SYS_AUXV_H to allow direct inclusion.
13628 * sysdeps/sparc/bits/hwcap.h: Likewise.
13629 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
13630 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
13631 * sysdeps/sparc/sysdep.h: Likewise.
13632
13633 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
13634
13635 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
13636
13637 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
13638
13639 * benchtests/bench-strrchr.c: Print length instead of position.
13640
13641 2014-02-20 Joseph Myers <joseph@codesourcery.com>
13642
13643 [BZ #16611]
13644 * sysdeps/unix/sysv/linux/kernel-features.h
13645 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
13646 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
13647 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
13648 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
13649 Likewise.
13650 [__i386__ || __powerpc__ || __sh__ || __sparc__]
13651 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
13652 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
13653 (__ASSUME_SENDMMSG): Define instead of using previous
13654 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
13655 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
13656 (__ASSUME_SENDMMSG_SYSCALL): Define.
13657 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
13658 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
13659 Likewise.
13660 * sysdeps/unix/sysv/linux/arm/kernel-features.h
13661 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
13662 Likewise.
13663 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
13664 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
13665 Likewise.
13666 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
13667 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
13668 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
13669 [__ASSUME_SENDMMSG]: Change conditionals to
13670 [__ASSUME_SENDMMSG_SOCKETCALL].
13671 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13672 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
13673 Define.
13674 * sysdeps/unix/sysv/linux/mips/kernel-features.h
13675 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
13676 Likewise.
13677 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
13678 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
13679 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
13680 [!__ASSUME_SENDMMSG]: Change conditional to
13681 [!__ASSUME_SENDMMSG_SOCKETCALL].
13682 * sysdeps/unix/sysv/linux/tile/kernel-features.h
13683 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
13684 Define.
13685
13686 [BZ #16610]
13687 * sysdeps/unix/sysv/linux/kernel-features.h
13688 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
13689 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
13690 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
13691 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
13692 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
13693 [__i386__ || __sparc__]
13694 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
13695 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
13696 (__ASSUME_RECVMMSG): Define instead of using previous
13697 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
13698 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
13699 (__ASSUME_RECVMMSG_SYSCALL): Define.
13700 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
13701 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
13702 Likewise.
13703 * sysdeps/unix/sysv/linux/arm/kernel-features.h
13704 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
13705 Likewise.
13706 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
13707 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
13708 Likewise.
13709 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
13710 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
13711 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
13712 [__ASSUME_RECVMMSG]: Change condition to
13713 [__ASSUME_RECVMMSG_SOCKETCALL].
13714 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13715 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
13716 Define.
13717 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
13718 * sysdeps/unix/sysv/linux/mips/kernel-features.h
13719 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
13720 Likewise.
13721 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
13722 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
13723 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
13724 [!__ASSUME_RECVMMSG]: Change condition to
13725 [!__ASSUME_RECVMMSG_SOCKETCALL].
13726 * sysdeps/unix/sysv/linux/tile/kernel-features.h
13727 (__ASSUME_RECVMMSG_SYSCALL): Define.
13728
13729 [BZ #16609]
13730 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
13731 __powerpc__ || __s390__ || __sh__ || __sparc__]
13732 (__ASSUME_SOCKETCALL): Define.
13733 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
13734 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
13735 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
13736 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
13737 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
13738 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
13739 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
13740 (__ASSUME_ACCEPT4): Define instead of using previous
13741 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
13742 __powerpc__ || __sparc__ || __s390__)] condition.
13743 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
13744 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
13745 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
13746 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
13747 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
13748 [!__ASSUME_ACCEPT4]: Change condition to
13749 [!__ASSUME_ACCEPT4_SOCKETCALL].
13750 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
13751 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
13752 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
13753 * sysdeps/unix/sysv/linux/arm/kernel-features.h
13754 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
13755 __ASSUME_ACCEPT4_SYSCALL.
13756 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
13757 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
13758 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
13759 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
13760 __ASSUME_ACCEPT4_SYSCALL.
13761 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
13762 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
13763 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
13764 [__ASSUME_ACCEPT4]: Change condition to
13765 [__ASSUME_ACCEPT4_SOCKETCALL].
13766 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
13767 (__ASSUME_SOCKETCALL): Define.
13768 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
13769 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13770 (__ASSUME_SOCKETCALL): Define.
13771 (__ASSUME_ACCEPT4): Remove.
13772 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
13773 Define.
13774 * sysdeps/unix/sysv/linux/mips/kernel-features.h
13775 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
13776 Likewise.
13777 * sysdeps/unix/sysv/linux/tile/kernel-features.h
13778 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
13779
13780 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
13781 macro.
13782 (HWCAP_ARM_LPAE): Likewise.
13783 (HWCAP_ARM_EVTSTRM): Likewise.
13784 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
13785 Add vpfd32, lpae and evtstrm.
13786 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
13787 Increase to 22.
13788
13789 2014-02-19 Joseph Myers <joseph@codesourcery.com>
13790
13791 * math/auto-libm-test-in: Add tests of clog10.
13792 * math/auto-libm-test-out: Regenerated.
13793 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
13794 * sysdeps/i386/fpu/libm-test-ulps: Update.
13795 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13796
13797 2014-02-18 Andreas Schwab <schwab@suse.de>
13798
13799 [BZ #16574]
13800 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
13801 Store non-zero if the second buffer was newly allocated.
13802 (send_dg): Likewise.
13803 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
13804 to send_vc and send_dg.
13805 (res_nsend): Pass NULL for ansp2_malloced.
13806 * resolv/res_query.c (__libc_res_nquery): Add parameter
13807 answerp2_malloced and pass it down to __libc_res_nsend.
13808 (res_nquery): Pass additional NULL to __libc_res_nquery.
13809 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
13810 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
13811 second answer buffer if answerp2_malloced was set.
13812 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
13813 (__libc_res_nquerydomain): Add parameter
13814 answerp2_malloced and pass it down to __libc_res_nquery.
13815 (res_nquerydomain): Pass additional NULL to
13816 __libc_res_nquerydomain.
13817 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
13818 additional NULL to __libc_res_nsend and __libc_res_nquery.
13819 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
13820 additional NULL to __libc_res_nsearch.
13821 (_nss_dns_gethostbyname4_r): Revert last change. Use new
13822 parameter of __libc_res_nsearch to check for separately allocated
13823 second buffer.
13824 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
13825 __libc_res_nquery.
13826 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
13827 additional NULL to __libc_res_nquery.
13828 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
13829 __libc_res_nsearch.
13830 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
13831 * include/resolv.h: Update prototypes of __libc_res_nquery,
13832 __libc_res_nsearch, __libc_res_nsend.
13833
13834 2014-02-18 Joseph Myers <joseph@codesourcery.com>
13835
13836 * math/auto-libm-test-in: Add tests of fma.
13837 * math/auto-libm-test-out: Regenerated.
13838 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
13839 (fma_towardzero_test_data): Likewise.
13840 (fma_downward_test_data): Likewise.
13841 (fma_upward_test_data): Likewise.
13842 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
13843 mpc_mode.
13844 (rounding_modes): Add values for new field.
13845 (func_calc_method): Add value mpfr_fff_f.
13846 (func_calc_desc): Add mpfr_fff_f union field.
13847 (test_function): Add field exact_args.
13848 (FUNC): Add macro argument EXACT_ARGS.
13849 (FUNC_mpfr_f_f): Update call to FUNC.
13850 (FUNC_mpfr_f_f): Likewise.
13851 (FUNC_mpfr_ff_f): Likewise.
13852 (FUNC_mpfr_if_f): Likewise.
13853 (FUNC_mpc_c_f): Likewise.
13854 (FUNC_mpc_c_c): Likewise.
13855 (test_functions): Add fma. Update calls to FUNC.
13856 (handle_input_arg): Add argument exact_args.
13857 (add_test): Update call to handle_input_arg.
13858 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
13859 (output_for_one_input_case): Update call to calc_generic_results.
13860 Recalculate exact zero results in each rounding mode.
13861
13862 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
13863 non-negative before setting low bit.
13864 * math/auto-libm-test-in: Mark one asin test possibly having
13865 spurious underflow.
13866 * math/auto-libm-test-out: Regenerated.
13867 * sysdeps/i386/fpu/libm-test-ulps: Update.
13868 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13869
13870 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
13871
13872 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
13873 * sysdeps/unix/sysv/linux/microblaze: Move directory from
13874 ports/sysdeps/unix/sysv/linux/microblaze.
13875 * README: Add missing listing for microblaze*-*-linux-gnu.
13876
13877 2014-02-16 Ondřej Bílka <neleai@seznam.cz>
13878
13879 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
13880 duplicate code
13881
13882 2014-02-16 Mike Frysinger <vapier@gentoo.org>
13883
13884 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
13885 * sysdeps/unix/sysv/linux/ia64: Move directory from
13886 ports/sysdeps/unix/sysv/linux/ia64.
13887 * README: Update listing for ia64-*-linux-gnu.
13888
13889 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
13890 Joseph Myers <joseph@codesourcery.com>
13891
13892 * Makeconfig (test-name): New variable.
13893 (evaluate-test): Likewise.
13894 * Makerules (do-test-clean): Remove .test-result files.
13895 (common-mostlyclean): Likewise.
13896 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
13897 * scripts/evaluate-test.sh: New file.
13898
13899 2014-02-14 Joseph Myers <joseph@codesourcery.com>
13900
13901 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
13902 separate $(objpfx)tst-fopenloc-cmp.out and
13903 $(objpfx)tst-fopenloc-mem.out targets.
13904 (tests): Update dependencies.
13905 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
13906 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
13907 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
13908 (tst-rxspencer-no-utf8-ARGS): New variable.
13909 (tst-rxspencer-no-utf8-ENV): Likewise.
13910 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
13911 instead of $(objpfx)tst-rxspencer-mem.
13912 ($(objpfx)tst-rxspencer-mem): Change target to
13913 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
13914 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
13915 * posix/tst-rxspencer-no-utf8.c: New file.
13916
13917 * elf/Makefile ($(objpfx)order.out): Remove rule.
13918 [$(run-built-tests) = yes] (tests): Depend on
13919 $(objpfx)order-cmp.out.
13920 ($(objpfx)order-cmp.out): New rule.
13921 [$(run-built-tests) = yes] (tests): Depend on
13922 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
13923 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
13924 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
13925 $(objpfx)tst-array5-static-cmp.out.
13926 ($(objpfx)tst-array1.out): Remove rule.
13927 ($(objpfx)tst-array1-cmp.out): New rule.
13928 ($(objpfx)tst-array1-static.out): Remove rule.
13929 ($(objpfx)tst-array1-static-cmp.out): New rule.
13930 ($(objpfx)tst-array2.out): Remove rule.
13931 ($(objpfx)tst-array2-cmp.out): New rule.
13932 ($(objpfx)tst-array3.out): Remove rule.
13933 ($(objpfx)tst-array3-cmp.out): New rule.
13934 ($(objpfx)tst-array4.out): Remove rule.
13935 ($(objpfx)tst-array4-cmp.out): New rule.
13936 ($(objpfx)tst-array5.out): Remove rule.
13937 ($(objpfx)tst-array5-cmp.out): New rule.
13938 ($(objpfx)tst-array5-static.out): Remove rule.
13939 ($(objpfx)tst-array5-static-cmp.out): New rule.
13940 [$(run-built-tests) = yes] (tests): Depend on
13941 $(objpfx)order2-cmp.out.
13942 ($(objpfx)order2.out): Remove rule.
13943 ($(objpfx)order2-cmp.out): New rule.
13944 ($(objpfx)tst-initorder.out): Remove rule.
13945 [$(run-built-tests) = yes] (tests): Depend on
13946 $(objpfx)tst-initorder-cmp.out.
13947 ($(objpfx)tst-initorder-cmp.out): New rule.
13948 ($(objpfx)tst-initorder2.out): Remove rule.
13949 [$(run-built-tests) = yes] (tests): Depend on
13950 $(objpfx)tst-initorder2-cmp.out.
13951 ($(objpfx)tst-initorder2-cmp.out): New rule.
13952 [$(run-built-tests) = yes] (tests): Depend on
13953 $(objpfx)tst-unused-dep-cmp.out.
13954 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
13955 ($(objpfx)tst-unused-dep-cmp.out): New rule.
13956 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
13957 on $(objpfx)tst-setvbuf1-cmp.out.
13958 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
13959 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
13960 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
13961 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
13962 ($(objpfx)tst-svc.out): Remove rule.
13963 ($(objpfx)tst-svc-cmp.out): New rule.
13964
13965 2014-02-13 Joseph Myers <joseph@codesourcery.com>
13966
13967 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
13968 * ctype/ctype.h [__USE_MISC]: Likewise.
13969 * dirent/dirent.h [__USE_MISC]: Likewise.
13970 * grp/grp.h [__USE_MISC]: Likewise.
13971 * io/fcntl.h [__USE_MISC]: Likewise.
13972 * io/sys/stat.h [__USE_MISC]: Likewise.
13973 * libio/stdio.h [__USE_MISC]: Likewise.
13974 * posix/unistd.h [__USE_MISC]: Likewise.
13975 * pwd/pwd.h [__USE_MISC]: Likewise.
13976 * stdlib.h [__USE_MISC]: Likewise.
13977 * string/bits/string2.h [__USE_MISC]: Likewise.
13978 * string/string.h [__USE_MISC]: Likewise.
13979 * time/time.h [__USE_MISC]: Likewise.
13980
13981 2014-02-13 Andreas Schwab <schwab@suse.de>
13982
13983 [BZ #16574]
13984 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
13985 second answer buffer if it was separately allocated.
13986
13987 2014-02-12 Joseph Myers <joseph@codesourcery.com>
13988
13989 * sysdeps/mips/math-tests.h: Include <features.h>.
13990 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
13991 (ROUNDING_TESTS_long_double): Do not define.
13992 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
13993 (EXCEPTION_TESTS_long_double): Likewise.
13994 * sysdeps/mips/mips64/libm-test-ulps: Update.
13995
13996 * include/features.h (__USE_BSD): Remove macro definitions.
13997 (__USE_SVID): Likewise.
13998 (_BSD_SOURCE): Likewise.
13999 (_SVID_SOURCE): Likewise.
14000 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
14001 from definition of _DEFAULT_SOURCE.
14002 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
14003 [_DEFAULT_SOURCE].
14004 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
14005 * bits/mman.h [__USE_BSD]: Likewise.
14006 * bits/termios.h [__USE_BSD]: Likewise.
14007 * bits/waitstatus.h [__USE_BSD]: Likewise.
14008 * ctype/ctype.h [__USE_SVID]: Likewise.
14009 * dirent/dirent.h [__USE_BSD]: Likewise.
14010 * grp/grp.h [__USE_SVID]: Likewise.
14011 [__USE_BSD]: Likewise.
14012 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
14013 * io/fcntl.h [__USE_BSD]: Likewise.
14014 * io/ftw.h [__USE_BSD]: Likewise.
14015 * io/sys/stat.h [__USE_BSD]: Likewise.
14016 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
14017 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
14018 * libio/stdio.h [__USE_SVID]: Likewise.
14019 [__USE_BSD]: Likewise.
14020 * math/math.h [__USE_SVID]: Likewise.
14021 [__USE_BSD]: Likewise.
14022 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
14023 * misc/bits/syslog.h [__USE_BSD]: Likewise.
14024 * misc/search.h [__USE_SVID]: Likewise.
14025 * misc/sys/mman.h [__USE_BSD]: Likewise.
14026 * misc/sys/syslog.h [__USE_BSD]: Likewise.
14027 * misc/sys/uio.h [__USE_BSD]: Likewise.
14028 * posix/bits/unistd.h [__USE_BSD]: Likewise.
14029 * posix/glob.h [__USE_BSD]: Likewise.
14030 * posix/regex.h [__USE_BSD]: Likewise.
14031 * posix/sys/types.h [__USE_BSD]: Likewise.
14032 [__USE_SVID]: Likewise.
14033 * posix/sys/utsname.h [__USE_SVID]: Likewise.
14034 * posix/sys/wait.h [__USE_BSD]: Likewise.
14035 [__USE_SVID]: Likewise.
14036 * posix/unistd.h [__USE_BSD]: Likewise.
14037 [__USE_SVID]: Likewise.
14038 * pwd/pwd.h [__USE_SVID]: Likewise.
14039 * resolv/netdb.h [__USE_BSD]: Likewise.
14040 * setjmp/setjmp.h [__USE_BSD]: Likewise.
14041 * signal/signal.h [__USE_BSD]: Likewise.
14042 [__USE_SVID]: Likewise.
14043 * socket/sys/socket.h [__USE_BSD]: Likewise.
14044 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
14045 * stdlib/stdlib.h [__USE_BSD]: Likewise.
14046 [__USE_SVID]: Likewise.
14047 * string/bits/string2.h [__USE_BSD]: Likewise.
14048 [__USE_SVID]: Likewise.
14049 * string/bits/string3.h [__USE_BSD]: Likewise.
14050 * string/endian.h [__USE_BSD]: Likewise.
14051 * string/string.h [__USE_SVID]: Likewise.
14052 [__USE_BSD]: Likewise.
14053 * string/strings.h [__USE_BSD]: Likewise.
14054 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
14055 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
14056 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
14057 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
14058 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
14059 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
14060 Likewise.
14061 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
14062 Likewise.
14063 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
14064 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
14065 Likewise.
14066 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
14067 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
14068 Likewise.
14069 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
14070 Likewise.
14071 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
14072 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
14073 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
14074 Likewise.
14075 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
14076 Likewise.
14077 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
14078 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
14079 * termios/termios.h [__USE_BSD]: Likewise.
14080 * time/sys/time.h [__USE_BSD]: Likewise.
14081 * time/time.h [__USE_BSD]: Likewise.
14082 [__USE_SVID]: Likewise.
14083
14084 * Makefile (subdir_targets): Remove subdir_lint.out.
14085
14086 * stdio-common/Makefile (do-tst-unbputc): Remove target.
14087 (do-tst-printf): Likewise.
14088 (tests): Depend directly on $(objpfx)tst-unbputc.out and
14089 $(objpfx)tst-printf.out.
14090
14091 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
14092
14093 * Makerules (check-abi-%): Change target to
14094 $(objpfx)check-abi-%.out.
14095 (check-abi target): Update dependencies.
14096 (check-abi-pattern variable): Redirect output of diff to $@.
14097 (check-abi variable): Likewise.
14098 * elf/Makefile (check-abi): Update dependencies.
14099
14100 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
14101 unused.
14102 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
14103 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
14104 subnormal range.
14105 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
14106 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
14107 value has largest subnormal exponent.
14108 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
14109 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
14110 * sysdeps/aarch64/soft-fp/sfp-machine.h
14111 (_FP_TININESS_AFTER_ROUNDING): New macro.
14112 * sysdeps/alpha/soft-fp/sfp-machine.h
14113 (_FP_TININESS_AFTER_ROUNDING): Likewise.
14114 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
14115 Likewise.
14116 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
14117 (_FP_TININESS_AFTER_ROUNDING): Likewise.
14118 * sysdeps/mips/soft-fp/sfp-machine.h
14119 (_FP_TININESS_AFTER_ROUNDING): Likewise.
14120 * sysdeps/powerpc/soft-fp/sfp-machine.h
14121 (_FP_TININESS_AFTER_ROUNDING): Likewise.
14122 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
14123 Likewise.
14124 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
14125 (_FP_TININESS_AFTER_ROUNDING): Likewise.
14126 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
14127 (_FP_TININESS_AFTER_ROUNDING): Likewise.
14128 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
14129 Likewise.
14130
14131 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
14132
14133 [BZ #16545]
14134 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
14135 model 1.
14136
14137 2014-02-12 Richard Henderson <rth@redhat.com>
14138
14139 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
14140 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
14141 * sysdeps/unix/sysv/linux/alpha: Move directory from
14142 ports/sysdeps/unix/sysv/linux/alpha.
14143 * README: Update listing for alpha-*-linux-gnu.
14144
14145 2014-02-11 Joseph Myers <joseph@codesourcery.com>
14146
14147 * include/features.h: Update comment documenting feature test
14148 macros.
14149 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
14150 _DEFAULT_SOURCE.
14151 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
14152 (_SVID_SOURCE): Likewise.
14153 (_DEFAULT_SOURCE): Update description of default features.
14154 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
14155 with _GNU_SOURCE.
14156 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
14157 (S_ISVTX): Likewise.
14158 * manual/math.texi (Mathematical Constants): Likewise.
14159 * manual/signal.texi (Interrupted Primitives): Likewise.
14160 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
14161 * math/test-matherr.c (_SVID_SOURCE): Do not define.
14162 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
14163 Don't refer to _SVID_SOURCE in warning text.
14164
14165 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14166
14167 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
14168 already defined.
14169 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
14170 * sysdeps/mips/dl-lookup.c: Remove.
14171 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
14172
14173 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
14174
14175 [BZ #16447]
14176 * math/auto-libm-test-in: Add testcase for expl.
14177 * math/auto-libm-test-out: Regenerate.
14178 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
14179 calculation of unsafe.
14180 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
14181
14182 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
14183
14184 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
14185 * sysdeps/unix/sysv/linux/aarch64: Move directory from
14186 ports/sysdeps/unix/sysv/linux/aarch64.
14187 * README: Update listing for aarch64*-*-linux-gnu.
14188
14189 2014-02-11 Will Newton <will.newton@linaro.org>
14190
14191 * manual/probes.texi (Mathematical Function Probes): Use
14192 "triggered" instead of "hit".
14193
14194 * manual/probes.texi (Internal Probes): Add documentation
14195 of setjmp, longjmp and longjmp_target probes.
14196
14197 * include/stap-probe.h: Add comment about probe argument
14198 format.
14199
14200 * malloc/mtrace.c (attribute_hidden): Remove unused macro
14201 definition. (tr_where, tr_freehook, tr_mallochook,
14202 tr_reallochook, tr_memalignhook): Use ANSI protoype.
14203
14204 2014-02-11 David S. Miller <davem@davemloft.net>
14205
14206 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
14207 processing int_tests.
14208
14209 2014-02-10 Joseph Myers <joseph@codesourcery.com>
14210
14211 * sysdeps/mips: Move directory from ports/sysdeps/mips.
14212 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
14213 * sysdeps/unix/sysv/linux/mips: Move directory from
14214 ports/sysdeps/unix/sysv/linux/mips.
14215 * README: Update listing for mips-*-linux-gnu and
14216 mips64-*-linux-gnu.
14217
14218 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
14219
14220 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
14221 * sysdeps/unix/sysv/linux/m68k: Move directory from
14222 ports/sysdeps/unix/sysv/linux/m68k.
14223 * README: Update listing for m68k-*-linux-gnu.
14224
14225 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
14226
14227 * sysdeps/tile: Move directory from ports/sysdeps/tile.
14228 * sysdeps/unix/sysv/linux/generic: Move directory from
14229 ports/sysdeps/unix/sysv/linux/generic.
14230 * sysdeps/unix/sysv/linux/tile: Move directory from
14231 ports/sysdeps/unix/sysv/linux/tile.
14232 * README: Update listing for tile*-*-linux-gnu.
14233
14234 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
14235
14236 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
14237 __builtin_expect.
14238 * benchtests/bench-memmem.c (simple_memmem): Likewise.
14239 * catgets/open_catalog.c (__open_catalog): Likewise.
14240 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
14241 * debug/confstr_chk.c: Likewise.
14242 * debug/fread_chk.c (__fread_chk): Likewise.
14243 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
14244 * debug/getgroups_chk.c: Likewise.
14245 * debug/mbsnrtowcs_chk.c: Likewise.
14246 * debug/mbsrtowcs_chk.c: Likewise.
14247 * debug/mbstowcs_chk.c: Likewise.
14248 * debug/memcpy_chk.c: Likewise.
14249 * debug/memmove_chk.c: Likewise.
14250 * debug/mempcpy_chk.c: Likewise.
14251 * debug/memset_chk.c: Likewise.
14252 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
14253 * debug/strcat_chk.c (__strcat_chk): Likewise.
14254 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
14255 * debug/strncat_chk.c (__strncat_chk): Likewise.
14256 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
14257 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
14258 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
14259 * debug/wcpncpy_chk.c: Likewise.
14260 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
14261 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
14262 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
14263 * debug/wcsncpy_chk.c: Likewise.
14264 * debug/wcsnrtombs_chk.c: Likewise.
14265 * debug/wcsrtombs_chk.c: Likewise.
14266 * debug/wcstombs_chk.c: Likewise.
14267 * debug/wmemcpy_chk.c: Likewise.
14268 * debug/wmemmove_chk.c: Likewise.
14269 * debug/wmempcpy_chk.c: Likewise.
14270 * debug/wmemset_chk.c: Likewise.
14271 * dirent/scandirat.c (SCANDIRAT): Likewise.
14272 * dlfcn/dladdr1.c (dladdr1): Likewise.
14273 * dlfcn/dladdr.c (dladdr): Likewise.
14274 * dlfcn/dlclose.c (dlclose_doit): Likewise.
14275 * dlfcn/dlerror.c (__dlerror): Likewise.
14276 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
14277 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
14278 * dlfcn/dlopen.c (dlopen_doit): Likewise.
14279 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
14280 * dlfcn/dlsym.c (dlsym_doit): Likewise.
14281 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
14282 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
14283 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
14284 Likewise.
14285 * elf/dl-conflict.c: Likewise.
14286 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
14287 * elf/dl-dst.h: Likewise.
14288 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
14289 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
14290 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
14291 * elf/dl-init.c (call_init, _dl_init): Likewise.
14292 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
14293 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
14294 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
14295 Likewise.
14296 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
14297 Likewise.
14298 * elf/dl-minimal.c (__libc_memalign): Likewise.
14299 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
14300 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
14301 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
14302 * elf/dl-sym.c (do_sym): Likewise.
14303 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
14304 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
14305 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
14306 * elf/dl-writev.h (_dl_writev): Likewise.
14307 * elf/ldconfig.c (search_dir): Likewise.
14308 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
14309 (dl_main): Likewise.
14310 * elf/setup-vdso.h (setup_vdso): Likewise.
14311 * grp/compat-initgroups.c (compat_call): Likewise.
14312 * grp/fgetgrent.c (fgetgrent): Likewise.
14313 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
14314 * grp/putgrent.c (putgrent): Likewise.
14315 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
14316 Likewise.
14317 * hurd/hurdinit.c: Likewise.
14318 * iconvdata/8bit-gap.c (struct): Likewise.
14319 * iconvdata/ansi_x3.110.c : Likewise.
14320 * iconvdata/big5.c : Likewise.
14321 * iconvdata/big5hkscs.c : Likewise.
14322 * iconvdata/cp1255.c: Likewise.
14323 * iconvdata/cp1258.c : Likewise.
14324 * iconvdata/cp932.c : Likewise.
14325 * iconvdata/euc-cn.c: Likewise.
14326 * iconvdata/euc-jisx0213.c : Likewise.
14327 * iconvdata/euc-jp.c: Likewise.
14328 * iconvdata/euc-jp-ms.c : Likewise.
14329 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
14330 * iconvdata/gb18030.c : Likewise.
14331 * iconvdata/gbbig5.c (const): Likewise.
14332 * iconvdata/gbgbk.c: Likewise.
14333 * iconvdata/gbk.c : Likewise.
14334 * iconvdata/ibm1364.c : Likewise.
14335 * iconvdata/ibm930.c : Likewise.
14336 * iconvdata/ibm932.c: Likewise.
14337 * iconvdata/ibm933.c : Likewise.
14338 * iconvdata/ibm935.c : Likewise.
14339 * iconvdata/ibm937.c : Likewise.
14340 * iconvdata/ibm939.c : Likewise.
14341 * iconvdata/ibm943.c: Likewise.
14342 * iconvdata/iso_11548-1.c: Likewise.
14343 * iconvdata/iso-2022-cn.c : Likewise.
14344 * iconvdata/iso-2022-cn-ext.c : Likewise.
14345 * iconvdata/iso-2022-jp-3.c: Likewise.
14346 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
14347 * iconvdata/iso-2022-kr.c : Likewise.
14348 * iconvdata/iso646.c (gconv_end): Likewise.
14349 * iconvdata/iso_6937-2.c : Likewise.
14350 * iconvdata/iso_6937.c : Likewise.
14351 * iconvdata/iso8859-1.c: Likewise.
14352 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
14353 * iconvdata/shift_jisx0213.c : Likewise.
14354 * iconvdata/sjis.c : Likewise.
14355 * iconvdata/t.61.c : Likewise.
14356 * iconvdata/tcvn5712-1.c : Likewise.
14357 * iconvdata/tscii.c: Likewise.
14358 * iconvdata/uhc.c : Likewise.
14359 * iconvdata/unicode.c (gconv_end): Likewise.
14360 * iconvdata/utf-16.c (gconv_end): Likewise.
14361 * iconvdata/utf-32.c (gconv_end): Likewise.
14362 * iconvdata/utf-7.c (base64): Likewise.
14363 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
14364 * iconv/gconv_close.c (__gconv_close): Likewise.
14365 * iconv/gconv_open.c (__gconv_open): Likewise.
14366 * iconv/gconv_simple.c (internal_ucs4_loop_single)
14367 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
14368 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
14369 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
14370 (ucs4le_internal_loop_single): Likewise.
14371 * iconv/iconv.c (iconv): Likewise.
14372 * iconv/iconv_close.c: Likewise.
14373 * iconv/loop.c (SINGLE): Likewise.
14374 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
14375 * include/atomic.h: Likewise.
14376 * inet/inet6_option.c (option_alloc): Likewise.
14377 * intl/bindtextdom.c (set_binding_values): Likewise.
14378 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
14379 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
14380 * intl/localealias.c (read_alias_file): Likewise.
14381 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
14382 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
14383 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
14384 * libio/fmemopen.c (fmemopen): Likewise.
14385 * libio/iofgets.c (_IO_fgets): Likewise.
14386 * libio/iofgets_u.c (fgets_unlocked): Likewise.
14387 * libio/iofgetws.c (fgetws): Likewise.
14388 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
14389 * libio/iogetdelim.c (_IO_getdelim): Likewise.
14390 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
14391 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
14392 * locale/findlocale.c (_nl_find_locale): Likewise.
14393 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
14394 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
14395 Likewise.
14396 * locale/setlocale.c (setlocale): Likewise.
14397 * login/programs/pt_chown.c (main): Likewise.
14398 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
14399 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
14400 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
14401 (mmap, mmap64, mremap, munmap): Likewise.
14402 * math/e_exp2l.c: Likewise.
14403 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
14404 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
14405 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
14406 * math/s_catan.c (__catan): Likewise.
14407 * math/s_catanf.c (__catanf): Likewise.
14408 * math/s_catanh.c (__catanh): Likewise.
14409 * math/s_catanhf.c (__catanhf): Likewise.
14410 * math/s_catanhl.c (__catanhl): Likewise.
14411 * math/s_catanl.c (__catanl): Likewise.
14412 * math/s_ccosh.c (__ccosh): Likewise.
14413 * math/s_ccoshf.c (__ccoshf): Likewise.
14414 * math/s_ccoshl.c (__ccoshl): Likewise.
14415 * math/s_cexp.c (__cexp): Likewise.
14416 * math/s_cexpf.c (__cexpf): Likewise.
14417 * math/s_cexpl.c (__cexpl): Likewise.
14418 * math/s_clog10.c (__clog10): Likewise.
14419 * math/s_clog10f.c (__clog10f): Likewise.
14420 * math/s_clog10l.c (__clog10l): Likewise.
14421 * math/s_clog.c (__clog): Likewise.
14422 * math/s_clogf.c (__clogf): Likewise.
14423 * math/s_clogl.c (__clogl): Likewise.
14424 * math/s_csin.c (__csin): Likewise.
14425 * math/s_csinf.c (__csinf): Likewise.
14426 * math/s_csinh.c (__csinh): Likewise.
14427 * math/s_csinhf.c (__csinhf): Likewise.
14428 * math/s_csinhl.c (__csinhl): Likewise.
14429 * math/s_csinl.c (__csinl): Likewise.
14430 * math/s_csqrt.c (__csqrt): Likewise.
14431 * math/s_csqrtf.c (__csqrtf): Likewise.
14432 * math/s_csqrtl.c (__csqrtl): Likewise.
14433 * math/s_ctan.c (__ctan): Likewise.
14434 * math/s_ctanf.c (__ctanf): Likewise.
14435 * math/s_ctanh.c (__ctanh): Likewise.
14436 * math/s_ctanhf.c (__ctanhf): Likewise.
14437 * math/s_ctanhl.c (__ctanhl): Likewise.
14438 * math/s_ctanl.c (__ctanl): Likewise.
14439 * math/w_pow.c: Likewise.
14440 * math/w_powf.c: Likewise.
14441 * math/w_powl.c: Likewise.
14442 * math/w_scalb.c (sysv_scalb): Likewise.
14443 * math/w_scalbf.c (sysv_scalbf): Likewise.
14444 * math/w_scalbl.c (sysv_scalbl): Likewise.
14445 * misc/error.c (error_tail): Likewise.
14446 * misc/pselect.c (__pselect): Likewise.
14447 * nis/nis_callback.c (__nis_create_callback): Likewise.
14448 * nis/nis_call.c (__nisfind_server): Likewise.
14449 * nis/nis_creategroup.c (nis_creategroup): Likewise.
14450 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
14451 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
14452 * nis/nis_getservlist.c (nis_getservlist): Likewise.
14453 * nis/nis_lookup.c (nis_lookup): Likewise.
14454 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
14455 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
14456 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
14457 * nis/nis_xdr.c (xdr_endpoint): Likewise.
14458 * nis/nss_compat/compat-grp.c (getgrent_next_file)
14459 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
14460 * nis/nss_compat/compat-initgroups.c (add_group)
14461 (internal_getgrent_r): Likewise.
14462 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
14463 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
14464 * nis/nss_compat/compat-spwd.c (getspent_next_file)
14465 (internal_getspnam_r): Likewise.
14466 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
14467 (_nss_nis_getaliasbyname_r): Likewise.
14468 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
14469 (_nss_nis_getntohost_r): Likewise.
14470 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
14471 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
14472 (_nss_nis_getgrgid_r): Likewise.
14473 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
14474 (internal_nis_gethostent_r, internal_gethostbyname2_r)
14475 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
14476 (_nss_nis_gethostbyname4_r): Likewise.
14477 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
14478 (initgroups_netid): Likewise.
14479 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
14480 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
14481 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
14482 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
14483 (_nss_nis_getprotobynumber_r): Likewise.
14484 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
14485 (_nss_nis_getsecretkey): Likewise.
14486 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
14487 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
14488 (_nss_nis_getpwuid_r): Likewise.
14489 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
14490 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
14491 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
14492 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
14493 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
14494 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
14495 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
14496 Likewise.
14497 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
14498 (_nss_nisplus_getntohost_r): Likewise.
14499 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
14500 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
14501 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
14502 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
14503 Likewise.
14504 * nis/nss_nisplus/nisplus-initgroups.c
14505 (_nss_nisplus_initgroups_dyn): Likewise.
14506 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
14507 (_nss_nisplus_getnetbyaddr_r): Likewise.
14508 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
14509 (_nss_nisplus_getprotobynumber_r): Likewise.
14510 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
14511 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
14512 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
14513 Likewise.
14514 * nis/nss_nisplus/nisplus-service.c
14515 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
14516 (_nss_nisplus_getservbyport_r): Likewise.
14517 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
14518 (_nss_nisplus_getspnam_r): Likewise.
14519 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
14520 Likewise.
14521 * nscd/aicache.c (addhstaiX): Likewise.
14522 * nscd/cache.c (cache_search, prune_cache): Likewise.
14523 * nscd/connections.c (register_traced_file, send_ro_fd)
14524 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
14525 (main_loop_epoll): Likewise.
14526 * nscd/grpcache.c (addgrbyX): Likewise.
14527 * nscd/hstcache.c (addhstbyX): Likewise.
14528 * nscd/initgrcache.c (addinitgroupsX): Likewise.
14529 * nscd/mem.c (gc, mempool_alloc): Likewise.
14530 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
14531 (addinnetgrX): Likewise.
14532 * nscd/nscd-client.h (__nscd_acquire_maplock)
14533 (__nscd_drop_map_ref): Likewise.
14534 * nscd/nscd_getai.c (__nscd_getai): Likewise.
14535 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
14536 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
14537 Likewise.
14538 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
14539 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
14540 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
14541 (__nscd_get_map_ref): Likewise.
14542 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
14543 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
14544 Likewise.
14545 * nscd/pwdcache.c (addpwbyX): Likewise.
14546 * nscd/selinux.c (preserve_capabilities): Likewise.
14547 * nscd/servicescache.c (addservbyX): Likewise.
14548 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
14549 * posix/fnmatch.c (fnmatch): Likewise.
14550 * posix/getopt.c (_getopt_internal_r): Likewise.
14551 * posix/glob.c (glob, glob_in_dir): Likewise.
14552 * posix/wordexp.c (exec_comm_child): Likewise.
14553 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
14554 (getanswer_r, gaih_getanswer_slice): Likewise.
14555 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
14556 * resolv/res_init.c: Likewise.
14557 * resolv/res_mkquery.c (res_nmkquery): Likewise.
14558 * resolv/res_query.c (__libc_res_nquery): Likewise.
14559 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
14560 Likewise.
14561 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
14562 * stdio-common/perror.c (perror): Likewise.
14563 * stdio-common/printf_fp.c (___printf_fp): Likewise.
14564 * stdio-common/tmpnam.c (tmpnam): Likewise.
14565 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
14566 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
14567 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
14568 Likewise.
14569 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
14570 * stdlib/putenv.c (putenv): Likewise.
14571 * stdlib/setenv.c (__add_to_environ): Likewise.
14572 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
14573 * stdlib/strtol_l.c (INTERNAL): Likewise.
14574 * string/memmem.c (memmem): Likewise.
14575 * string/strerror.c (strerror): Likewise.
14576 * string/strnlen.c (__strnlen): Likewise.
14577 * string/test-memmem.c (simple_memmem): Likewise.
14578 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
14579 * sunrpc/pm_getport.c (__get_socket): Likewise.
14580 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
14581 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
14582 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
14583 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
14584 Likewise.
14585 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
14586 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
14587 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
14588 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
14589 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
14590 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
14591 Likewise.
14592 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
14593 Likewise.
14594 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
14595 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
14596 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
14597 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
14598 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
14599 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
14600 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
14601 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
14602 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
14603 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
14604 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
14605 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
14606 Likewise.
14607 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
14608 Likewise.
14609 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
14610 Likewise.
14611 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
14612 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
14613 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
14614 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
14615 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
14616 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
14617 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
14618 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
14619 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
14620 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
14621 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
14622 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
14623 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
14624 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
14625 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
14626 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
14627 Likewise.
14628 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
14629 Likewise.
14630 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
14631 Likewise.
14632 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
14633 Likewise.
14634 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
14635 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
14636 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
14637 Likewise.
14638 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
14639 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
14640 * sysdeps/posix/opendir.c (__opendirat): Likewise.
14641 * sysdeps/posix/sleep.c: Likewise.
14642 * sysdeps/posix/tempname.c: Likewise.
14643 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
14644 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
14645 Likewise.
14646 * sysdeps/powerpc/powerpc32/dl-machine.h
14647 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
14648 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
14649 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
14650 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
14651 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
14652 Likewise.
14653 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
14654 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
14655 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
14656 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
14657 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
14658 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
14659 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
14660 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
14661 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
14662 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
14663 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
14664 (elf_machine_lazy_rel): Likewise.
14665 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
14666 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
14667 (elf_machine_lazy_rel): Likewise.
14668 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
14669 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
14670 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
14671 * sysdeps/unix/grantpt.c (grantpt): Likewise.
14672 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
14673 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
14674 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
14675 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
14676 Likewise.
14677 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
14678 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
14679 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
14680 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
14681 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
14682 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
14683 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
14684 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
14685 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
14686 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
14687 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
14688 Likewise.
14689 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
14690 (__posix_fallocate64_l64): Likewise.
14691 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
14692 (posix_fallocate): Likewise.
14693 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
14694 Likewise.
14695 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
14696 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
14697 (getifaddrs_internal): Likewise.
14698 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
14699 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
14700 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
14701 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
14702 * sysdeps/unix/sysv/linux/posix_fallocate64.c
14703 (__posix_fallocate64_l64): Likewise.
14704 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
14705 Likewise.
14706 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
14707 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
14708 (__get_clockfreq): Likewise.
14709 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
14710 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
14711 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
14712 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
14713 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
14714 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
14715 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
14716 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
14717 Likewise.
14718 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
14719 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
14720 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
14721 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
14722 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
14723 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
14724 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
14725 Likewise.
14726 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
14727 (posix_fallocate): Likewise.
14728 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
14729 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
14730 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
14731 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
14732 (elf_machine_rela, elf_machine_rela_relative)
14733 (elf_machine_lazy_rel): Likewise.
14734 * time/asctime.c (asctime_internal): Likewise.
14735 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
14736 * time/tzset.c (__tzset_parse_tz): Likewise.
14737 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
14738 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
14739 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
14740 * wcsmbs/wcsmbsload.h: Likewise.
14741
14742 [BZ #15894]
14743 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
14744
14745 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
14746 (arena_get2): Remove THREAD_STATS conditionals.
14747 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
14748 (__malloc_stats, int): Likewise.
14749
14750 2014-02-08 Mike Frysinger <vapier@gentoo.org>
14751
14752 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
14753 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
14754
14755 * manual/setjmp.texi: Fix typos/grammar errors.
14756
14757 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
14758 Only return early when n is <= 0. Delete unused return statement.
14759
14760 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
14761 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
14762 * debug/tst-longjmp_chk3.c: New file.
14763
14764 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
14765 (test_main): Replace code with set_fortify_handler call.
14766 * debug/test-strcpy_chk.c: Likewise.
14767 * debug/tst-chk1.c: Likewise.
14768 * debug/tst-longjmp_chk.c: Likewise.
14769 * test-skeleton.c: Include fcntl.h & paths.h
14770 (set_fortify_handler): Define.
14771
14772 * debug/tst-longjmp_chk.c: Add header comment and include
14773 ../test-skeleton.c.
14774 (do_test): Mark static.
14775 (TEST_FUNCTION): Define.
14776
14777 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
14778 (IP_PMTUDISC_INTERFACE): Likewise.
14779 (IP_MULTICAST_IF): Likewise.
14780 (IP_MULTICAST_TTL): Likewise.
14781 (IP_MULTICAST_LOOP): Likewise.
14782 (IP_ADD_MEMBERSHIP): Likewise.
14783 (IP_DROP_MEMBERSHIP): Likewise.
14784 (IP_UNBLOCK_SOURCE): Likewise.
14785 (IP_BLOCK_SOURCE): Likewise.
14786 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
14787 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
14788 (IP_MSFILTER): Likewise.
14789 (MCAST_JOIN_GROUP): Likewise.
14790 (MCAST_BLOCK_SOURCE): Likewise.
14791 (MCAST_UNBLOCK_SOURCE): Likewise.
14792 (MCAST_LEAVE_GROUP): Likewise.
14793 (MCAST_JOIN_SOURCE_GROUP): Likewise.
14794 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
14795 (MCAST_MSFILTER): Likewise.
14796 (IP_MULTICAST_ALL): Likewise.
14797 (IP_UNICAST_IF): Likewise.
14798
14799 * timezone/Makefile: Delete $(have-ksh) check.
14800 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
14801 * timezone/tzselect.ksh: Add +x mode bits.
14802
14803 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
14804 (ANON_INODE_FS_MAGIC): Likewise.
14805 (BDEVFS_MAGIC): Likewise.
14806 (BINFMTFS_MAGIC): Likewise.
14807 (BTRFS_TEST_MAGIC): Likewise.
14808 (CRAMFS_MAGIC_WEND): Likewise.
14809 (DEBUGFS_MAGIC): Likewise.
14810 (ECRYPTFS_SUPER_MAGIC): Likewise.
14811 (EXT3_SUPER_MAGIC): Likewise.
14812 (EXT4_SUPER_MAGIC): Likewise.
14813 (FUTEXFS_SUPER_MAGIC): Likewise.
14814 (HOSTFS_SUPER_MAGIC): Likewise.
14815 (HUGETLBFS_MAGIC): Likewise.
14816 (MINIX3_SUPER_MAGIC): Likewise.
14817 (MTD_INODE_FS_MAGIC): Likewise.
14818 (NILFS_SUPER_MAGIC): Likewise.
14819 (OPENPROM_SUPER_MAGIC): Likewise.
14820 (PIPEFS_MAGIC): Likewise.
14821 (PSTOREFS_MAGIC): Likewise.
14822 (QNX6_SUPER_MAGIC): Likewise.
14823 (RAMFS_MAGIC): Likewise.
14824 (REISERFS_SUPER_MAGIC_STRING): Likewise.
14825 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
14826 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
14827 (SECURITYFS_MAGIC): Likewise.
14828 (SELINUX_MAGIC): Likewise.
14829 (SMACK_MAGIC): Likewise.
14830 (SOCKFS_MAGIC): Likewise.
14831 (SQUASHFS_MAGIC): Likewise.
14832 (STACK_END_MAGIC): Likewise.
14833 (TMPFS_MAGIC): Likewise.
14834 (USBDEVICE_SUPER_MAGIC): Likewise.
14835 (V9FS_MAGIC): Likewise.
14836 (XENFS_SUPER_MAGIC): Likewise.
14837 (CRAMFS_MAGIC): Fix typo in comment.
14838 (EXT2_SUPER_MAGIC): Update comment.
14839 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
14840
14841 2014-02-08 Joseph Myers <joseph@codesourcery.com>
14842
14843 * sysdeps/arm: Move directory from ports/sysdeps/arm.
14844 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
14845 * sysdeps/unix/sysv/linux/arm: Move directory from
14846 ports/sysdeps/unix/sysv/linux/arm.
14847 * README: Update listing for arm-*-linux-gnueabi.
14848
14849 * README: Remove mention of am33.
14850
14851 2014-02-07 Roland McGrath <roland@hack.frob.com>
14852
14853 * bits/sigset.h (__sigemptyset): Use a statement expression rather
14854 than the comma operator, to avoid "rhs of comma has no effect"
14855 compiler warnings.
14856 (__sigfillset, __sigandset, __sigorset): Likewise.
14857 * include/signal.h (__sigemptyset): Likewise.
14858 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
14859
14860 2014-02-07 Allan McRae <allan@archlinux.org>
14861
14862 * version.h (RELEASE): Set to "development".
14863 (VERSION): Set to "2.19.90"
14864 * NEWS: Add 2.20 section.
14865
14866 2014-02-06 Carlos O'Donell <carlos@redhat.com>
14867
14868 [BZ #16529]
14869 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
14870
14871 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
14872
14873 * manual/contrib.texi: Update entry for Carlos O'Donell,
14874 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
14875
14876 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
14877
14878 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
14879
14880 * sysdeps/unix/sysv/linux/kernel-features.h
14881 [__LINUX_KERNEL_VERSION >= 0x020621]
14882 (__ASSUME_PROC_PID_TASK_COMM): Define.
14883
14884 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
14885
14886 [BZ #16398]
14887 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
14888 conversion when destination buffer does not have enough space.
14889 * libio/tst-ftell-partial-wide.c: New test case.
14890 * libio/Makefile (tests): Add tst-ftell-partial-wide.
14891
14892 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
14893 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
14894 Leonard and Allan McRae.
14895
14896 2014-02-04 David S. Miller <davem@davemloft.net>
14897
14898 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
14899 32-bit.
14900
14901 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14902
14903 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
14904 New file
14905 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
14906 New file
14907 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
14908 New file.
14909 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
14910 New file.
14911 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
14912 New file.
14913 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
14914 New file.
14915 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
14916 New file.
14917 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
14918 New file.
14919 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
14920 New file.
14921 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
14922 New file.
14923 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
14924 New file.
14925 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
14926 New file.
14927 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
14928 New file.
14929
14930 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14931
14932 * nptl/shlib-versions: Change powerpc*le start to 2.17.
14933 * shlib-versions: Likewise.
14934
14935 2014-02-04 Roland McGrath <roland@hack.frob.com>
14936 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14937
14938 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
14939 (abilist-pattern): New variable, set to %-le.abilist.
14940
14941 * Makerules (abilist-pattern): New variable.
14942 (vpath): Use $(abilist-pattern) in place of %.abilist.
14943 (check-abi-% pattern rule): Likewise.
14944 (check-abi, update-abi): Likewise.
14945
14946 2014-02-04 Eric Wong <normalperson@yhbt.net>
14947
14948 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14949
14950 2014-02-03 Carlos O'Donell <carlos@redhat.com>
14951
14952 * manual/startup.texi: Add next, previous, and top entries for
14953 the `Program Arguments' and `Environment Variables' nodes.
14954
14955 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
14956
14957 * manual/macros.texi: Add comments before MTASC-safety macros.
14958
14959 * manual/users.texi: Document MTASC-safety properties.
14960
14961 * manual/threads.texi (pthread_key_create, pthread_key_delete)
14962 (pthread_getspecific, pthread_setspecific): Format with
14963 @deftypefun, and add @safety note.
14964 * manual/signal.texi: Move comments that analyze the above
14965 functions to their home place.
14966
14967 2014-02-03 Allan McRae <allan@archlinux.org>
14968
14969 * po/sl.po: Update Slovenian translation from translation project.
14970
14971 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
14972
14973 * manual/time.texi (timegm): Add missing blank after @c.
14974 Reported by Joseph Myers <joseph@codesourcery.com>.
14975
14976 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
14977
14978 * manual/check-safety.sh: New.
14979 * manual/Makefile ($(objpfx)stamp-summary): Run it.
14980
14981 * manual/terminal.texi: Document MTASC-safety properties.
14982
14983 * manual/filesys.texi: Document MTASC-safety properties.
14984
14985 * manual/errno.texi: Document MTASC-safety properties.
14986
14987 * manual/intro.texi: Document safety identifiers and
14988 conditionals.
14989
14990 * manual/string.texi (wcstok): Fix prototype.
14991 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
14992
14993 * manual/time.texi: Document MTASC-safety properties.
14994
14995 * manual/string.texi: Document MTASC-safety properties.
14996
14997 * manual/threads.texi: Document MTASC-safety properties.
14998
14999 * manual/stdio.texi: Document MTASC-safety properties.
15000
15001 * manual/syslog.texi: Document MTASC-safety properties.
15002
15003 * manual/sysinfo.texi: Document MTASC-safety properties.
15004
15005 * manual/startup.texi: Document MTASC-safety properties.
15006
15007 * manual/socket.texi: Document MTASC-safety properties.
15008
15009 * manual/signal.texi: Document MTASC-safety properties.
15010
15011 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
15012
15013 * manual/setjmp.texi: Document MTASC-safety properties.
15014
15015 * manual/search.texi: Document MTASC-safety properties.
15016
15017 * manual/resource.texi: Document MTASC-safety properties.
15018
15019 * manual/process.texi: Document MTASC-safety properties.
15020
15021 * manual/platform.texi: Document MTASC-safety properties.
15022
15023 * manual/pipe.texi: Document MTASC-safety properties.
15024
15025 * manual/pattern.texi: Document MTASC-safety properties.
15026
15027 * manual/message.texi: Document MTASC-safety properties.
15028
15029 [BZ #12751]
15030 * manual/memory.texi: Document MTASC-safety properties.
15031
15032 * manual/math.texi: Document MTASC-safety properties.
15033
15034 * manual/locale.texi: Document MTASC-safety properties.
15035
15036 * manual/llio.texi: Document MTASC-safety properties.
15037
15038 * manual/libdl.texi: New.
15039
15040 * manual/lang.texi: Document MTASC-safety properties.
15041
15042 * manual/job.texi: Document MTASC-safety properties.
15043
15044 * manual/getopt.texi: Document MTASC-safety properties.
15045
15046 * manual/ctype.texi: Document MTASC-safety properties.
15047
15048 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
15049
15050 [BZ #16046]
15051 * csu/libc-tls.c (static_map): Remove variable.
15052 (__libc_setup_tls): Use main executable's link map for TLS data.
15053 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
15054 casing for LM_ID_BASE and GL(dl_nns).
15055 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
15056 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
15057 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
15058 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
15059 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
15060 member.
15061 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
15062 l_phnum members.
15063
15064 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
15065
15066 * manual/debug.texi: Document MTASC-safety properties.
15067
15068 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
15069
15070 [BZ #16510]
15071 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
15072 of __x86_64__ when disabling x87 inline functions.
15073
15074 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
15075
15076 * manual/charset.texi: Document MTASC-safety properties.
15077
15078 * manual/crypt.texi: Document MTASC-safety properties.
15079
15080 * manual/conf.texi: Document MTASC-safety properties.
15081
15082 * manual/arith.texi: Document MTASC-safety properties.
15083
15084 * manual/argp.texi: Document MTASC-safety properties.
15085
15086 * manual/macros.texi: Introduce macros to document multi
15087 thread, asynchronous signal and asynchronous cancellation
15088 safety properties.
15089 * manual/intro.texi: Introduce the properties themselves.
15090
15091 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15092
15093 * sysdeps/sh/sh4/Makefile: New file.
15094
15095 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
15096
15097 * math/gen-libm-test.pl ($srcdir): New variable.
15098 ($auto_input): Use it.
15099
15100 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
15101
15102 [BZ #16506]
15103 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
15104 access beyond array bounds when parsing netgroups file.
15105
15106 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
15107 the old buffer before realloc.
15108
15109 2014-01-27 Allan McRae <allan@archlinux.org>
15110
15111 * po/fr.po: Update French translation from translation project.
15112
15113 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15114
15115 * sysdeps/sh/libm-test-ulps: Regenerate.
15116
15117 2014-01-24 David S. Miller <davem@davemloft.net>
15118
15119 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
15120
15121 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15122
15123 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
15124 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
15125
15126 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
15127
15128 [BZ #16474]
15129 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
15130 string pointers after reallocation.
15131
15132 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15133
15134 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
15135 __SH4A__ instead of __SH_FPU_ANY__.
15136
15137 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15138
15139 * sysdeps/sh/fpu_control.h: New file.
15140 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
15141 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
15142 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
15143 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
15144 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
15145 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
15146 * sysdeps/sh/sys/ucontext.h: Remove.
15147 * sysdeps/sh/sys: Remove directory.
15148
15149 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15150
15151 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
15152 s390/sys/ucontext.h.
15153 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
15154 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
15155
15156 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
15157
15158 [BZ #15605]
15159 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
15160
15161 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15162
15163 [BZ#16431]
15164 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
15165 Adjust the vDSO correctly for internal calls.
15166 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
15167
15168 2014-01-20 Allan McRae <allan@archlinux.org>
15169
15170 * po/ca.po: Update Catalan translation from translation project.
15171
15172 2014-01-16 Mike Frysinger <vapier@gentoo.org>
15173
15174 * sysdeps/s390/sotruss-lib.c: New file.
15175
15176 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15177
15178 [BZ#16430]
15179 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
15180 (__GI___gettimeofday): Alias for a different internal symbol to avoid
15181 local calls issues by not having a PLT stub required for IFUNC calls.
15182 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
15183
15184 2014-01-16 Joseph Myers <joseph@codesourcery.com>
15185
15186 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
15187 * math/test-fpucw-static.c: Likewise.
15188
15189 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
15190
15191 [BZ #16453]
15192 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
15193
15194 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15195
15196 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
15197 implementation for powerpc.
15198
15199 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
15200
15201 [BZ #14782]
15202 * sysdeps/posix/system.c (__libc_system): Do not enable
15203 asynchronous cancellation.
15204
15205 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15206
15207 [BZ #16427]
15208 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
15209 handling only for numbers special also in the IEEE case.
15210
15211 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15212
15213 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
15214
15215 2014-01-11 Allan McRae <allan@archlinux.org>
15216
15217 * po/bg.po: Update Bulgarian translation from translation project.
15218
15219 * po/de.po: Update German translation from translation project.
15220
15221 2014-01-10 Roland McGrath <roland@hack.frob.com>
15222
15223 * sysdeps/generic/gcc-compat.h: New file.
15224
15225 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
15226
15227 * benchtests/asin-inputs: Correct slow inputs.
15228 * benchtests/acos-inputs: Likewise.
15229
15230 2014-01-10 Allan McRae <allan@archlinux.org>
15231
15232 * po:sv.po: Update Swedish translation from translation project.
15233
15234 * po/vi.po: Update Vietnamese translation from translation project.
15235
15236 * po/eo.po: Update Esperanto translation from translation project.
15237
15238 * po/cs.po: Update Czech translation from translation project.
15239
15240 * po/nl.po: Update Dutch translation from translation project.
15241
15242 * po/pl.po: Update Polish translation from translation project.
15243
15244 * po/ru.po: Update Russian translation from translation project.
15245
15246 * po/uk.po: Update Ukrainian translation from translation project.
15247
15248 2014-01-08 Brooks Moses <bmoses@google.com>
15249
15250 * elf/dl-load.c: Fix comment typo.
15251
15252 2014-01-08 Carlos O'Donell <carlos@redhat.com>
15253
15254 * po/header.pot: Rename to...
15255 * po/pot.header: ... this.
15256 * po/Makefile: Use pot.header.
15257
15258 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
15259 Maxim Kuvyrkov <maxim@kugelworks.com>
15260
15261 [BZ #16394]
15262 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
15263 SRC and DEST against LEN.
15264
15265 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15266
15267 [BZ #16414]
15268 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
15269 implementation.
15270 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
15271
15272 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15273
15274 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15275
15276 2014-01-08 Joseph Myers <joseph@codesourcery.com>
15277
15278 [BZ #16408]
15279 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
15280 for large positive arguments.
15281
15282 2014-01-07 Joseph Myers <joseph@codesourcery.com>
15283
15284 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
15285
15286 * math/auto-libm-test-in: Mark various tests with
15287 xfail-rounding:ldbl-128ibm.
15288 * math/auto-libm-test-out: Regenerated.
15289
15290 [BZ #16407]
15291 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
15292 Increase overflow threshold.
15293
15294 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
15295
15296 [BZ #14286]
15297 * stdio-common/vfprintf.c: Check for integer overflow.
15298
15299 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15300
15301 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
15302 the first argument and return value of __tls_get_addr_internal.
15303
15304 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15305
15306 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
15307 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
15308
15309 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15310
15311 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
15312 * sysdeps/s390/rtld-global-offsets.sym: New file.
15313 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
15314 GLIBC_2.19 symbol.
15315 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
15316 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
15317 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
15318 ... this.
15319 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
15320 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
15321 ... this.
15322 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
15323 Regenerate.
15324 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
15325 Regenerate.
15326 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
15327 halfs of GPRs for high_gprs contexts.
15328 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
15329 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
15330 field.
15331 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
15332 uc_flags field.
15333 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
15334 64 bit versions:
15335 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
15336 for high GPRs (uc_high_gprs) and for future extensions
15337 (__reserved).
15338 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
15339 for future extensions (__reserved).
15340 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
15341 64 bit versions:
15342 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
15343 SC_HIGHGPRS offset definition.
15344 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
15345 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
15346
15347 * Versions.def: Add GLIBC_2.19 for libpthread.
15348 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
15349 siglongjmp for libpthread with GLIBC_2.19 symver.
15350 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
15351 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
15352 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
15353 * sysdeps/s390/__longjmp.c: New file.
15354 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
15355 * sysdeps/s390/longjmp.c: New file.
15356 * sysdeps/s390/setjmp.S: New file.
15357 * sysdeps/s390/sigjmp.S: New file.
15358 * sysdeps/s390/v1-longjmp.c: New file.
15359 * sysdeps/s390/v1-setjmp.h: New file.
15360 * sysdeps/s390/v1-sigjmp.c: New file.
15361 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
15362 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
15363 GLIBC_2.19 version.
15364 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
15365 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
15366 versioned symbols for ____longjmp_chk.
15367 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
15368 Likewise.
15369 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
15370 Regenerate.
15371 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
15372 Regenerate.
15373 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
15374 Regenerate.
15375 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
15376 Regenerate.
15377 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
15378 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
15379 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
15380 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
15381 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
15382 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
15383 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
15384 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
15385 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
15386 * sysdeps/s390/rtld-__longjmp.c: New file.
15387 * sysdeps/s390/rtld-setjmp.S: New file.
15388
15389 2014-01-06 Joseph Myers <joseph@codesourcery.com>
15390
15391 [BZ #16400]
15392 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
15393 Return -__logl (x) for small positive arguments without evaluating
15394 a polynomial.
15395
15396 2014-01-06 Mike Frysinger <vapier@gentoo.org>
15397
15398 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
15399 Rename to ...
15400 (__ptrace_peeksiginfo_args): ... this.
15401 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
15402 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
15403 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
15404
15405 2014-01-06 Allan McRae <allan@archlinux.org>
15406
15407 * inet/netinet/in.h: Fix typo in comment.
15408
15409 2014-01-05 Andreas Jaeger <aj@suse.de>
15410
15411 * sysdeps/i386/fpu/libm-test-ulps: Update.
15412
15413 2014-01-05 Allan McRae <allan@archlinux.org>
15414
15415 * po/libc.pot: Regenerated.
15416
15417 * malloc/memusagestat.c: Fix gettext call formatting.
15418
15419 2014-01-04 Sami Kerola <kerolasa@iki.fi>
15420
15421 * nscd/nscd.c: Improve usage() output.
15422
15423 2014-01-04 Mike Frysinger <vapier@gentoo.org>
15424
15425 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
15426 * sysdeps/unix/sysv/linux/configure: Regenerated.
15427 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
15428 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
15429
15430 2014-01-03 Joseph Myers <joseph@codesourcery.com>
15431
15432 [BZ #16390]
15433 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
15434 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
15435
15436 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15437
15438 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
15439 extra tokens at end of #undef directive.
15440 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
15441 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
15442 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
15443
15444 2014-01-03 Joseph Myers <joseph@codesourcery.com>
15445
15446 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
15447
15448 * math/auto-libm-test-in: Mark various tests with
15449 xfail-rounding:ldbl-128ibm.
15450 * math/auto-libm-test-out: Regenerated.
15451
15452 2014-01-02 Joseph Myers <joseph@codesourcery.com>
15453
15454 [BZ #16386]
15455 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
15456 numbers with subnormal high part when calculating exponent.
15457
15458 [BZ #16385]
15459 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
15460 fabs.
15461
15462 [BZ #16384]
15463 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
15464 M_LN2l.
15465 (__ieee754_acoshl): Use __log1pl not __log1p.
15466
15467 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
15468
15469 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
15470 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
15471 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
15472 (grow_heap, heap_trim, _int_new_arena, get_free_list)
15473 (reused_arena, arena_get2): Convert to GNU style.
15474 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
15475 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
15476 (memalign_check, __malloc_set_state): Likewise.
15477 * malloc/mallocbug.c (main): Likewise.
15478 * malloc/malloc.c (__malloc_assert, malloc_init_state)
15479 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
15480 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
15481 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
15482 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
15483 (__posix_memalign, malloc_info): Likewise.
15484 * malloc/malloc.h: Likewise.
15485 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
15486 (mallochook, memalignhook, reallochook, mabort): Likewise.
15487 * malloc/mcheck.h: Likewise.
15488 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
15489 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
15490 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
15491 * malloc/morecore.c (__default_morecore): Likewise.
15492 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
15493 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
15494 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
15495 (print_and_abort): Likewise.
15496 * malloc/obstack.h: Likewise.
15497 * malloc/set-freeres.c (__libc_freeres): Likewise.
15498 * malloc/tst-mallocstate.c (main): Likewise.
15499 * malloc/tst-mtrace.c (main): Likewise.
15500 * malloc/tst-realloc.c (do_test): Likewise.
15501
15502 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
15503
15504 [BZ #16366]
15505 * nscd/netgroupcache.c (do_notfound): New function.
15506 (addgetnetgrentX): Use it.
15507
15508 [BZ # 16365]
15509 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
15510 NSS_STATUS_NOTFOUND.
15511
15512 2014-01-01 Joseph Myers <joseph@codesourcery.com>
15513
15514 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
15515 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15516
15517 2014-01-01 Allan McRae <allan@archlinux.org>
15518
15519 * scripts/update-copyrights: Update configure input file suffix.
15520
15521 * NEWS: Update copyright year.
15522 * catgets/gencat.c: Likewise.
15523 * csu/version.c: Likewise.
15524 * debug/catchsegv.sh: Likewise.
15525 * debug/pcprofiledump.c: Likewise.
15526 * debug/xtrace.sh: Likewise.
15527 * elf/ldconfig.c: Likewise.
15528 * elf/ldd.bash.in: Likewise.
15529 * elf/pldd.c: Likewise.
15530 * elf/sotruss.ksh: Likewise.
15531 * elf/sprof.c: Likewise.
15532 * iconv/iconv_prog.c: Likewise.
15533 * iconv/iconvconfig.c: Likewise.
15534 * locale/programs/locale.c: Likewise.
15535 * locale/programs/localedef.c: Likewise.
15536 * login/programs/pt_chown.c: Likewise.
15537 * malloc/memusage.sh: Likewise.
15538 * malloc/memusagestat.c: Likewise.
15539 * malloc/mtrace.pl: Likewise.
15540 * manual/libc.texinfo: Likewise.
15541 * nscd/nscd.c: Likewise.
15542 * nss/getent.c: Likewise.
15543 * nss/makedb.c: Likewise.
15544 * posix/getconf.c: Likewise.
15545 * scripts/test-installation.pl: Likewise.
15546
15547 * All files with FSF copyright notices: Update copyright dates
15548 using scripts/update-copyrights.
15549 * intl/plural.c: Regenerated.
15550 * locale/programs/charmap-kw.h: Likewise.
15551 * locale/programs/locfile-kw.h: Likewise.
15552
15553 2013-12-31 Mike Frysinger <vapier@gentoo.org>
15554
15555 * sysdeps/unix/sysv/linux/configure: Regenerated.
15556 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
15557 the linux/fanotify.h header.
15558 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
15559 HAVE_LINUX_FANOTIFY_H is defined.
15560
15561 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
15562
15563 * benchtests/cos-inputs: New inputs.
15564 * benchtests/sin-inputs: Likewise.
15565
15566 * benchtests/atan-inputs: New inputs. Fix name of multiple
15567 precision fallback inputs.
15568
15569 * benchtests/atanh-inputs: New inputs.
15570 * benchtests/tanh-inputs: Likewise.
15571
15572 * benchtests/acosh-inputs: New inputs.
15573 * benchtests/asinh-inputs: Likewise.
15574
15575 * benchtests/cosh-inputs: New inputs.
15576 * benchtests/sinh-inputs: Likewise.
15577
15578 * benchtests/acos-inputs: Add more inputs.
15579 * benchtests/asin-inputs: Likewise.
15580
15581 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
15582
15583 [BZ #16375]
15584 * manual/arith.texi: Fix spelling.
15585 * manual/charset.texi: Likewise.
15586 * manual/errno.texi: Likewise.
15587 * manual/filesys.texi: Likewise.
15588 * manual/lang.texi: Likewise.
15589 * manual/llio.texi: Likewise.
15590 * manual/locale.texi: Likewise.
15591 * manual/message.texi: Likewise.
15592 * manual/resource.texi: Likewise.
15593 * manual/search.texi: Likewise.
15594 * manual/setjmp.texi: Likewise.
15595 * manual/stdio.texi: Likewise.
15596 * manual/string.texi: Likewise.
15597 * manual/sysinfo.texi: Likewise.
15598 * manual/time.texi: Likewise.
15599
15600 2013-12-27 Carlos O'Donell <carlos@redhat.com>
15601
15602 * po/sl.po: New file.
15603
15604 2013-12-27 Mike Frysinger <vapier@gentoo.org>
15605
15606 * .gitignore: Add core/.gdbinit/.gdb_history.
15607
15608 2013-12-27 Allan McRae <allan@archlinux.org>
15609
15610 [BZ #16369]
15611 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
15612 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
15613
15614 2013-12-24 Brooks Moses <bmoses@google.com>
15615
15616 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
15617 all compilers that claim C++98 compliance, not just GCC.
15618 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
15619 Likewise.
15620
15621 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
15622
15623 * NEWS: Restore accidentally deleted bug-fix entries.
15624
15625 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
15626 Ondřej Bílka <neleai@seznam.cz>
15627
15628 [BZ #15073]
15629 * malloc/malloc.c (_int_free): Perform sanity check only if we
15630 have_lock.
15631
15632 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
15633
15634 [BZ #12986]
15635 * manual/stdio.texi (String Input Conversions): Clarify that character
15636 classes are not supported.
15637
15638 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15639
15640 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15641
15642 2013-12-22 Joseph Myers <joseph@codesourcery.com>
15643
15644 [BZ #16337]
15645 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
15646 Calculate results for small negative arguments directly rather
15647 than using reflection formula with special underflow handling.
15648
15649 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
15650 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
15651 sysdeps/unix/bsd/bsd4.4/syscalls.list.
15652 (fchflags): Likewise.
15653 (revoke): Likewise.
15654 (setlogin): Likewise.
15655 (sigaltstack): Likewise.
15656 (wait4): Likewise.
15657 (sigblock): Remove.
15658 (sigsetmask): Likewise.
15659 (wait3): Likewise.
15660 (waitpid): Likewise.
15661 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
15662 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
15663 file.
15664 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
15665 * sysdeps/unix/bsd/Makefile: ... here.
15666 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
15667 * sysdeps/unix/bsd/Versions: ... here.
15668 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
15669 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
15670 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
15671 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
15672 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
15673 * sysdeps/unix/bsd/sigblock.c: ... here.
15674 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
15675 * sysdeps/unix/bsd/sigsetmask.c: ... here.
15676 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
15677 * sysdeps/unix/bsd/sigvec.c: ... here.
15678 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
15679 * sysdeps/unix/bsd/tcdrain.c: ... here.
15680 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
15681 * sysdeps/unix/bsd/tcgetattr.c: ... here.
15682 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
15683 * sysdeps/unix/bsd/tcsetattr.c: ... here.
15684 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
15685 * sysdeps/unix/bsd/wait.c: ... here.
15686 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
15687 * sysdeps/unix/bsd/wait3.c: ... here.
15688 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
15689 * sysdeps/unix/bsd/waitpid.c: ... here.
15690
15691 2013-12-21 Joseph Myers <joseph@codesourcery.com>
15692
15693 [BZ #16356]
15694 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
15695 round-to-nearest for [!USE_AS_EXPM1L].
15696 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
15697 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
15698 more tests of exp and exp10. Expect some exp10 tests to miss
15699 exceptions or fail in directed rounding modes.
15700 * math/auto-libm-test-out: Regenerated.
15701 * math/libm-test.inc (exp10_tonearest_test_data): New array.
15702 (exp10_test_tonearest): New function.
15703 (exp10_towardzero_test_data): New array.
15704 (exp10_test_towardzero): New function.
15705 (exp10_downward_test_data): New array.
15706 (exp10_test_downward): New function.
15707 (exp10_upward_test_data): New array.
15708 (exp10_test_upward): New function.
15709 (main): Call the new functions.
15710 * sysdeps/i386/fpu/libm-test-ulps: Update.
15711 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15712
15713 2013-12-20 Joseph Myers <joseph@codesourcery.com>
15714
15715 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
15716 asinh, atan, atan2, atanh, cbrt, cos and cosh.
15717 * math/auto-libm-test-out: Regenerated.
15718 * math/libm-test.inc (acosh_test_data): Add more tests.
15719 (atanh_test_data): Likewise.
15720 (ceil_test_data): Likewise.
15721 (copysign_test_data): Likewise.
15722 * sysdeps/i386/fpu/libm-test-ulps: Update.
15723 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15724
15725 * timezone/checktab.awk: Update from tzcode 2013i.
15726 * timezone/private.h: Likewise.
15727 * timezone/scheck.c: Likewise.
15728 * timezone/tzfile.h: Likewise.
15729 * timezone/tzselect.ksh: Likewise.
15730 * timezone/zdump.c: Likewise.
15731 * timezone/zic.c: Likewise.
15732
15733 * math/auto-libm-test-in: Add tests of cpow.
15734 * math/auto-libm-test-out: Regenerated.
15735 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
15736 * math/gen-auto-libm-tests.c (func_calc_method): Add value
15737 mpc_cc_c.
15738 (func_calc_desc): Add mpc_cc_c union field.
15739 (test_functions): Add cpow.
15740 (special_fill_2pi): New function.
15741 (special_real_inputs): Add 2pi.
15742 (calc_generic_results): Handle mpc_cc_c.
15743 * sysdeps/i386/fpu/libm-test-ulps: Update.
15744 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15745
15746 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
15747 csqrt, ctan and ctanh.
15748 * math/auto-libm-test-out: Regenerated.
15749 * math/libm-test.inc (TEST_COND_x86_64): New macro.
15750 (TEST_COND_x86): Likewise.
15751 (ccos_test_data): Use AUTO_TESTS_c_c.
15752 (ccosh_test_data): Likewise.
15753 (cexp_test_data): Likewise.
15754 (clog_test_data): Likewise.
15755 (csqrt_test_data): Likewise.
15756 (ctan_test_data): Likewise.
15757 (ctan_tonearest_test_data): Likewise.
15758 (ctan_towardzero_test_data): Likewise.
15759 (ctan_downward_test_data): Likewise.
15760 (ctan_upward_test_data): Likewise.
15761 (ctanh_test_data): Likewise.
15762 (ctanh_tonearest_test_data): Likewise.
15763 (ctanh_towardzero_test_data): Likewise.
15764 (ctanh_downward_test_data): Likewise.
15765 (ctanh_upward_test_data): Likewise.
15766 * math/gen-auto-libm-tests.c (func_calc_method): Add value
15767 mpc_c_c.
15768 (func_calc_desc): Add mpc_c_c union field.
15769 (FUNC_mpc_c_c): New macro.
15770 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
15771 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
15772 ctanh.
15773 (special_fill_min_subnorm_p120): New function.
15774 (special_real_inputs): Add min_subnorm_p120.
15775 (calc_generic_results): Handle mpc_c_c.
15776 * sysdeps/i386/fpu/libm-test-ulps: Update.
15777 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15778
15779 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
15780
15781 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
15782 (do_sin_slow): New functions.
15783 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
15784 (cslow2, csloww1, csloww2): Use the new functions.
15785
15786 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
15787 Use M to change sign of result instead of X. Assume X is
15788 positive.
15789 (csloww1): Likewise.
15790 (__sin): Adjust.
15791 (__cos): Adjust.
15792
15793 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
15794 arguments A and DA.
15795 (__sin): Adjust.
15796 (__cos): Likewise.
15797
15798 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
15799 (__cos): Likewise.
15800 (sloww1): Don't adjust sign of DX.
15801 (csloww1): Likewise.
15802 (sloww2): Use X directly and don't adjust sign of DX.
15803 (csloww2): Likewise.
15804
15805 2013-12-19 Joseph Myers <joseph@codesourcery.com>
15806
15807 * math/auto-libm-test-in: Add tests of cabs and carg.
15808 * math/auto-libm-test-out: Regenerated.
15809 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
15810 (carg_test_data): Likewise.
15811 * math/gen-auto-libm-tests.c (func_calc_method): Add value
15812 mpc_c_f.
15813 (func_calc_desc): Add mpc_c_f union field.
15814 (test_functions): Add cabs and carg.
15815 (calc_generic_results): Handle mpc_c_f.
15816
15817 * sysdeps/powerpc/powerpc32/libgcc-compat.S
15818 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
15819 as a macro and a compat symbol.
15820 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
15821 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
15822 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
15823 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
15824 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
15825 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
15826 not use .hidden.
15827 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
15828 Likewise.
15829 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
15830 Likewise.
15831 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
15832 Likewise.
15833 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
15834 Likewise.
15835 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
15836 Likewise.
15837 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
15838 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
15839 from GLIBC_2.3.2.
15840
15841 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15842
15843 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15844
15845 2013-12-19 Joseph Myers <joseph@codesourcery.com>
15846
15847 * manual/texinfo.tex: Update to version 2013-11-26.10 with
15848 trailing whitespace removed.
15849 * scripts/config.guess: Update to version 2013-11-29.
15850 * scripts/config.sub: Update to version 2013-10-01.
15851
15852 * math/auto-libm-test-in: Add tests of sincos.
15853 * math/auto-libm-test-out: Regenerated.
15854 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
15855 * math/gen-auto-libm-tests.c (func_calc_method): Add value
15856 mpfr_f_11.
15857 (func_calc_desc): Add mpfr_f_11 union field.
15858 (test_functions): Add sincos.
15859 (calc_generic_results): Handle mpfr_f_11.
15860 * sysdeps/i386/fpu/libm-test-ulps: Update.
15861 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15862
15863 2013-12-19 Andreas Schwab <schwab@suse.de>
15864
15865 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
15866 CALL_MCOUNT.
15867 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
15868 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
15869 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
15870
15871 2013-12-19 Joseph Myers <joseph@codesourcery.com>
15872
15873 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
15874 * sysdeps/i386/fpu/libm-test-ulps: Update.
15875 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15876
15877 [BZ #16293]
15878 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
15879 round-to-nearest mode when using frndint.
15880 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
15881 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
15882 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
15883 Likewise.
15884 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
15885 sinh test to fail.
15886 * math/auto-libm-test-out: Regenerated.
15887 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
15888 (TEST_COND_x86): Likewise.
15889 (expm1_tonearest_test_data): New array.
15890 (expm1_test_tonearest): New function.
15891 (expm1_towardzero_test_data): New array.
15892 (expm1_test_towardzero): New function.
15893 (expm1_downward_test_data): New array.
15894 (expm1_test_downward): New function.
15895 (expm1_upward_test_data): New array.
15896 (expm1_test_upward): New function.
15897 (main): Run the new test functions.
15898 * sysdeps/i386/fpu/libm-test-ulps: Update.
15899 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15900
15901 * include/features.h: Update comment documenting feature test
15902 macros. Mention _DEFAULT_SOURCE in comment.
15903 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
15904 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
15905 _BSD_SOURCE and _SVID_SOURCE.
15906 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
15907 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
15908 !_SVID_SOURCE]: Likewise.
15909 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
15910 (__USE_POSIX_IMPLICITLY): Define.
15911 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
15912 (_POSIX_SOURCE): Undefine and redefine.
15913 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
15914 (_POSIX_C_SOURCE): Likewise.
15915 * manual/creature.texi (_DEFAULT_SOURCE): Document.
15916 (Feature Test Macros): Update documentation of default features.
15917
15918 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
15919
15920 * benchtests/Makefile: Add bench-strtok.
15921 * benchtests/bench-strtok.c: New file: strtok benchtest.
15922
15923 2013-12-19 Allan McRae <allan@archlinux.org>
15924
15925 * manual/install.texi: Suppress menu for plain text output.
15926 * INSTALL: Regenerated.
15927
15928 2013-12-18 Brooks Moses <bmoses@google.com>
15929
15930 [BZ #15846]
15931 * misc/getauxval.c: Include errno.h.
15932 (__getauxval): Set errno to ENOENT if the requested type is not
15933 found.
15934 * misc/sys/auxv.h (getauxval): Document that it may set errno;
15935 don't declare with __attribute_const__.
15936 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
15937 * manual/startup.texi: Document that getauxval sets errno.
15938
15939 2013-12-18 Joseph Myers <joseph@codesourcery.com>
15940
15941 * math/auto-libm-test-in: Add tests of jn and yn.
15942 * math/auto-libm-test-out: Regenerated.
15943 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
15944 (yn_test_data): Likewise.
15945 * math/gen-auto-libm-tests.c (func_calc_method): Add value
15946 mpfr_if_f.
15947 (func_calc_desc): Add mpfr_if_f union field.
15948 (FUNC_mpfr_if_f): New macro.
15949 (test_functions): Add jn and yn.
15950 (calc_generic_results): Assert type of second input for
15951 mpfr_ff_f. Handle mpfr_if_f.
15952 (output_for_one_input_case): Disable all checking for arguments
15953 fitting floating-point types in case of an integer argument.
15954 * sysdeps/i386/fpu/libm-test-ulps: Update.
15955 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15956
15957 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
15958 Don't expect fegetround reference in libm.so.
15959
15960 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
15961
15962 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
15963 $(config-cflags-nofma).
15964
15965 2013-12-18 Joseph Myers <joseph@codesourcery.com>
15966
15967 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
15968 * math/auto-libm-test-out: Regenerated.
15969
15970 [BZ #16338]
15971 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
15972 to determine exponent and adjust argument to have exponent of -1.
15973 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
15974 log2.
15975 * math/auto-libm-test-out: Regenerated.
15976 * sysdeps/i386/fpu/libm-test-ulps: Update.
15977 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15978
15979 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
15980
15981 * manual/probes.texi: Remove cases when per-thread arenas are
15982 disabled.
15983
15984 2013-12-18 Andreas Schwab <schwab@suse.de>
15985
15986 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
15987 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
15988 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
15989 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
15990 * sysdeps/i386/i686/multiarch/Makefile: Update.
15991 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
15992
15993 2013-12-17 Joseph Myers <joseph@codesourcery.com>
15994
15995 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
15996 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
15997
15998 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
15999
16000 [BZ #15968]
16001 Support TZ transition times < 00:00:00.
16002 This is needed for version-3 tz-format files; it supports time
16003 stamps past 2037 for America/Godthab (the only entry in the tz
16004 database for which this change is relevant).
16005 * manual/time.texi (TZ Variable): Document transition times
16006 from -167:59:59 through -00:00:01.
16007 * time/tzset.c (tz_rule): Time of day is now signed.
16008 (__tzset_parse_tz): Parse negative time of day.
16009
16010 Document TZ transition times >= 25:00:00.
16011 * manual/time.texi (TZ Variable): Document transition times from
16012 25:00:00 through 167:59:59. These are already supported, and this
16013 support will help with version-3 tz-format files.
16014
16015 * manual/time.texi (TZ Variable): Modernize North America example
16016 to reflect current (i.e., 2007-and-later) daylight saving rules.
16017
16018 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
16019
16020 2013-12-17 Joseph Myers <joseph@codesourcery.com>
16021
16022 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
16023 * sysdeps/unix/bsd/bits/stat.h: Likewise.
16024 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
16025 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
16026 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
16027 * sysdeps/unix/bsd/bsdstat.h: Likewise.
16028 * sysdeps/unix/bsd/clock.c: Likewise.
16029 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
16030 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
16031 * sysdeps/unix/bsd/init-posix.c: Likewise.
16032 * sysdeps/unix/bsd/poll.c: Likewise.
16033 * sysdeps/unix/bsd/ptsname.c: Likewise.
16034 * sysdeps/unix/bsd/seekdir.c: Likewise.
16035 * sysdeps/unix/bsd/setegid.c: Likewise.
16036 * sysdeps/unix/bsd/seteuid.c: Likewise.
16037 * sysdeps/unix/bsd/setgid.c: Likewise.
16038 * sysdeps/unix/bsd/setrgid.c: Likewise.
16039 * sysdeps/unix/bsd/setruid.c: Likewise.
16040 * sysdeps/unix/bsd/setsid.c: Likewise.
16041 * sysdeps/unix/bsd/setuid.c: Likewise.
16042 * sysdeps/unix/bsd/sigaction.c: Likewise.
16043 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
16044 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
16045 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
16046 * sysdeps/unix/bsd/telldir.c: Likewise.
16047 * sysdeps/unix/bsd/times.c: Likewise.
16048 * sysdeps/unix/bsd/usleep.c: Likewise.
16049
16050 * misc/Makefile (install-lib): Remove libbsd-compat.a.
16051 ($(objpfx)libbsd-compat.a): Remove rule.
16052
16053 * include/features.h (__FAVOR_BSD): Do not define.
16054 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
16055 features conflicting with POSIX.
16056 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
16057 (_BSD_SOURCE): Remove description of not being a subset of other
16058 feature test macros.
16059 * manual/job.texi (getpgrp): Do not document BSD version.
16060 (getpgid): Do not document by reference to BSD getpgrp.
16061 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
16062 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
16063 * signal/signal.h [__FAVOR_BSD]: Likewise.
16064 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
16065 instead of making contents conditional on [__FAVOR_BSD].
16066 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
16067
16068 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16069
16070 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16071
16072 2013-12-17 Joseph Myers <joseph@codesourcery.com>
16073
16074 [BZ #16314]
16075 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
16076 values below 2**-450, not 2**-500.
16077 * math/auto-libm-test-in: Don't allow spurious underflow from
16078 hypot.
16079 * math/auto-libm-test-out: Regenerated.
16080
16081 [BZ #16316]
16082 [BZ #16330]
16083 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
16084 values of ha and hb and sort them after adjusting subnormal
16085 arguments.
16086 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
16087 Likewise.
16088 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
16089 values of ea and eb and sort them after adjusting subnormal
16090 arguments.
16091 * math/auto-libm-test-in: Do not expect some hypot tests of
16092 subnormals to fail. Add more hypot tests.
16093 * math/auto-libm-test-out: Regenerated.
16094
16095 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16096
16097 [BZ #13304]
16098 * sysdeps/sh/s_fma.c: New file.
16099 * sysdeps/sh/s_fmaf.c: New file.
16100 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
16101 version.
16102 * sysdeps/sh/Implies: Add sh/soft-fp.
16103
16104 2013-12-16 Roland McGrath <roland@hack.frob.com>
16105
16106 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
16107 level of indirection to members `objname', `errstring', `malloced'.
16108 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
16109 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
16110 it as the __longjmp argument (just pass 1 instead).
16111 (_dl_catch_error): Initialize C with argument pointers and address of
16112 volatile local ERRCODE rather than copying values out of C at return.
16113
16114 2013-12-16 Joseph Myers <joseph@codesourcery.com>
16115
16116 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
16117 * math/auto-libm-test-out: Regenerated.
16118 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
16119 (hypot_test_data): Likewise.
16120 (pow_test_data): Likewise.
16121 (pow_tonearest_test_data): Likewise.
16122 * math/gen-auto-libm-tests.c (func_calc_method): Add value
16123 mpfr_ff_f.
16124 (func_calc_desc): Add mpfr_ff_f union field.
16125 (FUNC_mpfr_ff_f): New macro.
16126 (test_functions): Add atan2, hypot and pow.
16127 (special_fill_min): New function.
16128 (special_fill_minus_min): Likewise.
16129 (special_fill_min_subnorm): Likewise.
16130 (special_fill_minus_min_subnorm): Likewise.
16131 (special_real_inputs): Add min, -min, min_subnorm and
16132 -min_subnorm.
16133 (calc_generic_results): Handle mpfr_ff_f.
16134 * sysdeps/i386/fpu/libm-test-ulps: Update.
16135 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16136
16137 2013-12-16 Will Newton <will.newton@linaro.org>
16138
16139 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
16140 (Aligned Memory Blocks): Add documentation for aligned_alloc
16141 and suggest it as an alternative to posix_memalign.
16142 (Hooks for Malloc): Document __memalign_hook is also called
16143 for aligned_alloc. (Summary of Malloc): Add summary for
16144 aligned alloc. Document __memalign_hook is also called
16145 for aligned_alloc.
16146
16147 2013-12-16 Will Newton <will.newton@linaro.org>
16148
16149 * manual/memory.texi (Malloc Examples): Clarify default
16150 alignment documentation. Suggest posix_memalign rather
16151 than memalign or valloc.
16152 (Aligned Memory Blocks): Remove suggestion to use memalign
16153 or valloc. Remove obsolete comment about BSD.
16154 Document memalign errno values and mark the function obsolete.
16155 Document posix_memalign returned error codes. Mark valloc
16156 as obsolete. (Hooks for Malloc): __memalign_hook is also
16157 called for posix_memalign and valloc.
16158 (Summary of Malloc): Add posix_memalign to function summary.
16159 __memalign_hook is also called for posix_memalign and valloc.
16160
16161 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
16162
16163 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
16164 TAYLOR_SIN.
16165 (__sin): Adjust.
16166 (__cos): Likewise.
16167 (sloww): Use mynumber union. Expand ternary operator into
16168 if-else statements.
16169 (cslow): use mynumber union.
16170
16171 2013-12-16 Allan McRae <allan@archlinux.org>
16172
16173 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
16174 * configure: Regenerated.
16175
16176 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
16177
16178 [BZ #14120]
16179 * configure.ac: Added --enable-maintainer-mode. Check for
16180 autoconf when enabled.
16181 * configure: Regenerated.
16182
16183 * nscd/nscd.service: New file.
16184 * nscd/nscd.tmpfiles: New file.
16185
16186 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
16187
16188 [BZ #12100]
16189 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
16190 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
16191 * sysdeps/x86_64/multiarch/strstr.c: ... here.
16192 (strstr): Add __strstr_sse2_unaligned ifunc.
16193 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
16194 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
16195 (strcasestr): Remove __strcasestr_sse42 ifunc.
16196 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
16197 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
16198 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
16199
16200 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16201
16202 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
16203 * sysdeps/sh/bits/fenv.h: ... here.
16204 * sysdeps/sh/sh4/fpu/bits: Remove directory.
16205
16206 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16207
16208 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
16209
16210 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
16211 hypotf multiarch implementations.
16212 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
16213 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
16214 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
16215 multiarch hypot for PPC64.
16216 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
16217 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
16218 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
16219 multiarch hypotf for PPC64.
16220
16221 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
16222 modff multiarch implementations.
16223 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
16224 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
16225 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
16226 multiarch modf for PPC64.
16227 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
16228 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
16229 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
16230 multiarch modff for PPC64.
16231
16232 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
16233 and logl multiarch implementations.
16234 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
16235 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
16236 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
16237 multiarch logb for PPC64.
16238 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
16239 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
16240 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
16241 multiarch logb for PPC64.
16242 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
16243 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
16244 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
16245 multiarch logb for PPC64.
16246
16247 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
16248 isinff multiarch implementation.
16249 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
16250 file.
16251 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
16252 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
16253 multiarch isinf for PPC64.
16254 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
16255 file.
16256 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
16257 multiarch isinff for PPC64.
16258
16259 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
16260 finitef multiarch implementation.
16261 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
16262 file.
16263 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
16264 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
16265 multiarch finite for PPC64.
16266 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
16267 file.
16268 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
16269 multiarch finitef for PPC64.
16270
16271 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
16272 lrint multiarch implementation.
16273 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
16274 file.
16275 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
16276 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
16277 multiarch llrint for PPC64.
16278 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
16279 multiarch lrint for PPC64.
16280
16281 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
16282 copysignf multiarch implementation.
16283 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
16284 file.
16285 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
16286 file.
16287 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
16288 multiarch copysign for PPC64.
16289 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
16290 multiarch copysignf for PPC64.
16291
16292 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
16293 multiarch implementation.
16294 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
16295 file.
16296 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
16297 file.
16298 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
16299 file.
16300 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
16301 file.
16302 multiarch llround for PPC64.
16303 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
16304 multiarch trunc for PPC64.
16305 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
16306 multiarch truncf for PPC64.
16307
16308 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
16309 multiarch implementation.
16310 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
16311 file.
16312 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
16313 file.
16314 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
16315 file.
16316 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
16317 file.
16318 multiarch llround for PPC64.
16319 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
16320 multiarch round for PPC64.
16321 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
16322 multiarch roundf for PPC64.
16323
16324 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
16325 multiarch implementation.
16326 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
16327 file.
16328 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
16329 file.
16330 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
16331 file.
16332 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
16333 file.
16334 multiarch llround for PPC64.
16335 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
16336 multiarch floor for PPC64.
16337 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
16338 multiarch floorf for PPC64.
16339
16340 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
16341 multiarch implementation.
16342 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
16343 file.
16344 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
16345 file.
16346 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
16347 file.
16348 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
16349 file.
16350 multiarch llround for PPC64.
16351 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
16352 multiarch ceil for PPC64.
16353 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
16354 multiarch ceilf for PPC64.
16355
16356 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
16357 multiarch implementation.
16358 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
16359 file.
16360 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
16361 file.
16362 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
16363 file.
16364 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
16365 multiarch llround for PPC64.
16366 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
16367 multiarch lround for PPC64.
16368
16369 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
16370 multiarch implementation.
16371 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
16372 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
16373 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
16374 file.
16375 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
16376 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
16377 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
16378 multiarch isnan for PPC64.
16379 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
16380 multiarch isnanf for PPC64.
16381
16382 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
16383 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
16384 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
16385 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
16386 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
16387 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
16388
16389 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
16390 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
16391 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
16392 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
16393
16394 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
16395 multiarch implementations.
16396 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16397 (__libc_ifunc_impl_list): Likewise.
16398 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
16399 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
16400 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
16401 multiarch stpcpy for PPC64.
16402
16403 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
16404 multiarch implementations.
16405 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16406 (__libc_ifunc_impl_list): Likewise.
16407 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
16408 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
16409 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
16410 multiarch strcpy for PPC64.
16411
16412 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
16413 redefine function name.
16414 (_wordcopy_fwd_dest_aligned): Likewise.
16415 (_wordcopy_bwd_aligned): Likewise.
16416 (_wordcopy_bwd_dest_aligned): Likewise.
16417 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
16418 multiarch implementations.
16419 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16420 (__libc_ifunc_impl_list): Likewise.
16421 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
16422 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
16423 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
16424 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
16425 multiarch wcscpy for PPC64.
16426
16427 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
16428 multiarch implementations.
16429 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16430 (__libc_ifunc_impl_list): Likewise.
16431 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
16432 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
16433 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
16434 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
16435 multiarch wcscpy for PPC64.
16436
16437 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
16438 multiarch implementations.
16439 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16440 (__libc_ifunc_impl_list): Likewise.
16441 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
16442 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
16443 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
16444 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
16445 multiarch wcsrchr for PPC64.
16446
16447 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
16448 multiarch implementations.
16449 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16450 (__libc_ifunc_impl_list): Likewise.
16451 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
16452 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
16453 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
16454 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
16455 multiarch wcschr for PPC64.
16456
16457 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
16458 multiarch implementations.
16459 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16460 (__libc_ifunc_impl_list): Likewise.
16461 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
16462 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
16463 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
16464 multiarch strchrnul for PPC64.
16465
16466 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
16467 implementations.
16468 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16469 (__libc_ifunc_impl_list): Likewise.
16470 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
16471 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
16472 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
16473 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
16474 strchr for PPC64.
16475
16476 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
16477 implementations.
16478 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16479 (__libc_ifunc_impl_list): Likewise.
16480 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
16481 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
16482 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
16483 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
16484 strncmp for PPC64.
16485
16486 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
16487 multiarch implementations.
16488 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16489 (__libc_ifunc_impl_list): Likewise.
16490 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
16491 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
16492 strncasecmp for PPC64.
16493 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
16494 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
16495 multiarch strncasecmp_l for PPC64.
16496
16497 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
16498 multiarch implementations.
16499 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
16500 (__libc_ifunc_impl_list): Likewise.
16501 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
16502 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
16503 multiarch strcasecmp for PPC64.
16504 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
16505 file.
16506 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
16507 multiarch strcasecmp_l for PPC64.
16508
16509 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
16510 implementations.
16511 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16512 (__libc_ifunc_impl_list): Likewise.
16513 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
16514 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
16515 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
16516 strnlen for PPC64.
16517
16518 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
16519 implementations.
16520 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16521 (__libc_ifunc_impl_list): Likewise.
16522 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
16523 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
16524 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
16525 strlen for PPC64.
16526
16527 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
16528 implementations.
16529 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16530 (__libc_ifunc_impl_list): Likewise.
16531 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
16532 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
16533 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
16534 rawmemrchr for PPC64.
16535
16536 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
16537 implementation.
16538 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16539 (__libc_ifunc_impl_list): Likewise.
16540 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
16541 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
16542 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
16543 memrchr for PPC64.
16544
16545 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
16546 implementation.
16547 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16548 (__libc_ifunc_impl_list): Likewise.
16549 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
16550 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
16551 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
16552 memchr for PPC64.
16553
16554 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
16555 implementation.
16556 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16557 (__libc_ifunc_impl_list): Likewise.
16558 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
16559 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
16560 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
16561 mempcpy for PPC64.
16562
16563 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
16564 avoid cretion of __bzero symbol.
16565 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
16566 Likewise.
16567 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
16568 Likewise.
16569 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
16570 Likewise.
16571 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
16572 multiarch implementations.
16573 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16574 (__libc_ifunc_impl_list): Likewise.
16575 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
16576 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
16577 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
16578 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
16579 bzero for PPC32.
16580 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
16581 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
16582 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
16583 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
16584 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
16585 memset for PPC64.
16586 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
16587
16588 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
16589 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
16590 implementations.
16591 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16592 (__libc_ifunc_impl_list): Likewise.
16593 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
16594 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
16595 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
16596 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
16597 memcmp for PPC64.
16598
16599 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
16600 multiarch for POWER/PPC64.
16601 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
16602 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
16603 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
16604 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
16605 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
16606 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
16607 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
16608 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
16609 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
16610 memcpy for PPC64.
16611
16612 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
16613 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
16614 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
16615 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
16616 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
16617 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
16618 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
16619 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
16620 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
16621 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
16622 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
16623 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
16624 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
16625 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
16626 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
16627 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
16628 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
16629 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
16630 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
16631 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
16632 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
16633 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
16634
16635 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16636
16637 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
16638
16639 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
16640
16641 * benchtests/Makefile (bench): Add exp2 and log2.
16642 (LDLIBS-bench-exp2): Add -lm.
16643 (LDLIBS-bench-log2): Likewise.
16644 * benchtests/exp2-inputs: New inputs file.
16645 * benchtests/log2-inputs: New inputs file.
16646 * benchtests/log-inputs: Add new inputs.
16647 * benchtests/tan-inputs: Likewise.
16648
16649 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
16650
16651 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
16652 definition...
16653 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
16654 (csloww2): ... from here.
16655
16656 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
16657 instead of structures.
16658 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
16659 (POLYNOMIAL): Likewise.
16660 (TAYLOR_SLOW): Likewise.
16661 (__sin): Likewise.
16662 (__cos): Likewise.
16663 (slow1): Likewise.
16664 (slow2): Likewise.
16665 (sloww): Likewise.
16666 (sloww1); Likewise.
16667 (sloww2): Likewise.
16668 (bsloww1): Likewise.
16669 (bsloww2): Likewise.
16670 (cslow2): Likewise.
16671 (csloww): Likewise.
16672 (csloww1): Likewise.
16673 (csloww2): Likewise.
16674
16675 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
16676
16677 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
16678 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
16679 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
16680 * malloc/hooks.c (realloc_check): Likewise.
16681
16682 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
16683 * malloc/arena.c: Remove PER_THREAD conditional.
16684 [!PER_THREAD]: Remove code.
16685 (ptmalloc_unlock_all2): Likewise.
16686 (ptmalloc_init): Likewise.
16687 (_int_new_arena): Likewise.
16688 (arena_get2): Likewise.
16689 * malloc/hooks.c (__malloc_get_state): Likewise.
16690 (__malloc_set_state): Likewise.
16691 * malloc/malloc.c: Likewise.
16692 (struct malloc_state): Likewise.
16693 (struct malloc_par): Likewise.
16694 (__libc_realloc): Likewise.
16695 (__libc_mallopt): Likewise.
16696
16697 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16698
16699 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
16700
16701 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
16702
16703 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
16704 macro to a function. Check for zero perturb_byte.
16705 (_int_malloc, _int_free): Remove zero perturb_byte checks.
16706
16707 * malloc/malloc.c: (force_reg): Remove.
16708 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
16709 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
16710 force_reg by atomic_forced_read.
16711 * malloc/arena.c (ptmalloc_init): Likewise.
16712 * malloc/hooks.c (top_check): Likewise.
16713
16714 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16715
16716 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16717
16718 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
16719
16720 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16721
16722 2013-12-08 Joseph Myers <joseph@codesourcery.com>
16723
16724 * math/auto-libm-test-in: Add tests of lgamma.
16725 * math/auto-libm-test-out: Regenerated.
16726 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
16727 (M_LOG_2_SQRT_PIl): Likewise.
16728 (lgamma_test_data): Use AUTO_TESTS_f_f1.
16729 * math/gen-auto-libm-tests.c (func_calc_method): Add value
16730 mpfr_f_f1.
16731 (func_calc_desc): Add mpfr_f_f1 union field.
16732 (ARGS1): New macro.
16733 (ARGS2): Likewise.
16734 (ARGS3): Likewise.
16735 (ARGS4): Likewise.
16736 (RET1): Likewise.
16737 (RET2): Likewise.
16738 (CALC): Likewise.
16739 (FUNC): Likewise.
16740 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
16741 (test_functions): Add lgamma.
16742 (calc_generic_results): Handle mpfr_f_f1.
16743 * sysdeps/i386/fpu/libm-test-ulps: Update.
16744 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16745
16746 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16747
16748 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
16749 __mpn_add_n for PowerPC64/POWER7.
16750 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
16751 __mpn_sub_n for PowerPC64/POWER7.
16752
16753 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
16754 __mpn_addmul_1 for PowerPC64.
16755 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
16756 __mpn_submul_1 for PowerPC64.
16757 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
16758 for PowerPC64.
16759 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
16760 for PowerPC64.
16761
16762 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
16763
16764 [BZ #15089]
16765 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
16766
16767 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16768
16769 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
16770
16771 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
16772 add multiarch folders.
16773 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
16774 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
16775 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
16776 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
16777 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
16778 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
16779 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
16780 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
16781 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
16782 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
16783 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
16784 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
16785 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
16786 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
16787 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
16788 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
16789 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
16790
16791 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
16792 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
16793 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
16794 New file.
16795 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
16796 New file.
16797 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
16798 multiarch __ieee754_hypot for PowerPC32.
16799 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
16800 New file.
16801 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
16802 New file.
16803 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
16804 multiarch __ieee754_hypotf for PowerPC32.
16805
16806 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
16807 long_double_symbol only if __logbl is defined.
16808 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
16809 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
16810 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
16811 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
16812 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
16813 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
16814 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
16815 path for implementation.
16816 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
16817 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
16818 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
16819 logb, and logbl multiarch implementations for PowerPC32.
16820 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
16821 file.
16822 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
16823 file.
16824 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
16825 multiarch logb for PowerPC32.
16826 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
16827 file.
16828 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
16829 file.
16830 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
16831 multiarch logbf for PowerPC32.
16832 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
16833 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
16834 file.
16835 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
16836 multiarch logbl implementation for PowerPC32.
16837
16838 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
16839 and modff multiarch implementations.
16840 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
16841 New file.
16842 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
16843 New file.
16844 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
16845 multiarch modf for PowerPC32.
16846 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
16847 New file.
16848 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
16849 New file.
16850 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
16851 multiarch modff for PowerPC32.
16852
16853 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
16854 and lrintf multiarch implementations.
16855 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
16856 New file.
16857 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
16858 New file.
16859 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
16860 multiarch lrint for PowerPC32.
16861 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
16862 file: multiarch lrintf for PowerPC32.
16863
16864 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
16865 and lroundf multiarch implementations.
16866 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
16867 New file.
16868 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
16869 New file.
16870 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
16871 New file.
16872 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
16873 multiarch lround for PowerPC32.
16874 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
16875 file: multiarch lroundf for PowerPC32.
16876
16877 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
16878 copysign and copysignf multiarch implementations.
16879 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
16880 New file.
16881 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
16882 New file.
16883 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
16884 file: multiarch copysign for PowerPC32.
16885 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
16886 file: multiarch copysignf for PowerPC32.
16887
16888 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
16889 and truncf multiarch implementations.
16890 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
16891 New file.
16892 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
16893 file.
16894 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
16895 multiarch trunc for PowerPC32.
16896 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
16897 New file.
16898 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
16899 New file.
16900 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
16901 multiarch truncf for PowerPC32.
16902
16903 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
16904 and roundf multiarch implementations.
16905 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
16906 New file.
16907 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
16908 file.
16909 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
16910 multiarch round for PowerPC32.
16911 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
16912 New file.
16913 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
16914 New file.
16915 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
16916 multiarch roundf for PowerPC32.
16917
16918 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
16919 and floorf multiarch implementations.
16920 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
16921 New file.
16922 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
16923 file.
16924 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
16925 multiarch floor for PowerPC32.
16926 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
16927 New file.
16928 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
16929 New file.
16930 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
16931 multiarch floorf for PowerPC32.
16932
16933 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
16934 and ceilf multiarch implementations.
16935 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
16936 New file.
16937 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
16938 file.
16939 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
16940 multiarch ceil for PowerPC32.
16941 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
16942 New file.
16943 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
16944 file.
16945 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
16946 multiarch ceilf for PowerPC32.
16947
16948 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
16949 is defined.
16950 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
16951 FINITEF is defined.
16952 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
16953 and finitef multiarch implementations.
16954 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
16955 New file.
16956 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
16957 file.
16958 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
16959 multiarch finite for PowerPC32.
16960 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
16961 New file.
16962 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
16963 file: multiarch finitef for PowerPC32.
16964
16965 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
16966 and isinff multiarch implementations.
16967 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
16968 file.
16969 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
16970 file.
16971 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
16972 multiarch isinf for PowerPC32.
16973 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
16974 New file.
16975 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
16976 multiarch isinff for PowerPC32.
16977
16978 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
16979 alias when __isnan is defined.
16980 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
16981 and isnanf multiarch implementations.
16982 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
16983 file.
16984 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
16985 file.
16986 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
16987 file.
16988 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
16989 file.
16990 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
16991 multiarch isnan for PowerPC32.
16992 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
16993 New file.
16994 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
16995 New file.
16996 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
16997 multiarch isnanf for PowerPC32.
16998
16999 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
17000 and sqrtf multiarch implementations.
17001 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
17002 file.
17003 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
17004 file.
17005 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
17006 multiarch sqrt for PowerPC32.
17007 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
17008 file.
17009 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
17010 file.
17011 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
17012 multiarch sqrtf for PowerPC32.
17013
17014 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
17015 and llroundf multiarch implementations.
17016 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
17017 New file.
17018 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
17019 New file.
17020 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
17021 New file.
17022 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
17023 file: multiarch llround for PowerPC32.
17024 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
17025 file: multiarch llroundf for PowerPC32.
17026
17027 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
17028 multiarch PowerPC32 fpu implementations.
17029 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
17030 New file.
17031 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
17032 New file.
17033 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
17034 multiarch llrint for PowerPC32.
17035 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
17036 New file.
17037 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
17038 New file.
17039 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
17040 file.
17041
17042 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
17043
17044 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
17045 file.
17046 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
17047 file.
17048 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
17049 file.
17050 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
17051 multiarch wordcopy for PPC32.
17052 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
17053 wordcopy objects.
17054 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17055 (__libc_ifunc_impl_list): Likewise.
17056 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
17057 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
17058 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
17059 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
17060 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
17061 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
17062
17063 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
17064 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
17065 file.
17066 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
17067 file.
17068 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
17069 file.
17070 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
17071 multiarch wcscpy for PPC32.
17072 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
17073 multiarch objects.
17074 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17075 (__libc_ifunc_impl_list): Likewise.
17076 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
17077 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
17078 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
17079 sysdeps/powerpc/power6/wcscpy.c.
17080
17081 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
17082 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
17083 file.
17084 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
17085 file.
17086 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
17087 file.
17088 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
17089 multiarch wcsrchr for PPC32.
17090 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
17091 multiarch objects.
17092 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17093 (__libc_ifunc_impl_list): Likewise.
17094 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
17095 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
17096 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
17097 sysdeps/powerpc/power6/wcsrchr.c.
17098
17099 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
17100 file.
17101 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
17102 file.
17103 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
17104 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
17105 multiarch wcschr for PPc32.
17106 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
17107 multiarch objects.
17108 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17109 (__libc_ifunc_impl_list): Likewise.
17110 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
17111 * sysdeps/powerpc/power6/wcschr.c: ... to here.
17112 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
17113 sysdeps/powerpc/power6/wcschr.c.
17114
17115 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
17116 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
17117 file.
17118 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
17119 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
17120 file: multiarch strchr for PPC32.
17121 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
17122 multiarch objects.
17123 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17124 (__libc_ifunc_impl_list): Likewise.
17125
17126 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
17127 name.
17128 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
17129 file.
17130 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
17131 file.
17132 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
17133 multiarch strchrnul for PPC32.
17134 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
17135 multiarch objects.
17136 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17137 (__libc_ifunc_impl_list): Likewise.
17138
17139 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
17140 file.
17141 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
17142 multiarch strncasecmp for PPC32.
17143 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
17144 file.
17145 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
17146 multiarch strncasecmp_l for PPC32.
17147 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
17148 strncasecmp multiarch objects.
17149 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17150 (__libc_ifunc_impl_list): Likewise.
17151
17152 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
17153 file.
17154 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
17155 multiarch strncasecmp for PPC32.
17156 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
17157 New file.
17158 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
17159 multiarch strcasecmp_l for PPC32.
17160 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
17161 multiarch objects.
17162 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17163 (__libc_ifunc_impl_list): Likewise.
17164
17165 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
17166 file.
17167 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
17168 file.
17169 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
17170 multiarch strncmp for PPC32.
17171 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
17172 multiarch objects.
17173 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17174 (__libc_ifunc_impl_list): Likewise.
17175
17176 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
17177 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
17178 file.
17179 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
17180 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
17181 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
17182 multiarch objects.
17183 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17184 (__libc_ifunc_impl_list): Likewise.
17185
17186 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
17187 file.
17188 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
17189 file.
17190 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
17191 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
17192 multiarch objects.
17193 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17194 (__libc_ifunc_impl_list): Likewise.
17195
17196 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
17197 file.
17198 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
17199 file.
17200 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
17201 multiarch rawmemchr for PPC32.
17202 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
17203 multiarch objects.
17204 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17205 (__libc_ifunc_impl_list): Likewise.
17206
17207 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
17208 file.
17209 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
17210 file.
17211 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
17212 file: memrchr multiarch for PPC32.
17213 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
17214 multiarch objects.
17215 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17216 (__libc_ifunc_impl_list): Likewise.
17217
17218 * string/memchr.c (__memchr): Using macro to redefine symbol name.
17219 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
17220 file.
17221 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
17222 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
17223 multiarch memchr for PPC32.
17224 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
17225 multiarch objects.
17226 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
17227 (__libc_ifunc_impl_list): Likewise.
17228
17229 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
17230 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
17231 file.
17232 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
17233 file.
17234 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
17235 file: multiarch mempcpy for PPC32.
17236 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
17237 multiarch objects.
17238 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
17239 (__libc_ifunc_impl_list): Likewise.
17240
17241 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
17242 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
17243 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
17244 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
17245 multiarch bzero for PPC32.
17246 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
17247 file.
17248 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
17249 file.
17250 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
17251 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
17252 file: multiarch memset for PPC32.
17253 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
17254 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
17255 memset multiarch objects.
17256 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
17257 (__libc_ifunc_impl_list): Likewise.
17258
17259 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
17260 file.
17261 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
17262 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
17263 memcmp for PPC32.
17264 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
17265 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
17266 multiarch objects.
17267 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
17268 (__libc_ifunc_impl_list): Likewise.
17269
17270 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
17271 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
17272 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
17273 file.
17274 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
17275 file.
17276 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
17277 file.
17278 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
17279 multiarch memcpy for PPC32.
17280 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
17281 multiarch objects.
17282 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
17283 (__libc_ifunc_impl_list): Likewise.
17284
17285 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
17286 support multiarch for POWER/PPC32.
17287 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
17288 Likewise.
17289 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
17290 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
17291 Implies file to make multiarch folder appers before the fpu and
17292 default folder for power4 configuration.
17293
17294 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
17295
17296 * scripts/bench.pl: Append volatile keyword to type.
17297
17298 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17299
17300 * sysdeps/sh/sotruss-lib.c: New file.
17301 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
17302
17303 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17304
17305 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17306
17307 2013-12-05 Joseph Myers <joseph@codesourcery.com>
17308
17309 [BZ #6810]
17310 * math/w_tgamma.c: Include <errno.h>.
17311 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
17312 * math/w_tgammaf.c: Include <errno.h>.
17313 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
17314 * math/w_tgammal.c: Include <errno.h>.
17315 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
17316 * math/auto-libm-test-in: Do not allow missing errno on tgamma
17317 underflow. Add more tgamma tests.
17318 * math/auto-libm-test-out: Regenerated.
17319 * sysdeps/i386/fpu/libm-test-ulps: Update.
17320 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17321
17322 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
17323 sin, sinh, tan, tanh, tgamma, y0 and y1.
17324 * math/auto-libm-test-out: Regenerated.
17325 * math/libm-test.inc (TEST_COND_x86_64): New macro.
17326 (TEST_COND_x86): Likewise.
17327 (M_E2l): Remove macro.
17328 (M_E3l): Likewise.
17329 (M_2_SQRT_PIl): Likewise.
17330 (M_SQRT_PIl): Likewise.
17331 (M_1_DIV_El): Likewise.
17332 (log_test_data): Use AUTO_TESTS_f_f.
17333 (log10_test_data): Likewise.
17334 (log1p_test_data): Likewise.
17335 (log2_test_data): Likewise.
17336 (sin_test_data): Likewise.
17337 (sin_tonearest_test_data): Likewise.
17338 (sin_towardzero_test_data): Likewise.
17339 (sin_downward_test_data): Likewise.
17340 (sin_upward_test_data): Likewise.
17341 (sinh_test_data): Likewise.
17342 (sinh_tonearest_test_data): Likewise.
17343 (sinh_towardzero_test_data): Likewise.
17344 (sinh_downward_test_data): Likewise.
17345 (sinh_upward_test_data): Likewise.
17346 (tan_test_data): Likewise.
17347 (tan_tonearest_test_data): Likewise.
17348 (tan_towardzero_test_data): Likewise.
17349 (tan_downward_test_data): Likewise.
17350 (tan_upward_test_data): Likewise.
17351 (tanh_test_data): Likewise.
17352 (tgamma_test_data): Likewise.
17353 (y0_test_data): Likewise.
17354 (y1_test_data): Likewise.
17355 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
17356 (special_real_inputs): Add pi/4.
17357 * sysdeps/i386/fpu/libm-test-ulps: Update.
17358 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17359
17360 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17361
17362 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
17363 "longjmp_target" static probes.
17364 (__longjmp): Rename to __longjmp_symbol.
17365 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
17366 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
17367 on which longjmp to generate.
17368 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
17369 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
17370 probe.
17371 (__sigsetjmp): Rename to __sigsetjmp_symbol.
17372 (__sigjmp_save): Rename to __sigjmp_save_symbol.
17373 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
17374 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
17375 and __sigjmp_save_symbol based on which sigsetjmp to generated.
17376 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
17377 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
17378 __longjmp_symbol based on which __longjmp to generate.
17379 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
17380 probe.
17381 (setjmp): Rename to setjmp_symbol.
17382 (__sigsetjmp): Rename to __sigsetjmp_symbol.
17383 (_setjmp): Rename to _setjmp_symbol.
17384 (__sigsetjmp): Rename to __sigsetjmp_symbol.
17385 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
17386 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
17387 which setjmp to generate.
17388 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
17389 "longjmp_target" static probes.
17390
17391 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
17392
17393 * benchtests/README: Add note about output arguments.
17394 * benchtests/bench-sincos.c: Remove file.
17395 * benchtests/sincos-inputs: New file.
17396 * scripts/bench.pl: Identify output arguments and define
17397 static variables for them.
17398
17399 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
17400
17401 [BZ #15941]
17402 * Makefile (INSTALL): Add install-plain.texi as the primary
17403 dependency.
17404 * manual/install-plain.texi: New file.
17405 * manual/install.texi: Include node directive only for
17406 non-plaintext output.
17407
17408 2013-12-04 Joseph Myers <joseph@codesourcery.com>
17409
17410 * stdlib/longlong.h: Update from GCC.
17411
17412 [BZ #6807]
17413 [BZ #15901]
17414 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
17415 * math/w_j0f.c (y0f): Likewise.
17416 * math/w_j0l.c (__y0l): Likewise.
17417 * math/w_j1.c (y1): Likewise.
17418 * math/w_j1f.c (y1f): Likewise.
17419 * math/w_j1l.c (__y1l): Likewise
17420 * math/w_jn.c (yn): Likewise.
17421 * math/w_jnf.c (ynf): Likewise.
17422 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
17423 Bessel function pole errors in _POSIX_ mode. Use NAN as return
17424 value for Bessel function domain errors outside _SVID_ mode.
17425 Adjust sign of return value for yn (negative integer, 0).
17426 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
17427 by zero in return for negative x and set sign appropriately for
17428 negative n.
17429 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
17430 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
17431 * math/libm-test.inc (y0_test_data): Add more tests and adjust
17432 expectations in error cases.
17433 (y1_test_data): Likewise.
17434 (yn_test_data): Likewise.
17435 * sysdeps/i386/fpu/libm-test-ulps: Update.
17436 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17437
17438 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
17439
17440 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
17441 "64" to "64-v1". Add "64-v2".
17442 (abi-64-options): Rename to ...
17443 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
17444 (abi-64-condition): Rename to ...
17445 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
17446 (abi-64-ld-soname): Rename to ...
17447 (abi-64-v1-ld-soname): ... this.
17448 (abi-64-v2-options): Define.
17449 (abi-64-v2-condition): Likewise.
17450 (abi-64-v2-ld-soname): Likewise.
17451 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
17452 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
17453 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
17454 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
17455 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
17456
17457 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
17458 Alan Modra <amodra@gmail.com>
17459
17460 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
17461 New versions for use with the ELFv2 ABI.
17462 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
17463 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
17464 declaration.
17465 (struct La_ppc64v2_retval): Likewise.
17466 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
17467 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
17468 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
17469 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
17470 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
17471 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
17472 Do not save or restore CR.
17473 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
17474 (_dl_profile_resolve): Do no save or restore CR. Support extended
17475 return values for ELFv2 ABI. Fix location of FPR return registers.
17476 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
17477 updated values for _CALL_ELF == 2.
17478 (La_regs, La_retval, int_retval): Likewise.
17479
17480 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
17481
17482 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
17483 (FRAME_MIN_SIZE_PARM): Likewise.
17484 (FRAME_BACKCHAIN): Likewise.
17485 (FRAME_CR_SAVE): Likewise.
17486 (FRAME_LR_SAVE): Likewise.
17487 (FRAME_TOC_SAVE): Likewise.
17488 (FRAME_PARM_SAVE): Likewise.
17489 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
17490 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
17491 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
17492 (call_mcount_parm_offset): New macro.
17493 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
17494 (PROF): Use symbolic stack frame offsets.
17495 (TAIL_CALL_SYSCALL_ERROR): Likewise.
17496 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
17497 Redefine in terms of FRAME_MIN_SIZE.
17498 (_dl_runtime_resolve): Use symbolic stack frame offsets.
17499 (_dl_profile_resolve): Likewise. Update comment.
17500 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
17501 symbols stack frame offsets.
17502 (__sigsetjmp): Likewise.
17503 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
17504 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
17505 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
17506 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
17507
17508 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
17509 (FRAME_BACKCHAIN): Remove.
17510 (FRAME_CR_SAVE): Likewise.
17511 (FRAME_LR_SAVE): Likewise.
17512 (FRAME_COMPILER_DW): Likewise.
17513 (FRAME_LINKER_DW): Likewise.
17514 (FRAME_TOC_SAVE): Likewise.
17515 (FRAME_PARM_SAVE): Likewise.
17516 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
17517 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
17518 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
17519 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
17520 (CHECK_SP): Use symbolic stack frame offsets.
17521 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
17522 zone" instead of caller's parameter save area for temp storage.
17523 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
17524 Likewise. Also, use symbolic stack frame offsets.
17525 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
17526 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
17527 our own stack frame instead of the caller's.
17528 (__socket): Use symbolic stack frame offsets.
17529
17530 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
17531 Alan Modra <amodra@gmail.com>
17532
17533 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
17534 Define.
17535 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
17536 (PPC64_LOCAL_ENTRY_OFFSET): Define.
17537 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
17538 New function.
17539 (elf_machine_fixup_plt): Call it.
17540 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
17541 reloc arguments.
17542 (elf_machine_rela): Update call to elf_machine_plt_conflict.
17543 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
17544 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
17545 r2 before calling target.
17546
17547 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
17548 Alan Modra <amodra@gmail.com>
17549
17550 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
17551 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
17552 versions of macros to support ELFv2 ABI.
17553 (LOCALENTRY): New macro.
17554 (ENTRY, EALIGN): Use it.
17555 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
17556 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
17557 fall through into ENTRY entry point.
17558 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
17559 Only define if _CALL_ELF != 2.
17560
17561 (elf_machine_matches_host): Verify ABI version matches.
17562 (RTLD_START): Use LOCALENTRY.
17563 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
17564 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
17565 (PLT_ENTRY_WORDS): New macro.
17566 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
17567 (elf_machine_runtime_setup): Support ELFv2 ABI.
17568 (elf_machine_fixup_plt): Likewise.
17569 (elf_machine_plt_conflict): Likewise.
17570 (resolve_ifunc): Likewise.
17571 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
17572 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
17573 Likewise.
17574 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
17575 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
17576 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
17577 (makecontext): Support ELFv2 ABI.
17578 * elf/elf.h (EF_PPC64_ABI): Define.
17579
17580 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
17581
17582 * sysdeps/powerpc/powerpc64/sysdep.h
17583 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
17584 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
17585 (ENTRY) [ASSEMBLER]: ... but instead here ...
17586 (EALIGN) [ASSEMBLER]: ... and here.
17587 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
17588 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
17589 (ENTRY_2) [!ASSEMBLER]: Use it.
17590 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
17591 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
17592 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
17593 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
17594 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
17595 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
17596 Use PPC64_LOAD_FUNCPTR.
17597
17598 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
17599
17600 2013-12-04 Alan Modra <amodra@gmail.com>
17601
17602 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
17603 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
17604 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
17605 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
17606
17607 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
17608 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
17609 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
17610 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
17611 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
17612 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
17613
17614 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
17615
17616 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
17617 (__makecontext): Fix incorrect CFI when backtracing out of
17618 context created via makecontext.
17619 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
17620 (__setcontext): Fix incorrect CFI during switch to new context.
17621 (__novec_setcontext): Likewise.
17622
17623 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
17624
17625 [BZ #4772]
17626 * time/strptime_l.c (__strptime_internal): Allow modifiers
17627 in strptime.
17628 * time/tst-strptime.c (day_tests): Add testcase.
17629
17630 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
17631
17632 * scripts/bench.pl: Skip over blank lines.
17633
17634 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
17635
17636 [BZ #926]
17637 * manual/time.texi (Calendar Time): Clarify what timezone functions
17638 use.
17639
17640 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17641
17642 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17643
17644 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
17645
17646 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
17647 implementation.
17648 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
17649 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
17650 * debug/memset_chk.c (__memset_chk): Likewise.
17651 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
17652 * debug/strncpy_chk.c: Likewise.
17653
17654 2013-12-03 Joseph Myers <joseph@codesourcery.com>
17655
17656 [BZ #15268]
17657 [BZ #15425]
17658 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
17659 (__ieee754_exp): For possibly underflowing results, check size of
17660 result and force underflow exception if required.
17661 * math/auto-libm-test-in: Add more tests of exp.
17662 * math/auto-libm-test-out: Regenerated.
17663 * sysdeps/i386/fpu/libm-test-ulps: Update.
17664 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17665
17666 [BZ #16283]
17667 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
17668 * math/w_exp2f.c (__exp2f): Likewise.
17669 * math/w_exp2l.c (__exp2l): Likewise.
17670 * math/auto-libm-test-in: Do not allow missing errno on exp2
17671 underflow.
17672 * math/auto-libm-test-out: Regenerated.
17673
17674 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
17675
17676 [BZ #16274]
17677 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
17678 handle filename validation.
17679 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
17680 (do_open): Delete.
17681
17682 2013-12-03 Joseph Myers <joseph@codesourcery.com>
17683
17684 [BZ #6786]
17685 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
17686 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
17687 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
17688 <float.h>.
17689 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
17690 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
17691 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
17692 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
17693 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
17694 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
17695 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
17696 * math/auto-libm-test-in: Don't allow missing errno from erfc.
17697 Add more erfc tests.
17698 * math/auto-libm-test-out: Regenerated.
17699 * sysdeps/i386/fpu/libm-test-ulps: Update.
17700 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17701
17702 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
17703 exp2, expm1, j0 and j1.
17704 * math/auto-libm-test-out: Regenerated.
17705 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
17706 (erfc_test_data): Likewise.
17707 (exp_test_data): Likewise.
17708 (exp_tonearest_test_data): Likewise.
17709 (exp_towardzero_test_data): Likewise.
17710 (exp_downward_test_data): Likewise.
17711 (exp_upward_test_data): Likewise.
17712 (exp10_test_data): Likewise.
17713 (exp2_test_data): Likewise.
17714 (expm1_test_data): Likewise.
17715 (j0_test_data): Likewise.
17716 (j1_test_data): Likewise.
17717 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
17718 (input_flag_type): Add flag_xfail_rounding.
17719 (input_flags): Add xfail-rounding.
17720 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
17721 (output_for_one_input_case): Handle flag_xfail_rounding.
17722 * sysdeps/i386/fpu/libm-test-ulps: Update.
17723 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17724
17725 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
17726
17727 [BZ #16289]
17728 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
17729 division by 0.
17730
17731 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
17732
17733 [BZ #16195]
17734 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
17735 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
17736 (STAP_PROBE0): New macro.
17737 (STAP_PROBE1): Likewise.
17738 (STAP_PROBE2): Likewise.
17739 (STAP_PROBE3): Likewise.
17740 (STAP_PROBE4): Likewise.
17741
17742 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
17743
17744 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
17745
17746 2013-12-02 Steve Ellcey <sellcey@mips.com>
17747
17748 * benchtests/Makefile (bench): Add sqrt.
17749 (LDLIBS-bench-sqrt): New.
17750 * benchtests/sqrt-input: New.
17751
17752 2013-12-02 Pavel Simerda <psimerda@redhat.com>
17753
17754 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
17755 (GAIH_EAI): Likewise.
17756 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
17757 (gaih_inet): Likewise.
17758 (getaddrinfo): Don't use GAIH_EAI.
17759
17760 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
17761 (struct gaih): Remove definition.
17762
17763 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
17764
17765 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
17766 Use HERRNOP directly.
17767
17768 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17769
17770 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17771
17772 2013-11-30 Joseph Myers <joseph@codesourcery.com>
17773
17774 * math/gen-auto-libm-tests.c (test_functions): Add more
17775 single-argument functions.
17776 (special_fill_pi_2): New function.
17777 (special_fill_minus_pi_2): Likewise.
17778 (special_fill_pi_6): Likewise.
17779 (special_fill_minus_pi_6): Likewise.
17780 (special_fill_pi_3): Likewise.
17781 (special_fill_2pi_3): Likewise.
17782 (special_fill_e): Likewise.
17783 (special_fill_1_e): Likewise.
17784 (special_fill_e_minus_1): Likewise.
17785 (special_real_inputs): Add more special inputs.
17786 (output_for_one_input_case): Do not require ERANGE on underflow to
17787 zero if round-to-nearest result does not underflow to zero, unless
17788 exact results required.
17789 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
17790 atan, atanh, cbrt, cos and cosh.
17791 * math/auto-libm-test-out: Regenerated.
17792 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
17793 (acos_tonearest_test_data): Likewise.
17794 (acos_towardzero_test_data): Likewise.
17795 (acos_downward_test_data): Likewise.
17796 (acos_upward_test_data): Likewise.
17797 (acosh_test_data): Likewise.
17798 (asin_test_data): Likewise.
17799 (asin_tonearest_test_data): Likewise.
17800 (asin_towardzero_test_data): Likewise.
17801 (asin_upward_test_data): Likewise.
17802 (asinh_test_data): Likewise.
17803 (atan_test_data): Likewise.
17804 (atanh_test_data): Likewise.
17805 (cbrt_test_data): Likewise.
17806 (cos_test_data): Likewise.
17807 (cos_tonearest_test_data): Likewise.
17808 (cos_towardzero_test_data): Likewise.
17809 (cos_downward_test_data): Likewise.
17810 (cos_upward_test_data): Likewise.
17811 (cosh_test_data): Likewise.
17812 (cosh_tonearest_test_data): Likewise.
17813 (cosh_towardzero_test_data): Likewise.
17814 (cosh_downward_test_data): Likewise.
17815 (cosh_upward_test_data): Likewise.
17816 * sysdeps/i386/fpu/libm-test-ulps: Update.
17817 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17818
17819 2013-11-29 Joseph Myers <joseph@codesourcery.com>
17820
17821 [BZ #6787]
17822 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
17823 * math/w_exp10f.c (__exp10f): Likewise.
17824 * math/w_exp10l.c (__exp10l): Likewise.
17825 * math/libm-test.inc (exp10_test_data): Add more tests and expect
17826 errno settings in existing tests.
17827
17828 [BZ #14032]
17829 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
17830 precision control set to double precision.
17831 * sysdeps/i386/fpu/w_sqrt.c: New file.
17832 * math/auto-libm-test-in: Add more tests.
17833 * math/auto-libm-test-out: Update.
17834
17835 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
17836 (sqrt_test_tonearest): New function.
17837 (sqrt_towardzero_test_data): New variable.
17838 (sqrt_test_towardzero): New function.
17839 (sqrt_downward_test_data): New variable.
17840 (sqrt_test_downward): New function.
17841 (sqrt_upward_test_data): New variable.
17842 (sqrt_test_upward): New function.
17843 (main): Call the new functions.
17844
17845 * math/gen-auto-libm-tests.c: New file.
17846 * math/auto-libm-test-in: Likewise.
17847 * math/auto-libm-test-out: New generated file.
17848 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
17849 variables.
17850 (%beautify): Add generated representations of zero.
17851 (top level): Set $auto_input and call parse_auto_input.
17852 (beautify): Remove trailing "f" from hex float constants.
17853 (parse_args): Handle XFAIL_TEST.
17854 (convert_condition): New function.
17855 (or_value): Likewise.
17856 (or_cond_value): Likewise.
17857 (generate_testfile): Handle AUTO_TESTS_* lines.
17858 (parse_auto_input): New function.
17859 * math/libm-test.inc (XFAIL_TEST): New macro.
17860 (ERRNO_UNCHANGED): Update value.
17861 (ERRNO_EDOM): Likewise.
17862 (ERRNO_ERANGE): Likewise.
17863 (IGNORE_RESULT): Likewise.
17864 (TEST_COND_flt_32): New macro.
17865 (TEST_COND_dbl_64): Likewise.
17866 (TEST_COND_ldbl_96_intel): Likewise.
17867 (TEST_COND_ldbl_96_m68k): Likewise.
17868 (TEST_COND_ldbl_128): Likewise.
17869 (TEST_COND_ldbl_128ibm): Likewise.
17870 (TEST_COND_long32): Likewise.
17871 (TEST_COND_long64): Likewise.
17872 (TEST_COND_before_rounding): Likewise.
17873 (TEST_COND_after_rounding): Likewise.
17874 (enable_test): Handle XFAIL_TEST flag.
17875 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
17876 with finite results.
17877 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
17878 auto-libm-test-out.
17879
17880 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
17881 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17882
17883 [BZ #16214]
17884 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
17885 __tls_get_addr_internal instead of __tls_get_offset in order to
17886 avoid GOT pointer dependency. Make rtld export
17887 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
17888 __tls_get_addr since we are a __tls_get_offset platform.
17889 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
17890 GOT pointer being set up before.
17891 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
17892
17893 2013-11-28 Joseph Myers <joseph@codesourcery.com>
17894
17895 * manual/math.texi (Errors in Math Functions): Document accuracy
17896 goals.
17897
17898 [BZ #15004]
17899 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
17900 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
17901 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
17902 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
17903 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
17904 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
17905 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
17906 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
17907 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
17908 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
17909 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
17910 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
17911 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
17912 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
17913 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
17914 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
17915
17916 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
17917 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
17918 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
17919 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
17920 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
17921 Likewise.
17922 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
17923 Likewise.
17924 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
17925 Likewise.
17926 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
17927 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
17928 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
17929 atomic-feupdateenv and flt-rounds.
17930 * sysdeps/powerpc/nofpu/Versions (libc): Add
17931 __atomic_feholdexcept, __atomic_feclearexcept,
17932 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
17933 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
17934 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
17935 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
17936 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
17937 here.
17938 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
17939 Update.
17940
17941 * manual/arith.texi (FP Exceptions): Document that exceptions may
17942 not be raised when matherr is used.
17943 (Math Error Reporting): Document overflow in directed rounding
17944 modes. Document that errno may not be set when finite values are
17945 returned on overflow. Document intent to set errno on underflow
17946 only for underflow to zero.
17947
17948 [BZ #16271]
17949 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
17950 round-to-nearest then adjust result for other rounding modes.
17951 * include/fenv.h (fegetround): Use libm_hidden_proto.
17952 * math/fegetround.c (fegetround): Use libm_hidden_def.
17953 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
17954 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
17955 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
17956 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
17957 Likewise.
17958 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
17959 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
17960 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
17961 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
17962
17963 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
17964
17965 [BZ #16077]
17966 * nss/Versions (libnss_files): Add
17967 _nss_files_gethostbyname3_r.
17968 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
17969 New function.
17970 (HOST_DB_LOOKUP): Remove macro.
17971 (_nss_files_gethostbyname_r): Implement function without the
17972 HOST_DB_LOOKUP macro.
17973 (_nss_files_gethostbyname2_r): Likewise.
17974
17975 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
17976
17977 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
17978
17979 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
17980
17981 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
17982 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
17983 warning.
17984
17985 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17986
17987 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
17988 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
17989 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
17990 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
17991 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
17992 __fe_nomask_env_priv and attribute_hidden.
17993 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
17994 (libc_feupdateenv_test_ppc): Likewise.
17995 (libc_feresetround_ppc): Likewise.
17996 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
17997 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
17998 compat_symbol macro.
17999 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
18000 (__fe_nomask_env): Likewise.
18001 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
18002
18003 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
18004
18005 * string/Makefile: Remove ifunc tests.
18006 * string/test-string.h: Define TEST_IFUNC.
18007 * string/test-bcopy-ifunc.c: Remove.
18008 * string/test-bzero-ifunc.c: Likewise.
18009 * string/test-memccpy-ifunc.c: Likewise.
18010 * string/test-memchr-ifunc.c: Likewise.
18011 * string/test-memcmp-ifunc.c: Likewise.
18012 * string/test-memcpy-ifunc.c: Likewise.
18013 * string/test-memmem-ifunc.c: Likewise.
18014 * string/test-memmove-ifunc.c: Likewise.
18015 * string/test-mempcpy-ifunc.c: Likewise.
18016 * string/test-memrchr-ifunc.c: Likewise.
18017 * string/test-memset-ifunc.c: Likewise.
18018 * string/test-rawmemchr-ifunc.c: Likewise.
18019 * string/test-stpcpy-ifunc.c: Likewise.
18020 * string/test-stpncpy-ifunc.c: Likewise.
18021 * string/test-strcasecmp-ifunc.c: Likewise.
18022 * string/test-strcasestr-ifunc.c: Likewise.
18023 * string/test-strcat-ifunc.c: Likewise.
18024 * string/test-strchr-ifunc.c: Likewise.
18025 * string/test-strchrnul-ifunc.c: Likewise.
18026 * string/test-strcmp-ifunc.c: Likewise.
18027 * string/test-strcpy-ifunc.c: Likewise.
18028 * string/test-strcspn-ifunc.c: Likewise.
18029 * string/test-strlen-ifunc.c: Likewise.
18030 * string/test-strncasecmp-ifunc.c: Likewise.
18031 * string/test-strncat-ifunc.c: Likewise.
18032 * string/test-strncmp-ifunc.c: Likewise.
18033 * string/test-strncpy-ifunc.c: Likewise.
18034 * string/test-strnlen-ifunc.c: Likewise.
18035 * string/test-strpbrk-ifunc.c: Likewise.
18036 * string/test-strrchr-ifunc.c: Likewise.
18037 * string/test-strspn-ifunc.c: Likewise.
18038 * string/test-strstr-ifunc.c: Likewise.
18039
18040 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
18041
18042 * benchtests/Makefile: Remove ifunc tests.
18043 * benchtests/bench-string.h: Define TEST_IFUNC.
18044 * benchtests/bench-bcopy-ifunc.c: Remove.
18045 * benchtests/bench-bzero-ifunc.c: Likewise.
18046 * benchtests/bench-memccpy-ifunc.c: Likewise.
18047 * benchtests/bench-memchr-ifunc.c: Likewise.
18048 * benchtests/bench-memcmp-ifunc.c: Likewise.
18049 * benchtests/bench-memcpy-ifunc.c: Likewise.
18050 * benchtests/bench-memmem-ifunc.c: Likewise.
18051 * benchtests/bench-memmove-ifunc.c: Likewise.
18052 * benchtests/bench-mempcpy-ifunc.c: Likewise.
18053 * benchtests/bench-memrchr-ifunc.c: Likewise.
18054 * benchtests/bench-memset-ifunc.c: Likewise.
18055 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
18056 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
18057 * benchtests/bench-stpcpy-ifunc.c: Likewise.
18058 * benchtests/bench-stpncpy-ifunc.c: Likewise.
18059 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
18060 * benchtests/bench-strcasestr-ifunc.c: Likewise.
18061 * benchtests/bench-strcat-ifunc.c: Likewise.
18062 * benchtests/bench-strchr-ifunc.c: Likewise.
18063 * benchtests/bench-strchrnul-ifunc.c: Likewise.
18064 * benchtests/bench-strcmp-ifunc.c: Likewise.
18065 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
18066 * benchtests/bench-strcpy-ifunc.c: Likewise.
18067 * benchtests/bench-strcspn-ifunc.c: Likewise.
18068 * benchtests/bench-strlen-ifunc.c: Likewise.
18069 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
18070 * benchtests/bench-strncat-ifunc.c: Likewise.
18071 * benchtests/bench-strncmp-ifunc.c: Likewise.
18072 * benchtests/bench-strncpy-ifunc.c: Likewise.
18073 * benchtests/bench-strnlen-ifunc.c: Likewise.
18074 * benchtests/bench-strpbrk-ifunc.c: Likewise.
18075 * benchtests/bench-strrchr-ifunc.c: Likewise.
18076 * benchtests/bench-strsep-ifunc.c: Likewise.
18077 * benchtests/bench-strspn-ifunc.c: Likewise.
18078 * benchtests/bench-strstr-ifunc.c: Likewise.
18079
18080 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
18081
18082 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
18083
18084 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
18085
18086 * resolv/netdb.h: Use __glibc_reserved instead __unused.
18087 * rt/aio.h: Likewise.
18088 * sysdeps/gnu/bits/utmp.h: Likewise.
18089 * sysdeps/gnu/bits/utmpx.h: Likewise.
18090 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
18091 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
18092 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
18093 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
18094 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
18095 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
18096 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
18097 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
18098 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
18099 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
18100 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
18101 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
18102 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
18103 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
18104 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
18105 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
18106 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
18107 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
18108 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
18109 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
18110 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
18111 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
18112 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
18113 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
18114 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
18115 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
18116 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
18117 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
18118 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
18119 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
18120 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
18121 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
18122 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
18123 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
18124 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
18125 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
18126 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
18127 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
18128 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
18129 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
18130 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
18131 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
18132
18133 2013-11-25 Carlos O'Donell <carlos@redhat.com>
18134
18135 [BZ #16245]
18136 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
18137 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
18138
18139 2013-11-25 Joseph Myers <joseph@codesourcery.com>
18140
18141 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
18142 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
18143 Likewise.
18144
18145 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18146
18147 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
18148 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
18149 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
18150 (__fesetround): Remove define.
18151 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
18152 rounding and exceptions handling.
18153 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
18154 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
18155 (__fe_nomask_env): Likewise.
18156 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
18157 __fegetround instead of fegetround.
18158 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
18159 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
18160
18161 2013-11-21 Roland McGrath <roland@hack.frob.com>
18162
18163 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
18164 it's there.
18165
18166 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
18167
18168 2013-11-21 Meador Inge <meadori@codesourcery.com>
18169
18170 [BZ #11157]
18171 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
18172 (encrypt_r): Likewise.
18173 * malloc/obstack.h (obstack_free): Likewise.
18174 * posix/unistd.h (encrypt): Likewise.
18175
18176 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
18177
18178 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
18179 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
18180 DL_CALL_DT_FINI() that call the functions directly.
18181 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
18182 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
18183 * elf/dl-fini.c: Likewise.
18184
18185 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
18186
18187 * malloc/hooks.c (memalign_check): Add alignment rounding.
18188 * malloc/malloc.c (_mid_memalign): New function.
18189 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
18190 Implement by calling _mid_memalign.
18191 * manual/probes.texi (Memory Allocation Probes): Remove
18192 memory_valloc_retry and memory_pvalloc_retry.
18193
18194 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
18195
18196 * locale/programs/locarchive.c (open_archive): Add const
18197 qualifier to ARCHIVEFNAME and copy default fname to
18198 DEFAULT_FNAME.
18199
18200 [BZ #15601]
18201 * libio/tst-widetext.input: Rename Oriya to Odia.
18202 * locale/iso-639.def: Likewise.
18203
18204 * manual/probes.texi (Mathematical Function Probes): Add
18205 documentation for sin, cos, asin and acos probes.
18206 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
18207 (__sin32): Add slowasin probe.
18208 (__cos32): Add slowacos probe.
18209 (__mpsin): Add slowsin probe.
18210 (__mpcos): Add slowcos probe.
18211
18212 2013-11-19 Joseph Myers <joseph@codesourcery.com>
18213
18214 [BZ #15483]
18215 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
18216 thread-local __sim_exceptions_thread and global
18217 __sim_exceptions_global.
18218 (__sim_disabled_exceptions): Change to thread-local
18219 __sim_disabled_exceptions_thread and global
18220 __sim_disabled_exceptions_global.
18221 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
18222 and global __sim_round_mode_global.
18223 (__simulate_exceptions): Use thread-local floating-point state and
18224 set global state from it as needed.
18225 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
18226 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
18227 __sim_round_mode_thread.
18228 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
18229 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
18230 and global __sim_exceptions_global.
18231 (__sim_disabled_exceptions): Change to thread-local
18232 __sim_disabled_exceptions_thread and global
18233 __sim_disabled_exceptions_global.
18234 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
18235 and global __sim_round_mode_global.
18236 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
18237 (SIM_SET_GLOBAL): Likewise.
18238 * sysdeps/powerpc/soft-fp/sfp-machine.h
18239 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
18240 __sim_round_mode_thread.
18241 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
18242 __sim_disabled_exceptions_thread.
18243 (__sim_exceptions): Change to __sim_exceptions_thread.
18244 (__sim_disabled_exceptions): Change to
18245 __sim_disabled_exceptions_thread.
18246 (__sim_round_mode): Change to __sim_round_mode_thread.
18247 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
18248 thread-local floating-point state and set global state from it as
18249 needed.
18250 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
18251 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
18252 (__sim_disabled_exceptions): Remove extern declaration.
18253 (feenableexcept): Use thread-local floating-point state and set
18254 global state from it as needed.
18255 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
18256 extern declaration.
18257 (__sim_disabled_exceptions): Likewise.
18258 (__sim_round_mode): Likewise.
18259 (__fegetenv): Use thread-local floating-point state.
18260 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
18261 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
18262 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
18263 floating-point state and set global state from it as needed.
18264 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
18265 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
18266 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
18267 Likewise.
18268 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
18269 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
18270 Likewise.
18271 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
18272 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
18273 Use __sim_round_mode_thread.
18274 * math/test-fenv-tls.c: New file.
18275 * math/Makefile (tests): Add test-fenv-tls.
18276 ($(objpfx)test-fenv-tls): Depend on
18277 $(common-objpfx)nptl/libpthread.so.
18278
18279 2013-11-19 Andreas Schwab <schwab@suse.de>
18280
18281 * locale/programs/locale.c (show_info): Decode wordarray elements.
18282 * locale/categories.def (LC_MONETARY): Add element for
18283 _NL_MONETARY_CRNCYSTR.
18284 * locale/C-monetary.c (conversion_rate): New variable.
18285 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
18286 element.
18287
18288 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
18289
18290 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
18291 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
18292
18293 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
18294
18295 * elf/Makefile (tst-auxv): New test.
18296 * elf/tst-auxv.c: New
18297 * elf/rtld.c (dl_main): Adjust AT_EXECFN
18298
18299 2013-11-18 Joseph Myers <joseph@codesourcery.com>
18300
18301 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
18302 (hidden_proto): Caller changed.
18303 (hidden_tls_proto): New macro.
18304 (libc_hidden_tls_proto): Likewise.
18305 (rtld_hidden_tls_proto): Likewise.
18306 (libm_hidden_tls_proto): Likewise.
18307 (libresolv_hidden_tls_proto): Likewise.
18308 (librt_hidden_tls_proto): Likewise.
18309 (libdl_hidden_tls_proto): Likewise.
18310 (libnss_files_hidden_tls_proto): Likewise.
18311 (libnsl_hidden_tls_proto): Likewise.
18312 (libnss_nisplus_hidden_tls_proto): Likewise.
18313 (libutil_hidden_tls_proto): Likewise.
18314
18315 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
18316
18317 [BZ #10253]
18318 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
18319 (decompose_rpath): Defer expansion to fillin_rpath.
18320 (_dl_init_paths): Pass linkmap to fillin_rpath.
18321
18322 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
18323
18324 * benchtests/Makefile: Add strsep.
18325 * benchtests/bench-strsep.c: New file: strsep benchtest.
18326 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
18327
18328 2013-11-18 Andreas Schwab <schwab@suse.de>
18329
18330 * locale/programs/locale.c (show_info) [case byte]: Check for
18331 '\377' instead of '\177'.
18332 * locale/C-monetary.c (not_available): Always use "\377".
18333 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
18334 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
18335 detect unavailable sign_posn locale elements.
18336 * locale/localeconv.c (__localeconv): For grouping and
18337 mon_grouping handle "\177" and "\377" like no grouping.
18338 (INT_ELEM): New macro. Use it to set all numeric members.
18339 * locale/programs/ld-monetary.c (monetary_read)
18340 <tok_mon_grouping>: Normalize single -1 to the empty string.
18341 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
18342 Likewise.
18343
18344 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
18345
18346 [BZ #16055]
18347 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
18348 when we match (nil).
18349 * stdio-common/tst-sscanf.c (struct test): Add testcase.
18350
18351 2013-11-16 Joseph Myers <joseph@codesourcery.com>
18352
18353 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
18354 (NO_TEST_INLINE): Update value.
18355 (ERRNO_UNCHANGED): Likewise.
18356 (ERRNO_EDOM): Likewise.
18357 (ERRNO_ERANGE): Likewise.
18358 (IGNORE_RESULT): Likewise.
18359 (check_float_internal): Check signs of NaN results if
18360 TEST_NAN_SIGN used.
18361 (check_complex): Pass TEST_NAN_SIGN flag through to second
18362 check_float_internal call.
18363 (copysign_test_data): Add tests with quiet NaNs as second
18364 argument. Use TEST_NAN_SIGN.
18365 (fabs_test_data): Add test of negative quiet NaN argument. Use
18366 TEST_NAN_SIGN.
18367 (signbit_test_data): Add tests of quiet NaN argument.
18368 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
18369
18370 * math/gen-libm-test.pl (show_exceptions): Take extra argument
18371 $ignore_result.
18372 (parse_args): Handle function results specified as IGNORE.
18373 * math/libm-test.inc (IGNORE_RESULT): New macro.
18374 (check_float_internal): Do not check numerical result if flag
18375 IGNORE_RESULT set.
18376 (check_complex): Pass through IGNORE_RESULT to second
18377 check_float_internal call.
18378 (check_int): Do not check numerical result if flag IGNORE_RESULT
18379 set.
18380 (check_long): Likewise.
18381 (check_bool): Likewise.
18382 (check_longlong): Likewise.
18383 (lrint_test_data): Add tests of infinite and NaN arguments.
18384 (lrint_tonearest_test_data): Likewise.
18385 (lrint_towardzero_test_data): Likewise.
18386 (lrint_downward_test_data): Likewise.
18387 (lrint_upward_test_data): Likewise.
18388 (llrint_test_data): Likewise.
18389 (llrint_tonearest_test_data): Likewise.
18390 (llrint_towardzero_test_data): Likewise.
18391 (llrint_downward_test_data): Likewise.
18392 (llrint_upward_test_data): Likewise.
18393 (lround_test_data): Likewise.
18394 (llround_test_data): Likewise.
18395
18396 * math/libm-test.inc (NO_TEST_INLINE): New macro.
18397 (ERRNO_UNCHANGED): Update value.
18398 (ERRNO_EDOM): Likewise.
18399 (ERRNO_ERANGE): Likewise.
18400 (NO_TEST_INLINE_FLOAT): New macro.
18401 (NO_TEST_INLINE_DOUBLE): Likewise.
18402 (enable_test): New function.
18403 (RUN_TEST_f_f): Check enable_test before running test.
18404 (RUN_TEST_2_f): Likewise.
18405 (RUN_TEST_fff_f): Likewise.
18406 (RUN_TEST_c_f): Likewise.
18407 (RUN_TEST_f_f1): Likewise.
18408 (RUN_TEST_fF_f1): Likewise.
18409 (RUN_TEST_fI_f1): Likewise.
18410 (RUN_TEST_ffI_f1): Likewise.
18411 (RUN_TEST_c_c): Likewise.
18412 (RUN_TEST_cc_c): Likewise.
18413 (RUN_TEST_f_i): Likewise.
18414 (RUN_TEST_f_i_tg): Likewise.
18415 (RUN_TEST_ff_i_tg): Likewise.
18416 (RUN_TEST_f_b): Likewise.
18417 (RUN_TEST_f_b_tg): Likewise.
18418 (RUN_TEST_f_l): Likewise.
18419 (RUN_TEST_f_L): Likewise.
18420 (RUN_TEST_fFF_11): Likewise.
18421 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
18422 conditionals.
18423 (cosh_test_data): Likewise.
18424 (exp_test_data): Likewise.
18425 (expm1_test_data): Likewise.
18426 (hypot_test_data): Likewise.
18427 (pow_test_data): Likewise.
18428 (sinh_test_data): Likewise.
18429 (tanh_test_data): Likewise.
18430 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
18431 flags argument.
18432
18433 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
18434 tests with quiet NaN input and output.
18435 (acosh_test_data): Likewise.
18436 (asin_test_data): Likewise.
18437 (asinh_test_data): Likewise.
18438 (atan_test_data): Likewise.
18439 (atanh_test_data): Likewise.
18440 (atan2_test_data): Likewise.
18441 (cbrt_test_data): Likewise.
18442 (cos_test_data): Likewise.
18443 (cosh_test_data): Likewise.
18444 (erf_test_data): Likewise.
18445 (erfc_test_data): Likewise.
18446 (exp_test_data): Likewise.
18447 (exp10_test_data): Likewise.
18448 (exp2_test_data): Likewise.
18449 (expm1_test_data): Likewise.
18450 (hypot_test_data): Likewise.
18451 (j0_test_data): Likewise.
18452 (j1_test_data): Likewise.
18453 (jn_test_data): Likewise.
18454 (lgamma_test_data): Likewise.
18455 (log_test_data): Likewise.
18456 (log10_test_data): Likewise.
18457 (log1p_test_data): Likewise.
18458 (log2_test_data): Likewise.
18459 (pow_test_data): Likewise.
18460 (scalb_test_data): Likewise.
18461 (sin_test_data): Likewise.
18462 (sincos_test_data): Likewise.
18463 (sinh_test_data): Likewise.
18464 (tan_test_data): Likewise.
18465 (tanh_test_data): Likewise.
18466 (tgamma_test_data): Likewise.
18467 (y0_test_data): Likewise.
18468 (y1_test_data): Likewise.
18469 (yn_test_data): Likewise.
18470
18471 [BZ #16167]
18472 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
18473 argument being NaN and avoid computations with second argument in
18474 that case.
18475 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
18476 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
18477 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
18478
18479 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
18480
18481 * locale/iso-639.def: Add Chitwani Tharu (the).
18482
18483 2013-11-14 Andreas Schwab <schwab@suse.de>
18484
18485 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
18486 word instead of empty string.
18487
18488 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18489
18490 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
18491 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
18492 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
18493 (__fe_nomask_env): Likewise.
18494
18495 2013-11-13 Steve Ellcey <sellcey@mips.com>
18496
18497 * benchtests/bench-timing.h: Include time.h.
18498
18499 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
18500
18501 [BZ #15997]
18502 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
18503 to 3.4.0 for x32.
18504 * sysdeps/unix/sysv/linux/configure: Regenerated.
18505
18506 2013-11-13 Joseph Myers <joseph@codesourcery.com>
18507
18508 [BZ #16151]
18509 * stdlib/strtod_l.c (round_and_return): Do not consider
18510 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
18511 exponent one less than half the least subnormal exponent.
18512 * stdlib/test-strtod-round-data: Add more tests.
18513 * stdlib/tst-strtod-round.c (tests): Regenerated.
18514
18515 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18516
18517 [BZ #14143]
18518 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
18519 (__fe_mask_env): Likewise.
18520 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
18521 libm_hidden_proto and add function prototype.
18522 (__fe_mask_env): Add function prototype.
18523 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
18524 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
18525 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
18526 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
18527 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
18528 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
18529
18530 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
18531
18532 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
18533 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
18534
18535 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
18536
18537 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
18538 of htab_find_slot().
18539
18540 2013-11-11 David S. Miller <davem@davemloft.net>
18541
18542 [BZ #16150]
18543 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
18544 symbol in the non-vis3 case in static builds.
18545 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
18546 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
18547 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
18548 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
18549
18550 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
18551
18552 [BZ #387]
18553 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
18554 it is empty.
18555
18556 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18557
18558 * benchtests/Makefile: Add bench-strtod.
18559 * benchtests/bench-strtod.c: New file: strtod benchtest
18560
18561 2013-11-11 Andreas Schwab <schwab@suse.de>
18562
18563 [BZ #16153]
18564 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
18565 terminating NUL in key length.
18566
18567 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18568
18569 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
18570 Add artificial ODP entry for vDSO symbol for PPC64.
18571 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
18572 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
18573
18574 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
18575
18576 [BZ #15374]
18577 * nss/getent.c (services_keys): Recognize services starting with digit.
18578
18579 2013-11-06 David S. Miller <davem@davemloft.net>
18580
18581 [BZ #15985]
18582 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
18583 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
18584
18585 2013-11-06 Will Newton <will.newton@linaro.org>
18586
18587 * manual/memory.texi (Malloc Examples): Remove register
18588 keyword from examples.
18589
18590 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
18591
18592 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
18593
18594 2013-11-04 Joseph Myers <joseph@codesourcery.com>
18595
18596 [BZ #6981]
18597 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
18598 depending on [__GCC_IEC_559 > 0].
18599 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
18600 depending on [__GCC_IEC_559_COMPLEX > 0].
18601
18602 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
18603
18604 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
18605 to iso-639.def.
18606
18607 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
18608
18609 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
18610
18611 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
18612
18613 [BZ #16112]
18614 * malloc/malloc (malloc_info): Do not handle first bin as
18615 special case.
18616
18617 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
18618
18619 * locale/iso-639.def: Add Central Nahuatl (nhn).
18620
18621 2013-11-01 Bruno Haible <bruno@clisp.org>
18622
18623 [BZ #7003]
18624 * manual/math.texi (BSD Random): Specify range upper bound as
18625 in POSIX.
18626
18627 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
18628
18629 * locale/iso-639.def: Add Meadow Mari (mhr).
18630
18631 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
18632
18633 [BZ #14752], [BZ #15763]
18634 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
18635 Validate name.
18636 * rt/tst_shm.c: Add test for escaping directory.
18637
18638 2013-10-31 Andreas Schwab <schwab@suse.de>
18639
18640 [BZ #15917]
18641 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
18642 followed by 'x' as part of digit sequence.
18643 * stdio-common/tst-sscanf.c (double_tests2): New tests.
18644
18645 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
18646
18647 [BZ #16037]
18648 * configure.ac: allow GNU Make 4.0 and greater.
18649 * configure: Regenerated.
18650
18651 2013-10-30 Will Newton <will.newton@linaro.org>
18652
18653 [BZ #16038]
18654 * malloc/hooks.c (memalign_check): Limit alignment to the
18655 maximum representable power of two.
18656 * malloc/malloc.c (__libc_memalign): Likewise.
18657 * malloc/tst-memalign.c (do_test): Add test for very
18658 large alignment values.
18659 * malloc/tst-posix_memalign.c (do_test): Likewise.
18660
18661 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
18662
18663 [BZ #11087]
18664 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
18665 (munmap_chunk): Likewise.
18666 (mremap_chunk): Likewise.
18667
18668 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
18669
18670 [BZ #15799]
18671 * stdlib/div.c (div): Remove obsolete code.
18672 * stdlib/ldiv.c (ldiv): Likewise.
18673 * stdlib/lldiv.c (lldiv): Likewise.
18674
18675 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
18676
18677 [BZ #16071]
18678 * nss/nss_files/files-XXX.c (get_contents_ret): New
18679 enumerator.
18680 (get_contents): New function.
18681 (internal_getent): Use it. Expand size of LINEBUFLEN.
18682
18683 2013-10-30 Mike Frysinger <vapier@gentoo.org>
18684
18685 * configure.in: Moved to ...
18686 * configure.ac: ... here. Change reference to configure.in
18687 to configure.ac.
18688 * sysdeps/arm/preconfigure.ac: ... here.
18689 configure.in to configure.ac.
18690 * sysdeps/gnu/configure.in: Moved to ...
18691 * sysdeps/gnu/configure.ac: ... here.
18692 * sysdeps/i386/configure.in: Moved to ...
18693 * sysdeps/i386/configure.ac: ... here.
18694 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
18695 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
18696 * sysdeps/mach/configure.in: Moved to ...
18697 * sysdeps/mach/configure.ac: ... here.
18698 * sysdeps/mach/hurd/configure.in: Moved to ...
18699 * sysdeps/mach/hurd/configure.ac: ... here.
18700 * sysdeps/powerpc/configure.in: Moved to ...
18701 * sysdeps/powerpc/configure.ac: ... here.
18702 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
18703 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
18704 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
18705 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
18706 * sysdeps/s390/s390-32/configure.in: Moved to ...
18707 * sysdeps/s390/s390-32/configure.ac: ... here.
18708 * sysdeps/s390/s390-64/configure.in: Moved to ...
18709 * sysdeps/s390/s390-64/configure.ac: ... here.
18710 * sysdeps/sh/configure.in: Moved to ...
18711 * sysdeps/sh/configure.ac: ... here.
18712 * sysdeps/sparc/configure.in: Moved to ...
18713 * sysdeps/sparc/configure.ac: ... here.
18714 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
18715 * sysdeps/unix/sysv/linux/configure.ac: ... here.
18716 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
18717 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
18718 * sysdeps/x86_64/configure.in: Moved to ...
18719 * sysdeps/x86_64/configure.ac: ... here.
18720 * sysdeps/x86_64/preconfigure.in: Moved to ...
18721 * sysdeps/x86_64/preconfigure.ac: ... here.
18722 * aclocal.m4: Change reference to configure.in to configure.ac.
18723 * config.h.in: Likewise.
18724 * manual/install.texi: Likewise.
18725 * manual/maint.texi: Likewise.
18726 * Makefile: Likewise.
18727 * malloc/Makefile: Likewise.
18728 * nscd/Makefile: Likewise.
18729 * Makeconfig: Change reference to configure.in and
18730 preconfigure.in to configure.ac and preconfigure.ac
18731 respectively.
18732 * INSTALL: Regenerated.
18733 * configure: Likewise.
18734 * sysdeps/gnu/configure: Likewise.
18735 * sysdeps/i386/configure: Likewise.
18736 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
18737 * sysdeps/mach/configure: Likewise.
18738 * sysdeps/mach/hurd/configure: Likewise.
18739 * sysdeps/powerpc/configure: Likewise.
18740 * sysdeps/powerpc/powerpc32/configure: Likewise.
18741 * sysdeps/powerpc/powerpc64/configure: Likewise.
18742 * sysdeps/s390/s390-32/configure: Likewise.
18743 * sysdeps/s390/s390-64/configure: Likewise.
18744 * sysdeps/sh/configure: Likewise.
18745 * sysdeps/sparc/configure: Likewise.
18746 * sysdeps/unix/sysv/linux/configure: Likewise.
18747 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
18748 * sysdeps/x86_64/configure: Likewise.
18749 * sysdeps/x86_64/preconfigure: Likewise.
18750
18751 2013-10-29 Andreas Schwab <schwab@suse.de>
18752
18753 * stdio-common/Makefile (tst-swscanf-ENV): Define.
18754
18755 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
18756
18757 * benchtests/pow-inputs: Add new inputs.
18758
18759 * benchtests/exp-inputs: Add new inputs.
18760
18761 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
18762 conditional check for return value.
18763 (__cos32): Likewise.
18764
18765 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18766
18767 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
18768 to provide a boost for large inputs with word alignment.
18769 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
18770 implementation based on optimized PPC64 strcpy.
18771 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
18772 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
18773 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
18774 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
18775
18776 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
18777
18778 [BZ #2801]
18779 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
18780
18781 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
18782
18783 [BZ #14876]
18784 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
18785 * time/tst-strptime.c (day_tests): Add testcase.
18786
18787 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
18788
18789 [BZ #14029]
18790 * manual/pattern.texi: Acknowledge that fnmatch can fail.
18791
18792 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
18793
18794 [BZ #16074]
18795 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
18796 MAP_FAILED on error.
18797
18798 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
18799
18800 [BZ #16072]
18801 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
18802 heap for large requests.
18803
18804 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
18805
18806 [BZ #9954]
18807 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
18808 result if the result has no associated interface.
18809 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
18810 interface for all 127.X.Y.Z addresses.
18811
18812 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
18813
18814 * locale/iso-639.def: Add Ligurian (lij)
18815
18816 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
18817
18818 [BZ #15825]
18819 * sunrpc/rpc_main.c: Document rpcgen -5.
18820
18821 2013-10-19 Michael Stahl <mstahl@redhat.com>
18822
18823 * elf/rtld.c (do_preload): Print the reason why preloading failed.
18824
18825 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
18826
18827 [BZ #10278]
18828 * posix/glob.c: Match only directories when trailing slash is present.
18829 * posix/tst-gnuglob.c (my_opendir): Do not open files.
18830 (main): Add testcase.
18831
18832 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
18833
18834 [BZ #15670]
18835 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
18836
18837 2013-10-18 Carlos O'Donell <carlos@redhat.com>
18838
18839 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
18840 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
18841 AUTH_DES and cindex for FIPS 140-2.
18842 (DES Encryption): Add cindex FIPS 46-3.
18843
18844 * locale/locarchive.h (struct locarhandle): Add fname.
18845 * locale/programs/localedef.c (main): Pass ARGV[remaining]
18846 if an optional argument was specified to --list-archive,
18847 otherwise NULL.
18848 * locale/programs/locarchive.c (show_archive_content): Take new
18849 argument fname and pass it via ah.fname to open_archive.
18850 * locale/programs/localedef.h: Update decl.
18851 (open_archive): If AH->fname is non-null, open that file
18852 rather than the default file name, and don't ignore ENOENT.
18853 (create_archive): Set AH.fname to NULL.
18854 (delete_locales_from_archive): Likewise.
18855 (add_locales_to_archive): Likewise.
18856 * locale/programs/locfile.c (write_all_categories): Likewise.
18857
18858 2013-10-18 Joseph Myers <joseph@codesourcery.com>
18859 Aldy Hernandez <aldyh@redhat.com>
18860
18861 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
18862 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
18863 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
18864 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
18865 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
18866 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
18867 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
18868 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
18869 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
18870 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
18871 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
18872 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
18873 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
18874 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
18875 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
18876 Likewise.
18877 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
18878 Likewise.
18879 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
18880 Likewise.
18881 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
18882 Likewise.
18883 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
18884 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
18885 Likewise.
18886 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
18887 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
18888 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
18889 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
18890 Likewise.
18891 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
18892 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
18893 * sysdeps/powerpc/preconfigure: Likewise.
18894 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
18895 Likewise.
18896 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
18897 Replace contents of file by #include of <fenv_libc.h>.
18898 * sysdeps/powerpc/soft-fp/sfp-machine.h
18899 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
18900 and <sys/prctl.h>.
18901 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
18902 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
18903 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
18904 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
18905 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
18906 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
18907 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
18908 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
18909 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
18910 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
18911 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
18912 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
18913 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
18914 Allow copysignl PLT reference to be missing.
18915
18916 2013-10-18 Richard Sandiford <richard@codesourcery.com>
18917 Joseph Myers <joseph@codesourcery.com
18918
18919 [BZ #15948]
18920 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
18921 single character.
18922 (add_to_tablewc): Assert sequence of wide characters is nonempty.
18923
18924 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
18925
18926 * elf/tst-tls-dlinfo.c: Don't include tls.h.
18927 * elf/tst-tls1.c: Likewise.
18928 * elf/tst-tls10.h: Likewise.
18929 * elf/tst-tls14.c: Likewise.
18930 * elf/tst-tls2.c: Likewise.
18931 * elf/tst-tls3.c: Likewise.
18932 * elf/tst-tls4.c: Likewise.
18933 * elf/tst-tls5.c: Likewise.
18934 * elf/tst-tls6.c: Likewise.
18935 * elf/tst-tls7.c: Likewise.
18936 * elf/tst-tls8.c: Likewise.
18937 * elf/tst-tls9.c: Likewise.
18938 * elf/tst-tlsmod1.c: Likewise.
18939 * elf/tst-tlsmod13.c: Likewise.
18940 * elf/tst-tlsmod13a.c: Likewise.
18941 * elf/tst-tlsmod14a.c: Likewise.
18942 * elf/tst-tlsmod16a.c: Likewise.
18943 * elf/tst-tlsmod16b.c: Likewise.
18944 * elf/tst-tlsmod2.c: Likewise.
18945 * elf/tst-tlsmod3.c: Likewise.
18946 * elf/tst-tlsmod4.c: Likewise.
18947 * elf/tst-tlsmod5.c: Likewise.
18948 * elf/tst-tlsmod6.c: Likewise.
18949
18950 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
18951
18952 [BZ #12486]
18953 * malloc/malloc.c: remove checks for statistics.
18954
18955 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
18956
18957 [BZ #15277]
18958 * inet/inet_net.c (inet_network): Detect additional invalid strings.
18959 * inet/tst-network.c: Add testcase.
18960
18961 2013-10-17 Andreas Schwab <schwab@suse.de>
18962
18963 [BZ #15218]
18964 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
18965 to determine canonical name.
18966
18967 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
18968
18969 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
18970 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
18971 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
18972 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
18973 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
18974 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
18975 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
18976 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
18977 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
18978 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
18979 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
18980 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
18981 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
18982 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
18983 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
18984 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
18985 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
18986 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
18987 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
18988 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
18989 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
18990 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
18991 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
18992 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
18993 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
18994 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
18995 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
18996 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
18997 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
18998 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
18999 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
19000 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
19001 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
19002 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
19003 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
19004 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
19005 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
19006 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
19007 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
19008 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
19009 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
19010 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
19011 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
19012 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
19013 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
19014 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
19015 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
19016 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
19017 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
19018 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
19019 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
19020 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
19021 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
19022 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
19023 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
19024 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
19025 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
19026 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
19027
19028 2013-10-17 Joseph Myers <joseph@codesourcery.com>
19029
19030 [BZ #16041]
19031 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
19032 make result into a quiet NaN.
19033
19034 2013-10-16 Joseph Myers <joseph@codesourcery.com>
19035
19036 * soft-fp/adddf3.c: Fix horizontal whitespace.
19037 * soft-fp/addsf3.c: Likewise.
19038 * soft-fp/addtf3.c: Likewise.
19039 * soft-fp/divdf3.c: Likewise.
19040 * soft-fp/divsf3.c: Likewise.
19041 * soft-fp/divtf3.c: Likewise.
19042 * soft-fp/double.h: Likewise.
19043 * soft-fp/eqdf2.c: Likewise.
19044 * soft-fp/eqsf2.c: Likewise.
19045 * soft-fp/eqtf2.c: Likewise.
19046 * soft-fp/extenddftf2.c: Likewise.
19047 * soft-fp/extended.h: Likewise.
19048 * soft-fp/extendsfdf2.c: Likewise.
19049 * soft-fp/extendsftf2.c: Likewise.
19050 * soft-fp/extendxftf2.c: Likewise.
19051 * soft-fp/fixdfdi.c: Likewise.
19052 * soft-fp/fixdfsi.c: Likewise.
19053 * soft-fp/fixdfti.c: Likewise.
19054 * soft-fp/fixsfdi.c: Likewise.
19055 * soft-fp/fixsfsi.c: Likewise.
19056 * soft-fp/fixsfti.c: Likewise.
19057 * soft-fp/fixtfdi.c: Likewise.
19058 * soft-fp/fixtfsi.c: Likewise.
19059 * soft-fp/fixtfti.c: Likewise.
19060 * soft-fp/fixunsdfdi.c: Likewise.
19061 * soft-fp/fixunsdfsi.c: Likewise.
19062 * soft-fp/fixunsdfti.c: Likewise.
19063 * soft-fp/fixunssfdi.c: Likewise.
19064 * soft-fp/fixunssfsi.c: Likewise.
19065 * soft-fp/fixunssfti.c: Likewise.
19066 * soft-fp/fixunstfdi.c: Likewise.
19067 * soft-fp/fixunstfsi.c: Likewise.
19068 * soft-fp/fixunstfti.c: Likewise.
19069 * soft-fp/floatdidf.c: Likewise.
19070 * soft-fp/floatdisf.c: Likewise.
19071 * soft-fp/floatditf.c: Likewise.
19072 * soft-fp/floatsidf.c: Likewise.
19073 * soft-fp/floatsisf.c: Likewise.
19074 * soft-fp/floatsitf.c: Likewise.
19075 * soft-fp/floattidf.c: Likewise.
19076 * soft-fp/floattisf.c: Likewise.
19077 * soft-fp/floattitf.c: Likewise.
19078 * soft-fp/floatundidf.c: Likewise.
19079 * soft-fp/floatundisf.c: Likewise.
19080 * soft-fp/floatunditf.c: Likewise.
19081 * soft-fp/floatunsidf.c: Likewise.
19082 * soft-fp/floatunsisf.c: Likewise.
19083 * soft-fp/floatunsitf.c: Likewise.
19084 * soft-fp/floatuntidf.c: Likewise.
19085 * soft-fp/floatuntisf.c: Likewise.
19086 * soft-fp/floatuntitf.c: Likewise.
19087 * soft-fp/fmadf4.c: Likewise.
19088 * soft-fp/fmasf4.c: Likewise.
19089 * soft-fp/fmatf4.c: Likewise.
19090 * soft-fp/gedf2.c: Likewise.
19091 * soft-fp/gesf2.c: Likewise.
19092 * soft-fp/getf2.c: Likewise.
19093 * soft-fp/ledf2.c: Likewise.
19094 * soft-fp/lesf2.c: Likewise.
19095 * soft-fp/letf2.c: Likewise.
19096 * soft-fp/muldf3.c: Likewise.
19097 * soft-fp/mulsf3.c: Likewise.
19098 * soft-fp/multf3.c: Likewise.
19099 * soft-fp/negdf2.c: Likewise.
19100 * soft-fp/negsf2.c: Likewise.
19101 * soft-fp/negtf2.c: Likewise.
19102 * soft-fp/op-1.h: Likewise.
19103 * soft-fp/op-2.h: Likewise.
19104 * soft-fp/op-4.h: Likewise.
19105 * soft-fp/op-8.h: Likewise.
19106 * soft-fp/op-common.h: Likewise.
19107 * soft-fp/quad.h: Likewise.
19108 * soft-fp/single.h: Likewise.
19109 * soft-fp/soft-fp.h: Likewise.
19110 * soft-fp/sqrtdf2.c: Likewise.
19111 * soft-fp/sqrtsf2.c: Likewise.
19112 * soft-fp/sqrttf2.c: Likewise.
19113 * soft-fp/subdf3.c: Likewise.
19114 * soft-fp/subsf3.c: Likewise.
19115 * soft-fp/subtf3.c: Likewise.
19116 * soft-fp/truncdfsf2.c: Likewise.
19117 * soft-fp/trunctfdf2.c: Likewise.
19118 * soft-fp/trunctfsf2.c: Likewise.
19119 * soft-fp/trunctfxf2.c: Likewise.
19120 * soft-fp/unorddf2.c: Likewise.
19121 * soft-fp/unordsf2.c: Likewise.
19122 * soft-fp/unordtf2.c: Likewise.
19123
19124 2013-10-15 Joseph Myers <joseph@codesourcery.com>
19125
19126 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
19127 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
19128
19129 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
19130
19131 * elf/dl-libc.c: Clear initfini list after freeing.
19132
19133 2013-10-14 Joseph Myers <joseph@codesourcery.com>
19134
19135 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
19136 * soft-fp/addsf3.c: Likewise.
19137 * soft-fp/addtf3.c: Likewise.
19138 * soft-fp/divdf3.c: Likewise.
19139 * soft-fp/divsf3.c: Likewise.
19140 * soft-fp/divtf3.c: Likewise.
19141 * soft-fp/double.h: Likewise.
19142 * soft-fp/eqdf2.c: Likewise.
19143 * soft-fp/eqsf2.c: Likewise.
19144 * soft-fp/eqtf2.c: Likewise.
19145 * soft-fp/extenddftf2.c: Likewise.
19146 * soft-fp/extended.h: Likewise.
19147 * soft-fp/extendsfdf2.c: Likewise.
19148 * soft-fp/extendsftf2.c: Likewise.
19149 * soft-fp/extendxftf2.c: Likewise.
19150 * soft-fp/fixdfdi.c: Likewise.
19151 * soft-fp/fixdfsi.c: Likewise.
19152 * soft-fp/fixdfti.c: Likewise.
19153 * soft-fp/fixsfdi.c: Likewise.
19154 * soft-fp/fixsfsi.c: Likewise.
19155 * soft-fp/fixsfti.c: Likewise.
19156 * soft-fp/fixtfdi.c: Likewise.
19157 * soft-fp/fixtfsi.c: Likewise.
19158 * soft-fp/fixtfti.c: Likewise.
19159 * soft-fp/fixunsdfdi.c: Likewise.
19160 * soft-fp/fixunsdfsi.c: Likewise.
19161 * soft-fp/fixunsdfti.c: Likewise.
19162 * soft-fp/fixunssfdi.c: Likewise.
19163 * soft-fp/fixunssfsi.c: Likewise.
19164 * soft-fp/fixunssfti.c: Likewise.
19165 * soft-fp/fixunstfdi.c: Likewise.
19166 * soft-fp/fixunstfsi.c: Likewise.
19167 * soft-fp/fixunstfti.c: Likewise.
19168 * soft-fp/floatdidf.c: Likewise.
19169 * soft-fp/floatdisf.c: Likewise.
19170 * soft-fp/floatditf.c: Likewise.
19171 * soft-fp/floatsidf.c: Likewise.
19172 * soft-fp/floatsisf.c: Likewise.
19173 * soft-fp/floatsitf.c: Likewise.
19174 * soft-fp/floattidf.c: Likewise.
19175 * soft-fp/floattisf.c: Likewise.
19176 * soft-fp/floattitf.c: Likewise.
19177 * soft-fp/floatundidf.c: Likewise.
19178 * soft-fp/floatundisf.c: Likewise.
19179 * soft-fp/floatunsidf.c: Likewise.
19180 * soft-fp/floatunsisf.c: Likewise.
19181 * soft-fp/floatuntidf.c: Likewise.
19182 * soft-fp/floatuntisf.c: Likewise.
19183 * soft-fp/floatuntitf.c: Likewise.
19184 * soft-fp/fmadf4.c: Likewise.
19185 * soft-fp/fmasf4.c: Likewise.
19186 * soft-fp/fmatf4.c: Likewise.
19187 * soft-fp/gedf2.c: Likewise.
19188 * soft-fp/gesf2.c: Likewise.
19189 * soft-fp/getf2.c: Likewise.
19190 * soft-fp/ledf2.c: Likewise.
19191 * soft-fp/lesf2.c: Likewise.
19192 * soft-fp/letf2.c: Likewise.
19193 * soft-fp/muldf3.c: Likewise.
19194 * soft-fp/mulsf3.c: Likewise.
19195 * soft-fp/multf3.c: Likewise.
19196 * soft-fp/negdf2.c: Likewise.
19197 * soft-fp/negsf2.c: Likewise.
19198 * soft-fp/negtf2.c: Likewise.
19199 * soft-fp/op-1.h: Likewise.
19200 * soft-fp/op-2.h: Likewise.
19201 * soft-fp/op-4.h: Likewise.
19202 * soft-fp/op-8.h: Likewise.
19203 * soft-fp/op-common.h: Likewise.
19204 * soft-fp/quad.h: Likewise.
19205 * soft-fp/single.h: Likewise.
19206 * soft-fp/soft-fp.h: Likewise.
19207 * soft-fp/sqrtdf2.c: Likewise.
19208 * soft-fp/sqrtsf2.c: Likewise.
19209 * soft-fp/sqrttf2.c: Likewise.
19210 * soft-fp/subdf3.c: Likewise.
19211 * soft-fp/subsf3.c: Likewise.
19212 * soft-fp/subtf3.c: Likewise.
19213 * soft-fp/truncdfsf2.c: Likewise.
19214 * soft-fp/trunctfdf2.c: Likewise.
19215 * soft-fp/trunctfsf2.c: Likewise.
19216 * soft-fp/trunctfxf2.c: Likewise.
19217 * soft-fp/unorddf2.c: Likewise.
19218 * soft-fp/unordsf2.c: Likewise.
19219 * soft-fp/unordtf2.c: Likewise.
19220
19221 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
19222
19223 [BZ #15672]
19224 * misc/error.c (error_tail): Fix possible buffer overflow.
19225
19226 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
19227
19228 [BZ #13028]
19229 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
19230 address.
19231
19232 2013-10-14 P. J. McDermott <pj@pehjota.net>
19233
19234 [BZ #832]
19235 * elf/ldd.bash.in (try_trace): New function. Delete previous code
19236 testing pipefail option.
19237
19238 2013-10-12 Joseph Myers <joseph@codesourcery.com>
19239
19240 * soft-fp/double.h: Indent preprocessor directives inside #if.
19241 * soft-fp/extended.h: Likewise.
19242 * soft-fp/op-2.h: Likewise.
19243 * soft-fp/op-4.h: Likewise.
19244 * soft-fp/op-common.h: Likewise.
19245 * soft-fp/quad.h: Likewise.
19246 * soft-fp/single.h: Likewise.
19247 * soft-fp/soft-fp.h: Likewise.
19248
19249 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
19250
19251 * iconv/iconv_prog.c: Fix typos.
19252 * stdio-common/psiginfo-data.h: Likewise.
19253
19254 2013-10-12 Reuben Thomas <rrt@sc3d.org>
19255
19256 [BZ #15764]
19257 * locale/setlocale.c: Fix typo.
19258
19259 2013-10-12 Joseph Myers <joseph@codesourcery.com>
19260
19261 [BZ #16036]
19262 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
19263 signaling NaN arguments.
19264 * soft-fp/unordsf2.c (__unordsf2): Likewise.
19265 * soft-fp/unordtf2.c (__unordtf2): Likewise.
19266
19267 [BZ #14910]
19268 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
19269 unordered operands.
19270 * soft-fp/gesf2.c (__gesf2): Likewise.
19271 * soft-fp/getf2.c (__getf2): Likewise.
19272 * soft-fp/ledf2.c (__ledf2): Likewise.
19273 * soft-fp/lesf2.c (__lesf2): Likewise.
19274 * soft-fp/letf2.c (__letf2): Likewise.
19275
19276 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
19277 * soft-fp/eqsf2.c (__eqsf2): Likewise.
19278 * soft-fp/eqtf2.c (__eqtf2): Likewise.
19279 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
19280 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
19281 * soft-fp/fixdfti.c (__fixdfti): Likewise.
19282 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
19283 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
19284 * soft-fp/fixsfti.c (__fixsfti): Likewise.
19285 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
19286 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
19287 * soft-fp/fixtfti.c (__fixtfti): Likewise.
19288 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
19289 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
19290 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
19291 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
19292 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
19293 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
19294 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
19295 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
19296 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
19297 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
19298 * soft-fp/floatdisf.c (__floatdisf): Likewise.
19299 * soft-fp/floatsisf.c (__floatsisf): Likewise.
19300 * soft-fp/floattidf.c (__floattidf): Likewise.
19301 * soft-fp/floattisf.c (__floattisf): Likewise.
19302 * soft-fp/floattitf.c (__floattitf): Likewise.
19303 * soft-fp/floatundidf.c (__floatundidf): Likewise.
19304 * soft-fp/floatundisf.c (__floatundisf): Likewise.
19305 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
19306 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
19307 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
19308 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
19309 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
19310 * soft-fp/gesf2.c (__gesf2): Likewise.
19311 * soft-fp/getf2.c (__getf2): Likewise.
19312 * soft-fp/ledf2.c (__ledf2): Likewise.
19313 * soft-fp/lesf2.c (__lesf2): Likewise.
19314 * soft-fp/letf2.c (__letf2): Likewise.
19315
19316 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
19317 Undefine and redefine.
19318 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
19319 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
19320 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
19321 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
19322 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
19323 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
19324 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
19325 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
19326 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
19327 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
19328 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
19329 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
19330 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
19331 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
19332 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
19333
19334 [BZ #16032]
19335 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
19336 without decrementing exponent if mantissa >= that for the
19337 denominator, not >.
19338 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
19339 denominator, not >. Decrement exponent in < case instead of
19340 incrementing in >= case.
19341 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
19342 without decrementing exponent if mantissa >= that for the
19343 denominator, not >.
19344
19345 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
19346 computing saturated result for unsigned overflow.
19347
19348 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
19349 Jeff Law <law@redhat.com>
19350
19351 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
19352 (atan2Mp): Add systemtap probe marker.
19353 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
19354 (__ieee754_log): Add systemtap probe marker.
19355 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
19356 (atanMp): Add systemtap probe marker.
19357 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
19358 (tanMp): Add systemtap probe marker.
19359 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
19360 (__slowexp): Add systemtap probe marker.
19361 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
19362 (__slowpow): Add systemtap probe marker.
19363 * manual/probes.texi: Document probes.
19364
19365 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
19366
19367 [BZ #15362]
19368 * libio/fileops.c (_IO_new_file_write): Return count of bytes
19369 written.
19370 (_IO_new_file_xsputn): Don't return EOF if nothing has been
19371 written.
19372 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
19373 written to buffer but not flushed.
19374 * libio/iofwrite_u.c: Likewise.
19375 * libio/iopadn.c: Return bytes returned even if EOF was
19376 encountered.
19377 * libio/iowpadn.c: Likewise.
19378 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
19379 if _IO_padn does not write the whole buffer.
19380 [!COMPILE_WPRINTF] (PAD): Likewise.
19381
19382 2013-10-10 David S. Miller <davem@davemloft.net>
19383
19384 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
19385 directory block.
19386
19387 2013-10-10 Joseph Myers <joseph@codesourcery.com>
19388
19389 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
19390 instead of FSF address.
19391 * soft-fp/fixdfti.c: Likewise.
19392 * soft-fp/fixsfti.c: Likewise.
19393 * soft-fp/fixtfti.c: Likewise.
19394 * soft-fp/fixunsdfti.c: Likewise.
19395 * soft-fp/fixunssfti.c: Likewise.
19396 * soft-fp/fixunstfti.c: Likewise.
19397 * soft-fp/floattidf.c: Likewise.
19398 * soft-fp/floattisf.c: Likewise.
19399 * soft-fp/floattitf.c: Likewise.
19400 * soft-fp/floatuntidf.c: Likewise.
19401 * soft-fp/floatuntisf.c: Likewise.
19402 * soft-fp/floatuntitf.c: Likewise.
19403 * soft-fp/trunctfxf2.c: Likewise.
19404
19405 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
19406 * soft-fp/fixdfti.c: Likewise.
19407 * soft-fp/fixsfti.c: Likewise.
19408 * soft-fp/fixtfti.c: Likewise.
19409 * soft-fp/fixunsdfti.c: Likewise.
19410 * soft-fp/fixunssfti.c: Likewise.
19411 * soft-fp/fixunstfti.c: Likewise.
19412 * soft-fp/floattidf.c: Likewise.
19413 * soft-fp/floattisf.c: Likewise.
19414 * soft-fp/floattitf.c: Likewise.
19415 * soft-fp/floatuntidf.c: Likewise.
19416 * soft-fp/floatuntisf.c: Likewise.
19417 * soft-fp/floatuntitf.c: Likewise.
19418 * soft-fp/trunctfxf2.c: Likewise.
19419
19420 2013-10-10 David S. Miller <davem@davemloft.net>
19421
19422 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19423
19424 2013-10-10 Joseph Myers <joseph@codsourcery.com>
19425
19426 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
19427 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
19428 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
19429 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
19430 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
19431 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
19432 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
19433
19434 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
19435 for NaNs before doing comparisons on argument.
19436 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
19437 Likewise.
19438
19439 2013-10-10 Will Newton <will.newton@linaro.org>
19440
19441 * malloc/hooks.c (memalign_check): Ensure the value of bytes
19442 passed to _int_memalign does not overflow.
19443
19444 2013-10-10 Torvald Riegel <triegel@redhat.com>
19445
19446 * scripts/bench.pl: Add include-sources directive.
19447 * benchtests/README: Update documentation.
19448
19449 2013-10-10 Joseph Myers <joseph@codesourcery.com>
19450
19451 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
19452 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
19453 instead of FP_INIT_ROUNDMODE.
19454 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
19455 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
19456
19457 [BZ #16034]
19458 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
19459 copy class of input value.
19460 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
19461 not handle exceptions.
19462 * soft-fp/negsf2.c (__negsf2): Likewise.
19463 * soft-fp/negtf2.c (__negtf2): Likewise.
19464 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
19465
19466 2013-10-09 Joseph Myers <joseph@codesourcery.com>
19467
19468 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
19469 semicolon. From Linux kernel.
19470
19471 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
19472
19473 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
19474
19475 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
19476
19477 [BZ #156]
19478 * manual/socket.texi: Added statement about buffer
19479 for gethostbyname2_r.
19480
19481 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
19482
19483 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
19484 Use .p2align directive instead, throughout.
19485 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
19486 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
19487 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
19488 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
19489 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
19490 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
19491 * sysdeps/x86_64/strchr.S: Likewise.
19492 * sysdeps/x86_64/strrchr.S: Likewise.
19493
19494 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
19495
19496 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
19497
19498 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
19499
19500 * sysdeps/generic/math_private.h (__mpsin1): Remove
19501 declaration.
19502 (__mpcos1): Likewise.
19503 (__mpsin): New argument __range_reduce.
19504 (__mpcos): Likewise.
19505 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
19506 (slow): Use __mpsin and __mpcos.
19507 (slow1): Likewise.
19508 (slow2): Likewise.
19509 (sloww): Likewise.
19510 (sloww1): Likewise.
19511 (sloww2): Likewise.
19512 (bsloww): Likewise.
19513 (bsloww1): Likewise.
19514 (bsloww2): Likewise.
19515 (cslow2): Likewise.
19516 (csloww): Likewise.
19517 (csloww1): Likewise.
19518 (csloww2): Likewise.
19519 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
19520 range_reduce. Merge in __mpsin1.
19521 (__mpcos): Likewise.
19522 (__mpsin1): Remove.
19523 (__mpcos1): Likewise.
19524
19525 2013-10-07 Joseph Myers <joseph@codesourcery.com>
19526
19527 * locale/loadlocale.c (_nl_intern_locale_data): Use
19528 LOCFILE_ALIGNED_P.
19529 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
19530 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
19531 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
19532 obstack data is appropriately aligned.
19533 (obstack_int32_grow_fast): Likewise.
19534 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
19535 * locale/programs/locfile.c (add_locale_uint32): Likewise.
19536 (add_locale_uint32_array): Likewise.
19537
19538 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
19539
19540 * benchtests/Makefile: Remove ARGLIST and RET variables.
19541 ($(objpfx)bench-%.c): Pass only function name to the script.
19542 * benchtests/README: Update documentation.
19543 * benchtests/acos-inputs: Add new directives.
19544 * benchtests/acosh-inputs: Likewise.
19545 * benchtests/asin-inputs: Likewise.
19546 * benchtests/asinh-inputs: Likewise.
19547 * benchtests/atan-inputs: Likewise.
19548 * benchtests/atanh-inputs: Likewise.
19549 * benchtests/cos-inputs: Likewise.
19550 * benchtests/cosh-inputs: Likewise.
19551 * benchtests/exp-inputs: Likewise.
19552 * benchtests/log-inputs: Likewise.
19553 * benchtests/pow-inputs: Likewise.
19554 * benchtests/rint-inputs: Likewise.
19555 * benchtests/sin-inputs: Likewise.
19556 * benchtests/sinh-inputs: Likewise.
19557 * benchtests/tan-inputs: Likewise.
19558 * benchtests/tanh-inputs: Likewise.
19559 * scripts/bench.pl: Add support for new directives.
19560
19561 2013-10-07 Alan Modra <amodra@gmail.com>
19562
19563 * README: Fix careless merge.
19564
19565 2013-10-05 Alan Modra <amodra@gmail.com>
19566
19567 * NEWS: Mention powerpc64le support and bugs fixed.
19568 * README: Both big-endian and little-endian powerpc64 supported.
19569
19570 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
19571
19572 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
19573 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
19574 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
19575 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
19576
19577 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
19578
19579 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
19580 match prototype.
19581
19582 2013-10-04 Joseph Myers <joseph@codesourcery.com>
19583
19584 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
19585 Move -mhard-float appending from
19586 ports/sysdeps/powerpc/powerpc32/Makefile.
19587 [$(with-fp) = yes] (ASFLAGS): Likewise.
19588 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
19589 * sysdeps/powerpc/nofpu: Move directory from
19590 ports/sysdeps/powerpc/nofpu.
19591 * sysdeps/powerpc/soft-fp: Move directory from
19592 ports/sysdeps/powerpc/soft-fp.
19593 * sysdeps/powerpc/powerpc32/405: Move directory from
19594 ports/sysdeps/powerpc/powerpc32/405.
19595 * sysdeps/powerpc/powerpc32/440: Move directory from
19596 ports/sysdeps/powerpc/powerpc32/440.
19597 * sysdeps/powerpc/powerpc32/464: Move directory from
19598 ports/sysdeps/powerpc/powerpc32/464.
19599 * sysdeps/powerpc/powerpc32/476: Move directory from
19600 ports/sysdeps/powerpc/powerpc32/476.
19601 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
19602 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
19603 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
19604 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
19605 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
19606 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
19607 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
19608 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
19609 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
19610 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
19611 * README: Update for powerpc-*-linux-gnu software floating point
19612 support in libc.
19613
19614 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
19615 case to powerpc/powerpc32*.
19616 * sysdeps/unix/sysv/linux/configure: Regenerated.
19617
19618 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
19619 (_FPU_MASK_OM): Define as 0x04.
19620 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
19621 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
19622 0x00c10080.
19623 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
19624 0x0000003c.
19625 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
19626
19627 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
19628 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
19629 getcontext_e500.
19630 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
19631 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
19632 setcontext_e500.
19633 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
19634 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
19635 and setcontext_e500.
19636
19637 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
19638
19639 * locale/iso-3166.def: Update iso-1366.def and related occurrences
19640
19641 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
19642
19643 * manual/threads.texi (Default Thread Attributes): Fix typo.
19644
19645 2013-10-04 Will Newton <will.newton@linaro.org>
19646
19647 * malloc/Makefile: Add tst-memalign.
19648 * malloc/tst-memalign.c: New file.
19649
19650 * malloc/tst-posix_memalign.c: Add comments.
19651 (do_test): Add comments and call free on all potentially
19652 allocated pointers. Add space after cast.
19653
19654 * malloc/tst-pvalloc.c: Add comments.
19655 (do_test): Add comments and call free on all potentially
19656 allocated pointers. Remove duplicate check for NULL pointer.
19657 Add space after cast.
19658
19659 * malloc/tst-valloc.c: Add comments.
19660 (do_test): Add comments and call free on all potentially
19661 allocated pointers. Remove duplicate check for NULL pointer.
19662 Add space after cast.
19663
19664 2013-10-04 Alan Modra <amodra@gmail.com>
19665
19666 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
19667 Use stdint types in rather than __attribute__((mode())).
19668 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
19669
19670 2013-10-04 Alan Modra <amodra@gmail.com>
19671
19672 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
19673 Correct handling of unaligned relocs for little-endian.
19674 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
19675
19676 2013-10-04 Alan Modra <amodra@gmail.com>
19677
19678 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
19679 * configure: Regenerate.
19680 * nptl/shlib-versions: Powerpc*le starts at 2.18.
19681 * shlib-versions: Likewise.
19682
19683 2013-10-04 Alan Modra <amodra@gmail.com>
19684
19685 * string/tester.c (test_memrchr): Increment reported test cycle.
19686
19687 2013-10-04 Alan Modra <amodra@gmail.com>
19688
19689 * string/test-memcpy.c (do_one_test): When reporting errors, print
19690 string address and don't overrun end of string.
19691
19692 2013-10-04 Alan Modra <amodra@gmail.com>
19693
19694 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
19695 insrdi. Make better use of reg selection to speed exit slightly.
19696 Schedule entry path a little better. Remove useless "are we done"
19697 checks on entry to main loop. Handle wrapping around zero address.
19698 Correct main loop count. Handle single left-over word from main
19699 loop inline rather than by using loop_small. Remove extra word
19700 case in loop_small caused by wrong loop count. Add little-endian
19701 support.
19702 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
19703 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
19704 cache hint.
19705 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
19706 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
19707 support. Avoid rlwimi.
19708 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
19709
19710 2013-10-04 Alan Modra <amodra@gmail.com>
19711
19712 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
19713 insrdi. Formatting.
19714 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
19715 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
19716 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
19717 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
19718 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
19719 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
19720
19721 2013-10-04 Alan Modra <amodra@gmail.com>
19722
19723 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
19724 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
19725 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
19726 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
19727 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
19728 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
19729 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
19730 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
19731 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
19732 use of regs. Use power7 mtocrf. Tidy function tails.
19733
19734 2013-10-04 Alan Modra <amodra@gmail.com>
19735
19736 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
19737 Formatting. Consistently use rXXX register defines or rN defines.
19738 Use early exit labels that avoid restoring unused non-volatile regs.
19739 Make cr field use more consistent with rWORDn compares. Rename
19740 regs used as shift registers for unaligned loop, using rN defines
19741 for short lifetime/multiple use regs.
19742 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
19743 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
19744 addi 1,1,64 to pop stack frame. Simplify return value code.
19745 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
19746
19747 2013-10-04 Alan Modra <amodra@gmail.com>
19748
19749 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
19750 support. Correct typos, formatting. Optimize tail. Use insrdi
19751 rather than rlwimi.
19752 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
19753 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
19754 little-endian support. Correct typos.
19755 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
19756 rather than rlwimi.
19757 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
19758 in loop and entry code to keep "and." results.
19759 (strchr): Add little-endian support. Comment. Move cntlzd
19760 earlier in tail.
19761 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
19762
19763 2013-10-04 Alan Modra <amodra@gmail.com>
19764
19765 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
19766 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
19767 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
19768 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
19769
19770 2013-10-04 Alan Modra <amodra@gmail.com>
19771
19772 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
19773 (rTMP): Define as r11.
19774 (strcmp): Add little-endian support. Optimise tail.
19775 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
19776 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
19777 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
19778 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
19779 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
19780 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
19781 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
19782
19783 2013-10-04 Alan Modra <amodra@gmail.com>
19784
19785 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
19786 little-endian support. Remove unnecessary "are we done" tests.
19787 Handle "s" wrapping around zero and extremely large "size".
19788 Correct main loop count. Handle single left-over word from main
19789 loop inline rather than by using small_loop. Correct comments.
19790 Delete "zero" tail, use "end_max" instead.
19791 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
19792
19793 2013-10-04 Alan Modra <amodra@gmail.com>
19794
19795 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
19796 support. Don't branch over align.
19797 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
19798 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
19799 support. Rearrange tmp reg use to suit. Comment.
19800 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
19801
19802 2013-10-04 Alan Modra <amodra@gmail.com>
19803
19804 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
19805
19806 2013-10-04 Alan Modra <amodra@gmail.com>
19807
19808 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
19809 conditional form of branch and link when obtaining pc.
19810 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
19811
19812 2013-10-04 Alan Modra <amodra@gmail.com>
19813
19814 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
19815 HIWORD/LOWORD.
19816 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
19817 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
19818
19819 2013-10-04 Alan Modra <amodra@gmail.com>
19820
19821 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
19822 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
19823 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
19824 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
19825 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
19826 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
19827 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
19828 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
19829 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
19830 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
19831
19832 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
19833 Alistair Popple <alistair@ozlabs.au.ibm.com>
19834 Alan Modra <amodra@gmail.com>
19835
19836 [BZ #15723]
19837 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
19838 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
19839 _dl_hwcap access for little-endian.
19840 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
19841 destroy vmx regs when saving unaligned.
19842 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
19843 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
19844 destroy vmx regs when saving unaligned.
19845
19846 2013-10-04 Alan Modra <amodra@gmail.com>
19847
19848 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
19849 Don't use a union to pack hi/low value.
19850
19851 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
19852
19853 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
19854 for little-endian.
19855 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
19856 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
19857 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
19858 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
19859 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
19860
19861 2013-10-04 Alan Modra <amodra@gmail.com>
19862
19863 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
19864 constants to usual value for .cst8 section, and remove redundant
19865 high address load.
19866 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
19867 constant for 0x1p52. Load little-endian words of double from
19868 correct stack offsets.
19869
19870 2013-10-04 Alan Modra <amodra@gmail.com>
19871
19872 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
19873 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
19874 words of double from correct stack offsets.
19875 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
19876 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
19877 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
19878 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
19879 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
19880 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
19881 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
19882 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
19883 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
19884 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
19885 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
19886 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
19887 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
19888 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
19889 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
19890 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
19891 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
19892
19893 2013-10-04 Alan Modra <amodra@gmail.com>
19894
19895 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
19896 64-bit int/double union.
19897 (_FPU_SETCW): Likewise.
19898 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
19899 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
19900
19901 2013-10-04 Alan Modra <amodra@gmail.com>
19902
19903 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
19904 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
19905
19906 2013-10-04 Alan Modra <amodra@gmail.com>
19907
19908 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
19909 use vector int constants.
19910 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
19911
19912 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
19913
19914 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
19915 array with long long.
19916 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
19917 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
19918 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
19919 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
19920 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
19921 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
19922 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
19923 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
19924 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
19925 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
19926 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
19927 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
19928 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
19929
19930 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
19931
19932 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
19933 (__signbit): Likewise. Correct for little-endian.
19934 (__signbitl): Call __signbit.
19935 (lrint): Correct for little-endian.
19936 (lrintf): Call lrint.
19937
19938 2013-10-04 Alan Modra <amodra@gmail.com>
19939
19940 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
19941 union 32-bit int array member with 64-bit int array.
19942 (t515, tm256): Double rather than long double.
19943 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
19944
19945 2013-10-04 Alan Modra <amodra@gmail.com>
19946
19947 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
19948 Delete.
19949 (IEEE854_LONG_DOUBLE_BIAS): Delete.
19950 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
19951 version of math_ldbl.h.
19952
19953 2013-10-04 Alan Modra <amodra@gmail.com>
19954
19955 [BZ #15734], [BZ #15735]
19956 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
19957 all uses of ieee875 long double macros and unions. Simplify test
19958 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
19959 ldbl_extract_mantissa value for ix,iy exponents. Properly
19960 normalize after ldbl_extract_mantissa, and don't add hidden bit
19961 already handled. Don't treat low word of ieee854 mantissa like
19962 low word of IBM long double and mask off bit when testing for
19963 zero.
19964 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
19965 all uses of ieee875 long double macros and unions. Simplify tests
19966 for 0.0L and inf. Correct double adjustment of k. Delete dead code
19967 adjusting ha,hb. Simplify code setting kld. Delete two600 and
19968 two1022, instead use their values. Recognise that tests for large
19969 "a" and small "b" are mutually exclusive. Rename vars. Comment.
19970 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
19971 Rewrite all uses of ieee875 long double macros and unions. Simplify
19972 test for 0.0L and nan. Correct negation.
19973 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
19974 ieee875 long double macros and unions. Correct output for large
19975 magnitude x. Correct absolute value calculation.
19976 (__erfcl): Likewise.
19977 * math/libm-test.inc: Add tests for errors discovered in IBM long
19978 double versions of fmodl, remainderl, erfl and erfcl.
19979
19980 2013-10-04 Alan Modra <amodra@gmail.com>
19981
19982 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
19983 all uses of ieee854 long double macros and unions. Simplify tests
19984 for long doubles that are fully specified by the high double.
19985 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
19986 Likewise.
19987 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
19988 Remove dead code too.
19989 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
19990 (__ieee754_ynl): Likewise.
19991 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
19992 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
19993 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
19994 Remove dead code too.
19995 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
19996 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
19997 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
19998 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
19999 Simplify.
20000 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
20001 Simplify.
20002 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
20003 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
20004 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
20005 Comment on variable precision.
20006 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
20007 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
20008 Likewise.
20009 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
20010 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
20011 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
20012 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
20013 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
20014
20015 2013-10-04 Alan Modra <amodra@gmail.com>
20016
20017 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
20018 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
20019 all uses of ieee854 long double macros and unions.
20020 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
20021 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
20022 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
20023 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
20024 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
20025 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
20026 Likewise.
20027 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
20028 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
20029 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
20030 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
20031 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
20032 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
20033 Simplify sign and nan test too.
20034 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
20035 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
20036 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
20037 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
20038 Likewise.
20039 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
20040 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
20041 Likewise.
20042 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
20043 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
20044 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
20045 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
20046 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
20047 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
20048
20049 2013-10-04 Alan Modra <amodra@gmail.com>
20050
20051 * stdio-common/printf_size.c (__printf_size): Don't use
20052 union ieee854_long_double in fpnum union.
20053 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
20054 signbit macro to retrieve sign from long double.
20055 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
20056 retrieve sign from long double.
20057 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
20058 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
20059 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
20060 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
20061 * math/test-misc.c (main): Don't use union ieee854_long_double.
20062
20063 2013-10-04 Alan Modra <amodra@gmail.com>
20064
20065 [BZ #15680]
20066 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
20067 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
20068 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
20069 calculation. Remove unnecessary test for denormal exponent.
20070 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
20071 Correct handling of denormals. Avoid undefined shift behaviour.
20072 Correct normalisation of low mantissa when low double is denormal.
20073 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
20074 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
20075 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
20076 Correct normalisation of low mantissa. Test for overflow of high
20077 mantissa and normalise.
20078 (ldbl_nearbyint): Use more readable constant for two52.
20079 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
20080 (__mpn_construct_long_double): Fix test for overflow of high
20081 mantissa and correct normalisation. Avoid undefined shift.
20082
20083 2013-10-04 Alan Modra <amodra@gmail.com>
20084
20085 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
20086 (union ibm_extended_long_double): Define as an array of ieee754_double.
20087 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
20088 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
20089 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
20090 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
20091 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
20092 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
20093 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
20094 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
20095 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
20096 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
20097 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
20098
20099 2013-10-03 Joseph Myers <joseph@codesourcery.com>
20100
20101 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
20102 page size instead of calling getpagesize.
20103
20104 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
20105 (LOCFILE_ALIGN_MASK): Likewise.
20106 (LOCFILE_ALIGN_UP): Likewise.
20107 (LOCFILE_ALIGNED_P): Likewise.
20108 * locale/programs/ld-collate.c (collate_output): Use the new
20109 macros instead of __alignof__ (int32_t).
20110 * locale/weight.h (findidx): Likewise.
20111
20112 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
20113
20114 [BZ #431]
20115 * manual/string.texi: Fix strncat and wcsncat.
20116
20117 2013-10-03 Brooks Moses <bmoses@google.com>
20118
20119 [BZ #15915]
20120 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
20121 * Makerules: ...here, and adjust associated comments.
20122
20123 2013-10-02 Will Newton <will.newton@linaro.org>
20124
20125 * malloc/Makefile: Add tst-pvalloc.
20126 * malloc/tst-pvalloc.c: New file.
20127
20128 2013-10-02 Will Newton <will.newton@linaro.org>
20129
20130 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
20131 improve test coverage.
20132
20133 2013-10-02 Will Newton <will.newton@linaro.org>
20134
20135 * malloc/Makefile: Add tst-posix_memalign.
20136 * malloc/tst-posix_memalign.c: New file.
20137
20138 2013-10-01 Eric Blake <eblake@redhat.com>
20139
20140 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
20141 Use __THROWNL rather than __THROW on static functions.
20142
20143 2013-09-30 Petr Machata <pmachata@redhat.com>
20144
20145 * elf/elf.h (R_AARCH64_ABS16): New macro.
20146 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
20147 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
20148 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
20149 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
20150 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
20151 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
20152 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
20153 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
20154 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
20155 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
20156 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
20157 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
20158 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
20159 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
20160 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
20161 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
20162 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
20163 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
20164 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
20165 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
20166 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
20167 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
20168 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
20169 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
20170 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
20171 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
20172 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
20173 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
20174 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
20175 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
20176 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
20177 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
20178 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
20179 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
20180 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
20181 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
20182 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
20183 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
20184 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
20185 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
20186 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
20187 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
20188 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
20189 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
20190 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
20191 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
20192 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
20193 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
20194 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
20195 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
20196 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
20197 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
20198 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
20199 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
20200 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
20201 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
20202 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
20203 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
20204 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
20205 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
20206 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
20207 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
20208 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
20209 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
20210 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
20211 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
20212 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
20213 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
20214 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
20215 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
20216 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
20217 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
20218 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
20219 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
20220 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
20221 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
20222 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
20223 (R_AARCH64_TLSDESC_LDR): Likewise.
20224 (R_AARCH64_TLSDESC_ADD): Likewise.
20225 (R_AARCH64_TLSDESC_CALL): Likewise.
20226
20227 2013-09-30 Andreas Schwab <schwab@suse.de>
20228
20229 [BZ #15048]
20230 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
20231 the nss database lookup.
20232 * nscd/initgrcache.c (addinitgroupsX): Likewise.
20233 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
20234
20235 2013-09-28 Mike Frysinger <vapier@gentoo.org>
20236
20237 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
20238
20239 2013-09-28 P. J. McDermott <pj@pehjota.net>
20240
20241 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
20242 ${Bash-specific parameter/pattern/string} parameter expansion.
20243 * sysdeps/unix/make-syscalls.sh: Likewise.
20244
20245 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
20246
20247 * sysdeps/sh/stackguard-macros.h: New file.
20248
20249 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
20250
20251 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
20252 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
20253 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
20254 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
20255 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
20256 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
20257
20258 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20259
20260 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
20261 Fix thread ID register.
20262
20263 2013-09-25 Joseph Myers <joseph@codesourcery.com>
20264
20265 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
20266 [POSIX || UNIX98]: Require rather than permitting all symbols from
20267 <time.h>.
20268 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
20269 element of struct sched_param.
20270 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
20271 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
20272 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
20273 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
20274 constant.
20275
20276 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
20277
20278 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
20279 argument calculation.
20280
20281 2013-09-24 Joseph Myers <joseph@codesourcery.com>
20282
20283 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
20284 Expect macro.
20285 [POSIX] (pthread_attr_t): Do not require type.
20286 [POSIX] (pthread_cond_t): Likewise.
20287 [POSIX] (pthread_condattr_t): Likewise.
20288 [POSIX] (pthread_key_t): Likewise.
20289 [POSIX] (pthread_mutex_t): Likewise.
20290 [POSIX] (pthread_mutexattr_t): Likewise.
20291 [POSIX] (pthread_once_t): Likewise.
20292 [POSIX] (pthread_t): Likewise.
20293 [POSIX-based standards] (pthread_atfork): Expect function.
20294
20295 2013-09-24 Joseph Myers <joseph@codesourcery.com>
20296 Richard Sandiford <richard@codesourcery.com>
20297
20298 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
20299 (swap_endianness_p): New extern variable.
20300 (set_big_endian): New inline function.
20301 (maybe_swap_uint32): Likewise.
20302 (maybe_swap_uint32_array): Likewise.
20303 (maybe_swap_uint32_obstack): Likewise.
20304 * locale/programs/locfile.c: Include <stdbool.h>.
20305 (swap_endianness_p): New variable.
20306 (add_locale_uint32): Call maybe_swap_uint32.
20307 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
20308 (write_locale_data): Call maybe_swap_uint32_array.
20309 * locale/programs/ld-collate.c (obstack_int32_grow): Call
20310 maybe_swap_uint32.
20311 (obstack_int32_grow_fast): Likewise.
20312 (output_weightwc): Call maybe_swap_uint32_obstack.
20313 (collate_output): Likewise.
20314 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
20315 (OPT_LITTLE_ENDIAN): Likewise.
20316 (options): Add --little-endian and --big-endian options.
20317 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
20318 * locale/programs/locarchive.c: Include "locfile.h".
20319 (GET): New macro.
20320 (SET): Likewise.
20321 (INC): Likewise.
20322 (create_archive): Use the new macros to access fields of
20323 structures directly mapped from or written to locale archives.
20324 (oldlocrecentcmp): Likewise.
20325 (enlarge_archive): Likewise.
20326 (insert_name): Likewise.
20327 (add_alias): Likewise.
20328 (add_locale): Likewise.
20329 (delete_locales_from_archive): Likewise.
20330 (show_archive_content): Likewise.
20331 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
20332 locale data.
20333
20334 2013-09-24 Roland McGrath <roland@hack.frob.com>
20335
20336 * manual/freemanuals.texi: Updated from (newly) canonical copy at
20337 http://www.gnu.org/doc/freemanuals.texi.
20338 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
20339
20340 2013-09-24 Will Newton <will.newton@linaro.org>
20341
20342 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
20343 macro.
20344
20345 2013-09-23 Joseph Myers <joseph@codesourcery.com>
20346
20347 * locale/hashval.h (compute_hashval): Interpret bytes of key as
20348 unsigned char.
20349
20350 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
20351
20352 * manual/threads.texi (POSIX Threads): Fix a typo.
20353
20354 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
20355
20356 [BZ #14547]
20357 * string/tst-strcoll-overflow.c: New test case.
20358 * string/Makefile (xtests): Add tst-strcoll-overflow.
20359 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
20360 cache if string sizes may cause integer overflow.
20361
20362 [BZ #14547]
20363 * string/strcoll_l.c (coll_seq): New members rule, idx,
20364 save_idx and back_us.
20365 (get_next_seq_nocache): New function.
20366 (do_compare_nocache): New function.
20367 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
20368 when malloc fails.
20369
20370 2013-09-23 Carlos O'Donell <carlos@redhat.com>
20371
20372 [BZ #15754]
20373 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
20374 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
20375 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
20376
20377 [BZ #15754]
20378 * elf/Makefile (tests): Add tst-ptrguard1.
20379 (tests-static): Add tst-ptrguard1-static.
20380 (tst-ptrguard1-ARGS): Define.
20381 (tst-ptrguard1-static-ARGS): Define.
20382 * elf/tst-ptrguard1.c: New file.
20383 * elf/tst-ptrguard1-static.c: New file.
20384 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
20385 * sysdeps/i386/stackguard-macros.h: Likewise.
20386 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
20387 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
20388 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
20389 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
20390 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
20391 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
20392
20393 2013-09-23 Hector Marco <hecmargi@upv.es>
20394 Ismael Ripoll <iripoll@disca.upv.es>
20395 Carlos O'Donell <carlos@redhat.com>
20396
20397 [BZ #15754]
20398 * sysdeps/generic/stackguard-macros.h: Define
20399 __pointer_chk_guard_local and POINTER_CHK_GUARD.
20400 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
20401 Define __pointer_chk_guard_local.
20402 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
20403 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
20404
20405 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
20406
20407 [BZ #15859]
20408 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
20409
20410 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
20411
20412 * include/string.h (__ffs): Declare as hidden.
20413 * string/ffs.c (__ffs): Define as hidden.
20414 * sysdeps/i386/ffs.c (__ffs): Likewise.
20415 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
20416 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
20417 * sysdeps/s390/ffs.c (__ffs): Likewise.
20418 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
20419
20420 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
20421
20422 * NEWS: Mention malloc probes.
20423
20424 * malloc/arena.c (new_heap): New memory_heap_new probe.
20425 (grow_heap): New memory_heap_more probe.
20426 (shrink_heap): New memory_heap_less probe.
20427 (heap_trim): New memory_heap_free probe.
20428 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
20429 (systrim): New memory_sbrk_less probe.
20430 * manual/probes.texi: Document them.
20431
20432 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
20433 * manual/probes.texi: Document it.
20434
20435 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
20436 (__libc_realloc): Add memory_realloc_retry probe.
20437 (__libc_memalign): Add memory_memalign_retry probe.
20438 (__libc_valloc): Add memory_valloc_retry probe.
20439 (__libc_pvalloc): Add memory_pvalloc_retry probe.
20440 (__libc_calloc): Add memory_calloc_retry probe.
20441 * manual/probes.texi: Document them.
20442
20443 * malloc/arena.c (get_free_list): Add probe
20444 memory_arena_reuse_free_list.
20445 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
20446 and memory_arena_reuse.
20447 (arena_get2) [!PER_THREAD]: Likewise.
20448 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
20449 memory_arena_reuse_realloc.
20450 * manual/probes.texi: Document them.
20451
20452 * malloc/malloc.c (__libc_free): Add
20453 memory_mallopt_free_dyn_thresholds probe.
20454 (__libc_mallopt): Add multiple memory_mallopt probes.
20455 * manual/probes.texi: Document them.
20456
20457 * malloc/malloc.c: Include stap-probe.h.
20458 (__libc_mallopt): Add memory_mallopt probe.
20459 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
20460 * manual/probes.texi: New.
20461 * manual/Makefile (chapters): Add probes.
20462 * manual/threads.texi: Set next node.
20463
20464 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
20465
20466 [BZ #15963, #13985]
20467 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
20468 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
20469 Add `Chinese' to `nan' entry name.
20470
20471 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
20472
20473 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
20474 (POLYNOMIAL): Likewise.
20475 (TAYLOR_SINCOS): Likewise.
20476 (TAYLOR_SLOW): Likewise.
20477 (__sin): Use TAYLOR_SINCOS.
20478 (__cos): Likewise.
20479 (slow): Use TAYLOR_SLOW.
20480 (sloww): Likewise.
20481 (bsloww): Likewise.
20482 (csloww): Likewise.
20483
20484 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
20485
20486 * stdlib/strtod_l.c: Fix buffer overrun.
20487
20488 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
20489
20490 * benchtests/Makefile (bench): Add sincos.
20491 * benchtests/bench-sincos.c: New file.
20492
20493 * math/libm-test.inc (cos_test_data): New test inputs.
20494 (sin_test_data): Likewise.
20495
20496 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
20497 macro.
20498 (__sin): Use it.
20499 (__cos): Likewise.
20500 (slow1): Likewise.
20501 (slow2): Likewise.
20502 (sloww1): Likewise.
20503 (sloww2): Likewise.
20504 (bsloww1): Likewise.
20505 (bsloww2): Likewise.
20506 (cslow2): Likewise.
20507 (csloww1): Likewise.
20508 (csloww2): Likewise.
20509
20510 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
20511 function.
20512 (__sin): Use it.
20513 (__cos): Likewise.
20514
20515 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
20516 gotos.
20517 (__cos): Likewise.
20518
20519 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
20520
20521 * config.h.in (HAVE_MIPS_NAN2008): New macro.
20522 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
20523 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
20524 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
20525 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
20526 * elf/cache.c (print_entry): Handle the new cache flags.
20527
20528 2013-09-18 Joseph Myers <joseph@codesourcery.com>
20529 Aldy Hernandez <aldyh@redhat.com>
20530
20531 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
20532 Change condition to [_SOFT_FLOAT].
20533 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
20534 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
20535 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
20536 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
20537 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
20538 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
20539 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
20540 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
20541 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
20542 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
20543 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
20544 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
20545 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
20546 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
20547 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
20548 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
20549 declaration.
20550
20551 2013-09-18 Joseph Myers <joseph@codesourcery.com>
20552
20553 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
20554 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
20555 (__longjmp): Use LOAD_GP to load saved GPRs.
20556 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
20557 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
20558 (__sigsetjmp): Use SAVE_GP to save GPRs.
20559
20560 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
20561 Do not append -msoft-float.
20562 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
20563
20564 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
20565
20566 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
20567
20568 2013-09-17 Joseph Myers <joseph@codesourcery.com>
20569
20570 [BZ #15966]
20571 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
20572 (_FPU_GETCW): Use initial "__" on variable and field names but not
20573 on macro parameter name.
20574 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
20575 parentheses around reference to macro parameter.
20576
20577 2013-09-13 Richard Sandiford <richard@codesourcery.com>
20578
20579 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
20580 prototype.
20581 (ctype_startup): Use uint32_t in cast and sizeof for
20582 ctype->charnames.
20583
20584 2013-09-11 Jia Liu <proljc@gmail.com>
20585
20586 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
20587 __daddr_t_defined.
20588 [__FreeBSD__]: Likewise.
20589
20590 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
20591
20592 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
20593 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
20594 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
20595 (strchr): Remove __strchr_sse42 ifunc selection.
20596 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
20597 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
20598
20599 2013-09-11 Will Newton <will.newton@linaro.org>
20600
20601 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
20602 parameter to RES. Remove hardcoded 1000 value.
20603 * benchtests/bench-skeleton.c (main): Pass RES parameter
20604 to TIMING_INIT and multiply result by 1000.
20605
20606 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20607
20608 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20609
20610 2013-09-11 Andreas Schwab <schwab@suse.de>
20611
20612 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
20613 if not defined.
20614 (O_TMPFILE) [__USE_GNU]: Define.
20615 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
20616 Define.
20617
20618 2013-09-11 Will Newton <will.newton@linaro.org>
20619
20620 [BZ #15857]
20621 * malloc/malloc.c (__libc_memalign): Check the value of bytes
20622 does not overflow.
20623
20624 2013-09-11 Will Newton <will.newton@linaro.org>
20625
20626 [BZ #15856]
20627 * malloc/malloc.c (__libc_valloc): Check the value of bytes
20628 does not overflow.
20629
20630 2013-09-11 Will Newton <will.newton@linaro.org>
20631
20632 [BZ #15855]
20633 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
20634 does not overflow.
20635
20636 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
20637
20638 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
20639 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
20640 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
20641 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
20642 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
20643
20644 2013-09-10 Allan McRae <allan@archlinux.org>
20645
20646 [BZ #15748]
20647 * manual/arith.texi (Parsing of Floats): Clarify
20648 cross-reference.
20649
20650 [BZ #15849]
20651 * manual/install.texi (Running make install): Mention
20652 --enable-pt-chown.
20653 * INSTALL: Regenerated.
20654
20655 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
20656
20657 * csu/init-first.c (_init): Remove the !SHARED condition around
20658 FPU control word initialization.
20659 * elf/dl-support.c (_dl_fpu_control): New variable.
20660 (_dl_aux_init) <AT_FPUCW>: Initialize it.
20661 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
20662 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
20663 * math/test-fpucw-static.c: New file.
20664 * math/test-fpucw-ieee.c: New file.
20665 * math/test-fpucw-ieee-static.c: New file.
20666 * math/Makefile (tests): Add `test-fpucw-ieee' and
20667 `$(tests-static)'.
20668 (tests-static): New variable.
20669 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
20670 dependency to...
20671 [($(build-shared),yes)]
20672 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
20673 ... this.
20674 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
20675 New dependency.
20676
20677 2013-09-09 Allan McRae <allan@archlinux.org>
20678
20679 [BZ #15939]
20680 * manual/string.texi (Collation Functions): Fix typo in
20681 strcoll example.
20682 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
20683
20684 [BZ #15893]
20685 * stdlib/isomac.c (get_null_defines): Fix memory leak.
20686
20687 [BZ #15892]
20688 * libio/memstream.c (open_memstream): Fix memory leak.
20689 * libio/wmemstream.c (open_wmemstream): Likewise.
20690
20691 [BZ #15895]
20692 * nscd/netgroupcache.c: Fix nesting of ifdefs.
20693
20694 2013-09-09 Will Newton <will.newton@linaro.org>
20695
20696 * malloc/Makefile: Add tst-realloc to tests.
20697 * malloc/tst-realloc.c: New file.
20698
20699 2013-09-09 Allan McRae <allan@archlinux.org>
20700
20701 [BZ #15844]
20702 * COPYING: Update from GNU website to fix FSF address.
20703 * COPYING.LIB: Likewise.
20704
20705 2013-09-06 David S. Miller <davem@davemloft.net>
20706
20707 * po/zh_TW.po: Update Chinese (traditional) translation from
20708 translation project.
20709
20710 2013-09-06 Richard Sandiford <richard@codesourcery.com>
20711 Joseph Myers <joseph@codesourcery.com>
20712
20713 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
20714 "localeinfo.h".
20715 (obstack_chunk_alloc): New macro.
20716 (obstack_chunk_free): Likewise.
20717 (record_offset): New function.
20718 (init_locale_data): Likewise.
20719 (align_locale_data): Likewise.
20720 (add_locale_empty): Likewise.
20721 (add_locale_raw_data): Likewise.
20722 (add_locale_raw_obstack): Likewise.
20723 (add_locale_string): Likewise.
20724 (add_locale_wstring): Likewise.
20725 (add_locale_uint32): Likewise.
20726 (add_locale_uint32_array): Likewise.
20727 (add_locale_char): Likewise.
20728 (start_locale_structure): Likewise.
20729 (end_locale_structure): Likewise.
20730 (start_locale_prelude): Likewise.
20731 (end_locale_prelude): Likewise.
20732 (write_locale_data): Take locale_file structure rather than an
20733 iovec.
20734 * locale/programs/locfile.h: Include "obstack.h".
20735 (struct locale_file): Change to store locale file contents instead
20736 of header.
20737 (init_locale_data): New prototype.
20738 (align_locale_data): Likewise.
20739 (add_locale_empty): Likewise.
20740 (add_locale_raw_data): Likewise.
20741 (add_locale_raw_obstack): Likewise.
20742 (add_locale_string): Likewise.
20743 (add_locale_wstring): Likewise.
20744 (add_locale_uint32): Likewise.
20745 (add_locale_uint32_array): Likewise.
20746 (add_locale_char): Likewise.
20747 (start_locale_structure): Likewise.
20748 (end_locale_structure): Likewise.
20749 (start_locale_prelude): Likewise.
20750 (end_locale_prelude): Likewise.
20751 (write_locale_data): Update prototype.
20752 * locale/programs/3level.h (struct TABLE): Remove result field.
20753 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
20754 Use new locale_file interface.
20755 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
20756 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
20757 * locale/programs/ld-address.c (address_output): Use new
20758 locale_file interface.
20759 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
20760 NO_ADD_LOCALE.
20761 (collate_finish): Don't call collseq_table_finalize.
20762 (collate_output): Use new locale_file interface.
20763 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
20764 in file.
20765 (NO_FINALIZE): Change to NO_ADD_LOCALE.
20766 (TABLE): Move defines earlier in file.
20767 (ELEMENT): Likewise.
20768 (DEFAULT): Likewise.
20769 (wctrans_table_add): Move macro and inline function earlier in
20770 file.
20771 (struct wctype_table): Move type earlier in file.
20772 (add_locale_wctype_table): New static prototype.
20773 (struct locale_ctype_t): Use logical types instead of struct iovec
20774 pointers for members.
20775 (ctype_output): Use new locale_file interface.
20776 (wctype_table_finalize): Change to add_locale_wctype_table. Use
20777 new locale_file interface.
20778 (allocate_arrays): Update for use of new locale_file interface.
20779 * locale/programs/ld-identification.c (identification_output): Use
20780 new locale_file interface.
20781 * locale/programs/ld-measurement.c (measurement_output): Likewise.
20782 * locale/programs/ld-messages.c (messages_output): Likewise.
20783 * locale/programs/ld-monetary.c (monetary_output): Likewise.
20784 * locale/programs/ld-name.c (name_output): Likewise.
20785 * locale/programs/ld-numeric.c (numeric_output): Likewise.
20786 * locale/programs/ld-paper.c (paper_output): Likewise.
20787 * locale/programs/ld-telephone.c (telephone_output): Likewise.
20788 * locale/programs/ld-time.c (time_output): Likewise.
20789
20790 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20791
20792 * benchtests/Makefile: Add memrchr benchmark.
20793 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
20794 benchmark as memrchr.
20795 * benchtests/bench-memrchr-ifunc.c: New file.
20796 * benchtests/bench-memrchr.c: New file.
20797
20798 2013-09-06 Will Newton <will.newton@linaro.org>
20799
20800 * benchtests/Makefile (string-bench): Add memcpy.
20801
20802 2013-09-05 Carlos O'Donell <carlos@redhat.com>
20803 Cong Wang <amwang@redhat.com>
20804
20805 [BZ #15850]
20806 * sysdeps/unix/sysv/linux/bits/in.h
20807 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
20808 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
20809 before __USE_KERNEL_IPV6_DEFS uses.
20810 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
20811 IPPROTO_BEETPH.
20812 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
20813 sockaddr_in6, or ipv6_mreq.
20814
20815 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20816
20817 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
20818 memory access for final bytes in some large inputs.
20819 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
20820
20821 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20822
20823 * string/test-memrchr.c: New file.
20824 * string/test-memrchr-ifunc.c: New file.
20825 * string/Makefile: Add new memrchr testcase.
20826
20827 2013-09-05 Mike Frysinger <vapier@gentoo.org>
20828
20829 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
20830 fanotify_init returns EPERM.
20831
20832 2013-09-04 Joseph Myers <joseph@codesourcery.com>
20833
20834 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
20835 errors.
20836 (top level): Treat second token from macro or constant entries for
20837 allowed headers as allowed.
20838 * include/complex.h: Condition internal declarations on
20839 [!_ISOMAC].
20840 * include/fenv.h: Condition include of <stdbool.h> and internal
20841 declarations on [!_ISOMAC].
20842
20843 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
20844
20845 [BZ #15923]
20846 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
20847
20848 2013-09-04 Joseph Myers <joseph@codesourcery.com>
20849
20850 * configure.in (--enable-versioning): Remove configure option.
20851 (libc_cv_asm_symver_directive): Remove configure test.
20852 (libc_cv_ld_version_script_option): Likewise.
20853 (VERSIONING): Remove variable and AC_SUBST.
20854 (DO_VERSIONING): Remove AC_DEFINE.
20855 * configure: Regenerated.
20856 * config.h.in (DO_VERSIONING): Remove macro.
20857 * Makerules [$(versioning) = yes]: Change conditionals to
20858 [$(build-shared) = yes].
20859 * config.make.in (versioning): Remove variable.
20860 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
20861 [$(build-shared) = yes].
20862 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
20863 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
20864 * elf/Makefile [$(versioning) = yes]: Change conditionals to
20865 [$(build-shared) = yes].
20866 * extra-lib.mk [$(versioning) = yes]: Likewise.
20867 * hurd/Makefile [$(versioning) = yes]: Likewise.
20868 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
20869 [SHARED].
20870 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
20871 [SHARED].
20872 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
20873 [SHARED && !NO_HIDDEN].
20874 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
20875 [SHARED].
20876 [SHARED && DO_VERSIONING]: Likewise..
20877 * libio/Makefile [$(versioning) = yes]: Change conditionals to
20878 [$(build-shared) = yes].
20879 * manual/install.texi (--disable-versioning): Remove
20880 documentation.
20881 * INSTALL: Regenerated.
20882 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
20883 to [SHARED].
20884 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
20885 [$(build-shared) = yes].
20886 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
20887 * sysdeps/i386/i686/multiarch/strstr-c.c
20888 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
20889 [SHARED && !NO_HIDDEN].
20890 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
20891 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
20892 * sysdeps/powerpc/powerpc32/dl-machine.c
20893 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
20894 * sysdeps/powerpc/powerpc32/sysdep.h
20895 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
20896 to [SHARED && PIC && !NO_HIDDEN].
20897 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
20898 conditional to [SHARED].
20899
20900 2013-09-04 Will Newton <will.newton@linaro.org>
20901
20902 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
20903 * benchtests/bench-string.h: Include bench-timing.h instead
20904 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
20905 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
20906 call to HP_TIMING_DIFF_INIT.
20907 * benchtests/bench-memccpy.c: Use bench-timing.h macros
20908 instead of hp-timing.h macros.
20909 * benchtests/bench-memchr.c: Likewise.
20910 * benchtests/bench-memcmp.c: Likewise.
20911 * benchtests/bench-memcpy.c: Likewise.
20912 * benchtests/bench-memmem.c: Likewise.
20913 * benchtests/bench-memmove.c: Likewise.
20914 * benchtests/bench-memset.c: Likewise.
20915 * benchtests/bench-rawmemchr.c: Likewise.
20916 * benchtests/bench-strcasecmp.c: Likewise.
20917 * benchtests/bench-strcasestr.c: Likewise.
20918 * benchtests/bench-strcat.c: Likewise.
20919 * benchtests/bench-strchr.c: Likewise.
20920 * benchtests/bench-strcmp.c: Likewise.
20921 * benchtests/bench-strcpy.c: Likewise.
20922 * benchtests/bench-strcpy_chk.c: Likewise.
20923 * benchtests/bench-strlen.c: Likewise.
20924 * benchtests/bench-strncasecmp.c: Likewise.
20925 * benchtests/bench-strncat.c: Likewise.
20926 * benchtests/bench-strncmp.c: Likewise.
20927 * benchtests/bench-strncpy.c: Likewise.
20928 * benchtests/bench-strnlen.c: Likewise.
20929 * benchtests/bench-strpbrk.c: Likewise.
20930 * benchtests/bench-strrchr.c: Likewise.
20931 * benchtests/bench-strspn.c: Likewise.
20932 * benchtests/bench-strstr.c: Likewise.
20933
20934 2013-09-04 Will Newton <will.newton@linaro.org>
20935
20936 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
20937
20938 2013-09-03 Joseph Myers <joseph@codesourcery.com>
20939
20940 [BZ #15427]
20941 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
20942 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
20943 * math/libm-test.inc (lgamma_test_data): Add more tests.
20944 * sysdeps/i386/fpu/libm-test-ulps: Update.
20945 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20946
20947 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
20948
20949 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
20950 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
20951 Add ifunc.
20952 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
20953 Add strcmp-sse2-unaligned
20954 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
20955
20956 2013-09-02 Mike Frysinger <vapier@gentoo.org>
20957
20958 * Versions.def (libc): Add GLIBC_2.19.
20959
20960 2013-09-02 Mike Frysinger <vapier@gentoo.org>
20961
20962 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
20963 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
20964
20965 2013-09-02 Joseph Myers <joseph@codesourcery.com>
20966
20967 [BZ #14155]
20968 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
20969 intermediate calculations in recurrence.
20970 (__ieee754_ynf): Likewise.
20971 * math/libm-test.inc (jn_test_data): Do not allow spurious
20972 underflow exception. Add more tests.
20973 (yn_test_data): Add more tests.
20974 * sysdeps/i386/fpu/libm-test-ulps: Update.
20975 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20976
20977 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
20978
20979 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
20980
20981 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
20982
20983 * csu/init-first.c: Fix then/than typos.
20984 * locale/programs/ld-collate.c: Likewise.
20985 * locale/programs/linereader.h: Likewise.
20986 * manual/charset.texi: Likewise.
20987 * manual/filesys.texi: Likewise.
20988 * manual/stdio.texi: Likewise.
20989 * manual/string.texi: Likewise.
20990 * stdlib/fmtmsg.c: Likewise.
20991 * sysdeps/i386/stpncpy.S: Likewise.
20992 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
20993 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
20994 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
20995 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
20996
20997 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
20998
20999 * elf/dl-open.c: Fix typos.
21000 * iconvdata/gbbig5.c: Likewise.
21001 * iconvdata/iso-2022-jp.c: Likewise.
21002 * iconv/gconv_int.h: Likewise.
21003 * iconv/loop.c: Likewise.
21004 * nis/rpcsvc/nis.h: Likewise.
21005 * resolv/ns_name.c: Likewise.
21006 * stdio-common/vfscanf.c: Likewise.
21007 * streams/stropts.h: Likewise.
21008 * sunrpc/rpc_thread.c: Likewise.
21009 * sysdeps/i386/strpbrk.S: Likewise.
21010 * sysdeps/ieee754/k_standard.c: Likewise.
21011 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
21012 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
21013 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
21014 * sysdeps/mach/hurd/profil.c: Likewise.
21015 * sysdeps/s390/dl-procinfo.h: Likewise.
21016 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
21017 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
21018 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
21019 * sysdeps/x86_64/dl-trampoline.S: Likewise.
21020 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
21021
21022 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
21023
21024 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
21025 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
21026
21027 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
21028
21029 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
21030 aix specific files.
21031 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
21032 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
21033 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
21034 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
21035 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
21036 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
21037 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
21038 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
21039
21040 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
21041 Roland McGrath <roland@hack.frob.com>
21042
21043 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
21044 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
21045
21046 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
21047
21048 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
21049 __executable_start symbol instead of _start.
21050
21051 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
21052
21053 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
21054 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
21055 Move macros to...
21056 * sysdeps/gnu/ldsodefs.h: ... this new file.
21057
21058 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
21059 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
21060 instead of ELFOSABI_LINUX.
21061
21062 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
21063 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
21064 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
21065 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
21066 Likewise.
21067 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
21068 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
21069 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
21070 Likewise.
21071 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
21072 (ibm_extended_long_double): Add ieee_nan member.
21073 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
21074 (do_test): New function.
21075
21076 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
21077 TEST_TRUNC.
21078 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
21079 functions, renamed from truncdfsf_test, trunctfsf_test,
21080 trunctfdf_test.
21081 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
21082 functions.
21083 (do_test): Run all these.
21084
21085 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
21086
21087 * argp/argp-help.c: Fix typos.
21088 * argp/argp-parse.c: Likewise.
21089 * debug/backtracesyms.c: Likewise.
21090 * elf/elf.h: Likewise.
21091 * malloc/malloc.c: Likewise.
21092 * nis/nis_print.c: Likewise.
21093 * resolv/res_comp.c: Likewise.
21094 * stdlib/stdlib.h: Likewise.
21095 * sunrpc/clnt_tcp.c: Likewise.
21096 * sunrpc/clnt_udp.c: Likewise.
21097 * sunrpc/clnt_unix.c: Likewise.
21098 * sysdeps/unix/bsd/ptsname.c: Likewise.
21099 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
21100 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
21101 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
21102 Likewise.
21103 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
21104 Likewise.
21105 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
21106 Likewise.
21107 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
21108
21109 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
21110
21111 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
21112 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
21113
21114 2013-08-27 Mike Frysinger <vapier@gentoo.org>
21115
21116 [BZ #15897]
21117 * dlfcn/Makefile (tests): Add bug-dl-leaf.
21118 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
21119 ($(objpfx)bug-dl-leaf): New rule.
21120 ($(objpfx)bug-dl-leaf.so): Likewise.
21121 ($(objpfx)bug-dl-leaf.out): Likewise.
21122 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
21123 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
21124 * dlfcn/bug-dl-leaf.c: New test.
21125 * dlfcn/bug-dl-leaf-lib.c: Likewise.
21126 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
21127 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
21128 (dlclose): Likewise.
21129 (dlmopen): Likewise.
21130
21131 2013-08-27 Roland McGrath <roland@hack.frob.com>
21132
21133 * include/netdb.h [!_ISOMAC]:
21134 Don't include <tls.h>.
21135 (h_errno, __libc_h_errno): Move declaration and macros out of
21136 [_LIBC_REENTRANT].
21137
21138 * include/resolv.h [_RESOLV_H_]:
21139 Don't include <tls.h>.
21140 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
21141 * resolv/res_libc.c: Don't include <tls.h>.
21142 (_res): Use __attribute__ ((nocommon)) in place of
21143 __attribute__ ((section (".bss"))).
21144
21145 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
21146 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
21147
21148 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
21149
21150 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
21151 only under [SIOCGIFCONF && SIOCGIFNETMASK].
21152
21153 * resolv/res_mkquery.c: Include <sys/time.h>.
21154
21155 * inet/ifreq.c: Moved to ...
21156 * sysdeps/unix/ifreq.c: ... here.
21157 * inet/ifreq.c: New file, true stub version.
21158
21159 * socket/sa_len.c: New file.
21160 * socket/Makefile (aux): Add it.
21161 * sysdeps/unix/sysv/linux/Makefile
21162 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
21163 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
21164 and #include <socket/sa_len.c>.
21165 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
21166 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
21167
21168 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
21169 * bits/socket.h: ... here.
21170
21171 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
21172 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
21173 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
21174
21175 2013-08-27 Andreas Schwab <schwab@suse.de>
21176
21177 [BZ #15736]
21178 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
21179 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
21180 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
21181 * string/test-strcasecmp.c (test_main): Run tests in several
21182 locales.
21183 * string/test-strncasecmp.c (test_main): Likewise.
21184
21185 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
21186 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
21187 to __strcasecmp_nonascii and __strncasecmp_nonascii.
21188 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
21189 (__strncasecmp_ssse3) [PIC]: Likewise.
21190
21191 2013-08-26 Roland McGrath <roland@hack.frob.com>
21192
21193 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
21194
21195 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
21196 instead of explicitly declaring xdecrypt.
21197 * nis/nss_nis/nis-publickey.c: Likewise.
21198
21199 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
21200
21201 [BZ #15890]
21202 * nscd/aicache.c: Include res_hconf.h.
21203 (addhstaiX): Initialize res_hconf.
21204
21205 2013-08-26 Andreas Schwab <schwab@suse.de>
21206
21207 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
21208 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
21209
21210 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
21211
21212 * nscd/aicache.c (addhstaiX): Fix indentation.
21213
21214 2013-08-25 Mike Frysinger <vapier@gentoo.org>
21215
21216 * configure.ac: Quote $build_pt_chown test.
21217 * configure: Regenerated.
21218
21219 2013-08-23 Joseph Myers <joseph@codesourcery.com>
21220
21221 [BZ #15532]
21222 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
21223 * math/s_cexpf.c (__cexpf): Likewise.
21224 * math/s_cexpl.c (__cexpl): Likewise.
21225 * math/libm-test.inc (cexp_test_data): Correct expected return
21226 value for NaN + i0. Add another test.
21227
21228 2013-08-22 David S. Miller <davem@davemloft.net>
21229
21230 * po/ca.po: Update Catalan translation from translation project.
21231 * po/uk.po: Add Ukrainian translations from translation project.
21232
21233 2013-08-21 Joseph Myers <joseph@codesourcery.com>
21234
21235 [BZ #15797]
21236 * math/s_fdim.c (__fdim): Check for infinite arguments if result
21237 is infinite, not alongside NaN test.
21238 * math/s_fdimf.c (__fdimf): Likewise.
21239 * math/s_fdiml.c (__fdiml): Likewise.
21240 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
21241 errno is unchanged.
21242
21243 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
21244
21245 * argp/argp-help.c: Fix typos.
21246 * crypt/speeds.c: Likewise.
21247 * csu/check_fds.c: Likewise.
21248 * elf/dl-load.c: Likewise.
21249 * elf/dl-open.c: Likewise.
21250 * elf/reldep3.c: Likewise.
21251 * elf/reldep.c: Likewise.
21252 * elf/sprof.c: Likewise.
21253 * iconv/iconv_charmap.c: Likewise.
21254 * iconv/skeleton.c: Likewise.
21255 * iconv/strtab.c: Likewise.
21256 * io/lockf64.c: Likewise.
21257 * libio/libioP.h: Likewise.
21258 * resolv/gai_notify.c: Likewise.
21259 * resolv/ns_name.c: Likewise.
21260 * resolv/ns_samedomain.c: Likewise.
21261 * resolv/res_send.c: Likewise.
21262 * stdlib/random.c: Likewise.
21263 * sunrpc/rpc/xdr.h: Likewise.
21264 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
21265 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
21266 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
21267 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
21268 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
21269 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
21270 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
21271 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
21272 * sysdeps/mach/hurd/check_fds.c: Likewise.
21273 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
21274 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
21275 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
21276 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
21277 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
21278 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
21279 * sysdeps/pthread/aio_notify.c: Likewise.
21280 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
21281 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
21282 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
21283 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
21284 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
21285
21286 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
21287
21288 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
21289 version if bit_Slow_SSE4_2 is set.
21290 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
21291 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
21292
21293 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21294
21295 [BZ #15867]
21296 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
21297 trampoline stack frame information.
21298 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
21299 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
21300 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
21301 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
21302 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
21303 * sysdeps/unix/sysv/linux/powerpc/init-first.c
21304 (_libc_vdso_platform_setup): Initialize the signal trampolines.
21305 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
21306 sa_flags value.
21307 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
21308 interrupting a syscall and set with option SA_SIGINFO.
21309
21310 2013-08-20 Joseph Myers <joseph@codesourcery.com>
21311
21312 [BZ #15531]
21313 * math/s_cproj.c (__cproj): Only return an infinity if one part of
21314 argument is infinite.
21315 * math/s_cprojf.c (__cprojf): Likewise.
21316 * math/s_cprojl.c (__cprojl): Likewise.
21317 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
21318 * math/libm-test.inc (cproj_test_data): Add more tests.
21319
21320 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
21321
21322 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
21323 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
21324 size. Use __ffs to determine corresponding shift.
21325
21326 2013-08-20 Joseph Myers <joseph@codesourcery.com>
21327 Roland McGrath <roland@hack.frob.com>
21328
21329 * Makefile (INSTALL): Remove trailing blank lines from output of
21330 makeinfo.
21331
21332 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21333
21334 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
21335 Align 32 bit compat elf_greg to 8 bytes.
21336
21337 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
21338
21339 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
21340
21341 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
21342
21343 * string/strcoll_l.c (coll_seq): New structure.
21344 (get_next_seq_cached): New function.
21345 (get_next_seq): New function.
21346 (do_compare): New function.
21347 (STRCOLL): Use GNU style definition. Simplify implementation
21348 by using get_next_seq, get_next_seq_cached and do_compare.
21349
21350 2013-08-16 Florian Weimer <fweimer@redhat.com>
21351
21352 [BZ #14699]
21353 CVE-2013-4237
21354 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
21355 member.
21356 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
21357 member.
21358 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
21359 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
21360 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
21361 conditional.
21362 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
21363 GETDENTS_64BIT_ALIGNED.
21364 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
21365 * manual/filesys.texi (Reading/Closing Directory): Document
21366 ENAMETOOLONG return value of readdir_r. Recommend readdir more
21367 strongly.
21368 * manual/conf.texi (Limits for Files): Add portability note to
21369 NAME_MAX, PATH_MAX.
21370 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
21371
21372 2013-08-13 Andreas Schwab <schwab@suse.de>
21373
21374 [BZ #15749]
21375 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
21376 of fabs.
21377 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
21378 LDBL_MAX_EXP >= 16384]: Add tests for it.
21379
21380 2013-08-12 David S. Miller <davem@davemloft.net>
21381
21382 * version.h (RELEASE): Set to "development".
21383 (VERSION): Set to "2.18.90".
21384 * NEWS: Add 2.19 section.
21385
21386 2013-08-03 David S. Miller <davem@davemloft.net>
21387
21388 * po/ko.po: Update Korean translation from translation project.
21389
21390 2013-08-01 David S. Miller <davem@davemloft.net>
21391
21392 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
21393 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
21394 Bilka.
21395
21396 2013-07-30 David S. Miller <davem@davemloft.net>
21397
21398 * po/fr.po: Update French translation from translation project.
21399
21400 2013-07-28 David S. Miller <davem@davemloft.net>
21401
21402 * po/cs.po: Update Czech translation from translation project.
21403
21404 * po/sv.po: Update Swedish translation from translation project.
21405
21406 2013-07-27 David S. Miller <davem@davemloft.net>
21407
21408 * po/eo.po: Update Esperanto translation from translation project.
21409
21410 * po/vi.po: Update Vietnamese translation from translation project.
21411
21412 * po/de.po: Update German translation from translation project.
21413
21414 2013-07-26 David S. Miller <davem@davemloft.net>
21415
21416 * po/bg.po: Update Bulgarian translation from translation project.
21417
21418 * po/nl.po: Update Dutch translation from translation project.
21419 * po/pl.po: Update Polish translation from translation project.
21420 * po/ru.po: Update Russian translation from translation project.
21421
21422 2013-07-24 David S. Miller <davem@davemloft.net>
21423
21424 * po/libc.pot: Update.
21425
21426 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21427
21428 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
21429 variable page size.
21430 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
21431 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
21432 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
21433
21434 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21435
21436 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
21437
21438 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
21439 Andreas Schwab <schwab@suse.de>
21440 Roland McGrath <roland@hack.frob.com>
21441 Joseph Myers <joseph@codesourcery.com>
21442 Carlos O'Donell <carlos@redhat.com>
21443
21444 [BZ #15755]
21445 * config.h.in: Define HAVE_PT_CHOWN.
21446 * config.make.in (build-pt-chown): New variable.
21447 * configure.in (--enable-pt_chown): New configure option.
21448 * configure: Regenerate.
21449 * login/Makefile: Include Makeconfig. Build pt_chown only if
21450 build-pt-chown is enabled.
21451 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
21452 pt_chown to fix pty ownership.
21453 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
21454 CLOSE_ALL_FDS.
21455 * manual/install.texi (Configuring and compiling): Mention
21456 --enable-pt_chown. Add @findex for grantpt.
21457 * INSTALL: Regenerate.
21458
21459 2013-07-20 David S. Miller <davem@davemloft.net>
21460
21461 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
21462 difference between 32-bit and 64-bit.
21463
21464 2013-07-15 Carlos O'Donell <carlos@redhat.com>
21465
21466 [BZ #15711]
21467 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
21468 Avoid system header dependency with -ffreestanding.
21469 ($(objpfx)bits/syscall%d): Likewise.
21470
21471 2013-07-13 David S. Miller <davem@davemloft.net>
21472
21473 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
21474 underflows from atanl/atan2l due to bug 15319.
21475 (casinh_test_data): Likewise.
21476
21477 2013-07-07 David S. Miller <davem@davemloft.net>
21478
21479 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
21480
21481 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
21482
21483 * sysdeps/i386/fpu/libm-test-ulps: Update.
21484 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21485
21486 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
21487
21488 * configure.in (--enable-lock-elision): Fix message text.
21489 * INSTALL: Regenerate.
21490 * configure: Regenerate.
21491
21492 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21493
21494 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21495
21496 2013-07-03 Andreas Jaeger <aj@suse.de>
21497
21498 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
21499 define.
21500 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
21501 (ptrace_peeksiginfo_args): Add.
21502 (__ptrace_peeksiginfo_flags): Add.
21503 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
21504 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
21505 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
21506
21507 2013-07-03 Allan McRae <allan@archlinux.org>
21508
21509 * sysdeps/i386/fpu/libm-test-ulps: Update.
21510
21511 2013-07-02 David S. Miller <davem@davemloft.net>
21512
21513 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21514
21515 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
21516
21517 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21518
21519 2013-07-02 Joseph Myers <joseph@codesourcery.com>
21520
21521 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
21522 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21523
21524 2013-07-02 Andi Kleen <ak@linux.intel.com>
21525
21526 * config.h.in (ENABLE_LOCK_ELISION): Add.
21527 * configure.in (--enable-lock-elision): Add option.
21528 * manual/install.texi: Document --enable lock elision.
21529 * configure: Regenerate
21530 * INSTALL: Regenerate.
21531
21532 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
21533
21534 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
21535 SSE4.2 strcasecmp for libc.a.
21536 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
21537
21538 2013-07-02 Joseph Myers <joseph@codesourcery.com>
21539
21540 [BZ #13304]
21541 * soft-fp/op-common.h (_FP_FMA): New macro.
21542 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
21543 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
21544 (_FP_MUL_MEAT_1_imm): ... here.
21545 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
21546 (_FP_MUL_MEAT_1_wide): ... here.
21547 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
21548 (_FP_MUL_MEAT_1_hard): ... here.
21549 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
21550 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
21551 (_FP_MUL_MEAT_2_wide): ... here.
21552 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
21553 (_FP_MUL_MEAT_2_wide_3mul): ... here.
21554 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
21555 (_FP_MUL_MEAT_2_gmp): ... here.
21556 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
21557 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
21558 (_FP_MUL_MEAT_4_wide): ... here.
21559 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
21560 (_FP_MUL_MEAT_4_gmp): ... here.
21561 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
21562 (_FP_WFRACBITS_DW_S): Likewise.
21563 (_FP_WFRACXBITS_DW_S): Likewise.
21564 (_FP_HIGHBIT_DW_S): Likewise.
21565 (FP_FMA_S): Likewise.
21566 (_FP_FRAC_HIGH_DW_S): Likewise.
21567 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
21568 (_FP_WFRACBITS_DW_D): Likewise.
21569 (_FP_WFRACXBITS_DW_D): Likewise.
21570 (_FP_HIGHBIT_DW_D): Likewise.
21571 (FP_FMA_D): Likewise.
21572 (_FP_FRAC_HIGH_DW_D): Likewise.
21573 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
21574 (_FP_WFRACBITS_DW_E): Likewise.
21575 (_FP_WFRACXBITS_DW_E): Likewise.
21576 (_FP_HIGHBIT_DW_E): Likewise.
21577 (FP_FMA_E): Likewise.
21578 (_FP_FRAC_HIGH_DW_E): Likewise.
21579 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
21580 (_FP_WFRACBITS_DW_Q): Likewise.
21581 (_FP_WFRACXBITS_DW_Q): Likewise.
21582 (_FP_HIGHBIT_DW_Q): Likewise.
21583 (FP_FMA_Q): Likewise.
21584 (_FP_FRAC_HIGH_DW_Q): Likewise.
21585 * soft-fp/fmasf4.c: New file.
21586 * soft-fp/fmadf4.c: Likewise.
21587 * soft-fp/fmatf4.c: Likewise.
21588
21589 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
21590
21591 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
21592 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
21593 Silvermont.
21594 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
21595 macro.
21596 (index_Slow_SSE4_2): Likewise.
21597 (index_Prefer_PMINUB_for_stringop): Likewise.
21598 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
21599 bit_Slow_SSE4_2 is set.
21600 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
21601 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
21602
21603 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
21604
21605 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
21606 rtld_global._dl_hwcap2.
21607 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
21608 POWER8.
21609 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
21610 POWER8 feature descriptions defined in _dl_hwcap2.
21611 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
21612 string handling for POWER8 feature bits.
21613 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
21614 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
21615 _dl_powerpc_cap_flags.
21616 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
21617 * sysdeps/powerpc/rtld-global-offsets.sym
21618 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
21619 _dl_hwcap2 in the rtld_global_ro structure.
21620
21621 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
21622
21623 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
21624 hardware capabilities in support of AT_HWCAP2.
21625 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
21626 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
21627 GLRO(dl_hwcap2).
21628 (_dl_show_auxv): Add support for calling _dl_procinfo to display
21629 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
21630 explicitly the unknown a_type display mechanism is used.
21631 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
21632 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
21633 struct member.
21634 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
21635 to macro prototype for AT_HWCAP2 support.
21636 * sysdeps/i386/dl-procinfo.h: Likewise.
21637 * sysdeps/s390/dl-procinfo.h: Likewise.
21638 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
21639 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
21640 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
21641 return -1 for unknown a_type display fallback.
21642 * sysdeps/sparc/dl-procinfo.h: Likewise.
21643 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
21644 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
21645
21646 2013-06-28 Joseph Myers <joseph@codesourcery.com>
21647
21648 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
21649 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
21650
21651 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
21652
21653 [BZ #12492]
21654 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
21655 mprotect making __stack_prot writable.
21656
21657 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
21658 Joseph Myers <joseph@codesourcery.com>
21659
21660 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
21661 as being properly aligned.
21662
21663 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
21664
21665 * dlfcn/modstatic5.c: New file.
21666 * dlfcn/tststatic5.c: New file.
21667 * dlfcn/Makefile (tests): Add tststatic5.
21668 (tests-static): Likewise.
21669 (modules-names): Add modstatic5.
21670 (tststatic5-ENV): New variable.
21671 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
21672
21673 [BZ #15022]
21674 * elf/dl-support.c (_dl_main_map): New variable.
21675 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
21676 (_dl_nns, _dl_load_adds): Set to 1.
21677 (_dl_initial_searchlist): Refer to _dl_main_map.
21678 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
21679 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
21680 call to _dl_get_origin.
21681 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
21682 around call_map.
21683 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
21684 * dlfcn/modstatic3.c: New file.
21685 * dlfcn/tststatic3.c: New file.
21686 * dlfcn/tststatic4.c: New file.
21687 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
21688 (tests-static): Likewise.
21689 (modules-names): Add modstatic3.
21690 (tststatic3-ENV, tststatic4-ENV): New variables.
21691 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
21692 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
21693
21694 2013-06-26 Joseph Myers <joseph@codesourcery.com>
21695
21696 * configure.in (CC): Require GCC version 4.4 or later.
21697 * configure: Regenerated.
21698 * manual/install.texi (Tools for Compilation): Update GCC version
21699 requirement.
21700 * INSTALL: Regenerated.
21701
21702 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
21703
21704 [BZ #15674]
21705 * string/test-memcmp.c (check2): New.
21706 (main): Call check2.
21707
21708 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
21709
21710 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
21711
21712 [BZ #15022]
21713 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
21714 over to...
21715 (dl_open_worker) [!SHARED]: ... here.
21716
21717 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
21718
21719 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
21720
21721 2013-06-25 Richard Henderson <rth@redhat.com>
21722
21723 * locale/programs/locarchive.c: Include <libc-internal.h>
21724
21725 2013-06-25 Joseph Myers <joseph@codesourcery.com>
21726
21727 * manual/texinfo.tex: Update to version 2013-06-21.17, with
21728 trailing whitespace removed.
21729
21730 2013-06-24 Mike Frysinger <vapier@gentoo.org>
21731
21732 [BZ #10283]
21733 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
21734 * locale/programs/locarchive.c: Include libc-mmap.h.
21735 (prepare_address_space): Take two new outputs (the mmap base and len).
21736 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
21737 values.
21738 (create_archive): Declare new mmap base and len values for
21739 prepare_address_space, and store the result in ah.
21740 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
21741 (enlarge_archive): If ah->mmap_base is not NULL, use that and
21742 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
21743 Declare new mmap base and len values for
21744 prepare_address_space, and store the result in new_ah.
21745 (open_archive): Declare new mmap base and len values for
21746 prepare_address_space, and store the result in ah.
21747 (close_archive): If ah->mmap_base is not NULL, use that and
21748 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
21749 * sysdeps/generic/libc-mmap.h: New file.
21750
21751 2013-06-24 Mike Frysinger <vapier@gentoo.org>
21752
21753 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
21754 (ALIGN_UP): Likewise.
21755 (PTR_ALIGN_DOWN): Likewise.
21756 (PTR_ALIGN_UP): Likewise.
21757
21758 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
21759
21760 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
21761 entry mapped to PPC_PLATFORM_POWER8.
21762 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
21763 POWER8.
21764 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
21765 (_dl_string_platform): Add case for exporting platform position for
21766 POWER8.
21767 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
21768 search path to sysdeps/powerpc/powerpc32/power8 directory.
21769 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
21770 search path to sysdeps/powerpc/powerpc64/power8 directory.
21771 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
21772 power7 directories.
21773 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
21774 power7 directories.
21775
21776 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
21777
21778 * INSTALL: Regenerate.
21779
21780 * nscd/connections.c (nscd_init): Fix comment.
21781
21782 2013-06-22 Joseph Myers <joseph@codesourcery.com>
21783
21784 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
21785
21786 [BZ #15667]
21787 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
21788 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
21789
21790 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
21791
21792 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
21793 DL_DST_REQ_STATIC.
21794 (DL_DST_REQ_STATIC): Remove macro.
21795
21796 2013-06-21 Joseph Myers <joseph@codesourcery.com>
21797
21798 [BZ #7006]
21799 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
21800 with a shift of 0 bits.
21801
21802 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
21803
21804 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
21805 $(tststatic-ENV).
21806
21807 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
21808
21809 [BZ #15655]
21810 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
21811
21812 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21813
21814 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
21815 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
21816 accepts -fno-tree-loop-distribute-patterns.
21817 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
21818 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
21819 recursive call.
21820 * string/memset.c (memset): Likewise.
21821 * string/test-memmove.c (simple_memmove): Disable loop transformation
21822 to library calls.
21823 * string/test-memset.c (simple_memset): Likewise.
21824 * benchtests/bench-memmove.c (simple_memmove): Likewise.
21825 * benchtests/bench-memset.c (simple_memset): Likewise.
21826 * configure: Regenerated.
21827
21828 2013-06-20 Joseph Myers <joseph@codesourcery.com>
21829
21830 * math/test-misc.c (main): Ignore fesetround failure when failures
21831 of subsequent rounding tests would be ignored.
21832
21833 [BZ #15654]
21834 * math/fedisblxcpt.c (fedisableexcept): Return 0.
21835 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
21836 * math/fegetenv.c (__fegetenv): Return 0.
21837 * math/fegetexcept.c (fegetexcept): Return 0.
21838 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
21839 FE_TONEAREST.
21840 * math/feholdexcpt.c (feholdexcept): Return 0.
21841 * math/fesetenv.c (__fesetenv): Return 0.
21842 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
21843 argument FE_TONEAREST.
21844 * math/feupdateenv.c (__feupdateenv): Return 0.
21845 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
21846
21847 2013-06-18 Roland McGrath <roland@hack.frob.com>
21848
21849 * elf/rtld-Rules (rtld-compile-command.S): New variable.
21850 (rtld-compile-command.s, rtld-compile-command.c): New variables.
21851 ($(objpfx)rtld-%.os rules): Use them.
21852
21853 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21854
21855 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
21856 fields.
21857
21858 2013-06-17 Roland McGrath <roland@hack.frob.com>
21859
21860 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
21861 length of target pattern, then descending length of dependency pattern.
21862 * configure.in (AWK): Require gawk 3.1.2 or newer.
21863 * manual/install.texi (Tools for Compilation): Say that we do.
21864 * configure: Regenerated.
21865
21866 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
21867 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
21868 * scripts/sysd-rules.awk: ... this new script.
21869 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
21870 than a glob-style pattern.
21871
21872 2013-06-17 Joseph Myers <joseph@codesourcery.com>
21873
21874 * math/test-misc.c (main): Do not treat incorrectly rounded
21875 conversions as failure unless ROUNDING_TESTS passes.
21876
21877 2013-06-15 Joseph Myers <joseph@codesourcery.com>
21878
21879 [BZ #15631]
21880 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
21881 restore exception state around main square root computation, then
21882 check for inexactness explicitly.
21883
21884 * math/libm-test.inc (fma_test_data): Add another test.
21885
21886 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
21887
21888 * manual/threads.texi (Non-POSIX Extensions): New document
21889 node. Document pthread_getattr_default_np and
21890 pthread_setattr_default_np.
21891
21892 * Versions.def (libpthread): Add GLIBC_2.18.
21893 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
21894 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
21895 Likewise.
21896 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
21897 Likewise.
21898 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
21899 Likewise.
21900 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
21901 Likewise.
21902 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
21903 Likewise.
21904 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
21905 Likewise.
21906 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
21907 Likewise.
21908 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
21909 Likewise.
21910 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
21911 Likewise.
21912
21913 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
21914
21915 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21916 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
21917
21918 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
21919 H.J. Lu <hjl.tools@gmail.com>
21920
21921 [BZ #15627]
21922 * sysdeps/x86_64/rtld-memset.c: Remove file.
21923 * sysdeps/x86_64/rtld-memset.S: New file.
21924
21925 2013-06-14 Joseph Myers <joseph@codesourcery.com>
21926
21927 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
21928 (test_in_one_mode): Take arguments for whether the rounding mode
21929 is supported for each floating-point type.
21930 (do_test): Pass new arguments to test_in_one_mode using
21931 ROUNDING_TESTS.
21932
21933 2013-06-13 Roland McGrath <roland@hack.frob.com>
21934
21935 * posix/tst-waitid.c (do_test): Distinguish different instances of
21936 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
21937 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
21938 before entering the kernel for waitpid.
21939
21940 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
21941
21942 * NEWS: Fix note on clock function precision. Text by Roland
21943 McGrath.
21944
21945 2013-06-13 Roland McGrath <roland@hack.frob.com>
21946
21947 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
21948 it into place only when and if the sanity check passes.
21949
21950 2013-06-13 Joseph Myers <joseph@codesourcery.com>
21951
21952 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
21953 output for whether conversion result is exact. Take argument
21954 indicating whether type is IBM long double.
21955 (round_for_all): Change need_exact field to ibm_ld.
21956 * stdlib/tst-strtod-round.c (struct exactness): New type.
21957 (struct test): Change bool ld_ok field to struct exactness exact.
21958 (TEST): Update all definitions for change to field.
21959 (tests): Regenerate array contents.
21960 (test_in_one_mode): Take pointer to new field instead of old ld_ok
21961 field value. Check for IBM long double here.
21962 (do_test): Update calls to test_in_one_mode.
21963
21964 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
21965
21966 [BZ #12515]
21967 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
21968 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
21969
21970 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21971
21972 [BZ #15605]
21973 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
21974 generated by the compiler on loop optimizations.
21975 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
21976 general definitions.
21977
21978 2013-06-12 Joseph Myers <joseph@codesourcery.com>
21979
21980 * math/bug-nextafter.c: Include <math-tests.h>.
21981 (main): Only test for exceptions if EXCEPTION_TESTS is true for
21982 the relevant type.
21983 * math/bug-nexttoward.c: Include <math-tests.h>.
21984 (main): Only test for exceptions if EXCEPTION_TESTS is true for
21985 the relevant type.
21986 * math/test-misc.c: Include <math-tests.h>.
21987 (main): Only test for exceptions if EXCEPTION_TESTS is true for
21988 the relevant type.
21989
21990 2013-06-12 Andreas Jaeger <aj@suse.de>
21991
21992 * po/ia.po: Update Interlingua translation from translation
21993 project.
21994
21995 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
21996
21997 * include/fenv.h: Include stdbool.h.
21998 (struct rm_ctx): New structure.
21999 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
22000 Define macro.
22001 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
22002 (SET_RESTORE_ROUNDF): Likewise.
22003 (SET_RESTORE_ROUNDL): Likewise.
22004 (SET_RESTORE_ROUND_NOEX): Likewise.
22005 (SET_RESTORE_ROUND_NOEXF): Likewise.
22006 (SET_RESTORE_ROUND_NOEXL): Likewise.
22007 (SET_RESTORE_ROUND_53BIT): Likewise.
22008 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
22009 (libc_feresetround_noexf_ctx): Likewise.
22010 (libc_feresetround_noexl_ctx): Likewise.
22011 (libc_feholdsetround_53bit_ctx): Likewise.
22012 (libc_feresetround_53bit_ctx): Likewise.
22013 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
22014 (libc_feholdexcept_setround_sse_ctx): New function.
22015 (libc_fesetenv_sse_ctx): Likewise.
22016 (libc_feupdateenv_sse_ctx): Likewise.
22017 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
22018 (libc_feholdexcept_setround_387_ctx): Likewise.
22019 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
22020 (libc_feholdsetround_387_prec_ctx): Likewise.
22021 (libc_feholdsetround_387_ctx): Likewise.
22022 (libc_feholdsetround_387_53bit_ctx): Likewise.
22023 (libc_feholdsetround_sse_ctx): Likewise.
22024 (libc_feresetround_sse_ctx): Likewise.
22025 (libc_feresetround_387_ctx): Likewise.
22026 (libc_feupdateenv_387_ctx): Likewise.
22027 (libc_feholdexcept_setroundf_ctx): Define macro.
22028 (libc_fesetenvf_ctx): Likewise.
22029 (libc_feupdateenvf_ctx): Likewise.
22030 (libc_feholdsetroundf_ctx): Likewise.
22031 (libc_feresetroundf_ctx): Likewise.
22032 (libc_feholdexcept_setround_ctx): Likewise.
22033 (libc_fesetenv_ctx): Likewise.
22034 (libc_feupdateenv_ctx): Likewise.
22035 (libc_feholdsetround_ctx): Likewise.
22036 (libc_feresetround_ctx): Likewise.
22037 (libc_feholdexcept_setroundl_ctx): Likewise.
22038 (libc_feupdateenvl_ctx): Likewise.
22039 (libc_feholdsetroundl_ctx): Likewise.
22040 (libc_feresetroundl_ctx): Likewise.
22041 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
22042 (libc_feresetround_53bit_ctx): Likewise.
22043
22044 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
22045
22046 * locale/iso-639.def: Convert to UTF-8.
22047
22048 2013-06-11 Joseph Myers <joseph@codesourcery.com>
22049
22050 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
22051 (EXCEPTION_TESTS_double): Likewise.
22052 (EXCEPTION_TESTS_long_double): Likewise.
22053 (EXCEPTION_TESTS): Likewise.
22054 * math/libm-test.inc (test_exceptions): Only test exceptions if
22055 EXCEPTION_TESTS (FLOAT).
22056
22057 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
22058
22059 * benchtests/Makefile (string-bench): Add strcpy_chk and
22060 stpcpy_chk.
22061 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
22062 * benchtests/bench-stpcpy_chk.c: New file.
22063 * benchtests/bench-strcpy_chk-ifunc.c: New file.
22064 * benchtests/bench-strcpy_chk.c: New file.
22065 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
22066 code.
22067 (do_test): Likewise.
22068
22069 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
22070
22071 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
22072 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
22073 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
22074 with tabs where appropriate.
22075 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
22076 dl-procinfo.h.
22077 [PPC_PLATFORM_PPC440]: Likewise.
22078 [PPC_PLATFORM_PPC464]: Likewise.
22079 [PPC_PLATFORM_PPC476]: Likewise.
22080 (_dl_string_platform): Add support for detecting ppc405, ppc440,
22081 ppc464, and ppc476 platform strings merging from ports/
22082 dl-procinfo.h.
22083
22084 2013-06-11 Andreas Schwab <schwab@suse.de>
22085
22086 [BZ #14991]
22087 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
22088 (from_ucs4_idx): Regenerate.
22089 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
22090 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
22091 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
22092 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
22093 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
22094 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
22095 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
22096 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
22097 from FROM_LOOP and TO_LOOP specific macros.
22098 (BODY): Handle combining characters.
22099 * iconvdata/BIG5HKSCS.irreversible: Update.
22100 * iconvdata/BIG5HKSCS.precomposed: New file.
22101 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
22102 characters.
22103 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
22104
22105 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
22106
22107 * include/sys/time.h: Fix indentation and add copyright header.
22108
22109 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
22110 (do_test): Likewise.
22111 * string/test-memchr.c (do_one_test): Likewise.
22112 (do_test): Likewise.
22113 * string/test-memcmp.c (do_one_test): Likewise.
22114 (do_test): Likewise.
22115 * string/test-memcpy.c (do_one_test): Likewise.
22116 (do_test): Likewise.
22117 * string/test-memmem.c (do_one_test): Likewise.
22118 (do_test): Likewise.
22119 (do_random_tests): Likewise.
22120 * string/test-memmove.c (do_one_test): Likewise.
22121 (do_test): Likewise.
22122 * string/test-memset.c (do_one_test): Likewise.
22123 (do_test): Likewise.
22124 * string/test-rawmemchr.c (do_one_test): Likewise.
22125 (do_test): Likewise.
22126 * string/test-strcasecmp.c (do_one_test): Likewise.
22127 (do_test): Likewise.
22128 * string/test-strcasestr.c (do_one_test): Likewise.
22129 (do_test): Likewise.
22130 * string/test-strcat.c (do_one_test): Likewise.
22131 (do_test): Likewise.
22132 * string/test-strchr.c (do_one_test): Likewise.
22133 (do_test): Likewise.
22134 * string/test-strcmp.c (do_one_test): Likewise.
22135 (do_test): Likewise.
22136 * string/test-strcpy.c (do_one_test): Likewise.
22137 (do_test): Likewise.
22138 * string/test-string.h: Likewise.
22139 (test_init): Likewise.
22140 * string/test-strlen.c (do_one_test): Likewise.
22141 (do_test): Likewise.
22142 * string/test-strncasecmp.c (do_one_test): Likewise.
22143 (do_test): Likewise.
22144 * string/test-strncat.c (do_one_test): Likewise.
22145 (do_test): Likewise.
22146 * string/test-strncmp.c (do_one_test): Likewise.
22147 (do_test_limit): Likewise.
22148 (do_test): Likewise.
22149 * string/test-strncpy.c (do_one_test): Likewise.
22150 (do_test): Likewise.
22151 * string/test-strnlen.c (do_one_test): Likewise.
22152 (do_test): Likewise.
22153 * string/test-strpbrk.c (do_one_test): Likewise.
22154 (do_test): Likewise.
22155 * string/test-strrchr.c (do_one_test): Likewise.
22156 (do_test): Likewise.
22157 * string/test-strspn.c (do_one_test): Likewise.
22158 (do_test): Likewise.
22159 * string/test-strstr.c (do_one_test): Likewise.
22160 (do_test): Likewise.
22161
22162 * benchtests/Makefile (string-bench): Add string benchmarks.
22163 * benchtests/bench-bcopy-ifunc.c: New file.
22164 * benchtests/bench-bcopy.c: New file.
22165 * benchtests/bench-bzero-ifunc.c: New file.
22166 * benchtests/bench-bzero.c: New file.
22167 * benchtests/bench-memccpy-ifunc.c: New file.
22168 * benchtests/bench-memccpy.c: New file.
22169 * benchtests/bench-memchr-ifunc.c: New file.
22170 * benchtests/bench-memchr.c: New file.
22171 * benchtests/bench-memcmp-ifunc.c: New file.
22172 * benchtests/bench-memcmp.c: New file.
22173 * benchtests/bench-memmem-ifunc.c: New file.
22174 * benchtests/bench-memmem.c: New file.
22175 * benchtests/bench-memmove-ifunc.c: New file.
22176 * benchtests/bench-memmove.c: New file.
22177 * benchtests/bench-mempcpy-ifunc.c: New file.
22178 * benchtests/bench-mempcpy.c: New file.
22179 * benchtests/bench-memset-ifunc.c: New file.
22180 * benchtests/bench-memset.c: New file.
22181 * benchtests/bench-rawmemchr-ifunc.c: New file.
22182 * benchtests/bench-rawmemchr.c: New file.
22183 * benchtests/bench-stpcpy-ifunc.c: New file.
22184 * benchtests/bench-stpcpy.c: New file.
22185 * benchtests/bench-stpncpy-ifunc.c: New file.
22186 * benchtests/bench-stpncpy.c: New file.
22187 * benchtests/bench-strcasecmp-ifunc.c: New file.
22188 * benchtests/bench-strcasecmp.c: New file.
22189 * benchtests/bench-strcasestr-ifunc.c: New file.
22190 * benchtests/bench-strcasestr.c: New file.
22191 * benchtests/bench-strcat-ifunc.c: New file.
22192 * benchtests/bench-strcat.c: New file.
22193 * benchtests/bench-strchr-ifunc.c: New file.
22194 * benchtests/bench-strchr.c: New file.
22195 * benchtests/bench-strchrnul-ifunc.c: New file.
22196 * benchtests/bench-strchrnul.c: New file.
22197 * benchtests/bench-strcmp-ifunc.c: New file.
22198 * benchtests/bench-strcmp.c: New file.
22199 * benchtests/bench-strcpy-ifunc.c: New file.
22200 * benchtests/bench-strcpy.c: New file.
22201 * benchtests/bench-strcspn-ifunc.c: New file.
22202 * benchtests/bench-strcspn.c: New file.
22203 * benchtests/bench-strlen-ifunc.c: New file.
22204 * benchtests/bench-strlen.c: New file.
22205 * benchtests/bench-strncasecmp-ifunc.c: New file.
22206 * benchtests/bench-strncasecmp.c: New file.
22207 * benchtests/bench-strncat-ifunc.c: New file.
22208 * benchtests/bench-strncat.c: New file.
22209 * benchtests/bench-strncmp-ifunc.c: New file.
22210 * benchtests/bench-strncmp.c: New file.
22211 * benchtests/bench-strncpy-ifunc.c: New file.
22212 * benchtests/bench-strncpy.c: New file.
22213 * benchtests/bench-strnlen-ifunc.c: New file.
22214 * benchtests/bench-strnlen.c: New file.
22215 * benchtests/bench-strpbrk-ifunc.c: New file.
22216 * benchtests/bench-strpbrk.c: New file.
22217 * benchtests/bench-strrchr-ifunc.c: New file.
22218 * benchtests/bench-strrchr.c: New file.
22219 * benchtests/bench-strspn-ifunc.c: New file.
22220 * benchtests/bench-strspn.c: New file.
22221 * benchtests/bench-strstr-ifunc.c: New file.
22222 * benchtests/bench-strstr.c: New file.
22223
22224 * benchtests/Makefile: Disable parallel execution of targets.
22225 (string-bench): Add memcpy.
22226 (benchset): New variable to store a list of benchmark sets.
22227 (bench-func): Renamed from bench.
22228 (bench-set): New target.
22229 (bench): Depend on bench-func and bench-set.
22230 * benchtests/README: Add section on benchmark sets.
22231 * benchtests/bench-memcpy-ifunc.c: New file.
22232 * benchtests/bench-memcpy.c: New file.
22233 * benchtests/bench-string.h: New file.
22234
22235 2013-06-11 Andreas Schwab <schwab@suse.de>
22236
22237 [BZ #15577]
22238 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
22239 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
22240 values in the triple.
22241 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
22242 terminator in the group key.
22243
22244 2013-06-11 Andreas Jaeger <aj@suse.de>
22245
22246 * po/zh_TW.po: Update Chinese (traditional) translation from
22247 translation project.
22248
22249 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
22250
22251 * include/time.h (__clock_gettime): Add libc_hidden_proto.
22252 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
22253 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
22254 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
22255 (clock_getcpuclockid): Likewise.
22256 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
22257 Add weak_alias and libc_hidden_def.
22258 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
22259 * rt/clock_gettime.c (clock_gettime): Rename to
22260 __clock_gettime. Add weak_alias and libc_hidden_def.
22261 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
22262 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
22263 __clock_nanosleep. Add weak_alias and libc_hidden_def.
22264 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
22265 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
22266 Likewise.
22267 * rt/clock_settime.c (clock_settime): Rename to
22268 __clock_settime. Add weak_alias and libc_hidden_def.
22269 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
22270
22271 2013-06-10 Joseph Myers <joseph@codesourcery.com>
22272
22273 * mach/err_boot.sub: Remove trailing whitespace.
22274 * mach/err_ipc.sub: Likewise.
22275 * mach/err_mach.sub: Likewise.
22276
22277 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
22278 (ROUNDING_TESTS_double): Likewise.
22279 (ROUNDING_TESTS_long_double): Likewise.
22280 (ROUNDING_TESTS): Likewise.
22281 * math/libm-test.inc: Include <math-tests.h>.
22282 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
22283 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
22284 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
22285 (IF_ROUND_INIT_FE_UPWARD): Likewise.
22286
22287 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
22288
22289 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
22290 of assigning.
22291
22292 2013-06-08 Joseph Myers <joseph@codesourcery.com>
22293
22294 * sysdeps/gnu/errlist.awk: Do not generate space at end of
22295 otherwise empty TRANS lines.
22296 * sysdeps/gnu/errlist.c: Regenerated.
22297
22298 * catgets/gencat.c (error_print): Use (void) in function
22299 definition.
22300 * crypt/crypt_util.c (__init_des): Likewise.
22301 * crypt/speeds.c (Stop): Likewise.
22302 (main): Likewise.
22303 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
22304 * inet/ruserpass.c (token): Likewise.
22305 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
22306 * intl/localealias.c (extend_alias_table): Likewise.
22307 * intl/plural-exp.c (init_germanic_plural): Likewise.
22308 * libio/fcloseall.c (__fcloseall): Likewise.
22309 * libio/genops.c (_IO_flush_all): Likewise.
22310 (_IO_flush_all_linebuffered): Likewise.
22311 (_IO_cleanup): Likewise.
22312 (_IO_iter_begin): Likewise.
22313 (_IO_iter_end): Likewise.
22314 (_IO_list_lock): Likewise.
22315 (_IO_list_unlock): Likewise.
22316 (_IO_list_resetlock): Likewise.
22317 * libio/getchar.c (getchar): Likewise.
22318 * libio/getchar_u.c (getchar_unlocked): Likewise.
22319 * libio/getwchar.c (getwchar): Likewise.
22320 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
22321 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
22322 * login/getpt.c (__getpt): Likewise.
22323 * login/tst-utmp.c (main): Likewise.
22324 * malloc/hooks.c (__malloc_check_init): Likewise.
22325 * malloc/malloc.c (__malloc_stats): Likewise.
22326 * malloc/mtrace.c (tr_break): Likewise.
22327 (mtrace): Likewise.
22328 (muntrace): Likewise.
22329 * misc/fstab.c (endfsent): Likewise.
22330 * misc/getclktck.c (__getclktck): Likewise.
22331 * misc/getdtsz.c (__getdtablesize): Likewise.
22332 * misc/gethostid.c (gethostid): Likewise.
22333 * misc/getpagesize.c (__getpagesize): Likewise.
22334 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
22335 (__get_nprocs): Likewise.
22336 (__get_phys_pages): Likewise.
22337 (__get_avphys_pages): Likewise.
22338 * misc/getttyent.c (getttyent): Likewise.
22339 (setttyent): Likewise.
22340 (endttyent): Likewise.
22341 * misc/getusershell.c (getusershell): Likewise.
22342 (endusershell): Likewise.
22343 (setusershell): Likewise.
22344 (initshells): Likewise.
22345 * misc/hsearch.c (__hdestroy): Likewise.
22346 * misc/sync.c (sync): Likewise.
22347 * misc/syslog.c (closelog_internal): Likewise.
22348 (closelog): Likewise.
22349 * misc/ttyslot.c (ttyslot): Likewise.
22350 * misc/vhangup.c (vhangup): Likewise.
22351 * posix/fork.c (__fork): Likewise.
22352 * posix/getegid.c (__getegid): Likewise.
22353 * posix/geteuid.c (__geteuid): Likewise.
22354 * posix/getgid.c (__getgid): Likewise.
22355 * posix/getpid.c (__getpid): Likewise.
22356 * posix/getppid.c (__getppid): Likewise.
22357 * posix/getuid.c (__getuid): Likewise.
22358 * posix/pause.c (pause): Likewise.
22359 * posix/setpgrp.c (setpgrp): Likewise.
22360 * posix/setsid.c (__setsid): Likewise.
22361 * posix/test-vfork.c (noop): Likewise.
22362 * resolv/gethnamaddr.c (_endhtent): Likewise.
22363 (_gethtent): Likewise.
22364 (ht_endhostent): Likewise.
22365 (gethostent): Likewise.
22366 (dns_service): Likewise.
22367 * stdlib/drand48.c (drand48): Likewise.
22368 * stdlib/lrand48.c (lrand48): Likewise.
22369 * stdlib/mrand48.c (mrand48): Likewise.
22370 * stdlib/rand.c (rand): Likewise.
22371 * stdlib/random.c (__random): Likewise.
22372 * stdlib/setenv.c (clearenv): Likewise.
22373 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
22374 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
22375 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
22376 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
22377 (__get_nprocs): Likewise.
22378 (__get_phys_pages): Likewise.
22379 (__get_avphys_pages): Likewise.
22380 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
22381 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
22382 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
22383 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
22384 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
22385 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
22386 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
22387 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
22388 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
22389 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
22390 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
22391 * sysdeps/mach/hurd/sync.c (sync): Likewise.
22392 * sysdeps/posix/clock.c (clock): Likewise.
22393 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
22394 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
22395 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
22396 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
22397 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
22398 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
22399 (__get_nprocs_conf): Likewise.
22400 (__get_phys_pages): Likewise.
22401 (__get_avphys_pages): Likewise.
22402 * time/clock.c (clock): Likewise.
22403 * time/tzset.c (__tzname_max): Likewise.
22404
22405 2013-06-07 Joseph Myers <joseph@codesourcery.com>
22406
22407 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
22408 (__bswap_32): Do not use "register".
22409 * crypt/crypt.c (_ufc_doit_r): Likewise.
22410 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
22411 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
22412 * gmon/gmon.c (__monstartup): Likewise.
22413 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
22414 * hurd/hurdmalloc.c (more_memory): Likewise.
22415 (malloc): Likewise.
22416 (free): Likewise.
22417 (realloc): Likewise.
22418 (malloc_fork_prepare): Likewise.
22419 (malloc_fork_parent): Likewise.
22420 (malloc_fork_child): Likewise.
22421 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
22422 (_svcauth_des): Likewise.
22423 * inet/inet_lnaof.c (inet_lnaof): Likewise.
22424 * inet/inet_net.c (inet_network): Likewise.
22425 * inet/inet_netof.c (inet_netof): Likewise.
22426 * inet/rcmd.c (__validuser2_sa): Likewise.
22427 * io/fts.c (fts_open): Likewise.
22428 (fts_load): Likewise.
22429 (fts_close): Likewise.
22430 (fts_read): Likewise.
22431 (fts_children): Likewise.
22432 (fts_build): Likewise.
22433 (fts_stat): Likewise.
22434 (fts_sort): Likewise.
22435 (fts_alloc): Likewise.
22436 (fts_lfree): Likewise.
22437 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
22438 (_IO_file_xsgetn): Likewise.
22439 (_IO_file_xsgetn_mmap): Likewise.
22440 * libio/iofopncook.c (_IO_cookie_read): Likewise.
22441 (_IO_cookie_write): Likewise.
22442 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
22443 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
22444 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
22445 * malloc/obstack.c (_obstack_begin): Likewise.
22446 (_obstack_begin_1): Likewise.
22447 (_obstack_newchunk): Likewise.
22448 (_obstack_allocated_p): Likewise.
22449 (obstack_free): Likewise.
22450 (_obstack_memory_used): Likewise.
22451 * misc/getttyent.c (getttynam): Likewise.
22452 (getttyent): Likewise.
22453 (skip): Likewise.
22454 (value): Likewise.
22455 * misc/getusershell.c (initshells): Likewise.
22456 * misc/syslog.c (__vsyslog_chk): Likewise.
22457 * misc/ttyslot.c (ttyslot): Likewise.
22458 * nis/nis_hash.c (__nis_hash): Likewise.
22459 * posix/fnmatch_loop.c (FCT): Likewise.
22460 * posix/getconf.c (print_all): Likewise.
22461 (main): Likewise.
22462 * posix/getopt.c (exchange): Likewise.
22463 * posix/glob.c (globfree): Likewise.
22464 (prefix_array): Likewise.
22465 (__glob_pattern_type): Likewise.
22466 * resolv/arpa/nameser.h (NS_GET16): Likewise.
22467 (NS_GET32): Likewise.
22468 (NS_PUT16): Likewise.
22469 (NS_PUT32): Likewise.
22470 * resolv/gethnamaddr.c (getanswer): Likewise.
22471 (gethostbyname2): Likewise.
22472 (gethostbyaddr): Likewise.
22473 (_gethtent): Likewise.
22474 (_gethtbyname2): Likewise.
22475 (_gethtbyaddr): Likewise.
22476 * resolv/ns_print.c (dst_s_get_int16): Likewise.
22477 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
22478 * resolv/res_init.c (__res_vinit): Likewise.
22479 (net_mask): Likewise.
22480 * resolv/res_mkquery.c (outchar): Likewise.
22481 (PRINT): Likewise.
22482 * stdio-common/printf_fp.c (outchar): Likewise.
22483 (PRINT): Likewise.
22484 * stdio-common/printf_fphex.c (outchar): Likewise.
22485 (PRINT): Likewise.
22486 * stdio-common/printf_size.c (outchar): Likewise.
22487 (PRINT): Likewise.
22488 * stdio-common/test_rdwr.c (main): Likewise.
22489 * stdio-common/tfformat.c (matches): Likewise.
22490 * stdio-common/vfprintf.c (outchar): Likewise.
22491 (printf_unknown): Likewise.
22492 (buffered_vfprintf): Likewise.
22493 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
22494 * stdio-common/xbug.c (AppendToBuffer): Likewise.
22495 (ReadFile): Likewise.
22496 * stdlib/qsort.c (SWAP): Likewise.
22497 (_quicksort): Likewise.
22498 * stdlib/setenv.c (__add_to_environ): Likewise.
22499 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
22500 * stdlib/strtol_l.c (__strtol_l): Likewise.
22501 * stdlib/tst-strtod.c (main): Likewise.
22502 * stdlib/tst-strtol.c (main): Likewise.
22503 * stdlib/tst-strtoll.c (main): Likewise.
22504 * string/bits/string2.h (__strcmp_cc): Likewise.
22505 (__strcmp_cg): Likewise.
22506 (__strcspn_c1): Likewise.
22507 (__strcspn_c2): Likewise.
22508 (__strcspn_c3): Likewise.
22509 (__strspn_c1): Likewise.
22510 (__strspn_c2): Likewise.
22511 (__strspn_c3): Likewise.
22512 (__strsep_1c): Likewise.
22513 (__strsep_2c): Likewise.
22514 (__strsep_3c): Likewise.
22515 * string/memccpy.c (__memccpy): Likewise.
22516 * string/stpcpy.c (__stpcpy): Likewise.
22517 * string/strcmp.c (strcmp): Likewise.
22518 * string/strrchr.c (strrchr): Likewise.
22519 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
22520 Likewise.
22521 * sysdeps/mach/hurd/getcwd.c
22522 (_hurd_canonicalize_directory_name_internal): Likewise.
22523 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
22524 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
22525 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
22526 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
22527 Likewise, in both definitions.
22528 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
22529 definitions.
22530 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
22531 64] (__bswap_64): Likewise.
22532 * time/test_time.c (main): Likewise.
22533 * time/tzfile.c (__tzfile_read): Likewise.
22534 (__tzfile_compute): Likewise.
22535 * time/tzset.c (__tzset_parse_tz): Likewise.
22536 (tzset_internal): Likewise.
22537 (compute_change): Likewise.
22538 * wcsmbs/wcscat.c (__wcscat): Likewise.
22539 * wcsmbs/wcschr.c (wcschr): Likewise.
22540 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
22541 * wcsmbs/wcscspn.c (wcscspn): Likewise.
22542 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
22543 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
22544 * wcsmbs/wcsspn.c (wcsspn): Likewise.
22545 * wcsmbs/wcsstr.c (wcsstr): Likewise.
22546 * wcsmbs/wmemchr.c (wmemchr): Likewise.
22547 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
22548 * wcsmbs/wmemset.c (wmemset): Likewise.
22549
22550 2013-06-06 Joseph Myers <joseph@codesourcery.com>
22551
22552 * scripts/config.guess: Update to version 2013-05-16.
22553 * scripts/config.sub: Update to version 2013-04-24.
22554 * scripts/install-sh: Update to version 2011-11-20.07.
22555 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
22556 * scripts/move-if-change: Update to version 2012-01-06 07:23.
22557
22558 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
22559
22560 * debug/fgetws_u_chk.c: Fix leading whitespaces.
22561 * elf/sln.c: Likewise.
22562 * hurd/hurd/ioctl.h: Likewise.
22563 * hurd/hurdmalloc.c: Likewise.
22564 * hurd/xattr.c: Likewise.
22565 * include/shlib-compat.h: Likewise.
22566 * inet/ruserpass.c: Likewise.
22567 * libio/iofgets_u.c: Likewise.
22568 * libio/iofgetws_u.c: Likewise.
22569 * locale/programs/ld-identification.c: Likewise.
22570 * locale/programs/ld-time.c: Likewise.
22571 * mach/msg-destroy.c: Likewise.
22572 * nss/nss_files/files-netgrp.c: Likewise.
22573 * resolv/res_data.c: Likewise.
22574 * soft-fp/op-1.h: Likewise.
22575 * soft-fp/op-2.h: Likewise.
22576 * soft-fp/op-4.h: Likewise.
22577 * soft-fp/op-common.h: Likewise.
22578 * stdio-common/printf_fphex.c: Likewise.
22579 * stdlib/strtod_l.c: Likewise.
22580 * sunrpc/rpc/clnt.h: Likewise.
22581 * sysdeps/generic/framestate.c: Likewise.
22582 * sysdeps/i386/bsd-_setjmp.S: Likewise.
22583 * sysdeps/i386/bsd-setjmp.S: Likewise.
22584 * sysdeps/i386/__longjmp.S: Likewise.
22585 * sysdeps/i386/setjmp.S: Likewise.
22586 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
22587 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
22588 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
22589 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
22590 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
22591 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
22592 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
22593 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
22594 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
22595 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
22596 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
22597 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
22598 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
22599 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
22600 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
22601 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
22602 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
22603 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
22604 * sysdeps/ieee754/support.c: Likewise.
22605 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
22606 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
22607 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
22608 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
22609 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
22610 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
22611 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
22612 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
22613 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
22614 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
22615 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
22616 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
22617 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
22618 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
22619 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
22620 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
22621 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
22622 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
22623
22624 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
22625
22626 * posix/transbug.c: Remove executable mode.
22627
22628 2013-06-05 Joseph Myers <joseph@codesourcery.com>
22629
22630 * crypt/speeds.c: Remove trailing whitespace.
22631 * dlfcn/default.c: Likewise.
22632 * elf/ifuncdep2.c: Likewise.
22633 * elf/ifuncmain1.c: Likewise.
22634 * elf/ifuncmain1vis.c: Likewise.
22635 * elf/testobj.h: Likewise.
22636 * elf/tst-stackguard1.c: Likewise.
22637 * gmon/sys/gmon.h: Likewise.
22638 * hurd/hurdmsg.c: Likewise.
22639 * hurd/new-fd.c: Likewise.
22640 * hurd/ports-get.c: Likewise.
22641 * iconvdata/ibm1008_420.c: Likewise.
22642 * inet/tst-getni1.c: Likewise.
22643 * inet/tst-getni2.c: Likewise.
22644 * libio/ioungetc.c: Likewise.
22645 * libio/wfiledoalloc.c: Likewise.
22646 * manual/libm-err-tab.pl: Likewise.
22647 * math/w_dremf.c: Likewise.
22648 * misc/ftruncate.c: Likewise.
22649 * posix/bug-glob2.c: Likewise.
22650 * posix/tst-pcre.c: Likewise.
22651 * posix/wait4.c: Likewise.
22652 * resolv/README: Likewise.
22653 * resolv/res_debug.h: Likewise.
22654 * resolv/tst-inet_ntop.c: Likewise.
22655 * setjmp/bug269-setjmp.c: Likewise.
22656 * soft-fp/extended.h: Likewise.
22657 * soft-fp/op-1.h: Likewise.
22658 * soft-fp/op-2.h: Likewise.
22659 * soft-fp/op-4.h: Likewise.
22660 * soft-fp/op-8.h: Likewise.
22661 * soft-fp/testit.c: Likewise.
22662 * stdio-common/bug16.c: Likewise.
22663 * stdlib/random.c: Likewise.
22664 * sunrpc/rpcsvc/rquota.x: Likewise.
22665 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
22666 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
22667 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
22668 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
22669 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
22670 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
22671 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
22672 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
22673 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
22674 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
22675 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
22676 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
22677 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
22678 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
22679 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
22680 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
22681 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
22682 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
22683 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
22684 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
22685 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
22686 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
22687 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
22688 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
22689 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
22690 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
22691 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
22692 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
22693 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
22694 * sysdeps/ieee754/s_lib_version.c: Likewise.
22695 * sysdeps/mach/hurd/check_fds.c: Likewise.
22696 * sysdeps/mach/hurd/getsockname.c: Likewise.
22697 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
22698 * sysdeps/mach/hurd/recvfrom.c: Likewise.
22699 * sysdeps/powerpc/bits/link.h: Likewise.
22700 * sysdeps/powerpc/dl-procinfo.c: Likewise.
22701 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
22702 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
22703 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
22704 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
22705 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
22706 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
22707 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
22708 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
22709 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
22710 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
22711 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
22712 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
22713 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
22714 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
22715 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
22716 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
22717 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
22718 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
22719 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
22720 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
22721 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
22722 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
22723 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
22724 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
22725 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
22726 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
22727 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
22728 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
22729 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
22730 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
22731 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
22732 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
22733 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
22734 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
22735 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
22736 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
22737 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
22738 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
22739 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
22740 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
22741 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
22742 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
22743 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
22744 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
22745 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
22746 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
22747 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
22748 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
22749 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
22750 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
22751 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
22752 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
22753 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
22754 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
22755 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
22756 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
22757 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
22758 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
22759 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
22760 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
22761 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
22762 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
22763 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
22764 * sysdeps/powerpc/sysdep.h: Likewise.
22765 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
22766 * sysdeps/s390/s390-64/sub_n.S: Likewise.
22767 * sysdeps/sh/dl-trampoline.S: Likewise.
22768 * sysdeps/sh/memset.S: Likewise.
22769 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
22770 * sysdeps/sh/strlen.S: Likewise.
22771 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
22772 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
22773 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
22774 * sysdeps/sparc/sparc32/rem.S: Likewise.
22775 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
22776 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
22777 * sysdeps/sparc/sparc32/strchr.S: Likewise.
22778 * sysdeps/sparc/sparc32/udiv.S: Likewise.
22779 * sysdeps/sparc/sparc32/urem.S: Likewise.
22780 * sysdeps/sparc/sparc64/add_n.S: Likewise.
22781 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
22782 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
22783 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
22784 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
22785 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
22786 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
22787 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
22788 * sysdeps/unix/bsd/times.c: Likewise.
22789 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
22790 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
22791 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
22792 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
22793 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
22794 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
22795 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
22796 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
22797 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
22798 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
22799 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
22800 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
22801 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
22802 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
22803 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
22804 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
22805 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
22806 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
22807 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
22808 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
22809 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
22810 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
22811 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
22812 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
22813 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
22814 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
22815 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
22816 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
22817 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
22818 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
22819 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
22820 * sysdeps/x86_64/strcspn.S: Likewise.
22821
22822 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
22823
22824 * locale/C-translit.h: Revert #include <stdint.h> because this is a
22825 generated file. Regenerate properly from gen-translit.pl.
22826 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
22827 locale/C-translit.h.
22828
22829 2013-06-05 Andreas Schwab <schwab@suse.de>
22830
22831 [BZ #15100]
22832 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
22833 week as 6 instead of -1.
22834 * time/tst-strptime.c (day_tests): Add test case.
22835
22836 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
22837
22838 * sysdeps/generic/math_private.h
22839 (libc_feholdexcept_setround_53bit): Replace with
22840 libc_feholdsetround_53bit.
22841 (libc_feupdateenv_53bit): Replace with
22842 libc_feresetround_53bit.
22843 (SET_RESTORE_ROUND_53BIT): Adjust.
22844
22845 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
22846
22847 * string/test-strchrnul.c: Add copyright header.
22848
22849 * posix/tst-getaddrinfo4.c: Increase test timeout.
22850
22851 2013-06-03 Carlos O'Donell <carlos@redhat.com>
22852
22853 [BZ #15536]
22854 * math/libm-test.inc (MAX_EXP): Remove
22855 (MIN_EXP): Define.
22856 (ulp): Use MIN_EXP - MANT_DIG.
22857 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
22858
22859 2013-05-31 Carlos O'Donell <carlos@redhat.com>
22860
22861 * po/be.po: Revert last change.
22862 * po/zh_CN.po: Likewise.
22863 * po/header.pot: Likewise.
22864
22865 2013-05-31 Joseph Myers <joseph@codesourcery.com>
22866
22867 * Makefile ($(common-objpfx)linkobj/libc.so): Define
22868 link-libc-deps to empty as target-specific variable.
22869 * Makerules (link-libc-args): New variable.
22870 (libc-for-link): Likewise.
22871 (link-libc-deps): Likewise.
22872 (lib%.so): Depend on $(link-libc-deps). Link with
22873 $(link-libc-args).
22874 (build-module): Link with $(link-libc-args).
22875 (build-module-asneeded): Likewise.
22876 (build-module-helper-objlist): Filter out $(link-libc-deps) from
22877 list of objects.
22878 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
22879 target-specific variable.
22880 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
22881 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
22882 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
22883 libc.
22884 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
22885 libc and ld.so.
22886 ($(objpfx)libpcprofile.so): Likewise.
22887 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
22888 libc_nonshared.a.
22889 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
22890 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
22891 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
22892 $(link-libc-deps).
22893 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
22894 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
22895 * login/Makefile ($(objpfx)libutil.so): Likewise.
22896 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
22897 * math/Makefile ($(objpfx)libm.so): Likewise.
22898 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
22899 $(objpfx)libnsl.so): Define libc-for-link as target-specific
22900 variable instead of depending directly on libc.
22901 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
22902 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
22903 $(link-libc-deps).
22904 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
22905 libc.
22906 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
22907 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
22908 ($(objpfx)libanl.so): Likewise.
22909 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
22910 ld.so.
22911 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
22912 $(link-libc-deps).
22913 * sysdeps/i386/fpu/Makefile: Remove file.
22914 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
22915 ($(objpfx)libm.so): Remove dependency on ld.so.
22916
22917 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
22918
22919 [BZ # 15553]
22920 * nis/yp_xdr.c (XDRMAXNAME): Define.
22921 (XDRMAXRECORD): Define.
22922 (xdr_domainname): Use XDRMAXNAME.
22923 (xdr_mapname): Likewise.
22924 (xdr_peername): Likewise.
22925 (xdr_keydat): Use XDRMAXRECORD.
22926 (xdr_valdat): Likewise.
22927
22928 2013-05-30 Jeff Law <law@redhat.com>
22929
22930 [BZ #14256]
22931 * manual/errno.texi (ESTALE): Update to account for more than
22932 just NFS file systems.
22933 * sysdeps/gnu/errlist.c: Regenerated.
22934
22935 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
22936
22937 [BZ #15465]
22938 * elf/Makefile (tests): Add tst-null-argv.
22939 (modules-names): Add tst-null-argv-lib.
22940 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
22941 (tst-null-argv-ENV): Set environment for tst-null-argv.
22942 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
22943 (RTLD_PROGNAME): New macro.
22944 * elf/tst-null-argv.c: New test case.
22945 * elf/tst-null-argv-lib.c: Library for test case.
22946 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
22947 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
22948 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
22949 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
22950 * elf/dl-init.c (call_init): Likewise.
22951 (_dl_init): Likewise.
22952 * elf/dl-load.c (print_search_path): Likewise.
22953 (_dl_map_object): Likewise.
22954 * elf/dl-lookup.c (do_lookup_x): Likewise.
22955 (add_dependency): Likewise.
22956 (_dl_lookup_symbol_x): Likewise.
22957 (_dl_debug_bindings): Likewise.
22958 * elf/dl-open.c (_dl_show_scope): Likewise.
22959 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
22960 * elf/dl-version.c (match_symbol): Likewise.
22961 (_dl_check_map_versions): Likewise.
22962 * elf/rtld.c (dl_main): Likewise.
22963 (print_unresolved): Use RTLD_PROGNAME.
22964 (print_missing_version): Likewise.
22965 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
22966 (elf_machine_rela): Likewise.
22967 * sysdeps/powerpc/powerpc32/dl-machine.c
22968 (__process_machine_rela): Likewise.
22969 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
22970 Likewise.
22971 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
22972 Likewise.
22973 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
22974 Likewise.
22975 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
22976 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
22977 Likewise.
22978 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
22979 Likewise.
22980 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
22981
22982 2013-05-28 Carlos O'Donell <carlos@redhat.com>
22983
22984 * po/be.po: Add descriptive title.
22985 * po/zh_CN.po: Likewise.
22986 * po/header.pot: Likewise.
22987
22988 2013-05-28 Mike Frysinger <vapier@gentoo.org>
22989
22990 * locale/programs/locarchive.c (create_archive): Inlucde fname in
22991 error message.
22992 (enlarge_archive): Likewise.
22993
22994 2013-05-28 Ben North <ben@redfrontdoor.org>
22995
22996 * manual/arith.texi (frexp): It is the magnitude of the return
22997 value which lies in [0.5, 1), not the return value itself.
22998
22999 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23000
23001 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23002
23003 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
23004
23005 * stdio-common/bug26.c (main): Correct fscanf template.
23006
23007 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
23008 declare _dl_skip_args.
23009
23010 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
23011 Don't declare.
23012
23013 * manual/platform.texi: Add missing @end deftypefun.
23014
23015 2013-05-24 Joseph Myers <joseph@codesourcery.com>
23016
23017 [BZ #15529]
23018 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
23019 bit of mantissa of 2^16382.
23020 * math/libm-test.inc (hypot_test_data): Add more tests.
23021
23022 * math/libm-test.inc: Add drem and pow10 to list of tested
23023 functions.
23024 (pow10_test): New function.
23025 (drem_test): Likewise.
23026 (drem_test_tonearest): Likewise.
23027 (drem_test_towardzero): Likewise.
23028 (drem_test_downward): Likewise.
23029 (drem_test_upward): Likewise.
23030 (main): Call the new functions.
23031
23032 * math/libm-test.inc (finite_test_data): Remove.
23033 (finite_test): Run tests from isfinite_test_data.
23034 (gamma_test_data): Remove.
23035 (gamma_test): Run tests from lgamma_test_data.
23036 * sysdeps/i386/fpu/libm-test-ulps: Update.
23037 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23038
23039 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23040
23041 * manual/platform.texi: Add PowerPC PPR function set documentation.
23042 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
23043 implementation.
23044
23045 2013-05-24 Carlos O'Donell <carlos@redhat.com>
23046
23047 * math/libm-test.inc (MAX_EXP): Define.
23048 (ULPDIFF): Define.
23049 (ulp): New function.
23050 (check_float_internal): Use ULPDIFF.
23051 (cpow_test): Disable failing test.
23052 (check_ulp): Test ulp() implemetnation.
23053 (main): Call check_ulp before starting tests.
23054
23055 2013-05-24 Joseph Myers <joseph@codesourcery.com>
23056
23057 * math/gen-libm-test.pl (generate_testfile): Do not handle
23058 START_DATA and END_DATA.
23059 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
23060 END_DATA.
23061 (acos_tonearest_test_data): Likewise.
23062 (acos_towardzero_test_data): Likewise.
23063 (acos_downward_test_data): Likewise.
23064 (acos_upward_test_data): Likewise.
23065 (acosh_test_data): Likewise.
23066 (asin_test_data): Likewise.
23067 (asin_tonearest_test_data): Likewise.
23068 (asin_towardzero_test_data): Likewise.
23069 (asin_downward_test_data): Likewise.
23070 (asin_upward_test_data): Likewise.
23071 (asinh_test_data): Likewise.
23072 (atan_test_data): Likewise.
23073 (atanh_test_data): Likewise.
23074 (atan2_test_data): Likewise.
23075 (cabs_test_data): Likewise.
23076 (cacos_test_data): Likewise.
23077 (cacosh_test_data): Likewise.
23078 (carg_test_data): Likewise.
23079 (casin_test_data): Likewise.
23080 (casinh_test_data): Likewise.
23081 (catan_test_data): Likewise.
23082 (catanh_test_data): Likewise.
23083 (cbrt_test_data): Likewise.
23084 (ccos_test_data): Likewise.
23085 (ccosh_test_data): Likewise.
23086 (ceil_test_data): Likewise.
23087 (cexp_test_data): Likewise.
23088 (cimag_test_data): Likewise.
23089 (clog_test_data): Likewise.
23090 (clog10_test_data): Likewise.
23091 (conj_test_data): Likewise.
23092 (copysign_test_data): Likewise.
23093 (cos_test_data): Likewise.
23094 (cos_tonearest_test_data): Likewise.
23095 (cos_towardzero_test_data): Likewise.
23096 (cos_downward_test_data): Likewise.
23097 (cos_upward_test_data): Likewise.
23098 (cosh_test_data): Likewise.
23099 (cosh_tonearest_test_data): Likewise.
23100 (cosh_towardzero_test_data): Likewise.
23101 (cosh_downward_test_data): Likewise.
23102 (cosh_upward_test_data): Likewise.
23103 (cpow_test_data): Likewise.
23104 (cproj_test_data): Likewise.
23105 (creal_test_data): Likewise.
23106 (csin_test_data): Likewise.
23107 (csinh_test_data): Likewise.
23108 (csqrt_test_data): Likewise.
23109 (ctan_test_data): Likewise.
23110 (ctan_tonearest_test_data): Likewise.
23111 (ctan_towardzero_test_data): Likewise.
23112 (ctan_downward_test_data): Likewise.
23113 (ctan_upward_test_data): Likewise.
23114 (ctanh_test_data): Likewise.
23115 (ctanh_tonearest_test_data): Likewise.
23116 (ctanh_towardzero_test_data): Likewise.
23117 (ctanh_downward_test_data): Likewise.
23118 (ctanh_upward_test_data): Likewise.
23119 (erf_test_data): Likewise.
23120 (erfc_test_data): Likewise.
23121 (exp_test_data): Likewise.
23122 (exp_tonearest_test_data): Likewise.
23123 (exp_towardzero_test_data): Likewise.
23124 (exp_downward_test_data): Likewise.
23125 (exp_upward_test_data): Likewise.
23126 (exp10_test_data): Likewise.
23127 (exp2_test_data): Likewise.
23128 (expm1_test_data): Likewise.
23129 (fabs_test_data): Likewise.
23130 (fdim_test_data): Likewise.
23131 (finite_test_data): Likewise.
23132 (floor_test_data): Likewise.
23133 (fma_test_data): Likewise.
23134 (fma_towardzero_test_data): Likewise.
23135 (fma_downward_test_data): Likewise.
23136 (fma_upward_test_data): Likewise.
23137 (fmax_test_data): Likewise.
23138 (fmin_test_data): Likewise.
23139 (fmod_test_data): Likewise.
23140 (fpclassify_test_data): Likewise.
23141 (frexp_test_data): Likewise.
23142 (gamma_test_data): Likewise.
23143 (hypot_test_data): Likewise.
23144 (ilogb_test_data): Likewise.
23145 (isfinite_test_data): Likewise.
23146 (isgreater_test_data): Likewise.
23147 (isgreaterequal_test_data): Likewise.
23148 (isinf_test_data): Likewise.
23149 (isless_test_data): Likewise.
23150 (islessequal_test_data): Likewise.
23151 (islessgreater_test_data): Likewise.
23152 (isnan_test_data): Likewise.
23153 (isnormal_test_data): Likewise.
23154 (issignaling_test_data): Likewise.
23155 (isunordered_test_data): Likewise.
23156 (j0_test_data): Likewise.
23157 (j1_test_data): Likewise.
23158 (jn_test_data): Likewise.
23159 (ldexp_test_data): Likewise.
23160 (lgamma_test_data): Likewise.
23161 (lrint_test_data): Likewise.
23162 (lrint_tonearest_test_data): Likewise.
23163 (lrint_towardzero_test_data): Likewise.
23164 (lrint_downward_test_data): Likewise.
23165 (lrint_upward_test_data): Likewise.
23166 (llrint_test_data): Likewise.
23167 (llrint_tonearest_test_data): Likewise.
23168 (llrint_towardzero_test_data): Likewise.
23169 (llrint_downward_test_data): Likewise.
23170 (llrint_upward_test_data): Likewise.
23171 (log_test_data): Likewise.
23172 (log10_test_data): Likewise.
23173 (log1p_test_data): Likewise.
23174 (log2_test_data): Likewise.
23175 (logb_test_data): Likewise.
23176 (logb_downward_test_data): Likewise.
23177 (lround_test_data): Likewise.
23178 (llround_test_data): Likewise.
23179 (modf_test_data): Likewise.
23180 (nearbyint_test_data): Likewise.
23181 (nextafter_test_data): Likewise.
23182 (nexttoward_test_data): Likewise.
23183 (pow_test_data): Likewise.
23184 (pow_tonearest_test_data): Likewise.
23185 (pow_towardzero_test_data): Likewise.
23186 (pow_downward_test_data): Likewise.
23187 (pow_upward_test_data): Likewise.
23188 (remainder_test_data): Likewise.
23189 (remainder_tonearest_test_data): Likewise.
23190 (remainder_towardzero_test_data): Likewise.
23191 (remainder_downward_test_data): Likewise.
23192 (remainder_upward_test_data): Likewise.
23193 (remquo_test_data): Likewise.
23194 (rint_test_data): Likewise.
23195 (rint_tonearest_test_data): Likewise.
23196 (rint_towardzero_test_data): Likewise.
23197 (rint_downward_test_data): Likewise.
23198 (rint_upward_test_data): Likewise.
23199 (round_test_data): Likewise.
23200 (scalb_test_data): Likewise.
23201 (scalbn_test_data): Likewise.
23202 (scalbln_test_data): Likewise.
23203 (signbit_test_data): Likewise.
23204 (sin_test_data): Likewise.
23205 (sin_tonearest_test_data): Likewise.
23206 (sin_towardzero_test_data): Likewise.
23207 (sin_downward_test_data): Likewise.
23208 (sin_upward_test_data): Likewise.
23209 (sincos_test_data): Likewise.
23210 (sinh_test_data): Likewise.
23211 (sinh_tonearest_test_data): Likewise.
23212 (sinh_towardzero_test_data): Likewise.
23213 (sinh_downward_test_data): Likewise.
23214 (sinh_upward_test_data): Likewise.
23215 (sqrt_test_data): Likewise.
23216 (tan_test_data): Likewise.
23217 (tan_tonearest_test_data): Likewise.
23218 (tan_towardzero_test_data): Likewise.
23219 (tan_downward_test_data): Likewise.
23220 (tan_upward_test_data): Likewise.
23221 (tanh_test_data): Likewise.
23222 (tgamma_test_data): Likewise.
23223 (trunc_test_data): Likewise.
23224 (y0_test_data): Likewise.
23225 (y1_test_data): Likewise.
23226 (yn_test_data): Likewise.
23227 (significand_test_data): Likewise.
23228
23229 * math/gen-libm-test.pl (@functions): Remove variable.
23230 (generate_testfile): Don't handle START and END lines.
23231 * math/libm-test.inc (START): New macro.
23232 (END): Likewise.
23233 (END_COMPLEX): Likewise.
23234 (acos_test): Use END macro without arguments.
23235 (acos_test_tonearest): Likewise.
23236 (acos_test_towardzero): Likewise.
23237 (acos_test_downward): Likewise.
23238 (acos_test_upward): Likewise.
23239 (acosh_test): Likewise.
23240 (asin_test): Likewise.
23241 (asin_test_tonearest): Likewise.
23242 (asin_test_towardzero): Likewise.
23243 (asin_test_downward): Likewise.
23244 (asin_test_upward): Likewise.
23245 (asinh_test): Likewise.
23246 (atan_test): Likewise.
23247 (atanh_test): Likewise.
23248 (atan2_test): Likewise.
23249 (cabs_test): Likewise.
23250 (cacos_test): Use END_COMPLEX macro without arguments.
23251 (cacosh_test): Likewise.
23252 (carg_test): Use END macro without arguments.
23253 (casin_test): Use END_COMPLEX macro without arguments.
23254 (casinh_test): Likewise.
23255 (catan_test): Likewise.
23256 (catanh_test): Likewise.
23257 (cbrt_test): Use END macro without arguments.
23258 (ccos_test): Use END_COMPLEX macro without arguments.
23259 (ccosh_test): Likewise.
23260 (ceil_test): Use END macro without arguments.
23261 (cexp_test): Use END_COMPLEX macro without arguments.
23262 (cimag_test): Use END macro without arguments.
23263 (clog_test): Use END_COMPLEX macro without arguments.
23264 (clog10_test): Likewise.
23265 (conj_test): Likewise.
23266 (copysign_test): Use END macro without arguments.
23267 (cos_test): Likewise.
23268 (cos_test_tonearest): Likewise.
23269 (cos_test_towardzero): Likewise.
23270 (cos_test_downward): Likewise.
23271 (cos_test_upward): Likewise.
23272 (cosh_test): Likewise.
23273 (cosh_test_tonearest): Likewise.
23274 (cosh_test_towardzero): Likewise.
23275 (cosh_test_downward): Likewise.
23276 (cosh_test_upward): Likewise.
23277 (cpow_test): Use END_COMPLEX macro without arguments.
23278 (cproj_test): Likewise.
23279 (creal_test): Use END macro without arguments.
23280 (csin_test): Use END_COMPLEX macro without arguments.
23281 (csinh_test): Likewise.
23282 (csqrt_test): Likewise.
23283 (ctan_test): Likewise.
23284 (ctan_test_tonearest): Likewise.
23285 (ctan_test_towardzero): Likewise.
23286 (ctan_test_downward): Likewise.
23287 (ctan_test_upward): Likewise.
23288 (ctanh_test): Likewise.
23289 (ctanh_test_tonearest): Likewise.
23290 (ctanh_test_towardzero): Likewise.
23291 (ctanh_test_downward): Likewise.
23292 (ctanh_test_upward): Likewise.
23293 (erf_test): Use END macro without arguments.
23294 (erfc_test): Likewise.
23295 (exp_test): Likewise.
23296 (exp_test_tonearest): Likewise.
23297 (exp_test_towardzero): Likewise.
23298 (exp_test_downward): Likewise.
23299 (exp_test_upward): Likewise.
23300 (exp10_test): Likewise.
23301 (exp2_test): Likewise.
23302 (expm1_test): Likewise.
23303 (fabs_test): Likewise.
23304 (fdim_test): Likewise.
23305 (finite_test): Likewise.
23306 (floor_test): Likewise.
23307 (fma_test): Likewise.
23308 (fma_test_towardzero): Likewise.
23309 (fma_test_downward): Likewise.
23310 (fma_test_upward): Likewise.
23311 (fmax_test): Likewise.
23312 (fmin_test): Likewise.
23313 (fmod_test): Likewise.
23314 (fpclassify_test): Likewise.
23315 (frexp_test): Likewise.
23316 (gamma_test): Likewise.
23317 (hypot_test): Likewise.
23318 (ilogb_test): Likewise.
23319 (isfinite_test): Likewise.
23320 (isgreater_test): Likewise.
23321 (isgreaterequal_test): Likewise.
23322 (isinf_test): Likewise.
23323 (isless_test): Likewise.
23324 (islessequal_test): Likewise.
23325 (islessgreater_test): Likewise.
23326 (isnan_test): Likewise.
23327 (isnormal_test): Likewise.
23328 (issignaling_test): Likewise.
23329 (isunordered_test): Likewise.
23330 (j0_test): Likewise.
23331 (j1_test): Likewise.
23332 (jn_test): Likewise.
23333 (ldexp_test): Likewise.
23334 (lgamma_test): Likewise.
23335 (lrint_test): Likewise.
23336 (lrint_test_tonearest): Likewise.
23337 (lrint_test_towardzero): Likewise.
23338 (lrint_test_downward): Likewise.
23339 (lrint_test_upward): Likewise.
23340 (llrint_test): Likewise.
23341 (llrint_test_tonearest): Likewise.
23342 (llrint_test_towardzero): Likewise.
23343 (llrint_test_downward): Likewise.
23344 (llrint_test_upward): Likewise.
23345 (log_test): Likewise.
23346 (log10_test): Likewise.
23347 (log1p_test): Likewise.
23348 (log2_test): Likewise.
23349 (logb_test): Likewise.
23350 (logb_test_downward): Likewise.
23351 (lround_test): Likewise.
23352 (llround_test): Likewise.
23353 (modf_test): Likewise.
23354 (nearbyint_test): Likewise.
23355 (nextafter_test): Likewise.
23356 (nexttoward_test): Likewise.
23357 (pow_test): Likewise.
23358 (pow_test_tonearest): Likewise.
23359 (pow_test_towardzero): Likewise.
23360 (pow_test_downward): Likewise.
23361 (pow_test_upward): Likewise.
23362 (remainder_test): Likewise.
23363 (remainder_test_tonearest): Likewise.
23364 (remainder_test_towardzero): Likewise.
23365 (remainder_test_downward): Likewise.
23366 (remainder_test_upward): Likewise.
23367 (remquo_test): Likewise.
23368 (rint_test): Likewise.
23369 (rint_test_tonearest): Likewise.
23370 (rint_test_towardzero): Likewise.
23371 (rint_test_downward): Likewise.
23372 (rint_test_upward): Likewise.
23373 (round_test): Likewise.
23374 (scalb_test): Likewise.
23375 (scalbn_test): Likewise.
23376 (scalbln_test): Likewise.
23377 (signbit_test): Likewise.
23378 (sin_test): Likewise.
23379 (sin_test_tonearest): Likewise.
23380 (sin_test_towardzero): Likewise.
23381 (sin_test_downward): Likewise.
23382 (sin_test_upward): Likewise.
23383 (sincos_test): Likewise.
23384 (sinh_test): Likewise.
23385 (sinh_test_tonearest): Likewise.
23386 (sinh_test_towardzero): Likewise.
23387 (sinh_test_downward): Likewise.
23388 (sinh_test_upward): Likewise.
23389 (sqrt_test): Likewise.
23390 (tan_test): Likewise.
23391 (tan_test_tonearest): Likewise.
23392 (tan_test_towardzero): Likewise.
23393 (tan_test_downward): Likewise.
23394 (tan_test_upward): Likewise.
23395 (tanh_test): Likewise.
23396 (tgamma_test): Likewise.
23397 (trunc_test): Likewise.
23398 (y0_test): Likewise.
23399 (y1_test): Likewise.
23400 (yn_test): Likewise.
23401 (significand_test): Likewise.
23402
23403 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
23404
23405 [BZ #15381]
23406 * libio/genops.c (_IO_no_init): Initialize wide struct info.
23407
23408 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
23409
23410 [BZ #14894]
23411 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
23412 __ppc_mdoio and __ppc_mdoom.
23413 * manual/platform.texi: Document new functions __ppc_yield,
23414 __ppc_mdoio and __ppc_mdoom.
23415
23416 2013-05-22 Carlos O'Donell <carlos@redhat.com>
23417
23418 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
23419 (main): Mention "tls" pseudo-hwcap is legacy.
23420 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
23421
23422 2013-05-22 Joseph Myers <joseph@codesourcery.com>
23423
23424 * math/gen-libm-test.pl (parse_args): Output only string of
23425 arguments as text for test name, not full call or descriptions of
23426 tests for extra outputs.
23427 (generate_testfile): Do not pass function name to parse_args.
23428 Generate this_func variable from START.
23429 * math/libm-test.inc (struct test_f_f_data): Rename test_name
23430 field to arg_str.
23431 (struct test_ff_f_data): Likewise.
23432 (test_ff_f_data_nexttoward): Likewise.
23433 (struct test_fi_f_data): Likewise.
23434 (struct test_fl_f_data): Likewise.
23435 (struct test_if_f_data): Likewise.
23436 (struct test_fff_f_data): Likewise.
23437 (struct test_c_f_data): Likewise.
23438 (struct test_f_f1_data): Likewise. Remove field extra_name.
23439 (struct test_fF_f1_data): Likewise.
23440 (struct test_ffI_f1_data): Likewise.
23441 (struct test_c_c_data): Rename test_name field to arg_str.
23442 (struct test_cc_c_data): Likewise.
23443 (struct test_f_i_data): Likewise.
23444 (struct test_ff_i_data): Likewise.
23445 (struct test_f_l_data): Likewise.
23446 (struct test_f_L_data): Likewise.
23447 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
23448 and extra2_name.
23449 (COMMON_TEST_SETUP): New macro.
23450 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
23451 (COMMON_TEST_CLEANUP): Likewise.
23452 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
23453 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
23454 macros.
23455 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
23456 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
23457 macros.
23458 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
23459 (RUN_TEST_fff_f): Take argument string. Call new setup and
23460 cleanup macros.
23461 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
23462 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
23463 macros.
23464 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
23465 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
23466 macros.
23467 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
23468 (RUN_TEST_fF_f1): Take argument string. Call new setup and
23469 cleanup macros.
23470 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
23471 (RUN_TEST_fI_f1): Take argument string. Call new setup and
23472 cleanup macros.
23473 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
23474 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
23475 cleanup macros.
23476 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
23477 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
23478 macros.
23479 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
23480 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
23481 macros.
23482 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
23483 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
23484 macros.
23485 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
23486 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
23487 cleanup macros.
23488 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
23489 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
23490 cleanup macros.
23491 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
23492 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
23493 macros.
23494 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
23495 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
23496 cleanup macros.
23497 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
23498 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
23499 macros.
23500 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
23501 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
23502 macros.
23503 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
23504 (RUN_TEST_fFF_11): Take argument string. Call new setup and
23505 cleanup macros.
23506 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
23507
23508 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
23509
23510 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
23511 to _sifields.sigfault.
23512 (si_addr_lsb): Define new macro.
23513 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
23514 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
23515 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
23516
23517 2013-05-03 Carlos O'Donell <carlos at redhat.com>
23518
23519 [BZ #15441]
23520 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
23521 returns -1.
23522 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
23523 null return -1.
23524 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
23525 loading the domain.
23526
23527 2013-05-22 Joseph Myers <joseph@codesourcery.com>
23528
23529 * math/gen-libm-test.pl (parse_args): Do not include expected
23530 result in test name.
23531 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
23532 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
23533 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
23534 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
23535 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
23536 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23537
23538 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
23539
23540 * benchtests/Makefile: Sort function entries.
23541
23542 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
23543 tanh, asinh, acosh, atanh.
23544 * benchtests/acos-inputs: New file.
23545 * benchtests/acosh-inputs: New file.
23546 * benchtests/asin-inputs: New file.
23547 * benchtests/asinh-inputs: New file.
23548 * benchtests/atanh-inputs: New file.
23549 * benchtests/cosh-inputs: New file.
23550 * benchtests/log-inputs: New file.
23551 * benchtests/sinh-inputs: New file.
23552 * benchtests/tanh-inputs: New file.
23553
23554 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
23555
23556 [BZ #15339]
23557 * posix/tst-getaddrinfo4.c: New test.
23558 * posix/Makefile (tests): Add it.
23559
23560 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
23561
23562 [BZ #15339]
23563 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
23564 when no services were used.
23565 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
23566 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
23567
23568 2013-05-21 Andreas Schwab <schwab@suse.de>
23569
23570 [BZ #15014]
23571 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
23572 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
23573 successful.
23574 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
23575 redundant variable declarations and reallocation of buffer when
23576 parsing as IPv6 address. Always set NSS status when called from
23577 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
23578 buffer too small. Correct computation of needed size.
23579 * nss/Makefile (tests): Add test-digits-dots.
23580 * nss/test-digits-dots.c: New test.
23581
23582 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
23583
23584 * benchtests/Makefile: Remove instructions for adding
23585 benchmark tests.
23586 * benchtests/README: New file to explain how to execute and
23587 enhance the benchmark tests.
23588
23589 2013-05-21 Andreas Schwab <schwab@suse.de>
23590
23591 [BZ #15493]
23592 * setjmp/Makefile (tests): Add tst-sigsetjmp.
23593 * setjmp/tst-sigsetjmp.c: New test.
23594
23595 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
23596
23597 * sysdeps/x86_64/memset.S (memset): New implementation.
23598 (__bzero): Likewise.
23599 (__memset_tail): New function.
23600
23601 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
23602
23603 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
23604 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
23605 __memcpy_sse2_unaligned ifunc selection.
23606 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
23607 Add memcpy-sse2-unaligned.S.
23608 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
23609 Add: __memcpy_sse2_unaligned.
23610
23611 2013-05-19 Joseph Myers <joseph@codesourcery.com>
23612
23613 [BZ #15490]
23614 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
23615 math_force_eval before restoring floating-point envrionment.
23616 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
23617 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
23618 Likewise.
23619 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
23620 <math_private.h>.
23621 (__nearbyintl): Use math_force_eval before restoring
23622 floating-point environment.
23623 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
23624
23625 * math/gen-libm-test.pl (special_functions): Remove.
23626 (parse_args): Don't handle TEST_extra. Handle functions with no
23627 return value.
23628 * math/libm-test.inc (struct test_sincos_data): Replace with
23629 struct test_fFF_11_data.
23630 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
23631 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
23632 (sincos_test_data): Change element type to struct
23633 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
23634 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
23635 RUN_TEST_LOOP_sincos.
23636 * math/README.libm-test: Don't mention special handling of
23637 individual functions.
23638 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
23639 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
23640 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
23641 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
23642 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
23643 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23644
23645 * math/gen-libm-test.pl (get_variable): Remove function.
23646 (parse_args): Don't show pointer parameters to call in test
23647 names. Use "extra output N" in test names for extra outputs
23648 rather than naming variables.
23649
23650 2013-05-18 Joseph Myers <joseph@codesourcery.com>
23651
23652 [BZ #15488]
23653 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
23654 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
23655 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
23656 double tests.
23657 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
23658 disable.
23659 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
23660 check_long_double.
23661
23662 * math/gen-libm-test.pl (@tests): Remove variable.
23663 ($count): Likewise.
23664 (new_test): Remove function.
23665 (show_exceptions): New function.
23666 (special_functions): Use show_exceptions instead of new_test.
23667 (parse_args): Likewise.
23668 (generate_testfile): Pass only function name in generated call to
23669 print_max_error or print_complex_max_error.
23670 (get_ulps): Do not handle complex tests specially.
23671 (output_test): Rename to ...
23672 (get_all_ulps_for_test): ... this. Return a string rather than
23673 printing to a file. Require ulps to be present.
23674 (output_ulps): Generate arrays rather than #defines.
23675 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
23676 (struct ulp_data): New type.
23677 (BUILD_COMPLEX_ULP): Remove macro.
23678 (compare_ulp_data): New function.
23679 (find_ulps): Likewise.
23680 (find_test_ulps): Likewise.
23681 (find_function_ulps): Likewise.
23682 (find_complex_function_ulps): Likewise.
23683 (print_max_error): Determine allowed ulps using
23684 find_function_ulps.
23685 (print_complex_max_error): Determine allowed ulps using
23686 find_complex_function_ulps.
23687 (check_float_internal): Determine max ulps using find_test_ulps.
23688 (check_float): Do not take max_ulp parameter. Update call to
23689 check_float_internal.
23690 (check_complex): Likewise.
23691 (check_int): Do not take max_ulp parameter.
23692 (check_long): Likewise.
23693 (check_bool): Likewise.
23694 (check_longlong): Likewise.
23695 (struct test_f_f_data): Remove max_ulp field.
23696 (struct test_ff_f_data): Likewise.
23697 (struct test_ff_f_data_nexttoward): Likewise.
23698 (struct test_fi_f_data): Likewise.
23699 (struct test_fl_f_data): Likewise.
23700 (struct test_if_f_data): Likewise.
23701 (struct test_fff_f_data): Likewise.
23702 (struct test_c_f_data): Likewise.
23703 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
23704 (struct test_fF_f1_data): Likewise.
23705 (struct test_ffI_f1_data): Likewise.
23706 (struct test_c_c_data): Remove max_ulp field.
23707 (struct test_cc_c_data): Likewise.
23708 (struct test_f_i_data): Likewise.
23709 (struct test_ff_i_data): Likewise.
23710 (struct test_f_l_data): Likewise.
23711 (struct test_f_L_data): Likewise.
23712 (struct test_sincos_data): Likewise.
23713 (RUN_TEST_f_f): Do not handle ulps.
23714 (RUN_TEST_LOOP_f_f): Likewise.
23715 (RUN_TEST_2_f): Likewise.
23716 (RUN_TEST_LOOP_2_f): Likewise.
23717 (RUN_TEST_fff_f): Likewise.
23718 (RUN_TEST_LOOP_fff_f): Likewise.
23719 (RUN_TEST_c_f): Likewise.
23720 (RUN_TEST_LOOP_c_f): Likewise.
23721 (RUN_TEST_f_f1): Likewise.
23722 (RUN_TEST_LOOP_f_f1): Likewise.
23723 (RUN_TEST_fF_f1): Likewise.
23724 (RUN_TEST_LOOP_fF_f1): Likewise.
23725 (RUN_TEST_fI_f1): Likewise.
23726 (RUN_TEST_LOOP_fI_f1): Likewise.
23727 (RUN_TEST_ffI_f1): Likewise.
23728 (RUN_TEST_LOOP_ffI_f1): Likewise.
23729 (RUN_TEST_c_c): Likewise.
23730 (RUN_TEST_LOOP_c_c): Likewise.
23731 (RUN_TEST_cc_c): Likewise.
23732 (RUN_TEST_LOOP_cc_c): Likewise.
23733 (RUN_TEST_f_i): Likewise.
23734 (RUN_TEST_LOOP_f_i): Likewise.
23735 (RUN_TEST_f_i_tg): Likewise.
23736 (RUN_TEST_LOOP_f_i_tg): Likewise.
23737 (RUN_TEST_ff_i_tg): Likewise.
23738 (RUN_TEST_LOOP_ff_i_tg): Likewise.
23739 (RUN_TEST_f_b): Likewise.
23740 (RUN_TEST_LOOP_f_b): Likewise.
23741 (RUN_TEST_f_b_tg): Likewise.
23742 (RUN_TEST_LOOP_f_b_tg): Likewise.
23743 (RUN_TEST_f_l): Likewise.
23744 (RUN_TEST_LOOP_f_l): Likewise.
23745 (RUN_TEST_f_L): Likewise.
23746 (RUN_TEST_LOOP_f_L): Likewise.
23747 (RUN_TEST_sincos): Likewise.
23748 (RUN_TEST_LOOP_sincos): Likewise.
23749
23750 2013-05-17 Joseph Myers <joseph@codesourcery.com>
23751
23752 [BZ #15480]
23753 [BZ #15485]
23754 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
23755 main case of finite arguments, set rounding mode to FE_TONEAREST
23756 and discard exceptions.
23757 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
23758 exceptions.
23759 (remainder_tonearest_test_data): New variable.
23760 (remainder_test_tonearest): New function.
23761 (remainder_towardzero_test_data): New variable.
23762 (remainder_test_towardzero): New function.
23763 (remainder_downward_test_data): New variable.
23764 (remainder_test_downward): New function.
23765 (remainder_upward_test_data): New variable.
23766 (remainder_test_upward): New function.
23767 (main): Call the new test functions.
23768
23769 * math/libm-test.inc (struct test_f_f1_data): Remove field
23770 extra_init.
23771 (struct test_fF_f1_data): Likewise.
23772 (struct test_ffI_f1_data): Likewise.
23773 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
23774 based on value of EXTRA_EXPECTED.
23775 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
23776 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
23777 EXTRA_VAR based on value of EXTRA_EXPECTED.
23778 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
23779 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
23780 EXTRA_VAR based on value of EXTRA_EXPECTED.
23781 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
23782 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
23783 EXTRA_VAR based on value of EXTRA_EXPECTED.
23784 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
23785 * math/gen-libm-test.pl (parse_args): Don't output initializers
23786 for extra output values.
23787
23788 * math/libm-test.inc (check_int): Expect result to be exactly
23789 equal to expected value and do not handle ulps.
23790 (check_long): Likewise.
23791 (check_longlong): Likewise.
23792
23793 * math/libm-test.inc (ceil_test_data): Test for "inexact"
23794 exceptions.
23795 (cimag_test_data): Likewise.
23796 (conj_test_data): Likewise.
23797 (copysign_test_data): Likewise.
23798 (cproj_test_data): Likewise.
23799 (creal_test_data): Likewise.
23800 (fabs_test_data): Likewise.
23801 (fdim_test_data): Likewise.
23802 (finite_test_data): Likewise.
23803 (floor_test_data): Likewise.
23804 (fmax_test_data): Likewise.
23805 (fmin_test_data): Likewise.
23806 (fmod_test_data): Likewise.
23807 (fpclassify_test_data): Likewise.
23808 (frexp_test_data): Likewise.
23809 (ilogb_test_data): Likewise.
23810 (isfinite_test_data): Likewise.
23811 (isgreater_test_data): Likewise.
23812 (isgreaterequal_test_data): Likewise.
23813 (isinf_test_data): Likewise.
23814 (isless_test_data): Likewise.
23815 (islessequal_test_data): Likewise.
23816 (islessgreater_test_data): Likewise.
23817 (isnan_test_data): Likewise.
23818 (isnormal_test_data): Likewise.
23819 (issignaling_test_data): Likewise.
23820 (isunordered_test_data): Likewise.
23821 (ldexp_test_data): Likewise.
23822 (lrint_test_data): Likewise.
23823 (lrint_test_data) [TEST_FLOAT]: Disable one test.
23824 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
23825 (lrint_tonearest_test_data): Test for "inexact" exceptions.
23826 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
23827 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
23828 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
23829 test input.
23830 (lrint_towardzero_test_data): Test for "inexact" exceptions.
23831 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
23832 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
23833 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
23834 that test input.
23835 (lrint_downward_test_data): Test for "inexact" exceptions.
23836 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
23837 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
23838 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
23839 test input.
23840 (lrint_upward_test_data): Test for "inexact" exceptions.
23841 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
23842 test input.
23843 (llrint_test_data): Test for "inexact" exceptions.
23844 (llrint_test_data) [TEST_FLOAT]: Disable one test.
23845 (llrint_tonearest_test_data): Test for "inexact" exceptions.
23846 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
23847 (llrint_towardzero_test_data): Test for "inexact" exceptions.
23848 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
23849 (llrint_downward_test_data): Test for "inexact" exceptions.
23850 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
23851 (llrint_upward_test_data): Test for "inexact" exceptions.
23852 (logb_test_data): Likewise.
23853 (logb_downward_test_data): Likewise.
23854 (nextafter_test_data): Likewise.
23855 (nexttoward_test_data): Likewise.
23856 (remainder_test_data): Likewise.
23857 (remquo_test_data): Likewise.
23858 (scalbn_test_data): Likewise.
23859 (scalbln_test_data): Likewise.
23860 (signbit_test_data): Likewise.
23861 (sqrt_test_data): Likewise.
23862 (significand_test_data): Likewise.
23863
23864 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
23865
23866 [BZ #15424]
23867 * benchtests/bench-modf.c (struct args): Mark arg0 as
23868 volatile.
23869 * scripts/bench.pl: Mark members of struct args as volatile.
23870
23871 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23872
23873 [BZ # 15497]
23874 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
23875 negative infinity on POWER6 or lower.
23876 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
23877
23878 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
23879
23880 [BZ #15442]
23881 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
23882 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
23883 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
23884 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
23885 (_FP_SETQNAN): New macro.
23886 (_FP_SETQNAN_SEMIRAW): Likewise.
23887 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
23888 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
23889 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
23890 (FP_EXTEND): Use _FP_FRAC_SNANP.
23891 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
23892 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
23893 into account.
23894 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
23895 New macro.
23896 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
23897 Likewise.
23898
23899 2013-05-16 Joseph Myers <joseph@codesourcery.com>
23900
23901 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
23902 with DIVIDE_BY_ZERO_EXCEPTION.
23903 (gamma_test_data): Likewise.
23904 (lgamma_test_data): Likewise.
23905 (log_test_data): Likewise.
23906 (log10_test_data): Likewise.
23907 (log2_test_data): Likewise.
23908 (tgamma_test_data): Likewise.
23909
23910 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
23911 (acos_test_tonearest): Likewise.
23912 (acos_test_towardzero): Likewise.
23913 (acos_test_downward): Likewise.
23914 (acos_test_upward): Likewise.
23915 (acosh_test): Likewise.
23916 (asin_test): Likewise.
23917 (asin_test_tonearest): Likewise.
23918 (asin_test_towardzero): Likewise.
23919 (asin_test_downward): Likewise.
23920 (asin_test_upward): Likewise.
23921 (asinh_test): Likewise.
23922 (atan_test): Likewise.
23923 (atanh_test): Likewise.
23924 (atan2_test): Likewise.
23925 (cabs_test): Likewise.
23926 (cacos_test): Likewise.
23927 (cacosh_test): Likewise.
23928 (casin_test): Likewise.
23929 (casinh_test): Likewise.
23930 (catan_test): Likewise.
23931 (catanh_test): Likewise.
23932 (cbrt_test): Likewise.
23933 (ccos_test): Likewise.
23934 (ccosh_test): Likewise.
23935 (cexp_test): Likewise.
23936 (clog_test): Likewise.
23937 (clog10_test): Likewise.
23938 (cos_test): Likewise.
23939 (cos_test_tonearest): Likewise.
23940 (cos_test_towardzero): Likewise.
23941 (cos_test_downward): Likewise.
23942 (cos_test_upward): Likewise.
23943 (cosh_test): Likewise.
23944 (cosh_test_tonearest): Likewise.
23945 (cosh_test_towardzero): Likewise.
23946 (cosh_test_downward): Likewise.
23947 (cosh_test_upward): Likewise.
23948 (cpow_test): Likewise.
23949 (csin_test): Likewise.
23950 (csinh_test): Likewise.
23951 (csqrt_test): Likewise.
23952 (ctan_test): Likewise.
23953 (ctan_test_tonearest): Likewise.
23954 (ctan_test_towardzero): Likewise.
23955 (ctan_test_downward): Likewise.
23956 (ctan_test_upward): Likewise.
23957 (ctanh_test): Likewise.
23958 (ctanh_test_tonearest): Likewise.
23959 (ctanh_test_towardzero): Likewise.
23960 (ctanh_test_downward): Likewise.
23961 (ctanh_test_upward): Likewise.
23962 (erf_test): Likewise.
23963 (erfc_test): Likewise.
23964 (exp_test): Likewise.
23965 (exp_test_tonearest): Likewise.
23966 (exp_test_towardzero): Likewise.
23967 (exp_test_downward): Likewise.
23968 (exp_test_upward): Likewise.
23969 (exp10_test): Likewise.
23970 (exp2_test): Likewise.
23971 (expm1_test): Likewise.
23972 (fmod_test): Likewise.
23973 (gamma_test): Likewise.
23974 (hypot_test): Likewise.
23975 (j0_test): Likewise.
23976 (j1_test): Likewise.
23977 (jn_test): Likewise.
23978 (lgamma_test): Likewise.
23979 (log_test): Likewise.
23980 (log10_test): Likewise.
23981 (log1p_test): Likewise.
23982 (log2_test): Likewise.
23983 (logb_test_downward): Likewise.
23984 (pow_test): Likewise.
23985 (pow_test_tonearest): Likewise.
23986 (pow_test_towardzero): Likewise.
23987 (pow_test_downward): Likewise.
23988 (pow_test_upward): Likewise.
23989 (remainder_test): Likewise.
23990 (remquo_test): Likewise.
23991 (sin_test): Likewise.
23992 (sin_test_tonearest): Likewise.
23993 (sin_test_towardzero): Likewise.
23994 (sin_test_downward): Likewise.
23995 (sin_test_upward): Likewise.
23996 (sincos_test): Likewise.
23997 (sinh_test): Likewise.
23998 (sinh_test_tonearest): Likewise.
23999 (sinh_test_towardzero): Likewise.
24000 (sinh_test_downward): Likewise.
24001 (sinh_test_upward): Likewise.
24002 (sqrt_test): Likewise.
24003 (tan_test): Likewise.
24004 (tan_test_tonearest): Likewise.
24005 (tan_test_towardzero): Likewise.
24006 (tan_test_downward): Likewise.
24007 (tan_test_upward): Likewise.
24008 (tanh_test): Likewise.
24009 (tgamma_test): Likewise.
24010 (y0_test): Likewise.
24011 (y1_test): Likewise.
24012 (yn_test): Likewise.
24013
24014 * math/gen-libm-test.pl (adjust_arg): Remove function.
24015 (special_function): Remove argument $in_func. Only handle
24016 generating output for tables of tests, not inside functions.
24017 (parse_args): Likewise.
24018 (generate_testfile): Remove variable $in_func. Update call to
24019 parse_args.
24020 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
24021 (MINUS_ZERO_INIT): Rename macro to minus_zero.
24022 (PLUS_INFTY_INIT): Rename macro to plus_infty.
24023 (MINUS_INFTY_INIT): Rename macro to minus_infty.
24024 (QNAN_VALUE_INIT): Rename macro to qnan_value.
24025 (MAX_VALUE_INIT): Rename macro to max_value.
24026 (MIN_VALUE_INIT): Rename macro to min_value.
24027 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
24028 (plus_zero): Remove variable.
24029 (minus_zero): Likewise.
24030 (plus_infty): Likewise.
24031 (minus_infty): Likewise.
24032 (qnan_value): Likewise.
24033 (max_value): Likewise.
24034 (min_value): Likewise.
24035 (min_subnorm_value): Likewise.
24036
24037 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
24038
24039 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
24040 uint64_t or uint32_t usage.
24041 * crypt/sha256-block.c: Likewise.
24042 * crypt/sha256-crypt.c: Likewise.
24043 * crypt/sha256.c: Likewise.
24044 * crypt/sha512-block.c: Likewise.
24045 * crypt/sha512-crypt.c: Likewise.
24046 * crypt/sha512.c: Likewise.
24047 * debug/backtrace-tst.c: Likewise.
24048 * debug/pcprofiledump.c: Likewise.
24049 * elf/cache.c: Likewise.
24050 * elf/dl-cache.c: Likewise.
24051 * elf/dl-misc.c: Likewise.
24052 * elf/dl-profile.c: Likewise.
24053 * elf/dl-support.c: Likewise.
24054 * elf/ldconfig.c: Likewise.
24055 * elf/sprof.c: Likewise.
24056 * iconv/dummy-repertoire.c: Likewise.
24057 * iconv/iconv_charmap.c: Likewise.
24058 * iconv/skeleton.c: Likewise.
24059 * iconvdata/8bit-generic.c: Likewise.
24060 * iconvdata/cp737.h: Likewise.
24061 * iconvdata/cp775.h: Likewise.
24062 * iconvdata/ibm1008.h: Likewise.
24063 * iconvdata/ibm1025.h: Likewise.
24064 * iconvdata/ibm1046.h: Likewise.
24065 * iconvdata/ibm1097.h: Likewise.
24066 * iconvdata/ibm1112.h: Likewise.
24067 * iconvdata/ibm1122.h: Likewise.
24068 * iconvdata/ibm1123.h: Likewise.
24069 * iconvdata/ibm1124.h: Likewise.
24070 * iconvdata/ibm1129.h: Likewise.
24071 * iconvdata/ibm1130.h: Likewise.
24072 * iconvdata/ibm1132.h: Likewise.
24073 * iconvdata/ibm1133.h: Likewise.
24074 * iconvdata/ibm1137.h: Likewise.
24075 * iconvdata/ibm1140.h: Likewise.
24076 * iconvdata/ibm1141.h: Likewise.
24077 * iconvdata/ibm1142.h: Likewise.
24078 * iconvdata/ibm1143.h: Likewise.
24079 * iconvdata/ibm1144.h: Likewise.
24080 * iconvdata/ibm1145.h: Likewise.
24081 * iconvdata/ibm1146.h: Likewise.
24082 * iconvdata/ibm1147.h: Likewise.
24083 * iconvdata/ibm1148.h: Likewise.
24084 * iconvdata/ibm1149.h: Likewise.
24085 * iconvdata/ibm1153.h: Likewise.
24086 * iconvdata/ibm1154.h: Likewise.
24087 * iconvdata/ibm1155.h: Likewise.
24088 * iconvdata/ibm1156.h: Likewise.
24089 * iconvdata/ibm1157.h: Likewise.
24090 * iconvdata/ibm1158.h: Likewise.
24091 * iconvdata/ibm1160.h: Likewise.
24092 * iconvdata/ibm1161.h: Likewise.
24093 * iconvdata/ibm1162.h: Likewise.
24094 * iconvdata/ibm1163.h: Likewise.
24095 * iconvdata/ibm1164.h: Likewise.
24096 * iconvdata/ibm1166.h: Likewise.
24097 * iconvdata/ibm1167.h: Likewise.
24098 * iconvdata/ibm12712.h: Likewise.
24099 * iconvdata/ibm1390.h: Likewise.
24100 * iconvdata/ibm1399.h: Likewise.
24101 * iconvdata/ibm16804.h: Likewise.
24102 * iconvdata/ibm4517.h: Likewise.
24103 * iconvdata/ibm4899.h: Likewise.
24104 * iconvdata/ibm4909.h: Likewise.
24105 * iconvdata/ibm4971.h: Likewise.
24106 * iconvdata/ibm5347.h: Likewise.
24107 * iconvdata/ibm803.h: Likewise.
24108 * iconvdata/ibm856.h: Likewise.
24109 * iconvdata/ibm901.h: Likewise.
24110 * iconvdata/ibm902.h: Likewise.
24111 * iconvdata/ibm9030.h: Likewise.
24112 * iconvdata/ibm9066.h: Likewise.
24113 * iconvdata/ibm921.h: Likewise.
24114 * iconvdata/ibm922.h: Likewise.
24115 * iconvdata/ibm9448.h: Likewise.
24116 * iconvdata/isiri-3342.h: Likewise.
24117 * iconvdata/jis0201.h: Likewise.
24118 * include/link.h: Likewise.
24119 * include/netdb.h: Likewise.
24120 * inet/check_native.c: Likewise.
24121 * inet/check_pf.c: Likewise.
24122 * inet/getipv4sourcefilter.c: Likewise.
24123 * inet/getnameinfo.c: Likewise.
24124 * inet/getsourcefilter.c: Likewise.
24125 * inet/htonl.c: Likewise.
24126 * inet/setipv4sourcefilter.c: Likewise.
24127 * inet/setsourcefilter.c: Likewise.
24128 * inet/test-inet6_opt.c: Likewise.
24129 * inet/tst-network.c: Likewise.
24130 * locale/C-collate.c: Likewise.
24131 * locale/C-ctype.c: Likewise.
24132 * locale/C-time.c: Likewise.
24133 * locale/C-translit.h: Likewise.
24134 * locale/loadarchive.c: Likewise.
24135 * locale/programs/3level.h: Likewise.
24136 * locale/programs/charmap.c: Likewise.
24137 * locale/programs/charmap.h: Likewise.
24138 * locale/programs/ld-address.c: Likewise.
24139 * locale/programs/ld-collate.c: Likewise.
24140 * locale/programs/ld-ctype.c: Likewise.
24141 * locale/programs/ld-identification.c: Likewise.
24142 * locale/programs/ld-measurement.c: Likewise.
24143 * locale/programs/ld-messages.c: Likewise.
24144 * locale/programs/ld-monetary.c: Likewise.
24145 * locale/programs/ld-name.c: Likewise.
24146 * locale/programs/ld-numeric.c: Likewise.
24147 * locale/programs/ld-paper.c: Likewise.
24148 * locale/programs/ld-telephone.c: Likewise.
24149 * locale/programs/ld-time.c: Likewise.
24150 * locale/programs/linereader.c: Likewise.
24151 * locale/programs/locale.c: Likewise.
24152 * locale/programs/locarchive.c: Likewise.
24153 * locale/programs/locfile.h: Likewise.
24154 * locale/programs/repertoire.c: Likewise.
24155 * locale/programs/simple-hash.c: Likewise.
24156 * locale/programs/simple-hash.h: Likewise.
24157 * malloc/memusage.c: Likewise.
24158 * malloc/memusagestat.c: Likewise.
24159 * nis/nis_defaults.c: Likewise.
24160 * nis/nis_hash.c: Likewise.
24161 * nis/nis_print.c: Likewise.
24162 * nis/nis_xdr.c: Likewise.
24163 * nscd/connections.c: Likewise.
24164 * nscd/hstcache.c: Likewise.
24165 * nscd/nscd_gethst_r.c: Likewise.
24166 * nscd/nscd_getserv_r.c: Likewise.
24167 * nscd/nscd_helper.c: Likewise.
24168 * nscd/servicescache.c: Likewise.
24169 * nss/makedb.c: Likewise.
24170 * nss/nss_db/db-XXX.c: Likewise.
24171 * nss/nss_db/db-initgroups.c: Likewise.
24172 * nss/nss_db/db-netgrp.c: Likewise.
24173 * nss/nss_files/files-network.c: Likewise.
24174 * nss/nss_files/files-parse.c: Likewise.
24175 * posix/bug-regex5.c: Likewise.
24176 * posix/fnmatch_loop.c: Likewise.
24177 * posix/regcomp.c: Likewise.
24178 * posix/regexec.c: Likewise.
24179 * posix/tst-rfc3484-2.c: Likewise.
24180 * posix/tst-rfc3484-3.c: Likewise.
24181 * posix/tst-rfc3484.c: Likewise.
24182 * resolv/nss_dns/dns-canon.c: Likewise.
24183 * resolv/nss_dns/dns-network.c: Likewise.
24184 * resolv/res_init.c: Likewise.
24185 * resolv/res_mkquery.c: Likewise.
24186 * resolv/tst-aton.c: Likewise.
24187 * stdlib/cxa_atexit.c: Likewise.
24188 * stdlib/cxa_finalize.c: Likewise.
24189 * stdlib/gen-fpioconst.c: Likewise.
24190 * stdlib/strtol_l.c: Likewise.
24191 * string/tst-endian.c: Likewise.
24192 * sunrpc/auth_des.c: Likewise.
24193 * sunrpc/clnt_udp.c: Likewise.
24194 * sunrpc/rtime.c: Likewise.
24195 * sunrpc/svcauth_des.c: Likewise.
24196 * sunrpc/xdr.c: Likewise.
24197 * sunrpc/xdr_intXX_t.c: Likewise.
24198 * sunrpc/xdr_rec.c: Likewise.
24199 * sysdeps/generic/ldconfig.h: Likewise.
24200 * sysdeps/generic/ldsodefs.h: Likewise.
24201 * sysdeps/generic/memusage.h: Likewise.
24202 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
24203 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
24204 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
24205 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
24206 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
24207 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
24208 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
24209 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
24210 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
24211 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
24212 * sysdeps/posix/getaddrinfo.c: Likewise.
24213 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
24214 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
24215 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
24216 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
24217 * sysdeps/powerpc/test-gettimebase.c: Likewise.
24218 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
24219 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
24220 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
24221 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
24222 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
24223 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
24224 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
24225 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
24226 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
24227 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
24228 * sysdeps/x86_64/dl-tls.h: Likewise.
24229 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
24230 * time/alt_digit.c: Likewise.
24231 * time/era.c: Likewise.
24232 * wcsmbs/tst-c16c32-1.c: Likewise.
24233
24234 2013-05-16 Joseph Myers <joseph@codesourcery.com>
24235
24236 * math/libm-test.inc (struct test_sincos_data): New type.
24237 (RUN_TEST_LOOP_sincos): New macro.
24238 (sincos_test_data): New variable.
24239 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
24240
24241 2013-05-16 Richard Henderson <rth@redhat.com>
24242
24243 * math/atest-exp2.c (LIMB64): New macro.
24244 (CONSTSZ): New macro.
24245 (mp_exp1, mp_exp_m1, mp_log2): New variables.
24246 (hexdig): Move ...
24247 (print_mpn_fp): ... to function scope.
24248 (read_mpn_hex): Remove.
24249 (get_log2): Remove.
24250 (exp2_mpn): Use mp_log2.
24251 (main): Use mp_exp1.
24252
24253 2013-05-16 Joseph Myers <joseph@codesourcery.com>
24254
24255 * math/libm-test.inc: Remove comment about not testing "inexact"
24256 exceptions.
24257 (INEXACT_EXCEPTION): New macro.
24258 (NO_INEXACT_EXCEPTION): Likewise.
24259 (INVALID_EXCEPTION_OK): Update value.
24260 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
24261 (OVERFLOW_EXCEPTION_OK): Likewise.
24262 (UNDERFLOW_EXCEPTION_OK): Likewise.
24263 (IGNORE_ZERO_INF_SIGN): Likewise.
24264 (ERRNO_UNCHANGED): Likewise.
24265 (ERRNO_EDOM): Likewise.
24266 (ERRNO_ERANGE): Likewise.
24267 (test_exceptions): Handle testing "inexact" exceptions.
24268 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
24269 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
24270 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
24271 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
24272 INEXACT_EXCEPTION.
24273 (rint_towardzero_test_data): Likewise.
24274 (rint_downward_test_data): Likewise.
24275 (rint_upward_test_data): Likewise.
24276
24277 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
24278 with OVERFLOW_EXCEPTION.
24279 (exp10_test_data): Likewise.
24280 (exp2_test_data): Likewise.
24281 (expm1_test_data): Likewise.
24282 (lgamma_test_data): Likewise.
24283 (pow_test_data): Likewise.
24284 (tgamma_test_data): Likewise.
24285 (yn_test_data): Remove duplicate test of overflow.
24286
24287 * math/libm-test.inc (struct test_cc_c_data): New type.
24288 (RUN_TEST_LOOP_cc_c): New macro.
24289 (cpow_test_data): New variable.
24290 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
24291
24292 * math/libm-test.inc (struct test_f_L_data): New type.
24293 (RUN_TEST_LOOP_f_L): New macro.
24294 (llrint_test_data): New variable.
24295 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
24296 (llrint_tonearest_test_data): New variable.
24297 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
24298 (llrint_towardzero_test_data): New variable.
24299 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
24300 (llrint_downward_test_data): New variable.
24301 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
24302 (llrint_upward_test_data): New variable.
24303 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
24304 (llround_test_data): New variable.
24305 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
24306
24307 2013-05-13 Peter Collingbourne <pcc@google.com>
24308
24309 * math/atest-exp2.c (get_log2): Remove const attribute.
24310
24311 2013-05-15 Joseph Myers <joseph@codesourcery.com>
24312
24313 * math/libm-test.inc (struct test_f_l_data): New type.
24314 (RUN_TEST_LOOP_f_l): New macro.
24315 (lrint_test_data): New variable.
24316 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
24317 (lrint_tonearest_test_data): New variable.
24318 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
24319 (lrint_towardzero_test_data): New variable.
24320 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
24321 (lrint_downward_test_data): New variable.
24322 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
24323 (lrint_upward_test_data): New variable.
24324 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
24325 (lround_test_data): New variable.
24326 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
24327
24328 2013-05-15 Peter Collingbourne <pcc@google.com>
24329
24330 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
24331 (EXTRACT_WORDS64) Use where appropriate.
24332 (INSERT_WORDS64) Likewise.
24333
24334 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
24335 constraints with x constraints.
24336 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
24337
24338 * malloc/obstack.c (_obstack_compat): Add initializer.
24339
24340 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
24341
24342 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
24343 si_trapno and add si_addr_lsb to _sifields.sigfault.
24344 (si_trapno): Remove macro.
24345 (si_addr_lsb): Define new macro.
24346 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
24347
24348 2013-05-15 Joseph Myers <joseph@codesourcery.com>
24349
24350 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
24351 instead of TEST_f_l.
24352 (llrint_test_tonearest): Likewise.
24353 (llrint_test_towardzero): Likewise.
24354 (llrint_test_downward): Likewise.
24355 (llrint_test_upward): Likewise.
24356 (llround_test): Likewise.
24357
24358 * math/libm-test.inc (struct test_f_i_data): Add comment.
24359 (RUN_TEST_LOOP_f_b): New macro.
24360 (RUN_TEST_LOOP_f_b_tg): Likewise.
24361 (finite_test_data): New variable.
24362 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
24363 (isfinite_test_data): New variable.
24364 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
24365 (isinf_test_data): New variable.
24366 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
24367 (isnan_test_data): New variable.
24368 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
24369 (isnormal_test_data): New variable.
24370 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
24371 (issignaling_test_data): New variable.
24372 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
24373 (signbit_test_data): New variable.
24374 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
24375
24376 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
24377 with INVALID_EXCEPTION.
24378 (acosh_test_data): Likewise.
24379 (asin_test_data): Likewise.
24380 (atanh_test_data): Likewise.
24381 (fmod_test_data): Likewise.
24382 (log_test_data): Likewise.
24383 (log10_test_data): Likewise.
24384 (log2_test_data): Likewise.
24385 (pow_test_data): Likewise.
24386 (sqrt_test_data): Likewise.
24387 (y0_test_data): Likewise.
24388 (y1_test_data): Likewise.
24389 (yn_test_data): Likewise.
24390
24391 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
24392 function contents.
24393
24394 * math/libm-test.inc (struct test_ff_i_data): New type.
24395 (RUN_TEST_LOOP_ff_i_tg): New macro.
24396 (isgreater_test_data): New variable.
24397 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
24398 (isgreaterequal_test_data): New variable.
24399 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
24400 (isless_test_data): New variable.
24401 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
24402 (islessequal_test_data): New variable.
24403 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
24404 (islessgreater_test_data): New variable.
24405 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
24406 (isunordered_test_data): New variable.
24407 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
24408
24409 2013-05-14 David S. Miller <davem@davemloft.net>
24410
24411 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24412
24413 2013-05-14 Joseph Myers <joseph@codesourcery.com>
24414
24415 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
24416
24417 * math/libm-test.inc (struct test_fF_f1_data): Change type of
24418 extra_test to int.
24419 (struct test_f_i_data): Change type of max_ulp to int.
24420
24421 * math/libm-test.inc (test_ffI_f1_data): New type.
24422 (RUN_TEST_LOOP_ffI_f1): New macro.
24423 (remquo_test_data): New variable.
24424 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
24425
24426 * setjmp/tst-setjmp-fp.c: New file.
24427 * setjmp/Makefile (tests): Add tst-setjmp-fp.
24428 (link-libm): New variable.
24429 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
24430
24431 * math/libm-test.inc (struct test_f_i_data): New type.
24432 (RUN_TEST_LOOP_f_i): New macro.
24433 (RUN_TEST_LOOP_f_i_tg): Likewise.
24434 (fpclassify_test_data): New variable.
24435 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
24436 (ilogb_test_data): New variable.
24437 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
24438
24439 * math/libm-test.inc (scalbln_test): Correct function name in END
24440 call.
24441
24442 * math/libm-test.inc (struct test_f_f1_data): Add comment.
24443 (RUN_TEST_LOOP_fI_f1): New macro.
24444 (frexp_test_data): New variable.
24445 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
24446
24447 * math/libm-test.inc (struct test_fF_f1_data): New type.
24448 (RUN_TEST_LOOP_fF_f1): New macro.
24449 (modf_test_data): New variable.
24450 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
24451
24452 * math/libm-test.inc (struct test_f_f1_data): New type.
24453 (RUN_TEST_LOOP_f_f1): New macro.
24454 (gamma_test_data): New variable.
24455 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
24456 (lgamma_test_data): New variable.
24457 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
24458
24459 2013-05-13 Carlos O'Donell <carlos@redhat.com>
24460
24461 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
24462 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
24463 (main): Comment "tls" pseudo-hwcap.
24464
24465 2013-05-13 Joseph Myers <joseph@codesourcery.com>
24466
24467 * math/libm-test.inc (struct test_fl_f_data): New type.
24468 (RUN_TEST_LOOP_fl_f): New variable.
24469 (scalbln_test_data): New variable.
24470 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
24471
24472 * math/libm-test.inc (struct test_fi_f_data): New type.
24473 (RUN_TEST_LOOP_fi_f): New macro.
24474 (ldexp_test_data): New variable.
24475 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
24476 (scalbn_test_data): New variable.
24477 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
24478
24479 * math/libm-test.inc (struct test_c_f_data): New type.
24480 (RUN_TEST_LOOP_c_f): New macro.
24481 (cabs_test_data): New variable.
24482 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
24483 (carg_test_data): New variable.
24484 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
24485 (cimag_test_data): New variable.
24486 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
24487 (creal_test_data): New variable.
24488 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
24489
24490 * math/libm-test.inc (struct test_if_f_data): New type.
24491 (RUN_TEST_LOOP_if_f): New macro.
24492 (jn_test_data): New variable.
24493 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
24494 (yn_test_data): New variable.
24495 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
24496
24497 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
24498
24499 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24500
24501 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
24502 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
24503
24504 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
24505
24506 * benchtests/Makefile (CPPFLAGS-nonlib): Add
24507 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
24508 (bench-deps): Add bench-timing.h.
24509 * benchtests-bench-skeleton.c: Include bench-timing.h.
24510 (main): Use TIMING_* macros instead of clock_gettime.
24511 * benchtests/bench-timing.h: New file.
24512
24513 [BZ #14582]
24514 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
24515 Renamed from _LIB_VERSION.
24516 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
24517
24518 2013-05-12 Joseph Myers <joseph@codesourcery.com>
24519
24520 * math/libm-test.inc (struct test_fff_f_data): New type.
24521 (RUN_TEST_LOOP_fff_f): New macro.
24522 (fma_test_data): New variable.
24523 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
24524 (fma_towardzero_test_data): New variable.
24525 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
24526 (fma_downward_test_data): New variable.
24527 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
24528 (fma_upward_test_data): New variable.
24529 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
24530
24531 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
24532 (struct test_c_c_data): New type.
24533 (RUN_TEST_LOOP_c_c): New macro.
24534 (cacos_test_data): New variable.
24535 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
24536 (cacosh_test_data): New variable.
24537 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
24538 (casin_test_data): New variable.
24539 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
24540 (casinh_test_data): New variable.
24541 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
24542 (catan_test_data): New variable.
24543 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
24544 (catanh_test_data): New variable.
24545 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
24546 (ccos_test_data): New variable.
24547 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
24548 (ccosh_test_data): New variable.
24549 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
24550 (cexp_test_data): New variable.
24551 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
24552 (clog_test_data): New variable.
24553 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
24554 (clog10_test_data): New variable.
24555 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
24556 (conj_test_data): New variable.
24557 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
24558 (cproj_test_data): New variable.
24559 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
24560 (csin_test_data): New variable.
24561 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
24562 (csinh_test_data): New variable.
24563 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
24564 (csqrt_test_data): New variable.
24565 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
24566 (ctan_test_data): New variable.
24567 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
24568 (ctan_tonearest_test_data): New variable.
24569 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
24570 (ctan_towardzero_test_data): New variable.
24571 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
24572 (ctan_downward_test_data): New variable.
24573 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
24574 (ctan_upward_test_data): New variable.
24575 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
24576 (ctanh_test_data): New variable.
24577 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
24578 (ctanh_tonearest_test_data): New variable.
24579 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
24580 (ctanh_towardzero_test_data): New variable.
24581 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
24582 (ctanh_downward_test_data): New variable.
24583 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
24584 (ctanh_upward_test_data): New variable.
24585 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
24586 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
24587 of BUILD_COMPLEX.
24588
24589 * math/libm-test.inc (struct test_ff_f_data): New type.
24590 (struct test_ff_f_data_nexttoward): Likewise.
24591 (RUN_TEST_LOOP_2_f): New macro.
24592 (RUN_TEST_LOOP_ff_f): Likewise.
24593 (atan2_test_data): New variable.
24594 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
24595 (copysign_test_data): New variable.
24596 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
24597 (fdim_test_data): New variable.
24598 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
24599 (fmax_test_data): New variable.
24600 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
24601 (fmin_test_data): New variable.
24602 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
24603 (fmod_test_data): New variable.
24604 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
24605 (hypot_test_data): New variable.
24606 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
24607 (nextafter_test_data): New variable.
24608 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
24609 (nexttoward_test_data): New variable.
24610 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
24611 (pow_test_data): New variable.
24612 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
24613 (pow_tonearest_test_data): New variable.
24614 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
24615 (pow_towardzero_test_data): New variable.
24616 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
24617 (pow_downward_test_data): New variable.
24618 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
24619 (pow_upward_test_data): New variable.
24620 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
24621 (remainder_test_data): New variable.
24622 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
24623 (scalb_test_data): New variable.
24624 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
24625 * sysdeps/i386/fpu/libm-test-ulps: Update.
24626
24627 2013-05-11 Joseph Myers <joseph@codesourcery.com>
24628
24629 * math/libm-test.inc (fma_test): Use max_value instead of local
24630 variable fltmax.
24631 (nextafter_test): Likewise.
24632
24633 * math/libm-test.inc (acos_towardzero_test_data): New variable.
24634 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
24635 (acos_downward_test_data): New variable.
24636 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
24637 (acos_upward_test_data): New variable.
24638 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
24639 (acosh_test_data): New variable.
24640 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
24641 (asin_test_data): New variable.
24642 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
24643 (asin_tonearest_test_data): New variable.
24644 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
24645 (asin_towardzero_test_data): New variable.
24646 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
24647 (asin_downward_test_data): New variable.
24648 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
24649 (asin_upward_test_data): New variable.
24650 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
24651 (asinh_test_data): New variable.
24652 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
24653 (atan_test_data): New variable.
24654 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
24655 (atanh_test_data): New variable.
24656 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
24657 (cbrt_test_data): New variable.
24658 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
24659 (ceil_test_data): New variable.
24660 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
24661 (cos_test_data): New variable.
24662 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
24663 (cos_tonearest_test_data): New variable.
24664 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
24665 (cos_towardzero_test_data): New variable.
24666 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
24667 (cos_downward_test_data): New variable.
24668 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
24669 (cos_upward_test_data): New variable.
24670 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
24671 (cosh_test_data): New variable.
24672 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
24673 (cosh_tonearest_test_data): New variable.
24674 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
24675 (cosh_towardzero_test_data): New variable.
24676 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
24677 (cosh_downward_test_data): New variable.
24678 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
24679 (cosh_upward_test_data): New variable.
24680 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
24681 (erf_test_data): New variable.
24682 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
24683 (erfc_test_data): New variable.
24684 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
24685 (exp_test_data): New variable.
24686 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
24687 (exp_tonearest_test_data): New variable.
24688 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
24689 (exp_towardzero_test_data): New variable.
24690 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
24691 (exp_downward_test_data): New variable.
24692 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
24693 (exp_upward_test_data): New variable.
24694 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
24695 (exp10_test_data): New variable.
24696 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
24697 (exp2_test_data): New variable.
24698 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
24699 (expm1_test_data): New variable.
24700 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
24701 (fabs_test_data): New variable.
24702 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
24703 (floor_test_data): New variable.
24704 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
24705 (j0_test_data): New variable.
24706 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
24707 (j1_test_data): New variable.
24708 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
24709 (log_test_data): New variable.
24710 (log_test): Run tests with RUN_TEST_LOOP_f_f.
24711 (log10_test_data): New variable.
24712 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
24713 (log1p_test_data): New variable.
24714 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
24715 (log2_test_data): New variable.
24716 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
24717 (logb_test_data): New variable.
24718 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
24719 (logb_downward_test_data): New variable.
24720 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
24721 (nearbyint_test_data): New variable.
24722 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
24723 (rint_test_data): New variable.
24724 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
24725 (rint_tonearest_test_data): New variable.
24726 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
24727 (rint_towardzero_test_data): New variable.
24728 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
24729 (rint_downward_test_data): New variable.
24730 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
24731 (rint_upward_test_data): New variable.
24732 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
24733 (round_test_data): New variable.
24734 (round_test): Run tests with RUN_TEST_LOOP_f_f.
24735 (sin_test_data): New variable.
24736 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
24737 (sin_tonearest_test_data): New variable.
24738 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
24739 (sin_towardzero_test_data): New variable.
24740 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
24741 (sin_downward_test_data): New variable.
24742 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
24743 (sin_upward_test_data): New variable.
24744 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
24745 (sinh_test_data): New variable.
24746 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
24747 (sinh_tonearest_test_data): New variable.
24748 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
24749 (sinh_towardzero_test_data): New variable.
24750 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
24751 (sinh_downward_test_data): New variable.
24752 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
24753 (sinh_upward_test_data): New variable.
24754 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
24755 (sqrt_test_data): New variable.
24756 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
24757 (tan_test_data): New variable.
24758 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
24759 (tan_tonearest_test_data): New variable.
24760 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
24761 (tan_towardzero_test_data): New variable.
24762 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
24763 (tan_downward_test_data): New variable.
24764 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
24765 (tan_upward_test_data): New variable.
24766 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
24767 (tanh_test_data): New variable.
24768 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
24769 (tgamma_test_data): New variable.
24770 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
24771 (trunc_test_data): New variable.
24772 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
24773 (y0_test_data): New variable.
24774 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
24775 (y1_test_data): New variable.
24776 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
24777 (significand_test_data): New variable.
24778 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
24779
24780 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
24781
24782 [BZ #12387]
24783 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
24784
24785 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
24786
24787 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
24788
24789 2013-05-10 Andreas Jaeger <aj@suse.de>
24790
24791 [BZ #15448]
24792 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
24793 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
24794
24795 2013-05-10 Joseph Myers <joseph@codesourcery.com>
24796
24797 * math/gen-libm-test.pl (adjust_arg): New function.
24798 (special_functions): Handle generating output in both functions
24799 and arrays.
24800 (parse_args): Likewise.
24801 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
24802 $in_func argument to parse_args.
24803 * math/libm-test.inc (struct test_f_f_data): New type.
24804 (IF_ROUND_INIT_): New macro.
24805 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
24806 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
24807 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
24808 (IF_ROUND_INIT_FE_UPWARD): Likewise.
24809 (ROUND_RESTORE_): Likewise.
24810 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
24811 (ROUND_RESTORE_FE_TONEAREST): Likewise.
24812 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
24813 (ROUND_RESTORE_FE_UPWARD): Likewise.
24814 (RUN_TEST_LOOP_f_f): New macro.
24815 (acos_test_data): New variable.
24816 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
24817 (acos_tonearest_test_data): New variable.
24818 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
24819
24820 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
24821
24822 * benchtests/bench-skeleton.c (startup): Fix coding style.
24823
24824 2013-05-10 Joseph Myers <joseph@codesourcery.com>
24825
24826 [BZ #6809]
24827 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
24828 negative infinity argument.
24829 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
24830 negative infinity argument.
24831 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
24832 negative infinity argument.
24833 * math/libm-test.inc (tgamma_test): Expect errno to be set for
24834 domain errors.
24835
24836 2013-05-10 Florian Weimer <fweimer@redhat.com>
24837
24838 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
24839 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
24840 * iconv/iconv_prog.c (main): Likewise.
24841 * locale/programs/charmap-dir.c (charmap_readdir)
24842 (fopen_uncompressed): Likewise.
24843 * locale/programs/locfile.c (siblings_uncached)
24844 (write_locale_data): Use lstat64 instead of lstat.
24845 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
24846 stat.
24847
24848 2013-05-10 Andreas Jaeger <aj@suse.de>
24849
24850 [BZ #15395]
24851 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
24852 localization.
24853 Include <locale.h>.
24854
24855 2013-05-09 Carlos O'Donell <carlos@redhat.com>
24856
24857 * elf/dl-close.c (_dl_close_worker): Add comments.
24858
24859 2013-05-09 Joseph Myers <joseph@codesourcery.com>
24860
24861 [BZ #15359]
24862 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
24863 high part of pi/2.
24864 (__ieee754_rem_pio2l): Update comments.
24865
24866 [BZ #15429]
24867 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
24868 high part of pi/2.
24869 (__ieee754_rem_pio2l): Update comments.
24870
24871 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
24872 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
24873
24874 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
24875 M_PI_4l.
24876
24877 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
24878 (M_PI_34_LOG10El): Likewise.
24879 (M_PI2_LOG10El): Likewise.
24880 (M_PI4_LOG10El): Likewise.
24881 (M_PI_LOG10El): Likewise.
24882
24883 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24884
24885 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24886
24887 2013-05-08 Joseph Myers <joseph@codesourcery.com>
24888
24889 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
24890 (MINUS_ZERO_INIT): Likewise.
24891 (PLUS_INFTY_INIT): Likewise.
24892 (MINUS_INFTY_INIT): Likewise.
24893 (QNAN_VALUE_INIT): Likewise.
24894 (MAX_VALUE_INIT): Likewise.
24895 (MIN_VALUE_INIT): Likewise.
24896 (MIN_SUBNORM_VALUE_INIT): Likewise.
24897 (plus_zero): Initialize with PLUS_ZERO_INIT.
24898 (minus_zero): Initialize with MINUS_ZERO_INIT.
24899 (plus_infty): Initialize with PLUS_INFTY_INIT.
24900 (minus_infty): Initialize with MINUS_INFTY_INIT.
24901 (qnan_value): Initialize with QNAN_VALUE_INIT.
24902 (max_value): Initialize with MAX_VALUE_INIT.
24903 (min_value): Initialize with MIN_VALUE_INIT.
24904 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
24905
24906 * math/libm-test.inc (RUN_TEST_if_f): New macro.
24907 (jn_test): Use TEST_if_f instead of TEST_ff_f.
24908 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
24909 (yn_test): Use TEST_if_f instead of TEST_ff_f.
24910
24911 * math/libm-test.inc (RUN_TEST_f_f): New macro.
24912 (RUN_TEST_2_f): Likewise.
24913 (RUN_TEST_ff_f): Likewise.
24914 (RUN_TEST_fi_f): Likewise.
24915 (RUN_TEST_fl_f): Likewise.
24916 (RUN_TEST_fff_f): Likewise.
24917 (RUN_TEST_c_f): Likewise.
24918 (RUN_TEST_f_f1): Likewise.
24919 (RUN_TEST_fF_f1): Likewise.
24920 (RUN_TEST_fI_f1): Likewise.
24921 (RUN_TEST_ffI_f1): Likewise.
24922 (RUN_TEST_c_c): Likewise.
24923 (RUN_TEST_cc_c): Likewise.
24924 (RUN_TEST_f_i): Likewise.
24925 (RUN_TEST_f_i_tg): Likewise.
24926 (RUN_TEST_ff_i_tg): Likewise.
24927 (RUN_TEST_f_b): Likewise.
24928 (RUN_TEST_f_b_tg): Likewise.
24929 (RUN_TEST_f_l): Likewise.
24930 (RUN_TEST_f_L): Likewise.
24931 (RUN_TEST_sincos): Likewise.
24932 * math/gen-libm-test.pl (new_test): Take new argument to indicate
24933 whether to show exceptions. Do not include ");\n" in return
24934 value.
24935 (special_functions): Output call to RUN_TEST_sincos instead of
24936 check_float calls. Update calls to new_test.
24937 (parse_args): Output call to single RUN_TEST_* macro instead of
24938 check_* calls and other assignments. Update calls to new_test.
24939
24940 [BZ #2546]
24941 [BZ #2560]
24942 [BZ #5159]
24943 [BZ #15426]
24944 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
24945 input to result for tgamma overflow.
24946 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
24947 (gamma_coeff): New variable.
24948 (NCOEFF): New macro.
24949 (gamma_positive): New function.
24950 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
24951 underflow here. Use gamma_positive instead of exp (lgamma) for
24952 other arguments.
24953 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
24954 (gamma_coeff): New variable.
24955 (NCOEFF): New macro.
24956 (gammaf_positive): New function.
24957 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
24958 underflow here. Use gamma_positive instead of exp (lgamma) for
24959 other arguments.
24960 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
24961 (gamma_coeff): New variable.
24962 (NCOEFF): New macro.
24963 (gammal_positive): New function.
24964 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
24965 underflow here. Use gamma_positive instead of exp (lgamma) for
24966 other arguments.
24967 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
24968 (gamma_coeff): New variable.
24969 (NCOEFF): New macro.
24970 (gammal_positive): New function.
24971 (__ieee754_gammal_r): Handle positive infinity, overflow and
24972 underflow here. Handle NaN the same as positive infinity. Remove
24973 check x < 0xffffffff for negative integers. Use gamma_positive
24974 instead of exp (lgamma) for other arguments.
24975 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
24976 (gamma_coeff): New variable.
24977 (NCOEFF): New macro.
24978 (gammal_positive): New function.
24979 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
24980 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
24981 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
24982 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
24983 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
24984 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
24985 * sysdeps/generic/math_private.h (__gamma_productf): New
24986 prototype.
24987 (__gamma_product): Likewise.
24988 (__gamma_productl): Likewise.
24989 * math/Makefile (libm-calls): Add gamma_product.
24990 * math/libm-test.inc (tgamma_test): Add more tests.
24991 * sysdeps/i386/fpu/libm-test-ulps: Update.
24992 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24993
24994 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
24995
24996 * benchtests/bench-skeleton.c (main): Preheat CPU.
24997
24998 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
24999
25000 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
25001
25002 2013-05-07 Roland McGrath <roland@hack.frob.com>
25003
25004 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
25005 and _dl_skip_args_internal.
25006
25007 2013-05-07 Carlos O'Donell <carlos@redhat.com>
25008
25009 * manual/message.texi (Message Translation): Talk about users.
25010 Message to key mapping impacts design.
25011
25012 2013-05-06 Roland McGrath <roland@hack.frob.com>
25013
25014 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
25015
25016 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
25017
25018 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
25019 * sysdeps/wordsize-64/glob64.c: ... here.
25020
25021 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
25022 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
25023 New macros.
25024
25025 * debug/getlogin_r_chk.c: Moved to ...
25026 * login/getlogin_r_chk.c: ... here.
25027 * debug/Makefile (routines): Move getlogin_r_chk to ...
25028 * login/Makefile (routines): ... here.
25029 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
25030 * login/Versions (libc: GLIBC_2.4): ... here.
25031
25032 * io/poll.c (__poll): Renamed from poll.
25033 Add libc_hidden_def.
25034 (poll): Define as weak alias.
25035
25036 * debug/ptsname_r_chk.c: Moved to ...
25037 * login/ptsname_r_chk.c: ... here.
25038 * debug/Makefile (routines): Move ptsname_r_chk to ...
25039 * login/Makefile (routines): ... here.
25040 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
25041 * login/Versions (libc: GLIBC_2.4): ... here.
25042
25043 * posix/getlogin.c: Moved to ...
25044 * login/getlogin.c: ... here.
25045 * posix/getlogin_r.c: Moved to ...
25046 * login/getlogin_r.c: ... here.
25047 * posix/getlogin_r.c: Moved to ...
25048 * login/getlogin_r.c: ... here.
25049 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
25050 * login/Makefile (routines): ... here.
25051 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
25052 * login/Versions (libc: GLIBC_2.0): ... here.
25053
25054 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
25055 (setrlimit): Define as weak alias.
25056
25057 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
25058 Call __ names for open, ftruncate, and close.
25059 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
25060 (truncate): Define as weak alias.
25061
25062 2013-05-06 Joseph Myers <joseph@codesourcery.com>
25063
25064 * math/gen-libm-test.pl (parse_args): Initialize x before each
25065 test of frexp, modf and remquo.
25066
25067 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
25068 test signgam value.
25069
25070 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25071
25072 [BZ #15418]
25073 [BZ #15419]
25074 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
25075 internal tests.
25076 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
25077
25078 2013-05-06 Roland McGrath <roland@hack.frob.com>
25079
25080 * elf/dl-writev.h: New file.
25081 * elf/dl-misc.c: Include it.
25082 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
25083 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
25084
25085 2013-05-04 Joseph Myers <joseph@codesourcery.com>
25086
25087 * math/libm-test.inc (noXFails): Remove variable.
25088 (noXPasses): Likewise.
25089 (BUILD_COMPLEX_INT): Remove macro.
25090 (print_screen): Remove xfail argument.
25091 (print_screen_max_error): Likewise.
25092 (update_stats): Likewise.
25093 (print_max_error): Likewise. Update calls to other affected
25094 functions.
25095 (print_complex_max_error): Likewise.
25096 (test_single_exception): Update calls to print_screen.
25097 (test_single_errno): Likewise.
25098 (check_float_internal): Remove xfail argument. Update calls to
25099 other affected functions.
25100 (check_float): Likewise.
25101 (check_complex): Likewise.
25102 (check_int): Likewise.
25103 (check_long): Likewise.
25104 (check_bool): Likewise.
25105 (check_longlong): Likewise.
25106 (main): Don't print noXFails and noXPasses.
25107 * math/gen-libm-test.pl (top level): Don't mention expected
25108 failure handling in comment.
25109 (new_test): Don't handle expected failures.
25110 (parse_args): Don't mention expected failure handling in comment.
25111 (generate_testfile): Don't handle expected failures.
25112 (parse_ulps): Likewise.
25113 (print_ulps_file): Likewise.
25114 (get_failure): Remove function.
25115 (output_test): Don't handle expected failures.
25116 * make/README.libm-test: Don't mention expected failure handling.
25117
25118 * math/libm-test.inc (plus_zero): Make const. Add initializer.
25119 (minus_zero): Likewise.
25120 (plus_infty): Likewise.
25121 (minus_infty): Likewise.
25122 (qnan_value): Likewise.
25123 (max_value): Likewise.
25124 (min_value): Likewise.
25125 (min_subnorm_value): Likewise.
25126 (initialize): Do not initialize those variables dynamically.
25127
25128 2013-05-03 Roland McGrath <roland@hack.frob.com>
25129
25130 * io/open.c (__open_2): Moved to ...
25131 * io/open_2.c: ... this new file.
25132 * io/open64.c (__open64_2): Moved to ...
25133 * io/open64_2.c: ... this new file.
25134 * io/openat.c (__openat_2): Moved to ...
25135 * io/openat_2.c: ... this new file.
25136 * io/openat64.c (__openat64_2): Moved to ...
25137 * io/openat64_2.c: ... this new file.
25138 * io/Makefile (routines): Add them.
25139 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
25140 * sysdeps/unix/sysv/linux/open_2.c: File removed.
25141 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
25142 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
25143 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
25144 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
25145 (__openat64): Add hidden_ver.
25146 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
25147 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
25148
25149 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
25150 Separately conditionalize setting of GLRO(dl_sysinfo) so
25151 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
25152 as well, but the actual setting is only under [NEED_DL_SYSINFO].
25153
25154 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25155
25156 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
25157 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
25158 definition.
25159 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
25160 * sysdeps/unix/sysv/linux/powerpc/init-first.c
25161 (_libc_vdso_platform_setup): Add __vdso_time initialization.
25162 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
25163 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
25164
25165 2013-05-03 Joseph Myers <joseph@codesourcery.com>
25166
25167 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
25168 test signgam value.
25169
25170 * math/libm-test.inc (hypot_test): Do not use
25171 IGNORE_ZERO_INF_SIGN.
25172
25173 2013-05-03 Andreas Jaeger <aj@suse.de>
25174
25175 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
25176 Linux 3.9.
25177 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
25178 (PF_MAX): Adjust for VSOCK change.
25179
25180 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25181
25182 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25183
25184 2013-05-02 Carlos O'Donell <carlos@redhat.com>
25185
25186 [BZ #15264]
25187 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
25188 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
25189 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
25190
25191 2013-05-02 David S. Miller <davem@davemloft.net>
25192
25193 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25194
25195 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
25196
25197 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
25198
25199 2013-05-01 Roland McGrath <roland@hack.frob.com>
25200
25201 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
25202
25203 2013-05-01 Richard Smith <richard@metafoo.co.uk>
25204
25205 [BZ #14952]
25206 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
25207 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
25208 Use __attribute__ ((__gnu_inline__)).
25209 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
25210 Don't use __attribute__ ((__gnu_inline__)).
25211
25212 2013-05-01 Joseph Myers <joseph@codesourcery.com>
25213
25214 [BZ #15423]
25215 * math/s_catan.c (__catan): Handle small real or imaginary part of
25216 input specially to avoid spurious underflow.
25217 * math/s_catanf.c (__catanf): Likewise.
25218 * math/s_catanh.c (__catanh): Likewise.
25219 * math/s_catanhf.c (__catanhf): Likewise.
25220 * math/s_catanhl.c (__catanhl): Likewise.
25221 * math/s_catanl.c (__catanl): Likewise.
25222 * math/libm-test.inc (catan_test): Add more tests.
25223 (catanh_test): Likewise.
25224 * sysdeps/i386/fpu/libm-test-ulps: Update.
25225 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25226
25227 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25228
25229 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25230
25231 2013-04-30 Joseph Myers <joseph@codesourcery.com>
25232
25233 [BZ #15416]
25234 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
25235 accurately for denominator in atan2.
25236 * math/s_catanf.c (__catanf): Likewise.
25237 * math/s_catanh.c (__catanh): Likewise.
25238 * math/s_catanhf.c (__catanhf): Likewise.
25239 * math/s_catanhl.c (__catanhl): Likewise.
25240 * math/s_catanl.c (__catanl): Likewise.
25241 * math/libm-test.inc (catan_test): Add more tests.
25242 (catanh_test): Likewise.
25243 * sysdeps/i386/fpu/libm-test-ulps: Update.
25244 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25245
25246 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
25247
25248 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
25249
25250 * benchtests/Makefile (bench): Remove slow benchmarks.
25251 * benchtests/atan-inputs: Add slow benchmark inputs.
25252 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
25253 (BENCH_FUNC): Accept variant offset.
25254 (VARIANT): Define.
25255 * benchtests/bench-skeleton.c (main): Run benchmark for each
25256 variant.
25257 * benchtests/cos-inputs: Add slow benchmark inputs.
25258 * benchtests/exp-inputs: Likewise.
25259 * benchtests/pow-inputs: Likewise.
25260 * benchtests/sin-inputs: Likewise.
25261 * benchtests/slowatan-inputs: Remove.
25262 * benchtests/slowatan.c: Remove.
25263 * benchtests/slowcos-inputs: Remove.
25264 * benchtests/slowcos.c: Remove.
25265 * benchtests/slowexp-inputs: Remove.
25266 * benchtests/slowexp.c: Remove.
25267 * benchtests/slowpow-inputs: Remove.
25268 * benchtests/slowpow.c: Remove.
25269 * benchtests/slowsin-inputs: Remove.
25270 * benchtests/slowsin.c: Remove.
25271 * benchtests/slowtan-inputs: Remove.
25272 * benchtests/slowtan.c: Remove.
25273 * benchtests/tan-inputs: Add slow benchmark inputs.
25274 * scripts/bench.pl: Parse comments and directives.
25275
25276 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
25277 in CPPFLAGS.
25278 ($(objpfx)bench-%.c): Remove *-ITER.
25279 * benchtests/bench-modf.c: Remove definition of ITER.
25280 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
25281 (main): Loop for DURATION seconds instead of fixed number of
25282 iterations.
25283 * scripts/bench.pl: Don't expect iterations in parameters.
25284
25285 2013-04-29 Roland McGrath <roland@hack.frob.com>
25286
25287 * io/fchdir.c (__fchdir): Renamed from fchdir.
25288 (fchdir): Define as weak alias.
25289
25290 2013-04-29 Joseph Myers <joseph@codesourcery.com>
25291
25292 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
25293 (ERRNO_EDOM): Likewise.
25294 (ERRNO_ERANGE): Likewise.
25295 (noErrnoTests): New variable.
25296 (init_max_error): Set errno to 0.
25297 (test_single_errno): New function.
25298 (test_errno): Likewise.
25299 (check_float_internal): Call test_errno. Set errno to 0.
25300 (check_complex): Refer to errno tests in comment.
25301 (check_int): Call test_errno. Set errno to 0.
25302 (check_long): Likewise.
25303 (check_bool): Likewise.
25304 (check_longlong): Likewise.
25305 (cos_test): Use ERRNO_* flags for errno tests instead of
25306 check_int.
25307 (expm1_test): Likewise.
25308 (fmod_test): Likewise.
25309 (ilogb_test): Likewise.
25310 (lgamma_test): Likewise.
25311 (pow_test): Likewise.
25312 (remainder_test): Likewise.
25313 (sin_test): Likewise.
25314 (tan_test): Likewise.
25315 (yn_test): Likewise.
25316 (initialize): Set errno to 0.
25317 (main): Print number of errno tests.
25318 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
25319
25320 2013-04-29 Andreas Jaeger <aj@suse.de>
25321
25322 [BZ #15084]
25323 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
25324 and RES_USEVC.
25325
25326 [BZ #15085]
25327 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
25328 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
25329 unimplemented.
25330
25331 [BZ #15380]
25332 * stdlib/random.c (__initstate): Return NULL if
25333 __initstate fails.
25334
25335 [BZ #15086]
25336 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
25337 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
25338 RES_SNGLKUPREOP.
25339
25340 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25341
25342 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25343
25344 2013-04-29 Joseph Myers <joseph@codesourcery.com>
25345
25346 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
25347 of individual tests.
25348 (casin_test): Likewise.
25349 (casinh_test): Likewise.
25350
25351 2013-04-27 Joseph Myers <joseph@codesourcery.com>
25352
25353 [BZ #15409]
25354 * math/s_catan.c (__catan): Handle arguments with large real or
25355 imaginary part separately without squaring.
25356 * math/s_catanf.c (__catanf): Likewise.
25357 * math/s_catanh.c (__catanh): Likewise.
25358 * math/s_catanhf.c (__catanhf): Likewise.
25359 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
25360 and redefine.
25361 (__catanhl): Handle arguments with large real or imaginary part
25362 separately without squaring.
25363 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
25364 and redefine.
25365 (__catanl): Handle arguments with large real or imaginary part
25366 separately without squaring.
25367 * math/libm-test.inc (catan_test): Add more tests.
25368 (catanh_test): Likewise.
25369 * sysdeps/i386/fpu/libm-test-ulps: Update.
25370 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25371
25372 2013-04-27 Andreas Jaeger <aj@suse.de>
25373
25374 [BZ #15007]
25375 * stdlib/stdlib.h: Update guards for qecvt.
25376 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
25377 <stdlib.h>.
25378
25379 2013-04-27 Allan McRae <allan@archlinux.org>
25380
25381 * sysdeps/i386/fpu/libm-test-ulps: Update.
25382
25383 2013-04-26 Joseph Myers <joseph@codesourcery.com>
25384
25385 [BZ #15406]
25386 * math/s_catan.c: Include <float.h>.
25387 (__catan): Ensure underflow exception occurs for underflowed
25388 result.
25389 * math/s_catanf.c: Include <float.h>.
25390 (__catanf): Ensure underflow exception occurs for underflowed
25391 result.
25392 * math/s_catanh.c: Include <float.h>.
25393 (__catanh): Ensure underflow exception occurs for underflowed
25394 result.
25395 * math/s_catanhf.c: Include <float.h>.
25396 (__catanhf): Ensure underflow exception occurs for underflowed
25397 result.
25398 * math/s_catanhl.c: Include <float.h>.
25399 (__catanhl): Ensure underflow exception occurs for underflowed
25400 result.
25401 * math/s_catanl.c: Include <float.h>.
25402 (__catanl): Ensure underflow exception occurs for underflowed
25403 result.
25404 * math/libm-test.inc (catan_test): Add more tests.
25405 (catanh_test): Likewise.
25406
25407 [BZ #15405]
25408 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
25409 underflowed result.
25410 * math/s_ccoshf.c (__ccoshf): Likewise.
25411 * math/s_ccoshl.c (__ccoshl): Likewise.
25412 * math/s_csin.c (__csin): Likewise.
25413 * math/s_csinf.c (__csinf): Likewise.
25414 * math/s_csinh.c (__csinh): Likewise.
25415 * math/s_csinhf.c (__csinhf): Likewise.
25416 * math/s_csinhl.c (__csinhl): Likewise.
25417 * math/s_csinl.c (__csinl): Likewise.
25418 * math/libm-test.inc (ccos_test): Add more tests.
25419 (ccosh_test): Likewise.
25420 (csin_test): Likewise.
25421 (csinh_test): Likewise.
25422
25423 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25424
25425 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
25426 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
25427 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
25428 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
25429 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
25430 powerpc/power5+/fpu folders.
25431 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
25432
25433
25434 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
25435
25436 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25437
25438 2013-04-25 Joseph Myers <joseph@codesourcery.com>
25439
25440 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
25441 additions to variable.
25442 [$(config-machine) = x86_64] (modules-names): Likewise.
25443 ($(objpfx)tst-audit3): Remove dependency.
25444 ($(objpfx)tst-audit3.out): Likewise.
25445 ($(objpfx)tst-audit4): Likewise.
25446 ($(objpfx)tst-audit4.out): Likewise.
25447 ($(objpfx)tst-audit5): Likewise.
25448 ($(objpfx)tst-audit5.out): Likewise.
25449 ($(objpfx)tst-audit6): Likewise.
25450 ($(objpfx)tst-audit6.out): Likewise.
25451 ($(objpfx)tst-audit7): Likewise.
25452 ($(objpfx)tst-audit7.out): Likewise.
25453 (tst-audit3-ENV): Remove variable.
25454 (tst-audit4-ENV): Likewise.
25455 (tst-audit5-ENV): Likewise.
25456 (tst-audit6-ENV): Likewise.
25457 (tst-audit7-ENV): Likewise.
25458 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
25459 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
25460 addition to variable.
25461 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
25462 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
25463 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
25464 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
25465 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
25466 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
25467 tst-audit3, tst-audit4 and tst-audit5.
25468 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
25469 tst-audit6 and tst-audit7.
25470 [$(subdir) = elf] (modules-names): Add audit modules for those
25471 tests.
25472 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
25473 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
25474 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
25475 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
25476 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
25477 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
25478 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
25479 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
25480 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
25481 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
25482 [$(subdir) = elf] (tst-audit3-ENV): New variable.
25483 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
25484 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
25485 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
25486 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
25487 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
25488 Likewise.
25489 [$(subdir) = elf && $(config-cflags-avx) = yes]
25490 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
25491 [$(subdir) = elf && $(config-cflags-avx) = yes]
25492 (CFLAGS-tst-auditmod4a.c): Likewise.
25493 [$(subdir) = elf && $(config-cflags-avx) = yes]
25494 (CFLAGS-tst-auditmod4b.c): Likewise.
25495 [$(subdir) = elf && $(config-cflags-avx) = yes]
25496 (CFLAGS-tst-auditmod6b.c): Likewise.
25497 [$(subdir) = elf && $(config-cflags-avx) = yes]
25498 (CFLAGS-tst-auditmod6c.c): Likewise.
25499 [$(subdir) = elf && $(config-cflags-avx) = yes]
25500 (CFLAGS-tst-auditmod7b.c): Likewise.
25501 * elf/tst-audit3.c: Move to ...
25502 * sysdeps/x86_64/tst-audit3.c: ... here.
25503 * elf/tst-audit4.c: Move to ...
25504 * sysdeps/x86_64/tst-audit4.c: ... here.
25505 * elf/tst-audit5.c: Move to ...
25506 * sysdeps/x86_64/tst-audit5.c: ... here.
25507 * elf/tst-audit6.c: Move to ...
25508 * sysdeps/x86_64/tst-audit6.c: ... here.
25509 * elf/tst-audit7.c: Move to ...
25510 * sysdeps/x86_64/tst-audit7.c: ... here.
25511 * elf/tst-auditmod3a.c: Move to ...
25512 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
25513 * elf/tst-auditmod3b.c: Move to ...
25514 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
25515 * elf/tst-auditmod4a.c: Move to ...
25516 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
25517 * elf/tst-auditmod4b.c: Move to ...
25518 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
25519 * elf/tst-auditmod5a.c: Move to ...
25520 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
25521 * elf/tst-auditmod5b.c: Move to ...
25522 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
25523 * elf/tst-auditmod6a.c: Move to ...
25524 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
25525 * elf/tst-auditmod6b.c: Move to ...
25526 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
25527 * elf/tst-auditmod6c.c: Move to ...
25528 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
25529 * elf/tst-auditmod7a.c: Move to ...
25530 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
25531 * elf/tst-auditmod7b.c: Move to ...
25532 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
25533
25534 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
25535
25536 [BZ #15366]
25537 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
25538 define unconditionally.
25539 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
25540 define unconditionally.
25541 (INT8_C, INT16_C, etc.): Likewise.
25542
25543 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
25544
25545 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
25546 __ehdr_start with hidden visibility.
25547
25548 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
25549
25550 2013-04-24 Carlos O'Donell <carlos@redhat.com>
25551
25552 * math/libm-test.inc (cos_test): Use accurate hex constants.
25553 (sincost_test): Likewise.
25554
25555 2013-04-24 Joseph Myers <joseph@codesourcery.com>
25556
25557 * math/libm-test.inc (catan_test): Add more tests.
25558 (catanh_test): Likewise.
25559
25560 * math/s_catanf.c (__catanf): Use suffixed floating-point
25561 constants.
25562 * math/s_catanhf.c (__catanhf): Likewise.
25563 * math/s_catanhl.c (__catanhl): Likewise.
25564 * math/s_catanl.c (__catanl): Likewise.
25565
25566 [BZ #15394]
25567 * math/s_catan.c (__catan): Calculate imaginary part of result
25568 with log1p not log unless computing log of number close to 0.
25569 * math/s_catanf.c (__catanf): Likewise.
25570 * math/s_catanl.c (__catanl): Likewise.
25571 * math/s_catanh.c (__catanh): Calculate real part of result with
25572 log1p not log unless computing log of number close to 0.
25573 * math/s_catanhf.c (__catanhf): Likewise.
25574 * math/s_catanhl.c (__catanhl): Likewise.
25575 * math/libm-test.inc (catan_test): Add more tests.
25576 (catanh_test): Likewise.
25577 * sysdeps/i386/fpu/libm-test-ulps: Update.
25578 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25579
25580 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
25581
25582 * benchtests/Makefile: Mention files in which fast and slow
25583 paths of math functions are implemented.
25584
25585 2013-04-23 Roland McGrath <roland@hack.frob.com>
25586
25587 * sysdeps/posix/timespec_get.c: New file.
25588
25589 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25590
25591 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
25592 POWER.
25593 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
25594 for POWER.
25595 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
25596 powerpc/power5/fpu folders.
25597 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
25598 * benchtests/Makefile: Add modf testcase.
25599 * benchtests/bench-modf.c: New file: Benchmark test for mo
25600
25601 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
25602
25603 [BZ #14888]
25604 * time/Makefile (tests): Add tst-strptime-whitespace.
25605 * time/strptime_l.c (get_number): Use ISSPACE.
25606 (__strptime_internal): Likewise.
25607 * time/tst-strptime-whitespace.c: New test case.
25608
25609 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
25610
25611 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
25612 member.
25613 (_nss_files_init): Set it here.
25614
25615 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
25616
25617 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
25618 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
25619 unsigned.
25620
25621 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
25622
25623 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
25624
25625 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
25626
25627 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
25628 size just once.
25629
25630 2013-04-21 David S. Miller <davem@davemloft.net>
25631
25632 * po/ru.po: Update Russion translation from translation project.
25633
25634 2013-04-17 Adam Conrad <adconrad@0c3.net>
25635
25636 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
25637 and setfsgid.
25638
25639 2013-04-17 Carlos O'Donell <carlos@redhat.com>
25640
25641 * configure.in: Remove i386 configure warning. Remove i386 case.
25642 * configure: Regenerate.
25643 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
25644 Add example to error message.
25645 * sysdeps/i386/configure: Regenerate.
25646
25647 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
25648
25649 * benchtests/Makefile (bench): Add cos, tan, slowcos and
25650 slowtan.
25651 * benchtests/cos-inputs: New file.
25652 * benchtests/slowcos-inputs: New file.
25653 * benchtests/slowcos.c: New file.
25654 * benchtests/slowtan-inputs: New file.
25655 * benchtests/slowtan.c: New file.
25656 * benchtests/tan-inputs: New file.
25657
25658 2013-04-16 Roland McGrath <roland@hack.frob.com>
25659
25660 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
25661 considered kosher.
25662
25663 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
25664
25665 * benchtests/Makefile: Include cppflags-iterator.mk to add
25666 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
25667
25668 * Makefile.in (bench-clean): New target.
25669 * benchtests/Makefile (bench-clean): Likewise.
25670
25671 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
25672
25673 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
25674
25675 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
25676
25677 * stdio-common/tstdiomisc.c: Fix coding-style violation.
25678
25679 2013-04-15 Andreas Schwab <schwab@suse.de>
25680
25681 * nscd/grpcache.c (cache_addgr): Properly check for short write.
25682 * nscd/initgrcache.c (addinitgroupsX): Likewise.
25683 * nscd/pwdcache.c (cache_addpw): Likewise.
25684 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
25685 more than recsize.
25686
25687 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
25688
25689 * benchtests/Makefile (bench): Write all output to
25690 bench-out.tmp together.
25691
25692 2013-04-15 Andreas Schwab <schwab@suse.de>
25693
25694 * nscd/nscd.c (main): Don't fork again after closing files.
25695
25696 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
25697
25698 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
25699
25700 * benchtests/Rules (bench-deps): Collect dependencies into a
25701 single variable. Add Makefile to dependencies.
25702 ($(objpfx)bench-%.c): Depend on bench-deps.
25703
25704 2013-04-12 Roland McGrath <roland@hack.frob.com>
25705 Xavier Roche <roche+kml2@exalead.com>
25706
25707 [BZ #15361]
25708 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
25709 just that it's a file descriptor.
25710 * manual/llio.texi (Synchronizing AIO Operations): Update description
25711 for EBADF error from aio_fsync.
25712
25713 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
25714
25715 * Rules (bench): Move target definition...
25716 * benchtests/Makefile: ... here.
25717
25718 2013-04-11 Carlos O'Donell <carlos@redhat.com>
25719
25720 * math/libm-test.inc (cos_test): Fix PI/2 test.
25721 (sincos_test): Likewise.
25722 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
25723 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
25724
25725 2013-04-11 Andreas Schwab <schwab@suse.de>
25726
25727 [BZ #13988]
25728 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
25729 accept exponent character only when digits were seen.
25730 * stdio-common/Makefile (tests): Add bug26.
25731 * stdio-common/bug26.c: New file.
25732
25733 [BZ #14293]
25734 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
25735 non-freeable.
25736
25737 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
25738
25739 * Makeconfig (rtld-prefix): Define built linker prefix.
25740 * Rules (run-bench): Use it.
25741 * math/Makefile (run-regen-ulps): Likewise.
25742
25743 * Rules (bench): Remove eval.
25744
25745 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
25746 Roland McGrath <roland@hack.frob.com>
25747 Ondrej Bilka <neleai@seznam.cz>
25748
25749 [BZ #15346]
25750 * time/getdate.c: Include ctype.h and alloca.h.
25751 (__getdate_r): Trim leading and trailing spaces of input.
25752 * time/tst-getdate.c (tests): Add tests with leading and
25753 trailing spaces.
25754
25755 2013-04-08 Roland McGrath <roland@hack.frob.com>
25756
25757 [BZ #14280]
25758 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
25759 when computing value.
25760
25761 2013-04-06 Carlos O'Donell <carlos@redhat.com>
25762
25763 * math/README.libm-test (How can I generate "libm-test-ulps"?):
25764 Use testrun.sh to run libm tests.
25765
25766 [BZ #15309]
25767 * elf/dl-open.c (dl_open_worker): memset all of seen array.
25768
25769 2013-04-06 Marko Myllynen <myllynen@redhat.com>
25770
25771 [BZ #15264]
25772 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
25773
25774 2013-04-06 Carlos O'Donell <carlos@redhat.com>
25775
25776 * Makefile.in (regen-ulps): New target.
25777 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
25778 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
25779 [ifneq (no,$(PERL)] (regen-ulps): New target.
25780 [ifeq (no,$(PERL)] (regen-ulps): New target.
25781 * math/libm-test.inc (ulps_file_name): Define.
25782 (output_dir): New variable.
25783 (options): Add "output-dir" option.
25784 (parse_opt): Handle 'o' case.
25785 (main): If output_dir is non-NULL use it as a prefix
25786 otherwise use "".
25787 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
25788
25789 2013-04-06 Carlos O'Donell <carlos@redhat.com>
25790
25791 [BZ #10060, #10062]
25792 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
25793 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
25794 fail configure if __sync_val_compare_and_swap is not inlined.
25795 * sysdeps/i386/configure: Regenerate.
25796 * configure.in: Build for i686 when configured for i386.
25797 * configure: Regenerate.
25798 * README: Remove i386 reference.
25799
25800 2013-04-06 Carlos O'Donell <carlos@redhat.com>
25801
25802 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
25803 * sysdeps/s390/s390-64/sysdep.h: Likewise.
25804
25805 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
25806
25807 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
25808 (lmsnanval): New variables.
25809 (F): Add conversion tests.
25810 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
25811 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
25812
25813 * stdio-common/tstdiomisc.c (F): Properly collect individual
25814 tests' results.
25815
25816 [BZ #14686, #15336]
25817 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
25818 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
25819 Instead, use input NaN values or generate a qNaN by arithmetic
25820 operation. Also fix bugs to comply with the standard.
25821 * math/libm-test.inc (remainder_test): Add more tests.
25822
25823 [BZ #15335, #15342]
25824 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
25825 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
25826 input NaN values or generate a qNaN by arithmetic operation.
25827
25828 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
25829 unreachable code.
25830
25831 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
25832 definitions.
25833
25834 2013-04-03 Joseph Myers <joseph@codesourcery.com>
25835
25836 [BZ #14478]
25837 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
25838 underflowed result.
25839 * math/s_cexpf.c (__cexpf): Likewise.
25840 * math/s_cexpl.c (__cexpl): Likewise.
25841 * math/libm-test.inc (cexp_test): Add more tests.
25842
25843 2013-04-03 Andreas Schwab <schwab@suse.de>
25844
25845 [BZ #15330]
25846 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
25847 order arrays from heap if bigger than alloca cutoff.
25848
25849 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
25850
25851 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
25852 (SNAN_TESTS_double): Refer to GCC PR56831.
25853 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
25854 GCC PR56828.
25855
25856 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
25857
25858 * Rules (bench): Move bench.out after the run is complete.
25859
25860 * Rules (bench): Echo currently running benchmark.
25861
25862 * benchtests/Makefile (bench): Add atan and slowatan.
25863 * benchtests/atan-inputs: New file.
25864 * benchtests/slowatan-inputs: New file.
25865 * benchtests/slowatan.c: New file.
25866
25867 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
25868 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
25869 its value.
25870
25871 [BZ #15305]
25872 * sysdeps/unix/sysv/linux/kernel-features.h
25873 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
25874 __ASSUME_XFS_RESTRICTED_CHOWN.
25875 * sysdeps/unix/sysv/linux/pathconf.c
25876 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
25877 Save and restore errno.
25878
25879 2013-04-02 Joseph Myers <joseph@codesourcery.com>
25880
25881 [BZ #15327]
25882 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
25883 arguments using __kernel_casinh.
25884 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
25885 arguments using __kernel_casinhf.
25886 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
25887 arguments using __kernel_casinhl.
25888 * math/libm-test.inc (cacosh_test): Add more tests.
25889 * sysdeps/i386/fpu/libm-test-ulps: Update.
25890 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25891
25892 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
25893
25894 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
25895 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
25896
25897 * bench/Makefile (bench): Add sin and slowsin.
25898 * benchtests/sin-inputs: New file.
25899 * benchtests/slowsin-inputs: New file.
25900 * benchtests/slowsin.c: New file.
25901
25902 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
25903 (bench): Add slowexp and slowpow.
25904 (exp-ITER): Increase iterations.
25905 (pow-ITER): Likewise.
25906 * benchtests/exp-inputs: Change input.
25907 * benchtests/pow-inputs: Likewise.
25908 * benchtests/slowexp-inputs: New file.
25909 * benchtests/slowexp.c: New file.
25910 * benchtests/slowpow-inputs: New file.
25911 * benchtests/slowpow.c: New file.
25912
25913 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25914
25915 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
25916 instructions.
25917 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
25918 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
25919 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
25920 * benchtests/Makefile: Add rint benchtest.
25921 * benchtests/rint-inputs: Input for rint benchtest.
25922
25923 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
25924
25925 * Versions.def (libm): Add GLIBC_2.18.
25926 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
25927 hidden libm prototypes.
25928 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
25929 * math/Makefile (libm-calls): Add s_issignaling.
25930 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
25931 __issignalingf, __issignalingl. Adjust all libm.abilist files.
25932 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
25933 declaration.
25934 * math/math.h [__USE_GNU] (issignaling): New macro.
25935 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
25936 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
25937 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
25938 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
25939 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
25940 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
25941 * manual/arith.texi (issignaling): New section.
25942 * manual/libm-err-tab.pl (@all_functions): Update comment.
25943 * math/gen-libm-test.pl (parse_args): Apply special handling for
25944 issignaling.
25945 * math/libm-test.inc (print_float, issignaling_test): New
25946 functions.
25947 (check_float_internal): Add issignaling checks.
25948 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
25949 default definition.
25950 * sysdeps/powerpc/math-tests.h: New file.
25951 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
25952 tests.
25953 * math/test-snan.c (TEST_FUNC): Likewise.
25954
25955 2013-03-30 David S. Miller <davem@davemloft.net>
25956
25957 * po/de.po: Update from translation team.
25958
25959 2013-03-30 Joseph Myers <joseph@codesourcery.com>
25960
25961 [BZ #10357]
25962 * math/k_casinh.c (__kernel_casinh): Handle arguments with
25963 imaginary part less than 1.0 and real part less than 0.5
25964 specially.
25965 * math/k_casinhf.c (__kernel_casinhf): Likewise.
25966 * math/k_casinhl.c (__kernel_casinhl): Likewise.
25967 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
25968 (cacos_test): Add more tests.
25969 (casin_test): Likewise.
25970 (casinh_test): Likewise.
25971 * sysdeps/i386/fpu/libm-test-ulps: Update.
25972 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25973
25974 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
25975
25976 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
25977 ONE with its value.
25978
25979 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
25980 (__pow_mp): Replace ONE and MONE with their values.
25981 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
25982 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
25983 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
25984 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
25985 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
25986 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
25987
25988 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
25989
25990 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
25991 (__pow_mp): Replace ZERO and MZERO with their values.
25992 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
25993 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
25994 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
25995 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
25996 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
25997 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
25998 (__sqr): Likewise.
25999
26000 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
26001
26002 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
26003
26004 2013-03-28 Roland McGrath <roland@hack.frob.com>
26005
26006 * include/stdlib.h [!SHARED] (__call_tls_dtors):
26007 Declare with __attribute__ ((weak)).
26008 * stdlib/exit.c (__libc_atexit) [!SHARED]:
26009 Call __call_tls_dtors only if it's not NULL.
26010
26011 2013-03-28 Roland McGrath <roland@hack.frob.com>
26012
26013 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
26014 didn't do it already, then set _dl_phdr and _dl_phnum based on the
26015 magic __ehdr_start linker symbol if it's defined.
26016 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
26017 them up here if it was already done.
26018
26019 * elf/dl-support.c (_dl_phdr): Make pointer to const.
26020 (_dl_aux_init): Use const in cast when setting it.
26021 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
26022 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
26023 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
26024
26025 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
26026 Declare them here.
26027 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
26028 * csu/libc-tls.c: Nor here.
26029 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
26030
26031 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
26032 (__libc_message): Never call vsyslog.
26033
26034 2013-03-28 Alan Modra <amodra@gmail.com>
26035
26036 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
26037 Define as empty.
26038 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
26039 Likewise.
26040
26041 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26042
26043 [BZ #15214]
26044 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
26045 underflow.
26046 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26047
26048 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
26049
26050 [BZ #15304]
26051 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
26052 Don't add gid passed as argument.
26053
26054 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
26055
26056 2013-03-27 Joseph Myers <joseph@codesourcery.com>
26057
26058 [BZ #15307]
26059 * math/k_casinh.c (__kernel_casinh): Handle arguments with
26060 imaginary part between 1.0 and 1.5 and real part less than 0.5
26061 specially.
26062 * math/k_casinhf.c (__kernel_casinhf): Likewise.
26063 * math/k_casinhl.c (__kernel_casinhl): Likewise.
26064 * math/libm-test.inc (cacos_test): Add more tests.
26065 (casin_test): Likewise.
26066 (casinh_test): Likewise.
26067 * sysdeps/i386/fpu/libm-test-ulps: Update.
26068 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26069
26070 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
26071
26072 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
26073 constants.
26074 (norm): Likewise.
26075 (denorm): Likewise.
26076 (__dbl_mp): Likewise.
26077 (add_magnitudes): Likewise.
26078 (sub_magnitudes): Likewise.
26079 (__add): Likewise.
26080 (__sub): Likewise.
26081 (__mul): Likewise.
26082 (__sqr): Likewise.
26083 (__inv): Likewise.
26084 (__dvd): Likewise.
26085
26086 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
26087 commented code.
26088 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
26089 (__dubcos): Likewise.
26090 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
26091 (__ieee754_acos): Likewise.
26092 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
26093 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
26094 (__exp1): Likewise.
26095 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
26096 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
26097 (log1): Likewise.
26098 (my_log2): Likewise.
26099 (checkint): Likewise.
26100 * sysdeps/ieee754/dbl-64/e_remainder.c
26101 (__ieee754_remainder): Likewise.
26102 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
26103 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
26104 (bsloww): Likewise.
26105 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
26106
26107 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
26108 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
26109 MANTISSA_STORE_T to store computations on mantissa. Use
26110 macros for rounding and division.
26111 (denorm): Likewise.
26112 (__dbl_mp): Likewise.
26113 (add_magnitudes): Likewise.
26114 (sub_magnitudes): Likewise.
26115 (__mul): Likewise.
26116 (__sqr): Likewise.
26117 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
26118 powers of two in terms of TWOPOW macro.
26119 (mp_no): Make type of mantissa as MANTISSA_T.
26120 [!RADIXI]: Define RADIXI.
26121 [!TWO52]: Define TWO52.
26122 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
26123
26124 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26125
26126 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
26127 llroundl symbol when building for PPC32.
26128
26129 2013-03-24 Mark H Weaver <mhw@netris.org>
26130
26131 * manual/arith.texi (Normalization Functions): Fix prototypes for
26132 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
26133
26134 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26135
26136 [BZ #13889]
26137 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
26138 high value to check if expl overflow.
26139 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
26140 to check for underflow and overflow.
26141 * math/libm-test.inc: Add exp test.
26142
26143 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
26144
26145 [BZ #11120]
26146 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
26147 with NOT_IN_libc.
26148
26149 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26150
26151 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
26152 symbol.
26153
26154 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
26155
26156 * math/gen-libm-test.pl (parse_args, special_functions): Properly
26157 wrap blocks consisting of several statements.
26158
26159 * sysdeps/generic/math-tests.h: New file.
26160 * sysdeps/i386/fpu/math-tests.h: Likewise.
26161 * math/test-snan.c: Include it.
26162 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
26163
26164 2013-03-21 Joseph Myers <joseph@codesourcery.com>
26165
26166 [BZ #15285]
26167 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
26168 (__ieee754_j0l): Do not improve calculations using cos of twice
26169 input for inputs above LDBL_MAX / 2.0L.
26170 (__ieee754_y0l): Likewise.
26171 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
26172 (__ieee754_j1l): Do not improve calculations using cos of twice
26173 input for inputs above LDBL_MAX / 2.0L.
26174 (__ieee754_y1l): Likewise.
26175 * math/libm-test.inc (j0_test): Add another test.
26176 (j1_test): Likewise.
26177 (y0_test): Likewise.
26178 (y1_test): Likewise.
26179 * sysdeps/i386/fpu/libm-test-ulps: Update.
26180
26181 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
26182
26183 * Rules ($(objpfx)bench-%.c): Include code from a C source
26184 file.
26185
26186 2013-03-21 Joseph Myers <joseph@codesourcery.com>
26187
26188 [BZ #15287]
26189 * math/k_casinh.c (__kernel_casinh): Handle arguments with
26190 imaginary part 1.0 and real part less than 0.5 specially.
26191 * math/k_casinhf.c (__kernel_casinhf): Likewise.
26192 * math/k_casinhl.c (__kernel_casinhl): Likewise.
26193 * math/libm-test.inc (cacos_test): Add more tests.
26194 (casin_test): Likewise.
26195 (casinh_test): Likewise.
26196 * sysdeps/i386/fpu/libm-test-ulps: Update.
26197 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26198
26199 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
26200
26201 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
26202 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
26203
26204 2013-03-20 Joseph Myers <joseph@codesourcery.com>
26205
26206 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
26207 * config.make.in (config-cflags-sse4): Remove variable.
26208 (config-cflags-avx): Likewise.
26209 (config-cflags-sse2avx): Likewise.
26210 (config-cflags-novzeroupper): Likewise.
26211 (config-asflags-i686): Likewise.
26212 (have-mfma4): Likewise.
26213 (have-as-vis3): Likewise.
26214 (MIG): Likewise.
26215 * configure.in (MIG): Do not AC_SUBST.
26216 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
26217 (libc_cv_cc_sse4): Do not AC_SUBST.
26218 (libc_cv_cc_avx): Likewise.
26219 (libc_cv_cc_sse2avx): Likewise.
26220 (libc_cv_cc_novzeroupper): Likewise.
26221 (libc_cv_cc_fma4): Likewise.
26222 (libc_cv_as_i686): Likewise.
26223 (libc_cv_sparc_as_vis3): Likewise.
26224 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
26225 LIBC_CONFIG_VAR.
26226 (config-asflags-i686): Likewise.
26227 (config-cflags-avx): Likewise.
26228 (config-cflags-sse2avx): Likewise.
26229 (have-mfma4): Likewise.
26230 (config-cflags-novzeroupper): Likewise.
26231 * sysdeps/mach/configure.in (MIG): Likewise.
26232 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
26233 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
26234 LIBC_CONFIG_VAR.
26235 (config-cflags-avx): Likewise.
26236 (config-cflags-sse2avx): Likewise.
26237 (have-mfma4): Likewise.
26238 (config-cflags-novzeroupper): Likewise.
26239 * configure: Regenerated.
26240 * sysdeps/i386/configure: Likewise.
26241 * sysdeps/mach/configure: Likewise.
26242 * sysdeps/sparc/configure: Likewise.
26243 * sysdeps/x86_64/configure: Likewise.
26244
26245 2013-03-20 Roland McGrath <roland@hack.frob.com>
26246
26247 [BZ #14812]
26248 * locale/programs/localedef.c (options): Put N_ translation marker
26249 on argument names, not just descriptions.
26250
26251 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
26252
26253 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
26254
26255 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
26256
26257 [BZ #14176]
26258 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
26259
26260 2013-03-19 Roland McGrath <roland@hack.frob.com>
26261
26262 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
26263 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
26264 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
26265 [!BEFORE_ABORT] (before_abort): New function.
26266 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
26267 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
26268 (writev_for_fatal): New function.
26269 (WRITEV_FOR_FATAL): New macro; call that.
26270 (backtrace_and_maps): New function.
26271 (BEFORE_ABORT): New macro; call that.
26272 (struct str_list): Type removed.
26273 (__libc_message, __libc_fatal): Functions removed.
26274 Include <sysdeps/posix/libc_fatal.c> instead.
26275
26276 2013-03-19 Joseph Myers <joseph@codesourcery.com>
26277
26278 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
26279 constants.
26280 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
26281 double constants.
26282
26283 2013-03-19 Andreas Schwab <schwab@suse.de>
26284
26285 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
26286 * sysdeps/gnu/configure: Regenerate.
26287
26288 * configure.in: Substitute libc_cv_rtlddir.
26289 * configure: Regenerate.
26290 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
26291 * Makeconfig (rtlddir, inst_rtlddir): New variables.
26292 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
26293 * elf/Makefile (install-others, CFLAGS-interp.c)
26294 (ldso_install, common-ldd-rewrite): Likewise.
26295 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
26296 $(inst_slibdir)/$(rtld-installed-name).
26297 * scripts/rellns-sh: Add -p option.
26298 * Makerules (make-shlib-link): Use rellns-sh to get relative name
26299 for source.
26300
26301 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
26302
26303 * manual/nptl.texi: Renamed to ...
26304 * manual/threads.texi: ... this.
26305 * manual/Makefile (chapters): Update.
26306
26307 2013-03-18 Roland McGrath <roland@hack.frob.com>
26308
26309 [BZ #14812]
26310 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
26311 on argument names, not just descriptions.
26312 * malloc/memusagestat.c (options): Likewise.
26313 * nss/getent.c (options): Likewise.
26314
26315 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
26316
26317 [BZ #14812]
26318 * iconv/iconv_prog.c (options): Put N_ translation marker
26319 on argument names, not just descriptions.
26320 * iconv/iconvconfig.c (options): Likewise.
26321
26322 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
26323
26324 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
26325 implementation which is faster on all x86_64 architectures.
26326 Tested on AMD, Intel Nehalem, SNB, IVB.
26327 * sysdeps/x86_64/strnlen.S: Likewise.
26328
26329 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
26330 Remove all multiarch strlen and strnlen versions.
26331 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
26332 Remove strlen and strnlen related parts.
26333
26334 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
26335 Inline strlen part.
26336 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
26337
26338 * sysdeps/x86_64/multiarch/strlen.S: Remove.
26339 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
26340 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
26341 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
26342 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
26343 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
26344
26345 2013-03-17 Carlos O'Donell <carlos@redhat.com>
26346
26347 * manual/memory.texi (Malloc Tunable Parameters):
26348 Sort parameters alphabetically. Add comments for missing entries.
26349
26350 2013-03-17 David S. Miller <davem@davemloft.net>
26351
26352 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26353
26354 2013-03-16 Joseph Myers <joseph@codesourcery.com>
26355
26356 [BZ #15283]
26357 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
26358 for arguments at most half maximum finite value.
26359 * math/libm-test.inc (j0_test): Add more tests.
26360 (j1_test): Likewise.
26361 (y0_test): Likewise.
26362 (y1_test): Likewise.
26363 * sysdeps/i386/fpu/libm-test-ulps: Update.
26364 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26365
26366 [BZ #14155]
26367 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
26368 1 / x and functions P and Q for arguments above 0x1p256L.
26369 (__ieee754_y0l): Likewise.
26370 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
26371 (__ieee754_y1l): Likewise.
26372 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
26373 (j1_test): Likewise.
26374 (y0_test): Likewise.
26375 (y1_test): Likewise.
26376
26377 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
26378
26379 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
26380 variable.
26381
26382 2013-03-15 Roland McGrath <roland@hack.frob.com>
26383
26384 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
26385 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
26386 zero since it's initialized to EXEC_PAGESIZE.
26387
26388 * sysdeps/unix/sysv/linux/ldsodefs.h
26389 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
26390 * sysdeps/generic/ldsodefs.h: ... here.
26391
26392 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
26393
26394 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
26395
26396 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
26397 math/test-snan.c.
26398 * math/test-snan.c: Renamed from
26399 sysdeps/powerpc/fpu/test-powerpc-snan.c.
26400 * math/Makefile (tests): Add test-snan.
26401 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
26402 test-powerpc-snan.
26403
26404 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
26405 SUFFIX. Initialize qNaN_var with __builtin_nan family of
26406 functions.
26407 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
26408 __builtin_nan family of functions.
26409 * math/libm-test.inc (initialize): Initialize qnan_value with
26410 __builtin_nan family of functions.
26411 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
26412 Remove variables.
26413 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
26414 Remove functions.
26415 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
26416 storage class. Initialize qNaN_var and sNaN_var with
26417 __builtin_nan and __builtin_nans families of functions,
26418 respectively.
26419
26420 * math/libm-test.inc (acosh_test): Also test with qNaN input.
26421 (sqrt_test): Remove duplicate test with qNaN input.
26422 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
26423 (round_test, signbit_test, significand_test): Note missing +/-Inf
26424 as well as qNaN tests.
26425
26426 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
26427 qNaN_var. Fix a few strings, too.
26428 * math/libm-test.inc (nan_value): Rename to qnan_value.
26429 * math/gen-libm-test.pl (%beautify): Adjust to that.
26430 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
26431 * math/test-misc.c (main): Likewise.
26432 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
26433 to __qnan_bytes, and __qnan_union, respectively.
26434 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
26435 Likewise.
26436 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
26437 and lqnanval, respectively.
26438 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
26439 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
26440 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
26441 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
26442
26443 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
26444 * math/test-misc.c (main) [__x86_64__]: Enable test for long
26445 doubles.
26446
26447 * math/test-misc.c (main): Fix copy'n'pastos.
26448 * misc/tst-efgcvt.c (special): Likewise.
26449
26450 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
26451 Remove declarations.
26452
26453 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
26454
26455 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
26456 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
26457 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
26458 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
26459
26460 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26461
26462 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
26463 macro to return vdso values correctly in IFUNC implementations.
26464 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
26465 Optimization by using IFUNC.
26466
26467 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
26468 Richard Henderson <rth@redhat.com>
26469 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
26470
26471 * Makefile.in (bench): New target.
26472 * NEWS: Mention the benchmark framework.
26473 * Rules (bench): Likewise.
26474 (binaries-bench): Generate binaries for functions to
26475 benchmark.
26476 * benchtests/Makefile: New makefile for benchmark tests.
26477 * benchtests/bench-skeleton.c: New skeleton file for benchmark
26478 programs.
26479 * benchtests/exp-inputs: New input file for EXP function.
26480 * benchtests/pow-inputs: New input file for POW function.
26481 * scripts/bench.pl: New script to generate source files for
26482 benchmark programs.
26483
26484 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
26485
26486 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
26487 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
26488 computations on mantissa. Use macros for rounding and
26489 division.
26490 (denorm): Likewise.
26491 (__dbl_mp): Likewise.
26492 (add_magnitudes): Likewise.
26493 (sub_magnitudes): Likewise.
26494 (__mul): Likewise.
26495 (__sqr): Likewise.
26496 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
26497 powers of two in terms of TWOPOW macro.
26498 (mp_no): Make type of mantissa as MANTISSA_T.
26499 [!RADIXI]: Define RADIXI.
26500 [!TWO52]: Define TWO52.
26501 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
26502
26503 * manual/nptl.texi (cindex): Modify threads to pthreads.
26504
26505 2013-03-15 Joseph Myers <joseph@codesourcery.com>
26506
26507 * sysdeps/x86_64/preconfigure: Regenerated.
26508
26509 2013-03-14 Joseph Myers <joseph@codesourcery.com>
26510
26511 [BZ #14155]
26512 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
26513 0x1p28 and above.
26514 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
26515 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
26516 0x1p28 and above.
26517 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
26518 * math/libm-test.inc (j0_test): Do not allow one spurious
26519 underflow exception.
26520 (y1_test): Likewise.
26521
26522 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
26523
26524 * manual/Makefile (chapters): Add nptl.
26525 * manual/debug.texi (Debugging Support): Add link to Threads
26526 chapter.
26527 * manual/nptl.texi: New file.
26528
26529 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
26530
26531 2013-03-14 Petr Baudis <pasky@ucw.cz>
26532
26533 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
26534 for non-NULL pointer before the memory validity test. Pointed
26535 out by Holger Brunck <holger.brunck@keymile.com>.
26536
26537 2013-03-13 Andreas Schwab <schwab@suse.de>
26538
26539 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
26540 instead of .os.
26541
26542 2013-03-13 Joseph Myers <joseph@codesourcery.com>
26543
26544 * timezone/zic.c: Update from tzcode 2013b.
26545
26546 2013-03-12 Carlos O'Donell <carlos@redhat.com>
26547
26548 * manual/install.texi (Configuring and compiling):
26549 Mention i686 and i586.
26550 * INSTALL: Regenerate.
26551
26552 2013-03-12 Roland McGrath <roland@hack.frob.com>
26553
26554 * sysdeps/init_array/elf-init.c: New file.
26555 * csu/elf-init.c
26556 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
26557 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
26558
26559 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
26560 __gmon_start__ as global, but as static with a .preinit_array pointer.
26561 * sysdeps/init_array/gmon-start.c: New file. Use that.
26562 * sysdeps/init_array/crti.S: New file, empty except for comments.
26563 * sysdeps/init_array/crtn.S: Likewise.
26564
26565 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
26566
26567 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
26568 definining bcopy.
26569 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26570 Remove Prefer_SSE_for_memop.
26571 * sysdeps/x86_64/multiarch/init-arch.h: Remove
26572 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
26573 HAS_PREFER_SSE_FOR_MEMOP.
26574 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
26575 memset-x86-64.
26576 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
26577 Remove bzero, memset ifunc support.
26578 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
26579 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
26580 * sysdeps/x86_64/multiarch/memset.S: Likewise.
26581 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
26582
26583 2013-03-11 Andreas Schwab <schwab@suse.de>
26584
26585 [BZ #15234]
26586 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
26587 by SHLIB_COMPAT.
26588 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
26589 (GLIBC_2.16): Remove pthread_atfork.
26590
26591 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
26592
26593 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
26594 (ptestcases.h): Likewise.
26595
26596 2013-03-08 Roland McGrath <roland@hack.frob.com>
26597
26598 * Makeconfig ($(common-objpfx)config.status): Depend on
26599 sysdeps/*/preconfigure{,.in} too.
26600
26601 2013-03-08 Joseph Myers <joseph@codesourcery.com>
26602
26603 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
26604 (__free_hook): Use void * instead of __malloc_ptr_t.
26605 (__malloc_hook): Likewise.
26606 (__realloc_hook): Likewise.
26607 (__memalign_hook): Likewise.
26608 (__after_morecore_hook): Likewise.
26609 * malloc/arena.c (save_malloc_hook): Likewise.
26610 (save_free_hook): Likewise.
26611 * malloc/hooks.c (malloc_hook_ini): Likewise.
26612 (realloc_hook_ini): Likewise.
26613 (memalign_hook_ini): Likewise.
26614 * malloc/malloc.c (malloc_hook_ini): Likewise.
26615 (realloc_hook_ini): Likewise.
26616 (memalign_hook_ini): Likewise.
26617 (__free_hook): Likewise.
26618 (__malloc_hook): Likewise.
26619 (__realloc_hook): Likewise.
26620 (__memalign_hook): Likewise.
26621 (__libc_malloc): Likewise.
26622 (__libc_free): Likewise.
26623 (__libc_realloc): Likewise.
26624 (__libc_memalign): Likewise.
26625 (__libc_valloc): Likewise.
26626 (__libc_pvalloc): Likewise.
26627 (__libc_calloc): Likewise.
26628 (__posix_memalign): Likewise.
26629 * malloc/morecore.c (__sbrk): Likewise.
26630 (__default_morecore): Likewise.
26631
26632 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
26633
26634 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
26635 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
26636 __malloc_ptrdiff_t.
26637
26638 * malloc/malloc.h (__malloc_size_t): Remove macro.
26639 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
26640 __malloc_size_t.
26641 (old_memalign_hook): Likewise.
26642 (old_realloc_hook): Likewise.
26643 (struct hdr): Likewise.
26644 (flood): Likewise.
26645 (mallochook): Likewise.
26646 (memalignhook): Likewise.
26647 (reallochook): Likewise.
26648 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
26649 (tr_old_realloc_hook): Likewise.
26650 (tr_old_memalign_hook): Likewise.
26651 (tr_mallochook): Likewise.
26652 (tr_reallochook): Likewise.
26653 (tr_memalignhook): Likewise.
26654
26655 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26656
26657 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
26658 default_ldbl_pack and using as default implementation.
26659 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
26660 implementation.
26661 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
26662 redundant definition.
26663 (ldbl_insert_mantissa): Likewise.
26664 (ldbl_canonicalize): Likewise.
26665 (ldbl_nearbyint): Likewise.
26666 (ldbl_pack): Rename to ldbl_pack_ppc.
26667 (ldbl_unpack): Rename to ldbl_unpack_ppc.
26668 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
26669 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
26670
26671 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
26672
26673 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
26674 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
26675 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
26676 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
26677 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
26678 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
26679 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
26680 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
26681
26682 2013-03-07 Andreas Jaeger <aj@suse.de>
26683
26684 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26685 bits/mman-linux.h.
26686
26687 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
26688
26689 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
26690 Include mpa.h and declare __MPEXP.
26691 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
26692 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
26693 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
26694 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
26695 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
26696 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
26697 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
26698
26699 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
26700 (__slowpow): Use long double EXPL and LOGL functions to
26701 compute POW.
26702 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
26703 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
26704 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
26705 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
26706 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
26707 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
26708
26709 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
26710 intermediate variable to calculate exponent.
26711 (__sqr): Likewise.
26712 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
26713 Likewise.
26714 (__sqr): Likewise.
26715
26716 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
26717 [!NO__SQR]: Define __sqr.
26718 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
26719 and NO__SQR. Remove all code except __mul and __sqr. Include
26720 sysdeps/ieee754/dbl-64/mpa.c.
26721 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
26722
26723 [BZ #12723]
26724 * posix/Makefile (tests): Add tst-pathconf.
26725 * posix/tst-pathconf.c: New test case.
26726 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
26727 _PC_PIPE_BUF.
26728 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
26729
26730 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
26731
26732 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
26733
26734 2013-03-06 Andreas Jaeger <aj@suse.de>
26735
26736 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
26737 definition via __MAP_ANONYMOUS.
26738
26739 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
26740 it's not part of Linux headers.
26741
26742 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
26743 (MAP_HUGE_MASK): Define.
26744
26745 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
26746 Define.
26747 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
26748 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
26749 Define.
26750 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
26751 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
26752 Define.
26753 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
26754 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
26755 Define.
26756 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
26757
26758 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
26759 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
26760 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
26761 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
26762 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
26763 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
26764
26765 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
26766 Handle f2fs.
26767
26768 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
26769 Handle f2fs and efivarfs.
26770
26771 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
26772 f2fs.
26773
26774 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
26775 (EFIVARFS_MAGIC): Add.
26776 (F2FS_LINK_MAX): Add.
26777
26778 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
26779
26780 * stdio-common/vfprintf.c: Replace __builtin_expect with
26781 __glibc_unlikely.
26782
26783 2013-03-06 Joseph Myers <joseph@codesourcery.com>
26784
26785 [BZ #13550]
26786 * sysdeps/generic/bp-sym.h: Remove file.
26787 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
26788 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
26789 <bp-sym.h> and <bp-asm.h>.
26790 (__longjmp): Don't use BP_SYM.
26791 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
26792 and <bp-asm.h>.
26793 (memcpy): Don't use BP_SYM.
26794 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
26795 <bp-sym.h> and <bp-asm.h>.
26796 (memcpy): Don't use BP_SYM.
26797 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
26798 <bp-asm.h>.
26799 (memcpy): Don't use BP_SYM.
26800 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
26801 <bp-asm.h>.
26802 (memset): Don't use BP_SYM.
26803 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
26804 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
26805 (__bzero): Don't use BP_SYM.
26806 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
26807 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
26808 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
26809 <bp-sym.h> and <bp-asm.h>.
26810 (memcmp): Don't use BP_SYM. Remove comment about bounded
26811 pointers.
26812 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
26813 <bp-sym.h> and <bp-asm.h>.
26814 (memcpy): Don't use BP_SYM.
26815 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
26816 <bp-sym.h> and <bp-asm.h>.
26817 (memset): Don't use BP_SYM.
26818 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
26819 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
26820 (__bzero): Don't use BP_SYM.
26821 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
26822 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
26823 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
26824 <bp-sym.h> and <bp-asm.h>.
26825 (strncmp): Don't use BP_SYM. Remove comment about bounded
26826 pointers.
26827 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
26828 <bp-sym.h> and <bp-asm.h>.
26829 (memcpy): Don't use BP_SYM.
26830 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
26831 <bp-sym.h> and <bp-asm.h>.
26832 (memset): Don't use BP_SYM.
26833 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
26834 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
26835 (__bzero): Don't use BP_SYM.
26836 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
26837 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
26838 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
26839 <bp-sym.h> and <bp-asm.h>.
26840 (__memchr): Don't use BP_SYM.
26841 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
26842 <bp-sym.h> and <bp-asm.h>.
26843 (memcmp): Don't use BP_SYM. Remove comment about bounded
26844 pointers.
26845 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
26846 <bp-sym.h> and <bp-asm.h>.
26847 (memcpy): Don't use BP_SYM.
26848 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
26849 <bp-sym.h> and <bp-asm.h>.
26850 (__mempcpy): Don't use BP_SYM.
26851 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
26852 <bp-sym.h> and <bp-asm.h>.
26853 (__memrchr): Don't use BP_SYM.
26854 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
26855 <bp-sym.h> and <bp-asm.h>.
26856 (memset): Don't use BP_SYM.
26857 (__bzero): Likewise.
26858 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
26859 <bp-sym.h> and <bp-asm.h>.
26860 (__rawmemchr): Don't use BP_SYM.
26861 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
26862 <bp-sym.h> and <bp-asm.h>.
26863 (__STRCMP): Don't use BP_SYM.
26864 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
26865 <bp-sym.h> and <bp-asm.h>.
26866 (strchr): Don't use BP_SYM.
26867 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
26868 <bp-sym.h> and <bp-asm.h>.
26869 (__strchrnul): Don't use BP_SYM.
26870 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
26871 <bp-sym.h> and <bp-asm.h>.
26872 (strlen): Don't use BP_SYM.
26873 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
26874 <bp-sym.h> and <bp-asm.h>.
26875 (strncmp): Don't use BP_SYM. Remove comment about bounded
26876 pointers.
26877 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
26878 <bp-sym.h> and <bp-asm.h>.
26879 (__strnlen): Don't use BP_SYM.
26880 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
26881 <bp-sym.h> and <bp-asm.h>.
26882 (__GI__setjmp): Don't use BP_SYM.
26883 (_setjmp): Likewise.
26884 (__sigsetjmp): Likewise.
26885 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
26886 (L(start_addresses)): Don't use BP_SYM.
26887 (_start): Likewise.
26888 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
26889 <bp-asm.h>.
26890 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
26891 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
26892 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
26893 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
26894 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
26895 <bp-asm.h>.
26896 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
26897 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
26898 about bounded pointers.
26899 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
26900 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
26901 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
26902 <bp-asm.h>.
26903 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
26904 about bounded pointers. Remove GKM FIXME comments.
26905 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
26906 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
26907 <bp-asm.h>.
26908 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
26909 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
26910 Remove GKM FIXME comments.
26911 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
26912 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
26913 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
26914 <bp-asm.h>.
26915 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
26916 about bounded pointers. Remove GKM FIXME comment.
26917 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
26918 and <bp-asm.h>.
26919 (strncmp): Don't use BP_SYM. Remove comment about bounded
26920 pointers.
26921 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
26922 <bp-sym.h> and <bp-asm.h>.
26923 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
26924 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
26925 <bp-sym.h> and <bp-asm.h>.
26926 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
26927 comment.
26928
26929 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
26930
26931 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
26932 call free(NULL).
26933
26934 2013-03-05 David S. Miller <davem@davemloft.net>
26935
26936 * po/es.po: Update from translation team.
26937
26938 2013-03-05 Andreas Jaeger <aj@suse.de>
26939
26940 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
26941 <bits/mman-linux.h>.
26942 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
26943 is fine.
26944 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
26945 <bits/mman-linux.h> to end of file.
26946 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
26947 is fine.
26948 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
26949 <bits/mman-linux.h> to end of file.
26950 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
26951 is fine.
26952 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
26953 <bits/mman-linux.h> to end of file.
26954
26955 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
26956 (MCL_CURRENT, MCL_FUTURE): Define here.
26957
26958 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26959
26960 [BZ #15232]
26961 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
26962 attribute_hidden.
26963 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
26964
26965 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26966
26967 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
26968 fourth parameter needed for rt_sigprocmask syscall.
26969 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
26970 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
26971 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
26972 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
26973 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
26974 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
26975
26976 2013-03-04 Joseph Myers <joseph@codesourcery.com>
26977
26978 [BZ #13550]
26979 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
26980 comment about bounded pointers.
26981 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
26982 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
26983
26984 2013-03-04 Andreas Jaeger <aj@suse.de>
26985
26986 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
26987 common definitions.
26988
26989 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
26990 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
26991 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
26992 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
26993 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
26994 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
26995
26996 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26997
26998 [BZ #15055]
26999 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
27000 __ieee754_sqrl instead of __sqrl.
27001
27002 2013-03-01 Joseph Myers <joseph@codesourcery.com>
27003
27004 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
27005 * sysdeps/powerpc/fpu_control.h: ... here.
27006 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
27007 * sysdeps/powerpc/bits/fenvinline.h: ... here.
27008 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
27009 * sysdeps/powerpc/bits/mathinline.h: ... here.
27010
27011 2013-03-01 Roland McGrath <roland@hack.frob.com>
27012
27013 * elf/dl-hwcaps.c (_dl_important_hwcaps):
27014 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
27015 to just [NEED_DL_SYSINFO_DSO].
27016 * elf/dl-support.c: Likewise.
27017 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
27018 * elf/rtld.c (dl_main): Likewise.
27019 * elf/setup-vdso.h (setup_vdso): Likewise.
27020 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
27021 * sysdeps/unix/sysv/linux/dl-sysdep.c
27022 (_dl_discover_osversion): Likewise.
27023
27024 2013-03-01 Carlos O'Donell <carlos@redhat.com>
27025
27026 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
27027 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
27028
27029 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
27030
27031 * NEWS: Mention libm performance improvements and non-x86 PI
27032 futex support.
27033
27034 * csu/libc-start.c (__pthread_initialize_minimal): Change
27035 function arguments.
27036 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
27037
27038 2013-02-28 Joseph Myers <joseph@codesourcery.com>
27039
27040 [BZ #13550]
27041 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
27042 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
27043 <bp-sym.h> and <bp-asm.h>.
27044 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
27045 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
27046 and <bp-asm.h>.
27047 (memcpy): Don't use BP_SYM.
27048 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
27049 <bp-asm.h>.
27050 (__mpn_add_n): Don't use BP_SYM.
27051 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
27052 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
27053 and <bp-asm.h>.
27054 (__mpn_addmul_1): Don't use BP_SYM.
27055 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
27056 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
27057 <bp-sym.h>.
27058 (_setjmp): Don't use BP_SYM.
27059 (__novmx_setjmp): Likewise.
27060 (__GI__setjmp): Likewise.
27061 (__vmx_setjmp): Likewise.
27062 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
27063 <bp-sym.h>.
27064 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
27065 (__bzero): Don't use BP_SYM.
27066 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
27067 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
27068 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
27069 <bp-sym.h> and <bp-asm.h>.
27070 (memcpy): Don't use BP_SYM.
27071 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
27072 <bp-sym.h> and <bp-asm.h>.
27073 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
27074 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
27075 <bp-sym.h> and <bp-asm.h>.
27076 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
27077 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
27078 <bp-asm.h>.
27079 (__mpn_lshift): Don't use BP_SYM.
27080 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
27081 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
27082 <bp-asm.h>.
27083 (memset): Don't use BP_SYM.
27084 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
27085 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
27086 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
27087 <bp-asm.h>.
27088 (__mpn_mul_1): Don't use BP_SYM.
27089 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
27090 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
27091 <bp-sym.h> and <bp-asm.h>.
27092 (memcmp): Don't use BP_SYM.
27093 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
27094 <bp-sym.h> and <bp-asm.h>.
27095 (memcpy): Don't use BP_SYM.
27096 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
27097 <bp-sym.h> and <bp-asm.h>.
27098 (memset): Don't use BP_SYM.
27099 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
27100 <bp-sym.h> and <bp-asm.h>.
27101 (strncmp): Don't use BP_SYM.
27102 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
27103 <bp-sym.h> and <bp-asm.h>.
27104 (memcpy): Don't use BP_SYM.
27105 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
27106 <bp-sym.h> and <bp-asm.h>.
27107 (memset): Don't use BP_SYM.
27108 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
27109 <bp-sym.h> and <bp-asm.h>.
27110 (__memchr): Don't use BP_SYM.
27111 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
27112 <bp-sym.h> and <bp-asm.h>.
27113 (memcmp): Don't use BP_SYM.
27114 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
27115 <bp-sym.h> and <bp-asm.h>.
27116 (memcpy): Don't use BP_SYM.
27117 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
27118 <bp-sym.h> and <bp-asm.h>.
27119 (__mempcpy): Don't use BP_SYM.
27120 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
27121 <bp-sym.h> and <bp-asm.h>.
27122 (__memrchr): Don't use BP_SYM.
27123 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
27124 <bp-sym.h> and <bp-asm.h>.
27125 (memset): Don't use BP_SYM.
27126 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
27127 <bp-sym.h> and <bp-asm.h>.
27128 (__rawmemchr): Don't use BP_SYM.
27129 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
27130 <bp-sym.h> and <bp-asm.h>.
27131 (__STRCMP): Don't use BP_SYM.
27132 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
27133 <bp-sym.h> and <bp-asm.h>.
27134 (strchr): Don't use BP_SYM.
27135 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
27136 <bp-sym.h> and <bp-asm.h>.
27137 (__strchrnul): Don't use BP_SYM.
27138 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
27139 <bp-sym.h> and <bp-asm.h>.
27140 (strlen): Don't use BP_SYM.
27141 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
27142 <bp-sym.h> and <bp-asm.h>.
27143 (strncmp): Don't use BP_SYM.
27144 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
27145 <bp-sym.h> and <bp-asm.h>.
27146 (__strnlen): Don't use BP_SYM.
27147 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
27148 <bp-asm.h>.
27149 (__mpn_rshift): Don't use BP_SYM.
27150 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
27151 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
27152 <bp-sym.h> and <bp-asm.h>.
27153 (__sigsetjmp): Don't use BP_SYM.
27154 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
27155 (L(start_addresses)): Don't use BP_SYM.
27156 (_start): Likewise.
27157 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
27158 <bp-asm.h>.
27159 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
27160 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
27161 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
27162 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
27163 <bp-asm.h>.
27164 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
27165 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
27166 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
27167 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
27168 <bp-asm.h>.
27169 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
27170 comments.
27171 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
27172 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
27173 <bp-asm.h>.
27174 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
27175 FIXME comments.
27176 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
27177 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
27178 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
27179 <bp-asm.h>.
27180 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
27181 comment.
27182 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
27183 and <bp-asm.h>.
27184 (strncmp): Don't use BP_SYM,
27185 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
27186 <bp-asm.h>.
27187 (__mpn_sub_n): Don't use BP_SYM.
27188 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
27189 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
27190 and <bp-asm.h>.
27191 (__mpn_submul_1): Don't use BP_SYM.
27192 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
27193 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
27194 <bp-sym.h> and <bp-asm.h>.
27195 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
27196 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
27197 <bp-sym.h> and <bp-asm.h>.
27198 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
27199 comment.
27200
27201 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
27202
27203 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
27204 Use ZK to minimize writes to Z.
27205 (sub_magnitudes): Simplify code a bit.
27206 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
27207 Use ZK to minimize writes to Z.
27208 (sub_magnitudes): Simplify code a bit.
27209
27210 2013-02-27 Roland McGrath <roland@hack.frob.com>
27211
27212 * csu/gmon-start.c: Add special exception to license text.
27213
27214 2013-02-27 Richard Henderson <rth@redhat.com>
27215
27216 * scripts/config.guess: Update from config.git.
27217 * scripts/config.sub: Likewise.
27218
27219 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
27220
27221 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
27222
27223 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
27224
27225 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
27226
27227 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
27228
27229 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
27230
27231 2013-02-26 Roland McGrath <roland@hack.frob.com>
27232
27233 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
27234 [$(build-shared = yes].
27235
27236 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
27237
27238 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
27239 (__mul): Reduce iterations for calculating mantissa.
27240
27241 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
27242 MPTWO.
27243 (__mpranred): Likewise.
27244
27245 [BZ #15160]
27246 * malloc/memusagestat.c (main): Draw graphs for heap and stack
27247 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
27248
27249 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
27250
27251 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
27252 Define __attribute__.
27253
27254 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
27255
27256 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
27257 unused.
27258 * posix/regex_internal.h (__attribute): Remove.
27259 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
27260 (re_string_context_at): Likewise.
27261 (bitset_not): Use __attribute__ and mark function as possibly
27262 unused.
27263 (bitset_merge): Likewise.
27264 (bitset_mask): Likewise.
27265 (re_string_char_size_at): Likewise.
27266 (re_string_wchar_at): Likewise.
27267 (re_string_elem_size_at): Likewise.
27268
27269 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
27270
27271 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
27272 code.
27273 (cc32): Likewise.
27274
27275 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
27276 (__acr): Likewise.
27277 (__cpy): Likewise.
27278 (norm): Likewise.
27279 (denorm): Likewise.
27280 (__dbl_mp): Likewise.
27281 (add_magnitudes): Likewise.
27282 (sub_magnitudes): Likewise.
27283 (__mul): Likewise.
27284 (__inv): Likewise.
27285
27286 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
27287 style.
27288
27289 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
27290 style.
27291
27292 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
27293 code.
27294
27295 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
27296 up changes with default code.
27297 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
27298 Likewise.
27299
27300 2013-02-24 Allan McRae <allan@archlinux.org>
27301
27302 * manual/socket.texi (The Internet Namespace): Order menu items
27303 to match that in the file.
27304
27305 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
27306 node listing of the info page menu.
27307
27308 2013-02-21 Joseph Myers <joseph@codesourcery.com>
27309
27310 [BZ #13550]
27311 * sysdeps/i386/bp-asm.h: Remove file.
27312 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
27313 (PARMS): Do not use macros from bp-asm.h.
27314 (S1): Likewise.
27315 (S2): Likewise.
27316 (SIZE): Likewise.
27317 (__mpn_add_n): Do not use BP_SYM
27318 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
27319 "bp-asm.h".
27320 (PARMS): Do not use macros from bp-asm.h.
27321 (S1): Likewise.
27322 (SIZE): Likewise.
27323 (__mpn_addmul_1): Do not use BP_SYM
27324 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
27325 "bp-asm.h".
27326 (PARMS): Do not use macros from bp-asm.h.
27327 (SIGMSK): Likewise.
27328 (_setjmp): Likewise. Do not use BP_SYM.
27329 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
27330 "bp-asm.h".
27331 (PARMS): Do not use macros from bp-asm.h.
27332 (SIGMSK): Likewise.
27333 (setjmp): Likewise. Do not use BP_SYM.
27334 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
27335 "bp-asm.h".
27336 (PARMS): Do not use macros from bp-asm.h.
27337 (__frexp): Do not use BP_SYM.
27338 (frexp): Likewise.
27339 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
27340 "bp-asm.h".
27341 (PARMS): Do not use macros from bp-asm.h.
27342 (__frexpf): Do not use BP_SYM.
27343 (frexpf): Likewise.
27344 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
27345 "bp-asm.h".
27346 (PARMS): Do not use macros from bp-asm.h.
27347 (__frexpl): Do not use BP_SYM.
27348 (frexpl): Likewise.
27349 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
27350 "bp-asm.h".
27351 (PARMS): Do not use macros from bp-asm.h.
27352 (__remquo): Do not use BP_SYM.
27353 (remquo): Likewise.
27354 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
27355 "bp-asm.h".
27356 (PARMS): Do not use macros from bp-asm.h.
27357 (__remquof): Do not use BP_SYM.
27358 (remquof): Likewise.
27359 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
27360 "bp-asm.h".
27361 (PARMS): Do not use macros from bp-asm.h.
27362 (__remquol): Do not use BP_SYM.
27363 (remquol): Likewise.
27364 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
27365 "bp-asm.h".
27366 (PARMS): Do not use macros from bp-asm.h.
27367 (DEST): Likewise.
27368 (SRC): Likewise.
27369 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
27370 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
27371 "bp-asm.h".
27372 (PARMS): Do not use macros from bp-asm.h.
27373 (strlen): Do not use BP_SYM.
27374 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
27375 "bp-asm.h".
27376 (PARMS): Do not use macros from bp-asm.h.
27377 (S1): Likewise.
27378 (S2): Likewise.
27379 (SIZE): Likewise.
27380 (__mpn_add_n): Do not use BP_SYM.
27381 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
27382 "bp-asm.h".
27383 (PARMS): Do not use macros from bp-asm.h.
27384 (S1): Likewise.
27385 (SIZE): Likewise.
27386 (__mpn_addmul_1): Do not use BP_SYM.
27387 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
27388 weak_alias.
27389 (bzero): Likewise.
27390 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
27391 "bp-asm.h".
27392 (PARMS): Do not use macros from bp-asm.h.
27393 (S): Likewise.
27394 (SIZE): Likewise.
27395 (__mpn_lshift): Do not use BP_SYM.
27396 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
27397 "bp-asm.h".
27398 (PARMS): Do not use macros from bp-asm.h.
27399 (DEST): Likewise.
27400 (SRC): Likewise.
27401 (LEN): Likewise.
27402 (memcpy): Likewise. Do not use BP_SYM.
27403 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
27404 libc_hidden_def and weak_alias.
27405 (mempcpy): Do not use BP_SYM in weak_alias.
27406 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
27407 "bp-asm.h".
27408 (PARMS): Do not use macros from bp-asm.h.
27409 (DEST): Likewise.
27410 (LEN): Likewise.
27411 [!BZERO_P] (CHR): Likewise.
27412 (memset): Likewise. Do not use BP_SYM.
27413 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
27414 "bp-asm.h".
27415 (PARMS): Do not use macros from bp-asm.h.
27416 (S1): Likewise.
27417 (SIZE): Likewise.
27418 (__mpn_mul_1): Do not use BP_SYM.
27419 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
27420 "bp-asm.h".
27421 (PARMS): Do not use macros from bp-asm.h.
27422 (S): Likewise.
27423 (SIZE): Likewise.
27424 (__mpn_rshift): Do not use BP_SYM.
27425 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
27426 "bp-asm.h".
27427 (PARMS): Do not use macros from bp-asm.h.
27428 (STR): Likewise.
27429 (CHR): Likewise.
27430 (strchr): Likewise. Do not use BP_SYM.
27431 (index): Do not use BP_SYM in weak_alias.
27432 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
27433 "bp-asm.h".
27434 (PARMS): Do not use macros from bp-asm.h.
27435 (DEST): Likewise.
27436 (SRC): Likewise.
27437 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
27438 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
27439 "bp-asm.h".
27440 (PARMS): Do not use macros from bp-asm.h.
27441 (strlen): Do not use BP_SYM.
27442 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
27443 "bp-asm.h".
27444 (PARMS): Do not use macros from bp-asm.h.
27445 (S1): Likewise.
27446 (S2): Likewise.
27447 (SIZE): Likewise.
27448 (__mpn_sub_n): Do not use BP_SYM.
27449 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
27450 "bp-asm.h".
27451 (PARMS): Do not use macros from bp-asm.h.
27452 (S1): Likewise.
27453 (SIZE): Likewise.
27454 (__mpn_submul_1): Do not use BP_SYM.
27455 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
27456 "bp-asm.h".
27457 (PARMS): Do not use macros from bp-asm.h.
27458 (S1): Likewise.
27459 (S2): Likewise.
27460 (SIZE): Likewise.
27461 (__mpn_add_n): Do not use BP_SYM.
27462 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
27463 weak_alias.
27464 (bzero): Likewise.
27465 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
27466 "bp-asm.h".
27467 (PARMS): Do not use macros from bp-asm.h.
27468 (BLK2): Likewise.
27469 (LEN): Likewise.
27470 (memcmp): Do not use BP_SYM.
27471 (bcmp): Do not use BP_SYM in weak_alias.
27472 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
27473 "bp-asm.h".
27474 (PARMS): Do not use macros from bp-asm.h.
27475 (DEST): Likewise.
27476 (SRC): Likewise.
27477 (LEN): Likewise.
27478 (memcpy): Likewise. Do not use BP_SYM.
27479 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
27480 "bp-asm.h".
27481 (PARMS): Do not use macros from bp-asm.h.
27482 (DEST): Likewise.
27483 (SRC): Likewise.
27484 (LEN): Likewise.
27485 (memmove): Likewise. Do not use BP_SYM.
27486 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
27487 "bp-asm.h".
27488 (PARMS): Do not use macros from bp-asm.h.
27489 (DEST): Likewise.
27490 (SRC): Likewise.
27491 (LEN): Likewise.
27492 (__mempcpy): Likewise. Do not use BP_SYM.
27493 (mempcpy): Do not use BP_SYM in weak_alias.
27494 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
27495 "bp-asm.h".
27496 (PARMS): Do not use macros from bp-asm.h.
27497 (DEST): Likewise.
27498 (LEN): Likewise.
27499 [!BZERO_P] (CHR): Likewise.
27500 (memset): Likewise. Do not use BP_SYM.
27501 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
27502 "bp-asm.h".
27503 (PARMS): Do not use macros from bp-asm.h.
27504 (STR2): Likewise.
27505 (strcmp): Do not use BP_SYM.
27506 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
27507 "bp-asm.h".
27508 (PARMS): Do not use macros from bp-asm.h.
27509 (STR): Likewise.
27510 (DELIM): Likewise.
27511 [USE_AS_STRTOK_R] (SAVE): Likewise.
27512 (FUNCTION): Likewise. Do not use BP_SYM.
27513 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
27514 aliases.
27515 (strtok_r): Likewise.
27516 (__GI___strtok_r): Likewise.
27517 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
27518 (PARMS): Do not use macros from bp-asm.h.
27519 (S): Likewise.
27520 (SIZE): Likewise.
27521 (__mpn_lshift): Do not use BP_SYM.
27522 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
27523 (PARMS): Do not use macros from bp-asm.h.
27524 (STR): Likewise.
27525 (CHR): Likewise.
27526 (__memchr): Do not use BP_SYM.
27527 (memchr): Do not use BP_SYM in weak_alias.
27528 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
27529 (PARMS): Do not use macros from bp-asm.h.
27530 (BLK2): Likewise.
27531 (LEN): Likewise.
27532 (memcmp): Do not use BP_SYM.
27533 (bcmp): Do not use BP_SYM in weak_alias.
27534 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
27535 (PARMS): Do not use macros from bp-asm.h.
27536 (S1): Likewise.
27537 (SIZE): Likewise.
27538 (__mpn_mul_1): Do not use BP_SYM.
27539 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
27540 "bp-asm.h".
27541 (PARMS): Do not use macros from bp-asm.h.
27542 (STR): Likewise.
27543 (CHR): Likewise.
27544 (__rawmemchr): Do not use BP_SYM.
27545 (rawmemchr): Do not use BP_SYM in weak_alias.
27546 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
27547 (PARMS): Do not use macros from bp-asm.h.
27548 (S): Likewise.
27549 (SIZE): Likewise.
27550 (__mpn_rshift): Do not use BP_SYM.
27551 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
27552 (PARMS): Do not use macros from bp-asm.h.
27553 (SIGMSK): Likewise.
27554 (__sigsetjmp): Likewise. Do not use BP_SYM.
27555 * sysdeps/i386/start.S: Do not include "bp-sym.h".
27556 (_start): Do not use BP_SYM.
27557 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
27558 (PARMS): Do not use macros from bp-asm.h.
27559 (DEST): Likewise.
27560 (SRC): Likewise.
27561 (__stpcpy): Likewise. Do not use BP_SYM.
27562 (stpcpy): Do not use BP_SYM in weak_alias.
27563 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
27564 "bp-asm.h".
27565 (PARMS): Do not use macros from bp-asm.h.
27566 (DEST): Likewise.
27567 (SRC): Likewise.
27568 (LEN): Likewise.
27569 (__stpncpy): Likewise. Do not use BP_SYM.
27570 (stpncpy): Do not use BP_SYM in weak_alias.
27571 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
27572 (PARMS): Do not use macros from bp-asm.h.
27573 (STR): Likewise.
27574 (CHR): Likewise.
27575 (strchr): Likewise. Do not use BP_SYM.
27576 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
27577 "bp-asm.h".
27578 (PARMS): Do not use macros from bp-asm.h.
27579 (STR): Likewise.
27580 (CHR): Likewise.
27581 (__strchrnul): Likewise. Do not use BP_SYM.
27582 (strchrnul): Do not use BP_SYM in weak_alias.
27583 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
27584 "bp-asm.h".
27585 (PARMS): Do not use macros from bp-asm.h.
27586 (STOP): Likewise.
27587 (strcspn): Do not use BP_SYM.
27588 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
27589 "bp-asm.h".
27590 (PARMS): Do not use macros from bp-asm.h.
27591 (STR): Likewise.
27592 (STOP): Likewise.
27593 (strpbrk): Likewise. Do not use BP_SYM.
27594 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
27595 "bp-asm.h".
27596 (PARMS): Do not use macros from bp-asm.h.
27597 (STR): Likewise.
27598 (CHR): Likewise.
27599 (strrchr): Likewise. Do not use BP_SYM.
27600 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
27601 (PARMS): Do not use macros from bp-asm.h.
27602 (SKIP): Likewise.
27603 (strspn): Do not use BP_SYM.
27604 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
27605 (PARMS): Do not use macros from bp-asm.h.
27606 (STR): Likewise.
27607 (DELIM): Likewise.
27608 (SAVE): Likewise.
27609 (FUNCTION): Likewise. Do not use BP_SYM.
27610 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
27611 aliases.
27612 (strtok_r): Likewise.
27613 (__GI___strtok_r): Likewise.
27614 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
27615 (PARMS): Do not use macros from bp-asm.h.
27616 (S1): Likewise.
27617 (S2): Likewise.
27618 (SIZE): Likewise.
27619 (__mpn_sub_n): Do not use BP_SYM.
27620 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
27621 "bp-asm.h".
27622 (PARMS): Do not use macros from bp-asm.h.
27623 (S1): Likewise.
27624 (SIZE): Likewise.
27625 (__mpn_submul_1): Do not use BP_SYM.
27626 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
27627 <bp-sym.h>.
27628 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
27629 and <bp-asm.h>.
27630 (PARMS): Do not use macros from bp-asm.h.
27631 (FLAGS): Likewise.
27632 (PTID): Likewise.
27633 (TLS): Likewise.
27634 (CTID): Likewise.
27635 (__clone): Do not use BP_SYM.
27636 (clone): Do not use BP_SYM in weak_alias.
27637 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
27638 and <bp-asm.h>.
27639 (PARMS): Do not use macros from bp-asm.h.
27640 (LEN): Likewise.
27641 (__mmap64): Do not use BP_SYM.
27642 (mmap64): Do not use BP_SYM in weak_alias.
27643 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
27644 <bp-sym.h> and <bp-asm.h>.
27645 (PARMS): Do not use macros from bp-asm.h.
27646 (__posix_fadvise64_l64): Do not use BP_SYM.
27647 * sysdeps/unix/sysv/linux/i386/semtimedop.S
27648 (PARMS): Do not use macros from bp-asm.h.
27649 (NSOPS): Likewise.
27650 (semtimedop): Do not use BP_SYM.
27651 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
27652 and <bp-asm.h>.
27653
27654 2013-02-21 Allan McRae <allan@archlinux.org>
27655
27656 * manual/message.texi (Charset conversion in gettext):
27657 Move @end statement to beginning of line.
27658
27659 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
27660
27661 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
27662 static.
27663 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
27664 Likewise.
27665
27666 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
27667 (denorm): Likewise.
27668 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
27669 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
27670
27671 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27672
27673 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
27674 tail-call to the resolved function if pltexit isn't needed.
27675
27676 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
27677
27678 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
27679 or Y being zero as being unlikely.
27680 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
27681 Likewise.
27682
27683 2013-02-20 Carlos O'Donell <carlos@redhat.com>
27684
27685 * manual/nss.texi (System Databases and Name Service Switch):
27686 Remove frobnicate @pxref.
27687
27688 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
27689
27690 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
27691 __attribute__ ((unused)) to __attribute__ ((__unused__)).
27692
27693 2013-02-20 Petr Machata <pmachata@redhat.com>
27694
27695 * elf/elf.h (R_ARM_TARGET1): New macro.
27696 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
27697 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
27698 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
27699 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
27700 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
27701 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
27702 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
27703 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
27704 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
27705 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
27706 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
27707 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
27708 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
27709 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
27710 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
27711 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
27712 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
27713 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
27714 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
27715 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
27716 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
27717 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
27718 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
27719 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
27720 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
27721 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
27722 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
27723 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
27724 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
27725 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
27726 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
27727 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
27728 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
27729 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
27730 (R_ARM_THM_GOT_BREL12): Likewise.
27731 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
27732 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
27733 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
27734 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
27735 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
27736 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
27737 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
27738 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
27739 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
27740
27741 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
27742
27743 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
27744 __attribute_used__ to __attribute__ ((unused)).
27745
27746 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
27747
27748 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
27749 powerpc mpa.c.
27750 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
27751 comment formatting.
27752 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
27753
27754 2013-02-19 Joseph Myers <joseph@codesourcery.com>
27755
27756 [BZ #13550]
27757 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
27758 Remove macro.
27759 (ENTER): Remove both macro definitions.
27760 (LEAVE): Likewise.
27761 (CHECK_BOUNDS_LOW): Likewise.
27762 (CHECK_BOUNDS_HIGH): Likewise.
27763 (CHECK_BOUNDS_BOTH): Likewise.
27764 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
27765 (RETURN_BOUNDED_POINTER): Likewise.
27766 (RETURN_NULL_BOUNDED_POINTER): Likewise.
27767 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
27768 (POP_ERRNO_LOCATION_RETURN): Likewise.
27769 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
27770 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
27771 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
27772 macros.
27773 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
27774 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
27775 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
27776 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
27777 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
27778 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
27779 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
27780 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
27781 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
27782 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
27783 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
27784 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
27785 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
27786 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
27787 removed macros.
27788 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
27789 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
27790 macros.
27791 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
27792 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
27793 * sysdeps/i386/i586/memset.S (memset): Likewise.
27794 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
27795 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
27796 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
27797 macros.
27798 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
27799 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
27800 Change uses of L(2) to L(out).
27801 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
27802 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
27803 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
27804 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
27805 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
27806 removed macros.
27807 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
27808 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
27809 macros.
27810 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
27811 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
27812 (RETURN): Do not use macro LEAVE.
27813 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
27814 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
27815 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
27816 * sysdeps/i386/i686/memset.S (memset): Likewise.
27817 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
27818 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
27819 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
27820 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
27821 Likewise.
27822 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
27823 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
27824 L(1_2) and L(1_3) into L(1).
27825 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
27826 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
27827 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
27828 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
27829 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
27830 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
27831 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
27832 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
27833 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
27834 macros.
27835 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
27836 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
27837 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
27838 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
27839 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
27840 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
27841 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
27842 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
27843 * sysdeps/i386/strcspn.S (strcspn): Likewise.
27844 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
27845 * sysdeps/i386/strrchr.S (strrchr): Likewise.
27846 * sysdeps/i386/strspn.S (strspn): Likewise.
27847 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
27848 conditional code.
27849 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
27850 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
27851 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
27852 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
27853 L(1_3) into L(1_1).
27854 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
27855 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
27856 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
27857 macros.
27858 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
27859
27860 2013-02-19 Jakub Jelinek <jakub@redhat.com>
27861
27862 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
27863 macro.
27864
27865 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
27866
27867 * math/atest-exp.c (exp_mpn): Remove ROUND.
27868 * math/atest-exp2.c (exp_mpn): Likewise.
27869 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
27870
27871 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
27872 * stdlib/tst-tls-atexit-lib.c: Likewise.
27873 * stdlib/tst-tls-atexit.c: Likewise.
27874
27875 2013-02-18 Mike Frysinger <vapier@gentoo.org>
27876
27877 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
27878 and __attribute_alloc_size__.
27879
27880 2013-02-18 Mike Frysinger <vapier@gentoo.org>
27881
27882 * include/programs/xmalloc.h: Change __attribute_alloc_size to
27883 __attribute_alloc_size__.
27884 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
27885 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
27886
27887 2013-02-18 Mike Frysinger <vapier@gentoo.org>
27888
27889 * include/programs/xmalloc.h: New file.
27890 * catgets/gencat.c: Include it.
27891 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
27892 * elf/pldd.c: Likewise.
27893 * iconv/iconv_charmap.c: Likewise.
27894 * iconv/iconvconfig.c: Likewise.
27895 * iconv/strtab.c: Likewise.
27896 * locale/programs/locale.c: Likewise.
27897 * locale/programs/localedef.h: Likewise.
27898 * locale/programs/simple-hash.c: Likewise.
27899 * nscd/nscd.h: Likewise.
27900 * nss/makedb.c: Likewise.
27901 * sysdeps/generic/ldconfig.h: Likewise.
27902
27903 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
27904
27905 * Versions.def: Add GLIBC_2.18.
27906 * include/link.h (struct link_map): New member l_tls_dtor_count.
27907 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
27908 (__call_tls_dtors): Likewise.
27909 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
27910 __cxa_thread_atexit_impl.
27911 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
27912 Likewise.
27913 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
27914 Likewise.
27915 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
27916 Likewise.
27917 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
27918 Likewise.
27919 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
27920 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
27921 Likewise.
27922 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
27923 Likewise.
27924 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
27925 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
27926 Likewise.
27927 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
27928 (tests): Add test case tst-tls-atexit.
27929 (modules-names): Add shared library for tst-tls-atexit.
27930 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
27931 (GLIBC_PRIVATE): Add __call_tls_dtors.
27932 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
27933 for libstdc++.
27934 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
27935 * stdlib/tst-tls-atexit.c: New test case.
27936 * stdlib/tst-tls-atexit-lib.c: New test case.
27937
27938 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
27939
27940 * elf/Versions (ld): Add _dl_find_dso_for_object.
27941 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
27942 * elf/dl-open.c (_dl_find_dso_for_object): New function.
27943 (dl_open_worker): Use _dl_find_dso_for_object.
27944 * elf/dl-sym.c (do_sym): Likewise.
27945 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
27946
27947 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27948
27949 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
27950 Syntactic changes only.
27951 (_dl_runtime_profile): Do a tail-call to the resolved function.
27952
27953 2013-02-17 Joseph Myers <joseph@codesourcery.com>
27954
27955 [BZ #13550]
27956 * sysdeps/x86_64/bp-asm.h: Remove file.
27957 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
27958 <bp-sym.h> and <bp-asm.h>.
27959 (__clone): Do not use BP_SYM.
27960 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
27961 <bp-sym.h> and <bp-asm.h>.
27962 * sysdeps/unix/x86_64/sysdep.S: Likewise.
27963 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
27964 "bp-asm.h".
27965 (_setjmp): Do not use BP_SYM.
27966 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
27967 "bp-asm.h".
27968 (setjmp): Do not use BP_SYM.
27969 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
27970 libc_hidden_def.
27971 (mempcpy): Do not use BP_SYM in weak_alias.
27972 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
27973 "bp-asm.h".
27974 (strchr): Do not use BP_SYM.
27975 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
27976 "bp-asm.h".
27977 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
27978 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
27979 (_start): Do not use BP_SYM.
27980 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
27981 "bp-asm.h".
27982 (strcat): Do not use BP_SYM.
27983 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
27984 "bp-asm.h".
27985 (STRCMP): Do not use BP_SYM.
27986 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
27987 "bp-asm.h".
27988 (STRCPY): Do not use BP_SYM.
27989 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
27990 "bp-asm.h".
27991 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
27992 "bp-asm.h".
27993 (FUNCTION): Do not use BP_SYM.
27994 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
27995 weak_alias.
27996 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
27997
27998 2013-02-17 Andreas Jaeger <aj@suse.de>
27999
28000 * time/Versions: Sort entries.
28001 * string/Versions: Likewise.
28002 * resolv/Versions: Likewise.
28003 * posix/Versions: Likewise.
28004 * iconv/Versions: Likewise.
28005 * elf/Versions: Likewise.
28006 * wcsmbs/Versions: Likewise.
28007
28008 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
28009
28010 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
28011 loop termination condition.
28012
28013 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
28014 variable to calculate EZ.
28015 (__sqr): Likewise.
28016
28017 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
28018 the lower precision input.
28019
28020 2013-02-15 Joseph Myers <joseph@codesourcery.com>
28021
28022 [BZ #13550]
28023 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
28024 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
28025 (run-via-rtld-prefix): Do not handle %-bp tests.
28026 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
28027 (all-object-suffixes): Remove .ob.
28028 (bppfx): Remove variable.
28029 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
28030 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
28031 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
28032 [$(build-bounded) = yes] (libtype.ob): Likewise.
28033 * Makerules (elide-routines.ob): Remove variable.
28034 (do-tests-clean): Do not handle *-bp.out.
28035 (common-mostlyclean): Do not handle *-bp and *-bp.out.
28036 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
28037 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
28038 (tests): Do not include $(tests-bp.out).
28039 (xtests): Do not include $(xtests-bp.out).
28040 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
28041 [$(build-bounded) = yes] ($(addprefix
28042 $(objpfx),$(binaries-bounded))): Remove rule.
28043 ($(objpfx)%-bp.out): Remove rule.
28044 * config.make.in (build-bounded): Remove variable.
28045 * crypt/Makefile [$(build-bounded) = yes]
28046 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
28047 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
28048 append to variable.
28049 [$(build-bounded) = yes] (install-lib): Likewise.
28050 [$(build-bounded) = yes] (generated): Likewise.
28051 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
28052 Remove rule.
28053 * intl/Makefile [$(build-bounded) = yes]
28054 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
28055 * math/Makefile [$(build-bounded) = yes]
28056 ($(tests:%=$(objpfx)%-bp): Likewise.
28057 * misc/Makefile [$(build-bounded) = yes]
28058 ($(objpfx)tst-tsearch-bp): Likewise.
28059 * nptl/Makeconfig (bounded-thread-library): Remove variable.
28060 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
28061 Remove dependency.
28062 * string/Makefile (o-objects.ob): Remove variable.
28063 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
28064 (CFLAGS-.ob): Remove variable.
28065 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
28066 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
28067 both definitions of variable.
28068 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
28069 (ASFLAGS-.ob): Remove variable.
28070
28071 2013-02-14 Joseph Myers <joseph@codesourcery.com>
28072
28073 [BZ #13550]
28074 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
28075 Remove __BOUNDED_POINTERS__ from condition.
28076 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
28077 * string/bits/string2.h [!__NO_STRING_INLINES &&
28078 !__BOUNDED_POINTERS__]: Likewise.
28079 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
28080 Likewise.
28081 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
28082 Remove conditional code.
28083 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
28084 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
28085 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
28086 condition.
28087
28088 [BZ #13550]
28089 * csu/libc-start.c: Do not include <bp-sym.h>.
28090 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
28091 * elf/dl-open.c: Do not include <bp-sym.h>.
28092 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
28093 * math/fegetenv.c: Do not include <bp-sym.h>.
28094 (fegetenv): Do not use BP_SYM in versioned symbols.
28095 * nptl/sysdeps/pthread/bits/libc-lockP.h
28096 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
28097 <bp-sym.h>.
28098 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28099 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
28100 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28101 (__pthread_mutex_destroy): Likewise.
28102 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28103 (__pthread_mutex_lock): Likewise.
28104 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28105 (__pthread_mutex_trylock): Likewise.
28106 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28107 (__pthread_mutex_unlock): Likewise.
28108 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28109 (__pthread_mutexattr_init): Likewise.
28110 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28111 (__pthread_mutexattr_destroy): Likewise.
28112 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28113 (__pthread_mutexattr_settype): Likewise.
28114 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28115 (__pthread_rwlock_init): Likewise.
28116 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28117 (__pthread_rwlock_destroy): Likewise.
28118 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28119 (__pthread_rwlock_rdlock): Likewise.
28120 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28121 (__pthread_rwlock_tryrdlock): Likewise.
28122 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28123 (__pthread_rwlock_wrlock): Likewise.
28124 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28125 (__pthread_rwlock_trywrlock): Likewise.
28126 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28127 (__pthread_rwlock_unlock): Likewise.
28128 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28129 (__pthread_key_create): Likewise.
28130 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28131 (__pthread_setspecific): Likewise.
28132 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28133 (__pthread_getspecific): Likewise.
28134 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
28135 Likewise.
28136 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28137 (_pthread_cleanup_push_defer): Likewise.
28138 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28139 (_pthread_cleanup_pop_restore): Likewise.
28140 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28141 (pthread_setcancelstate): Likewise.
28142 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
28143 <bp-sym.h>.
28144 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
28145 (memchr): Do not use BP_SYM in weak_alias.
28146 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
28147 (fegetenv): Do not use BP_SYM in versioned symbols.
28148 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
28149 (fesetenv): Do not use BP_SYM in versioned symbols.
28150 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
28151 (feupdateenv): Do not use BP_SYM in versioned symbols.
28152 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
28153 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
28154 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
28155 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
28156 (open64): Do not use BP_SYM in weak_alias.
28157 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
28158 (fegetenv): Do not use BP_SYM in versioned symbols.
28159 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
28160 (fesetenv): Do not use BP_SYM in versioned symbols.
28161 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
28162 (feupdateenv): Do not use BP_SYM in versioned symbols.
28163 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
28164 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
28165 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
28166 (feraiseexcept): Do not use BP_SYM in versioned symbols.
28167 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
28168 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
28169 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
28170 <bp-sym.h>.
28171 (__libc_start_main): Do not use BP_SYM.
28172
28173 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
28174
28175 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
28176 redundant return line.
28177 (norm): Likewise.
28178 (denorm): Likewise.
28179 (dbl_mp): Likewise.
28180 (sub_magnitudes): Likewise.
28181 (__add): Likewise.
28182 (__sub): Likewise.
28183 (__mul): Likewise.
28184 (__inv): Likewise.
28185 (__dvd): Likewise.
28186 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
28187 (norm): Likewise.
28188 (denorm): Likewise.
28189 (dbl_mp): Likewise.
28190 (sub_magnitudes): Likewise.
28191 (__add): Likewise.
28192 (__sub): Likewise.
28193 (__mul): Likewise.
28194 (__inv): Likewise.
28195 (__dvd): Likewise.
28196
28197 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
28198 instead of __mul.
28199 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
28200 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
28201 (cc32): Likewise.
28202
28203 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
28204 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
28205 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
28206 of __mul for squares.
28207 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
28208 function
28209 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
28210 Likewise.
28211 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
28212 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
28213
28214 2013-02-13 Joseph Myers <joseph@codesourcery.com>
28215
28216 [BZ #13550]
28217 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
28218 code.
28219 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
28220 prototype or function definition. Rename ubp_* variables and
28221 parameters. Remove argv definitions conditional on
28222 [__BOUNDED_POINTERS__].
28223 * debug/backtrace.c (__backtrace): Do not use __unbounded.
28224 * elf/dl-runtime.c (_dl_fixup): Likewise.
28225 * include/set-hooks.h (RUN_HOOK): Likewise.
28226 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
28227 definition.
28228 * string/strcpy.c (strcpy): Do not use __unbounded.
28229 * sysdeps/generic/frame.h (struct layout): Likewise.
28230 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
28231 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
28232 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
28233 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
28234 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
28235 (__backtrace): Likewise.
28236 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
28237 use __ptrvalue.
28238 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
28239 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
28240 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
28241 Likewise.
28242 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
28243 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
28244 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
28245 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
28246 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
28247 Do not use __unbounded.
28248 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
28249 Rename __unboundedrlimits parameter to rlimits in prototype.
28250 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
28251 Do not use __unbounded.
28252 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
28253 not use __ptrvalue.
28254 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
28255 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
28256 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
28257 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
28258 __ptrvalue or __unbounded.
28259 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
28260 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
28261 use __unbounded.
28262 (__new_msgctl): Do not use __ptrvalue.
28263 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
28264 __unbounded.
28265 (__libc_msgrcv): Do not use __ptrvalue.
28266 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
28267 startup_info): Do not use __unbounded.
28268 (__libc_start_main): Likewise. Rename ubp_* variables and
28269 parameters. Remove argv definitions conditional on
28270 [__BOUNDED_POINTERS__].
28271 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
28272 __ptrvalue.
28273 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
28274 use __unbounded.
28275 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
28276 or __ptrvalue.
28277 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
28278 use __unbounded.
28279 (__new_shmctl): Do not use __ptrvalue.
28280 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
28281 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
28282 Likewise.
28283 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
28284 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
28285 (__libc_sigaction): Likewise.
28286 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
28287 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
28288 Likewise.
28289 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
28290
28291 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
28292
28293 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
28294
28295 * string/mempcpy.c: Implement by calling memcpy.
28296
28297 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
28298
28299 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
28300
28301 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
28302 evaluation.
28303
28304 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
28305 values in the mantissa.
28306
28307 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
28308 minimize writes to Z.
28309 (sub_magnitudes): Simplify code a bit.
28310
28311 2013-02-12 Roland McGrath <roland@hack.frob.com>
28312
28313 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
28314 from the message. The linker prefixes all warnings with that already.
28315
28316 2013-02-12 Andreas Schwab <schwab@suse.de>
28317
28318 [BZ #15078]
28319 * posix/regexec.c (extend_buffers): Add parameter min_len.
28320 (check_matching): Pass minimum needed length.
28321 (clean_state_log_if_needed): Likewise.
28322 (get_subexp): Likewise.
28323 * posix/Makefile (tests): Add bug-regex34.
28324 (bug-regex34-ENV): Define.
28325 * posix/bug-regex34.c: New file.
28326
28327 [BZ #11561]
28328 * posix/regcomp.c (parse_bracket_exp): When looking up collating
28329 elements compare against the byte sequence of it, not its name.
28330 * posix/Makefile (tests): Add bug-regex35.
28331 (bug-regex35-ENV): Define.
28332 * posix/bug-regex35.c: New file.
28333
28334 2013-02-11 Tom de Vries <tom@codesourcery.com>
28335
28336 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
28337 comment.
28338 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
28339 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
28340 (CHECK_EOL): Add undef.
28341
28342 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
28343
28344 * bits/stdlib-bsearch.h: New file.
28345 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
28346 * stdlib/stdlib.h: Likewise.
28347
28348 2013-02-11 Roland McGrath <roland@hack.frob.com>
28349
28350 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
28351 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
28352 declaration.
28353 * manual/search.texi (Array Search Function): Add missing const in
28354 lfind prototype.
28355 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
28356 declaration to use rlim_t.
28357 (Basic Scheduling Functions): Remove erroneous const from
28358 sched_getparam prototype. Remove erroneous * from
28359 sched_get_priority_max and sched_get_priority_min prototypes.
28360 (Resource Usage): Fix summary @comment on vtimes to refer to
28361 sys/vtimes.h rather than vtimes.h.
28362 Add missing *s in vtimes prototype.
28363 (Limits on Resources): Fix ulimit prototype to return long int.
28364 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
28365 prototypes to use long int rather than double.
28366 (BSD Random): Fix initstate and setstate to use char *, not void *.
28367 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
28368 prototype to make second argument 'struct aiocb64 *const[]'.
28369 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
28370 (Status of AIO Operations): Remove erroneous const in aio_return and
28371 aio_return64 prototypes.
28372 (Synchronizing I/O): Fix sync prototype to return void.
28373 * manual/startup.texi (Suboptions): Remove an erroneous const in
28374 getsubopt prototype.
28375 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
28376 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
28377 use size_t rather than int.
28378 (Scanning All Users): Likewise for getpwent_r.
28379 (Setting Groups): Add missing const to setgroups prototype.
28380 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
28381 * manual/socket.texi (Host Names): Fix gethostbyaddr and
28382 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
28383 'const void *' rather than 'const char *'.
28384 (Host Address Functions): Likewise for inet_ntop.
28385 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
28386 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
28387 ssize_t for return value.
28388 (Sending Data): Likewise for send, sendto, sendmsg.
28389 (Socket Option Functions): Add a missing const in setsockopt prototype.
28390 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
28391 use wchar_t for the argument.
28392 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
28393 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
28394 take no arguments.
28395 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
28396 double/float/long double for second argument.
28397 Fix return types of significand, significandf, significandl.
28398 * manual/filesys.texi (Setting Permissions): Use mode_t for second
28399 argument in fchmod prototype.
28400 (File Owner): Use uid_t and gid_t in fchown prototype.
28401 (File Times): Add const to utimes, futimes, and lutimes prototypes.
28402 (Making Special Files): Use mode_t and dev_t in mknod prototype.
28403 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
28404 use 'const struct dirent **' as argument types to CMP function pointer
28405 argument.
28406 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
28407 (File Times): Fix summary magic @comment for struct utimbuf and utime
28408 to refer to utime.h, not time.h.
28409 * manual/string.texi (Argz Functions): Add missing const in
28410 argz_extract and argz_next prototypes.
28411 (Finding Tokens in a String): Likewise for basename.
28412 (String/Array Comparison): Fix typo in wcscasecmp prototype.
28413 (Copying and Concatenation): Fix typo in wmemmove prototype.
28414 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
28415 (Signal Stack): Remove erroneous const in sigstack prototype.
28416 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
28417 prototype.
28418 (Simple Calendar Time): Likewise for stime.
28419 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
28420 prototype.
28421 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
28422 say sys/sysctl.h instead.
28423 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
28424 and vsyslog prototypes.
28425
28426 2013-02-11 Tom de Vries <tom@codesourcery.com>
28427
28428 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
28429 Remove.
28430
28431 2013-02-11 Roland McGrath <roland@hack.frob.com>
28432
28433 * misc/sys/mman.h: Fix typo in mremap comment.
28434
28435 2013-02-08 Roland McGrath <roland@hack.frob.com>
28436
28437 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
28438 the '\0' terminator.
28439
28440 2013-02-08 Joseph Myers <joseph@codesourcery.com>
28441
28442 [BZ #13550]
28443 * debug/segfault.c: Don't include <bp-checks.h>.
28444 * sysdeps/generic/bp-checks.h: Remove file.
28445 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
28446 (__GETDENTS): Don't use CHECK_N.
28447 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
28448 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
28449 (__getgroups): Don't use CHECK_N.
28450 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
28451 (setgroups): Don't use CHECK_N.
28452 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
28453 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
28454 (__libc_msgrcv): Don't use CHECK_N.
28455 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
28456 (__libc_msgsnd): Don't use CHECK_N.
28457 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
28458 <bp-checks.h>.
28459 (__libc_pread): Don't use CHECK_N.
28460 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
28461 include <bp-checks.h>.
28462 (__libc_pread64): Don't use CHECK_N.
28463 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
28464 include <bp-checks.h>.
28465 (__libc_pwrite): Don't use CHECK_N.
28466 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
28467 include <bp-checks.h>.
28468 (__libc_pwrite64): Don't use CHECK_N.
28469 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
28470 <bp-checks.h>.
28471 (__libc_pread): Don't use CHECK_N.
28472 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
28473 include <bp-checks.h>.
28474 (__libc_pread64): Don't use CHECK_N.
28475 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
28476 include <bp-checks.h>.
28477 (__libc_pwrite): Don't use CHECK_N.
28478 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
28479 include <bp-checks.h>.
28480 (__libc_pwrite64): Don't use CHECK_N.
28481 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
28482 (do_pread): Don't use CHECK_N.
28483 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
28484 (do_pread64): Don't use CHECK_N.
28485 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
28486 (do_pwrite): Don't use CHECK_N.
28487 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
28488 (do_pwrite64): Don't use CHECK_N.
28489 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
28490 (__libc_readv): Don't use CHECK_N.
28491 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
28492 (semop): Don't use CHECK_N.
28493 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
28494 <bp-checks.h>.
28495 (semtimedop): Don't use CHECK_N.
28496 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
28497 (__libc_pread): Don't use CHECK_N.
28498 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
28499 <bp-checks.h>.
28500 (__libc_pread64): Don't use CHECK_N.
28501 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
28502 <bp-checks.h>.
28503 (__libc_pwrite): Don't use CHECK_N.
28504 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
28505 <bp-checks.h>.
28506 (__libc_pwrite64): Don't use CHECK_N.
28507 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
28508 <bp-checks.h>.
28509 (__libc_msgrcv): Don't use CHECK_N.
28510 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
28511 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
28512 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
28513 (__libc_writev): Don't use CHECK_N.
28514
28515 2013-02-08 Roland McGrath <roland@hack.frob.com>
28516
28517 * string/strcpy.c: Removed unused variable.
28518
28519 * Makeconfig (+sysdep-includes): Define with := rather than =.
28520 Use an existing include/ subdir of each sysdeps dir before it.
28521
28522 2013-02-08 Carlos O'Donell <carlos@redhat.com>
28523
28524 * nscd/connection.c (register_traced_file): Comment function.
28525 [HAVE_INOTIFY] (union __inev): Define.
28526 [HAVE_INOTIFY] (inotify_check_files): New function.
28527 [HAVE_INOTIFY] (clear_db_cache): Likewise.
28528 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
28529 clear_db_cache.
28530 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
28531
28532 2013-02-08 Carlos O'Donell <carlos@redhat.com>
28533
28534 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
28535 loaded if not already and that a failure is permanent.
28536
28537 2013-02-08 Carlos O'Donell <carlos@redhat.com>
28538
28539 [BZ #15006]
28540 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
28541 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
28542
28543 2013-02-08 Joseph Myers <joseph@codesourcery.com>
28544
28545 [BZ #13550]
28546 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
28547 (CHECK_1_NULL_OK): Likewise.
28548 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
28549 (__fxstat): Do not use CHECK_1.
28550 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
28551 <bp-checks.h>.
28552 (___fxstat64): Do not use CHECK_1.
28553 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
28554 <bp-checks.h>.
28555 (__fxstatat): Do not use CHECK_1.
28556 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
28557 <bp-checks.h>.
28558 (__fxstatat64): Do not use CHECK_1.
28559 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
28560 <bp-checks.h>.
28561 (__fxstat): Do not use CHECK_1.
28562 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
28563 <bp-checks.h>.
28564 (__fxstatat): Do not use CHECK_1.
28565 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
28566 <bp-checks.h>.
28567 (__getresgid): Do not use CHECK_1.
28568 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
28569 <bp-checks.h>.
28570 (__getresuid): Do not use CHECK_1.
28571 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
28572 <bp-checks.h>.
28573 (__lxstat): Do not use CHECK_1.
28574 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
28575 <bp-checks.h>.
28576 (__old_msgctl): Do not use CHECK_1.
28577 (__new_msgctl): Likewise.
28578 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
28579 <bp-checks.h>.
28580 (__new_setrlimit): Do not use CHECK_1.
28581 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
28582 <bp-checks.h>.
28583 (__old_shmctl): Do not use CHECK_1.
28584 (__new_shmctl): Likewise.
28585 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
28586 <bp-checks.h>.
28587 (__xstat): Do not use CHECK_1.
28588 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
28589 (__lxstat): Do not use CHECK_1.
28590 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
28591 <bp-checks.h>.
28592 (___lxstat64): Do not use CHECK_1.
28593 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
28594 (__old_msgctl): Do not use CHECK_1.
28595 (__new_msgctl): Likewise.
28596 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
28597 <bp-checks.h>.
28598 (__gettimeofday): Do not use CHECK_1.
28599 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
28600 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
28601 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
28602 <bp-checks.h>.
28603 (__gettimeofday): Do not use CHECK_1.
28604 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
28605 (__old_shmctl): Do not use CHECK_1_NULL_OK.
28606 (__new_shmctl): Do not use CHECK_1.
28607 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
28608 <bp-checks.h>.
28609 (do_sigtimedwait): Do not use CHECK_1.
28610 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
28611 <bp-checks.h>.
28612 (do_sigwaitinfo): Do not use CHECK_1.
28613 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
28614 <bp-checks.h>.
28615 (msgctl): Do not use CHECK_1.
28616 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
28617 <bp-checks.h>.
28618 (shmctl): Do not use CHECK_1.
28619 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
28620 (ustat): Do not use CHECK_1.
28621 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
28622 <bp-checks.h>.
28623 (__fxstat): Do not use CHECK_1.
28624 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
28625 <bp-checks.h>.
28626 (__fxstatat): Do not use CHECK_1.
28627 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
28628 <bp-checks.h>.
28629 (__lxstat): Do not use CHECK_1.
28630 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
28631 <bp-checks.h>.
28632 (__xstat): Do not use CHECK_1.
28633 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
28634 (__xstat): Do not use CHECK_1.
28635 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
28636 (___xstat64): Do not use CHECK_1.
28637
28638 [BZ #13550]
28639 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
28640 definitions.
28641 (CHECK_BOUNDS_HIGH): Likewise.
28642 * string/strcpy.c: Do not include <bp-checks.h>.
28643 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
28644
28645 2013-02-07 Roland McGrath <roland@hack.frob.com>
28646
28647 * nscd/nscd-client.h (__nscd_drop_map_ref):
28648 Add __attribute__ ((unused)).
28649 * nis/nss-nisplus.h (niserr2nss): Likewise.
28650
28651 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
28652 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
28653
28654 * csu/libc-tls.c (init_static_tls, init_slotinfo):
28655 Remove inline keyword.
28656 * include/rounding-mode.h (round_away): Likewise.
28657 * libio/wfileops.c (adjust_wide_data): Likewise.
28658 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
28659 (__m128i_strloadu_tolower): Likewise.
28660 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
28661 (__m128i_strloadu_tolower): Likewise.
28662 * time/mktime.c (ydhms_diff): Likewise.
28663 * locale/elem-hash.h (elem_hash): Likewise.
28664 * locale/setlocale.c (setdata): Likewise.
28665 * posix/regex_internal.h (re_string_char_size_at): Likewise.
28666 (re_string_wchar_at): Likewise.
28667 (bitset_not, bitset_merge, bitset_mask): Likewise.
28668 [!(__GNUC__ > 3)] (inline): Remove macro.
28669 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
28670 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
28671 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
28672 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
28673 * string/memcmp.c (memcmp_bytes): Likewise.
28674 * locale/programs/locarchive.c (compute_hashval): Likewise.
28675 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
28676 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
28677 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
28678 * nss/getent.c (print_rpc, print_protocols): Likewise.
28679 (print_passwd, print_group, print_aliases): Likewise.
28680 * nis/nss-nisplus.h (niserr2nss): Likewise.
28681 * nscd/connections.c (restart_p): Likewise.
28682 Change return type to bool.
28683
28684 2013-02-05 Roland McGrath <roland@hack.frob.com>
28685
28686 * Makeconfig (all-Depend-files): Add existing
28687 $(sorted-subdirs:=/Depend) files.
28688 (all-subdirs): Remove nss.
28689 * sysdeps/unix/inet/Subdirs: Add it here instead.
28690 * hesiod/Depend: New file.
28691
28692 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
28693 instead of calling alloca.
28694
28695 * io/lseek.c (__lseek): Rename to __libc_lseek.
28696 Define __lseek as an alias.
28697
28698 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
28699
28700 2013-02-04 Carlos O'Donell <carlos@redhat.com>
28701
28702 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
28703 else clause and remove check for non-standard endianness.
28704
28705 2013-02-04 David S. Miller <davem@davemloft.net>
28706
28707 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28708
28709 2013-02-04 Joseph Myers <joseph@codesourcery.com>
28710
28711 [BZ #13550]
28712 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
28713 (__ubp_memchr): Remove prototype.
28714 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
28715 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
28716 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
28717 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
28718 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
28719 Remove alias.
28720 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
28721 (__ubp_memchr): Likewise.
28722 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
28723 (__ubp_memchr): Likewise.
28724 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
28725 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
28726 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
28727 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
28728 CHECK_STRING.
28729 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
28730 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
28731 (__getcwd): Do not use CHECK_STRING.
28732 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
28733 <bp-checks.h>.
28734 (__real_chown): Do not use CHECK_STRING.
28735 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
28736 <bp-checks.h>.
28737 (fchownat): Do not use CHECK_STRING.
28738 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
28739 CHECK_STRING.
28740 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
28741 <bp-checks.h>.
28742 (__lchown): Do not use CHECK_STRING.
28743 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
28744 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
28745 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
28746 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
28747 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
28748 include <bp-checks.h>.
28749 (truncate64): Do not use CHECK_STRING.
28750 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
28751 <bp-checks.h>.
28752 (__real_chown): Do not use CHECK_STRING.
28753 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
28754 <bp-checks.h>.
28755 (__lchown): Do not use CHECK_STRING.
28756 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
28757 <bp-checks.h>.
28758 (__chown): Do not use CHECK_STRING.
28759 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
28760 <bp-checks.h>.
28761 (truncate64): Do not use CHECK_STRING.
28762 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
28763 Likewise.
28764 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
28765 (__xmknod): Do not use CHECK_STRING.
28766 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
28767 <bp-checks.h>.
28768 (__xmknodat): Do not use CHECK_STRING.
28769 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
28770 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
28771
28772 2013-02-04 Andreas Schwab <schwab@suse.de>
28773
28774 [BZ #14142]
28775 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
28776 * include/netdb.h: Likewise for h_errno.
28777 * elf/tst-stackguard1.c: Include <tls.h>.
28778
28779 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
28780
28781 * elf/link.h (struct link_map): Extend the l_addr comment.
28782 * include/link.h (struct link_map): Likewise.
28783
28784 2013-02-01 Joseph Myers <joseph@codesourcery.com>
28785
28786 [BZ #13550]
28787 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
28788 (BOUNDED_1): Remove macro.
28789 * debug/backtrace.c: Don't include <bp-checks.h>.
28790 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
28791 (__backtrace): Likewise.
28792 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
28793 <bp-checks.h>.
28794 (__backtrace): Don't use BOUNDED_1.
28795 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
28796 <bp-checks.h>.
28797 (__backtrace): Don't use BOUNDED_1.
28798 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
28799 (__backtrace): Don't use BOUNDED_1.
28800 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
28801 (shmat): Don't use BOUNDED_N.
28802
28803 2013-01-31 Joseph Myers <joseph@codesourcery.com>
28804
28805 [BZ #13550]
28806 * sysdeps/generic/bp-start.h: Remove file.
28807 * csu/libc-start.c: Don't include <bp-start.h>.
28808 (LIBC_START_MAIN): Set up __environ directly instead of using
28809 INIT_ARGV_and_ENVIRON.
28810 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
28811 <bp-start.h>.
28812
28813 [BZ #13550]
28814 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
28815 definitions.
28816 (CHECK_FCNTL): Likewise.
28817 (CHECK_N_PAGES): Likewise.
28818
28819 [BZ #13550]
28820 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
28821 definitions.
28822 (CHECK_SIGSET_NULL_OK): Likewise.
28823 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
28824 <bp-checks.h>.
28825 (sigpending): Don't use CHECK_SIGSET.
28826 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
28827 <bp-checks.h>.
28828 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
28829 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
28830 <bp-checks.h>.
28831 (do_sigsuspend): Don't use CHECK_SIGSET.
28832 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
28833 use CHECK_SIGSET.
28834 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
28835 (do_sigwait): Don't use CHECK_SIGSET.
28836 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
28837 use CHECK_SIGSET.
28838 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
28839 include <bp-checks.h>.
28840 (sigpending): Don't use CHECK_SIGSET.
28841 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
28842 include <bp-checks.h>.
28843 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
28844 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
28845 <bp-checks.h>.
28846 (sigpending): Don't use CHECK_SIGSET.
28847 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
28848 <bp-checks.h>.
28849 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
28850
28851 [BZ #13550]
28852 * sysdeps/generic/bp-semctl.h: Remove file.
28853 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
28854 <bp-checks.h> and <bp-semctl.h>.
28855 (__old_semctl): Don't use CHECK_SEMCTL.
28856 (__new_semctl): Likewise.
28857 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
28858 and <bp-semctl.h>.
28859 (__old_semctl): Don't use CHECK_SEMCTL.
28860 (__new_semctl): Likewise.
28861 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
28862 <bp-checks.h> and <bp-semctl.h>.
28863 (__old_semctl): Don't use CHECK_SEMCTL.
28864 (__new_semctl): Likewise.
28865 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
28866 <bp-checks.h> and <bp-semctl.h>.
28867 (semctl): Don't use CHECK_SEMCTL.
28868
28869 [BZ #13550]
28870 * Makerules (elide-bp-thunks): Remove variable.
28871 (elide-routines.oS): Don't use $(elide-bp-thunks).
28872 (elide-routines.os): Likewise.
28873 (elide-routines.o): Likewise.
28874 (elide-routines.op): Likewise.
28875 (elide-routines.og): Likewise.
28876 (objects): Don't use $(bp-thunks).
28877 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
28878 include.
28879 (common-generated): Do not add s-proto-bp.d.
28880 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
28881 (int): Likewise.
28882 (typ): Likewise.
28883 Do not generate makefile rules for bounded-pointer thunks.
28884 * sysdeps/generic/bp-thunks.h: Remove file.
28885 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
28886 * sysdeps/unix/s-proto-bp.S: Likewise.
28887
28888 [BZ #15062]
28889 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
28890 parts of result separately when argument is not close to line from
28891 -i to i and one part of argument is small.
28892 * math/k_casinhf.c (__kernel_casinhf): Likewise.
28893 * math/k_casinhl.c (__kernel_casinhl): Likewise.
28894 * math/libm-test.inc (cacos_test): Add more tests.
28895 (casin_test): Likewise.
28896 (casinh_test): Likewise.
28897 * sysdeps/i386/fpu/libm-test-ulps: Update.
28898 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28899
28900 2013-01-31 David S. Miller <davem@davemloft.net>
28901
28902 * po/de.po: Update from translation team.
28903
28904 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
28905
28906 * time/tzfile.c: Include stdint.h for SIZE_MAX.
28907
28908 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
28909
28910 * configure.in (_AC_PROG_CC_C89): New definition.
28911 * configure: Regenerate.
28912
28913 * configure.in (AC_PROG_CPP): New definition.
28914 * configure: Regenerate.
28915
28916 2013-01-23 Joseph Myers <joseph@codesourcery.com>
28917
28918 * debug/tst-backtrace.h: New file.
28919 * debug/tst-backtrace2.c: Include tst-backtrace.h.
28920 (ret): Remove variable.
28921 (x): Likewise.
28922 (FAIL): Remove macro.
28923 (NO_INLINE): Likewise.
28924 (fn1): Use match function instead of strstr.
28925 * debug/tst-backtrace3.c: Include tst-backtrace.h.
28926 (ret): Remove variable.
28927 (x): Likewise.
28928 (FAIL): Remove macro.
28929 (NO_INLINE): Likewise.
28930 (fn): Use match function instead of strstr.
28931 * debug/tst-backtrace4.c: Include tst-backtrace.h.
28932 (ret): Remove variable.
28933 (x): Likewise.
28934 (FAIL): Remove macro.
28935 (NO_INLINE): Likewise.
28936 (handle_signal): Use match function instead of strstr.
28937 * debug/tst-backtrace5.c: Include tst-backtrace.h.
28938 (ret): Remove variable.
28939 (x): Likewise.
28940 (FAIL): Remove macro.
28941 (NO_INLINE): Likewise.
28942 (handle_signal): Use match function instead of strstr.
28943
28944 2013-01-23 Roland McGrath <roland@hack.frob.com>
28945
28946 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
28947
28948 2013-01-23 David S. Miller <davem@davemloft.net>
28949
28950 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
28951 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
28952 argument of CAS if possible.
28953 * sysdeps/sparc/sparc64/bits/atomic.h
28954 (__arch_compare_and_exchange_val_32_acq): Likewise.
28955 (__arch_compare_and_exchange_val_64_acq): Likewise.
28956
28957 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
28958
28959 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
28960 * sysdeps/posix/ulimit.c: ... this.
28961 Include <limits.h>.
28962 * sysdeps/unix/bsd/ulimit.c: Remove file.
28963
28964 2013-01-23 Adam Conrad <adconrad@0c3.net>
28965
28966 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
28967 (LDFLAGS-tst-array5): Likewise.
28968
28969 2013-01-23 Joseph Myers <joseph@codesourcery.com>
28970
28971 [BZ #15036]
28972 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
28973 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
28974 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
28975 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
28976
28977 2013-01-21 David S. Miller <davem@davemloft.net>
28978
28979 * sysdeps/sparc/backtrace.c: New file.
28980 * sysdeps/sparc/sparc32/backtrace.h: New file.
28981 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
28982 * sysdeps/sparc/sparc64/backtrace.h: New file.
28983 * sysdeps/sparc/sparc64/backtrace.c: Delete.
28984 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
28985 -funwind-tables.
28986
28987 2013-01-21 Andreas Schwab <schwab@suse.de>
28988
28989 [BZ #15020]
28990 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
28991 closed its stdout.
28992
28993 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
28994
28995 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
28996 "mpa2.h".
28997 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
28998
28999 2013-01-18 Joseph Myers <joseph@codesourcery.com>
29000 Mark Mitchell <mark@codesourcery.com>
29001 Tom de Vries <tom@codesourcery.com>
29002 Paul Pluzhnikov <ppluzhnikov@google.com>
29003
29004 * debug/tst-backtrace2.c: New file.
29005 * debug/tst-backtrace3.c: Likewise.
29006 * debug/tst-backtrace4.c: Likewise.
29007 * debug/tst-backtrace5.c: Likewise.
29008 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
29009 (CFLAGS-tst-backtrace3.c): Likewise.
29010 (CFLAGS-tst-backtrace4.c): Likewise.
29011 (CFLAGS-tst-backtrace5.c): Likewise.
29012 (LDFLAGS-tst-backtrace2): Likewise.
29013 (LDFLAGS-tst-backtrace3): Likewise.
29014 (LDFLAGS-tst-backtrace4): Likewise.
29015 (LDFLAGS-tst-backtrace5): Likewise.
29016 (tests): Add new tests tst-backtrace2, tst-backtrace3,
29017 tst-backtrace4 and tst-backtrace5.
29018
29019 2013-01-18 Anton Blanchard <anton@samba.org>
29020 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
29021
29022 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
29023 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
29024 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
29025 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
29026 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
29027 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
29028 "+r" and remove output regs list as redundant. Add explicit inline
29029 asm to specify register of return val to work around compiler codegen
29030 bug. Remove (int) cast on return value. Add return type parameter to
29031 use in macro so that this macro does not truncate return value for
29032 64-bit values.
29033 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
29034 pass to INTERNAL_VSYSCALL_NCS.
29035 (INLINE_VSYSCALL): Add 'long int' as return type to
29036 INTERNAL_VSYSCALL_NCS macro invocation.
29037 (INTERNAL_VSYSCALL): Add 'long int' as return type to
29038 INTERNAL_VSYSCALL_NCS macro invocation.
29039 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
29040
29041 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
29042
29043 [BZ #14496]
29044 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
29045 Fix application of SIMD FP exception mask.
29046
29047 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
29048 mp_no from a power of two.
29049 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
29050 __mpexp_twomm1. Use __pow_mp.
29051
29052 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
29053 multiplication.
29054
29055 2013-01-17 David S. Miller <davem@davemloft.net>
29056
29057 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29058
29059 2013-01-17 Joseph Myers <joseph@codesourcery.com>
29060
29061 [BZ #15023]
29062 * include/complex.h: Condition contents on [!_COMPLEX_H].
29063 (__kernel_casinhf): New prototype.
29064 (__kernel_casinh): Likewise.
29065 (__kernel_casinhl): Likewise.
29066 * math/Makefile (libm_calls): Add k_casinh.
29067 * math/k_casinh.c: New file.
29068 * math/k_casinhf.c: Likewise.
29069 * math/k_casinhl.c: Likewise.
29070 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
29071 finite nonzero arguments.
29072 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
29073 finite nonzero arguments.
29074 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
29075 finite nonzero arguments.
29076 * math/s_casinh.c: Do not include <float.h>.
29077 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
29078 * math/s_casinhf.c: Do not include <float.h>.
29079 (__casinhf): Move code for finite nonzero arguments to
29080 k_casinhf.c.
29081 * math/s_casinhl.c: Do not include <float.h>.
29082 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
29083 redefine.
29084 (__casinhl): Move code for finite nonzero arguments to
29085 k_casinhl.c.
29086 * math/libm-test.inc (cacos_test): Add more tests.
29087 * sysdeps/i386/fpu/libm-test-ulps: Update.
29088 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29089
29090 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
29091
29092 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
29093 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
29094 [!HAVE_MREMAP]: Remove [defined linux] case.
29095 * malloc/arena.c: Do not include <malloc-sysdep.h>.
29096
29097 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
29098
29099 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
29100
29101 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
29102
29103 * elf/elf.h (R_386_SIZE32): New relocation.
29104 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
29105 R_386_SIZE32.
29106 (elf_machine_rela): Likewise.
29107 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
29108 R_X86_64_SIZE64 and R_X86_64_SIZE32.
29109
29110 2013-01-17 Joseph Myers <joseph@codesourcery.com>
29111
29112 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
29113 (FP_FAST_FMA): Do not define.
29114 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
29115 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
29116 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
29117 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
29118 !_SOFT_FLOAT]: Likewise.
29119 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
29120 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
29121 value.
29122 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
29123 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
29124 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
29125 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
29126 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
29127 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
29128 file.
29129
29130 2013-01-16 Andreas Schwab <schwab@suse.de>
29131
29132 [BZ #14327]
29133 * include/stdlib.h (__mktemp): Add declaration.
29134 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
29135 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
29136
29137 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
29138
29139 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
29140 definitions.
29141 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
29142 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
29143 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
29144 definitions here.
29145 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
29146 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
29147 definitions.
29148 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
29149 and ONE.
29150 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
29151 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
29152 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
29153 definitions.
29154 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
29155 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
29156 definitions.
29157 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
29158
29159 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
29160
29161 2013-01-15 David S. Miller <davem@davemloft.net>
29162
29163 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
29164 trunc{,f} to libm-sysdep_routes.
29165 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
29166 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
29167 file.
29168 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
29169 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
29170 file.
29171 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
29172 file.
29173 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
29174 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
29175 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
29176 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
29177 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
29178 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
29179 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
29180 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
29181
29182 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
29183 nearbyint{,f} to libm-sysdep_routes.
29184 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
29185 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
29186 New file.
29187 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
29188 file.
29189 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
29190 New file.
29191 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
29192 file.
29193 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
29194 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
29195 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
29196 file.
29197 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
29198 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
29199 file.
29200 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
29201 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
29202 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
29203
29204 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
29205 libc_feholdexcept and libc_fesetenv.
29206
29207 2013-01-15 Mike Frysinger <vapier@gentoo.org>
29208
29209 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
29210
29211 2013-01-14 David S. Miller <davem@davemloft.net>
29212
29213 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
29214 (SPARC_ASM_VIS2_IFUNC): Likewise.
29215 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
29216 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
29217 use of 'siam' instruction.
29218 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
29219 Likewise.
29220 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
29221 Likewise.
29222 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
29223 Likewise.
29224 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
29225 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
29226 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
29227 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
29228 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
29229 file.
29230 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
29231 file.
29232 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
29233 file.
29234 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
29235 file.
29236 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
29237 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
29238 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
29239 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
29240 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
29241 new VIS2 routines.
29242 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
29243 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
29244 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
29245 Likewise.
29246 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
29247 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
29248 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
29249 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
29250 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
29251 routines to libm-sysdep_routines.
29252 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
29253
29254 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
29255 fdim/fdimf to libm-sysdep_routines.
29256 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
29257 file.
29258 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
29259 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
29260 file.
29261 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
29262 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
29263 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
29264 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
29265 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
29266 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
29267 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
29268
29269 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
29270
29271 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
29272 to optimize copies.
29273
29274 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
29275 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
29276 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
29277
29278 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
29279 local variable MPTWO.
29280 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
29281 Likewise.
29282
29283 2013-01-13 Mike Frysinger <vapier@gentoo.org>
29284
29285 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
29286 GLOB_NOESCAPE.
29287
29288 2013-01-13 Mike Frysinger <vapier@gentoo.org>
29289
29290 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
29291
29292 2013-01-13 Mike Frysinger <vapier@gentoo.org>
29293
29294 * manual/pattern.texi (glob_t): Document gl_flags.
29295 (glob64_t): Likewise.
29296
29297 2013-01-11 David S. Miller <davem@davemloft.net>
29298
29299 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
29300 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
29301 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
29302 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
29303 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
29304 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
29305 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
29306 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
29307 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
29308 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
29309 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
29310 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
29311 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
29312
29313 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
29314 sparc V9 rather than using V8 code.
29315 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
29316 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
29317
29318 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
29319 Move to...
29320 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
29321 Here.
29322
29323 2013-01-11 Roland McGrath <roland@hack.frob.com>
29324
29325 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
29326 not in the main loop.
29327 * configure: Regenerated.
29328
29329 2013-01-11 Joseph Myers <joseph@codesourcery.com>
29330
29331 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
29332 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
29333 to just #else.
29334 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
29335 [!__GLIBC_HAVE_LONG_LONG] case.
29336 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
29337 condition to just #else.
29338 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
29339 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
29340 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
29341 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
29342 unconditional.
29343 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
29344 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
29345 #elif condition to just #else.
29346 * sysdeps/unix/sysv/linux/sys/sysmacros.h
29347 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
29348 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
29349 #elif condition to just #else.
29350
29351 2013-01-11 Steve Ellcey <sellcey@mips.com>
29352
29353 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
29354 (EF_MIPS_ARCH_64): Fix value.
29355 (EF_MIPS_ARCH_32R2): New.
29356 (EF_MIPS_ARCH_64R2): New.
29357
29358 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
29359
29360 * Makeconfig (+link-pie-before-libc): New.
29361 (+link-pie-after-libc): Likewise.
29362 (+link-pie-tests): Likewise.
29363 (+link-pie): Rewritten.
29364 (link-before-libc): Remove $(config-LDFLAGS).
29365 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
29366 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
29367 (config-LDFLAGS): Renamed to ...
29368 (rtld-LDFLAGS): This.
29369 (rtld-tests-LDFLAGS): New macro.
29370 (link-libc-rpath-link): Likewise.
29371 (link-libc-tests-rpath-link): Likewise.
29372 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
29373 (link-libc): Prepand $(link-libc-rpath-link).
29374 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
29375 (test-program-prefix): New macro.
29376 (test-via-rtld-prefix): Likewise.
29377 (test-program-cmd): Likewise.
29378 (host-test-program-cmd): Likewise.
29379 * Makefile ($(common-objpfx)testrun.sh): Replace
29380 $(run-program-prefix) with $(test-program-prefix).
29381 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
29382 $(rtld-LDFLAGS).
29383 ($(common-objpfx)shlib.lds): Likewise.
29384 (build-module-helper): Likewise.
29385 ($(common-objpfx)format.lds): Likewise.
29386 * Rules (binaries-pie-tests): New.
29387 (binaries-pie-notests): Likewise.
29388 (binaries-pie): Rewritten.
29389 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
29390 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
29391 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
29392 (make-test-out): Replace $(host-built-program-cmd) with
29393 $(host-test-program-cmd).
29394 * config.make.in (build-hardcoded-path-in-tests): New variable.
29395 * configure.in (--enable-hardcoded-path-in-tests): New configure
29396 option.
29397 (hardcoded_path_in_tests): New AC_SUBST.
29398 * configure: Regenerated.
29399 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
29400 $(built-program-cmd) with $(test-program-cmd).
29401 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
29402 (test_program_cmd): This.
29403 * elf/Makefile ($(objpfx)order.out): Run test with
29404 $(test-program-prefix).
29405 ($(objpfx)order2.out): Likewise.
29406 ($(objpfx)tst-initorder.out): Likewise.
29407 ($(objpfx)tst-initorder2.out): Likewise.
29408 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
29409 $(test-program-cmd).
29410 ($(objpfx)tst-array1-static.out): Likewise.
29411 ($(objpfx)tst-array2.out): Likewise.
29412 ($(objpfx)tst-array3.out): Likewise.
29413 ($(objpfx)tst-array4.out): Likewise.
29414 ($(objpfx)tst-array5.out): Likewise.
29415 ($(objpfx)tst-array5-static.out): Likewise.
29416 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
29417 $(test-program-cmd).
29418 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
29419 $(run-program-prefix) with $(test-program-prefix).
29420 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
29421 (test_program_prefix): This.
29422 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
29423 $(run-program-prefix) with $(test-program-prefix).
29424 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
29425 (test_program_prefix): This.
29426 * iconvdata/tst-tables.sh: Likewise.
29427 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
29428 $(run-program-prefix) with $(test-program-prefix).
29429 ($(objpfx)tst-translit.out): Likewise.
29430 ($(objpfx)tst-gettext2.out): Likewise.
29431 ($(objpfx)tst-gettext4.out): Likewise.
29432 ($(objpfx)tst-gettext6.out): Likewise.
29433 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
29434 (test_program_prefix): This.
29435 * intl/tst-gettext2.sh: Likewise.
29436 * intl/tst-gettext4.sh Likewise.
29437 * intl/tst-gettext6.sh: Likewise.
29438 * intl/tst-translit.sh: Likewise.
29439 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
29440 with $(test-program-cmd).
29441 * libio/Makefile ($(objpfx)test-freopen.out): Replace
29442 $(run-program-prefix) with $(test-program-prefix).
29443 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
29444 (test_program_prefix): This.
29445 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
29446 $(run-program-prefix) with $(test-program-prefix).
29447 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
29448 (test_program_prefix): This.
29449 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
29450 * posix/Makefile ($(objpfx)globtest.out): Replace
29451 $(run-via-rtld-prefix) and $(test-wrapper) with
29452 $(test-program-prefix) and $(test-via-rtld-prefix).
29453 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
29454 $(test-program-prefix).
29455 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
29456 $(host-test-program-cmd).
29457 (tst-spawn-ARGS): Likewise.
29458 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
29459 $(test-program-prefix).
29460 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
29461 (test_via_rtld_prefix): This.
29462 (test_wrapper): Renamed to ...
29463 (test_program_prefix): This.
29464 (run_program_prefix): Replaced by test_program_prefix.
29465 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
29466 (test_program_prefix): This.
29467 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
29468 with $(host-test-program-cmd).
29469 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
29470 $(run-program-prefix) with $(test-program-prefix).
29471 ($(objpfx)tst-printf.out): Likewise.
29472 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
29473 $(test-program-cmd).
29474 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
29475 (test_program_prefix): This.
29476 * stdio-common/tst-unbputc.sh: Likewise.
29477 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
29478 $(run-program-prefix) with $(test-program-prefix).
29479 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
29480 (test_program_prefix): This.
29481 * string/Makefile ($(objpfx)tst-svc.out): Replace
29482 $(built-program-cmd) with $(test-program-cmd).
29483
29484 2013-01-11 Andreas Jaeger <aj@suse.de>
29485
29486 [BZ #15003]
29487 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
29488 value. Sync with Linux 3.7.
29489
29490 2013-01-10 David S. Miller <davem@davemloft.net>
29491
29492 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
29493 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
29494 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
29495
29496 2013-01-10 Roland McGrath <roland@hack.frob.com>
29497
29498 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
29499 never set.
29500 * configure: Regenerated.
29501
29502 2013-01-10 David S. Miller <davem@davemloft.net>
29503
29504 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
29505 sparc V9 rather than using V8 code.
29506 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
29507 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
29508
29509 2013-01-10 Roland McGrath <roland@hack.frob.com>
29510
29511 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
29512 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
29513 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
29514 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
29515 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
29516 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
29517 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
29518 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
29519 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
29520 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
29521 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
29522 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
29523 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
29524 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
29525 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
29526 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
29527 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
29528 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
29529 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
29530 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
29531 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
29532 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
29533 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
29534 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
29535 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
29536 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
29537 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
29538
29539 2013-01-10 David S. Miller <davem@davemloft.net>
29540
29541 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29542
29543 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
29544
29545 * posix/Makefile (tests-static): New variable.
29546 (tests): Add $(tests-static).
29547 (tst-exec-static-ARGS): New variable.
29548 (tst-spawn-static-ARGS): Likewise.
29549 * posix/tst-exec-static.c: New file.
29550 * posix/tst-spawn-static.c: Likewise.
29551 * posix/tst-exec.c: Support run directly.
29552 * posix/tst-spawn.c: Likewise.
29553
29554 2013-01-10 Joseph Myers <joseph@codesourcery.com>
29555
29556 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
29557 long.
29558 * math/bits/mathcalls.h (llrint): Likewise.
29559 (llround): Likewise.
29560 * stdlib/stdlib.h (struct drand48_data): Likewise.
29561 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
29562 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
29563 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
29564 Likewise.
29565 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
29566 Likewise.
29567 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
29568 (elf_greg_t): Likewise.
29569 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
29570 (__jmp_buf): Likewise.
29571 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
29572 definitions.
29573 (llrint): Likewise, for all definitions.
29574 (llrintl): Likewise.
29575
29576 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
29577 Remove [__GNUC__] condition.
29578 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
29579 condition to just [__USE_ISOC99].
29580 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
29581
29582 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
29583
29584 [BZ #14200]
29585 * sysdeps/unix/sysv/linux/x86/bits/environments.h
29586 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
29587 defined.
29588 (_POSIX_V6_ILP32_OFF32): Likewise.
29589 (_XBS5_ILP32_OFF32): Likewise.
29590 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
29591 (__ILP32_OFFBIG_LDFLAGS): Likewise.
29592
29593 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
29594
29595 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
29596
29597 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
29598 doubles __mpexp_twomm1. Adjust usage.
29599 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
29600 Remove.
29601
29602 2013-01-10 Andreas Schwab <schwab@suse.de>
29603
29604 [BZ #14964]
29605 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
29606 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
29607
29608 2013-01-09 David S. Miller <davem@davemloft.net>
29609
29610 [BZ #15003]
29611 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
29612 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
29613 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
29614 (TCP_FASTOPEN): Define.
29615 (tcp_repair_opt): New structure.
29616 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
29617 enum values.
29618 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
29619 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
29620 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
29621 (tcp_cookie_transactions): New structure.
29622
29623 2013-01-09 Anton Blanchard <anton@samba.org>
29624
29625 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
29626 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
29627 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
29628 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
29629
29630 2013-01-09 Joseph Myers <joseph@codesourcery.com>
29631
29632 * include/features.h (__USE_ANSI): Remove.
29633
29634 2013-01-09 Roland McGrath <roland@hack.frob.com>
29635
29636 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
29637
29638 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
29639
29640 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
29641
29642 * sysdeps/s390/fpu/libm-test-ulps: Update.
29643
29644 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29645
29646 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
29647 (__acr): Likewise.
29648 (__cpy): Likewise.
29649 (norm): Likewise.
29650 (denorm): Likewise.
29651 (__mp_dbl): Likewise.
29652 (__dbl_mp): Likewise.
29653 (add_magnitudes): Likewise.
29654 (sub_magnitudes): Likewise.
29655 (__add): Likewise.
29656 (__sub): Likewise.
29657 (__mul): Likewise.
29658 (__inv): Likewise.
29659 (__dvd): Likewise.
29660 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
29661 (__acr): Likewise.
29662 (__cpy): Likewise.
29663 (norm): Likewise.
29664 (denorm): Likewise.
29665 (__mp_dbl): Likewise.
29666 (__dbl_mp): Likewise.
29667 (add_magnitudes): Likewise.
29668 (sub_magnitudes): Likewise.
29669 (__add): Likewise.
29670 (__sub): Likewise.
29671 (__mul): Likewise.
29672 (__inv): Likewise.
29673 (__dvd): Likewise.
29674 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
29675 (__acr): Likewise.
29676 (__cpy): Likewise.
29677 (norm): Likewise.
29678 (denorm): Likewise.
29679 (__mp_dbl): Likewise.
29680 (__dbl_mp): Likewise.
29681 (add_magnitudes): Likewise.
29682 (sub_magnitudes): Likewise.
29683 (__add): Likewise.
29684 (__sub): Likewise.
29685 (__mul): Likewise.
29686 (__inv): Likewise.
29687 (__dvd): Likewise.
29688
29689 2013-01-08 Joseph Myers <joseph@codesourcery.com>
29690
29691 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
29692 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
29693 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
29694 2 && __USE_EXTERN_INLINES]: Likewise.
29695
29696 2013-01-08 Andreas Jaeger <aj@suse.de>
29697
29698 [BZ# 14985]
29699 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
29700 Remove.
29701 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
29702 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
29703
29704 2013-01-07 Anton Blanchard <anton@samba.org>
29705
29706 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
29707 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
29708 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
29709 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
29710 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
29711 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
29712 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
29713 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
29714 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
29715 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
29716 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
29717 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
29718 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
29719 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
29720 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
29721 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
29722 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
29723 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
29724 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
29725 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
29726 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
29727 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
29728 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
29729 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
29730 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
29731 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
29732 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
29733 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
29734 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
29735 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
29736 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
29737 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
29738 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
29739 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
29740 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
29741 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
29742 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
29743 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
29744 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
29745 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
29746 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
29747 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
29748 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
29749
29750 2013-01-07 Joseph Myers <joseph@codesourcery.com>
29751
29752 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
29753 (__MALLOC_PMT): Likewise.
29754 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
29755 [__GNUC__], only on [_LIBC].
29756 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
29757 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
29758 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
29759 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
29760 forward declaration.
29761 (realloc_hook_ini): Likewise.
29762 (memalign_hook_ini): Likewise.
29763 (__libc_memalign): Do not use __MALLOC_PMT in variable
29764 declaration.
29765 (__libc_valloc): Likewise.
29766 (__libc_pvalloc): Likewise.
29767 (__libc_calloc): Likewise.
29768 (__posix_memalign): Likewise.
29769
29770 [BZ #14996]
29771 * math/s_casinh.c: Include <float.h>.
29772 (__casinh): Do not do computation with squaring and square root
29773 for large arguments.
29774 * math/s_casinhf.c: Include <float.h>.
29775 (__casinhf): Do not do computation with squaring and square root
29776 for large arguments.
29777 * math/s_casinhl.c: Include <float.h>.
29778 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
29779 (__casinhl): Do not do computation with squaring and square root
29780 for large arguments.
29781 * math/libm-test.inc (casin_test): Add more tests.
29782 (casinh_test): Likewise.
29783 * sysdeps/i386/fpu/libm-test-ulps: Update.
29784 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29785
29786 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
29787
29788 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
29789 (__x86_64_raw_data_cache_size): Likewise.
29790 (__x86_64_data_cache_size_half): Likewise.
29791 (__x86_64_raw_data_cache_size_half): Likewise.
29792 (__x86_64_shared_cache_size): Likewise.
29793 (__x86_64_raw_shared_cache_size): Likewise.
29794 (__x86_64_shared_cache_size_half): Likewise.
29795 (__x86_64_raw_shared_cache_size_half): Likewise.
29796 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
29797 to ...
29798 (__x86_data_cache_size): This.
29799 (__x86_64_raw_data_cache_size): Renamed to ...
29800 (__x86_raw_data_cache_size): This.
29801 (__x86_64_data_cache_size_half): Renamed to ...
29802 (__x86_data_cache_size_half): This.
29803 (__x86_64_raw_data_cache_size_half): Renamed to ...
29804 (__x86_raw_data_cache_size_half): This.
29805 (__x86_64_shared_cache_size): Renamed to ...
29806 (__x86_shared_cache_size): This.
29807 (__x86_64_raw_shared_cache_size): Renamed to ...
29808 (__x86_raw_shared_cache_size): This.
29809 (__x86_64_shared_cache_size_half): Renamed to ...
29810 (__x86_shared_cache_size_half): This.
29811 (__x86_64_raw_shared_cache_size_half): Renamed to ...
29812 (__x86_raw_shared_cache_size_half): This.
29813 * sysdeps/x86_64/memcpy.S: Updated.
29814 * sysdeps/x86_64/memset.S: Likewise.
29815 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
29816 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
29817 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
29818
29819 2013-01-04 David S. Miller <davem@davemloft.net>
29820
29821 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29822
29823 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
29824
29825 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
29826 1 to avoid redefinition warning.
29827 (__USE_GNU): Don't define.
29828 (init_signaling_nan): Protoize.
29829
29830 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29831
29832 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
29833
29834 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
29835 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
29836 (__cpymn): Likewise.
29837 (norm): Remove commented code.
29838 (denorm): Likewise.
29839 (__mp_dbl): Likewise.
29840 (__inv): Likewise.
29841 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
29842 (__cpymn): Likewise.
29843 (norm): Remove commented code.
29844 (denorm): Likewise.
29845 (__mp_dbl): Likewise.
29846 (__inv): Likewise.
29847
29848 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
29849 mp_no value for 1.0 and 2.0.
29850 (norm): Use RADIXI instead of radixi.d.
29851 (denorm): Likewise.
29852 (__mul): Use 0.0 instead of zero.d.
29853 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
29854 mp_no value for 1.0 and 2.0.
29855 (norm): Use RADIXI instead of radixi.d.
29856 (denorm): Likewise.
29857 (__mul): Use 0.0 instead of zero.d.
29858
29859 2013-01-04 Joseph Myers <joseph@codesourcery.com>
29860
29861 [BZ #14994]
29862 * math/s_casinh.c (__casinh): Reduce finite argument to first
29863 quadrant then set signs of results at the end.
29864 * math/s_casinhf.c (__casinhf): Likewise.
29865 * math/s_casinhl.c (__casinhl): Likewise.
29866 * math/libm-test.inc (casin_test): Add more tests.
29867 (casinh_test): Likewise.
29868 * sysdeps/i386/fpu/libm-test-ulps: Update.
29869 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29870
29871 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
29872
29873 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
29874
29875 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
29876
29877 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
29878 declarations.
29879 (denorm): Likewise.
29880 (__mp_dbl): Likewise.
29881 (__inv): Likewise.
29882
29883 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
29884 and adjust the header comment.
29885
29886 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
29887 variable name from declaration.
29888
29889 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
29890
29891 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29892 Initialize COMMON_CPUID_INDEX_7 element.
29893 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
29894 (CPUID_RTM): Likewise.
29895 (HAS_RTM): Likewise.
29896 (COMMON_CPUID_INDEX_7): New enum.
29897
29898 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
29899
29900 [BZ #14981]
29901 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
29902 size is zero, record memory as freed.
29903
29904 2013-01-03 Andreas Jaeger <aj@suse.de>
29905
29906 * po/ia.po: Add new Interlingua translation.
29907
29908 2012-01-03 Allan McRae <allan@archlinux.org>
29909
29910 * locale/programs/localedef.c: Fix description of '--posix' flag.
29911
29912 2013-01-02 Joseph Myers <joseph@codesourcery.com>
29913
29914 * NEWS: Update dates in second copyright notice.
29915 * README: Update copyright dates in example.
29916 * manual/libc.texinfo: Update copyright dates.
29917 * scripts/test-installation.pl: Update copyright date in --version
29918 output.
29919
29920 * hurd/ctty-input.c: Fix copyright notice formatting.
29921 * hurd/ctty-output.c: Likewise.
29922 * hurd/dtable.c: Likewise.
29923 * hurd/hurd-raise.c: Likewise.
29924 * hurd/hurdprio.c: Likewise.
29925 * hurd/msgportdemux.c: Likewise.
29926 * misc/sys/file.h: Likewise.
29927 * misc/sys/ioctl.h: Likewise.
29928 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
29929 * sysdeps/mach/hurd/chdir.c: Likewise.
29930 * sysdeps/mach/hurd/fchdir.c: Likewise.
29931 * sysdeps/mach/hurd/rename.c: Likewise.
29932 * sysdeps/mach/hurd/rmdir.c: Likewise.
29933 * sysdeps/mach/hurd/seekdir.c: Likewise.
29934 * sysdeps/mach/hurd/setsid.c: Likewise.
29935 * sysdeps/posix/wait3.c: Likewise.
29936
29937 * All files with FSF copyright notices: Update copyright dates
29938 using scripts/update-copyrights.
29939 * intl/plural.c: Regenerated.
29940 * locale/programs/charmap-kw.h: Likewise.
29941 * locale/programs/locfile-kw.h: Likewise.
29942
29943 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
29944
29945 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
29946 four values.
29947
29948 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
29949 calculation loop and add branch prediction.
29950
29951 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
29952 check access beyond bounds of m1np.
29953
29954 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
29955 MPTWO.
29956 (__inv): Remove local variable MPTWO to use the global
29957 constant.
29958 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
29959 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
29960 variable MPTWO.
29961 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
29962 MP3HALFS static const.
29963
29964 2013-01-01 David S. Miller <davem@davemloft.net>
29965
29966 * po/ca.po: Update from translation team.
29967
29968 2013-01-01 Joseph Myers <joseph@codesourcery.com>
29969
29970 * scripts/update-copyrights: New file.
29971 * Makeconfig: Reformat copyright notice.
29972 * ctype/ctype.h: Likewise.
29973 * debug/swprintf_chk.c: Likewise.
29974 * elf/dl-cache.c: Likewise.
29975 * elf/dl-debug.c: Likewise.
29976 * elf/dl-object.c: Likewise.
29977 * grp/initgroups.c: Likewise.
29978 * hurd/Makefile: Likewise.
29979 * hurd/hurd/signal.h: Likewise.
29980 * hurd/hurdfault.c: Likewise.
29981 * hurd/hurdioctl.c: Likewise.
29982 * hurd/hurdlookup.c: Likewise.
29983 * hurd/intr-msg.c: Likewise.
29984 * iconv/gconv_open.c: Likewise.
29985 * libio/swprintf.c: Likewise.
29986 * locale/lc-ctype.c: Likewise.
29987 * locale/nl_langinfo.c: Likewise.
29988 * mach/Machrules: Likewise.
29989 * mach/Makefile: Likewise.
29990 * malloc/obstack.h: Likewise.
29991 * manual/Makefile: Likewise.
29992 * manual/tsort.awk: Likewise.
29993 * misc/bits/stab.def: Likewise.
29994 * nis/nis_print_group_entry.c: Likewise.
29995 * nis/nis_table.c: Likewise.
29996 * nis/nss_compat/compat-pwd.c: Likewise.
29997 * nis/nss_compat/compat-spwd.c: Likewise.
29998 * po/Makefile: Likewise.
29999 * posix/fnmatch.c: Likewise.
30000 * posix/regex.h: Likewise.
30001 * resolv/Makefile: Likewise.
30002 * resolv/nss_dns/dns-network.c: Likewise.
30003 * resolv/res_hconf.c: Likewise.
30004 * scripts/gen-sorted.awk: Likewise.
30005 * soft-fp/soft-fp.h: Likewise.
30006 * stdio-common/printf.h: Likewise.
30007 * stdlib/monetary.h: Likewise.
30008 * stdlib/random.c: Likewise.
30009 * stdlib/random_r.c: Likewise.
30010 * sysdeps/generic/Makefile: Likewise.
30011 * sysdeps/gnu/Makefile: Likewise.
30012 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
30013 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
30014 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
30015 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
30016 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
30017 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
30018 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
30019 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
30020 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
30021 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
30022 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
30023 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
30024 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
30025 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
30026 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
30027 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
30028 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
30029 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
30030 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
30031 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
30032 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
30033 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
30034 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
30035 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
30036 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
30037 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
30038 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
30039 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
30040 * sysdeps/mach/hurd/errnos.awk: Likewise.
30041 * sysdeps/mach/hurd/fork.c: Likewise.
30042 * sysdeps/mach/hurd/getcwd.c: Likewise.
30043 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
30044 * sysdeps/mach/hurd/mmap.c: Likewise.
30045 * sysdeps/mach/hurd/utimes.c: Likewise.
30046 * sysdeps/mach/hurd/xmknod.c: Likewise.
30047 * sysdeps/posix/profil.c: Likewise.
30048 * sysdeps/posix/readdir_r.c: Likewise.
30049 * sysdeps/powerpc/bits/mathdef.h: Likewise.
30050 * sysdeps/powerpc/bits/setjmp.h: Likewise.
30051 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
30052 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
30053 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
30054 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
30055 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
30056 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
30057 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
30058 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
30059 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
30060 * sysdeps/pthread/lio_listio.c: Likewise.
30061 * sysdeps/sparc/dl-procinfo.h: Likewise.
30062 * sysdeps/unix/i386/sysdep.S: Likewise.
30063 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
30064 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
30065 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
30066 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
30067 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
30068 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
30069 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
30070 * sysdeps/unix/sysv/linux/speed.c: Likewise.
30071 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
30072 * sysdeps/wordsize-32/divdi3.c: Likewise.
30073 * time/sys/time.h: Likewise.
30074 * wcsmbs/Makefile: Likewise.
30075
30076 2013-01-01 David S. Miller <davem@davemloft.net>
30077
30078 * po/fr.po: Update from translation team.
30079
30080 * catgets/gencat.c: Update copyright year.
30081 * csu/version.c: Likewise.
30082 * debug/catchsegv.sh: Likewise.
30083 * debug/pcprofiledump.c: Likewise.
30084 * debug/xtrace.sh: Likewise.
30085 * elf/ldconfig.c: Likewise.
30086 * elf/ldd.bash.in: Likewise.
30087 * elf/pldd.c: Likewise.
30088 * elf/sotruss.ksh: Likewise.
30089 * elf/sprof.c: Likewise.
30090 * iconv/iconv_prog.c: Likewise.
30091 * iconv/iconvconfig.c: Likewise.
30092 * locale/programs/locale.c: Likewise.
30093 * locale/programs/localedef.c: Likewise.
30094 * login/programs/pt_chown.c: Likewise.
30095 * malloc/memusage.sh: Likewise.
30096 * malloc/memusagestat.c: Likewise.
30097 * malloc/mtrace.pl: Likewise.
30098 * nscd/nscd.c: Likewise.
30099 * nss/getent.c: Likewise.
30100 * nss/makedb.c: Likewise.
30101 * posix/getconf.c: Likewise.
30102
30103 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
30104
30105 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
30106 numbers.
30107
30108 2012-12-30 Mike Frysinger <vapier@gentoo.org>
30109
30110 * math/bits/mathcalls.h (modf): Use __nonnull.
30111
30112 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
30113
30114 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
30115 (split): Use macro CN instead of the bare value.
30116 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
30117 could be used.
30118 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
30119 instead of the bare value.
30120 (power1): Likewise.
30121
30122 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
30123
30124 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
30125 __ATAN_TWOM.
30126 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
30127
30128 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
30129 their values.
30130 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
30131 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
30132 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
30133 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
30134
30135 2012-12-28 Andreas Jaeger <aj@suse.de>
30136
30137 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
30138 values are from Linux 3.7.
30139
30140 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
30141 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
30142
30143 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
30144
30145 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
30146 TRUE case.
30147
30148 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
30149 (norm): Likewise.
30150 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
30151 variables with preprocessor constants.
30152 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
30153 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
30154 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
30155
30156 2012-12-27 Bruno Haible <bruno@clisp.org>
30157
30158 [BZ #14317]
30159 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
30160 only if needed.
30161
30162 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
30163
30164 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
30165 and use variable directly.
30166 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
30167
30168 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
30169 MPONE.
30170 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
30171 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
30172 variable MPONE.
30173 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
30174 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
30175 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
30176 include directive. Remove local variable MPONE.
30177 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
30178 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
30179 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
30180
30181 2012-12-25 David S. Miller <davem@davemloft.net>
30182
30183 * version.h (RELEASE): Set to "development".
30184 (VERSION): Set to "2.17.90".
30185 * NEWS: Add 2.18 section.
30186
30187 2012-12-21 David S. Miller <davem@davemloft.net>
30188
30189 * po/hr.po: Update from translation team.
30190
30191 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30192
30193 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
30194
30195 2012-12-19 Steve Ellcey <sellcey@mips.com>
30196
30197 * NEWS: Mention new memcpy for MIPS.
30198
30199 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
30200
30201 * manual/contrib.texi (Contributors): Spelling correction.
30202
30203 2012-12-15 David S. Miller <davem@davemloft.net>
30204
30205 * po/ru.po: Update from translation team.
30206
30207 2012-12-13 David S. Miller <davem@davemloft.net>
30208
30209 * NEWS: Mention IFUNC testsuite enhancements.
30210
30211 * po/pl.po: Update from translation team.
30212 * po/bg.po: Likewise.
30213
30214 * manual/contrib.texi (Contributors): Update entries for Hongjiu
30215 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
30216
30217 2012-12-11 David S. Miller <davem@davemloft.net>
30218
30219 * po/sv.po: Update from translation team.
30220
30221 * po/vi.po: Update from translation team.
30222
30223 * po/cs.po: Update from translation team.
30224
30225 * po/de.po: Update from translation team.
30226 * po/eo.po: Likewise.
30227 * po/nl.po: Likewise.
30228
30229 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
30230
30231 [BZ #14246]
30232 * manual/argp.texi (Argp Helper Functions): Move node to follow
30233 Argp Parsing State.
30234
30235 [BZ #14872]
30236 * manual/conf.texi (Limits on File System Capacity): Mention if
30237 terminating null is included in the max size.
30238
30239 2012-12-10 Andreas Jaeger <aj@suse.de>
30240
30241 * po/cs.po: Update from translation team.
30242
30243 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
30244
30245 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
30246 void pointer and cast to uintptr_t.
30247 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
30248 path.
30249 * sysdeps/s390/s390-64/memcpy.S: Likewise.
30250 * sysdeps/s390/s390-64/memset.S: Likewise.
30251
30252 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
30253
30254 [BZ #14833]
30255 * menual/message.texi (Message Translation): Fix typos.
30256 (Helper programs for gettext): Likewise.
30257
30258 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
30259
30260 [BZ #14898]
30261 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
30262 Change to -1.
30263
30264 2012-12-07 David S. Miller <davem@davemloft.net>
30265
30266 * po/libc.pot: Update.
30267
30268 2012-12-07 Richard Henderson <rth@redhat.com>
30269
30270 [BZ #10114]
30271 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
30272 normal/normal case to before the switch.
30273 (_FP_DIV): Likewise.
30274
30275 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
30276 Mike Frysinger <vapier@gentoo.org>
30277
30278 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
30279 check for __NR_fadvise64_64.
30280
30281 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
30282
30283 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
30284 0, not just to plain "0" as a statement.
30285 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
30286 with cw.
30287
30288 2012-12-06 Joseph Myers <joseph@codesourcery.com>
30289
30290 * NEWS: Use sourceware.org in Bugzilla URL.
30291
30292 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
30293
30294 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
30295 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
30296
30297 * stdio-common/tst-put-error.c (do_test): Add newline to the
30298 padded test to ensure flush.
30299
30300 2012-12-05 Jeff Law <law@redhat.com>
30301
30302 * sunrpc/etc.rpc (fedfs_admin): Add entry.
30303
30304 2012-12-05 Joseph Myers <joseph@codesourcery.com>
30305
30306 * README: Don't refer to ports add-on as distributed separately.
30307 Mention AArch64 in list of systems supported in the ports add-on.
30308
30309 * LICENSES: Add more non-FSF copyright and license notices.
30310
30311 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
30312 ((unused)).
30313
30314 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
30315
30316 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
30317 10000 as width of padded output.
30318
30319 2012-12-04 Joseph Myers <joseph@codesourcery.com>
30320
30321 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
30322
30323 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
30324 variable LX with __attribute__ ((unused)).
30325 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
30326 Likewise.
30327 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
30328 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
30329 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
30330 with __attribute__ ((unused)).
30331
30332 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
30333
30334 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
30335
30336 2012-12-04 Joseph Myers <joseph@codesourcery.com>
30337
30338 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
30339 (CFLAGS-nldbl-acos.c): New variable.
30340 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
30341 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
30342 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
30343 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
30344 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
30345 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
30346 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
30347 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
30348 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
30349 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
30350 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
30351 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
30352 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
30353 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
30354 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
30355 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
30356 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
30357 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
30358 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
30359 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
30360 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
30361 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
30362 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
30363 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
30364 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
30365 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
30366 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
30367 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
30368 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
30369 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
30370 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
30371 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
30372 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
30373 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
30374 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
30375 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
30376 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
30377 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
30378 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
30379 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
30380 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
30381 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
30382 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
30383 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
30384 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
30385 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
30386 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
30387 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
30388 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
30389 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
30390 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
30391 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
30392 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
30393 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
30394 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
30395 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
30396 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
30397 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
30398 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
30399 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
30400 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
30401 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
30402 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
30403 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
30404 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
30405 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
30406 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
30407 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
30408 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
30409 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
30410 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
30411 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
30412 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
30413 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
30414 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
30415 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
30416 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
30417 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
30418 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
30419 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
30420 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
30421 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
30422 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
30423 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
30424 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
30425 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
30426 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
30427 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
30428 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
30429 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
30430 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
30431 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
30432 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
30433 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
30434 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
30435 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
30436 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
30437
30438 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
30439 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
30440
30441 [BZ #14914]
30442 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
30443 whole low double instead of just low 47 bits when splitting values
30444 into two parts.
30445
30446 2012-12-03 Allan McRae <allan@archlinux.org>
30447
30448 * manual/stdio.texi (Predefined Printf Handlers): Remove
30449 @hsep and @vsep usage.
30450
30451 2012-12-03 Mike Frysinger <vapier@gentoo.org>
30452
30453 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
30454 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
30455
30456 2012-12-03 Jeff Law <law@redhat.com>
30457
30458 * time/sys/time.h (settimeofday): Do not mark TV argument
30459 as __nonnull.
30460
30461 2012-12-01 Mike Frysinger <vapier@gentoo.org>
30462
30463 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
30464 when currently writing and seek to current position when not.
30465 * libio/Makefile (tests): Remove bug-fclose1.
30466 * libio/bug-fclose1.c: Delete.
30467
30468 2012-12-01 Joseph Myers <joseph@codesourcery.com>
30469
30470 * manual/arith.texi (feenableexcept): Fix typo.
30471 (fedisableexcept): Likewise.
30472
30473 2012-11-30 Roland McGrath <roland@hack.frob.com>
30474
30475 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
30476 second, differently-typed declaration, rather than a cast.
30477
30478 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
30479
30480 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
30481 * include/rpc/svc.h: ... here.
30482
30483 2012-11-30 Aurelien Jarno <aurel32@debian.org>
30484
30485 [BZ #13013]
30486 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
30487 depending n and resplen2 to catch cases where answer
30488 equals answerp2.
30489
30490 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
30491
30492 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
30493 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
30494
30495 2012-11-29 Mike Frysinger <vapier@gentoo.org>
30496
30497 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
30498
30499 2012-11-29 Roland McGrath <roland@hack.frob.com>
30500
30501 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
30502
30503 2012-11-28 Jeff Law <law@redhat.com>
30504
30505 [BZ #13761]
30506 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
30507 dataset_temporary. Track alloca usage into alloca_used.
30508 If dataset is large allocate and release it via malloc/free.
30509
30510 2012-06-04 Florian Weimer <fweimer@redhat.com>
30511
30512 [BZ #14197]
30513 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
30514
30515 2012-11-28 David S. Miller <davem@davemloft.net>
30516
30517 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30518
30519 2012-11-28 Joseph Myers <joseph@codesourcery.com>
30520
30521 [BZ #14803]
30522 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
30523 of pi/2 rounded to nearest to 64 bits.
30524 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
30525 nearest to 64 bits.
30526 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
30527 bits.
30528
30529 2012-11-28 Jeff Law <law@redhat.com>
30530 Martin Osvald <mosvald@redhat.com>
30531
30532 [BZ #14889]
30533 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
30534 * sunrpc/svc.c: Include time.h.
30535 (__svc_accept_failed): New function.
30536 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
30537 any reason other than EINTR, call __svc_accept_failed.
30538 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
30539 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
30540
30541 2012-11-28 Andreas Schwab <schwab@suse.de>
30542
30543 * scripts/abilist.awk: Also handle indirect functions in .opd
30544 section.
30545
30546 2012-11-28 Joseph Myers <joseph@codesourcery.com>
30547
30548 [BZ #13881]
30549 * sysdeps/x86/fpu/powl_helper.c: New file.
30550 * sysdeps/x86/fpu/Makefile: Likewise.
30551 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
30552 (p3): New object.
30553 (__ieee754_powl): Use __powl_helper for finite arguments except
30554 integer exponents below 8.
30555 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
30556 (p3): New object.
30557 (__ieee754_powl): Use __powl_helper for finite arguments except
30558 integer exponents below 8.
30559 * math/libm-test.inc (pow_test): Add more tests and enable some
30560 previously disabled tests.
30561 * sysdeps/i386/fpu/libm-test-ulps: Update.
30562 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30563
30564 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
30565 Carlos O'Donell <carlos_odonell@mentor.com>
30566
30567 * nss/makedb.c (is_prime): Assert that input is odd and greater
30568 than 4. Note that fact in a comment too.
30569 (next_prime): Add 4 to input.
30570
30571 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
30572
30573 [BZ #11741]
30574 * libio/Makefile (tests): Add test case tst-fwrite-error.
30575 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
30576 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
30577 * libio/tst-fwrite-error.c: New test case.
30578
30579 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
30580
30581 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
30582 before casting to void *.
30583 * include/libc-internal.h (__pointer_type): New macro.
30584 (__integer_if_pointer_type_sub): Likewise.
30585 (__integer_if_pointer_type): Likewise.
30586 (cast_to_integer): Likewise.
30587 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
30588 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
30589 before casting to atomic64_t.
30590 (atomic_exchange_acq): Likewise.
30591 (__arch_exchange_and_add_body): Likewise.
30592 (__arch_add_body): Likewise.
30593 (atomic_add_negative): Likewise.
30594 (atomic_add_zero): Likewise.
30595
30596 2012-11-26 Joseph Myers <joseph@codesourcery.com>
30597
30598 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
30599 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
30600 (add_fdes): Likewise.
30601 (linear_search_fdes): Likewise.
30602 (binary_search_unencoded_fdes): Likewise.
30603
30604 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
30605
30606 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
30607
30608 2012-11-24 Adam Conrad <adconrad@0c3.net>
30609
30610 * configure.in: Autodetect C++ header directories.
30611 * configure: Regenerated.
30612
30613 2012-11-23 Mike Frysinger <vapier@gentoo.org>
30614
30615 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
30616
30617 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
30618
30619 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30620
30621 2012-11-22 Joseph Myers <joseph@codesourcery.com>
30622
30623 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
30624 LDBL_MANT_DIG == 106]: Disable some tests.
30625 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
30626 Likewise.
30627 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
30628 Likewise.
30629
30630 [BZ #14871]
30631 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
30632 input for small inputs. Return +/- pi/2 for large inputs.
30633 * math/libm-test.inc (atan_test): Add more tests.
30634
30635 * sysdeps/generic/unwind-dw2-fde-glibc.c
30636 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
30637 __attribute__ ((unused)).
30638
30639 [BZ #14645]
30640 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
30641 x * y if x and y are nonzero and z is zero.
30642
30643 [BZ #14811]
30644 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
30645 nonzero exponents with absolute value below 0x1p-117 to +/-
30646 0x1p-117.
30647
30648 [BZ #14869]
30649 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
30650 up arguments below 2**-450, not just those below 2**-500.
30651 * math/libm-test.inc (hypot_test): Add another test.
30652
30653 [BZ #14868]
30654 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
30655 Return a+b for ratio over 2**120, not 2**60.
30656 * math/libm-test.inc (hypot_test): Add another test.
30657
30658 * math/libm-test.inc (clog_test): Use
30659 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
30660 (clog10_test): Likewise.
30661
30662 [BZ #6778]
30663 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
30664
30665 2012-11-22 Andreas Schwab <schwab@suse.de>
30666
30667 * sysdeps/i386/fpu/libm-test-ulps: Update.
30668
30669 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
30670
30671 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
30672 printf output with newline.
30673
30674 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
30675
30676 [BZ #14865]
30677 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
30678 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
30679 -z nodlopen, -z initfirst and -z execstack support.
30680 * configure: Regenerated.
30681
30682 * elf/elf.h (DF_1_NODIRECT): New macro.
30683 (DF_1_IGNMULDEF): Likewise.
30684 (DF_1_NOKSYMS): Likewise.
30685 (DF_1_NOHDR): Likewise.
30686 (DF_1_EDITED): Likewise.
30687 (DF_1_NORELOC): Likewise.
30688 (DF_1_SYMINTPOSE): Likewise.
30689 (DF_1_GLOBAUDIT): Likewise.
30690 (DF_1_SINGLETON): Likewise.
30691 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
30692 DT_1_SUPPORTED_MASK bits.
30693 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
30694
30695 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
30696
30697 * sysdeps/unix/make-syscalls.sh: Document prefixes.
30698
30699 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
30700
30701 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
30702 macro.
30703
30704 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
30705 (sendmmsg): Move declarations...
30706 * socket/sys/socket.h: ... here.
30707 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
30708 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
30709 include it from...
30710 * socket/recvmmsg.c: ... this new file.
30711 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
30712 (sendmmsg): Rename to __sendmmsg, create weak alias and make
30713 definition of __sendmmsg hidden.
30714 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
30715 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
30716 Move ENOSYS stub into and include it from...
30717 * socket/sendmmsg.c: ... this new file.
30718 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
30719 (sysdep_routines): Move recvmmsg and sendmmsg...
30720 * socket/Makefile (routines): ... here.
30721 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
30722 (GLIBC_PRIVATE): Add __sendmmsg.
30723 * include/sys/socket.h (__sendmmsg): Add declarations.
30724 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
30725 sendmmsg.
30726
30727 2012-11-20 Joseph Myers <joseph@codesourcery.com>
30728
30729 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
30730 variable I1 with __attribute__ ((unused)).
30731 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
30732
30733 2012-11-19 Joseph Myers <joseph@codesourcery.com>
30734
30735 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
30736 DUMMY variables with __attribute__ ((unused)).
30737
30738 * bits/byteswap.h: Include <bits/types.h>.
30739 (__bswap_64): Use __uint64_t instead of unsigned long long int.
30740
30741 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
30742
30743 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
30744 string_t. Do not manually set errno.
30745 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
30746 length with __strnlen. Make sure to both set errno and return it on
30747 failure.
30748
30749 2012-11-19 David S. Miller <davem@davemloft.net>
30750
30751 With help from Joseph Myers.
30752 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
30753 very large arguments properly.
30754 * math/libm-test.inc (atan_test): New tests.
30755 (atan2_test): New tests.
30756 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30757 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30758
30759 2012-11-19 Joseph Myers <joseph@codesourcery.com>
30760
30761 [BZ #14856]
30762 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
30763 Define to 3.
30764
30765 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
30766 [POSIX] (EADDRNOTAVAIL): Likewise.
30767 [POSIX] (EAFNOSUPPORT): Likewise.
30768 [POSIX] (EALREADY): Likewise.
30769 [POSIX] (ECONNABORTED): Likewise.
30770 [POSIX] (ECONNREFUSED): Likewise.
30771 [POSIX] (ECONNRESET): Likewise.
30772 [POSIX] (EDESTADDRREQ): Likewise.
30773 [POSIX] (EDQUOT): Likewise.
30774 [POSIX] (EHOSTUNREACH): Likewise.
30775 [POSIX] (EIDRM): Likewise.
30776 [POSIX] (EISCONN): Likewise.
30777 [POSIX] (ELOOP): Likewise.
30778 [POSIX] (EMULTIHOP): Likewise.
30779 [POSIX] (ENETDOWN): Likewise.
30780 [POSIX] (ENETUNREACH): Likewise.
30781 [POSIX] (ENOBUFS): Likewise.
30782 [POSIX] (ENODATA): Likewise.
30783 [POSIX] (ENOLINK): Likewise.
30784 [POSIX] (ENOMSG): Likewise.
30785 [POSIX] (ENOPROTOOPT): Likewise.
30786 [POSIX] (ENOSR): Likewise.
30787 [POSIX] (ENOSTR): Likewise.
30788 [POSIX] (ENOTCONN): Likewise.
30789 [POSIX] (ENOTSOCK): Likewise.
30790 [POSIX] (EOPNOTSUPP): Likewise.
30791 [POSIX] (EOVERFLOW): Likewise.
30792 [POSIX] (EPROTO): Likewise.
30793 [POSIX] (EPROTONOSUPPORT): Likewise.
30794 [POSIX] (EPROTOTYPE): Likewise.
30795 [POSIX] (ESTALE): Likewise.
30796 [POSIX] (ETIME): Likewise.
30797 [POSIX] (ETXTBSY): Likewise.
30798 [POSIX] (EWOULDBLOCK): Likewise.
30799 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
30800 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
30801 [POSIX] (SEEK_CUR): Likewise.
30802 [POSIX] (SEEK_END): Likewise.
30803 [POSIX || UNIX98] (mode_t): Do not require.
30804 [POSIX] (off_t): Likewise.
30805 [POSIX] (pid_t): Likewise.
30806 [POSIX] (sys/stat.h): Do not allow header.
30807 [POSIX] (unistd.h): Likewise.
30808 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
30809 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
30810 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
30811 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
30812 require.
30813 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
30814 sigevent): Specify elements.
30815 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
30816 entry.
30817 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
30818 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
30819
30820 * conform/data/cpio.h-data [POSIX]: Disable whole file.
30821 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
30822 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
30823 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
30824 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
30825 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
30826 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
30827 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
30828 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
30829 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
30830 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
30831 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
30832 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
30833 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
30834 Likewise.
30835 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
30836 Likewise.
30837 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
30838 Likewise.
30839 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
30840 Likewise.
30841 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
30842 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
30843 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
30844 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
30845 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
30846 Specify lower bound on value.
30847 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
30848 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
30849 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
30850 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
30851 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
30852 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
30853 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
30854 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
30855 value.
30856 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
30857 as optional.
30858 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
30859 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
30860 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
30861 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
30862 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
30863 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
30864 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
30865 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
30866 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
30867 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
30868 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
30869 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
30870 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
30871 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
30872 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
30873 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
30874 entry.
30875 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
30876 optional.
30877 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
30878 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
30879 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
30880 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
30881 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
30882 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
30883 Likewise.
30884 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
30885 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
30886 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
30887 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
30888 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
30889 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
30890 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
30891 as optional.
30892 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
30893 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
30894 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
30895 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
30896 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
30897 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
30898 specify as optional.
30899 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
30900 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
30901 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
30902 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
30903 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
30904 [XPG3] (NL_LANGMAX): Likewise.
30905 [POSIX || XPG3] (NL_MSGMAX): Likewise.
30906 [POSIX || XPG3] (NL_NMAX): Likewise.
30907 [POSIX || XPG3] (NL_SETMAX): Likewise.
30908 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
30909 [XPG3] (NZERO): Likewise.
30910 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
30911 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
30912 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
30913 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
30914 (REG_ERANGE): Expect.
30915 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
30916 optional-constant.
30917 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
30918 Use (void) in prototype.
30919 [POSIX] (*_t): Allow.
30920 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
30921 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
30922 (WRDE_BADVAL): Expect.
30923
30924 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
30925 expect.
30926 [XPG3 || XPG4] (O_RSYNC): Likewise.
30927 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
30928 Likewise.
30929 [XPG3 || XPG4] (pthread_sigmask): Likewise.
30930 [XPG3 || XPG4] (sigqueue): Likewise.
30931 [XPG3 || XPG4] (sigtimedwait): Likewise.
30932 [XPG3 || XPG4] (sigwaitinfo): Likewise.
30933 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
30934 [XPG3 || XPG4] (vsnprintf): Likewise.
30935 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
30936 Likewise.
30937 [XPG3 || XPG4] (blksize_t): Likewise.
30938 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
30939 Likewise.
30940 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
30941 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
30942 [XPG3 || XPG4] (struct itimerspec): Likewise.
30943 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
30944 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
30945 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
30946 [XPG3 || XPG4] (clockid_t): Likewise.
30947 [XPG3 || XPG4] (timer_t): Likewise.
30948 [XPG3 || XPG4] (clock_getres): Likewise.
30949 [XPG3 || XPG4] (clock_gettime): Likewise.
30950 [XPG3 || XPG4] (clock_settime): Likewise.
30951 [XPG3 || XPG4] (nanosleep): Likewise.
30952 [XPG3 || XPG4] (timer_create): Likewise.
30953 [XPG3 || XPG4] (timer_delete): Likewise.
30954 [XPG3 || XPG4] (timer_gettime): Likewise.
30955 [XPG3 || XPG4] (timer_getoverrun): Likewise.
30956 [XPG3 || XPG4] (timer_settime): Likewise.
30957 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
30958 [XPG3 || XPG4] (getlogin_r): Likewise.
30959 [XPG3 || XPG4] (pread): Likewise.
30960 [XPG3 || XPG4] (pthread_atfork): Likewise.
30961 [XPG3 || XPG4] (pwrite): Likewise.
30962
30963 [BZ #14835]
30964 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
30965 <bits/siginfo.h>.
30966
30967 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
30968
30969 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
30970 finalizing MALLSTREAM.
30971
30972 * sysdeps/mach/hurd/syncfs.c: New file.
30973
30974 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
30975
30976 [BZ #14719]
30977 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
30978 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
30979 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
30980 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
30981 (_nss_dns_gethostbyname4_r): Likewise.
30982 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
30983 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
30984
30985 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
30986
30987 [BZ #13763]
30988 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
30989
30990 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
30991
30992 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
30993 * elf/cache.c (print_entry): Print ",AArch64" for
30994 FLAG_AARCH64_LIB64
30995
30996 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
30997 * elf/cache.c (print_entry): Print ",hard-float" for
30998 FLAG_ARM_LIBHF.
30999
31000 2012-11-18 David S. Miller <davem@davemloft.net>
31001
31002 With help from Joseph Myers.
31003 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
31004 cutoff to 2**-13.
31005 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
31006 cutoff to 2**-25.
31007 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
31008 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
31009 small.
31010 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
31011 * math/libm-test.inc (y0_test): New tests.
31012 (y1_test): New tests.
31013 * sysdeps/i386/fpu/libm-test-ulps: Update.
31014 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31015 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31016
31017 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
31018
31019 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
31020 64-bit targets.
31021 * configure: Regenerated.
31022
31023 2012-11-17 David S. Miller <davem@davemloft.net>
31024
31025 [BZ #14811]
31026 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
31027 nonzero exponents with absolute value below 0x1p-128 to +/-
31028 0x1p-128.
31029
31030 2012-11-17 Joseph Myers <joseph@codesourcery.com>
31031
31032 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
31033
31034 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
31035
31036 * posix/getconf-speclist.c: New file.
31037 * posix/posix-envs.def: Likewise.
31038 * posix/confstr.c (START_ENV_GROUP): New macro.
31039 (END_ENV_GROUP): Likewise.
31040 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
31041 (KNOWN_PRESENT_ENV_STRING): Likewise.
31042 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
31043 (UNKNOWN_ENVIRONMENT): Likewise.
31044 (confstr): Include posix-envs.def instead of handling
31045 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
31046 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
31047 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
31048 (END_ENV_GROUP): Likewise.
31049 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
31050 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
31051 (UNKNOWN_ENVIRONMENT): Likewise.
31052 (__sysconf): Include posix-envs.def instead of handling associated
31053 cases directly here.
31054 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
31055 preprocessing getconf-speclist.c rather than running getconf or
31056 generating empty file.
31057
31058 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
31059
31060 * scripts/check-local-headers.sh: Ignore 'mach' headers.
31061
31062 2012-11-16 Andrej Lajovic <natrij@gmail.com>
31063
31064 [BZ #14672]
31065 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
31066
31067 2012-11-16 David S. Miller <davem@davemloft.net>
31068
31069 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
31070 smaller than LDBL_EPSILON/2.0L, just return xm1.
31071
31072 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
31073
31074 * elf/tst-array1.c (init): Set constructor priority to 1000.
31075 (fini): Set destructor priority to 1000.
31076 * elf/tst-array2dep.c: Likewise.
31077
31078 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
31079
31080 [BZ #11741]
31081 * libio/fileops.c (_IO_new_file_write): Correctly return error.
31082 (_IO_new_file_xsputn): Also return EOF if none of the input
31083 data was written when overflow failed.
31084 * libio/iopadn.c (_IO_padn): Likewise.
31085 * libio/iowpadn.c (_IO_wpadn): Likewise.
31086 * stdio-common/tst-put-error.c: Add copyright notice.
31087 (do_test): Add case for printing padded string.
31088 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
31089 _IO_padn returned error.
31090 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
31091 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
31092 return EOF.
31093
31094 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
31095
31096 * libio/libioP.h: Add comment note that the references to C++
31097 bits are now obsolete.
31098
31099 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
31100
31101 * math/libm-test.inc (check_complex): Use asprintf.
31102
31103 2012-11-14 Joseph Myers <joseph@codesourcery.com>
31104
31105 * debug/pcprofiledump.c (print_version): Update copyright year.
31106 * malloc/memusagestat.c (print_version): Likewise.
31107
31108 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
31109
31110 [BZ #14831]
31111 * elf/Makefile (tests): Add tst-audit8.
31112 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
31113 ($(objpfx)tst-audit8.out): New target.
31114 (tst-audit8-ENV): New variable.
31115 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
31116 audit if l_reloc_result is NULL.
31117 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
31118 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
31119 * elf/tst-audit8.c: New file.
31120
31121 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
31122
31123 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
31124 * misc/Makefile (CFLAGS-select.c): Define.
31125 * posix/Makefile (CFLAGS-pause.c): Define.
31126
31127 2012-11-13 David S. Miller <davem@davemloft.net>
31128
31129 * crypt/Makefile: Move test targets after toplevel Rules
31130 inclusion. Grab any necessary sysdep routines when linking.
31131 * crypt/md5.c (md5_process_block): Remove define, we will always
31132 name it __md5_process_block.
31133 (md5_finish_ctx): Update md5_process_block call.
31134 (md5_stream): Likewise.
31135 (md5_process_bytes): Likewise.
31136 (md5_process_block): Rename to __md5_process_block and move to ...
31137 * crypt/md5-block.c: ... here.
31138 * crypt/sha256.c (sha256_process_block): Move to ...
31139 * crypt/sha256-block.c: ... here.
31140 * crypt/sha512.c (sha512_process_block): Move to ...
31141 * crypt/sha512-block.c: ... here.
31142 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
31143 path.
31144 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
31145 * sysdeps/sparc/sparc64/multiarch/Makefile
31146 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
31147 crypt subdir.
31148 (localedef-aux): Add md5 crypto assembler when in locale subdir.
31149 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
31150 multiarch changes.
31151 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
31152 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
31153 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
31154 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
31155 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
31156 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
31157 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
31158 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
31159 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
31160 file.
31161 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
31162 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
31163 file.
31164 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
31165
31166 2012-11-13 Joseph Myers <joseph@codesourcery.com>
31167
31168 * timezone/tzselect.ksh: Update from tzcode git revision
31169 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
31170 * timezone/zdump.c: Likewise.
31171 * timezone/zic.c: Likewise.
31172 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
31173 in TZVERSION setting, not $(PKGVERSION).
31174 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
31175 REPORT_BUGS_TO settings.
31176
31177 [BZ #14838]
31178 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
31179 macro.
31180
31181 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
31182
31183 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
31184 detection to immediately after _FP_ROUND().
31185 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
31186 bits are 0.
31187
31188 2012-11-11 David S. Miller <davem@davemloft.net>
31189
31190 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
31191 inttypes.h
31192 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
31193 __close rather than their public counterparts.
31194
31195 2012-11-10 Joseph Myers <joseph@codesourcery.com>
31196
31197 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
31198 file.
31199 [UNIX98] (sem_timedwait): Do not expect.
31200 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
31201 [XPG4 || UNIX98] (sockatmark): Do not expect.
31202 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
31203 (clock_getcpuclockid): Do not expect.
31204 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
31205 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
31206 Do not expect.
31207 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
31208 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
31209 [UNIX98] (vwscanf): Likewise.
31210 [UNIX98] (vswscanf): Likewise.
31211
31212 2012-11-09 Joseph Myers <joseph@codesourcery.com>
31213
31214 * timezone/version.h: Remove file.
31215 * timezone/README: Do not refer to version.h.
31216 * timezone/Makefile ($(objpfx)zic.o): New dependency on
31217 $(objpfx)version.h.
31218 ($(objpfx)zdump.o): Likewise.
31219 ($(objpfx)version.h): New target.
31220
31221 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
31222 2012i.
31223 * timezone/README: Don't mention modification to tzselect.ksh.
31224 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
31225 work on unmodified tzselect.ksh. Substitute version numbers in
31226 tzselect.ksh.
31227
31228 * Makefile (format-me): Remove.
31229 (INSTALL): Adjust indentation. Use commands directly instead of
31230 using $(format-me).
31231
31232 * aclocal.m4 (ACX_PKGVERSION): New macro.
31233 (ACX_BUGURL): Likewise.
31234 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
31235 (PKGVERSION): New AC_DEFINE_UNQUOTED.
31236 (REPORT_BUGS_TO): Likewise.
31237 * configure: Regenerated.
31238 * config.h.in (PKGVERSION): New macro.
31239 (REPORT_BUGS_TO): Likewise.
31240 * config.make.in (PKGVERSION): New variable.
31241 (PKGVERSION_TEXI): Likewise.
31242 (REPORT_BUGS_TO): Likewise.
31243 (REPORT_BUGS_TEXI): Likewise.
31244 * Makefile (format-me): Use -I$(common-objpfx)manual.
31245 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
31246 ($(common-objpfx)manual/%): New target.
31247 (manual/%): Remove target.
31248 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
31249 (print_version): Use PKGVERSION.
31250 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
31251 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
31252 and REPORT_BUGS_TO.
31253 ($(objpfx)xtrace): Likewise.
31254 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
31255 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
31256 (print_version): Use PKGVERSION.
31257 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
31258 (do_version): Use PKGVERSION.
31259 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
31260 REPORT_BUGS_TO.
31261 (common-ldd-rewrite): Likewise.
31262 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
31263 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
31264 (print_version): Use PKGVERSION.
31265 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
31266 * elf/pldd.c (argp_program_bug_address): Remove variable.
31267 (more_help): New function.
31268 (argp): Use more_help.
31269 (print_version): Use PKGVERSION.
31270 * elf/sln.c (main): Use PKGVERSION.
31271 (usage): Use REPORT_BUGS_TO.
31272 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
31273 (top level): Use PKGVERSION.
31274 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
31275 (print_version): Use PKGVERSION.
31276 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
31277 (print_version): Use PKGVERSION.
31278 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
31279 (print_version): Use PKGVERSION.
31280 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
31281 (print_version): Use PKGVERSION.
31282 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
31283 (print_version): Use PKGVERSION.
31284 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
31285 (print_version): Use PKGVERSION.
31286 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
31287 and BUGURL.
31288 ($(objpfx)memusage): Likewise.
31289 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
31290 (do_version): Use PKGVERSION.
31291 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
31292 (print_version): Use PKGVERSION.
31293 * malloc/mtrace.pl ($PACKAGE): Remove variable.
31294 ($PKGVERSION): New variable.
31295 ($REPORT_BUGS_TO): Likewise.
31296 (usage): Use $REPORT_BUGS_TO.
31297 (top level): Use $PKGVERSION.
31298 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
31299 ($(objpfx)pkgvers.texi): New rule.
31300 ($(objpfx)stamp-pkgvers): Likewise.
31301 * manual/install.texi: Include pkgvers.texi.
31302 (--with-pkgversion): Document new configure option.
31303 (--with-bugurl): Likewise.
31304 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
31305 than necessarily for this particular distribution. Use
31306 REPORT_BUGS_TO for where to report bugs.
31307 * INSTALL: Regenerated.
31308 * manual/libc.texinfo: Include pkgvers.texi.
31309 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
31310 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
31311 (print_version): Use PKGVERSION.
31312 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
31313 (print_version): Use PKGVERSION.
31314 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
31315 (print_version): Use PKGVERSION.
31316 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
31317 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
31318 macro.
31319 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
31320 (print_version): Use PKGVERSION.
31321 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
31322 (print_version): Use PKGVERSION.
31323 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
31324 and PKGVERSION.
31325
31326 * timezone/checktab.awk: Update from tzcode 2012i.
31327 * timezone/ialloc.c: Likewise.
31328 * timezone/private.h: Likewise.
31329 * timezone/scheck.c: Likewise.
31330 * timezone/tzfile.h: Likewise.
31331 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
31332 (TZVERSION): Hardcode tzcode version number.
31333 * timezone/zdump.c: Update from tzcode 2012i.
31334 * timezone/zic.c: Likewise.
31335 * timezone/version.h: New file.
31336 * timezone/README: Describe version.h. Update upstream location.
31337
31338 [BZ #14824]
31339 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
31340 (mktemp): Enable declaration.
31341 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
31342 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
31343 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
31344 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
31345 Likewise.
31346 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
31347 Likewise.
31348 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
31349 Likewise.
31350 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
31351 Likewise.
31352 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
31353 Likewise.
31354 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
31355 Likewise.
31356
31357 [BZ #14821]
31358 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
31359 offset in buffer as u_int32_t not u_long. Consistently use memcpy
31360 for copies of such integer values.
31361 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
31362 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
31363
31364 2012-11-09 Andreas Jaeger <aj@suse.de>
31365
31366 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
31367 definitions and declarations that are provided by
31368 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
31369
31370 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31371
31372 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
31373 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
31374 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
31375 definition.
31376
31377 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
31378
31379 * elf/elf.h: Update comment before AArch64 relocations.
31380
31381 2012-11-07 David S. Miller <davem@davemloft.net>
31382
31383 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
31384 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
31385 (__start_context): Declare.
31386 (__makecontext_ret): Delete.
31387 (__makecontext): Hook up __start_context instead of
31388 __makecontext_ret.
31389 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
31390 (sysdep_routines): Add __start_context when in stdlib.
31391
31392 2012-11-07 Joseph Myers <joseph@codesourcery.com>
31393
31394 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
31395 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
31396 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
31397 hardcoded "nm".
31398 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
31399 (READELF): New variable. Use it instead of hardcoded "readelf".
31400
31401 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
31402
31403 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
31404 * sysdeps/x86/Makefile: Here.
31405 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
31406 * sysdeps/x86/tst-xmmymm.sh: This.
31407
31408 2012-11-07 Joseph Myers <joseph@codesourcery.com>
31409
31410 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
31411 expectations.
31412 [UNIX98] (pthread_barrier_t): Do not expect.
31413 [UNIX98] (pthread_barrierattr_t): Likewise.
31414 [UNIX98] (pthread_spinlock_t): Likewise.
31415 [UNIX98] (pthread_barrier_destroy): Likewise.
31416 [UNIX98] (pthread_barrier_init): Likewise.
31417 [UNIX98] (pthread_barrier_wait): Likewise.
31418 [UNIX98] (pthread_barrierattr_destroy): Likewise.
31419 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
31420 [UNIX98] (pthread_barrierattr_init): Likewise.
31421 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
31422 [UNIX98] (pthread_getcpuclockid): Likewise.
31423 [UNIX98] (pthread_mutex_timedlock): Likewise.
31424 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
31425 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
31426 [UNIX98] (pthread_sigmask): Likewise.
31427 [UNIX98] (pthread_spin_destroy): Likewise.
31428 [UNIX98] (pthread_spin_init): Likewise.
31429 [UNIX98] (pthread_spin_lock): Likewise.
31430 [UNIX98] (pthread_spin_trylock): Likewise.
31431 [UNIX98] (pthread_spin_unlock): Likewise.
31432 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
31433 Do not expect.
31434 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
31435 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
31436 [XPG3 || XPG4] (pthread_cond_t): Likewise.
31437 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
31438 [XPG3 || XPG4] (pthread_key_t): Likewise.
31439 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
31440 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
31441 [XPG3 || XPG4] (pthread_once_t): Likewise.
31442 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
31443 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
31444 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
31445 [XPG3 || XPG4] (pthread_t): Likewise.
31446
31447 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
31448 not expect.
31449 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
31450
31451 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
31452 Change function return type to int.
31453
31454 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
31455 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
31456 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
31457 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
31458 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
31459 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
31460 [!POSIX] (posix_madvise): Likewise.
31461 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
31462 && !UNIX98].
31463 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
31464 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
31465 (mode_t): Likewise.
31466 (posix_mem_offset): Likewise.
31467 (posix_typed_mem_get_info): Likewise.
31468 (posix_typed_mem_open): Likewise.
31469
31470 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
31471 Change condition to [XOPEN2K8].
31472
31473 * conform/conformtest.pl: Preprocess allow-header data with -x c
31474 instead of from stdin.
31475 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
31476 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
31477 [C99-based standards] (cerfc): Likewise.
31478 [C99-based standards] (cexp2): Likewise.
31479 [C99-based standards] (cexpm1): Likewise.
31480 [C99-based standards] (clog10): Likewise.
31481 [C99-based standards] (clog1p): Likewise.
31482 [C99-based standards] (clog2): Likewise.
31483 [C99-based standards] (clgamma): Likewise.
31484 [C99-based standards] (ctgamma): Likewise.
31485 [C99-based standards] (cerff): Likewise.
31486 [C99-based standards] (cerfcf): Likewise.
31487 [C99-based standards] (cexp2f): Likewise.
31488 [C99-based standards] (cexpm1f): Likewise.
31489 [C99-based standards] (clog10f): Likewise.
31490 [C99-based standards] (clog1pf): Likewise.
31491 [C99-based standards] (clog2f): Likewise.
31492 [C99-based standards] (clgammaf): Likewise.
31493 [C99-based standards] (ctgammaf): Likewise.
31494 [C99-based standards] (cerfl): Likewise.
31495 [C99-based standards] (cerfcl): Likewise.
31496 [C99-based standards] (cexp2l): Likewise.
31497 [C99-based standards] (cexpm1l): Likewise.
31498 [C99-based standards] (clog10l): Likewise.
31499 [C99-based standards] (clog1pl): Likewise.
31500 [C99-based standards] (clog2l): Likewise.
31501 [C99-based standards] (clgammal): Likewise.
31502 [C99-based standards] (ctgammal): Likewise.
31503 * conform/data/inttypes.h-data [C99-based standards]: Include
31504 stdint.h-data. Remove all expectations for stdint.h contents.
31505 [C99-based standards] (PRI*): Do not allow.
31506 [C99-based standards] (SCN*): Likewise.
31507 [C99-based standards] (*_t): Likewise.
31508 [C99-based-standards] (PRId8): Expect macro.
31509 [C99-based-standards] (PRIi8): Likewise.
31510 [C99-based-standards] (PRIo8): Likewise.
31511 [C99-based-standards] (PRIu8): Likewise.
31512 [C99-based-standards] (PRIx8): Likewise.
31513 [C99-based-standards] (PRIX8): Likewise.
31514 [C99-based-standards] (SCNd8): Likewise.
31515 [C99-based-standards] (SCNi8): Likewise.
31516 [C99-based-standards] (SCNo8): Likewise.
31517 [C99-based-standards] (SCNu8): Likewise.
31518 [C99-based-standards] (SCNx8): Likewise.
31519 [C99-based-standards] (PRIdLEAST8): Likewise.
31520 [C99-based-standards] (PRIiLEAST8): Likewise.
31521 [C99-based-standards] (PRIoLEAST8): Likewise.
31522 [C99-based-standards] (PRIuLEAST8): Likewise.
31523 [C99-based-standards] (PRIxLEAST8): Likewise.
31524 [C99-based-standards] (PRIXLEAST8): Likewise.
31525 [C99-based-standards] (SCNdLEAST8): Likewise.
31526 [C99-based-standards] (SCNiLEAST8): Likewise.
31527 [C99-based-standards] (SCNoLEAST8): Likewise.
31528 [C99-based-standards] (SCNuLEAST8): Likewise.
31529 [C99-based-standards] (SCNxLEAST8): Likewise.
31530 [C99-based-standards] (PRIdFAST8): Likewise.
31531 [C99-based-standards] (PRIiFAST8): Likewise.
31532 [C99-based-standards] (PRIoFAST8): Likewise.
31533 [C99-based-standards] (PRIuFAST8): Likewise.
31534 [C99-based-standards] (PRIxFAST8): Likewise.
31535 [C99-based-standards] (PRIXFAST8): Likewise.
31536 [C99-based-standards] (SCNdFAST8): Likewise.
31537 [C99-based-standards] (SCNiFAST8): Likewise.
31538 [C99-based-standards] (SCNoFAST8): Likewise.
31539 [C99-based-standards] (SCNuFAST8): Likewise.
31540 [C99-based-standards] (SCNxFAST8): Likewise.
31541 [C99-based-standards] (PRId16): Likewise.
31542 [C99-based-standards] (PRIi16): Likewise.
31543 [C99-based-standards] (PRIo16): Likewise.
31544 [C99-based-standards] (PRIu16): Likewise.
31545 [C99-based-standards] (PRIx16): Likewise.
31546 [C99-based-standards] (PRIX16): Likewise.
31547 [C99-based-standards] (SCNd16): Likewise.
31548 [C99-based-standards] (SCNi16): Likewise.
31549 [C99-based-standards] (SCNo16): Likewise.
31550 [C99-based-standards] (SCNu16): Likewise.
31551 [C99-based-standards] (SCNx16): Likewise.
31552 [C99-based-standards] (PRIdLEAST16): Likewise.
31553 [C99-based-standards] (PRIiLEAST16): Likewise.
31554 [C99-based-standards] (PRIoLEAST16): Likewise.
31555 [C99-based-standards] (PRIuLEAST16): Likewise.
31556 [C99-based-standards] (PRIxLEAST16): Likewise.
31557 [C99-based-standards] (PRIXLEAST16): Likewise.
31558 [C99-based-standards] (SCNdLEAST16): Likewise.
31559 [C99-based-standards] (SCNiLEAST16): Likewise.
31560 [C99-based-standards] (SCNoLEAST16): Likewise.
31561 [C99-based-standards] (SCNuLEAST16): Likewise.
31562 [C99-based-standards] (SCNxLEAST16): Likewise.
31563 [C99-based-standards] (PRIdFAST16): Likewise.
31564 [C99-based-standards] (PRIiFAST16): Likewise.
31565 [C99-based-standards] (PRIoFAST16): Likewise.
31566 [C99-based-standards] (PRIuFAST16): Likewise.
31567 [C99-based-standards] (PRIxFAST16): Likewise.
31568 [C99-based-standards] (PRIXFAST16): Likewise.
31569 [C99-based-standards] (SCNdFAST16): Likewise.
31570 [C99-based-standards] (SCNiFAST16): Likewise.
31571 [C99-based-standards] (SCNoFAST16): Likewise.
31572 [C99-based-standards] (SCNuFAST16): Likewise.
31573 [C99-based-standards] (SCNxFAST16): Likewise.
31574 [C99-based-standards] (PRId32): Likewise.
31575 [C99-based-standards] (PRIi32): Likewise.
31576 [C99-based-standards] (PRIo32): Likewise.
31577 [C99-based-standards] (PRIu32): Likewise.
31578 [C99-based-standards] (PRIx32): Likewise.
31579 [C99-based-standards] (PRIX32): Likewise.
31580 [C99-based-standards] (SCNd32): Likewise.
31581 [C99-based-standards] (SCNi32): Likewise.
31582 [C99-based-standards] (SCNo32): Likewise.
31583 [C99-based-standards] (SCNu32): Likewise.
31584 [C99-based-standards] (SCNx32): Likewise.
31585 [C99-based-standards] (PRIdLEAST32): Likewise.
31586 [C99-based-standards] (PRIiLEAST32): Likewise.
31587 [C99-based-standards] (PRIoLEAST32): Likewise.
31588 [C99-based-standards] (PRIuLEAST32): Likewise.
31589 [C99-based-standards] (PRIxLEAST32): Likewise.
31590 [C99-based-standards] (PRIXLEAST32): Likewise.
31591 [C99-based-standards] (SCNdLEAST32): Likewise.
31592 [C99-based-standards] (SCNiLEAST32): Likewise.
31593 [C99-based-standards] (SCNoLEAST32): Likewise.
31594 [C99-based-standards] (SCNuLEAST32): Likewise.
31595 [C99-based-standards] (SCNxLEAST32): Likewise.
31596 [C99-based-standards] (PRIdFAST32): Likewise.
31597 [C99-based-standards] (PRIiFAST32): Likewise.
31598 [C99-based-standards] (PRIoFAST32): Likewise.
31599 [C99-based-standards] (PRIuFAST32): Likewise.
31600 [C99-based-standards] (PRIxFAST32): Likewise.
31601 [C99-based-standards] (PRIXFAST32): Likewise.
31602 [C99-based-standards] (SCNdFAST32): Likewise.
31603 [C99-based-standards] (SCNiFAST32): Likewise.
31604 [C99-based-standards] (SCNoFAST32): Likewise.
31605 [C99-based-standards] (SCNuFAST32): Likewise.
31606 [C99-based-standards] (SCNxFAST32): Likewise.
31607 [C99-based-standards] (PRId64): Likewise.
31608 [C99-based-standards] (PRIi64): Likewise.
31609 [C99-based-standards] (PRIo64): Likewise.
31610 [C99-based-standards] (PRIu64): Likewise.
31611 [C99-based-standards] (PRIx64): Likewise.
31612 [C99-based-standards] (PRIX64): Likewise.
31613 [C99-based-standards] (SCNd64): Likewise.
31614 [C99-based-standards] (SCNi64): Likewise.
31615 [C99-based-standards] (SCNo64): Likewise.
31616 [C99-based-standards] (SCNu64): Likewise.
31617 [C99-based-standards] (SCNx64): Likewise.
31618 [C99-based-standards] (PRIdLEAST64): Likewise.
31619 [C99-based-standards] (PRIiLEAST64): Likewise.
31620 [C99-based-standards] (PRIoLEAST64): Likewise.
31621 [C99-based-standards] (PRIuLEAST64): Likewise.
31622 [C99-based-standards] (PRIxLEAST64): Likewise.
31623 [C99-based-standards] (PRIXLEAST64): Likewise.
31624 [C99-based-standards] (SCNdLEAST64): Likewise.
31625 [C99-based-standards] (SCNiLEAST64): Likewise.
31626 [C99-based-standards] (SCNoLEAST64): Likewise.
31627 [C99-based-standards] (SCNuLEAST64): Likewise.
31628 [C99-based-standards] (SCNxLEAST64): Likewise.
31629 [C99-based-standards] (PRIdFAST64): Likewise.
31630 [C99-based-standards] (PRIiFAST64): Likewise.
31631 [C99-based-standards] (PRIoFAST64): Likewise.
31632 [C99-based-standards] (PRIuFAST64): Likewise.
31633 [C99-based-standards] (PRIxFAST64): Likewise.
31634 [C99-based-standards] (PRIXFAST64): Likewise.
31635 [C99-based-standards] (SCNdFAST64): Likewise.
31636 [C99-based-standards] (SCNiFAST64): Likewise.
31637 [C99-based-standards] (SCNoFAST64): Likewise.
31638 [C99-based-standards] (SCNuFAST64): Likewise.
31639 [C99-based-standards] (SCNxFAST64): Likewise.
31640 [C99-based-standards] (PRIdMAX): Likewise.
31641 [C99-based-standards] (PRIiMAX): Likewise.
31642 [C99-based-standards] (PRIoMAX): Likewise.
31643 [C99-based-standards] (PRIuMAX): Likewise.
31644 [C99-based-standards] (PRIxMAX): Likewise.
31645 [C99-based-standards] (PRIXMAX): Likewise.
31646 [C99-based-standards] (SCNdMAX): Likewise.
31647 [C99-based-standards] (SCNiMAX): Likewise.
31648 [C99-based-standards] (SCNoMAX): Likewise.
31649 [C99-based-standards] (SCNuMAX): Likewise.
31650 [C99-based-standards] (SCNxMAX): Likewise.
31651 [C99-based-standards] (PRIdPTR): Likewise.
31652 [C99-based-standards] (PRIiPTR): Likewise.
31653 [C99-based-standards] (PRIoPTR): Likewise.
31654 [C99-based-standards] (PRIuPTR): Likewise.
31655 [C99-based-standards] (PRIxPTR): Likewise.
31656 [C99-based-standards] (PRIXPTR): Likewise.
31657 [C99-based-standards] (SCNdPTR): Likewise.
31658 [C99-based-standards] (SCNiPTR): Likewise.
31659 [C99-based-standards] (SCNoPTR): Likewise.
31660 [C99-based-standards] (SCNuPTR): Likewise.
31661 [C99-based-standards] (SCNxPTR): Likewise.
31662 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
31663 allow.
31664 * conform/data/stdint.h-data: Update comments to clarify
31665 requirements.
31666 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
31667 type.
31668 [C99-based standards] (INT8_MAX): Likewise.
31669 [C99-based standards] (INT16_MIN): Likewise.
31670 [C99-based standards] (INT16_MAX): Likewise.
31671 [C99-based standards] (INT32_MIN): Likewise.
31672 [C99-based standards] (INT32_MAX): Likewise.
31673 [C99-based standards] (INT64_MIN): Likewise.
31674 [C99-based standards] (INT64_MAX): Likewise.
31675 [C99-based standards] (UINT8_MAX): Likewise.
31676 [C99-based standards] (UINT16_MAX): Likewise.
31677 [C99-based standards] (UINT32_MAX): Likewise.
31678 [C99-based standards] (UINT64_MAX): Likewise.
31679 [C99-based standards] (INT_LEAST8_MIN): Likewise.
31680 [C99-based standards] (INT_LEAST8_MAX): Likewise.
31681 [C99-based standards] (INT_LEAST16_MIN): Likewise.
31682 [C99-based standards] (INT_LEAST16_MAX): Likewise.
31683 [C99-based standards] (INT_LEAST32_MIN): Likewise.
31684 [C99-based standards] (INT_LEAST32_MAX): Likewise.
31685 [C99-based standards] (INT_LEAST64_MIN): Likewise.
31686 [C99-based standards] (INT_LEAST64_MAX): Likewise.
31687 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
31688 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
31689 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
31690 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
31691 [C99-based standards] (INT_FAST8_MIN): Likewise.
31692 [C99-based standards] (INT_FAST8_MAX): Likewise.
31693 [C99-based standards] (INT_FAST16_MIN): Likewise.
31694 [C99-based standards] (INT_FAST16_MAX): Likewise.
31695 [C99-based standards] (INT_FAST32_MIN): Likewise.
31696 [C99-based standards] (INT_FAST32_MAX): Likewise.
31697 [C99-based standards] (INT_FAST64_MIN): Likewise.
31698 [C99-based standards] (INT_FAST64_MAX): Likewise.
31699 [C99-based standards] (UINT_FAST8_MAX): Likewise.
31700 [C99-based standards] (UINT_FAST16_MAX): Likewise.
31701 [C99-based standards] (UINT_FAST32_MAX): Likewise.
31702 [C99-based standards] (UINT_FAST64_MAX): Likewise.
31703 [C99-based standards] (INTPTR_MIN): Likewise.
31704 [C99-based standards] (INTPTR_MAX): Likewise.
31705 [C99-based standards] (UINTPTR_MAX): Likewise.
31706 [C99-based standards] (INTMAX_MIN): Likewise.
31707 [C99-based standards] (INTMAX_MAX): Likewise.
31708 [C99-based standards] (UINTMAX_MAX): Likewise.
31709 [C99-based standards] (PTRDIFF_MIN): Likewise.
31710 [C99-based standards] (PTRDIFF_MAX): Likewise.
31711 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
31712 [C99-based standards] (SIZE_MAX): Likewise.
31713 [C99-based standards] (WCHAR_MAX): Likewise.
31714 [C99-based standards] (WINT_MAX): Likewise.
31715 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
31716 constraint on value.
31717 [C99-based standards] (WCHAR_MIN): Likewise.
31718 [C99-based standards] (WINT_MIN): Likewise.
31719 [C99-based standards] (*_t): Allow.
31720 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
31721 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
31722 Include math.h-data and complex.h-data. Remove all expectations
31723 of math.h and complex.h contents.
31724 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
31725 at end of line.
31726 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
31727 (struct tm): Expect tag.
31728 [C99-based-standards] (wcstof): Expect function.
31729 [C99-based-standards] (wcstold): Likewise.
31730 [C99-based-standards] (wcstoll): Likewise.
31731 [C99-based-standards] (wcstoull): Likewise.
31732 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
31733 macro-int-constant. Specify type.
31734 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
31735 constraint on value.
31736 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
31737 Specify type.
31738 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
31739 Specify value.
31740 [ISO C standards]: Do not allow headers.
31741 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
31742 wcs[abcdefghijklmnopqrstuvwxyz]*.
31743 [ISO C standards] (*_t): Do not allow.
31744 * conform/data/wctype.h-data [C99-based standards] (iswblank):
31745 Expect function.
31746 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
31747 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
31748 Specify type.
31749 [ISO C standards]: Do not allow headers.
31750 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
31751 is[abcdefghijklmnopqrstuvwxyz]*.
31752 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
31753 to[abcdefghijklmnopqrstuvwxyz]*.
31754 [ISO C standards] (*_t): Do not allow.
31755 * conform/data/stdalign.h-data: New file.
31756 * conform/data/stdbool.h-data: Likewise.
31757 * conform/data/stdnoreturn.h-data: Likewise.
31758
31759 2012-11-07 Roland McGrath <roland@hack.frob.com>
31760
31761 [BZ #14815]
31762 * manual/filesys.texi (Directory Entries): Typo fix.
31763 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
31764
31765 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
31766
31767 * elf/elf.h (EM_AARCH64): New macro.
31768 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
31769 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
31770 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
31771 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
31772 (R_AARCH64_TLSDESC): Likewise.
31773 (NT_ARM_TLS): Likewise.
31774 (NT_ARM_HW_BREAK): Likewise.
31775 (NT_ARM_HW_WATCH): Likewise.
31776
31777 2012-11-07 Joseph Myers <joseph@codesourcery.com>
31778
31779 [BZ #14811]
31780 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
31781 (__ieee754_powl): Saturate nonzero exponents with absolute value
31782 below 0x1p-79 to +/- 0x1p-79.
31783 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
31784 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
31785 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
31786 nonzero exponents with absolute value below 0x1p-32 to +/-
31787 0x1p-32.
31788 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
31789 (__ieee754_powl): Saturate nonzero exponents with absolute value
31790 below 0x1p-79 to +/- 0x1p-79.
31791 * math/libm-test.inc (pow_test): Add more tests.
31792
31793 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31794
31795 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
31796 _dl_s390_cap_flags with kernel. Increase string length.
31797 (_dl_s390_platforms): Add z196 and zEC12.
31798
31799 2012-11-07 Joseph Myers <joseph@codesourcery.com>
31800
31801 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
31802 Change XOPEN21K to XOPEN2K.
31803
31804 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
31805
31806 * string/memmove.c: Use memcpy when possible.
31807
31808 2012-11-06 Andreas Jaeger <aj@suse.de>
31809
31810 * po/eo.po: Update from translation team.
31811
31812 2012-11-06 Joseph Myers <joseph@codesourcery.com>
31813
31814 [BZ #14793]
31815 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
31816 exponent and small x and y exponents, scale x or y up. Increase
31817 by 2 the exponent used in scaling up.
31818 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
31819 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
31820 * math/libm-test.inc (fma_test): Add more tests.
31821 (fma_test_towardzero): Likewise.
31822 (fma_test_downward): Likewise.
31823 (fma_test_upward): Likewise.
31824
31825 2012-11-05 Joseph Myers <joseph@codesourcery.com>
31826
31827 [BZ #14805]
31828 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
31829 fenv_t *.
31830
31831 [BZ #14801]
31832 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
31833 namespace for names of struct fields.
31834 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
31835 fenv_t fields.
31836 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
31837 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
31838
31839 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
31840
31841 [BZ #3665]
31842 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
31843
31844 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
31845
31846 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
31847 PTR_DEMANGLE.
31848
31849 [BZ #5246]
31850 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
31851 PTR_DEMANGLE.
31852
31853 2012-11-04 Joseph Myers <joseph@codesourcery.com>
31854
31855 [BZ #14797]
31856 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
31857 definitely overflow as x * y not x * y + z.
31858 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
31859 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
31860 * math/libm-test.inc (fma_test): Add more tests.
31861 (fma_test_towardzero): Likewise.
31862 (fma_test_downward): Likewise.
31863 (fma_test_upward): Likewise.
31864
31865 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
31866
31867 [BZ #157]
31868
31869 * include/stub-tag.h: Remove file.
31870 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
31871 '#include' of it.
31872 * manual/maint.texi (Porting): Don't reference it.
31873 * Makerules ($(objpfx)stubs): Likewise.
31874 * dirent/closedir.c: Don't include <stub-tag.h>.
31875 * dirent/dirfd.c: Likewise.
31876 * dirent/fdopendir.c: Likewise.
31877 * dirent/getdents.c: Likewise.
31878 * dirent/getdents64.c: Likewise.
31879 * dirent/opendir.c: Likewise.
31880 * dirent/readdir.c: Likewise.
31881 * dirent/readdir64.c: Likewise.
31882 * dirent/readdir64_r.c: Likewise.
31883 * dirent/readdir_r.c: Likewise.
31884 * dirent/rewinddir.c: Likewise.
31885 * dirent/seekdir.c: Likewise.
31886 * dirent/telldir.c: Likewise.
31887 * gmon/profil.c: Likewise.
31888 * grp/setgroups.c: Likewise.
31889 * inet/if_index.c: Likewise.
31890 * io/access.c: Likewise.
31891 * io/chdir.c: Likewise.
31892 * io/chmod.c: Likewise.
31893 * io/chown.c: Likewise.
31894 * io/close.c: Likewise.
31895 * io/dup.c: Likewise.
31896 * io/dup2.c: Likewise.
31897 * io/dup3.c: Likewise.
31898 * io/euidaccess.c: Likewise.
31899 * io/faccessat.c: Likewise.
31900 * io/fchdir.c: Likewise.
31901 * io/fchmod.c: Likewise.
31902 * io/fchmodat.c: Likewise.
31903 * io/fchown.c: Likewise.
31904 * io/fchownat.c: Likewise.
31905 * io/fcntl.c: Likewise.
31906 * io/flock.c: Likewise.
31907 * io/fstatfs.c: Likewise.
31908 * io/fstatfs64.c: Likewise.
31909 * io/fstatvfs.c: Likewise.
31910 * io/fstatvfs64.c: Likewise.
31911 * io/futimens.c: Likewise.
31912 * io/fxstat.c: Likewise.
31913 * io/fxstat64.c: Likewise.
31914 * io/fxstatat.c: Likewise.
31915 * io/fxstatat64.c: Likewise.
31916 * io/getcwd.c: Likewise.
31917 * io/isatty.c: Likewise.
31918 * io/lchmod.c: Likewise.
31919 * io/lchown.c: Likewise.
31920 * io/link.c: Likewise.
31921 * io/linkat.c: Likewise.
31922 * io/lseek.c: Likewise.
31923 * io/lseek64.c: Likewise.
31924 * io/lxstat64.c: Likewise.
31925 * io/mkdir.c: Likewise.
31926 * io/mkdirat.c: Likewise.
31927 * io/mkfifo.c: Likewise.
31928 * io/mkfifoat.c: Likewise.
31929 * io/open.c: Likewise.
31930 * io/open64.c: Likewise.
31931 * io/openat.c: Likewise.
31932 * io/openat64.c: Likewise.
31933 * io/pipe.c: Likewise.
31934 * io/pipe2.c: Likewise.
31935 * io/poll.c: Likewise.
31936 * io/posix_fadvise.c: Likewise.
31937 * io/posix_fadvise64.c: Likewise.
31938 * io/posix_fallocate.c: Likewise.
31939 * io/posix_fallocate64.c: Likewise.
31940 * io/read.c: Likewise.
31941 * io/readlink.c: Likewise.
31942 * io/readlinkat.c: Likewise.
31943 * io/rmdir.c: Likewise.
31944 * io/sendfile.c: Likewise.
31945 * io/sendfile64.c: Likewise.
31946 * io/statfs.c: Likewise.
31947 * io/statfs64.c: Likewise.
31948 * io/statvfs.c: Likewise.
31949 * io/statvfs64.c: Likewise.
31950 * io/symlink.c: Likewise.
31951 * io/symlinkat.c: Likewise.
31952 * io/ttyname.c: Likewise.
31953 * io/ttyname_r.c: Likewise.
31954 * io/umask.c: Likewise.
31955 * io/unlink.c: Likewise.
31956 * io/unlinkat.c: Likewise.
31957 * io/utime.c: Likewise.
31958 * io/utimensat.c: Likewise.
31959 * io/write.c: Likewise.
31960 * io/xmknod.c: Likewise.
31961 * io/xmknodat.c: Likewise.
31962 * io/xstat.c: Likewise.
31963 * io/xstat64.c: Likewise.
31964 * login/getpt.c: Likewise.
31965 * login/grantpt.c: Likewise.
31966 * login/unlockpt.c: Likewise.
31967 * math/e_acoshl.c: Likewise.
31968 * math/e_acosl.c: Likewise.
31969 * math/e_asinl.c: Likewise.
31970 * math/e_atan2l.c: Likewise.
31971 * math/e_atanhl.c: Likewise.
31972 * math/e_coshl.c: Likewise.
31973 * math/e_expl.c: Likewise.
31974 * math/e_fmodl.c: Likewise.
31975 * math/e_gammal_r.c: Likewise.
31976 * math/e_hypotl.c: Likewise.
31977 * math/e_j0l.c: Likewise.
31978 * math/e_j1l.c: Likewise.
31979 * math/e_jnl.c: Likewise.
31980 * math/e_lgammal_r.c: Likewise.
31981 * math/e_log10l.c: Likewise.
31982 * math/e_log2l.c: Likewise.
31983 * math/e_logl.c: Likewise.
31984 * math/e_powl.c: Likewise.
31985 * math/e_rem_pio2l.c: Likewise.
31986 * math/e_sinhl.c: Likewise.
31987 * math/e_sqrtl.c: Likewise.
31988 * math/fclrexcpt.c: Likewise.
31989 * math/fedisblxcpt.c: Likewise.
31990 * math/feenablxcpt.c: Likewise.
31991 * math/fegetenv.c: Likewise.
31992 * math/fegetexcept.c: Likewise.
31993 * math/fegetround.c: Likewise.
31994 * math/feholdexcpt.c: Likewise.
31995 * math/fesetenv.c: Likewise.
31996 * math/fesetround.c: Likewise.
31997 * math/feupdateenv.c: Likewise.
31998 * math/fgetexcptflg.c: Likewise.
31999 * math/fraiseexcpt.c: Likewise.
32000 * math/fsetexcptflg.c: Likewise.
32001 * math/ftestexcept.c: Likewise.
32002 * math/k_cosl.c: Likewise.
32003 * math/k_rem_pio2l.c: Likewise.
32004 * math/k_sinl.c: Likewise.
32005 * math/k_tanl.c: Likewise.
32006 * math/s_asinhl.c: Likewise.
32007 * math/s_atanl.c: Likewise.
32008 * math/s_cbrtl.c: Likewise.
32009 * math/s_erfl.c: Likewise.
32010 * math/s_expm1l.c: Likewise.
32011 * math/s_log1pl.c: Likewise.
32012 * math/s_tanhl.c: Likewise.
32013 * misc/acct.c: Likewise.
32014 * misc/brk.c: Likewise.
32015 * misc/chflags.c: Likewise.
32016 * misc/chroot.c: Likewise.
32017 * misc/fchflags.c: Likewise.
32018 * misc/fgetxattr.c: Likewise.
32019 * misc/flistxattr.c: Likewise.
32020 * misc/fremovexattr.c: Likewise.
32021 * misc/fsetxattr.c: Likewise.
32022 * misc/fsync.c: Likewise.
32023 * misc/ftruncate.c: Likewise.
32024 * misc/futimes.c: Likewise.
32025 * misc/futimesat.c: Likewise.
32026 * misc/getdomain.c: Likewise.
32027 * misc/getdtsz.c: Likewise.
32028 * misc/gethostid.c: Likewise.
32029 * misc/gethostname.c: Likewise.
32030 * misc/getloadavg.c: Likewise.
32031 * misc/getpagesize.c: Likewise.
32032 * misc/getsysstats.c: Likewise.
32033 * misc/getxattr.c: Likewise.
32034 * misc/gtty.c: Likewise.
32035 * misc/ioctl.c: Likewise.
32036 * misc/lgetxattr.c: Likewise.
32037 * misc/listxattr.c: Likewise.
32038 * misc/llistxattr.c: Likewise.
32039 * misc/lremovexattr.c: Likewise.
32040 * misc/lsetxattr.c: Likewise.
32041 * misc/lutimes.c: Likewise.
32042 * misc/madvise.c: Likewise.
32043 * misc/mincore.c: Likewise.
32044 * misc/mlock.c: Likewise.
32045 * misc/mlockall.c: Likewise.
32046 * misc/mmap.c: Likewise.
32047 * misc/mprotect.c: Likewise.
32048 * misc/msync.c: Likewise.
32049 * misc/munlock.c: Likewise.
32050 * misc/munlockall.c: Likewise.
32051 * misc/munmap.c: Likewise.
32052 * misc/preadv.c: Likewise.
32053 * misc/preadv64.c: Likewise.
32054 * misc/ptrace.c: Likewise.
32055 * misc/pwritev.c: Likewise.
32056 * misc/pwritev64.c: Likewise.
32057 * misc/readv.c: Likewise.
32058 * misc/reboot.c: Likewise.
32059 * misc/remap_file_pages.c: Likewise.
32060 * misc/removexattr.c: Likewise.
32061 * misc/revoke.c: Likewise.
32062 * misc/select.c: Likewise.
32063 * misc/setdomain.c: Likewise.
32064 * misc/setegid.c: Likewise.
32065 * misc/seteuid.c: Likewise.
32066 * misc/sethostid.c: Likewise.
32067 * misc/sethostname.c: Likewise.
32068 * misc/setregid.c: Likewise.
32069 * misc/setreuid.c: Likewise.
32070 * misc/setxattr.c: Likewise.
32071 * misc/sstk.c: Likewise.
32072 * misc/stty.c: Likewise.
32073 * misc/swapoff.c: Likewise.
32074 * misc/swapon.c: Likewise.
32075 * misc/sync.c: Likewise.
32076 * misc/syncfs.c: Likewise.
32077 * misc/syscall.c: Likewise.
32078 * misc/truncate.c: Likewise.
32079 * misc/ualarm.c: Likewise.
32080 * misc/usleep.c: Likewise.
32081 * misc/ustat.c: Likewise.
32082 * misc/utimes.c: Likewise.
32083 * misc/vhangup.c: Likewise.
32084 * misc/writev.c: Likewise.
32085 * posix/_exit.c: Likewise.
32086 * posix/alarm.c: Likewise.
32087 * posix/execve.c: Likewise.
32088 * posix/fexecve.c: Likewise.
32089 * posix/fork.c: Likewise.
32090 * posix/fpathconf.c: Likewise.
32091 * posix/getaddrinfo.c: Likewise.
32092 * posix/getegid.c: Likewise.
32093 * posix/geteuid.c: Likewise.
32094 * posix/getgid.c: Likewise.
32095 * posix/getgroups.c: Likewise.
32096 * posix/getlogin.c: Likewise.
32097 * posix/getlogin_r.c: Likewise.
32098 * posix/getpgid.c: Likewise.
32099 * posix/getpid.c: Likewise.
32100 * posix/getppid.c: Likewise.
32101 * posix/getresgid.c: Likewise.
32102 * posix/getresuid.c: Likewise.
32103 * posix/getsid.c: Likewise.
32104 * posix/getuid.c: Likewise.
32105 * posix/glob64.c: Likewise.
32106 * posix/nanosleep.c: Likewise.
32107 * posix/pathconf.c: Likewise.
32108 * posix/pause.c: Likewise.
32109 * posix/posix_madvise.c: Likewise.
32110 * posix/pread.c: Likewise.
32111 * posix/pread64.c: Likewise.
32112 * posix/pwrite.c: Likewise.
32113 * posix/pwrite64.c: Likewise.
32114 * posix/sched_getaffinity.c: Likewise.
32115 * posix/sched_getp.c: Likewise.
32116 * posix/sched_gets.c: Likewise.
32117 * posix/sched_primax.c: Likewise.
32118 * posix/sched_primin.c: Likewise.
32119 * posix/sched_rr_gi.c: Likewise.
32120 * posix/sched_setaffinity.c: Likewise.
32121 * posix/sched_setp.c: Likewise.
32122 * posix/sched_sets.c: Likewise.
32123 * posix/sched_yield.c: Likewise.
32124 * posix/setgid.c: Likewise.
32125 * posix/setlogin.c: Likewise.
32126 * posix/setpgid.c: Likewise.
32127 * posix/setresgid.c: Likewise.
32128 * posix/setresuid.c: Likewise.
32129 * posix/setsid.c: Likewise.
32130 * posix/setuid.c: Likewise.
32131 * posix/sleep.c: Likewise.
32132 * posix/spawni.c: Likewise.
32133 * posix/sysconf.c: Likewise.
32134 * posix/times.c: Likewise.
32135 * posix/wait.c: Likewise.
32136 * posix/wait3.c: Likewise.
32137 * posix/wait4.c: Likewise.
32138 * posix/waitpid.c: Likewise.
32139 * resolv/gai_sigqueue.c: Likewise.
32140 * resource/getpriority.c: Likewise.
32141 * resource/getrlimit.c: Likewise.
32142 * resource/getrusage.c: Likewise.
32143 * resource/nice.c: Likewise.
32144 * resource/setpriority.c: Likewise.
32145 * resource/setrlimit.c: Likewise.
32146 * resource/ulimit.c: Likewise.
32147 * rt/aio_cancel.c: Likewise.
32148 * rt/aio_fsync.c: Likewise.
32149 * rt/aio_read.c: Likewise.
32150 * rt/aio_sigqueue.c: Likewise.
32151 * rt/aio_suspend.c: Likewise.
32152 * rt/aio_write.c: Likewise.
32153 * rt/clock_getres.c: Likewise.
32154 * rt/clock_gettime.c: Likewise.
32155 * rt/clock_nanosleep.c: Likewise.
32156 * rt/clock_settime.c: Likewise.
32157 * rt/lio_listio.c: Likewise.
32158 * rt/mq_close.c: Likewise.
32159 * rt/mq_getattr.c: Likewise.
32160 * rt/mq_notify.c: Likewise.
32161 * rt/mq_open.c: Likewise.
32162 * rt/mq_receive.c: Likewise.
32163 * rt/mq_send.c: Likewise.
32164 * rt/mq_setattr.c: Likewise.
32165 * rt/mq_timedreceive.c: Likewise.
32166 * rt/mq_timedsend.c: Likewise.
32167 * rt/mq_unlink.c: Likewise.
32168 * rt/shm_open.c: Likewise.
32169 * rt/shm_unlink.c: Likewise.
32170 * rt/timer_create.c: Likewise.
32171 * rt/timer_delete.c: Likewise.
32172 * rt/timer_getoverr.c: Likewise.
32173 * rt/timer_gettime.c: Likewise.
32174 * rt/timer_settime.c: Likewise.
32175 * setjmp/__longjmp.c: Likewise.
32176 * setjmp/setjmp.c: Likewise.
32177 * signal/kill.c: Likewise.
32178 * signal/killpg.c: Likewise.
32179 * signal/raise.c: Likewise.
32180 * signal/sigaction.c: Likewise.
32181 * signal/sigaltstack.c: Likewise.
32182 * signal/sigblock.c: Likewise.
32183 * signal/sigignore.c: Likewise.
32184 * signal/sigintr.c: Likewise.
32185 * signal/signal.c: Likewise.
32186 * signal/sigpause.c: Likewise.
32187 * signal/sigpending.c: Likewise.
32188 * signal/sigqueue.c: Likewise.
32189 * signal/sigreturn.c: Likewise.
32190 * signal/sigset.c: Likewise.
32191 * signal/sigsetmask.c: Likewise.
32192 * signal/sigstack.c: Likewise.
32193 * signal/sigsuspend.c: Likewise.
32194 * signal/sigtimedwait.c: Likewise.
32195 * signal/sigvec.c: Likewise.
32196 * signal/sigwait.c: Likewise.
32197 * signal/sigwaitinfo.c: Likewise.
32198 * signal/sysv_signal.c: Likewise.
32199 * socket/accept.c: Likewise.
32200 * socket/accept4.c: Likewise.
32201 * socket/bind.c: Likewise.
32202 * socket/connect.c: Likewise.
32203 * socket/getpeername.c: Likewise.
32204 * socket/getsockname.c: Likewise.
32205 * socket/getsockopt.c: Likewise.
32206 * socket/isfdtype.c: Likewise.
32207 * socket/listen.c: Likewise.
32208 * socket/recv.c: Likewise.
32209 * socket/recvfrom.c: Likewise.
32210 * socket/recvmsg.c: Likewise.
32211 * socket/send.c: Likewise.
32212 * socket/sendmsg.c: Likewise.
32213 * socket/sendto.c: Likewise.
32214 * socket/setsockopt.c: Likewise.
32215 * socket/shutdown.c: Likewise.
32216 * socket/sockatmark.c: Likewise.
32217 * socket/socket.c: Likewise.
32218 * socket/socketpair.c: Likewise.
32219 * stdio-common/ctermid.c: Likewise.
32220 * stdio-common/cuserid.c: Likewise.
32221 * stdio-common/remove.c: Likewise.
32222 * stdio-common/rename.c: Likewise.
32223 * stdio-common/renameat.c: Likewise.
32224 * stdio-common/tempname.c: Likewise.
32225 * stdlib/getcontext.c: Likewise.
32226 * stdlib/makecontext.c: Likewise.
32227 * stdlib/setcontext.c: Likewise.
32228 * stdlib/swapcontext.c: Likewise.
32229 * stdlib/system.c: Likewise.
32230 * streams/fattach.c: Likewise.
32231 * streams/fdetach.c: Likewise.
32232 * streams/getmsg.c: Likewise.
32233 * streams/getpmsg.c: Likewise.
32234 * streams/putmsg.c: Likewise.
32235 * streams/putpmsg.c: Likewise.
32236 * sysdeps/unix/bsd/getpt.c: Likewise.
32237 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
32238 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
32239 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
32240 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
32241 Likewise.
32242 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
32243 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
32244 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
32245 * sysvipc/msgctl.c: Likewise.
32246 * sysvipc/msgget.c: Likewise.
32247 * sysvipc/msgrcv.c: Likewise.
32248 * sysvipc/msgsnd.c: Likewise.
32249 * sysvipc/semctl.c: Likewise.
32250 * sysvipc/semget.c: Likewise.
32251 * sysvipc/semop.c: Likewise.
32252 * sysvipc/semtimedop.c: Likewise.
32253 * sysvipc/shmat.c: Likewise.
32254 * sysvipc/shmctl.c: Likewise.
32255 * sysvipc/shmdt.c: Likewise.
32256 * sysvipc/shmget.c: Likewise.
32257 * termios/tcdrain.c: Likewise.
32258 * termios/tcflow.c: Likewise.
32259 * termios/tcflush.c: Likewise.
32260 * termios/tcgetattr.c: Likewise.
32261 * termios/tcgetpgrp.c: Likewise.
32262 * termios/tcsendbrk.c: Likewise.
32263 * termios/tcsetattr.c: Likewise.
32264 * termios/tcsetpgrp.c: Likewise.
32265 * time/adjtime.c: Likewise.
32266 * time/clock.c: Likewise.
32267 * time/getitimer.c: Likewise.
32268 * time/gettimeofday.c: Likewise.
32269 * time/setitimer.c: Likewise.
32270 * time/settimeofday.c: Likewise.
32271 * time/stime.c: Likewise.
32272 * time/time.c: Likewise.
32273
32274 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
32275
32276 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
32277 /usr/old/bin.
32278
32279 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
32280 instead of spaces.
32281 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
32282
32283 2012-11-03 Joseph Myers <joseph@codesourcery.com>
32284
32285 [BZ #14796]
32286 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
32287 FE_TONEAREST before applying Dekker multiplication and Knuth
32288 addition. Clear inexact exceptions and check for exact zero
32289 results afterwards.
32290 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
32291 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
32292 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
32293 * math/libm-test.inc (fma_test): Add more tests.
32294 (fma_test_towardzero): Likewise.
32295 (fma_test_downward): Likewise.
32296 (fma_test_upward): Likewise.
32297 * sysdeps/generic/math_private.h (default_libc_fesetround): New
32298 function.
32299 (libc_fesetround): New macro.
32300 (libc_fesetroundf): Likewise.
32301 (libc_fesetroundl): Likewise.
32302 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
32303 function.
32304 (libc_fesetround_387): Likewise.
32305 (libc_fesetroundf): New macro.
32306 (libc_fesetround): Likewise.
32307 (libc_fesetroundl): Likewise.
32308 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
32309 function.
32310 (libc_fesetroundf): New macro.
32311 (libc_fesetround): Likewise.
32312 (libc_fesetroundl): Likewise.
32313 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
32314 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
32315 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
32316 libm_hidden_ver.
32317 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
32318 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
32319 libm_hidden_def.
32320 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
32321 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
32322 libm_hidden_ver.
32323 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
32324 libm_hidden_def.
32325
32326 [BZ #3439]
32327 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
32328 integer constant usable in #if and use that to give value to enum
32329 constant.
32330 (FE_DIVBYZERO): Likewise.
32331 (FE_UNDERFLOW): Likewise.
32332 (FE_OVERFLOW): Likewise.
32333 (FE_INVALID): Likewise.
32334 (FE_INVALID_SNAN): Likewise.
32335 (FE_INVALID_ISI): Likewise.
32336 (FE_INVALID_IDI): Likewise.
32337 (FE_INVALID_ZDZ): Likewise.
32338 (FE_INVALID_IMZ): Likewise.
32339 (FE_INVALID_COMPARE): Likewise.
32340 (FE_INVALID_SOFTWARE): Likewise.
32341 (FE_INVALID_SQRT): Likewise.
32342 (FE_INVALID_INTEGER_CONVERSION): Likewise.
32343 (FE_TONEAREST): Likewise.
32344 (FE_TOWARDZERO): Likewise.
32345 (FE_UPWARD): Likewise.
32346 (FE_DOWNWARD): Likewise.
32347 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
32348 (FE_DIVBYZERO): Likewise.
32349 (FE_OVERFLOW): Likewise.
32350 (FE_UNDERFLOW): Likewise.
32351 (FE_INEXACT): Likewise.
32352 (FE_TONEAREST): Likewise.
32353 (FE_DOWNWARD): Likewise.
32354 (FE_UPWARD): Likewise.
32355 (FE_TOWARDZERO): Likewise.
32356 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
32357 (FE_UNDERFLOW): Likewise.
32358 (FE_OVERFLOW): Likewise.
32359 (FE_DIVBYZERO): Likewise.
32360 (FE_INVALID): Likewise.
32361 (FE_TONEAREST): Likewise.
32362 (FE_TOWARDZERO): Likewise.
32363 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
32364 (FE_OVERFLOW): Likewise.
32365 (FE_UNDERFLOW): Likewise.
32366 (FE_DIVBYZERO): Likewise.
32367 (FE_INEXACT): Likewise.
32368 (FE_TONEAREST): Likewise.
32369 (FE_TOWARDZERO): Likewise.
32370 (FE_UPWARD): Likewise.
32371 (FE_DOWNWARD): Likewise.
32372 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
32373 (FE_DIVBYZERO): Likewise.
32374 (FE_OVERFLOW): Likewise.
32375 (FE_UNDERFLOW): Likewise.
32376 (FE_INEXACT): Likewise.
32377 (FE_TONEAREST): Likewise.
32378 (FE_DOWNWARD): Likewise.
32379 (FE_UPWARD): Likewise.
32380 (FE_TOWARDZERO): Likewise.
32381
32382 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
32383
32384 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
32385
32386 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
32387
32388 * scripts/cross-test-ssh.sh (command): Use newlines to separate
32389 commands. Quote $PWD.
32390 (blacklist_exports): Don't use remove_newlines. Replace "declare
32391 -x" by "export".
32392 (remove_newlines): Remove.
32393
32394 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
32395
32396 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
32397 * stdlib/stdlib.h (atof): Moved to ...
32398 * include/bits/stdlib-float.h: Here. New file.
32399 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
32400 * stdlib/bits/stdlib-float.h: New file.
32401 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
32402 -mno-sse -mno-mmx.
32403 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
32404 <xmmintrin.h>.
32405
32406 2012-11-02 Joseph Myers <joseph@codesourcery.com>
32407
32408 * conform/conformtest.pl (@headers): Add fenv.h.
32409 * conform/data/fenv.h-data: New file.
32410 * include/fenv.h [_ISOMAC]: Disable all contents of file except
32411 include of <math/fenv.h>.
32412
32413 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
32414 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
32415 && !UNIX98]. Enables tests for XOPEN2K8.
32416 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
32417 POSIX2008]: Likewise.
32418
32419 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
32420 (struct rusage): Do not expect type or its members.
32421
32422 [BZ #3439]
32423 * math/math.h (FP_NAN): Define macro to integer constant usable in
32424 #if and use that to give value to enum constant.
32425 (FP_INFINITE): Likewise.
32426 (FP_ZERO): Likewise.
32427 (FP_SUBNORMAL): Likewise.
32428 (FP_NORMAL): Likewise.
32429
32430 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
32431
32432 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
32433 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
32434 arguments.
32435
32436 2012-11-02 Roland McGrath <roland@hack.frob.com>
32437
32438 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
32439 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
32440 autoconf-time if not.
32441 * configure.in: Remove AC_PREREQ.
32442
32443 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
32444
32445 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
32446 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
32447 of the internal implementation.
32448
32449 2012-11-02 Joseph Myers <joseph@codesourcery.com>
32450
32451 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
32452 except include of <misc/sys/syslog.h>.
32453
32454 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
32455
32456 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
32457 function returns with a NULL context exit with zero.
32458
32459 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
32460
32461 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
32462
32463 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
32464
32465 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
32466 (run_program_cmd): This.
32467 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
32468 (tst_langinfo): New variable. Use it.
32469
32470 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
32471
32472 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
32473 floating point opcodes.
32474
32475 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
32476
32477 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
32478 variable.
32479
32480 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
32481
32482 * sysdeps/mach/hurd/powerpc: Remove directory.
32483 * sysdeps/mach/powerpc: Likewise.
32484
32485 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
32486
32487 * scripts/check-local-headers.sh: Ignore c++ headers.
32488
32489 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
32490
32491 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
32492 __libc_cleanup_region_start argument.
32493
32494 2012-11-01 Joseph Myers <joseph@codesourcery.com>
32495
32496 [BZ #14784]
32497 [BZ #14785]
32498 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
32499 x * y using scaling, not as x * y + z.
32500 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
32501 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
32502 * math/libm-test.inc (fma_test): Add more tests.
32503 (fma_test_towardzero): Likewise.
32504 (fma_test_downward): Likewise.
32505 (fma_test_upward): Likewise.
32506
32507 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
32508
32509 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
32510
32511 2012-10-31 Joseph Myers <joseph@codesourcery.com>
32512
32513 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
32514 New variable.
32515
32516 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
32517
32518 * rt/tst-shm.c (worker): Correct checking for mmap failure.
32519
32520 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
32521
32522 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
32523 Fix sort order.
32524 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
32525 Likewise.
32526
32527 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
32528
32529 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
32530 Fix the order of the list for glibc 2.17.
32531 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
32532 Likewise.
32533
32534 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
32535
32536 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32537
32538 2012-10-31 Joseph Myers <joseph@codesourcery.com>
32539
32540 [BZ #14610]
32541 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
32542 for low part of x being zero before using __atanl (y).
32543 * math/libm-test.inc (atan2_test): Add another test.
32544
32545 * manual/install.texi (Configuring and compiling): Document
32546 general use of test-wrapper and test-wrapper-env.
32547 * INSTALL: Regenerated.
32548
32549 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
32550 (__fma): Do not extract and scale down low bits on after-rounding
32551 systems when result rounded to normal precision would have normal
32552 exponent.
32553 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
32554 (__fmal): Do not extract and scale down low bits on after-rounding
32555 systems when result rounded to normal precision would have normal
32556 exponent.
32557 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
32558 (__fmal): Do not extract and scale down low bits on after-rounding
32559 systems when result rounded to normal precision would have normal
32560 exponent.
32561 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
32562 macro.
32563 (fma_test): Add more tests.
32564 (fma_test_towardzero): Likewise.
32565 (fma_test_downward): Likewise.
32566 (fma_test_upward): Likewise.
32567
32568 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
32569
32570 * sysdeps/i386/tininess.h: Renamed to ...
32571 * sysdeps/x86/tininess.h: This.
32572 * sysdeps/x86_64/tininess.h: Removed.
32573
32574 2012-10-30 Joseph Myers <joseph@codesourcery.com>
32575
32576 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
32577 input. Use $(build-program-cmd).
32578 ($(objpfx)tst-array1-static.out): Likewise.
32579 ($(objpfx)tst-array2.out): Likewise.
32580 ($(objpfx)tst-array3.out): Likewise.
32581 ($(objpfx)tst-array4.out): Likewise.
32582 ($(objpfx)tst-array5.out): Likewise.
32583 ($(objpfx)tst-array5-static.out): Likewise.
32584
32585 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
32586
32587 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
32588 if defined.
32589
32590 * nss/nsswitch.h (nss_interface_function): Provide new
32591 macro for use with NSS functions.
32592 * grp/initgroups.c: Use new macro.
32593 * nss/getXXbyYY.c: Likewise.
32594 * nss/getXXbyYY_r.c: Likewise.
32595 * nss/getXXent.c: Likewise.
32596 * nss/getXXent_r.c: Likewise.
32597 * sysdeps/posix/getaddrinfo.c: Likewise.
32598
32599 2012-10-30 Andreas Jaeger <aj@suse.de>
32600
32601 * po/ru.po: Update Russion translation from translation project.
32602
32603 2012-10-30 Joseph Myers <joseph@codesourcery.com>
32604
32605 [BZ #14152]
32606 [BZ #14783]
32607 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
32608 result and shift together with sticky bit instead of replicating
32609 round-to-nearest rounding.
32610 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
32611 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
32612 * math/libm-test.inc (fma_test): Add more tests. Do not permit
32613 missing underflow exceptions.
32614 (fma_test_towardzero): Add more tests.
32615 (fma_test_downward): Likewise.
32616 (fma_test_upward): Likewise.
32617
32618 [BZ #14047]
32619 * sysdeps/generic/tininess.h: New file.
32620 * sysdeps/i386/tininess.h: Likewise.
32621 * sysdeps/sh/tininess.h: Likewise.
32622 * sysdeps/x86_64/tininess.h: Likewise.
32623 * stdlib/tst-strtod-underflow.c: Likewise.
32624 * stdlib/tst-tininess.c: Likewise.
32625 * stdlib/strtod_l.c: Include <tininess.h>.
32626 (round_and_return): Do not set errno for exact underflow cases.
32627 Force an underflow exception when setting errno for underflow.
32628 Determine underflow based on rounding to normal precision if
32629 TININESS_AFTER_ROUNDING.
32630 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
32631 ERANGE for exact underflow cases.
32632 * stdlib/Makefile (tests): Add tst-tininess and
32633 tst-strtod-underflow.
32634 ($(objpfx)tst-tininess): Use $(link-libm).
32635 ($(objpfx)tst-strtod-underflow): Likewise.
32636
32637 2012-10-30 Andreas Jaeger <aj@suse.de>
32638
32639 [BZ#14767]
32640 * elf/Makefile (tests): Remove conditional for have-initfini-array
32641 since this is now always required and the variable does not exist
32642 anymore.
32643 (tests-static): Likewise.
32644 (modules-names): Likewise.
32645
32646 * po/eo.po: Add Esperanto translation from translation project.
32647
32648 * elf/tst-array1.c (fini_array): Make writeable so that it can be
32649 merged with constructor/destructor.
32650 (init_array): Likewise.
32651 * elf/tst-array2dep.c (fini_array): Likewise.
32652 (init_array): Likewise.
32653
32654 2012-10-29 Mike Frysinger <vapier@gentoo.org>
32655
32656 * manual/message.texi: Delete @cartouche tags.
32657
32658 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
32659
32660 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
32661 EOPNOTSUPP.
32662 * sysdeps/mach/hurd/fsync.c: Likewise.
32663
32664 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
32665 [_POSIX_REALTIME_SIGNALS]: Change condition to
32666 [_POSIX_REALTIME_SIGNALS > 0].
32667
32668 2012-10-27 Andreas Jaeger <aj@suse.de>
32669
32670 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
32671 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
32672 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
32673 [__WORDSIZE != 64]: Likewise.
32674
32675 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
32676
32677 * iconvdata/tst-table.sh: Remove ${SHELL}.
32678 * iconvdata/tst-tables.sh: Likewise.
32679
32680 2012-10-25 David S. Miller <davem@davemloft.net>
32681
32682 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
32683 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
32684 of strtoull.
32685
32686 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
32687 ifunc-impl-list.c
32688 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
32689 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
32690 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
32691 file.
32692
32693 2012-10-25 Roland McGrath <roland@hack.frob.com>
32694
32695 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
32696 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
32697 __getdirentries.
32698
32699 2012-10-25 Joseph Myers <joseph@codesourcery.com>
32700 Jim Blandy <jimb@codesourcery.com>
32701
32702 * scripts/cross-test-ssh.sh: New file.
32703 * manual/install.texi (Configuring and compiling): Document use of
32704 cross-test-ssh.sh.
32705 * INSTALL: Regenerated.
32706
32707 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
32708
32709 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
32710 EOPNOTSUPP.
32711
32712 2012-10-25 Joseph Myers <joseph@codesourcery.com>
32713
32714 * Makeconfig (run-program-prefix): Fix comment.
32715
32716 2012-10-24 Joseph Myers <joseph@codesourcery.com>
32717 Jim Blandy <jimb@codesourcery.com>
32718
32719 * Makeconfig (test-wrapper): New variable,
32720 (test-wrapper-env): Likewise.
32721 [$(cross-compiling) = yes && $(test-wrapper) != ""]
32722 (run-built-tests): Define to yes.
32723 (run-program-prefix): Use $(test-wrapper).
32724 (built-program-cmd): Likewise.
32725 * Rules (make-test-out): Use $(test-wrapper-env) and
32726 $(host-built-program-cmd).
32727 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
32728 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
32729 tst-pathopt.sh.
32730 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
32731 $(test-wrapper-env) to tst-rtld-load-self.sh.
32732 ($(objpfx)order2.out): Use $(test-wrapper).
32733 ($(objpfx)tst-initorder.out): Likewise.
32734 ($(objpfx)tst-initorder2.out): Likewise.
32735 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
32736 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
32737 (test_wrapper_env): New variable. Use it to run ld.so.
32738 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
32739 Use it to run ld.so.
32740 (test_wrapper_env): Likewise.
32741 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
32742 $(test-wrapper) to run-iconv-test.sh.
32743 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
32744 (ICONV): Use $test_wrapper.
32745 * posix/Makefile ($(objpfx)globtest.out): Pass
32746 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
32747 globtest.sh, not $(run-program-prefix).
32748 * posix/globtest.sh (run_via_rtld_prefix): New variable.
32749 (test_wrapper): Likewise.
32750 (test_wrapper_env): Likewise. Use it to run globtest with HOME
32751 set together with run_via_rtld_prefix.
32752 (run_program_prefix): Define in terms of test_wrapper and
32753 run_via_rtld_prefix.
32754
32755 2012-10-24 Roland McGrath <roland@hack.frob.com>
32756
32757 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
32758 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
32759 Targets removed.
32760
32761 [BZ #14743]
32762 * include/time.h: Remove librt_hidden_proto (clock_gettime).
32763 Declare __clock_getres, __clock_gettime, __clock_settime,
32764 __clock_nanosleep, and __clock_getcpuclockid.
32765 * rt/clock_gettime.c: Define __clock_gettime as an alias.
32766 Remove librt_hidden_def (clock_gettime).
32767 * sysdeps/unix/clock_gettime.c: Likewise.
32768 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
32769 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
32770 * rt/clock_getres.c: Define __clock_getres as an alias.
32771 * sysdeps/posix/clock_getres.c: Likewise.
32772 * rt/clock_settime.c: Define __clock_settime as an alias.
32773 * sysdeps/unix/clock_settime.c: Likewise.
32774 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
32775 * sysdeps/unix/clock_nanosleep.c: Likewise.
32776 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
32777 * rt/clock-compat.c: New file.
32778 * rt/Makefile (librt-routines): Add clock-compat and move
32779 $(clock-routines) to ...
32780 (routines): ... here, new variable.
32781 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
32782 Don't add get_clockfreq here.
32783 * rt/Versions (libc: GLIBC_2.17): New version set.
32784 Add clock_* symbols here.
32785 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
32786 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
32787 (GLIBC_2.17): Add clock_* symbols.
32788 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
32789 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
32790 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
32791 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
32792 Likewise.
32793 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
32794 Likewise.
32795 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
32796 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
32797 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
32798 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
32799 * NEWS: Mention the move.
32800
32801 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
32802 Use __open, __read, __close rather than their public counterparts.
32803 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
32804 (__get_clockfreq_via_cpuinfo): Likewise.
32805 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
32806 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
32807
32808 * config.h.in (HAVE_IFUNC): New #undef.
32809 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
32810 was successful.
32811 * configure: Regenerated.
32812
32813 2012-10-24 Mike Frysinger <vapier@gentoo.org>
32814
32815 * configure.in: Move READELF check to start of file.
32816 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
32817 libc_cv_asm_gnu_indirect_function in the process.
32818 * configure: Regenerated.
32819
32820 2012-10-24 Mike Frysinger <vapier@gentoo.org>
32821
32822 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
32823 send the output to /dev/null.
32824 (libc_cv_cc_with_libunwind): Likewise.
32825 (libc_cv_as_noexecstack): Likewise.
32826 * configure: Regenerate.
32827
32828 2012-10-24 Joseph Myers <joseph@codesourcery.com>
32829
32830 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
32831
32832 * posix/globtest.sh (TMPDIR): Do not set.
32833 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
32834 (testout): Likewise.
32835
32836 2012-10-24 Andreas Jaeger <aj@suse.de>
32837
32838 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
32839 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
32840 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
32841 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
32842 posix_fadvise64, posix_fallocate64.
32843
32844 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
32845 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
32846 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
32847 Likewise.
32848 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
32849 Likewise.
32850 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
32851
32852 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
32853 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
32854 <bits/fcntl-linux.h>.
32855 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
32856
32857 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
32858 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
32859 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
32860 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
32861 [__WORDSIZE != 64]: Likewise.
32862
32863 2012-10-23 Joseph Myers <joseph@codesourcery.com>
32864
32865 * Makeconfig (run-built-tests): New variable.
32866 * Rules [$(cross-compiling) = yes]: Change condition to
32867 [$(run-built-tests) = no].
32868 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
32869 to [$(run-built-tests) = yes].
32870 * elf/Makefile [$(cross-compiling) = no]: Likewise
32871 * grp/Makefile [$(cross-compiling) = no]: Likewise.
32872 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
32873 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
32874 * intl/Makefile [$(cross-compiling) = no]: Likewise.
32875 * io/Makefile [$(cross-compiling) = no]: Likewise.
32876 * libio/Makefile [$(cross-compiling) = no]: Likewise.
32877 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
32878 * misc/Makefile [$(cross-compiling) = no]: Likewise.
32879 * posix/Makefile [$(cross-compiling) = no]: Likewise.
32880 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
32881 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
32882 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
32883 * string/Makefile [$(cross-compiling) = no]: Likewise.
32884
32885 * posix/Makefile ($(objpfx)globtest.out): Pass
32886 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
32887 $(rtld-installed-name).
32888 * posix/globtest.sh (elf_objpfx): Remove variable.
32889 (rtld_installed_name): Likewise.
32890 (library_path): Likewise.
32891 (run_program_prefix): New variable. Use for running globtest
32892 binary.
32893
32894 2012-10-23 Jim Blandy <jimb@codesourcery.com>
32895 Joseph Myers <joseph@codesourcery.com>
32896
32897 * Makeconfig (host-built-program-cmd): New variable.
32898 * elf/Makefile (tst-stackguard1-ARGS): Use
32899 $(host-built-program-cmd).
32900 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
32901 (tst-spawn-ARGS): Likewise.
32902 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
32903
32904 2012-10-23 Joseph Myers <joseph@codesourcery.com>
32905 Jim Blandy <jimb@codesourcery.com>
32906
32907 * Makeconfig (run-via-rtld-prefix): New variable.
32908 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
32909 (built-program-cmd): Likewise.
32910
32911 2012-10-22 Andreas Jaeger <aj@suse.de>
32912
32913 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
32914 __O_RSYNC if it exists, otherwise to O_SYNC.
32915
32916 2012-10-22 Jim Blandy <jimb@codesourcery.com>
32917 Joseph Myers <joseph@codesourcery.com>
32918
32919 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
32920 /dev/null.
32921 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
32922 from /dev/null
32923 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
32924 /dev/null.
32925
32926 2012-10-22 Andreas Jaeger <aj@suse.de>
32927
32928 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
32929 Define always.
32930 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
32931
32932 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
32933 bits/fcntl-linux.h.
32934
32935 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
32936 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
32937
32938 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
32939 to __O_LARGEFILE.
32940 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
32941 to __O_LARGEFILE.
32942
32943 2012-10-21 Jim Blandy <jimb@codesourcery.com>
32944 Joseph Myers <joseph@codesourcery.com>
32945
32946 * config.make.in (NM): New variable.
32947
32948 2012-10-21 Andreas Jaeger <aj@suse.de>
32949
32950 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
32951 definitions and declarations that are provided by
32952 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
32953
32954 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
32955
32956 [BZ #14683]
32957 * elf/Makefile (tests-static): Add tst-leaks1-static.
32958 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
32959 ($(objpfx)tst-leaks1-static): New rule.
32960 ($(objpfx)tst-leaks1-static-mem): Likewise.
32961 (tst-leaks1-static-ENV): New macro.
32962 * elf/dl-open.c (dl_open_worker): Check the main application
32963 only if SHARED is defined.
32964 * elf/tst-leaks1-static.c: New file.
32965
32966 2012-10-20 Andreas Jaeger <aj@suse.de>
32967
32968 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
32969 generic values for Linux.
32970 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
32971 and declarations that are provided by <bits/fcntl-linux.h> and
32972 include <bits/fcntl-linux.h>.
32973 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
32974 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
32975
32976 2012-10-20 Roland McGrath <roland@hack.frob.com>
32977
32978 * io/fcntl.h: Move include of <bits/types.h> to the top and
32979 include it unconditionally.
32980
32981 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
32982
32983 * wcsmbs/Makefile (tests-ifunc): New variable.
32984 (tests): Add $(tests-ifunc).
32985 * wcsmbs/test-wcschr-ifunc.c: New file.
32986 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
32987 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
32988 * wcsmbs/test-wcslen-ifunc.c: Likewise.
32989 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
32990 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
32991
32992 * string/Makefile (tests-ifunc): New variable.
32993 (tests): Add $(tests-ifunc).
32994 * string/test-memccpy.c (TEST_NAME): New macro.
32995 * string/test-memchr.c (TEST_NAME): Likewise.
32996 * string/test-memcmp.c (TEST_NAME): Likewise.
32997 * string/test-memcpy.c (TEST_NAME): Likewise.
32998 * string/test-memmem.c (TEST_NAME): Likewise.
32999 * string/test-memmove.c (TEST_NAME): Likewise.
33000 * string/test-memset.c (TEST_NAME): Likewise.
33001 * string/test-rawmemchr.c (TEST_NAME): Likewise.
33002 * string/test-stpcpy.c (TEST_NAME): Likewise.
33003 * string/test-stpncpy.c (TEST_NAME): Likewise.
33004 * string/test-strcasecmp.c (TEST_NAME): Likewise.
33005 * string/test-strcasestr.c (TEST_NAME): Likewise.
33006 * string/test-strcat.c (TEST_NAME): Likewise.
33007 * string/test-strchr.c (TEST_NAME): Likewise.
33008 * string/test-strcmp.c(TEST_NAME): Likewise.
33009 * string/test-strcpy.c (TEST_NAME): Likewise.
33010 * string/test-strcspn.c (TEST_NAME): Likewise.
33011 * string/test-strlen.c (TEST_NAME): Likewise.
33012 * string/test-strncasecmp.c (TEST_NAME): Likewise.
33013 * string/test-strncmp.c (TEST_NAME): Likewise.
33014 * string/test-strncpy.c (TEST_NAME): Likewise.
33015 * string/test-strnlen.c (TEST_NAME): Likewise.
33016 * string/test-strpbrk.c (TEST_NAME): Likewise.
33017 * string/test-strrchr.c (TEST_NAME): Likewise.
33018 * string/test-strspn.c (TEST_NAME): Likewise.
33019 * string/test-strstr.c (TEST_NAME): Likewise.
33020 * string/test-bcopy-ifunc.c: New file.
33021 * string/test-bzero-ifunc.c: Likewise.
33022 * string/test-memccpy-ifunc.c: Likewise.
33023 * string/test-memchr-ifunc.c: Likewise.
33024 * string/test-memcmp-ifunc.c: Likewise.
33025 * string/test-memcpy-ifunc.c: Likewise.
33026 * string/test-memmem-ifunc.c: Likewise.
33027 * string/test-memmove-ifunc.c: Likewise.
33028 * string/test-mempcpy-ifunc.c: Likewise.
33029 * string/test-memset-ifunc.c: Likewise.
33030 * string/test-rawmemchr-ifunc.c: Likewise.
33031 * string/test-stpcpy-ifunc.c: Likewise.
33032 * string/test-stpncpy-ifunc.c: Likewise.
33033 * string/test-strcasecmp-ifunc.c: Likewise.
33034 * string/test-strcasestr-ifunc.c: Likewise.
33035 * string/test-strcat-ifunc.c: Likewise.
33036 * string/test-strchr-ifunc.c: Likewise.
33037 * string/test-strchrnul-ifunc.c: Likewise.
33038 * string/test-strcmp-ifunc.c: Likewise.
33039 * string/test-strcpy-ifunc.c: Likewise.
33040 * string/test-strcspn-ifunc.c: Likewise.
33041 * string/test-strlen-ifunc.c: Likewise.
33042 * string/test-strncasecmp-ifunc.c: Likewise.
33043 * string/test-strncat-ifunc.c: Likewise.
33044 * string/test-strncmp-ifunc.c: Likewise.
33045 * string/test-strncpy-ifunc.c: Likewise.
33046 * string/test-strnlen-ifunc.c: Likewise.
33047 * string/test-strpbrk-ifunc.c: Likewise.
33048 * string/test-strrchr-ifunc.c: Likewise.
33049 * string/test-strspn-ifunc.c: Likewise.
33050 * string/test-strstr-ifunc.c: Likewise.
33051
33052 * debug/Makefile (tests-ifunc): New variable.
33053 (tests): Add $(tests-ifunc).
33054 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
33055 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
33056 * debug/test-stpcpy_chk-ifunc.c: New file.
33057 * debug/test-strcpy_chk-ifunc.c: Likewise.
33058
33059 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
33060
33061 [BZ #13601]
33062 * elf/dl-load.c (open_verify): Retry read if the entire ELF
33063 header is not read in.
33064
33065 2012-10-19 Joseph Myers <joseph@codesourcery.com>
33066
33067 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
33068 script to $(SHELL) as $<. Pass $(common-objpfx) to script
33069 directly. Pass built executable to script as
33070 $(built-program-cmd).
33071 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
33072 $testprogram without using LD_LIBRARY_PATH and $ldso.
33073
33074 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
33075 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
33076 $(rtld-installed-name).
33077 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
33078 (rtld_installed_name): Likewise.
33079 (library_path): Likewise.
33080 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
33081 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
33082 $(run-program-prefix) to tst-tables.sh.
33083 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
33084 it to run tst-table-from and tst-table-to.
33085 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
33086 Pass it to tst-table.sh.
33087 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
33088 $(run-program-prefix) to tst-gettext.sh.
33089 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
33090 tst-translit.sh.
33091 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
33092 tst-gettext2.sh.
33093 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
33094 to run tst-gettext.
33095 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
33096 to run tst-gettext2.
33097 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
33098 to run tst-translit.
33099 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
33100 $(run-program-prefix) to tst-mtrace.sh.
33101 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
33102 to run tst-mtrace.
33103 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
33104 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
33105 $(rtld-installed-name).
33106 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
33107 (rtld_installed_name): Likewise.
33108 (run_program_prefix): New variable. Use it to run wordexp-test.
33109
33110 * Makeconfig (ARCH): Remove all definitions.
33111 (machine): Likewise.
33112 [ARCH]: Remove conditional code.
33113 [!objdir]: Give error.
33114 [!objdir] (objpfx): Remove.
33115 [!objdir] (common-objpfx): Likewise.
33116 [!objdir] (common-objdir): Likewise.
33117 * configure.in (config_makefile): Remove. Hardcode Makefile in
33118 AC_CONFIG_FILES call.
33119 * configure: Regenerated.
33120
33121 [BZ #13888]
33122 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
33123 or TMPDIR.
33124 (testout): Likewise.
33125
33126 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
33127 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
33128 $(rtld-installed-name).
33129 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
33130 (rtld_installed_name): Likwise.
33131 (runit): Remove function.
33132 (run_getconf): New variable, Use it for running getconf binary.
33133
33134 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
33135
33136 [BZ #14716]
33137 * string/test-memmem.c (check_result): New function.
33138 (do_one_test): Use it.
33139 (check1): New function.
33140 (test_main): Use it.
33141
33142 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
33143
33144 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
33145
33146 2012-10-18 Joseph Myers <joseph@codesourcery.com>
33147
33148 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
33149 (_G_LSEEK64): Likewise.
33150 (_G_MMAP64): Likewise.
33151 (_G_FSTAT64): Likewise.
33152 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
33153 (_G_LSEEK64): Likewise.
33154 (_G_MMAP64): Likewise.
33155 (_G_FSTAT64): Likewise.
33156 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
33157 unconditional. Call __mmap64 directly.
33158 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
33159 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
33160 __lseek64 directly.
33161 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
33162 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
33163 __mmap64 directly.
33164 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
33165 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
33166 __lseek64 directly.
33167 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
33168 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
33169 __lseek64 directly.
33170 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
33171 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
33172 __lseek64 directly.
33173 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
33174 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
33175 __fxstat64 directly.
33176 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
33177 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
33178 unconditional.
33179 (freopen64) [!_G_OPEN64]: Remove conditional code.
33180 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
33181 unconditional.
33182 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
33183 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
33184 unconditional.
33185 (ftello64) [!_G_LSEEK64]: Remove conditional code.
33186 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
33187 unconditional.
33188 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
33189 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
33190 unconditional.
33191 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
33192 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
33193 unconditional.
33194 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
33195 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
33196 unconditional.
33197 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
33198 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
33199 unconditional.
33200 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
33201
33202 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
33203
33204 [BZ #12140]
33205 * manual/memory.texi (Malloc Tunable Parameters): Add note
33206 about free list pointers overwriting some perturb bytes.
33207 Wording suggested by Roland McGrath.
33208
33209 2012-10-17 Joseph Myers <joseph@codesourcery.com>
33210
33211 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
33212 (lgamma_test): Likewise.
33213 (tgamma_test): Likewise.
33214
33215 2012-10-16 Florian Weimer <fweimer@redhat.com>
33216
33217 [BZ #14700]
33218 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
33219 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
33220
33221 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
33222
33223 * NEWS: Mention BZ #14716.
33224 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
33225 when removing AVAILABLE1_USES_J macro.
33226
33227 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
33228
33229 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
33230 (__bswap_64): __uint64_t for unsigned 64-bit int.
33231
33232 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
33233
33234 * include/string.h (memmem): Declare libc hidden alias.
33235 * string/memmem.c (memmem): Define libc hidden alias.
33236 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
33237 __read, __close instead of open, read, close.
33238
33239 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
33240
33241 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
33242 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
33243 global and hidden.
33244 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
33245 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
33246 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
33247 Likewise.
33248 (__rawmemchr_sse2): Likewise.
33249 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
33250 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
33251 (__strchr_sse2): Likewise.
33252 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
33253 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
33254 (__strcasecmp_sse2): Likewise.
33255 (__strncasecmp_sse2): Likewise.
33256 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
33257 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
33258 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
33259 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
33260 (__strrchr_sse2): Likewise.
33261 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
33262 ifunc-impl-list.c.
33263 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
33264 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
33265 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
33266 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
33267 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
33268 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
33269 * sysdeps/x86_64/multiarch/memset.S: Likewise.
33270 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
33271 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
33272 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
33273 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
33274 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
33275 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
33276 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
33277 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
33278 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
33279 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
33280 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
33281 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
33282 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
33283 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
33284 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
33285 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
33286 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
33287 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
33288 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
33289 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
33290 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
33291 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
33292 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
33293
33294 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
33295 global and hidden.
33296 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
33297 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
33298 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
33299 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
33300 Likewise.
33301 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
33302 Likewise.
33303 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
33304 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
33305 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
33306 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
33307 ifunc-impl-list.c.
33308 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
33309 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
33310 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
33311 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
33312 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
33313 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
33314 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
33315 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
33316 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
33317 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
33318 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
33319 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
33320 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
33321 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
33322 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
33323 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
33324 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
33325 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
33326 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
33327 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
33328 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
33329 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
33330 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
33331 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
33332 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
33333 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
33334 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
33335 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
33336 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
33337 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
33338 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
33339 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
33340 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
33341 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
33342 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
33343 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
33344 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
33345 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
33346 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
33347 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
33348 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
33349
33350 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
33351 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
33352 * include/ifunc-impl-list.h: New file.
33353 * misc/ifunc-impl-list.c: Likewise.
33354 * misc/Makefile (routines): Add ifunc-impl-list.
33355 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
33356 * string/test-string.h: Include <ifunc-impl-list.h>.
33357 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
33358 TEST_NAME]: New variables.
33359 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
33360 are defined.
33361 (test_init): Call __libc_ifunc_impl_list to initialize
33362 func_list if TEST_IFUNC and TEST_NAME are defined.
33363
33364 * string/Makefile (strop-tests): Add bcopy and bzero.
33365 * string/test-bcopy.c: New file.
33366 * string/test-bzero.c: Likewise.
33367 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
33368 defined.
33369 * string/test-memset.c: Support bzero test if TEST_BZERO is
33370 defined.
33371 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
33372 __libc_memmove.
33373 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
33374 __libc_memset.
33375 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
33376 of memset.
33377
33378 2012-10-10 Joseph Myers <joseph@codesourcery.com>
33379
33380 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
33381 * configure: Regenerated.
33382
33383 * Makeconfig (+link-static-before-libc): Don't include
33384 $(link-static-libc).
33385
33386 * libio/libio.h (_IO_pos_t): Remove.
33387
33388 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
33389
33390 * NEWS: Add note about FIPS mode. Wording suggested by Roland
33391 McGrath.
33392
33393 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
33394
33395 * crypt/crypt-entry.c: Include fips-private.h.
33396 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
33397 * crypt/md5c-test.c (main): Tolerate disabled MD5.
33398 * sysdeps/unix/sysv/linux/fips-private.h: New file.
33399 * sysdeps/generic/fips-private.h: New file, dummy fallback.
33400
33401 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
33402
33403 * crypt/crypt-private.h: Include stdbool.h.
33404 (_ufc_setup_salt_r): Return bool.
33405 * crypt/crypt-entry.c: Include errno.h.
33406 (__crypt_r): Return NULL with EINVAL for bad salt.
33407 * crypt/crypt_util.c (bad_for_salt): New.
33408 (_ufc_setup_salt_r): Check that salt is long enough and within
33409 the specified alphabet.
33410 * crypt/badsalttest.c: New file.
33411 * crypt/Makefile (tests): Add it.
33412 ($(objpfx)badsalttest): New.
33413
33414 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
33415
33416 * NEWS: Add entry for BZ #14602.
33417
33418 2012-10-09 Joseph Myers <joseph@codesourcery.com>
33419
33420 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
33421 type-generic.
33422 * math/libm-test.inc: Update comment listing what functions and
33423 macros are tested.
33424 (isgreater_test): New function.
33425 (isgreaterequal_test): Likewise.
33426 (isless_test): Likewise.
33427 (islessequal_test): Likewise.
33428 (islessgreater_test): Likewise.
33429 (isunordered_test): Likewise.
33430 (main): Call the new functions.
33431
33432 2012-10-09 Roland McGrath <roland@hack.frob.com>
33433
33434 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
33435 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
33436 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
33437 * sysdeps/i386/configure: Regenerated.
33438 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
33439 * sysdeps/mach/configure: Regenerated.
33440 * sysdeps/mach/hurd/configure: Regenerated.
33441 * sysdeps/powerpc/configure: Regenerated.
33442 * sysdeps/powerpc/powerpc32/configure: Regenerated.
33443 * sysdeps/powerpc/powerpc64/configure: Regenerated.
33444 * sysdeps/s390/s390-32/configure: Regenerated.
33445 * sysdeps/s390/s390-64/configure: Regenerated.
33446 * sysdeps/sh/configure: Regenerated.
33447 * sysdeps/sparc/configure: Regenerated.
33448 * sysdeps/unix/sysv/linux/configure: Regenerated.
33449 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
33450 * sysdeps/x86_64/configure: Regenerated.
33451
33452 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
33453 defined. Don't check if MAP is NULL.
33454
33455 2012-10-09 Joseph Myers <joseph@codesourcery.com>
33456
33457 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
33458 (_G_stat64): Likewise.
33459 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
33460 (_G_stat64): Likewise.
33461 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
33462 instead of struct _G_stat64.
33463 * libio/fileops.c (mmap_remap_check): Likewise.
33464 (decide_maybe_mmap): Likewise.
33465 (_IO_new_file_seekoff): Likewise.
33466 (_IO_file_stat): Likewise.
33467 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
33468 _G_off64_t.
33469 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
33470 instead of struct _G_stat64.
33471 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
33472
33473 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
33474
33475 [BZ #14602]
33476 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
33477 Replace with ...
33478 (CHECK_EOL): New macro.
33479 (two_way_short_needle): Check beginning of haystack for EOL. Use
33480 CHECK_EOL.
33481 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
33482 Replace with CHECK_EOL.
33483 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
33484 Replace with CHECK_EOL.
33485
33486 2012-10-08 Joseph Myers <joseph@codesourcery.com>
33487
33488 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
33489 type-generic.
33490 * math/libm-test.inc: Update comment listing what functions and
33491 macros are tested.
33492 (finite_test): New function.
33493 (isinf_test): Likewise.
33494 (isnan_test): Likewise.
33495 (fpclassify_test): Test subnormal input.
33496 (isfinite_test): Likewise.
33497 (isnormal_test): Likewise.
33498 (main): Call the new functions.
33499
33500 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
33501
33502 [BZ #14660]
33503 * Makerules (%.dynsym): Force C locale when running
33504 $(OBJDUMP) --dynamic-syms.
33505
33506 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
33507
33508 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
33509 <stdint.h>.
33510
33511 2012-10-06 David S. Miller <davem@davemloft.net>
33512
33513 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
33514 upper 32-bits of the length value in %o2 since we use branch-on-register
33515 tests which consider the entire 64-bit register.
33516
33517 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
33518
33519 * string/test-strstr.c (check2): Add a test for page boundary.
33520
33521 2012-10-05 David S. Miller <davem@davemloft.net>
33522
33523 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
33524 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
33525 file.
33526 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
33527 sysdep_routines.
33528 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
33529 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
33530 and bzero when HWCAP_SPARC_CRYPTO is present.
33531
33532 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
33533
33534 [BZ #14602]
33535 * string/test-strstr.c (check2): New function.
33536 (test_main): Call check2.
33537
33538 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
33539 and bug-strchr1.
33540 * string/bug-strcasestr1.c (do_test): Moved to ...
33541 * string/test-strcasestr.c (check1): Here. New function.
33542 (do_one_test): Break out result checking code into ...
33543 (check_result): This. New function.
33544 (do_one_test): Call check_result.
33545 (test_main): Call check1.
33546 * string/bug-strchr1.c (do_test): Moved to ...
33547 * string/test-strchr.c (check1): Here. New function.
33548 (do_one_test): Break out result checking code into ...
33549 (check_result): This. New function.
33550 (do_one_test): Call check_result.
33551 (test_main): Call check1.
33552 * string/bug-strstr1.c (main): Moved to ...
33553 * string/test-strstr.c (check1): Here. New function.
33554 (do_one_test): Break out result checking code into ...
33555 (check_result): This. New function.
33556 (do_one_test): Call check_result.
33557 (test_main): Call check1.
33558 * string/bug-strcasestr1.c: Removed.
33559 * string/bug-strchr1.c: Likewise.
33560 * string/bug-strstr1.c: Likewise.
33561
33562 * elf/Makefile (dl-routines): Add hwcaps.
33563 * elf/dl-support.c (_dl_important_hwcaps): Removed.
33564 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
33565 (_dl_important_hwcaps): Moved to ...
33566 * elf/dl-hwcaps.c: Here. New file.
33567 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
33568
33569 [BZ #14557]
33570 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
33571 if IS_IN_rtld isn't defined.
33572
33573 * elf/dl-support.c (_dl_sysinfo_map): New.
33574 Include "get-dynamic-info.h" and "setup-vdso.h".
33575 (_dl_non_dynamic_init): Call setup_vdso.
33576 * elf/dynamic-link.h: Don't include <assert.h>.
33577 (elf_get_dynamic_info): Moved to ...
33578 * elf/get-dynamic-info.h: Here. New file.
33579 * elf/dynamic-link.h: Include "get-dynamic-info.h".
33580 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
33581 * elf/setup-vdso.h: Here. New file.
33582 * elf/rtld.c: Include "setup-vdso.h".
33583 (dl_main): Call setup_vdso.
33584
33585 2012-10-05 Joseph Myers <joseph@codesourcery.com>
33586
33587 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
33588 creal in comment listing functions tested. List finite, isinf,
33589 isnan, isless, islessequal, isgreater, isgreaterequal,
33590 islessgreater, isunordered, lgamma_r and pow10 as functions and
33591 macros not tested. Mention which functions not tested are aliases
33592 for other functions. Fix typo. Note that signs of NaNs are not
33593 tested.
33594
33595 * scripts/config.guess: Update from config.git.
33596 * scripts/config.sub: Likewise.
33597
33598 2012-10-04 Roland McGrath <roland@hack.frob.com>
33599
33600 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
33601 * misc/madvise.c (madvise): Renamed to __madvise.
33602 Make madvise a weak alias.
33603 * include/sys/mman.h: Declare __madvise.
33604 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
33605 * sysdeps/unix/syscalls.list
33606 (madvise): Make __madvise the strong name, and madvise a weak alias.
33607 * sysdeps/unix/sysv/linux/syscalls.list
33608 (madvise, mmap): Remove redundant entries.
33609 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
33610 * malloc/malloc.c (mtrim): Likewise.
33611 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
33612
33613 2012-10-03 Roland McGrath <roland@hack.frob.com>
33614
33615 * sysdeps/mach/hurd/dl-cache.c: File removed.
33616 * config.h.in (USE_LDCONFIG): New #undef.
33617 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
33618 * configure: Regenerated.
33619 * elf/Makefile (dl-routines): Add dl-cache only under
33620 [$(use-ldconfig) = yes].
33621 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
33622 cache on [USE_LDCONFIG].
33623 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
33624 [USE_LDCONFIG].
33625 * elf/rtld.c (dl_main): Likewise.
33626
33627 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
33628
33629 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
33630 _SC_LEVEL4_CACHE_LINESIZE.
33631
33632 2012-10-03 Roland McGrath <roland@hack.frob.com>
33633
33634 * sysdeps/unix/bsd/confstr.h: File removed.
33635
33636 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
33637
33638 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
33639 sys/sdt-config.h.
33640
33641 2012-10-02 Roland McGrath <roland@hack.frob.com>
33642
33643 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
33644 Make 'mapoff' field ElfW(Off) rather than off_t.
33645
33646 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
33647
33648 * nscd/Makefile: Remove nscd-cflags and all its users.
33649 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
33650 (CFLAGS-nonlib): Add compiler flags for nscd modules.
33651
33652 [BZ #10631]
33653 * malloc.c (malloc_printerr): Clarify error message.
33654
33655 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
33656
33657 [BZ #14648]
33658 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33659 Set bit_FMA_Usable if FMA is supported.
33660 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
33661 macro.
33662 (bit_FMA4_Usable): Updated.
33663 (index_FMA_Usable): New macro.
33664 (CPUID_FMA): Likewise
33665 (HAS_FMA): Defined with bit_FMA_Usable.
33666
33667 2012-10-01 Roland McGrath <roland@hack.frob.com>
33668
33669 * bits/types.h (__swblk_t): Type removed.
33670 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
33671 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
33672 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
33673 (__SWBLK_T_TYPE): Likewise.
33674 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
33675 (__SWBLK_T_TYPE): Likewise.
33676 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
33677 (__SWBLK_T_TYPE): Likewise.
33678 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
33679 (__SWBLK_T_TYPE): Likewise.
33680
33681 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
33682 Honza Horak <hhorak@redhat.com>
33683
33684 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
33685 (xdr_mapname): Use YPMAXMAP as maxsize.
33686 (xdr_peername): Use YPMAXPEER as maxsize.
33687 (xdr_keydat): Use YPAXRECORD as maxsize.
33688 (xdr_valdat): Use YPMAXRECORD as maxsize.
33689
33690 2012-10-01 Roland McGrath <roland@hack.frob.com>
33691
33692 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
33693
33694 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
33695 * csu/init-first.c: ... here.
33696 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
33697 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
33698 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
33699 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
33700 * sysdeps/i386/init-first.c: File removed.
33701 * sysdeps/sh/init-first.c: File removed.
33702
33703 2012-10-01 Joseph Myers <joseph@codesourcery.com>
33704
33705 [BZ #14645]
33706 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
33707 if x * y might underflow to zero and z is zero.
33708 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
33709 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
33710 * math/libm-test.inc (min_subnorm_value): New variable.
33711 (fma_test): Add more tests.
33712 (fma_test_towardzero): Likewise.
33713 (fma_test_downward): Likewise
33714 (fma_test_upward): Likewise.
33715 (initialize): Set min_subnorm_value.
33716
33717 2012-09-29 Joseph Myers <joseph@codesourcery.com>
33718
33719 [BZ #14638]
33720 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
33721 0 + 0.
33722 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
33723 mode for addition resulting in exact zero.
33724 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
33725 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
33726 exact 0 + 0.
33727 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
33728 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
33729 * math/libm-test.inc (fma_test): Add more tests.
33730 (fma_test_towardzero): New function.
33731 (fma_test_downward): Likewise.
33732 (fma_test_upward): Likewise.
33733 (main): Call the new functions.
33734
33735 2012-09-28 David S. Miller <davem@davemloft.net>
33736
33737 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
33738
33739 2012-09-28 Roland McGrath <roland@hack.frob.com>
33740
33741 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
33742 instead of SIGALRM.
33743
33744 * sysdeps/gnu/_G_config.h: Moved to ...
33745 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
33746 * sysdeps/mach/hurd/_G_config.h: Moved to ...
33747 * sysdeps/generic/_G_config.h: ... here.
33748
33749 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
33750
33751 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
33752
33753 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
33754 Conditionalize target on [libnss_test1.so-version].
33755
33756 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
33757
33758 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
33759 (elfobjdir): Move out of conditionals.
33760
33761 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
33762 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
33763 (__nss_lookup_function): Conditionalize label remove_from_tree on
33764 [!DO_STATIC_NSS || SHARED], matching its only use.
33765
33766 2012-09-28 David S. Miller <davem@davemloft.net>
33767
33768 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
33769 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
33770 file.
33771 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
33772 sysdep_routines.
33773 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
33774 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
33775 when HWCAP_SPARC_CRYPTO is present.
33776
33777 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
33778
33779 * io/tst-mknodat.c: Create a FIFO instead of a socket.
33780
33781 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
33782
33783 [BZ #6530]
33784 * stdio-common/vfprintf.c (process_string_arg): Revert
33785 2000-07-22 change.
33786
33787 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
33788
33789 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
33790 for testcase.
33791 * stdio-common/tst-sprintf.c: Include <locale.h>
33792 (main): Test sprintf's handling of incomplete multibyte
33793 characters.
33794
33795 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
33796
33797 * elf/dl-runtime.c (VERSYMIDX): Removed.
33798 * elf/dl-version.c (VERSYMIDX): Likewise.
33799 * elf/do-rel.h (VERSYMIDX): Likewise.
33800 (VALIDX): Likewise.
33801 * elf/dynamic-link.h (VERSYMIDX): Likewise.
33802 * elf/rtld.c (VALIDX): Likewise.
33803 (ADDRIDX): Likewise.
33804 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
33805 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
33806 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
33807 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
33808 (VALIDX): Likewise.
33809 (ADDRIDX): Likewise.
33810
33811 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
33812
33813 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
33814
33815 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
33816
33817 [BZ #11438]
33818 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
33819 to global scope.
33820 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
33821 addresses are in the same scope as 192.0.2/24.
33822 * posix/gai.conf: Document new scope table defaults.
33823
33824 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
33825
33826 [BZ #5298]
33827 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
33828 for ftell. Compute offsets from write pointers instead.
33829 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
33830
33831 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
33832
33833 [BZ #14543]
33834 * libio/Makefile (tests): New test case tst-fseek.
33835 * libio/tst-fseek.c: New test case to verify that fseek/ftell
33836 combination works in wide mode.
33837 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
33838 state when the external buffer state changes.
33839
33840 2012-09-27 David S. Miller <davem@davemloft.net>
33841
33842 [BZ #14376]
33843 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
33844 pass reloc->r_addend in as the 'high' argument to
33845 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
33846
33847 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33848
33849 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
33850
33851 * rt/tst-aio2.c: Include <pthread.h>.
33852 * rt/tst-aio3.c: Likewise.
33853
33854 2012-09-27 Steve Ellcey <sellcey@mips.com>
33855
33856 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
33857
33858 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
33859
33860 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
33861 contents on [SHARED].
33862
33863 2012-09-26 Marek Polacek <polacek@redhat.com>
33864
33865 [BZ #14530]
33866 [BZ #13741]
33867 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
33868 for C++ and GCC <4.3 as well as for non GCC compilers.
33869
33870 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
33871
33872 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33873
33874 2012-09-25 Roland McGrath <roland@hack.frob.com>
33875
33876 * Makefile.in (all, install): Declare with .PHONY.
33877 Reported by Michael Hope <michael.hope@linaro.org>.
33878
33879 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
33880
33881 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
33882 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
33883 system header.
33884 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
33885 Likewise.
33886 (sydep_routines): Add the new and the internal functions.
33887 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
33888 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
33889 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
33890 (GLIBC_2.17): Add the new function.
33891 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
33892 (GLIBC_2.17): Likewise.
33893 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
33894 (GLIBC_2.17): Likewise.
33895 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
33896 (GLIBC_2.17): Likewise.
33897 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
33898
33899 2012-09-25 Alan Modra <amodra@gmail.com>
33900
33901 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
33902 Add release barrier before setting once_control to say
33903 initialisation is done. Add hints on lwarx. Use macro in
33904 place of isync.
33905 (clear_once_control): Add release barrier.
33906
33907 2012-09-25 Joseph Myers <joseph@codesourcery.com>
33908
33909 [BZ #13629]
33910 * math/s_clog.c (__clog): Handle more values close to |z| = 1
33911 specially.
33912 * math/s_clog10.c (__clog10): Likewise.
33913 * math/s_clog10f.c (__clog10f): Likewise.
33914 * math/s_clog10l.c (__clog10l): Likewise.
33915 * math/s_clogf.c (__clogf): Likewise.
33916 * math/s_clogl.c (__clogl): Likewise.
33917 * math/Makefile (libm-calls): Add x2y2m1.
33918 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
33919 (__x2y2m1): Likewise.
33920 (__x2y2m1l): Likewise.
33921 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
33922 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
33923 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
33924 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
33925 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
33926 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
33927 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
33928 * sysdeps/i386/fpu/libm-test-ulps: Update.
33929 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33930
33931 [BZ #14621]
33932 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
33933 int as type of variable DEPTH.
33934 (glob): Use size_t instead of int as type of variables NEWCOUNT
33935 and OLD_PATHC.
33936
33937 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33938
33939 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
33940 Add s_sincosf-sse2.
33941 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
33942 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
33943 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
33944 macros for using routine as __sincosf_ia32.
33945 Use macro for function declaration and weak_alias.
33946 * sysdeps/i386/fpu/libm-test-ulps: Update.
33947
33948 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
33949 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33950
33951 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
33952 subnormal argument.
33953 * math/s_cexpf.c (__cexpf): Likewise.
33954 * math/s_csinf.c (__csinf): Likewise.
33955 * math/s_csinhf.c (__csinhf): Likewise.
33956 * math/s_ctanf.c (__ctanf): Likewise.
33957 * math/s_ctanhf.c (__ctanhf): Likewise.
33958 * math/s_ccosh.c (__ccoshf): Likewise.
33959 * math/s_cexp.c (__cexpl): Likewise.
33960 * math/s_csin.c (__csin): Likewise.
33961 * math/s_csinh.c (__csinh): Likewise.
33962 * math/s_ctan.c (__ctan): Likewise.
33963 * math/s_ctanh.c (ctanh): Likewise.
33964 * math/s_ccoshl.c (__ccoshl): Likewise.
33965 * math/s_cexpl.c (__cexpl): Likewise.
33966 * math/s_csinl.c (__csinl): Likewise.
33967 * math/s_csinhl.c (__csinhl): Likewise.
33968 * math/s_ctanl.c (__ctanl): Likewise.
33969 * math/s_ctanhl.c (__ctanhl): Likewise.
33970
33971 2012-09-25 Joseph Myers <joseph@codesourcery.com>
33972
33973 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
33974 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
33975 (_IO_off_t): Define to __off_t, not _G_off_t.
33976 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
33977 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
33978 (_IO_wint_t): Define to wint_t, not _G_wint_t.
33979 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
33980 type of __dummy and __dummy2 fields.
33981 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
33982 (_G_ssize_t): Likewise.
33983 (_G_off_t): Likewise.
33984 (_G_pid_t): Likewise.
33985 (_G_uid_t): Likewise.
33986 (_G_wchar_t): Likewise.
33987 (_G_wint_t): Likewise.
33988 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
33989 (_G_ssize_t): Likewise.
33990 (_G_off_t): Likewise.
33991 (_G_pid_t): Likewise.
33992 (_G_uid_t): Likewise.
33993 (_G_wchar_t): Likewise.
33994 (_G_wint_t): Likewise.
33995 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
33996 (_G_ssize_t): Likewise.
33997 (_G_off_t): Likewise.
33998 (_G_pid_t): Likewise.
33999 (_G_uid_t): Likewise.
34000 (_G_wchar_t): Likewise.
34001 (_G_wint_t): Likewise.
34002
34003 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
34004
34005 * malloc/arena.c: Include malloc-sysdep.h.
34006 (shrink_heap): Use check_may_shrink_heap to decide if madvise
34007 is sufficient to shrink the heap or an unmap is needed.
34008 * sysdeps/generic/malloc-sysdep.h: New file. Define
34009 new function check_may_shrink_heap.
34010 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
34011 new function check_may_shrink_heap.
34012
34013 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
34014
34015 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
34016 comments.
34017
34018 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
34019
34020 * catgets/test-gencat.sh: Add "set -e".
34021 * elf/tst-pathopt.sh: Likewise.
34022 * grp/tst_fgetgrent.sh: Likewise.
34023 * iconvdata/run-iconv-test.sh: Likewise.
34024 * intl/tst-gettext.sh: Likewise.
34025 * intl/tst-gettext2.sh: Likewise.
34026 * intl/tst-gettext4.sh: Likewise.
34027 * intl/tst-gettext6.sh: Likewise.
34028 * intl/tst-translit.sh: Likewise.
34029 * io/ftwtest-sh: Likewise.
34030 * libio/test-freopen.sh: Likewise.
34031 * malloc/tst-mtrace.sh: Likewise.
34032 * posix/globtest.sh: Likewise.
34033 * posix/tst-getconf.sh: Likewise.
34034 * posix/wordexp-tst.sh: Likewise.
34035 * stdio-common/tst-printf.sh: Likewise.
34036 * stdio-common/tst-unbputc.sh: Likewise.
34037 * stdlib/tst-fmtmsg.sh: Likewise.
34038 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
34039 * catgets/Makefile: Do not specify -e option when running
34040 testsuite shell scripts.
34041 * elf/Makefile: Likewise.
34042 * grp/Makefile: Likewise.
34043 * iconvdata/Makefile: Likewise.
34044 * intl/Makefile: Likewise.
34045 * io/Makefile: Likewise.
34046 * libio/Makefile: Likewise.
34047 * malloc/Makefile: Likewise.
34048 * posix/Makefile: Likewise.
34049 * stdio-common/Makefile: Likewise.
34050 * stdlib/Makefile: Likewise.
34051 * sysdeps/x86_64/Makefile: Likewise.
34052
34053 * io/ftwtest-sh: Add copyright header.
34054 * posix/globtest.sh: Likewise.
34055 * posix/tst-getconf.sh: Likewise.
34056 * posix/wordexp-tst.sh: Likewise.
34057 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
34058
34059 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
34060
34061 [BZ #13679]
34062 * Makeconfig (+link): Defined as $(+link-static) if
34063 $(build-shared) isn't yes.
34064 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
34065 isn't yes.
34066 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
34067
34068 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
34069
34070 [BZ #14562]
34071 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
34072 new chunk size with MALLOC_ALIGN_MASK.
34073
34074 2012-09-24 Joseph Myers <joseph@codesourcery.com>
34075
34076 [BZ #5044]
34077 * stdio-common/printf_fphex.c: Include <stdbool.h> and
34078 <rounding-mode.h>.
34079 (__printf_fphex): Determine rounding using get_rounding_mode and
34080 round_away.
34081 * stdio-common/tst-printf-round.c (struct hex_test): New
34082 structure.
34083 (hex_tests): New variable.
34084 (test_hex_in_one_mode): New function.
34085 (do_test): Also run tests for hex float output.
34086
34087 2012-09-21 Joseph Myers <joseph@codesourcery.com>
34088
34089 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
34090 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
34091 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
34092 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
34093 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
34094 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
34095 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
34096 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
34097
34098 2012-09-20 Joseph Myers <joseph@codesourcery.com>
34099
34100 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
34101 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
34102 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
34103 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
34104
34105 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
34106
34107 [BZ #14579]
34108 * elf/rtld.c (dl_main): Limit the check for self loading to normal
34109 mode only.
34110 * elf/tst-rtld-load-self.sh: New test.
34111 * elf/Makefile: Run it.
34112
34113 2012-09-18 Joseph Myers <joseph@codesourcery.com>
34114
34115 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
34116 (tst-writev-ENV): Remove.
34117 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
34118
34119 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
34120
34121 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
34122
34123 2012-09-17 Joseph Myers <joseph@codesourcery.com>
34124
34125 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
34126 unconditional.
34127 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
34128 Likewise.
34129 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
34130 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
34131 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
34132 Likewise.
34133
34134 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
34135
34136 [BZ #14587]
34137 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
34138 * config.make.in (have-cpp-asm-debuginfo): Removed.
34139 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
34140 * configure: Regenerated.
34141
34142 2012-09-14 Joseph Myers <joseph@codesourcery.com>
34143
34144 [BZ #5044]
34145 * stdio-common/printf_fp.c: Include <stdbool.h> and
34146 <rounding-mode.h>.
34147 (___printf_fp): Determine rounding using get_rounding_mode and
34148 round_away.
34149 * stdio-common/tst-printf-round.c: New file.
34150 * stdio-common/Makefile (tests): Add tst-printf-round.
34151 (link-libm): New variable.
34152 ($(objpfx)tst-printf-round): Depend in $(link-libm).
34153
34154 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
34155
34156 [BZ #14576]
34157 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
34158 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
34159 Likewise.
34160 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
34161 Likewise.
34162
34163 2012-09-13 Joseph Myers <joseph@codesourcery.com>
34164
34165 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
34166 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
34167 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
34168 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
34169
34170 2012-09-12 Joseph Myers <joseph@codesourcery.com>
34171
34172 [BZ #14518]
34173 * include/rounding-mode.h: New file.
34174 * sysdeps/generic/get-rounding-mode.h: Likewise.
34175 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
34176 * stdlib/strtod_l.c: Include <rounding-mode.h>.
34177 (MAX_VALUE): New macro.
34178 (MIN_VALUE): Likewise.
34179 (overflow_value): New function.
34180 (underflow_value): Likewise.
34181 (round_and_return): Use overflow_value and underflow_value to
34182 determine return values in overflow and underflow cases. Use
34183 round_away to determine rounding depending on rounding mode.
34184 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
34185 determine return values in overflow and underflow cases.
34186 * stdlib/tst-strtod-round.c: Include <fenv.h>.
34187 (struct test_results): New structure.
34188 (struct test): Use struct test_results to store expected results
34189 for all rounding modes.
34190 (TEST): Include expected results for all rounding modes.
34191 (test_in_one_mode): New function.
34192 (do_test): Use test_in_one_mode to compute and check results.
34193 Check results for all rounding modes.
34194 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
34195 $(link-libm).
34196
34197 2012-12-09 Allan McRae <allan@archlinux.org>
34198
34199 * sysdeps/i386/fpu/libm-test-ulps: Update
34200
34201 2012-09-11 Joseph Myers <joseph@codesourcery.com>
34202
34203 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
34204 (_G_int32_t): Likewise.
34205 (_G_uint16_t): Likewise.
34206 (_G_uint32_t): Likewise.
34207 (_G_HAVE_BOOL): Likewise.
34208 (_G_HAVE_ATEXIT): Likewise.
34209 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
34210 (_G_HAVE_IO_FILE_OPEN): Likewise.
34211 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
34212 (_G_int32_t): Likewise.
34213 (_G_uint16_t): Likewise.
34214 (_G_uint32_t): Likewise.
34215 (_G_HAVE_BOOL): Likewise.
34216 (_G_HAVE_ATEXIT): Likewise.
34217 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
34218 (_G_HAVE_IO_FILE_OPEN): Likewise.
34219 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
34220 (_G_int32_t): Likewise.
34221 (_G_uint16_t): Likewise.
34222 (_G_uint32_t): Likewise.
34223 (_G_HAVE_BOOL): Likewise.
34224 (_G_HAVE_ATEXIT): Likewise.
34225 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
34226 (_G_HAVE_IO_FILE_OPEN): Likewise.
34227
34228 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
34229
34230 * csu/libc-tls.c: Update copyright years.
34231
34232 2012-09-10 Joseph Myers <joseph@codesourcery.com>
34233
34234 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
34235 [!_G_USING_THUNKS]: Remove conditional code.
34236 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
34237 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
34238
34239 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
34240 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
34241 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
34242 (_G_VTABLE_LABEL_PREFIX): Likewise.
34243 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
34244 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
34245 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
34246 (_G_VTABLE_LABEL_PREFIX): Likewise.
34247 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
34248 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
34249 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
34250 (_G_VTABLE_LABEL_PREFIX): Likewise.
34251 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
34252
34253 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
34254
34255 * libio/Makefile: Include ../Makeconfig before tests.
34256 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
34257 only if $(build-shared) is yes.
34258
34259 * iconv/gconv_db.c: Update copyright years.
34260
34261 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34262
34263 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
34264 unwind info if defined PIC. Fix special cases description.
34265 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
34266
34267 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
34268 DP_HI_MASK entry.
34269 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
34270
34271 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
34272
34273 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
34274
34275 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
34276 is NULL.
34277
34278 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
34279 (LDLIBS-tst-chk4): This.
34280 (LDFLAGS-tst-chk5): Renamed to ...
34281 (LDLIBS-tst-chk5): This.
34282 (LDFLAGS-tst-chk6): Renamed to ...
34283 (LDLIBS-tst-chk6): This.
34284 (LDFLAGS-tst-lfschk4): Renamed to ...
34285 (LDLIBS-tst-lfschk4): This.
34286 (LDFLAGS-tst-lfschk5): Renamed to ...
34287 (LDLIBS-tst-lfschk5): This.
34288 (LDFLAGS-tst-lfschk6): Renamed to ...
34289 (LDLIBS-tst-lfschk6): This.
34290
34291 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
34292 on $(common-objpfx)soversions.mk.
34293
34294 2012-09-07 Joseph Myers <joseph@codesourcery.com>
34295
34296 [BZ #10014]
34297 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
34298 example host name.
34299
34300 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
34301
34302 * malloc/arena.c (arena_get_retry): New function that gets
34303 another arena for the caller to try its request on.
34304 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
34305 current arena cannot fulfill the request.
34306 (__libc_memalign): Likewise.
34307 (__libc_memalign): Likewise.
34308 (__libc_pvalloc): Likewise.
34309 (__libc_calloc): Likewise.
34310
34311 2012-09-05 John Tobey <john.tobey@gmail.com>
34312
34313 [BZ #13542]
34314 * manual/arith.texi (Operations on Complex): Fix description
34315 of carg branch cut.
34316
34317 2012-09-06 Joseph Myers <joseph@codesourcery.com>
34318
34319 [BZ #10014]
34320 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
34321 host name.
34322
34323 [BZ #10038]
34324 * manual/memory.texi (Memory): Make order of menu items match
34325 order of sections.
34326
34327 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
34328
34329 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
34330 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
34331 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
34332
34333 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
34334
34335 * csu/libc-tls.c (static_dtv): Renamed to ...
34336 (_dl_static_dtv): This. Make it global.
34337 (_dl_initial_dtv): Removed.
34338 (__libc_setup_tls): Updated.
34339 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
34340 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
34341 DL_INITIAL_DTV.
34342
34343 2012-09-06 Petr Machata <pmachata@redhat.com>
34344
34345 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
34346 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
34347 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
34348 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
34349
34350 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
34351
34352 [BZ #14545]
34353 * csu/libc-tls.c (_dl_initial_dtv): New variable.
34354 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
34355 freeing dtv[-1].
34356
34357 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
34358
34359 [BZ #14544]
34360 * Makeconfig (link-static-before-libc): Replace $(+prector)
34361 with $(+prectorT).
34362 (link-static-after-libc): Replace $(+postctor) with
34363 $(+postctorT).
34364 (link-bounded): Replace $(+prector)/$(+postctor) with
34365 $(+prectorT)/$(+postctorT).
34366 (+prectorT): New macro.
34367 (+postctorT): Likewise.
34368
34369 2012-09-06 Joseph Myers <joseph@codesourcery.com>
34370
34371 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
34372 (round_str): Handle values above the maximum for IBM long double
34373 as inexact.
34374 * stdlib/tst-strtod-round.c (tests): Regenerated.
34375
34376 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34377
34378 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
34379 assembler flag.
34380 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
34381 zarch_nohighgprs around the zarch optimized routines.
34382 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
34383 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
34384 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
34385 for zarch.
34386
34387 2012-09-05 David S. Miller <davem@davemloft.net>
34388
34389 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34390
34391 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
34392 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
34393 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
34394 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
34395 entries.
34396
34397 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
34398
34399 * malloc/arena.c: Fold copyright years.
34400 * malloc/mcheck.c, malloc/memusage.c: Likewise.
34401
34402 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
34403
34404 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
34405
34406 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
34407
34408 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
34409
34410 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
34411
34412 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
34413 change internal state upon failure.
34414
34415 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
34416
34417 * malloc/mcheck.c (mcheck_check_all): Fix typo.
34418 * malloc/memusage.c (mmap): Likewise.
34419 (mmap64, mremap): Likewise. Adjust name in comment.
34420
34421 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
34422
34423 * libio/fileops.c: Fix typos in comments.
34424 * libio/oldfileops.c: Likewise.
34425 * libio/wfileops.c: Likewise.
34426
34427 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
34428
34429 [BZ #1349]
34430 * malloc/Makefile (tests): Add tst-malloc-usable test case.
34431 (tst-malloc-usable-ENV): Set environment for test case.
34432 * malloc/hooks.c (malloc_check_get_size): New function to get
34433 requested size.
34434 * malloc/malloc.c (musable): Use malloc_check_get_size.
34435 * malloc/tst-malloc-usable.c: New test case.
34436
34437 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
34438
34439 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
34440
34441 2012-09-05 Allan McRae <allan@archlinux.org>
34442
34443 [BZ #13966]
34444 * configure.in (CXX_SYSINCLUDES): Use compiler output to
34445 determine header location.
34446 * configure: Regenerated.
34447
34448 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
34449
34450 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
34451 float format.
34452 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
34453 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
34454 format.
34455 (test): Regenerate.
34456
34457 2012-09-04 David S. Miller <davem@davemloft.net>
34458
34459 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
34460 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
34461 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
34462
34463 2012-09-04 Florian Weimer <fweimer@redhat.com>
34464
34465 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
34466 failures.
34467
34468 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
34469
34470 2012-09-04 Joseph Myers <joseph@codesourcery.com>
34471
34472 [BZ #9914]
34473 * libio/iogetdelim.c: Include <limits.h>.
34474 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
34475 + len + 1 would overflow.
34476
34477 2012-09-03 Andreas Jaeger <aj@suse.de>
34478
34479 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34480 * sysdeps/i386/fpu/libm-test-ulps: Update.
34481
34482 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34483
34484 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
34485 Add s_sinf-sse2, s_conf-sse2.
34486
34487 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
34488 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
34489 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
34490 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
34491
34492 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
34493 for using routine as __sinf_ia32.
34494 Use macro for function declaration and weak_alias.
34495 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
34496 for using routine as __cosf_ia32.
34497 Use macro for function declaration and weak_alias.
34498
34499 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
34500 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
34501
34502 * sysdeps/x86_64/fpu/s_sinf.S: New file.
34503 * sysdeps/x86_64/fpu/s_cosf.S: New file.
34504 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34505
34506 * math/libm-test.inc (cos_test): Add more test cases.
34507 (sin_test): Likewise.
34508 (sincos_test): Likewise.
34509
34510 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34511
34512 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
34513 (IFUNC_RESOLVE): Make pointers to the specialized implementations
34514 hidden.
34515 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
34516
34517 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
34518
34519 [BZ #14538]
34520 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
34521 first element of the GOT.
34522 (elf_machine_load_address): Return the difference between
34523 the runtime address of _DYNAMIC and elf_machine_dynamic ().
34524
34525 2012-09-01 Allan McRae <allan@archlinux.org>
34526
34527 [BZ #13412]
34528 * configure.in (AWK): Require gawk version 3.0 or later.
34529 * configure: Regenerated.
34530
34531 2012-09-01 Joseph Myers <joseph@codesourcery.com>
34532
34533 * sysdeps/unix/sysv/linux/kernel-features.h
34534 (__ASSUME_POSIX_CPU_TIMERS): Remove.
34535 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
34536 [__NR_clock_getres]: Make code unconditional.
34537 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
34538 (clock_getcpuclockid): Remove code left unreachable by removal of
34539 conditionals.
34540 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
34541 code unconditional.
34542 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
34543 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
34544 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
34545 Make code unconditional.
34546 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
34547 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
34548 * sysdeps/unix/sysv/linux/clock_settime.c
34549 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
34550 conditional code.
34551 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
34552 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
34553
34554 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
34555
34556 [BZ #14476]
34557 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
34558 scripts/test-installation.pl.
34559
34560 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
34561 and $ld_so_version if it is set.
34562
34563 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
34564
34565 [BZ #14516]
34566 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
34567 failure if reading from procfs failed.
34568 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
34569
34570 2012-08-27 Joseph Myers <joseph@codesourcery.com>
34571
34572 * sysdeps/unix/sysv/linux/kernel-features.h
34573 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
34574 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
34575 Remove conditional code.
34576 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
34577 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
34578 Remove conditional code.
34579 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
34580 * sysdeps/unix/sysv/linux/i386/fxstat.c
34581 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
34582 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
34583 * sysdeps/unix/sysv/linux/i386/fxstatat.c
34584 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
34585 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
34586 * sysdeps/unix/sysv/linux/i386/lxstat.c
34587 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
34588 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
34589 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
34590 Remove conditional code.
34591 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
34592 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
34593 Remove conditional code.
34594 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
34595 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
34596 <kernel-features.h>.
34597 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
34598 Remove.
34599 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
34600 Remove conditional code.
34601 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
34602 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
34603 Remove conditional.
34604
34605 2012-08-27 Mike Frysinger <vapier@gentoo.org>
34606
34607 [BZ #5400]
34608 * NEWS: Add fixed bug number.
34609
34610 2012-08-27 Joseph Myers <joseph@codesourcery.com>
34611
34612 [BZ #14519]
34613 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
34614 underflowing exponent in case of negative sign.
34615 * stdlib/tst-strtod-round-data: Add more tests.
34616 * stdlib/tst-strtod-round.c (tests): Regenerated.
34617
34618 [BZ #3479]
34619 * stdlib/strtod_l.c (NDIG): Remove.
34620 (HEXNDIG): Likewise.
34621 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
34622 smallest representable value.
34623 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
34624 lie within an exact representation of 1/2 ulp of the result.
34625 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
34626 unconditionally.
34627 (TENS_P9_IDX): Define unconditionally.
34628 (TENS_P9_SIZE): Likewise.
34629 (TENS_P10_IDX): Likewise.
34630 (TENS_P10_SIZE): Likewise.
34631 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
34632 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
34633 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
34634 entries for 10^2^13 and 10^2^14.
34635 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
34636 (TENS_P13_IDX): Define.
34637 (TENS_P13_SIZE): Likewise.
34638 (TENS_P14_IDX): Likewise.
34639 (TENS_P14_SIZE): Likewise.
34640 (_fpioconst_pow10): Change array size to
34641 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
34642 unconditional.
34643 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
34644 1024]: Add entries for 10^2^13 and 10^2^14.
34645 [LAST_POW10 > _LAST_POW10]: Remove #error.
34646 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
34647 (_fpioconst_pow10): Change array size to
34648 FPIOCONST_POW10_ARRAY_SIZE.
34649 * stdlib/gen-fpioconst.c: New file.
34650 * stdlib/gen-tst-strtod-round.c: Likewise.
34651 * stdlib/tst-strtod-round-data: Likewise.
34652 * stdlib/tst-strtod-round.c: Likewise.
34653 * stdlib/Makefile (tests): Add tst-strtod-round.
34654
34655 [BZ #14459]
34656 * stdlib/strtod_l.c: Include <stdint.h>.
34657 (NDEBUG): Do not define.
34658 (round_and_return): Change EXPONENT parameter to type intmax_t.
34659 Rearrange calculations to avoid internal overflow possibilities.
34660 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
34661 Rearrange calculations to avoid internal overflow possibilities.
34662 Assert that number fits inside MPNSIZE limbs.
34663 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
34664 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
34665 calculations and add assertions to avoid internal overflow
34666 possibilities. Add casts to avoid signed/unsigned operations.
34667 * stdlib/tst-strtod-overflow.c: New file.
34668 * stdlib/Makefile (tests): Add tst-strtod-overflow.
34669
34670 2012-08-25 Marek Polacek <polacek@redhat.com>
34671
34672 * time/time.h: Fix some typos in comments.
34673
34674 2012-08-23 Roland McGrath <roland@hack.frob.com>
34675
34676 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
34677 * posix/tst-rfc3484-2.c: Likewise.
34678 * posix/tst-rfc3484-3.c: Likewise.
34679
34680 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
34681
34682 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
34683 (EF_ARM_ABI_FLOAT_HARD): Likewise.
34684
34685 2012-08-23 Joseph Myers <joseph@codesourcery.com>
34686
34687 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
34688 #include of fxstatat64.c.
34689
34690 2012-08-22 Roland McGrath <roland@hack.frob.com>
34691
34692 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
34693 * shadow/getspent_r.c: Likewise.
34694 * shadow/getspnam.c: Likewise.
34695 * shadow/getspnam_r.c: Likewise.
34696 * gshadow/getsgent.c: Likewise.
34697 * gshadow/getsgent_r.c: Likewise.
34698 * gshadow/getsgnam.c: Likewise.
34699 * gshadow/getsgnam_r.c: Likewise.
34700 * inet/getnetbyad.c: Likewise.
34701 * inet/getnetbyad_r.c: Likewise.
34702 * inet/getnetbynm.c: Likewise.
34703 * inet/getnetbynm_r.c: Likewise.
34704 * inet/getnetent.c: Likewise.
34705 * inet/getnetent_r.c: Likewise.
34706 * inet/getproto.c: Likewise.
34707 * inet/getproto_r.c: Likewise.
34708 * inet/getprtent.c: Likewise.
34709 * inet/getprtent_r.c: Likewise.
34710 * inet/getprtname.c: Likewise.
34711 * inet/getprtname_r.c: Likewise.
34712 * inet/getrpcbyname.c: Likewise.
34713 * inet/getrpcbyname_r.c: Likewise.
34714 * inet/getrpcbynumber.c: Likewise.
34715 * inet/getrpcbynumber_r.c: Likewise.
34716 * inet/getrpcent.c: Likewise.
34717 * inet/getrpcent_r.c: Likewise.
34718 * inet/getaliasent.c: Likewise.
34719 * inet/getaliasent_r.c: Likewise.
34720 * inet/getaliasname.c: Likewise.
34721 * inet/getaliasname_r.c: Likewise.
34722 * nscd/getgrgid_r.c: Likewise.
34723 * nscd/getgrnam_r.c: Likewise.
34724 * nscd/gethstbyad_r.c: Likewise.
34725 * nscd/gethstbynm3_r.c: Likewise.
34726 * nscd/getpwnam_r.c: Likewise.
34727 * nscd/getpwuid_r.c: Likewise.
34728 * nscd/getsrvbynm_r.c: Likewise.
34729 * nscd/getsrvbypt_r.c: Likewise.
34730 * nscd/gai.c: Likewise.
34731
34732 * configure.in (build_nscd): New substituted variable, set
34733 by --disable-build-nscd and defaults to $use_nscd.
34734 * configure: Regenerated.
34735 * config.make.in (build-nscd): New substituted variable.
34736 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
34737 Change conditional to require [$(build-nscd) = yes] as well.
34738 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
34739
34740 [BZ# 13696]
34741 * configure.in (use_nscd): New substituted variable, set by
34742 --disable-nscd. If enabled, define USE_NSCD.
34743 * configure: Regenerated.
34744 * config.h.in: Add USE_NSCD.
34745 * config.make.in (use-nscd): New substituted variable.
34746 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
34747 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
34748 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
34749 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
34750 (CFLAGS-getgrnam_r.c): Likewise.
34751 (CFLAGS-initgroups.c): Likewise.
34752 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
34753 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
34754 Variables removed.
34755 * inet/getnetgrent_r.c
34756 (nscd_setnetgrent): New function, broken out of ...
34757 (setnetgrent): ... here. Call it.
34758 (innetgr): Conditionalize nscd bits on [USE_NSCD].
34759 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
34760 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
34761 * nscd/Makefile (routines, aux): Move definitions after include of
34762 Makeconfig. Conditionalize on [$(use-nscd) != no].
34763 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
34764 Conditionalize on [USE_NSCD].
34765 (is_nscd, nscd_init_cb): Likewise.
34766 (nss_load_library): Conditionalize init callback on [USE_NSCD].
34767 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
34768 * nss/nss_db/db-init.c: Likewise.
34769 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
34770 [USE_NSCD].
34771 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
34772 (make_request): Use it.
34773 (cache_valid_p): New function.
34774 (__check_pf): Use it.
34775 * NEWS: Add item for --disable-nscd.
34776
34777 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
34778
34779 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
34780 to support sed >= 4.2.1-20-ga9bf076.
34781 * configure: Regenerated.
34782
34783 2012-08-22 Roland McGrath <roland@hack.frob.com>
34784
34785 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
34786 Conditionalize whole body on [IREL].
34787
34788 2012-08-22 Jeff Law <law@redhat.com>
34789
34790 [BZ #14505]
34791 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
34792 if the family is PF_UNSPEC.
34793
34794 2012-08-22 Mike Frysinger <vapier@gentoo.org>
34795
34796 * Makerules (lib-version): Rename from V.
34797 (install-lib-nosubdir): Change V to lib-version.
34798
34799 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
34800
34801 [BZ #14252]
34802 * powerpc32/power6/wcschr.c: New file.
34803 * powerpc32/power6/wcscpy.c: New file.
34804 * powerpc32/power6/wcsrchr.c: New file.
34805 * powerpc64/power6/wcschr.c: New file.
34806 * powerpc64/power6/wcscpy.c: New file.
34807 * powerpc64/power6/wcsrchr.c: New file.
34808
34809 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
34810
34811 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
34812 (two_way_short_needle): Use it.
34813 * string/strstr.c (AVAILABLE1_USES_J): Define.
34814 * string/strcasestr.c: Likewise.
34815
34816 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
34817 array references.
34818 * string/strcasestr.c (TOLOWER): Make side-effect safe.
34819
34820 [BZ #11607]
34821 * NEWS: Add an entry.
34822 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
34823 define their defaults.
34824 (two_way_short_needle): Detect end-of-string on-the-fly.
34825 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
34826 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
34827 * string/bug-strcasestr1.c: New test.
34828 * string/Makefile: Run it.
34829
34830 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
34831
34832 [BZ #11607]
34833 * string/str-two-way.h (two_way_short_needle): Optimize matching of
34834 the first character.
34835
34836 2012-08-21 Roland McGrath <roland@hack.frob.com>
34837
34838 * csu/elf-init.c (__libc_csu_irel): Function removed.
34839 * csu/libc-start.c (apply_irel): New function.
34840 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
34841
34842 2012-08-21 Joseph Myers <joseph@codesourcery.com>
34843
34844 * sysdeps/unix/sysv/linux/kernel-features.h
34845 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
34846 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
34847 <kernel-features.h>.
34848 [__NR_fadvise64_64]: Make code unconditional.
34849 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
34850 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
34851 !__NR_fadvise64_64)]: Likewise.
34852 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
34853 !__NR_fadvise64_64))]: Likewise.
34854 [__NR_fadvise64]: Make code unconditional.
34855 [!__NR_fadvise64]: Remove conditional code.
34856 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
34857 <kernel-features.h>.
34858 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
34859 unconditional.
34860 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
34861 conditional code.
34862 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
34863 not include <kernel-features.h>.
34864 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
34865 unconditional.
34866 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
34867 conditional code.
34868 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
34869 include <kernel-features.h>.
34870 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
34871 unconditional.
34872 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
34873 conditional code.
34874
34875 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
34876
34877 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
34878 slight instruction rearrangements per scrollpipe analysis.
34879 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
34880
34881 2012-08-20 Roland McGrath <roland@hack.frob.com>
34882
34883 * manual/syslog.texi (syslog; vsyslog, closelog):
34884 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
34885 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
34886
34887 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
34888 DSOCAPS to match condition on defining it.
34889
34890 2012-08-20 Joseph Myers <joseph@codesourcery.com>
34891
34892 * sysdeps/unix/sysv/linux/kernel-features.h
34893 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
34894 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
34895 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
34896 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
34897 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
34898 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
34899 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
34900 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
34901 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
34902 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
34903
34904 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
34905 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
34906
34907 * sysdeps/unix/sysv/linux/kernel-features.h
34908 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
34909 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
34910 unconditional.
34911 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
34912 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
34913 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
34914 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
34915 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
34916 Make code unconditional.
34917 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
34918 (__mmap64) [!__NR_mmap2]: Likewise.
34919 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
34920 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
34921 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
34922 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
34923 [__NR_mmap2]: Make code unconditional.
34924 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
34925 (__mmap64) [!__NR_mmap2]: Likewise.
34926
34927 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34928
34929 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
34930
34931 2012-08-18 Andreas Jaeger <aj@suse.de>
34932
34933 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
34934
34935 2012-08-18 Mike Frysinger <vapier@gentoo.org>
34936
34937 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
34938 * include/unistd.h (__have_sock_cloexec): Likewise.
34939 (__have_pipe2): Likewise.
34940 (__have_dup3): Likewise.
34941
34942 2012-08-18 Mike Frysinger <vapier@gentoo.org>
34943
34944 [BZ #9685]
34945 * include/unistd.h (__have_pipe2): Change define into an extern int.
34946 (__have_dup3): Likewise.
34947 * socket/have_sock_cloexec.c: Include fcntl.h.
34948 (__have_pipe2): New variable.
34949 (__have_dup3): Likewise.
34950
34951 2012-08-17 Mike Frysinger <vapier@gentoo.org>
34952
34953 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
34954
34955 2012-08-17 Marek Polacek <polacek@redhat.com>
34956
34957 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
34958 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
34959
34960 2012-08-17 Roland McGrath <roland@hack.frob.com>
34961
34962 * configure.in: Add AC_SUBST for sysheaders.
34963 * configure: Regenerated.
34964 * config.make.in (sysheaders): New substituted variable.
34965
34966 * sysdeps/unix/mkfifo.c: Moved ...
34967 * sysdeps/posix/mkfifo.c: ... here.
34968 * sysdeps/unix/mkfifoat.c: Moved ...
34969 * sysdeps/posix/mkfifoat.c: ... here.
34970
34971 * sysdeps/unix/utime.c: Moved ...
34972 * sysdeps/posix/utime.c: ... here.
34973
34974 * sysdeps/unix/time.c: Moved ...
34975 * sysdeps/posix/time.c: ... here.
34976 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
34977 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
34978
34979 * sysdeps/unix/nice.c: Moved ...
34980 * sysdeps/posix/nice.c: ... here.
34981
34982 * sysdeps/unix/alarm.c: Moved ...
34983 * sysdeps/posix/alarm.c: ... here.
34984
34985 * intl/Makefile ($(codeset_mo)): Depend on the input file.
34986
34987 2012-08-17 Jeff Law <law@redhat.com>
34988
34989 * intl/Makefile (codeset_mo): New variable.
34990 ($(codeset_mo)): New target.
34991 (tst-codeset.out): Depend on that. Remove explicit rule.
34992 (tst-gettext3.out, tst-gettext5.out): Likewise.
34993 (LOCPATH-ENV, tst-codeset-ENV): New variables.
34994 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
34995 * intl/tst-codeset.sh: Remove.
34996 * intl/tst-gettext3.sh: Likewise.
34997 * intl/tst-gettext5.sh: Likewise.
34998
34999 2012-08-17 Roland McGrath <roland@hack.frob.com>
35000
35001 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
35002 * sysdeps/unix/syscalls.list: ... here.
35003
35004 * sysdeps/posix/getaddrinfo.c
35005 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
35006 (gaiconf_init, gaiconf_reload): Use them.
35007 [!_STATBUF_ST_NSEC]
35008 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
35009 Define using time_t rather than struct timespec.
35010
35011 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
35012 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
35013 Macros removed.
35014 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
35015 [!NO_THREADS].
35016 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
35017 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
35018 Likewise.
35019
35020 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
35021 __libc_cleanup_push argument.
35022
35023 * bits/param.h: New file.
35024 * misc/sys/param.h: New file.
35025 * include/sys/param.h: New file.
35026 * misc/Makefile (headers): Add bits/param.h.
35027 * sysdeps/generic/sys/param.h: File removed.
35028 * sysdeps/unix/sysv/linux/bits/param.h: New file.
35029 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
35030 * sysdeps/mach/hurd/bits/param.h: New file.
35031 * sysdeps/mach/hurd/sys/param.h: File removed.
35032
35033 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
35034 last change.
35035
35036 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
35037 [_IO_MTSAFE_IO].
35038 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
35039 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
35040 New macros.
35041
35042 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
35043 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
35044 rather than -D_IO_MTSAFE_IO conditionally.
35045 * stdio-common/Makefile (CPPFLAGS): Likewise.
35046 * wcsmbs/Makefile (CPPFLAGS): Likewise.
35047 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
35048 Use $(libio-mtsafe).
35049 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
35050 of -D_IO_MTSAFE_IO.
35051 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
35052 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
35053 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
35054 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
35055 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
35056 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
35057 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
35058 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
35059 (CFLAGS-fread_u_chk.c): Likewise.
35060 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
35061 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
35062 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
35063 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
35064 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
35065 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
35066 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
35067 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
35068 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
35069
35070 * libio/Makefile: Test [$(libc-reentrant) = yes]
35071 instead of [$(filter %REENTRANT, $(defines)) nonempty].
35072
35073 * Makeconfig
35074 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
35075 * sysdeps/pthread/configure: File removed.
35076 * sysdeps/pthread/Makeconfig: New file.
35077 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
35078 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
35079
35080 2012-08-16 Gary Benson <gbenson@redhat.com>
35081
35082 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
35083 unmapping the first object in a namespace.
35084
35085 2012-08-16 Roland McGrath <roland@hack.frob.com>
35086
35087 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
35088 (__internal_setnetgrent): ... this. Add internal_function to
35089 definition. Add libc_hidden_def.
35090 (setnetgrent): Update caller.
35091 (internal_endnetgrent): Renamed to ...
35092 (__internal_endnetgrent): ... this. Add internal_function to
35093 definition. Add libc_hidden_def.
35094 (endnetgrent): Update caller.
35095 (internal_getnetgrent_r): Renamed to ...
35096 (__internal_getnetgrent_r): ... this. Add internal_function to
35097 definition. Add libc_hidden_def.
35098 (__getnetgrent_r): Update caller.
35099 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
35100
35101 2012-08-16 Joseph Myers <joseph@codesourcery.com>
35102
35103 * stdlib/longlong.h: Update from GCC.
35104
35105 2012-08-16 Roland McGrath <roland@hack.frob.com>
35106
35107 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
35108 on _QL, which is set by umul_ppmm but never used.
35109 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
35110 variables, which are set by GMP macros but never used.
35111 * stdio-common/_itowa.c (_itowa): Likewise.
35112 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
35113 * stdlib/mod_1.c (mpn_mod_1): Likewise.
35114
35115 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
35116
35117 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
35118 struct La_sh_regs is not constant.
35119 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
35120 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
35121 and struct La_sparc64_regs are not constant.
35122
35123 2012-08-16 Joseph Myers <joseph@codesourcery.com>
35124
35125 * sysdeps/unix/sysv/linux/kernel-features.h
35126 (__ASSUME_POSIX_TIMERS): Remove.
35127 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
35128 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
35129 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
35130 Make code unconditional.
35131 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
35132 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
35133 Make code unconditional.
35134 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
35135 * sysdeps/unix/sysv/linux/clock_nanosleep.c
35136 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
35137 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
35138 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
35139 Make code unconditional.
35140 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
35141 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
35142 (__libc_missing_posix_timers): Remove.
35143
35144 2012-08-15 Roland McGrath <roland@hack.frob.com>
35145
35146 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
35147 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
35148
35149 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
35150
35151 * elf/dl-sym.c: Include <stdlib.h>.
35152
35153 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
35154 constants, which avoids warnings in 32-bit builds.
35155
35156 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
35157 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
35158
35159 * misc/lseek.c: File moved to ...
35160 * io/lseek.c: ... here.
35161
35162 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
35163
35164 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
35165 shifting LEN more than 31 bits at once.
35166
35167 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35168
35169 [BZ #14195]
35170 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
35171 segmentation fault for a case of two empty input strings.
35172 * string/test-strncasecmp.c (check1): Renamed to...
35173 (bz12205): ...this.
35174 (bz14195): Add new testcase for two empty input strings and N > 0.
35175 (test_main): Call new testcase, adapt for renamed function.
35176
35177 2012-08-15 Andreas Jaeger <aj@suse.de>
35178
35179 [BZ #14090]
35180 * crypt/md5test2.c: New test, based on test supplied by Serge
35181 Belyshev <belyshev@depni.sinp.msu.ru>.
35182 * crypt/Makefile (xtests): Add md5test-giant..
35183 * crypt/Makefile ($(objpfx)md5test-giant): Add.
35184
35185 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
35186
35187 [BZ #14090]
35188 * crypt/md5.c (md5_process_block): Don't assume the buffer
35189 length is less than 2**32.
35190 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
35191 length is less than 2**64.
35192
35193 2012-08-15 Roland McGrath <roland@hack.frob.com>
35194
35195 * string/str-two-way.h: Include <sys/param.h>.
35196 (MAX): Macro removed.
35197
35198 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
35199 Move #define and #undef of memmove to just before and after
35200 including <string.h>.
35201
35202 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
35203 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
35204 and after including <string.h>. Move declarations of
35205 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
35206 to before #include "string/memmove.c".
35207
35208 * include/dirent.h: Declare __getdirentries.
35209
35210 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
35211 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
35212
35213 2012-08-14 Mike Frysinger <vapier@gentoo.org>
35214
35215 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
35216 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
35217 * sysdeps/i386/configure: Regenerated.
35218 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
35219 STABS_CURRENT_FILE, and STABS_FUN.
35220 (END): Remove call to STABS_FUN_END.
35221 (STABS_CURRENT_FILE1): Delete.
35222 (STABS_CURRENT_FILE): Likewise.
35223 (STABS_FUN): Likewise.
35224 (STABS_FUN_END): Likewise.
35225 (STABS_FUN2): Likewise.
35226 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
35227 * sysdeps/x86_64/configure: Regenerated.
35228
35229 2012-08-14 Roland McGrath <roland@hack.frob.com>
35230
35231 * elf/dl-open.c: Include <atomic.h>.
35232 * elf/dl-lookup.c: Likewise.
35233
35234 2012-08-14 Joseph Myers <joseph@codesourcery.com>
35235
35236 * sysdeps/unix/sysv/linux/kernel-features.h
35237 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
35238 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
35239 unconditionally.
35240 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
35241 unconditionally.
35242 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
35243 condition on __ASSUME_CLONE_THREAD_FLAGS.
35244
35245 2012-08-14 Andreas Jaeger <aj@suse.de>
35246
35247 * sysdeps/i386/fpu/libm-test-ulps: Update.
35248
35249 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
35250
35251 * include/atomic.h (atomic_exchange_and_add): Split into ...
35252 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
35253 New atomic macros.
35254
35255 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
35256
35257 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35258
35259 2012-08-13 Jeff Law <law@redhat.com>
35260
35261 * manual/stdio.texi (snprintf): Clarify handling of the trailing
35262 null byte in the output string.
35263
35264 2012-08-10 Joseph Myers <joseph@codesourcery.com>
35265
35266 * sysdeps/unix/sysv/linux/kernel-features.h
35267 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
35268 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
35269 (__ASSUME_ARG_MAX_STACK_BASED): Define.
35270 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
35271 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
35272 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
35273 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
35274
35275 2012-08-09 Jeff Law <law@redhat.com>
35276
35277 [BZ #13939]
35278 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
35279 When avoid_arena is set, don't retry in the that arena. Pick the
35280 next one, whatever it might be.
35281 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
35282 (arena_lock): Pass in new parameter to arena_get2.
35283 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
35284 arena_get2.
35285 (__libc_malloc): Unify retrying after main arena failure with
35286 __libc_memalign version.
35287 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
35288
35289 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
35290
35291 [BZ #14166]
35292 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
35293 to __redirect_strstr.
35294 (__strstr_sse42): Use typeof __redirect_strstr.
35295 (__strstr_ia32): Likewise.
35296 (__libc_strstr): New prototype.
35297 (strstr): Renamed to ...
35298 (__libc_strstr): This.
35299 (strstr): New strong alias of __libc_strstr.
35300 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
35301 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
35302 __redirect_time.
35303 Include <time.h>.
35304 (__libc_time): New prototype.
35305 (time_ifunc): Replace time with __libc_time.
35306 (time): New strong alias and hidden definition of __libc_time.
35307 (__GI_time): Remove strong alias.
35308 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
35309 Include <stddef.h>.
35310 (memmove): Redefined to __redirect_memmove.
35311 (__memmove_sse2): Use typeof __redirect_memmove.
35312 (__memmove_ssse3): Likewise.
35313 (__memmove_ssse3_back): Likewise.
35314 (__libc_memmove): New prototype.
35315 (memmove): Renamed to ...
35316 (__libc_memmove): This.
35317 (memmove): New strong alias of __libc_memmove.
35318
35319 2012-08-08 Mark Salter <msalter@redhat.com>
35320
35321 * elf/elf.h
35322 (R_MN10300_TLS_GD): Define.
35323 (R_MN10300_TLS_LD): Likewise.
35324 (R_MN10300_TLS_LDO): Likewise.
35325 (R_MN10300_TLS_GOTIE): Likewise.
35326 (R_MN10300_TLS_IE): Likewise.
35327 (R_MN10300_TLS_LE): Likewise.
35328 (R_MN10300_TLS_DTPMOD): Likewise.
35329 (R_MN10300_TLS_DTPOFF): Likewise.
35330 (R_MN10300_TLS_TPOFF): Likewise.
35331 (R_MN10300_SYM_DIFF): Likewise.
35332 (R_MN10300_ALIGN): Likewise.
35333 (R_MN10300_NUM): Update.
35334
35335 2012-08-08 Joseph Myers <joseph@codesourcery.com>
35336
35337 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
35338 Remove.
35339
35340 2012-08-08 Roland McGrath <roland@hack.frob.com>
35341
35342 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
35343
35344 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
35345 sysdeps/unix -> sysdeps/posix move.
35346 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
35347
35348 2012-08-07 Allan McRae <allan@archlinux.org>
35349
35350 [BZ #14303]
35351 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
35352 (SUNOS_CPP): Likewise.
35353 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
35354 not found.
35355 (open_input): Call CPP using execvp.
35356
35357 2012-08-07 Joseph Myers <joseph@codesourcery.com>
35358
35359 * sysdeps/unix/sysv/linux/kernel-features.h
35360 (__ASSUME_PROT_GROWSUPDOWN): Remove.
35361 (__ASSUME_NO_CLONE_DETACHED): Likewise.
35362 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
35363 (__ASSUME_WAITID_SYSCALL): Likewise.
35364 * sysdeps/unix/sysv/linux/dl-execstack.c
35365 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
35366 code unconditional.
35367 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
35368 conditional code.
35369 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
35370 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
35371 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
35372 code.
35373 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
35374 unconditional.
35375 [__ASSUME_WAITID_SYSCALL]: Likewise.
35376 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
35377
35378 2012-08-07 Roland McGrath <roland@hack.frob.com>
35379
35380 * sysdeps/unix/closedir.c: Renamed to ...
35381 * sysdeps/posix/closedir.c: ... here.
35382 * sysdeps/unix/dirfd.c: Renamed to ...
35383 * sysdeps/posix/dirfd.c: ... here.
35384 * sysdeps/unix/dirstream.h: Renamed to ...
35385 * sysdeps/posix/dirstream.h: ... here.
35386 * sysdeps/unix/fdopendir.c: Renamed to ...
35387 * sysdeps/posix/fdopendir.c: ... here.
35388 * sysdeps/unix/opendir.c: Renamed to ...
35389 * sysdeps/posix/opendir.c: ... here.
35390 * sysdeps/unix/readdir.c: Renamed to ...
35391 * sysdeps/posix/readdir.c: ... here.
35392 * sysdeps/unix/readdir_r.c: Renamed to ...
35393 * sysdeps/posix/readdir_r.c: ... here.
35394 * sysdeps/unix/rewinddir.c: Renamed to ...
35395 * sysdeps/posix/rewinddir.c: ... here.
35396 * sysdeps/unix/seekdir.c: Renamed to ...
35397 * sysdeps/posix/seekdir.c: ... here.
35398 * sysdeps/unix/telldir.c: Renamed to ...
35399 * sysdeps/posix/telldir.c: ... here.
35400 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
35401 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
35402 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
35403 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
35404
35405 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
35406 * bits/fcntl.h: ... here.
35407
35408 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
35409 not 0.
35410 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
35411 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
35412 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
35413 (struct flock): Move l_start, l_len to the beginning.
35414 Use __pid_t for l_pid.
35415 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
35416 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
35417 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
35418 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
35419 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
35420 [__USE_LARGEFILE64] (struct flock64): New type.
35421 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
35422
35423 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
35424 * bits/dirent.h: ... here.
35425
35426 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
35427 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
35428
35429 2012-08-07 Joseph Myers <joseph@codesourcery.com>
35430
35431 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
35432 Change from 2.6.0 to 2.6.16.
35433 * sysdeps/unix/sysv/linux/configure: Regenerated.
35434 * sysdeps/unix/sysv/linux/kernel-features.h
35435 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
35436 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
35437 version.
35438 (__ASSUME_UTIMES): Likewise.
35439 (__ASSUME_CLONE_STOPPED): Remove.
35440 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
35441 architectures, not kernel version.
35442 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
35443 (__ASSUME_NO_CLONE_DETACHED): Likewise.
35444 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
35445 (__ASSUME_WAITID_SYSCALL): Likewise.
35446 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
35447 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
35448 * README: State 2.6.16 as minimum Linux kernel version. Do not
35449 refer to older versions.
35450
35451 2012-08-06 Roland McGrath <roland@hack.frob.com>
35452
35453 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
35454 Define alphasort64 as an alias.
35455 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
35456 Define versionsort64 as an alias.
35457 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
35458 Define scandir64 as an alias.
35459 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
35460 Define scandirat64 as an alias.
35461 * dirent/alphasort64.c (alphasort64):
35462 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
35463 * dirent/versionsort64.c: Likewise.
35464 * dirent/scandir64.c: Likewise.
35465 * dirent/scandirat64.c: Likewise.
35466 * sysdeps/wordsize-64/alphasort.c: File removed.
35467 * sysdeps/wordsize-64/alphasort64.c: File removed.
35468 * sysdeps/wordsize-64/scandir.c: File removed.
35469 * sysdeps/wordsize-64/scandir64.c: File removed.
35470 * sysdeps/wordsize-64/scandirat.c: File removed.
35471 * sysdeps/wordsize-64/scandirat64.c: File removed.
35472 * sysdeps/wordsize-64/versionsort.c: File removed.
35473 * sysdeps/wordsize-64/versionsort64.c: File removed.
35474 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
35475 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
35476 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
35477 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
35478 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
35479 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
35480 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
35481 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
35482
35483 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
35484 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
35485 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
35486 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
35487 [defined __arch64__ || defined __sparcv9]
35488 (__INO_T_MATCHES_INO64_T): New macro.
35489 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
35490 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
35491 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
35492 * sysdeps/unix/sysv/linux/bits/dirent.h
35493 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
35494 (_DIRENT_MATCHES_DIRENT64): New macro.
35495
35496 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
35497 Define lockf64 as an alias.
35498 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
35499 Define fseeko64 as an alias.
35500 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
35501 Define ftello64 as an alias.
35502 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
35503 Define _IO_fgetpos64 and fgetpos64 as aliases.
35504 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
35505 Define _IO_fsetpos64 and fsetpos64 as aliases.
35506 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
35507 Conditionalize body on this.
35508 * libio/fseeko64.c: Likewise.
35509 * libio/ftello64.c: Likewise.
35510 * libio/iofgetpos64.c: Likewise.
35511 * libio/iofsetpos64.c: Likewise.
35512 * sysdeps/wordsize-64/lockf.c: File removed.
35513 * sysdeps/wordsize-64/lockf64.c: File removed.
35514 * sysdeps/wordsize-64/fseeko.c: File removed.
35515 * sysdeps/wordsize-64/fseeko64.c: File removed.
35516 * sysdeps/wordsize-64/ftello.c: File removed.
35517 * sysdeps/wordsize-64/ftello64.c: File removed.
35518 * sysdeps/wordsize-64/iofgetpos.c: File removed.
35519 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
35520 * sysdeps/wordsize-64/iofsetpos.c: File removed.
35521 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
35522 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
35523 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
35524 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
35525 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
35526 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
35527 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
35528 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
35529 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
35530 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
35531 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
35532
35533 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
35534 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
35535 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
35536 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
35537 [defined __arch64__ || defined __sparcv9]
35538 (__OFF_T_MATCHES_OFF64_T): New macro.
35539 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
35540 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
35541 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
35542 (__OFF_T_MATCHES_OFF64_T): New macro.
35543
35544 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
35545
35546 * stdlib/secure-getenv.c (__secure_getenv): Replace
35547 GLIBC_2_16 with GLIBC_2_17.
35548
35549 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
35550
35551 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
35552 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
35553
35554 2012-08-03 David S. Miller <davem@davemloft.net>
35555
35556 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35557
35558 2012-08-03 Joseph Myers <joseph@codesourcery.com>
35559
35560 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
35561 Remove.
35562 (__ASSUME_CORRECT_SI_PID): Likewise.
35563 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
35564 (__ASSUME_TMPFS_NAME): Likewise.
35565 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
35566 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
35567 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
35568 (HAVE_AUX_SECURE): Make definition unconditional.
35569 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
35570 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
35571
35572 2012-08-03 Roland McGrath <roland@hack.frob.com>
35573
35574 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
35575 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
35576 * sysdeps/mach/hurd/eloop-threshold.h: New file.
35577 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
35578 __eloop_threshold instead of SYMLOOP_MAX.
35579
35580 * sysdeps/generic/eloop-threshold.h: New file.
35581 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
35582 of MAXSYMLINKS.
35583 * elf/chroot_canon.c (chroot_canon): Likewise.
35584
35585 2012-08-03 Joseph Myers <joseph@codesourcery.com>
35586
35587 [BZ #13717]
35588 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
35589 Change to 2.6.0 everywhere.
35590 * sysdeps/unix/sysv/linux/configure: Regenerated.
35591 * sysdeps/unix/sysv/linux/kernel-features.h
35592 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
35593 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
35594 kernel versions.
35595 (__ASSUME_POSIX_TIMERS): Define unconditionally.
35596 (__ASSUME_FUTEX_REQUEUE): Remove.
35597 (__ASSUME_STATFS64): Define unconditionally.
35598 (__ASSUME_AT_SECURE): Likewise.
35599 (__ASSUME_CORRECT_SI_PID): Likewise.
35600 (__ASSUME_TGKILL): Define without depending on kernel version for
35601 i386.
35602 (__ASSUME_UTIMES): Likewise.
35603 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
35604 kernel version.
35605 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
35606 (__ASSUME_TMPFS_NAME): Likewise.
35607 * README: Update reference to Linux kernel versions.
35608
35609 2012-08-02 Marek Polacek <polacek@redhat.com>
35610
35611 [BZ# 14150]
35612 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
35613 libc_cv_asm_type_prefix with %.
35614 * configure: Regenerated.
35615 * include/libc-symbols.h: Remove comment about
35616 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
35617 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
35618 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
35619 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
35620 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
35621 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
35622 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
35623 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
35624 * elf/tst-unique2mod1.c: Likewise.
35625 * elf/tst-unique1mod2.c: Likewise.
35626 * elf/tst-unique1mod1.c: Likewise.
35627 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
35628 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
35629 Replace ASM_TYPE_DIRECTIVE with .type.
35630 * sysdeps/s390/s390-64/sysdep.h: Likewise.
35631 * sysdeps/i386/sysdep.h: Likewise.
35632 * sysdeps/x86_64/sysdep.h: Likewise.
35633 * sysdeps/sh/sysdep.h: Likewise.
35634 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
35635 Do not define ASM_TYPE_DIRECTIVE.
35636 * sysdeps/powerpc/sysdep.h: Likewise.
35637 * sysdeps/powerpc/powerpc32/sysdep.h:
35638 Replace ASM_TYPE_DIRECTIVE with .type.
35639 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
35640 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
35641 * sysdeps/i386/fpu/e_powf.S: Likewise.
35642 * sysdeps/i386/fpu/e_expl.S: Likewise.
35643 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
35644 * sysdeps/i386/fpu/e_acosh.S: Likewise.
35645 * sysdeps/i386/fpu/e_pow.S: Likewise.
35646 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
35647 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
35648 * sysdeps/i386/fpu/s_expm1.S: Likewise.
35649 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
35650 * sysdeps/i386/fpu/e_log2.S: Likewise.
35651 * sysdeps/i386/fpu/e_log2l.S: Likewise.
35652 * sysdeps/i386/fpu/e_scalb.S: Likewise.
35653 * sysdeps/i386/fpu/e_powl.S: Likewise.
35654 * sysdeps/i386/fpu/e_log10f.S: Likewise.
35655 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
35656 * sysdeps/i386/fpu/e_logl.S: Likewise.
35657 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
35658 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
35659 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
35660 * sysdeps/i386/fpu/e_log2f.S: Likewise.
35661 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
35662 * sysdeps/i386/fpu/e_log.S: Likewise.
35663 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
35664 * sysdeps/i386/fpu/e_logf.S: Likewise.
35665 * sysdeps/i386/fpu/e_log10l.S: Likewise.
35666 * sysdeps/i386/fpu/e_atanh.S: Likewise.
35667 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
35668 * sysdeps/i386/fpu/e_log10.S: Likewise.
35669 * sysdeps/i386/fpu/s_frexp.S: Likewise.
35670 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
35671 * sysdeps/i386/fpu/s_asinh.S: Likewise.
35672 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
35673 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
35674 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
35675 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
35676 * sysdeps/i386/i686/strtok.S: Likewise.
35677 * sysdeps/i386/i386-mcount.S: Likewise.
35678 * sysdeps/i386/strtok.S: Likewise.
35679 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
35680 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
35681 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
35682 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
35683 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
35684 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
35685 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
35686 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
35687 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
35688 * sysdeps/x86_64/_mcount.S: Likewise.
35689 * sysdeps/x86_64/strtok.S: Likewise.
35690 * sysdeps/sh/_mcount.S: Likewise.
35691
35692 2012-08-01 Roland McGrath <roland@hack.frob.com>
35693
35694 * libio/iofopen.c: Include <fcntl.h>.
35695 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
35696 (_IO_fopen64, fopen64): Define as aliases.
35697 * libio/iofopen64.c: Include <fcntl.h>.
35698 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
35699 Conditionalize body on this.
35700 * sysdeps/wordsize-64/iofopen.c: File removed.
35701 * sysdeps/wordsize-64/iofopen64.c: File removed.
35702
35703 2012-08-01 Marek Polacek <polacek@redhat.com>
35704
35705 * libc/Makeconfig: Use elf in place of binfmt-subdir.
35706 Use dlfcn directly instead of a variable.
35707 (binfmt-subdir): Do not define.
35708 (dlfcn): Likewise.
35709
35710 2012-08-01 Joseph Myers <joseph@codesourcery.com>
35711
35712 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
35713 Remove all definitions.
35714 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
35715 <kernel-features.h>.
35716 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
35717 (miss_F_GETOWN_EX): Remove all definitions.
35718 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
35719 macro definition.
35720 [!__ASSUME_FCNTL64]: Remove conditional code.
35721 [__ASSUME_FCNTL64]: Make code unconditional.
35722 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
35723 <kernel-features.h>.
35724 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
35725 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
35726 (lockf64) [__NR_fcntl64]: Make code unconditional.
35727 (lockf64) [__ASSUME_FCNTL64]: Likewise.
35728
35729 * sysdeps/unix/sysv/linux/kernel-features.h
35730 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
35731 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
35732 Make code unconditional.
35733 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
35734 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
35735 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
35736 [__NR_vfork]: Make code unconditional.
35737 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
35738 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
35739 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
35740 [__NR_vfork]: Make code unconditional.
35741 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
35742 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
35743
35744 2012-08-01 Roland McGrath <roland@hack.frob.com>
35745
35746 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
35747 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
35748
35749 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
35750 Define mkstemp64 as an alias.
35751 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
35752 Define mkstemps64 as an alias.
35753 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
35754 Define mkostemp64 as an alias.
35755 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
35756 Define mkostemps64 as an alias.
35757 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
35758 Conditionalize body on this.
35759 * misc/mkostemp64.c: Likewise.
35760 * misc/mkostemps64.c: Likewise.
35761 * misc/mkstemps64.c: Likewise.
35762 * sysdeps/wordsize-64/mkstemp64.c: File removed.
35763 * sysdeps/wordsize-64/mkostemp64.c: File removed.
35764 * sysdeps/wordsize-64/mkostemp.c: File removed.
35765 * sysdeps/wordsize-64/mkstemp.c: File removed.
35766 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
35767 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
35768 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
35769 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
35770
35771 [BZ #14138]
35772 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
35773 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
35774 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
35775 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
35776
35777 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
35778 compat_symbol macros from <shlib-compat.h> rather than the underlying
35779 default_symbol_version and symbol_version macros, so that DEFAULT
35780 lines in shlib-versions are respected.
35781 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
35782
35783 2012-08-01 Florian Weimer <fweimer@redhat.com>
35784
35785 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
35786 Declare with warn_unused_result.
35787 (setgid, setregid, setegid, setresgid): Likewise.
35788 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
35789 Likewise.
35790 * WUR-REPORT: Remove set*id functions.
35791
35792 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
35793
35794 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
35795
35796 2012-07-31 Roland McGrath <roland@hack.frob.com>
35797
35798 [BZ #10191]
35799 * include/sys/socket.h (__libc_accept, __libc_accept4):
35800 Add attribute_hidden.
35801 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
35802
35803 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
35804 use of PTR_MANGLE.
35805 * inet/getnetgrent_r.c (setup): Likewise.
35806
35807 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
35808
35809 2012-07-31 David S. Miller <davem@davemloft.net>
35810
35811 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35812
35813 2012-07-31 Joseph Myers <joseph@codesourcery.com>
35814
35815 [BZ #13629]
35816 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
35817 value between 1.0 and 2.0 and smaller part has absolute value less
35818 than 1.0.
35819 * math/s_clog10.c (__clog10): Likewise.
35820 * math/s_clog10f.c (__clog10f): Likewise.
35821 * math/s_clog10l.c (__clog10l): Likewise.
35822 * math/s_clogf.c (__clogf): Likewise.
35823 * math/s_clogl.c (__clogl): Likewise.
35824 * math/libm-test.inc (clog_test): Add more tests.
35825 (clog10_test): Likewise.
35826 * sysdeps/i386/fpu/libm-test-ulps: Update.
35827 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35828
35829 2012-07-31 Florian Weimer <fweimer@redhat.com>
35830
35831 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
35832 Exit with zero in case no suitable GID is found, and write a
35833 message to standard error.
35834
35835 2012-07-30 Roland McGrath <roland@hack.frob.com>
35836
35837 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
35838 rather than to 1.
35839 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
35840 (MAXPATHLEN): Removed.
35841 (NOGROUP, NODEV): New macros.
35842 (setbit, clrbit, isset, isclr): New macros.
35843 (howmany, roundup, powerof2): New macros.
35844 (DEV_BSIZE): New macro.
35845
35846 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
35847 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
35848
35849 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
35850 definition on [!__NO_LONG_DOUBLE_MATH].
35851
35852 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
35853 PTR_MANGLE and PTR_DEMANGLE.
35854
35855 * socket/accept4.c (accept4): Rename to __libc_accept4.
35856 Define accept4 as a weak alias.
35857
35858 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
35859 on [_DIRENT_HAVE_D_TYPE].
35860 * io/ftw.c (ftw_dir): Likewise.
35861
35862 * io/xmknod.c (__xmknod): Don't check PATH for being null.
35863
35864 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
35865
35866 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
35867 Use the BSD numbers rather than the arbitrary ones we had.
35868 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
35869 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
35870 (SIGXCPU, SIGXFSZ): New macros.
35871 (_NSIG): Now 32.
35872
35873 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
35874 initializer on [_LIBC_REENTRANT].
35875
35876 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
35877 definitions inside [_POSIX_MAPPED_FILES].
35878
35879 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
35880
35881 * dirent/opendir.c: Include <fcntl.h>.
35882
35883 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
35884 (__libc_getspecific): Likewise.
35885 (__libc_key_create): Likewise.
35886
35887 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
35888 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
35889 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
35890 (tmpfile64): Define as alias.
35891 * sysdeps/wordsize-64/tmpfile.c: File removed.
35892 * sysdeps/wordsize-64/tmpfile64.c: File removed.
35893 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
35894 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
35895
35896 * stdio-common/vfscanf.c: Include <stdbool.h>.
35897 * nss/makedb.c: Likewise.
35898 * stdio-common/_i18n_number.h: Likewise.
35899 * argp/argp-help.c: Likewise.
35900 * posix/wordexp.c: Likewise.
35901 * sysdeps/posix/spawni.c: Likewise.
35902 * nss/nss_files/files-initgroups.c: Likewise.
35903 * stdio-common/reg-modifier.c: Include <stdlib.h>.
35904 * nss/nss_files/files-initgroups.c: Likewise.
35905 * nss/nss_db/db-netgrp.c: Likewise.
35906 * nss/nss_db/db-initgroups.c: Likewise.
35907 * io/fchmodat.c: Include <sys/stat.h>.
35908
35909 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
35910 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
35911
35912 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
35913 [HAVE_MMAP].
35914
35915 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
35916 Add multiple inclusion protection.
35917
35918 2012-07-27 David S. Miller <davem@davemloft.net>
35919
35920 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35921
35922 2012-07-27 Gary Benson <gbenson@redhat.com>
35923
35924 [BZ #14298]
35925 * elf/rtld.c: Include <stap-probe.h>.
35926 (dl_main): Added static probes "init_start" and "init_complete".
35927 * elf/dl-load.c: Include <stap-probe.h>.
35928 (lose): Take new parameter "nsid".
35929 Added static probe "map_failed".
35930 (_dl_map_object_from_fd): Pass namespace id to lose.
35931 Added static probe "map_start".
35932 (open_verify): Pass namespace id to lose.
35933 * elf/dl-open.c: Include <stap-probe.h>.
35934 (dl_open_worker) Added static probes "map_complete", "reloc_start"
35935 and "reloc_complete".
35936 * elf/dl-close.c: Include <stap-probe.h>.
35937 (_dl_close_worker): Added static probes "unmap_start" and
35938 "unmap_complete".
35939 * elf/rtld-debugger-interface.txt: New file documenting the above.
35940
35941 2012-07-26 Roland McGrath <roland@hack.frob.com>
35942
35943 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
35944 rather than a string variable.
35945 * sunrpc/rpc_main.c (h_output): Likewise.
35946 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
35947
35948 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
35949
35950 * inet/check_native.c: New file.
35951
35952 2012-07-26 Joseph Myers <joseph@codesourcery.com>
35953
35954 [BZ #13629]
35955 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
35956 if larger part has absolute value 1.0.
35957 * math/s_clog10.c (__clog10): Likewise.
35958 * math/s_clog10f.c (__clog10f): Likewise.
35959 * math/s_clog10l.c (__clog10l): Likewise.
35960 * math/s_clogf.c (__clogf): Likewise.
35961 * math/s_clogl.c (__clogl): Likewise.
35962 * math/libm-test.inc (clog_test): Add more tests.
35963 (clog10_test): Likewise.
35964 * sysdeps/i386/fpu/libm-test-ulps: Update.
35965 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35966
35967 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
35968 (pltexit): Likewise.
35969 (La_regs): Likewise.
35970 (La_retval): Likewise.
35971 (int_retval): Likewise.
35972 Update #error for removed macros to refer only to definitions in
35973 tst-audit.h.
35974 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
35975 macro.
35976 (pltexit): Likewise.
35977 (La_regs): Likewise.
35978 (La_retval): Likewise.
35979 (int_retval): Likewise.
35980 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
35981 macro.
35982 (pltexit): Likewise.
35983 (La_regs): Likewise.
35984 (La_retval): Likewise.
35985 (int_retval): Likewise.
35986 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
35987 macro.
35988 (pltexit): Likewise.
35989 (La_regs): Likewise.
35990 (La_retval): Likewise.
35991 (int_retval): Likewise.
35992 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
35993 macro.
35994 (pltexit): Likewise.
35995 (La_regs): Likewise.
35996 (La_retval): Likewise.
35997 (int_retval): Likewise.
35998 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
35999 macro.
36000 (pltexit): Likewise.
36001 (La_regs): Likewise.
36002 (La_retval): Likewise.
36003 (int_retval): Likewise.
36004 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
36005 macro.
36006 (pltexit): Likewise.
36007 (La_regs): Likewise.
36008 (La_retval): Likewise.
36009 (int_retval): Likewise.
36010 * sysdeps/generic/tst-audit.h: Update comment to refer only to
36011 macro definitions in tst-audit.h.
36012 * sysdeps/i386/tst-audit.h: New file.
36013 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
36014 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
36015 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
36016 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
36017 * sysdeps/sh/tst-audit.h: Likewise.
36018 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
36019 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
36020 * sysdeps/x86_64/tst-audit.h: Likewise.
36021
36022 2012-07-26 Andreas Jaeger <aj@suse.de>
36023
36024 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
36025 ptrace.
36026
36027 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
36028 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
36029 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
36030 PTRACE_O_MASK.
36031 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
36032 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
36033 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
36034
36035 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
36036 value.
36037
36038 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
36039 _sigsys.
36040 (si_call_addr, si_syscall, si_arch): Define new macro.
36041 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
36042 _sigsys.
36043 (si_call_addr, si_syscall, si_arch): Define new marcro.
36044 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
36045 _sigsys.
36046 (si_call_addr, si_syscall, si_arch): Define new macro.
36047 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
36048 _sigsys.
36049 (si_call_addr, si_syscall, si_arch): Define new macro.
36050
36051 2012-07-25 Joseph Myers <joseph@codesourcery.com>
36052
36053 [BZ #13717]
36054 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
36055 Change to 2.4.21 where previously 2.4.1.
36056 * sysdeps/unix/sysv/linux/configure: Regenerated.
36057 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
36058 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
36059 Linux kernel version.
36060 (__ASSUME_STD_AUXV): Remove.
36061 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
36062 kernel version.
36063 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
36064 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
36065 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
36066 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
36067 (__ASSUME_NETLINK_SUPPORT): Likewise.
36068 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
36069 (__no_netlink_support): Remove conditional definition.
36070 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
36071 Remove.
36072 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
36073 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
36074 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
36075 (if_nameindex_ioctl): Remove.
36076 (if_nameindex_netlink): Do not handle __no_netlink_support.
36077 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
36078 code.
36079 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
36080 Remove conditional code.
36081 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
36082 code.
36083 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
36084 unconditional.
36085 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
36086 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
36087 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
36088 Remove.
36089 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
36090 [!__ASSUME_STD_AUXV]: Remove conditional code.
36091 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
36092 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
36093 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
36094 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
36095 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
36096 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
36097 code.
36098 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
36099 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
36100 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
36101 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
36102 conditional code.
36103 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
36104 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
36105 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
36106 code.
36107 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
36108 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
36109 conditional code.
36110 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
36111 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
36112 code unconditional.
36113 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
36114 conditional code.
36115 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
36116 unconditional.
36117 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
36118 conditional code.
36119 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
36120 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
36121 unconditional.
36122 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
36123 conditional code.
36124 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
36125 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
36126 code unconditional.
36127 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
36128 conditional code.
36129 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
36130 unconditional.
36131 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
36132 conditional code.
36133 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
36134 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
36135 code unconditional.
36136 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
36137 conditional code.
36138 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
36139 unconditional.
36140 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
36141 conditional code.
36142
36143 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
36144
36145 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
36146 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
36147 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
36148 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
36149 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
36150 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
36151 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
36152 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
36153 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
36154 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
36155 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
36156 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
36157 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
36158 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
36159 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
36160 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
36161 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
36162 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
36163 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
36164 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
36165 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
36166 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
36167 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
36168
36169 2012-07-25 Florian Weimer <fweimer@redhat.com>
36170
36171 * Versions.def: Add GLIBC_2.17.
36172 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
36173 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
36174 Introduce __libc_secure_getenv.
36175 * stdlib/Versions (2.17): Add secure_getenv
36176 (GLIBC_PRIVATE): Add __libc_secure_getenv.
36177 * stdlib/secure-getenv.c: Rename __secure_getenv to
36178 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
36179 symbol __secure_getenv for GLIBC_2.0.
36180 * stdlib/tst-secure-getenv.c: New.
36181 * stdlib/Makefile (tests): Add testcase.
36182 * manual/startup.texi (Environment Access): Document
36183 secure_getenv.
36184 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
36185 __libc_secure_getenv.
36186 * inet/ruserpass.c (ruserpass): Likewise.
36187 * malloc/mtrace.c (mtrace): Likewise.
36188 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
36189 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
36190 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
36191 * sysdeps/posix/tempname.c: Likewise. Evaluate
36192 HAVE_SECURE_GETENV.
36193 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
36194 __secure_getenv to __libc_secure_getenv.
36195 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
36196 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
36197 Likewise.
36198 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
36199 Likewise.
36200 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
36201 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
36202 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
36203 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
36204 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
36205 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
36206 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
36207
36208 2012-07-25 Joseph Myers <joseph@codesourcery.com>
36209
36210 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
36211 (struct La_i86_retval): Likewise.
36212 (struct La_x86_64_regs): Likewise.
36213 (struct La_x86_64_retval): Likewise.
36214 (struct La_x32_regs): Likewise.
36215 (struct La_x32_retval): Likewise.
36216 (struct La_ppc32_regs): Likewise.
36217 (struct La_ppc32_retval): Likewise.
36218 (struct La_ppc64_regs): Likewise.
36219 (struct La_ppc64_retval): Likewise.
36220 (struct La_sh_regs): Likewise.
36221 (struct La_sh_retval): Likewise.
36222 (struct La_s390_32_regs): Likewise.
36223 (struct La_s390_32_retval): Likewise.
36224 (struct La_s390_64_regs): Likewise.
36225 (struct La_s390_64_retval): Likewise.
36226 (struct La_sparc32_regs): Likewise.
36227 (struct La_sparc32_retval): Likewise.
36228 (struct La_sparc64_regs): Likewise.
36229 (struct La_sparc64_retval): Likewise.
36230 (struct audit_ifaces): Remove architecture-specific pltenter and
36231 pltexit members.
36232 * sysdeps/i386/ldsodefs.h: New file.
36233 * sysdeps/powerpc/ldsodefs.h: Likewise.
36234 * sysdeps/s390/ldsodefs.h: Likewise.
36235 * sysdeps/sh/ldsodefs.h: Likewise.
36236 * sysdeps/sparc/ldsodefs.h: Likewise.
36237 * sysdeps/x86_64/ldsodefs.h: Likewise.
36238
36239 2012-07-25 Marek Polacek <polacek@redhat.com>
36240
36241 [BZ #6808]
36242 * math/libm-test.inc (yn_test): Add another test.
36243 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
36244 to ERANGE when the result is +-Inf.
36245 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
36246 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
36247 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
36248 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
36249
36250 2012-07-24 Joseph Myers <joseph@codesourcery.com>
36251
36252 * conform/data/time.h-data (NULL): Use macro-constant. Require
36253 equal to 0.
36254 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
36255 clock_t.
36256 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
36257
36258 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
36259
36260 * configure.in <sysdeps resolving>: Correct printing
36261 Implies_before.
36262 * configure: Regenerate.
36263
36264 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
36265
36266 * math/w_ilogb.c: Include <limits.h>.
36267 * math/w_ilogbl.c: Likewise.
36268
36269 2012-07-20 Joseph Myers <joseph@codesourcery.com>
36270
36271 * manual/lang.texi (__va_copy): Document primarily as ISO C99
36272 va_copy. Document allowing for unavailable va_copy only as
36273 pre-C99 compatibility.
36274 * manual/string.texi (Copying and Concatenation): Use va_copy
36275 instead of __va_copy in concat example.
36276
36277 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
36278
36279 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
36280 (__sendto): Use create_address_port. Initialize APORT and deallocate
36281 it if not null.
36282
36283 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
36284 with O_NOLINK passed to __file_name_lookup.
36285
36286 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
36287 with O_NOLINK passed to __file_name_lookup.
36288
36289 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
36290 negative N or less than NGIDS.
36291
36292 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
36293 type to string_t. Set ERANGE as errno and return it if NAME is not big
36294 enough. Use memcpy instead of strncpy.
36295
36296 2012-07-20 Joseph Myers <joseph@codesourcery.com>
36297
36298 * elf/Makefile (check-data): Remove.
36299 (localplt.data): New vpath directive.
36300 ($(objpfx)check-localplt.out): Use localplt.data from vpath
36301 instead of $(check-data).
36302 * scripts/data/localplt-generic.data: Move to ...
36303 * sysdeps/generic/localplt.data: ... here.
36304 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
36305 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
36306 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
36307 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
36308 ... here.
36309 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
36310 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
36311 ... here.
36312 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
36313 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
36314 ... here.
36315 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
36316 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
36317 ... here.
36318 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
36319 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
36320 ... here.
36321 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
36322 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
36323 ... here.
36324
36325 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36326
36327 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
36328 PPC32 and PPC64 files.
36329 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
36330 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
36331
36332 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36333
36334 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
36335 __makecontext_ret to ...
36336 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
36337 ... here and call exit if uc_link is NULL. New file.
36338 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
36339 __makecontext_ret.S.
36340 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
36341 __makecontext_ret to ...
36342 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
36343 ... here and call exit if uc_link is NULL. New file.
36344 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
36345 __makecontext_ret.S.
36346
36347 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36348
36349 * elf/elf.h (R_390_IRELATIVE): New definition.
36350 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
36351 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
36352 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
36353 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
36354 (elf_machine_lazy_rel): Likewise.
36355 * sysdeps/s390/dl-irel.h: New file.
36356 * sysdeps/s390/s390-64/memcpy.S: New asm code.
36357 * sysdeps/s390/s390-64/memset.S: New asm code.
36358 * sysdeps/s390/s390-64/memcmp.S: New asm code.
36359 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
36360 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
36361 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
36362 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
36363 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
36364 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
36365 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
36366 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
36367 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
36368 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
36369 * sysdeps/s390/s390-32/memcpy.S: New asm code.
36370 * sysdeps/s390/s390-32/memset.S: New asm code.
36371 * sysdeps/s390/s390-32/memcmp.S: New asm code.
36372
36373 2012-07-17 Marek Polacek <polacek@redhat.com>
36374
36375 [BZ #14349]
36376 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
36377 * sysdeps/s390/s390-64/configure.in: Likewise.
36378 * sysdeps/sparc/configure.in: Likewise.
36379 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
36380 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
36381 * sysdeps/i386/configure.in: Likewise.
36382 * sysdeps/x86_64/configure.in: Likewise.
36383 * sysdeps/sh/configure.in: Likewise.
36384 * sysdeps/s390/s390-32/configure: Regenerated.
36385 * sysdeps/s390/s390-64/configure: Likewise.
36386 * sysdeps/x86_64/configure: Likewise.
36387 * sysdeps/sh/configure: Likewise.
36388 * sysdeps/powerpc/powerpc64/configure: Likewise.
36389 * sysdeps/powerpc/powerpc32/configure: Likewise.
36390 * sysdeps/sparc/configure: Likwise.
36391 * sysdeps/i386/configure: Likewise.
36392
36393 * elf/dl-open.c: Comment fixes.
36394
36395 2012-07-17 Joseph Myers <joseph@codesourcery.com>
36396
36397 * Makefile [CXX] (check-data): Remove.
36398 [CXX] (c++-types.data): New vpath directive.
36399 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
36400 vpath. Do not allow for C++ type data being missing.
36401 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
36402 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
36403 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
36404 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
36405 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
36406 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
36407 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
36408 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
36409 ... here.
36410 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
36411 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
36412 ... here.
36413 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
36414 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
36415 ... here.
36416 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
36417 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
36418 ... here.
36419 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
36420 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
36421 ... here.
36422 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
36423 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
36424 ... here.
36425 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
36426 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
36427 ... here.
36428 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
36429 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
36430
36431 * elf/tls-macros.h (TLS_LE): Move architecture-specific
36432 definitions to architecture-specific files.
36433 (TLS_IE): Likewise.
36434 (TLS_LD): Likewise.
36435 (TLS_GD): Likewise.
36436 * sysdeps/i386/tls-macros.h: New file.
36437 * sysdeps/powerpc/tls-macros.h: Likewise.
36438 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
36439 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
36440 * sysdeps/sh/tls-macros.h: Likewise.
36441 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
36442 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
36443 * sysdeps/x86_64/tls-macros.h: Likewise.
36444
36445 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
36446
36447 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
36448 zero value for regular exit case.
36449
36450 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
36451 (__start_context): Preserve zero value for regular exit case.
36452
36453 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
36454 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36455
36456 * manual/setjmp.texi (setcontext): Clarify normal process
36457 termination when uc_link is the null pointer.
36458 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
36459 exit call.
36460
36461 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
36462
36463 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
36464 preprocessor. Test for each exception mask separately.
36465
36466 2012-07-16 Andreas Jaeger <aj@suse.de>
36467
36468 * po/ru.po: Update from translation team.
36469
36470 2012-07-15 Joseph Myers <joseph@codesourcery.com>
36471
36472 * conform/data/string.h-data (NULL): Use macro-constant. Require
36473 equal to 0.
36474 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
36475 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
36476 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
36477 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
36478 [ISO || ISO99 || ISO11] (*_t): Do not allow.
36479
36480 2012-07-13 Andreas Jaeger <aj@suse.de>
36481
36482 * po/fr.po: Update from translation team.
36483
36484 2012-07-12 Marek Polacek <polacek@redhat.com>
36485
36486 [BZ #14173]
36487 * math/libm-test.inc (yn_test): Add test for BZ #14173.
36488 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
36489 loop condition.
36490
36491 2012-07-12 Joseph Myers <joseph@codesourcery.com>
36492
36493 [BZ #13717]
36494 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
36495 Change to 2.4.1 where previously 2.4.0.
36496 * sysdeps/unix/sysv/linux/configure: Regenerated.
36497 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
36498 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
36499 version.
36500 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
36501 (__ASSUME_AT_CLKTCK): Remove.
36502 (__ASSUME_AT_PAGESIZE): Likewise.
36503 (__ASSUME_AT_XID): Likewise.
36504 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
36505 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
36506 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
36507 unconditionally.
36508 (HAVE_AUX_PAGESIZE): Likewise.
36509 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
36510 [__ASSUME_AT_CLKTCK]: Make code unconditional.
36511 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
36512
36513 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
36514
36515 [BZ #14307]
36516 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
36517 the temporary buffer used to invoke __gethostbyname2_r,
36518 __gethostbyaddr_r and gethostbyname4_r to make room for struct
36519 host_data / struct gaih_addrtuple.
36520 * resolv/nss_dns/dns-host.c (global scope): Move definition of
36521 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
36522 header file nss/nsswitch.h.
36523 * nss/nsswitch.h (global scope): Add definition of implementation
36524 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
36525 resolv/nss_dns/dns-host.c).
36526
36527 2012-07-11 Andreas Jaeger <aj@suse.de>
36528
36529 * po/fr.po: Update from translation team.
36530
36531 * po/sv.po: Update from translation team
36532 * po/fr.po: Another update from translation team.
36533
36534 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36535
36536 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
36537 for subnormals or multiply small sinh result by itself.
36538 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
36539 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36540
36541 2012-07-11 David S. Miller <davem@davemloft.net>
36542
36543 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36544
36545 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
36546
36547 [BZ #14347]
36548 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
36549 (INTERNAL_MARK): Shift it here.
36550
36551 2012-07-10 Marek Polacek <polacek@redhat.com>
36552
36553 [BZ #14151]
36554 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
36555 libc_cv_asm_global_directive with .globl.
36556 * configure: Regenerated.
36557 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
36558 with .globl.
36559 * sysdeps/i386/configure: Regenerated.
36560 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
36561 with .globl.
36562 * sysdeps/x86_64/configure: Regenerated.
36563 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
36564 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
36565 * elf/tst-unique2mod2.c: Likewise.
36566 * elf/tst-unique2mod1.c: Likewise.
36567 * elf/tst-unique1mod2.c: Likewise.
36568 * elf/tst-unique1mod1.c: Likewise.
36569 * sysdeps/s390/s390-32/sysdep.h: Likewise.
36570 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
36571 * sysdeps/s390/s390-64/sysdep.h: Likewise.
36572 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
36573 * sysdeps/mach/sysdep.h: Likewise.
36574 * sysdeps/i386/sysdep.h: Likewise.
36575 * sysdeps/i386/i386-mcount.S: Likewise.
36576 * sysdeps/x86_64/_mcount.S: Likewise.
36577 * sysdeps/x86_64/sysdep.h: Likewise.
36578 * sysdeps/sh/_mcount.S: Likewise.
36579 * sysdeps/sh/sysdep.h: Likewise.
36580 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
36581 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
36582 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
36583 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
36584 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
36585 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
36586 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
36587 * locale/localeinfo.h: Likewise.
36588 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
36589 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
36590
36591 2012-07-09 Roland McGrath <roland@hack.frob.com>
36592
36593 [BZ #14336]
36594 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
36595 system".
36596 * manual/message.texi (The Uniforum approach): Likewise.
36597 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
36598 (glibc iconv Implementation): Likewise.
36599
36600 2012-07-09 Joseph Myers <joseph@codesourcery.com>
36601
36602 [BZ #14337]
36603 * math/s_clog.c (__clog): Avoid scaling a value down where that
36604 could result in underflow.
36605 * math/s_clog10.c (__clog10): Likewise.
36606 * math/s_clog10f.c (__clog10f): Likewise.
36607 * math/s_clog10l.c (__clog10l): Likewise.
36608 * math/s_clogf.c (__clogf): Likewise.
36609 * math/s_clogl.c (__clogl): Likewise.
36610 * math/libm-test.inc (clog_test): Add more tests.
36611 (clog10_test): Likewise.
36612 * sysdeps/i386/fpu/libm-test-ulps: Update.
36613 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36614
36615 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
36616
36617 [BZ #14283]
36618 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
36619 by 7 not 8 to examine high bit of fractional part.
36620
36621 [BZ #14042]
36622 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
36623 for call to __mcount_internal.
36624 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
36625 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
36626 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
36627
36628 2012-07-06 Joseph Myers <joseph@codesourcery.com>
36629
36630 [BZ #14154]
36631 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
36632 approximation for values within 0x1p-13f of an odd multiple of
36633 pi/4.
36634 * math/libm-test.inc (tan_test): Do not allow spurious underflow
36635 exception. Add more tests.
36636 * sysdeps/i386/fpu/libm-test-ulps: Update.
36637
36638 [BZ #6778]
36639 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
36640 inputs and return -1 for them. Do not check for +Inf in case not
36641 reachable for +Inf.
36642 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
36643 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
36644 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
36645 and return -1 for them. Do not check for +Inf in case not
36646 reachable for +Inf.
36647 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
36648 define.
36649 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
36650 and return -1 for them. Do not check for +Inf in case not
36651 reachable for +Inf.
36652 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
36653 spurious underflow.
36654 * sysdeps/i386/fpu/libm-test-ulps: Update.
36655 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36656
36657 2012-07-06 Mike Frysinger <vapier@gentoo.org>
36658
36659 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
36660
36661 2012-07-05 Joseph Myers <joseph@codesourcery.com>
36662
36663 [BZ #14157]
36664 [BZ #14331]
36665 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
36666 could result in spurious underflow. Scale down values above
36667 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
36668 * math/s_csqrtf.c (__csqrtf): Likewise.
36669 * math/s_csqrtl.c (__csqrtl): Likewise.
36670 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
36671 spurious underflow.
36672 * sysdeps/i386/fpu/libm-test-ulps: Update.
36673 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36674
36675 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
36676
36677 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
36678 xopen-msg.sed.
36679 * catgets/xopen-msg.awk: New file.
36680 * catgets/xopen-msg.sed: Removed.
36681
36682 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
36683 po2text.sed.
36684 * intl/po2test.awk: New file.
36685 * intl/po2test.sed: Removed.
36686
36687 2012-07-04 Joseph Myers <joseph@codesourcery.com>
36688
36689 [BZ #14328]
36690 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
36691 or multiply small sinh result by itself.
36692 * math/s_ctanf.c (__ctanf): Likewise.
36693 * math/s_ctanh.c (__ctanh): Likewise.
36694 * math/s_ctanhf.c (__ctanhf): Likewise.
36695 * math/s_ctanhl.c (__ctanhl): Likewise.
36696 * math/s_ctanl.c (__ctanl): Likewise.
36697 * math/libm-test.inc (ctan_test_tonearest): New function.
36698 (ctan_test_towardzero): Likewise.
36699 (ctan_test_downward): Likewise.
36700 (ctan_test_upward): Likewise.
36701 (ctanh_test_tonearest): Likewise.
36702 (ctanh_test_towardzero): Likewise.
36703 (ctanh_test_downward): Likewise.
36704 (ctanh_test_upward): Likewise.
36705 (main): Call these new functions.
36706 * sysdeps/i386/fpu/libm-test-ulps: Update.
36707 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36708
36709 2012-07-03 Mike Frysinger <vapier@gentoo.org>
36710
36711 * .gitignore: Delete /ports entry.
36712
36713 2012-07-03 Andreas Jaeger <aj@suse.de>
36714
36715 * po/bg.po: Update from translation team.
36716 * po/cs.po: Likewise.
36717 * po/de.po: Likewise.
36718 * po/hr.po: Likewise.
36719 * po/nl.pl: Likewise.
36720 * po/pl.po: Likewise.
36721 * po/vi.po: Likewise.
36722
36723 2012-07-03 Joseph Myers <joseph@codesourcery.com>
36724
36725 * Makeconfig [!+link] (+link-before-libc): New variable.
36726 [!+link] (+link-after-libc): Likewise.
36727 [!+link] (+link-tests): Likewise.
36728 [!+link] (+link): Define in terms of $(+link-before-libc) and
36729 $(+link-after-libc).
36730 [!+link-static] (+link-static-before-libc): New variable.
36731 [!+link-static] (+link-static-after-libc): Likewise.
36732 [!+link-static] (+link-static-tests): Likewise.
36733 [!+link-static] (+link-static): Define in terms of
36734 $(+link-static-before-libc) and $(+link-static-after-libc).
36735 [build-shared] (link-libc-before-gnulib): New variable.
36736 [build-shared] (link-libc-tests): Likewise.
36737 [build-shared] (link-libc): Define in terms of
36738 $(link-libc-before-gnulib).
36739 [!build-shared] (link-libc-tests): New variable.
36740 (link-libc-static-tests): New variable.
36741 [!gnulib] (gnulib-arch): New variable.
36742 [!gnulib] (gnulib-tests): Likewise.
36743 [!gnulib] (static-gnulib-arch): Likewise.
36744 [!gnulib] (static-gnulib-tests): Likewise.
36745 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
36746 Define with "=" instead of ":=".
36747 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
36748 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
36749 * Rules (binaries-all-notests): New variable.
36750 (binaries-all-tests): Likewise.
36751 (binaries-static-notests): Likewise.
36752 (binaries-static-tests): Likewise.
36753 (binaries-all): Define using $(binaries-all-notests) and
36754 $(binaries-all-tests).
36755 (binaries-static): Define using $(binaries-static-notests) and
36756 $(binaries-static-tests).
36757 (binaries-shared-tests): New variable.
36758 (binaries-shared-notests): Likewise.
36759 (binaries-shared): Remove variable.
36760 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
36761 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
36762 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
36763 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
36764 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
36765 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
36766 * elf/Makefile (sln-modules): New variable.
36767 (extra-objs): Add $(sln-modules:=.o).
36768 (ldconfig-modules): Add static-stubs.
36769 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
36770 * elf/static-stubs.c: New file.
36771
36772 [BZ #14283]
36773 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
36774 by 7 not 8 to examine high bit of fractional part. Use volatile
36775 variables when splitting into final array of floats if
36776 __FLT_EVAL_METHOD__ != 0.
36777 * math/libm-test.inc (cos_test): Add another test.
36778 (sin_test): Likewise.
36779 * sysdeps/i386/fpu/libm-test-ulps: Update.
36780
36781 [BZ #14273]
36782 * math/libm-test.inc (cosh_test): Add more tests.
36783
36784 * version.h (RELEASE): Set to "development".
36785 (VERSION): Set to "2.16.90".
36786
36787 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
36788
36789 * NEWS: Update copyright. Remove last-updated date.
36790 Mention math library bug fixes and timezone data changes.
36791 * README: Mention GNU/Hurd, x32, and HPPA support status.
36792
36793 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
36794
36795 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
36796
36797 2012-06-27 Andreas Jaeger <aj@suse.de>
36798
36799 * manual/contrib.texi (Contributors): Add Samuel Thibault.
36800
36801 2012-06-25 Andreas Jaeger <aj@suse.de>
36802
36803 * sysdeps/s390/fpu/libm-test-ulps: Update.
36804
36805 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
36806 Thomas Schwinge <thomas@codesourcery.com>
36807
36808 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
36809 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
36810 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
36811 fanotify_mark.
36812
36813 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
36814
36815 * sysdeps/mach/start.c: Remove file.
36816 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
36817 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
36818 * sysdeps/sh/init-first.c: Likewise.
36819
36820 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
36821 registers for frame unwinding purposes, add CFI directives.
36822 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
36823 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
36824 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
36825 Likewise.
36826
36827 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
36828 __fortify_fail returning.
36829 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
36830
36831 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
36832 sysdeps/sh/____longjmp_chk.S.
36833 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
36834 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
36835 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
36836 (gen-as-const-headers): Append sigaltstack-offsets.sym.
36837
36838 * sysdeps/sh/abort-instr.h: New file.
36839 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
36840 process in case exit returns.
36841
36842 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
36843 initialize the GOT register before use.
36844
36845 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
36846 calculation of ARGC > 4.
36847
36848 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
36849 meaningful names to some local labels.
36850
36851 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
36852 Kaz Kojima <kkojima@rr.iij4u.or.jp>
36853
36854 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
36855 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
36856 (__arch_compare_and_exchange_val_16_acq): Likewise.
36857 (__arch_compare_and_exchange_val_32_acq): Likewise.
36858 (atomic_exchange_and_add): Fix gUSA sequence.
36859 (atomic_add): Likewise.
36860 (atomic_add_negative): Likewise.
36861 (atomic_add_zero): Likewise.
36862 (atomic_bit_test_set): Likewise.
36863
36864 2012-06-22 Andreas Schwab <schwab@redhat.com>
36865
36866 [BZ #13579]
36867 * include/link.h (struct link_map): Add l_free_initfini.
36868 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
36869 l_initfini.
36870 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
36871 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
36872 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
36873 set.
36874
36875 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
36876
36877 * configure.in: Use AC_LANG_SOURCE.
36878 * configure: Regenerate.
36879
36880 2012-06-22 Roland McGrath <roland@hack.frob.com>
36881
36882 * configure.in (libc_cv_localstatedir): New substituted variable.
36883 * configure: Regenerated.
36884 * config.make.in (localstatedir): New variable, substituted from
36885 libc_cv_localstatedir.
36886 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
36887 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
36888 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
36889 * sysdeps/gnu/configure: Regenerated.
36890
36891 2012-06-21 Jeff Law <law@redhat.com>
36892
36893 [BZ #14277]
36894 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
36895 free. Simplify list management for _LIBC case.
36896
36897 2012-06-21 Joseph Myers <joseph@codesourcery.com>
36898
36899 [BZ #14273]
36900 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
36901 Clear sign bit of 64-bit integer value before comparing against
36902 overflow value.
36903
36904 * sysdeps/mach/configure: Regenerated.
36905
36906 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
36907
36908 [BZ #14278]
36909 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
36910
36911 2012-06-21 Jeff Law <law@redhat.com>
36912
36913 [BZ #13882]
36914 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
36915 uint16_t for elements in the "seen" array to avoid char overflows.
36916 * elf/dl-fini.c (_dl_sort_fini): Likewise.
36917 * elf/dl-open.c (dl_open_worker): Likewise.
36918
36919 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
36920
36921 * scripts/list-sources.sh: Scan PORTS for translations.
36922 * po/libc.pot: Regenerated.
36923
36924 2012-06-21 Andreas Jaeger <aj@suse.de>
36925
36926 [BZ #12194]
36927 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
36928 warning.
36929 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
36930 * bits/byteswap-16.h (__bswap_16): Likewise.
36931 * bits/byteswap.h (__bswap_constant_16): Likewise.
36932
36933 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
36934
36935 [BZ #14117]
36936 * sysdeps/i386/fpu_control.h: Removed.
36937 * sysdeps/x86_64/fpu_control.h: Moved to ...
36938 * sysdeps/x86/fpu_control.h: Here.
36939
36940 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
36941 (_FPU_SETCW): Likewise.
36942
36943 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
36944
36945 [BZ #14117]
36946 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
36947 * sysdeps/x86/fpu/bits/mathinline.h: This.
36948 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
36949
36950 [BZ #14050]
36951 [BZ #14117]
36952 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
36953 functions if __x86_64__ is defined.
36954
36955 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
36956
36957 * string/endian.h: Add !__ASSEMBLER__ condition for including
36958 conversion interfaces.
36959
36960 2012-06-15 Joseph Myers <joseph@codesourcery.com>
36961
36962 [BZ #14241]
36963 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
36964 of ABS(x) in calculating zero to negative powers other than odd
36965 integers.
36966 * math/libm-test.inc (pow_test): Add more tests.
36967
36968 2012-06-15 Andreas Jaeger <aj@suse.de>
36969
36970 * manual/contrib.texi (Contributors): Update entry of Liubov
36971 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
36972 Machado Filho.
36973
36974 2012-06-15 Cyril Hrubis <metan@ucw.cz>
36975
36976 * string/string.h: Add __wur to GNU version of strerror_r.
36977
36978 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
36979
36980 [BZ #14229]
36981 * string/Makefile (tests): Add tst-strtok_r.
36982 * string/tst-strtok_r.c: New file.
36983 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
36984 RAX_LP/RDX_LP on SAVE_PTR.
36985
36986 2012-06-14 Roland McGrath <roland@hack.frob.com>
36987
36988 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
36989
36990 2012-06-14 Joseph Myers <joseph@codesourcery.com>
36991
36992 * libm_test.inc (csqrt_test): Allow more spurious underflow
36993 exceptions.
36994 (j0_test): Likewise.
36995 (j1_test): Likewise.
36996 (y0_test): Likewise.
36997 (y1_test): Likewise.
36998
36999 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
37000
37001 * po/Makefile (libc.pot): Use UTF-8 charset.
37002
37003 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
37004
37005 [BZ #14210]
37006 Suppress sign-conversion warning from FD_SET.
37007 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
37008 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
37009 not unsigned long int.
37010 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
37011
37012 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
37013
37014 [BZ #14050]
37015 [BZ #14117]
37016 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
37017 __extern_always_inline instead of __extern_inline.
37018 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
37019 (__signbit): Likewise.
37020 (__signbitl): Support C++ namespace.
37021 (lrintf): New inline function.
37022 (lrint): Likewise.
37023 (llrintf): Likewise.
37024 (llrint): Likewise.
37025 (fmaxf): Likewise.
37026 (fmax): Likewise.
37027 (fminf): Likewise.
37028 (fmin): Likewise.
37029 (rint): Likewise.
37030 (rintf): Likewise.
37031 (ceil): Likewise.
37032 (ceilf): Likewise.
37033 (floor): Likewise.
37034 (floorf): Likewise.
37035 (nearbyint): Likewise.
37036 (nearbyintf): Likewise.
37037
37038 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
37039
37040 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
37041 non-default versions.
37042
37043 2012-06-11 Roland McGrath <roland@hack.frob.com>
37044
37045 [BZ #14218]
37046 * manual/argp.texi (Argp): Reword argp_parse description slightly.
37047
37048 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
37049
37050 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
37051 (FE_UPWARD, FE_DOWNWARD): Don't define.
37052 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
37053 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
37054
37055 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
37056 reading it.
37057 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
37058 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
37059
37060 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
37061
37062 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
37063 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
37064 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
37065 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
37066
37067 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
37068
37069 [BZ #14117]
37070 * sysdeps/i386/fpu/bits/fenv.h: Removed.
37071 * sysdeps/i386/fpu/Implies: New file.
37072 * sysdeps/x86_64/fpu/Implies: Likewise.
37073 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
37074 * sysdeps/x86/fpu/bits/fenv.h: This.
37075
37076 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
37077 __SSE_MATH__.
37078
37079 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
37080
37081 [BZ #14134]
37082 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
37083 character 0xffff that matches the last element of the
37084 conversion table.
37085
37086 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37087
37088 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
37089 fmodl commit.
37090
37091 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37092
37093 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
37094 values higher than 25.6283.
37095
37096 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37097
37098 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
37099 subnormal exponent extraction and add some __builtin_expect.
37100 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
37101 Fix for subnormal mantissa calculation.
37102
37103 2012-06-04 Mike Frysinger <vapier@gentoo.org>
37104
37105 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
37106 cpu2 is -1 and errno is not ENOSYS.
37107
37108 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
37109
37110 [BZ #14117]
37111 * sysdeps/i386/i486/bits/string.h: Renamed to ...
37112 * sysdeps/x86/bits/string.h: This.
37113 * sysdeps/x86_64/bits/string.h: Removed.
37114
37115 * sysdeps/i386/i486/bits/string.h: Define inline functions only
37116 if not compiling for x86-64, but compiling for >= i486.
37117
37118 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
37119 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
37120
37121 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
37122 New macro from Linux kernel 3.4.0.
37123 (FP_XSTATE_MAGIC2): Likewise.
37124 (FP_XSTATE_MAGIC2_SIZE): Likewise.
37125 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
37126 (struct _fpx_sw_bytes): New struct.
37127 (struct _xsave_hdr): Likewise.
37128 (struct _ymmh_state): Likewise.
37129 (struct _xstate): Likewise.
37130
37131 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
37132 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
37133 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
37134 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
37135 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
37136 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
37137
37138 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
37139 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
37140 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
37141 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
37142 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
37143 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
37144
37145 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
37146
37147 [BZ #13743]
37148 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
37149 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
37150 (sysdep_headers): Include sys/platform/ppc.h.
37151 * sysdeps/powerpc/test-gettimebase.c: Test for
37152 __ppc_get_timebase() to catch future ISA opcode/insn changes.
37153 * manual/Makefile (appendices): Include platform.texi.
37154 * manual/contrib.texi (Contributors): Update @node pointers.
37155 * manual/maint.texi (Maintenance): Likewise.
37156 (Platform): New node.
37157 * manual/platform.texi: New file. Document the new features.
37158
37159 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
37160 Jakub Jelinek <jakub@redhat.com>
37161
37162 [BZ #14188]
37163 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
37164 where __builtin_expect is unavailable.
37165
37166 2012-06-03 David S. Miller <davem@davemloft.net>
37167
37168 * stdlib/longlong.h: Updated from GCC.
37169
37170 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
37171
37172 [BZ #14042]
37173 * sysdeps/powerpc/powerpc32/mcount.c: New file.
37174 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
37175 __mcount_internal.
37176 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
37177 (GLIBC_2.16): Likewise.
37178
37179 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
37180
37181 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
37182
37183 2012-06-01 Joseph Myers <joseph@codesourcery.com>
37184
37185 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
37186 (default-abi): New variable.
37187 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
37188 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
37189 variable.
37190 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
37191 Likewise.
37192 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
37193 Likewise.
37194 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
37195 Likewise.
37196
37197 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
37198 definition. Document in comment.
37199
37200 2012-06-01 David S. Miller <davem@davemloft.net>
37201
37202 * stdlib/longlong.h: Updated from GCC.
37203
37204 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
37205
37206 [BZ #14117]
37207 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
37208 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
37209 sys/debugreg.h sys/io.h here.
37210 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
37211 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
37212 sys/io.h.
37213 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
37214 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
37215 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
37216 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
37217 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
37218 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
37219
37220 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
37221 Define only if __x86_64__ is defined.
37222
37223 2012-06-01 Joseph Myers <joseph@codesourcery.com>
37224
37225 [BZ #14048]
37226 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
37227 Use int64_t for variable i.
37228 * math/libm-test.inc (fmod_test): Add more tests.
37229
37230 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
37231 z computation is not scheduled after fetestexcept.
37232 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
37233 Use math_force_eval instead of asm to ensure calculation scheduled
37234 before exception test.
37235 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
37236 Ensure a1 + u.d computation is not scheduled after fetestexcept.
37237
37238 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
37239
37240 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
37241 computation is not scheduled after fetestexcept.
37242
37243 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
37244
37245 [BZ #14117]
37246 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
37247 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
37248
37249 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37250
37251 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
37252 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
37253
37254 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
37255
37256 [BZ #14117]
37257 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
37258 <bits/wordsize.h>.
37259 (__WCHAR_MIN): Support __WORDSIZE == 64.
37260 (__WCHAR_MAX): Likewise.
37261
37262 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
37263 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
37264
37265 [BZ #14183]
37266 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
37267 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
37268
37269 [BZ #14117]
37270 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
37271 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
37272
37273 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
37274 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
37275
37276 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
37277 Defined to 1 if __x86_64__ isn't defined.
37278 (_STAT_VER_LINUX_OLD): New.
37279 (st_atime): Remove duplicate.
37280 (st_mtime): Likewise.
37281 (st_ctime): Likewise.
37282
37283 2012-05-31 David S. Miller <davem@davemloft.net>
37284
37285 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
37286 entries.
37287
37288 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
37289
37290 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
37291 gen-libm-test.pl.
37292
37293 [BZ #14132]
37294 * elf/dl-reloc.c: Include <_itoa.h>.
37295 (_dl_reloc_bad_type): Remove use of INTUSE.
37296 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
37297 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
37298 * stdio-common/psiginfo.c (psiginfo): Likewise.
37299 * stdio-common/psignal.c (psignal): Likewise.
37300 * string/strsignal.c (strsignal): Likewise.
37301 * include/signal.h (_sys_siglist): Declare hidden proto.
37302 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
37303 INTVARDEF with libc_hidden_data_def.
37304 * stdio-common/itoa-udigits.c: Likewise.
37305 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
37306 (_itoa_lower_digits_internal): Remove declaration.
37307 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
37308 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
37309 (_sys_sigabbrev_internal): Remove aliases.
37310 (_sys_siglist): Define hidden alias.
37311
37312 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
37313
37314 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
37315 bits/sysctl.h.
37316
37317 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
37318
37319 [BZ #14117]
37320 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
37321 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
37322
37323 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
37324 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
37325 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
37326 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
37327 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
37328 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
37329
37330 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
37331 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
37332 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
37333
37334 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
37335 with __addr.
37336 (insw): Likewise.
37337 (insl): Likewise.
37338 (outsb): Likewise.
37339 (outsw): Likewise.
37340 (outsl): Likewise.
37341
37342 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
37343 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
37344 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
37345
37346 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
37347 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
37348 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
37349 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
37350 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
37351 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
37352
37353 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
37354 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
37355
37356 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
37357 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
37358
37359 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
37360 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
37361 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
37362
37363 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
37364 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
37365 to ...
37366 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
37367
37368 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
37369 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
37370 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
37371
37372 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
37373 for x86-64.
37374 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
37375
37376 2012-05-31 Joseph Myers <joseph@codesourcery.com>
37377
37378 * math/math.h (M_El): Use two more decimal places.
37379 (M_LOG2El): Likewise.
37380 (M_LOG10El): Likewise.
37381 (M_LN2l): Likewise.
37382 (M_LN10l): Likewise.
37383 (M_PIl): Likewise.
37384 (M_PI_2l): Likewise.
37385 (M_PI_4l): Likewise.
37386 (M_1_PIl): Likewise.
37387 (M_2_PIl): Likewise.
37388 (M_2_SQRTPIl): Likewise.
37389 (M_SQRT2l): Likewise.
37390 (M_SQRT1_2l): Likewise.
37391
37392 2012-05-31 David S. Miller <davem@davemloft.net>
37393
37394 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
37395 values between float registers.
37396 * sysdeps/sparc/sparc64/memset.S: Likewise.
37397 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
37398
37399 2012-05-31 Mike Frysinger <vapier@gentoo.org>
37400
37401 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
37402 -D_FORTIFY_SOURCE=1.
37403 (CPPFLAGS-tst-longjmp_chk.c): Define.
37404 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
37405 (CPPFLAGS-tst-longjmp_chk2.c): Define.
37406 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
37407 CFLAGS-tst-wchar-h.c.
37408
37409 2012-05-31 Marek Polacek <polacek@redhat.com>
37410
37411 [BZ #14132]
37412 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
37413 __endmntent_internal): Remove declaration.
37414 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
37415 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
37416 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
37417
37418 2012-05-30 David S. Miller <davem@davemloft.net>
37419
37420 * sysdeps/sparc/sparc32/soft-fp/q_util.c
37421 (___Q_simulate_exceptions): Use real FP ops rather than writing
37422 into the %fsr.
37423 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
37424 Likewise.
37425
37426 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
37427
37428 [BZ #14117]
37429 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
37430 * sysdeps/x86/bits/xtitypes.h: This.
37431
37432 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
37433 * sysdeps/x86/bits/wordsize.h: This.
37434
37435 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
37436 * sysdeps/x86/bits/huge_vall.h: This.
37437
37438 * sysdeps/i386/bits/select.h: Removed.
37439 * sysdeps/x86_64/bits/select.h: Renamed to ...
37440 * sysdeps/x86/bits/select.h: This.
37441
37442 * sysdeps/i386/bits/setjmp.h: Removed.
37443 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
37444 * sysdeps/x86/bits/setjmp.h: This.
37445
37446 * sysdeps/i386/bits/mathdef.h: Removed.
37447 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
37448 * sysdeps/x86/bits/mathdef.h: This.
37449
37450 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
37451
37452 [BZ #14132]
37453 * include/sys/socket.h (__connect_internal)
37454 (__libc_sa_len_internal): Remove declaration.
37455 (__connect, __libc_sa_len): Declare hidden_proto.
37456 (SA_LEN): Remove use of INTUSE.
37457 * socket/connect.c: Add libc_hidden_def.
37458 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
37459 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
37460 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
37461 alias.
37462 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
37463 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
37464 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
37465 of adding _internal alias.
37466
37467 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
37468
37469 [BZ #14117]
37470 * sysdeps/i386/bits/link.h: Removed.
37471 * sysdeps/i386/bits/linkmap.h: Likewise.
37472 * sysdeps/x86_64/bits/link.h: Renamed to ...
37473 * sysdeps/x86/bits/link.h: This.
37474 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
37475 * sysdeps/x86/bits/linkmap.h: This.
37476
37477 * sysdeps/i386/bits/endian.h: Removed.
37478 * sysdeps/x86_64/bits/endian.h: Renamed to ...
37479 * sysdeps/x86/bits/endian.h: This.
37480
37481 * sysdeps/i386/bits/byteswap.h: Removed.
37482 * sysdeps/i386/bits/byteswap-16.h: Likewise.
37483 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
37484 * sysdeps/x86/bits/byteswap.h: This.
37485 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
37486 * sysdeps/x86/bits/byteswap-16.h: This.
37487 * sysdeps/i386/Implies: Add x86.
37488 * sysdeps/x86_64/Implies: Likewise.
37489
37490 2012-05-30 David S. Miller <davem@davemloft.net>
37491
37492 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
37493 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
37494 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
37495 (FP_TRAPPING_EXCEPTIONS): Define.
37496 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
37497 (FP_TRAPPING_EXCEPTIONS): Define.
37498 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
37499 subnormals only when inexact has been signalled or underflow
37500 exceptions are enabled.
37501 (_FP_PACK_CANONICAL): Likewise.
37502
37503 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
37504
37505 [BZ #14183]
37506 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
37507 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
37508
37509 2012-05-30 Richard Henderson <rth@twiddle.net>
37510
37511 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
37512 with #ifndef NOT_IN_libc.
37513
37514 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
37515 marked to avoid plt entry.
37516
37517 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
37518
37519 [BZ #14112]
37520 * Makeconfig (default-abi): New macro.
37521 (abi-includes): Likewise.
37522 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
37523 $(abi-$(default-abi)-lib-soname) for soname if defined.
37524 ($(common-objpfx)gnu/lib-names.stmp): Generate from
37525 abi-variants.
37526 * Makefile (installed-stubs): Likewise.
37527 * include/stubs-biarch.h: Removed.
37528 * scripts/lib-names.awk: Only handle one library at a time.
37529 * scripts/soversions.awk: Remove WORDSIZE support.
37530 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
37531 entries.
37532 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
37533 Removed.
37534 (syscall-list-default-condition): Likewise.
37535 (syscall-list-default-condition): Likewise.
37536 (syscall-list-includes): Likewise.
37537 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
37538 syscall-list-* with abi-*. Handle undefined abi-variants.
37539 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
37540 * sysdeps/unix/sysv/linux/i386/Implies: New file.
37541 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
37542 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
37543 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
37544 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
37545 Removed.
37546 (syscall-list-32-options): Likewise.
37547 (syscall-list-32-condition): Likewise.
37548 (syscall-list-64-options): Likewise.
37549 (syscall-list-64-condition): Likewise.
37550 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
37551 macro.
37552 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
37553 Renamed to ...
37554 (abi-*): This.
37555 (abi-64-ld-soname): New macro.
37556 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
37557 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
37558 Renamed to ...
37559 (abi-*): This.
37560 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
37561 * sysdeps/x86_64/x32/shlib-versions: Likewise.
37562
37563 2012-05-30 Joseph Myers <joseph@codesourcery.com>
37564
37565 * sysdeps/unix/sysv/linux/kernel-features.h
37566 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
37567 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
37568 include <kernel-features.h>.
37569 [!__NR_ftruncate64]: Remove conditional code.
37570 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
37571 [__NR_ftruncate64]: Make code unconditional.
37572 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
37573 * sysdeps/unix/sysv/linux/truncate64.c: Do not
37574 include <kernel-features.h>.
37575 [!__NR_ftruncate64]: Remove conditional code.
37576 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
37577 [__NR_ftruncate64]: Make code unconditional.
37578 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
37579 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
37580 include <kernel-features.h>.
37581 [!__NR_ftruncate64]: Remove conditional code.
37582 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
37583 [__NR_ftruncate64]: Make code unconditional.
37584 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
37585 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
37586 include <kernel-features.h>.
37587 [!__NR_ftruncate64]: Remove conditional code.
37588 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
37589 [__NR_ftruncate64]: Make code unconditional.
37590 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
37591
37592 * configure.in (libc_cv_fpie): Weaken to a compile test using
37593 LIBC_TRY_CC_OPTION.
37594 * configure: Regenerated.
37595
37596 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37597
37598 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
37599 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
37600 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
37601 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
37602 Refreshed.
37603 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
37604 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
37605 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
37606 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
37607 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
37608 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
37609 Refreshed.
37610
37611 2012-05-27 David S. Miller <davem@davemloft.net>
37612
37613 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
37614 (___Q_zero): New.
37615 (__Q_simulate_exceptions): Return void. Change to simulate
37616 exceptions by writing into the %fsr.
37617 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
37618 (__Qp_handle_exceptions): Likewise.
37619 (numbers): Delete.
37620 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
37621 __Qp_handle_exceptions.
37622 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
37623 __Qp_handle_exceptions.
37624 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
37625 as unused and give dummy FP_RND_NEAREST initializer.
37626 (FP_INHIBIT_RESULTS): Define.
37627 (___Q_simulate_exceptions): Update declaration.
37628 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
37629 formatting.
37630 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
37631 as unused and give dummy FP_RND_NEAREST initializer.
37632 (__Qp_handle_exceptions): Update declaration.
37633 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
37634 formatting.
37635
37636 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
37637
37638 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
37639 the temporary FPU control word.
37640 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
37641 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
37642 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
37643 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
37644 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
37645 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
37646 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
37647 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
37648 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
37649 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
37650 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
37651
37652 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
37653
37654 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
37655 fields.
37656
37657 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
37658
37659 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
37660 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
37661 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
37662 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
37663 Likewise.
37664 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
37665 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
37666 Likewise.
37667
37668 2012-05-27 Ulrich Drepper <drepper@gmail.com>
37669
37670 * po/h.po: Update from translation team.
37671
37672 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
37673
37674 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
37675
37676 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
37677 handling of denormals.
37678 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
37679 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
37680 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
37681 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
37682 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
37683 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
37684 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
37685 Likewise.
37686
37687 2012-05-26 Marek Polacek <polacek@redhat.com>
37688
37689 [BZ #14152]
37690 * math/libm-test.inc (fma_test): Don't always expect underflow
37691 exception.
37692
37693 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
37694
37695 [BZ #12416]
37696 * elf/tst-execstack.c: Include stackinfo.h.
37697 (do_test): Adjust test case to ensure that pthread_getattr_np
37698 behaviour remains the same after marking stack executable.
37699
37700 2012-05-25 Joseph Myers <joseph@codesourcery.com>
37701
37702 * sysdeps/unix/sysv/linux/kernel-features.h
37703 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
37704 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
37705 kernel-features.h.
37706 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
37707 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
37708 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
37709 kernel-features.h.
37710 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
37711 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
37712
37713 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
37714
37715 * configure.in: Define the default includes to being none.
37716 * configure: Regenerated.
37717
37718 2012-05-25 Roland McGrath <roland@hack.frob.com>
37719
37720 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
37721 * sysdeps/x86_64/setjmp.S: Likewise.
37722 * sysdeps/i386/bsd-setjmp.S: Likewise.
37723 * sysdeps/i386/bsd-_setjmp.S: Likewise.
37724 * sysdeps/i386/setjmp.S: Likewise.
37725 * sysdeps/i386/__longjmp.S: Likewise.
37726 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
37727 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
37728
37729 * include/stap-probe.h: New file.
37730 * configure.in: Handle --enable-systemtap.
37731 * configure: Regenerated.
37732 * config.h.in (USE_STAP_PROBE): New #undef.
37733 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
37734 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
37735 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
37736
37737 2012-05-25 Joseph Myers <joseph@codesourcery.com>
37738
37739 [BZ #13717]
37740 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
37741 to 2.4.0 where earlier.
37742 * sysdeps/unix/sysv/linux/configure: Regenerated.
37743 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
37744 <kernel-features.h>.
37745 [__ASSUME_32BITUIDS]: Make code unconditional.
37746 [!__ASSUME_32BITUIDS]: Remove conditional code.
37747 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
37748 <kernel-features.h>.
37749 [__ASSUME_32BITUIDS]: Make code unconditional.
37750 [!__ASSUME_32BITUIDS]: Remove conditional code.
37751 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
37752 [__ASSUME_32BITUIDS]: Make code unconditional.
37753 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
37754 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
37755 <kernel-features.h>.
37756 [__ASSUME_32BITUIDS]: Make code unconditional.
37757 [!__ASSUME_32BITUIDS]: Remove conditional code.
37758 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
37759 <kernel-features.h>.
37760 [__ASSUME_32BITUIDS]: Make code unconditional.
37761 [!__ASSUME_32BITUIDS]: Remove conditional code.
37762 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
37763 <kernel-features.h>.
37764 [__ASSUME_32BITUIDS]: Make code unconditional.
37765 [!__ASSUME_32BITUIDS]: Remove conditional code.
37766 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
37767 <kernel-features.h>.
37768 [__ASSUME_32BITUIDS]: Make code unconditional.
37769 [!__ASSUME_32BITUIDS]: Remove conditional code.
37770 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
37771 <kernel-features.h>.
37772 [__ASSUME_32BITUIDS]: Make code unconditional.
37773 [!__ASSUME_32BITUIDS]: Remove conditional code.
37774 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
37775 <kernel-features.h>.
37776 [__ASSUME_32BITUIDS]: Make code unconditional.
37777 [!__ASSUME_32BITUIDS]: Remove conditional code.
37778 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
37779 <kernel-features.h>.
37780 [__ASSUME_32BITUIDS]: Make code unconditional.
37781 [!__ASSUME_32BITUIDS]: Remove conditional code.
37782 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
37783 <kernel-features.h>.
37784 [__ASSUME_32BITUIDS]: Make code unconditional.
37785 [!__ASSUME_32BITUIDS]: Remove conditional code.
37786 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
37787 <kernel-features.h>.
37788 [__ASSUME_32BITUIDS]: Make code unconditional.
37789 [!__ASSUME_32BITUIDS]: Remove conditional code.
37790 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
37791 <kernel-features.h>.
37792 [__ASSUME_32BITUIDS]: Make code unconditional.
37793 [!__ASSUME_32BITUIDS]: Remove conditional code.
37794 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
37795 <kernel-features.h>.
37796 [__NR_setresgid] (__setresgid): Do not declare.
37797 [__ASSUME_32BITUIDS]: Make code unconditional.
37798 [!__ASSUME_32BITUIDS]: Remove conditional code.
37799 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
37800 <kernel-features.h>.
37801 [__NR_setresuid] (__setresuid): Do not declare.
37802 [__ASSUME_32BITUIDS]: Make code unconditional.
37803 [!__ASSUME_32BITUIDS]: Remove conditional code.
37804 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
37805 <kernel-features.h>.
37806 [__ASSUME_32BITUIDS]: Make code unconditional.
37807 [!__ASSUME_32BITUIDS]: Remove conditional code.
37808 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
37809 <kernel-features.h>.
37810 [__ASSUME_32BITUIDS]: Make code unconditional.
37811 [!__ASSUME_32BITUIDS]: Remove conditional code.
37812 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
37813 <kernel-features.h>.
37814 [__ASSUME_32BITUIDS]: Make code unconditional.
37815 [!__ASSUME_32BITUIDS]: Remove conditional code.
37816 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
37817 <kernel-features.h>.
37818 [__ASSUME_32BITUIDS]: Make code unconditional.
37819 [!__ASSUME_32BITUIDS]: Remove conditional code.
37820 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
37821 <kernel-features.h>.
37822 [__ASSUME_32BITUIDS]: Make code unconditional.
37823 [!__ASSUME_32BITUIDS]: Remove conditional code.
37824 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
37825 <kernel-features.h>.
37826 [__ASSUME_32BITUIDS]: Make code unconditional.
37827 [!__ASSUME_32BITUIDS]: Remove conditional code.
37828 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
37829 <kernel-features.h>.
37830 [__ASSUME_32BITUIDS]: Make code unconditional.
37831 [!__ASSUME_32BITUIDS]: Remove conditional code.
37832 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
37833 <kernel-features.h>.
37834 [__ASSUME_32BITUIDS]: Make code unconditional.
37835 [!__ASSUME_32BITUIDS]: Remove conditional code.
37836 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
37837 <kernel-features.h>.
37838 [__ASSUME_32BITUIDS]: Make code unconditional.
37839 [!__ASSUME_32BITUIDS]: Remove conditional code.
37840 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
37841 <kernel-features.h>.
37842 [__ASSUME_32BITUIDS]: Make code unconditional.
37843 [!__ASSUME_32BITUIDS]: Remove conditional code.
37844 * sysdeps/unix/sysv/linux/kernel-features.h
37845 (__ASSUME_SETRESUID_SYSCALL): Remove.
37846 (__ASSUME_SETRESGID_SYSCALL): Likewise.
37847 (__ASSUME_32BITUIDS): Likewise.
37848 (__ASSUME_LDT_WORKS): Likewise.
37849 (__ASSUME_O_DIRECTORY): Likewise.
37850 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
37851 architecture but not kernel version.
37852 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
37853 (__ASSUME_MMAP2_SYSCALL): Likewise.
37854 (__ASSUME_STAT64_SYSCALL): Likewise.
37855 (__ASSUME_IPC64): Likewise.
37856 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
37857 <kernel-features.h>.
37858 [__ASSUME_32BITUIDS]: Make code unconditional.
37859 [!__ASSUME_32BITUIDS]: Remove conditional code.
37860 * sysdeps/unix/sysv/linux/opendir.c: Do not include
37861 <kernel-features.h>.
37862 [__ASSUME_O_DIRECTORY]: Make code unconditional.
37863 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
37864 132096]: Remove conditional code.
37865 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
37866 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
37867 <kernel-features.h>.
37868 [__ASSUME_32BITUIDS]: Make code unconditional.
37869 [!__ASSUME_32BITUIDS]: Remove conditional code.
37870 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
37871 <kernel-features.h>.
37872 [__ASSUME_32BITUIDS]: Make code unconditional.
37873 [!__ASSUME_32BITUIDS]: Remove conditional code.
37874 * sysdeps/unix/sysv/linux/setegid.c: Do not include
37875 <kernel-features.h>.
37876 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
37877 unconditional.
37878 (__setresgid): Do not declare.
37879 [__ASSUME_32BITUIDS]: Make code unconditional.
37880 [!__ASSUME_32BITUIDS]: Remove conditional code.
37881 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
37882 <kernel-features.h>.
37883 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
37884 unconditional.
37885 (__setresuid): Do not declare.
37886 [__ASSUME_32BITUIDS]: Make code unconditional.
37887 [!__ASSUME_32BITUIDS]: Remove conditional code.
37888 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
37889 <kernel-features.h>.
37890 [__ASSUME_32BITUIDS]: Make code unconditional.
37891 [!__ASSUME_32BITUIDS]: Remove conditional code.
37892 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
37893 <kernel-features.h>.
37894 [__ASSUME_32BITUIDS]: Make code unconditional.
37895 [!__ASSUME_32BITUIDS]: Remove conditional code.
37896
37897 2012-05-25 Richard Henderson <rth@twiddle.net>
37898
37899 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
37900 dl_hwcap to ifunc resolver.
37901 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
37902 elf_ifunc_invoke.
37903 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
37904 dl_hwcap to ifunc resolver.
37905 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
37906
37907 2012-05-24 Joseph Myers <joseph@codesourcery.com>
37908
37909 [BZ #14153]
37910 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
37911 for |x| <= 2**-26, not 2**-57.
37912 * math/libm-test.inc (acos_test): Do not allow spurious underflow
37913 exception.
37914
37915 2012-05-24 Jeff Law <law@redhat.com>
37916
37917 * stdio-common/Makefile (tests): Add bug25.
37918 * stdio-common/bug25.c: New test.
37919
37920 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
37921
37922 [BZ #13576]
37923 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
37924 multiple of MALLOC_ALIGNMENT in size.
37925 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
37926
37927 2012-05-24 Joseph Myers <joseph@codesourcery.com>
37928
37929 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
37930 Require >= 256.
37931 (FILENAME_MAX): Use macro-int-constant.
37932 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
37933 (_IOFBF): Use macro-int-constant.
37934 (_IOLBF): Likewise.
37935 (_IONBF): Likewise.
37936 (SEEK_CUR): Likewise.
37937 (SEEK_END): Likewise.
37938 (SEEK_SET): Likewise.
37939 (TMP_MAX): Likewise.
37940 (EOF): Use macro-int-constant. Require < 0.
37941 (NULL): Use macro-constant. Require == 0.
37942 (stdin): Require type to be FILE *.
37943 (stdout): Likewise.
37944 (stderr): Likewise.
37945 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
37946 macro-int-constant.
37947 (EXIT_SUCCESS): Likewise.
37948 (NULL): Use macro-constant. Require == 0.
37949 (RAND_MAX): Use macro-int-constant.
37950 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
37951 [C99-based standards] (strtof): Require function.
37952 [C99-based standards] (strtold): Likewise.
37953 [C99-based standards] (strtoll): Likewise.
37954 [C99-based standards] (strtoull): Likewise.
37955 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
37956 [ISO || ISO99 || ISO11] (limits.h): Likewise.
37957 [ISO || ISO99 || ISO11] (math.h): Likewise.
37958 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
37959 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
37960 [ISO || ISO99 || ISO11] (*_t): Do not allow.
37961
37962 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
37963
37964 [BZ #14132]
37965 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
37966 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
37967 * intl/dgettext.c (DCGETTEXT): Likewise.
37968 * intl/gettext.c (DCGETTEXT): Likewise.
37969 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
37970 * posix/regex_internal.h (gettext): Likewise.
37971 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
37972 Remove declaration.
37973 * include/argz.h (__argz_count_internal)
37974 (__argz_stringify_internal): Remove declaration.
37975 (__argz_count, __argz_stringify): Declare hidden proto.
37976 * intl/dcgettext.c: Remove use of INTDEF.
37977 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
37978 * string/argz-stringify.c: Likewise.
37979 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
37980 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
37981 Declare hidden proto.
37982 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
37983 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
37984 Declare hidden proto.
37985 * include/stdio.h (__asprintf_internal): Don't declare.
37986 (__asprintf): Don't define as macro. Declare hidden proto.
37987 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
37988 (__fsetlocking): Declare hidden proto.
37989 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
37990 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
37991 hidden proto.
37992 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
37993 (_IO_setlinebuf): Remove use of INTUSE.
37994 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
37995 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
37996 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
37997 Remove declaration.
37998 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
37999 (_IO_do_flush): Remove use of INTUSE.
38000 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
38001 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
38002 (_IO_adjust_column, _IO_least_wmarker)
38003 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
38004 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
38005 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
38006 (_IO_default_doallocate, _IO_wdefault_doallocate)
38007 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
38008 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
38009 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
38010 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
38011 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
38012 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
38013 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
38014 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
38015 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
38016 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
38017 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
38018 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
38019 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
38020 proto.
38021 (_IO_flush_all_internal, _IO_adjust_column_internal)
38022 (_IO_default_uflow_internal, _IO_default_finish_internal)
38023 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
38024 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
38025 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
38026 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
38027 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
38028 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
38029 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
38030 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
38031 (_IO_file_close_internal, _IO_file_close_it_internal)
38032 (_IO_file_underflow_internal, _IO_file_overflow_internal)
38033 (_IO_file_init_internal, _IO_file_attach_internal)
38034 (_IO_file_fopen_internal, _IO_file_read_internal)
38035 (_IO_file_sync_internal, _IO_file_seek_internal)
38036 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
38037 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
38038 (_IO_str_underflow_internal, _IO_str_overflow_internal)
38039 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
38040 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
38041 (_IO_list_all_internal, _IO_link_in_internal)
38042 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
38043 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
38044 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
38045 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
38046 (_IO_do_write_internal, _IO_padn_internal)
38047 (_IO_getline_info_internal, _IO_getline_internal)
38048 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
38049 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
38050 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
38051 (_IO_vfscanf_internal, _IO_vfprintf_internal)
38052 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
38053 (_IO_init_internal, _IO_un_link_internal): Don't declare.
38054 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
38055 with libc_hidden_ver, remove use of INTUSE.
38056 * libio/genops.c: Likewise.
38057 * libio/freopen.c: Likewise.
38058 * libio/freopen64.c: Likewise.
38059 * libio/iofclose.c: Likewise.
38060 * libio/iofdopen.c: Likewise.
38061 * libio/iofflush.c: Likewise.
38062 * libio/iofflush_u.c: Likewise.
38063 * libio/iofgets.c: Likewise.
38064 * libio/iofgets_u.c: Likewise.
38065 * libio/iofopen.c: Likewise.
38066 * libio/iofopncook.c: Likewise.
38067 * libio/iofread.c: Likewise.
38068 * libio/iofread_u.c: Likewise.
38069 * libio/ioftell.c: Likewise.
38070 * libio/iofwrite.c: Likewise.
38071 * libio/iogetline.c: Likewise.
38072 * libio/iogets.c: Likewise.
38073 * libio/iogetwline.c: Likewise.
38074 * libio/iopadn.c: Likewise.
38075 * libio/iopopen.c: Likewise.
38076 * libio/ioseekoff.c: Likewise.
38077 * libio/ioseekpos.c: Likewise.
38078 * libio/iosetbuffer.c: Likewise.
38079 * libio/iosetvbuf.c: Likewise.
38080 * libio/ioungetc.c: Likewise.
38081 * libio/ioungetwc.c: Likewise.
38082 * libio/iovdprintf.c: Likewise.
38083 * libio/iovsprintf.c: Likewise.
38084 * libio/iovsscanf.c: Likewise.
38085 * libio/memstream.c: Likewise.
38086 * libio/obprintf.c: Likewise.
38087 * libio/oldfileops.c: Likewise.
38088 * libio/oldiofclose.c: Likewise.
38089 * libio/oldiofdopen.c: Likewise.
38090 * libio/oldiofopen.c: Likewise.
38091 * libio/oldiopopen.c: Likewise.
38092 * libio/oldstdfiles.c: Likewise.
38093 * libio/putc.c: Likewise.
38094 * libio/setbuf.c: Likewise.
38095 * libio/setlinebuf.c: Likewise.
38096 * libio/stdfiles.c: Likewise.
38097 * libio/strops.c: Likewise.
38098 * libio/vasprintf.c: Likewise.
38099 * libio/vscanf.c: Likewise.
38100 * libio/vsnprintf.c: Likewise.
38101 * libio/vswprintf.c: Likewise.
38102 * libio/wfiledoalloc.c: Likewise.
38103 * libio/wfileops.c: Likewise.
38104 * libio/wgenops.c: Likewise.
38105 * libio/wmemstream.c: Likewise.
38106 * libio/wstrops.c: Likewise.
38107 * libio/__fpurge.c: Likewise.
38108 * libio/__fsetlocking.c: Likewise.
38109 * assert/assert.c: Likewise.
38110 * debug/fgets_chk.c: Likewise.
38111 * debug/fgets_u_chk.c: Likewise.
38112 * debug/fread_chk.c: Likewise.
38113 * debug/fread_u_chk.c: Likewise.
38114 * debug/gets_chk.c: Likewise.
38115 * debug/obprintf_chk.c: Likewise.
38116 * debug/vasprintf_chk.c: Likewise.
38117 * debug/vdprintf_chk.c: Likewise.
38118 * debug/vsnprintf_chk.c: Likewise.
38119 * debug/vsprintf_chk.c: Likewise.
38120 * malloc/mtrace.c: Likewise.
38121 * misc/error.c: Likewise.
38122 * misc/syslog.c: Likewise.
38123 * stdio-common/asprintf.c: Likewise.
38124 * stdio-common/fxprintf.c: Likewise.
38125 * stdio-common/getw.c: Likewise.
38126 * stdio-common/isoc99_fscanf.c: Likewise.
38127 * stdio-common/isoc99_scanf.c: Likewise.
38128 * stdio-common/isoc99_vfscanf.c: Likewise.
38129 * stdio-common/isoc99_vscanf.c: Likewise.
38130 * stdio-common/isoc99_vsscanf.c: Likewise.
38131 * stdio-common/printf-prs.c: Likewise.
38132 * stdio-common/printf_fp.c: Likewise.
38133 * stdio-common/printf_fphex.c: Likewise.
38134 * stdio-common/printf_size.c: Likewise.
38135 * stdio-common/putw.c: Likewise.
38136 * stdio-common/scanf.c: Likewise.
38137 * stdio-common/sprintf.c: Likewise.
38138 * stdio-common/tmpfile.c: Likewise.
38139 * stdio-common/vfprintf.c: Likewise.
38140 * stdio-common/vfscanf.c: Likewise.
38141 * stdlib/strfmon_l.c: Likewise.
38142 * sunrpc/openchild.c: Likewise.
38143 * sunrpc/xdr_stdio.c: Likewise.
38144 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
38145 * sysdeps/mach/hurd/tmpfile.c: Likewise.
38146
38147 2012-05-24 Roland McGrath <roland@hack.frob.com>
38148
38149 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
38150
38151 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
38152 in the third column, to generate for the shared library an IFUNC
38153 that uses _dl_vdso_vsym.
38154 * Makerules (COMPILE.c, compile-stdin.c): New variables.
38155 * Makeconfig (object-suffixes-noshared): New variable.
38156
38157 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
38158 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
38159 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
38160 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
38161
38162 [BZ #14132]
38163 * include/sys/time.h (__gettimeofday): Remove macro.
38164 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
38165 * time/gettimeofday.c (__gettimeofday): Remove #undef.
38166 Remove INTDEF.
38167 (__gettimeofday): Add libc_hidden_def.
38168 (gettimeofday): Add libc_hidden_weak.
38169 * sysdeps/mach/gettimeofday.c: Likewise.
38170 * sysdeps/posix/gettimeofday.c: Likewise.
38171 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
38172 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
38173 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
38174 (__gettimeofday_internal): Remove strong_alias.
38175 (__gettimeofday): Add libc_hidden_def.
38176 (gettimeofday): Add libc_hidden_weak.
38177 * sysdeps/unix/syscalls.list (gettimeofday):
38178 Remove __gettimeofday_internal alias.
38179
38180 2012-05-24 Daniel Jacobowitz <drow@false.org>
38181 H.J. Lu <hongjiu.lu@intel.com>
38182
38183 [BZ #12495]
38184 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
38185 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
38186 (largebin_index_32_big): New.
38187 (largebin_index): Use it for 16-byte alignment.
38188 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
38189 correction with front_misalign.
38190
38191 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
38192
38193 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
38194 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
38195 Likewise.
38196 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
38197 Likewise.
38198 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
38199 Likewise.
38200 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
38201 Likewise.
38202 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
38203 Likewise.
38204 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
38205 Likewise.
38206 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
38207 Likewise.
38208 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
38209 Likewise.
38210 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
38211 Likewise.
38212 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
38213 Likewise.
38214 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
38215 Likewise.
38216 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
38217 Likewise.
38218
38219 * scripts/data/c++-types-x32-linux-gnu.data: New file.
38220 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
38221
38222 2012-05-24 Joseph Myers <joseph@codesourcery.com>
38223
38224 [BZ #10846]
38225 [BZ #14036]
38226 * math/libm-test.inc (exp_test): Add test from bug 14036.
38227 (pow_test): Add test from bug 10846.
38228
38229 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
38230 and other flags.
38231 (special_function): Do not include flags in test name.
38232 (parse_args): Likewise.
38233 * sysdeps/i386/fpu/libm-test-ulps: Update.
38234 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
38235 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
38236 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
38237 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38238
38239 * math/gen-libm-test.pl (%beautify): Add entries for underflow
38240 exceptions.
38241 * math/libm-test.inc ("Philosophy"): Update comment about
38242 exception testing.
38243 (UNDERFLOW_EXCEPTION): New macro.
38244 (UNDERFLOW_EXCEPTION_OK): Likewise.
38245 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
38246 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
38247 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
38248 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
38249 (INVALID_EXCEPTION_OK): Update value.
38250 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
38251 (OVERFLOW_EXCEPTION_OK): Likewise.
38252 (IGNORE_ZERO_INF_SIGN): Likewise.
38253 (test_exceptions): Handle underflow exceptions.
38254 (acos_test): Update for underflow exception expectations.
38255 (cexp_test): Likewise.
38256 (clog_test): Likewise.
38257 (clog10_test): Likewise.
38258 (csqrt_test): Likewise.
38259 (ctan_test): Likewise.
38260 (ctanh_test): Likewise.
38261 (exp_test): Likewise.
38262 (exp10_test): Likewise.
38263 (exp2_test): Likewise.
38264 (expm1_test): Likewise.
38265 (fma_test): Likewise.
38266 (j0_test): Likewise.
38267 (jn_test): Likewise.
38268 (nexttoward_test): Likewise.
38269 (pow_test): Likewise.
38270 (scalbn_test): Likewise.
38271 (scalbln_test): Likewise.
38272 (tan_test): Likewise.
38273 (y1_test): Likewise.
38274 * sysdeps/i386/fpu/libm-test-ulps: Update.
38275 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38276
38277 2012-05-23 David S. Miller <davem@davemloft.net>
38278
38279 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
38280 (__libc_sigaction): Remove unused local variables.
38281
38282 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
38283
38284 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
38285
38286 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
38287
38288 mktime: avoid signed integer overflow
38289 * time/mktime.c (__mktime_internal): Do not mishandle the case
38290 where diff == INT_MIN.
38291
38292 mktime: simplify computation of average
38293 * time/mktime.c (ranged_convert): Use new time_t_avg function
38294 instead of rolling our own (probably-slower) code.
38295
38296 mktime: do not assume signed right shift propagates sign bit
38297 * time/mktime.c (isdst_differ): New static function.
38298 (__mktime_internal): No need to normalize tm_isdst now.
38299 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
38300 tm_isdst values.
38301
38302 mktime: merge another wrapv change from gnulib
38303 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
38304 from some compilers.
38305
38306 mktime: remove incorrect attempt at unusual arithmetics
38307 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
38308 The code didn't really work on such machines anyway.
38309 (TYPE_MINIMUM): Assume two's complement.
38310 (twos_complement_arithmetic): Verify that long_int and time_t
38311 are two's complement (or unsigned, in the latter case).
38312
38313 mktime: check signed shifts on long_int and time_t, too
38314 * time/mktime.c (SHR): Check that shifts work as desired
38315 on the types long_int and time_t too, as SHR is used on
38316 such types.
38317
38318 mktime: do not assume 'long' is wide enough
38319 * time/mktime.c (verify): Move decl up.
38320 (long_int): New type.
38321 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
38322 to remove assumption in the code that 'long' is wide enough to
38323 store year values. This assumption is not true on x32 and on
38324 some non-glibc platforms.
38325
38326 mktime: merge wrapv change from gnulib
38327 * time/mktime.c (WRAPV): New macro.
38328 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
38329 (guess_time_tm, __mktime_internal): Do not assume that signed
38330 integer overflow wraps around; modern compilers generate code
38331 where this assumption is no longer valid.
38332
38333 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
38334
38335 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
38336 Replace "jmp L(pseudo_end)" with "ret".
38337 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
38338 Likewise.
38339
38340 2012-05-23 Andreas Jaeger <aj@suse.de>
38341
38342 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
38343 * sysdeps/unix/sysv/linux/poll.c: Remove file.
38344
38345 2012-05-23 Andreas Jaeger <aj@suse.de>
38346 Maximilian Attems <max@stro.at>
38347
38348 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
38349 New macros.
38350
38351 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
38352
38353 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
38354 code so that pseudo_end is just ret and the stack pointer is
38355 correct also for static library in error case.
38356
38357 2012-05-23 Joseph Myers <joseph@codesourcery.com>
38358
38359 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
38360 move to syscalls.list.
38361 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
38362 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
38363 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
38364 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
38365
38366 * manual/install.texi (Running make install): Do not mention Linux
38367 kernel version for which pt_chown is not needed.
38368 (Linux): Do not mention problems with nscd with 2.0 kernels.
38369 * INSTALL: Regenerated.
38370
38371 2012-05-23 Andreas Jaeger <aj@suse.de>
38372
38373 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
38374 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
38375 macro.
38376 * sysdeps/unix/sysv/linux/s390/bits/mman.h
38377 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
38378 * sysdeps/unix/sysv/linux/sh/bits/mman.h
38379 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
38380 * sysdeps/unix/sysv/linux/i386/bits/mman.h
38381 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
38382 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
38383 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
38384 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
38385 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
38386 * sysdeps/unix/sysv/linux/bits/in.h
38387 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
38388
38389 2012-05-22 Roland McGrath <roland@hack.frob.com>
38390
38391 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
38392 (PREPARE_VERSION): Just use assert instead, it will be elided
38393 under [NDEBUG] anyway.
38394
38395 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
38396
38397 * sysdeps/unix/sysv/linux/Makefile: Include
38398 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
38399 (sysdep_routines): Remove sysctl.
38400 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
38401 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
38402 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
38403 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
38404 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
38405
38406 2012-05-22 Andreas Jaeger <aj@suse.de>
38407
38408 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
38409 that pseudo_end is just ret and the stack pointer is correct also
38410 for static library in error case.
38411
38412 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
38413
38414 [BZ #14122]
38415 * nss/nsswitch.c (defconfig_entries): New variable.
38416 (__nss_database_lookup): Don't leak defconfig entries.
38417 (nss_parse_service_list): Don't leak on error paths.
38418 (free_database_entries): New function.
38419 (free_defconfig): New function.
38420 (free_mem): Move common code to free_database_entries.
38421
38422 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
38423
38424 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
38425 Add arch_prctl.
38426 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
38427
38428 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
38429 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
38430 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
38431 New macro.
38432 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
38433 (INTERNAL_SYSCALL_TYPES): Likewise.
38434 (LOAD_ARGS_TYPES_[1-6]): Likewise.
38435 (LOAD_REGS_TYPES_[1-6]): Likewise.
38436 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
38437 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
38438
38439 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38440
38441 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
38442 copysignl for GLIBC_2_0.
38443 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
38444 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
38445 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
38446 logbl for GLIBC_2_0.
38447 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
38448 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
38449
38450 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
38451
38452 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
38453 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
38454
38455 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
38456 Use "neg %eax".
38457
38458 * time/mktime.c: Update copyright years.
38459
38460 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
38461
38462 mktime: merge comment-quoting-style change from gnulib
38463 * time/mktime.c: Quote 'like this' in comments.
38464 The GNU coding standards suggest that we no longer quote `like this',
38465 as "`" and "'" are typically rendered asymmetrically nowadays.
38466 The typical gnulib style is to quote 'like this' when quoting
38467 code, and "like this" when quoting English.
38468
38469 * time/mktime.c (compile-command): Add "-I.".
38470
38471 mktime: merge mktime-internal.h change from gnulib
38472 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
38473
38474 mktime: merge time_r change from gnulib
38475 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
38476
38477 mktime: merge DEBUG change from gnulib
38478 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
38479 case system <time.h> has a #define.
38480
38481 mktime: merge <sys/types.h> change from gnulib
38482 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
38483 since <time.t> is now guaranteed to define time_t.
38484
38485 mktime: merge HAVE_CONFIG_H change from gnulib
38486 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
38487
38488 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
38489
38490 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
38491 Use "neg %eax".
38492
38493 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
38494 __rlim_t cast.
38495 (struct rusage): Use anonymous union to pad each field to
38496 __syscall_slong_t.
38497
38498 2012-05-21 David S. Miller <davem@davemloft.net>
38499
38500 * Makefules (o-iterator): Remove .s cases.
38501 (compile-command.s): Delete.
38502 (COMPILE.s): Delete.
38503 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
38504
38505 2012-05-21 Joseph Myers <joseph@codesourcery.com>
38506
38507 * configure.in (libc_cv_predef_stack_protector): Only consider
38508 "foobar" and "__stack_chk_fail" lines in libc_undefs.
38509 * configure: Regenerated.
38510
38511 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
38512
38513 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
38514 New macro. Use R*LP on int and pointer.
38515 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
38516 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
38517 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
38518 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
38519
38520 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
38521 [__WORDSIZE_TIME64_COMPAT32] instead of
38522 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
38523 (struct utmp): Likewise.
38524 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
38525 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
38526 Renamed to ...
38527 (__WORDSIZE_TIME64_COMPAT32): This.
38528 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
38529 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
38530 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
38531 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
38532 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
38533 (__WORDSIZE_TIME64_COMPAT32): New macro.
38534
38535 2012-05-21 Andreas Jaeger <aj@suse.de>
38536
38537 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
38538 only if [SHARED]. Add prototype for __wcschr_ia32.
38539
38540 2012-05-21 Roland McGrath <roland@hack.frob.com>
38541
38542 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
38543 of %rbp unmolested in the jmp_buf while mangling the low bits.
38544 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
38545 unmolested high bits of %rbp while demangling the low bits.
38546 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
38547
38548 2012-05-21 Andreas Jaeger <aj@suse.de>
38549
38550 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
38551 * sunrpc/svc_simple.c: Use it for registerrpc.
38552 * sunrpc/xcrypt.c: Use it for passwd2des.
38553
38554 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
38555
38556 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
38557
38558 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
38559 Don't define if [__SYSCALL_WORDSIZE != 32].
38560 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
38561 New macro.
38562
38563 2012-05-21 Bruno Haible <bruno@clisp.org>
38564 Andreas Jaeger <aj@suse.de>
38565
38566 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
38567 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
38568 inptr and inend for must_buffer_ch.
38569 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
38570 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
38571 * stdio-common/Makefile (tests): Remove bug15.
38572 (bug15-ENV): Remove macro.
38573 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
38574 anymore.
38575
38576 2012-05-19 Andreas Jaeger <aj@suse.de>
38577 Roland McGrath <roland@hack.frob.com>
38578
38579 * manual/contrib.texi: Completely rewritten. It contains now an
38580 alphabetical list of contributors and their contributions.
38581
38582 2012-05-21 Richard Henderson <rth@twiddle.net>
38583
38584 * misc/getauxval.c (__getauxval): Use unsigned long int.
38585 * misc/sys/auxv.h: Include <sys/cdefs.h>.
38586 (getauxval): Use unsigned long int.
38587
38588 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
38589
38590 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
38591
38592 2012-05-21 Roland McGrath <roland@hack.frob.com>
38593
38594 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
38595 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
38596 __alignof__ (long double).
38597
38598 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38599
38600 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38601
38602 2012-05-20 Richard Henderson <rth@twiddle.net>
38603
38604 * misc/getauxval.c: New file.
38605 * misc/sys/auxv.h: New file.
38606 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
38607 (routines): Add getauxval.
38608 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
38609 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
38610 * elf/dl-sysdep.c (_dl_auxv): Remove.
38611 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
38612 * elf/dl-support.c (_dl_auxv): New variable.
38613 (_dl_aux_init): Initialize it.
38614 * manual/startup.texi (Auxiliary Vector): New node.
38615 * sysdeps/generic/bits/hwcap.h: New file.
38616 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
38617 * sysdeps/powerpc/sysdep.h: ... here. Include it.
38618 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
38619 * sysdeps/sparc/sysdep.h: ... here. Include it.
38620 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
38621 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
38622 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
38623 Update.
38624 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
38625 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
38626 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
38627 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
38628 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
38629 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
38630 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
38631 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
38632
38633 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38634
38635 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38636
38637 2012-05-19 David S. Miller <davem@davemloft.net>
38638
38639 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38640
38641 2012-05-19 Joseph Myers <joseph@codesourcery.com>
38642
38643 [BZ #14123]
38644 * math/s_ccosh.c: Include <float.h>
38645 (__ccosh): Avoid internal overflow calculating sinh and cosh
38646 values before multiplying by sin and cos values.
38647 * math/s_ccoshf.c: Likewise.
38648 * math/s_ccoshl.c: Likewise.
38649 * math/s_csin.c: Likewise.
38650 * math/s_csinf.c: Likewise.
38651 * math/s_csinl.c: Likewise.
38652 * math/s_csinh.c: Likewise.
38653 * math/s_csinhf.c: Likewise.
38654 * math/s_csinhl.c: Likewise.
38655 * math/libm-test.inc (ccos_test): Add more tests.
38656 (ccosh_test): Likewise.
38657 (csin_test): Likewise.
38658 (csinh_test): Likewise.
38659 * sysdeps/i386/fpu/libm-test-ulps: Update.
38660 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38661
38662 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
38663
38664 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
38665 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
38666
38667 * sysdeps/x86_64/x32/_itoa.h: Add comment.
38668
38669 2012-05-19 Joseph Myers <joseph@codesourcery.com>
38670
38671 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
38672 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
38673 * sysdeps/powerpc/soft-fp/Versions: Likewise.
38674 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
38675 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
38676 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
38677 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
38678 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
38679 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
38680 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
38681 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
38682 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
38683 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
38684 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
38685 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
38686 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
38687 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
38688 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
38689 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
38690 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
38691 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
38692 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
38693 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
38694 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
38695 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
38696 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
38697 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
38698 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
38699 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
38700 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
38701 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
38702
38703 2012-05-18 Andreas Jaeger <aj@suse.de>
38704
38705 * csu/.gitignore: Delete.
38706
38707 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
38708
38709 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
38710 (timex): Use __syscall_slong_t.
38711
38712 2012-05-18 Andreas Jaeger <aj@suse.de>
38713 Carlos O'Donell <carlos_odonell@mentor.com>
38714
38715 * manual/install.texi (Configuring and compiling): Update
38716 description about files modified in the source directory.
38717 * INSTALL: Regenerated.
38718
38719 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
38720
38721 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
38722 value. Use "or" to set return value to -1.
38723 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
38724 negate return value.
38725
38726 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
38727
38728 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
38729 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
38730 failure if the compiler has Graphite support disabled.
38731 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
38732 Likewise.
38733 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
38734 (CFLAGS-memmove.c): Likewise.
38735 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
38736 Likewise.
38737
38738 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
38739
38740 * sysdeps/x86_64/x32/_itoa.h: New file.
38741
38742 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
38743 getdents system call only if kernel and user dirents have the
38744 same d_ino and d_off.
38745
38746 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
38747 LLONG_MAX != LONG_MAX.
38748 (_itoa_word): Use _ITOA_WORD_TYPE on value.
38749 (_fitoa_word): Likewise.
38750
38751 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
38752 years.
38753 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
38754 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
38755 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
38756
38757 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
38758 include <bits/wordsize.h>. Check __x86_64__ instead of
38759 __WORDSIZE.
38760 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
38761 if __x86_64__ is defined. Use anonymous union on fpstate.
38762
38763 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
38764 anonymous union.
38765
38766 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
38767
38768 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
38769 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
38770 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
38771 Refer to _rtld_local_ro instead of _rtld_global_ro.
38772 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
38773 Likewise.
38774 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
38775 Likewise.
38776 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
38777 Likewise.
38778 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
38779 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
38780 of _rtld_global, and rtld_progname instead of _dl_argv[0].
38781
38782 * sysdeps/powerpc/powerpc32/dl-machine.c
38783 (__elf_machine_runtime_setup) [PROF]: Don't reference
38784 _dl_prof_resolve.
38785
38786 2012-05-18 Andreas Jaeger <aj@suse.de>
38787
38788 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
38789 function only available for GCCs before 3.4 since GCC 3.4
38790 introduced a builtin.
38791 (lrint): Likewise.
38792 (llrintf): Likewise.
38793 (llrint): Likewise.
38794 (fmaxf): Likewise.
38795 (fmax): Likewise.
38796 (fminf): Likewise.
38797 (fmin): Likewise.
38798 (rint): Likewise.
38799 (rintf): Likewise.
38800 (nearbyint): Likewise.
38801 (nearbyintf): Likewise.
38802 (ceil): Likewise.
38803 (ceilf): Likewise.
38804 (floor): Likewise.
38805 (floorf): Likewise.
38806
38807 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
38808
38809 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
38810 on both fields and cast pointer to __syscall_ulong_t.
38811
38812 * bits/types.h (__fsword_t): New type.
38813 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
38814 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
38815 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
38816 (__FSWORD_T_TYPE): Likewise.
38817 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
38818 (__FSWORD_T_TYPE): Likewise.
38819 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
38820 (__FSWORD_T_TYPE): Likewise.
38821 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
38822 (__FSWORD_T_TYPE): Likewise.
38823 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
38824 __SWORD_TYPE with __fsword_t.
38825 (statfs64): Likewise.
38826
38827 2012-05-17 David S. Miller <davem@davemloft.net>
38828
38829 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
38830
38831 2012-05-17 Andreas Jaeger <aj@suse.de>
38832
38833 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
38834 warning.
38835
38836 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
38837
38838 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
38839
38840 2012-05-17 Andreas Jaeger <aj@suse.de>
38841
38842 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
38843 when it is used.
38844
38845 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
38846
38847 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
38848
38849 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
38850
38851 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
38852 * sysdeps/x86_64/tst-mallocalign1.c: New file.
38853
38854 2012-05-17 Andreas Jaeger <aj@suse.de>
38855 Carlos O'Donell <carlos_odonell@mentor.com>
38856
38857 [BZ #14059]
38858 * sysdeps/x86_64/multiarch/init-arch.h
38859 (bit_YMM_Usable): Rename to...
38860 (bit_AVX_Usable): ... this.
38861 (bit_FMA4_Usable): New macro.
38862 (bit_XMM_state): New macro.
38863 (bit_YMM_state): New macro.
38864 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
38865 [__ASSEMBLER__] (index_AVX_Usable): ... this.
38866 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
38867 (CPUID_OSXSAVE): New macro.
38868 (CPUID_AVX): New macro.
38869 (CPUID_FMA4): New macro.
38870 (index_YMM_Usable): Rename to...
38871 (index_AVX_Usable): ... this.
38872 (HAS_AVX): Use HAS_ARCH_FEATURE.
38873 (HAS_FMA4): Likewise.
38874 (HAS_YMM_USABLE): Remove.
38875 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
38876 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
38877 are present.
38878 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
38879 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
38880 * sysdeps/x86_64/multiarch/Makefile: Likewise.
38881 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
38882 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
38883
38884 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
38885
38886 * math/libm-test.c: Support platforms without multiple rounding modes.
38887 * math/bug-nextafter.c: Support platforms without FP exceptions.
38888 * math/bug-nexttoward.c: Likewise.
38889 * math/test-fenv.c: Likewise.
38890 * math/test-misc.c: Likewise.
38891 * stdlib/bug-getcontext.c: Likewise.
38892
38893 2012-05-17 Andreas Jaeger <aj@suse.de>
38894
38895 * manual/examples/search.c (critter_cmp): Change signature to
38896 avoid warnings.
38897 * manual/string.texi (Collation Functions): Likewise.
38898
38899 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
38900
38901 * bits/types.h: Fold copyright years.
38902 * bits/typesizes.h: Likewise.
38903 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
38904 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
38905 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
38906 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
38907 * time/time.h: Likewise.
38908
38909 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
38910
38911 [BZ #208]
38912 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
38913 in instead of returning them. Return void.
38914 (__libc_mallinfo): Accumulate over all arenas.
38915 (__malloc_stats): Adjust for change in int_mallinfo interface.
38916
38917 2012-05-16 Roland McGrath <roland@hack.frob.com>
38918
38919 [BZ #10375]
38920 * configure.in (NM): Add AC_CHECK_TOOL for it.
38921 (libc_extra_cflags): New substituted variable.
38922 Check for -fstack-protector being used implicitly.
38923 * configure: Regenerated.
38924 * config.make.in (config-extra-cflags): New variable,
38925 gets @libc_extra_cflags@.
38926 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
38927
38928 [BZ #10375]
38929 * configure.in: Check for _FORTIFY_SOURCE being predefined.
38930 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
38931 * configure: Regenerated.
38932 * config.make.in (CPPUNDEFS): New substituted variable.
38933 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
38934 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
38935 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
38936
38937 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
38938
38939 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
38940 (mq_attr): Use __syscall_slong_t.
38941
38942 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
38943
38944 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
38945 Check __x86_64__ instead of __WORDSIZE.
38946 (_STAT_VER_LINUX): Likewise.
38947 (stat): Check __x86_64__ instead of __WORDSIZE. Use
38948 __syscall_ulong_t and __syscall_slong_t.
38949 (stat64): Likewise.
38950
38951 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
38952
38953 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
38954
38955 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
38956
38957 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
38958
38959 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
38960
38961 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
38962 __syscall_ulong_t.
38963
38964 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
38965 include <bits/wordsize.h>. Check __x86_64__ instead of
38966 __WORDSIZE.
38967 (greg_t): Use "__extension__ long long int" if __x86_64__ is
38968 defined.
38969 (mcontext_t): Replace "unsigned long" with "unsigned long long".
38970
38971 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
38972 include <bits/wordsize.h>. Check __x86_64__ instead of
38973 __WORDSIZE.
38974 (user_regs_struct): Use "__extension__ unsigned long long"
38975 instead of "unsigned long" if __x86_64__ is defined.
38976 (user): Likewise. Pad after pointer field if __ILP32__ is
38977 defined.
38978
38979 2012-05-16 Joseph Myers <joseph@codesourcery.com>
38980
38981 * configure.in (makeinfo): Require version 4.5 or later. Allow
38982 versions 5 to 9.
38983 * configure: Regenerated.
38984 * manual/install.texi (texinfo): Increase version requirement to
38985 4.5 or later.
38986 * INSTALL: Regenerated.
38987
38988 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
38989
38990 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
38991
38992 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
38993
38994 * sysdeps/x86_64/x32/ffs.c: New file.
38995
38996 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
38997 __syscall_ulong_t.
38998 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
38999 defined. Use __syscall_ulong_t.
39000 (shminfo): Use __syscall_ulong_t.
39001 (shm_info): Likewise.
39002
39003 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
39004 __syscall_ulong_t.
39005
39006 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
39007 <bits/wordsize.h>.
39008 (msgqnum_t): Use __syscall_ulong_t.
39009 (msglen_t): Likewise.
39010 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
39011 __syscall_ulong_t.
39012
39013 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
39014 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
39015
39016 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
39017
39018 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
39019 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
39020
39021 * sysvipc/sys/msg.h (msgbuf): Replace long int with
39022 __syscall_slong_t.
39023
39024 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
39025 include <bits/wordsize.h>. Check __x86_64__ instead of
39026 __WORDSIZE.
39027
39028 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
39029 "unsigned long long int" if __x86_64__ is defined.
39030 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
39031
39032 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
39033 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
39034 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
39035
39036 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
39037 <stdint.h>.
39038 (GET_PC): Cast to uintptr_t first.
39039 (GET_FRAME): Likewise.
39040 (GET_STACK): Likewise.
39041
39042 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
39043 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
39044 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
39045 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
39046 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
39047 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
39048 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
39049 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
39050 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
39051 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
39052 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
39053 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
39054 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
39055 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
39056 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
39057 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
39058 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
39059 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
39060 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
39061 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
39062 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
39063 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
39064 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
39065 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
39066 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
39067 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
39068 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
39069 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
39070 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
39071
39072 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
39073
39074 * Makerules (+depfiles): Also collect depfiles from .oS in
39075 $(extra-objs).
39076 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
39077 .oS, $(libnldbl-routines)).
39078
39079 * Makerules (native-compile-mkdep-flags): Define.
39080 * sunrpc/Makefile (extra-objs): Add $(addprefix
39081 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
39082 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
39083 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
39084 calling $(make-target-directory).
39085
39086 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39087
39088 * bits/types.h (__snseconds_t): Removed.
39089 * time/time.h (struct timespec): Replace __snseconds_t with
39090 __syscall_slong_t.
39091 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
39092 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
39093 Likewise.
39094 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
39095 (__SNSECONDS_T_TYPE): Likewise.
39096 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
39097 (__SNSECONDS_T_TYPE): Likewise.
39098 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
39099 (__SNSECONDS_T_TYPE): Likewise.
39100
39101 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39102
39103 * sysdeps/mach/hurd/bits/typesizes.h
39104 (__SYSCALL_SLONG_TYPE): New macro.
39105 (__SYSCALL_ULONG_TYPE): Likewise.
39106
39107 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39108
39109 * bits/types.h (__syscall_slong_t): New type.
39110 (__syscall_ulong_t): Likewise.
39111
39112 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
39113 (__SYSCALL_ULONG_TYPE): Likewise.
39114 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
39115 (__SYSCALL_SLONG_TYPE): Likewise.
39116 (__SYSCALL_ULONG_TYPE): Likewise.
39117 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
39118 (__SYSCALL_SLONG_TYPE): Likewise.
39119 (__SYSCALL_ULONG_TYPE): Likewise.
39120 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
39121 (__SYSCALL_SLONG_TYPE): Likewise.
39122 (__SYSCALL_ULONG_TYPE): Likewise.
39123
39124 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39125
39126 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
39127 Add sigaltstack-offsets.sym.
39128 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
39129 <sigaltstack-offsets.h>.
39130 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
39131 longjmp_msg pointer.
39132 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
39133 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
39134 signal stack.
39135 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
39136
39137 2012-05-15 Joseph Myers <joseph@codesourcery.com>
39138
39139 * elf/stackguard-macros.h: Remove file.
39140 * sysdeps/generic/stackguard-macros.h: New file.
39141 * sysdeps/i386/stackguard-macros.h: Likewise.
39142 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
39143 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
39144 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
39145 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
39146 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
39147 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
39148 * sysdeps/x86_64/stackguard-macros.h: Likewise.
39149 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
39150 <elf/stackguard-macros.h>.
39151
39152 [BZ #14109]
39153 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
39154 __aligned__ in attribute.
39155 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
39156 (gregset_t): Likewise.
39157
39158 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39159
39160 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
39161 * sysdeps/x86_64/64/Implies-after: Here. New file.
39162 * sysdeps/x86_64/x32/Implies-after: New file.
39163
39164 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39165
39166 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
39167 and access return value for _dl_profile_fixup. Use R10_LP to
39168 load frame size.
39169
39170 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39171
39172 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
39173
39174 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39175
39176 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
39177 * sysdeps/x86_64/x32/sysdep.h: New file.
39178
39179 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39180
39181 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
39182 * sysdeps/x86_64/setjmp.S: Likewise.
39183
39184 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39185
39186 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
39187 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
39188 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
39189 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
39190 remove unused global constant.
39191
39192 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
39193
39194 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
39195 include of <not-cancel.h>.
39196
39197 2012-05-15 Roland McGrath <roland@hack.frob.com>
39198
39199 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
39200
39201 2012-05-15 Jeff Law <law@redhat.com>
39202 Andreas Jaeger <aj@suse.de>
39203
39204 [BZ #13594]
39205 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
39206 out from...
39207 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
39208 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
39209 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
39210 code changing __hst_map_handle.map.
39211
39212 2012-05-15 Roland McGrath <roland@hack.frob.com>
39213
39214 * configure.in (sysnames): Look for Implies-before and Implies-after
39215 files.
39216 * configure: Regenerated.
39217
39218 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39219
39220 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
39221 8-byte data alignment with LP_SIZE alignment.
39222
39223 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39224
39225 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
39226 into R10_LP.
39227
39228 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39229
39230 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
39231
39232 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39233
39234 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
39235 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
39236 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
39237 Likewise.
39238 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
39239
39240 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39241
39242 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
39243 (stackinfo_sub_sp): Likewise.
39244
39245 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39246
39247 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
39248 RAX_LP.
39249
39250 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39251
39252 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
39253 into R*_LP.
39254
39255 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39256
39257 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
39258 sizes into R*_LP.
39259
39260 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39261
39262 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
39263
39264 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39265
39266 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
39267 into R11_LP and load __x86_64_shared_cache_size_half into
39268 R8_LP.
39269
39270 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39271
39272 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
39273 R8_LP.
39274
39275 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39276
39277 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
39278 logb for POWER7.
39279 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
39280 logbf for POWER7.
39281 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
39282 logbl for POWER7.
39283 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
39284 powerpc32/power7/fpu/s_logb.c via #include.
39285 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
39286 powerpc32/power7/fpu/s_logbf.c via #include.
39287 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
39288 powerpc32/power7/fpu/s_logbl.c via #include.
39289
39290 2012-05-15 Joseph Myers <joseph@codesourcery.com>
39291
39292 * README.libm: Remove file.
39293
39294 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
39295
39296 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
39297 count for x32. Use R*_LP and omit operand-size suffix.
39298
39299 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
39300
39301 * shlib-versions: Move x86_64-.*-linux.* entries to ...
39302 * sysdeps/x86_64/64/shlib-versions: Here. New file.
39303 * sysdeps/x86_64/x32/shlib-versions: New file.
39304
39305 2012-05-14 Roland McGrath <roland@hack.frob.com>
39306
39307 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
39308 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
39309 Use _dl_fatal_printf instead.
39310
39311 2012-05-14 Joseph Myers <joseph@codesourcery.com>
39312
39313 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
39314 set if not set by the user. Do not allow for being unset.
39315 * sysdeps/unix/sysv/linux/configure: Regenerated.
39316
39317 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
39318
39319 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
39320 the `q' suffix from lea and replace .quad with ASM_ADDR.
39321
39322 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
39323
39324 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
39325 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
39326 instead of $17.
39327 (PTR_DEMANGLE): Likewise.
39328
39329 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
39330
39331 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
39332 (LP_OP): Likewise.
39333 (ASM_ADDR): Likewise.
39334 (RAX_LP): Likewise.
39335 (RBP_LP): Likewise.
39336 (RBX_LP): Likewise.
39337 (RCX_LP): Likewise.
39338 (RDI_LP): Likewise.
39339 (RSI_LP): Likewise.
39340 (RSP_LP): Likewise.
39341 (R8_LP): Likewise.
39342 (R9_LP): Likewise.
39343 (R10_LP): Likewise.
39344 (R10_LP): Likewise.
39345 (R11_LP): Likewise.
39346 (R12_LP): Likewise.
39347 (R13_LP): Likewise.
39348 (R14_LP): Likewise.
39349 (R15_LP): Likewise.
39350
39351 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
39352
39353 * sysdeps/x86_64/x32/dl-machine.h: New file.
39354
39355 2012-05-14 Andreas Jaeger <aj@suse.de>
39356
39357 * manual/Makefile (subdir): Remove export of subdir.
39358 (all): Remove target.
39359 (.PHONY): Remove all from list.
39360 (mkinstalldirs): Remove.
39361 (.PHONY): Remove installdirs from list.
39362 ($(inst_infodir)/libc.info): Use make-target-directory.
39363 (installdirs): Remove.
39364 (subdir_%): Remove.
39365 (glibc-targets): Remove.
39366 (lib): Remove.
39367 (stubs): Remove.
39368 ($(objpfx)stubs ../po/manual.pot): Remove.
39369 ($(objpfx)stamp%): Remove.
39370 (make-target-directory): Remove.
39371 (subdir_install): Remove.
39372 (routines): Remove.
39373 (aux): Remove.
39374 (sources): Remove.
39375 (objects): Remove.
39376 (headers): Remove.
39377
39378 [BZ #13750]
39379 * manual/.gitignore: Remove, it's not needed anymore.
39380 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
39381 all files in it.
39382 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
39383 directory.
39384 (texis): Renamed to $(objpfx)texis.
39385 (texis-path): New, contains path to generated files.
39386 (chapters.%): Use texis-path for complete path, add extra argument
39387 libc-texinfo.sh.
39388 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
39389 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
39390 (summary,texi, stamp-summary): Use complete path of
39391 files. Generate files in build dir.
39392 (dir-add.texi): Build in build dir.
39393 (libm-err.texi,stamp-libm-err): Likewise.
39394 (version.texi, stamp-version): Likewise.
39395 (.%c.texi): Likewise.
39396 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
39397 (mostlyclean): Remove target.
39398 (realclean): Remove target.
39399 (generated): Add new variable with contents from mostlyclean and
39400 realclean, remove entries duplicated in common-mostlyclean, add
39401 stamp-libm-err and stamp-version.
39402 (generated-dirs): Add libc directory.
39403 ($(inst_infodir)/libc.info): Install files from build dir.
39404
39405 * manual/install.texi (Configuring and compiling): Adjust since
39406 the info files are not part of the tar ball anymore.
39407
39408 2012-05-14 Andreas Jaeger <aj@suse.de>
39409
39410 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
39411 variable.
39412
39413 2012-05-14 Joseph Myers <joseph@codesourcery.com>
39414
39415 [BZ #13717]
39416 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
39417 to 2.2.0 where earlier.
39418 * sysdeps/unix/sysv/linux/configure: Regenerated.
39419 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
39420 Remove conditional code.
39421 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
39422 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
39423 Remove conditional code.
39424 [!__NR_lchown]: Likewise.
39425 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
39426 [__NR_lchown]: Likewise.
39427 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
39428 comment referencing __ASSUME_LCHOWN_SYSCALL.
39429 * sysdeps/unix/sysv/linux/i386/sigaction.c
39430 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
39431 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
39432 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
39433 Remove conditional code.
39434 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
39435 (__protocol_available): Remove #if 0 code.
39436 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
39437 conditional code.
39438 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
39439 * sysdeps/unix/sysv/linux/kernel-features.h
39440 (__ASSUME_GETCWD_SYSCALL): Don't define.
39441 (__ASSUME_REALTIME_SIGNALS): Likewise.
39442 (__ASSUME_PREAD_SYSCALL): Likewise.
39443 (__ASSUME_PWRITE_SYSCALL): Likewise.
39444 (__ASSUME_POLL_SYSCALL): Likewise.
39445 (__ASSUME_LCHOWN_SYSCALL): Likewise.
39446 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
39447 non-SPARC.
39448 (__ASSUME_SIOCGIFNAME): Don't define.
39449 (__ASSUME_MSG_NOSIGNAL): Likewise.
39450 (__ASSUME_SENDFILE): Define unconditionally.
39451 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
39452 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
39453 conditional code.
39454 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
39455 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
39456 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
39457 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
39458 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
39459 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
39460 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
39461 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
39462 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
39463 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
39464 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
39465 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
39466 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
39467 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
39468 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
39469 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
39470 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
39471 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
39472 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
39473 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
39474 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
39475 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
39476 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
39477 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
39478 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
39479 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
39480 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
39481 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
39482 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
39483 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
39484 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
39485 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
39486 Remove conditional code.
39487 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
39488 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
39489 Remove conditional code.
39490 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
39491 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
39492 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
39493 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
39494 Remove conditional code.
39495 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
39496 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
39497 Remove conditional code.
39498 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
39499 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
39500 Remove conditional code.
39501 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
39502 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
39503 Remove conditional code.
39504 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
39505 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
39506 Remove conditional code.
39507 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
39508 * sysdeps/unix/sysv/linux/sh/pwrite64.c
39509 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
39510 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
39511 * sysdeps/unix/sysv/linux/sigaction.c
39512 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
39513 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
39514 * sysdeps/unix/sysv/linux/sigpending.c
39515 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
39516 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
39517 * sysdeps/unix/sysv/linux/sigprocmask.c
39518 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
39519 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
39520 * sysdeps/unix/sysv/linux/sigsuspend.c
39521 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
39522 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
39523 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
39524 (__libc_missing_rt_sigs): Remove.
39525 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
39526 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
39527 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
39528 Remove conditional code.
39529 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
39530 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
39531 return 1.
39532 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
39533 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
39534 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
39535 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
39536
39537 2012-05-14 Andreas Jaeger <aj@suse.de>
39538
39539 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
39540 it's not used in glibc.
39541 (__coshm1): Likewise.
39542 (__acosh1p): Likewise.
39543 (__sgn): Likewise.
39544
39545 * manual/string.texi (Copying and Concatenation): Add missing
39546 variable in concat example.
39547 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
39548
39549 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
39550
39551 [BZ #14103]
39552 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
39553 __builtin_clzl with __builtin_clzll.
39554
39555 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
39556
39557 [BZ #14104]
39558 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
39559 libc_freeres_ptr.
39560
39561 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39562
39563 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
39564 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
39565 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
39566 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
39567
39568 2012-05-14 Mike Frysinger <vapier@gentoo.org>
39569
39570 * NEWS: Update ia64 info.
39571
39572 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
39573
39574 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
39575 used as bcopy.
39576
39577 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
39578
39579 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
39580 * sysdeps/unix/syscalls.list (dup3): Likewise.
39581 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
39582 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
39583
39584 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
39585
39586 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
39587 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
39588
39589 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
39590
39591 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
39592 thread pointer.
39593 (TLS_IE): Use mov/add instead of movq/addq to load thread
39594 pointer.
39595 (TLS_GD_PREFIX): New.
39596 (TLS_GD): Use it.
39597
39598 2012-05-11 David S. Miller <davem@davemloft.net>
39599
39600 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
39601 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
39602 (_FPU_SETCW): Likewise.
39603
39604 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
39605
39606 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
39607 is 32-byte aligned.
39608
39609 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
39610
39611 [BZ #11837]
39612 * iconvdata/gb18030.c: Update tables.
39613 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
39614 characters specially.
39615 (BODY for TO_LOOP): Add encoding of missing ranges.
39616
39617 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
39618
39619 [BZ #13673]
39620 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
39621 * sysdeps/mach/hurd/dup3.c: Likewise.
39622 * sysdeps/mach/hurd/readlinkat.c: Likewise.
39623 * sysdeps/powerpc/memmove.c:: Likewise.
39624
39625 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
39626
39627 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
39628 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
39629
39630 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
39631
39632 * elf/elf.h (R_X86_64_RELATIVE64): New.
39633 (R_X86_64_NUM): Updated.
39634 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
39635 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
39636 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
39637 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
39638 tst-quad1pie tst-quad2pie
39639 (modules-names): Add tst-quadmod1 tst-quadmod2.
39640 ($(objpfx)tst-quad1): New dependency.
39641 ($(objpfx)tst-quad2): Likewise.
39642 ($(objpfx)tst-quad1pie): Likewise.
39643 ($(objpfx)tst-quad2pie): Likewise.
39644 * sysdeps/x86_64/tst-quad1.c: New file.
39645 * sysdeps/x86_64/tst-quad1pie.c: New file.
39646 * sysdeps/x86_64/tst-quad2.c: Likewise.
39647 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
39648 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
39649 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
39650 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
39651 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
39652
39653 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
39654
39655 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
39656 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
39657 * streams/stropts.h (t_scalar_t): Define type.
39658
39659 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
39660 (_PATH_PRESERVE): Set to "/var/lib".
39661 (_PATH_RWHODIR): Set to "/var/spool/rwho".
39662
39663 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
39664 instead of int.
39665
39666 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
39667 if __dir_mkfile succeeded.
39668
39669 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
39670 checking for _hurd_dtablesize. Unlock it right after having
39671 finished _hurd_dtable allocation.
39672
39673 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
39674
39675 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
39676 * sysdeps/mach/hurd/configure: Regenerated.
39677 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
39678 special-casing to...
39679 * sysdeps/gnu/configure.in: ... this new file.
39680 * sysdeps/unix/sysv/linux/configure: Regenerated.
39681 * sysdeps/gnu/configure: New generated file.
39682
39683 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
39684 for Linux: use nsec instead of usec, as well as:
39685 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
39686 members of type struct timespec.
39687 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
39688 New macros.
39689 (struct stat64): Likewise.
39690 (_STATBUF_ST_NSEC): New macro.
39691 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
39692
39693 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
39694 __strtoul_internal rather than strtoul.
39695
39696 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
39697
39698 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
39699 and reject them.
39700
39701 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
39702
39703 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
39704 which preserves existing values.
39705 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
39706
39707 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
39708
39709 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
39710 TIMEOUT values. Return EINVAL for NFDS values either negative or
39711 greater than FD_SETSIZE.
39712
39713 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
39714
39715 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
39716 allocated, call __vm_protect to finish enabling the existing space, and
39717 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
39718 allocate the remainder.
39719
39720 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
39721
39722 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
39723 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
39724
39725 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
39726
39727 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
39728 sysdeps/mach/hurd/readlink.c.
39729
39730 * posix/tst-sysconf.c (posix_options): Only use
39731 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
39732 _POSIX_SYNCHRONIZED_IO when they are defined
39733 * sysdeps/mach/hurd/bits/posix_opt.h:
39734 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
39735 (_XOPEN_REALTIME): Undefine macro.
39736 (_XOPEN_REALTIME_THREADS): Undefine macro.
39737 (_XOPEN_SHM): Undefine macro.
39738 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
39739 macro to -1.
39740 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
39741 macro to -1.
39742 (_POSIX_ASYNC_IO): Undefine macro.
39743 (_POSIX_PRIORITIZED_IO): Undefine macro.
39744 (_POSIX_SPIN_LOCKS): Define macro to -1.
39745
39746 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
39747 SA_NODEFER, SA_RESETHAND.
39748 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
39749 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
39750 F_DUPFD_CLOEXEC.
39751
39752 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
39753
39754 * elf/Makefile (pldd-modules): Define unconditionally.
39755
39756 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
39757
39758 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
39759
39760 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
39761
39762 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
39763 Return ENOENT when name is empty.
39764 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
39765
39766 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
39767
39768 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
39769
39770 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
39771
39772 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
39773
39774 Fix mlock in all cases except non-readable pages.
39775 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
39776 instead of VM_PROT_ALL as parameter to __vm_wire function.
39777
39778 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
39779 (__mkdir): When path is `/', just fail with EEXIST.
39780 * sysdeps/mach/hurd/mkdirat.c: Likewise.
39781
39782 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
39783
39784 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
39785 <sys/uio.h> (for writev).
39786 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
39787 and <sys/param.h> (for MIN).
39788
39789 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
39790
39791 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
39792 REQUESTED_TIME. Properly set the remaining time and return EINTR
39793 if interrupted.
39794
39795 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
39796
39797 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
39798 Depend on against $(link-rpcuserlibs).
39799
39800 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
39801
39802 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
39803 (__libc_stack_end): Do not use attribute_relro.
39804 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
39805 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
39806 to libthread-provided value.
39807 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
39808 attribute_relro.
39809
39810 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
39811
39812 [BZ #3748]
39813 * bits/libc-lock.h (__libc_once_get): New macro.
39814 * sysdeps/mach/bits/libc-lock.h: Likewise.
39815 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
39816 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
39817 instead of using implementation details.
39818
39819 * libio/fileops.c: Unconditionally include <kernel-features.h>.
39820 * libio/freopen.c: Likewise.
39821 * libio/freopen64.c: Likewise.
39822 * misc/syslog.c: Likewise.
39823 * nscd/connections.c: Likewise.
39824 * nscd/netgroupcache.c: Likewise.
39825 * sysdeps/posix/getcwd.c: Likewise.
39826
39827 2012-05-10 Roland McGrath <roland@hack.frob.com>
39828
39829 * math/w_ilogbf.c: Add #include <limits.h>.
39830
39831 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
39832
39833 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
39834 path instead of returning without unlocking.
39835
39836 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
39837 immediate-write ioctls.
39838 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
39839
39840 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
39841
39842 * sysdeps/mach/hurd/i386/init-first.c (init): Use
39843 __builtin_frame_address instead of making assumptions about the
39844 location of the return address relative to DATA. Force early load of
39845 the return address.
39846 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
39847 __builtin_frame_address.
39848
39849 dup3 for GNU Hurd.
39850 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
39851 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
39852 implement dup3 and do some further code clean-ups.
39853 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
39854 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
39855
39856 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
39857
39858 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
39859
39860 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
39861 HURD_CRITICAL_END around holding _hurd_dtable_lock.
39862 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
39863 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
39864 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
39865 d->port.lock.
39866
39867 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
39868 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
39869 when handler == SIG_ERR, not when handler != SIG_ERR.
39870
39871 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
39872
39873 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
39874 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
39875 definitions.
39876
39877 accept4 for GNU Hurd.
39878 * include/sys/socket.h (__libc_accept4): New prototype.
39879 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
39880 to implement __libc_accept4.
39881 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
39882 __libc_accept4.
39883 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
39884
39885 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
39886 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
39887 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
39888 signal-defines.sym.
39889
39890 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
39891
39892 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
39893
39894 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
39895
39896 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
39897 assertion on O_CLOEXEC flag.
39898 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
39899 * hurd/intern-fd.c: Likewise.
39900 * hurd/port2fd.c: Likewise.
39901
39902 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
39903
39904 [BZ #3906]
39905 * bits/in.h (IPV6_PKTINFO): Define new macro.
39906 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
39907
39908 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39909
39910 [BZ #13954]
39911 [BZ #13955]
39912 [BZ #13956]
39913 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
39914 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
39915 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
39916 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
39917 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
39918 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
39919 * math/libm-test.inc (logb_test) : Additional logb tests.
39920
39921 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
39922 Andreas Jaeger <aj@suse.de>
39923
39924 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
39925 * configure: Regenerated.
39926 * config.h.in (LINK_OBSOLETE_RPC): New macro.
39927 * config.make.in (link-obsolete-rpc): New substituted variable.
39928 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
39929 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
39930 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
39931 (shared-only-routines): Don't set it under [link-obsolete-rpc],
39932 so that libc.a contains the symbols.
39933 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
39934 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
39935 * sunrpc/auth_none.c: Likewise.
39936 * sunrpc/auth_unix.c: Likewise.
39937 * sunrpc/authdes_prot.c: Likewise.
39938 * sunrpc/authuxprot.c: Likewise.
39939 * sunrpc/clnt_gen.c: Likewise.
39940 * sunrpc/clnt_perr.c: Likewise.
39941 * sunrpc/clnt_raw.c: Likewise.
39942 * sunrpc/clnt_simp.c: Likewise.
39943 * sunrpc/clnt_tcp.c: Likewise.
39944 * sunrpc/clnt_udp.c: Likewise.
39945 * sunrpc/clnt_unix.c: Likewise.
39946 * sunrpc/des_crypt.c: Likewise.
39947 * sunrpc/des_soft.c: Likewise.
39948 * sunrpc/get_myaddr.c: Likewise.
39949 * sunrpc/key_call.c: Likewise.
39950 * sunrpc/key_prot.c: Likewise.
39951 * sunrpc/netname.c: Likewise.
39952 * sunrpc/pm_getmaps.c: Likewise.
39953 * sunrpc/pm_getport.c: Likewise.
39954 * sunrpc/pmap_clnt.c: Likewise.
39955 * sunrpc/pmap_prot.c: Likewise.
39956 * sunrpc/pmap_prot2.c: Likewise.
39957 * sunrpc/pmap_rmt.c: Likewise.
39958 * sunrpc/publickey.c: Likewise.
39959 * sunrpc/rpc_cmsg.c: Likewise.
39960 * sunrpc/rpc_common.c: Likewise.
39961 * sunrpc/rpc_dtable.c: Likewise.
39962 * sunrpc/rpc_prot.c: Likewise.
39963 * sunrpc/rpc_thread.c: Likewise.
39964 * sunrpc/rtime.c: Likewise.
39965 * sunrpc/svc.c: Likewise.
39966 * sunrpc/svc_auth.c: Likewise.
39967 * sunrpc/svc_raw.c: Likewise.
39968 * sunrpc/svc_run.c: Likewise.
39969 * sunrpc/svc_tcp.c: Likewise.
39970 * sunrpc/svc_udp.c: Likewise.
39971 * sunrpc/svc_unix.c: Likewise.
39972 * sunrpc/svcauth_des.c: Likewise.
39973 * sunrpc/xcrypt.c: Likewise.
39974 * sunrpc/xdr.c: Likewise.
39975 * sunrpc/xdr_array.c: Likewise.
39976 * sunrpc/xdr_float.c: Likewise.
39977 * sunrpc/xdr_intXX_t.c: Likewise.
39978 * sunrpc/xdr_mem.c: Likewise.
39979 * sunrpc/xdr_rec.c: Likewise.
39980 * sunrpc/xdr_ref.c: Likewise.
39981 * sunrpc/xdr_sizeof.c: Likewise.
39982 * sunrpc/xdr_stdio.c: Likewise.
39983
39984 2012-05-10 Roland McGrath <roland@hack.frob.com>
39985
39986 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
39987 change. Update copyright years.
39988
39989 2012-05-10 Joseph Myers <joseph@codesourcery.com>
39990
39991 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
39992
39993 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
39994 Joseph Myers <joseph@codesourcery.com>
39995 Paul Pluzhnikov <ppluzhnikov@google.com>
39996
39997 [BZ #14012]
39998 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
39999 requiring rpcgen.
40000 [cross-compiling] (extra-libs): Likewise.
40001 [cross-compiling] (extra-libs-others): Likewise.
40002 [cross-compiling] (librpcsvc-routines): Likewise.
40003 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
40004 [cross-compiling] (omit-deps): Likewise.
40005 (sunrpc-CPPFLAGS): New variable.
40006 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
40007 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
40008 (cross-rpcgen-objs): New variable.
40009 (extra-objs): Append $(cross-rpcgen-objs).
40010 ($(cross-rpcgen-objs)): New rule.
40011 ($(objpfx)cross-rpcgen): Likewise.
40012 (rpcgen-cmd): Define to use $(built-program-file). Expand
40013 comment.
40014 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
40015 ($(objpfx)x%.stmp): Likewise.
40016 * sunrpc/proto.h [IS_IN_build] (_): Define.
40017 [IS_IN_build] (_libc_intl_domainname): Likewise.
40018
40019 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
40020
40021 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
40022 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
40023 and R_X86_64_TPOFF64.
40024
40025 2012-05-10 Joseph Myers <joseph@codesourcery.com>
40026
40027 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
40028 sysdeps/unix/sysv/syscalls.list.
40029 (stime): Likewise.
40030 (utime): Likewise.
40031 * sysdeps/unix/sysv/syscalls.list: Remove file.
40032
40033 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
40034
40035 [BZ #3440]
40036 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
40037 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
40038 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
40039 (__LC_IDENTIFICATION): Make these macros useful in #if
40040 expressions, as required by C99.
40041
40042 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
40043
40044 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
40045 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
40046 after this.
40047
40048 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
40049
40050 * stdlib/longlong.h: Updated from GCC.
40051
40052 2012-05-09 Andreas Jaeger <aj@suse.de>
40053
40054 * nscd/nscd.c (run_modes): Make named enum, reorder so that
40055 default is first entry.
40056 (run_mode): Set type.
40057 (main): Remove informal message about syslog.
40058 (options): Fix typo.
40059
40060 [BZ #14053]
40061 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
40062 to asm.
40063 (lrint): Likewise.
40064 (llrintf): Likewise.
40065 (llrint): Likewise.
40066 (rint): Likewise.
40067 (rintf): Likewise.
40068 (nearbyint): Likewise.
40069 (nearbyintf): Likewise.
40070
40071 2012-05-09 Andreas Jaeger <aj@suse.de>
40072 Pedro Alves <palves@redhat.com>
40073
40074 * nscd/nscd.c (run_mode): Use enum.
40075 (main): Cleanup coding style issue.
40076
40077 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
40078 Andreas Jaeger <aj@suse.de>
40079
40080 * nscd/nscd.c (go_background): Replaced with...
40081 (run_mode): ... this.
40082 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
40083 (options): Add -F --foreground.
40084 (main): Implement it.
40085 (parse_opt): Parse it.
40086
40087 2012-05-09 Andreas Jaeger <aj@suse.de>
40088
40089 [BZ #14083]
40090 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
40091 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
40092 -Wconversion warning.
40093 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
40094 Likewise.
40095
40096 2012-05-09 Joseph Myers <joseph@codesourcery.com>
40097
40098 * conform/data/locale.h-data (NULL): Use macro-constant. Require
40099 == 0.
40100 (LC_ALL): Use macro-int-constant.
40101 (LC_COLLATE): Likewise.
40102 (LC_CTYPE): Likewise.
40103 (LC_MESSAGES): Likewise.
40104 (LC_MONETARY): Likewise.
40105 (LC_NUMERIC): Likewise.
40106 (LC_TIME): Likewise.
40107 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
40108 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
40109 [ISO || ISO99 || ISO11] (*_t): Do not allow.
40110 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
40111 Specify type.
40112 [C99-based standards] (float_t): Expect type.
40113 [C99-based standards] (double_t): Expect type.
40114 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
40115 type.
40116 [C99-based standards] (HUGE_VALL): Likewise.
40117 [C99-based standards] (INFINITY): Likewise.
40118 [C99-based standards] (NAN): Likewise.
40119 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
40120 [C99-based standards] (FP_NAN): Likewise.
40121 [C99-based standards] (FP_NORMAL): Likewise.
40122 [C99-based standards] (FP_SUBNORMAL): Likewise.
40123 [C99-based standards] (FP_ZERO): Likewise.
40124 [C99-based standards] (FP_FAST_FMA): Use
40125 optional-macro-int-constant. Specify type. Require == 1.
40126 [C99-based standards] (FP_FAST_FMAF): Likewise.
40127 [C99-based standards] (FP_FAST_FMAL): Likewise.
40128 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
40129 [C99-based standards] (FP_ILOGBNAN): Likewise.
40130 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
40131 Specify type.
40132 [C99-based standards] (MATH_ERREXCEPT): Likewise.
40133 [C99-based standards] (math_errhandling): Specify type.
40134 [ISO99 || ISO11] (signgam): Do not allow.
40135 [non-C99-based standards] (copysignf): Do not allow.
40136 [non-C99-based standards] (exp2f): Likewise.
40137 [non-C99-based standards] (log2f): Likewise.
40138 [non-C99-based standards] (modff): Allow.
40139 [non-C99-based standards] (erff): Do not allow.
40140 [non-C99-based standards] (erfcf): Likewise.
40141 [non-C99-based standards] (gammaf): Likewise.
40142 [non-C99-based standards] (hypotf): Likewise.
40143 [non-C99-based standards] (j0f): Likewise.
40144 [non-C99-based standards] (j1f): Likewise.
40145 [non-C99-based standards] (jnf): Likewise.
40146 [non-C99-based standards] (lgammaf): Likewise.
40147 [non-C99-based standards] (tgammaf): Likewise.
40148 [non-C99-based standards] (y0f): Likewise.
40149 [non-C99-based standards] (y1f): Likewise.
40150 [non-C99-based standards] (ynf): Likewise.
40151 [non-C99-based standards] (isnanf): Likewise.
40152 [non-C99-based standards] (acoshf): Likewise.
40153 [non-C99-based standards] (asinhf): Likewise.
40154 [non-C99-based standards] (atanhf): Likewise.
40155 [non-C99-based standards] (cbrtf): Likewise.
40156 [non-C99-based standards] (expm1f): Likewise.
40157 [non-C99-based standards] (ilogbf): Likewise.
40158 [non-C99-based standards] (log1pf): Likewise.
40159 [non-C99-based standards] (logbf): Likewise.
40160 [non-C99-based standards] (nextafterf): Likewise.
40161 [non-C99-based standards] (remainderf): Likewise.
40162 [non-C99-based standards] (rintf): Likewise.
40163 [non-C99-based standards] (scalbf): Likewise.
40164 [non-C99-based standards] (copysignl): Likewise.
40165 [non-C99-based standards] (exp2l): Likewise.
40166 [non-C99-based standards] (log2l): Likewise.
40167 [non-C99-based standards] (modfl): Allow.
40168 [non-C99-based standards] (erfl): Do not allow.
40169 [non-C99-based standards] (erfcl): Likewise.
40170 [non-C99-based standards] (gammal): Likewise.
40171 [non-C99-based standards] (hypotl): Likewise.
40172 [non-C99-based standards] (j0l): Likewise.
40173 [non-C99-based standards] (j1l): Likewise.
40174 [non-C99-based standards] (jnl): Likewise.
40175 [non-C99-based standards] (lgammal): Likewise.
40176 [non-C99-based standards] (tgammal): Likewise.
40177 [non-C99-based standards] (y0l): Likewise.
40178 [non-C99-based standards] (y1l): Likewise.
40179 [non-C99-based standards] (ynl): Likewise.
40180 [non-C99-based standards] (isnanl): Likewise.
40181 [non-C99-based standards] (acoshl): Likewise.
40182 [non-C99-based standards] (asinhl): Likewise.
40183 [non-C99-based standards] (atanhl): Likewise.
40184 [non-C99-based standards] (cbrtl): Likewise.
40185 [non-C99-based standards] (expm1l): Likewise.
40186 [non-C99-based standards] (ilogbl): Likewise.
40187 [non-C99-based standards] (log1pl): Likewise.
40188 [non-C99-based standards] (logbl): Likewise.
40189 [non-C99-based standards] (nextafterl): Likewise.
40190 [non-C99-based standards] (remainderl): Likewise.
40191 [non-C99-based standards] (rintl): Likewise.
40192 [non-C99-based standards] (scalbl): Likewise.
40193 [ISO || ISO99 || ISO11] (*_t): Do not allow.
40194 [non-C99-based standards] (FP_*): Do not allow.
40195 [C99-based standards] (FP_*): Change to
40196 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
40197 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
40198 allow.
40199 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
40200 (SIG_ERR): Likewise.
40201 [X/Open-based standards] (SIG_HOLD): Likewise.
40202 (SIG_IGN): Likewise.
40203 (SIGABRT): Use macro-int-constant. Specify type. Require
40204 positive value.
40205 (SIGFPE): Likewise.
40206 (SIGILL): Likewise.
40207 (SIGINT): Likewise.
40208 (SIGSEGV): Likewise.
40209 (SIGTER): Likewise.
40210 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
40211 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
40212 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
40213 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
40214 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
40215 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
40216 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
40217 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
40218 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
40219 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
40220 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
40221 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
40222 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
40223 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
40224 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
40225 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
40226 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
40227 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
40228 [X/Open-based standards] (SIGTRAP): Likewise.
40229 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
40230 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
40231 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
40232 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
40233 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
40234 allow.
40235
40236 2012-05-08 Ian Wienand <ianw@vmware.com>
40237
40238 [BZ #14080]
40239 * time/tzset.c (__tzset_parse_tz): Update default rules for
40240 daylight time changes in the Energy Policy Act of 2005.
40241
40242 2012-05-09 Andreas Jaeger <aj@suse.de>
40243
40244 [BZ #13983]
40245 * elf/ldconfig.c (parse_conf): Change string to make clear that
40246 ldconfig only issued a warning if ld.so.conf does not exist.
40247
40248 2012-05-08 David S. Miller <davem@davemloft.net>
40249
40250 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
40251 movxtod instead of popping the value on the stack.
40252
40253 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40254
40255 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
40256
40257 * config.h.in: Add HAVE_ARM_PCS_VFP.
40258
40259 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
40260
40261 [BZ #13979]
40262 * include/features.h: Warn if user requests __FORTIFY_SOURCE
40263 checking but the checks are disabled for any reason.
40264
40265 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
40266
40267 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
40268 and ELF64_R_TYPE with ELFW(R_TYPE).
40269
40270 2012-05-08 Joseph Myers <joseph@codesourcery.com>
40271
40272 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
40273 (ulimit): Likewise.
40274
40275 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
40276 (settimeofday): Likewise.
40277
40278 2012-05-08 Mike Frysinger <vapier@gentoo.org>
40279
40280 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
40281 a struct th_u2 inside the union, and move tu_block/tu_code into
40282 a new th_u3 union of tu_block/tu_code inside of that. Move
40283 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
40284 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
40285 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
40286 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
40287 (th_stuff): Change to th_u1.tu_stuff.
40288 (th_data): Define.
40289 (th_msg): Change to th_u1.th_u2.tu_data.
40290
40291 2012-05-07 David S. Miller <davem@davemloft.net>
40292
40293 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40294
40295 [BZ #14074]
40296 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
40297 (SETUP_PIC_REG): Use it.
40298 (SETUP_PIC_REG_LEAF): Use it.
40299
40300 2012-05-07 Joseph Myers <joseph@codesourcery.com>
40301
40302 [BZ #13885]
40303 [BZ #13923]
40304 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
40305 USE_AS_EXPM1L.
40306 (EXPL_FINITE): Likewise.
40307 (FLDLOG): Likewise.
40308 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
40309 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
40310 e_expl.S.
40311 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
40312 USE_AS_EXPM1L.
40313 (EXPL_FINITE): Likewise.
40314 (FLDLOG): Likewise.
40315 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
40316 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
40317 e_expl.S.
40318 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
40319 test of -max_value argument for long double.
40320 * sysdeps/i386/fpu/libm-test-ulps: Update.
40321 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40322
40323 2012-05-06 David S. Miller <davem@davemloft.net>
40324
40325 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
40326 quad soft-float symbols whose references which are compiler
40327 generated.
40328 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
40329
40330 2012-05-06 Joseph Myers <joseph@codesourcery.com>
40331
40332 [BZ #13884]
40333 [BZ #13914]
40334 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
40335 USE_AS_EXP10L.
40336 (EXPL_FINITE): Likewise.
40337 (FLDLOG): Likewise.
40338 (c0): Likewise.
40339 (c1): Likewise.
40340 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
40341 Adjust comments for base varying.
40342 (__expl_finite): Change alias to EXPL_FINITE.
40343 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
40344 e_expl.S.
40345 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
40346 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
40347 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
40348 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
40349 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
40350 USE_AS_EXP10L.
40351 (EXPL_FINITE): Likewise.
40352 (FLDLOG): Likewise.
40353 (c0): Likewise.
40354 (c1): Likewise.
40355 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
40356 Adjust comments for base varying.
40357 (__expl_finite): Change alias to EXPL_FINITE.
40358 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
40359 tests for bugs.
40360 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40361
40362 [BZ #14064]
40363 * math/libm-test.inc (check_float_internal): Correct ulp
40364 calculation for subnormal expected results.
40365
40366 2012-05-06 Andreas Jaeger <aj@suse.de>
40367
40368 * Makeconfig (+math-flags): New, set to -frounding-math.
40369 (+cflags): Add +math-flags so that all of glibc gets compiled with
40370 it.
40371
40372 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
40373
40374 2012-05-05 Joseph Myers <joseph@codesourcery.com>
40375
40376 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
40377 Disable one test.
40378
40379 [BZ #13787]
40380 [BZ #13922]
40381 [BZ #14036]
40382 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
40383 (__ieee754_expl): Allow for and saturate large arguments.
40384 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
40385 (u_threshold): Likewise.
40386 (__exp): Call __ieee754_exp before checking for overflow and
40387 underflow.
40388 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
40389 (u_threshold): Likewise.
40390 (__expf): Call __ieee754_expf before checking for overflow and
40391 underflow.
40392 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
40393 (u_threshold): Likewise.
40394 (__expl): Call __ieee754_expl before checking for overflow and
40395 underflow.
40396 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
40397 (__ieee754_expl): Allow for and saturate large arguments.
40398 * math/libm-test.inc (exp_test): Add another test. Do not allow
40399 missing overflow exception on overflow.
40400 (expm1_test): Do not allow missing overflow exception on overflow.
40401
40402 * sysdeps/i386/fpu/e_expl.c: Move to ...
40403 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
40404 rather than using inline asm.
40405 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
40406 * sysdeps/x86_64/fpu/e_expl.S: Copy from
40407 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
40408
40409 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
40410 (nice): Likewise.
40411 (poll): Likewise.
40412 (signal): Likewise.
40413 (time): Likewise.
40414 (times): Likewise.
40415
40416 2012-05-04 Joseph Myers <joseph@codesourcery.com>
40417
40418 * sysdeps/unix/syscalls.list (adjtime): Add entry from
40419 sysdeps/unix/common/syscalls.list.
40420 (fchmod): Likewise.
40421 (fchown): Likewise.
40422 (ftruncate): Likewise.
40423 (getrusage): Likewise.
40424 (gettimeofday): Likewise.
40425 (setpgid): Likewise.
40426 (setregid): Likewise.
40427 (setreuid): Likewise.
40428 (sigaction): Likewise.
40429 (truncate): Likewise.
40430 (vhangup): Likewise.
40431 * sysdeps/unix/common/syscalls.list: Remove file.
40432 * sysdeps/unix/bsd/Implies: Don't include unix/common.
40433 * sysdeps/unix/sysv/linux/Implies: Likewise.
40434
40435 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
40436
40437 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
40438 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
40439 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
40440 Moved to ...
40441 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
40442 Here.
40443 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
40444 to ...
40445 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
40446 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
40447 to ...
40448 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
40449 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
40450 to ...
40451 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
40452 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
40453 to ...
40454 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
40455 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
40456 to ...
40457 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
40458 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
40459 to ...
40460 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
40461 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
40462 to ...
40463 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
40464 Here.
40465 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
40466 to ...
40467 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
40468 Here.
40469 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
40470 to ...
40471 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
40472 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
40473 Moved to ...
40474 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
40475 Here.
40476 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
40477 to ...
40478 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
40479
40480 2012-05-04 Joseph Myers <joseph@codesourcery.com>
40481
40482 * sysdeps/unix/common/bits/dirent.h: Remove file.
40483 * sysdeps/unix/common/bits/fcntl.h: Likewise.
40484
40485 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
40486 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
40487 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
40488 * sysdeps/unix/bsd/isatty.c: Likewise.
40489 * sysdeps/unix/bsd/tcdrain.c: Likewise.
40490 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
40491 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
40492
40493 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40494
40495 [BZ #13563]
40496 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
40497 long double comparison inaccuracies.
40498 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
40499 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40500
40501 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
40502
40503 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
40504 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
40505
40506 2012-05-04 Joseph Myers <joseph@codesourcery.com>
40507
40508 [BZ #14049]
40509 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
40510 nonzero digits before rounding a hex value.
40511 * stdlib/tst-strtod.c (tests): Add another test.
40512
40513 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40514
40515 * sysdeps/s390/fpu/libm-test-ulps: Update.
40516
40517 2012-05-03 Andreas Jaeger <aj@suse.de>
40518
40519 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
40520 does not get optimized out.
40521 (malloc_opt_barrier): New.
40522
40523 2012-05-03 Andreas Jaeger <aj@suse.de>
40524 Roland McGrath <roland@hack.frob.com>
40525
40526 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
40527 intermediate file deletion.
40528 (generated): Add .symlist files.
40529
40530 2012-05-03 Joseph Myers <joseph@codesourcery.com>
40531
40532 [BZ #13775]
40533 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
40534 Redirect under this condition.
40535 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
40536 [__USE_GNU] (__dprintf_chk): Not under this condition.
40537 [__USE_GNU] (__vdprintf_chk): Likewise.
40538 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
40539 under this condition.
40540 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
40541 [__USE_XOPEN2K8] (dprintf): Define under this condition.
40542 [__USE_XOPEN2K8] (vdprintf): Likewise.
40543 [__USE_GNU] (__dprintf_chk): Not under this condition.
40544 [__USE_GNU] (__vdprintf_chk): Likewise.
40545 [__USE_GNU] (dprintf): Likewise.
40546 [__USE_GNU] (vdprintf): Likewise.
40547
40548 2012-05-03 Roland McGrath <roland@hack.frob.com>
40549
40550 * elf/Makefile (common-generated): Set this instead of generated for
40551 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
40552 $(all-built-dso)-derived lists.
40553
40554 2012-05-03 Andreas Jaeger <aj@suse.de>
40555
40556 * sysdeps/i386/fpu/libm-test-ulps: Update.
40557
40558 * FAQ: Removed.
40559 * FAQ.in: Likewise.
40560 * scripts/gen-FAQ.pl: Likewise.
40561 * manual/install.texi (Installation): Point to online location of
40562 FAQ.
40563 * Makefile (files-for-dist): Remove FAQ.
40564 (FAQ): Remove.
40565
40566 2012-05-02 Allan McRae <allan@archlinux.org>
40567
40568 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
40569 (LDFLAGS-reldepmod5.so): Likewise.
40570 (LDFLAGS-reldep6mod1.so): Likewise.
40571 (LDFLAGS-reldep6mod4.so): Likewise.
40572 (LDFLAGS-reldep8mod3.so): Likewise.
40573 (LDFLAGS-unload4mod1.so): Likewise.
40574 (LDFLAGS-unload4mod2.so): Likewise.
40575 (LDFLAGS-tst-initorder): Likewise.
40576 (LDFLAGS-tst-initordera2.so): Likewise.
40577 (LDFLAGS-tst-initordera3.so): Likewise.
40578 (LDFLAGS-tst-initordera4.so): Likewise.
40579 (LDFLAGS-tst-initorderb2.so): Likewise.
40580 (LDFLAGS-noload): Likewise.
40581 (LDFLAGS-next): Likewise.
40582 (LDFLAGS-order2mod1.so): Likewise.
40583 (LDFLAGS-order2mod2.so): Likewise.
40584 (LDFLAGS-tst-initorder2): Likewise.
40585 (LDFLAGS-tst-initorder2a.so): Likewise.
40586 (LDFLAGS-tst-initorder2b.so): Likewise.
40587 (LDFLAGS-tst-initorder2c.so): Likewise.
40588 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
40589
40590 2012-05-02 David S. Miller <davem@davemloft.net>
40591
40592 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40593
40594 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
40595
40596 [BZ #14055]
40597 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
40598
40599 2012-05-02 Andreas Jaeger <aj@suse.de>
40600
40601 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
40602 since we manipulate rounding mode.
40603 (CPPFLAGS-test-idouble.c): Likewise.
40604 (CPPFLAGS-test-ifloat.c): Likewise.
40605 (CFLAGS-test-ldouble.c): Likewise.
40606 (CFLAGS-test-double.c): Likewise.
40607 (CFLAGS-test-float.c): Likewise.
40608 (CFLAGS-test-misc.c): Likewise.
40609 (CFLAGS-test-test-fenv.c): Likewise.
40610
40611 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40612
40613 [BZ #2550]
40614 [BZ #2570]
40615 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
40616 comparisons to determine direction to adjust input.
40617
40618 2012-05-01 Roland McGrath <roland@hack.frob.com>
40619
40620 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
40621 output to the target.
40622
40623 * scripts/localplt.awk: New file.
40624 * elf/Makefile ($(objpfx)check-localplt): Target removed.
40625 (check-localplt-CFLAGS): Variable removed.
40626 ($(all-built-dso:=.jmprel)): New static pattern rule.
40627 (generated): Add those targets.
40628 (localplt-built-dso): New variable.
40629 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
40630
40631 * elf/check-localplt.c: File removed.
40632
40633 * scripts/check-execstack.awk: New file.
40634 * elf/Makefile ($(objpfx)check-execstack): Target removed.
40635 (check-execstack-CFLAGS): Variable removed.
40636 ($(objpfx)check-execstack.h): Target removed.
40637 ($(objpfx)execstack-default): New target.
40638 (generated): Add that instead of check-execstack.h.
40639 ($(all-built-dso:=.phdr)): New static pattern rule.
40640 (generated): Add those targets.
40641 * elf/check-execstack.c: File removed.
40642
40643 * scripts/check-textrel.awk: New file.
40644 * elf/Makefile ($(objpfx)check-textrel): Target removed.
40645 (check-textrel-CFLAGS): Variable removed.
40646 (all-built-dso): Use := to define.o
40647 ($(all-built-dso:=.dyn)): New static pattern rule.
40648 (generated): Add those targets.
40649 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
40650 * config.make.in (READELF): New substituted variable.
40651 * elf/check-textrel.c: File removed.
40652
40653 2012-05-01 Joseph Myers <joseph@codesourcery.com>
40654
40655 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
40656 allow.
40657 * conform/data/ctype.h-data [C99-based standards] (isblank):
40658 Expect function.
40659 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
40660 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
40661 [ISO || ISO99 || ISO11] (*_t): Do not allow.
40662 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
40663 Specify type. Require positive value.
40664 (EILSEQ): Likewise.
40665 (ERANGE): Likewise.
40666 [ISO || POSIX] (EILSEQ): Do not expect.
40667 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
40668 Specify type. Require positive value.
40669 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
40670 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
40671 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
40672 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
40673 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
40674 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
40675 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
40676 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
40677 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
40678 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
40679 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
40680 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
40681 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
40682 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
40683 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
40684 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
40685 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
40686 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
40687 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
40688 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
40689 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
40690 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
40691 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
40692 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
40693 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
40694 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
40695 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
40696 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
40697 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
40698 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
40699 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
40700 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
40701 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
40702 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
40703 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
40704 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
40705 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
40706 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
40707 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
40708 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
40709 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
40710 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
40711 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
40712 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
40713 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
40714 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
40715 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
40716 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
40717 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
40718 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
40719 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
40720 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
40721 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
40722 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
40723 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
40724 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
40725 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
40726 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
40727 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
40728 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
40729 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
40730 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
40731 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
40732 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
40733 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
40734 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
40735 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
40736 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
40737 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
40738 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
40739 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
40740 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
40741 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
40742 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
40743 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
40744 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
40745 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
40746 Require >= 2.
40747 (FLT_ROUNDS): Expect as macro, not constant.
40748 (FLT_MANT_DIG): Use macro-int-constant.
40749 (DBL_MANT_DIG): Likewise.
40750 (LDBL_MANT_DIG): Likewise.
40751 (FLT_DIG): Likewise.
40752 (DBL_DIG): Likewise.
40753 (LDBL_DIG): Likewise.
40754 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
40755 (DBL_MIN_EXP): Likewise.
40756 (LDBL_MIN_EXP): Likewise.
40757 (FLT_MAX_EXP): Use macro-int-constant.
40758 (DBL_MAX_EXP): Likewise.
40759 (LDBL_MAX_EXP): Likewise.
40760 (FLT_MAX_10_EXP): Likewise.
40761 (DBL_MAX_10_EXP): Likewise.
40762 (LDBL_MAX_10_EXP): Likewise.
40763 (FLT_MAX): Use macro-constant.
40764 (DBL_MAX): Likewise.
40765 (LDBL_MAX): Likewise.
40766 (FLT_EPSILON): Use macro-constant. Give upper bound.
40767 (DBL_EPSILON): Likewise.
40768 (LDBL_EPSILON): Likewise.
40769 (FLT_MIN): Likewise.
40770 (DBL_MIN): Likewise.
40771 (LDBL_MIN): Likewise.
40772 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
40773 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
40774 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
40775 [ISO11] (FLT_HAS_SUBNORM): Likewise.
40776 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
40777 [ISO11] (DBL_DECIMAL_DIG): Likewise.
40778 [ISO11] (FLT_DECIMAL_DIG): Likewise.
40779 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
40780 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
40781 [ISO11] (FLT_TRUE_MIN): Likewise.
40782 [ISO11] (LDBL_TRUE_MIN): Likewise.
40783 [ISO || ISO99 || ISO11] (*_t): Do not allow.
40784 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
40785 (SCHAR_MIN): Use macro-int-constant. Specify type.
40786 (SCHAR_MAX): Likewise.
40787 (UCHAR_MAX): Likewise.
40788 (CHAR_MIN): Likewise.
40789 (CHAR_MAX): Likewise.
40790 (MB_LEN_MAX): Use macro-int-constant.
40791 (SHRT_MIN): Use macro-int-constant. Specify type.
40792 (SHRT_MAX): Likewise.
40793 (USHRT_MAX): Likewise.
40794 (INT_MAX): Likewise.
40795 (INT_MIN): Use macro-int-constant. Specify type. Make upper
40796 bound negative.
40797 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
40798 bound with "U".
40799 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
40800 bound with "L".
40801 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
40802 bound negative. Suffix upper bound with "L".
40803 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
40804 bound with "UL".
40805 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
40806 Specify type.
40807 [C99-based standards] (LLONG_MAX): Likewise.
40808 [C99-based standards] (ULLONG_MAX): Likewise.
40809 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
40810 == 0.
40811 [ISO11] (max_align_t): Require type.
40812 [ISO || ISO99 || ISO11] (*_t): Do not allow.
40813
40814 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
40815 from $CFLAGS, without defining away __attribute__ calls.
40816 (checknamespace): Use $CFLAGS_namespace.
40817
40818 * conform/conformtest.pl (@keywords): Only include C99 keywords
40819 for standards based on C99 or C11.
40820
40821 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
40822 Disable tests.
40823 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
40824 UNIX98]: Likewise.
40825
40826 * conform/conformtest.pl: Handle "macro-int-constant" and test for
40827 usability of symbols in #if.
40828
40829 * conform/conformtest.pl: If macro or constant types start
40830 "promoted:", expect the symbol to be of the following type
40831 promoted by the integer promotions.
40832
40833 * conform/conformtest.pl: Parse all "constant" and "macro" lines
40834 in one place. Also handle "macro-constant".
40835
40836 * conform/conformtest.pl: Only accept expected macro values with
40837 "==". Parse all "macro" lines in one place.
40838 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
40839
40840 * conform/conformtest.pl: Handle braced types on "constant" lines
40841 instead of handling "typed-constant".
40842 * conform/data/signal.h-data: Use "constant" instead of
40843 "typed-constant".
40844
40845 * conform/conformtest.pl: Handle "optional-" at start of lines in
40846 one place rather than duplicating several cases. Handle each
40847 format of "macro" line with initial "optional-".
40848
40849 * conform/conformtest.pl: Only accept expected constant or
40850 optional-constant values with "==". Parse all "constant" lines in
40851 one place. Parse all "optional-constant" lines in one place.
40852 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
40853 * conform/data/fmtmsg.h-data: Likewise.
40854 * conform/data/netinet/in.h-data: Likewise.
40855 * conform/data/tar.h-data: Likewise.
40856 * conform/data/limits.h-data: Use "==" form on "constant" and
40857 "optional-constant" lines.
40858
40859 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
40860 Use -std=c99 for XOPEN2K.
40861 (@knownproblems): Remove.
40862 (newtoken): Don't check %isknown.
40863
40864 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
40865 Do not expect macro.
40866 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
40867 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
40868 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
40869 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
40870 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
40871 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
40872 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
40873 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
40874 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
40875 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
40876 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
40877 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
40878 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
40879 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
40880 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
40881 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
40882 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
40883 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
40884 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
40885 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
40886 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
40887 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
40888 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
40889 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
40890 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
40891 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
40892 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
40893 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
40894 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
40895 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
40896 [XPG3] (acosh): Likewise.
40897 [XPG3] (asinh): Likewise.
40898 [XPG3] (atanh): Likewise.
40899 [XPG3] (cbrt): Likewise.
40900 [XPG3] (expm1): Likewise.
40901 [XPG3] (ilogb): Likewise.
40902 [XPG3] (log1p): Likewise.
40903 [XPG3] (logb): Likewise.
40904 [XPG3] (nextafter): Likewise.
40905 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
40906 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
40907 [XPG3] (remainder): Likewise.
40908 [XPG3] (rint): Likewise.
40909 [XPG3 || XPG4 || UNIX98] (round): Likewise.
40910 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
40911 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
40912 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
40913 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
40914 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
40915 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
40916 [UNIX98 || XOPEN2K] (scalb): Expect.
40917 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
40918 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
40919 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
40920 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
40921 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
40922 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
40923 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
40924 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
40925 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
40926 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
40927 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
40928 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
40929 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
40930 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
40931 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
40932 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
40933 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
40934 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
40935 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
40936 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
40937 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
40938 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
40939 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
40940 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
40941 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
40942 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
40943 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
40944 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
40945 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
40946 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
40947 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
40948 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
40949 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
40950 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
40951 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
40952 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
40953 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
40954 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
40955 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
40956 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
40957 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
40958 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
40959 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
40960 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
40961 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
40962 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
40963 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
40964 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
40965 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
40966 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
40967 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
40968 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
40969 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
40970 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
40971 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
40972 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
40973 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
40974 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
40975 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
40976 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
40977 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
40978 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
40979 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
40980 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
40981 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
40982 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
40983 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
40984 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
40985 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
40986 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
40987 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
40988 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
40989 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
40990 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
40991 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
40992 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
40993 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
40994 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
40995 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
40996 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
40997 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
40998 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
40999 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
41000 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
41001 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
41002 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
41003 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
41004 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
41005 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
41006 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
41007 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
41008 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
41009 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
41010 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
41011 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
41012 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
41013 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
41014 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
41015 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
41016 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
41017 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
41018 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
41019 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
41020 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
41021 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
41022 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
41023 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
41024 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
41025 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
41026 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
41027 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
41028 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
41029 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
41030 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
41031 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
41032 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
41033 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
41034 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
41035 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
41036 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
41037 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
41038 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
41039 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
41040 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
41041 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
41042 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
41043 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
41044 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
41045 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
41046 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
41047 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
41048 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
41049 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
41050 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
41051 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
41052 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
41053 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
41054
41055 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
41056 _XOPEN_SOURCE_EXTENDED for XPG4.
41057
41058 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
41059
41060 * Makeconfig (localtime): Remove variable.
41061 (inst_localtime-file): Likewise.
41062
41063 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
41064
41065 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
41066 Update.
41067 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
41068 Update.
41069 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
41070 Update.
41071 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
41072 Update.
41073 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
41074 Update.
41075 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
41076 Update.
41077 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
41078 Update.
41079 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
41080 Update.
41081 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
41082 Update.
41083
41084 2012-05-01 Joseph Myers <joseph@codesourcery.com>
41085
41086 [BZ #2550]
41087 [BZ #2570]
41088 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
41089 comparisons to determine direction to adjust input.
41090 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
41091 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
41092 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
41093 Likewise.
41094 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
41095 Likewise.
41096 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
41097 Likewise.
41098 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
41099 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
41100 Likewise.
41101 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
41102 Likewise.
41103 * math/libm-test.inc (nexttoward_test): Add more tests.
41104
41105 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
41106
41107 [BZ #14040]
41108 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
41109 in version GLIBC_2.1, not GLIBC_2.0.
41110 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
41111 Likewise.
41112
41113 2012-04-30 Joseph Myers <joseph@codesourcery.com>
41114
41115 [BZ #13942]
41116 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
41117 (1 - x) * (1 + x).
41118 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
41119 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
41120 * math/libm-test.inc (acos_test): Add more tests.
41121 (asin_test): Likewise.
41122 * sysdeps/i386/fpu/libm-test-ulps: Update.
41123 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41124
41125 [BZ #14034]
41126 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
41127 of square root.
41128 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
41129 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
41130 * math/libm-test.inc (acos_test_tonearest): New function.
41131 (acos_test_towardzero): Likewise.
41132 (acos_test_downward): Likewise.
41133 (acos_test_upward): Likewise.
41134 (asin_test_tonearest): Likewise.
41135 (asin_test_towardzero): Likewise.
41136 (asin_test_downward): Likewise.
41137 (asin_test_upward): Likewise.
41138 (main): Call the new functions.
41139 * sysdeps/i386/fpu/libm-test-ulps: Update.
41140 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41141
41142 [BZ #13884]
41143 [BZ #13924]
41144 * math/e_exp10.c: Include <float.h>.
41145 (__ieee754_exp10): Handle underflow here rather than multiplying
41146 large negative argument by M_LN10.
41147 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
41148 of __ieee754_expf.
41149 * math/e_exp10l.c: Include <float.h>.
41150 (__ieee754_exp10l): Handle underflow here rather than multiplying
41151 large negative argument by M_LN10l.
41152 * math/libm-test.inc (exp10_test): Add another test. Do not allow
41153 spurious overflow exception on underflow.
41154
41155 2012-04-29 Marek Polacek <polacek@redhat.com>
41156
41157 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
41158 (__fortify_function): New macro.
41159 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
41160 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
41161 __extern_always_inline.
41162 * libio/bits/stdio2.h: Likewise.
41163 * libio/bits/stdio.h: Likewise.
41164 * string/string.h: Likewise.
41165 * string/bits/string3.h: Likewise.
41166 * include/stdio.h: Likewise.
41167 * stdlib/bits/stdlib.h: Likewise.
41168 * stdlib/stdlib.h: Likewise.
41169 * rt/bits/mqueue2.h: Likewise.
41170 * rt/mqueue.h: Likewise.
41171 * posix/bits/unistd.h: Likewise.
41172 * posix/unistd.h: Likewise.
41173 * io/bits/poll2.h: Likewise.
41174 * io/bits/fcntl2.h: Likewise.
41175 * io/fcntl.h: Likewise.
41176 * io/sys/poll.h: Likewise.
41177 * misc/bits/syslog.h: Likewise.
41178 * misc/bits/syslog-ldbl.h: Likewise.
41179 * misc/sys/syslog.h: Likewise.
41180 * socket/bits/socket2.h: Likewise.
41181 * socket/sys/socket.h: Likewise.
41182 * debug/tst-chk1.c: Likewise.
41183 * wcsmbs/bits/wchar2.h: Likewise.
41184 * wcsmbs/bits/wchar-ldbl.h: Likewise.
41185 * wcsmbs/wchar.h: Likewise.
41186
41187 2012-04-29 Andreas Jaeger <aj@suse.de>
41188
41189 * Makerules (tests): Remove enable-check-abi protection.
41190 (check-abi-warn): Remove.
41191 (check-abi-%): Remove check-abi-warn usage.
41192
41193 * configure.in: Remove check-abi configure option.
41194 * configure: Regenerated.
41195 * config.make.in (enable-check-abi): Remove.
41196
41197 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
41198
41199 [BZ #14033]
41200 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
41201 double functions to double *_finite functions.
41202
41203 [BZ #13941]
41204 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
41205 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
41206 LDBL_MIN_EXP.
41207 * stdio-common/Makefile (tests): Add tst-sprintf3.
41208 * stdio-common/tst-sprintf3.c: New file.
41209
41210 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
41211 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
41212
41213 2012-04-28 Joseph Myers <joseph@codesourcery.com>
41214
41215 * conform/conformtest.pl: Remove duplicate typed-constant
41216 handling.
41217
41218 2012-04-28 David S. Miller <davem@davemloft.net>
41219
41220 * Makerules (%.abilist): Add vpath on sysdep_dirs.
41221 (check-abi-%): Remove AWK script prerequisite and explicit
41222 abilist directory.
41223 (check-abi): Rewrite to just diff the symlist with the abilist.
41224 (config-tls, config-abi-config): Delete, no longer used.
41225 (update-abi-%): Remove AWK script and explicit abilist directory.
41226 (update-abi): Rewrite to simply compare and conditionally copy the
41227 symlist and the sysdep abilist file. Remove update-abi-config
41228 checks.
41229 * abilist/ld.abilist: Remove.
41230 * abilist/libBrokenLocale.abilist: Remove.
41231 * abilist/libanl.abilist: Remove.
41232 * abilist/libcrypt.abilist: Remove.
41233 * abilist/libdl.abilist: Remove.
41234 * abilist/librt.abilist: Remove.
41235 * abilist/libthread_db.abilist: Remove.
41236 * abilist/libutil.abilist: Remove.
41237 * scripts/extract-abilist.awk: Remove.
41238 * scripts/merge-abilist.awk: Remove.
41239 * sysdeps/generic/libcidn.abilist: New file.
41240 * sysdeps/generic/libnss_compat.abilist: New file.
41241 * sysdeps/generic/libnss_db.abilist: New file.
41242 * sysdeps/generic/libnss_dns.abilist: New file.
41243 * sysdeps/generic/libnss_files.abilist: New file.
41244 * sysdeps/generic/libnss_hesiod.abilist: New file.
41245 * sysdeps/generic/libnss_nis.abilist: New file.
41246 * sysdeps/generic/libnss_nisplus.abilist: New file.
41247 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
41248 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
41249 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
41250 file.
41251 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
41252 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
41253 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
41254 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
41255 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
41256 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
41257 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
41258 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
41259 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
41260 file.
41261 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
41262 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
41263 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
41264 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
41265 file.
41266 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
41267 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
41268 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
41269 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
41270 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
41271 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
41272 file.
41273 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
41274 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
41275 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
41276 file.
41277 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
41278 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
41279 New file.
41280 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
41281 New file.
41282 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
41283 New file.
41284 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
41285 New file.
41286 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
41287 New file.
41288 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
41289 New file.
41290 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
41291 New file.
41292 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
41293 New file.
41294 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
41295 New file.
41296 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
41297 New file.
41298 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
41299 New file.
41300 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
41301 New file.
41302 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
41303 New file.
41304 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
41305 file.
41306 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
41307 New file.
41308 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
41309 New file.
41310 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
41311 file.
41312 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
41313 New file.
41314 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
41315 New file.
41316 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
41317 file.
41318 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
41319 New file.
41320 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
41321 New file.
41322 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
41323 New file.
41324 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
41325 New file.
41326 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
41327 New file.
41328 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
41329 New file.
41330 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
41331 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
41332 file.
41333 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
41334 New file.
41335 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
41336 file.
41337 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
41338 file.
41339 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
41340 file.
41341 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
41342 file.
41343 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
41344 file.
41345 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
41346 New file.
41347 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
41348 file.
41349 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
41350 file.
41351 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
41352 New file.
41353 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
41354 file.
41355 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
41356 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
41357 file.
41358 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
41359 New file.
41360 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
41361 file.
41362 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
41363 file.
41364 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
41365 file.
41366 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
41367 file.
41368 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
41369 file.
41370 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
41371 New file.
41372 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
41373 file.
41374 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
41375 file.
41376 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
41377 New file.
41378 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
41379 file.
41380 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
41381 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
41382 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
41383 file.
41384 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
41385 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
41386 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
41387 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
41388 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
41389 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
41390 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
41391 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
41392 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
41393 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
41394 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
41395 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
41396 file.
41397 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
41398 New file.
41399 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
41400 file.
41401 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
41402 file.
41403 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
41404 file.
41405 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
41406 file.
41407 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
41408 file.
41409 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
41410 New file.
41411 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
41412 New file.
41413 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
41414 file.
41415 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
41416 New file.
41417 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
41418 file.
41419 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
41420 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
41421 file.
41422 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
41423 New file.
41424 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
41425 file.
41426 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
41427 file.
41428 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
41429 file.
41430 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
41431 file.
41432 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
41433 file.
41434 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
41435 New file.
41436 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
41437 New file.
41438 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
41439 file.
41440 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
41441 New file.
41442 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
41443 file.
41444
41445 2012-04-28 Joseph Myers <joseph@codesourcery.com>
41446
41447 * conform/conformtest.pl: Fix typo in handling typed-constant from
41448 allow-header.
41449
41450 2012-04-27 Joseph Myers <joseph@codesourcery.com>
41451
41452 * README: Cut down references to pre-2.6 Linux kernels and
41453 Linuxthreads. Update lists of configurations in libc and ports
41454 and sort alphabetically. Say "or newer" with Linux kernel version
41455 requirements.
41456
41457 * config.h.in [IS_IN_build]: Allow compiling without optimization.
41458
41459 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
41460
41461 [BZ #887]
41462 * math/libm-test.inc (logb_test_downward): New test to expose
41463 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
41464 rounding mode.
41465
41466 2012-04-27 Joseph Myers <joseph@codesourcery.com>
41467
41468 [BZ #14027]
41469 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
41470 to be done.
41471 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
41472 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
41473
41474 2012-04-26 Joseph Myers <joseph@codesourcery.com>
41475
41476 * sysdeps/unix/i386/brk.S: Remove file.
41477 * sysdeps/unix/i386/dl-brk.S: Likewise.
41478 * sysdeps/unix/i386/pipe.S: Likewise.
41479 * sysdeps/unix/i386/sigreturn.S: Likewise.
41480 * sysdeps/unix/i386/syscall.S: Likewise.
41481 * sysdeps/unix/i386/vfork.S: Likewise.
41482 * sysdeps/unix/i386/wait.S: Likewise.
41483
41484 * sysdeps/unix/common/tcsendbrk.c: Move to ...
41485 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
41486
41487 * configure.in (arm*-none*): Do not allow without
41488 --enable-hacker-mode.
41489 (netbsd*): Remove case setting base_os.
41490 (386bsd*): Likewise.
41491 (freebsd*): Likewise.
41492 (bsdi*): Likewise.
41493 (osf*): Likewise.
41494 (sunos*): Likewise.
41495 (ultrix*): Likewise.
41496 (newsos*): Likewise.
41497 (dynix*): Likewise.
41498 (*bsd*): Likewise.
41499 (sysv*): Likewise.
41500 (isc*): Likewise.
41501 (esix*): Likewise.
41502 (sco*): Likewise.
41503 (minix*): Likewise.
41504 (irix4*): Likewise.
41505 (irix6*): Likewise.
41506 (solaris[2-9]*): Likewise.
41507 (none): Likewise.
41508 * configure: Regenerated.
41509
41510 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41511
41512 [BZ #11521]
41513 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
41514 overflow or cancellation in calculating denominator.
41515 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
41516 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
41517 down expression to avoid unexpected rounding in newer GCCs.
41518 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
41519
41520 2012-04-26 David S. Miller <davem@davemloft.net>
41521
41522 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
41523 long-double compat symbols.
41524 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
41525 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
41526 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
41527 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
41528 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
41529 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
41530 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
41531 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
41532 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
41533 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
41534 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
41535 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
41536 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
41537
41538 2012-04-25 David S. Miller <davem@davemloft.net>
41539
41540 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
41541 HWCAP_* values only after the memory barriers have been defined.
41542 (atomic_full_barrier): Define.
41543 (atomic_read_barrier): Define.
41544 (atomic_write_barrier): Define.
41545
41546 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
41547
41548 * shlib-versions: Add libgcc_s version information.
41549 * sysdeps/generic/libgcc_s.h: Remove.
41550 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
41551 libgcc_s.h.
41552 * sysdeps/gnu/unwind-resume.c: Likewise.
41553 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
41554
41555 2012-04-25 David S. Miller <davem@davemloft.net>
41556
41557 * sysdeps/unix/sparc/brk.S: Delete.
41558 * sysdeps/unix/sparc/dl-brk.S: Delete.
41559 * sysdeps/unix/sparc/pipe.S: Delete.
41560 * sysdeps/unix/sparc/sysdep.S: Delete.
41561 * sysdeps/unix/sparc/sysdep.h: Delete.
41562 * sysdeps/unix/sparc/vfork.S: Delete.
41563 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
41564 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
41565 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
41566 (ret_ERRVAL, r0, r1, MOVE): Define.
41567 (JUMPTARGET): Remove.
41568 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
41569 sysdeps/unix/sparc/sysdep.h
41570 (ENTRY, END): Remove.
41571 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
41572
41573 2012-04-25 Joseph Myers <joseph@codesourcery.com>
41574
41575 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
41576 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
41577 -DIS_IN_build.
41578
41579 * timezone/README: Update upstream location and email address for
41580 tzcode and tzdata.
41581 * timezone/zdump.c: Update from tzcode 2012b.
41582 * timezone/zic.c: Likewise.
41583
41584 * configure.in (libc_cv_as_needed): Remove test.
41585 * configure: Regenerated.
41586 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
41587 conditional definition.
41588 [$(have-as-needed) != yes] (no-as-needed): Likewise.
41589 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
41590 * config.make.in (have-as-needed): Remove variable.
41591
41592 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
41593 Paul Pluzhnikov <ppluzhnikov@google.com>
41594
41595 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
41596 strings correctly.
41597
41598 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
41599
41600 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
41601 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
41602 * sysdeps/sh/strlen.S: Likewise.
41603
41604 2012-04-24 Joseph Myers <joseph@codesourcery.com>
41605
41606 * sysdeps/unix/fork.S: Remove file.
41607 * sysdeps/unix/i386/fork.S: Likewise.
41608 * sysdeps/unix/sparc/fork.S: Likewise.
41609
41610 * sysdeps/unix/system.c: Remove file.
41611 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
41612
41613 * sysdeps/unix/getegid.S: Remove file.
41614 * sysdeps/unix/geteuid.S: Likewise.
41615
41616 2012-04-24 Roland McGrath <roland@hack.frob.com>
41617
41618 * scripts/check-localplt.awk: New file.
41619 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
41620 of diff.
41621 * scripts/data/localplt-generic.data: Add a comment.
41622
41623 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
41624 NODE when __dir_mkfile failed.
41625 * sysdeps/mach/hurd/symlinkat.c: Likewise.
41626 Reported by Ludovic Courtès <ludo@gnu.org>.
41627
41628 2012-04-24 Andreas Jaeger <aj@suse.de>
41629
41630 * Makerules (common-clean): Also remove gen-as-const-headers
41631 files.
41632
41633 2012-04-24 Joseph Myers <joseph@codesourcery.com>
41634
41635 * Makerules (native-compile): Do not change working directory for
41636 build. Use $(OUTPUT_OPTION) in command.
41637 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
41638
41639 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41640
41641 [BZ #13886]
41642 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
41643 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
41644 * math/libm-test.inc (floor_test): Add more tests.
41645 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
41646
41647 2012-04-24 Joseph Myers <joseph@codesourcery.com>
41648
41649 * sysdeps/unix/getdents.c: Remove file.
41650 * sysdeps/unix/sysv/getdents.c: Likewise.
41651 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
41652
41653 * sysdeps/unix/syscalls.list (madvise): Add syscall from
41654 sysdeps/unix/mman/syscalls.list.
41655 (mmap): Likewise.
41656 (mprotect): Likewise.
41657 (msync): Likewise.
41658 (munmap): Likewise.
41659 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
41660 * sysdeps/unix/mman/syscalls.list: Remove.
41661 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
41662
41663 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
41664 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
41665 * configure: Regenerated.
41666 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
41667 $(libgcc_s_suffix).
41668 * config.make.in (libgcc_s_suffix): Remove variable.
41669
41670 2012-04-23 Joseph Myers <joseph@codesourcery.com>
41671
41672 * sysdeps/unix/sysv/gethostname.c: Move to ...
41673 * sysdeps/posix/gethostname.c: ... here.
41674
41675 * sysdeps/unix/execve.S: Remove file.
41676
41677 * sysdeps/unix/_exit.S: Remove file.
41678
41679 2012-04-23 Andreas Jaeger <aj@suse.de>
41680
41681 [BZ #13739]
41682 * manual/Makefile: Remove make dist support, there's no
41683 need for a stand-alone documentation tar ball.
41684 (TEXI2DVI): Define always, it's not in Makeconfig.
41685 (dist): Removed.
41686 (tar-it): Removed.
41687 (edition): Removed.
41688 (glibc-doc-$(edition).tar): Removed
41689 (%.Z): Removed.
41690 (%.gz): Removed.
41691 (%.uu): Removed.
41692 (ETAGS): Remove, it's in Makeconfig.
41693 (move-if-change): Remove, it's in Makeconfig.
41694
41695 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
41696
41697 [BZ #13970]
41698 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
41699 (strtod, strtof, strtold, strtol, strtoul, strtoq)
41700 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
41701 (strtod_l, strtof_l, strtold_l): Remove __wur.
41702 It is not necessarily an error to ignore strtol's return value.
41703 One can reliably look at the stored endptr to decide whether
41704 the number had valid syntax.
41705
41706 2012-04-21 Andreas Jaeger <aj@suse.de>
41707
41708 [BZ #13739]
41709 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
41710
41711 2012-04-21 Joseph Myers <joseph@codesourcery.com>
41712
41713 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
41714 * sysdeps/unix/sysv/Versions: Remove file.
41715
41716 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
41717
41718 [BZ #13927]
41719 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41720
41721 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
41722
41723 [BZ #7064]
41724 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
41725 version from __vm86.
41726
41727 2012-04-20 Joseph Myers <joseph@codesourcery.com>
41728
41729 * sysdeps/unix/common/lxstat.c: Remove file.
41730 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
41731
41732 * sysdeps/unix/sysv/Makefile: Remove file.
41733
41734 * sysdeps/unix/sysv/direct.h: Remove file.
41735
41736 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
41737 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
41738 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
41739 * sysdeps/unix/sysv/bits/signum.h: Likewise.
41740 * sysdeps/unix/sysv/bits/stat.h: Likewise.
41741 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
41742 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
41743
41744 * sysdeps/unix/sysv/setrlimit.c: Remove file.
41745
41746 * sysdeps/unix/xmknod.c: Remove file.
41747 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
41748
41749 * sysdeps/unix/sysv/settimeofday.c: Remove file.
41750
41751 * sysdeps/unix/sysv/i386/time.S: Remove file.
41752
41753 * sysdeps/unix/fxstat.c: Remove file.
41754 * sysdeps/unix/xstat.c: Likewise.
41755 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
41756
41757 * sysdeps/unix/sysv/sigaction.c: Remove file.
41758
41759 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
41760 (sysdep_headers): Remove variable.
41761 [termio.h not in sysdep_headers] (generated): Likewise.
41762 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
41763 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
41764 * sysdeps/unix/sysv/tcdrain.c: Likewise.
41765 * sysdeps/unix/sysv/tcflow.c: Likewise.
41766 * sysdeps/unix/sysv/tcflush.c: Likewise.
41767 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
41768 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
41769 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
41770 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
41771 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
41772
41773 * sysdeps/unix/siglist.c: Remove file.
41774
41775 * sysdeps/unix/getppid.S: Remove file.
41776
41777 * sysdeps/unix/mkdir.c: Remove file.
41778 * sysdeps/unix/rmdir.c: Likewise.
41779
41780 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
41781
41782 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
41783 ERR_MAX value.
41784 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
41785 errlist-compat value.
41786
41787 2012-04-18 David S. Miller <davem@davemloft.net>
41788
41789 * sysdeps/generic/memcopy.h (reg_char): Delete.
41790 * debug/strcat_chk.c: Use char, not reg_char.
41791 * debug/strcpy_chk.c: Likewise.
41792 * debug/strncat_chk.c: Likewise.
41793 * debug/strncpy_chk.c: Likewise.
41794 * string/memchr.c: Likewise.
41795 * string/memrchr.c: Likewise.
41796 * string/rawmemchr.c: Likewise.
41797 * string/strcat.c: Likewise.
41798 * string/strchr.c: Likewise.
41799 * string/strchrnul.c: Likewise.
41800 * string/strcmp.c: Likewise.
41801 * string/strcpy.c: Likewise.
41802 * string/strncat.c: Likewise.
41803 * string/strncmp.c: Likewise.
41804 * string/strncpy.c: Likewise.
41805
41806 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
41807
41808 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
41809 __builtin_memcopy is called when src and dest ranges are known to not
41810 overlap.
41811
41812 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
41813
41814 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
41815 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
41816 fwd_align_merge macro call.
41817 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
41818 bwd_align_merge macro call.
41819 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
41820
41821 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
41822
41823 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
41824 bwd_align_merge macros.
41825 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
41826 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
41827 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
41828
41829 2012-04-18 David S. Miller <davem@davemloft.net>
41830
41831 * sysdeps/sparc/sparc64/memcopy.h: Delete.
41832
41833 2012-04-18 Andreas Jaeger <aj@suse.de>
41834
41835 [BZ# 6794]
41836 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
41837 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
41838 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
41839
41840 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
41841 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
41842 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
41843
41844 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
41845 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
41846 Adjust for changed ldbl-128 files.
41847
41848 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
41849 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
41850 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
41851
41852 2012-04-17 David S. Miller <davem@davemloft.net>
41853
41854 * sysdeps/sparc/sparc32/memcopy.h: Delete.
41855
41856 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
41857
41858 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
41859 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
41860 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
41861 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
41862 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
41863 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
41864
41865 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41866
41867 [BZ #6794]
41868 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
41869 * math/libm-test.inc: Add ilogb errno and exception tests.
41870 * math/w_ilogb.c: New file: ilogb wrapper.
41871 * math/w_ilogbf.c: New file: ilogbf wrapper.
41872 * math/w_ilogbl.c: New file: ilogbl wrapper.
41873 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
41874 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
41875 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
41876 exception being thrown with 0.0 as argument.
41877 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
41878 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
41879 exception being thrown with 0.0 as argument.
41880 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
41881 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
41882 exception being thrown with 0.0 as argument.
41883 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
41884 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
41885 exception being thrown with 0.0 as argument.
41886 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
41887 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
41888 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
41889 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
41890 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
41891 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
41892 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
41893 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
41894 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
41895
41896 2012-04-17 Petr Baudis <pasky@ucw.cz>
41897
41898 * include/sys/uio.h: Change __vector to __iovec to avoid clash
41899 with altivec.
41900
41901 2012-04-16 Marek Polacek <polacek@redhat.com>
41902
41903 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
41904
41905 2012-04-16 Marek Polacek <polacek@redhat.com>
41906
41907 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
41908 operands of fdivp instruction.
41909
41910 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
41911
41912 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
41913 * elf/tst-auditmod3b.c: Likewise.
41914 * elf/tst-auditmod4b.c: Likewise.
41915 * elf/tst-auditmod5b.c: Likewise.
41916 * elf/tst-auditmod6b.c: Likewise.
41917 * elf/tst-auditmod6c.c: Likewise.
41918 * elf/tst-auditmod7b.c: Likewise.
41919 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
41920 * sysdeps/x86_64/preconfigure.in: Likewise.
41921 * sysdeps/x86_64/preconfigure: Regenerated.
41922
41923 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
41924
41925 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
41926 __ILP32__.
41927
41928 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
41929
41930 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
41931 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
41932
41933 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
41934
41935 [BZ #13973]
41936 * locale/iso-639.def: Fix gl language name. Spotted by
41937 Yaron Shahrabani.
41938
41939 2012-04-12 Roland McGrath <roland@hack.frob.com>
41940
41941 [BZ #2074]
41942 * libio/libio.h (__io_write_fn): Update comment.
41943
41944 2012-04-12 Petr Baudis <pasky@ucw.cz>
41945
41946 [BZ #2074]
41947 * stdio.texi (Hook Functions): The user provided writer function
41948 is not allowed to return -1.
41949
41950 2012-04-11 David S. Miller <davem@davemloft.net>
41951
41952 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41953
41954 2012-04-11 Mike Frysinger <vapier@gentoo.org>
41955
41956 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
41957 Add a leading slash to rtkaio.
41958
41959 2012-04-11 Jim Meyering <meyering@redhat.com>
41960
41961 [BZ #11959]
41962 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
41963 It is not necessarily an error to ignore fwrite's return
41964 value. One can reliably use ferror to test for errors after
41965 the fact.
41966
41967 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
41968
41969 * bits/types.h (__snseconds_t): New type.
41970 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
41971
41972 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
41973 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
41974 (__SNSECONDS_T_TYPE): Likewise.
41975 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
41976 (__SNSECONDS_T_TYPE): Likewise.
41977 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
41978 (__SNSECONDS_T_TYPE): Likewise.
41979
41980 2012-04-10 Andreas Jaeger <aj@suse.de>
41981
41982 [BZ #2636]
41983 * manual/time.texi (Processor Time): Return type of times is
41984 elapsed real time since an arbitrary point in the past.
41985 (CPU Time): Move CLK_TCK from here...
41986 (Processor Time): ...to here. Correct description.
41987 * manual/conf.texi (Constants for Sysconf): Correct description of
41988 _SC_CLK_TCK.
41989
41990 2012-04-10 David S. Miller <davem@davemloft.net>
41991
41992 [BZ #13967]
41993 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
41994 where the is a gap between DT_REL(A) and DT_JMPREL.
41995
41996 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
41997
41998 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
41999 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
42000 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
42001
42002 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
42003
42004 * elf/dl-support.c (_dl_inhibit_cache): New variable.
42005 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
42006 (dl_main): Handle --inhibit-cache.
42007 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
42008 _dl_inhibit_cache.
42009 * elf/dl-load.c (_dl_map_object): Use it.
42010 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
42011
42012 2012-04-09 Joseph Myers <joseph@codesourcery.com>
42013
42014 [BZ #13872]
42015 * sysdeps/i386/fpu/e_powl.S (p78): New object.
42016 (__ieee754_powl): Saturate large exponents rather than testing for
42017 overflow of y*log2(x).
42018 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
42019 * math/libm-test.inc (pow_test): Do not permit spurious overflow
42020 exceptions.
42021
42022 [BZ #11521]
42023 * math/s_ctan.c: Include <float.h>.
42024 (__ctan): Avoid internal overflow or cancellation in calculating
42025 denominator.
42026 * math/s_ctanf.c: Likewise.
42027 * math/s_ctanl.c: Likewise.
42028 * math/s_ctanh.c: Likewise.
42029 * math/s_ctanhf.c: Likewise.
42030 * math/s_ctanhl.c: Likewise.
42031 * math/libm-test.inc (ctan_test): Add more tests.
42032 (ctanh_test): Likewise.
42033 * sysdeps/i386/fpu/libm-test-ulps: Update.
42034 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42035
42036 2012-04-09 Andreas Jaeger <aj@suse.de>
42037
42038 [BZ #6894]
42039 * manual/filesys.texi (Directory Entries): Mention that d_namlen
42040 is an optional BSD extension.
42041
42042 [BZ #10254]
42043 * manual/stdio.texi (Opening Streams): Document additional fopen
42044 parameters.
42045
42046 2012-04-09 Roland McGrath <roland@hack.frob.com>
42047
42048 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
42049 %eax without telling the compiler.
42050
42051 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
42052
42053 [BZ # 13963]
42054 * manual/install.texi: Use sourceware.org.
42055
42056 2012-04-09 Joseph Myers <joseph@codesourcery.com>
42057
42058 [BZ #13873]
42059 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
42060 (__ieee754_pow): Generate overflow and underflow using huge*huge
42061 and tiny*tiny rather than just returning constant infinity or zero
42062 for large exponents.
42063 * math/libm-test.inc (pow_test): Require overflow exceptions for
42064 applicable cases of large exponents.
42065
42066 [BZ #706]
42067 * sysdeps/i386/fpu/e_pow.S (p10): New object.
42068 (__ieee754_pow): Use iterative multiplication algorithm only for
42069 integer exponents with absolute value below 1024. Check for odd
42070 integer exponents when using algorithm for real exponents.
42071 * math/libm-test.inc (pow_test): Add more tests.
42072 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42073
42074 2012-04-08 Joseph Myers <joseph@codesourcery.com>
42075
42076 [BZ #13705]
42077 * math/libm-test.inc (exp_test): Do not allow overflow exception
42078 on underflow test.
42079
42080 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
42081
42082 [BZ #13705]
42083 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
42084 instead of __kernel_standard_f.
42085
42086 2012-04-08 Mike Frysinger <vapier@gentoo.org>
42087
42088 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
42089 * sysdeps/x86_64/memset_chk.S: Likewise.
42090
42091 2012-04-08 Andreas Jaeger <aj@suse.de>
42092
42093 [BZ #10153]
42094 * manual/startup.texi (Environment Access): Describe return value
42095 for putenv and setenv.
42096
42097 [BZ #6895]
42098 * manual/filesys.texi (Directory Entries): Add description for
42099 DT_LNK.
42100
42101 [BZ #6890]
42102 * manual/filesys.texi (Directory Entries): Clarify that it's file
42103 system not operating system in the description of DT_UNKNOWN.
42104
42105 [BZ #6578]
42106 * manual/syslog.texi (closelog): Fix reference, it's openlog.
42107
42108 2012-04-08 Stephen Compall <s11@member.fsf.org>
42109
42110 [BZ #6649]
42111 * manual/llio.texi (Opening and Closing Files): Add cross
42112 reference to explain mode argument.
42113
42114 2012-04-07 Mike Frysinger <vapier@gentoo.org>
42115
42116 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
42117 * sysdeps/x86_64/memset_chk.S: Likewise.
42118
42119 2012-04-07 David S. Miller <davem@davemloft.net>
42120
42121 * elf/elf.h (R_SPARC_WDISP10): Define.
42122 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
42123 R_SPARC_SIZE32.
42124 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
42125 R_SPARC_SIZE64 and R_SPARC_H34.
42126
42127 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
42128
42129 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
42130 conditions and remove no longer applicable assertion.
42131
42132 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
42133
42134 * bits/byteswap.h: Include <features.h>.
42135 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
42136 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
42137
42138 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
42139
42140 * bits/byteswap.h (__bswap_16): Removed.
42141 Include <bits/byteswap-16.h> to get __bswap_16.
42142 * sysdeps/i386/bits/byteswap.h: Likewise.
42143 * sysdeps/s390/bits/byteswap.h: Likewise.
42144 * sysdeps/x86_64/bits/byteswap.h: Likewise.
42145 * bits/byteswap-16.h: New file.
42146 * sysdeps/i386/bits/byteswap-16.h: Likewise.
42147 * sysdeps/s390/bits/byteswap-16.h: Likewise.
42148 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
42149 * string/Makefile (headers): Add bits/byteswap-16.h.
42150
42151 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
42152
42153 [BZ #13895]
42154 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
42155 extra indirection.
42156 * nss/Makefile (tests-static, tests): Add tst-nss-static.
42157 * nss/tst-nss-static.c: New.
42158
42159 2012-04-06 Robert Millan <rmh@gnu.org>
42160
42161 [BZ #6486]
42162 * manual/llio.texi (File Position Primitive): lseek
42163 refers to WHENCE when it really means OFFSET.
42164
42165 2012-04-06 Andreas Jaeger <aj@suse.de>
42166
42167 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
42168 strncmp declarations.
42169
42170 * abilist/libc.abilist: Add __poll and __ppoll.
42171
42172 2012-04-05 David S. Miller <davem@davemloft.net>
42173
42174 * scripts/check-local-headers.sh: Accept a host triplet in the
42175 path matched by the exclude regexp.
42176
42177 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
42178 definition.
42179 * sysdeps/powerpc/powerpc32/dl-machine.h
42180 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
42181 * sysdeps/s390/s390-32/dl-machine.h
42182 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
42183 * sysdeps/sparc/sparc32/dl-machine.h
42184 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
42185 * sysdeps/sparc/sparc64/dl-machine.h
42186 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
42187
42188 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
42189 lazy binding.
42190 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
42191 undefined symbol errors.
42192
42193 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
42194 DT_NEEDED entries.
42195
42196 2012-04-05 Michael Matz <matz@suse.de>
42197
42198 [BZ #13592]
42199 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
42200
42201 2012-04-05 Andreas Jaeger <aj@suse.de>
42202
42203 [BZ #13908]
42204 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
42205 comment.
42206
42207 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
42208
42209 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
42210 which ROUND is no valid rounding mode.
42211
42212 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
42213
42214 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
42215 read again.
42216 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
42217
42218 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
42219
42220 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
42221 an exception using FPU order intentionally.
42222
42223 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
42224
42225 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
42226 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
42227 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
42228 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
42229
42230 2012-04-05 Simon Josefsson <simon@josefsson.org>
42231
42232 [BZ #12340]
42233 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
42234 EINVAL when BUFLEN is too smal.
42235
42236 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
42237
42238 [BZ #13553]
42239 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
42240 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
42241
42242 2012-04-03 Andreas Jaeger <aj@suse.de>
42243
42244 [BZ #13938]
42245 * manual/setjmp.texi (System V contexts): Fix sentence.
42246
42247 [BZ #13926]
42248 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
42249 New macro for this case.
42250 [!__GNUC__] (__bswap_64): New inline function for this case.
42251 * sysdeps/x86_64/bits/byteswap.h: Likewise.
42252 * bits/byteswap.h: Likewise.
42253 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
42254 ull, guard with __GLIBC_HAVE_LONG_LONG.
42255
42256 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
42257 __GLIBC_HAVE_LONG_LONG.
42258
42259 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
42260 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
42261
42262 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
42263
42264 [BZ #13691]
42265 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
42266 inptr and inend, rather than using last_ch.
42267
42268 2012-04-02 David S. Miller <davem@davemloft.net>
42269
42270 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
42271 * stdio-common/printf-parse.h (read_int): Change return type to
42272 'int', return -1 on INT_MAX overflow.
42273 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
42274 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
42275 overflows INT_MAX. Check for overflow of in-format-string precision
42276 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
42277 SIZE_MAX not INT_MAX for integer overflow test.
42278 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
42279 skip the construct in the format string but do not record anything.
42280 * stdio-common/bug22.c: Adjust to test both width/prevision
42281 INT_MAX overflow as well as total length INT_MAX overflow. Check
42282 explicitly for proper errno values.
42283
42284 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
42285
42286 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
42287 CHAR_MAX.
42288 * string/test-strcmp.c [! WIDE]: Likewise.
42289 * time/tst-mktime2.c: Likewise for INT_MAX.
42290 * string/test-string.h: #include <sys/param.h> for MIN.
42291
42292 * csu/init-first.c (__libc_init_first): Call __ctype_init.
42293 * sysdeps/i386/init-first.c (init): Likewise.
42294 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
42295 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
42296 * sysdeps/sh/init-first.c (init): Likewise.
42297
42298 2012-04-01 Ulrich Drepper <drepper@gmail.com>
42299
42300 * po/ru.po: Update from translation team.
42301 * po/vi.po: Likewise.
42302
42303 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
42304
42305 * resolv/nss_dns/dns-host.c: Merge copyright years.
42306
42307 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42308
42309 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
42310 Optimize memcpy with prefetch if
42311 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
42312 src, dst pointers have unequal 16 byte alignments.
42313
42314 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
42315
42316 [BZ #13928]
42317 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
42318 from a CNAME entry and return the minimum ttl for the query.
42319 (gaih_getanswer_slice): Likewise.
42320
42321 2012-03-30 Jeff Law <law@redhat.com>
42322
42323 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
42324 due to long keys.
42325 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
42326 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
42327
42328 * resolv/nss_dns/dns-host.c: Update copyright year.
42329
42330 2012-03-30 Ulrich Drepper <drepper@gmail.com>
42331
42332 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
42333 requests to save a system call. Fix check that all bytes are sent.
42334
42335 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
42336 comments for sendmmsg.
42337
42338 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
42339
42340 [BZ #13691]
42341 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
42342 with only 1 character between 0x0041 and 0x01b0.
42343 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
42344 * wcsmbs/tst-mbsnrtowcs.c: New file.
42345
42346 2012-03-29 David S. Miller <davem@davemloft.net>
42347
42348 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
42349 small copies by hand.
42350
42351 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
42352
42353 [BZ #13761]
42354 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
42355 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
42356 group memberships.
42357
42358 2012-03-28 David S. Miller <davem@davemloft.net>
42359
42360 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
42361 that branches into memcpy.
42362 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
42363 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
42364 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
42365 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
42366 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
42367 bits.
42368 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
42369 implementation too.
42370 * sysdeps/sparc/mempcpy.S: New file.
42371
42372 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
42373 the IFUNC routine in the libc case.
42374 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
42375
42376 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
42377 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
42378 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
42379 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
42380 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
42381 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
42382 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
42383 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
42384
42385 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
42386 loop to 256 bytes instead of 64 bytes and fix test signedness.
42387
42388 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
42389 * sysdeps/sparc/sparc32/Makefile: rather than here...
42390 * sysdeps/sparc/sparc64/Makefile: and here.
42391
42392 2012-03-28 Ulrich Drepper <drepper@gmail.com>
42393
42394 * malloc/mallocbug.c: Avoid warnings about unused variables.
42395
42396 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
42397
42398 [BZ #13760]
42399 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
42400 in the right place. Discard and retry query if response is
42401 larger than input buffer size.
42402
42403 2012-03-28 Joseph Myers <joseph@codesourcery.com>
42404
42405 [BZ #369]
42406 [BZ #2678]
42407 [BZ #3866]
42408 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
42409 x for large integer exponent.
42410 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
42411 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
42412 sign of result as needed afterwards.
42413 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
42414 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
42415 result for underflowing pow the same as for overflow.
42416 (__kernel_standard_l): Handle powl overflow and underflow here
42417 rather than calling __kernel_standard.
42418 * math/libm-test.inc (pow_test): Add more tests.
42419
42420 [BZ #3868]
42421 [BZ #13879]
42422 [BZ #13910]
42423 [BZ #13911]
42424 [BZ #13912]
42425 [BZ #13913]
42426 [BZ #13915]
42427 [BZ #13916]
42428 [BZ #13917]
42429 [BZ #13918]
42430 [BZ #13919]
42431 [BZ #13920]
42432 [BZ #13921]
42433 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
42434 * sysdeps/ieee754/k_standard.c: Include <float.h>.
42435 (__kernel_standard_l): New function.
42436 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
42437 __kernel_standard.
42438 * math/w_acosl.c (__acosl): Likewise.
42439 * math/w_asinl.c (__asinl): Likewise.
42440 * math/w_atan2l.c (__atan2l): Likewise.
42441 * math/w_atanhl.c (__atanhl): Likewise.
42442 * math/w_coshl.c (__coshl): Likewise.
42443 * math/w_exp10l.c (__exp10l): Likewise.
42444 * math/w_exp2l.c (__exp2l): Likewise.
42445 * math/w_fmodl.c (__fmodl): Likewise.
42446 * math/w_hypotl.c (__hypotl): Likewise.
42447 * math/w_j0l.c (__j0l, __y0l): Likewise.
42448 * math/w_j1l.c (__j1l, __y1l): Likewise.
42449 * math/w_jnl.c (__jnl, __ynl): Likewise.
42450 * math/w_lgammal.c (__lgammal): Likewise.
42451 * math/w_log10l.c (__log10l): Likewise.
42452 * math/w_log2l.c (__log2l): Likewise.
42453 * math/w_logl.c (__logl): Likewise.
42454 * math/w_powl.c (__powl): Likewise.
42455 * math/w_remainderl.c (__remainderl): Likewise.
42456 * math/w_scalbl.c (sysv_scalbl): Likewise.
42457 * math/w_sinhl.c (__sinhl): Likewise.
42458 * math/w_sqrtl.c (__sqrtl): Likewise.
42459 * math/w_tgammal.c (__tgammal): Likewise.
42460 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
42461 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
42462 * math/libm-test.inc (acos_test): Add more tests.
42463 (acosh_test): Likewise.
42464 (asin_test): Likewise.
42465 (atanh_test): Likewise.
42466 (exp_test): Likewise.
42467 (exp10_test): Likewise.
42468 (exp2_test): Likewise.
42469 (expm1_test): Likewise.
42470 (lgamma_test): Likewise.
42471 (log_test): Likewise.
42472 (log10_test): Likewise.
42473 (log1p_test): Likewise.
42474 (log2_test): Likewise.
42475 (pow_test): Do not allow some spurious overflow exceptions.
42476 (sqrt_test): Add more tests.
42477 (tgamma_test): Likewise.
42478 (y0_test): Likewise.
42479 (y1_test): Likewise.
42480 (yn_test): Likewise.
42481
42482 2012-03-27 Anton Blanchard <anton@samba.org>
42483
42484 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
42485 MAP_HUGETLB.
42486 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
42487 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
42488 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
42489
42490 2012-03-27 David S. Miller <davem@davemloft.net>
42491
42492 * conform/Makefile: Run run-conformtest.sh using $(BASH).
42493
42494 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
42495 have-as-vis3 check.
42496
42497 2012-03-27 Andreas Jaeger <aj@suse.de>
42498
42499 * sysdeps/x86_64/elf/configure.in: Moved to ...
42500 * sysdeps/x86_64/configure.in: ... here.
42501 * sysdeps/x86_64/elf/start.S: Moved to ...
42502 * sysdeps/x86_64/start.S: ... here.
42503 * sysdeps/x86_64/elf/configure: Delete.
42504
42505 * sysdeps/x86_64/configure.in: Merge contents from
42506 sysdeps/i386/configure.in (without i686 check).
42507
42508 * sysdeps/i386/elf/Versions: Merge into ...
42509 * sysdeps/i386/Versions: ... this.
42510 * sysdeps/i386/elf/Versions: Delete file.
42511 * sysdeps/i386/elf/start.S: Moved to ...
42512 * sysdeps/i386/start.S: ...here.
42513 * sysdeps/i386/elf/configure.in: Merge into...
42514 * sysdeps/i386/configure.in: ...here.
42515 * sysdeps/i386/elf/configure.in: Delete file.
42516 * sysdeps/i386/elf/configure: Delete file.
42517
42518 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
42519 * debug/backtracesyms.c: ... here.
42520 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
42521 * debug/backtracesymsfd.c: ... here.
42522 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
42523 * sysdeps/generic/ifunc-sel.h: ... here.
42524
42525 * sysdeps/unix/i386/start.c: Delete file.
42526 * sysdeps/unix/sparc/start.c: Delete file.
42527 * sysdeps/unix/start.c: Delete file.
42528
42529 * sysdeps/sh/elf/configure.in: Moved to ...
42530 * sysdeps/sh/configure.in: ... here.
42531 * sysdeps/sh/elf/start.S: Moved to ...
42532 * sysdeps/sh/start.S: ... here.
42533 * sysdeps/sh/elf/configure: Delete file.
42534
42535 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
42536 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
42537 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
42538 * sysdeps/powerpc/powerpc64/entry.h: ... here.
42539 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
42540 * sysdeps/powerpc/powerpc64/start.S: here.
42541 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
42542 * sysdeps/powerpc/powerpc64/Makefile: ... this.
42543 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
42544 * sysdeps/powerpc/powerpc64/configure.in: ... this.
42545 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
42546
42547 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
42548 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
42549 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
42550 * sysdeps/powerpc/powerpc32/start.S: ... here.
42551 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
42552 * sysdeps/powerpc/powerpc32/configure.in: ... this.
42553 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
42554
42555 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
42556 * sysdeps/powerpc/ifunc-sel.h: ... here.
42557 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
42558 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
42559
42560 * sysdeps/sparc/elf/configure.in: Moved to ...
42561 * sysdeps/sparc/configure.in: ... here.
42562 * sysdeps/sparc/elf/configure: Delete file.
42563 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
42564 * sysdeps/sparc/sparc32/start.S: ... here.
42565 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
42566 * sysdeps/sparc/sparc64/start.S: ... here.
42567 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
42568 * sysdeps/sparc/sparc32/Makefile: ... this.
42569 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
42570 * sysdeps/sparc/sparc64/Makefile: ... this.
42571
42572 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
42573 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
42574 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
42575 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
42576 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
42577 * sysdeps/s390/s390-32/setjmp.S: ... here.
42578 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
42579 * sysdeps/s390/s390-32/configure.in: ... here.
42580 * sysdeps/s390/s390-32/elf/configure: Delete file.
42581 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
42582 * sysdeps/s390/s390-32/start.S: ... here.
42583
42584 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
42585 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
42586 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
42587 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
42588 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
42589 * sysdeps/s390/s390-64/setjmp.S: ... here.
42590 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
42591 * sysdeps/s390/s390-64/configure.in: ... here
42592 * sysdeps/s390/s390-64/elf/configure: Delete file.
42593 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
42594 * sysdeps/s390/s390-64/start.S: ... here.
42595 * sysdeps/s390/s390-64/elf/configure: Delete.
42596
42597 * configure.in: Remove support for elf directories in sysdeps.
42598
42599 * configure: Regenerated.
42600 * sysdeps/i386/configure: Regenerated.
42601 * sysdeps/powerpc/powerpc32/configure: Regenerated.
42602 * sysdeps/powerpc/powerpc64/configure: Regenerated.
42603 * sysdeps/s390/s390-32/configure: Regenerated.
42604 * sysdeps/s390/s390-64/configure: Regenerated.
42605 * sysdeps/sh/configure: Regenerated.
42606 * sysdeps/sparc/configure: Regenerated.
42607 * sysdeps/x86_64/configure: Regenerated.
42608
42609 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
42610
42611 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42612
42613 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
42614 denormal result into account.
42615
42616 2012-03-25 Roland McGrath <roland@hack.frob.com>
42617
42618 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
42619 Reported by Allan McRae <allan@archlinux.org>.
42620
42621 2012-03-23 Jeff Law <law@redhat.com>
42622
42623 * nss/getnssent.c (__nss_getent): Fix typo.
42624
42625 2012-03-23 David S. Miller <davem@davemloft.net>
42626
42627 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42628
42629 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
42630
42631 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
42632 to pad to uint64_t for each field.
42633 (dl_tls_index): Replace unsigned long with uint64_t.
42634
42635 2012-03-23 Daniel Jacobowitz <dmj@google.com>
42636 Paul Pluzhnikov <ppluzhnikov@google.com>
42637
42638 [BZ #6528]
42639 * grp/Makefile (otherlibs): Don't set it.
42640 * inet/Makefile (otherlibs): Likewise.
42641 * login/Makefile (otherlibs): Likewise.
42642 * nscd/Makefile (otherlibs): Likewise.
42643 * posix/Makefile (otherlibs): Likewise.
42644 * pwd/Makefile (otherlibs): Likewise.
42645 * rt/Makefile (otherlibs): Likewise.
42646 * sunrpc/Makefile (otherlibs): Likewise.
42647 * nss/Makefile (otherlibs): Likewise.
42648 Add libnss_files to routines and static-only-routines.
42649 ($(objpfx)getent): Remove rule.
42650 * resolv/Makefile: Add libnss_dns and libresolv to routines and
42651 static-only-routines.
42652
42653 2012-03-22 Joseph Myers <joseph@codesourcery.com>
42654
42655 [BZ #13892]
42656 * math/s_cexp.c: Include <float.h>.
42657 (__cexp): Handle exp result overflowing not necessarily
42658 overflowing both real and imaginary parts of result.
42659 * math/s_cexpf.c: Likewise.
42660 * math/s_cexpl.c: Likewise.
42661 * math/libm-test.inc (cexp_test): Add more tests.
42662 * sysdeps/i386/fpu/libm-test-ulps: Update.
42663 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42664
42665 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
42666
42667 * include/link.h (ELFW): New macro.
42668 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
42669 Replace ELF64_R_TYPE with ELFW(R_TYPE).
42670
42671 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
42672
42673 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
42674 with uint64_t.
42675
42676 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
42677
42678 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
42679 declaration.
42680 (struct La_x32_retval): Likewise.
42681
42682 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
42683
42684 * sysdeps/x86_64/preconfigure.in: New file.
42685 * sysdeps/x86_64/preconfigure: New generated file.
42686
42687 2012-03-22 Joseph Myers <joseph@codesourcery.com>
42688
42689 [BZ #13824]
42690 * math/e_exp2l.c: Include <float.h>.
42691 (__ieee754_exp2l): Handle overflow and underflow cases
42692 separately. Only pass fractional part of argument to
42693 __ieee754_expl.
42694 * math/libm-test.inc (exp2_test): Add more tests.
42695
42696 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
42697 negating x to take absolute value.
42698 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
42699 Likewise.
42700 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
42701 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
42702 Likewise.
42703 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
42704 computing low part if x was negated.
42705 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
42706
42707 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
42708
42709 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
42710 la_x32_gnu_pltexit.
42711 (pltexit): Cast int_retval to ptrdiff_t.
42712 * elf/tst-auditmod3b.c: Likewise.
42713 * elf/tst-auditmod4b.c: Likewise.
42714 * elf/tst-auditmod5b.c: Likewise.
42715 * elf/tst-auditmod6b.c: Likewise.
42716 * elf/tst-auditmod6c.c: Likewise.
42717 * elf/tst-auditmod7b.c: Likewise.
42718
42719 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
42720 and x32_gnu_pltexit.
42721
42722 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
42723 __ELF_NATIVE_CLASS.
42724 (La_x32_regs): New macro.
42725 (La_x32_retval): Likewise.
42726 (la_x32_gnu_pltenter): New function prototype.
42727 (la_x32_gnu_pltexit): Likewise.
42728
42729 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
42730
42731 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
42732 exponent.
42733
42734 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42735
42736 * configure.in (libc_cv_cc_nofma): Check for option to disable
42737 generation of FMA instructions.
42738 * configure: Regenerate.
42739 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
42740 * sysdeps/ieee754/dbl-64/Makefile: New file.
42741 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
42742 Remove brandred-fma4.
42743 (CFLAGS-brandred-fma4.c): Remove.
42744 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
42745 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
42746 define.
42747 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
42748 define.
42749
42750 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
42751
42752 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
42753 LLONG_MAX != LONG_MAX.
42754 (_itoa_word): Use _ITOA_WORD_TYPE on value.
42755 (_fitoa_word): Likewise.
42756 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
42757 LLONG_MAX != LONG_MAX.
42758 * stdio-common/_itowa.h: Include <_itoa.h>.
42759 (_itowa_word): Use _ITOA_WORD_TYPE on value.
42760 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
42761 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
42762 only if not defined.
42763 (_ITOA_WORD_TYPE): Likewise.
42764 (_itoa_word): Use _ITOA_WORD_TYPE on value.
42765 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
42766
42767 2012-03-21 David S. Miller <davem@davemloft.net>
42768
42769 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42770
42771 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
42772
42773 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
42774 of x86_64 when setting libc_cv_slibdir, libdir and
42775 libc_cv_localedir.
42776 * sysdeps/unix/sysv/linux/configure: Regenerated.
42777
42778 2012-03-21 Joseph Myers <joseph@codesourcery.com>
42779
42780 * manual/lang.texi (Old Varargs): Remove section.
42781 (How Variadic): Update menu.
42782 (va_start): Do not mention varargs.h.
42783
42784 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
42785 Joseph Myers <joseph@codesourcery.com>
42786
42787 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
42788 link test.
42789 * configure: Regenerated.
42790
42791 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
42792
42793 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
42794 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
42795 conformtest.pl
42796
42797 2012-03-21 Joseph Myers <joseph@codesourcery.com>
42798
42799 * NOTES: Remove.
42800 * Makefile (files-for-dist): Remove NOTES.
42801 (NOTES): Remove rule.
42802 * README: Don't refer to NOTES.
42803 * manual/creature.texi: Don't include macros.texi.
42804 * manual/intro.texi (creature.texi): Remove comment referring to
42805 NOTES.
42806
42807 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
42808 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
42809 * configure: Regenerated.
42810 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
42811 LIBC_TRY_CC_OPTION.
42812 (libc_cv_as_i686): Likewise.
42813 (libc_cv_cc_avx): Likewise.
42814 (libc_cv_cc_sse2avx): Likewise.
42815 (libc_cv_cc_fma4): Likewise.
42816 (libc_cv_cc_novzeroupper): Likewise.
42817 * sysdeps/i386/configure: Regenerated.
42818
42819 [BZ #13883]
42820 * sysdeps/i386/fpu/s_cexp.S: Remove.
42821 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
42822 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
42823 * math/libm-test.inc (cexp_test): Add more tests.
42824 * sysdeps/i386/fpu/libm-test-ulps: Update.
42825 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42826
42827 2012-03-21 Allan McRae <allan@archlinux.org>
42828
42829 * timezone/Makefile: Do not install iso3166.tab and zone.tab
42830
42831 2012-03-21 Joseph Myers <joseph@codesourcery.com>
42832
42833 [BZ #13871]
42834 * math/w_exp2.c: Do not include <float.h>.
42835 (o_threshold, u_threshold): Remove.
42836 (__exp2): Calculate result before checking finiteness and calling
42837 __kernel_standard.
42838 * math/w_exp2f.c: Likewise.
42839 * math/w_exp2l.c: Likewise.
42840 * math/libm-test.inc (exp2_test): Require overflow exception for
42841 1e6 input.
42842
42843 [BZ #3866]
42844 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
42845 range of signed 64-bit integers before using fistpll. Remove
42846 checks for whether integers fit in mantissa bits.
42847 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
42848 the range of signed 32-bit integers before using fistpl. Remove
42849 checks for whether integers fit in mantissa bits.
42850 * sysdeps/i386/fpu/e_powl.S (p64): New object.
42851 (__ieee754_powl): Test for y outside the range of signed 64-bit
42852 integers before using fistpll. Reduce 64-bit values to 63-bit
42853 ones as needed.
42854 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
42855 divide-by-zero is raised for zero to large negative powers.
42856 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
42857 (__ieee754_powl): Test for y outside the range of signed 64-bit
42858 integers before using fistpll. Reduce 64-bit values to 63-bit
42859 ones as needed.
42860 * math/libm-test.inc (pow_test): Add more tests.
42861
42862 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
42863
42864 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
42865 <stdio-common/_itoa.h>.
42866 * debug/segfault.c: Likewise.
42867 * elf/dl-cache.c: Likewise.
42868 * elf/dl-minimal.c: Likewise.
42869 * elf/dl-misc.c: Likewise.
42870 * elf/dl-sysdep.c: Likewise.
42871 * elf/dl-version.c: Likewise.
42872 * elf/rtld.c: Likewise.
42873 * hurd/hurdsock.c: Likewise.
42874 * hurd/lookup-retry.c: Likewise.
42875 * malloc/malloc.c: Likewise.
42876 * malloc/mtrace.c: Likewise.
42877 * nscd/nscd_getgr_r.c: Likewise.
42878 * nscd/nscd_getpw_r.c: Likewise.
42879 * nscd/nscd_getserv_r.c: Likewise.
42880 * posix/getopt_init.c: Likewise.
42881 * posix/wordexp.c: Likewise.
42882 * stdio-common/_itoa.c: Likewise.
42883 * stdio-common/printf_fphex.c: Likewise.
42884 * stdio-common/vfprintf.c: Likewise.
42885 * string/_strerror.c: Likewise.
42886 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
42887 * sysdeps/i386/i686/hp-timing.h: Likewise.
42888 * sysdeps/mach/_strerror.c: Likewise.
42889 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
42890 * sysdeps/mach/hurd/sethostid.c: Likewise.
42891 * sysdeps/mach/hurd/xmknodat.c: Likewise.
42892 * sysdeps/mach/xpg-strerror.c: Likewise.
42893 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
42894 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
42895 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
42896 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
42897 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
42898 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
42899 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
42900 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
42901 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
42902 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
42903 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
42904 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
42905 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
42906 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
42907 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
42908 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
42909 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
42910 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
42911 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
42912 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
42913 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
42914
42915 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
42916
42917 * stdio-common/_itoa.h: Moved to ...
42918 * sysdeps/generic/_itoa.h: Here.
42919
42920 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
42921
42922 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
42923 instead of "_itoa.h" and "_itowa.h".
42924 * stdio-common/vfprintf.: Likewise.
42925
42926 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
42927
42928 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
42929 <bits/wordsize.h>.
42930 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
42931 (__signbit): Likwise.
42932 (llrintf): Likwise.
42933 (llrint): Likwise.
42934
42935 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
42936
42937 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
42938 __WORDSIZE != 64.
42939
42940 2012-03-20 Joseph Myers <joseph@codesourcery.com>
42941
42942 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
42943 OVERFLOW_EXCEPTION_OK.
42944 * math/libm-test.inc ("Philosophy"): Update comment about
42945 exception testing.
42946 (OVERFLOW_EXCEPTION): Define.
42947 (OVERFLOW_EXCEPTION_OK): Likewise.
42948 (INVALID_EXCEPTION_OK): Renumber.
42949 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
42950 (IGNORE_ZERO_INF_SIGN): Likewise.
42951 (test_exceptions): Handle FE_OVERFLOW.
42952 (exp10_test): Expect overflow exceptions.
42953 (exp2_test): Likewise.
42954 (expm1_test): Likewise.
42955 (nextafter_test): Likewise.
42956 (pow_test): Likewise.
42957 (scalbn_test): Likewise.
42958 (scalbln_test): Likewise.
42959
42960 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
42961
42962 * sysdeps/x86_64/bits/atomic.h
42963 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
42964 64bit integer.
42965 (atomic_exchange_acq): Likewise.
42966 (__arch_exchange_and_add_body): Likewise.
42967 (__arch_add_body): Likewise.
42968 (atomic_add_negative): Likewise.
42969 (atomic_add_zero): Likewise.
42970
42971 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
42972
42973 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
42974 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
42975
42976 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
42977
42978 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
42979 Check __x86_64__ instead of __WORDSIZE.
42980
42981 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
42982
42983 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
42984
42985 2012-03-19 David S. Miller <davem@davemloft.net>
42986
42987 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42988
42989 * sysdeps/sparc/fpu/fenv_private.h: New file.
42990 * sysdeps/sparc/fpu/math_private.h: Use it.
42991 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
42992 Remove.
42993 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
42994 (libc_feholdexcept_setroundl): Remove.
42995 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
42996 Remove.
42997 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
42998 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
42999
43000 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
43001
43002 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
43003 int64_t instead of long int.
43004 (INSERT_WORDS64): Likwise.
43005
43006 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
43007
43008 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
43009 _Unwind_GetCFA return to _Unwind_Ptr first.
43010
43011 2012-03-19 Joseph Myers <joseph@codesourcery.com>
43012
43013 [BZ #13629]
43014 * math/s_clog.c: Include <float.h>.
43015 (__clog): Scale large or subnormal inputs.
43016 * math/s_clogf.c: Likewise.
43017 * math/s_clogl.c: Likewise.
43018 * math/s_clog10.c: Include <float.h>.
43019 (M_LOG10_2): Define.
43020 (__clog10): Scale large or subnormal inputs.
43021 * math/s_clog10f.c: Likewise.
43022 * math/s_clog10l.c: Likewise.
43023 * math/libm-test.inc (clog_test): Add more tests.
43024 (clog10_test): Likewise.
43025 * sysdeps/i386/fpu/libm-test-ulps: Update.
43026 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43027
43028 [BZ #11451]
43029 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
43030 x and y.
43031 * math/libm-test.inc (atan2_test): Add another test.
43032
43033 * Makerules (common-objdir-compile): Remove.
43034 * sysdeps/unix/Makefile (config-generated): Do not add
43035 $(unix-generated) to variable.
43036 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
43037 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
43038 Remove rule.
43039 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
43040 Likewise.
43041 [generic bits/local_lim.h] (before-compile): Do not append to
43042 variable.
43043 [generic bits/local_lim.h] (common-generated): Likewise.
43044 [generic sys/param.h] (before-compile): Do not append to variable.
43045 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
43046 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
43047 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
43048 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
43049 include.
43050 [generic sys/param.h] (sys/param.h-includes): Remove variable.
43051 [generic sys/param.h] (sys/param.h-includes): Remove rule.
43052 [generic sys/param.h] ($(addprefix
43053 $(common-objpfx),$(sys/param.h-includes))): Likewise.
43054 [generic sys/param.h] (common-generated): Do not append to
43055 variable.
43056 [generic sys/param.h] (sysdep_headers): Likewise.
43057 [generic bits/errno.h] (before-compile): Do not append to
43058 variable.
43059 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
43060 rule.
43061 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
43062 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
43063 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
43064 [generic bits/errno.h] (common-generated): Do not append to
43065 variable.
43066 [generic bits/ioctls.h] (before-compile): Do not append to
43067 variable.
43068 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
43069 rule.
43070 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
43071 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
43072 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
43073 rule.
43074 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
43075 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
43076 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
43077 [generic bits/ioctls.h] (common-generated): Do not append to
43078 variable.
43079 [generic sys/syscall.h] (syscall.h): Remove variable.
43080 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
43081 rule.
43082 [generic sys/syscall.h] (before-compile): Do not append to
43083 variable.
43084 [generic sys/syscall.h] (common-generated): Likewise.
43085 * sysdeps/unix/errnos-tmpl.c: Remove file.
43086 * sysdeps/unix/errnos.awk: Likewise.
43087 * sysdeps/unix/ioctls-tmpl.c: Likewise.
43088 * sysdeps/unix/ioctls.awk: Likewise.
43089 * sysdeps/unix/mk-local_lim.c: Likewise.
43090 * sysdeps/unix/snarf-ioctls: Likewise.
43091
43092 2012-03-19 Richard Henderson <rth@twiddle.net>
43093
43094 * sysdeps/i386/fpu/fenv_private.h: New file.
43095 * sysdeps/i386/fpu/math_private.h: Use it.
43096 (math_opt_barrier, math_force_eval): Remove.
43097 (libc_feholdexcept_setround_53bit): Remove.
43098 (libc_feupdateenv_53bit): Remove.
43099 * sysdeps/x86_64/fpu/math_private.h: Likewise.
43100 (math_opt_barrier, math_force_eval): Remove.
43101 (libc_feholdexcept): Remove.
43102 (libc_feholdexcept_setround): Remove.
43103 (libc_fetestexcept, libc_fesetenv): Remove.
43104 (libc_feupdateenv_test): Remove.
43105 (libc_feupdateenv, libc_feholdsetround): Remove.
43106 (libc_feresetround): Remove.
43107
43108 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
43109 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
43110
43111 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
43112 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
43113 (libc_feupdateenv_testl): New.
43114 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
43115 (libc_feupdateenv_testf): New.
43116 (libc_feupdateenv): Use libc_feupdateenv_test.
43117 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
43118 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
43119
43120 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
43121 (libc_feholdsetroundf, libc_feholdsetroundl): New.
43122 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
43123 (libc_feresetround_noex): New.
43124 (libc_feresetround_noexf): New.
43125 (libc_feresetround_noexl): New.
43126 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
43127 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
43128 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
43129 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
43130 SET_RESTORE_ROUND.
43131 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
43132 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
43133 (__cos): Likewise.
43134 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
43135 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
43136 SET_RESTORE_ROUND_NOEX.
43137 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
43138 SET_RESTORE_ROUND_NOEXF.
43139 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
43140 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
43141 (libc_feholdsetroundf): New.
43142 (libc_feresetround, libc_feresetroundf): New.
43143
43144 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
43145 (libc_feholdexcept_setround_53bit): Convert from macro to function.
43146 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
43147
43148 * sysdeps/generic/math_private.h: Include <fenv.h>.
43149 (default_libc_feholdexcept): New.
43150 (default_libc_feholdexcept_setround): New.
43151 (default_libc_fesetenv, default_libc_feupdateenv): New.
43152 (libc_feholdexcept): Only define if undefined.
43153 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
43154 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
43155 (libc_feholdexcept_setroundl): Likewise.
43156 (libc_feholdexcept_setround_53bit): Likewise.
43157 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
43158 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
43159 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
43160 (libc_feupdateenv_53bit): Likewise.
43161 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
43162 (libc_feholdexcept): Convert from macro to inline function.
43163 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
43164 (libc_fesetenv, libc_feupdateenv): Likewise.
43165
43166 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
43167 not previously defined.
43168 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
43169 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
43170 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
43171 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
43172 * sysdeps/ieee754/flt-32/math_private.h: New file.
43173 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
43174 math_private.h below SET_FLOAT_WORD.
43175 (__isnan, __isinf_ns, __finite): Remove.
43176 (__isnanf, __isinf_nsf, __finitef): Remove.
43177
43178 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
43179
43180 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43181
43182 2012-03-17 David S. Miller <davem@davemloft.net>
43183
43184 [BZ #6471]
43185 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
43186 for 2.16.
43187
43188 2012-03-16 David S. Miller <davem@davemloft.net>
43189
43190 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
43191 warnings.
43192
43193 [BZ #6471]
43194 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
43195 properly.
43196 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
43197 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
43198 sysdep_routines when subdir is sysvipc.
43199 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
43200 __getshmlba helper.
43201
43202 * sysdeps/sparc/fpu/libm-test/ulps: Update.
43203
43204 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
43205
43206 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
43207 [__LP64__].
43208
43209 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
43210
43211 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
43212 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
43213 (__lround): Renamed to ...
43214 (__llround): This. Replace long int with long long int.
43215 Define lround functions as aliases of llround functions.
43216 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
43217
43218 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
43219
43220 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
43221 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
43222 adresses to uintptr_t. Replace "long int" and "unsigned long
43223 int" with "greg_t" on va_arg.
43224
43225 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
43226
43227 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
43228 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
43229
43230 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
43231 Move e_machine check before EI_CLASS check. Handle x32
43232 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
43233 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
43234 SKIP_EM_IA_64 and include
43235 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
43236
43237 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
43238 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
43239 (add_system_dir): New macro.
43240
43241 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
43242 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
43243
43244 2012-03-16 Joseph Myers <joseph@codesourcery.com>
43245
43246 [BZ #2551]
43247 [BZ #2552]
43248 [BZ #2553]
43249 [BZ #2554]
43250 [BZ #2562]
43251 [BZ #2563]
43252 [BZ #2565]
43253 [BZ #2566]
43254 [BZ #2576]
43255 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
43256 (y0): Likewise.
43257 * math/w_j0f.c (j0f): Likewise.
43258 (y0f): Likewise.
43259 * math/w_j0l.c (__j0l): Likewise.
43260 (__y0l): Likewise.
43261 * math/w_j1.c (j1): Likewise.
43262 (y1): Likewise.
43263 * math/w_j1f.c (j1f): Likewise.
43264 (y1f): Likewise.
43265 * math/w_j1l.c (__j1l): Likewise.
43266 (__y1l): Likewise.
43267 * math/w_jn.c (jn): Likewise.
43268 (yn): Likewise.
43269 * math/w_jnf.c (jnf): Likewise.
43270 (ynf): Likewise.
43271 * math/w_jnl.c (__jnl): Likewise.
43272 (__ynl): Likewise.
43273 * math/libm-test.inc (j0_test): Add more tests.
43274 (j1_test): Likewise.
43275 (jn_test): Likewise. Add trailing semicolon to existing test.
43276 (y0_test): Likewise.
43277 (y1_test): Likewise.
43278 * sysdeps/i386/fpu/libm-test-ulps: Update.
43279 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43280
43281 [BZ #13851]
43282 [BZ #13854]
43283 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
43284 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
43285 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
43286 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
43287 (__tanl): Set errno for infinite argument.
43288 * sysdeps/i386/fpu/mptan.c: Remove.
43289 * sysdeps/i386/fpu/s_tan.S: Likewise.
43290 * sysdeps/i386/fpu/s_tanl.S: Likewise.
43291 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
43292 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
43293 * math/libm-test.inc (tan_test): Add more tests and enable more
43294 tests for double and long double.
43295 * sysdeps/i386/fpu/libm-test-ulps: Update.
43296 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43297
43298 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
43299
43300 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
43301 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
43302
43303 2012-03-16 Roland McGrath <roland@hack.frob.com>
43304
43305 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
43306 * configure.in: Use it for both main tree and add-ons.
43307 * configure: Regenerated.
43308
43309 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
43310
43311 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
43312
43313 2012-03-16 Joseph Myers <joseph@codesourcery.com>
43314
43315 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
43316 in comment.
43317
43318 [BZ #13851]
43319 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
43320 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
43321 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
43322 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
43323 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
43324 infinite argument.
43325 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
43326 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
43327 != 0 for prec == 2.
43328 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
43329 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
43330 * sysdeps/i386/fpu/s_cosl.S: Likewise.
43331 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
43332 * sysdeps/i386/fpu/s_sinl.S: Likewise.
43333 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
43334 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
43335 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
43336 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
43337 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
43338 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
43339 * math/libm-test.inc (cos_test): Add more tests and enable more
43340 tests for long double.
43341 (sin_test): Likewise.
43342 (sincos_test): Likewise.
43343 * sysdeps/i386/fpu/libm-test-ulps: Update.
43344 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43345
43346 2012-03-16 David S. Miller <davem@davemloft.net>
43347
43348 * sysdeps/sparc/fpu/math_private.h: New file.
43349
43350 2012-03-15 David S. Miller <davem@davemloft.net>
43351
43352 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
43353 file.
43354 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
43355 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
43356 file.
43357 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
43358 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
43359 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
43360 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
43361 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
43362 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
43363 sysdep routines.
43364 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
43365
43366 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
43367 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
43368
43369 * sysdeps/sparc/sparc-ifunc.h: New file.
43370 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
43371 sparc-ifunc.h
43372 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
43373 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
43374 Likewise.
43375 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
43376 Likewise.
43377 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
43378 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
43379 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
43380 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
43381 Likewise.
43382 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
43383 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
43384 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
43385 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
43386 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
43387 Likewise.
43388 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
43389 Likewise.
43390 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
43391 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
43392 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
43393 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
43394 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
43395 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
43396 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
43397 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
43398 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
43399 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
43400 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
43401 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
43402 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
43403 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
43404 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
43405 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
43406 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
43407 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
43408 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
43409 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
43410 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
43411 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
43412 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
43413 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
43414
43415 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
43416
43417 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
43418 scaling.
43419 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43420
43421 2012-03-15 Andreas Jaeger <aj@suse.de>
43422
43423 [BZ #13852]
43424 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
43425 ieee754/flt-32 implementation for sin, cos and sincos.
43426 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
43427 * sysdeps/i386/fpu/s_cosf.S: Likewise.
43428 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
43429 * sysdeps/i386/fpu/s_sinf.S: Likewise.
43430 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
43431 ieee754/flt-32 implementation for tan.
43432
43433 * math/libm-test.inc (cos_test): Enable some large input tests for
43434 float as well
43435 (sin_test): Likewise.
43436 (sincos_test): Likewise.
43437 (tan_test): Add tests for large input.
43438
43439 * sysdeps/i386/fpu/libm-test-ulps: Update.
43440
43441 2012-03-15 Andreas Jaeger <aj@suse.de>
43442
43443 [BZ #13658]
43444 * math/libm-test.inc (cos_test): Add more test cases.
43445 (sin_test): Likewise.
43446 (sincos_test): Likewise.
43447
43448 2012-03-15 Andreas Jaeger <aj@suse.de>
43449
43450 [BZ #13837]
43451 * math/libm-test.inc (cos_test): Add a test case for large input
43452 value.
43453 (sin_test): Likewise.
43454 (sincos_test): Likewise.
43455
43456 2012-03-15 Andreas Jaeger <aj@suse.de>
43457 Joseph Myers <joseph@codesourcery.com>
43458
43459 [BZ #13658]
43460 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
43461 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
43462 * sysdeps/i386/fpu/branred.c: Likewise.
43463 * sysdeps/i386/fpu/dosincos.c: Likewise.
43464 * sysdeps/i386/fpu/mpa.c: Likewise.
43465 * sysdeps/i386/fpu/s_cos.S: Likewise.
43466 * sysdeps/i386/fpu/s_sin.S: Likewise.
43467 * sysdeps/i386/fpu/s_sincos.S: Likewise.
43468 * sysdeps/i386/fpu/sincos32.c: Likewise.
43469
43470 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
43471 Define.
43472 (libc_feupdateenv_53bit): Define.
43473 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
43474 Define.
43475 (libc_feupdateenv_53bit): Define.
43476
43477 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
43478 53 bit (without extend i386 double precision).
43479
43480 * math/libm-test.inc (sincos_test): Add tests for large input.
43481 (sin): Likewise.
43482 (cos): Likewise.
43483
43484 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
43485
43486 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
43487
43488 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43489
43490 2012-03-15 David S. Miller <davem@davemloft.net>
43491
43492 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
43493 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
43494 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
43495 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
43496 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
43497 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
43498 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
43499 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
43500 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
43501 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
43502 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
43503 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
43504 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
43505 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
43506 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
43507 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
43508 file.
43509 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
43510 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
43511 file.
43512 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
43513 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
43514 file.
43515 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
43516 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
43517 file.
43518 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
43519 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
43520 fmin/fmax sysdep routines.
43521 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
43522
43523 2012-03-14 David S. Miller <davem@davemloft.net>
43524
43525 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
43526 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
43527 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
43528 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
43529 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
43530 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
43531 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
43532 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
43533 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
43534 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
43535 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
43536 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
43537 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
43538 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
43539 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
43540 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
43541 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
43542 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
43543 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
43544 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
43545 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
43546 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
43547 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
43548 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
43549 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
43550 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
43551 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
43552 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
43553 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
43554 routines.
43555 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
43556 file.
43557 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
43558 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
43559 file.
43560 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
43561 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
43562 file.
43563 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
43564 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
43565 file.
43566 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
43567 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
43568 file.
43569 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
43570 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
43571 file.
43572 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
43573 file.
43574 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
43575 file.
43576 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
43577 file.
43578 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
43579 New file.
43580 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
43581 file.
43582 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
43583 file.
43584 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
43585 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
43586 file.
43587 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
43588 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
43589 file.
43590 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
43591 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
43592 file.
43593 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
43594 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
43595 VIS3 routines.
43596
43597 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
43598 New file.
43599
43600 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43601
43602 * sysdeps/sparc/configure.in: New file.
43603 * sysdeps/sparc/configure: Generate.
43604 * configure.in (libc_cv_sparc_as_vis3): Substitute.
43605 * configure: Regenerate.
43606 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
43607 * config.make.in (have-as-vis3): New.
43608 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
43609 available use -Av9d instead of -Av9a.
43610 * sysdeps/sparc/sparc64/Makefile: Likewise.
43611 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
43612 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
43613 New file.
43614 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
43615 file.
43616 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
43617 New file.
43618 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
43619 file.
43620 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
43621 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
43622 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
43623 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
43624 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
43625
43626 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
43627 fzeros/fnegs to load 0x80000000 into a float register instead of
43628 using the stack.
43629 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
43630
43631 2012-03-14 Joseph Myers <joseph@codesourcery.com>
43632
43633 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
43634 bits/syscall.h.
43635 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
43636 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
43637 ($(inst_includedir)/bits/syscall.h): Remove rule.
43638 ($(objpfx)bits/syscall.d): Include instead of
43639 $(objpfx)syscall-list.d.
43640 (generated): Change syscall-list.h and syscall-list.d to
43641 bits/syscall.h and bits/syscall.d.
43642
43643 2012-03-14 Roland McGrath <roland@hack.frob.com>
43644
43645 [BZ #13846]
43646 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
43647
43648 2012-03-14 Joseph Myers <joseph@codesourcery.com>
43649
43650 [BZ #13841]
43651 * math/s_csqrt.c: Include <float.h>.
43652 (__csqrt): Scale large or subnormal inputs.
43653 * math/s_csqrtf.c: Likewise.
43654 * math/s_csqrtl.c: Likewise.
43655 * math/libm-test.inc (csqrt_test): Add more tests.
43656 * sysdeps/i386/fpu/libm-test-ulps: Update.
43657 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43658
43659 [BZ #13840]
43660 * math/libm-test.inc (hypot_test): Add more tests.
43661
43662 2012-03-13 David S. Miller <davem@davemloft.net>
43663
43664 [BZ #13840]
43665 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
43666 double-precision for the calculation instead of scaling.
43667
43668 2012-03-13 Joseph Myers <joseph@codesourcery.com>
43669
43670 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
43671 manipulate bits before adding and subtracting TWO52[sx].
43672 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
43673 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
43674 Likewise.
43675 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
43676
43677 2012-03-13 David S. Miller <davem@davemloft.net>
43678
43679 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
43680 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
43681 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
43682 rtld-global-offsets.h
43683 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
43684
43685 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
43686 large parameters.
43687
43688 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
43689
43690 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
43691 'err' in the ifdef scope in which it is actually used.
43692
43693 * nss/nss_db/db-init.c: Include string.h
43694
43695 2012-03-12 David S. Miller <davem@davemloft.net>
43696
43697 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
43698 masking out of the most significant byte of random value used.
43699 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
43700 Fix coding style in previous change.
43701
43702 * sysdeps/unix/sysv/linux/kernel-features.h
43703 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
43704 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
43705 expression.
43706 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
43707 later.
43708
43709 2012-03-11 David S. Miller <davem@davemloft.net>
43710
43711 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
43712 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
43713 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
43714 for 'resultvar' otherwise things get truncated on 64-bit.
43715
43716 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
43717 Fix masking out of the most significant byte of random value used.
43718
43719 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43720
43721 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
43722
43723 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43724
43725 2012-03-09 David S. Miller <davem@davemloft.net>
43726
43727 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
43728 variables with appropriate CPP guards.
43729 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
43730 from the frame pointer, not the stack pointer. Correct layout
43731 comments. Fix test on resulting framesize and the management of
43732 the outregs buffer for pltexit. Preserve floating point return
43733 values across _dl_call_pltexit call.
43734 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
43735 framesize and the management of the outregs buffer for pltexit.
43736 Preserve floating point return values across _dl_call_pltexit
43737 call.
43738 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
43739 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
43740 (la_sparc64_gnu_pltexit): New functions.
43741 (print_exit): Fix format string for return register value.
43742
43743 2012-03-10 Joseph Myers <joseph@codesourcery.com>
43744
43745 * sunrpc/Makefile (others): Add rpcgen.
43746 ($(objpfx)rpcgen): Remove special build rule and dependency on
43747 libc.
43748 * sunrpc/rpcgen.c: New file.
43749
43750 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
43751
43752 [BZ #13673]
43753 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
43754 * stdio-common/bug-vfprintf-nargs.c: Likewise.
43755 * sysdeps/i386/crti.S: Likewise.
43756 * sysdeps/i386/crtn.S: Likewise.
43757 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
43758 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
43759 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
43760 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
43761 * sysdeps/sh/crti.S: Likewise.
43762 * sysdeps/sh/crtn.S: Likewise.
43763 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
43764
43765 [BZ #13673]
43766 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
43767 with URL.
43768 * locale/programs/locfile-kw.gperf: Likewise.
43769 * locale/programs/charmap-kw.h: Regenerated.
43770 * locale/programs/locfile-kw.h: Likewise.
43771
43772 [BZ #13673]
43773 * intl/plural.y: Replace FSF snail mail address with URL.
43774 * intl/plural.c: Regenerated.
43775
43776 2012-03-09 Richard Henderson <rth@twiddle.net>
43777
43778 * include/math_private.h: Remove file.
43779 * math/math_private.h: Move file ...
43780 * sysdeps/generic/math_private.h: ... here.
43781
43782 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
43783 * sysdeps/powerpc/fpu/math_private.h: Likewise.
43784 * sysdeps/x86_64/fpu/math_private.h: Likewise.
43785
43786 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
43787 and <math_private.h>.
43788 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
43789 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
43790 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
43791 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
43792 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
43793 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
43794 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
43795 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
43796 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
43797 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
43798 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
43799 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
43800 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
43801 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
43802 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
43803 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
43804 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
43805 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
43806 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
43807 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
43808 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43809 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
43810 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
43811 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
43812 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
43813 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
43814 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
43815 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
43816 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
43817 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
43818 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
43819 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
43820 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
43821 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
43822 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
43823 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
43824 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
43825 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
43826 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
43827 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
43828 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
43829 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
43830 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
43831 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
43832 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
43833 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
43834 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
43835 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
43836 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
43837 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
43838 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
43839 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
43840 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
43841 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
43842 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
43843 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
43844 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
43845 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
43846 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
43847 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
43848 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
43849 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
43850 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
43851 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
43852 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
43853 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
43854 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
43855 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
43856 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
43857 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
43858 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
43859 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
43860 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
43861 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
43862 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
43863 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
43864 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
43865 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
43866 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
43867 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
43868 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
43869 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
43870 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
43871 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
43872 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
43873 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
43874 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
43875 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
43876 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
43877 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
43878 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
43879 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
43880 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
43881 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
43882 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
43883 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
43884 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
43885 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
43886 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
43887 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
43888 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
43889 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
43890 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
43891 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
43892 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
43893 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
43894 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
43895 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
43896 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
43897 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
43898 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
43899 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
43900 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
43901 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
43902 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
43903 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
43904 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
43905 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
43906 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
43907 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
43908 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
43909 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
43910 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
43911 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
43912 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
43913 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
43914 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
43915 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
43916 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
43917 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
43918 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
43919 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
43920 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
43921 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
43922 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
43923 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
43924 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
43925 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
43926 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
43927 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
43928 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
43929 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
43930 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
43931 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
43932 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
43933 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
43934 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
43935 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
43936 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
43937 * sysdeps/ieee754/k_standard.c: Likewise.
43938 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
43939 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
43940 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
43941 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
43942 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
43943 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
43944 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
43945 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
43946 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
43947 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
43948 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
43949 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
43950 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
43951 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
43952 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
43953 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
43954 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
43955 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
43956 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
43957 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
43958 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
43959 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
43960 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
43961 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
43962 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
43963 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
43964 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
43965 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
43966 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
43967 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
43968 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
43969 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
43970 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
43971 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
43972 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
43973 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
43974 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
43975 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
43976 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
43977 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
43978 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
43979 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
43980 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
43981 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
43982 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
43983 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
43984 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
43985 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
43986 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
43987 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
43988 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
43989 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
43990 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
43991 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
43992 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
43993 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
43994 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
43995 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
43996 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
43997 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
43998 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
43999 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
44000 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
44001 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
44002 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
44003 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
44004 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
44005 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
44006 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
44007 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
44008 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
44009 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
44010 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
44011 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
44012 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
44013 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
44014 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
44015 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
44016 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
44017 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
44018 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
44019 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
44020 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
44021 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
44022 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
44023 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
44024 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
44025 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
44026 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
44027 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
44028 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
44029 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
44030 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
44031 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
44032 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
44033 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
44034 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
44035 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
44036 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
44037 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
44038 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
44039 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
44040 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
44041 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
44042 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
44043 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
44044 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
44045 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
44046 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
44047 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
44048 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
44049 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
44050 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
44051 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
44052 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
44053 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
44054 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
44055 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
44056 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
44057 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
44058 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
44059 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
44060 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
44061 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
44062 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
44063 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
44064 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
44065 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
44066 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
44067 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
44068 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
44069 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
44070 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
44071 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
44072 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
44073 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
44074 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
44075 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
44076 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
44077 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
44078 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
44079 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
44080 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
44081 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
44082 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
44083 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
44084 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
44085 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
44086 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
44087 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
44088 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
44089 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
44090 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
44091 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
44092 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
44093 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
44094 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
44095 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
44096 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
44097 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
44098 * sysdeps/ieee754/s_lib_version.c: Likewise.
44099 * sysdeps/ieee754/s_matherr.c: Likewise.
44100 * sysdeps/ieee754/s_signgam.c: Likewise.
44101 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
44102 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
44103 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
44104 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
44105 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
44106 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
44107 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
44108 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
44109 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
44110 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
44111 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
44112 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
44113 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
44114 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
44115 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
44116 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
44117 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
44118 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
44119 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
44120 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
44121 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
44122
44123 2012-03-09 Joseph Myers <joseph@codesourcery.com>
44124
44125 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
44126 * sunrpc/rpc_main.c: Likewise.
44127 * sunrpc/rpc_svcout.c: Likewise.
44128
44129 2012-03-09 David S. Miller <davem@davemloft.net>
44130
44131 * include/math_private.h: New file.
44132
44133 2012-03-09 Joseph Myers <joseph@codesourcery.com>
44134
44135 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
44136 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
44137 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
44138 from <bits/socket_type.h>.
44139 (enum __socket_type): Don't define here.
44140 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
44141 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
44142 bits/socket_type.h.
44143
44144 [BZ #13566]
44145 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
44146 checking __USE_GNU.
44147
44148 * Makerules ($(inst_includedir)/%.h): New rule.
44149 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
44150 (install-others): Remove variable setting.
44151 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
44152
44153 2012-03-08 Richard Henderson <rth@twiddle.net>
44154
44155 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
44156 from macro to inline function; merge with the
44157 !__LIBC_INTERNAL_MATH_INLINES version.
44158 (__ieee754_sqrtf): Likewise.
44159
44160 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
44161 to inline function.
44162 (__rintf, __floor, __floorf): Likewise.
44163
44164 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
44165 macro to inline function.
44166 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
44167
44168 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
44169 not <math/math_private.h>.
44170
44171 2012-03-08 David S. Miller <davem@davemloft.net>
44172
44173 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
44174 copyright year.
44175 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
44176
44177 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
44178
44179 * resolv/gai_misc.c (handle_requests): Fix struct timespec
44180 normalization.
44181 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
44182 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
44183
44184 2012-03-08 Ulrich Drepper <drepper@gmail.com>
44185
44186 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
44187 be defined individually, they must be defined as a block. Define
44188 S for printing a string instead of hidint the different by using a
44189 macro for adding the 'l'.
44190 * stdio-common/tst-fphex-wide.c: Adjust.
44191
44192 2012-03-07 Marek Polacek <polacek@redhat.com>
44193
44194 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
44195
44196 2012-03-08 Marek Polacek <polacek@redhat.com>
44197
44198 [BZ #13806]
44199 * stdio-common/Makefile (tests): Add tst-fphex-wide.
44200 * stdio-common/tst-fphex.c: Define a few macros to make the
44201 test reusable. Use them.
44202 * stdio-common/tst-fphex-wide.c: New file.
44203
44204 2012-03-08 Joseph Myers <joseph@codesourcery.com>
44205
44206 [BZ #6911]
44207 * manual/macros.texi (gnusystems): New macro.
44208 (nongnusystems): Likewise.
44209 (gnulinuxhurdsystems): Likewise.
44210 (gnuhurdsystems): Likewise..
44211 (gnulinuxsystems): Likewise.
44212 * manual/charset.texi: Use new macros or @theglibc{} to refer to
44213 variants of the GNU system, not "GNU system".
44214 * manual/conf.texi: Likewise.
44215 * manual/errno.texi: Likewise. Update example of errno macro
44216 expansion.
44217 * manual/filesys.texi: Likewise.
44218 (getumask): Document as specific to GNU/Hurd.
44219 * manual/install.texi: Likewise. Reword some references to
44220 GNU/Linux.
44221 * manual/intro.texi: Likewise.
44222 * manual/io.texi: Likewise.
44223 (File Name Portability): Detail which constraints are inapplicable
44224 to all GNU systems and which are only inapplicable to GNU/Hurd.
44225 * manual/job.texi: Likewise.
44226 * manual/llio.texi: Likewise.
44227 (O_NOCTTY): Document as present on GNU/Linux.
44228 * manual/maint.texi: Likewise.
44229 * manual/memory.texi: Likewise.
44230 * manual/pattern.texi: Likewise.
44231 * manual/pipe.texi: Likewise.
44232 * manual/process.texi: Likewise.
44233 * manual/resource.texi: Likewise.
44234 (RUSAGE_CHILDREN): Remove statement about specifying a particular
44235 child on GNU/Hurd.
44236 * manual/setjmp.texi: Likewise.
44237 * manual/signal.texi: Likewise.
44238 * manual/startup.texi: Likewise.
44239 * manual/stdio.texi: Likewise.
44240 * manual/terminal.texi: Likewise.
44241 (ONLCR): Document as POSIX.
44242 (OXTABS): Document availability on GNU/Linux as XTABS.
44243 (ONOEOT): Document availability separately from other bits.
44244 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
44245 * manual/time.texi: Likewise.
44246 * manual/users.texi: Likewise.
44247 * INSTALL: Regenerated.
44248 * sysdeps/gnu/errlist.c: Regenerated.
44249
44250 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
44251 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
44252 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
44253 puts.
44254 * configure: Regenerated.
44255
44256 2012-03-07 Joseph Myers <joseph@codesourcery.com>
44257
44258 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
44259 default includes instead of AC_HEADER_CHECK.
44260 * sysdeps/i386/configure: Regenerated.
44261
44262 [BZ #10716]
44263 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
44264 * math/s_cacoshf.c (__cacoshf): Likewise.
44265 * math/s_cacoshl.c (__cacoshl): Likewise.
44266 * math/s_casinh.c (__casinh): Set signs of result from argument.
44267 * math/s_casinhf.c (__casinhf): Likewise.
44268 * math/s_casinhl.c (__casinhl): Likewise.
44269 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
44270 (casinh_test): Add more tests.
44271 * sysdeps/i386/fpu/libm-test-ulps: Update.
44272 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44273
44274 2012-03-07 Ulrich Drepper <drepper@gmail.com>
44275
44276 * po/zh_TW.po: Update from translation team.
44277
44278 * login/Makefile (distribute): Remove variable.
44279 * catgets/Makefile: Likewise.
44280 * mach/Makefile: Likewise.
44281 * malloc/Makefile: Likewise.
44282 * misc/Makefile: Likewise.
44283 * iconv/Makefile: Likewise.
44284 * nscd/Makefile: Likewise.
44285 * hurd/Makefile: Likewise.
44286 * manual/Makefile: Likewise.
44287 * locale/Makefile: Likewise.
44288 * intl/Makefile: Likewise.
44289 * conform/Makefile: Likewise.
44290 * nss/Makefile: Likewise.
44291 * time/Makefile: Likewise.
44292 * soft-fp/Makefile: Likewise.
44293 * dirent/Makefile: Likewise.
44294 * gmon/Makefile: Likewise.
44295 * po/Makefile: Likewise.
44296 * rt/Makefile: Likewise.
44297 * socket/Makefile: Likewise.
44298 * math/Makefile: Likewise.
44299 * signal/Makefile: Likewise.
44300 * debug/Makefile: Likewise.
44301 * elf/Makefile: Likewise.
44302 * timezone/Makefile: Likewise.
44303 * stdlib/Makefile: Likewise.
44304 * iconvdata/Makefile: Likewise.
44305 * sunrpc/Makefile: Likewise.
44306 * io/Makefile: Likewise.
44307 * argp/Makefile: Likewise.
44308 * inet/Makefile: Likewise.
44309 * hesiod/Makefile: Likewise.
44310 * grp/Makefile: Likewise.
44311 * csu/Makefile: Likewise.
44312 * wctype/Makefile: Likewise.
44313 * crypt/Makefile: Likewise.
44314 * libio/Makefile: Likewise.
44315 * string/Makefile: Likewise.
44316 * nis/Makefile: Likewise.
44317 * resolv/Makefile: Likewise.
44318 * stdio-common/Makefile: Likewise.
44319 * wcsmbs/Makefile: Likewise.
44320 * dlfcn/Makefile: Likewise.
44321 * posix/Makefile: Likewise.
44322
44323 [BZ #6959]
44324 * timezone/Makefile: Don't install timezone files, just the programs
44325 and scripts.
44326
44327 2012-03-06 Ulrich Drepper <drepper@gmail.com>
44328
44329 * nss/databases.def: Add missing gshadow entry.
44330
44331 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
44332
44333 2012-03-06 Marek Polacek <polacek@redhat.com>
44334
44335 [BZ #13726]
44336 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
44337 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
44338 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
44339 * stdio-common/tst-long-dbl-fphex.c: New file.
44340
44341 2012-03-06 David S. Miller <davem@davemloft.net>
44342
44343 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
44344 (set_obp_int): New function.
44345 (get_obp_int): New function.
44346 (__get_clockfreq_via_dev_openprom): Likewise.
44347 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
44348 Avoid unused variable warnings on 'val' and use builtin_expect.
44349 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
44350 __builtin_expect.
44351 (INLINE_CLONE_SYSCALL): Likewise.
44352
44353 2012-03-05 David S. Miller <davem@davemloft.net>
44354
44355 * sysdeps/sparc/fpu/libm-test-ulps: Update.
44356
44357 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
44358
44359 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44360
44361 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
44362 only for |x| >= 40.
44363 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
44364
44365 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
44366
44367 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
44368 Replace gettimeofday with __vdso_gettimeofday.
44369
44370 * sysdeps/unix/sysv/linux/x86_64/init-first.c
44371 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
44372 __vdso_clock_gettime and __vdso_getcpu.
44373
44374 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
44375 time with __vdso_time.
44376
44377 2012-03-05 Joseph Myers <joseph@codesourcery.com>
44378
44379 * manual/lang.texi (size_t): Note types to which size_t may be
44380 equivalent with the GNU C Library, but do not describe when
44381 differences between them are significant.
44382
44383 2012-03-05 Andreas Jaeger <aj@suse.de>
44384
44385 * sysdeps/i386/fpu/libm-test-ulps: Update.
44386
44387 2012-03-05 Joseph Myers <joseph@codesourcery.com>
44388
44389 [BZ #3976]
44390 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
44391 (__ieee754_pow): Save and restore rounding mode and use
44392 round-to-nearest for main computations.
44393 * math/libm-test.inc (pow_test_tonearest): New function.
44394 (pow_test_towardzero): Likewise.
44395 (pow_test_downward): Likewise.
44396 (pow_test_upward): Likewise.
44397 (main): Call the new functions.
44398 * sysdeps/i386/fpu/libm-test-ulps: Update.
44399 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44400
44401 [BZ #3976]
44402 * math/libm-test.inc (cosh_test_tonearest): New function.
44403 (cosh_test_towardzero): Likewise.
44404 (cosh_test_downward): Likewise.
44405 (cosh_test_upward): Likewise.
44406 (sinh_test_tonearest): Likewise.
44407 (sinh_test_towardzero): Likewise.
44408 (sinh_test_downward): Likewise.
44409 (sinh_test_upward): Likewise.
44410 (main): Call the new functions.
44411 * sysdeps/i386/fpu/libm-test-ulps: Update.
44412 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44413
44414 2012-03-05 Tom de Vries <tom@codesourcery.com>
44415
44416 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
44417 default stack guard is set in last bytes.
44418 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
44419
44420 2012-03-05 Kees Cook <keescook@chromium.org>
44421
44422 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
44423
44424 [BZ #13656]
44425 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
44426 possibly allocate from heap instead of stack.
44427 * stdio-common/bug-vfprintf-nargs.c: New file.
44428 * stdio-common/Makefile (tests): Add nargs overflow test.
44429
44430 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
44431
44432 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44433
44434 2012-03-03 Marek Polacek <polacek@redhat.com>
44435
44436 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
44437 * math/math_private.h: Likewise.
44438 * stdlib/tst-strtod.c: Likewise.
44439 * sysdeps/i386/i486/bits/atomic.h: Likewise.
44440 * sysdeps/x86_64/bits/atomic.h: Likewise.
44441
44442 2012-03-02 David S. Miller <davem@davemloft.net>
44443
44444 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
44445 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
44446 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
44447 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
44448 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
44449 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
44450 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
44451 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
44452
44453 2012-03-02 Roland McGrath <roland@hack.frob.com>
44454
44455 [BZ #13792]
44456 * manual/examples/README: New file, says the example source files
44457 can be used under GPL>=2.
44458 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
44459 line containing just "*/".
44460 * manual/examples/add.c: Add copyright header (GPL>=2).
44461 * manual/examples/argp-ex1.c: Likewise.
44462 * manual/examples/argp-ex2.c: Likewise.
44463 * manual/examples/argp-ex3.c: Likewise.
44464 * manual/examples/argp-ex4.c: Likewise.
44465 * manual/examples/atexit.c: Likewise.
44466 * manual/examples/db.c: Likewise.
44467 * manual/examples/dir.c: Likewise.
44468 * manual/examples/dir2.c: Likewise.
44469 * manual/examples/execinfo.c: Likewise.
44470 * manual/examples/filecli.c: Likewise.
44471 * manual/examples/filesrv.c: Likewise.
44472 * manual/examples/fmtmsgexpl.c: Likewise.
44473 * manual/examples/genpass.c: Likewise.
44474 * manual/examples/inetcli.c: Likewise.
44475 * manual/examples/inetsrv.c: Likewise.
44476 * manual/examples/isockad.c: Likewise.
44477 * manual/examples/longopt.c: Likewise.
44478 * manual/examples/memopen.c: Likewise.
44479 * manual/examples/memstrm.c: Likewise.
44480 * manual/examples/mkfsock.c: Likewise.
44481 * manual/examples/mkisock.c: Likewise.
44482 * manual/examples/mygetpass.c: Likewise.
44483 * manual/examples/pipe.c: Likewise.
44484 * manual/examples/popen.c: Likewise.
44485 * manual/examples/rprintf.c: Likewise.
44486 * manual/examples/search.c: Likewise.
44487 * manual/examples/select.c: Likewise.
44488 * manual/examples/setjmp.c: Likewise.
44489 * manual/examples/sigh1.c: Likewise.
44490 * manual/examples/sigusr.c: Likewise.
44491 * manual/examples/stpcpy.c: Likewise.
44492 * manual/examples/strdupa.c: Likewise.
44493 * manual/examples/strftim.c: Likewise.
44494 * manual/examples/strncat.c: Likewise.
44495 * manual/examples/subopt.c: Likewise.
44496 * manual/examples/swapcontext.c: Likewise.
44497 * manual/examples/termios.c: Likewise.
44498 * manual/examples/testopt.c: Likewise.
44499 * manual/examples/testpass.c: Likewise.
44500 * manual/examples/timeval_subtract.c: Likewise.
44501
44502 [BZ #13792]
44503 * manual/time.texi (Elapsed Time): Move timeval_subtract example
44504 function to ...
44505 * manual/timeval_subtract.c.texi: ... here, new file.
44506
44507 2012-03-02 David S. Miller <davem@davemloft.net>
44508
44509 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
44510
44511 2012-03-02 Joseph Myers <joseph@codesourcery.com>
44512
44513 [BZ #3976]
44514 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
44515 (__sin): Save and restore rounding mode and use round-to-nearest
44516 for all computations.
44517 (__cos): Save and restore rounding mode and use round-to-nearest
44518 for all computations.
44519 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
44520 <fenv.h>.
44521 (tan): Save and restore rounding mode and use round-to-nearest for
44522 all computations.
44523 * math/libm-test.inc (cos_test_tonearest): New function.
44524 (cos_test_towardzero): Likewise.
44525 (cos_test_downward): Likewise.
44526 (cos_test_upward): Likewise.
44527 (sin_test_tonearest): Likewise.
44528 (sin_test_towardzero): Likewise.
44529 (sin_test_downward): Likewise.
44530 (sin_test_upward): Likewise.
44531 (tan_test_tonearest): Likewise.
44532 (tan_test_towardzero): Likewise.
44533 (tan_test_downward): Likewise.
44534 (tan_test_upward): Likewise.
44535 (main): Call the new functions.
44536 * sysdeps/i386/fpu/libm-test-ulps: Update.
44537 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44538
44539 [BZ #10135]
44540 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
44541 small n, then large n, before computing and testing k+n.
44542 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
44543 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
44544 Likewise.
44545 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
44546 Likewise.
44547 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
44548 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
44549 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
44550 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
44551 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
44552 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
44553 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
44554 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
44555 * math/libm-test.inc (scalbn_test): Add more tests.
44556 (scalbln_test): Likewise.
44557
44558 * manual/filesys.texi (mode_t): Describe constraints on size and
44559 signedness, not exact equivalence to a particular type.
44560 (ino_t): Likewise.
44561 (ino64_t): Likewise.
44562 (dev_t): Likewise.
44563 (nlink_t): Likewise.
44564 (blkcnt_t): Likewise.
44565 (blkcnt64_t): Likewise.
44566 * manual/llio.texi (off_t): Likewise.
44567
44568 [BZ #3976]
44569 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
44570 (__ieee754_exp): Save and restore rounding mode and use
44571 round-to-nearest for all computations.
44572 * math/libm-test.inc (exp_test_tonearest): New function.
44573 (exp_test_towardzero): Likewise.
44574 (exp_test_downward): Likewise.
44575 (exp_test_upward): Likewise.
44576 (main): Call the new functions.
44577 * sysdeps/i386/fpu/libm-test-ulps: Update.
44578 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44579
44580 2012-03-01 Chris Demetriou <cgd@google.com>
44581
44582 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
44583 have predictable order.
44584
44585 2012-03-01 David S. Miller <davem@davemloft.net>
44586
44587 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
44588
44589 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
44590 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
44591 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
44592 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
44593
44594 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
44595 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
44596 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
44597 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
44598 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
44599 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
44600 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
44601 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
44602 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
44603
44604 * sysdeps/sparc/fpu/libm-test-ulps: Update.
44605
44606 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
44607 * sysdeps/sparc/fpu/libm-test-ulps: to here.
44608 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
44609
44610 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
44611 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
44612 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
44613 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
44614 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
44615 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
44616 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
44617 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
44618 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
44619 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
44620 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
44621 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
44622 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
44623 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
44624 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
44625 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
44626 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
44627 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
44628 * sysdeps/sparc/elf/configure: Regenerated.
44629
44630 2012-03-01 Joseph Myers <joseph@codesourcery.com>
44631
44632 * configure.in (AS, LD): Require binutils 2.20 or later.
44633 * configure: Regenerated.
44634 * manual/install.texi (Tools for Compilation): Give binutils 2.20
44635 as required minimum version.
44636 * INSTALL: Regenerated.
44637
44638 [BZ #2541]
44639 [BZ #4108]
44640 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
44641 before squaring exponent.
44642 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
44643 bottom long double and 27 bits of top long double before squaring
44644 exponent.
44645 * math/libm-test.inc (erfc_test): Add more tests.
44646 * sysdeps/i386/fpu/libm-test-ulps: Update.
44647 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
44648 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44649
44650 2012-03-01 Kai Tietz <ktietz@redhat.com>
44651
44652 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
44653 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
44654 containing bit-fields.
44655 * soft-fp/extended.h (_FP_UNION_E): Likewise.
44656 * soft-fp/single.h (_FP_UNION_S): Likewise.
44657 * soft-fp/double.h (_FP_UNION_D): Likewise.
44658
44659 2012-02-29 Joseph Myers <joseph@codesourcery.com>
44660
44661 [BZ #13786]
44662 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
44663 not include ../strcmp.S.
44664 [USE_AS_STRNCASECMP_L]: Likewise.
44665 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
44666 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
44667 * sysdeps/i386/i686/multiarch/strncase_l-c.c
44668 (__strncasecmp_l_ia32): Define as alias to
44669 __strncasecmp_l_nonascii.
44670
44671 [BZ #5794]
44672 * math/libm-test.inc (expm1_test): Add test for bug 5794.
44673 * sysdeps/i386/fpu/libm-test-ulps: Update.
44674 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44675
44676 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
44677 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44678
44679 2012-02-29 Jeff Law <law@redhat.com>
44680
44681 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
44682 out of bounds read.
44683
44684 2012-02-29 Marek Polacek <polacek@redhat.com>
44685
44686 [BZ #13706]
44687 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
44688 * elf/Makefile: Add rules to run tst-unused-dep.out.
44689
44690 2012-02-28 David S. Miller <davem@davemloft.net>
44691
44692 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
44693 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
44694 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
44695 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
44696 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
44697 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
44698
44699 2012-02-29 Joseph Myers <joseph@codesourcery.com>
44700
44701 * math/libm-test.inc (llround_test): Move one test from
44702 lround_test. Use TEST_f_L in moved test.
44703 (lround_test): Move misplaced test to llround_test. Add testcase
44704 from bug 2561.
44705
44706 2012-02-28 Ulrich Drepper <drepper@gmail.com>
44707
44708 * sysdeps/x86_64/fpu/e_expf.S: New file.
44709 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
44710
44711 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
44712
44713 [BZ #13637]
44714 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
44715 of remain_len that may cause incomplete multi-byte character and
44716 false match.
44717 * posix/bug-regex33.c: New file.
44718 * posix/Makefile (tests): Add bug-regex33.
44719
44720 2012-02-28 Joseph Myers <joseph@codesourcery.com>
44721
44722 * manual/macros.texi: New file.
44723 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
44724 * manual/libc.texinfo: Include macros.texi.
44725 * manual/creatute.texi: Likewise.
44726 * manual/install.texi: Likewise.
44727 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
44728 @glibcadj{} in references to the GNU C Library.
44729 * manual/charset.texi: Likewise.
44730 * manual/conf.texi: Likewise.
44731 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
44732 when not using those macros.
44733 * manual/creature.texi: Likewise.
44734 * manual/crypt.texi: Likewise.
44735 * manual/errno.texi: Likewise.
44736 * manual/filesys.texi: Likewise.
44737 * manual/header.texi: Likewise.
44738 * manual/install.texi: Likewise.
44739 * manual/intro.texi: Likewise.
44740 * manual/io.texi: Likewise.
44741 * manual/job.texi: Likewise.
44742 * manual/lang.texi: Likewise.
44743 * manual/libc.texiinfo: Likewise.
44744 * manual/llio.texi: Likewise.
44745 * manual/locale.texi: Likewise.
44746 * manual/maint.texi: Likewise.
44747 * manual/math.texi: Likewise.
44748 * manual/memory.texi: Likewise.
44749 * manual/message.texi: Likewise.
44750 * manual/nss.texi: Likewise.
44751 * manual/pattern.texi: Likewise.
44752 * manual/process.texi: Likewise.
44753 * manual/resource.texi: Likewise.
44754 * manual/search.texi: Likewise.
44755 * manual/setjmp.texi: Likewise.
44756 * manual/signal.texi: Likewise.
44757 * manual/socket.texi: Likewise.
44758 * manual/startup.texi: Likewise.
44759 * manual/stdio.texi: Likewise.
44760 * manual/string.texi: Likewise.
44761 * manual/sysinfo.texi: Likewise.
44762 * manual/syslog.texi: Likewise.
44763 * manual/terminal.texi: Likewise.
44764 * manual/time.texi: Likewise.
44765 * manual/users.texi: Likewise.
44766 * INSTALL: Regenerated.
44767 * NOTES: Regenerated.
44768 * sysdeps/gnu/errlist.c: Regenerated.
44769
44770 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
44771
44772 * include/dirent.h: Include <dirstream.h> before
44773 <dirent/dirent.h>.
44774
44775 2012-02-28 David S. Miller <davem@davemloft.net>
44776
44777 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
44778 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
44779 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
44780 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
44781
44782 2012-02-27 David S. Miller <davem@davemloft.net>
44783
44784 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
44785 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
44786 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
44787 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
44788
44789 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
44790 frame pointer instead of stack pointer relative arg slot.
44791 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
44792 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
44793 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
44794
44795 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
44796
44797 [BZ #3992]
44798 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
44799
44800 2012-02-27 David S. Miller <davem@davemloft.net>
44801
44802 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
44803 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
44804 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
44805 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
44806 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
44807 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
44808 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
44809 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
44810
44811 2012-02-27 Joseph Myers <joseph@codesourcery.com>
44812
44813 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
44814 later. Allow versions 5-9.
44815 * configure: Regenerated.
44816 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
44817 required minimum version and 4.6 as recommended version. Do not
44818 mention bugs in GCC 2.7 and 2.8.
44819 * INSTALL: Regenerated.
44820
44821 2012-02-27 David S. Miller <davem@davemloft.net>
44822
44823 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
44824 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
44825 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
44826 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
44827 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
44828 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
44829 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
44830 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
44831
44832 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
44833 manipulate bits before adding and subtracting TWO112[sx].
44834 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
44835
44836 2012-02-27 Roland McGrath <roland@hack.frob.com>
44837
44838 [BZ #13775]
44839 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
44840 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
44841 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
44842 being in POSIX, because they are in 1003.1-2008.
44843
44844 * rt/tst-aio.c: Include <fcntl.h>.
44845 * rt/tst-aio7.c: Likewise.
44846 * rt/tst-aio64.c: Likewise.
44847
44848 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
44849
44850 2012-02-27 Joseph Myers <joseph@codesourcery.com>
44851
44852 * manual/install.texi (--with-headers): Describe headers as
44853 interface headers, not private headers.
44854 (Specific advice for GNU/Linux systems): Describe use of headers
44855 from "make headers_install", not private headers from older
44856 kernels.
44857 * INSTALL: Regenerated.
44858 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
44859 Change to 2.6.19.
44860 * sysdeps/unix/sysv/linux/configure: Regenerated.
44861
44862 * manual/llio.texi (fclean): Remove documentation.
44863
44864 * manual/Makefile (libc-texi-generated): New variable. Include
44865 version.texi.
44866 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
44867 $(libc-texi-generated), not duplicated list of files.
44868 (version.texi, stamp-version): New rules.
44869 (realclean): Remove $(libc-texi-generated), not individual files
44870 from that list. Do not remove dir-add.texinfo.
44871 * manual/libc.texinfo: Comment out uses of edition numbers and
44872 references to printed manual. Remove last-updated dates.
44873 (EDITION): Comment out.
44874 (ISBN): Likewise.
44875 (VERSION, UPDATED): Remove.
44876 (version.texi): Include.
44877
44878 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
44879
44880 * sysdeps/posix/spawni.c: Include <signal.h>.
44881 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
44882 * sysdeps/pthread/aio_fsync.c: Likewise.
44883
44884 2012-02-26 Ulrich Drepper <drepper@gmail.com>
44885
44886 * conform/Makefile (tests): Run only when not cross-compiling and
44887 when fast-check is not defined.
44888
44889 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
44890 * conform/data/limits.h-data: Fixes for POSIX2008.
44891 * conform/run-conformtest.sh: Run all tests.
44892 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
44893 headers.
44894 * include/bits/dlfcn.h: Likewise.
44895 * include/langinfo.h: Likewise.
44896 * include/monetary.h: Likewise.
44897 * include/sys/poll.h: Likewise.
44898
44899 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
44900 for __USE_GNU.
44901 * posix/spawn.h: Define __need_sigset_t.
44902 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
44903 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
44904 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
44905 to get sigevent_t only.
44906 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
44907 only for __USE_GNU.
44908 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
44909 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
44910 process_vm_writev only for __USE_GNU.
44911 * termios/termios.h: Declare tcgetsid also for POSIX2008.
44912
44913 * conform/Makefile: For now ignore errors from run-conformtest.
44914 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
44915 POSIX to avoid namespace pollution. Don't prepend headers.
44916 * conform/data/aio.h-data: Fixes for POSIX testing.
44917 * conform/data/fcntl.h-data: Likewise.
44918 * conform/data/glob.h-data: Likewise.
44919 * conform/data/grp.h-data: Likewise.
44920 * conform/data/pthread.h-data: Likewise.
44921 * conform/data/pwd.h-data: Likewise.
44922 * conform/data/signal.h-data: Likewise.
44923 * conform/data/spawn.h-data: Likewise.
44924 * conform/data/stdio.h-data: Likewise.
44925 * conform/data/stdlib.h-data: Likewise.
44926 * conform/data/stropts.h-data: Likewise.
44927 * conform/data/sys/mman.h-data: Likewise.
44928 * conform/data/sys/stat.h-data: Likewise.
44929 * conform/data/sys/types.h-data: Likewise.
44930 * conform/data/sys/wait.h-data: Likewise.
44931 * conform/data/time.h-data: Likewise.
44932 * conform/data/unistd.h-data: Likewise.
44933 * conform/data/utime.h-data: Likewise.
44934
44935 * io/sys/stat.h: fchmod was always in POSIX.
44936 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
44937 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
44938 * rt/aio.h: Define __need_timespec before including <time.h>.
44939 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
44940 struct. Add forward declaration of pthread_attr_t and use it in
44941 sigevent.
44942 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
44943 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
44944 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
44945 always remove CLK_TCK definition.
44946
44947 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
44948
44949 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
44950
44951 2012-02-25 Ulrich Drepper <drepper@gmail.com>
44952
44953 * conform/run-conformtest.sh: New file.
44954 * conform/Makefile: Run run-conformtest for tests.
44955 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
44956 support.
44957
44958 * conform/data/uchar.h-data: New file.
44959 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
44960 * conform/data/arpa/inet.h-data: Likewise.
44961 * conform/data/assert.h-data: Likewise.
44962 * conform/data/complex.h-data: Likewise.
44963 * conform/data/cpio.h-data: Likewise.
44964 * conform/data/ctype.h-data: Likewise.
44965 * conform/data/dirent.h-data: Likewise.
44966 * conform/data/dlfcn.h-data: Likewise.
44967 * conform/data/errno.h-data: Likewise.
44968 * conform/data/fcntl.h-data: Likewise.
44969 * conform/data/float.h-data: Likewise.
44970 * conform/data/fmtmsg.h-data: Likewise.
44971 * conform/data/fnmatch.h-data: Likewise.
44972 * conform/data/ftw.h-data: Likewise.
44973 * conform/data/glob.h-data: Likewise.
44974 * conform/data/grp.h-data: Likewise.
44975 * conform/data/iconv.h-data: Likewise.
44976 * conform/data/inttypes.h-data: Likewise.
44977 * conform/data/langinfo.h-data: Likewise.
44978 * conform/data/libgen.h-data: Likewise.
44979 * conform/data/limits.h-data: Likewise.
44980 * conform/data/locale.h-data: Likewise.
44981 * conform/data/math.h-data: Likewise.
44982 * conform/data/monetary.h-data: Likewise.
44983 * conform/data/mqueue.h-data: Likewise.
44984 * conform/data/ndbm.h-data: Likewise.
44985 * conform/data/net/if.h-data: Likewise.
44986 * conform/data/netdb.h-data: Likewise.
44987 * conform/data/netinet/in.h-data: Likewise.
44988 * conform/data/nl_types.h-data: Likewise.
44989 * conform/data/poll.h-data: Likewise.
44990 * conform/data/pthread.h-data: Likewise.
44991 * conform/data/pwd.h-data: Likewise.
44992 * conform/data/regex.h-data: Likewise.
44993 * conform/data/sched.h-data: Likewise.
44994 * conform/data/search.h-data: Likewise.
44995 * conform/data/semaphore.h-data: Likewise.
44996 * conform/data/setjmp.h-data: Likewise.
44997 * conform/data/signal.h-data: Likewise.
44998 * conform/data/spawn.h-data: Likewise.
44999 * conform/data/stdarg.h-data: Likewise.
45000 * conform/data/stdio.h-data: Likewise.
45001 * conform/data/stdlib.h-data: Likewise.
45002 * conform/data/string.h-data: Likewise.
45003 * conform/data/strings.h-data: Likewise.
45004 * conform/data/stropts.h-data: Likewise.
45005 * conform/data/sys/ipc.h-data: Likewise.
45006 * conform/data/sys/mman.h-data: Likewise.
45007 * conform/data/sys/msg.h-data: Likewise.
45008 * conform/data/sys/resource.h-data: Likewise.
45009 * conform/data/sys/select.h-data: Likewise.
45010 * conform/data/sys/sem.h-data: Likewise.
45011 * conform/data/sys/shm.h-data: Likewise.
45012 * conform/data/sys/socket.h-data: Likewise.
45013 * conform/data/sys/stat.h-data: Likewise.
45014 * conform/data/sys/statvfs.h-data: Likewise.
45015 * conform/data/sys/time.h-data: Likewise.
45016 * conform/data/sys/timeb.h-data: Likewise.
45017 * conform/data/sys/times.h-data: Likewise.
45018 * conform/data/sys/types.h-data: Likewise.
45019 * conform/data/sys/uio.h-data: Likewise.
45020 * conform/data/sys/un.h-data: Likewise.
45021 * conform/data/sys/utsname.h-data: Likewise.
45022 * conform/data/sys/wait.h-data: Likewise.
45023 * conform/data/syslog.h-data: Likewise.
45024 * conform/data/tar.h-data: Likewise.
45025 * conform/data/termios.h-data: Likewise.
45026 * conform/data/utime.h-data: Likewise.
45027 * conform/data/utmpx.h-data: Likewise.
45028 * conform/data/varargs.h-data: Likewise.
45029 * conform/data/wchar.h-data: Likewise.
45030 * conform/data/wctype.h-data: Likewise.
45031 * conform/data/wordexp.h-data: Likewise.
45032
45033 * include/stropts.h: New file.
45034 * include/uchar.h: New file.
45035 * include/aio.h: Changes to allow conformtest.pl to use the headers.
45036 * include/assert.h: Likewise.
45037 * include/ctype.h: Likewise.
45038 * include/dirent.h: Likewise.
45039 * include/dlfcn.h: Likewise.
45040 * include/fcntl.h: Likewise.
45041 * include/fnmatch.h: Likewise.
45042 * include/glob.h: Likewise.
45043 * include/grp.h: Likewise.
45044 * include/libio.h: Likewise.
45045 * include/locale.h: Likewise.
45046 * include/math.h: Likewise.
45047 * include/net/if.h: Likewise.
45048 * include/netdb.h: Likewise.
45049 * include/netinet/in.h: Likewise.
45050 * include/pthread.h: Likewise.
45051 * include/pwd.h: Likewise.
45052 * include/regex.h: Likewise.
45053 * include/sched.h: Likewise.
45054 * include/search.h: Likewise.
45055 * include/setjmp.h: Likewise.
45056 * include/signal.h: Likewise.
45057 * include/stdio.h: Likewise.
45058 * include/stdlib.h: Likewise.
45059 * include/string.h: Likewise.
45060 * include/sys/cdefs.h: Likewise.
45061 * include/sys/mman.h: Likewise.
45062 * include/sys/msg.h: Likewise.
45063 * include/sys/resource.h: Likewise.
45064 * include/sys/select.h: Likewise.
45065 * include/sys/socket.h: Likewise.
45066 * include/sys/stat.h: Likewise.
45067 * include/sys/statvfs.h: Likewise.
45068 * include/sys/time.h: Likewise.
45069 * include/sys/times.h: Likewise.
45070 * include/sys/uio.h: Likewise.
45071 * include/sys/utsname.h: Likewise.
45072 * include/sys/wait.h: Likewise.
45073 * include/termios.h: Likewise.
45074 * include/time.h: Likewise.
45075 * include/ulimit.h: Likewise.
45076 * include/unistd.h: Likewise.
45077 * include/utime.h: Likewise.
45078 * include/wchar.h: Likewise.
45079 * include/wctype.h: Likewise.
45080 * include/wordexp.h: Likewise.
45081
45082 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
45083
45084 * time/time.h: TIME_UTC must be a macro.
45085 Make timespec_get available for ISO C11 only as well.
45086
45087 2012-02-24 Ulrich Drepper <drepper@gmail.com>
45088
45089 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
45090 Reported by Peng Haitao <penght@cn.fujitsu.com>.
45091
45092 2012-02-24 Joseph Myers <joseph@codesourcery.com>
45093
45094 * configure.in: Use -o not -a in test for unsupported multi-arch.
45095
45096 2012-02-24 Joseph Myers <joseph@codesourcery.com>
45097
45098 * manual/texinfo.tex: Update to version 2012-01-19.16.
45099
45100 2012-02-24 Joseph Myers <joseph@codesourcery.com>
45101
45102 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
45103
45104 2012-02-24 Roland McGrath <roland@hack.frob.com>
45105
45106 [BZ #13738]
45107 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
45108 * manual/fdl-1.3.texi: New file.
45109 * manual/fdl-1.1.texi: File removed.
45110
45111 [BZ #13738]
45112 * manual/libc.texinfo (FDL_VERSION): New @set.
45113 Use it for mention of FDL in cover text.
45114 (Documentation License): Use it in @include file name.
45115
45116 2012-02-22 Joseph Myers <joseph@codesourcery.com>
45117 Roland McGrath <roland@hack.frob.com>
45118
45119 [BZ #5461]
45120 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
45121 (not LONG_LONG_MAX and LONG_LONG_MIN.
45122 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
45123 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
45124 name.
45125 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
45126
45127 2012-02-22 Joseph Myers <joseph@codesourcery.com>
45128
45129 [BZ #2547]
45130 [BZ #11365]
45131 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
45132 manipulate bits before adding and subtracting TWO23[sx].
45133 * math/libm-test.inc (nearbyint_test): Add more tests.
45134
45135 2012-02-22 Joseph Myers <joseph@codesourcery.com>
45136
45137 [BZ #2548]
45138 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
45139 bits before adding and subtracting TWO23[sx].
45140 * math/libm-test.inc (rint_test): Add more tests.
45141 (rint_test_tonearest): Likewise.
45142 (rint_test_towardzero): Likewise.
45143 (rint_test_downward): Likewise.
45144 (rint_test_upward: Likewise.
45145
45146 2012-02-22 Joseph Myers <joseph@codesourcery.com>
45147
45148 [BZ #10110]
45149 * include/stdc-predef.h: New file. Extracted from features.h.
45150 * include/features.h: Include stdc-predef.h.
45151 * Makefile (headers): Add stdc-predef.h.
45152 * CONFORMANCE (Compiler limitations): Update.
45153
45154 2012-02-22 Joseph Myers <joseph@codesourcery.com>
45155
45156 * manual/libc.texinfo (VERSION, UPDATED): Revert.
45157
45158 2012-02-21 David S. Miller <davem@davemloft.net>
45159
45160 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
45161 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
45162
45163 2012-02-20 David S. Miller <davem@davemloft.net>
45164
45165 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
45166 using a normal save/restore sequence, rather than allocating a
45167 dummy stack frame just to store a frame pointer and restore.
45168 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
45169
45170 2012-02-21 Joseph Myers <joseph@codesourcery.com>
45171
45172 * manual/install.texi: Fix stray word in line-wrapped comment.
45173
45174 2012-02-20 David S. Miller <davem@davemloft.net>
45175
45176 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
45177 both binutils and gcc support GOTDATA.
45178
45179 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
45180 "rd %pc" in the PIC register setup sequences.
45181
45182 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
45183 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
45184 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
45185 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
45186 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
45187 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
45188 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
45189 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
45190 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
45191 (SYSCALL_ERROR_HANDLER): Likewise.
45192 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
45193 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
45194 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
45195 (SYSCALL_ERROR_HANDLER): Likewise.
45196
45197 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
45198 (HAVE_GCC_GOTDATA): New.
45199 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
45200 relocation support in both binutils and gcc.
45201 * sysdeps/sparc/elf/configure: Regenerate.
45202
45203 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
45204 * sysdeps/sparc/sparc32/elf/configure: Delete.
45205 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
45206 * sysdeps/sparc/sparc64/elf/configure: Delete.
45207 * sysdeps/sparc/elf/configure.in: New file.
45208 * sysdeps/sparc/elf/configure: Generate.
45209
45210 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
45211 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
45212 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
45213 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
45214 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
45215
45216 2012-02-21 Joseph Myers <joseph@codesourcery.com>
45217
45218 * manual/install.texi: Do not mention specific glibc version
45219 numbers.
45220 * manual/libc.texinfo (VERSION, UPDATED): Update.
45221 (@copying): Use @copyright{} and range of years.
45222
45223 2012-02-21 Joseph Myers <joseph@codesourcery.com>
45224
45225 [BZ #13695]
45226 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
45227 [crti.S not in sysdirs] (generated): Do not append.
45228 [crti.S not in sysdirs] (omit-deps): Likewise.
45229 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
45230 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
45231 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
45232 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
45233 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
45234 Likewise.
45235 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
45236 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
45237 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
45238 * csu/defs.awk: Remove file.
45239 * sysdeps/generic/initfini.c: Likewise.
45240 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
45241 variable.
45242 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
45243 Likewise.
45244
45245 2012-02-20 Joseph Myers <joseph@codesourcery.com>
45246
45247 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
45248 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
45249 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
45250 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
45251 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
45252 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
45253 <bits/epoll.h>.
45254 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
45255 (__EPOLL_PACKED): Define to empty if not defined by
45256 <bits/epoll.h>.
45257 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
45258 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
45259 bits/epoll.h.
45260
45261 2012-02-20 Joseph Myers <joseph@codesourcery.com>
45262
45263 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
45264 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
45265 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
45266 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
45267 <bits/timerfd.h>.
45268 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
45269 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
45270 bits/timerfd.h.
45271
45272 2012-02-20 Joseph Myers <joseph@codesourcery.com>
45273
45274 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
45275 in C locale.
45276 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
45277 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
45278 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
45279 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45280
45281 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
45282
45283 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
45284 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
45285
45286 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
45287
45288 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
45289 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
45290 defined.
45291 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
45292 Likewise.
45293 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
45294 entry for 2.16.
45295
45296 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
45297
45298 * math/w_acos.c: Use non-signaling floating-point comparisons.
45299 * math/w_acosf.c: Likewise.
45300 * math/w_acosh.c: Likewise.
45301 * math/w_acoshf.c: Likewise.
45302 * math/w_acoshl.c: Likewise.
45303 * math/w_acosl.c: Likewise.
45304 * math/w_asin.c: Likewise.
45305 * math/w_asinf.c: Likewise.
45306 * math/w_asinl.c: Likewise.
45307 * math/w_atanh.c: Likewise.
45308 * math/w_atanhf.c: Likewise.
45309 * math/w_atanhl.c: Likewise.
45310 * math/w_exp2.c: Likewise.
45311 * math/w_exp2f.c: Likewise.
45312 * math/w_exp2l.c: Likewise.
45313 * math/w_j0.c: Likewise.
45314 * math/w_j0f.c: Likewise.
45315 * math/w_j0l.c: Likewise.
45316 * math/w_j1.c: Likewise.
45317 * math/w_j1f.c: Likewise.
45318 * math/w_j1l.c: Likewise.
45319 * math/w_jn.c: Likewise.
45320 * math/w_jnf.c: Likewise.
45321 * math/w_log.c: Likewise.
45322 * math/w_log10.c: Likewise.
45323 * math/w_log10f.c: Likewise.
45324 * math/w_log10l.c: Likewise.
45325 * math/w_log2.c: Likewise.
45326 * math/w_log2f.c: Likewise.
45327 * math/w_log2l.c: Likewise.
45328 * math/w_logf.c: Likewise.
45329 * math/w_logl.c: Likewise.
45330 * math/w_sqrt.c: Likewise.
45331 * math/w_sqrtf.c: Likewise.
45332 * math/w_sqrtl.c: Likewise.
45333 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
45334 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
45335 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
45336 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
45337 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
45338
45339 2012-02-19 Joseph Myers <joseph@codesourcery.com>
45340
45341 [BZ #9739]
45342 * manual/string.texi (strnlen): Use correct parameter name in
45343 equivalent expression.
45344
45345 2012-02-19 Joseph Myers <joseph@codesourcery.com>
45346
45347 [BZ #11174]
45348 * manual/users.texi (seteuid): Consistently use neweuid for
45349 argument name.
45350
45351 2012-02-19 Joseph Myers <joseph@codesourcery.com>
45352
45353 [BZ #13704]
45354 * manual/nss.texi (Services in the NSS configuration): Correct
45355 list of services in example configuration file.
45356
45357 2012-02-19 Nick Bowler <nbowler@draconx.ca>
45358
45359 [BZ #11322]
45360 * manual/arith.texi: Remove statements about negative zero
45361 behaving identically to zero.
45362
45363 2012-02-18 Joseph Myers <joseph@codesourcery.com>
45364
45365 [BZ #5993]
45366 * manual/install.texi: Do not document upgrading from libc5.
45367
45368 2012-02-18 Joseph Myers <joseph@codesourcery.com>
45369
45370 [BZ #4596]
45371 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
45372
45373 2012-02-18 David S. Miller <davem@davemloft.net>
45374
45375 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
45376 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
45377 %o7 across the call.
45378 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
45379 instead.
45380 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
45381 SETUP_PIC_REG_LEAF.
45382 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
45383 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
45384 * sysdeps/sparc/crtn.S: Likewise.
45385
45386 2012-02-17 Ulrich Drepper <drepper@gmail.com>
45387
45388 * aout/Makefile: Remove.
45389
45390 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
45391
45392 [BZ #13058]
45393 * manual/examples/argp-ex1.c (main): Format definition in GNU
45394 style.
45395 * manual/examples/argp-ex2.c (main): Likewise.
45396 * manual/examples/argp-ex3.c (main): Likewise.
45397 * manual/examples/argp-ex4.c (main): Likewise.
45398 * manual/examples/longopt.c (main): Use new-style prototype
45399 definition.
45400 * manual/examples/strncat.c (main): Specify return type and use
45401 (void) for arguments.
45402 * manual/examples/subopt.c (main): Use char **argv argument.
45403
45404 2012-02-17 Joseph Myers <joseph@codesourcery.com>
45405
45406 [BZ #5077]
45407 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
45408 rounding modes.
45409
45410 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
45411
45412 [BZ #6907]
45413 * manual/string.texi (strchr): Change when strchrnul is
45414 recommended.
45415
45416 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
45417
45418 [BZ #174]
45419 * manual/locale.texi (setlocale): Document LOCPATH.
45420
45421 2012-02-17 Joseph Myers <joseph@codesourcery.com>
45422
45423 [BZ #10210]
45424 * manual/process.texi (execle): Move @dots{} before last argument.
45425
45426 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
45427
45428 [BZ #12047]
45429 * manual/charset.texi (Generic Charset Conversion): Fix typo
45430 (LC_TYPE -> LC_CTYPE).
45431
45432 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
45433
45434 [BZ #5805]
45435 * manual/arith.texi (scalbn): Use @var{} on parameter names.
45436 (scalbnf): Likewise.
45437 (scalbnl): Likewise.
45438 (scalbln): Likewise.
45439 (scalblnf): Likewise.
45440 (scalblnl): Likewise.
45441 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
45442 (vwarnx): Likewise.
45443 (verr): Likewise.
45444 (verrx): Likewise.
45445 * manual/filesys.texi (telldir): Use braces around return type.
45446 * manual/llio.texi (mmap): Add space after comma.
45447 (mmap64): Likewise.
45448 * manual/math.texi (jn): Use @var{} on parameter names.
45449 (jnf): Likewise.
45450 (jnl): Likewise.
45451 (yn): Likewise.
45452 (ynf): Likewise.
45453 (ynl): Likewise.
45454 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
45455 line.
45456 * manual/resource.texi (ulimit): Use @dots{} instead of literal
45457 "...".
45458 (sched_get_priority_min): Remove semicolon on @deftypefun line.
45459 (sched_get_priority_max): Likewise.
45460 * manual/signal.texi (sigvec): Add space after comma.
45461 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
45462 names.
45463 (if_indextoname): Likewise.
45464 (if_freenameindex): Likewise.
45465 (sendto): Use ',' instead of '.' in prototype.
45466 * manual/startup.texi (syscall): Use @dots{} instead of literal
45467 "...".
45468 * manual/stdio.texi (__fpending): Separate initial words of
45469 paragraph from @deftypefun line.
45470 * manual/syslog.texi (syslog): Use @dots{} instead of literal
45471 "...".
45472 (vsyslog): Use @var{} on parameter names.
45473 * manual/terminal.texi (stty): Use @var{} on parameter names.
45474 * manual/users.texi (getutmp): Use @var{} on parameter names.
45475 (getutmpx): Likewise.
45476
45477 2012-02-17 Joseph Myers <joseph@codesourcery.com>
45478
45479 [BZ #6884]
45480 * manual/stdio.texi (fopen): Fix typos in description of
45481 ",ccs=STRING".
45482
45483 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
45484
45485 [BZ #4026]
45486 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
45487 get clock_id definition.
45488
45489 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
45490
45491 [BZ #4822]
45492 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
45493 (madvise): Cast every argument to void on its own.
45494
45495 2012-02-17 Joseph Myers <joseph@codesourcery.com>
45496
45497 [BZ #9902]
45498 * manual/startup.texi (Exit Status): Fix typo.
45499
45500 2012-02-17 Joseph Myers <joseph@codesourcery.com>
45501
45502 [BZ #10140]
45503 * manual/examples/argp-ex1.c: Include <stdlib.h>.
45504 * manual/examples/argp-ex2.c: Likewise.
45505 * manual/examples/argp-ex3.c: Likewise.
45506
45507 2012-02-16 Richard Henderson <rth@redhat.com>
45508
45509 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
45510 * sysdeps/s390/s390-32/initfini.c: Remove.
45511 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
45512 * sysdeps/s390/s390-64/initfini.c: Remove.
45513
45514 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
45515
45516 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
45517 compiler output for sysdeps/generic/initfini.c.
45518 * sysdeps/sh/elf/initfini.c: Remove file.
45519
45520 2012-02-16 David S. Miller <davem@davemloft.net>
45521
45522 [BZ #11494]
45523 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
45524
45525 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
45526 * sysdeps/sparc/crti.S: New file.
45527 * sysdeps/sparc/crtn.S: New file.
45528 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
45529 * sysdeps/sparc/sparc64/Makefile: Likewise.
45530
45531 2012-02-15 Mike Frysinger <vapier@gentoo.org>
45532
45533 [BZ #3335]
45534 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
45535
45536 2012-02-15 Roland McGrath <roland@hack.frob.com>
45537
45538 [BZ #4822]
45539 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
45540
45541 * mach/devstream.c (cookie_io_functions_t): Macro removed.
45542 (write, read, close): Likewise.
45543 Patch by Aurelien Jarno <aurelien@aurel32.net>.
45544
45545 2012-02-15 Joseph Myers <joseph@codesourcery.com>
45546
45547 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
45548 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
45549 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
45550 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
45551 <bits/signalfd.h>.
45552 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
45553 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
45554 bits/signalfd.h.
45555
45556 2012-02-14 Marek Polacek <polacek@redhat.com>
45557
45558 * sysdeps/x86_64/crti.S: New file.
45559 * sysdeps/x86_64/crtn.S: New file.
45560 * sysdeps/x86_64/elf/initfini.c: Remove file.
45561
45562 2012-02-13 Joseph Myers <joseph@codesourcery.com>
45563
45564 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
45565 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
45566 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
45567 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
45568 <bits/inotify.h>.
45569 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
45570 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
45571 bits/inotify.h.
45572
45573 2012-02-13 Joseph Myers <joseph@codesourcery.com>
45574
45575 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
45576 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
45577 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
45578 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
45579 <bits/eventfd.h>.
45580 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
45581 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
45582 bits/eventfd.h.
45583
45584 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
45585
45586 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
45587 __feraiseexcept instead of feraiseexcept.
45588
45589 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
45590 nanosleep invocations.
45591 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
45592 strings, and add error checking for a nanosleep invocations.
45593
45594 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
45595
45596 Replace FSF snail mail address with URLs, as per GNU coding standards.
45597 Most of the snail mail addresses were wrong anyway, and omitting
45598 them makes the source code easier to maintain. Almost all of the
45599 changes are to license notices and to locale LC_IDENTIFICATION
45600 addresses, except for this one:
45601 * manual/libc.texinfo: In "Published by", give the FSF's URL,
45602 not its snail mail address.
45603
45604 2012-02-09 Richard Henderson <rth@twiddle.net>
45605
45606 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
45607 of kernel-features.h.
45608
45609 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
45610
45611 2012-02-08 Marek Polacek <polacek@redhat.com>
45612
45613 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
45614 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
45615 * sysdeps/gnu/_G_config.h: Likewise.
45616 * sysdeps/generic/_G_config.h: Likewise.
45617
45618 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
45619
45620 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
45621 tests.
45622 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45623
45624 * sysdeps/powerpc/powerpc32/crti.S: New file.
45625 * sysdeps/powerpc/powerpc32/crtn.S: New file.
45626 * sysdeps/powerpc/powerpc64/crti.S: New file.
45627 * sysdeps/powerpc/powerpc64/crtn.S: New file.
45628
45629 * Makeconfig (have-initfini): Don't set.
45630 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
45631 * configure.in (nopic_initfini): Don't substitute.
45632 * config.h.in (HAVE_INITFINI): Don't #undef.
45633 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
45634 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
45635
45636 2012-02-08 Joseph Myers <joseph@codesourcery.com>
45637
45638 Support crti.S and crtn.S provided directly by architectures.
45639 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
45640 [crti.S in sysdirs] (omit-deps): Likewise.
45641 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
45642 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
45643 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
45644 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
45645 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
45646 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
45647 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
45648 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
45649 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
45650 compiler output for sysdeps/generic/initfini.c.
45651 * sysdeps/i386/elf/Makefile: Remove file.
45652 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
45653
45654 2012-02-07 Marek Polacek <polacek@redhat.com>
45655
45656 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
45657 * sysdeps/gnu/_G_config.h: Likewise.
45658 * sysdeps/mach/hurd/_G_config.h: Likewise.
45659
45660 2012-02-07 Marek Polacek <polacek@redhat.com>
45661
45662 * math/Makefile (tests): Add tst-CMPLX2.
45663 * math/tst-CMPLX2.c: New file.
45664
45665 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
45666
45667 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
45668
45669 * math/libm-test.inc (jn_test): Add missing L suffix.
45670
45671 2012-02-06 Marek Polacek <polacek@redhat.com>
45672
45673 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
45674 * sysdeps/i386/fpu/e_powf.S: Likewise.
45675 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
45676 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
45677 * sysdeps/i386/fpu/e_acosh.S: Likewise.
45678 * sysdeps/i386/fpu/e_pow.S: Likewise.
45679 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
45680 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
45681 * sysdeps/i386/fpu/s_expm1.S: Likewise.
45682 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
45683 * sysdeps/i386/fpu/e_log2.S: Likewise.
45684 * sysdeps/i386/fpu/e_log2l.S: Likewise.
45685 * sysdeps/i386/fpu/e_scalb.S: Likewise.
45686 * sysdeps/i386/fpu/e_powl.S: Likewise.
45687 * sysdeps/i386/fpu/s_log1p.S: Likewise.
45688 * sysdeps/i386/fpu/e_log10f.S: Likewise.
45689 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
45690 * sysdeps/i386/fpu/e_logl.S: Likewise.
45691 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
45692 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
45693 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
45694 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
45695 * sysdeps/i386/fpu/e_log2f.S: Likewise.
45696 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
45697 * sysdeps/i386/fpu/e_log.S: Likewise.
45698 * sysdeps/i386/fpu/s_cexp.S: Likewise.
45699 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
45700 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
45701 * sysdeps/i386/fpu/e_logf.S: Likewise.
45702 * sysdeps/i386/fpu/e_log10l.S: Likewise.
45703 * sysdeps/i386/fpu/e_atanh.S: Likewise.
45704 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
45705 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
45706 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
45707 * sysdeps/i386/fpu/e_log10.S: Likewise.
45708 * sysdeps/i386/fpu/s_frexp.S: Likewise.
45709 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
45710 * sysdeps/i386/fpu/s_asinh.S: Likewise.
45711 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
45712 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
45713 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
45714 * sysdeps/i386/asm-syntax.h: Likewise.
45715 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
45716 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
45717 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
45718 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
45719 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
45720 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
45721 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
45722 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
45723 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
45724 * sysdeps/powerpc/sysdep.h: Likewise.
45725 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
45726 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
45727
45728 2012-02-06 Joseph Myers <joseph@codesourcery.com>
45729
45730 [BZ #411]
45731 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
45732
45733 2012-02-06 Joseph Myers <joseph@codesourcery.com>
45734
45735 * sysdeps/i386/sysdep.h: Include <features.h>.
45736 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
45737 version.
45738
45739 2012-02-05 Joseph Myers <joseph@codesourcery.com>
45740
45741 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
45742 Define.
45743 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
45744 LOAD_PIC_REG_STR.
45745
45746 2012-02-03 Joseph Myers <joseph@codesourcery.com>
45747
45748 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
45749 (SETUP_PIC_REG): Use GET_PC_THUNK.
45750 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
45751 macro.
45752
45753 2012-02-03 Joseph Myers <joseph@codesourcery.com>
45754
45755 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
45756 for non-PIC compilation.
45757 (SETUP_PIC_REG): Add .p2align directive.
45758 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
45759 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
45760 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
45761 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
45762 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
45763 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
45764 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
45765 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
45766 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
45767 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
45768 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
45769 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
45770 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
45771 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
45772 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
45773 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
45774 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
45775 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
45776 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
45777 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
45778 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
45779 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
45780 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
45781 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
45782 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
45783 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
45784 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
45785 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
45786 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
45787 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
45788 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
45789 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
45790 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
45791 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
45792 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
45793 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
45794 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
45795 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
45796 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
45797 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
45798 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
45799
45800 2012-02-03 Joseph Myers <joseph@codesourcery.com>
45801
45802 * math/tst-CMPLX.c: Include <stdio.h>.
45803
45804 2012-01-31 Joseph Myers <joseph@codesourcery.com>
45805
45806 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
45807 float.
45808 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
45809 * sysdeps/sparc/bits/mathdef.h: Likewise.
45810
45811 2012-01-31 Marek Polacek <polacek@redhat.com>
45812
45813 * libio/libio.h: Don't define _PARAMS.
45814 * locale/programs/config.h: Don't define PARAMS.
45815 * stdlib/strtol_l.c: Likewise.
45816 (__strtol_l): Remove PARAMS from the prototype.
45817
45818 2012-01-31 Ulrich Drepper <drepper@gmail.com>
45819
45820 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
45821 names. Just use the correct names. Remove unnecessary wrapper
45822 functions.
45823 * malloc/arena.c: Likewise.
45824 * malloc/hooks.c: Likewise.
45825
45826 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
45827 ARENA_TEST says not to. Simplify test for creation of a new arena.
45828 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
45829
45830 2012-01-30 Ulrich Drepper <drepper@gmail.com>
45831
45832 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
45833 into tail calls.
45834 (update_get_addr): New function.
45835 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
45836 GET_ADDR_MODULE parameter.
45837
45838 2012-01-30 Joseph Myers <joseph@codesourcery.com>
45839
45840 * crypt/cert.c: Remove __STDC__ conditionals.
45841 * crypt/crypt-entry.c: Likewise.
45842 * crypt/crypt_util.c: Likewise.
45843 * libio/filedoalloc.c: Likewise.
45844 * libio/fileops.c: Likewise.
45845 * libio/genops.c: Likewise.
45846 * libio/iofclose.c: Likewise.
45847 * libio/iofdopen.c: Likewise.
45848 * libio/iofopen.c: Likewise.
45849 * libio/iofopen64.c: Likewise.
45850 * libio/iogetdelim.c: Likewise.
45851 * libio/iopopen.c: Likewise.
45852 * libio/obprintf.c: Likewise.
45853 * libio/oldfileops.c: Likewise.
45854 * libio/oldiofclose.c: Likewise.
45855 * libio/oldiofdopen.c: Likewise.
45856 * libio/oldiofopen.c: Likewise.
45857 * libio/oldiopopen.c: Likewise.
45858 * libio/wfiledoalloc.c: Likewise.
45859 * libio/wgenops.c: Likewise.
45860 * locale/programs/xmalloc.c: Likewise.
45861 * misc/syslog.c: Likewise.
45862 * stdio-common/xbug.c: Likewise.
45863 * string/memchr.c: Likewise.
45864 * string/memcmp.c: Likewise.
45865 * string/memrchr.c: Likewise.
45866 * string/rawmemchr.c: Likewise.
45867 * sysdeps/posix/getcwd.c: Likewise.
45868 * time/strftime_l.c: Likewise.
45869
45870 2012-01-30 Joseph Myers <joseph@codesourcery.com>
45871
45872 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
45873 * config.make.in (config-cflags-sse2avx): Define.
45874 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
45875 Fix typo.
45876
45877 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
45878
45879 * scripts/config.guess: Update from upstream config git repository.
45880 * scripts/config.sub: Likewise.
45881
45882 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
45883
45884 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
45885 (EM_NUM): Update.
45886 (R_TILEPRO_*, R_TILEGX_*): New macros.
45887
45888 * scripts/firstversions.awk: Fix bug in version range handling.
45889
45890 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
45891
45892 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
45893
45894 * include/sys/epoll.h: New file.
45895 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
45896 libc_hidden_def.
45897
45898 2012-01-28 Ulrich Drepper <drepper@gmail.com>
45899
45900 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
45901 Avoid unnecessary __WORDSIZE == 64 test.
45902 (fmaxf): Use VEX format if possible.
45903 (fmax): Likewise.
45904 (fminf): Likewise.
45905 (fmin): Likewise.
45906
45907 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
45908 * math/math_private.h: Remove libc_fegetround* and
45909 libc_fesetround*.
45910 * sysdeps/i386/configure.in: Check for -msse2avx.
45911 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
45912 also if SSE2AVX is defined.
45913 Remove libc_fegetround* and libc_fesetround*.
45914 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
45915 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
45916 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
45917 of HAS_YMM_USABLE.
45918 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
45919 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
45920 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
45921 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
45922 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
45923
45924 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
45925
45926 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45927
45928 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
45929 size is not set.
45930 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
45931
45932 2012-01-27 Ulrich Drepper <drepper@gmail.com>
45933
45934 [BZ #13618]
45935 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
45936 relocation.
45937 * Makeconfig (libm): Define.
45938 * elf/Makefile: Add rules to build and run tst-relsort1.
45939 * elf/tst-relsort1.c: New file.
45940 * elf/tst-relsort1mod1.c: New file.
45941 * elf/tst-relsort1mod2.c: New file.
45942
45943 2012-01-27 Joseph Myers <joseph@codesourcery.com>
45944
45945 * math/s_ldexp.c: Remove __STDC__ conditionals.
45946 * math/s_ldexpf.c: Likewise.
45947 * math/s_ldexpl.c: Likewise.
45948 * math/s_nextafter.c: Likewise.
45949 * math/s_nexttowardf.c: Likewise.
45950 * math/s_significand.c: Likewise.
45951 * math/s_significandf.c: Likewise.
45952 * math/s_significandl.c: Likewise.
45953 * math/w_jnl.c: Likewise.
45954 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
45955 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
45956 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
45957 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
45958 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
45959 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
45960 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
45961 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
45962 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
45963 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
45964 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
45965 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
45966 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
45967 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
45968 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
45969 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
45970 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
45971 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
45972 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
45973 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
45974 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
45975 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
45976 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
45977 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
45978 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
45979 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
45980 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
45981 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
45982 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
45983 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
45984 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
45985 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
45986 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
45987 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
45988 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
45989 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
45990 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
45991 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
45992 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
45993 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
45994 * sysdeps/ieee754/k_standard.c: Likewise.
45995 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
45996 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
45997 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
45998 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
45999 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
46000 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
46001 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
46002 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
46003 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
46004 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
46005 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
46006 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
46007 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
46008 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
46009 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
46010 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
46011 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
46012 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
46013 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
46014 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
46015 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
46016 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
46017 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
46018 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
46019 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
46020 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
46021 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
46022 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
46023 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
46024 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
46025 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
46026 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
46027 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
46028 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
46029 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
46030 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
46031 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
46032 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
46033 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
46034 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
46035 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
46036 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
46037 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
46038 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
46039 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
46040 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
46041 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
46042 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
46043 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
46044 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
46045 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
46046 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
46047 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
46048 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
46049 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
46050 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
46051 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
46052 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
46053 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
46054 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
46055 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
46056 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
46057 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
46058 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
46059 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
46060 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
46061 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
46062 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
46063 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
46064 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
46065 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
46066 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
46067 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
46068 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
46069 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
46070 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
46071 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
46072 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
46073 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
46074 * sysdeps/ieee754/s_matherr.c: Likewise.
46075 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
46076 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
46077 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
46078 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
46079
46080 2012-01-26 Joseph Myers <joseph@codesourcery.com>
46081
46082 * crypt/md5.h: Remove __STDC__ conditionals.
46083 * libio/libioP.h: Likewise.
46084 * locale/programs/config.h: Likewise.
46085 * sysdeps/generic/sysdep.h: Likewise.
46086 * sysdeps/i386/asm-syntax.h: Likewise.
46087 * sysdeps/s390/asm-syntax.h: Likewise.
46088 * sysdeps/unix/sysdep.h: Likewise.
46089 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
46090 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
46091
46092 2012-01-26 Joseph Myers <joseph@codesourcery.com>
46093
46094 * libio/libio.h: Remove __STDC__ conditionals.
46095 * malloc/obstack.h: Likewise.
46096 * math/complex.h: Likewise.
46097 * math/math.h: Likewise.
46098 * sysdeps/generic/_G_config.h: Likewise.
46099 * sysdeps/gnu/_G_config.h: Likewise.
46100 * sysdeps/mach/hurd/_G_config.h: Likewise.
46101 * sysdeps/powerpc/bits/mathdef.h: Likewise.
46102 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
46103 * sysdeps/sparc/bits/mathdef.h: Likewise.
46104
46105 2012-01-26 Ulrich Drepper <drepper@gmail.com>
46106
46107 [BZ #13583]
46108 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
46109 Clean up HAS_* macros.
46110 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
46111 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
46112 possible.
46113 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
46114 HAS_AVX.
46115 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
46116 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
46117 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
46118 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
46119 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
46120
46121 2012-01-25 Joseph Myers <joseph@codesourcery.com>
46122
46123 * elf/tst-unique3.cc (gets): Remove declaration.
46124 * elf/tst-unique3lib.cc (gets): Likewise.
46125 * elf/tst-unique3lib2.cc (gets): Likewise.
46126 * elf/tst-unique4.cc (gets): Likewise.
46127
46128 2012-01-24 Ulrich Drepper <drepper@gmail.com>
46129
46130 * include/stdio.h: Add C++ protection. Add gets declarations and
46131 definitions.
46132 * debug/tst-chk1.c: Don't declare gets here.
46133 * stdio-common/tst-gets.c: Likewise.
46134
46135 2012-01-24 Joseph Myers <joseph@codesourcery.com>
46136
46137 * posix/glob: Remove directory.
46138
46139 2012-01-24 Joseph Myers <joseph@codesourcery.com>
46140
46141 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
46142
46143 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
46144
46145 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
46146 of the non-standard EPFNOSUPPORT.
46147
46148 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
46149
46150 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
46151 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
46152 ANYWHERE set to 1 only on KERN_NO_SPACE error.
46153
46154 2012-01-21 Ulrich Drepper <drepper@gmail.com>
46155
46156 * wcsmbs/uchar.h: Test __STDC_VERSION__.
46157
46158 2012-01-20 Ulrich Drepper <drepper@gmail.com>
46159
46160 * nscd/aicache.c (addhstaiX): Do not cache negative results of
46161 transient errors.
46162 * nscd/grpcache.c (cache_addgr): Likewise.
46163 * nscd/hstcache.c (cache_addhst): Likewise.
46164 * nscd/initgrcache.c (addinitgroupsX): Likewise.
46165 * nscd/pwdcache.c (cache_addpw): Likewise.
46166 * nscd/servicescache.c (cache_addserv): Likewise.
46167
46168 2012-01-16 Ulrich Drepper <drepper@gmail.com>
46169
46170 * malloc/malloc.c: Various cleanups.
46171 * malloc/hooks.c: Likewise.
46172
46173 * stdlib/Makefile (tests): Add bug-fmtmsg1.
46174 * stdlib/bug-fmtmsg1.c: New file.
46175
46176 * stdlib/fmtmsg.c (init): Add missing unlock.
46177 Patch by Peng Haitao <penght@cn.fujitsu.com>.
46178
46179 2012-01-12 Marek Polacek <polacek@redhat.com>
46180
46181 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
46182 and _GNU_SOURCE.
46183
46184 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
46185
46186 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
46187 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
46188 macro to ensure uniqueness of label name.
46189 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
46190 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
46191
46192 2012-01-11 Ulrich Drepper <drepper@gmail.com>
46193
46194 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
46195
46196 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
46197 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
46198 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
46199 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
46200
46201 2012-01-10 Ulrich Drepper <drepper@gmail.com>
46202
46203 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
46204
46205 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
46206 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
46207 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
46208
46209 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
46210
46211 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
46212 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
46213 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
46214 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
46215
46216 * math/bits/math-finite.h: Add ldexp support.
46217
46218 2012-01-10 Marek Polacek <polacek@redhat.com>
46219
46220 * locale/programs/localedef.h (show_archive_content): Add noreturn
46221 attribute.
46222
46223 2012-01-09 Ulrich Drepper <drepper@gmail.com>
46224
46225 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
46226
46227 2012-01-08 Ulrich Drepper <drepper@gmail.com>
46228
46229 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
46230
46231 * io/Makefile (headers): Add bits/poll2.h.
46232
46233 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
46234
46235 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
46236 typo #include statement.
46237
46238 2012-01-08 Ulrich Drepper <drepper@gmail.com>
46239
46240 * include/sys/cdefs.h: Define __attribute_alloc_size.
46241 * catgets/gencat.c: Add alloc_size attribute and apply consistently
46242 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
46243 * elf/pldd.c: Likewise.
46244 * iconv/iconv_charmap.c: Likewise.
46245 * iconv/iconvconfig.c: Likewise.
46246 * iconv/strtab.c: Likewise.
46247 * locale/programs/locale.c: Likewise.
46248 * locale/programs/localedef.h: Likewise.
46249 * locale/programs/simple-hash.c: Likewise.
46250 * nscd/nscd.h: Likewise.
46251 * nss/makedb.c: Likewise.
46252 * sysdeps/generic/ldconfig.h: Likewise.
46253 * locale/programs/localedef.c: Remove xmalloc prototype.
46254 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
46255
46256 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
46257
46258 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
46259 appropriate.
46260
46261 2012-01-08 Ulrich Drepper <drepper@gmail.com>
46262
46263 * math/Makefile (tests): Add tst-CMPLX.
46264 * math/tst-CMPLX.c: New file.
46265
46266 * math/complex.h (CMPLXL): Fix typo.
46267
46268 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
46269 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
46270 GLIBC_2.16.
46271 * debug/tst-chk1.c: Add poll and ppoll tests.
46272 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
46273 * include/sys/poll.h: Add hidden proto for ppoll.
46274 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
46275 * sysdeps/mach/hurd/ppoll.c: Likewise.
46276 * io/ppoll.c: Likewise.
46277 * debug/poll_chk.c: New file.
46278 * debug/ppoll_chk.c: New file.
46279 * include/bits/poll2.h: New file.
46280 * io/bits/poll2.h: New file.
46281
46282 [BZ #1350]
46283 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
46284
46285 * configure.in: static is always set to yes. Remove.
46286 * config.make.in: Don't set build-static.
46287 * Makeconfig: Remove use of build-static.
46288 * dlfcn/Makefile: Likewise.
46289 * elf/Makefile: Likewise.
46290 * math/Makefile: Likewise.
46291 * misc/Makefile: Likewise.
46292 * nptl/Makefile: Likewise.
46293 * sysdeps/mach/hurd/Makefile: Likewise.
46294
46295 * configure.in: PWD_P is not used anymore.
46296 * config.make.in: Remove PWD_P entry.
46297
46298 * configure.in: Remove last remnants of RANLIB.
46299 No need to check for signed size_t anymore.
46300 Don't set libc_commonpagesize and libc_relro_required here for Alpha
46301 and IA-64.
46302 Remove __builtin_expect test because we require at least gcc 3.4.
46303 * aclocal.m4: Likewise.
46304
46305 * wcsmbs/mbrtoc16.c: Implement using towc function.
46306 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
46307 * wcsmbs/wcsmbsload.c: Likewise.
46308 * iconv/gconv_simple.c: Likewise.
46309 * iconv/gconv_int.h: Likewise.
46310 * iconv/gconv_builtin.h: Likewise.
46311 * iconv/iconv_prog.c: Remove CHAR16 handling.
46312
46313 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
46314
46315 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
46316
46317 * configure.in: Remove --with-elf and --enable-bounded options.
46318 Dont set base_machine for ia64. More non-ELF conditions removed.
46319 Remove testing and setting of leading underscore information.
46320 * config.make.in (build-bounded): Set to no.
46321 * config.h.in: Remove NO_UNDERSCORES entry.
46322 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
46323 them.
46324 * csu/start.c: Remove !NO_UNDERSCORE code.
46325 * locale/localeinfo.h: Likewise.
46326 * sysdeps/generic/machine-gmon.h: Likewise.
46327 * sysdeps/generic/sysdep.h: Likewise.
46328 * sysdeps/i386/sysdep.h: Likewise.
46329 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
46330 * sysdeps/mach/sysdep.h: Likewise.
46331 * sysdeps/s390/s390-32/sysdep.h: Likewise.
46332 * sysdeps/s390/s390-64/sysdep.h: Likewise.
46333 * sysdeps/sh/sysdep.h: Likewise.
46334 * sysdeps/sparc/sparc32/alloca.S: Likewise.
46335 * sysdeps/unix/i386/sysdep.S: Likewise.
46336 * sysdeps/unix/sparc/start.c: Likewise.
46337 * sysdeps/unix/sparc/sysdep.S: Likewise.
46338 * sysdeps/unix/sparc/sysdep.h: Likewise.
46339 * sysdeps/unix/start.c: Likewise.
46340 * sysdeps/unix/x86_64/sysdep.S: Likewise.
46341 * sysdeps/x86_64/sysdep.h: Likewise.
46342
46343 2012-01-07 Ulrich Drepper <drepper@gmail.com>
46344
46345 [BZ #13553]
46346 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
46347 for non-gcc.
46348 * argp/argp-fmtstream.h: Use const instead __const.
46349 * argp/argp.h: Likewise.
46350 * assert/assert.h: Likewise.
46351 * bits/fenv.h: Likewise.
46352 * bits/sched.h: Likewise.
46353 * bits/sigset.h: Likewise.
46354 * bits/sigthread.h: Likewise.
46355 * catgets/nl_types.h: Likewise.
46356 * conform/data/pthread.h-data: Likewise.
46357 * crypt/crypt-private.h: Likewise.
46358 * crypt/crypt.h: Likewise.
46359 * crypt/crypt_util.c: Likewise.
46360 * ctype/ctype.h: Likewise.
46361 * debug/execinfo.h: Likewise.
46362 * debug/mbsnrtowcs_chk.c: Likewise.
46363 * debug/mbsrtowcs_chk.c: Likewise.
46364 * debug/wcsnrtombs_chk.c: Likewise.
46365 * debug/wcsrtombs_chk.c: Likewise.
46366 * debug/wcstombs_chk.c: Likewise.
46367 * dirent/dirent.h: Likewise.
46368 * dlfcn/dlfcn.h: Likewise.
46369 * elf/neededtest4.c: Likewise.
46370 * grp/grp.h: Likewise.
46371 * gshadow/gshadow.h: Likewise.
46372 * iconv/gconv.h: Likewise.
46373 * iconv/gconv_int.h: Likewise.
46374 * iconv/gconv_simple.c: Likewise.
46375 * iconv/iconv.h: Likewise.
46376 * iconv/loop.c: Likewise.
46377 * iconv/skeleton.c: Likewise.
46378 * include/aio.h: Likewise.
46379 * include/aliases.h: Likewise.
46380 * include/argz.h: Likewise.
46381 * include/arpa/inet.h: Likewise.
46382 * include/assert.h: Likewise.
46383 * include/dirent.h: Likewise.
46384 * include/dlfcn.h: Likewise.
46385 * include/execinfo.h: Likewise.
46386 * include/fcntl.h: Likewise.
46387 * include/fenv.h: Likewise.
46388 * include/glob.h: Likewise.
46389 * include/grp.h: Likewise.
46390 * include/libintl.h: Likewise.
46391 * include/mntent.h: Likewise.
46392 * include/netdb.h: Likewise.
46393 * include/pwd.h: Likewise.
46394 * include/rpc/netdb.h: Likewise.
46395 * include/sched.h: Likewise.
46396 * include/search.h: Likewise.
46397 * include/shadow.h: Likewise.
46398 * include/signal.h: Likewise.
46399 * include/stdio.h: Likewise.
46400 * include/stdlib.h: Likewise.
46401 * include/string.h: Likewise.
46402 * include/sys/socket.h: Likewise.
46403 * include/sys/stat.h: Likewise.
46404 * include/sys/statfs.h: Likewise.
46405 * include/sys/statvfs.h: Likewise.
46406 * include/sys/syslog.h: Likewise.
46407 * include/sys/time.h: Likewise.
46408 * include/sys/uio.h: Likewise.
46409 * include/time.h: Likewise.
46410 * include/unistd.h: Likewise.
46411 * include/utmp.h: Likewise.
46412 * include/wchar.h: Likewise.
46413 * include/wctype.h: Likewise.
46414 * inet/aliases.h: Likewise.
46415 * inet/arpa/inet.h: Likewise.
46416 * inet/netinet/ether.h: Likewise.
46417 * inet/netinet/in.h: Likewise.
46418 * intl/libintl.h: Likewise.
46419 * io/bits/fcntl2.h: Likewise.
46420 * io/fcntl.h: Likewise.
46421 * io/ftw.h: Likewise.
46422 * io/sys/poll.h: Likewise.
46423 * io/sys/stat.h: Likewise.
46424 * io/sys/statfs.h: Likewise.
46425 * io/sys/statvfs.h: Likewise.
46426 * io/utime.h: Likewise.
46427 * libio/bits/stdio.h: Likewise.
46428 * libio/bits/stdio2.h: Likewise.
46429 * libio/libio.h: Likewise.
46430 * libio/libioP.h: Likewise.
46431 * libio/stdio.h: Likewise.
46432 * locale/lc-ctype.c: Likewise.
46433 * locale/locale.h: Likewise.
46434 * login/utmp.h: Likewise.
46435 * malloc/arena.c: Likewise.
46436 * malloc/malloc.c: Likewise.
46437 * malloc/malloc.h: Likewise.
46438 * malloc/mcheck.c: Likewise.
46439 * malloc/mtrace.c: Likewise.
46440 * math/bits/mathcalls.h: Likewise.
46441 * math/fenv.h: Likewise.
46442 * math/math_private.h: Likewise.
46443 * misc/bits/error.h: Likewise.
46444 * misc/bits/syslog.h: Likewise.
46445 * misc/err.h: Likewise.
46446 * misc/error.h: Likewise.
46447 * misc/fstab.h: Likewise.
46448 * misc/mntent.h: Likewise.
46449 * misc/regexp.h: Likewise.
46450 * misc/search.h: Likewise.
46451 * misc/sgtty.h: Likewise.
46452 * misc/sys/mman.h: Likewise.
46453 * misc/sys/syslog.h: Likewise.
46454 * misc/sys/uio.h: Likewise.
46455 * misc/sys/xattr.h: Likewise.
46456 * misc/ttyent.h: Likewise.
46457 * nis/rpcsvc/ypclnt.h: Likewise.
46458 * nss/nss.h: Likewise.
46459 * posix/bits/unistd.h: Likewise.
46460 * posix/fnmatch.h: Likewise.
46461 * posix/glob.h: Likewise.
46462 * posix/sched.h: Likewise.
46463 * posix/spawn.h: Likewise.
46464 * posix/sys/wait.h: Likewise.
46465 * posix/unistd.h: Likewise.
46466 * posix/wordexp.h: Likewise.
46467 * pwd/pwd.h: Likewise.
46468 * resolv/netdb.h: Likewise.
46469 * resource/sys/resource.h: Likewise.
46470 * rt/aio.h: Likewise.
46471 * rt/bits/mqueue2.h: Likewise.
46472 * rt/mqueue.h: Likewise.
46473 * shadow/shadow.h: Likewise.
46474 * signal/signal.h: Likewise.
46475 * socket/send.c: Likewise.
46476 * socket/sendto.c: Likewise.
46477 * socket/sys/socket.h: Likewise.
46478 * stdio-common/printf.h: Likewise.
46479 * stdlib/bits/stdlib.h: Likewise.
46480 * stdlib/fmtmsg.h: Likewise.
46481 * stdlib/monetary.h: Likewise.
46482 * stdlib/stdlib.h: Likewise.
46483 * stdlib/ucontext.h: Likewise.
46484 * streams/stropts.h: Likewise.
46485 * string/argz.h: Likewise.
46486 * string/bits/string2.h: Likewise.
46487 * string/string.h: Likewise.
46488 * string/strings.h: Likewise.
46489 * sunrpc/rpc/auth.h: Likewise.
46490 * sunrpc/rpc/auth_des.h: Likewise.
46491 * sunrpc/rpc/clnt.h: Likewise.
46492 * sunrpc/rpc/netdb.h: Likewise.
46493 * sunrpc/rpc/pmap_clnt.h: Likewise.
46494 * sunrpc/rpc/xdr.h: Likewise.
46495 * sysdeps/generic/inttypes.h: Likewise.
46496 * sysdeps/generic/net/if.h: Likewise.
46497 * sysdeps/generic/sys/swap.h: Likewise.
46498 * sysdeps/gnu/net/if.h: Likewise.
46499 * sysdeps/gnu/utmpx.h: Likewise.
46500 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
46501 * sysdeps/i386/i486/bits/string.h: Likewise.
46502 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
46503 * sysdeps/s390/bits/string.h: Likewise.
46504 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
46505 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
46506 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
46507 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
46508 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
46509 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
46510 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
46511 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
46512 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
46513 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
46514 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
46515 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
46516 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
46517 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
46518 * sysdeps/unix/sysv/linux/readv.c: Likewise.
46519 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
46520 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
46521 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
46522 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
46523 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
46524 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
46525 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
46526 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
46527 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
46528 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
46529 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
46530 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
46531 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
46532 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
46533 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
46534 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
46535 * sysvipc/sys/ipc.h: Likewise.
46536 * sysvipc/sys/msg.h: Likewise.
46537 * sysvipc/sys/sem.h: Likewise.
46538 * sysvipc/sys/shm.h: Likewise.
46539 * termios/termios.h: Likewise.
46540 * time/sys/time.h: Likewise.
46541 * time/time.h: Likewise.
46542 * wcsmbs/bits/wchar2.h: Likewise.
46543 * wcsmbs/uchar.h: Likewise.
46544 * wcsmbs/wchar.h: Likewise.
46545 * wctype/wctype.h: Likewise.
46546
46547 [BZ #13551]
46548 * Makeconfig: Remove all but ELF support including AIX support.
46549 * Makerules: Likewise.
46550 * config.h.in: Likewise.
46551 * config.make.in: Likewise.
46552 * configure: Likewise.
46553 * configure.in: Likewise.
46554 * csu/Makefile: Likewise.
46555 * csu/version.c: Likewise.
46556 * debug/Makefile: Likewise.
46557 * dlfcn/Makefile: Likewise.
46558 * elf/Makefile: Likewise.
46559 * extra-lib.mk: Likewise.
46560 * iconv/Makefile: Likewise.
46561 * include/libc-symbols.h: Likewise.
46562 * include/shlib-compat.h: Likewise.
46563 * resolv/Makefile: Likewise.
46564 * resolv/res_libc.c: Likewise.
46565 * rt/Makefile: Likewise.
46566 * sysdeps/i386/asm-syntax.h: Likewise.
46567 * sysdeps/i386/sysdep.h: Likewise.
46568 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
46569 * sysdeps/mach/sysdep.h: Likewise.
46570 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
46571 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
46572 * sysdeps/s390/asm-syntax.h: Likewise.
46573 * sysdeps/s390/s390-32/sysdep.h: Likewise.
46574 * sysdeps/s390/s390-64/sysdep.h: Likewise.
46575 * sysdeps/sh/sysdep.h: Likewise.
46576 * sysdeps/unix/sparc/sysdep.h: Likewise.
46577 * sysdeps/wordsize-32/divdi3.c: Likewise.
46578 * sysdeps/x86_64/sysdep.h: Likewise.
46579
46580 * argp/Versions: Remove _argp_unlock_xxx.
46581
46582 [BZ #13559]
46583 * abilist/ld.abilist: Update. Adjust for removal of tls option.
46584 * abilist/libBrokenLocale.abilist: Likewise.
46585 * abilist/libanl.abilist: Likewise.
46586 * abilist/libc.abilist: Likewise.
46587 * abilist/libcrypt.abilist: Likewise.
46588 * abilist/libdl.abilist: Likewise.
46589 * abilist/libm.abilist: Likewise.
46590 * abilist/libnsl.abilist: Likewise.
46591 * abilist/libpthread.abilist: Likewise.
46592 * abilist/libresolv.abilist: Likewise.
46593 * abilist/librt.abilist: Likewise.
46594 * abilist/libthread_db.abilist: Likewise.
46595 * abilist/libutil.abilist: Likewise.
46596 * abilist/libnss_db.abilist: New file.
46597
46598 * scripts/abilist.awk: Add support for indirect functions.
46599
46600 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
46601
46602 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
46603
46604 * shlib-versions: Remove entries for ports architectures.
46605
46606 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
46607 files in ports.
46608 * elf/stackguard-macros.h: Remove support for IA-64.
46609 * elf/tst-auditmod1.c: Likewise.
46610 * sysdeps/generic/ldsodefs.h: Likewise.
46611
46612 * sysdeps/unix/sysv/linux/configure.in: Ports should define
46613 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
46614 configure files.
46615
46616 [BZ #13552]
46617 * configure.in: Remove --enable-omitfp support.
46618 * FAQ.in: Adjust.
46619 * config.make.in: Likewise.
46620 * Makeconfig: Likewise.
46621 * manual/install.texi: Likewise.
46622
46623 In case anyone cares, the IA-64 architecture could move to ports.
46624 * sysdeps/ia64/*: Removed.
46625 * sysdeps/unix/sysv/linux/ia64/*: Removed.
46626 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
46627
46628 [BZ #13555]
46629 * configure.in: Remove entries for unsupported architectures.
46630
46631 [BZ #13533]
46632 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
46633 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
46634 routines.
46635 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
46636 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
46637 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
46638 fall back to using wcrtomb.
46639 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
46640 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
46641 renaming.
46642 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
46643 * wcsmbs/tst-c16c32-1.c: New file.
46644
46645 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
46646 local variable.
46647
46648 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
46649
46650 * elf/tst-unique3.cc: Add explicit declaration of gets.
46651 * elf/tst-unique3lib.cc: Likewise.
46652 * elf/tst-unique3lib2.cc: Likewise.
46653 * elf/tst-unique4.cc: Likewise.
46654
46655 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
46656
46657 2012-01-06 Joseph Myers <joseph@codesourcery.com>
46658
46659 [BZ #13566]
46660 * assert/assert.h (static_assert): Don't define for C++.
46661 * libio/stdio.h (gets): Do declare for C++ <= C++11.
46662 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
46663
46664 2012-01-03 Ulrich Drepper <drepper@gmail.com>
46665
46666 * iconv/loop.c (single loop): Fix assertion in storing of
46667 remaining bytes.
46668
46669 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
46670
46671 2012-01-01 Ulrich Drepper <drepper@gmail.com>
46672
46673 * posix/getconf.c: Update copyright year.
46674 * nss/getent.c: Likewise.
46675 * nss/makedb.c: Likewise.
46676 * iconv/iconvconfig.c: Likewise.
46677 * iconv/iconv_prog.c: Likewise.
46678 * elf/ldconfig.c: Likewise.
46679 * elf/pldd.c: Likewise.
46680 * elf/sotruss.ksh: Likewise.
46681 * catgets/gencat.c: Likewise.
46682 * csu/version.c: Likewise.
46683 * elf/ldd.bash.in: Likewise.
46684 * elf/sprof.c (print_version): Likewise.
46685 * locale/programs/locale.c: Likewise.
46686 * locale/programs/localedef.c: Likewise.
46687 * login/programs/pt_chown.c: Likewise.
46688 * nscd/nscd.c (print_version): Likewise.
46689 * debug/xtrace.sh: Likewise.
46690 * malloc/memusage.sh: Likewise.
46691 * malloc/mtrace.pl: Likewise.
46692 * debug/catchsegv.sh: Likewise.
46693
46694 2011-12-30 Jakub Jelinek <jakub@redhat.com>
46695
46696 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
46697 pure attribute.
46698
46699 2011-12-24 Ulrich Drepper <drepper@gmail.com>
46700
46701 [BZ #13533]
46702 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
46703 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
46704 transformations.
46705 * iconv/gconv_int.h: Likewise.
46706 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
46707 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
46708 from libc for GLIBC_2.16.
46709 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
46710 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
46711 * wcsmbs/uchar.h: Really define mbstate_t.
46712 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
46713 * wcsmbs/c16rtomb.c: New file.
46714 * wcsmbs/mbrtoc16.c: New file.
46715 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
46716 for C/POSIX locale.
46717 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
46718 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
46719
46720 * wcsmbs/wchar.h: Add missing __restrict.
46721
46722 2011-12-23 Ulrich Drepper <drepper@gmail.com>
46723
46724 [BZ #13532]
46725 * time/Makefile (routines): Add timespec_get.
46726 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
46727 * time/time.h: Define TIME_UTC and declare timespec_get. Define
46728 timespec for ISO C11.
46729 * time/timespec_get.c: New file.
46730 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
46731 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
46732
46733 [BZ #13531]
46734 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
46735 * stdlib/stdlib.h: Declare aligned_alloc.
46736 * Versions.def: Add GLIBC_2.16 for libc.
46737 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
46738
46739 [BZ 13527]
46740 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
46741 ISO C11.
46742
46743 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
46744 code.
46745
46746 [BZ #13528]
46747 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
46748
46749 [BZ #13529]
46750 * assert/assert.h (static_assert): Define.
46751
46752 * version.h: Update for 2.16 development version.
46753
46754 [BZ #13526]
46755 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
46756 _ISOC11_SOURCE.
46757
46758 * version.h (RELEASE): Bump for 2.15 release.
46759 * include/features.h (__GLIBC_MINOR__): Bump to 15.
46760
46761 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
46762 Patch by Marek Polacek <mpolacek@redhat.com>.
46763
46764 * bits/byteswap.h: Protect long long constants with __extension__.
46765 * sysdeps/i386/bits/byteswap.h: Likewise.
46766 * sysdeps/ia64/bits/byteswap.h: Likewise.
46767 * sysdeps/s390/bits/byteswap.h: Likewise.
46768 * sysdeps/x86_64/bits/byteswap.h: Likewise.
46769
46770 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46771
46772 [BZ #13540]
46773 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
46774 destination buffer.
46775 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
46776
46777 2011-12-23 Marek Polacek <polacek@redhat.com>
46778
46779 * elf/dl-addr.c (determine_info): Add inline keyword.
46780 * elf/tst-auditmod4b.c (check_avx): Likewise.
46781 * elf/tst-auditmod6b.c (check_avx): Likewise.
46782 * elf/tst-auditmod6c.c (check_avx): Likewise.
46783 * elf/tst-auditmod7b.c (check_avx): Likewise.
46784
46785 2011-12-23 Ulrich Drepper <drepper@gmail.com>
46786
46787 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
46788 !__SSE_MATH__.
46789
46790 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46791
46792 [BZ #13540]
46793 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
46794 processing for last bytes.
46795
46796 2011-08-06 Bruno Haible <bruno@clisp.org>
46797
46798 [BZ #13061]
46799 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
46800 U+0385, not to U+1FEE.
46801
46802 [BZ #13062]
46803 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
46804 entry for U+00A5 U+0301.
46805
46806 2011-12-22 Ulrich Drepper <drepper@gmail.com>
46807
46808 [BZ #13166]
46809 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
46810 buffer for the output is too small.
46811
46812 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
46813 optimization.
46814
46815 [BZ #13185]
46816 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
46817 SSE flags if possible.
46818
46819 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46820
46821 [BZ #13540]
46822 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
46823 processing for last bytes.
46824
46825 2011-12-22 Joseph Myers <joseph@codesourcery.com>
46826
46827 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
46828 (syscall-list-default-options, syscall-list-default-condition)
46829 (syscall-list-includes): Define.
46830 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
46831 list of ABIs and options and #if conditions for each ABI. Do not
46832 handle common syscalls between ABIs specially.
46833 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
46834 Remove.
46835 (syscall-list-variants, syscall-list-32bit-options)
46836 (syscall-list-32bit-condition, syscall-list-64bit-options)
46837 (syscall-list-64bit-condition): Define.
46838 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
46839 (syscall-list-variants, syscall-list-32bit-options)
46840 (syscall-list-32bit-condition, syscall-list-64bit-options)
46841 (syscall-list-64bit-condition): Define.
46842 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
46843 Remove.
46844 (syscall-list-variants, syscall-list-32bit-options)
46845 (syscall-list-32bit-condition, syscall-list-64bit-options)
46846 (syscall-list-64bit-condition): Define.
46847 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
46848 Remove.
46849 (syscall-list-variants, syscall-list-32bit-options)
46850 (syscall-list-32bit-condition, syscall-list-64bit-options)
46851 (syscall-list-64bit-condition): Define.
46852
46853 2011-12-22 Ulrich Drepper <drepper@gmail.com>
46854
46855 * locale/iso-639.def: Add brx entry.
46856
46857 [BZ #13328]
46858 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
46859 Proposed by Mariusz_Cukr <marcukr@op.pl>.
46860
46861 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
46862 __feraiseexcept_renamed.
46863
46864 2011-12-21 Ulrich Drepper <drepper@gmail.com>
46865
46866 [BZ #13538]
46867 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
46868 EPOLLET with unsigned values.
46869 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
46870 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
46871
46872 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
46873 to large cancellation.
46874 * math/s_cacoshf.c: Likewise.
46875 * math/s_cacoshl.c: Likewise.
46876
46877 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
46878
46879 [BZ #13305]
46880 [BZ #12786]
46881 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
46882 * math/s_cacoshf.c: Likewise.
46883 * math/s_cacoshl.c: Likewise.
46884
46885 2011-12-21 Ulrich Drepper <drepper@gmail.com>
46886
46887 [BZ #13439]
46888 * iconv/gconv.h: Define __GCONV_SWAP.
46889 * iconvdata/unicode.c: The swap bit must be stored in __flags.
46890 * iconvdata/utf-16.c: Likewise.
46891 * iconvdata/utf-32.c: Likewise.
46892
46893 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
46894
46895 [BZ #13524]
46896 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
46897 numerator after shifting it by one limb.
46898
46899 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
46900
46901 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
46902 under [__USE_EXTERN_INLINES].
46903
46904 2011-12-17 Ulrich Drepper <drepper@gmail.com>
46905
46906 [BZ #13446]
46907 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
46908
46909 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46910
46911 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
46912 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
46913 optimized code.
46914 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
46915 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
46916 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
46917 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
46918 for strncasecmp/strncasecmp_l compilation.
46919 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
46920 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
46921
46922 2011-12-08 Marek Polacek <mpolacek@redhat.com>
46923
46924 [BZ #13484]
46925 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
46926 of __asm__.
46927
46928 2011-12-17 Ulrich Drepper <drepper@gmail.com>
46929
46930 [BZ #13506]
46931 * time/tzfile.c (__tzfile_read): Check values from file header.
46932
46933 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
46934
46935 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
46936 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
46937 * powerpc/powerpc32/dl-start.S: Likewise.
46938 * powerpc/powerpc32/elf/start.S: Likewise.
46939 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
46940 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
46941 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
46942 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
46943 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
46944 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
46945 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
46946 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
46947 * powerpc/powerpc32/fpu/s_round.S: Likewise.
46948 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
46949 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
46950 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
46951 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
46952 * powerpc/powerpc32/memset.S: Likewise.
46953 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
46954 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
46955 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
46956 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
46957 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
46958 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
46959 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
46960 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
46961 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
46962 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
46963 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
46964 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
46965 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
46966
46967 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46968
46969 * math/libm-test.inc: Added more nearbyint tests.
46970 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
46971 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
46972 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
46973 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
46974
46975 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
46976
46977 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
46978 FD_CLOEXEC.
46979
46980 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46981
46982 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
46983 Add wcscpy-ssse3 wcscpy-c.
46984 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
46985 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
46986 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
46987 * sysdeps/x86_64/wcschr.S: New file.
46988 * sysdeps/x86_64/wcsrchr.S: New file.
46989 * string/test-strcmp.c: Remove checking of wcscmp function for
46990 wrong alignments.
46991 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
46992 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
46993 wcsrchr-sse2 wcsrchr-c.
46994 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
46995 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
46996 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
46997 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
46998 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
46999 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
47000 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
47001 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
47002 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
47003 * wcsmbc/wcschr.c (WCSCHR): New macro.
47004
47005 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47006
47007 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
47008 * wcsmbs/test-wcsrchr.c: New file.
47009 * string/test-strrchr.c: Add wcsrchr support.
47010 (WIDE): New macro.
47011 * wcsmbs/test-wcscpy.c: New file.
47012 * string/test-strcpy.c: Add wcscpy support.
47013 (WIDE): New macro.
47014
47015 2011-12-10 Ulrich Drepper <drepper@gmail.com>
47016
47017 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
47018 the inner loop.
47019
47020 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
47021
47022 [BZ #13472]
47023 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
47024
47025 2011-12-04 Ulrich Drepper <drepper@gmail.com>
47026
47027 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
47028 Minor optimizations.
47029
47030 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
47031 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
47032 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
47033
47034 2011-12-03 Ulrich Drepper <drepper@gmail.com>
47035
47036 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
47037 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
47038 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
47039 for gcc to avoid warnings.
47040 * inet/Makefile (tests): Add tst-checks.
47041 * inet/tst-checks.c: New file.
47042
47043 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
47044 warning.
47045
47046 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
47047 __wmemcmp_sse2.
47048
47049 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
47050 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
47051
47052 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
47053
47054 2011-12-02 Ulrich Drepper <drepper@gmail.com>
47055
47056 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
47057 problem.
47058
47059 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
47060
47061 2011-11-29 Joseph Myers <joseph@codesourcery.com>
47062
47063 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
47064 conditional on GCC version.
47065 (__arch_compare_and_exchange_val_8_acq)
47066 (__arch_compare_and_exchange_val_16_acq)
47067 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
47068 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
47069 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
47070
47071 2011-12-02 Joseph Myers <joseph@codesourcery.com>
47072
47073 * sysdeps/sh/backtrace.c: New file.
47074
47075 2011-12-02 Andreas Schwab <schwab@redhat.com>
47076
47077 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
47078 parenthesis.
47079
47080 2011-12-01 Andreas Schwab <schwab@redhat.com>
47081
47082 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
47083 falling back to utime.
47084
47085 2011-11-30 Andreas Schwab <schwab@redhat.com>
47086
47087 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
47088 expectations for float.
47089
47090 2011-11-29 Andreas Schwab <schwab@redhat.com>
47091
47092 * locale/weight.h (findidx): Add parameter len.
47093 * locale/weightwc.h (findidx): Likewise.
47094 * posix/fnmatch_loop.c (FCT): Adjust caller.
47095 * posix/regcomp.c (build_equiv_class): Likewise.
47096 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
47097 * posix/regexec.c (check_node_accept_bytes): Likewise.
47098 * string/strcoll_l.c (STRCOLL): Likewise.
47099 * string/strxfrm_l.c (STRXFRM): Likewise.
47100
47101 2011-11-17 Ulrich Drepper <drepper@gmail.com>
47102
47103 * Makefile.in: Remove CVSOPT handling.
47104 * configure.in: Remove use of AC_REVISION.
47105 * iconvdata/Makefile (distribute): No need to filter out CVS.
47106 * scripts/list-sources.sh: Remove CVS, subversion and monotone
47107 handling.
47108
47109 2011-11-16 Andreas Schwab <schwab@redhat.com>
47110
47111 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
47112 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
47113 [USE_AS_STRNCASECMP_L]: Likewise.
47114 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
47115 NO_TLS_DIRECT_SEG_REFS.
47116 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
47117 Fix argument offsets for non-PIC.
47118 [USE_AS_STRNCASECMP_L]: Likewise.
47119 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
47120 NO_TLS_DIRECT_SEG_REFS.
47121
47122 2011-11-15 Ulrich Drepper <drepper@gmail.com>
47123
47124 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
47125 O_CLOEXEC.
47126 * locale/loadlocale.c (_nl_load_locale): Likewise.
47127
47128 2011-11-15 Andreas Schwab <schwab@redhat.com>
47129
47130 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
47131 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
47132 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
47133 (SYSCALL_GETTIME): Set errno on error.
47134
47135 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
47136 count references to noai6ai_cached.
47137
47138 2011-11-15 Ulrich Drepper <drepper@gmail.com>
47139
47140 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
47141
47142 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
47143 FD_CLOEXEC for /proc/self/maps.
47144
47145 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
47146 FD_CLOEXEC for /proc/meminfo.
47147
47148 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
47149 gai.conf.
47150
47151 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
47152 FD_CLOEXEC for given file.
47153
47154 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
47155
47156 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
47157 FD_CLOEXEC for /etc/hosts.
47158 (_gethtent): Likewise.
47159
47160 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
47161
47162 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
47163 cancellation and set FD_CLOEXEC for /etc/netgroup.
47164
47165 * nss/nss_files/files-key.c (search): Don't allow cancellation when
47166 reading /etc/publickey.
47167
47168 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
47169 allow cancellation when reading /etc/group.
47170
47171 * nss/nss_files/files-alias.c (internal_setent): Don't allow
47172 cancellation.
47173 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
47174
47175 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
47176 when using data file.
47177
47178 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
47179
47180 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
47181 (write_nis_obj): Use "c" and "e" in fopen.
47182
47183 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
47184
47185 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
47186
47187 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
47188
47189 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
47190
47191 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
47192 locale.alias.
47193
47194 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
47195
47196 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
47197
47198 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
47199
47200 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
47201 file parsing and set FD_CLOEXEC.
47202
47203 2011-11-14 Ulrich Drepper <drepper@gmail.com>
47204
47205 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
47206
47207 2011-11-14 Andreas Schwab <schwab@redhat.com>
47208
47209 * malloc/arena.c (arena_get2): Don't call reused_arena when
47210 _int_new_arena failed.
47211
47212 2011-11-14 Ulrich Drepper <drepper@gmail.com>
47213
47214 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
47215 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
47216 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
47217 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
47218 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
47219 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
47220 to compile strcasecmp and strncasecmp.
47221 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
47222 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
47223
47224 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
47225
47226 2011-11-13 Ulrich Drepper <drepper@gmail.com>
47227
47228 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
47229 locale-defines.sym to gen-as-const-headers.
47230 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
47231 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
47232 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
47233 to compile strcasecmp and strncasecmp.
47234 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
47235 strcasecmp_l and strncasecmp_l.
47236 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
47237 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
47238 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
47239 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
47240 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
47241 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
47242 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
47243 * sysdeps/i386/i686/multiarch/strncase.S: New file.
47244 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
47245 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
47246 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
47247
47248 2011-11-12 Ulrich Drepper <drepper@gmail.com>
47249
47250 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
47251 result of SYSDEP_GETTIME_CPU to retval.
47252 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
47253 parameter list to macro. Remove trailing semicolon. Adjust users.
47254
47255 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
47256 variable.
47257
47258 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
47259 mantissa words.
47260 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
47261
47262 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
47263 from unused variable.
47264
47265 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
47266 DWARF definitions.
47267 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
47268 for assembling.
47269
47270 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
47271 over namespaces.
47272
47273 * sunrpc/rpc_prot.c (rejected): Fix case value.
47274
47275 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
47276 unsigned long long int to avoid warnings in shift.
47277
47278 * posix/regex_internal.c (re_string_reconstruct): Actually use result
47279 of use of trans.
47280 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
47281 variable tmp.
47282
47283 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
47284 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
47285 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
47286
47287 * nis/nis_table.c (nis_list): Use variable of correct type for
47288 result of __follow_path call.
47289
47290 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47291
47292 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
47293 of math functions ceil, trunc, floor, round, and sqrt, when
47294 avaliable on the platform.
47295 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
47296 name clash.
47297 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
47298 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
47299 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
47300
47301 2011-10-30 Marek Polacek <mpolacek@redhat.com>
47302
47303 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
47304 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
47305
47306 2011-11-11 Roland McGrath <roland@hack.frob.com>
47307
47308 * include/unistd.h: Fix __readlink return type.
47309 Reported by Chris Metcalf <cmetcalf@tilera.com>.
47310
47311 2011-11-11 Ulrich Drepper <drepper@gmail.com>
47312
47313 * stdlib/ucontext.h: Undo last change for makecontext.
47314
47315 2011-11-11 Andreas Schwab <schwab@redhat.com>
47316
47317 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
47318
47319 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
47320 * setjmp/setjmp.h: Mark functions as non-leaf.
47321 * setjmp/bits/setjmp2.h: Likewise.
47322 * stdlib/ucontext.h: Likewise.
47323
47324 2011-11-10 Andreas Schwab <schwab@redhat.com>
47325
47326 * malloc/arena.c (_int_new_arena): Don't increment narenas.
47327 (reused_arena): Don't check arena limit.
47328 (arena_get2): Atomically check arena limit.
47329
47330 2011-11-08 Ulrich Drepper <drepper@gmail.com>
47331
47332 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
47333 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
47334
47335 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
47336 instructions.
47337
47338 2011-11-07 Andreas Schwab <schwab@redhat.com>
47339
47340 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
47341 handler when locking.
47342
47343 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
47344 Fix size of allocated buffer.
47345
47346 2011-11-04 Andreas Schwab <schwab@redhat.com>
47347
47348 [BZ #10103]
47349 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
47350 declarations for long double functions.
47351 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
47352
47353 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
47354
47355 2011-11-03 Andreas Schwab <schwab@redhat.com>
47356
47357 * nscd/nscd.c (main): Don't start AVC thread until credentials are
47358 installed.
47359
47360 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
47361 is disabled.
47362
47363 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
47364
47365 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
47366
47367 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
47368
47369 * include/alloca.h (stackinfo_alloca_round): Define.
47370 (extend_alloca): Use it.
47371 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
47372 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
47373 here.
47374
47375 * scripts/check-local-headers.sh: Ignore libaudit.h.
47376
47377 * nscd/Makefile (extra-objs): Make recursively expanded.
47378
47379 2011-11-01 Ulrich Drepper <drepper@gmail.com>
47380
47381 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
47382 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
47383
47384 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
47385 * posix/tst-rfc3484-2.c: Likewise.
47386 * posix/tst-rfc3484-3.c: Likewise.
47387
47388 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
47389 process_vm_writev.
47390 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
47391 process_vm_writev.
47392 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
47393 process_vm_writev from libc using GLIBC_2.15 version.
47394
47395 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
47396
47397 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
47398
47399 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
47400 stack usage.
47401
47402 2011-10-31 Ulrich Drepper <drepper@gmail.com>
47403
47404 [BZ #13367]
47405 * nss/getent.c (initgroups_keys): Show error message in case no group
47406 names are given.
47407
47408 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
47409 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
47410 __bump_nl_timestamp.
47411 * nscd/connections (nscd_init): When host database is served open
47412 netlink socket and request notification about configuration changes.
47413 (main_loop_poll): Track netlink file descriptor and bump timestamp
47414 in case data becomes available.
47415 (main_loop_epoll): Likewise.
47416 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
47417 (database_pers_head): Add extra_data fileds.
47418 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
47419 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
47420 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
47421 Adjust caller.
47422 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
47423 in6ai data, call __free_in6ai.
47424 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
47425 Add -DHAVE_NETLINK.
47426 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
47427 interface information. Reuse previous data if netlink timestamp
47428 is not changed.
47429 (__bump_nl_timestamp): New function.
47430 (__free_in6ai): New function.
47431
47432 2011-10-30 Ulrich Drepper <drepper@gmail.com>
47433
47434 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
47435 close_not_cancel_no_status here.
47436 (__check_pf): Reorganize code a bit to not call close twice if OOM.
47437
47438 2011-10-29 Ulrich Drepper <drepper@gmail.com>
47439
47440 [BZ #13276]
47441 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
47442 return value.
47443
47444 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
47445 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
47446 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
47447
47448 2011-07-03 Andreas Jaeger <aj@suse.de>
47449
47450 [BZ #10709]
47451 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
47452 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
47453 * math/libm-test.inc (sin_test): Add test case.
47454
47455 2011-10-29 Ulrich Drepper <drepper@gmail.com>
47456
47457 [BZ #13337]
47458 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
47459 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
47460
47461 * elf/chroot_canon.c (chroot_canon): Cleanups.
47462
47463 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
47464
47465 [BZ #13335]
47466 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
47467 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
47468
47469 * string/test-strchr.c: Make usable for strchrnul testing.
47470 * string/test-strchrnul.c: New file.
47471 * string/Makefile (strop-tests): Add strchrnul.
47472
47473 * po/it.po: Update from translation team.
47474 * po/es.po: Likewise.
47475
47476 2011-10-28 Ulrich Drepper <drepper@gmail.com>
47477
47478 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
47479 the three constants needed as parameters. Drop the others.
47480 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
47481 __m128i_strloadu_tolower.
47482 Create and initialize variable zero and use it in all the places
47483 where _mm_setzero_si128 was used.
47484
47485 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
47486 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
47487 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
47488 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
47489 anymore.
47490 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
47491 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
47492 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
47493 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
47494 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
47495 __mpranred, __mptan.
47496 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
47497 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
47498 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
47499 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
47500 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
47501 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
47502 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
47503 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
47504 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
47505
47506 2011-10-28 Andreas Schwab <schwab@redhat.com>
47507
47508 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
47509 redefine if SHARED.
47510 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
47511
47512 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
47513 wide char related routines to wcsmbs subdir.
47514
47515 2011-10-27 Andreas Schwab <schwab@redhat.com>
47516
47517 [BZ #13344]
47518 * misc/sys/cdefs.h (__THROWNL): Define.
47519 * posix/unistd.h: Use __THREADNL instead of __THREAD
47520 for memory synchronization functions.
47521
47522 2011-10-26 Roland McGrath <roland@hack.frob.com>
47523
47524 [BZ #13349]
47525 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
47526 doesn't exist.
47527 * manual/stdio.texi (Obstack Streams): Node removed.
47528
47529 2011-10-26 Andreas Schwab <schwab@redhat.com>
47530
47531 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
47532 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
47533 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
47534
47535 * math/math_private.h (math_force_eval): Allow non-addressable
47536 arguments.
47537 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
47538
47539 2011-10-25 Ulrich Drepper <drepper@gmail.com>
47540
47541 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
47542 file is not needed.
47543
47544 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
47545 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
47546 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
47547 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
47548 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
47549 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
47550 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
47551 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
47552 Add AVX variants.
47553 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
47554 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
47555 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
47556 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
47557 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
47558 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
47559 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
47560 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
47561 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
47562 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
47563 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
47564 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
47565 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
47566 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
47567 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
47568 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
47569 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
47570 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
47571 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
47572
47573 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
47574 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
47575
47576 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
47577 place. Use VEX encoding when compiling for AVX.
47578
47579 2011-10-25 Andreas Schwab <schwab@redhat.com>
47580
47581 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
47582 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
47583
47584 * string/test-strchr.c (do_test): Don't generate NUL bytes.
47585
47586 2011-10-25 Ulrich Drepper <drepper@gmail.com>
47587
47588 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
47589 useless if() expression.
47590 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
47591 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
47592 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
47593 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
47594 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
47595 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
47596 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
47597 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
47598 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
47599 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
47600 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
47601 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
47602 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
47603 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
47604 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
47605 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
47606 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
47607 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
47608 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
47609
47610 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
47611
47612 2011-10-25 Andreas Schwab <schwab@redhat.com>
47613
47614 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
47615 condition.
47616 * elf/dl-fini.c (_dl_sort_fini): Likewise.
47617
47618 2011-10-25 Ulrich Drepper <drepper@gmail.com>
47619
47620 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
47621 .text section. Avoid duplicate constants.
47622 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
47623 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
47624 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
47625 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
47626 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
47627 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
47628 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
47629 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
47630 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
47631 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
47632 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
47633 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
47634 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
47635 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
47636 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
47637 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
47638 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
47639 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
47640 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
47641 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
47642 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
47643 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
47644 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
47645 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
47646 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
47647 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
47648 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
47649 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
47650 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
47651 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
47652 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
47653 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
47654 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
47655 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
47656 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
47657 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
47658 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
47659 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
47660 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
47661 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
47662 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
47663 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
47664 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
47665 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
47666 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
47667
47668 2011-10-24 Ulrich Drepper <drepper@gmail.com>
47669
47670 * sysdeps/x86_64/dla.h: Move to ...
47671 * sysdeps/x86_64/fpu/dla.h: ...here.
47672 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
47673 situations. Use __builtin_fma only for gcc 4.6 and up.
47674
47675 * config.make.in: Add have-mfma4 entry.
47676 * configure.in: Substitute libc_cv_cc_fma4.
47677 * math/Makefile (dbl-only-routines): Add sincostab.
47678 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
47679 Use __sincostab not sincos.
47680 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
47681 name is a macro.
47682 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
47683 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
47684 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
47685 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
47686 using __copysign.
47687 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
47688 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
47689 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
47690 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
47691 and __inv.
47692 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
47693 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
47694 __copysign.
47695 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
47696 define aliases when function name is a macro.
47697 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
47698 sysdeps/ieee754/dbl-64/sincos.tbl.
47699 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
47700 fma4-enabled routines.
47701 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
47702 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
47703 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
47704 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
47705 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
47706 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
47707 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
47708 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
47709 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
47710 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
47711 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
47712 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
47713 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
47714 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
47715 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
47716 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
47717 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
47718 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
47719 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
47720 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
47721 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
47722 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
47723 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
47724 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
47725 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
47726 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
47727 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
47728 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
47729 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
47730 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
47731
47732 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
47733 rename.
47734 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
47735 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
47736 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
47737 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
47738 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
47739 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
47740 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
47741 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
47742
47743 2011-10-24 Andreas Schwab <schwab@redhat.com>
47744
47745 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
47746
47747 2011-10-23 Ulrich Drepper <drepper@gmail.com>
47748
47749 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
47750
47751 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
47752 prediction.
47753 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
47754
47755 * string/strnlen.c: Don't define STRNLEN, reverse logic.
47756 Remove unused variable magic_bits.
47757 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
47758
47759 * string/strnlen.c: Define and use STRNLEN macro.
47760 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
47761 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
47762 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
47763 * wcsmbs/wcslen.c: Define and use WCSLEN.
47764 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
47765 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
47766 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
47767 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
47768 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
47769 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
47770 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
47771
47772 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47773
47774 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
47775 strnlen-sse2-no-bsf.
47776 Rename strlen-no-bsf to strlen-sse2-no-bsf.
47777 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
47778 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
47779 Add strnlen support.
47780 (USE_AS_STRNLEN): New macro.
47781 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
47782 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
47783 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
47784 * sysdeps/x86_64/wcslen.S: New file.
47785
47786 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
47787
47788 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
47789 XMM-moves are used for copying on small sizes.
47790
47791 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47792
47793 * wcsmbs/Makefile (strop-tests): Add wcschr.
47794 * wcsmbs/test-wcschr.c: New file.
47795 * string/test-strchr.c: Update.
47796 Add wcschr support.
47797 (WIDE): New macro.
47798
47799 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47800
47801 * wcsmbs/Makefile (strop-tests): Add wcslen.
47802 * wcsmbs/test-wcslen.c: New file.
47803 * string/test-strlen.c: Update.
47804 Add wcslen support.
47805 (WIDE): New macro.
47806
47807 2011-10-23 Ulrich Drepper <drepper@gmail.com>
47808
47809 * po/it.po: Update from translation team.
47810
47811 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47812
47813 * sysdeps/x86_64/wcscmp.S: Update.
47814 Fix wrong comparison semantics.
47815 wcscmp shall use signed comparison not unsigned.
47816 Don't use substraction to avoid overflow bug.
47817 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
47818 * wcsmbc/wcscmp.c: Likewise.
47819 * string/test-strcmp.c: Likewise.
47820 Add new tests to check cases with negative values.
47821
47822 2011-10-23 Ulrich Drepper <drepper@gmail.com>
47823
47824 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
47825 * sysdeps/x86_64/dla.h: ...here. New file.
47826 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
47827 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
47828 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
47829 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
47830 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
47831 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
47832 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
47833 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
47834 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
47835
47836 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
47837
47838 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
47839 __ynl_finite aliases.
47840
47841 2011-10-22 Ulrich Drepper <drepper@gmail.com>
47842
47843 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
47844
47845 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
47846 define DLA_FMA.
47847 [DLA_FMA] (EMULV): Use DLA_FMA.
47848 [DLA_FMA] (MUL12): Use EMULV.
47849 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
47850 that are not needed.
47851 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
47852 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
47853 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
47854 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
47855 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
47856 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
47857 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
47858
47859 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
47860
47861 * math/s_nan.c: Undef __nan.
47862 * math/s_nanf.c: Undef __nanf.
47863 * math/s_nanl.c: Undef __nanl.
47864 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
47865 "math_private.h".
47866
47867 2011-10-22 Ulrich Drepper <drepper@gmail.com>
47868
47869 * math/s_catan.c: Add branch predictions.
47870 * math/s_catanf.c: Likewise.
47871 * math/s_catanh.c: Likewise.
47872 * math/s_catanhf.c: Likewise.
47873 * math/s_catanhl.c: Likewise.
47874 * math/s_catanl.c: Likewise.
47875 * math/s_cexp.c: Likewise.
47876 * math/s_cexpf.c: Likewise.
47877 * math/s_cexpl.c: Likewise.
47878 * math/s_clog.c: Likewise.
47879 * math/s_clog10.c: Likewise.
47880 * math/s_clog10f.c: Likewise.
47881 * math/s_clog10l.c: Likewise.
47882 * math/s_clogf.c: Likewise.
47883 * math/s_clogl.c: Likewise.
47884 * math/s_csqrt.c: Likewise.
47885 * math/s_csqrtf.c: Likewise.
47886 * math/s_csqrtl.c: Likewise.
47887 * math/s_ctanf.c: Likewise.
47888 * math/s_ctanh.c: Likewise.
47889 * math/s_ctanhf.c: Likewise.
47890 * math/s_ctanhl.c: Likewise.
47891 * math/s_ctanl.c: Likewise.
47892
47893 * math/math_private.h: Define __nan, __nanf, __nanl.
47894 * math/s_cacosh.c: Include <math_private.h>.
47895 * math/s_cacoshl.c: Likewise.
47896 * math/s_casinh.c: Likewise.
47897 * math/s_casinhf.c: Likewise.
47898 * math/s_casinhl.c: Likewise.
47899 * math/s_ccos.c: Rely entire on ccosh.
47900 * math/s_ccosf.c: Rely entire on ccoshf.
47901 * math/s_ccosl.c: Rely entirely on ccoshl.
47902 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
47903 Remove tests for FE_INVALID.
47904 * math/s_ccoshf.c: Likewise.
47905 * math/s_ccoshl.c: Likewise.
47906 * math/s_csin.c: Likewise.
47907 * math/s_csinf.c: Likewise.
47908 * math/s_csinh.c Likewise.
47909 * math/s_csinhf.c: Likewise.
47910 * math/s_csinhl.c: Likewise.
47911 * math/s_csinl.c: Likewise.
47912 * math/s_ctan.c: Likewise.
47913 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
47914 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
47915 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
47916
47917 2011-10-21 Ulrich Drepper <drepper@gmail.com>
47918
47919 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
47920 compilation problems.
47921
47922 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
47923 __builtin_expect.
47924
47925 2011-10-20 Ulrich Drepper <drepper@gmail.com>
47926
47927 * sysdeps/i386/configure.in: Test for -mfma4 option.
47928 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
47929 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
47930 COMMON_CPUID_INDEX_80000001.
47931 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
47932 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
47933 use it if FMA3 is not supported.
47934 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
47935
47936 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
47937 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
47938
47939 2011-10-20 Andreas Schwab <schwab@redhat.com>
47940
47941 [BZ #12892]
47942 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
47943 it would create a cycle with a link time dependency.
47944
47945 2011-10-19 Ulrich Drepper <drepper@gmail.com>
47946
47947 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
47948 instruction.
47949 * string/Makefile (strop-tests): Add rawmemchr.
47950 * string/test-rawmemchr.c: New file.
47951
47952 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
47953 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
47954 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
47955 when compiling str{,n}casecmp and when AVX is available. Hook up
47956 new optimized code in initializers.
47957
47958 2011-10-19 Andreas Schwab <schwab@redhat.com>
47959
47960 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
47961 __feraiseexcept instead of feraiseexcept.
47962
47963 2011-10-18 Ulrich Drepper <drepper@gmail.com>
47964
47965 * math/math_private.h: Define defaults for libc_fetestexcept and
47966 libc_feupdateenv.
47967 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
47968 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
47969 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
47970 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
47971 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
47972 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
47973 libc_fetestexcept and libc_feupdateenv.
47974
47975 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
47976 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
47977 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
47978 * sysdeps/x86_64/fpu/math_private.h: Define special version of
47979 libc_feholdexcept_setround.
47980
47981 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
47982 Add s_nearbyint-c and s_nearbyintf-c.
47983 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
47984 nearbyintf inlines.
47985 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
47986 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
47987 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
47988 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
47989
47990 * math/math_private.h: Define defaults for libc_fegetround,
47991 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
47992 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
47993 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
47994 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
47995 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
47996 standard functions.
47997 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
47998 Remove comments and hacks for old compiler versions.
47999 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
48000 libc_fegetround, libc_fesetround, libc_feholdexcept, and
48001 libc_feholdexceptl.
48002
48003 2011-10-18 Andreas Schwab <schwab@redhat.com>
48004
48005 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
48006 (__feraiseexcept_renamed): Add __NTH.
48007 (feraiseexcept): Add __NTH. Rename local variables to fix
48008 namespace violations.
48009
48010 2011-10-17 Ulrich Drepper <drepper@gmail.com>
48011
48012 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
48013
48014 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
48015
48016 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
48017 recently added interfaces.
48018 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
48019
48020 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
48021 about macro parameter expansion.
48022
48023 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
48024 __NO_MATH_INLINES is defined. Cleanups.
48025
48026 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
48027 and __floorf is target has SSE4.1.
48028 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
48029 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
48030 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
48031 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
48032
48033 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
48034 name.
48035 (floorf): Likewise.
48036
48037 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
48038
48039 2011-10-17 Andreas Schwab <schwab@redhat.com>
48040
48041 * misc/sys/cdefs.h: Fix last change.
48042
48043 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
48044 database lookup.
48045
48046 2011-10-16 Ulrich Drepper <drepper@gmail.com>
48047
48048 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
48049
48050 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
48051 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
48052 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
48053 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
48054 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
48055 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
48056 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
48057 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
48058 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
48059 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
48060 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
48061 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
48062 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
48063 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
48064 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
48065 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
48066 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
48067 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
48068 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
48069 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
48070 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
48071 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
48072
48073 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
48074 ceil, ceilf, floor, floorf.
48075
48076 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
48077 Perform IRELATIVE relocations last.
48078
48079 * elf/do-rel.h: Add another parameter nrelative, replacing the
48080 local variable with the same name. Change name of the function
48081 to end in Rel or Rela (uppercase).
48082 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
48083 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
48084 elf_dynamic_do_##reloc function.
48085
48086 2011-10-15 Ulrich Drepper <drepper@gmail.com>
48087
48088 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
48089 is sufficient, at least on modern CPUs.
48090
48091 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
48092
48093 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
48094 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
48095
48096 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
48097 __expl_finite.
48098 * math/bits/math-finite.h: Add entries for exp.
48099 * math/e_expl.c: Add __*_finite alias.
48100 * sysdeps/i386/fpu/e_exp.S: Likewise.
48101 * sysdeps/i386/fpu/e_expf.S: Likewise.
48102 * sysdeps/i386/fpu/e_expl.c: Likewise.
48103 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
48104 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
48105 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
48106 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
48107 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
48108 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
48109 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
48110
48111 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
48112 is sufficient, at least on modern CPUs.
48113
48114 * ctype/ctype-info.c (__ctype_init): Define.
48115 * include/ctype.h (__ctype_init): Declare.
48116 (__ctype_b_loc): The variable is always initialized.
48117 (__ctype_toupper_loc): Likewise.
48118 (__ctype_tolower_loc): Likewise.
48119 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
48120 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
48121
48122 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
48123
48124 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
48125
48126 * configure.in: Also look in $cxxmachine/include for C++ system
48127 headers.
48128
48129 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
48130
48131 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
48132 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
48133 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
48134 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
48135 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
48136 (USE_AS_WMEMCMP): New macro.
48137 Fixing indents.
48138 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
48139 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
48140 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
48141 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
48142 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
48143 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
48144 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
48145 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
48146 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
48147 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
48148 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
48149 (USE_AS_WMEMCMP): New macro.
48150 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
48151 * sysdeps/string/test-memcmp.c: Update.
48152 Fix simple_wmemcmp.
48153 Add new tests.
48154 * wcsmbs/wmemcmp.c: Update.
48155 (WMEMCMP): New macro.
48156 Fix overflow bug.
48157
48158 2011-10-12 Andreas Jaeger <aj@suse.de>
48159
48160 [BZ #13268]
48161 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
48162
48163 2011-10-15 Ulrich Drepper <drepper@gmail.com>
48164
48165 * libio/iofwide.c (do_length): Avoid warning.
48166
48167 * ctype/ctype.h (__isctype_f): Add missing __THROW.
48168
48169 2011-10-14 Ulrich Drepper <drepper@gmail.com>
48170
48171 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
48172
48173 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
48174 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
48175 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
48176 * sysdeps/i386/i686/fpu/e_log.S: New file.
48177 * sysdeps/i386/i686/fpu/e_logf.S: New file.
48178 * sysdeps/i386/i686/fpu/e_logl.S: New file.
48179
48180 * ctype/ctype.h: Add support for inlined isXXX functions when
48181 compiling C++ code.
48182
48183 2011-10-14 Andreas Schwab <schwab@redhat.com>
48184
48185 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
48186
48187 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
48188
48189 2011-10-13 Roland McGrath <roland@hack.frob.com>
48190
48191 [BZ #13291]
48192 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
48193
48194 2011-10-13 Andreas Schwab <schwab@redhat.com>
48195
48196 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
48197 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
48198 feraiseexcept.
48199
48200 * sysdeps/x86_64/memrchr.S: Check for zero size.
48201
48202 * string/stratcliff.c: Add memrchr tests.
48203
48204 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
48205
48206 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
48207 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
48208 rawmemchr-sse2 rawmemchr-sse2-bsf.
48209 * sysdeps/i386/i686/multiarch/memchr.S: New file.
48210 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
48211 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
48212 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
48213 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
48214 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
48215 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
48216 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
48217 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
48218 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
48219 * string/memrchr.c (MEMRCHR): New macro.
48220
48221 2011-10-12 Ulrich Drepper <drepper@gmail.com>
48222
48223 Add integration with gcc's -ffinite-math-only and optimize wrapper
48224 functions in libm.
48225 * Versions.def: Define GLIBC_2.15 version for libm.
48226 * math/Makefile (headers): Add bits/math-finite.h.
48227 * math/bits/math-finite.h: New file.
48228 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
48229 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
48230 * math/e_acoshl.c: Add __*_finite alias.
48231 * math/e_acosl.c: Likewise.
48232 * math/e_asinl.c: Likewise.
48233 * math/e_atan2l.c: Likewise.
48234 * math/e_atanhl.c: Likewise.
48235 * math/e_coshl.c: Likewise.
48236 * math/e_exp10.c: Likewise.
48237 * math/e_exp10f.c: Likewise.
48238 * math/e_exp10l.c: Likewise.
48239 * math/e_exp2l.c: Likewise.
48240 * math/e_fmodl.c: Likewise.
48241 * math/e_gammal_r.c: Likewise.
48242 * math/e_hypotl.c: Likewise.
48243 * math/e_j0l.c: Likewise.
48244 * math/e_j1l.c: Likewise.
48245 * math/e_jnl.c: Likewise.
48246 * math/e_lgammal_r.c: Likewise.
48247 * math/e_log10l.c: Likewise.
48248 * math/e_log2l.c: Likewise.
48249 * math/e_logl.c: Likewise.
48250 * math/e_powl.c: Likewise.
48251 * math/e_sinhl.c: Likewise.
48252 * math/e_sqrtl.c: Likewise.
48253 * math/e_scalb.c: Completely rewritten and optimized.
48254 * math/e_scalbf.c: Likewise.
48255 * math/e_scalbl.c: Likewise.
48256 * math/w_acos.c: Likewise.
48257 * math/w_acosf.c: Likewise.
48258 * math/w_acosl.c: Likewise.
48259 * math/w_acosh.c: Likewise.
48260 * math/w_acoshf.c: Likewise.
48261 * math/w_acoshl.c: Likewise.
48262 * math/w_asin.c: Likewise.
48263 * math/w_asinf.c: Likewise.
48264 * math/w_asinl.c: Likewise.
48265 * math/w_atan2.c: Likewise.
48266 * math/w_atan2f.c: Likewise.
48267 * math/w_atan2l.c: Likewise.
48268 * math/w_atanh.c: Likewise.
48269 * math/w_atanhf.c: Likewise.
48270 * math/w_atanhl.c: Likewise.
48271 * math/w_exp10.c: Likewise.
48272 * math/w_exp10f.c: Likewise.
48273 * math/w_exp10l.c: Likewise.
48274 * math/w_fmod.c: Likewise.
48275 * math/w_fmodf.c: Likewise.
48276 * math/w_fmodl.c: Likewise.
48277 * math/w_j0.c: Likewise.
48278 * math/w_j0f.c: Likewise.
48279 * math/w_j0l.c: Likewise.
48280 * math/w_j1.c: Likewise.
48281 * math/w_j1f.c: Likewise.
48282 * math/w_j1l.c: Likewise.
48283 * math/w_jn.c: Likewise.
48284 * math/w_jnf.c: Likewise.
48285 * math/w_log.c: Likewise.
48286 * math/w_logf.c: Likewise.
48287 * math/w_logl.c: Likewise.
48288 * math/w_log10.c: Likewise.
48289 * math/w_log10f.c: Likewise.
48290 * math/w_log10l.c: Likewise.
48291 * math/w_log2.c: Likewise.
48292 * math/w_log2f.c: Likewise.
48293 * math/w_log2l.c: Likewise.
48294 * math/w_pow.c: Likewise.
48295 * math/w_powf.c: Likewise.
48296 * math/w_powl.c: Likewise.
48297 * math/w_remainder.c: Likewise.
48298 * math/w_remainderf.c: Likewise.
48299 * math/w_remainderl.c: Likewise.
48300 * math/w_scalb.c: Likewise.
48301 * math/w_scalbf.c: Likewise.
48302 * math/w_scalbl.c: Likewise.
48303 * math/w_sqrt.c: Likewise.
48304 * math/w_sqrtf.c: Likewise.
48305 * math/w_sqrtl.c: Likewise.
48306 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
48307 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
48308 used.
48309 * math/math_private.h: Declare __kernel_standard_f.
48310 * math/w_cosh.c: Remove cruft and optimize a bit.
48311 * math/w_coshf.c: Likewise.
48312 * math/w_coshl.c: Likewise.
48313 * math/w_exp2.c: Likewise.
48314 * math/w_exp2f.c: Likewise.
48315 * math/w_exp2l.c: Likewise.
48316 * math/w_hypot.c: Likewise.
48317 * math/w_hypotf.c: Likewise.
48318 * math/w_hypotl.c: Likewise.
48319 * math/w_lgamma.c: Likewise.
48320 * math/w_lgamma_r.c: Likewise.
48321 * math/w_lgammaf.c: Likewise.
48322 * math/w_lgammaf_r.c: Likewise.
48323 * math/w_lgammal.c: Likewise.
48324 * math/w_lgammal_r.c: Likewise.
48325 * math/w_sinh.c: Likewise.
48326 * math/w_sinhf.c: Likewise.
48327 * math/w_sinhl.c: Likewise.
48328 * math/w_tgamma.c: Likewise.
48329 * math/w_tgammaf.c: Likewise.
48330 * math/w_tgammal.c: Likewise.
48331 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
48332 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
48333 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
48334 Minor optimizations. Pretty printing. Remove cruft.
48335 * sysdeps/i386/fpu/e_acosf.S: Likewise.
48336 * sysdeps/i386/fpu/e_acosh.S: Likewise.
48337 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
48338 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
48339 * sysdeps/i386/fpu/e_acosl.c: Likewise.
48340 * sysdeps/i386/fpu/e_asin.S: Likewise.
48341 * sysdeps/i386/fpu/e_asinf.S: Likewise.
48342 * sysdeps/i386/fpu/e_atan2.S: Likewise.
48343 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
48344 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
48345 * sysdeps/i386/fpu/e_atanh.S: Likewise.
48346 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
48347 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
48348 * sysdeps/i386/fpu/e_exp10.S: Likewise.
48349 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
48350 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
48351 * sysdeps/i386/fpu/e_exp2.S: Likewise.
48352 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
48353 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
48354 * sysdeps/i386/fpu/e_fmod.S: Likewise.
48355 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
48356 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
48357 * sysdeps/i386/fpu/e_hypot.S: Likewise.
48358 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
48359 * sysdeps/i386/fpu/e_log.S: Likewise.
48360 * sysdeps/i386/fpu/e_log10.S: Likewise.
48361 * sysdeps/i386/fpu/e_log10f.S: Likewise.
48362 * sysdeps/i386/fpu/e_log10l.S: Likewise.
48363 * sysdeps/i386/fpu/e_log2.S: Likewise.
48364 * sysdeps/i386/fpu/e_log2f.S: Likewise.
48365 * sysdeps/i386/fpu/e_log2l.S: Likewise.
48366 * sysdeps/i386/fpu/e_logf.S: Likewise.
48367 * sysdeps/i386/fpu/e_logl.S: Likewise.
48368 * sysdeps/i386/fpu/e_pow.S: Likewise.
48369 * sysdeps/i386/fpu/e_powf.S: Likewise.
48370 * sysdeps/i386/fpu/e_powl.S: Likewise.
48371 * sysdeps/i386/fpu/e_remainder.S: Likewise.
48372 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
48373 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
48374 * sysdeps/i386/fpu/e_scalb.S: Likewise.
48375 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
48376 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
48377 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
48378 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
48379 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
48380 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
48381 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
48382 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
48383 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
48384 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
48385 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
48386 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
48387 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
48388 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
48389 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
48390 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
48391 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
48392 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
48393 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
48394 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
48395 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
48396 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
48397 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
48398 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
48399 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
48400 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
48401 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
48402 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
48403 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
48404 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
48405 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
48406 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
48407 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
48408 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
48409 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
48410 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
48411 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
48412 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
48413 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
48414 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
48415 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
48416 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
48417 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
48418 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
48419 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
48420 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
48421 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
48422 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
48423 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
48424 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
48425 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
48426 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
48427 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
48428 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
48429 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
48430 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
48431 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
48432 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
48433 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
48434 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
48435 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
48436 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
48437 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
48438 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
48439 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
48440 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
48441 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
48442 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
48443 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
48444 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
48445 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
48446 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
48447 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
48448 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
48449 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
48450 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
48451 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
48452 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
48453 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
48454 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
48455 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
48456 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
48457 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
48458 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
48459 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
48460 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
48461 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
48462 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
48463 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
48464 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
48465 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
48466 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
48467 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
48468 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
48469 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
48470 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
48471 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
48472 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
48473 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
48474 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
48475 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
48476 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
48477 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
48478 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
48479 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
48480 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
48481 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
48482 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
48483 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
48484 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
48485 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
48486 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
48487 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
48488 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
48489 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
48490 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
48491 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
48492 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
48493 (__isnanf): Likewise.
48494 (__isinf_ns): Likewise.
48495 (__isinf_nsf): Likewise.
48496 (__finite): Likewise.
48497 (__finitef): Likewise.
48498 (__ieee754_sqrt): Define as macro.
48499 (__ieee754_sqrtf): Define as macro.
48500 (__ieee754_sqrtl): Define as macro.
48501 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
48502 inlined copy.
48503 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
48504 __FINITE_MATH_ONLY__ consistent.
48505 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
48506
48507 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
48508
48509 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
48510 of rawmemchr.
48511
48512 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
48513
48514 2011-10-09 Ulrich Drepper <drepper@gmail.com>
48515
48516 * po/ja.po: Update from translation team.
48517
48518 2011-10-08 Roland McGrath <roland@hack.frob.com>
48519
48520 * locale/programs/locarchive.c (prepare_address_space): New function.
48521 (create_archive, enlarge_archive, open_archive): Use it.
48522
48523 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
48524 inside [SHARED], where it is used.
48525
48526 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
48527
48528 * nss/getent.c (netgroup_keys): Remove unused variable.
48529 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
48530
48531 2011-10-08 Ulrich Drepper <drepper@gmail.com>
48532
48533 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
48534 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
48535 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
48536 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
48537 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
48538 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
48539 * math/Makefile (libm-calls): Add s_isinf_ns.
48540 * math/divtc3.c: Use __isinf_nsl instead of isinf.
48541 * math/multc3.c: Likewise.
48542 * math/s_casin.c: Likewise.
48543 * math/s_casinf.c: Likewise.
48544 * math/s_casinl.c: Likewise.
48545 * math/s_ccos.c: Likewise.
48546 * math/s_ccosf.c: Likewise.
48547 * math/s_ccosl.c: Likewise.
48548 * math/s_ctan.c: Likewise.
48549 * math/s_ctanf.c: Likewise.
48550 * math/s_ctanh.c: Likewise.
48551 * math/s_ctanhf.c: Likewise.
48552 * math/s_ctanhl.c: Likewise.
48553 * math/s_ctanl.c: Likewise.
48554 * math/w_fmod.c: Likewise.
48555 * math/w_fmodf.c: Likewise.
48556 * math/w_fmodl.c: Likewise.
48557 * math/w_remainder.c: Likewise.
48558 * math/w_remainderf.c: Likewise.
48559 * math/w_remainderl.c: Likewise.
48560 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
48561 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
48562 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
48563 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
48564 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
48565 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
48566 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
48567 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
48568
48569 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
48570 of the number.
48571 * stdio-common/printf_fphex.c: Likewise.
48572 * stdio-common/printf_size.c: Likewise.
48573
48574 * math/e_exp10.c: Include math_private.h using <...> not "...".
48575 * math/e_exp10f.c: Likewise.
48576 * math/e_exp10l.c: Likewise.
48577 * math/e_exp2l.c: Likewise.
48578 * math/e_j0l.c: Likewise.
48579 * math/e_j1l.c: Likewise.
48580 * math/e_jnl.c: Likewise.
48581 * math/e_lgammal_r.c: Likewise.
48582 * math/e_rem_pio2l.c: Likewise.
48583 * math/e_scalb.c: Likewise.
48584 * math/e_scalbf.c: Likewise.
48585 * math/e_scalbl.c: Likewise.
48586 * math/k_cosl.c: Likewise.
48587 * math/k_sinl.c: Likewise.
48588 * math/k_tanl.c: Likewise.
48589 * math/s_cacoshf.c: Likewise.
48590 * math/s_catan.c: Likewise.
48591 * math/s_catanf.c: Likewise.
48592 * math/s_catanh.c: Likewise.
48593 * math/s_catanhf.c: Likewise.
48594 * math/s_catanhl.c: Likewise.
48595 * math/s_catanl.c: Likewise.
48596 * math/s_ccosh.c: Likewise.
48597 * math/s_ccoshf.c: Likewise.
48598 * math/s_ccoshl.c: Likewise.
48599 * math/s_cexp.c: Likewise.
48600 * math/s_cexpf.c: Likewise.
48601 * math/s_cexpl.c: Likewise.
48602 * math/s_clog.c: Likewise.
48603 * math/s_clog10.c: Likewise.
48604 * math/s_clog10f.c: Likewise.
48605 * math/s_clog10l.c: Likewise.
48606 * math/s_clogf.c: Likewise.
48607 * math/s_clogl.c: Likewise.
48608 * math/s_csin.c: Likewise.
48609 * math/s_csinf.c: Likewise.
48610 * math/s_csinh.c: Likewise.
48611 * math/s_csinhf.c: Likewise.
48612 * math/s_csinhl.c: Likewise.
48613 * math/s_csinl.c: Likewise.
48614 * math/s_csqrt.c: Likewise.
48615 * math/s_csqrtf.c: Likewise.
48616 * math/s_csqrtl.c: Likewise.
48617 * math/s_ctan.c: Likewise.
48618 * math/s_ctanf.c: Likewise.
48619 * math/s_ctanh.c: Likewise.
48620 * math/s_ctanhf.c: Likewise.
48621 * math/s_ctanhl.c: Likewise.
48622 * math/s_ctanl.c: Likewise.
48623 * math/s_ldexp.c: Likewise.
48624 * math/s_ldexpf.c: Likewise.
48625 * math/s_ldexpl.c: Likewise.
48626 * math/s_significand.c: Likewise.
48627 * math/s_significandf.c: Likewise.
48628 * math/s_significandl.c: Likewise.
48629 * math/w_acos.c: Likewise.
48630 * math/w_acosf.c: Likewise.
48631 * math/w_acosh.c: Likewise.
48632 * math/w_acoshf.c: Likewise.
48633 * math/w_acoshl.c: Likewise.
48634 * math/w_acosl.c: Likewise.
48635 * math/w_asin.c: Likewise.
48636 * math/w_asinf.c: Likewise.
48637 * math/w_asinl.c: Likewise.
48638 * math/w_atan2.c: Likewise.
48639 * math/w_atan2f.c: Likewise.
48640 * math/w_atan2l.c: Likewise.
48641 * math/w_atanh.c: Likewise.
48642 * math/w_atanhf.c: Likewise.
48643 * math/w_atanhl.c: Likewise.
48644 * math/w_cosh.c: Likewise.
48645 * math/w_coshf.c: Likewise.
48646 * math/w_coshl.c: Likewise.
48647 * math/w_dremf.c: Likewise.
48648 * math/w_exp10.c: Likewise.
48649 * math/w_exp10f.c: Likewise.
48650 * math/w_exp10l.c: Likewise.
48651 * math/w_exp2.c: Likewise.
48652 * math/w_exp2f.c: Likewise.
48653 * math/w_fmod.c: Likewise.
48654 * math/w_fmodf.c: Likewise.
48655 * math/w_fmodl.c: Likewise.
48656 * math/w_hypot.c: Likewise.
48657 * math/w_hypotf.c: Likewise.
48658 * math/w_hypotl.c: Likewise.
48659 * math/w_j0.c: Likewise.
48660 * math/w_j0f.c: Likewise.
48661 * math/w_j0l.c: Likewise.
48662 * math/w_j1.c: Likewise.
48663 * math/w_j1f.c: Likewise.
48664 * math/w_j1l.c: Likewise.
48665 * math/w_jn.c: Likewise.
48666 * math/w_jnf.c: Likewise.
48667 * math/w_jnl.c: Likewise.
48668 * math/w_lgamma.c: Likewise.
48669 * math/w_lgamma_r.c: Likewise.
48670 * math/w_lgammaf.c: Likewise.
48671 * math/w_lgammaf_r.c: Likewise.
48672 * math/w_lgammal.c: Likewise.
48673 * math/w_lgammal_r.c: Likewise.
48674 * math/w_log.c: Likewise.
48675 * math/w_log10.c: Likewise.
48676 * math/w_log10f.c: Likewise.
48677 * math/w_log10l.c: Likewise.
48678 * math/w_log2.c: Likewise.
48679 * math/w_log2f.c: Likewise.
48680 * math/w_log2l.c: Likewise.
48681 * math/w_logf.c: Likewise.
48682 * math/w_logl.c: Likewise.
48683 * math/w_pow.c: Likewise.
48684 * math/w_powf.c: Likewise.
48685 * math/w_powl.c: Likewise.
48686 * math/w_remainder.c: Likewise.
48687 * math/w_remainderf.c: Likewise.
48688 * math/w_remainderl.c: Likewise.
48689 * math/w_scalb.c: Likewise.
48690 * math/w_scalbf.c: Likewise.
48691 * math/w_scalbl.c: Likewise.
48692 * math/w_sinh.c: Likewise.
48693 * math/w_sinhf.c: Likewise.
48694 * math/w_sinhl.c: Likewise.
48695 * math/w_sqrt.c: Likewise.
48696 * math/w_sqrtf.c: Likewise.
48697 * math/w_sqrtl.c: Likewise.
48698 * math/w_tgamma.c: Likewise.
48699 * math/w_tgammaf.c: Likewise.
48700 * math/w_tgammal.c: Likewise.
48701
48702 * po/ja.po: Update from translation team.
48703
48704 2011-09-29 Andreas Jaeger <aj@suse.de>
48705
48706 [BZ #13179]
48707 * sunrpc/netname.c (netname2host): Fix logic.
48708
48709 [BZ #6779]
48710 [BZ #6783]
48711 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
48712 correctly.
48713 * math/w_remainder.c (__remainder): Likewise.
48714 * math/w_remainderf.c (__remainderf): Likewise.
48715 * math/libm-test.inc (remainder_test): Add test cases.
48716
48717 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
48718
48719 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
48720 sdiv_qrnnd.
48721
48722 2011-10-07 Ulrich Drepper <drepper@gmail.com>
48723
48724 * string/test-memcmp.c: Avoid unncessary #defines.
48725 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
48726
48727 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
48728
48729 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
48730 Use new sse2 version for core i3 - i7 as it's faster
48731 than sse42 version.
48732 (bit_Prefer_PMINUB_for_stringop): New.
48733 * sysdeps/x86_64/rawmemchr.S: Update.
48734 Replace with faster SSE2 version.
48735 * sysdeps/x86_64/memrchr.S: New file.
48736 * sysdeps/x86_64/memchr.S: Update.
48737 Replace with faster SSE2 version.
48738
48739 2011-09-12 Marek Polacek <mpolacek@redhat.com>
48740
48741 * elf/dl-load.c (lose): Add cast to avoid warning.
48742
48743 2011-10-07 Ulrich Drepper <drepper@gmail.com>
48744
48745 * po/ca.po: Update from translation team.
48746
48747 * inet/getnetgrent_r.c: Hook up nscd.
48748 * nscd/Makefile (routines): Add nscd_netgroup.
48749 (nscd-modules): Add netgroupcache.
48750 (CFLAGS-netgroupcache.c): Define.
48751 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
48752 (cache_search): Add const to second parameter.
48753 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
48754 INNETGR.
48755 (dbs): Add netgrdb entry.
48756 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
48757 (verify_persistent_db): Handle netgrdb.
48758 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
48759 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
48760 GETFDNETGR.
48761 (netgroup_response_header): Define.
48762 (innetgroup_response_header): Define.
48763 (datahead): Add netgroup_response_header and innetgroup_response_header
48764 elements.
48765 * nscd/nscd.conf: Add entries for netgroup cache.
48766 * nscd/nscd.h (dbtype): Add netgrdb.
48767 (_PATH_NSCD_NETGROUP_DB): Define.
48768 (netgroup_iov_disabled): Declare.
48769 (xmalloc, xcalloc, xrealloc): Move declarations here.
48770 (cache_search): Adjust prototype.
48771 Add netgroup-related prototypes.
48772 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
48773 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
48774 (__nscd_innetgr): Declare.
48775 * nscd/selinux.c (perms): Use access_vector_t as element type and
48776 add netgroup-related initializers.
48777 * nscd/netgroupcache.c: New file.
48778 * nscd/nscd_netgroup.c: New file.
48779 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
48780 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
48781 For four parameters use innetgr.
48782 * nss/nss_files/files-init.c: Add definition and callback for netgr.
48783 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
48784 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
48785 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
48786
48787 * nscd/connections.c (register_traced_file): Don't register file
48788 for disabled databases.
48789
48790 2011-10-06 Ulrich Drepper <drepper@gmail.com>
48791
48792 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
48793
48794 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
48795 from tree and freeing node.
48796
48797 2011-09-25 Jiri Olsa <jolsa@redhat.com>
48798
48799 * nss/nsswitch.c (__nss_database_lookup): Handle
48800 nss_parse_service_list out of memory case.
48801
48802 2011-09-15 Jiri Olsa <jolsa@redhat.com>
48803
48804 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
48805 out of memory case.
48806
48807 2011-10-04 Andreas Schwab <schwab@redhat.com>
48808
48809 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
48810 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
48811 pass it down.
48812 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
48813 elf_machine_rela, elf_machine_lazy_rel.
48814 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
48815 (ELF_DYNAMIC_DO_REL): Likewise.
48816 (ELF_DYNAMIC_DO_RELA): Likewise.
48817 (ELF_DYNAMIC_RELOCATE): Likewise.
48818 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
48819 to ELF_DYNAMIC_DO_REL.
48820 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
48821 (dl_main): In trace mode always set __RTLD_NOIFUNC.
48822 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
48823 elf_machine_rela.
48824 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
48825 skip_ifunc, don't call ifunc function if non-zero.
48826 (elf_machine_rela): Likewise.
48827 (elf_machine_lazy_rel): Likewise.
48828 (elf_machine_lazy_rela): Likewise.
48829 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
48830 (elf_machine_lazy_rel): Likewise.
48831 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
48832 Likewise.
48833 (elf_machine_lazy_rel): Likewise.
48834 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
48835 Likewise.
48836 (elf_machine_lazy_rel): Likewise.
48837 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
48838 (elf_machine_lazy_rel): Likewise.
48839 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
48840 (elf_machine_lazy_rel): Likewise.
48841 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
48842 (elf_machine_lazy_rel): Likewise.
48843 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
48844 (elf_machine_lazy_rel): Likewise.
48845 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
48846 (elf_machine_lazy_rel): Likewise.
48847 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
48848 (elf_machine_lazy_rel): Likewise.
48849
48850 2011-09-28 Ulrich Drepper <drepper@gmail.com>
48851
48852 * nss/nss_files/files-init.c (_nss_files_init): Use static
48853 initialization for all the *_traced_file variables.
48854
48855 2011-09-28 Andreas Schwab <schwab@redhat.com>
48856
48857 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
48858
48859 2011-09-27 Roland McGrath <roland@hack.frob.com>
48860
48861 [BZ #13226]
48862 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
48863
48864 2011-09-27 Andreas Schwab <schwab@redhat.com>
48865
48866 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
48867 Reread the line before reparsing it.
48868
48869 2011-09-26 Andreas Schwab <schwab@redhat.com>
48870
48871 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
48872
48873 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
48874 Maxim Kuvyrkov <maxim@codesourcery.com>
48875 Joseph Myers <joseph@codesourcery.com>
48876
48877 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
48878 if needed for __stack_chk_guard.
48879
48880 2011-09-19 Roland McGrath <roland@hack.frob.com>
48881
48882 * sysdeps/posix/spawni.c (script_execute): Always define it.
48883 It will be optimized away if unused.
48884 (maybe_script_execute): New function.
48885 (__spawni): Call it.
48886
48887 * Makerules: Don't include tls.make.
48888 (config-tls): Always set to thread.
48889 * tls.make.c: File removed.
48890
48891 2011-09-19 Mike Frysinger <vapier@gentoo.org>
48892
48893 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
48894 * config.make.in (CPPFLAGS-config): New substituted variable.
48895
48896 2011-09-15 Ulrich Drepper <drepper@gmail.com>
48897
48898 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
48899
48900 [BZ #13192]
48901 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
48902 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
48903
48904 2011-09-15 Roland McGrath <roland@hack.frob.com>
48905
48906 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
48907 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
48908 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
48909 (CALL_FAIL): Likewise.
48910 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
48911 (CALL_FAIL): Macro removed.
48912 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
48913
48914 2011-09-15 Ulrich Drepper <drepper@gmail.com>
48915
48916 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
48917 for __FINITE_MATH_ONLY__ == 1.
48918
48919 2011-09-15 Andreas Schwab <schwab@redhat.com>
48920
48921 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
48922 __ieee754_sqrt instead of sqrt.
48923 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
48924 __ieee754_sqrtf instead of sqrtf.
48925 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
48926 __floorf instead of floorf.
48927 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
48928 __floorf, __truncf instead of floorf, truncf.
48929
48930 2011-09-14 Ulrich Drepper <drepper@gmail.com>
48931
48932 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
48933
48934 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
48935 __extern_always_inline.
48936 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
48937 32-bit.
48938
48939 2011-09-14 Andreas Schwab <schwab@redhat.com>
48940
48941 * elf/rtld.c (dl_main): Also relocate in dependency order when
48942 doing symbol dependency testing.
48943
48944 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
48945
48946 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
48947 Always define `refsym'.
48948
48949 2011-09-13 Andreas Schwab <schwab@redhat.com>
48950
48951 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
48952 (__FD_ELT): Renamed from __FDELT.
48953 * misc/bits/select2.h (__FD_ELT): Likewise.
48954 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
48955 __FD_MASK instead of __FDELT, __FDMASK.
48956 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
48957 Likewise.
48958 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
48959 Likewise.
48960
48961 * elf/Makefile (gen-ldd): Fix pattern.
48962
48963 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
48964 (init_tls): Likewise.
48965
48966 2011-09-12 Ulrich Drepper <drepper@gmail.com>
48967
48968 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
48969
48970 2011-09-12 Andreas Schwab <schwab@redhat.com>
48971
48972 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
48973 `struct cmsghdr *' instead of `void *'.
48974 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
48975 Likewise.
48976
48977 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
48978
48979 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
48980 if non-absolute.
48981 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
48982 ldd_rewrite_script.
48983
48984 2011-09-11 Ulrich Drepper <drepper@gmail.com>
48985
48986 * configure.in: Remove --with-tls option.
48987 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
48988 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
48989 out in case it is missing.
48990 * sysdeps/ia64/elf/configure.in: Likewise.
48991 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
48992 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
48993 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
48994 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
48995 * sysdeps/sh/elf/configure.in: Likewise.
48996 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
48997 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
48998 * sysdeps/x86_64/elf/configure.in: Likewise.
48999 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
49000 * sysdeps/mach/hurd/tls.h: Likewise.
49001
49002 [BZ #13067]
49003 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
49004
49005 [BZ #13090]
49006 * configure.in: Fix use of AC_INIT.
49007
49008 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
49009
49010 2011-09-10 Ulrich Drepper <drepper@gmail.com>
49011
49012 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
49013 __set_errno.
49014 * malloc/hooks.c: Likewise.
49015
49016 [BZ #11929]
49017 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
49018 variables statically.
49019 (narenas): Initialize.
49020 (list_lock): Initialize.
49021 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
49022 initializtion of main_arena and list_lock. Small cleanups.
49023 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
49024 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
49025 Add initializers to main_arena and mp_.
49026 (malloc_state): Remove pagesize member. Change all users to use
49027 GLRO(dl_pagesize).
49028
49029 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
49030 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
49031 is always initialized.
49032
49033 * malloc/malloc.c: Removed unused configurations and dead code.
49034 * malloc/arena.c: Likewise.
49035 * malloc/hooks.c: Likewise.
49036 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
49037
49038 * include/tls.h: Removed. USE___THREAD must always be defined.
49039 * bits/libc-tsd.h: Don't handle !USE___THREAD.
49040 * elf/dl-libc.c: Likewise.
49041 * elf/dl-tsd.c: Likewise.
49042 * include/errno.h: Likewise.
49043 * include/netdb.h: Likewise.
49044 * include/resolv.h: Likewise.
49045 * inet/herrno-loc.c: Likewise.
49046 * inet/herrno.c: Likewise.
49047 * malloc/arena.c: Likewise.
49048 * malloc/hooks.c: Likewise.
49049 * malloc/malloc.c: Likewise.
49050 * resolv/res-state.c: Likewise.
49051 * resolv/res_libc.c: Likewise.
49052 * sysdeps/i386/dl-machine.h: Likewise.
49053 * sysdeps/ia64/dl-machine.h: Likewise.
49054 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
49055 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
49056 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
49057 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
49058 * sysdeps/sh/dl-machine.h: Likewise.
49059 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
49060 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
49061 * sysdeps/unix/i386/sysdep.S: Likewise.
49062 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
49063 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
49064 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
49065 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
49066 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
49067 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
49068 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
49069 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
49070 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
49071 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
49072 * sysdeps/unix/x86_64/sysdep.S: Likewise.
49073 * sysdeps/x86_64/dl-machine.h: Likewise.
49074 * tls.make.c: Likewise.
49075
49076 * configure.in: Remove --with-__thread option. Make tests for
49077 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
49078 tls_model attribute fail if no support is available. Remove
49079 USE_IN_LIBIO.
49080 * Makeconfig: Adjust for dropped configure option. All features are
49081 now mandatory.
49082 * Makerules: Likewise.
49083 * Versions.def: Likewise.
49084 * argp/argp-fmtstream.c: Likewise.
49085 * argp/argp-fmtstream.h: Likewise.
49086 * argp/argp-help.c: Likewise.
49087 * assert/assert.c: Likewise.
49088 * config.h.in: Likewise.
49089 * config.make.in: Likewise.
49090 * configure: Likewise.
49091 * configure.in: Likewise.
49092 * csu/Versions: Likewise.
49093 * csu/init.c: Likewise.
49094 * elf/tst-audit2.c: Likewise.
49095 * elf/tst-tls10.c: Likewise.
49096 * elf/tst-tls10.h: Likewise.
49097 * elf/tst-tls11.c: Likewise.
49098 * elf/tst-tls12.c: Likewise.
49099 * elf/tst-tls14.c: Likewise.
49100 * elf/tst-tlsmod11.c: Likewise.
49101 * elf/tst-tlsmod12.c: Likewise.
49102 * elf/tst-tlsmod13.c: Likewise.
49103 * elf/tst-tlsmod13a.c: Likewise.
49104 * elf/tst-tlsmod14a.c: Likewise.
49105 * elf/tst-tlsmod15b.c: Likewise.
49106 * elf/tst-tlsmod16a.c: Likewise.
49107 * elf/tst-tlsmod16b.c: Likewise.
49108 * elf/tst-tlsmod7.c: Likewise.
49109 * elf/tst-tlsmod8.c: Likewise.
49110 * elf/tst-tlsmod9.c: Likewise.
49111 * gmon/gmon.c: Likewise.
49112 * grp/fgetgrent_r.c: Likewise.
49113 * grp/putgrent.c: Likewise.
49114 * hurd/fopenport.c: Likewise.
49115 * include/libc-symbols.h: Likewise.
49116 * include/tls.h: Likewise.
49117 * intl/gettextP.h: Likewise.
49118 * intl/loadinfo.h: Likewise.
49119 * locale/global-locale.c: Likewise.
49120 * locale/localeinfo.h: Likewise.
49121 * mach/devstream.c: Likewise.
49122 * malloc/arena.c: Likewise.
49123 * malloc/set-freeres.c: Likewise.
49124 * misc/err.c: Likewise.
49125 * misc/getttyent.c: Likewise.
49126 * misc/mntent_r.c: Likewise.
49127 * posix/getopt.c: Likewise.
49128 * posix/wordexp.c: Likewise.
49129 * pwd/fgetpwent_r.c: Likewise.
49130 * resolv/Versions: Likewise.
49131 * resolv/res_hconf.c: Likewise.
49132 * shadow/fgetspent_r.c: Likewise.
49133 * shadow/putspent.c: Likewise.
49134 * stdio-common/printf_fphex.c: Likewise.
49135 * stdio-common/tmpfile.c: Likewise.
49136 * stdlib/abort.c: Likewise.
49137 * stdlib/fmtmsg.c: Likewise.
49138 * sunrpc/auth_unix.c: Likewise.
49139 * sunrpc/clnt_perr.c: Likewise.
49140 * sunrpc/clnt_tcp.c: Likewise.
49141 * sunrpc/clnt_udp.c: Likewise.
49142 * sunrpc/clnt_unix.c: Likewise.
49143 * sunrpc/openchild.c: Likewise.
49144 * sunrpc/svc_simple.c: Likewise.
49145 * sunrpc/svc_tcp.c: Likewise.
49146 * sunrpc/svc_udp.c: Likewise.
49147 * sunrpc/svc_unix.c: Likewise.
49148 * sunrpc/xdr.c: Likewise.
49149 * sunrpc/xdr_array.c: Likewise.
49150 * sunrpc/xdr_rec.c: Likewise.
49151 * sunrpc/xdr_ref.c: Likewise.
49152 * sunrpc/xdr_stdio.c: Likewise.
49153
49154 2011-09-09 Ulrich Drepper <drepper@gmail.com>
49155
49156 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
49157
49158 2011-07-03 Andreas Jaeger <aj@suse.de>
49159
49160 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
49161 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
49162 regenerate with gen-libm-tests.pl.
49163
49164 2010-05-12 Petr Baudis <pasky@suse.cz>
49165
49166 [BZ #11589]
49167 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
49168 around j0() zero points by switching to j1().
49169 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
49170 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
49171 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
49172 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
49173
49174 2011-09-09 Ulrich Drepper <drepper@gmail.com>
49175
49176 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
49177 instead of 0.
49178 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
49179 instead of 0.
49180 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
49181 Patch in part by Pavel Roskin <proski@gnu.org>.
49182
49183 [BZ #13138]
49184 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
49185 realloc.
49186 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
49187 Free memory block if necessary.
49188
49189 [BZ #12847]
49190 * libio/genops.c (INTDEF): For string streams the _lock pointer can
49191 be NULL. Don't lock in this case.
49192
49193 2011-09-09 Roland McGrath <roland@hack.frob.com>
49194
49195 * elf/elf.h (ELFOSABI_GNU): New macro.
49196 (ELFOSABI_LINUX): Define to that.
49197
49198 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
49199
49200 * string/strncat.c (strncat): Undef the symbol in case it has been
49201 defined in bits/string.h.
49202
49203 2011-09-09 Ulrich Drepper <drepper@gmail.com>
49204
49205 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
49206
49207 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
49208 link map.
49209
49210 2011-08-17 Andreas Jaeger <aj@suse.de>
49211
49212 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
49213
49214 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
49215 Ian Lance Taylor <iant@google.com>
49216
49217 * math/libm-test.inc (lround_test): New testcase.
49218 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
49219
49220 2011-09-08 Ulrich Drepper <drepper@gmail.com>
49221
49222 * Makefile: Remove support for automatic cvs check-ins.
49223 * Makerules: Likewise.
49224 * config.make.in: Likewise.
49225 * configure.in: Likewise.
49226 * intl/Makefile: Likewise.
49227 * locale/Makefile: Likewise.
49228 * po/Makefile: Likewise.
49229 * posix/Makefile: Likewise.
49230 * sysdeps/gnu/Makefile: Likewise.
49231 * sysdeps/mach/hurd/Makefile: Likewise.
49232 * sysdeps/sparc/sparc32/Makefile: Likewise.
49233
49234 [BZ #13118]
49235 * posix/Makefile (bug-regex32-ENV): Define.
49236 Patch by John Stanley <jpsinthemix@verizon.net>.
49237
49238 * misc/Makefile (headers): Add bits/select2.h.
49239 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
49240 * misc/bits/select2.h: New file.
49241 * include/bits/select2.h: New file.
49242 * debug/Makefile (routines): Add fdelt_chk.
49243 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
49244 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
49245 FD_ISSET.
49246 * debug/fdelt_chk.c: New file.
49247
49248 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
49249 * wcsmbs/test-wmemcmp.c: Likewise.
49250 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
49251 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
49252
49253 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
49254
49255 * string/Makefile (strop-tests): Add memcmp.
49256 * string/test-wmemcmp.c: New file.
49257 * string/test-memcmp.c: Add wmemcmp support.
49258
49259 2011-09-08 Roland McGrath <roland@hack.frob.com>
49260
49261 [BZ #13153]
49262 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
49263 2011-07-19 change.
49264
49265 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
49266 garbage value in a __mach_port_mod_refs call in the cases of the
49267 task-self and thread-self ports.
49268
49269 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
49270
49271 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
49272
49273 2011-09-08 Andreas Schwab <schwab@redhat.com>
49274
49275 * elf/dl-load.c (lose): Check for non-null L.
49276
49277 2011-09-07 Ulrich Drepper <drepper@gmail.com>
49278
49279 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
49280
49281 * elf/dl-libc.c (dlerror_run): Pass back error code from
49282 dl_catch_error.
49283
49284 [BZ #13123]
49285 * elf/dl-load.c (lose): Free l_origin if it is valid.
49286
49287 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
49288 names.
49289 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
49290 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
49291 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
49292 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
49293 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
49294 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
49295
49296 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49297
49298 * sysdeps/powerpc/fpu/e_hypot.c: New file.
49299 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
49300 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
49301 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
49302 * sysdeps/powerpc/fpu/k_cosf.c: New file.
49303 * sysdeps/powerpc/fpu/k_sinf.c: New file.
49304 * sysdeps/powerpc/fpu/s_cosf.c: New file.
49305 * sysdeps/powerpc/fpu/s_sinf.c: New file.
49306 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
49307 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
49308
49309 2011-08-15 Alan Modra <amodra@gmail.com>
49310
49311 [BZ #13092]
49312 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
49313 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
49314 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
49315 ppc_mcount to static-only-routines.
49316 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
49317 __mcount_internal.
49318 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
49319 __mcount_internal with usual JUMPTARGET. Remove useless nop.
49320
49321 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
49322
49323 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
49324 for finite and infinity parameters.
49325
49326 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
49327
49328 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
49329 and add nop instructions for throughput optimization.
49330 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
49331
49332 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
49333
49334 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
49335 aligned copy for power7 with vector-scalar instructions.
49336 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
49337
49338 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
49339
49340 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
49341 AVX check.
49342
49343 2011-09-07 Andreas Schwab <schwab@redhat.com>
49344
49345 [BZ #13144]
49346 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
49347 last change.
49348
49349 2011-09-07 Ulrich Drepper <drepper@gmail.com>
49350
49351 * sysdeps/unix/sysv/linux/x86_64/init-first.c
49352 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
49353 syscall wrapper around clock_gettime in __vdso_clock_gettime.
49354 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
49355 clock_gettime.
49356
49357 2011-09-06 Ulrich Drepper <drepper@gmail.com>
49358
49359 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
49360 Forgot to demangle the pointer.
49361
49362 * sysdeps/i386/sysdep.h: Define atom_text_section.
49363 * sysdeps/x86_64/sysdep.h: Likewise.
49364 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
49365 section with atom_text_section.
49366 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
49367 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
49368 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
49369 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
49370 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
49371
49372 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
49373 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
49374 already be defined. Change to take two parameters and don't assign
49375 result to variable. Adjust all users.
49376 Define INTERNAL_GETTIME if not already defined.
49377 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
49378 call.
49379 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
49380 HAVE_CLOCK_GETTIME_VSYSCALL.
49381 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
49382
49383 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
49384 gettimeofday vsyscall, just use time.
49385
49386 2011-09-06 Andreas Schwab <schwab@redhat.com>
49387
49388 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
49389 <errno.h>.
49390
49391 2011-09-06 Ulrich Drepper <drepper@gmail.com>
49392
49393 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
49394 syscall on x86-64.
49395 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
49396 syscall.
49397 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
49398 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
49399 syscall if possible.
49400
49401 2011-09-05 Ulrich Drepper <drepper@gmail.com>
49402
49403 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
49404 e_ident. Don't pass to find_mapsXX.
49405 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
49406
49407 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
49408
49409 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
49410 strchr-sse2-no-bsf strrchr-sse2-no-bsf
49411 * sysdeps/x86_64/multiarch/strchr.S: Update.
49412 Check bit_slow_BSF bit.
49413 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
49414 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
49415 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
49416
49417 2011-09-05 Ulrich Drepper <drepper@gmail.com>
49418
49419 [BZ #13134]
49420 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
49421 before glibc 2.15.
49422 (tryshell): Define.
49423 (__spawni): Change last parameter to be flag. Test
49424 SPAWN_XFLAGS_USE_PATH flag to use path or not.
49425 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
49426 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
49427 * posix/spawni.c: Likewise.
49428 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
49429 * posix/spawnp.c: Likewise. Change normal version to use
49430 SPAWN_XFLAGS_USE_PATH.
49431 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
49432 SPAWN_XFLAGS_TRY_SHELL.
49433
49434 [BZ #13150]
49435 * posix/glob.h: Remove gcc 1.x support.
49436
49437 [BZ #13068]
49438 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
49439
49440 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
49441
49442 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
49443 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
49444 strrchr-sse2-bsf
49445 * sysdeps/i386/i686/multiarch/strchr.S: New file.
49446 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
49447 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
49448 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
49449 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
49450 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
49451
49452 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
49453
49454 * sysdeps/x86_64/wcscmp.S: New file.
49455
49456 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
49457 wcscmp-c wcscmp-sse2
49458 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
49459 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
49460 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
49461 * wcsmbs/wcscmp.c: Allow renaming.
49462
49463 2011-09-05 David S. Miller <davem@davemloft.net>
49464
49465 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
49466 stack slot, rather than the struct return pointer slot.
49467 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
49468 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
49469 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
49470 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
49471
49472 2011-09-05 Ulrich Drepper <drepper@gmail.com>
49473
49474 * po/ja.po: Update from translation team.
49475
49476 [BZ #13144]
49477 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
49478 kernel in 64-bit binaries.
49479
49480 2011-09-01 David S. Miller <davem@davemloft.net>
49481
49482 * elf/elf.h (HWCAP_SPARC_*): Move to..
49483 * sysdeps/sparc/sysdep.h: this new file and add new values.
49484 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
49485 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
49486 _DL_HWCAP_COUNT to 24.
49487 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
49488 entries.
49489 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
49490 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
49491 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
49492 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
49493 instead of magic constants.
49494 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
49495
49496 2011-08-31 David S. Miller <davem@davemloft.net>
49497
49498 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
49499 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
49500 Reimplement to do errno handling inline.
49501 (SYSCALL_ERROR_HANDLER): New macro.
49502 (__SYSCALL_STRING): Do not do errno handling in asm.
49503 (__CLONE_SYSCALL_STRING): Delete.
49504 (__INTERNAL_SYSCALL_STRING): Delete.
49505 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
49506 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
49507 (PSEUDO): Reimplement to do errno handling inline.
49508 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
49509 (SYSCALL_ERROR_HANDLER): New macro.
49510 (__SYSCALL_STRING): Do not do errno handling in asm.
49511 (__CLONE_SYSCALL_STRING): Delete.
49512 (__INTERNAL_SYSCALL_STRING): Delete.
49513 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
49514 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
49515 i386.
49516 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
49517 (inline_syscall*): Add 'err' argument.
49518 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
49519 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
49520 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
49521 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
49522
49523 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
49524 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
49525
49526 2011-08-30 Andreas Schwab <schwab@redhat.com>
49527
49528 * elf/rtld.c (dl_main): Relocate objects in dependency order.
49529
49530 2011-08-29 Jiri Olsa <jolsa@redhat.com>
49531
49532 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
49533 directive.
49534
49535 2011-08-24 David S. Miller <davem@davemloft.net>
49536
49537 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
49538
49539 2011-08-24 Andreas Schwab <schwab@redhat.com>
49540
49541 * elf/Makefile: Add rules to build and run unload8 test.
49542 * elf/unload8.c: New file.
49543 * elf/unload8mod1.c: New file.
49544 * elf/unload8mod1x.c: New file.
49545 * elf/unload8mod2.c: New file.
49546 * elf/unload8mod3.c: New file.
49547
49548 * elf/dl-close.c (_dl_close_worker): Reset private search list if
49549 it wasn't used.
49550
49551 2011-08-23 David S. Miller <davem@davemloft.net>
49552
49553 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
49554 subtract stack bias.
49555 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
49556 %sp not %fp in calculations.
49557 (_JMPBUF_UNWINDS_ADJ): Likewise.
49558
49559 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
49560 (aio_suspend): Call it to force an exception region around the
49561 AIO_MISC_WAIT() invocation.
49562
49563 2011-08-23 Andreas Schwab <schwab@redhat.com>
49564
49565 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
49566 backslash.
49567
49568 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
49569
49570 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
49571 protection macro.
49572 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
49573 and <dl-machine.h>.
49574 (Elf64_FuncDesc): Remove.
49575
49576 2011-08-22 David S. Miller <davem@davemloft.net>
49577
49578 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
49579 sigaltstack check, add missing cfi directives.
49580 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
49581 missing cfi directives, and sigaltstack handling.
49582
49583 2011-08-16 Andreas Schwab <schwab@redhat.com>
49584
49585 [BZ #11724]
49586 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
49587 object is seen twice.
49588 * elf/dl-fini.c (_dl_sort_fini): Likewise.
49589
49590 * elf/Makefile (distribute): Add tst-initorder2.c.
49591 (tests): Add tst-initorder2.
49592 (modules-names): Add tst-initorder2a tst-initorder2b
49593 tst-initorder2c tst-initorder2d. Add rules to build them.
49594 ($(objpfx)tst-initorder2.out): New rule.
49595 * elf/tst-initorder2.c: New file.
49596 * elf/tst-initorder2.exp: New file.
49597
49598 2011-08-22 Andreas Schwab <schwab@redhat.com>
49599
49600 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
49601
49602 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
49603 dependencies back to end of function.
49604
49605 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
49606 $(elfobjdir)/ld.so.
49607
49608 2011-08-21 Ulrich Drepper <drepper@gmail.com>
49609
49610 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
49611 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
49612 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
49613 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
49614 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
49615 of __vdso_gettimeofday.
49616 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
49617 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
49618 attribute_hidden.
49619 (_libc_vdso_platform_setup): Remove initialization of
49620 __vdso_gettimeofday and __vdso_time.
49621
49622 2011-08-20 Ulrich Drepper <drepper@gmail.com>
49623
49624 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
49625 and fgetc_unlocked.
49626 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
49627 getc_unlocked.
49628
49629 * elf/dl-open.c (add_to_global): Report additions to the global scope
49630 for LD_DEBUG=scopes.
49631 (dl_open_worker): Also print scope of newly loaded dependencies.
49632 (_dl_show_scope): Indicate if there is no scope.
49633
49634 [BZ #13114]
49635 * stdio-common/Makefile (tests): Add bug24.
49636 * stdio-common/bug24.c: New file.
49637
49638 2011-08-19 Andreas Jaeger <aj@suse.de>
49639
49640 [BZ #13114]
49641 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
49642 non-existant file when using close-on-exec mode.
49643
49644 2011-08-20 Ulrich Drepper <drepper@gmail.com>
49645
49646 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
49647 the very first instruction.
49648
49649 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
49650 the CFI state in the end.
49651 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
49652 inclusion of dl-trampoline.h.
49653 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
49654
49655 2011-08-19 Andreas Schwab <schwab@redhat.com>
49656
49657 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
49658 expectations for long double.
49659
49660 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
49661 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
49662
49663 2011-08-14 David S. Miller <davem@davemloft.net>
49664
49665 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
49666 artificual limit depends upon the system page size.
49667
49668 2011-08-17 Ulrich Drepper <drepper@gmail.com>
49669
49670 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
49671 * resolv/Makefile: Define CFLAGS-libresolv.
49672
49673 2011-08-17 Andreas Schwab <schwab@redhat.com>
49674
49675 * nss/makedb.c (compute_tables): Make variables used in nested
49676 function static.
49677
49678 2011-08-17 Ulrich Drepper <drepper@gmail.com>
49679
49680 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
49681 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
49682 if buffer was too small.
49683
49684 * elf/pldd.c (main): Attach to all threads in the process.
49685 Rewrite /proc handling to use *at functions.
49686
49687 2011-08-16 Ulrich Drepper <drepper@gmail.com>
49688
49689 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
49690 specifies first scope to show.
49691 (dl_open_worker): Update callers. Move printing scope of new
49692 object to before the relocation.
49693 * elf/rtld.c (dl_main): Update _dl_show_scope call.
49694 * sysdeps/generic/ldsodefs.h: Update declaration.
49695
49696 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
49697 string for the scope number.
49698
49699 2011-08-14 Ulrich Drepper <drepper@gmail.com>
49700
49701 * nscd/servicescache.c (cache_addserv): Make sure written is always
49702 initialized.
49703
49704 2011-08-14 Roland McGrath <roland@hack.frob.com>
49705
49706 * sysdeps/i386/i486/bits/atomic.h
49707 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
49708 statement expression, so as to suppress "set but not used" warning.
49709 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
49710
49711 * string/strncat.c (STRNCAT): Use prototype definition.
49712
49713 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
49714 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
49715 -Iprograms here.
49716 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
49717 (localedef-modules): Add localedef.
49718 (locale-modules): Add locale.
49719
49720 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
49721 * elf/rtld.c (dl_main): Invert order of assignment in last change,
49722 to avoid a warning.
49723
49724 2011-08-14 David S. Miller <davem@davemloft.net>
49725
49726 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
49727 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
49728
49729 2011-08-13 Ulrich Drepper <drepper@gmail.com>
49730
49731 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
49732 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
49733 * elf/rtld.c (dl_main): Set l_name of vDSO.
49734 Call _dl_show_scope when DL_DEBUG_SCOPES.
49735 (process_dl_debug): Recognize scopes flag and also set it for all.
49736 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
49737 Declare _dl_show_scope.
49738
49739 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
49740 (do_dlopen): Pass caller_dlopen to dl_open.
49741 (__libc_dlopen_mode): Initialize caller_dlopen.
49742
49743 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
49744 of libc. Make tolower call locale-independent. Optimize a bit by
49745 using isdigit instead of isalnum.
49746 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
49747
49748 2011-08-12 Ulrich Drepper <drepper@gmail.com>
49749
49750 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
49751 was a dependency or dynamically loaded.
49752
49753 2011-08-11 Ulrich Drepper <drepper@gmail.com>
49754
49755 * intl/l10nflist.c: Allow architecture-specific pop function.
49756 * sysdeps/x86_64/l10nflist.c: New file.
49757
49758 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
49759 classification.
49760
49761 2011-08-10 Andreas Schwab <schwab@redhat.com>
49762
49763 * include/dirent.h: Add libc_hidden_proto for scandirat and
49764 scandirat64. Don't declare __scandirat64.
49765 * dirent/scandirat.c: Add libc_hidden_def.
49766 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
49767 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
49768
49769 2011-08-10 David S. Miller <davem@davemloft.net>
49770
49771 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
49772 enum.
49773 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
49774 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
49775 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
49776
49777 2011-08-09 Ulrich Drepper <drepper@gmail.com>
49778
49779 * Versions.def [libc]: Add GLIBC_2.15.
49780 * dirent/Makefile (routines): Add scandirat and scandirat64.
49781 * dirent/Versions [libc]: Export scandirat and scandirat64 for
49782 GLIBC_2.15.
49783 * dirent/dirent.h: Declare scandirat and scandirat64.
49784 * dirent/scandirat.c: New file.
49785 * dirent/scandirat64.c: New file.
49786 * sysdeps/wordsize-64/scandirat.c: New file.
49787 * sysdeps/wordsize-64/scandirat64.c: New file.
49788 * dirent/opendir.c: Define opendirat.
49789 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
49790 using scandirat.
49791 * dirent/scandir64.c: Adjust for scandir.c change.
49792 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
49793 __scandirat64, and __scandir_cancel_handler.
49794 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
49795 additional parameter and use openat instead of open (outside of ld.so).
49796 Add new __opendir as wrapper around __opendirat.
49797 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
49798 here without requiring old scandirat implementation.
49799
49800 2011-08-08 Ulrich Drepper <drepper@gmail.com>
49801
49802 * dirent/scandir.c (cancel_handler): Renamed to
49803 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
49804 defined. Adjust users.
49805 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
49806 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
49807
49808 2011-08-04 Ulrich Drepper <drepper@gmail.com>
49809
49810 * string/test-string.h (IMPL): Use __STRING to expand name and then
49811 stringify it.
49812
49813 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
49814 of cleanups.
49815
49816 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
49817
49818 * string/Makefile: Update.
49819 (strop-tests): Append strncat.
49820 * string/test-wcscmp.c: New file.
49821 New comprehensive test for wcscmp.
49822 * string/test-strcmp.c: Update.
49823 (WIDE): New define.
49824
49825 2011-07-22 Andreas Schwab <schwab@redhat.com>
49826
49827 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
49828 line.
49829
49830 2011-07-26 Andreas Schwab <schwab@redhat.com>
49831
49832 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
49833 encoding to ACE if AI_IDN.
49834
49835 2011-08-01 Jakub Jelinek <jakub@redhat.com>
49836
49837 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
49838 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
49839
49840 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
49841
49842 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
49843 Fix overflow bug in strncat.
49844 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
49845
49846 * string/test-strncat.c: Update.
49847 Add new tests for checking overflow bugs.
49848
49849 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
49850
49851 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
49852 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
49853 * sysdeps/i386/i686/multiarch/strcat.S: New file.
49854 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
49855 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
49856 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
49857 * sysdeps/i386/i686/multiarch/strncat.S: New file.
49858 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
49859 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
49860
49861 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
49862 (USE_AS_STRCAT): Define.
49863 Add strcat and strncat support.
49864 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
49865
49866 2011-07-25 Andreas Schwab <schwab@redhat.com>
49867
49868 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
49869 __n bigger than INT_MAX+1.
49870 (__strncmp_g): Likewise.
49871
49872 2011-07-23 Ulrich Drepper <drepper@gmail.com>
49873
49874 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
49875 * libio/stido.h: Likewise.
49876
49877 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
49878 (AF_NFC): Define.
49879 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
49880 (AF_NFC): Define.
49881
49882 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
49883 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
49884 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
49885 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
49886 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
49887
49888 [BZ #13021]
49889 * scripts/test-installation.pl: Don't expect libnss_test1 to be
49890 installed.
49891
49892 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
49893 typo.
49894 (_dl_x86_64_save_sse): Likewise.
49895
49896 2011-07-22 Ulrich Drepper <drepper@gmail.com>
49897
49898 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
49899 OSXSAVE.
49900 (_dl_x86_64_save_sse): Likewise.
49901
49902 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
49903
49904 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
49905
49906 2011-07-21 Andreas Schwab <schwab@redhat.com>
49907
49908 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
49909 change.
49910 (_dl_x86_64_save_sse): Use correct AVX check.
49911
49912 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
49913
49914 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
49915 bug in strncpy/strncat.
49916 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
49917
49918 2011-07-21 Ulrich Drepper <drepper@gmail.com>
49919
49920 * string/tester.c (test_strcat): Add tests for different alignments
49921 of source and destination.
49922 (test_strncat): Likewise.
49923
49924 2011-07-20 Ulrich Drepper <drepper@gmail.com>
49925
49926 [BZ #12852]
49927 * posix/glob.c (glob): Check passed in values before using them in
49928 expressions to avoid some overflows.
49929 (glob_in_dir): Likewise.
49930
49931 [BZ #13007]
49932 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
49933 check for AVX enablement so that we don't crash with old kernels and
49934 new hardware.
49935 * elf/tst-audit4.c: Add same checks here.
49936 * elf/tst-audit6.c: Likewise.
49937
49938 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
49939
49940 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
49941
49942 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
49943
49944 2011-07-20 Ulrich Drepper <drepper@gmail.com>
49945
49946 * po/cs.po: Update from translation team.
49947 * po/bg.po: Likewise.
49948
49949 2011-07-12 Marek Polacek <mpolacek@redhat.com>
49950
49951 * misc/sys/cdefs.h: Add support for const attribute.
49952 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
49953 to gnu_dev_{major,minor,makedev} functions.
49954
49955 2011-07-20 Marek Polacek <mpolacek@redhat.com>
49956
49957 * intl/dcigettext.c (get_output_charset): Add missing bracket.
49958
49959 2011-07-20 Andreas Schwab <schwab@redhat.com>
49960
49961 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
49962 strlen results.
49963
49964 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
49965
49966 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
49967 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
49968 register in order to avoid conflicts with the soft frame pointer
49969 being held in r11 when necessary.
49970 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
49971 (INTERNAL_VSYSCALL_NCS): Likewise.
49972
49973 2011-07-14 Marek Polacek <mpolacek@redhat.com>
49974
49975 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
49976 * elf/dl-fini.c (_dl_fini): Adjust caller.
49977 * elf/dl-close.c (_dl_close_worker): Likewise.
49978 * sysdeps/generic/ldsodefs.h: Adjust declaration.
49979
49980 2011-07-15 Marek Polacek <mpolacek@redhat.com>
49981
49982 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
49983 "aux_cache->nlibs < 0".
49984
49985 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
49986 in the reload-count case.
49987
49988 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
49989
49990 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
49991 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
49992 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
49993 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
49994 * sysdeps/x86_64/multiarch/strcat.S: New file.
49995 * sysdeps/x86_64/multiarch/strncat.S: New file.
49996 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
49997 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
49998 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
49999 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
50000 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
50001 (USE_AS_STRCAT): Define.
50002 Add strcat and strncat support.
50003 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
50004 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
50005 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
50006 * string/strncat.c: Update.
50007 (USE_AS_STRNCAT): Define.
50008 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
50009 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
50010 and i7.
50011 * sysdeps/x86_64/multiarch/init-arch.h
50012 (bit_Prefer_PMINUB_for_stringop): New.
50013 (index_Prefer_PMINUB_for_stringop): Likewise.
50014 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
50015 bit_Prefer_PMINUB_for_stringop.
50016
50017 2011-07-19 Ulrich Drepper <drepper@gmail.com>
50018
50019 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
50020 buffer64.
50021 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
50022 of casting of buffer.
50023 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
50024 buffer32 and buffer64.
50025 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
50026 writes instead of casting of buffer.
50027 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
50028 buffer32.
50029 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
50030 casting of buffer.
50031
50032 2011-07-19 Andreas Schwab <schwab@redhat.com>
50033
50034 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
50035
50036 2011-07-19 Ulrich Drepper <drepper@gmail.com>
50037
50038 * nscd/nscd.c (termination_handler): Don't do anything for a database
50039 if it has not yet been initialized.
50040
50041 2011-07-18 Ulrich Drepper <drepper@gmail.com>
50042
50043 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
50044
50045 2011-07-15 Marek Polacek <mpolacek@redhat.com>
50046
50047 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
50048
50049 2011-07-18 Ulrich Drepper <drepper@gmail.com>
50050
50051 * po/nl.po: Update from translation team.
50052 * po/sv.po: Likewise.
50053
50054 2011-07-16 Roland McGrath <roland@hack.frob.com>
50055
50056 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
50057 now disallowed by GCC.
50058
50059 * configure.in (use-default-link): Default to yes if a test -shared
50060 link meets our qualifications.
50061 * configure: Regenerated.
50062
50063 * config.make.in (output-format): New variable.
50064 * configure.in: Check for ld --print-output-format support.
50065 * configure: Regenerated.
50066 * Makerules ($(common-objpfx)format.lds)
50067 [$(output-format) != unknown]: Just use $(output-format),
50068 instead of the linker-script munging.
50069
50070 2011-07-14 Roland McGrath <roland@hack.frob.com>
50071
50072 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
50073 of $(common-objpfx)shlib.lds.
50074 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
50075
50076 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
50077 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
50078
50079 * configure.in (-z relro check): Adjust test code to add a large
50080 writable data section after it.
50081 * configure: Regenerated.
50082
50083 2011-07-11 Roland McGrath <roland@hack.frob.com>
50084
50085 * configure.in (-z relro check): Fix test code to make the variable
50086 truly const.
50087 * configure: Regenerated.
50088
50089 2011-07-11 Ulrich Drepper <drepper@gmail.com>
50090
50091 * nscd/nscd.h (struct traced_file): Define.
50092 (struct database_dyn): Remove inotify_descr, reset_res, and filename
50093 elements. Add traced_files.
50094 (inotify_fd): Declare.
50095 (register_traced_file): Declare.
50096 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
50097 (inotify_fd): Export.
50098 (resolv_conf_descr): Remove.
50099 (nscd_init): Move inotify descriptor creation to main.
50100 Don't register files for notification here.
50101 (register_traced_file): New function.
50102 (invalidate_cache): Don't use reset_res to determine whether to call
50103 res_init, go through the list of registered files.
50104 (main_loop_poll): The inotify descriptors are now stored in the
50105 structures for the traced files.
50106 (main_loop_epoll): Likewise
50107 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
50108 to __nss_disable_nscd.
50109 * nscd/cache.c (prune_cache): There is no single inotify descriptor
50110 for a database anymore. Check the records for all the registered
50111 files instead.
50112 * nss/Makefile (libnss_files-routines): Add files-init.
50113 (libnss_db-routines): Add db-init.
50114 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
50115 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
50116 * nss/nss_db/db-init.c: New file.
50117 * nss/nss_files/files-init.c: New file.
50118 * nss/nsswitch.c (nss_load_library): New function. Broken out of
50119 __nss_lookup_function.
50120 (__nss_lookup_function): Call nss_load_library.
50121 (nss_load_all_libraries): New function.
50122 (__nss_disable_nscd): Take parameter with callback function for files
50123 to register. Set is_nscd. Load all the DSOs for the NSS modules
50124 used for the cached services.
50125 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
50126 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
50127 options for features to all the files in nscd.
50128
50129 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
50130
50131 2011-07-10 Roland McGrath <roland@hack.frob.com>
50132
50133 * csu/elf-init.c (__libc_csu_init): Comment typo.
50134
50135 2011-07-09 Ulrich Drepper <drepper@gmail.com>
50136
50137 * po/pl.po: Update from translation team.
50138 * po/ja.po: Likewise.
50139 * po/ru.po: Likewise.
50140 * po/ko.po: Likewise.
50141 * po/fr.po: Likewise.
50142
50143 2011-07-09 Roland McGrath <roland@hack.frob.com>
50144
50145 * configure.in (.ctors/.dtors header and trailer check):
50146 Use an empirical test on a built program.
50147 * configure: Regenerated.
50148
50149 * configure.in (-z relro check): Use an empirical test on a built DSO.
50150 Detect, but do not require, on ia64.
50151 * configure: Regenerated.
50152
50153 * configure.in (READELF): Find it with AC_CHECK_TOOL.
50154 Update tests that use readelf to use $READELF instead.
50155 * configure: Regenerated.
50156
50157 2011-07-08 Ulrich Drepper <drepper@gmail.com>
50158
50159 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
50160 if the result is not used.
50161
50162 2011-07-05 Andreas Jaeger <aj@suse.de>
50163
50164 [BZ#9696]
50165 * stdlib/tst-strtod.c: Add testcase.
50166
50167 2011-07-07 Ulrich Drepper <drepper@gmail.com>
50168
50169 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
50170 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
50171 The latter has a higher limit. Take additional parameter to pass to
50172 the new function.
50173 (__pathconf): Pass file to __statfs_link_max.
50174 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
50175 __statfs_link_max.
50176 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
50177 __statfs_link_max.
50178
50179 [BZ #12868]
50180 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
50181 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
50182 Handle Lustre.
50183 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
50184 (__statfs_filesize_max): Likewise.
50185 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
50186
50187 2011-07-05 Andreas Jaeger <aj@suse.de>
50188
50189 * resolv/res_comp.c (dn_skipname): Remove unused variable.
50190
50191 2011-07-06 Marek Polacek <mpolacek@redhat.com>
50192
50193 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
50194 `status' variable.
50195 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
50196 Likewise.
50197
50198 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
50199
50200 * Makefile (strop-tests): Add strncat.
50201 * string/test-strncat.c: New file.
50202
50203 2011-06-30 Marek Polacek <mpolacek@redhat.com>
50204
50205 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
50206
50207 2011-06-21 Andreas Jaeger <aj@suse.de>
50208
50209 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
50210 Copy rule from iconvdata/Makefile.
50211
50212 2011-07-06 Ulrich Drepper <drepper@gmail.com>
50213
50214 [BZ #12922]
50215 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
50216 but no long options are defined, just return 'W'.
50217
50218 2011-06-22 Marek Polacek <mpolacek@redhat.com>
50219
50220 [BZ #9696]
50221 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
50222
50223 2011-07-06 Ulrich Drepper <drepper@gmail.com>
50224
50225 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
50226 netgroups to read.
50227 (innetgr): Likewise.
50228
50229 2011-07-05 Roland McGrath <roland@hack.frob.com>
50230
50231 * config.make.in (install_root): Default to $(DESTDIR).
50232
50233 2011-07-05 Ulrich Drepper <drepper@gmail.com>
50234
50235 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
50236
50237 2011-07-02 Roland McGrath <roland@hack.frob.com>
50238
50239 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
50240
50241 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
50242 containing directory rather than embedding absolute directory names.
50243
50244 * scripts/check-local-headers.sh: Rewritten using awk.
50245 Match by word, not by line. Print error messages for matches.
50246 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
50247
50248 * Makerules [shlib-lds-flags empty]:
50249 ($(common-objpfx)libc_pic.opts): New target.
50250 ($(common-objpfx)libc_pic.os.clean): New target.
50251 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
50252
50253 * config.make.in (OBJCOPY): New variable.
50254 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
50255 * configure: Regenerated.
50256
50257 * config.make.in (use-default-link): New variable.
50258 * configure.in (use_default_link): Grok --with-default-link to set it.
50259 * configure: Regenerated.
50260 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
50261 (shlib-lds, shlib-lds-flags): Define to empty.
50262
50263 * Makerules (shlib-lds): New variable.
50264 (shlib-lds-flags): New variable.
50265 (build-shlib, build-moduile, build-module-asneeded): Use it.
50266 ($(common-objpfx)libc.so): Use $(shlib-lds).
50267 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
50268 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
50269
50270 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
50271 DT_FLAGS/DT_FLAGS_1 with zero flags.
50272
50273 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
50274 linker script munging.
50275
50276 2011-07-02 Ulrich Drepper <drepper@gmail.com>
50277
50278 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
50279 as 128-bit value.
50280 * crypt/sha512.c (sha512_process_block): Perform total addition using
50281 128-bit if possible.
50282 (__sha512_finish_ctx): Likewise.
50283 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
50284 as 64-bit value.
50285 * crypt/sha256.c (SWAP64): Define.
50286 (sha256_process_block): Perform total addition using 64-bit if
50287 possible.
50288 (__sha256_finish_ctx): Likewise.
50289
50290 2011-07-01 Ulrich Drepper <drepper@gmail.com>
50291
50292 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
50293 * nscd/initgrcache.c (addinitgroupsX): Likewise.
50294 * nscd/hstcache.c (cache_addhst): Likewise.
50295 * nscd/grpcache.c (cache_addgr): Likewise.
50296 * nscd/aicache.c (addhstaiX): Likewise
50297 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
50298
50299 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
50300
50301 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
50302 * nscd/initgrcache.c (addinitgroupsX): Likewise.
50303 * nscd/hstcache.c (cache_addhst): Likewise.
50304 * nscd/grpcache.c (cache_addgr): Likewise.
50305 * nscd/aicache.c (addhstaiX): Likewise
50306
50307 2011-07-01 Andreas Schwab <schwab@redhat.com>
50308
50309 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
50310 domain only when needed.
50311
50312 2011-06-30 Andreas Schwab <schwab@redhat.com>
50313
50314 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
50315 is always restored.
50316
50317 2011-06-29 Ulrich Drepper <drepper@gmail.com>
50318
50319 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
50320 are re-adding the entry.
50321 * nscd/servicescache.c (cache_addserv): Likewise.
50322
50323 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
50324
50325 * sysdeps/generic/dl-irel.h: fix protection against multiple
50326 inclusions.
50327 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
50328
50329 2011-06-28 Ulrich Drepper <drepper@gmail.com>
50330
50331 [BZ #12935]
50332 * malloc/memusage.sh: Fix quoting in message.
50333 * debug/xtrace.sh: Likewise.
50334
50335 * configure.in: Remove support for --experimental-malloc option, make
50336 it the default.
50337 * config.make.in: Likewise.
50338 * malloc/Makefile: Likewise.
50339
50340 2011-06-27 Andreas Schwab <schwab@redhat.com>
50341
50342 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
50343 two-byte characters.
50344
50345 2011-06-27 Roland McGrath <roland@hack.frob.com>
50346
50347 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
50348 AC_CACHE_CHECK invocation.
50349 * configure: Regenerated.
50350
50351 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
50352
50353 2011-06-27 Ulrich Drepper <drepper@gmail.com>
50354
50355 [BZ #12350]
50356 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
50357 bit from old_res_options.
50358
50359 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
50360
50361 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
50362 value type for setfct.
50363
50364 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
50365
50366 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
50367 __gettimeofday instead of gettimeofday.
50368
50369 2011-06-26 Ulrich Drepper <drepper@gmail.com>
50370
50371 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
50372
50373 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
50374
50375 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
50376
50377 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
50378 info.
50379
50380 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
50381
50382 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
50383 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
50384 strcpy-sse2-unaligned strncpy-sse2-unaligned
50385 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
50386 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
50387 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
50388 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
50389 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
50390 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
50391 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
50392 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
50393 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
50394 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
50395 (STRCPY): Support SSE2 and SSSE3 versions.
50396
50397 2011-06-24 Ulrich Drepper <drepper@gmail.com>
50398
50399 [BZ #12874]
50400 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
50401 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
50402 kernels which artificially limit size of requests.
50403
50404 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
50405
50406 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
50407 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
50408 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
50409 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
50410 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
50411 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
50412 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
50413 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
50414 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
50415 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
50416 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
50417 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
50418 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
50419 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
50420 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
50421 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
50422 Enable unaligned load optimization for Intel Core i3, i5 and i7
50423 processors.
50424 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
50425 Define.
50426 (index_Fast_Unaligned_Load): Define.
50427 (HAS_FAST_UNALIGNED_LOAD): Define.
50428
50429 2011-06-23 Marek Polacek <mpolacek@redhat.com>
50430
50431 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
50432
50433 2011-06-22 Ulrich Drepper <drepper@gmail.com>
50434
50435 [BZ #12907]
50436 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
50437 until it is clear that the information is realy needed.
50438 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
50439
50440 2011-06-22 Andreas Schwab <schwab@redhat.com>
50441
50442 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
50443
50444 2011-06-22 Ulrich Drepper <drepper@gmail.com>
50445
50446 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
50447 /sys/devices/system/cpu/online if it is usable.
50448
50449 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
50450 reading the information from the /proc filesystem to once a second.
50451
50452 2011-06-21 Andreas Jaeger <aj@suse.de>
50453
50454 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
50455 NULL after inclusion of kernel headers.
50456
50457 2011-06-21 Ulrich Drepper <drepper@gmail.com>
50458
50459 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
50460 calls to internal_setent.
50461
50462 [BZ #12885]
50463 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
50464 addresses using gethostbyname4_r ignore IPv4 addresses.
50465
50466 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
50467 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
50468
50469 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
50470
50471 2011-06-20 David S. Miller <davem@davemloft.net>
50472
50473 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
50474 inclusions.
50475 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
50476
50477 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
50478 (elf_irel): Use it.
50479 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
50480 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
50481 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
50482 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
50483 * sysdeps/x86_64/dl-irel.h: Likewise.
50484
50485 * elf/dl-runtime.c: Use elf_ifunc_invoke.
50486 * elf/dl-sym.c: Likewise.
50487
50488 2011-06-15 Ulrich Drepper <drepper@gmail.com>
50489
50490 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
50491 need to dereference resplen2.
50492
50493 2011-06-14 Andreas Schwab <schwab@redhat.com>
50494
50495 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
50496
50497 2011-06-15 Ulrich Drepper <drepper@gmail.com>
50498
50499 * Makeconfig: Define vardbdir and inst_vardbdir.
50500 * nss/Makefile: Add rules to install db-Makefile.
50501
50502 * nss/nss_db/db-XXX.c: Cleanup.
50503
50504 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
50505 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
50506 GLIBC_PRIVATE.
50507 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
50508 * nss/makedb.c: Implement -g option to specify that value strings
50509 are generated and should not be added to table iterated over for
50510 get*ent calls.
50511 * nss/nss_db/db-initgroups.c: New file.
50512
50513 * nss/getent.c: Add support for initgroups lookups through getgrouplist
50514 interface.
50515
50516 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
50517 (internal_getgrouplist): Adjust to name change.
50518 Update use_initgroups_entry if this is not the first call.
50519 * nss/databases.def: Add initgroups entry.
50520
50521 * nss/makedb.c (compute_tables): Check result of multiple hash table
50522 sizes to minimize maximum chain length.
50523
50524 2011-06-14 Ulrich Drepper <drepper@gmail.com>
50525
50526 * Versions.def: Add entry for libnss_db.
50527 * shlib-versions: Likewise.
50528 * nss/Makefile: Add rules to build libnss_db.
50529 * nss/Versions: Add libnss_db information. Organize libnss_files
50530 entries better.
50531 * nss/db-Makefile: Add gshadow support. Change rules for the new
50532 makedb progra. Some minor improvements to generate smaller files.
50533 * nss/nss_db/nss_db.h: Move NSS database header data structures to
50534 here from...
50535 * nss/makedb.c: ...here.
50536 Improve database format to be smaller and require less memory at
50537 runtime.
50538 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
50539 db anymore.
50540 * nss/nss_db/db-netgrp.c: Likewise.
50541 * nss/nss_db/db-open.c: Likewise.
50542 * nss/nss_files/flies-XXX.x: Adjust comments.
50543 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
50544 * nss/nss_files/files-grp.c: Likewise.
50545 * nss/nss_files/files-hosts.c: Likewise.
50546 * nss/nss_files/files-network.c: Likewise.
50547 * nss/nss_files/files-proto.c: Likewise.
50548 * nss/nss_files/files-pwd.c: Likewise.
50549 * nss/nss_files/files-rpc.c: Likewise.
50550 * nss/nss_files/files-service.c: Likewise.
50551 * nss/nss_files/files-sgrp.c: Likewise.
50552 * nss/nss_files/files-spwd.c: Likewise.
50553 * nss/nss_db/db-alias.c: Removed.
50554 * nss/nss_db/dummy-db.h: Removed.
50555
50556 2011-06-02 Ulrich Drepper <drepper@gmail.com>
50557
50558 * nss/makedb.c: Rewritten to not use database library.
50559 * nss/Makefile: Update to build new makedb program.
50560
50561 2011-06-14 Andreas Jaeger <aj@suse.de>
50562
50563 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
50564 memset declaration.
50565
50566 2011-06-10 Andreas Schwab <schwab@redhat.com>
50567
50568 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
50569 tmpbuf.
50570
50571 2011-06-10 Roland McGrath <roland@hack.frob.com>
50572
50573 * Makerules (shlib.lds): Fail if the linker script comes out empty.
50574 * elf/Makefile ($(objpfx)ld.so): Likewise.
50575
50576 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
50577 Don't list ld.so twice in dependencies.
50578
50579 * posix/bug-regex31.c: Include <stdlib.h>.
50580
50581 * nscd/hstcache.c (cache_addhst): Remove unused variable.
50582
50583 * nis/nss_compat/compat-spwd.c
50584 (getspent_next_nss_netgr): Remove unused variable.
50585 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
50586
50587 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
50588 nonmembers" output to use the right array.
50589
50590 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
50591
50592 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
50593
50594 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
50595 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
50596 * catgets/gencat.c (read_input_file): Likewise.
50597 * locale/programs/locarchive.c (enlarge_archive): Likewise.
50598
50599 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
50600 variable definition inside #if's controlling its use.
50601
50602 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
50603
50604 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
50605
50606 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
50607
50608 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
50609 unreachable code.
50610
50611 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
50612
50613 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
50614 * configure: Regenerated.
50615
50616 * Makerules: Revert last change.
50617 * elf/Makefile: Likewise.
50618
50619 2011-06-09 Roland McGrath <roland@hack.frob.com>
50620
50621 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
50622 * elf/Makefile ($(objpfx)librtld.os): Likewise.
50623 (reloc-link): Likewise.
50624
50625 2011-06-09 Ulrich Drepper <drepper@gmail.com>
50626
50627 * elf/Makefile: Add rules to build pldd.
50628 * elf/pldd.c: New file.
50629 * elf/pldd-xx.c: New file.
50630
50631 2011-06-07 Ulrich Drepper <drepper@gmail.com>
50632
50633 * version.h: Update for 2.15 development version.
50634
50635 2011-06-07 David S. Miller <davem@davemloft.net>
50636
50637 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
50638 ifuncs.
50639 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
50640 elf_machine_lazy_rel): Likewise.
50641 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
50642 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
50643 elf_machine_lazy_rel): Likewise.
50644 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
50645 dl_hwcap via passed in argument.
50646 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
50647 Likewise.
50648
50649 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
50650
50651 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
50652
50653 2011-06-06 Roland McGrath <roland@hack.frob.com>
50654
50655 [BZ #12849]
50656 * manual/fdl-1.1.texi: New file, verbatim from:
50657 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
50658 * manual/lgpl-2.1.texi: New file, verbatim from:
50659 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
50660 * manual/Makefile (licenses): New variable, list those new file names.
50661 (texis): Use it.
50662 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
50663
50664 * manual/fdl.texi: File removed.
50665 * manual/lesser.texi: File removed.
50666 * manual/libc.texinfo (Copying, Documentation License):
50667 Use new @include file names, put @appendix directive before @include.
50668
50669 2011-06-04 Jakub Jelinek <jakub@redhat.com>
50670
50671 [BZ #12841]
50672 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
50673 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
50674 (mq_open): Add __NTH.
50675
50676 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
50677
50678 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
50679 Assume Intel Core i3/i5/i7 processor if AVX is available.
50680
50681 2011-05-31 Ulrich Drepper <drepper@gmail.com>
50682
50683 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
50684 typo.
50685
50686 2011-05-31 Andreas Schwab <schwab@redhat.com>
50687
50688 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
50689 memory. Use alloca_account. Fix memory leak when retrying.
50690
50691 2011-05-31 Ulrich Drepper <drepper@gmail.com>
50692
50693 * version.h (RELEASE): Bump for 2.14 release.
50694 * include/features.h (__GLIBC_MINOR__): Bump to 14.
50695
50696 * config.make.in (RANLIB): Remove entry.
50697
50698 2011-05-30 Ulrich Drepper <drepper@gmail.com>
50699
50700 * po/Makefile (po-sed-cmd): Add ksh to extensions.
50701 (libc.pot): Work around missing support for .ksh extension in xgettext.
50702
50703 [BZ #12684]
50704 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
50705 if both request failed.
50706 (send_dg): In case of server errors clear resplen or *resplen2.
50707
50708 [BZ #12454]
50709 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
50710 when there are multiple maps.
50711 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
50712 (_dl_fini): Remove test here.
50713
50714 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
50715
50716 2011-05-29 Ulrich Drepper <drepper@gmail.com>
50717
50718 [BZ #12350]
50719 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
50720 bit from old_res_options.
50721 (gaih_inet): Likewise.
50722
50723 [BZ #11099]
50724 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
50725 as signed.
50726
50727 * resolv/res_init.c (res_setoptions): Make the code more compact.
50728
50729 [BZ #11558]
50730 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
50731 set RES_USEVC.
50732
50733 [BZ #11634]
50734 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
50735
50736 * malloc/malloc.h: Mark malloc hook variables as deprecated.
50737
50738 [BZ #11781]
50739 * malloc/malloc.h: Declare malloc hook variables as volatile.
50740
50741 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
50742 in last patch.
50743
50744 [BZ #11799]
50745 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
50746 raise in the comment.
50747 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
50748 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
50749 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
50750
50751 2011-05-28 Ulrich Drepper <drepper@gmail.com>
50752
50753 [BZ #12811]
50754 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
50755 grow the buffers more if it already has to be sufficient.
50756 (build_wcs_upper_buffer): Likewise.
50757 * posix/regexec.c (check_matching): Likewise.
50758 (clean_state_log_if_needed): Likewise.
50759 (extend_buffers): Don't enlarge buffers beyond size of the input
50760 buffer.
50761 Patches mostly by Emil Wojak <emil@wojak.eu>.
50762 * posix/bug-regex32.c: New file.
50763 * posix/Makefile (tests): Add bug-regex32.
50764
50765 * locale/findlocale.c (_nl_find_locale): Return right away if
50766 _nl_explode_name failed.
50767 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
50768
50769 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
50770
50771 * debug/xtrace.sh: Unify messages.
50772 * malloc/memusage.sh: Likewise.
50773
50774 [BZ #12813]
50775 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
50776 time symbol from vDSO. Substitute with vsyscall if not available.
50777 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
50778 __vdso_time.
50779
50780 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
50781 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
50782 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
50783 Add sendmmsg and internal_sendmmsg.
50784 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
50785 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
50786 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
50787
50788 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
50789 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
50790 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
50791
50792 2011-05-27 Ulrich Drepper <drepper@gmail.com>
50793
50794 [BZ #12813]
50795 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
50796 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
50797 available.
50798 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
50799 __vdso_getcpu.
50800
50801 [BZ #12814]
50802 * iconvdata/Makefile (tests): Add bug-iconv9.
50803 * iconvdata/bug-iconv9.c: New file.
50804
50805 2011-05-27 Andreas Schwab <schwab@redhat.com>
50806
50807 [BZ #12814]
50808 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
50809
50810 2011-05-25 Jakub Jelinek <jakub@redhat.com>
50811
50812 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
50813 (struct user_regs_struct): Change intcs field back to cs.
50814
50815 2011-05-25 Ulrich Drepper <drepper@gmail.com>
50816
50817 * po/ja.po: Update from translation team.
50818
50819 2011-05-23 Ulrich Drepper <drepper@gmail.com>
50820
50821 [BZ #12795]
50822 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
50823 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
50824
50825 2011-05-20 Andreas Schwab <schwab@redhat.com>
50826
50827 * stdlib/longlong.h: Update from GCC.
50828
50829 2011-05-23 Andreas Schwab <schwab@redhat.com>
50830
50831 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
50832 parameter name.
50833 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
50834 Add parameter name.
50835 (__sysconf): Pass it down.
50836
50837 2011-05-22 Ulrich Drepper <drepper@gmail.com>
50838
50839 [BZ #12671]
50840 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
50841 some situations.
50842 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
50843 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
50844 add in in __libc_use_alloca calls. Adjust callers.
50845 (glob): Use malloc in some situations.
50846
50847 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
50848 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
50849 pltexit.
50850
50851 2011-05-21 Ulrich Drepper <drepper@gmail.com>
50852
50853 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
50854 and CLOCK_BOOTTIME_ALARM.
50855
50856 [BZ #12782]
50857 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
50858 is returned.
50859
50860 * string/_strerror.c (__strerror_r): Print negative errors as signed
50861 numbers.
50862
50863 [BZ #12777]
50864 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
50865 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
50866 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
50867
50868 * configure.in: Fix typo in redirection and correct removal of test
50869 files in two cases.
50870
50871 [BZ #12788]
50872 * locale/setlocale.c (new_composite_name): Fix test to check for
50873 identical name of all categories.
50874
50875 [BZ #12792]
50876 * libio/filedoalloc.c (local_isatty): New function.
50877 (_IO_file_doallocate): Use local_isatty.
50878 * stdio-common/perror.c (perror): In case a new stream is used
50879 forward the stream error.
50880 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
50881 error flag.
50882
50883 2011-05-20 Ulrich Drepper <drepper@gmail.com>
50884
50885 [BZ #11869]
50886 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
50887 alloca.
50888 * include/alloca.h (extend_alloca_account): Define.
50889
50890 [BZ #11857]
50891 * posix/regex.h: Fix comments with documentation of user-accessible
50892 fields after compilation and describe correct free'ing of pattern
50893 after re_compile_pattern.
50894 Patch by Reuben Thomas <rrt@sc3d.org>.
50895
50896 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
50897
50898 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
50899 and -mno-altivec to prevent the compiler from using Altivec and/or
50900 VSX instructions when the corresponding registers are not available.
50901
50902 2011-05-19 Andreas Schwab <schwab@redhat.com>
50903
50904 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
50905
50906 2011-05-19 Ulrich Drepper <drepper@gmail.com>
50907
50908 * libio/freopen.c (freopen): Use __dup2, not dup2.
50909 * libio/freopen64.c (freopen64): Likewise.
50910
50911 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
50912
50913 [BZ #12775]
50914 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
50915 * math/Makefile (tests): Add test-powl.
50916 (CFLAGS-test-powl.c): Define.
50917 * math/test-powl.c: New file.
50918
50919 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
50920
50921 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
50922
50923 2011-05-17 Ulrich Drepper <drepper@gmail.com>
50924
50925 [BZ #11837]
50926 * iconvdata/gb18030.c: Update to GB18020-2005.
50927
50928 2011-05-16 Ulrich Drepper <drepper@gmail.com>
50929
50930 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
50931 RE_SYNTAX_POSIX_AWK): Update to match recent development.
50932 Patch by Aharon Robbins <arnold@skeeve.com>.
50933
50934 [BZ #11892]
50935 * stdlib/putenv.c (putenv): Don't always create copy of the variable
50936 on the stack.
50937
50938 [BZ #11895]
50939 * misc/pselect.c (__pselect): Handle timeout value errors hidden
50940 through underflows.
50941
50942 [BZ #12766]
50943 * misc/error.c (error_at_line): Ensure file_name and old_file_name
50944 point to strings before performing equality test for error_one_per_line
50945 mode.
50946
50947 [BZ #11697]
50948 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
50949
50950 [BZ #11820]
50951 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
50952 (struct user_fpregs_struct): Avoid __uint*_t types.
50953
50954 [BZ #6420]
50955 * malloc/mtrace.c (tr_where): Add additional parameter to point to
50956 symbol info. Use it instead of calling _dl_addr locally.
50957 (lock_and_info): New function.
50958 (tr_freehook): Call lock_and_info and pass symbol info as additional
50959 parameter to tr_where.
50960 (tr_mallochook): Likewise.
50961 (tr_reallochook): Likewise.
50962 (tr_memalignhook): Likewise.
50963
50964 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
50965 used and couldn't be at all thread-safe.
50966
50967 2011-05-15 Ulrich Drepper <drepper@gmail.com>
50968
50969 * libio/freopen.c (freopen): Don't close old file descriptor
50970 before the new one is opened. Instead dup the new file descriptor
50971 to the old one after the new stream is created.
50972 * libio/freopen64.c (freopen64): Likewise.
50973 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
50974 * libio/fileops.c (_IO_new_file_close_it): Handle new
50975 _IO_FLAGS2_NOCLOSE flag.
50976 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
50977 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
50978 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
50979 _IO_FLAGS2_NOCLOSE flag.
50980 * include/unistd.h: Add hidden_proto for dup3.
50981 Define __have_dup3.
50982 * io/dup3.c: Define hidden symbol.
50983 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
50984
50985 [BZ #7101]
50986 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
50987 when an incomplete long option is used.
50988 * posix/tst-getopt_long1.c: New file.
50989 * posix/Makefile (tests): Add tst-getopt_long1.
50990
50991 [BZ #10138]
50992 * scripts/config.guess: Update from autoconf-2.68.
50993 * scripts/config.sub: Likewise.
50994
50995 [BZ #10157]
50996 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
50997 tests into ...
50998 (has_cpuclock): ...this. New function.
50999 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
51000 macro here based on has_cpuclock code.
51001
51002 [BZ #10149]
51003 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
51004 First byte (not low byte) is now always NUL.
51005 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
51006
51007 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
51008 Use non-cancelable interfaces.
51009
51010 [BZ #9809]
51011 * locale/iso-639.def: Add entry for Sorani.
51012
51013 [BZ #11901]
51014 * include/stdlib.h: Move include protection to the right place.
51015 Define abort_msg_s. Declare __abort_msg with it.
51016 * stdlib/abort.c (__abort_msg): Adjust type.
51017 * assert/assert.c (__assert_fail_base): New function. Majority
51018 of code from __assert_fail. Allocate memory for __abort_msg with
51019 mmap.
51020 (__assert_fail): Now call __assert_fail_base.
51021 * assert/assert-perr.c: Remove bulk of implementation. Use
51022 __assert_fail_base.
51023 * include/assert.hL Declare __assert_fail_base.
51024 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
51025 mmap.
51026 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
51027
51028 2011-05-14 Ulrich Drepper <drepper@gmail.com>
51029
51030 [BZ #11952]
51031 [BZ #12453]
51032 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
51033 until all modules are registered in the DTV.
51034 * elf/Makefile: Add rules to build and run tst-tls19.
51035 * elf/tst-tls19.c: New file.
51036 * elf/tst-tls19mod1.c: New file.
51037 * elf/tst-tls19mod2.c: New file.
51038 * elf/tst-tls19mod3.c: New file.
51039 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
51040
51041 [BZ #12083]
51042 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
51043 correctly.
51044
51045 [BZ #12601]
51046 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
51047 two-byte sequence errors.
51048 * iconvdata/Makefile (tests): Add bug-iconv8.
51049 * iconvdata/bug-iconv8.c: New file.
51050
51051 [BZ #12626]
51052 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
51053 buf2 definition.
51054
51055 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
51056
51057 [BZ #12432]
51058 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
51059 (dummy_getcfa): New function.
51060 (init): Get _Unwind_GetCFA address, use dummy if not found.
51061 (backtrace_helper): In recursion check, also check whether CFA changes.
51062 (__backtrace): Completely initialize arg.
51063
51064 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
51065 storing incomplete byte sequence in state object. Avoid testing for
51066 guaranteed too small input if we know there is enough data available.
51067
51068 2011-05-11 Andreas Schwab <schwab@redhat.com>
51069
51070 * Makeconfig (+link-pie): Indent.
51071 * Rules (binaries-pie): Define if $(have-fpie) and
51072 $(build-shared).
51073 (binaries-shared): Also filter out $(binaries-pie).
51074 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
51075 * nscd/Makefile (others-pie): Add nscd.
51076 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
51077 ($(objpfx)nscd): Remove command override.
51078 * login/Makefile (others-pie): Add pt_chown.
51079 ($(objpfx)pt_chown): Remove command override.
51080 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
51081 remove command overrides.
51082
51083 2011-05-13 Ulrich Drepper <drepper@gmail.com>
51084
51085 * libio/tst_putwc.c: Fix error messages.
51086
51087 [BZ #12724]
51088 * libio/fileops.c (_IO_new_file_close_it): Always flush when
51089 currently writing and seek to current position when not.
51090 * libio/Makefile (tests): Add bug-fclose1.
51091 * libio/bug-fclose1.c: New file.
51092
51093 2011-05-12 Ulrich Drepper <drepper@gmail.com>
51094
51095 [BZ #12511]
51096 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
51097 don't set DF_1_NODELETE here.
51098 (do_lookup_x): When entering new entry test for copy relocation
51099 and if necessary set DF_1_NODELETE flag.
51100 * elf/tst-unique4.cc: New file.
51101 * elf/tst-unique4.h: New file.
51102 * elf/tst-unique4lib.cc: New file.
51103 * elf/Makefile: Add rules to build and run tst-unique4.
51104 Patch by Piotr Bury <pbury@goahead.com>.
51105
51106 2011-05-11 Ulrich Drepper <drepper@gmail.com>
51107
51108 [BZ #12052]
51109 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
51110
51111 [BZ #12625]
51112 * misc/mntent_r.c (addmntent): Flush the stream after the output
51113
51114 [BZ #12393]
51115 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
51116 (is_trusted_path_normalize): Skip initial colon. Append slash
51117 to empty buffer. Duplicate is_trusted_path code but allow
51118 constructed patch to be prefix.
51119 (is_dst): Allow $ORIGIN followed by /.
51120 (_dl_dst_substitute): Correct clearing of check_for_trusted.
51121 Correct testing of result of is_trusted_path_normalize
51122 (decompose_rpath): Fix warning.
51123
51124 2011-05-10 Ulrich Drepper <drepper@gmail.com>
51125
51126 [BZ #11257]
51127 * grp/initgroups.c (internal_getgrouplist): When we found the service
51128 list through the initgroups entry in nsswitch.conf do not always
51129 continue on a successful lookup. Don't always use the
51130 __nss_group_database value if it is set.
51131 * nss/nsswitch.conf (initgroups): Change action for successful db
51132 lookup to continue for compatibility.
51133
51134 2011-05-09 Ulrich Drepper <drepper@gmail.com>
51135
51136 [BZ #11532]
51137 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
51138 and CP774 modules.
51139 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
51140 and CP774 modules.
51141 * iconvdata/tst-tables.sh: Likewise.
51142 * iconvdata/cp770.c: New file.
51143 * iconvdata/cp771.c: New file.
51144 * iconvdata/cp772.c: New file.
51145 * iconvdata/cp773.c: New file.
51146 * iconvdata/cp774.c: New file.
51147 * iconvdata/testdata/CP770: New file.
51148 * iconvdata/testdata/CP770..UTF8: New file.
51149 * iconvdata/testdata/CP771: New file.
51150 * iconvdata/testdata/CP771..UTF8: New file.
51151 * iconvdata/testdata/CP772: New file.
51152 * iconvdata/testdata/CP772..UTF8: New file.
51153 * iconvdata/testdata/CP773: New file.
51154 * iconvdata/testdata/CP773..UTF8: New file.
51155 * iconvdata/testdata/CP774: New file.
51156 * iconvdata/testdata/CP774..UTF8: New file.
51157
51158 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
51159 END CHARMAP line.
51160 * iconvdata/gen-8bit-gap.sh: Likewise.
51161 * iconvdata/gen-8bit.sh: Likewise.
51162
51163 * locale/iso-639.def: Add ary entry.
51164
51165 [BZ #11258]
51166 * locale/C-translit.h.in: Add U20A1 transliteration.
51167
51168 [BZ #12178]
51169 * locale/iso-639.def: Add wae entry.
51170 Patch by Kevin Bortis <bortis@translate-wae.ch>.
51171
51172 [BZ #12545]
51173 * locale/programs/localedef.c (construct_output_path): Use ssize_t
51174 for n.
51175
51176 [BZ #12711]
51177 * locale/C-translit.h.in: Add entry for U20B9.
51178 Patch by pravin.d.s@gmail.com.
51179
51180 2011-05-08 Ulrich Drepper <drepper@gmail.com>
51181
51182 [BZ #12713]
51183 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
51184 ENAMETOOLONG use generic getcwd.
51185 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
51186 in rtld. Use *stat64.
51187 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
51188 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
51189 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
51190 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
51191 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
51192 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
51193 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
51194 __fstatat64 macros.
51195 * include/dirent.h: Add libc_hidden_proto for rewinddir.
51196 * dirent/rewinddir.c: Add libc_hidden_def.
51197 * sysdeps/mach/hurd/rewinddir.c: Likewise.
51198 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
51199
51200 * include/dirent.h (__alloc_dir): Add flags parameter.
51201 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
51202 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
51203 __alloc_dir.
51204 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
51205 from fdopendir if O_CLOEXEC is already set.
51206
51207 2011-03-15 Alan Modra <amodra@gmail.com>
51208
51209 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
51210 l_tls_firstbyte_offset non-zero. Save padding offset in
51211 l_tls_firstbyte_offset for later use.
51212 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
51213 freeing static tls block.
51214
51215 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
51216
51217 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
51218 where #ifdef was intended. The intent is to prevent ARG_MAX from
51219 being defined by the kernel headers.
51220
51221 2011-05-07 Ulrich Drepper <drepper@gmail.com>
51222
51223 [BZ #12734]
51224 * resolv/resolv.h: Define RES_NOTLDQUERY.
51225 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
51226 no-tld-query and set RES_NOTLDQUERY.
51227 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
51228 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
51229 modern BIND to search name as TLD unless forbidden.
51230
51231 2011-05-07 Petr Baudis <pasky@suse.cz>
51232 Ulrich Drepper <drepper@gmail.com>
51233
51234 [BZ #12393]
51235 * elf/dl-load.c (fillin_rpath): Move trusted path check...
51236 (is_trusted_path): ...to here.
51237 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
51238 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
51239 using is_trusted_path_normalize() in setuid scripts.
51240
51241 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
51242
51243 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
51244 __BEGIN/__END_DECLS.
51245
51246 2011-05-06 Ulrich Drepper <drepper@gmail.com>
51247
51248 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
51249 NSS_STATUS_NOTFOUND if no record was found.
51250
51251 2011-05-05 Andreas Schwab <schwab@redhat.com>
51252
51253 * sunrpc/Makefile (headers): Add rpc/netdb.h.
51254 (headers-not-in-tirpc): Remove rpc/netdb.h
51255 * resolv/netdb.h: Revert last change.
51256
51257 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
51258
51259 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
51260 circular dependency between libgcc.a and libc.a.
51261
51262 2011-05-05 Andreas Schwab <schwab@redhat.com>
51263
51264 * resolv/netdb.h: Don't include <rpc/netdb.h>.
51265 * nis/Makefile: Don't install rpcsvc/*.
51266 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
51267 instead of <rpc/types.h>.
51268 (MAXHOSTNAMELEN): Define.
51269
51270 2011-05-03 Andreas Schwab <schwab@redhat.com>
51271
51272 * elf/ldconfig.c (add_dir): Don't crash on empty path.
51273
51274 2011-04-28 Maciej Babinski <mbabinski@google.com>
51275
51276 [BZ #12714]
51277 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
51278 gethostbyname4_r when IPv6 results are possible.
51279
51280 2011-05-02 Ulrich Drepper <drepper@gmail.com>
51281
51282 [BZ #12723]
51283 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
51284 _PC_PIPE_BUF handling.
51285
51286 2011-04-30 Bruno Haible <bruno@clisp.org>
51287
51288 [BZ #12717]
51289 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
51290 * resolv/netdb.h (getnameinfo): Change type of flags parameter
51291 to 'int'.
51292 * inet/getnameinfo.c (getnameinfo): Likewise.
51293
51294 2011-04-29 Ulrich Drepper <drepper@gmail.com>
51295
51296 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
51297 to groups setting in database lookup.
51298 * nss/nsswitch.conf: Add initgroups entry.
51299
51300 2011-04-22 Ulrich Drepper <drepper@gmail.com>
51301
51302 [BZ #12685]
51303 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
51304 mode string.
51305 Patch by Eric Blake <eblake@redhat.com>.
51306
51307 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
51308
51309 * sunrpc/Makefile (need-export-routines): Add svc_run.
51310 (routines): Remove svc_run.
51311 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
51312 * sunrpc/clnt_perr.c (clnt_perrno): Export.
51313 * sunrpc/svc_run.c (svc_run): Likewise.
51314 * sunrpc/svc_udp.c (svcudp_create): Likewise.
51315
51316 2011-04-21 Ulrich Drepper <drepper@gmail.com>
51317
51318 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
51319 problem in reallocation in last patch.
51320
51321 2011-04-20 Ulrich Drepper <drepper@gmail.com>
51322
51323 * sunrpc/Makefile: Move inclusion of Rules.
51324
51325 2011-04-19 Ulrich Drepper <drepper@gmail.com>
51326
51327 * nss/nss_files/files-initgroups.c: New file.
51328 * nss/Makefile (libnss_files-routines): Add files-initgroups.
51329 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
51330 _nss_files_initgroups_dyn.
51331
51332 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
51333
51334 * elf/elf.h (R_ARM_IRELATIVE): Define.
51335
51336 2011-04-19 Ulrich Drepper <drepper@gmail.com>
51337
51338 * po/ru.po: Update from translation team.
51339
51340 2011-04-17 Ulrich Drepper <drepper@gmail.com>
51341
51342 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
51343 dependencies.
51344
51345 2011-02-06 Mike Frysinger <vapier@gentoo.org>
51346
51347 [BZ #12653]
51348 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
51349 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
51350 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
51351 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
51352 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
51353
51354 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
51355
51356 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
51357 differing bytes.
51358 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
51359 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
51360 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
51361
51362 2011-04-17 Ulrich Drepper <drepper@gmail.com>
51363
51364 [BZ #12420]
51365 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
51366 storing it.
51367 * stdlib/bug-getcontext.c: New file.
51368 * stdlib/Makefile: Add rules to build and run bug-getcontext.
51369
51370 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
51371
51372 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
51373 instructions into .machine "z9-109".
51374 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
51375 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
51376
51377 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
51378
51379 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
51380 between environment variables and auxiliary vector.
51381
51382 2011-04-16 Ulrich Drepper <drepper@gmail.com>
51383
51384 * Makefile: Add rules to build linkobj/libc.so.
51385 * include/libc-symbols.h: Define libc_hidden_nolink.
51386 * include/rpc/auth.h: Mark functions which are to be hidden.
51387 * include/rpc/auth_des.h: Likewise.
51388 * include/rpc/auth_unix.h: Likewise.
51389 * include/rpc/clnt.h: Likewise.
51390 * include/rpc/des_crypt.h: Likewise.
51391 * include/rpc/key_prot.h: Likewise.
51392 * include/rpc/pmap_clnt.h: Likewise.
51393 * include/rpc/pmap_prot.h: Likewise.
51394 * include/rpc/pmap_rmt.h: Likewise.
51395 * include/rpc/rpc_msg.h: Likewise.
51396 * include/rpc/svc.h: Likewise.
51397 * include/rpc/svc_auth.h: Likewise.
51398 * include/rpc/xdr.h: Likewise.
51399 * nis/Makefile: Link all DSOs against linkobj/libc.so.
51400 * nss/Makefile: Likewise.
51401 * sunrpc/Makefile: Don't install headers. Build library with normal
51402 entry points. Don't build rpcinfo. Link RPC tests appropriately.
51403 * sunrpc/auth_des.c: Hide exported symbols by default, export some
51404 for the compat linking library. Remove use of INTDEF/INTUSE.
51405 * sunrpc/auth_none.c: Likewise.
51406 * sunrpc/auth_unix.c: Likewise.
51407 * sunrpc/authdes_prot.c: Likewise.
51408 * sunrpc/authuxprot.c: Likewise.
51409 * sunrpc/clnt_gen.c: Likewise.
51410 * sunrpc/clnt_perr.c: Likewise.
51411 * sunrpc/clnt_raw.c: Likewise.
51412 * sunrpc/clnt_simp.c: Likewise.
51413 * sunrpc/clnt_tcp.c: Likewise.
51414 * sunrpc/clnt_udp.c: Likewise.
51415 * sunrpc/clnt_unix.c: Likewise.
51416 * sunrpc/des_crypt.c: Likewise.
51417 * sunrpc/des_soft.c: Likewise.
51418 * sunrpc/get_myaddr.c: Likewise.
51419 * sunrpc/key_call.c: Likewise.
51420 * sunrpc/key_prot.c: Likewise.
51421 * sunrpc/netname.c: Likewise.
51422 * sunrpc/pm_getmaps.c: Likewise.
51423 * sunrpc/pm_getport.c: Likewise.
51424 * sunrpc/pmap_clnt.c: Likewise.
51425 * sunrpc/pmap_prot.c: Likewise.
51426 * sunrpc/pmap_prot2.c: Likewise.
51427 * sunrpc/pmap_rmt.c: Likewise.
51428 * sunrpc/publickey.c: Likewise.
51429 * sunrpc/rpc_cmsg.c: Likewise.
51430 * sunrpc/rpc_common.c: Likewise.
51431 * sunrpc/rpc_dtable.c: Likewise.
51432 * sunrpc/rpc_prot.c: Likewise.
51433 * sunrpc/rpc_thread.c: Likewise.
51434 * sunrpc/rtime.c: Likewise.
51435 * sunrpc/svc.c: Likewise.
51436 * sunrpc/svc_auth.c: Likewise.
51437 * sunrpc/svc_authux.c: Likewise.
51438 * sunrpc/svc_raw.c: Likewise.
51439 * sunrpc/svc_run.c: Likewise.
51440 * sunrpc/svc_simple.c: Likewise.
51441 * sunrpc/svc_tcp.c: Likewise.
51442 * sunrpc/svc_udp.c: Likewise.
51443 * sunrpc/svc_unix.c: Likewise.
51444 * sunrpc/svcauth_des.c: Likewise.
51445 * sunrpc/xcrypt.c: Likewise.
51446 * sunrpc/xdr.c: Likewise.
51447 * sunrpc/xdr_array.c: Likewise.
51448 * sunrpc/xdr_float.c: Likewise.
51449 * sunrpc/xdr_intXX_t.c: Likewise.
51450 * sunrpc/xdr_mem.c: Likewise.
51451 * sunrpc/xdr_rec.c: Likewise.
51452 * sunrpc/xdr_ref.c: Likewise.
51453 * sunrpc/xdr_sizeof.c: Likewise.
51454 * sunrpc/xdr_stdio.c: Likewise.
51455
51456 2011-04-10 Ulrich Drepper <drepper@gmail.com>
51457
51458 [BZ #12650]
51459 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
51460 * sysdeps/ia64/dl-tls.h: Likewise.
51461 * sysdeps/powerpc/dl-tls.h: Likewise.
51462 * sysdeps/s390/dl-tls.h: Likewise.
51463 * sysdeps/sh/dl-tls.h: Likewise.
51464 * sysdeps/sparc/dl-tls.h: Likewise.
51465 * sysdeps/x86_64/dl-tls.h: Likewise.
51466 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
51467
51468 2011-03-14 Andreas Schwab <schwab@redhat.com>
51469
51470 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
51471 rpath element also skip the following colon.
51472 (expand_dynamic_string_token): Add is_path parameter and pass
51473 down to DL_DST_REQUIRED and _dl_dst_substitute.
51474 (decompose_rpath): Call expand_dynamic_string_token with
51475 non-zero is_path. Ignore empty rpaths.
51476 (_dl_map_object_from_fd): Call expand_dynamic_string_token
51477 with zero is_path.
51478
51479 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
51480
51481 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
51482 Make cancelable.
51483
51484 2011-04-09 Ulrich Drepper <drepper@gmail.com>
51485
51486 [BZ #12655]
51487 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
51488 Patch by Filipe David Manana <fdmanana@apache.org>.
51489
51490 2011-04-07 Andreas Schwab <schwab@redhat.com>
51491
51492 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
51493 Maintain aligned stack.
51494 (CHECK_RSP): Remove unused macro.
51495
51496 2011-04-03 Ulrich Drepper <drepper@gmail.com>
51497
51498 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
51499 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
51500
51501 2011-04-02 Ulrich Drepper <drepper@gmail.com>
51502
51503 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
51504
51505 * include/features.h: Mention __USE_XOPEN2K8 in comment.
51506
51507 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
51508
51509 [BZ #12518]
51510 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
51511 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
51512 * sysdeps/x86_64/memmove.c: New file.
51513 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
51514 (memcpy): Renamed to ...
51515 (__new_memcpy): This.
51516 (memcpy): Provide GLIBC_2_14 memcpy.
51517 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
51518 (memcpy): Provide GLIBC_2_2_5 memcpy.
51519
51520 2011-04-01 Ulrich Drepper <drepper@gmail.com>
51521
51522 [BZ #12631]
51523 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
51524
51525 2011-03-30 Andreas Schwab <schwab@redhat.com>
51526
51527 * misc/syncfs.c: New file.
51528 * misc/Makefile (routines): Add syncfs.
51529 * posix/unistd.h: Declare syncfs.
51530 * sysdeps/unix/syscalls.list: Add syncfs.
51531
51532 2011-04-01 Andreas Schwab <schwab@redhat.com>
51533
51534 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
51535 open_by_handle_at.
51536 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
51537 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
51538 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
51539 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
51540 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
51541 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
51542 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
51543
51544 2011-04-01 Ulrich Drepper <drepper@gmail.com>
51545
51546 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
51547 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
51548 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
51549 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
51550 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
51551 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
51552 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
51553
51554 * io/Makefile: Compile fallocate.c, fallocate64.c, and
51555 sync_file_range.c with -fexceptions.
51556 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
51557 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
51558 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
51559 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
51560 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
51561 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
51562 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
51563 sync_file_range as cancellation point
51564 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
51565 now a wrapper around __call_sync_file_range with cancellation handling.
51566 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
51567 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
51568 function name to __call_sync_file_range.
51569 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
51570 Add call_sync_file_range.
51571
51572 2011-04-01 Andreas Schwab <schwab@redhat.com>
51573
51574 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
51575 bits/timex.h.
51576
51577 2011-04-01 Ulrich Drepper <drepper@gmail.com>
51578
51579 * iconv/iconv.h: Fix typo in comment.
51580 * io/fcntl.h: Likewise.
51581 * libio/stdio.h: Likewise.
51582 * posix/spawn.h: Likewise.
51583 * posix/unistd.h: Likewise.
51584 * stdlib/stdlib.h: Likewise.
51585 * time/time.h: Likewise.
51586 * wcsmbs/wchar.h: Likewise.
51587
51588 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
51589 open_by_handle): Add.
51590 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
51591 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
51592 Augment a few comments.
51593 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
51594 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
51595 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
51596 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
51597 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
51598 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
51599 open_by_handle.
51600
51601 * io/fcntl.h (AT_EMPTY_PATH): Define.
51602
51603 2011-03-30 Ulrich Drepper <drepper@gmail.com>
51604
51605 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
51606 * sysdeps/unix/sysv/linux/bits/time.h: New file.
51607 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
51608 to...
51609 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
51610 * Versions.def: Add GLIBC_2.14.
51611 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
51612 Export.
51613
51614 2011-03-22 Ulrich Drepper <drepper@gmail.com>
51615
51616 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
51617 round counter.
51618 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
51619
51620 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
51621
51622 [BZ #12597]
51623 * string/test-strncmp.c (do_page_test): New function.
51624 (check2): Likewise.
51625 (test_main): Call check2.
51626 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
51627
51628 2011-03-20 Ulrich Drepper <drepper@gmail.com>
51629
51630 [BZ #12587]
51631 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
51632 Handle cache information in CPU leaf 4.
51633 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
51634
51635 2011-03-18 Ulrich Drepper <drepper@gmail.com>
51636
51637 [BZ #12583]
51638 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
51639 character representation.
51640 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
51641
51642 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
51643
51644 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
51645 END(__isnan) to END(__isnanf) to match function entry point/label
51646 EALIGN(__isnanf,...).
51647
51648 2011-03-10 Jakub Jelinek <jakub@redhat.com>
51649
51650 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
51651
51652 2011-03-10 Ulrich Drepper <drepper@gmail.com>
51653
51654 [BZ #12510]
51655 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
51656 copy from the symbol referenced in the relocation to initialize the
51657 used variable.
51658 Patch by Piotr Bury <pbury@goahead.com>.
51659 * elf/Makefile: Add rules to build and tst-unique3.
51660 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
51661 * elf/tst-unique3.cc: New file.
51662 * elf/tst-unique3.h: New file.
51663 * elf/tst-unique3lib.cc: New file.
51664 * elf/tst-unique3lib2.cc: New file.
51665
51666 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
51667
51668 2011-03-10 Mike Frysinger <vapier@gentoo.org>
51669
51670 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
51671 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
51672 to _start.
51673
51674 2011-03-06 Ulrich Drepper <drepper@gmail.com>
51675
51676 * elf/dl-load.c (_dl_map_object): If we are looking for the first
51677 to-be-loaded object along a path to loader is ld.so.
51678
51679 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
51680 Ulrich Drepper <drepper@gmail.com>
51681
51682 * sysdeps/x86_64/memset.S: After aligning destination, code
51683 branches to different locations depending on the value of
51684 misalignment, when multiarch is enabled. Fix this.
51685
51686 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
51687
51688 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
51689 Set _x86_64_preferred_memory_instruction for AMD processsors.
51690 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
51691 Set bit_Prefer_SSE_for_memop for AMD processors.
51692
51693 2011-03-04 Ulrich Drepper <drepper@gmail.com>
51694
51695 * libio/fmemopen.c (fmemopen): Optimize a bit.
51696
51697 2011-03-03 Andreas Schwab <schwab@redhat.com>
51698
51699 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
51700
51701 2011-03-03 Roland McGrath <roland@redhat.com>
51702
51703 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
51704
51705 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
51706
51707 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
51708 __bzero_ultra1 instead of __memset_ultra1.
51709
51710 2011-02-23 Andreas Schwab <schwab@redhat.com>
51711 Ulrich Drepper <drepper@gmail.com>
51712
51713 [BZ #12509]
51714 * include/link.h (struct link_map): Add l_orig_initfini.
51715 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
51716 returning unsuccessfully.
51717 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
51718 close of a file loaded at startup, restore the original l_initfini
51719 list.
51720 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
51721 list, store the pointer.
51722 * elf/Makefile ($(objpfx)noload-mem): New rule.
51723 (noload-ENV): Define.
51724 (tests): Add $(objpfx)noload-mem.
51725 * elf/noload.c: Include <memcheck.h>.
51726 (main): Call mtrace. Close all opened handles.
51727
51728 2011-02-17 Andreas Schwab <schwab@redhat.com>
51729
51730 [BZ #12454]
51731 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
51732 dependencies are missing.
51733
51734 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
51735
51736 Fix __if_freereq crash: Unlike the generic version which uses free,
51737 Hurd needs munmap.
51738 * sysdeps/mach/hurd/ifreq.h: New file.
51739
51740 2011-01-27 Petr Baudis <pasky@suse.cz>
51741 Ulrich Drepper <drepper@gmail.com>
51742
51743 [BZ 12445]#
51744 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
51745 to extend_alloca().
51746 * stdio-common/bug23.c: New file.
51747 * stdio-common/Makefile (tests): Add bug23.
51748
51749 2010-09-28 Andreas Schwab <schwab@redhat.com>
51750 Ulrich Drepper <drepper@gmail.com>
51751
51752 [BZ #12489]
51753 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
51754 before performing relro protection. At old place add assertion
51755 to make sure nothing changed.
51756
51757 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
51758 Glauber de Oliveira Costa <glommer@gmail.com>
51759
51760 * elf/elf.h: Add new ARM TLS relocs.
51761
51762 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
51763
51764 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
51765 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
51766 cast from r3.
51767 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
51768 'tests' variable.
51769 * sysdeps/wordsize-64/tst-writev.c: New file.
51770
51771 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
51772
51773 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
51774 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
51775 insns in _dl_start to prevent a TOC reference before relocs are
51776 resolved.
51777
51778 2011-02-15 Ulrich Drepper <drepper@gmail.com>
51779
51780 [BZ #12469]
51781 * Makeconfig: Remove RANLIB definition.
51782 * Makerules: Don't use RANLIB.
51783 * aclocal.m4: Remove ranlib test.
51784 * configure.in: No need to check for ranlib.
51785 * elf/rtld-Rules: Don't use RANLIB.
51786
51787 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
51788
51789 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
51790 protection macro.
51791 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
51792 inclusion protection macro.
51793
51794 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
51795 SIGRTMIN and SIGRTMAX and print information in that case only when
51796 SIGRTMIN is defined.
51797
51798 2011-02-11 Jakub Jelinek <jakub@redhat.com>
51799
51800 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
51801 arginfo fn returning -1.
51802
51803 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
51804 and thousands string is zero terminated.
51805
51806 2011-02-03 Andreas Schwab <schwab@redhat.com>
51807
51808 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
51809 sysdeps/unix/sysv/linux/bits/socket.h.
51810
51811 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
51812
51813 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
51814 (__CPU_COUNT): Remove old macros.
51815 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
51816 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
51817 (__CPU_ALLOC, __CPU_FREE): Add macros.
51818 (__sched_cpualloc, __sched_cpufree): Add declarations.
51819
51820 2011-02-05 Ulrich Drepper <drepper@gmail.com>
51821
51822 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
51823 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
51824 * nscd/aicache.c (addhstaiX): Return timeout of added value.
51825 (readdhstai): Return value of addhstaiX call.
51826 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
51827 (addgrbyX): Return value returned by cache_addgr.
51828 (readdgrbyname): Return value returned by addgrbyX.
51829 (readdgrbygid): Likewise.
51830 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
51831 (addpwbyX): Return value returned by cache_addpw.
51832 (readdpwbyname): Return value returned by addhstbyX.
51833 (readdpwbyuid): Likewise.
51834 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
51835 (addservbyX): Return value returned by cache_addserv.
51836 (readdservbyname): Return value returned by addservbyX:
51837 (readdservbyport): Likewise.
51838 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
51839 (addhstbyX): Return value returned by cache_addhst.
51840 (readdhstbyname): Return value returned by addhstbyX.
51841 (readdhstbyaddr): Likewise.
51842 (readdhstbynamev6): Likewise.
51843 (readdhstbyaddrv6): Likewise.
51844 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
51845 (readdinitgroups): Return value returned by addinitgroupsX.
51846 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
51847 (prune_cache): Keep track of timeout value of re-added entries.
51848 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
51849 * nscd/nscd.h: Adjust prototypes of readd* functions.
51850
51851 2011-02-04 Roland McGrath <roland@redhat.com>
51852
51853 * nis/nis_server.c (nis_servstate): Use the right name for 0.
51854 (nis_stats): Likewise.
51855 * nis/nis_modify.c (nis_modify): Likewise.
51856 * nis/nis_remove.c (nis_remove): Likewise.
51857 * nis/nis_add.c (nis_add): Likewise.
51858
51859 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
51860
51861 * posix/fnmatch_loop.c: Add some consts.
51862
51863 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
51864
51865 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
51866
51867 [BZ #12460]
51868 * config.make.in (config-cflags-novzeroupper): Define.
51869 * configure.in: Substitute libc_cv_cc_novzeroupper.
51870 * elf/Makefile (AVX-CFLAGS): Define.
51871 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
51872 (CFLAGS-tst-auditmod4a.c): Likewise.
51873 (CFLAGS-tst-auditmod4b.c): Likewise.
51874 (CFLAGS-tst-auditmod6b.c): Likewise.
51875 (CFLAGS-tst-auditmod6c.c): Likewise.
51876 (CFLAGS-tst-auditmod7b.c): Likewise.
51877 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
51878
51879 2011-02-02 Ulrich Drepper <drepper@gmail.com>
51880
51881 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
51882 function to the callback.
51883 Patch partly by Jiri Olsa <jolsa@redhat.com>.
51884
51885 2011-02-02 Andreas Schwab <schwab@redhat.com>
51886
51887 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
51888 of errno.
51889
51890 2011-01-19 Ulrich Drepper <drepper@gmail.com>
51891
51892 [BZ #11724]
51893 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
51894 of constructors.
51895 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
51896 of destructors.
51897 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
51898
51899 [BZ #11724]
51900 * elf/Makefile: Add rules to build and run new test.
51901 * elf/tst-initorder.c: New file.
51902 * elf/tst-initorder.exp: New file.
51903 * elf/tst-initordera1.c: New file.
51904 * elf/tst-initordera2.c: New file.
51905 * elf/tst-initordera3.c: New file.
51906 * elf/tst-initordera4.c: New file.
51907 * elf/tst-initorderb1.c: New file.
51908 * elf/tst-initorderb2.c: New file.
51909 * elf/tst-order-a1.c: New file.
51910 * elf/tst-order-a2.c: New file.
51911 * elf/tst-order-a3.c: New file.
51912 * elf/tst-order-a4.c: New file.
51913 * elf/tst-order-b1.c: New file.
51914 * elf/tst-order-b2.c: New file.
51915 * elf/tst-order-main.c: New file.
51916 New test case by George Gensure <werkt0@gmail.com>.
51917
51918 2010-10-01 Andreas Schwab <schwab@redhat.com>
51919
51920 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
51921 decoding ACE if AI_CANONIDN.
51922
51923 2011-01-18 Ulrich Drepper <drepper@gmail.com>
51924
51925 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
51926
51927 2011-01-17 Ulrich Drepper <drepper@gmail.com>
51928
51929 * version.h (RELEASE): Bump for 2.13 release.
51930 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
51931
51932 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
51933
51934 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
51935 MADV_NOHUGEPAGE.
51936 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
51937 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
51938 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
51939 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
51940 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
51941 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
51942
51943 * posix/getconf.c: Update copyright year.
51944 * catgets/gencat.c: Likewise.
51945 * csu/version.c: Likewise.
51946 * debug/catchsegv.sh: Likewise.
51947 * debug/xtrace.sh: Likewise.
51948 * elf/ldconfig.c: Likewise.
51949 * elf/ldd.bash.in: Likewise.
51950 * elf/sprof.c (print_version): Likewise.
51951 * iconv/iconv_prog.c: Likewise.
51952 * iconv/iconvconfig.c: Likewise.
51953 * locale/programs/locale.c: Likewise.
51954 * locale/programs/localedef.c: Likewise.
51955 * malloc/memusage.sh: Likewise.
51956 * malloc/mtrace.pl: Likewise.
51957 * nscd/nscd.c (print_version): Likewise.
51958 * nss/getent.c: Likewise.
51959
51960 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
51961 PF_CAIF, and PF_ALG.
51962 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
51963
51964 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
51965
51966 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
51967 (modules-names): Use them.
51968 (ifunc-test-modules, ifunc-pie-tests): Define.
51969 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
51970 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
51971 (test-extras): Likewise.
51972 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
51973 $(compile-command.c).
51974 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
51975 (all-built-dso): Define.
51976 (check-textrel.out, check-execstack.out): Depend on it.
51977
51978 * configure.in: Don't override --enable-multi-arch.
51979
51980 2011-01-15 Ulrich Drepper <drepper@gmail.com>
51981
51982 [BZ #6812]
51983 * nscd/hstcache.c (tryagain): Define.
51984 (cache_addhst): Return tryagain not notfound for temporary errors.
51985 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
51986 failed.
51987
51988 2011-01-14 Ulrich Drepper <drepper@gmail.com>
51989
51990 [BZ #10563]
51991 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
51992 to make the syscall.
51993 * sysdeps/unix/sysv/linux/setgroups.c: New file.
51994
51995 [BZ #12378]
51996 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
51997 and fall back to matching as normal character if the string ends before
51998 the matching ']' is found. This is what POSIX requires.
51999 * posix/testfnm.c: Adjust test result.
52000 * posix/globtest.sh: Adjust test result. Add new test.
52001 * posix/tst-fnmatch.input: Likewise.
52002 * posix/tst-fnmatch2.c: Add new test.
52003
52004 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
52005
52006 * elf/Makefile (check-execstack): Revert last change. Depend on
52007 check-execstack.h.
52008 (check-execstack.h): New target.
52009 (generated): Add check-execstack.h.
52010 * elf/check-execstack.c: Include "check-execstack.h".
52011 (main): Revert last change.
52012 (handle_file): Return zero if GNU_STACK is absent and
52013 DEFAULT_STACK_PERMS doesn't include PF_X.
52014
52015 2011-01-13 Ulrich Drepper <drepper@gmail.com>
52016
52017 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
52018 in child fails because the descriptor is already closed.
52019 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
52020 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
52021 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
52022
52023 [BZ #12397]
52024 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
52025 syscall.
52026
52027 [BZ #10484]
52028 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
52029 temporary buffer used to handle multi lookups locally.
52030 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
52031
52032 2011-01-12 Ulrich Drepper <drepper@gmail.com>
52033
52034 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
52035 loader is ld.so.
52036
52037 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
52038
52039 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
52040 alignment for SSE2.
52041
52042 2011-01-12 Ulrich Drepper <drepper@gmail.com>
52043
52044 [BZ #12394]
52045 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
52046 characters. When rounding increased number of integer digits recompute
52047 number of groups.
52048 * stdio-common/tst-grouping.c: New file.
52049 * stdio-common/Makefile: Add rules to build and run tst-grouping.
52050
52051 2011-01-09 Ulrich Drepper <drepper@gmail.com>
52052
52053 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
52054 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
52055
52056 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
52057 void.
52058 * bits/select.h: Likewise.
52059
52060 2011-01-08 Ulrich Drepper <drepper@gmail.com>
52061
52062 * po/ja.po: Update from translation team.
52063
52064 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
52065
52066 [BZ #11155]
52067 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
52068 implementation just like for lxstat, fxstatat, et al.
52069
52070 2010-12-27 Jim Meyering <meyering@redhat.com>
52071
52072 [BZ #12348]
52073 * posix/regexec.c (build_trtable): Return failure indication upon
52074 calloc failure. Otherwise, re_search_internal could infloop on OOM.
52075
52076 2010-12-25 Ulrich Drepper <drepper@gmail.com>
52077
52078 [BZ #12201]
52079 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
52080 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
52081 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
52082 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
52083
52084 [BZ #12207]
52085 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
52086
52087 [BZ #12204]
52088 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
52089 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
52090
52091 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
52092
52093 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
52094 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
52095 script has SORT_BY_INIT_PRIORITY.
52096 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
52097 NO_CTORS_DTORS_SECTIONS is defined.
52098 * elf/soinit.c: Likewise.
52099 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
52100 NO_CTORS_DTORS_SECTIONS is defined.
52101 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
52102 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
52103 * sysdeps/sh/init-first.c: Likewise.
52104 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
52105
52106 2010-12-24 Ulrich Drepper <drepper@gmail.com>
52107
52108 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
52109 always use the slow path.
52110
52111 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
52112
52113 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
52114 similar rule which adds the sysdep directories to the header search in
52115 order to pick up the correct platform stackinfo.h.
52116 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
52117 perform test if it is, otherwise return successfully without testing.
52118 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
52119 DEFAULT_STACK_PERMS define in stackinfo.h.
52120 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
52121 defined in stackinfo.h.
52122 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
52123 DEFAULT_STACK_PERMS defined in stackinfo.h.
52124 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
52125 * sysdeps/ia64/stackinfo.h: Likewise.
52126 * sysdeps/s390/stackinfo.h: Likewise.
52127 * sysdeps/sh/stackinfo.h: Likewise.
52128 * sysdeps/sparc/stackinfo.h: Likewise.
52129 * sysdeps/x86_64/stackinfo.h: Likewise.
52130 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
52131 PF_X for powerpc64. Retain PF_X for powerpc32.
52132
52133 2010-12-19 Ulrich Drepper <drepper@gmail.com>
52134
52135 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
52136 accurately.
52137 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
52138 GETDENTS_64BIT_ALIGNED.
52139
52140 2010-12-14 Ulrich Drepper <dreper@gmail.com>
52141
52142 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
52143
52144 2010-12-10 Andreas Schwab <schwab@redhat.com>
52145
52146 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
52147 _GNU_SOURCE.
52148
52149 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
52150 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
52151 Remove __restrict.
52152 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
52153 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
52154
52155 2010-12-09 Ulrich Drepper <drepper@gmail.com>
52156
52157 [BZ #11655]
52158 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
52159 are initialized.
52160
52161 2010-12-09 Jakub Jelinek <jakub@redhat.com>
52162
52163 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
52164
52165 2010-12-03 Ulrich Drepper <drepper@gmail.com>
52166
52167 * po/it.po: Update from translation team.
52168
52169 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
52170
52171 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
52172 unused codes.
52173
52174 2010-11-30 Ulrich Drepper <drepper@gmail.com>
52175
52176 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
52177
52178 2010-11-24 Andreas Schwab <schwab@redhat.com>
52179
52180 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
52181 specially.
52182 (gaih_getanswer_slice): Likewise.
52183
52184 2010-10-20 Jakub Jelinek <jakub@redhat.com>
52185
52186 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
52187
52188 2010-05-31 Petr Baudis <pasky@suse.cz>
52189
52190 [BZ #11149]
52191 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
52192 silently even in the chroot mode.
52193
52194 2010-11-22 Ulrich Drepper <drepper@gmail.com>
52195
52196 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
52197 last patch a bit. Pretty printing
52198
52199 2010-05-31 Petr Baudis <pasky@suse.cz>
52200
52201 [BZ #10085]
52202 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
52203 initialization of skip_initgroups_dyn.
52204
52205 2010-11-19 Ulrich Drepper <drepper@gmail.com>
52206
52207 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
52208 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
52209
52210 2010-11-16 Ulrich Drepper <drepper@gmail.com>
52211
52212 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
52213
52214 2010-11-11 Andreas Schwab <schwab@redhat.com>
52215
52216 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
52217 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
52218 (tst-fnmatch-ENV): Set MALLOC_TRACE.
52219 ($(objpfx)tst-fnmatch-mem): New rule.
52220 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
52221 * posix/tst-fnmatch.c (main): Call mtrace.
52222
52223 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
52224
52225 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
52226 Support Intel processor model 6 and model 0x2c.
52227
52228 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
52229
52230 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
52231 signed comparison.
52232
52233 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
52234
52235 [BZ #12205]
52236 * string/test-strncasecmp.c (check_result): New function.
52237 (do_one_test): Use it.
52238 (check1): New function.
52239 (test_main): Use it.
52240 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
52241 Support strcasecmp and strncasecmp.
52242
52243 2010-11-08 Ulrich Drepper <drepper@gmail.com>
52244
52245 [BZ #12194]
52246 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
52247 * sysdeps/x86_64/bits/byteswap.h: Likewise.
52248
52249 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
52250
52251 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
52252 IFUNC support.
52253 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
52254 memset-x86-64.
52255 * sysdeps/x86_64/multiarch/bzero.S: New file.
52256 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
52257 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
52258 * sysdeps/x86_64/multiarch/memset.S: New file.
52259 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
52260 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
52261 Set bit_Prefer_SSE_for_memop for Intel processors.
52262 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
52263 Define.
52264 (index_Prefer_SSE_for_memop): Define.
52265 (HAS_PREFER_SSE_FOR_MEMOP): Define.
52266
52267 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
52268
52269 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
52270 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
52271
52272 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
52273
52274 [BZ #12191]
52275 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
52276 (__x86_64_raw_data_cache_size_half): Likewise.
52277 (__x86_64_raw_shared_cache_size): Likewise.
52278 (__x86_64_raw_shared_cache_size_half): Likewise.
52279
52280 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
52281 (__x86_64_raw_data_cache_size_half): Likewise.
52282 (__x86_64_raw_shared_cache_size): Likewise.
52283 (__x86_64_raw_shared_cache_size_half): Likewise.
52284 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
52285 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
52286 and __x86_64_raw_shared_cache_size_half. Round
52287 __x86_64_data_cache_size_half, __x86_64_data_cache_size
52288 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
52289 to multiple of 256 bytes.
52290
52291 2010-11-03 Ulrich Drepper <drepper@gmail.com>
52292
52293 [BZ #12167]
52294 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
52295 of inacessible symlinks. Verify result of symlink before returning it.
52296 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
52297 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
52298
52299 2010-10-28 Erich Ritz <erichritz@gmail.com>
52300
52301 * math/math.h (isinf): Fix typo in comment.
52302
52303 2010-11-01 Ulrich Drepper <drepper@gmail.com>
52304
52305 * po/da.po: Update from translation team.
52306
52307 2010-10-26 Ulrich Drepper <drepper@gmail.com>
52308
52309 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
52310 is added to the list.
52311
52312 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
52313 Ulrich Drepper <drepper@gmail.com>
52314
52315 * elf/dl-object.c (_dl_new_object): Don't append the new object to
52316 the global list here. Move code to...
52317 (_dl_add_to_namespace_list): ...here. New function.
52318 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
52319 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
52320 * elf/dl-load.c (lose): Don't remove the element from the list.
52321 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
52322 (_dl_map_object): Likewise.
52323
52324 2010-10-25 Ulrich Drepper <drepper@gmail.com>
52325
52326 [BZ #12159]
52327 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
52328 into all bytes of SSE register.
52329 Patch by Richard Li <richardpku@gmail.com>.
52330
52331 2010-10-24 Ulrich Drepper <drepper@gmail.com>
52332
52333 [BZ #12140]
52334 * malloc/malloc.c (_int_free): Fill correct number of bytes when
52335 perturbing.
52336
52337 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
52338
52339 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
52340 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
52341 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
52342 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
52343 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
52344 submachine.
52345 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
52346
52347 2010-10-22 Andreas Schwab <schwab@redhat.com>
52348
52349 * include/dlfcn.h (__RTLD_SECURE): Define.
52350 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
52351 mode & __RTLD_SECURE instead.
52352 (open_path): Rename preloaded parameter to secure.
52353 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
52354 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
52355 * elf/dl-deps.c (openaux): Likewise.
52356 * elf/rtld.c (struct map_args): Remove is_preloaded.
52357 (map_doit): Don't use it.
52358 (dl_main): Likewise.
52359 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
52360 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
52361
52362 2010-09-09 Andreas Schwab <schwab@redhat.com>
52363
52364 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
52365 (sysd-rules-targets): Remove duplicates.
52366 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
52367 rtld-%.$o dependency.
52368
52369 2010-10-18 Andreas Schwab <schwab@redhat.com>
52370
52371 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
52372 _dl_map_object do it.
52373
52374 2010-10-19 Ulrich Drepper <drepper@gmail.com>
52375
52376 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
52377 fast fma builtins, define the macros in the C99 standard.
52378 (FP_FAST_FMAF): Likewise.
52379 (FP_FAST_FMAL): Likewise.
52380 * sysdeps/x86_64/bits/mathdef.h: Likewise.
52381
52382 * bits/mathdef.h: Update copyright year.
52383 * sysdeps/powerpc/bits/mathdef.h: Likewise.
52384
52385 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
52386
52387 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
52388 builtins, define the macros in the C99 standard.
52389 (FP_FAST_FMAF): Likewise.
52390 (FP_FAST_FMAL): Likewise.
52391 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
52392 multiply/add.
52393 (FP_FAST_FMAF): Likewise.
52394
52395 2010-10-15 Jakub Jelinek <jakub@redhat.com>
52396
52397 [BZ #3268]
52398 * math/libm-test.inc (fma_test): Some new testcases.
52399 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
52400 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
52401 y and infinite z. Do multiplication by C already in long double.
52402 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
52403 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
52404 y and infinite z. Do bitwise or of inexact bit into u.d.
52405 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
52406 * sysdeps/i386/fpu/s_fmaf.S: Removed.
52407 * sysdeps/i386/fpu/s_fma.S: Removed.
52408 * sysdeps/i386/fpu/s_fmal.S: Removed.
52409
52410 2010-10-16 Jakub Jelinek <jakub@redhat.com>
52411
52412 [BZ #3268]
52413 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
52414 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
52415 computation is not scheduled after fetestexcept. Fix value
52416 of minimum denormal long double.
52417
52418 2010-10-14 Jakub Jelinek <jakub@redhat.com>
52419
52420 [BZ #3268]
52421 * math/libm-test.inc (fma_test): Add some more tests.
52422 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
52423 correctly.
52424
52425 2010-10-15 Andreas Schwab <schwab@redhat.com>
52426
52427 * scripts/data/localplt-s390-linux-gnu.data: New file.
52428 * scripts/data/localplt-s390x-linux-gnu.data: New file.
52429
52430 2010-10-13 Jakub Jelinek <jakub@redhat.com>
52431
52432 [BZ #3268]
52433 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
52434 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
52435 instead of dbl-64.
52436 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
52437 inlines.
52438 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
52439 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
52440 if one of x and y is very large and the other is subnormal.
52441 * sysdeps/s390/fpu/s_fmaf.c: New file.
52442 * sysdeps/s390/fpu/s_fma.c: New file.
52443 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
52444 * sysdeps/powerpc/fpu/s_fma.S: New file.
52445 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
52446 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
52447 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
52448
52449 2010-10-12 Jakub Jelinek <jakub@redhat.com>
52450
52451 [BZ #3268]
52452 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
52453 fma tests.
52454 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
52455 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
52456 * sysdeps/i386/i686/multiarch/s_fma.c: Include
52457 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
52458 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
52459 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
52460 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
52461
52462 2010-10-12 Ulrich Drepper <drepper@redhat.com>
52463
52464 [BZ #12078]
52465 * posix/regcomp.c (parse_branch): One more memory leak plugged.
52466 * posix/bug-regex31.input: Add test case.
52467
52468 2010-10-11 Ulrich Drepper <drepper@gmail.com>
52469
52470 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
52471 * posix/bug-regex31.input: New file.
52472
52473 [BZ #12078]
52474 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
52475 (parse_sub_exp): Fix last change, use postorder.
52476
52477 * posix/bug-regex31.c: New file.
52478 * posix/Makefile: Add rules to build and run bug-regex31.
52479
52480 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
52481
52482 [BZ #12078]
52483 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
52484
52485 [BZ #12108]
52486 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
52487 to have entries in sys_siglist.
52488
52489 [BZ #12093]
52490 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
52491 be NULL.
52492
52493 2010-10-07 Jakub Jelinek <jakub@redhat.com>
52494
52495 [BZ #3268]
52496 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
52497 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
52498 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
52499 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
52500 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
52501 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
52502 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
52503 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
52504 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
52505 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
52506 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
52507 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
52508 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
52509 * math/ftestexcept.c (fetestexcept): Likewise.
52510 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
52511 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
52512 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
52513 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
52514 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
52515 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
52516 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
52517
52518 2010-10-11 Ulrich Drepper <drepper@gmail.com>
52519
52520 [BZ #12107]
52521 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
52522 newline.
52523
52524 2010-10-06 Ulrich Drepper <drepper@gmail.com>
52525
52526 * string/bug-strstr1.c: New file.
52527 * string/Makefile: Add rules to build and run bug-strstr1.
52528
52529 2010-10-05 Eric Blake <eblake@redhat.com>
52530
52531 [BZ #12092]
52532 * string/str-two-way.h (two_way_long_needle): Always clear memory
52533 when skipping input due to the shift table.
52534
52535 2010-10-03 Ulrich Drepper <drepper@gmail.com>
52536
52537 [BZ #12005]
52538 * malloc/mcheck.c: Handle large requests.
52539
52540 [BZ #12077]
52541 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
52542 for strncmp and strncasecmp.
52543 * string/stratcliff.c: Add tests for strcmp and strncmp.
52544 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
52545
52546 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
52547
52548 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
52549 __set_fpscr.
52550
52551 2010-09-30 Andreas Jaeger <aj@suse.de>
52552
52553 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
52554 (CGROUP_SUPER_MAGIC): Define.
52555 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
52556 Handle btrfs and cgroup file systems.
52557 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
52558 Likewise.
52559
52560 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
52561
52562 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
52563 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
52564
52565 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
52566
52567 [BZ #12067]
52568 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
52569 trying to locate the ELF header.
52570
52571 2010-09-27 Andreas Schwab <schwab@redhat.com>
52572
52573 [BZ #11611]
52574 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
52575 Mask out sign-bit copies when constructing f_fsid.
52576
52577 2010-09-24 Petr Baudis <pasky@suse.cz>
52578
52579 * debug/stack_chk_fail_local.c: Add missing licence exception.
52580 * debug/warning-nop.c: Likewise.
52581
52582 2010-09-15 Joseph Myers <joseph@codesourcery.com>
52583
52584 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
52585 implementing getdents64 using getdents syscall, set d_type if
52586 __ASSUME_GETDENTS32_D_TYPE.
52587
52588 2010-09-16 Andreas Schwab <schwab@redhat.com>
52589
52590 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
52591 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
52592
52593 2010-09-21 Ulrich Drepper <drepper@redhat.com>
52594
52595 [BZ #12037]
52596 * posix/unistd.h: Undo change of feature selection for ftruncate from
52597 2010-01-11.
52598
52599 2010-09-20 Ulrich Drepper <drepper@redhat.com>
52600
52601 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
52602 detection.
52603
52604 2010-09-20 Andreas Schwab <schwab@redhat.com>
52605
52606 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
52607 fanotify_mark.
52608 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
52609
52610 2010-09-14 Andreas Schwab <schwab@redhat.com>
52611
52612 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
52613 variables after CHECK_SP call.
52614 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
52615
52616 2010-09-13 Andreas Schwab <schwab@redhat.com>
52617 Ulrich Drepper <drepper@redhat.com>
52618
52619 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
52620 re-relocationg ld.so.
52621 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
52622 _dl_init_paths call.
52623 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
52624 here anymore.
52625
52626 2010-09-14 Ulrich Drepper <drepper@redhat.com>
52627
52628 * resolv/res_init.c (__res_vinit): Count the default server we added.
52629
52630 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
52631 Ulrich Drepper <drepper@redhat.com>
52632
52633 [BZ #11968]
52634 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
52635 (____longjmp_chk): Use %ebx for saving value across system call.
52636 Add unwind info.
52637
52638 2010-09-06 Andreas Schwab <schwab@redhat.com>
52639
52640 * manual/Makefile: Don't mix pattern rules with normal rules.
52641
52642 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
52643
52644 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
52645 operation.
52646 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
52647 * libio/iofopncook.c (_IO_cookie_init): Likewise.
52648 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
52649 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
52650 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
52651 Likewise.
52652
52653 2010-09-04 Ulrich Drepper <drepper@redhat.com>
52654
52655 [BZ #11979]
52656 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
52657 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
52658
52659 2010-09-02 Ulrich Drepper <drepper@redhat.com>
52660
52661 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
52662 * sysdeps/x86_64/addmul_1.S: Likewise.
52663 * sysdeps/x86_64/lshift.S: Likewise.
52664 * sysdeps/x86_64/mul_1.S: Likewise.
52665 * sysdeps/x86_64/rshift.S: Likewise.
52666 * sysdeps/x86_64/sub_n.S: Likewise.
52667 * sysdeps/x86_64/submul_1.S: Likewise.
52668
52669 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
52670
52671 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
52672 Define __sched_param instead of SCHED_* and sched_param when
52673 <bits/sched.h> is included with __need_schedparam defined.
52674 * bits/sched.h [__need_schedparam]
52675 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
52676 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
52677 (__defined_schedparam): Define to 1.
52678 (__sched_param): New structure, identical to sched_param.
52679 (__need_schedparam): Undefine.
52680
52681 2010-08-31 Mike Frysinger <vapier@gentoo.org>
52682
52683 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
52684 (epoll_create1): Declare.
52685
52686 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
52687
52688 2010-08-31 Andreas Schwab <schwab@redhat.com>
52689
52690 [BZ #7066]
52691 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
52692 shifting retval into place.
52693
52694 2010-09-01 Ulrich Drepper <drepper@redhat.com>
52695
52696 * nis/rpcsvc/nis.h: Update copyright notice.
52697 * nis/rpcsvc/nis.x: Likewise.
52698 * nis/rpcsvc/nis_callback.h: Likewise.
52699 * nis/rpcsvc/nis_callback.x: Likewise.
52700 * nis/rpcsvc/nis_object.x: Likewise.
52701 * nis/rpcsvc/nis_tags.h: Likewise.
52702 * nis/rpcsvc/yp.h: Likewise.
52703 * nis/rpcsvc/yp.x: Likewise.
52704 * nis/rpcsvc/ypupd.h: Likewise.
52705 * nis/yp_xdr.c: Likewise.
52706 * nis/ypupdate_xdr.c: Likewise.
52707
52708 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
52709 mainly the body of pmap_getport. Add parameters to specify timeouts.
52710 (pmap_getport): Use __libc_rpc_getport.
52711 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
52712 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
52713 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
52714
52715 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
52716
52717 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
52718 fanotify_mark.
52719
52720 2010-08-27 Roland McGrath <roland@redhat.com>
52721
52722 * sysdeps/i386/i686/multiarch/Makefile
52723 (CFLAGS-varshift.c): New variable.
52724
52725 2010-08-27 Ulrich Drepper <drepper@redhat.com>
52726
52727 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
52728 * sysdeps/i386/i686/multiarch/varshift.c: New file.
52729
52730 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
52731
52732 * sysdeps/x86_64/strlen.S: Minimal code improvement.
52733
52734 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
52735
52736 * sysdeps/x86_64/strlen.S: Unroll the loop.
52737 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
52738 strlen-sse2 strlen-sse2-bsf.
52739 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
52740 __strlen_no_bsf if bit_Slow_BSF is set.
52741 (__strlen_sse42): Removed.
52742 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
52743 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
52744
52745 2010-08-25 Roland McGrath <roland@redhat.com>
52746
52747 * sysdeps/x86_64/multiarch/varshift.S: File removed.
52748 * sysdeps/x86_64/multiarch/varshift.c: New file.
52749 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
52750 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
52751 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
52752 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
52753
52754 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
52755
52756 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
52757 strlen-sse2 strlen-sse2-bsf.
52758 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
52759 __strlen_sse2_bsf if bit_Slow_BSF is unset.
52760 (__strlen_sse2): Removed.
52761 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
52762 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
52763 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
52764 bit_Slow_BSF for Atom.
52765 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
52766 (index_Slow_BSF): Define.
52767 (HAS_SLOW_BSF): Define.
52768
52769 2010-08-25 Ulrich Drepper <drepper@redhat.com>
52770
52771 [BZ #10851]
52772 * resolv/res_init.c (__res_vinit): When no server address at all
52773 is given default to loopback.
52774
52775 2010-08-24 Roland McGrath <roland@redhat.com>
52776
52777 * configure.in: Remove config-name.h generation.
52778 * configure: Regenerated.
52779 * config-name.in: File removed.
52780 * scripts/config-uname.sh: New file.
52781 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
52782 ($(objdir)config-name.h): New target.
52783
52784 * sunrpc/rpc_parse.h: Avoid nested comment.
52785
52786 2010-08-24 Richard Henderson <rth@redhat.com>
52787 Ulrich Drepper <drepper@redhat.com>
52788 H.J. Lu <hongjiu.lu@intel.com>
52789
52790 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
52791 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
52792 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
52793 Replace _mm_srli_si128 with __m128i_shift_right. Replace
52794 _mm_alignr_epi8 with _mm_loadu_si128.
52795 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
52796 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
52797 (__m128i_shift_right): Removed.
52798 * sysdeps/i386/i686/multiarch/varshift.h: New file.
52799 * sysdeps/i386/i686/multiarch/varshift.S: New file.
52800 * sysdeps/x86_64/multiarch/varshift.h: New file.
52801 * sysdeps/x86_64/multiarch/varshift.S: New file.
52802
52803 2010-08-21 Mike Frysinger <vapier@gentoo.org>
52804
52805 * configure.in: Move assembler checks to before sysdep dir checking.
52806
52807 2010-08-20 Petr Baudis <pasky@suse.cz>
52808
52809 * LICENSES: Sync the sunrpc license.
52810
52811 2010-08-19 Ulrich Drepper <drepper@redhat.com>
52812
52813 * sunrpc/auth_des.c: Update copyright notice once again.
52814 * sunrpc/auth_none.c: Likewise.
52815 * sunrpc/auth_unix.c: Likewise.
52816 * sunrpc/authdes_prot.c: Likewise.
52817 * sunrpc/authuxprot.c: Likewise.
52818 * sunrpc/bindrsvprt.c: Likewise.
52819 * sunrpc/clnt_gen.c: Likewise.
52820 * sunrpc/clnt_perr.c: Likewise.
52821 * sunrpc/clnt_raw.c: Likewise.
52822 * sunrpc/clnt_simp.c: Likewise.
52823 * sunrpc/clnt_tcp.c: Likewise.
52824 * sunrpc/clnt_udp.c: Likewise.
52825 * sunrpc/clnt_unix.c: Likewise.
52826 * sunrpc/des_crypt.c: Likewise.
52827 * sunrpc/des_soft.c: Likewise.
52828 * sunrpc/get_myaddr.c: Likewise.
52829 * sunrpc/getrpcport.c: Likewise.
52830 * sunrpc/key_call.c: Likewise.
52831 * sunrpc/key_prot.c: Likewise.
52832 * sunrpc/openchild.c: Likewise.
52833 * sunrpc/pm_getmaps.c: Likewise.
52834 * sunrpc/pm_getport.c: Likewise.
52835 * sunrpc/pmap_clnt.c: Likewise.
52836 * sunrpc/pmap_prot.c: Likewise.
52837 * sunrpc/pmap_prot2.c: Likewise.
52838 * sunrpc/pmap_rmt.c: Likewise.
52839 * sunrpc/rpc/auth.h: Likewise.
52840 * sunrpc/rpc/auth_unix.h: Likewise.
52841 * sunrpc/rpc/clnt.h: Likewise.
52842 * sunrpc/rpc/des_crypt.h: Likewise.
52843 * sunrpc/rpc/key_prot.h: Likewise.
52844 * sunrpc/rpc/netdb.h: Likewise.
52845 * sunrpc/rpc/pmap_clnt.h: Likewise.
52846 * sunrpc/rpc/pmap_prot.h: Likewise.
52847 * sunrpc/rpc/pmap_rmt.h: Likewise.
52848 * sunrpc/rpc/rpc.h: Likewise.
52849 * sunrpc/rpc/rpc_des.h: Likewise.
52850 * sunrpc/rpc/rpc_msg.h: Likewise.
52851 * sunrpc/rpc/svc.h: Likewise.
52852 * sunrpc/rpc/svc_auth.h: Likewise.
52853 * sunrpc/rpc/types.h: Likewise.
52854 * sunrpc/rpc/xdr.h: Likewise.
52855 * sunrpc/rpc_clntout.c: Likewise.
52856 * sunrpc/rpc_cmsg.c: Likewise.
52857 * sunrpc/rpc_common.c: Likewise.
52858 * sunrpc/rpc_cout.c: Likewise.
52859 * sunrpc/rpc_dtable.c: Likewise.
52860 * sunrpc/rpc_hout.c: Likewise.
52861 * sunrpc/rpc_main.c: Likewise.
52862 * sunrpc/rpc_parse.c: Likewise.
52863 * sunrpc/rpc_parse.h: Likewise.
52864 * sunrpc/rpc_prot.c: Likewise.
52865 * sunrpc/rpc_sample.c: Likewise.
52866 * sunrpc/rpc_scan.c: Likewise.
52867 * sunrpc/rpc_scan.h: Likewise.
52868 * sunrpc/rpc_svcout.c: Likewise.
52869 * sunrpc/rpc_tblout.c: Likewise.
52870 * sunrpc/rpc_util.c: Likewise.
52871 * sunrpc/rpc_util.h: Likewise.
52872 * sunrpc/rpcinfo.c: Likewise.
52873 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
52874 * sunrpc/rpcsvc/key_prot.x: Likewise.
52875 * sunrpc/rpcsvc/klm_prot.x: Likewise.
52876 * sunrpc/rpcsvc/mount.x: Likewise.
52877 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
52878 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
52879 * sunrpc/rpcsvc/rex.x: Likewise.
52880 * sunrpc/rpcsvc/rstat.x: Likewise.
52881 * sunrpc/rpcsvc/rusers.x: Likewise.
52882 * sunrpc/rpcsvc/sm_inter.x: Likewise.
52883 * sunrpc/rpcsvc/spray.x: Likewise.
52884 * sunrpc/rpcsvc/yppasswd.x: Likewise.
52885 * sunrpc/rtime.c: Likewise.
52886 * sunrpc/svc.c: Likewise.
52887 * sunrpc/svc_auth.c: Likewise.
52888 * sunrpc/svc_authux.c: Likewise.
52889 * sunrpc/svc_raw.c: Likewise.
52890 * sunrpc/svc_run.c: Likewise.
52891 * sunrpc/svc_simple.c: Likewise.
52892 * sunrpc/svc_tcp.c: Likewise.
52893 * sunrpc/svc_udp.c: Likewise.
52894 * sunrpc/svc_unix.c: Likewise.
52895 * sunrpc/svcauth_des.c: Likewise.
52896 * sunrpc/xcrypt.c: Likewise.
52897 * sunrpc/xdr.c: Likewise.
52898 * sunrpc/xdr_array.c: Likewise.
52899 * sunrpc/xdr_float.c: Likewise.
52900 * sunrpc/xdr_mem.c: Likewise.
52901 * sunrpc/xdr_rec.c: Likewise.
52902 * sunrpc/xdr_ref.c: Likewise.
52903 * sunrpc/xdr_sizeof.c: Likewise.
52904 * sunrpc/xdr_stdio.c: Likewise.
52905
52906 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
52907 handling.
52908
52909 2010-08-19 Andreas Schwab <schwab@redhat.com>
52910
52911 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
52912
52913 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
52914
52915 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
52916 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
52917 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
52918 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
52919 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
52920 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
52921 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
52922 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
52923 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
52924 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
52925 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
52926 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
52927 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
52928 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
52929
52930 2010-07-26 Anton Blanchard <anton@samba.org>
52931
52932 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
52933 * malloc/arena.c (heap_trim): Likewise.
52934
52935 2010-08-16 Ulrich Drepper <drepper@redhat.com>
52936
52937 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
52938 here. Not...
52939 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
52940 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
52941
52942 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
52943
52944 * sysdeps/i386/elf/Makefile: New file.
52945
52946 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
52947
52948 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
52949 from fanotify_init.
52950 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
52951 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
52952
52953 2010-08-15 Ulrich Drepper <drepper@redhat.com>
52954
52955 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
52956 of strncasecmp_l.
52957 * sysdeps/multiarch/strcmp.S: Likewise.
52958
52959 2010-08-14 Ulrich Drepper <drepper@redhat.com>
52960
52961 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
52962 strncase_l-nonascii.
52963 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
52964 Add strncase_l-ssse3.
52965 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
52966 * sysdeps/x86_64/strcmp.S: Likewise.
52967 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
52968 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
52969 * sysdeps/x86_64/strncase.S: New file.
52970 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
52971 * sysdeps/x86_64/strncase_l.S: New file.
52972 * string/Makefile (strop-tests): Add strncasecmp.
52973 * string/test-strncasecmp.c: New file.
52974
52975 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
52976 warning.
52977
52978 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
52979 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
52980
52981 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
52982
52983 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
52984
52985 2010-08-12 Ulrich Drepper <drepper@redhat.com>
52986
52987 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
52988 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
52989 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
52990
52991 2010-05-01 Alan Modra <amodra@gmail.com>
52992
52993 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
52994 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
52995 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
52996 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
52997 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
52998 tidying. Don't tail-call __sigjmp_save for static lib.
52999 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
53000 save location.
53001 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
53002 (CALL_MCOUNT): Add eh info, and nop after bl.
53003 (TAIL_CALL_SYSCALL_ERROR): New macro.
53004 (PSEUDO_RET): Use it.
53005 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
53006 Correct save location of integer regs and cr.
53007 (_dl_profile_resolve): Correct cr save location. Delete nops
53008 after bl when SHARED. Reduce cfi size a little by better
53009 placement of cfi directives.
53010 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
53011 make a stack frame. Instead use parm save area as a temp.
53012 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
53013 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
53014 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
53015 Don't make a stack frame for parent, use parm save area.
53016 Increase child stack frame to 112 bytes. Don't save unused reg,
53017 and adjust reg usage. Set up cfi on error recovery and
53018 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
53019 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
53020 (__makecontext): Add dummy nop after jump to exit.
53021 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
53022 Use correct parm save area and cr save, reduce stack frame.
53023 Correct cfi for possible PSEUDO_RET frame setup.
53024 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
53025 Branch to local label emitted by PSEUDO_RET rather than
53026 __syscall_error.
53027
53028 2010-08-12 Andreas Schwab <schwab@redhat.com>
53029
53030 [BZ #11904]
53031 * locale/programs/locale.c (print_assignment): New function.
53032 (show_locale_vars): Use it.
53033
53034 2010-08-11 Ulrich Drepper <drepper@redhat.com>
53035
53036 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
53037 field.
53038 (struct statfs64): Likewise.
53039 (_STATFS_F_FLAGS): Define.
53040 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
53041 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
53042 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
53043 (ST_VALID): Define locally.
53044 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
53045 __statvfs_getflags, use the provided value.
53046 * sysdeps/unix/sysv/linux/kernel-features.h: Define
53047 __ASSUME_STATFS_F_FLAGS.
53048
53049 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
53050
53051 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
53052 Add sys/fanotify.h.
53053 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
53054 fanotify_mask for GLIBC_2.13.
53055 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
53056 fanotify_init and fanotify_mark.
53057 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
53058 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
53059
53060 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
53061 Add prlimit.
53062 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
53063 prlimit64 for GLIBC_2.13.
53064 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
53065 prlimit64.
53066 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
53067 syscall.
53068 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
53069 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
53070 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
53071 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
53072 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
53073 add prlimit alias.
53074 * sysdeps/unix/sysv/linux/prlimit.c: New file.
53075
53076 [BZ #11903]
53077 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
53078 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
53079
53080 * nss/Makefile: Add rules to build and run tst-nss-test1.
53081 * shlib-versions: Add entry for libnss_test1.
53082 * nss/nss_test1.c: New file.
53083 * nss/tst-nss-test1.c: New file.
53084
53085 * nss/nsswitch.c (__nss_database_custom): Define new variable.
53086 (__nss_configure_lookup): Set appropriate entry in
53087 __nss_configure_lookup to true.
53088 * nss/nsswitch.h: Define enum with indeces of databases in
53089 databases and __nss_database_custom arrays. Declare
53090 __nss_database_custom.
53091 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
53092 to avoid using nscd when custom rules are installed.
53093 * nss/getXXbyYY_r.c: Likewise.
53094 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
53095
53096 * nss/nss_files/files-parse.c: Whitespace fixes.
53097
53098 2010-08-09 Ulrich Drepper <drepper@redhat.com>
53099
53100 [BZ #11883]
53101 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
53102 * posix/fnmatch_loop.c: Likewise.
53103
53104 2010-07-17 Andi Kleen <ak@linux.intel.com>
53105
53106 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
53107 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
53108 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
53109 * Versions.def [GLIBC_2.13]: Add.
53110
53111 2010-08-06 Ulrich Drepper <drepper@redhat.com>
53112
53113 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
53114 Also fail if tpwd after pwuid call is NULL.
53115
53116 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
53117
53118 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
53119 when converting to ms.
53120
53121 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
53122
53123 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
53124 EOPNOTSUPP errors with ENOTTY.
53125 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
53126 EOPNOTSUPP errors with ENOTTY.
53127
53128 2010-07-31 Ulrich Drepper <drepper@redhat.com>
53129
53130 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
53131 Add strcasecmp_l-ssse3.
53132 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
53133 strcasecmp.
53134 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
53135 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
53136 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
53137
53138 2010-07-30 Ulrich Drepper <drepper@redhat.com>
53139
53140 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
53141
53142 * string/Makefile (strop-tests): Add strcasecmp.
53143 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
53144 strcasecmp_l-nonascii.
53145 (gen-as-const-headers): Add locale-defines.sym.
53146 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
53147 * sysdeps/x86_64/strcasecmp.S: New file.
53148 * sysdeps/x86_64/strcasecmp_l.S: New file.
53149 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
53150 * sysdeps/x86_64/locale-defines.sym: New file.
53151 * string/test-strcasecmp.c: New file.
53152
53153 * string/test-strcasestr.c: Test both ends of the range of characters.
53154 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
53155
53156 2010-07-29 Roland McGrath <roland@redhat.com>
53157
53158 [BZ #11856]
53159 * manual/locale.texi (Yes-or-No Questions): Fix example code.
53160
53161 2010-07-27 Ulrich Drepper <drepper@redhat.com>
53162
53163 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
53164 for ld.so.
53165
53166 2010-07-27 Andreas Schwab <schwab@redhat.com>
53167
53168 * manual/memory.texi (Malloc Tunable Parameters): Document
53169 M_PERTURB.
53170
53171 2010-07-26 Roland McGrath <roland@redhat.com>
53172
53173 [BZ #11840]
53174 * configure.in (-fgnu89-inline check): Set and substitute
53175 gnu89_inline, not libc_cv_gnu89_inline.
53176 * configure: Regenerated.
53177 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
53178
53179 2010-07-26 Ulrich Drepper <drepper@redhat.com>
53180
53181 * string/test-strnlen.c: New file.
53182 * string/Makefile (strop-tests): Add strnlen.
53183 * string/tester.c (test_strnlen): Add a few more test cases.
53184 * string/tst-strlen.c: Better error reporting.
53185
53186 * sysdeps/x86_64/strnlen.S: New file.
53187
53188 2010-07-24 Ulrich Drepper <drepper@redhat.com>
53189
53190 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
53191 lower-latency instructions.
53192
53193 2010-07-23 Ulrich Drepper <drepper@redhat.com>
53194
53195 * string/test-strcasestr.c: New file.
53196 * string/test-strstr.c: New file.
53197 * string/Makefile (strop-tests): Add strstr and strcasestr.
53198 * string/str-two-way.h: Don't undefine MAX.
53199 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
53200
53201 2010-07-21 Andreas Schwab <schwab@redhat.com>
53202
53203 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
53204 strcasestr-nonascii.
53205 (CFLAGS-strcasestr-nonascii.c): Define.
53206 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
53207 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
53208 Remove unused attribute.
53209
53210 2010-07-20 Roland McGrath <roland@redhat.com>
53211
53212 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
53213 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
53214 ld.so.cache was broken. With it, there is no way to disable dsocaps
53215 like LD_HWCAP_MASK can disable hwcaps.
53216
53217 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
53218
53219 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
53220
53221 2010-07-16 Ulrich Drepper <drepper@redhat.com>
53222
53223 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
53224 call in strcasestr.
53225 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
53226 __strcasestr_sse42_nonascii.
53227 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
53228 strcasestr-nonascii.c.
53229 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
53230
53231 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
53232
53233 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
53234 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
53235 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
53236 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
53237
53238 2010-07-09 Ulrich Drepper <drepper@redhat.com>
53239
53240 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
53241 fcntl.
53242
53243 2010-07-06 Andreas Schwab <schwab@redhat.com>
53244
53245 [BZ #11577]
53246 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
53247 dl_signal_cerror.
53248
53249 2010-07-06 Ulrich Drepper <drepper@redhat.com>
53250
53251 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
53252 _PC_PIPE_BUF using F_GETPIPE_SZ.
53253
53254 2010-07-05 Roland McGrath <roland@redhat.com>
53255
53256 * manual/arith.texi (Rounding Functions): Fix rint description
53257 implicit in round description.
53258
53259 2010-07-02 Ulrich Drepper <drepper@redhat.com>
53260
53261 * elf/Makefile: Fix linking for a few tests to make recent linker
53262 happy.
53263
53264 2010-06-30 Andreas Schwab <schwab@redhat.com>
53265
53266 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
53267 $(common-objpfx)libc_nonshared.a.
53268
53269 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
53270
53271 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
53272 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
53273 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
53274 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
53275 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
53276 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
53277 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
53278 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
53279 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
53280 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
53281 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
53282 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
53283 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
53284 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
53285 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
53286 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
53287 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
53288 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
53289 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
53290 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
53291 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
53292 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
53293 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
53294 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
53295 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
53296 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
53297 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
53298 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
53299 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
53300 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
53301 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
53302 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
53303 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
53304 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
53305 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
53306 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
53307 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
53308 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
53309 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
53310 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
53311 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
53312 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
53313 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
53314 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
53315 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
53316 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
53317 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
53318 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
53319
53320 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
53321
53322 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
53323 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
53324 * string/memmove.c (memmove): Renamed to ...
53325 (MEMMOVE): ...this. Default to memmove.
53326 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
53327 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
53328 (END_CHK): Define.
53329 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
53330 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
53331 mempcpy-ssse3-back memmove-ssse3-back.
53332 * sysdeps/x86_64/multiarch/bcopy.S: New file .
53333 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
53334 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
53335 * sysdeps/x86_64/multiarch/memcpy.S: New file.
53336 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
53337 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
53338 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
53339 * sysdeps/x86_64/multiarch/memmove.c: New file.
53340 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
53341 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
53342 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
53343 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
53344 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
53345 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
53346 Define.
53347 (index_Fast_Copy_Backward): Define.
53348 (HAS_ARCH_FEATURE): Define.
53349 (HAS_FAST_REP_STRING): Define.
53350 (HAS_FAST_COPY_BACKWARD): Define.
53351
53352 2010-06-21 Andreas Schwab <schwab@redhat.com>
53353
53354 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
53355 Restore proper fallback handling.
53356
53357 2010-06-19 Ulrich Drepper <drepper@redhat.com>
53358
53359 [BZ #11701]
53360 * posix/group_member.c (__group_member): Correct checking loop.
53361
53362 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
53363 OOM in getpwuid_r correctly. Return error number when the caller
53364 should return, otherwise -1.
53365 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
53366 call returning > 0 value.
53367 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
53368
53369 2010-06-07 Andreas Schwab <schwab@redhat.com>
53370
53371 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
53372 libc_nonshared.a from targets in modules-names.
53373
53374 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
53375
53376 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
53377 requires it.
53378
53379 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
53380
53381 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
53382 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
53383 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
53384 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
53385
53386 2010-06-02 Andreas Schwab <schwab@redhat.com>
53387
53388 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
53389
53390 2010-06-14 Ulrich Drepper <drepper@redhat.com>
53391
53392 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
53393 and F_GETPIPE_SZ.
53394 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
53395 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
53396 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
53397 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
53398 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
53399 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
53400
53401 2010-06-14 Roland McGrath <roland@redhat.com>
53402
53403 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
53404
53405 2010-06-07 Jakub Jelinek <jakub@redhat.com>
53406
53407 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
53408 __REDIRECT followed by __THROW.
53409 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
53410 * posix/getopt.h (getopt): Likewise.
53411
53412 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
53413
53414 * hurd/lookup-at.c (__file_name_lookup_at): Accept
53415 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
53416 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
53417 in AT_FLAGS.
53418 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
53419 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
53420
53421 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
53422
53423 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
53424
53425 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
53426
53427 [BZ #11640]
53428 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
53429 Properly check family and model.
53430
53431 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
53432
53433 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
53434
53435 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
53436
53437 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
53438
53439 2010-05-21 Ulrich Drepper <drepper@redhat.com>
53440
53441 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
53442 symbol reference.
53443
53444 2010-05-19 Andreas Schwab <schwab@redhat.com>
53445
53446 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
53447 symbol reference.
53448
53449 2010-05-21 Andreas Schwab <schwab@redhat.com>
53450
53451 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
53452 and internal_recvmmsg.
53453 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
53454 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
53455 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
53456 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
53457
53458 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
53459 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
53460 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
53461
53462 2010-05-20 Andreas Schwab <schwab@redhat.com>
53463
53464 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
53465
53466 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
53467
53468 POWER7 optimizations.
53469 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
53470 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
53471
53472 2010-05-19 Ulrich Drepper <drepper@redhat.com>
53473
53474 * version.h: Update for 2.13 development version.
53475
53476 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
53477
53478 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
53479 exceptions. Return 0.
53480
53481 2010-05-07 Roland McGrath <roland@redhat.com>
53482
53483 * elf/ldconfig.c (main): Add a const.
53484
53485 2010-05-06 Ulrich Drepper <drepper@redhat.com>
53486
53487 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
53488 (args_options): Add no-idn option.
53489 (ahosts_keys_int): Add idn_flags to ai_flags.
53490 (parse_option): Handle 'i' option to clear idn_flags.
53491
53492 * malloc/malloc.c (_int_free): Possible race in the most recently
53493 added check. Only act on the data if no current modification
53494 happened.
53495
53496 See ChangeLog.17 for earlier changes.