]> sourceware.org Git - glibc.git/blame - ChangeLog
Fix -Waddress warnings in nptl/tst-mutex1.c.
[glibc.git] / ChangeLog
CommitLineData
66cadc05
JM
12014-12-02 Joseph Myers <joseph@codesourcery.com>
2
4e0b9016
JM
3 * nptl/tst-mutex1.c: Include <stdbool.h>.
4 [!ATTR] (ATTR_NULL): New macro.
5 (do_test): Test !ATTR_NULL instead of ATTR != NULL.
6 * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
7 * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
8
b1aff6a4
JM
9 * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
10 to char *.
11
266865c0
JM
12 [BZ #17665]
13 * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
14 Change conditional to [__USE_MISC].
15
84e5e756
JM
16 [BZ #17664]
17 * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
18 fgets_unlocked.
19 * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
20 __fgets_unlocked.
21 * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
22 fgets_unlocked.
23 * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
24 Remove variable.
25 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
26 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
27 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
28 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
29 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
30 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
31 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
32 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
33 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
34
66cadc05
JM
35 * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
36
2e8a2de2 372014-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
0f0a1c82
AZ
38
39 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
40 Remove strpbrk objects.
41 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
42 (__libc_ifunc_impl_list): Remove strpbrk implementation.
43 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
44 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
45 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
46 * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
47
bb2542e0
AZ
48 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
49 Remove strcspn objects.
50 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
51 (__libc_ifunc_impl_list): Remove strcspn implementation.
52 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
53 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
54 * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
55 * sysdeps/powerpc/powerpc64/strcspn.S: New file.
2e8a2de2
AZ
56
57 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
58 Remove strspn objetcs.
59 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
60 (__libc_ifunc_impl_list): Remove strspn implementation.
61 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
62 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
63 * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
64 * sysdeps/powerpc/powerpc64/strspn.S: New file.
65
08f1e1d2
JL
662014-12-01 James Lemke <jwlemke@codesourcery.com>
67
68 [BZ #17581]
69 * malloc/hooks.c
70 (mem2mem_check): Add a terminator to the chain of checking blocks.
71 (malloc_check_get_size): Use it here.
72 (mem2chunk_check): Ditto.
73
a8a7d7d2
RS
742014-12-01 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
75
76 * sysdeps/powerpc/powerpc64/strtok.S: New file.
77 * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
78
97114a38
CD
792014-11-29 Carlos O'Donell <carlos@redhat.com>
80
c8dc1727
CD
81 * bits/ioctl-types.h: Indent preprocessor directives correctly.
82
6d03458e
CD
83 * nptl/nptl-init.c: Include libc-internal.h.
84 (__pthread_initialize_minimal_internal): Use ROUND_UP.
85
97114a38
CD
86 * elf/ldconfig.c (search_dir): Expand comment.
87
0e7e69ba
JM
882014-11-29 Joseph Myers <joseph@codesourcery.com>
89
90 * conform/Makefile (linknamespace-symlist-stdlibs-base): New
91 variable.
92 (linknamespace-symlist-stdlibs-tests): Likewise.
93 (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
94 instead of $(objpfx)symlist-stdlibs.
95 (linknamespace-libs-isoc): New variable.
96 (linknamespace-libs): Use $(linknamespace-libs-isoc).
97 (linknamespace-libs-ISO): New variable.
98 (linknamespace-libs-ISO99): Likewise.
99 (linknamespace-libs-ISO11): Likewise.
100 (linknamespace-libs-XPG3): Likewise.
101 (linknamespace-libs-XPG4): Likewise.
102 (linknamespace-libs-POSIX): Likewise.
103 (linknamespace-libs-UNIX98): Likewise.
104 (linknamespace-libs-XOPEN2K): Likewise.
105 (linknamespace-libs-POSIX2008): Likewise.
106 (linknamespace-libs-XOPEN2K8): Likewise.
107 ($(objpfx)symlist-stdlibs): Replace by
108 $(linknamespace-symlist-stdlibs-tests). Use
109 $(linknamespace-libs-$*) as set of libraries.
110 ($(linknamespace-header-tests)): Update dependencies. Use
111 $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
112 (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
113 * conform/linknamespace.pl: Remove comment about considering
114 definitions of symbols from irrelevant libraries.
115
d8dd0080
L
1162014-11-28 H.J. Lu <hongjiu.lu@intel.com>
117
118 [BZ #13862]
119 * elf/dl-tls.c: Include <atomic.h>.
120 (oom): Remove #ifdef SHARED/#endif.
121 (_dl_static_dtv, _dl_initial_dtv): Moved before ...
122 (_dl_resize_dtv): This. Extracted from _dl_update_slotinfo.
123 (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
124 big enough.
125 (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
126 * nptl/Makefile (tests): Add tst-stack4.
127 (modules-names): Add tst-stack4mod.
128 ($(objpfx)tst-stack4): New.
129 (tst-stack4mod.sos): Likewise.
130 ($(objpfx)tst-stack4.out): Likewise.
131 ($(tst-stack4mod.sos)): Likewise.
132 (clean): Likewise.
133 * nptl/tst-stack4.c: New file.
134 * nptl/tst-stack4mod.c: Likewise.
135
167da422
B
1362014-11-27 J. Brown <jb999@gmx.de>
137
138 * sysdeps/x86/bits/string.h: Add recent CPUs.
139
9114625b
JM
1402014-11-27 Joseph Myers <joseph@codesourcery.com>
141
6b5189eb
JM
142 * misc/tst-pselect.c (do_test): Use sigprocmask instead of
143 sigblock.
144
49051f8e
JM
145 * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
146 feof.
147
9114625b
JM
148 * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
149 variable.
150
e7300fef
SL
1512014-11-27 Stefan Liebler <stli@linux.vnet.ibm.com>
152
153 * nscd/connections.c: Include libc-internal.h because of macro
154 usage ignore_value.
155
1721f0a4
SP
1562014-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
157
158 * string/bits/string3.h (__warn_memset_zero_len): Don't
159 declare for gcc newer than 5.0.
160 (memset): Don't test for zero-length __LEN for gcc newer than
161 5.0.
162
be970916
JM
1632014-11-27 Joseph Myers <joseph@codesourcery.com>
164
d88548f4
JM
165 * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
166 size_t for %zu format.
167
be970916
JM
168 * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
169 difference, not %ju.
170
3b20fd5c
JM
1712014-11-26 Joseph Myers <joseph@codesourcery.com>
172
8915eace
JM
173 * include/libc-internal.h (ignore_value): New macro.
174 * nscd/connections.c (restart): Wrap calls to setuid and setgid
175 with ignore_value.
176
f1a5a0e3
JM
177 * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
178 definition.
179
59ef1715
JM
180 * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
181 pthread_cleanup_push to void *.
182
a6f3079b
JM
183 * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
184 Undefine.
185
706688aa
JM
186 [BZ #16619]
187 [BZ #16740]
188 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
189 instead of 1L << 52.
190
12da14a5
JM
191 * libio/bug-rewind.c (do_test): Check fwscanf return values.
192 * libio/bug-rewind2.c (do_test): Likewise.
193
bd5dadac
JM
194 * debug/test-stpcpy_chk-ifunc.c: Remove file.
195 * debug/test-strcpy_chk-ifunc.c: Likewise.
196 * wcsmbs/test-wcschr-ifunc.c: Likewise.
197 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
198 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
199 * wcsmbs/test-wcslen-ifunc.c: Likewise.
200 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
201 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
202 * Rules [$(multi-arch) = no] (tests): Do not filter out
203 $(tests-ifunc).
204 [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
205 * debug/Makefile (tests-ifunc): Remove variable.
206 (tests): Do not add $(tests-ifunc).
207 * wcsmbs/Makefile (tests-ifunc): Remove variable.
208 (tests): Do not add $(tests-ifunc).
209 * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
210 [TEST_IFUNC]: Remove conditionals.
211 * string/test-string.h (TEST_IFUNC): Remove macro.
212 [TEST_IFUNC]: Remove conditionals.
213
3b20fd5c
JM
214 * string/test-strchr.c [!WIDE] (L): New macro.
215 [WIDE] (L): Likewise.
216 (check1): Use CHAR instead of char. Use L on string and character
217 constants.
218
704f7947
AZ
2192014-11-26 Adhemerval Zanella <azanella@linux.ibm.com>
220
221 * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
222 tests.
223 * sysdeps/powerpc/bits/atomic.h
224 (__arch_atomic_exchange_and_add_32_acq): Add definition.
225 (__arch_atomic_exchange_and_add_32_rel): Likewise.
226 (atomic_exchange_and_add_acq): Likewise.
227 (atomic_exchange_and_add_rel): Likewise.
228 * sysdeps/powerpc/powerpc32/bits/atomic.h
229 (__arch_atomic_exchange_and_add_64_acq): Add definition.
230 (__arch_atomic_exchange_and_add_64_rel): Likewise.
231 * sysdeps/powerpc/powerpc64/bits/atomic.h
232 (__arch_atomic_exchange_and_add_64_acq): Add definition.
233 (__arch_atomic_exchange_and_add_64_rel): Likewise.
234
cdcb42d7
TR
2352014-11-26 Torvald Riegel <triegel@redhat.com>
236
237 * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
238 Change synchronization of __sched_fifo_min_prio and
239 __sched_fifo_max_prio.
240 * nptl/pthread_mutexattr_getprioceiling.c
241 (pthread_mutexattr_getprioceiling): Likewise.
242 * nptl/pthread_mutexattr_setprioceiling.c
243 (pthread_mutexattr_setprioceiling): Likewise.
244 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
245 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
246 Likewise.
247
c82f5c0c
JM
2482014-11-26 Joseph Myers <joseph@codesourcery.com>
249
250 * setjmp/jmpbug.c (test): Make foo volatile and cast it to
251 void.
252
439e1ad6
JM
2532014-11-25 Joseph Myers <joseph@codesourcery.com>
254
255 * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
256 third argument const.
257
b1eda10e
PE
2582014-11-25 Paul Eggert <eggert@cs.ucla.edu>
259
260 fnmatch: work around GCC compiler warning bug with uninit var
261 * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
262 This works around a bug with x86-64 GCC 4.9.2 and earlier
263 where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
264 "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
265 used uninitialized in this function [-Wmaybe-uninitialized]".
266
bde2667a
JM
2672014-11-25 Joseph Myers <joseph@codesourcery.com>
268
269 * posix/bug-regex31.c (main): Return RES not 0.
270
5fbb5691
AB
2712014-11-25 Anton Blanchard <anton@samba.org>
272
273 * sysdeps/powerpc/bits/atomic.h
274 (__arch_compare_and_exchange_bool_64_rel): Load from mem.
275
467fec0b
BM
2762014-11-24 Sterling Augustine <saugustine@google.com>
277
278 * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
279
e9ff8efb
RC
2802014-11-24 Ryan Cumming <etaoins@gmail.com>
281
282 [BZ #17608]
283 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
284
9744496f
JM
2852014-11-24 Joseph Myers <joseph@codesourcery.com>
286
287 [BZ #17633]
288 * stdio-common/perror.c (perror): Call __fileno instead of fileno.
289 * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
290 variable.
291 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
292 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
293
6423d475
WD
2942014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
295
296 * string/strncpy.c (strncpy): Improve performance by using memset.
297
2982014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
b863d2bc
WD
299
300 * string/strcpy.c (strcpy):
301 Improve performance by using strlen and memcpy.
302
5d178c37
LH
3032014-11-24 Leonhard Holz <leonhard.holz@web.de>
304
305 * string/strcoll_l.c (get_next_seq): __always_inline.
306 * string/strcoll_l.c (do_compare): __always_inline.
307
279bc5b3
SP
3082014-11-24 Siddhesh Poyarekar <siddhesh@redhat.com>
309
7a9ebfa1
SP
310 * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
311 defined.
312 * include/mqueue.h: Likewise.
313 * include/stdlib.h: Likewise.
314
4f41c682
SP
315 * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
316 (get_null_defines): Adjust.
317 * sunrpc/Makefile: Adjust comment.
318 * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
319 * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
320 (CFLAGS-interp.c): Likewise.
321 (CFLAGS-ldconfig.c): Likewise.
322 (CPPFLAGS-.os): Likewise.
323 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
324 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
325 * extra-modules.mk (extra-modules.mk): Likewise.
326 * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
327 * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
328 * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
329 * nscd/Makefile (CPPFLAGS-nscd): Likewise.
330 * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
331 * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
332 * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
333 * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
334 * iconvdata/Makefile (CPPFLAGS): Likewise.
335 (cpp-srcs-left): Add libof for all iconvdata routines.
336 * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
337 * include/assert.h: Likewise.
338 * include/ctype.h: Likewise.
339 * include/errno.h: Likewise.
340 * include/libc-symbols.h: Likewise.
341 * include/math.h: Likewise.
342 * include/netdb.h: Likewise.
343 * include/resolv.h: Likewise.
344 * include/stdio.h: Likewise.
345 * include/stdlib.h: Likewise.
346 * include/string.h: Likewise.
347 * include/sys/stat.h: Likewise.
348 * include/wctype.h: Likewise.
349 * intl/l10nflist.c: Likewise.
350 * libidn/idn-stub.c: Likewise.
351 * libio/libioP.h: Likewise.
352 * nptl/libc_multiple_threads.c: Likewise.
353 * nptl/pthreadP.h: Likewise.
354 * posix/regex_internal.h: Likewise.
355 * resolv/res_hconf.c: Likewise.
356 * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
357 * sysdeps/arm/memmove.S: Likewise.
358 * sysdeps/arm/sysdep.h: Likewise.
359 * sysdeps/generic/_itoa.h: Likewise.
360 * sysdeps/generic/symbol-hacks.h: Likewise.
361 * sysdeps/gnu/errlist.awk: Likewise.
362 * sysdeps/gnu/errlist.c: Likewise.
363 * sysdeps/i386/i586/memcpy.S: Likewise.
364 * sysdeps/i386/i586/memset.S: Likewise.
365 * sysdeps/i386/i686/memcpy.S: Likewise.
366 * sysdeps/i386/i686/memmove.S: Likewise.
367 * sysdeps/i386/i686/mempcpy.S: Likewise.
368 * sysdeps/i386/i686/memset.S: Likewise.
369 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
370 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
371 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
372 * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
373 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
374 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
375 * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
376 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
377 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
378 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
379 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
380 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
381 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
382 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
383 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
384 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
385 * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
386 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
387 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
388 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
389 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
390 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
391 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
392 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
393 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
394 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
395 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
396 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
397 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
398 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
399 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
400 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
401 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
402 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
403 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
404 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
405 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
406 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
407 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
408 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
409 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
410 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
411 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
412 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
413 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
414 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
415 * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
416 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
417 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
418 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
419 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
420 * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
421 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
422 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
423 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
424 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
425 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
426 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
427 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
428 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
429 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
430 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
431 * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
432 * sysdeps/nptl/bits/libc-lock.h: Likewise.
433 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
434 * sysdeps/nptl/bits/stdio-lock.h: Likewise.
435 * sysdeps/posix/closedir.c: Likewise.
436 * sysdeps/posix/opendir.c: Likewise.
437 * sysdeps/posix/readdir.c: Likewise.
438 * sysdeps/posix/rewinddir.c: Likewise.
439 * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
440 * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
441 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
442 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
443 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
444 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
445 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
446 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
447 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
448 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
449 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
450 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
451 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
452 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
453 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
454 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
455 * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
456 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
457 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
458 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
459 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
460 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
461 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
462 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
463 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
464 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
465 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
466 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
467 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
468 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
469 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
470 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
471 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
472 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
473 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
474 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
475 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
476 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
477 * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
478 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
479 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
480 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
481 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
482 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
483 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
484 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
485 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
486 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
487 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
488 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
489 * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
490 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
491 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
492 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
493 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
494 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
495 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
496 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
497 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
498 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
499 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
500 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
501 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
502 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
503 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
504 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
505 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
506 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
507 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
508 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
509 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
510 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
511 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
512 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
513 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
514 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
515 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
516 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
517 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
518 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
519 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
520 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
521 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
522 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
523 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
524 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
525 * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
526 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
527 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
528 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
529 * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
530 * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
531 * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
532 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
533 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
534 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
535 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
536 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
537 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
538 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
539 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
540 * sysdeps/unix/alpha/sysdep.S: Likewise.
541 * sysdeps/unix/alpha/sysdep.h: Likewise.
542 * sysdeps/unix/make-syscalls.sh: Likewise.
543 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
544 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
545 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
546 * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
547 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
548 * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
549 * sysdeps/unix/sysv/linux/getpid.c: Likewise.
550 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
551 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
552 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
553 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
554 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
555 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
556 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
557 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
558 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
559 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
560 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
561 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
562 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
563 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
564 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
565 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
566 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
567 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
568 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
569 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
570 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
571 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
572 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
573 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
574 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
575 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
576 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
577 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
578 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
579 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
580 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
581 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
582 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
583 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
584 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
585 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
586 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
587 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
588 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
589 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
590 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
591 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
592 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
593 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
594 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
595 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
596 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
597 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
598 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
599 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
600 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
601 * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
602 * sysdeps/x86_64/memcpy.S: Likewise.
603 * sysdeps/x86_64/memmove.c: Likewise.
604 * sysdeps/x86_64/memset.S: Likewise.
605 * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
606 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
607 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
608 * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
609 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
610 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
611 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
612 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
613 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
614 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
615 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
616 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
617 * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
618 * sysdeps/x86_64/multiarch/memset.S: Likewise.
619 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
620 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
621 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
622 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
623 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
624 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
625 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
626 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
627 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
628 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
629 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
630 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
631 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
632 * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
633 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
634 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
635 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
636 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
637 * sysdeps/x86_64/strcmp.S: Likewise.
638
76ca86a5
SP
639 * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
640
a3848485
SP
641 * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
642 * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
643 * elf/rtld-Rules: Likewise.
644 * elf/setup-vdso.h: Likewise.
645 * include/assert.h: Likewise.
646 * include/bits/stdlib-float.h: Likewise.
647 * include/errno.h: Likewise.
648 * include/sys/stat.h: Likewise.
649 * include/unistd.h: Likewise.
650 * sysdeps/aarch64/setjmp.S: Likewise.
651 * sysdeps/alpha/setjmp.S: Likewise.
652 * sysdeps/arm/__longjmp.S: Likewise.
653 * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
654 * sysdeps/arm/setjmp.S: Likewise.
655 * sysdeps/arm/sysdep.h: Likewise.
656 * sysdeps/generic/_itoa.h: Likewise.
657 * sysdeps/generic/dl-sysdep.h: Likewise.
658 * sysdeps/generic/ldsodefs.h: Likewise.
659 * sysdeps/i386/dl-tls.h: Likewise.
660 * sysdeps/i386/setjmp.S: Likewise.
661 * sysdeps/m68k/setjmp.c: Likewise.
662 * sysdeps/mach/hurd/dl-execstack.c: Likewise.
663 * sysdeps/mach/hurd/opendir.c: Likewise.
664 * sysdeps/posix/getcwd.c: Likewise.
665 * sysdeps/posix/opendir.c: Likewise.
666 * sysdeps/posix/profil.c: Likewise.
667 * sysdeps/powerpc/dl-procinfo.h: Likewise.
668 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
669 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
670 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
671 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
672 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
673 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
674 * sysdeps/s390/dl-tls.h: Likewise.
675 * sysdeps/s390/s390-32/setjmp.S: Likewise.
676 * sysdeps/s390/s390-64/setjmp.S: Likewise.
677 * sysdeps/sh/sh3/setjmp.S: Likewise.
678 * sysdeps/sh/sh4/setjmp.S: Likewise.
679 * sysdeps/unix/alpha/sysdep.h: Likewise.
680 * sysdeps/unix/arm/sysdep.S: Likewise.
681 * sysdeps/unix/i386/sysdep.S: Likewise.
682 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
683 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
684 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
685 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
686 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
687 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
688 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
689 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
690 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
691 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
692 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
693 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
694 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
695 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
696 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
697 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
698 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
699 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
700 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
701 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
702 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
703 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
704 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
705 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
706 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
707 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
708 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
709 * sysdeps/unix/x86_64/sysdep.S: Likewise.
710 * sysdeps/x86_64/setjmp.S: Likewise.
711
a109996e
SP
712 * include/math.h: Use IS_IN instead of IS_IN_libm.
713 * sysdeps/alpha/fpu/s_copysign.c: Likewise.
714 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
715 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
716 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
717 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
718 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
719 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
720 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
721 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
722 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
723 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
724 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
725 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
726 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
727 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
728 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
729 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
730 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
731 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
732 * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
733 * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
734 * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
735 * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
736 * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
737 * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
738 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
739 * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
740 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
741 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
742 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
743 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
744 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
745 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
746 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
747 Likewise.
748 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
749 Likewise.
750 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
751 Likewise.
752 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
753 Likewise.
754 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
755 Likewise.
756 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
757 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
758 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
759 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
760 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
761 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
762 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
763 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
764 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
765 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
766 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
767 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
768 * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
769 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
770 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
771 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
772 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
773 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
774 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
775 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
776 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
777 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
778 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
779 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
780 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
781 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
782 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
783
ce9f10f7
SP
784 * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
785 * nptl/pthreadP.h: Likewise.
786 * nptl_db/structs.def: Likewise.
787 * sysdeps/arm/sysdep.h: Likewise.
788 * sysdeps/nptl/bits/libc-lock.h: Likewise.
789 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
790 * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
791 * sysdeps/unix/alpha/sysdep.h: Likewise.
792 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
793 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
794 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
795 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
796 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
797 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
798 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
799 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
800 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
801 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
802 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
803 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
804 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
805 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
806 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
807 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
808 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
809 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
810 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
811 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
812 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
813 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
814 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
815 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
816 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
817 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
818
016afc75
SP
819 * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
820 * nptl/pthreadP.h: Likewise.
821 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
822 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
823 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
824 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
825 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
826 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
827 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
828 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
829 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
830 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
831 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
832 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
833 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
834 Likewise.
835 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
836 Likewise.
837 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
838 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
839 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
840 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
841 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
842 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
843 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
844 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
845
9b42a0b3
SP
846 * dlfcn/dladdr.c: Use IS_IN.
847 * dlfcn/dladdr1.c: Likewise.
848 * dlfcn/dlclose.c: Likewise.
849 * dlfcn/dlerror.c: Likewise.
850 * dlfcn/dlinfo.c: Likewise.
851 * dlfcn/dlmopen.c: Likewise.
852 * dlfcn/dlopen.c: Likewise.
853 * dlfcn/dlsym.c: Likewise.
854 * dlfcn/dlvsym.c: Likewise.
855
85f36372
SP
856 * include/ifaddrs.h: Use IS_IN.
857 * inet/check_pf.c: Likewise.
858 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
859 * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
860
fb6784e3
SP
861 * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
862 IS_IN_ldconfig.
863 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
864 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
865
2886d2d1
SP
866 * include/shlib-compat.h [!NOT_IN_libc]: Remove.
867 * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
868 IS_IN (libc).
869
9a484857
SP
870 * elf/Makefile (libof-sotruss-lib): Set as extramodules.
871
a10178bd
SP
872 * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
873 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
874 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
875 * include/libc-symbols.h (IS_IN_LIB): New macro.
876 * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
877 * include/netdb.h: Likewise.
878 * include/stap-probe.h: Remove all uses of IN_LIB.
879
279bc5b3
SP
880 * Makeconfig (module-cppflags-real): Define MODULE_NAME
881 instead of IN_MODULE.
882 * include/libc-symbols.h (IN_MODULE): Define using
883 MODULE_NAME.
884 (PASTE_NAME, PASTE_NAME1): New macros.
885 * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
886 of IN_LIB.
887 (STAP_PROBE_ASM): Likewise.
888
e0cfa510
ST
8892014-11-23 Samuel Thibault <samuel.thibault@ens-lyon.org>
890
891 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
892 __mach_init in dlopened libc.
893
34d97d87
MF
8942014-11-22 Mike Frysinger <vapier@gentoo.org>
895
896 * sysdeps/arm/preconfigure.ac: Delete EABI check.
897 * sysdeps/arm/preconfigure: Regenerate.
898
33cd1f74
RM
8992014-11-21 Roland McGrath <roland@hack.frob.com>
900
901 * nptl/pthread_create.c (__pthread_create_2_1): Set
902 ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
903 when copying values from IATTR into PD.
904
8c230039
WN
9052014-11-21 Will Newton <will.newton@linaro.org>
906 Andrew Pinski <andrew.pinski@caviumnetworks.com>
907
6d3db89b
AP
908 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
909 Refactor inline-asm. Also add comment.
910
01194ba1
WN
911 * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
912 ElfW macro instead of hardcoded Elf64 types.
913 (la_aarch64_gnu_pltenter): Likewise.
914 * sysdeps/aarch64/dl-machine.h
915 (elf_machine_runtime_setup): Use ElfW(Addr).
916
8c230039
WN
917 * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
918 R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
919 R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
920 R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
921 R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
922 (R_AARCH64_TLS_DTPMOD64): Rename to ..
923 (R_AARCH64_TLS_DTPMOD): This.
924 (R_AARCH64_TLS_DTPREL64): Rename to ...
925 (R_AARCH64_TLS_DTPREL): This.
926 (R_AARCH64_TLS_TPREL64): Rename to ...
927 (R_AARCH64_TLS_TPREL): This.
928 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
929 R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
930 R_AARCH64_TLS_TPREL64.
931 (elf_machine_rela): Likewise.
932
0d79fa53
TR
9332014-11-21 Torvald Riegel <triegel@redhat.com>
934
935 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
936 by setting it to 0. 64b atomics are not supported currently.
937
b59d114b
AO
9382014-11-21 Alexandre Oliva <aoliva@redhat.com>
939
940 [BZ #16469]
941 * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
942 search domain names.
943
f3d945d5
AO
9442014-11-21 Alexandre Oliva <aoliva@redhat.com>
945
946 [BZ #16469]
947 * NEWS: Update.
948 * resolv/res_query.c (__libc_res_nquerydomain): Retain
949 trailing dot.
950 * posix/tst-getaddrinfo5.c: New.
951 * posix/Makefile (tests): Add it.
952
49698902
AO
9532014-11-21 Alexandre Oliva <aoliva@redhat.com>
954
955 [BZ #14498]
956 * NEWS: Fixed.
957 * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
958 after parsing line but before break_if_match.
959 * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
960 if there is a protocol mismatch.
961
81959214
MS
9622014-11-21 Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
963
964 * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
965 because the potential race is on the user-supplied stream.
966
7729e0e9
AO
9672014-11-21 Alexandre Oliva <aoliva@redhat.com>
968
969 * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
970 string literal if not passed a buffer.
971 * manual/job.texi (ctermid): Update reasoning, note deviation
972 from posix, suggest mtasurace when not passed a buffer, for
973 future non-preliminary safety notes.
974
a4ea5e28
AO
9752014-11-21 Alexandre Oliva <aoliva@redhat.com>
976
977 * manual/users.texi (cuserid): Fix MT-Safety note for the case
978 of not passing it a buffer.
979 Reported by Peng Haitao.
980
a2b581cb
AO
9812014-11-21 Alexandre Oliva <aoliva@redhat.com>
982
983 * manual/Makefile ($(objpfx)stamp-summary): Require
984 check-safety.sh to pass.
985 * manual/check-safety.sh: Wish for verification that every
986 @deftypefn and @deftypefun is followed by a @safety remark.
987
f214ff74
RM
9882014-11-20 Roland McGrath <roland@hack.frob.com>
989
7f0dfae0
RM
990 * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
991
2f531bbb
RM
992 * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
993 PTHREAD_CANCEL_ASYNCHRONOUS.
994 * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
995 send SIGCANCEL.
996
f214ff74
RM
997 * nptl/default-sched.h: New file.
998 * sysdeps/unix/sysv/linux/default-sched.h: New file.
999 * nptl/pthread_create.c: Include it.
1000 (__pthread_create_2_1): Use collect_default_sched instead of making
1001 Linux syscalls here directly.
1002
e37c91d4
TR
10032014-11-20 Torvald Riegel <triegel@redhat.com>
1004
1005 * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
1006 __pthread_once): Use C11 atomics.
1007
1eccfecd
TR
10082014-11-20 Torvald Riegel <triegel@redhat.com>
1009
1010 * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
1011
ff871426
TR
10122014-11-20 Torvald Riegel <triegel@redhat.com>
1013
1014 * include/atomic.h (__atomic_link_error, __atomic_check_size,
1015 atomic_thread_fence_acquire, atomic_thread_fence_release,
1016 atomic_thread_fence_seq_cst, atomic_load_relaxed,
1017 atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
1018 atomic_compare_exchange_weak_relaxed,
1019 atomic_compare_exchange_weak_acquire,
1020 atomic_compare_exchange_weak_release,
1021 atomic_exchange_acquire, atomic_exchange_release,
1022 atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
1023 atomic_fetch_add_release, atomic_fetch_add_acq_rel,
1024 atomic_fetch_and_acquire,
1025 atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
1026
1ea339b6
TR
10272014-11-20 Torvald Riegel <triegel@redhat.com>
1028
1029 * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
1030 USE_ATOMIC_COMPILER_BUILTINS): Define.
1031 * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
1032 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1033 * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
1034 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1035 * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
1036 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1037 * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
1038 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1039 * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
1040 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1041 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
1042 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1043 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
1044 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1045 * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
1046 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1047 * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
1048 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1049 * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
1050 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1051 * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
1052 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1053 * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
1054 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1055 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
1056 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1057 * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
1058 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1059 * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
1060 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1061 * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
1062 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1063 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
1064 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1065 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
1066 (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1067 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
1068 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1069 * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
1070 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1071
cbd463e2
RM
10722014-11-19 Roland McGrath <roland@hack.frob.com>
1073
d960211f
RM
1074 * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
1075 the sched_priority value here. It was already checked when the user
1076 called pthread_attr_setschedparam.
1077
cbd463e2
RM
1078 * nptl/tst-bad-schedattr.c: New file.
1079 * nptl/Makefile (tests): Add it.
1080
a39208bd
CD
10812014-11-19 Carlos O'Donell <carlos@redhat.com>
1082 Florian Weimer <fweimer@redhat.com>
1083 Joseph Myers <joseph@codesourcery.com>
1084 Adam Conrad <adconrad@0c3.net>
1085 Andreas Schwab <schwab@suse.de>
1086 Brooks <bmoses@google.com>
1087
1088 [BZ #17625]
1089 * wordexp-test.c (__dso_handle): Add prototype.
1090 (__register_atfork): Likewise.
1091 (__app_register_atfork): New function.
1092 (registered_forks): New global.
1093 (register_fork): New function.
1094 (test_case): Add 3 new tests for WRDE_CMDSUB.
1095 (main): Call __app_register_atfork.
1096 (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
1097 fork count is non-zero fail the test.
1098 * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
1099 is set.
1100 (parse_dollars): Remove check for WRDE_NOCMD.
1101 (parse_dquote): Likewise.
1102
9cd47470
SP
11032014-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
1104
130ac68c
SP
1105 * Makeconfig (built-modules): List non-library modules to be
1106 built.
1107 (module-cppflags): Include libc-modules.h for
1108 everything except shlib-versions.v.i.
1109 (CPPFLAGS): Use it.
1110 (before-compile): Add libc-modules.h.
1111 ($(common-objpfx)libc-modules.h,
1112 $(common-objpfx)libc-modules.stmp): New targets.
1113 (common-generated): Add libc-modules.h and libc-modules.stmp.
1114 ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
1115 * include/libc-symbols.h: Don't include libc-modules.h.
1116 * include/libc-modules.h: Remove file.
1117 * scripts/gen-libc-modules.awk: New script to generate
1118 libc-modules.h.
1119 * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
1120 Depend on libc-modules.stmp.
1121
286663c3
SP
1122 * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
1123
9cd47470
SP
1124 * Makeconfig (in-module): Get value of libof set for the
1125 translation unit.
1126 (CPPFLAGS): Use $(in-module).
1127 * Makerules: Don't suffix routine names for nonlib.
1128 * include/libc-modules.h: New file.
1129 * include/libc-symbols.h: Include libc-modules.h
1130 (IS_IN): New macro to replace IS_IN_* macros.
1131 * elf/Makefile: Set libof-* for each routine.
1132 * elf/rtld-Rules: Likewise.
1133 * extra-modules.mk: Likewise.
1134 * iconv/Makefile: Likewise.
1135 * iconvdata/Makefile: Likewise.
1136 * locale/Makefile: Likewise.
1137 * malloc/Makefile: Likewise.
1138 * nss/Makefile: Likewise.
1139 * sysdeps/gnu/Makefile: Likewise.
1140 * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
1141 * sysdeps/unix/sysv/linux/Makefile: Likewise.
1142 * sysdeps/s390/s390-64/Makefile: Likewise.
1143 * nscd/Makefile: Set libof-* for each routine. Set CFLAGS and
1144 CPPFLAGS for nscd instead of nonlib.
1145
32fed10f
RM
11462014-11-18 Roland McGrath <roland@hack.frob.com>
1147
d71035bd
RM
1148 * nptl/createthread.c: New file.
1149
6540b991
RM
1150 * nptl/createthread.c: Moved ...
1151 * sysdeps/unix/sysv/linux/createthread.c: ... here.
1152
32fed10f
RM
1153 * nptl/createthread.c: Add proper top-line comment.
1154 (do_clone): Folded into ...
1155 (create_thread): ... here. Take new arguments STOPPED_START and
1156 THREAD_RAN. Always set PD->stopped_start to something here. Don't
1157 increment __nptl_threads, do event-reporting logic, do
1158 CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
1159 here. Set *THREAD_RAN after ARCH_CLONE call succeeds. Don't do any
1160 resource cleanup if sched_setaffinity or sched_setscheduler fails,
1161 just send SIGCANCEL.
1162 * nptl/pthread_create.c: Forward-declare create_thread before
1163 including createthread.c.
1164 (start_thread): Use new macro START_THREAD_DEFN to replace defining
1165 declaration, and new macro START_THREAD_SELF to replace argument.
1166 Remove return statement.
1167 (report_thread_creation): New function.
1168 (__pthread_create_2_1): Use it. Do TD_CREATE reporting,
1169 synchronization logic, and __nptl_nthreads increment here, around
1170 calling create_thread. Do CHECK_THREAD_SYSINFO and initialize
1171 PD->parent_cancelhandling here, before create_thread. When
1172 create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
1173 __deallocate_stack, and ENOMEM translation here.
1174
107a5bf0
JM
11752014-11-18 Joseph Myers <joseph@codesourcery.com>
1176
1177 [BZ #17616]
1178 * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
1179 (mptwo): Rename to __mptwo.
1180 (__inv): Use __mptwo instead of mptwo.
1181 * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
1182 (mptwo): Rename to __mptwo.
1183 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
1184 of mpone and __mptwo instead of mptwo.
1185 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
1186 instead of mpone.
1187 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
1188 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
1189 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
1190 of mpone and __mptwo instead of mptwo.
1191 (__mpranred): Use __mpone instead of mpone.
1192 * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
1193 variable.
1194 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
1195 (test-xfail-ISO99/math.h/linknamespace): Likewise.
1196 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
1197 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
1198 (test-xfail-ISO11/math.h/linknamespace): Likewise.
1199 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
1200 (test-xfail-XPG3/math.h/linknamespace): Likewise.
1201 (test-xfail-XPG4/math.h/linknamespace): Likewise.
1202 (test-xfail-POSIX/math.h/linknamespace): Likewise.
1203 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
1204 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
1205 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
1206 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
1207 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
1208 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
1209 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
1210 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
1211 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
1212 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
1213
3b679ab3
TV
12142014-11-18 Tom de Vries <tom@codesoucery.com>
1215
1216 * manual/signal.texi (Primitives Interrupted by Signals): In section,
1217 replace BSD Handler xref with BSD Signal Handling.
4886f341
RH
1218
12192014-11-17 Richard Henderson <rth@redhat.com>
1220
1221 * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
1222 (_FP_PACK_RAW_2): Remove.
1223 (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
1224 (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
1225 (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
1226 (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
1227 * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
1228 * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
1229 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
1230 * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
1231 * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
1232 * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
1233 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
1234 * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
1235 * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
1236 * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
1237 * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
1238 * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
1239
0781a777
RM
12402014-11-14 Roland McGrath <roland@hack.frob.com>
1241
1242 * signal/signal.h [__USE_MISC]
1243 (struct sigvec): Remove type.
1244 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
1245 (sigvec): Remove declaration.
1246 * sysdeps/posix/sigvec.c: Moved ...
1247 * signal/sigvec.c: ... here, replacing old file.
1248 (struct sigvec): New type, copied from old signal.h definition.
1249 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
1250 (__sigvec): Convert definition to prototype.
1251 (sigvec): Replace weak_alias with compat_symbol.
1252 * signal/Versions (libc: GLIBC_2.21): New version set.
1253 * include/signal.h: Remove __sigvec declaration.
1254 * sysdeps/unix/bsd/sigvec.c: Remove file.
1255 * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
1256 * manual/signal.texi (BSD Handler): Remove subsection.
1257 Move siginterrupt up to ...
1258 (BSD Signal Handling): ... here. Mark it as XPG rather than BSD.
1259 (Blocking in BSD): Fold subsection into its parent.
1260 * NEWS: Mention sigvec removal.
1261
a4733812
JM
12622014-11-14 Joseph Myers <joseph@codesourcery.com>
1263
5ae4fe60
JM
1264 * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
1265 (DLA_FMS): Make definition conditional only on [__FMA4__].
1266 [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
1267 definition.
1268
6a0dd472
JM
1269 * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
1270 Make definition conditional only on [PROF].
1271 [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
1272 definition.
1273 [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
1274 [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
1275
a4733812
JM
1276 * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
1277 !__GNUC__].
1278 * include/signal.h (__sigpause): Move declaration above call to
1279 libc_hidden_proto.
1280 * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
1281 variable.
1282 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
1283 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
1284
cf7246dd
DM
12852014-11-14 David S. Miller <davem@davemloft.net>
1286
1287 * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
1288 Define before including <string/memcpy.c> and <string/mempcpy.c>.
1289
c1b0aadc
JM
12902014-11-14 Joseph Myers <joseph@codesourcery.com>
1291
4863355a
JM
1292 * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
1293 * configure: Regenerated.
1294 * manual/install.texi (Tools for Compilation): Document a
1295 requirement of GCC 4.6 or later and that GCC 4.9 is the newest
1296 compiler verified to work.
1297 * INSTALL: Regenerated.
1298
c1b0aadc
JM
1299 * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
1300 redeclare with asm name.
1301 [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
1302 * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
1303 including <string.h>.
1304 * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
1305 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
1306 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
1307 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
1308 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
1309 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
1310 [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
1311
2a1cfd94
JM
13122014-11-13 Joseph Myers <joseph@codesourcery.com>
1313
bf438382
JM
1314 * stdlib/strtol.c (__strtol): Use prototype definition.
1315
2a1cfd94
JM
1316 [BZ #17594]
1317 * stdlib/strtol.c (SYM__): New macro.
1318 (SYM__1): Likewise.
1319 (__strtol): Likewise.
1320 (strtol): Rename to __strtol and define as weak alias of
1321 __strtol. Use libc_hidden_weak.
1322
20ed0d26
SL
13232014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
1324
1325 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
1326 Use numbered labels in inline assembly.
1327
53244a4e
SL
13282014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
1329
1330 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
1331 Add setjmp LIBC_PROBE.
1332 * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
1333 Likewise.
1334 * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
1335 Add longjmp, longjmp_target LIBC_PROBE.
1336 * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
1337 Likewise.
1338
47df8251
SL
13392014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
1340
1341 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
1342 Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
1343 to get rid of unused variable warning.
1344
618cebef
SL
13452014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
1346
1347 * sysdeps/s390/s390-32/backtrace.c (__backtrace):
1348 Check for unwind_backtrace == NULL only in SHARED case.
1349 (__backchain_backtrace): Compile only in SHARED case.
1350 * sysdeps/s390/s390-64/backtrace.c (__backtrace):
1351 Likewise.
1352 (__backchain_backtrace): Declare as static.
1353
c6aab2cb
RM
13542014-11-12 Roland McGrath <roland@hack.frob.com>
1355
1356 * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
1357 (__libc_multiple_threads_ptr): Variable moved ...
1358 * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
1359
5a6fa4d7
JM
13602014-11-12 Joseph Myers <joseph@codesourcery.com>
1361
24f4f825
JM
1362 * conform/GlibcConform.pm: New file.
1363 * conform/conformtest.pl: Use GlibcConform module.
1364 * conform/linknamespace.pl: New file.
1365 * conform/list-header-symbols.pl: Likewise.
1366 * conform/Makefile (linknamespace-symlists-base): New variable.
1367 (linknamespace-symlists-tests): Likewise.
1368 (linknamespace-header-base): Likewise.
1369 (linknamespace-header-tests): Likewise.
1370 (tests-special): Add new tests.
1371 ($(linknamespace-symlists-tests)): New rule.
1372 (linknamespace-libs): New variable.
1373 ($(objpfx)symlist-stdlibs): New rule.
1374 ($(linknamespace-header-tests)): Likewise.
1375 (test-xfail-XPG3/varargs.h/linknamespace): New variable.
1376 (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
1377 (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
1378 (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
1379 (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
1380 (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
1381 (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
1382 (test-xfail-ISO/math.h/linknamespace): Likewise.
1383 (test-xfail-ISO/signal.h/linknamespace): Likewise.
1384 (test-xfail-ISO/stdio.h/linknamespace): Likewise.
1385 (test-xfail-ISO/time.h/linknamespace): Likewise.
1386 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
1387 (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
1388 (test-xfail-ISO99/math.h/linknamespace): Likewise.
1389 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
1390 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
1391 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
1392 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
1393 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
1394 (test-xfail-ISO11/math.h/linknamespace): Likewise.
1395 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
1396 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
1397 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
1398 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
1399 (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
1400 (test-xfail-XPG3/glob.h/linknamespace): Likewise.
1401 (test-xfail-XPG3/math.h/linknamespace): Likewise.
1402 (test-xfail-XPG3/regex.h/linknamespace): Likewise.
1403 (test-xfail-XPG3/search.h/linknamespace): Likewise.
1404 (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
1405 (test-xfail-XPG3/time.h/linknamespace): Likewise.
1406 (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
1407 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
1408 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
1409 (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
1410 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
1411 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
1412 (test-xfail-XPG4/grp.h/linknamespace): Likewise.
1413 (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
1414 (test-xfail-XPG4/math.h/linknamespace): Likewise.
1415 (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
1416 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
1417 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
1418 (test-xfail-XPG4/search.h/linknamespace): Likewise.
1419 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
1420 (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
1421 (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
1422 (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
1423 (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
1424 (test-xfail-XPG4/time.h/linknamespace): Likewise.
1425 (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
1426 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
1427 (test-xfail-POSIX/aio.h/linknamespace): Likewise.
1428 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
1429 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
1430 (test-xfail-POSIX/math.h/linknamespace): Likewise.
1431 (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
1432 (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
1433 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
1434 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
1435 (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
1436 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
1437 (test-xfail-POSIX/time.h/linknamespace): Likewise.
1438 (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
1439 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
1440 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
1441 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
1442 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
1443 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
1444 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
1445 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
1446 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
1447 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
1448 (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
1449 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
1450 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
1451 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
1452 (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
1453 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
1454 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
1455 (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
1456 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
1457 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
1458 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
1459 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
1460 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
1461 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
1462 (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
1463 (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
1464 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
1465 (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
1466 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
1467 (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
1468 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
1469 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
1470 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
1471 (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
1472 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
1473 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
1474 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
1475 (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
1476 (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
1477 (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
1478 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
1479 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
1480 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
1481 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
1482 (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
1483 (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
1484 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
1485 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
1486 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
1487 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
1488 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
1489 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
1490 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
1491 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
1492 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
1493 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
1494 (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
1495 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
1496 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
1497 (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
1498 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
1499 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
1500 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
1501 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
1502 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
1503 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
1504 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
1505 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
1506 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
1507 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
1508 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
1509 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
1510 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
1511 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
1512 (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
1513 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
1514 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
1515 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
1516 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
1517 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
1518 (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
1519 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
1520 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
1521 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
1522 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
1523 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
1524 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
1525 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
1526 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
1527 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
1528 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
1529 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
1530 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
1531 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
1532 (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
1533 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
1534 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
1535 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
1536
cc67478e
JM
1537 [BZ #17589]
1538 * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
1539 of fgets_unlocked.
1540
9975e3d3
JM
1541 [BZ #17585]
1542 * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
1543 (memmem): Rename to __memmem and define as weak alias of
1544 __memmem. Use libc_hidden_weak.
1545 (__memmem): Use libc_hidden_def.
1546 * include/string.h (__memmem): Declare. Use libc_hidden_proto.
1547 * locale/findlocale.c (valid_locale_name): Use __memmem instead of
1548 memmem.
1549
c4eae752
JM
1550 [BZ #17582]
1551 * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
1552 (__fgets_unlocked): Add alias of _IO_fgets. Use libc_hidden_def.
1553 * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
1554 and define as weak alias of __fgets_unlocked. Use
1555 libc_hidden_weak.
1556 (__fgets_unlocked): Use libc_hidden_def.
1557 * include/stdio.h (__fgets_unlocked): Declare. Use
1558 libc_hidden_proto.
1559 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
1560 __fgets_unlocked instead of fgets_unlocked.
1561 * sysdeps/unix/sysv/linux/alpha/getsysstats.c
1562 (GET_NPROCS_CONF_PARSER): Likewise.
1563 * sysdeps/unix/sysv/linux/sparc/getsysstats.c
1564 (GET_NPROCS_CONF_PARSER): Likewise.
1565
01cad84e
JM
1566 [BZ #17574]
1567 * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
1568 weak alias of __wmemset. Use libc_hidden_weak.
1569 (__wmemset): Use libc_hidden_def.
1570 * include/wchar.h (__wmemset): Declare. Use libc_hidden_proto.
1571 * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
1572 of wmemset.
1573
939da411
JM
1574 [BZ #17573]
1575 * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
1576 with asm name __mempcpy.
1577 [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
1578
293d9a41
JM
1579 [BZ #17572]
1580 * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
1581 and define as weak alias of __rawmemchr.
1582 (__rawmemchr): Do not define as strong alias of rawmemchr.
1583
bef8fd60
JM
1584 [BZ #17571]
1585 * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
1586 alias of __qsort_r.
1587 (qsort): Call __qsort_r instead of qsort_r.
1588 * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
1589 (__qsort_r): Declare. Call libc_hidden_proto.
1590 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
1591 instead of qsort_r.
1592 * nscd/gai.c (__qsort_r): Define to qsort_r.
1593 * posix/tst-rfc3484.c (__qsort_r): Likewise.
1594 * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
1595 * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
1596
c52ff39e
JM
1597 [BZ #17570]
1598 * malloc/malloc.c (malloc_info): Rename to __malloc_info and
1599 define as weak alias of __malloc_info.
1600
2f5c1b00
JM
1601 [BZ #17584]
1602 * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
1603 as weak alias of __rewinddir. Don't use libc_hidden_def.
1604 (__rewinddir): Use libc_hidden_def.
1605 * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
1606 as weak alias of __rewinddir. Don't use libc_hidden_def.
1607 (__rewinddir): Use libc_hidden_def.
1608 * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
1609 weak alias of __rewinddir. Don't use libc_hidden_def.
1610 (__rewinddir): Use libc_hidden_def.
1611 * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
1612 (__rewinddir): Use libc_hidden_proto.
1613 * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
1614 rewinddir.
1615 (__getcwd): Use __rewinddir instead of rewinddir.
1616
5a6fa4d7
JM
1617 [BZ #17583]
1618 * libio/fileno.c (fileno): Rename to __fileno and define as weak
1619 alias of __fileno. Use libc_hidden_weak.
1620 (__fileno): Use libc_hidden_def.
1621 [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
1622 * libio/ftello.c (ftello): Rename to __ftello and define as weak
1623 alias of __ftello.
1624 [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
1625 __ftello.
1626 * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
1627 (__fread_unlocked): Define as strong alias of _IO_fread. Use
1628 libc_hidden_def.
1629 (fread_unlocked): Don't use libc_hidden_ver.
1630 * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
1631 and define as weak alias of __fread_unlocked. Don't use
1632 libc_hidden_def.
1633 (__fread_unlocked): Use libc_hidden_def.
1634 * include/stdio.h (__fileno): Declare. Use libc_hidden_proto.
1635 (ftello): Don't use libc_hidden_proto.
1636 (__ftello): Declare. Use libc_hidden_proto.
1637 (fread_unlocked): Don't use libc_hidden_proto.
1638 (__fread_unlocked): Declare. Use libc_hidden_proto.
1639 * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
1640 and __ftello instead of fileno, fread_unlocked and ftello.
1641
2581b98e
SP
16422012-11-12 Siddhesh Poyarekar <siddhesh@redhat.com>
1643
1644 * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
1645 GOT12.
1646 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
1647 Likewise.
1648 (_dl_start_user): Likewise.
1649 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
1650
533bb7c2
SP
16512014-11-12 Carlos O'Donell <carlos@redhat.com>
1652 Siddhesh Poyarekar <siddhesh@redhat.com>
1653
1654 * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
1655 Move argv and envp down instead of moving argc up.
1656 * sysdeps/s390/s390-32/dl-sysdep.h: New file.
1657
fffa1cf8
LH
16582014-11-12 Leonhard Holz <leonhard.holz@web.de>
1659
1660 [BZ #17506]
1661 * test-skeleton.c (main): Return successful if one of
1662 EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
1663 * string/tst-strcoll-overflow.c: Define expected status.
1664
fb89b46d
TU
16652014-11-12 Tatiana Udalova <t.udalova@samsung.com>
1666
1667 [BZ #17475]
1668 * locale/iso-639.def: Define Bhili and Tulu language codes.
1669
5c40c3ba
AH
16702014-11-11 Alan Hayward <alan.hayward@arm.com>
1671
1672 * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
1673
b17fe01b 16742014-11-10 Renlin Li <Renlin.Li@arm.com>
80085def
RL
1675
1676 [BZ #17555]
1677 * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
1678
bd805071
AS
16792014-11-10 Andrew Senkevich <andrew.n.senkevich@gmail.com>
1680
1681 * configure.ac: Updated check of minimal required version to
1682 2.22.
1683 * manual/install.texi (Tools for Compilation): Updated version
1684 number.
1685 * configure: Regenerated.
1686 * INSTALL: Likewise.
1687
1400983e
AS
16882014-11-07 Andreas Schwab <schwab@linux-m68k.org>
1689
1690 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
1691 __tls_get_addr.
1692
2c46a66a
JM
16932014-11-07 Joseph Myers <joseph@codesourcery.com>
1694
1695 * include/sys/wait.h (__libc_waitpid): Remove declaration.
1696 * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
1697 (__waitpid): Don't define as alias. Use libc_hidden_def not
1698 libc_hidden_weak.
1699 (waitpid): Define as alias of __waitpid.
1700 * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
1701 __waitpid.
1702 (__waitpid): Don't define as alias. Use libc_hidden_def not
1703 libc_hidden_weak.
1704 (waitpid): Define as alias of __waitpid.
1705 * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
1706 __libc_waitpid alias.
1707 * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
1708 * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
1709 Likewise.
1710 * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
1711 * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
1712 * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
1713 alias.
1714 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
1715 __waitpid.
1716 (__waitpid): Don't define as alias. Use libc_hidden_def not
1717 libc_hidden_weak.
1718 (waitpid): Define as alias of __waitpid.
1719
da53d6db
CD
17202014-11-06 Carlos O'Donell <carlos@redhat.com>
1721
a2887bdb
CD
1722 * manual/llio.texi: Add comment that write safety has been
1723 fixed in Linux.
1724
da53d6db
CD
1725 * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
1726 (localplt-build-dso): Add elf/ld.so.
1727 * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
1728 i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
1729 and free for ld.so.
1730 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
1731 __libc_memalign, malloc, calloc, realloc, and free for ld.so.
1732 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
1733 Likewise.
1734 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
1735 Likewise.
1736 * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
1737 * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
1738 version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
1739 * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
1740 * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
1741 * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
1742 * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
1743 * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
1744 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
1745 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
1746 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
1747
9cf27b8d
JM
17482014-11-05 Joseph Myers <joseph@codesourcery.com>
1749
1750 [BZ #14132]
1751 * include/libc-symbols.h (INTUSE): Remove macro.
1752 (INTDEF): Likewise.
1753 (INTVARDEF): Likewise.
1754 (_INTVARDEF): Likewise.
1755 (INTDEF2): Likewise.
1756 (INTVARDEF2): Likewise.
1757 * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
1758 rtld_hidden_def instead of INTVARDEF.
1759 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
1760 (_dl_starting_up_internal): Remove declaration.
1761 (_dl_starting_up): Use rtld_hidden_proto.
1762 * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
1763 declaration.
1764 [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
1765 (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
1766 _dl_starting_up.
1767 * elf/dl-writev.h (_dl_writev): Likewise.
1768 * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
1769 (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
1770 _dl_starting_up_internal.
1771
af83568d
AZ
17722014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1773
1774 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
1775 test-skeleton.c.
1776
b01ee67c
WN
17772014-11-05 Will Newton <will.newton@linaro.org>
1778
1779 * benchtests/Makefile: (bench-malloc): Add malloc thread
1780 scalability benchmark.
1781 * benchtests/bench-malloc-threads.c: New file.
1782
be9d4ccc
RE
17832014-11-05 Richard Earnshaw <rearnsha@arm.com>
1784
1785 * sysdeps/aarch64/strchrnul.S: New file.
1786
7110166d
AZ
17872014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1788
1789 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
1790 definition.
1791 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
1792 Likwise.
1793 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
1794 Likewise.
1795 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
1796 Likewise.
1797 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
1798 Likewise.
1799 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
1800 Likewise.
1801
18022014-11-05 Arjun Shankar <arjun.is@lostca.se>
29955b5d
AS
1803
1804 * catgets/test-gencat.c: Use test-skeleton.c.
1805 * catgets/tst-catgets.c: Likewise.
1806 * csu/tst-empty.c: Likewise.
1807 * elf/tst-audit2.c: Likewise.
1808 * elf/tst-global1.c: Likewise.
1809 * elf/tst-pathopt.c: Likewise.
1810 * elf/tst-piemod1.c: Likewise.
1811 * elf/tst-tls10.c: Likewise.
1812 * elf/tst-tls11.c: Likewise.
1813 * elf/tst-tls12.c: Likewise.
1814 * gnulib/tst-gcc.c: Likewise.
1815 * iconvdata/tst-e2big.c: Likewise.
1816 * iconvdata/tst-loading.c: Likewise.
1817 * iconv/tst-iconv1.c: Likewise.
1818 * iconv/tst-iconv2.c: Likewise.
1819 * inet/test-inet6_opt.c: Likewise.
1820 * inet/tst-gethnm.c: Likewise.
1821 * inet/tst-network.c: Likewise.
1822 * inet/tst-ntoa.c: Likewise.
1823 * intl/tst-codeset.c: Likewise.
1824 * intl/tst-gettext2.c: Likewise.
1825 * intl/tst-gettext3.c: Likewise.
1826 * intl/tst-ngettext.c: Likewise.
1827 * intl/tst-translit.c: Likewise.
1828 * io/test-stat.c: Likewise.
1829 * libio/test-fmemopen.c: Likewise.
1830 * libio/tst-freopen.c: Likewise.
1831 * libio/tst-sscanf.c: Likewise.
1832 * libio/tst-ungetwc1.c: Likewise.
1833 * libio/tst-ungetwc2.c: Likewise.
1834 * libio/tst-widetext.c: Likewise.
1835 * localedata/tst-ctype.c: Likewise.
1836 * localedata/tst-digits.c: Likewise.
1837 * localedata/tst-leaks.c: Likewise.
1838 * localedata/tst-mbswcs1.c: Likewise.
1839 * localedata/tst-mbswcs2.c: Likewise.
1840 * localedata/tst-mbswcs3.c: Likewise.
1841 * localedata/tst-mbswcs4.c: Likewise.
1842 * localedata/tst-mbswcs5.c: Likewise.
1843 * localedata/tst-setlocale.c: Likewise.
1844 * localedata/tst-trans.c: Likewise.
1845 * localedata/tst-wctype.c: Likewise.
1846 * localedata/tst-xlocale1.c: Likewise.
1847 * login/tst-grantpt.c: Likewise.
1848 * malloc/tst-calloc.c: Likewise.
1849 * malloc/tst-malloc.c: Likewise.
1850 * malloc/tst-mallocstate.c: Likewise.
1851 * malloc/tst-mcheck.c: Likewise.
1852 * malloc/tst-mtrace.c: Likewise.
1853 * malloc/tst-obstack.c: Likewise.
1854 * math/atest-exp2.c: Likewise.
1855 * math/atest-exp.c: Likewise.
1856 * math/atest-sincos.c: Likewise.
1857 * math/test-matherr.c: Likewise.
1858 * math/test-misc.c: Likewise.
1859 * math/test-powl.c: Likewise.
1860 * math/tst-definitions.c: Likewise.
1861 * misc/tst-dirname.c: Likewise.
1862 * misc/tst-efgcvt.c: Likewise.
1863 * misc/tst-fdset.c: Likewise.
1864 * misc/tst-hsearch.c: Likewise.
1865 * misc/tst-mntent2.c: Likewise.
1866 * nptl/tst-sem7.c: Likewise.
1867 * nptl/tst-sem8.c: Likewise.
1868 * nptl/tst-sem9.c: Likewise.
1869 * nss/test-netdb.c: Likewise.
1870 * posix/tst-fnmatch.c: Likewise.
1871 * posix/tst-getlogin.c: Likewise.
1872 * posix/tst-gnuglob.c: Likewise.
1873 * posix/tst-mmap.c: Likewise.
1874 * pwd/tst-getpw.c: Likewise.
1875 * resolv/tst-inet_ntop.c: Likewise.
1876 * rt/tst-timer.c: Likewise.
1877 * stdio-common/test-fseek.c: Likewise.
1878 * stdio-common/test-popen.c: Likewise.
1879 * stdio-common/test-vfprintf.c: Likewise.
1880 * stdio-common/tst-cookie.c: Likewise.
1881 * stdio-common/tst-fileno.c: Likewise.
1882 * stdio-common/tst-gets.c: Likewise.
1883 * stdio-common/tst-obprintf.c: Likewise.
1884 * stdio-common/tst-perror.c: Likewise.
1885 * stdio-common/tst-sprintf2.c: Likewise.
1886 * stdio-common/tst-sprintf3.c: Likewise.
1887 * stdio-common/tst-sprintf.c: Likewise.
1888 * stdio-common/tst-swprintf.c: Likewise.
1889 * stdio-common/tst-tmpnam.c: Likewise.
1890 * stdio-common/tst-unbputc.c: Likewise.
1891 * stdio-common/tst-wc-printf.c: Likewise.
1892 * stdlib/tst-environ.c: Likewise.
1893 * stdlib/tst-fmtmsg.c: Likewise.
1894 * stdlib/tst-limits.c: Likewise.
1895 * stdlib/tst-rand48-2.c: Likewise.
1896 * stdlib/tst-rand48.c: Likewise.
1897 * stdlib/tst-random2.c: Likewise.
1898 * stdlib/tst-random.c: Likewise.
1899 * stdlib/tst-strtol.c: Likewise.
1900 * stdlib/tst-strtoll.c: Likewise.
1901 * stdlib/tst-tls-atexit.c: Likewise.
1902 * stdlib/tst-xpg-basename.c: Likewise.
1903 * string/test-ffs.c: Likewise.
1904 * string/tst-bswap.c: Likewise.
1905 * string/tst-inlcall.c: Likewise.
1906 * string/tst-strtok.c: Likewise.
1907 * string/tst-strxfrm.c: Likewise.
1908 * sysdeps/x86_64/tst-audit10.c: Likewise.
1909 * sysdeps/x86_64/tst-audit3.c: Likewise.
1910 * sysdeps/x86_64/tst-audit4.c: Likewise.
1911 * sysdeps/x86_64/tst-audit5.c: Likewise.
1912 * time/tst-ftime_l.c: Likewise.
1913 * time/tst-getdate.c: Likewise.
1914 * time/tst-mktime3.c: Likewise.
1915 * time/tst-mktime.c: Likewise.
1916 * time/tst-posixtz.c: Likewise.
1917 * time/tst-strptime2.c: Likewise.
1918 * time/tst-strptime3.c: Likewise.
1919 * wcsmbs/tst-btowc.c: Likewise.
1920 * wcsmbs/tst-mbrtowc.c: Likewise.
1921 * wcsmbs/tst-mbsrtowcs.c: Likewise.
1922 * wcsmbs/tst-wchar-h.c: Likewise.
1923 * wcsmbs/tst-wcpncpy.c: Likewise.
1924 * wcsmbs/tst-wcrtomb.c: Likewise.
1925 * wcsmbs/tst-wcsnlen.c: Likewise.
1926 * wcsmbs/tst-wcstof.c: Likewise.
1927
2004e7fb
JM
19282014-11-04 Joseph Myers <joseph@codesourcery.com>
1929
ab97ee8f
JM
1930 [BZ #14132]
1931 * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
1932 INTDEF.
1933 * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
1934 declaration.
1935 (_dl_mcount): Use rtld_hidden_proto.
1936 * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
1937 _dl_mcount.
1938 * elf/rtld.c (_rtld_global_ro): Likewise.
1939
c5684fdb
JM
1940 [BZ #14132]
1941 * elf/dl-init.c (_dl_init): Don't use INTDEF.
1942 * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
1943 of _dl_init_internal.
1944 * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
1945 * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
1946 * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
1947 * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
1948 * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
1949 * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
1950 * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
1951 * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
1952 * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
1953 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
1954 * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
1955 * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
1956 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
1957 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
1958 * sysdeps/tile/dl-start.S (_start): Likewise.
1959 * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
1960 * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
1961
4243cbea
JM
1962 [BZ #14132]
1963 * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
1964 [IS_IN_rtld] (_dl_argv_internal): Do not declare.
1965 (rtld_progname): Make macro definition unconditional.
1966 * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
1967 INTDEF.
1968 (dlmopen_doit): Do not use INTUSE with _dl_argv.
1969 (dl_main): Likewise.
1970 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
1971 * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
1972 instead of _dl_argv_internal.
1973 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
1974 __GI__dl_argv instead of INTUSE(_dl_argv).
1975 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
1976 __GI__dl_argv instead of _dl_argv_internal.
1977
2004e7fb
JM
1978 * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
1979 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
1980 macro.
1981 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
1982 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
1983 New macro.
1984 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
1985 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
1986 macro.
1987 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
1988 * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
1989
97827bfc
AS
19902014-11-04 Andreas Schwab <schwab@suse.de>
1991
1992 * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
1993
5e4df284
AZ
19942014-11-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1995
1996 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
1997 mtvsrd instruction in binary form.
1998
04b76b5a
AS
19992014-11-03 Andreas Schwab <schwab@suse.de>
2000
2001 [BZ #17522]
2002 * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
2003 for less than MB_LEN_MAX use a local buffer of that size.
2004 * libio/tst-fputws.c: New file.
2005 * libio/Makefile (tests): Add tst-fputws.
2006
4c6da7da
JM
20072014-11-01 Jose E. Marchesi <jose.marchesi@oracle.com>
2008
2009 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
2010 the size of the fpu_fr.fpu_dregs[] array.
2011
1679ba8e
JM
20122014-11-01 Joseph Myers <joseph@codesourcery.com>
2013
2014 * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
2015 (__nanosleep): Do not define as alias.
2016 (nanosleep): Define as alias of __nanosleep.
2017 * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
2018 __libc_nanosleep name.
2019
2626c183
JM
20202014-10-31 Joseph Myers <joseph@codesourcery.com>
2021
2022 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
2023 install.texi in comment.
2024
7f981fc2
TR
20252014-10-31 Torvald Riegel <triegel@redhat.com>
2026
2027 * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
2028 * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
2029 ... add here and use lwsync or sync ...
2030 * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
2031 ... and add here using lwsync.
2032
d6f373d2
MF
20332014-10-31 Matthew Fortune <matthew.fortune@imgtec.com>
2034
2035 * elf/dl-machine-reject-phdr.h: New file.
2036 * elf/dl-load.c: #include that.
2037 (open_verify): Call elf_machine_reject_phdr_p and ignore the file
2038 if that returned true.
2039
67c37987
RM
20402014-10-31 Roland McGrath <roland@hack.frob.com>
2041
2042 [BZ #17496]
2043 * Makerules: Move gnu/lib-names.h generation chunk up, to right after
2044 gen-as-const-headers chunk. Add a big scare comment after the last
2045 safe place to touch before-compile.
2046
94a42455 20472014-10-31 Joseph Myers <joseph@codesourcery.com>
f62ff286 2048
f3f5d895
JM
2049 * manual/install.texi (Tools for Compilation): Update autoconf
2050 version requirements.
2051 * INSTALL: Regenerated.
2052
f62ff286
JM
2053 * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
2054 * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
2055 (__libc_pselect): Likewise.
94a42455
JM
2056
2057 [BZ #14138]
2058 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
2059 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
2060 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
2061 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
2062
ff9dbdc0
TR
20632014-10-31 Torvald Riegel <triegel@redhat.com>
2064
2065 * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
2066 correct barrier instruction.
2067 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
2068 Likewise.
2069 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
2070 Likewise.
2071
b4f66884
RM
20722014-10-30 Roland McGrath <roland@hack.frob.com>
2073
2074 * include/ctype.h: Include <ctype/ctype.h> first thing rather than
2075 after defining inlines. Instead, just use parens to defeat macro
2076 expansion of __isctype in its declaration.
2077
e19c95fd
JM
20782014-10-30 Joseph Myers <joseph@codesourcery.com>
2079
2080 * include/sys/uio.h (__libc_readv): Remove declaration.
2081 (__libc_writev): Likewise.
2082 * misc/readv.c (__libc_readv): Rename to __readv.
2083 (__readv): Do not define as alias.
2084 (readv): Define as alias of __readv.
2085 * misc/writev.c (__libc_writev): Rename to __writev.
2086 (__writev): Do not define as alias.
2087 (writev): Define as alias of __writev.
2088 * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
2089 (__readv): Do not define as alias.
2090 (readv): Define unconditionally as alias of __readv.
2091 * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
2092 (__writev): Do not define as alias.
2093 (writev): Define unconditionally as alias of __writev.
2094 * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
2095 name.
2096 (writev): Do not define __libc_writev name.
2097
65b00b6c
RM
20982014-10-30 Roland McGrath <roland@hack.frob.com>
2099
2100 * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
2101 (convert_charseq): New function, broken out of ...
2102 (use_from_charmap): ... here. Call it.
2103 (use_to_charmap): Use convert_charseq and free instead of duplicating
2104 its code with a variable-length stack struct.
2105
d4e157aa
JM
21062014-10-30 Joseph Myers <joseph@codesourcery.com>
2107
2108 * include/fcntl.h (__libc_creat): Remove declaration.
2109 * io/creat.c (__libc_creat): Rename to creat.
2110 (creat): Do not define as alias.
2111 * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
2112 of creat instead of __libc_creat.
2113 * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
2114 to creat.
2115 (creat): Do not define as alias.
2116 [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
2117 __libc_creat.
2118 * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
2119 __libc_creat name.
2120 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
2121 Likewise.
2122
0c6891a0
CD
21232014-10-29 Carlos O'Donell <carlos@redhat.com>
2124
2125 * manual/llio.texi: Add comments discussing why write() may be
2126 considered MT-unsafe on Linux.
2127
cc00cece
CD
21282014-10-28 Carlos O'Donell <carlos@redhat.com>
2129
2130 * dl-load.c (local_strdup): Remove.
2131 (expand_dynamic_string_token): Use __strdup.
2132 (decompose_rpath): Likewise.
2133 (_dl_map_object): Likewise.
2134
51e623f2
JM
21352014-10-28 Joseph Myers <joseph@codesourcery.com>
2136
2137 [BZ #14132]
2138 * sysdeps/generic/unwind-dw2-fde.c
2139 (__register_frame_info_bases_internal): Do not declare.
2140 (__register_frame_info_table_bases_internal): Likewise.
2141 (__deregister_frame_info_bases_internal): Likewise.
2142 (__register_frame_info_bases): Declare and use hidden_proto before
2143 definition. Use hidden_def instead of INTDEF.
2144 (__register_frame_info_table_bases): Likewise.
2145 (__deregister_frame_info_bases): Likewise.
2146 (__register_frame_info): Do not use INTUSE.
2147 (__register_frame): Likewise.
2148 (__register_frame_info_table): Likewise.
2149 (__register_frame_table): Likewise.
2150 (__deregister_frame_info): Likewise.
2151 (__deregister_frame): Likewise.
2152
03d41216
GC
21532014-10-27 Gratian Crisan <gratian.crisan@ni.com>
2154
2155 * sysdeps/unix/sysv/linux/arm/kernel-features.h
2156 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
2157 not undefine.
2158 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
2159 Likewise.
2160 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
2161 Likewise.
2162
a4b3624d
JM
21632014-10-27 Joseph Myers <joseph@codesourcery.com>
2164
2165 [BZ #14138]
2166 * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
2167 * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
2168 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
2169 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
2170 * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
2171 * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
2172 * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
2173 * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
2174 * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
2175 * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
2176 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
2177 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
2178 * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
2179 syscall.
2180 (setfsuid): Likewise.
2181 * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
2182 (setfsuid): Likewise.
2183 * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
2184 (setfsuid): Likewise.
2185 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
2186 Likewise.
2187 (setfsuid): Likewise.
2188 * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
2189 (setfsuid): Likewise.
2190 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
2191 Likewise.
2192 (setfsuid): Likewise.
2193
3574f2fd
AS
21942014-10-27 Andreas Schwab <schwab@suse.de>
2195
2196 [BZ #17501]
2197 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
2198 check for Slow_SSE4_2 feature bit.
2199 * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
2200 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
2201 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
2202 Likewise. Fix check for Fast_Unaligned_Load feature bit.
2203
70996a37
RM
22042014-10-24 Roland McGrath <roland@hack.frob.com>
2205
461a7b1e
RM
2206 * configure.ac: Validate compiler version with a empirical test of
2207 __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
2208 $CC -v output.
2209 * configure: Regenerated.
2210
70996a37
RM
2211 * inet/htons.c (htons): Prototypify.
2212 * inet/htonl.c (htonl): Likewise.
2213
e80514b5
WD
22142014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
2215
2216 * string/strncat.c (strncat): Improve performance by using strlen.
2217
6e46de42
WD
22182014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
2219
2220 * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
2221
6a9ad2fa
WD
22222014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
2223
2224 * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
2225 Call libc_fetestexcept_aarch64.
2226
1c8810ed
WD
22272014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
2228
2229 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
2230 Call libc_feholdexcept_aarch64.
2231
8b1af712
WD
22322014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
2233
2234 * sysdeps/aarch64/fpu/fegetround.c (fegetround):
2235 Call get_rounding_mode.
2236
a7b00c11
WD
22372014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
2238
2239 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
2240 Simplify logic.
2241
3a84f1a6
WD
22422014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
2243
2244 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
2245 Simplify logic.
2246
48eb7a94
JM
22472014-10-24 Joseph Myers <joseph@codesourcery.com>
2248
c8bc4038
JM
2249 [BZ #14138]
2250 * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
2251 * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
2252 * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
2253 * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
2254 * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
2255 * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
2256 * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
2257 * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
2258 * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
2259 * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
2260 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
2261 * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
2262 * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
2263 * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
2264 * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
2265 * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
2266 * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
2267 * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
2268 * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
2269 * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
2270 * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
2271 * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
2272 * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
2273 * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
2274 * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
2275 * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
2276 * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
2277 * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
2278 * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
2279 * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
2280 * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
2281 * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
2282 * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
2283 * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
2284 * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
2285 * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
2286 * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
2287 * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
2288 * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
2289 * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
2290 * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
2291 syscall.
2292 (geteuid): Likewise.
2293 (getgid): Likewise.
2294 (getuid): Likewise.
2295 (getresgid): Likewise.
2296 (getresuid): Likewise.
2297 (getgroups): Likewise.
2298 * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
2299 (geteuid): Likewise.
2300 (getgid): Likewise.
2301 (getuid): Likewise.
2302 (getresgid): Likewise.
2303 (getresuid): Likewise.
2304 (getgroups): Likewise.
2305 * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
2306 (geteuid): Likewise.
2307 (getgid): Likewise.
2308 (getuid): Likewise.
2309 (getresgid): Likewise.
2310 (getresuid): Likewise.
2311 (getgroups): Likewise.
2312 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
2313 Likewise.
2314 (geteuid): Likewise.
2315 (getgid): Likewise.
2316 (getuid): Likewise.
2317 (getresgid): Likewise.
2318 (getresuid): Likewise.
2319 (getgroups): Likewise.
2320 * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
2321 (geteuid): Likewise.
2322 (getgid): Likewise.
2323 (getuid): Likewise.
2324 (getresgid): Likewise.
2325 (getresuid): Likewise.
2326 (getgroups): Likewise.
2327 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
2328 Likewise.
2329 (geteuid): Likewise.
2330 (getgid): Likewise.
2331 (getuid): Likewise.
2332 (getgroups): Likewise.
2333
48eb7a94
JM
2334 [BZ #14138]
2335 * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
2336 * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
2337 * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
2338 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
2339 * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
2340 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
2341 * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
2342 * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
2343 * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
2344 * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
2345 * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
2346 * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
2347 * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
2348 __chown.
2349 * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
2350 (lchown): Likewise.
2351 (fchown): Likewise.
2352 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
2353 Likewise.
2354 (lchown): Likewise.
2355 (fchown): Likewise.
2356 * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
2357 (lchown): Likewise.
2358 (fchown): Likewise.
2359 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
2360 Likewise.
2361 (lchown): Likewise.
2362 (fchown): Likewise.
2363
ea9a7c8b
WD
23642014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
2365
2366 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
2367 Simplify logic.
2368
e226de33
WD
23692014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
2370
2371 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
2372 Cleanup logic.
2373
6e3d8ed3
WD
23742014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
2375
2376 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
2377 Remove unused include.
2378
eb04247d
WD
23792014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
2380
2381 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
2382 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
2383 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
2384 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
2385
13d84554
CD
23862014-10-23 Carlos O'Donell <carlos@systemhalted.org>
2387 Helge Deller <deller@gmx.de>
2388
2389 [BZ #17508]
2390 * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
2391 Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
2392 Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
2393
15f9c5df
JM
23942014-10-23 Joseph Myers <joseph@codesourcery.com>
2395
2396 [BZ #14132]
2397 * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
2398 Remove macro definition.
2399 (__ashrdi3_v_glibc20): Likewise.
2400 (__lshrdi3_v_glibc20): Likewise.
2401 (__cmpdi2_v_glibc20): Likewise.
2402 (__ucmpdi2_v_glibc20): Likewise.
2403 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
2404 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
2405 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
2406 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
2407 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
2408 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
2409
c6dfed24
RM
24102014-10-22 Roland McGrath <roland@hack.frob.com>
2411
2412 * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
2413 old GNU extension [0] syntax.
2414 * nscd/nscd_helper.c (open_socket): Use a flexible array member and
2415 alloca rather than an array member with variable length.
2416 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
2417 * nscd/nscd.c (invalidate_db): New function, broken out of ...
2418 (parse_opt): ... here. Likewise use alloca there.
2419 Validate the -i argument before checking for rootness.
2420 (send_shutdown): New function, broken out of ...
2421 (parse_opt): ... here.
2422
8c2b1ed8
RM
24232014-10-22 Roland McGrath <roland@hack.frob.com>
2424
2425 * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
2426 macro to get at the _rt_local_ro field.
2427 [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
2428 ([PIC] case) or _dl_hwcap ([!PIC] case).
2429 * sysdeps/arm/setjmp.S: Likewise.
2430
2431 * config.h.in (ARM_PCREL_MOVW_OK): New macro.
2432 * sysdeps/arm/configure.ac: New check to define it.
2433 * sysdeps/arm/configure: Regenerated.
2434 * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
2435 (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
2436 (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
2437 depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
2438 (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
2439 Use move/movt pair instead of a load.
2440 (LDST_GLOBAL): Macro removed.
2441 (LDR_GLOBAL): New macro replaces it.
2442 (LDR_HIDDEN): New macro.
2443 (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
2444 Use LDR_HIDDEN instead for __pointer_chk_guard_local.
2445
2446 * setjmp/tst-setjmp-static.c: New file.
2447 * setjmp/Makefile (tests): Add it.
2448 (tests-static): New variable.
2449
b5af9297
MR
24502014-10-22 Maciej W. Rozycki <macro@codesourcery.com>
2451
2452 [BZ #17485]
2453 * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
2454
a13d0d74
JM
24552014-10-21 Joseph Myers <joseph@codesourcery.com>
2456
2457 [BZ #14132]
2458 * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
2459
f05e73f6
RM
24602014-10-21 Roland McGrath <roland@hack.frob.com>
2461
2462 * nptl/version.c (__nptl_main): Call __libc_write, not __write.
2463
6ab1d1ea
RM
24642014-10-20 Roland McGrath <roland@hack.frob.com>
2465
2466 * io/fts.c (dirent_not_directory): New function.
2467 (fts_build): Call it.
2468
ab49e763
RM
24692014-10-20 Roland McGrath <roland@hack.frob.com>
2470
e436eb79
RM
2471 * nptl/version.c (__nptl_main): Use normal __write rather than
2472 INTERNAL_SYSCALL.
2473 (banner): Update copyright years.
2474
6af246cf
RM
2475 * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
2476 gettimeofday.
2477 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
2478 * nptl/pthread_cond_timedwait.c: Likewise.
2479 * nptl/pthread_mutex_timedlock.c: Likewise.
2480 * nptl/sem_timedwait.c: Likewise.
2481
ab49e763
RM
2482 * sysdeps/nptl/bits/libc-lock.h
2483 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
2484 (__libc_lock_init_recursive): Return void, not 0.
2485 * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
2486 (__libc_rwlock_init): Likewise.
2487 * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
2488
f50277c1
TR
24892014-10-20 Torvald Riegel <triegel@redhat.com>
2490
2491 [BZ #15215]
2492 * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
2493 (__pthread_once_slow): ... here.
2494 * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
2495 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
2496
63668b70
TR
24972014-10-20 Torvald Riegel <triegel@redhat.com>
2498
2499 [BZ #15215]
2500 * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
2501 __PTHREAD_ONCE_FORK_GEN_INCR): New.
2502 * sysdeps/nptl/fork.c (__libc_fork): Use them.
2503 * nptl/pthread_once.c (__pthread_once): Likewise.
2504 Update comments.
2505
42b7f5d4
JM
25062014-10-20 Joseph Myers <joseph@codesourcery.com>
2507
2508 [BZ #14138]
2509 * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
2510 name.
2511 (writev): Use __libc_writev as strong name.
2512 * sysdeps/unix/sysv/linux/readv.c: Remove file.
2513 * sysdeps/unix/sysv/linux/writev.c: Likewise.
2514
b0643088
RM
25152014-10-17 Roland McGrath <roland@hack.frob.com>
2516
114c4e09
RM
2517 * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
2518
674b8978
RM
2519 * sysdeps/i386/nptl/tls.h
2520 (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
2521 [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
2522 New macros.
2523 * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
2524 (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
2525 * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
2526 Call SETUP_THREAD_SYSINFO instead of doing an assignment.
2527 * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
2528 Call CHECK_THREAD_SYSINFO instead of doing an assert.
2529
184ee940
RM
2530 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
2531 Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
2532 on [__NR_futex].
2533 * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
2534 broken out of ...
2535 (__pthread_mutex_init): ... here. Call it.
2536 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
2537 Conditionalize PI cases on [__NR_futex].
2538 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
2539 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
2540 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
2541
327ae257
RM
2542 * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
2543 conditional on [SIGSETXID].
2544 (sigcancel_handler): Make definition conditional on [SIGCANCEL].
2545 (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
2546 is defined. Likewise for SIGSETXID.
2547 * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
2548 Conditionalize definitions on [SIGSETXID].
2549 (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
2550 * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
2551 unblocking on [SIGCANCEL].
2552
b0643088
RM
2553 * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
2554 [__NR_set_robust_list].
2555
33cc770b
SP
25562014-10-17 Siddhesh Poyarekar <siddhesh@redhat.com>
2557
2558 * string/strcoll_l.c (get_next_seq): Fix up formatting.
2559 (do_compare): Likewise.
2560
0742aef6
LH
25612014-10-17 Leonhard Holz <leonhard.holz@web.de>
2562
2563 [BZ #15884]
2564 * string/strcoll_l.c: Don't include stdio.h.
2565 (coll_seq): Remove members idxarr and rulearr.
2566 (get_next_seq_cached): Remove function.
2567 (get_next_seq): Likewise.
2568 (get_next_seq_nocache): Rename to get_next_seq.
2569 (do_compare): Remove function.
2570 (do_compare_nocache): Rename to do_compare.
2571 (STRCOLL): Remove weight and rules cache.
2572
ee54ce44
RM
25732014-10-16 Roland McGrath <roland@hack.frob.com>
2574
2575 * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
2576 * sysdeps/arm/sfp-machine.h: ... to here.
2577 * sysdeps/arm/Implies: Remove arm/soft-fp.
2578
a75d3b02
JM
25792014-10-14 Joseph Myers <joseph@codesourcery.com>
2580
2581 * conform/data/sys/utsname.h-data (*_t): Allow.
2582 * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
2583 [POSIX] (WEXITED): Do not expect constant.
2584 [POSIX] (WSTOPPED): Likewise.
2585 [POSIX] (WNOHANG): Likewise.
2586 [POSIX] (WNOWAIT): Likewise.
2587 [POSIX] (siginfo_t): Do not expect type or elements.
2588 [POSIX] (pid_t): Do not expect type.
2589 [POSIX] (signal.h): Do not allow header.
2590 [POSIX] (sys/resource.h): Likewise.
2591 [POSIX] (si_*): Do not allow pattern.
2592 [POSIX] (W*): Likewise.
2593 [POSIX] (P_*): Likewise.
2594 [POSIX] (BUS_*): Likewise.
2595 [POSIX] (CLD_*): Likewise.
2596 [POSIX] (FPE_*): Likewise.
2597 [POSIX] (ILL_*): Likewise.
2598 [POSIX] (POLL_*): Likewise.
2599 [POSIX] (SEGV_*): Likewise.
2600 [POSIX] (SI_*): Likewise.
2601 [POSIX] (TRAP_*): Likewise.
2602 * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
2603 variable.
2604
fda389c8
SP
26052014-10-14 Paul Pluzhnikov <ppluzhnikov@google.com>
2606
2607 [BZ #12926]
2608 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
2609 infinite loop when __recvmsg returns 0.
2610
6bc6bd3b
JM
26112014-10-10 Joseph Myers <joseph@codesourcery.com>
2612
fcb32af1
JM
2613 * CANCEL-FCT-WAIVE: Remove file.
2614 * CANCEL-FILE-WAIVE: Likewise.
2615
6bc6bd3b
JM
2616 [BZ #14132]
2617 * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
2618 instead of INTVARDEF.
2619 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
2620 * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
2621 rtld_hidden_data_def instead of INTVARDEF.
2622 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
2623 * elf/dl-deps.c (expand_dst): Likewise.
2624 * elf/dl-load.c (_dl_dst_count): Likewise.
2625 (_dl_dst_substitute): Likewise.
2626 (decompose_rpath): Likewise.
2627 (_dl_init_paths): Likewise.
2628 (open_path): Likewise.
2629 (_dl_map_object): Likewise.
2630 * elf/rtld.c (dl_main): Likewise.
2631 (process_dl_audit): Likewise.
2632 (process_envvars): Likewise.
2633 * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
2634 Remove declaration.
2635 (__libc_enable_secure): Use rtld_hidden_proto.
2636
b8c80a7e
KS
26372014-10-09 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
2638
2639 * elf/dl-load.c
2640 (add_path): New function broken out of _dl_rtld_di_serinfo.
2641 (_dl_rtld_di_serinfo): Remove that nested function. Update call sites.
2642
ff12c11f
JM
26432014-10-09 Joseph Myers <joseph@codesourcery.com>
2644
5c0508a3
JM
2645 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
2646 parentheses around macro arguments.
2647 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
2648 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
2649 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
2650 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
2651 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
2652 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
2653 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
2654 [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
2655 [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
2656 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
2657 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
2658 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
2659 [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
2660 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
2661 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
2662 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
2663 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
2664 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
2665 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
2666 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
2667 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
2668 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
2669 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
2670 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
2671 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
2672 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
2673 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
2674 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
2675 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
2676 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
2677 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
2678 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
2679 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
2680 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
2681 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
2682 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
2683 Likewise.
2684 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
2685 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
2686 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
2687 [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
2688 [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
2689 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
2690 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
2691 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
2692 [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
2693 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
2694 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
2695 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
2696 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
2697 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
2698 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
2699 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
2700 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
2701 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
2702 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
2703 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
2704 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
2705 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
2706 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
2707 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
2708 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
2709 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
2710 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
2711 * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
2712 (_FP_FRAC_SRS_1): Likewise.
2713 (_FP_FRAC_CLZ_1): Likewise.
2714 (_FP_MUL_MEAT_1_imm): Likewise.
2715 (_FP_MUL_MEAT_1_wide): Likewise.
2716 (_FP_MUL_MEAT_1_hard): Likewise.
2717 (_FP_SQRT_MEAT_1): Likewise.
2718 (_FP_FRAC_ASSEMBLE_1): Likewise.
2719 (_FP_FRAC_DISASSEMBLE_1): Likewise.
2720 * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
2721 (__FP_CLZ_2): Likewise.
2722 (_FP_MUL_MEAT_2_wide): Likewise.
2723 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
2724 (_FP_MUL_MEAT_2_gmp): Likewise.
2725 (_FP_MUL_MEAT_2_120_240_double): Likewise.
2726 (_FP_SQRT_MEAT_2): Likewise.
2727 (_FP_FRAC_ASSEMBLE_2): Likewise.
2728 (_FP_FRAC_DISASSEMBLE_2): Likewise.
2729 * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
2730 (_FP_FRAC_CLZ_4): Likewise.
2731 (_FP_MUL_MEAT_4_wide): Likewise.
2732 (_FP_MUL_MEAT_4_gmp): Likewise.
2733 (_FP_SQRT_MEAT_4): Likewise.
2734 (_FP_FRAC_ASSEMBLE_4): Likewise.
2735 (_FP_FRAC_DISASSEMBLE_4): Likewise.
2736 * soft-fp/op-common.h (_FP_CMP): Likewise.
2737 (_FP_CMP_EQ): Likewise.
2738 (_FP_CMP_UNORD): Likewise.
2739 (_FP_TO_INT): Likewise.
2740 (_FP_FROM_INT): Likewise.
2741 [!__FP_CLZ] (__FP_CLZ): Likewise.
2742 (_FP_DIV_HELP_imm): Likewise.
2743 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
2744 Likewise.
2745 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
2746 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
2747 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
2748 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
2749 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
2750 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
2751 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
2752 [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
2753 [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
2754 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
2755 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
2756 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
2757 [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
2758 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
2759 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
2760 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
2761 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
2762 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
2763 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
2764 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
2765 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
2766 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
2767 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
2768 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
2769 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
2770 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
2771 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
2772 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
2773 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
2774 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
2775 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
2776 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
2777 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
2778 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
2779 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
2780 * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
2781 (FP_UNPACK_RAW_SP): Likewise.
2782 (FP_PACK_RAW_S): Likewise.
2783 (FP_PACK_RAW_SP): Likewise.
2784 (FP_UNPACK_S): Likewise.
2785 (FP_UNPACK_SP): Likewise.
2786 (FP_UNPACK_SEMIRAW_S): Likewise.
2787 (FP_UNPACK_SEMIRAW_SP): Likewise.
2788 (FP_PACK_S): Likewise.
2789 (FP_PACK_SP): Likewise.
2790 (FP_PACK_SEMIRAW_S): Likewise.
2791 (FP_PACK_SEMIRAW_SP): Likewise.
2792 (_FP_SQRT_MEAT_S): Likewise.
2793 (FP_CMP_S): Likewise.
2794 (FP_CMP_EQ_S): Likewise.
2795 (FP_CMP_UNORD_S): Likewise.
2796 (FP_TO_INT_S): Likewise.
2797 (FP_FROM_INT_S): Likewise.
2798
a736ec37
JM
2799 * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
2800
ff12c11f
JM
2801 * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
2802 (FP_EX_INVALID_IMZ): Likewise.
2803 (FP_EX_INVALID_IMZ_FMA): Likewise.
2804 (FP_EX_INVALID_ISI): Likewise.
2805 (FP_EX_INVALID_ZDZ): Likewise.
2806 (FP_EX_INVALID_IDI): Likewise.
2807 (FP_EX_INVALID_SQRT): Likewise.
2808 (FP_EX_INVALID_CVI): Likewise.
2809 (FP_EX_INVALID_VC): Likewise.
2810 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
2811 "invalid" exceptions.
2812 (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
2813 (_FP_ADD_INTERNAL): Likewise.
2814 (_FP_MUL): Likewise.
2815 (_FP_FMA): Likewise.
2816 (_FP_DIV): Likewise.
2817 (_FP_CMP_CHECK_NAN): Likewise.
2818 (_FP_SQRT): Likewise.
2819 (_FP_TO_INT): Likewise.
2820 (FP_EXTEND): Likewise.
2821
b6dcfe8c
AM
28222014-10-09 Allan McRae <allan@archlinux.org>
2823
2824 * po/fr.po: Update French translation from translation project.
2825
2d6a47ba
JM
28262014-10-09 Joseph Myers <joseph@codesourcery.com>
2827
cb831245
JM
2828 [BZ #14132]
2829 * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
2830 of INTDEF.
2831 * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
2832 (__cxa_atexit): Use libc_hidden_proto.
2833 [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
2834
5deeb190
JM
2835 [BZ #14132]
2836 * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
2837 declaration.
2838 [!_ISOMAC] (__iswdigit_l_internal): Likewise.
2839 [!_ISOMAC] (__iswspace_l_internal): Likewise.
2840 [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
2841 [!_ISOMAC] (__iswctype_internal): Likewise.
2842 * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
2843 * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
2844 alias.
2845 (fcntl): Remove __fcntl_internal alias.
2846 * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
2847 __connect_internal alias.
2848 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
2849 Likewise.
2850
454ac701
JM
2851 * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
2852 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
2853 FP_DENORM_ZERO.
2854 (_FP_CHECK_FLUSH_ZERO): New macro.
2855 (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
2856 (_FP_CMP): Likewise.
2857 (_FP_CMP_EQ): Likewise.
2858 (_FP_TO_INT): Do not set inexact for subnormal arguments if
2859 FP_DENORM_ZERO.
2860 (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
2861 (FP_TRUNC): Likewise.
2862
0022e688
JM
2863 * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
2864 treated as invalid conversion, not as normal exponent.
2865
73e28d9c
JM
2866 * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
2867 (_FP_CMP): Add extra argument EX. Call _FP_CMP_CHECK_NAN.
2868 (_FP_CMP_EQ): Likewise.
2869 (_FP_CMP_UNORD): Likewise.
2870 * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
2871 (FP_CMP_EQ_D): Likewise.
2872 (FP_CMP_UNORD_D): Likewise.
2873 * soft-fp/extended.h (FP_CMP_E): Likewise.
2874 (FP_CMP_EQ_E): Likewise.
2875 (FP_CMP_UNORD_E): Likewise.
2876 * soft-fp/quad.h (FP_CMP_Q): Likewise.
2877 (FP_CMP_EQ_Q): Likewise.
2878 (FP_CMP_UNORD_Q): Likewise.
2879 * soft-fp/single.h (FP_CMP_S): Likewise.
2880 (FP_CMP_EQ_S): Likewise.
2881 (FP_CMP_UNORD_S): Likewise.
2882 * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
2883 * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
2884 * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
2885 * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
2886 * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
2887 * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
2888 * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
2889 * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
2890 * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
2891 * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
2892 * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
2893 * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
2894 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
2895 to FP_CMP_Q.
2896 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
2897 FP_CMP_Q.
2898 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
2899 * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
2900 FP_CMP_EQ_Q.
2901 * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
2902 FP_CMP_Q.
2903 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
2904 * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
2905 * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
2906 * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
2907 FP_CMP_EQ_Q.
2908 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
2909 FP_CMP_Q.
2910 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
2911 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
2912 FP_CMP_EQ_Q.
2913 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
2914 FP_CMP_Q.
2915 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
2916 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
2917 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
2918 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
2919 FP_CMP_EQ_Q.
2920
43059f42
JM
2921 * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
2922 a subnormal result, set the underflow exception if trapping on
2923 underflow is enabled.
2924 * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
2925 (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
2926 [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
2927 redefine to 0.
2928 * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
2929 * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
2930 * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
2931 * soft-fp/extendxftf2.c (__extendxftf2): Use
2932 FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
2933
2d6a47ba
JM
2934 * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
2935 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
2936 (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
2937 FP_HANDLE_EXCEPTIONS.
2938 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
2939 (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
2940 FP_HANDLE_EXCEPTIONS.
2941 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
2942 (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
2943 FP_HANDLE_EXCEPTIONS.
2944 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
2945 (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
2946 FP_HANDLE_EXCEPTIONS.
2947
620f462e
JM
29482014-10-08 Joseph Myers <joseph@codesourcery.com>
2949
2950 [BZ #14132]
2951 * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
2952 * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
2953 use INTUSE.
2954 [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
2955 * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
2956 Remove alias.
2957 (__adjtimex): Define using libc_hidden_ver.
2958 * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
2959 Remove declaration.
2960 (ntp_gettime): Call __adjtimex directly.
2961 * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
2962 Remove declaration.
2963 (ntp_gettimex): Call __adjtimex directly.
2964 * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
2965 __adjtimex_internal alias.
2966
c763c5d2
RM
29672014-10-08 Roland McGrath <roland@hack.frob.com>
2968
2969 [BZ #17460]
2970 * nscd/nscd.c (more_help): Rewrite list of tables collection
2971 using xstrdup and asprintf.
2972
2973 * nscd/nscd_conf.c: Remove local xstrdup declaration.
2974
7b8fb2b8
RM
29752014-10-08 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
2976 Roland McGrath <roland@hack.frob.com>
2977
2978 * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
2979 (do_lookup_unique): ... local function 'enter' here; update callers.
2980
abb280f7
JM
29812014-10-06 Joseph Myers <joseph@codesourcery.com>
2982
f7b42517
JM
2983 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
2984 compat_symbol calls on [SHARED].
2985 * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
2986 * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
2987 Remove.
2988 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
2989 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
2990 (oldsetrlimit): Remove.
2991 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
2992 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
2993 (lchown): New syscall entry.
2994 (oldsetrlimit): Remove.
2995 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
2996 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
2997 (oldsetrlimit): Remove.
2998 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
2999
abb280f7
JM
3000 [BZ #14138]
3001 * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
3002 * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
3003 * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
3004 * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
3005 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
3006 * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
3007 (fchown): Likewise.
3008 * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
3009 (fchown): Likewise.
3010 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
3011 Likewise.
3012
47d46237
AZ
30132014-10-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3014
3015 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
3016 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
3017 (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
3018 __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
3019 * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
3020 Likewise.
3021 (__old_sem_post): Likewise.
3022
30232014-10-06 Chris Metcalf <cmetcalf@tilera.com>
1c4c1a6f 3024
845a7343
CM
3025 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
3026 INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
3027 HAVE_CLOCK_GETTIME_VSYSCALL macros.
3028 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
3029 Use INLINE_VSYSCALL macro.
3030 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
3031 __vdso_clock_gettime.
3032 * sysdeps/unix/sysv/linux/tile/init-first.c
3033 (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
3034 * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
3035 __vdso_clock_gettime.
3036
83d641ef
CM
3037 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
3038 to set up frame more cleanly.
3039
d9cd52e6
CM
3040 * sysdeps/tile/memcmp.c: New file.
3041
4b68ea11
CM
3042 * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
3043
c86f7b80
CM
3044 * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
3045 * sysdeps/tile/tilegx/strcasestr.c: New file.
3046 * sysdeps/tile/tilegx/strnlen.c: New file.
3047 * sysdeps/tile/tilegx/strstr.c: New file.
3048
1c4c1a6f
CM
3049 * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
3050
99d86ea3
AS
30512014-10-06 Arjun Shankar <arjun.is@lostca.se>
3052
3053 * nptl/tst-setuid3.c: Write errors to stdout.
3054
06210a44
KS
30552014-10-01 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
3056
3057 * elf/dl-deps.c
3058 (preload): New functions broken out of _dl_map_object_deps.
3059 (_dl_map_object_deps): Remove a nested function. Update call sites.
3060
6268f532
JM
30612014-10-01 Joseph Myers <joseph@codesourcery.com>
3062
3063 [BZ #14138]
3064 * sysdeps/unix/sysv/linux/execve.c: Remove file.
3065 * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
3066
b925285f
SE
30672014-10-01 Steve Ellcey <sellcey@mips.com>
3068
3069 * sysdeps/mips/strcmp.S: New.
3070
754a15c6
JM
30712014-09-30 Joseph Myers <joseph@codesourcery.com>
3072
3073 [BZ #14138]
3074 * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
3075 (linkat): Likewise.
3076 (mkdirat): Likewise.
3077 (readlinkat): Likewise.
3078 (renameat): Likewise.
3079 (symlinkat): Likewise.
3080 (unlinkat): Likewise.
3081 * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
3082 * sysdeps/unix/sysv/linux/linkat.c: Likewise.
3083 * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
3084 * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
3085 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
3086 * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
3087 * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
3088
85bb81c9
WN
30892014-09-30 Will Newton <will.newton@linaro.org>
3090
dc6fe23b
WN
3091 * math/math.h: Define long double math functions if
3092 _LIBC_TEST is defined.
3093 * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
3094
85bb81c9
WN
3095 * localedata/Makefile: Move assignment to tests-special
3096 into an ifdef testing run-built-tests.
3097 * timezone/Makefile: Likewise.
3098
b7e02da4
JM
30992014-09-29 Joseph Myers <joseph@codesourcery.com>
3100
3101 * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
3102 with $(BASH) not $(SHELL).
3103
62058ce6
CD
31042014-09-29 Carlos O'Donell <carlos@redhat.com>
3105 Matthew LeGendre <legendre1@llnl.gov>
3106
3107 [BZ #17411]
3108 * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
3109 l_reloc_result.
3110
8e257a29
KS
31112014-09-29 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
3112
3113 * stdio-common/printf_fp.c
3114 (hack_digit): New function, broken out of ...
3115 (__printf_fp): ... local function here. Update call sites.
3116 hack_digit now takes an additional parameter that is a pointer
3117 to a struct of the referenced locals. Those locals moved inside
3118 the struct and references updated.
3119
f4a58f0d
L
31202014-09-29 H.J. Lu <hongjiu.lu@intel.com>
3121
3122 * aclocal.m4: Require autoconf 2.69.
3123 * configure: Regenerated.
3124 * sysdeps/aarch64/configure: Likewise.
3125 * sysdeps/alpha/configure: Likewise.
3126 * sysdeps/arm/armv7/configure: Likewise.
3127 * sysdeps/arm/configure: Likewise.
3128 * sysdeps/ia64/configure: Likewise.
3129 * sysdeps/mach/configure: Likewise.
3130 * sysdeps/mips/configure: Likewise.
3131 * sysdeps/s390/configure: Likewise.
3132 * sysdeps/unix/sysv/linux/mips/configure: Likewise.
3133 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
3134
3135 * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
3136 file.
3137 * sysdeps/ia64/configure.ac: Likewise.
3138
93ae1eba
JM
31392014-09-26 Joseph Myers <joseph@codesourcery.com>
3140
1810d3ab
JM
3141 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
3142 specify symbol version for ld.so. Do not include entry for
3143 libpthread.
3144 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
3145 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
3146 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
3147
93ae1eba
JM
3148 [BZ #14171]
3149 * Makeconfig [$(build-shared) = yes]
3150 ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
3151 makefiles.
3152 [$(build-shared) = yes && $(soversions.mk-done) = t]
3153 ($(common-objpfx)gnu/lib-names.h): Remove rule.
3154 [$(build-shared) = yes && $(soversions.mk-done) = t]
3155 ($(common-objpfx)gnu/lib-names.stmp): Likewise. Split and moved
3156 to Makerules.
3157 [$(build-shared) = yes && $(soversions.mk-done) = t]
3158 (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
3159 here.
3160 [$(build-shared) = yes && $(soversions.mk-done) = t]
3161 (common-generated): Don't append gnu/lib-names.h and
3162 gnu/lib-names.stmp here.
3163 * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
3164 (lib-names-h-abi): New variable.
3165 [$(build-shared) = yes && $(soversions.mk-done) = t]
3166 (lib-names-stmp-abi): Likewise.
3167 [$(build-shared) = yes && $(soversions.mk-done) = t &&
3168 abi-variants] (before-compile): Append
3169 $(common-objpfx)$(lib-names-h-abi).
3170 [$(build-shared) = yes && $(soversions.mk-done) = t &&
3171 abi-variants] (common-generated): Append gnu/lib-names.h.
3172 [$(build-shared) = yes && $(soversions.mk-done) = t &&
3173 abi-variants] (install-others-nosubdir): Depend on
3174 $(inst_includedir)/$(lib-names-h-abi).
3175 [$(build-shared) = yes && $(soversions.mk-done) = t &&
3176 abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
3177 [$(build-shared) = yes && $(soversions.mk-done) = t]
3178 ($(common-objpfx)$(lib-names-h-abi)): New rule.
3179 [$(build-shared) = yes && $(soversions.mk-done) = t]
3180 ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
3181 [$(build-shared) = yes && $(soversions.mk-done) = t]
3182 (common-generated): Append $(lib-names-h-abi) and
3183 $(lib-names-stmp-abi).
3184 * scripts/lib-names.awk: Do not handle multi being set.
3185 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
3186 Remove variable.
3187 (abi-lp64_be-ld-soname): Likewise.
3188 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
3189 Likewise.
3190 (abi-hard-ld-soname): Likewise.
3191 * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
3192 * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
3193 Remove variable.
3194 (abi-o32_hard-ld-soname): Likewise.
3195 (abi-o32_soft_2008-ld-soname): Likewise.
3196 (abi-o32_hard_2008-ld-soname): Likewise.
3197 (abi-n32_soft-ld-soname): Likewise.
3198 (abi-n32_hard-ld-soname): Likewise.
3199 (abi-n32_soft_2008-ld-soname): Likewise.
3200 (abi-n32_hard_2008-ld-soname): Likewise.
3201 (abi-n64_soft-ld-soname): Likewise.
3202 (abi-n64_hard-ld-soname): Likewise.
3203 (abi-n64_soft_2008-ld-soname): Likewise.
3204 (abi-n64_hard_2008-ld-soname): Likewise.
3205 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
3206 Likewise.
3207 (abi-64-v2-ld-soname): Likewise.
3208 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
3209 ld.so entries.
3210 * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
3211 variable.
3212 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
3213 entry.
3214 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
3215 variable.
3216 (abi-64-ld-soname): Likewise.
3217 (abi-x32-ld-soname): Likewise.
3218 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
3219 entry.
3220 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
3221
68870f12
JM
32222014-09-23 Joseph Myers <joseph@codesourcery.com>
3223
3224 [BZ #14138]
3225 * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
3226 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
3227 * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
3228 * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
3229 * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
3230 * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
3231 * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
3232 syscall entry for GLIBC_2.2 symbol version.
3233 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
3234 Likewise.
3235 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
3236 (setrlimit): Likewise.
3237 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
3238 Likewise.
3239
ea58f202
WN
32402014-09-23 Will Newton <will.newton@linaro.org>
3241
3242 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
3243 _LINUX_ARM_SYSDEP_H include guard too.
3244 * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
3245 define.
3246
69eb9a18
RV
32472014-09-20 Rasmus Villemoes <rv@rasmusvillemoes.dk>
3248
3249 * sysdeps/unix/sysv/linux/eventfd.c:
3250 Make first argument unsigned.
3251 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
3252 * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
3253
20e5a5f7
OB
32542014-09-20 Ondřej Bílka <neleai@seznam.cz>
3255
3256 * socket/recvmmsg.c (recvmmsg): Drop const argument.
3257 * socket/sys/socket.h: Likewise
3258 * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
3259
d3c827e7
AK
32602014-09-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3261
3262 * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
3263
fe1cc35a
AS
32642014-09-17 Arjun Shankar <arjun.is@lostca.se>
3265
3266 * time/tst-ftime.c: New test.
3267 * time/Makefile (tests): Add tst-ftime.
3268
4e8afe69
JM
32692014-09-17 Joseph Myers <joseph@codesourcery.com>
3270
c4fe3ea7
JM
3271 * soft-fp/extended.h: Fix comment formatting.
3272 * soft-fp/op-1.h: Likewise.
3273 * soft-fp/op-2.h: Likewise.
3274 * soft-fp/op-4.h: Likewise.
3275 * soft-fp/op-8.h: Likewise.
3276 * soft-fp/op-common.h: Likewise.
3277 * soft-fp/soft-fp.h: Likewise.
3278
4e8afe69
JM
3279 * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
3280
af296fcd
JM
32812014-09-16 Joseph Myers <joseph@codesourcery.com>
3282
3283 [BZ #6652]
3284 * Makeconfig (soversions-default-setname): Remove variable.
3285 ($(common-objpfx)soversions.i): Don't pass default_setname to
3286 soversions.awk.
3287 * Makerules ($(common-objpfx)abi-versions.h): Don't pass
3288 oldest_abi to abi-versions.awk.
3289 * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
3290 * config.make.in (oldest-abi): Remove variable.
3291 * configure.ac (--enable-oldest-abi): Remove configure option.
3292 * configure: Regenerated.
3293 * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
3294 text.
3295 * scripts/abi-versions.awk: Do not handle oldest_abi variable.
3296 * scripts/soversions.awk: Do not handle default_setname variable.
3297 * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
3298 variable.
3299 * sysdeps/mach/hurd/configure: Regenerated.
3300 * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
3301 variable.
3302 * sysdeps/unix/sysv/linux/configure: Regenerated.
3303
545583d6
SP
33042014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
3305
d330b980
SP
3306 * elf/Makefile (CFLAGS-interp.c): Remove.
3307 ($(elf-objpfx)runtime-linker.h): Generate header with linker
3308 path string.
3309 * elf/interp.c: Include generated runtime-linker.h
3310
02657da2
SP
3311 * Makerules (lib%.so): Don't include $(+interp) in
3312 prerequisites.
3313 * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
3314 * dlfcn/eval.c: Remove file.
3315
653b1080
SP
3316 * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
3317 macros.
3318
602f80ec
SP
3319 [BZ #17266]
3320 * misc/sys/cdefs.h: Define __extern_always_inline for clang
3321 4.2 and newer.
3322
545583d6
SP
3323 [BZ #17370]
3324 * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
3325
884ddc50
SP
33262014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
3327 Jakub Jelinek <jakub@redhat.com>
3328
3329 [BZ #17266]
3330 * libio/stdio.h: Check definition of __fortify_function
3331 instead of __extern_always_inline to include bits/stdio2.h.
3332 * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
3333 check if __extern_always_inline is defined.
3334 [__USE_MISC || __USE_XOPEN]: Likewise.
3335 [__USE_ISOC99] Likewise.
3336 * misc/sys/cdefs.h (__fortify_function): Define only if
3337 __extern_always_inline is defined.
3338 [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
3339 __extern_always_inline and __extern_inline only for g++-4.3
3340 and newer or a compatible gcc.
3341
a7b87268
AS
33422014-09-15 Andreas Schwab <schwab@linux-m68k.org>
3343
3344 [BZ #17371]
3345 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
3346 last change to handle zero prefix length.
3347
3f41521d
SP
33482014-09-15 Siddhesh Poyarekar <siddhesh@redhat.com>
3349
61fe374a
SP
3350 * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
3351 _SC_REGEX_VERSION.
3352
3f41521d
SP
3353 * posix/getconf.c (vars): Add _POSIX_IPV6 and
3354 _POSIX_RAW_SOCKETS.
3355
d8f879ee
AM
33562014-09-13 Allan McRae <allan@archlinux.org>
3357
3358 * po/ru.po: Update Russian translation from translation project.
3359
c079afb7
RM
33602014-09-12 Roland McGrath <roland@hack.frob.com>
3361
a62b3c15
RM
3362 * locale/programs/locale.c (show_locale_vars): Inline local function
3363 into its sole call site. Clean up some style nits.
3364 (print_item): New function, broken out of ...
3365 (show_info): ... local function here. Clean up style nits.
3366
d7e49b19
RM
3367 * locale/programs/ld-ctype.c (set_one_default): New function, broken
3368 out of ...
3369 (set_class_defaults): ... local function set_default here.
3370 Define set_default as a macro locally to pass constant parameters.
3371 (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
3372 rather than a shared local.
3373
c079afb7
RM
3374 * stdlib/rpmatch.c (try): New function, broken out of ...
3375 (rpmatch): ... local function here. Also, prototypify definition.
3376
0bd72468
JM
33772014-09-12 Joseph Myers <joseph@codesourcery.com>
3378
ba90e050
JM
3379 * scripts/soversions.awk: Do not handle configuration names.
3380 * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
3381 vendor and os variables to soversions.awk.
3382 * configure.ac: Do not modify gnu-* host_os.
3383 * configure: Regenerated
3384 * shlib-versions: Remove first column with configuration names.
3385 * nptl/shlib-versions: Likewise.
3386 * nptl_db/shlib-versions: Likewise.
3387 * sysdeps/hppa/shlib-versions: Likewise.
3388 * sysdeps/m68k/shlib-versions: Likewise.
3389 * sysdeps/mach/hurd/shlib-versions: Likewise.
3390 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
3391 * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
3392 * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
3393 * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
3394 * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
3395 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
3396 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
3397 * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
3398 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
3399 Likewise.
3400 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
3401 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
3402 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
3403 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
3404 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
3405 * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
3406 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
3407 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
3408
73a39112
JM
3409 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
3410 (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
3411 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
3412 Regenerated.
3413 * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
3414 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
3415 Condition symbol version definitions on [HAVE_ELFV2_ABI].
3416
c729e7c1
JM
3417 * shlib-versions: Remove OS-specific entries. Moved to files in
3418 sysdeps.
3419 * sysdeps/mach/hurd/shlib-versions: New file.
3420 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
3421
dc932a24
JM
3422 * nptl/shlib-versions: Remove architecture-specific entries.
3423 Moved to files in sysdeps.
3424 * shlib-versions: Likewise.
3425 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
3426 file.
3427 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
3428 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
3429 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
3430 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
3431
0bd72468
JM
3432 * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
3433 (UDP_NO_CHECK6_RX): Likewise.
3434
920238e0
SP
34352014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
3436
3437 * sysdeps/posix/sysconf.c (__sysconf): Spell
3438 _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
3439
ba7b4d29
FW
34402014-08-12 Florian Weimer <fweimer@redhat.com>
3441
3442 * iconv/gconv_open.c (__gconv_open): Remove transliteration module
3443 loading.
3444 * iconv/Versions (__gconv_transliterate): Export for use from
3445 gconv modules.
3446 * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
3447 (struct __gconv_trans_data, __gconv_trans_fct,
3448 __gconv_trans_context_fct, __gconv_trans_query_fct,
3449 __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
3450 definitions.
3451 (struct __gconv_step_data): Remove __trans member.
3452 (__gconv_transliterate): Declaration moved from gconv_int.h. No
3453 longer hidden. Remove unused trans_data argument.
3454 * iconv/gconv_int.h (struct trans_struct): Remove definition.
3455 (__gconv_translit_find): Remove declaration.
3456 (__gconv_transliterate): Declaration moved to gconv.h. Add hidden
3457 prototype.
3458 * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
3459 * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
3460 trans_data argument. Add hidden definition.
3461 (__gconv_translit_find): Remove.
3462 * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
3463 __gconv_transliterate directly if __GCONV_TRANSLIT is set.
3464 * iconv/skeleton.c: Remove transliteration initialization.
3465 * libio/fileops.c (_IO_new_file_fopen): Adjust struct
3466 __gconv_step_data initialization.
3467 * libio/iofwide.c (__libio_translit_): Remove.
3468 (_IO_fwide): Adjust struct __gconv_step_data initialization.
3469 * wcsmbs/btowc.c (__btowc): Likewise.
3470 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
3471 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
3472 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
3473 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
3474 * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
3475 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
3476 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
3477 * wcsmbs/wctob.c (wctob): Likewise.
3478
5379aebd
SP
34792014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
3480
3481 [BZ #16194]
3482 * sysdeps/x86/tst-xmmymm.sh: Rename file to...
3483 * sysdeps/x86/tst-ld-sse-use.sh: ... this. Check for zmm
3484 register usage.
3485 * sysdeps/x86/Makefile: Adjust.
3486
8c0ab919
RM
34872014-09-11 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
3488 Roland McGrath <roland@hack.frob.com>
3489
3490 * locale/weight.h: Add include guard.
3491 (findidx): Make static rather than auto; take new parameters
3492 TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
3493 * locale/weightwc.h: Likewise.
3494 * posix/fnmatch_loop.c
3495 (FCT): Change type of EXTRA from int32_t to wint_t.
3496 Don't include either header inside the function.
3497 Call FINDIDX rather than findidx, and pass new arguments.
3498 #undef FINDIDX at the end of the file.
3499 * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
3500 FINDIDX before including fnmatch_loop.c for the non-wide version.
3501 [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
3502 #include <locale/weightwc.h>, and define FINDIDX to findidxwc
3503 for the wide version.
3504 * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
3505 (build_equiv_class) [_LIBC]: Don't #include it inside the function.
3506 Pass new arguments to findidx.
3507 * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
3508 [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
3509 Don't #include it inside the function. Pass new arguments to findidx.
3510 * posix/regex_internal.h
3511 [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
3512 (re_string_elem_size_at): Don't #include it inside the function.
3513 Pass new arguments to findidx.
3514 * string/strcoll_l.c: #include WEIGHT_H at top level.
3515 (get_next_seq): Don't #include it inside the function.
3516 Pass new arguments to findidx.
3517 (get_next_seq_nocache): Likewise.
3518 * string/strxfrm_l.c: #include WEIGHT_H at top level.
3519 (STRXFRM): Don't #include it inside the function.
3520 Pass new arguments to findidx.
3521
52ffbdf2
FW
35222014-09-11 Florian Weimer <fweimer@redhat.com>
3523
3524 [BZ #17344]
3525 * malloc/malloc.c (unlink): Turn asserts into a call to
3526 malloc_printerr.
3527
984c0ea9
TL
35282014-09-11 Tim Lammens <tim.lammens@gmail.com>
3529
3530 [BZ #17370]
3531 * libio/wfileops (do_ftell_wide): Free OUT.
3532
3daee107
CM
35332014-09-10 Chris Metcalf <cmetcalf@tilera.com>
3534
3535 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
3536
58b930ae
SP
35372014-09-10 Siddhesh Poyarekar <siddhesh@redhat.com>
3538
3539 [BZ #17363]
3540 * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
3541 group if the current group is empty.
3542
3b473fec
AZ
35432014-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3544
71ae8647
AZ
3545 * benchtests/bench-memset.c (test_main): Add more test from size
3546 from 32 to 512 bytes.
3547 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
3548 Add POWER8 memset object.
3549 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3550 (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
3551 * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
3552 implementation.
3553 * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
3554 Likewise.
3555 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
3556 multiarch POWER8 memset optimization.
3557 * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
3558 POWER8 memset optimization.
3559
3b473fec
AZ
3560 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
3561 Remove bzero multiarch objects.
3562 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
3563 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
3564 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
3565 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
3566 Remove define.
3567 [__bzero]: Redefine to specific name.
3568 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
3569 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
3570 * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
3571 define.
3572 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
3573 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
3574
e6fb9587
FW
35752014-09-10 Florian Weimer <fweimer@redhat.com>
3576
3577 * Makeconfig (gccwarn-c): Turn implicit-function-declaration
3578 warnings into errors.
3579
3580 * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
3581 __cxa_thread_atexit_impl prototype.
3582
9d3a350b
SE
35832014-09-09 Steve Ellcey <sellcey@mips.com>
3584
3585 * sysdeps/mips/preconfigure: Put code inside mips* case statement.
3586 Fix capitalization of error message.
3587
0febba23
SE
35882014-09-09 Steve Ellcey <sellcey@mips.com>
3589
3590 * sysdeps/mips/preconfigure: Modify ABI tests.
3591
645a0e9c
CD
35922014-09-07 Carlos O'Donell <carlos@systemhalted.org>
3593
3594 * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
3595
d83f0734
CD
35962014-09-07 Roland McGrath <roland@hack.frob.com>
3597 Carlos O'Donell <carlos@systemhalted.org>
3598
3599 * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
3600 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
3601 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
3602 * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
3603 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
3604 * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
3605 * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
3606 * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
3607 * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
3608 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
3609 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
3610 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
3611 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
3612 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
3613 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
3614 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
3615 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
3616 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
3617 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
3618 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
3619 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
3620 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
3621 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
3622 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
3623 * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
3624 * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
3625 * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
3626 * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
3627 Deconditionalize the code that was previously under [RESET_PID].
3628 * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
3629 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
3630 * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
3631 * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
3632 include sysdep.h.
3633
21c83793
AM
36342014-09-08 Allan McRae <allan@archlinux.org>
3635
3636 * version.h (RELEASE): Set to "development".
3637 (VERSION): Set to "2.20.90"
3638
1cd9b65c
AM
36392014-09-07 Allan McRae <allan@archlinux.org
3640
b8079dd0
AM
3641 * version.h (RELEASE): Set to "stable".
3642 (VERSION): Set to "2.20"
3643 * include/features.h (__GLIBC_MINOR__): Set to 20.
3644
c46303ef
AM
3645 * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
3646 Liebler.
3647
1cd9b65c
AM
3648 * po/ko.po: Update Korean translation from translation project.
3649
8622092d
CM
36502014-09-06 Chris Metcalf <cmetcalf@tilera.com>
3651
3652 [BZ #17354]
3653 * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
3654 macro for handling signed relocations.
3655
41488498
FW
36562014-09-03 Florian Weimer <fweimer@redhat.com>
3657
3658 [BZ #17325]
3659 * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
3660 * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
3661 assert.
3662 * iconvdata/ibm933.c (BODY): Fix check for sentinel.
3663 * iconvdata/ibm935.c (BODY): Likewise.
3664 * iconvdata/ibm937.c (BODY): Likewise.
3665 * iconvdata/ibm939.c (BODY): Likewise.
3666 * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
3667 assert.
3668 * iconvdata/Makefile (iconv-test.out): Pass module list to test
3669 script.
3670 * iconvdata/run-iconv-test.sh: New test loop for checking for
3671 decoder crashers.
3672
a78b712d
KR
36732014-09-02 Khem Raj <raj.khem@gmail.com>
3674
3675 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
3676 libm_hidden_ver.
3677
cb08abc6
AM
36782014-09-01 Allan McRae <allan@archlinux.org>
3679
2c31e102
AM
3680 * po/eo.po: Update Esperanto translation from translation project.
3681
cb08abc6
AM
3682 * po/ca.po: Update Catalan translation from translation project.
3683
17a62de1
ST
36842014-08-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
3685
3686 * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
3687 __proc_dostop call.
3688
9570bc53
MW
36892014-08-27 Mark Wielaard <mjw@redhat.com>
3690
3691 [BZ #17319]
3692 * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
3693 to call set_thread_area instead of hand written asm.
3694 (__NR_set_thread_area): Removed define.
3695 (TLS_FLAG_WRITABLE): Likewise.
3696 (__ASSUME_SET_THREAD_AREA): Remove check.
3697 (TLS_EBX_ARG): Remove define.
3698 (TLS_LOAD_EBX): Likewise.
3699
b0f955c9
ST
37002014-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
3701
3702 Simplify atomicity of socket creation in bind.
3703
3704 * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
3705 looking up the name after linking the file.
3706
529bf515
AM
37072014-08-27 Allan McRae <allan@archlinux.org>
3708
3709 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
3710
a1a6a401
FW
37112014-08-26 Florian Weimer <fweimer@redhat.com>
3712
3713 [BZ #17187]
3714 * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
3715 trans_compare, open_translit, __gconv_translit_find):
3716 Remove module loading code.
3717
686ab290
AM
37182014-08-26 Allan McRae <allan@archlinux.org>
3719
e4e7cfd2
AM
3720 * po/vi.po: Update Vietnamese translation from translation project.
3721
6aa09f71
AM
3722 * po/uk.po: Update Ukrainian translation from translation project.
3723
edc0660e
AM
3724 * po/fr.po: Update French translation from translation project.
3725
7eea72ac
AM
3726 * po/ru.po: Update Russian translation from translation project.
3727
93c49eff
AM
3728 * po/pl.po: Update Polish translation from translation project.
3729
46acaf63
AM
3730 * po/cs.po: Update Czech translation from translation project.
3731
a9f5ce98
AM
3732 * po/de.po: Update German translation from translation project.
3733
373f2b78
AM
3734 * po/bg.po: Update Bulgarian translation from translation project.
3735
e7548bd8
AM
3736 * po/sv.po: Update Sweedish translation from translation project.
3737
c526bf4d
AM
3738 * po/nl.po: Update Dutch translation from translation project.
3739
686ab290
AM
3740 * po/es.po: Update Spanish translation from translation project.
3741
eb72478a
SP
37422014-08-21 Siddhesh Poyarekar <siddhesh@redhat.com>
3743
dd763fdb
SP
3744 * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
3745
318c7a58
SP
3746 * catgets/Makefile (CPPFLAGS-gencat): Remove.
3747 * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
3748 (CPPFLAGS-iconvconfig): Likewise.
3749 * timezone/Makefile (CPPFLAGS-zic): Likewise.
3750
eb72478a
SP
3751 * include/libc-symbols.h: Remove unnecessary check for
3752 NOT_IN_libc.
3753 * nptl/pthreadP.h: Likewise.
3754 * sysdeps/aarch64/setjmp.S: Likewise.
3755 * sysdeps/alpha/setjmp.S: Likewise.
3756 * sysdeps/arm/sysdep.h: Likewise.
3757 * sysdeps/i386/setjmp.S: Likewise.
3758 * sysdeps/m68k/setjmp.c: Likewise.
3759 * sysdeps/posix/getcwd.c: Likewise.
3760 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
3761 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
3762 * sysdeps/s390/s390-32/setjmp.S: Likewise.
3763 * sysdeps/s390/s390-64/setjmp.S: Likewise.
3764 * sysdeps/sh/sh3/setjmp.S: Likewise.
3765 * sysdeps/sh/sh4/setjmp.S: Likewise.
3766 * sysdeps/unix/alpha/sysdep.h: Likewise.
3767 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
3768 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
3769 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
3770 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
3771 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
3772 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
3773 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
3774 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
3775 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
3776 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
3777 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
3778 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
3779 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
3780 * sysdeps/x86_64/setjmp.S: Likewise.
3781
d44a052c
JM
37822014-08-13 Joseph Myers <joseph@codesourcery.com>
3783
3784 [BZ #17263]
3785 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
3786 <stdint.h>.
3787 (__get_clockfreq): Use uint64_t instead of hp_timing_t in
3788 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
3789
508ce3ac
SP
37902014-08-13 Siddhesh Poyarekar <siddhesh@redhat.com>
3791
e44c8b0e
SP
3792 * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
3793
508ce3ac
SP
3794 [BZ #17262]
3795 * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
3796 and __x86_64__ when disabling x87 inline functions.
3797
b4acef1f
L
37982014-08-12 H.J. Lu <hongjiu.lu@intel.com>
3799
3800 [BZ #17259]
3801 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
3802 asm statement with __cpuid_count.
3803
61b1ef6e
MF
38042014-08-12 Mike Frysinger <vapier@gentoo.org>
3805
3806 * configure.ac: Change __ehdr_start code to dereference the struct.
3807 Run readelf on the output to look for relocations.
3808 * configure: Regenerated.
3809
898c62f4
JM
38102014-08-12 Joseph Myers <joseph@codesourcery.com>
3811
3812 [BZ #17261]
3813 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
3814 value to 0.
3815 (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
3816
9a8a5720
RM
38172014-08-12 Roland McGrath <roland@hack.frob.com>
3818
3819 * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
3820
4e75751c
BO
38212014-08-12 Bernard Ogden <bernie.ogden@linaro.org>
3822
3823 [BZ #16892]
3824 * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
3825 atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
3826
bb2ce416
SA
38272014-08-12 Sean Anderson <seanga2@gmail.com>
3828
3829 * malloc/malloc.c: Fix typo in comment.
3830
7950a4ee
AM
38312014-08-09 Allan McRae <allan@archlinux.org>
3832
3833 * Regenerate libc.po.
3834
f469c49f
MF
38352014-08-08 Mike Frysinger <vapier@gentoo.org>
3836
3837 * intl/tst-gettext2.sh: Check every lang file for creation.
3838
656b84c2
WD
38392014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
3840
3841 * sysdeps/aarch64/fpu/math_private.h
3842 (libc_feholdsetround_noex_aarch64_ctx): New function.
3843
538e9e45
W
38442014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
3845
3846 * sysdeps/arm/armv6/strcpy.S (strcpy):
3847 Fix performance issue in misaligned cases.
3848
d4795e4a
AZ
38492014-08-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3850
3851 * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
3852 Move definition from termios.h.
3853 (struct termio): Likewise.
3854 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
3855 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
3856 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
3857 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
3858 Likewise.
3859 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
3860 Move definition to ioctl-types.h
3861 (struct termio): Likewise.
3862 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
3863 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
3864 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
3865 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
3866 Likewise.
3867
64accb62
RH
38682014-08-05 Richard Henderson <rth@redhat.com>
3869
27bb6dc0
RH
3870 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
3871 exceptions.
3872 * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
3873 Add fraiseexcpt.
3874 * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
3875 Use __feraiseexcept.
3876 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
3877 Protect libm symbols with IS_IN_libm.
3878
64accb62
RH
3879 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
3880
e5292691
BO
38812014-08-04 Bernard Ogden <bernie.ogden@linaro.org>
3882
3883 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
3884
5b4bd2d4
WN
38852014-08-04 Will Newton <will.newton@linaro.org>
3886
3887 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
3888 file.
3889
fcadaeef
MF
38902014-08-04 Mike Frysinger <vapier@gentoo.org>
3891
3892 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
3893 variants for each function.
3894
43a94c64
RM
38952014-08-04 Roland McGrath <roland@hack.frob.com>
3896
3897 * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
3898 appended ...
3899 * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
3900 * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
3901 appended ...
3902 * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
3903 * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
3904 * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
3905 * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
3906 * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
3907 * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
3908 * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
3909 * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
3910 * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
3911 * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
3912 * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
3913 * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
3914 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
3915 * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
3916 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
3917 * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
3918 * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
3919 * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
3920 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
3921 * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
3922 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
3923 * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
3924 * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
3925 * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
3926 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
3927 * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
3928 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
3929 * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
3930 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
3931 * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
3932 * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
3933 * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
3934 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
3935 * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
3936 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
3937 * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
3938 * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
3939 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
3940 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
3941 * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
3942 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
3943 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
3944 * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
3945 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
3946 * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
3947 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
3948 * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
3949 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
3950 * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
3951 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
3952 * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
3953 * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
3954 * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
3955 Update #include.
3956 * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
3957 * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
3958
8f3c1fa4
RM
39592014-08-04 Roland McGrath <roland@hack.frob.com>
3960
3961 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
3962 * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
3963 * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
3964 * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
3965 * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
3966 * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
3967
ca08746f
RM
39682014-08-04 Roland McGrath <roland@hack.frob.com>
3969
3970 * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
3971 * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
3972 * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3973 * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
3974
9c925ff9
RM
39752014-08-04 Roland McGrath <roland@hack.frob.com>
3976
3977 * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
3978 * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
3979 (__libc_vfork): Define function under this name.
3980 (__vfork): Define as an alias.
3981 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
3982 * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
3983
e641054c
RM
39842014-08-04 Roland McGrath <roland@hack.frob.com>
3985
3986 * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
3987 that was previously under [RESET_PID].
3988 * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
3989
dacdc867
AS
39902014-08-04 Andreas Schwab <schwab@suse.de>
3991
3992 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
3993
41f725ff
MF
39942014-08-03 Mike Frysinger <vapier@gentoo.org>
3995
3996 * stdlib/tst-setcontext.c (test_stack): Fix coding style.
3997 (main): Likewise.
3998
277cfb31
RM
39992014-08-01 Roland McGrath <roland@hack.frob.com>
4000
4001 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
4002
4896f049
RH
40032014-08-01 Richard Henderon <rth@redhat.com>
4004
4005 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
4006 feclearexcept; use math_opt_barrier instead of open-coded asm; fix
4007 typo in exact zero test.
4008 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
4009 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
4010 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
4011
6f64e7d7
RM
40122014-08-01 Roland McGrath <roland@hack.frob.com>
4013
4014 * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
4015 (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
4016 * sysdeps/arm/sysdep.h: ... here.
4017 [!__ASSEMBLER__]: Include <stdint.h>.
4018
3f3dd810
SP
40192014-08-01 Siddhesh Poyarekar <siddhesh@redhat.com>
4020
a476ac4b
SP
4021 * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
4022 (HAVE_WCTYPE_H): Likewise.
4023 (HAVE_ISWCTYPE): Likewise.
4024 (ENABLE_NLS): Likewise.
4025 * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
4026 && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
4027
78dd658a
SP
4028 * posix/regex_internal.c: Check if DEBUG is defined and is
4029 set.
4030
3f3dd810
SP
4031 * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
4032 (HAVE_MBSRTOWCS): Likewise.
4033 * posix/fnmatch.c: Include string.h unconditionally.
4034
95ee7fb1
SL
40352014-08-01 Stefan Liebler <stli@linux.vnet.ibm.com>
4036
4037 * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
4038 reversal.
4039
23fe486b
RM
40402014-07-31 Roland McGrath <roland@hack.frob.com>
4041
f61a113f
RM
4042 * sysdeps/generic/safe-fatal.h: New file.
4043 * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
4044 * nptl/forward.c: Include it.
4045 (__pthread_unwind): Use __safe_fatal as default action, rather
4046 than a bogus use of INTERNAL_SYSCALL that could never work.
4047
9fe7e787
RM
4048 * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
4049 * configure.ac (libc_cv_builtin_trap): New test.
4050 * configure: Regenerated.
4051 * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
4052 (ABORT_INSTRUCTION): Define using __builtin_trap.
4053
23fe486b
RM
4054 * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
4055 * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
4056 * sysdeps/nptl/nptl-signals.h: New file.
4057 * nptl/pthreadP.h: Include <nptl-signals.h>.
4058
f349489e
SL
40592014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
4060
4061 * sysdeps/s390/s390-64/utf16-utf32-z9.c
4062 (ONE_DIRECTION): Define.
4063 * sysdeps/s390/s390-64/utf8-utf16-z9.c
4064 (ONE_DIRECTION): Define.
4065 * sysdeps/s390/s390-64/utf8-utf32-z9.c
4066 (ONE_DIRECTION): Define.
4067
2f438e20
SL
40682014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
4069
4070 * sysdeps/s390/Makefile: Delete file.
4071 * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
4072 * sysdeps/s390/__longjmp.c: Delete file.
4073 * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
4074 Remove fields __flags and __reserved.
4075 * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
4076 and add versioning.
4077 * sysdeps/s390/rtld-__longjmp.c: Delete file.
4078 * sysdeps/s390/rtld-global-offsets.sym: Likewise.
4079 * sysdeps/s390/rtld-setjmp.S: Likewise.
4080 * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
4081 * sysdeps/s390/s390-32/__longjmp.c: ... here.
4082 * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
4083 * sysdeps/s390/s390-32/setjmp.S: ... here.
4084 Add versioning.
4085 (__sigsetjmp): Remove setting __flags field.
4086 * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
4087 * sysdeps/s390/s390-64/__longjmp.c: ... here.
4088 * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
4089 * sysdeps/s390/s390-64/setjmp.S: ... here.
4090 Add versioning.
4091 (__sigsetjmp): Remove setting __flags field.
4092 * sysdeps/s390/setjmp.S: Delete file.
4093 * sysdeps/s390/sigjmp.c: Likewise.
4094 * sysdeps/s390/v1-longjmp.c: Likewise.
4095 * sysdeps/s390/v1-setjmp.h: Likewise.
4096 * sysdeps/s390/v1-sigjmp.c: Likewise.
4097 * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
4098 Remove v1-longjmp_chk.
4099 * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
4100 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
4101 Include debug/longjmp_chk.c and add versioning.
4102 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
4103 Include nptl/pt-longjmp.c and add versioning.
4104 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
4105 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
4106 Include __longjmp.c.
4107 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
4108 Move to ...
4109 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
4110 (__getcontext): Remove setting __flags field.
4111 Add versioning.
4112 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
4113 Don't restore upper high grps.
4114 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
4115 Likewise.
4116 (__swapcontext): Remove setting uc_flags field.
4117 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
4118 Delete file.
4119 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
4120 Include __longjmp.c.
4121 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
4122 Move to ...
4123 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
4124 (__getcontext): Remove setting __flags field.
4125 Add versioning.
4126 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
4127 (__swapcontext): Remove setting uc_flags field.
4128 * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
4129 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
4130 Remove fields uc_high_gprs and __reserved.
4131 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
4132 New file with reverted content.
4133 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
4134 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
4135 Regenerated.
4136 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
4137 Regenerated.
4138
6c9578a2
AS
41392014-07-31 Andreas Schwab <schwab@suse.de>
4140
4141 * config.h.in (HAVE_IFUNC): Define to 0.
4142 * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
4143 definedness.
4144
05f3633d
LM
41452014-07-30 Ling Ma <ling.ml@alibaba-inc.com>
4146
4147 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
4148 memmove-avx-unaligned, memcpy-avx-unaligned and
4149 mempcpy-avx-unaligned.
4150 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
4151 Add tests for AVX memcpy functions.
4152 * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
4153 * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
4154 memcpy_chk.
4155 * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
4156 * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
4157 memmove_chk.
4158 * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
4159 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
4160 mempcpy_chk.
4161 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
4162 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
4163 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
4164
a53fbd8e
AZ
41652013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4166
4167 [BZ #17213]
4168 * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
4169 powerpc64le.
4170
0961f7e1
JL
41712014-07-29 Jeff Layton <jlayton@poochiereds.net>
4172
4173 [BZ #16839]
4174 * manual/llio.texi: Add section about open file description locks.
4175 * manual/examples/ofdlocks.c: Example of open file description
4176 lock usage.
4177 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
4178 F_OFD_SETLK, and F_OFD_SETLKW.
4179
cc5fb300
AM
41802014-07-23 Allan McRae <allan@archlinux.org>
4181
4182 * po/es.po: Update Spanish translation from translation project.
4183
23329dca
AS
41842014-07-18 Andreas Schwab <schwab@linux-m68k.org>
4185
4186 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
4187
9c82da17
MR
41882014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
4189
4190 [BZ #17078]
4191 * sysdeps/arm/dl-machine.h (elf_machine_rela)
4192 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
4193 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
4194
29c4f53e
JM
41952014-07-17 Joseph Myers <joseph@codesourcery.com>
4196
831b9896
JM
4197 [BZ #17088]
4198 * math/fesetenv.c (__fesetenv)
4199 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
4200 * math/feupdateenv.c (__feupdateenv)
4201 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
4202
b21c2d50
JM
4203 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
4204 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
4205 (__ASSUME_SOCKETCALL): Do not define.
4206
067764ef
JM
4207 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
4208 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
4209 (__ASSUME_SOCKETCALL): Do not define.
4210 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
4211 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
4212 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
4213 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
4214 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
4215 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
4216 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
4217 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
4218
642530c1
JM
4219 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
4220 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
4221 (__ASSUME_SOCKETCALL): Do not define.
4222 (__ASSUME_IPC64): Define unconditionally.
4223 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
4224 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
4225 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
4226 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
4227 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
4228 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
4229 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
4230 Likewise.
4231
03f77315
JM
4232 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
4233 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
4234 (__ASSUME_SOCKETCALL): Do not define.
4235 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
4236 (__ASSUME_FUTEX_LOCK_PI): Likewise.
4237 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
4238 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
4239 (__ASSUME_REQUEUE_PI): Define unconditionally.
4240 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
4241 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
4242 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
4243 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
4244 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
4245 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
4246
083b1f7c
JM
4247 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
4248 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
4249 (__ASSUME_SOCKETCALL): Do not define.
4250 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
4251 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
4252 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
4253 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
4254 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
4255 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
4256
5be44ea6
JM
4257 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
4258 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
4259 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
4260 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
4261 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
4262 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
4263 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
4264 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
4265 (__ASSUME_GETCPU_SYSCALL): Likewise.
4266
d95ffd4c
JM
4267 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
4268 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
4269 cases for individual architectures.
4270 * sysdeps/gnu/configure: Regenerated.
4271 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
4272 LIBC_SLIBDIR_RTLDDIR.
4273 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
4274 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
4275 LIBC_SLIBDIR_RTLDDIR.
4276 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
4277 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
4278 LIBC_SLIBDIR_RTLDDIR.
4279 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
4280 Regenerated.
4281 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
4282 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
4283 file.
4284 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
4285 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
4286 file.
4287 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
4288 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
4289 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
4290 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
4291
29c4f53e
JM
4292 * sysdeps/aarch64/shlib-versions: Move to ...
4293 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
4294 * sysdeps/alpha/shlib-versions: Move to ...
4295 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
4296 * sysdeps/arm/shlib-versions: Move to ...
4297 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
4298 * sysdeps/hppa/shlib-versions: Move all contents except for
4299 libgcc_s entry to ...
4300 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
4301 entry from ...
4302 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
4303 * sysdeps/ia64/shlib-versions: Move to ...
4304 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
4305 entry from ...
4306 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
4307 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
4308 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
4309 * sysdeps/microblaze/shlib-versions: Move to ...
4310 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
4311 * sysdeps/mips/shlib-versions: Move to ...
4312 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
4313 entry from ...
4314 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
4315 * sysdeps/tile/shlib-versions: Move to ...
4316 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
4317 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
4318 from ...
4319 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
4320 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
4321 entry from ...
4322 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
4323
32bead5b
WN
43242014-07-17 Will Newton <will.newton@linaro.org>
4325
57977c4b
WN
4326 * sysdeps/arm/bits/atomic.h
4327 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
4328 (__arch_compare_and_exchange_bool_16_int): Likewise.
4329 (__arch_compare_and_exchange_bool_64_int): Likewise.
4330
32bead5b
WN
4331 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
4332 into an #else block.
4333
37fccd41
RM
43342014-07-16 Roland McGrath <roland@hack.frob.com>
4335
4336 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
4337 just Linux configurations. Test empirically that the compiler sets
4338 __ARM_EABI__, rather than using the tuple to decide.
4339 * sysdeps/arm/preconfigure: Regenerated.
4340 * sysdeps/unix/sysv/linux/arm/configure: File removed.
4341 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
4342 contents appended ...
4343 * sysdeps/arm/configure.ac: ... here.
4344 * sysdeps/arm/configure: Regenerated.
4345
b365f3ec
RM
43462014-07-15 Roland McGrath <roland@hack.frob.com>
4347
8badf496
RM
4348 * nptl/pthread_kill.c: New file.
4349 * nptl/pthread_sigmask.c: New file.
4350 * nptl/pthread_sigqueue.c: New file.
4351
3df6f22e
RM
4352 * sysdeps/nptl/lowlevellock.h: New file.
4353 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
4354 * sysdeps/nptl/lowlevellock-futex.h: New file.
4355
b365f3ec
RM
4356 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
4357 Remove dead declarations.
4358
f2fef657
L
43592014-07-14 H.J. Lu <hongjiu.lu@intel.com>
4360
4361 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
4362 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
4363 config-cflags-avx2.
4364 * sysdeps/x86_64/configure.ac: Likewise.
4365 * sysdeps/i386/configure: Regenerated.
4366 * sysdeps/x86_64/configure: Likewise.
4367 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
4368 memset-avx2 only if config-cflags-avx2 is yes.
4369 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
4370 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
4371 defined.
4372 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
4373 only if HAVE_AVX2_SUPPORT is defined.
4374 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
4375
f6c44d47
AM
43762014-07-14 Alan Modra <amodra@gmail.com>
4377
4378 [BZ #17153]
4379 * elf/elf.h (DT_PPC64_NUM): Correct value.
4380 * NEWS: Add to fixed bug list.
4381
7ee03f00
JM
43822014-07-13 Jim Meyering <meyering@fb.com>
4383
4384 [BZ 17150]
4385 regex: don't deref NULL upon heap allocation failure
4386 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
4387 failure in one more place.
4388 To trigger the segfault, configure grep -with-included-regex,
4389 build it, and run these commands:
4390 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
4391
9d39d517
AS
43922014-07-13 Andreas Schwab <schwab@linux-m68k.org>
4393
4394 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
4395
a75b89b7
RH
43962014-07-11 Richard Henderson <rth@redhat.com>
4397
4398 * sysdeps/aarch64/libm-test-ulps: Update.
4399
771eb141
FW
44002014-07-10 Florian Weimer <fweimer@redhat.com>
4401
4402 [BZ #17135]
4403 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
4404 * nptl/allocatestack.c (__nptl_setxid_error): New function.
4405 (__nptl_setxid): Initialize error member. Call
4406 __nptl_setxid_error.
4407 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
4408 * nptl/descr.h (struct xid_command): Add error member.
4409 * nptl/tst-setuid3.c: New file.
4410 * nptl/Makefile (tests): Add it.
4411
bc1da176
AZ
44122014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4413
4414 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
4415 New define.
4416 (__lll_trylock): Use __lll_base_trylock.
4417 (__lll_cond_trylock): Likewise.
4418
887865fc
RM
44192014-07-10 Roland McGrath <roland@hack.frob.com>
4420
c0c6bac9
RM
4421 * nptl/pthread_create.c (start_thread): Use atomic_or and
4422 lll_futex_wake directly rather than lll_robust_dead.
4423 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
4424 (lll_robust_dead): Macro removed.
6a42be57 4425 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
c0c6bac9
RM
4426 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
4427 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
4428 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
4429 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
4430 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
4431 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
4432 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
4433 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
4434 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
4435 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
4436 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
4437 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
4438 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
4439 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
4440
887865fc
RM
4441 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
4442 Use atomic_compare_and_exchange_val_acq directly rather than
4443 lll_robust_trylock.
4444 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
4445 (__lll_robust_trylock, lll_robust_trylock): Removed.
4446 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
4447 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
4448 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
4449 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
4450 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
4451 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
4452 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
4453 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
4454 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
4455 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
4456 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
4457 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
4458 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
4459 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
4460
58536726
FW
44612014-07-02 Florian Weimer <fweimer@redhat.com>
4462
4463 * manual/locale.texi (Locale Names): New section documenting
4464 locale name syntax. Adjust menu and node chaining accordingly.
4465 (Choosing Locale): Reference Locale Names, Locale Categories.
4466 Mention setting LC_ALL=C. Reflect that name syntax is now
4467 documented.
4468 (Locale Categories): New section title. Reference Locale Names.
4469 LC_ALL is an environment variable, but not a category.
4470 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
4471 description, now in Locale Name. Reference that section. Locale
4472 name syntax is now documented.
4473
4e8f95a0
FW
44742014-07-02 Florian Weimer <fweimer@redhat.com>
4475
4476 [BZ #17137]
4477 * locale/findlocale.c (name_present, valid_locale_name): New
4478 functions.
4479 (_nl_find_locale): Use the loc_name variable to store name
4480 candidates. Call name_present and valid_locale_name to check and
4481 validate locale names. Return an error if the locale is invalid.
4482
d1836456
FW
44832014-07-02 Florian Weimer <fweimer@redhat.com>
4484
4485 * locale/setlocale.c (setlocale): Use strdup for allocating
4486 composite name copy.
4487
d69b7f5a
SP
44882014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
4489
888c679b
SP
4490 Sync up with gnulib.
4491 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
4492 [!_LIBC && ENABLE_NLS]: Include gettext.h.
4493 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
4494 and _GL_ARG_NONNULL.
4495 [USE_UNLOCKED_IO]: Include unlocked-io.h.
4496 [!_LIBC]: Include code for Windows and Cygwin.
4497 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
4498 Include prototype for int strerror_r.
4499 [!_LIBC] (is_open): New function.
4500 (flush_stdout): New function.
4501 (print_errno_message): Use it.
4502 (error): Likewise.
4503 (error_at_line): Likewise.
4504 (error_tail) Add function attribute macros. Use
4505 __builtin_expect.
4506
180e0e4b
SP
4507 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
4508
d22f1fe2
SP
4509 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
4510
12f2254b
SP
4511 * io/ftw.c: Include sys/param.h unconditionally.
4512
c3c7c360
SP
4513 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
4514
d62aa75a
SP
4515 [BZ #17125]
4516 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
4517 libc_freeres_ptr.
4518 (freecache): New function to free CACHE on exit.
4519
d69b7f5a
SP
4520 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
4521 initialization.
4522
5efe06a1
DM
45232014-07-09 David S. Miller <davem@davemloft.net>
4524
4525 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4526
7000d82e
DM
4527 * sysdeps/sparc/nptl/internaltypes.h: Delete.
4528 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
4529 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
4530 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
4531 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
4532 * sysdeps/sparc/nptl/sem_init.c: Likewise.
4533 * sysdeps/sparc/nptl/sem_post.c: Likewise.
4534 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
4535 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
4536 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
4537 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
4538 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
4539 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
4540
c213442d
AS
45412014-07-09 Andreas Schwab <schwab@suse.de>
4542
4a2552c3
AS
4543 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
4544 output.
4545 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
4546 (do_test): Likewise.
4547
c213442d
AS
4548 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
4549
82374e65
WN
45502014-07-09 Will Newton <will.newton@linaro.org>
4551
4552 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
4553 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
4554 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
4555 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
4556 * sysdeps/hppa/start.S (_start): Likewise.
4557
6680738a
SP
45582014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
4559
6ee3eab4
SP
4560 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
4561
6680738a
SP
4562 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
4563 defined.
4564
80b5c505
SP
45652014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
4566
e35c53e3
SP
4567 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
4568 after checking that it is non-NULL.
4569
80b5c505
SP
4570 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
4571
91f4b564
AZ
45722014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4573
27b75f56
AZ
4574 * sysdeps/powerpc/memmove.c: Remove file.
4575 * sysdeps/powerpc/powerpc32/power4/memcopy.h
4576 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
4577 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
4578 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
4579 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
4580 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
4581 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
4582 string memmove instead of removed powerpc one.
4583
e7f95bb5
AZ
4584 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
4585 [weak_alias]: Fix compiler warning due trailing data.
4586 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
4587 [weak_alias]: Likewise.
4588 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
4589 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
4590
91f4b564
AZ
4591 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
4592 (__libc_ifunc_impl_list): Add memmove functions.
4593
7c33f1e5
SP
45942014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
4595
4596 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
4597 Remove code.
4598 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
4599 Likewise
4600 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
4601 Likewise
4602 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
4603 Likewise
4604 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
4605 Likewise
4606 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
4607 Likewise
4608 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
4609 Likewise
4610 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
4611 Likewise
4612 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
4613 Likewise
4614 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
4615 Likewise
4616 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
4617 Likewise
4618 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
4619 Likewise
4620 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
4621 Likewise
4622 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
4623 Likewise
4624 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
4625 Likewise
4626 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
4627 Likewise
4628 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
4629 Likewise
4630
3f17b03b
AZ
46312014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4632
87868c24
AZ
4633 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
4634 to avoid alignment traps in non-cacheable memory.
4635 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
4636
07aedd78
AZ
4637 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
4638 multiarch objects.
4639 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
4640 file: multiarch power7 memmove.
4641 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
4642 multiarch default memmove.
4643 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
4644 multiarch memove for powerpc32/power4.
4645
17762f66
AZ
4646 * string/bcopy.c: Use full path to include memmove.c.
4647 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
4648 multiarch objects.
4649 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
4650 bcopy for powerpc64.
4651 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
4652 bcopy for powerpc64.
4653 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
4654 and memmove implementations.
4655 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
4656 optimized multiarch memmove for POWER7/powerpc64.
4657 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
4658 default multiarch memmove for powerpc64.
4659 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
4660 multiarch for powerpc64.
4661 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
4662 for POWER7/powerpc64.
4663 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
4664 memmove for POWER7/powerpc64.
4665
d6f68bbe
AZ
4666 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
4667 glibc default one.
4668
3f17b03b
AZ
4669 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
4670 __ELF_NATIVE_CLASS equal to 64.
4671
08192659
RM
46722014-07-07 Roland McGrath <roland@hack.frob.com>
4673
f4c4021b
RM
4674 * sysdeps/nptl/lowlevellock.h: File removed.
4675
f083450f
RM
4676 * NEWS: NPTL is no longer an add-on!
4677 * nptl/internaltypes.h: Moved ...
4678 * sysdeps/nptl/internaltypes.h: ... here.
4679 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
4680 * sysdeps/nptl/fork.c: Likewise.
4681 * sysdeps/nptl/gai_misc.h: Likewise.
4682 * sysdeps/nptl/librt-cancellation.c: Likewise.
4683 * sysdeps/nptl/jmp-unwind.c: Likewise.
4684 * sysdeps/nptl/setxid.h: Likewise.
4685 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
4686 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
4687 * sysdeps/unix/sysv/linux/arm/Implies: New file.
4688 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
4689 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
4690 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
4691 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
4692 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
4693 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
4694 * sysdeps/unix/sysv/linux/mips/Implies: New file.
4695 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
4696 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
4697 * sysdeps/unix/sysv/linux/sh/Implies: New file.
4698 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
4699 * sysdeps/unix/sysv/linux/tile/Implies: New file.
4700 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
4701 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
4702 * nptl/Makeconfig: Moved ...
4703 * sysdeps/nptl/Makeconfig: ... here.
4704 * nptl/configure: File removed.
4705 * nptl/ANNOUNCE: File removed.
4706 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
4707 * sysdeps/unix/sysv/linux/configure: Regenerated.
4708
08192659
RM
4709 * nptl/Makefile (routines): Add libc_pthread_init,
4710 libc_multiple_threads, register-atfork and unregister-atfork.
4711 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
4712 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
4713 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
4714 pthread-pi-defines.sym, structsem.sym.
4715 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
4716 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
4717 [$(subdir) = nptl] (tests): Add tst-setgetname.
4718 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
4719 * sysdeps/unix/sysv/linux/sigaction.c: Just include
4720 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
4721 [!LIBC_SIGACTION]: Remove aliases.
4722 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
4723 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
4724 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
4725 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
4726 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
4727 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
4728 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
4729 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
4730 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
4731 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
4732 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
4733 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
4734 __libc_allocate_rtsig_private.
4735 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
4736 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
4737 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
4738 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
4739 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
4740 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
4741 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
4742 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
4743 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
4744 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
4745 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
4746 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
4747 * nptl/internaltypes.h: ... here.
4748 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
4749 * sysdeps/nptl/jmp-unwind.c: ... here.
4750 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
4751 * nptl/libc-lowlevellock.c: ... here.
4752 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
4753 * nptl/libc_multiple_threads.c: ... here.
4754 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
4755 * nptl/libc_pthread_init.c: ... here.
4756 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
4757 * nptl/lowlevelbarrier.sym: ... here.
4758 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
4759 * nptl/lowlevelcond.sym: ... here.
4760 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
4761 * nptl/lowlevellock.c: ... here.
4762 * nptl/lowlevellock.h: Moved ...
4763 * sysdeps/nptl/lowlevellock.h: ... here.
4764 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
4765 * nptl/lowlevelrobustlock.c: ... here.
4766 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
4767 * nptl/lowlevelrobustlock.sym: ... here.
4768 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
4769 * nptl/lowlevelrwlock.sym: ... here.
4770 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
4771 * nptl/pt-fork.c: ... here.
4772 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
4773 * nptl/pthread-pi-defines.sym: ... here.
4774 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
4775 * nptl/pthread_attr_getaffinity.c: ... here.
4776 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
4777 * nptl/pthread_attr_setaffinity.c: ... here.
4778 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
4779 * nptl/pthread_mutex_cond_lock.c: ... here.
4780 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
4781 Update #include.
4782 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
4783 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
4784 * nptl/pthread_once.c: ... here, replacing old file.
4785 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
4786 * nptl/pthread_yield.c: ... here.
4787 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
4788 * nptl/register-atfork.c: ... here.
4789 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
4790 * nptl/sem_post.c: ... here.
4791 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
4792 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
4793 * nptl/sem_timedwait.c: ... here.
4794 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
4795 * nptl/sem_trywait.c: ... here.
4796 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
4797 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
4798 * nptl/sem_wait.c: ... here.
4799 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
4800 * nptl/structsem.sym: ... here.
4801 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
4802 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
4803 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
4804 * nptl/unregister-atfork.c: ... here.
4805 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
4806 * nptl/unwindbuf.sym: ... here.
4807 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
4808 * sysdeps/nptl/fork.c: ... here.
4809 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
4810 * sysdeps/nptl/fork.h: ... here.
4811 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
4812 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
4813 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
4814 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
4815 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
4816 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
4817 * sysdeps/unix/sysv/linux/getpid.c: ... here.
4818 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
4819 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
4820 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
4821 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
4822 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
4823 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
4824 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
4825 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
4826 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
4827 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
4828 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
4829 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
4830 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
4831 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
4832 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
4833 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
4834 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
4835 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
4836 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
4837 * sysdeps/unix/sysv/linux/raise.c: ... here.
4838 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
4839 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
4840 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
4841 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
4842 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
4843 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
4844 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
4845 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
4846 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
4847 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
4848 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
4849 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
4850 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
4851 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
4852 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
4853
96baf6ff
SP
48542014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
4855
4856 * sysdeps/generic/memcopy.h: Add comment for
4857 MEMCPY_OK_FOR_FWD_MEMMOVE.
4858
6b7b14b2
WN
48592014-07-04 Will Newton <will.newton@linaro.org>
4860
1570a72b
WN
4861 * string/memchr.c: Merge from gnulib.
4862 [_LIBC]: Remove conditionals.
4863 (__ptr_t): Remove define.
4864 (LONG_MAX_32_BITS): Likewise.
4865 (LONG_MAX): Likewise.
4866 (MEMCHR): Use ANSI prototype and optimize algorithm.
4867
6b7b14b2
WN
4868 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
4869
38851324
SP
48702014-07-03 Roland McGrath <roland@hack.frob.com>
4871
3d9eb57c
RM
4872 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
4873 (lll_futex_timed_wait_bitset): Fix syscall argument count.
4874
78b984ae
RM
4875 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
4876 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
4877 in a bare environment with no <stdlib.h> installed.
4878 * sysdeps/nptl/configure: Regenerated.
4879
2d5976a5
RM
4880 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
4881
c1f5acd4
RM
4882 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
4883 AC_EGREP_CPP for kernel header checks, so they only succeed if
4884 including <linux/version.h> actually works right.
4885 * sysdeps/unix/sysv/linux/configure: Regenerated.
4886
4d614fe5
RM
4887 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
4888 value so it's not diagnosed as unused.
4889
38851324
SP
4890 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
4891 thing) with "ifeq ($(subdir),rt)".
4892
b3ec00e5
RH
48932014-07-03 Richard Henderson <rth@redhat.com>
4894
69862e25
RH
4895 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
4896 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
4897 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
4898
d5e16ade
RH
4899 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
4900 (math_force_eval): New.
4901
ca7b945c
RH
4902 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
4903 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
4904
cd1175a3
RH
4905 * sysdeps/alpha/fpu/s_round.c: Remove file.
4906 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
4907
b3ec00e5
RH
4908 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
4909 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
4910 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
4911 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
4912 (_dl_start, print_statistics): Likewise.
4913 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
4914 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
4915
4916 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
4917 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
4918 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
4919 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
4920 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
4921 (HP_SMALL_TIMING_AVAIL): Define.
4922 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
4923 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
4924 (HP_SMALL_TIMING_AVAIL): Define.
4925 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
4926 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
4927
4928 * sysdeps/aarch64/hp-timing.h: New file.
4929
4930 * sysdeps/generic/hp-timing.h: Remove dead comment.
4931 * sysdeps/generic/hp-timing-common.h: New file.
4932 * sysdeps/alpha/hp-timing.h: Include it.
4933 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
4934 * sysdeps/i386/i686/hp-timing.h: Likewise.
4935 * sysdeps/ia64/hp-timing.h: Likewise.
4936 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
4937 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
4938 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
4939 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
4940 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
4941 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
4942 (hp_timing_t): New.
4943
4944 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
4945 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
4946 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
4947 * elf/rtld.c (_dl_start_final): Likewise.
4948 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
4949 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
4950 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
4951 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
4952 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
4953 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
4954 (HP_TIMING_DIFF_INIT): Remove.
4955 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
4956 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
4957 (HP_TIMING_DIFF_INIT): Remove.
4958 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
4959 * sysdeps/i386/i686/hp-timing.c: Remove file.
4960 * sysdeps/x86_64/hp-timing.c: Remove file.
4961 * sysdeps/ia64/hp-timing.c: Remove file.
4962 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
4963 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
4964 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
4965 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
4966
4967 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
4968 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
4969 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
4970 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
4971 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
4972 (HP_TIMING_ACCUM): Remove.
4973 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
4974 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
4975 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
4976
4977 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
4978 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
4979 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
4980 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
4981 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
4982 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
4983 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
4984 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
4985
4986 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
4987
225f410f
MR
49882014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
4989
4990 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
4991
3247f285
SP
49922014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
4993
4994 Sync up with gettext.
4995 * intl/loadmsgcat.c: Define O_BINARY if not defined.
4996 [_MSC_VER]: Include malloc.h
4997 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
4998 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
4999 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
5000 TEMP_FAILURE_RETRY. Cast return of alloca.
5001 [!_LIBC] Call gl_rwlock_init.
5002 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
5003
d12704c7
SP
50042014-07-02 Roland McGrath <roland@hack.frob.com>
5005
5006 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
5007 before checking its value.
5008
99f8dc92
SP
50092014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
5010
05fdac77
SP
5011 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
5012
99f8dc92
SP
5013 * debug/memcpy_chk.c: Don't include pagecopy.h.
5014 * debug/mempcpy_chk.c: Likewise.
5015 * string/memcpy.c: Likewise.
5016 * string/memmove.c: Likewise.
5017 * sysdeps/powerpc/memmove.c: Likewise.
5018 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
5019 definition of PAGE_COPY_FWD_MAYBE here...
5020 * sysdeps/generic/pagecopy.h: ... from here.
5021 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
5022
bc8ea385
VR
50232014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
5024 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5025
5026 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
5027 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
5028 optimizations.
5029 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
5030 (__libc_ifunc_impl_list): Likewise.
5031 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
5032 multiarch strcat for PPC64.
5033 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
5034 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
5035
fe5f34e4
RM
50362014-07-02 Roland McGrath <roland@hack.frob.com>
5037
5038 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
5039
256aa665
SP
50402014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
5041
d4eb8195
SP
5042 * intl/loadmsgcat.c: Remove declaration of
5043 get_sysdep_segment_value.
5044 (get_sysdep_segment_value): Use ISO C style.
5045 (_nl_load_domain): Use ISO C style. Get rid of redundant
5046 semicolon. Fix typo and formatting in comment.
5047 (_nl_unload_domain): Use ISO C style.
5048
256aa665
SP
5049 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
5050
b100f9aa
WN
50512014-07-02 Will Newton <will.newton@linaro.org>
5052
5053 * malloc/obstack.c: Merge from gnulib master.
5054 [HAVE_CONFIG_H]: Remove conditional code.
5055 [!_LIBC]: Include config.h.
5056 [!ELIDE_CODE]: Don't include inttypes.h, include
5057 stdint.h unconditionally.
5058 (print_and_abort): Mark as _Noreturn.
5059 (_obstack_allocated_p): Mark as __attribute_pure__.
5060 (obstack_free): Rename to __obstack_free.
5061 [!__attribute__]: Remove conditional code.
5062 * malloc/obstack.h: Merge from gnulib master.
5063 [__cplusplus]: Move conditional down.
5064 [!__attribute_pure__]: Define __attribute_pure__ here
5065 if it is not already defined.
5066 (_obstack_memory_used): Mark as __attribute_pure__.
5067 [!__obstack_free]: Define as obstack_free.
5068 [__GNUC__]: Remove check for ancient NeXT gcc.
5069
c4c41244
PE
50702014-07-02 Will Newton <will.newton@linaro.org>
5071 Paul Eggert <eggert@cs.ucla.edu>
5072
5073 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
5074
e1e041c4
SP
50752014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
5076
5077 * resolv/gethnamaddr.c: Add comment warning that the file is
5078 not maintained.
5079
ccf431ff
CD
50802014-07-01 Carlos O'Donell <carlos@redhat.com>
5081
d34570a6
CD
5082 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
5083 entries.
5084
ccf431ff
CD
5085 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
5086 entry for aio_cancel and aio_cancel64.
5087 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
5088 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
5089 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
5090 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
5091 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
5092 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
5093 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
5094 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
5095 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
5096 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
5097 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
5098 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
5099 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
5100
ca06321d
RM
51012014-07-01 Roland McGrath <roland@hack.frob.com>
5102
5103 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
5104 * nptl/pthread_mutex_lock.c: Likewise.
5105 * nptl/pthread_mutex_timedlock.c: Likewise.
5106 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
5107
a1ac3184
RH
51082014-07-01 Richard henderson <rth@redhat.com>
5109
631021e0
RH
5110 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
5111 (__isnan, __isnanl): Remove.
5112 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
5113
a1ac3184
RH
5114 * sysdeps/alpha/fpu/libm-test-ulps: Update.
5115
0c1d731f
SL
51162014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
5117
5118 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
5119
76985d3e
SP
51202014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
5121
5122 * resolv/nss_dns/dns-host.c (getanswer_r)
5123 [MULTI_PTRS_ARE_ALIASES]: Remove code.
5124
b0cb3096
JM
51252014-07-01 Joseph Myers <joseph@codesourcery.com>
5126
5127 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5128 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
5129 undefine.
5130 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
5131 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
5132
4d76cb39
RM
51332014-07-01 Roland McGrath <roland@hack.frob.com>
5134
5135 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
5136 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
5137
5138 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
5139 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
5140
5141 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
5142 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
5143 ... here.
5144 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
5145 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
5146
5147 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
5148 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
5149 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
5150 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
5151
5152 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
5153 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
5154 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
5155 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
5156 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
5157 Moved ...
5158 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
5159 ... here.
5160 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
5161 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
5162 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
5163 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
5164 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
5165 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
5166 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
5167 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
5168 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
5169 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
5170 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
5171 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
5172 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
5173 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
5174 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
5175 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
5176 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
5177 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
5178 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
5179 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
5180 ... here.
5181 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
5182 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
5183 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
5184 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
5185 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
5186 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
5187 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
5188 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
5189
0cdcad17
DH
51902014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
5191
5192 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
5193 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
5194 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
5195 Add sysdep.
5196
9b71d0e3
AZ
51972014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5198
5199 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5200
665390c2
JM
52012014-06-30 Joseph Myers <joseph@codesourcery.com>
5202
ae05a9d7
JM
5203 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
5204 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
5205
a7672a2f
JM
5206 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
5207
665390c2
JM
5208 * sysdeps/arm/libm-test-ulps: Regenerated.
5209
d7a05d07
MR
52102014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
5211 Roland McGrath <roland@hack.frob.com>
5212
5213 * test-skeleton.c (signal_handler): Kill the whole process group
5214 before killing the child individually.
5215 (main): Report any failure on `setpgid'.
5216
46f1d8a6
RM
52172014-06-30 Roland McGrath <roland@hack.frob.com>
5218
5219 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
5220 from _TLS_H to _ARM_NPTL_TLS_H.
5221 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
5222 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
5223
9c37ec0b
JM
52242014-06-30 Joseph Myers <joseph@codesourcery.com>
5225
ce9c5b3e
JM
5226 [BZ #16539]
5227 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
5228 (__expm1l): Return argument unchanged when small but not
5229 subnormal.
5230
3a6e9887
JM
5231 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
5232 include macro name.
5233 (_FP_UNPACK_RAW_1_P): Likewise.
5234 (_FP_PACK_RAW_1): Likewise.
5235 (_FP_PACK_RAW_1_P): Likewise.
5236 (_FP_MUL_MEAT_1_wide): Likewise.
5237 (_FP_MUL_MEAT_DW_1_hard): Likewise.
5238 (_FP_MUL_MEAT_1_hard): Likewise.
5239 (_FP_DIV_MEAT_1_imm): Likewise.
5240 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
5241 (_FP_DIV_MEAT_1_udiv): Likewise.
5242 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
5243 (_FP_UNPACK_RAW_2): Likewise.
5244 (_FP_UNPACK_RAW_2_P): Likewise.
5245 (_FP_PACK_RAW_2): Likewise.
5246 (_FP_PACK_RAW_2_P): Likewise.
5247 (_FP_MUL_MEAT_DW_2_wide): Likewise.
5248 (_FP_MUL_MEAT_2_wide): Likewise.
5249 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
5250 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
5251 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
5252 (_FP_MUL_MEAT_2_gmp): Likewise.
5253 (_FP_DIV_MEAT_2_udiv): Likewise.
5254 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
5255 (_FP_FRAC_SRL_4): Likewise.
5256 (_FP_FRAC_SRST_4): Likewise.
5257 (_FP_FRAC_SRS_4): Likewise.
5258 (_FP_UNPACK_RAW_4): Likewise.
5259 (_FP_UNPACK_RAW_4_P): Likewise.
5260 (_FP_PACK_RAW_4): Likewise.
5261 (_FP_PACK_RAW_4_P): Likewise.
5262 (_FP_MUL_MEAT_DW_4_wide): Likewise.
5263 (_FP_MUL_MEAT_4_wide): Likewise.
5264 (_FP_MUL_MEAT_4_gmp): Likewise.
5265 (umul_ppppmnnn): Likewise.
5266 (_FP_DIV_MEAT_4_udiv): Likewise.
5267 (__FP_FRAC_ADD_4): Likewise.
5268 (__FP_FRAC_SUB_3): Likewise.
5269 (__FP_FRAC_SUB_4): Likewise.
5270 (__FP_FRAC_DEC_3): Likewise.
5271 (__FP_FRAC_DEC_4): Likewise.
5272 (__FP_FRAC_ADDI_4): Likewise.
5273 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
5274 (_FP_FRAC_SRL_8): Likewise.
5275 (_FP_FRAC_SRS_8): Likewise.
5276
9c37ec0b
JM
5277 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
5278 include macro name.
5279 (FP_UNPACK_RAW_EP): Likewise.
5280 (FP_PACK_RAW_E): Likewise.
5281 (FP_PACK_RAW_EP): Likewise.
5282 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
5283 (_FP_ISSIGNAN): Likewise.
5284 (_FP_ADD_INTERNAL): Likewise.
5285 (_FP_FMA): Likewise.
5286 (_FP_CMP): Likewise.
5287 (_FP_SQRT): Likewise.
5288 (_FP_TO_INT): Likewise.
5289 (_FP_FROM_INT): Likewise.
5290 (FP_EXTEND): Likewise.
5291 (_FP_DIV_MEAT_N_loop): Likewise.
5292
2125f674
MR
52932014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
5294
5295 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
5296 throughout.
5297
edea4028
JM
52982014-06-29 Joseph Myers <joseph@codesourcery.com>
5299
5300 [BZ #17097]
5301 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
5302 result with correct sign in case of exponents that produce
5303 overflow except for X very close to 1.
5304
dd0ba018
PE
53052014-06-28 Paul Eggert <eggert@cs.ucla.edu>
5306
5307 mktime: merge #if/#ifdef usage from glibc
5308 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
5309 as that works with both Glibc's and Gnulib's style.
5310 See thread starting at Siddhesh Poyarekar's bug report at:
5311 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
5312
64df73c2
SP
53132014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5314
5315 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
5316 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
5317 * sysdeps/tile/tilegx/memmove.c: Remove file.
5318
f1eafb41
JM
53192014-06-27 Joseph Myers <joseph@codesourcery.com>
5320
5321 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
5322 abi-name definition.
5323 * scripts/soversions.awk: Do not handle or generate ABI lines.
5324 * shlib-versions: Remove ABI entries.
5325 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
5326 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
5327
58eb0862
RM
53282014-06-27 Roland McGrath <roland@hack.frob.com>
5329
37caf178
RM
5330 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
5331 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
5332 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
5333 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
5334 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
5335 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
5336 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
5337 Moved ...
5338 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
5339 ... here.
5340 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
5341 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
5342 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
5343 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
5344 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
5345 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
5346 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
5347 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
5348 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
5349 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
5350 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
5351 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
5352 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
5353 Moved ...
5354 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
5355 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
5356 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
5357 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
5358 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
5359 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
5360 Moved ...
5361 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
5362 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
5363 Moved ...
5364 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
5365 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
5366 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
5367 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
5368 Moved ...
5369 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
5370 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
5371 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
5372 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
5373 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
5374 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
5375 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
5376 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
5377 Moved ...
5378 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
5379 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
5380 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
5381 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
5382 Moved ...
5383 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
5384 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
5385 Moved ...
5386 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
5387 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
5388 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
5389 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
5390 Moved ...
5391 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
5392 ... here.
5393 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
5394 Identical file removed.
5395 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
5396 Moved ...
5397 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
5398 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
5399 Identical file removed.
5400 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
5401 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
5402 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
5403 Moved ...
5404 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
5405 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
5406 Identical file removed.
5407 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
5408 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
5409 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
5410 Identical file removed.
5411 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
5412 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
5413 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
5414 Identical file removed.
5415 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
5416 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
5417 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
5418 Identical file removed.
5419 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
5420 Moved ...
5421 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
5422 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
5423 Identical file removed.
5424 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
5425 Moved ...
5426 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
5427 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
5428 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
5429 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
5430 Identical file removed.
5431 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
5432 Moved ...
5433 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
5434 ... here.
5435 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
5436 Identical file removed.
5437 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
5438 Moved ...
5439 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
5440 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
5441 Identical file removed.
5442 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
5443 Moved ...
5444 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
5445 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
5446 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
5447 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
5448 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
5449 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
5450 Moved ...
5451 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
5452 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
5453 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
5454
58eb0862
RM
5455 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
5456 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
5457 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
5458 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
5459 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
5460
6f12d062
AS
54612014-06-27 Arjun Shankar <arjun.is@lostca.se>
5462
5463 [BZ #17092]
5464 * nscd/nscd.c (monitor_child): Return exit status of child
5465 instead of return value from wait syscall.
5466
be254932
JM
54672014-06-27 Joseph Myers <joseph@codesourcery.com>
5468
cb403c34
JM
5469 * configure.ac (libc_commonpagesize): Remove variable.
5470 (libc_relro_required): Likewise.
5471 (libc_cv_z_relro): Remove configure test.
5472 * configure: Regenerated.
5473 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
5474 variable.
5475 (libc_relro_required): Likewise.
5476 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
5477 (libc_relro_required): Likewise.
5478 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
5479 (libc_relro_required): Likewise.
5480 * sysdeps/arm/preconfigure: Regenerated.
5481 * sysdeps/ia64/preconfigure: Remove file.
5482 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
5483 variable.
5484 (libc_relro_required): Likewise.
5485
be254932
JM
5486 [BZ #16561]
5487 [BZ #16562]
5488 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
5489 (__ieee754_yn): Set FE_TONEAREST mode internally and then
5490 recompute overflowing results in original rounding mode.
5491 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
5492 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
5493 recompute overflowing results in original rounding mode.
5494 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
5495 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
5496 recompute overflowing results in original rounding mode.
5497 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
5498 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
5499 recompute overflowing results in original rounding mode.
5500 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
5501 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
5502 recompute overflowing results in original rounding mode.
5503 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
5504 (libc_feholdsetround_ctx): New macro.
5505 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
5506 * sysdeps/i386/fpu/libm-test-ulps: Update.
5507 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
5508
b351d85a
JM
55092014-06-26 Joseph Myers <joseph@codesourcery.com>
5510
5511 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
5512 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
5513 corresponding .cpsetup call.
5514
3cb4de47
RM
55152014-06-26 Roland McGrath <roland@hack.frob.com>
5516
5517 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
5518 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
5519 * sysdeps/arm/Makefile [$(subdir) = csu]
5520 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
5521 (static-only-routines): Add aeabi_read_tp here.
5522 (shared-only-routines): Add libc-aeabi_read_tp here.
5523 (CFLAGS-libc-start.c): Add -fexceptions here.
5524 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
5525 (sysdep_routines, static-only-routines, shared-only-routines):
5526 Don't add to these here.
5527 (CFLAGS-libc-start.c): Likewise.
5528
5529 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
5530 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
5531 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
5532 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
5533 * sysdeps/arm/Makefile [$(subdir) = rt]
5534 (librt-sysdep_routines, librt-shared-only-routines):
5535 Append rt-aeabi_unwind_cpp_pr1 here.
5536 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
5537 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
5538 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
5539 (libpthread-sysdep_routines, libpthread-shared-only-routines):
5540 Append nptl-aeabi_unwind_cpp_pr1 here.
5541 (tests): Filter out tst-cleanupx4 here.
5542 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
5543 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
5544 Don't do those here.
5545
354426bb
JM
55462014-06-26 Joseph Myers <joseph@codesourcery.com>
5547
5548 * scripts/list-sources.sh: Do not handle ports specially.
5549
28b0a8c9
RM
55502014-06-26 Roland McGrath <roland@hack.frob.com>
5551
a3dd035d
RM
5552 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
5553 * sysdeps/arm/feupdateenv.c: Likewise.
5554
28b0a8c9
RM
5555 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
5556
e66a8203
JM
55572014-06-26 Joseph Myers <joseph@codesourcery.com>
5558
5559 * manual/texinfo.tex: Update to version 2014-05-05.10 with
5560 trailing whitespace removed.
5561 * scripts/config.guess: Update to version 2014-03-23.
5562 * scripts/config.sub: Update to version 2014-05-01
5563 * scripts/install-sh: Update to version 2013-12-25.23.
5564 * scripts/move-if-change: Update from gnulib.
5565
74171115
SP
55662014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
5567
b97c9ce5
SP
5568 * debug/memmove_chk.c: Remove pagecopy.h include.
5569
4000f892
SP
55702014-06-26 Paul Eggert <eggert@cs.ucla.edu>
5571
74171115
SP
5572 * time/mktime.c (leapyear): Remove inline keyword. The code is now
5573 identical to gnulib mktime.
5574
a8779c28
JM
55752014-06-26 Joseph Myers <joseph@codesourcery.com>
5576
e64708de
JM
5577 * configure.ac: Do not test for machine being rs6000. Do not test
5578 for powerpc*-*soft.
5579 * configure: Regenerated.
5580
a8779c28
JM
5581 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
5582 test.
5583 * configure: Regenerated.
5584 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
5585 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
5586 Remove configure test.
5587 * sysdeps/arm/configure: Regenerated.
5588 * sysdeps/nptl/configure.ac: Do not check
5589 libc_cv_asm_cfi_directives.
5590 * sysdeps/nptl/configure: Regenerated.
5591 * sysdeps/x86_64/nptl/configure.ac: Remove file.
5592 * sysdeps/x86_64/nptl/configure: Remove generated file.
5593 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
5594 unconditional.
5595 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
5596
2aac0a86
SP
55972014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
5598
059bf913
SP
5599 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
5600 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
5601 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
5602 it is defined.
5603
4cf5b6d0
SP
5604 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
5605 instead of whether it is defined.
5606 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
5607 * sysdeps/hppa/dl-machine.h: Likewise.
5608 * sysdeps/ia64/dl-machine.h: Likewise.
5609 * sysdeps/m68k/dl-machine.h: Likewise.
5610 * sysdeps/microblaze/dl-machine.h: Likewise.
5611 * sysdeps/mips/dl-machine.: Likewise.
5612 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
5613 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
5614 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
5615 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
5616 * sysdeps/sh/dl-machine.h: Likewise.
5617 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
5618 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
5619 * sysdeps/tile/dl-machine.h: Likewise.
5620 * sysdeps/x86_64/dl-machine.h: Likewise.
5621
2aac0a86
SP
5622 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
5623 code.
5624 (verify_persistent_db): Likewise.
5625
6ad2df0b
RM
56262014-06-26 Roland McGrath <roland@hack.frob.com>
5627
d8a483f3
RM
5628 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
5629 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
5630 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
5631 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
5632 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
5633 Moved ...
5634 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
5635 ... here.
5636 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
5637 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
5638 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
5639 Identical file removed.
5640 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
5641 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
5642 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
5643 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
5644 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
5645 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
5646 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
5647 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
5648 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
5649 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
5650 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
5651 Moved ...
5652 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
5653 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
5654 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
5655 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
5656 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
5657 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
5658 Moved ...
5659 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
5660 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
5661 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
5662 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
5663 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
5664 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
5665 Identical file removed.
5666 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
5667 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
5668 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
5669 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
5670 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
5671 Moved ...
5672 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
5673 ... here.
5674 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
5675 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
5676 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
5677 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
5678 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
5679 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
5680 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
5681 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
5682 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
5683 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
5684 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
5685 Moved ...
5686 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
5687 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
5688 Moved ...
5689 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
5690 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
5691 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
5692 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
5693 Moved ...
5694 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
5695 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
5696 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
5697
52ae23b4
RM
5698 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
5699 folded into ...
5700 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
5701 * sysdeps/unix/sysv/linux/s390/Versions
5702 (libpthread: GLIBC_2.19): New version set.
5703 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
5704 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
5705 (librt: GLIBC_2.3.3): New version set.
5706 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
5707 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
5708 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
5709 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
5710 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
5711 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
5712 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
5713 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
5714 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
5715 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
5716 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
5717 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
5718 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
5719 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
5720 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
5721 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
5722 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
5723 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
5724 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
5725 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
5726 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
5727 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
5728 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
5729 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
5730 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
5731 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
5732 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
5733 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
5734 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
5735 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
5736 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
5737 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
5738 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
5739 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
5740 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
5741 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
5742 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
5743 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
5744 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
5745 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
5746 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
5747 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
5748 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
5749 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
5750 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
5751
39507e4a
RM
5752 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
5753 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
5754 (__libc_vfork): Define the function under this name.
5755 [!NOT_IN_libc] (__vfork): Make this an alias.
5756 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
5757 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
5758 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
5759 (__libc_vfork): Define the function under this name.
5760 [!NOT_IN_libc] (__vfork): Make this an alias.
5761 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
5762 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
5763 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
5764 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
5765 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
5766 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
5767
e549ee56
RM
5768 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
5769 code that was previously under [RESET_PID].
5770 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
5771 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
5772 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
5773
6ad2df0b
RM
5774 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
5775 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
5776 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
5777 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
5778 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
5779 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
5780 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
5781 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
5782 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
5783 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
5784 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
5785 Moved ...
5786 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
5787 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
5788 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
5789 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
5790 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
5791 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
5792 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
5793 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
5794 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
5795 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
5796 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
5797 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
5798 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
5799 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
5800 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
5801 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
5802 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
5803 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
5804 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
5805 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
5806 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
5807 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
5808 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
5809 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
5810 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
5811 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
5812 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
5813 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
5814 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
5815
7c1c1d8e
RM
58162014-06-25 Roland McGrath <roland@hack.frob.com>
5817
5818 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
5819 that was previously under [RESET_PID].
5820 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
5821
3e239be6
JM
58222014-06-25 Joseph Myers <joseph@codesourcery.com>
5823
74385da5
JM
5824 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
5825 not undefine and redefine.
5826 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
5827 [O_CLOEXEC]: Make code unconditional.
5828 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
5829 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
5830 <kernel-features.h>.
5831 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
5832 conditional variable definition.
5833 (shm_open) [O_CLOEXEC]: Make code unconditional.
5834 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
5835 code.
5836
c2570a0b
JM
5837 * configure.ac (USE_REGPARMS): Don't define here.
5838 * configure: Regenerated.
5839 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
5840 * sysdeps/i386/configure: Regenerated.
5841
11b076bb
JM
5842 * nptl/createthread.c: Don't include kernel-features.h.
5843 * nptl/pthread_cancel.c: Likewise.
5844 * nptl/pthread_condattr_setclock.c: Likewise.
5845 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
5846 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
5847 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
5848 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
5849 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
5850 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
5851 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
5852 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
5853 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
5854 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
5855 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
5856 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
5857 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
5858 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
5859 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
5860 * nscd/gai.c: Likewise.
5861 * nss/nss_db/db-open.c: Likewise.
5862 * sysdeps/generic/ldsodefs.h: Likewise.
5863 * sysdeps/sh/nptl/tls.h: Likewise.
5864 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
5865 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
5866 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
5867 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
5868 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
5869 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
5870 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
5871 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
5872 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
5873 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
5874 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
5875 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
5876 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
5877 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
5878 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
5879 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
5880 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
5881 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
5882 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
5883 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
5884 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
5885 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
5886 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
5887 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
5888 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
5889 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
5890 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
5891 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
5892 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
5893 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
5894 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
5895 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
5896 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
5897 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
5898 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
5899 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
5900 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
5901 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
5902 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
5903 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
5904 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
5905 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
5906 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
5907 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
5908 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
5909 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
5910 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
5911 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
5912 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
5913 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
5914 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
5915 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
5916 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
5917 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
5918 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
5919 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
5920 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
5921 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
5922 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
5923 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
5924 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
5925 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
5926 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
5927 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
5928 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
5929 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
5930 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
5931 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
5932 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
5933 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
5934 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
5935 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
5936 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
5937 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
5938 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
5939 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
5940 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
5941 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
5942 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
5943 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
5944 * sysdeps/unix/sysv/linux/pread.c: Likewise.
5945 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
5946 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
5947 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
5948 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
5949 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
5950 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
5951 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
5952 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
5953 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
5954 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
5955 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
5956 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
5957 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
5958 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
5959 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
5960 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
5961 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
5962 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
5963 * sysdeps/unix/sysv/linux/system.c: Likewise.
5964 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
5965 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
5966 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
5967 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
5968 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
5969 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
5970 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
5971
92072d57
JM
5972 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
5973 * configure: Regenerated.
5974 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
5975
3e239be6
JM
5976 * configure.ac (base_machine): Do not set specially for particular
5977 machines here.
5978 * configure: Regenerated.
5979 * sysdeps/powerpc/preconfigure: Move machine and base_machine
5980 settings from configure.ac.
5981 * sysdeps/i386/preconfigure: New file.
5982 * sysdeps/s390/preconfigure: Likewise.
5983 * sysdeps/sh/preconfigure: Likewise.
5984 * sysdeps/sparc/preconfigure: Likewise.
5985
06d50baa
RM
59862014-06-25 Roland McGrath <roland@hack.frob.com>
5987
74836003
RM
5988 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
5989 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
5990 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
5991 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
5992 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
5993 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
5994 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
5995 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
5996 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
5997 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
5998 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
5999 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
6000 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
6001 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
6002 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
6003 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
6004 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
6005 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
6006 * sysdeps/sparc/sparc64/Makefile: ... appended here.
6007
6008 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
6009 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
6010 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
6011 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
6012 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
6013 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
6014 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
6015 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
6016 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
6017 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
6018 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
6019 * sysdeps/sparc/sparc32/sem_post.c: ... here.
6020 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
6021 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
6022 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
6023 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
6024 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
6025 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
6026 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
6027 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
6028 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
6029 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
6030 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
6031 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
6032 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
6033 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
6034 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
6035 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
6036 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
6037 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
6038 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
6039 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
6040 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
6041 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
6042 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
6043 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
6044 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
6045 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
6046
06d50baa
RM
6047 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
6048 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
6049 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
6050 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
6051 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
6052 Moved ...
6053 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
6054 ... here.
6055 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
6056 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
6057 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
6058 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
6059 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
6060 Moved ...
6061 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
6062 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
6063 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
6064 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
6065 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
6066 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
6067 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
6068 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
6069 Moved ...
6070 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
6071 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
6072 Moved ...
6073 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
6074 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
6075 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
6076 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
6077 Moved ...
6078 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
6079 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
6080 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
6081 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
6082 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
6083 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
6084 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
6085 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
6086 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
6087 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
6088 Moved ...
6089 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
6090 ... here.
6091 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
6092 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
6093 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
6094 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
6095 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
6096 Moved ...
6097 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
6098 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
6099 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
6100 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
6101 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
6102 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
6103 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
6104 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
6105 Moved ...
6106 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
6107 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
6108 Moved ...
6109 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
6110 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
6111 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
6112 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
6113 Moved ...
6114 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
6115 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
6116 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
6117 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
6118 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
6119
a4ccbc9b
JM
61202014-06-25 Joseph Myers <joseph@codesourcery.com>
6121
0828edbf
JM
6122 * timezone/checktab.awk: Update from tzcode 2014e.
6123 * timezone/private.h: Likewise.
6124 * timezone/tzfile.h: Likewise.
6125 * timezone/zdump.c: Likewise.
6126 * timezone/zic.c: Likewise.
6127
a4ccbc9b
JM
6128 * sysdeps/unix/sysv/linux/kernel-features.h
6129 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
6130 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
6131 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
6132 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
6133 Remove conditional code.
6134
9aea0cb8
WN
61352014-06-25 Will Newton <will.newton@linaro.org>
6136
6137 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
6138 (_dl_arm_cap_flags): Add HWCAP2 values.
6139 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
6140 (_DL_HWCAP_COUNT): Increase to 37.
6141 (_DL_HWCAP_LAST): New define.
6142 (_DL_HWCAP2_LAST): New define.
6143 (_dl_procinfo): Add support for printing
6144 AT_HWCAP2 entries.
6145 (_dl_string_hwcap): Use _dl_hwcap_string.
6146
6eaa65ce
AZ
61472014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6148
6149 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6150
0f5b7185
JM
61512014-06-25 Joseph Myers <joseph@codesourcery.com>
6152
cfd2ea50
JM
6153 * README: Do not mention ports directory.
6154
cecf2ed4
JM
6155 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
6156 Remove macro.
6157 * sysdeps/unix/sysv/linux/futimes.c: Do not include
6158 <kernel-features.h>.
6159 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
6160 conditional variable definition.
6161 (__futimes): Update comment.
6162 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
6163 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
6164
a638de82
JM
6165 [BZ #16560]
6166 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
6167 arguments close to 0.
6168 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
6169 Likewise.
6170 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
6171 Likewise.
6172 * math/auto-libm-test-in: Add more tests of exp10.
6173 * math/auto-libm-test-out: Regenerated.
6174 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6175
0f5b7185
JM
6176 * sysdeps/unix/sysv/linux/kernel-features.h
6177 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
6178 * sysdeps/unix/sysv/linux/readv.c: Do not include
6179 <kernel-features.h>.
6180 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
6181 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
6182 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
6183 unconditional.
6184 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
6185 conditional code.
6186 * sysdeps/unix/sysv/linux/writev.c: Do not include
6187 <kernel-features.h>.
6188 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
6189 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
6190 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
6191 unconditional.
6192 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
6193 conditional code.
6194
c7aec4be
WN
61952014-06-25 Will Newton <will.newton@linaro.org>
6196
6197 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
6198 comment changes throughout the file. Remove checks
6199 for HAVE_*_H definitions that are not required.
6200 (__gen_tempname): Call abort if an unknown kind value is
6201 passed.
6202
c5241f95
AS
62032014-06-25 Andreas Schwab <schwab@suse.de>
6204
6205 [BZ #17086]
6206 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
6207 scalbln, scalblnf, scalblnl in libc.
6208
911422da
SP
62092014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
6210
6211 [BZ #17086]
6212 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
6213 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
6214 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
6215
0d749bbe
RM
62162014-06-24 Roland McGrath <roland@hack.frob.com>
6217
6218 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
6219 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
6220 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
6221 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
6222 Update #include.
6223 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
6224 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
6225 Update #include.
6226 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
6227 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
6228 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
6229 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
6230 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
6231 * sysdeps/x86/bits/pthreadtypes.h: ... here.
6232 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
6233 * sysdeps/x86/bits/semaphore.h: ... here.
6234 * sysdeps/x86/nptl/elide.h: Moved ...
6235 * sysdeps/x86/elide.h: ... here.
6236 * sysdeps/x86_64/nptl/Implies: File removed.
6237 * sysdeps/i386/nptl/Implies: File removed.
6238
0ea5d373
JM
62392014-06-24 Joseph Myers <joseph@codesourcery.com>
6240
4060283d
JM
6241 [BZ #16539]
6242 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
6243 return the argument for normal arguments with exponent below -64.
6244 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
6245 Likewise.
6246 * math/auto-libm-test-in: Add another test of expm1.
6247 * math/auto-libm-test-out: Regenerated.
6248
e7dd3c8c
JM
6249 [BZ #16287]
6250 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
6251 calling __erfcl for arguments at least 16.
6252 * math/auto-libm-test-in: Add more tests of erf.
6253 * math/auto-libm-test-out: Regenerated.
6254
0ea5d373
JM
6255 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
6256 individual architectures.
6257 * sysdeps/unix/sysv/linux/configure: Regenerated.
6258 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
6259 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
6260 * sysdeps/unix/sysv/linux/powerpc/configure.ac
6261 (ldd_rewrite_script): Define variable.
6262 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
6263 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
6264 file.
6265 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
6266 generated file.
6267 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
6268 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
6269 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
6270 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
6271 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
6272 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
6273 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
6274 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
6275
2307e126
SP
62762014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
6277
6278 [BZ #17084]
6279 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
6280 Rename member __data.d to __data.__elision_data.
6281
c0a4ed77
W
62822014-06-24 Wilco <wdijkstr@arm.com>
6283
6284 * NEWS: Add 16918 to fixed bug list.
6285
b8c00573
W
62862014-06-24 Wilco <wdijkstr@arm.com>
6287
6288 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
6289
b5570d92
W
62902014-06-24 Wilco <wdijkstr@arm.com>
6291
6292 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
6293 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
6294 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
6295 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
6296 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
6297 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
6298 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
6299 Use _FPU_MASK_RM.
6300
947bdca2
W
63012014-06-24 Wilco <wdijkstr@arm.com>
6302
6303 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
6304
00f669ed
W
63052014-06-24 Wilco <wdijkstr@arm.com>
6306
6307 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
6308 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
6309 * sysdeps/arm/fesetround.c (fesetround): Remove space.
6310 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
6311
db59bad3
W
63122014-06-24 Wilco <wdijkstr@arm.com>
6313
6314 [BZ #16918]
6315 * sysdeps/arm/feupdateenv.c (feupdateenv):
6316 Rewrite to reduce FPSCR accesses and fix return value.
6317
001f7b77
W
63182014-06-24 Wilco <wdijkstr@arm.com>
6319
6320 * sysdeps/arm/fclrexcpt.c (feclearexcept):
6321 Optimize to avoid unnecessary FPSCR writes.
6322 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
6323 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
6324 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
6325 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
6326
4841e6a6
W
63272014-06-24 Wilco <wdijkstr@arm.com>
6328
6329 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
6330 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
6331 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
6332 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
6333 Call libc_fetestexcept_vfp.
6334 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
6335 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
6336 __SOFTFP__ ifdef so that they can be built for softfp.
6337
0813022c
SP
63382014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
6339
08e5862f
SP
6340 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
6341 argument type signed char.
6342
0813022c
SP
6343 * Makerules (check-abi): Dump diff of symlist if the test
6344 fails.
6345
3fc7236a
RM
63462014-06-23 Roland McGrath <roland@hack.frob.com>
6347
aba8ef95
RM
6348 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
6349 using abort.
6350
3fc7236a
RM
6351 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
6352 Remove unused variable ST.
6353
4da6db51
JM
63542014-06-23 Joseph Myers <joseph@codesourcery.com>
6355
4648909d
JM
6356 [BZ #16354]
6357 [BZ #17061]
6358 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
6359 small arguments before calling __expm1.
6360 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
6361 small arguments before calling __expm1f.
6362 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
6363 small arguments before calling __expm1l.
6364 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
6365 Likewise.
6366 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
6367 * math/auto-libm-test-in: Add more cosh tests. Do not allow
6368 spurious underflow for some cosh tests.
6369 * math/auto-libm-test-out: Regenerated.
6370 * sysdeps/i386/fpu/libm-test-ulps: Update.
6371
46a3d3c7
JM
6372 [BZ #17050]
6373 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
6374 (__ieee754_y1): Set errno if return value overflows.
6375 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
6376 (__ieee754_y1f): Set errno if return value overflows.
6377 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
6378 (__ieee754_y1l): Set errno if return value overflows.
6379 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
6380 (__ieee754_y1l): Set errno if return value overflows.
6381 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
6382 * math/auto-libm-test-out: Regenerated.
6383
863893ec
JM
6384 * math/gen-auto-libm-tests.c: Document use of
6385 ignore-zero-inf-sign.
6386 (input_flag_type): Add value flag_ignore_zero_inf_sign.
6387 (input_flags): Add ignore-zero-inf-sign.
6388 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
6389 * math/gen-libm-test.pl (generate_testfile): Handle
6390 ignore-zero-inf-sign.
6391 * math/auto-libm-test-in: Mark some cpow tests with
6392 ignore-zero-inf-sign and some with xfail-rounding.
6393 * math/auto-libm-test-out: Regenerated.
6394 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
6395 * sysdeps/i386/fpu/libm-test-ulps: Update.
6396 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6397
4da6db51
JM
6398 [BZ #16315]
6399 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
6400 overflowing or underflowing operations take place with sign of
6401 result.
6402 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
6403 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
6404 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
6405 (__ieee754_pow): Recompute overflowing and underflowing results in
6406 original rounding mode.
6407 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
6408 (__powl_helper): Allow negative argument X and scale negated value
6409 as needed. Avoid passing value outside [-1, 1] to f2xm1.
6410 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
6411 overflowing or underflowing operations take place with sign of
6412 result.
6413 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
6414 Include <math.h>.
6415 * math/auto-libm-test-in: Add more tests of pow.
6416 * math/auto-libm-test-out: Regenerated.
6417 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
6418 (pow_tonearest_test_data): Remove.
6419 (pow_test_tonearest): Likewise.
6420 (pow_towardzero_test_data): Likewise.
6421 (pow_test_towardzero): Likewise.
6422 (pow_downward_test_data): Likewise.
6423 (pow_test_downward): Likewise.
6424 (pow_upward_test_data): Likewise.
6425 (pow_test_upward): Likewise.
6426 (main): Don't call removed functions.
6427 * sysdeps/i386/fpu/libm-test-ulps: Update.
6428 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6429
5686b236
RM
64302014-06-23 Roland McGrath <roland@hack.frob.com>
6431
6432 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
6433 Moved ...
6434 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
6435 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
6436 Moved ...
6437 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
6438 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
6439 Moved ...
6440 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
6441 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
6442 Moved ...
6443 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
6444 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
6445 File removed.
6446 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
6447 File removed.
6448 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
6449 File removed.
6450 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
6451 File removed.
6452 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
6453 File removed.
6454 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
6455 File removed.
6456 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
6457 File removed.
6458 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
6459 File removed.
6460 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
6461 File removed.
6462 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
6463 File removed.
6464 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
6465 File removed.
6466 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
6467 File removed.
6468 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
6469 Moved ...
6470 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
6471 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
6472 Moved ...
6473 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
6474 ... here.
6475 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
6476 Moved ...
6477 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
6478 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
6479 Moved ...
6480 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
6481 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
6482 Moved ...
6483 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
6484 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
6485 Moved ...
6486 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
6487 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
6488 Moved ...
6489 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
6490 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
6491 Moved ...
6492 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
6493 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
6494 Moved ...
6495 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
6496 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
6497 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
6498 ... here.
6499 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
6500 Moved ...
6501 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
6502 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
6503 Moved ...
6504 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
6505 ... here.
6506 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
6507 Moved ...
6508 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
6509 ... here.
6510 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
6511 Moved ...
6512 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
6513 ... here.
6514 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
6515 Moved ...
6516 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
6517 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
6518 Moved ...
6519 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
6520 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
6521 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
6522 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
6523 Moved ...
6524 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
6525 ... here.
6526 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
6527 Moved ...
6528 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
6529 ... here.
6530 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
6531 Moved ...
6532 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
6533 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
6534 Moved ...
6535 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
6536 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
6537 Moved ...
6538 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
6539 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
6540 Moved ...
6541 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
6542 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
6543 Moved ...
6544 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
6545 ... here.
6546 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
6547 Moved ...
6548 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
6549 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
6550 Moved ...
6551 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
6552 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
6553 Moved ...
6554 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
6555 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
6556 Moved ...
6557 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
6558 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
6559 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
6560 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
6561 Moved ...
6562 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
6563 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
6564 Moved ...
6565 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
6566 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
6567 Moved ...
6568 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
6569 ... here.
6570 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
6571 Moved ...
6572 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
6573 ... here.
6574 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
6575 Moved ...
6576 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
6577 ... here.
6578 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
6579 Moved ...
6580 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
6581 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
6582 Moved ...
6583 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
6584 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
6585 Moved ...
6586 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
6587 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
6588 Moved ...
6589 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
6590 ... here.
6591 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
6592 Moved ...
6593 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
6594 ... here.
6595 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
6596 Moved ...
6597 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
6598 ... here.
6599 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
6600 Moved ...
6601 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
6602 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
6603 Moved ...
6604 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
6605
e6d90d67
WD
66062014-06-23 Will Newton <will.newton@linaro.org>
6607 Wilco <wdijkstr@arm.com>
6608
6609 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
6610 implementation. Include get-rounding-mode.h.
6611 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
6612 [!libc_feholdsetround_noex_ctx]: Define
6613 libc_feholdsetround_noex_ctx.
6614 [!libc_feholdsetround_noexf_ctx]: Define
6615 libc_feholdsetround_noexf_ctx.
6616 [!libc_feholdsetround_noexl_ctx]: Define
6617 libc_feholdsetround_noexl_ctx.
6618 (libc_feholdsetround_ctx): New function.
6619 (libc_feresetround_ctx): New function.
6620 (libc_feholdsetround_noex_ctx): New function.
6621 (libc_feresetround_noex_ctx): New function.
6622
d42df555
RM
66232014-06-23 Roland McGrath <roland@hack.frob.com>
6624
88a46474
RM
6625 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
6626 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
6627 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
6628 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
6629 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
6630 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
6631
15bed472
RM
6632 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
6633 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
6634 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
6635 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
6636 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
6637 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
6638 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
6639 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
6640 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
6641 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
6642 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
6643 Moved ...
6644 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
6645 ... here.
6646 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
6647 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
6648 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
6649 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
6650 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
6651 Moved ...
6652 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
6653 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
6654 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
6655 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
6656 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
6657 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
6658 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
6659 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
6660 Moved ...
6661 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
6662 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
6663 Moved ...
6664 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
6665 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
6666 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
6667 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
6668 Moved ...
6669 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
6670 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
6671 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
6672 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
6673 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
6674 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
6675 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
6676 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
6677 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
6678 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
6679 Moved ...
6680 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
6681 ... here.
6682 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
6683 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
6684 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
6685 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
6686 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
6687 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
6688 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
6689 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
6690 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
6691 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
6692 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
6693 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
6694 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
6695 Moved ...
6696 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
6697 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
6698 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
6699 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
6700 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
6701 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
6702 Moved ...
6703 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
6704 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
6705 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
6706 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
6707 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
6708
d42df555
RM
6709 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
6710 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
6711 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
6712 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
6713 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
6714 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
6715 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
6716 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
6717 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
6718 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
6719 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
6720 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
6721 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
6722 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
6723 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
6724 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
6725 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
6726 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
6727 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
6728 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
6729 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
6730 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
6731 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
6732 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
6733 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
6734 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
6735 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
6736 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
6737
76e5216e
JM
67382014-06-23 Joseph Myers <joseph@codesourcery.com>
6739
6740 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
6741 (FALLOC_FL_COLLAPSE_RANGE): New macro.
6742 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
6743 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
6744 (IPV6_PMTUDISC_INTERFACE): Likewise.
6745 (IPV6_PMTUDISC_OMIT): Likewise.
6746
7a81cbcc
AS
67472014-06-23 Andreas Schwab <schwab@suse.de>
6748
6749 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
6750 Remove unused errout label.
6751
db224009
AZ
67522014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6753
6754 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
6755 macro: hardware supports Vector Crypto instructions.
6756
f393b4aa
WN
67572014-06-23 Will Newton <will.newton@linaro.org>
6758
cc7d0447
WN
6759 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
6760 rather than __builtin_expect.
6761
d6d06225
WN
6762 * elf/dl-lookup.c (undefined_msg): Remove variable.
6763 (_dl_lookup_symbol_x): Replace undefined_msg with string
6764 literal.
6765
f393b4aa
WN
6766 * elf/dl-lookup.c (do_lookup_unique): New function.
6767 (do_lookup_x): Move STB_GNU_UNIQUE handling code
6768 to a separate function.
6769
ac60763e
AS
67702014-06-23 Andreas Schwab <schwab@suse.de>
6771
6772 [BZ #17079]
6773 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
6774 before reading the next line.
6775
c5c13355
WN
67762014-06-23 Will Newton <will.newton@linaro.org>
6777
6778 * test-skeleton.c (signal_handler): Use printf and %m
6779 rather than perror. Use printf rather than fprintf to
6780 stderr. Use puts rather than fputs to stderr.
6781 (main): Likewise.
6782
bd3675f9
LC
67832014-06-22 Ludovic Courtès <ludo@gnu.org>
6784
6785 * nscd/nscd.c (thread_info_t): Remove typedef.
6786 (thread_info): Remove variable.
6787
d03efb2f
AM
67882014-06-21 Allan McRae <allan@archlinux.org>
6789
6790 * NEWS: Mention CVE-2014-4043.
6791
bc4a86fa
RM
67922014-06-20 Roland McGrath <roland@hack.frob.com>
6793
dc9a54f8
RM
6794 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
6795 * nptl/smp.h: ... here.
6796
bd7022c4
RM
6797 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
6798
26ffd5e6
RM
6799 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
6800 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
6801 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
6802 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
6803
93a6d082
RM
6804 * nptl/allocatestack.c: Include <stack-aliasing.h>.
6805 * nptl/stack-aliasing.h: New file.
6806 * sysdeps/i386/i686/stack-aliasing.h: New file.
6807 * sysdeps/i386/i686/nptl/Makefile: File removed.
6808 * sysdeps/x86_64/stack-aliasing.h: New file.
6809 * sysdeps/x86_64/nptl/Makefile
6810 (CFLAGS-pthread_create.c): Variable removed.
6811
bc4a86fa
RM
6812 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
6813 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
6814 old file.
6815 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
6816 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
6817 old file.
6818
2272ffc1
JM
68192014-06-21 Joseph Myers <joseph@codesourcery.com>
6820
6821 * sysdeps/unix/sysv/linux/arm/kernel-features.h
6822 (__ASSUME_SIGFRAME_V2): Remove macro.
6823 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
6824 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
6825 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
6826 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
6827 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
6828 Declare as function. Remove conditional macro definitions.
6829 (__default_rt_sa_restorer): Likewise.
6830 (__default_sa_restorer_v1): Remove declaration.
6831 (__default_sa_restorer_v2): Likewise.
6832 (__default_rt_sa_restorer_v1): Likewise.
6833 (__default_rt_sa_restorer_v2): Likewise.
6834 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
6835 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
6836 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
6837
4b88139b
RM
68382014-06-20 Roland McGrath <roland@hack.frob.com>
6839
6840 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
6841 (libpthread-routines): Add sysdep.
6842 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
6843 * sysdeps/unix/sysv/linux/sparc/Versions
6844 (libpthread: GLIBC_2.3.3): New version set.
6845 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
6846 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
6847 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
6848 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
6849 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
6850 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
6851 Moved ...
6852 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
6853 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
6854 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
6855 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
6856 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
6857 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
6858 * sysdeps/sparc/nptl/sem_init.c: ... here.
6859 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
6860 * sysdeps/sparc/nptl/sem_post.c: ... here.
6861 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
6862 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
6863 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
6864 * sysdeps/sparc/nptl/sem_wait.c: ... here.
6865 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
6866 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
6867 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
6868 (libpthread-routines): Add cpu_relax.
6869 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
6870 File removed.
6871 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
6872 (librt: GLIBC_2.3.3): New version set.
6873 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
6874 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
6875 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
6876 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
6877 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
6878 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
6879 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
6880 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
6881 Moved ...
6882 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
6883 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
6884 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
6885 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
6886 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
6887 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
6888 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
6889 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
6890 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
6891 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
6892 Moved ...
6893 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
6894 Update #include.
6895 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
6896 Moved ...
6897 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
6898 Update #include.
6899 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
6900 Moved ...
6901 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
6902 Update #include.
6903 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
6904 Moved ...
6905 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
6906 Update #include.
6907 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
6908 Moved ...
6909 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
6910 Update #include.
6911 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
6912 Moved ...
6913 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
6914 Update #include.
6915 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
6916 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
6917 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
6918 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
6919 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
6920 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
6921 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
6922 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
6923 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
6924 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
6925 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
6926 Moved ...
6927 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
6928 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
6929 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
6930 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
6931 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
6932
d7109027
JM
69332014-06-20 Joseph Myers <joseph@codesourcery.com>
6934
9bc6103d
JM
6935 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
6936 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
6937 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
6938 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
6939 * nscd/nscd.c: Likewise.
6940 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
6941 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
6942 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
6943 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
6944
d7109027
JM
6945 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
6946 <kernel-features.h>.
6947 (init_mq_netlink): Remove conditional have_sock_cloexec
6948 definitions. Remove code conditional on have_sock_cloexec < 0.
6949 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
6950 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
6951 * sysdeps/unix/sysv/linux/opensock.c: Do not include
6952 <kernel-features.h>.
6953 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
6954 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
6955
d92d8f8a
L
69562014-06-20 H.J. Lu <hongjiu.lu@intel.com>
6957
6958 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
6959 Add tests for memset_chk and memset.
6960
6961 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
6962 with AVX2_Usable.
6963
4e6d2347
MR
69642014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
6965
257ce712
MR
6966 [BZ #16046]
6967 * elf/tst-dl-iter-static.c: New file.
6968 * elf/Makefile (tests-static): Add tst-dl-iter-static.
6969
4e6d2347
MR
6970 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
6971 error.
6972
a2a76afe
JM
69732014-06-20 Joseph Myers <joseph@codesourcery.com>
6974
7fd00f99
JM
6975 * sysdeps/unix/sysv/linux/kernel-features.h
6976 (__ASSUME_F_GETOWN_EX): Remove macro.
6977 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
6978 <kernel-features.h>.
6979 (miss_F_GETOWN_EX): Remove variable or macro.
6980 (do_fcntl): Do not check miss_F_GETOWN_EX.
6981 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
6982
4a103975
JM
6983 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
6984 Remove macro.
6985 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
6986 [!__ASSUME_AT_RANDOM]: Remove conditional code.
6987 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
6988
a2a76afe
JM
6989 * sysdeps/unix/sysv/linux/kernel-features.h
6990 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
6991 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
6992 [ADJ_OFFSET_SS_READ]: Make code unconditional.
6993 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
6994
90e5dd48
MR
69952014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
6996
6997 [BZ #17075]
6998 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
6999 Fix calculation of the symbol's value.
7000 * sysdeps/arm/tst-armtlsdescloc.c: New file.
7001 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
7002 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
7003 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
7004 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
7005 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
7006 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
7007 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
7008 (modules-names): Add `tst-armtlsdescmod',
7009 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
7010 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
7011 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
7012 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
7013 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
7014 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
7015 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
7016 ($(objpfx)tst-armtlsdescloc): New dependency.
7017 ($(objpfx)tst-armtlsdescextnow): Likewise.
7018 ($(objpfx)tst-armtlsdescextlazy): Likewise.
7019 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
7020 TLS scheme support.
7021 * sysdeps/arm/configure: Regenerate.
7022
809fdf0d
JM
70232014-06-20 Joseph Myers <joseph@codesourcery.com>
7024
7025 * include/fcntl.h (__atfct_seterrno): Remove prototype.
7026 (__atfct_seterrno_2): Likewise.
7027 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
7028 <kernel-features.h>.
7029 (__ASSUME_ATFCTS): Do not undefine and redefine.
7030 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
7031 (__have_atfcts): Remove conditional definition.
7032 (__fxstatat([__NR_fstatat64]: Make code unconditional.
7033 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
7034 unreachable if [__ASSUME_ATFCTS].
7035 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
7036 not undefine and redefine.
7037 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
7038 <kernel-features.h>.
7039 (faccessat) [__NR_faccessat]: Make code unconditional.
7040 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
7041 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
7042 <kernel-features.h>.
7043 (fchmodat) [__NR_fchmodat]: Make code unconditional.
7044 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
7045 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
7046 <kernel-features.h>.
7047 (fchownat) [__NR_fchownat]: Make code unconditional.
7048 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
7049 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
7050 <kernel-features.h>.
7051 (futimesat) [__NR_futimesat]: Make code unconditional.
7052 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
7053 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
7054 <kernel-features.h>.
7055 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
7056 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
7057 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
7058 <kernel-features.h>.
7059 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
7060 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
7061 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
7062 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
7063 <kernel-features.h>.
7064 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
7065 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
7066 * sysdeps/unix/sysv/linux/linkat.c: Do not include
7067 <kernel-features.h>.
7068 (linkat) [__NR_linkat]: Make code unconditional.
7069 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
7070 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
7071 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
7072 <kernel-features.h>.
7073 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
7074 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
7075 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
7076 <kernel-features.h>.
7077 (mkdirat) [__NR_mkdirat]: Make code unconditional.
7078 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
7079 * sysdeps/unix/sysv/linux/openat.c: Do not include
7080 <kernel-features.h>.
7081 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
7082 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
7083 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
7084 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
7085 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
7086 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
7087 <kernel-features.h>.
7088 (readlinkat) [__NR_readlinkat]: Make code unconditional.
7089 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
7090 result of INLINE_SYSCALL directly, not via int variable.
7091 * sysdeps/unix/sysv/linux/renameat.c: Do not include
7092 <kernel-features.h>.
7093 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
7094 (renameat) [__NR_renameat]: Make code unconditional.
7095 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
7096 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
7097 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
7098 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
7099 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
7100 (__ASSUME_ATFCTS): Do not undefine and redefine.
7101 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
7102 <kernel-features.h>.
7103 (symlinkat) [__NR_symlinkat]: Make code unconditional.
7104 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
7105 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
7106 <kernel-features.h>.
7107 (unlinkat) [__NR_unlinkat]: Make code unconditional.
7108 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
7109 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
7110 (__ASSUME_ATFCTS): Do not undefine and redefine.
7111 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
7112 <kernel-features.h>.
7113 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
7114 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
7115 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
7116 <kernel-features.h>.
7117 (__xmknodat) [__NR_mknodat]: Make code unconditional.
7118 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
7119
224c6c51
L
71202014-06-20 H.J. Lu <hongjiu.lu@intel.com>
7121
7122 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
7123
aa6ec754
AS
71242014-06-20 Andreas Schwab <schwab@linux-m68k.org>
7125
7126 [BZ #17069]
7127 * posix/regcomp.c (parse_reg_exp): Deallocate partially
7128 constructed tree before returning error.
7129 * posix/bug-regexp36.c: Expand test case.
7130
d8c2869d
SL
71312014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
7132
3ef6b850
SL
7133 [BZ #6803]
7134 * math/libm-test.inc (scalbln_test_date):
7135 Add errno expectations.
7136 * math/w_scalblnf.c: New File.
7137 Add wrapper which checks for setting errno to ERANGE.
7138 Add weak_alias for corresponding scalbln function.
7139 * math/w_scalbln.c: Likewise.
7140 * math/w_scalblnl.c: Likewise.
7141 * math/Makefile (libm-calls): Add w_scalbln.
7142 * sysdeps/ieee754/flt-32/s_scalblnf.c:
7143 Remove weak_alias for corresponding scalbln function.
7144 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
7145 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
7146 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
7147 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
7148 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
7149 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
7150 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
7151 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
7152 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
7153 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
7154 Remove long_double_symbol for scalblnl function in libm, libc.
7155 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
7156 Add wrapper which checks for setting errno to ERANGE.
7157 Add long_double_symbol for scalblnl function in libm, libc.
7158 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
7159 Remove long_double_symbol for scalblnl in libm.
7160 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
7161 Add wrapper which checks for setting errno to ERANGE.
7162 Add long_double_symbol for scalblnl function in libm.
7163 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
7164 Do not use wrapper because of own implementation.
7165
c8daec5c
L
71662014-06-19 H.J. Lu <hongjiu.lu@intel.com>
7167
7168 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
7169 3 bytes for __pad1 for x32.
7170 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
7171
5c74e47c
LM
71722014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
7173 H.J. Lu <hongjiu.lu@intel.com>
7174
7175 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
7176 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
7177 * sysdeps/x86_64/multiarch/memset.S: Likewise.
7178 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
7179 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
7180
4d43ef1e
AS
71812014-06-19 Andreas Schwab <schwab@linux-m68k.org>
7182
7183 [BZ #17069]
7184 * posix/regcomp.c (parse_expression): Deallocate partially
7185 constructed tree before returning error.
7186 * posix/Makefile.c (tests): Add bug-regex36.
7187 (generated): Add bug-regex36.mtrace.
7188 (tests-special): Add $(objpfx)bug-regex36-mem.out
7189 (bug-regex36-ENV): New variable.
7190 ($(objpfx)bug-regex36-mem.out): New rule.
7191 * posix/bug-regex36.c: New file.
7192
51a7380b
WN
71932014-06-19 Will Newton <will.newton@linaro.org>
7194
7195 * malloc/malloc.c (systrim): If extra is zero then return
7196 early.
7197
91b84fe5
SP
71982014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
7199
7200 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
7201
f940b965
RE
72022014-06-19 Richard Earnshaw <rearnsha@arm.com>
7203
7204 * sysdeps/aarch64/strchr.S: New file.
7205
4ba7a00f
JM
72062014-06-18 Joseph Myers <joseph@codesourcery.com>
7207
7208 [BZ #17022]
7209 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
7210 from arguments -2 or below.
7211 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
7212 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
7213
b3a9f56b
AS
72142014-06-18 Andreas Schwab <schwab@suse.de>
7215
7216 [BZ #17062]
7217 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
7218 of a bracket expr not to run off the end of the string.
7219 * posix/Makefile (tests): Add tst-fnmatch3.
7220 * posix/tst-fnmatch3.c: New file.
7221
85d89278
JM
72222014-06-18 Joseph Myers <joseph@codesourcery.com>
7223
7224 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
7225 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
7226 [$(cross-compiling) = no]: Likewise.
7227 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
7228 [$(cross-compiling) = no]: Likewise.
7229
754c5a08
RS
72302014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
7231
7232 [BZ #17031]
7233 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
7234 double, adjusted for any remainder from the high double.
7235 * math/libm-test.inc (nearbyint): Add tests.
7236 (rint): Likewise.
7237
556f529d
AZ
72382014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7239
7240 * nptl/sysdeps/powerpc/Makefile: Moved ...
7241 * sysdeps/powerpc/nptl/Makefile: ... here.
7242 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
7243 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
7244 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
7245 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
7246 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
7247 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
7248 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
7249 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
7250 * nptl/sysdeps/powerpc/tls.h: Moved ...
7251 * sysdeps/powerpc/nptl/tls.h: ... here.
7252
91c03c53
JM
72532014-06-16 Joseph Myers <joseph@codesourcery.com>
7254
7255 [BZ #16681]
7256 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
7257 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
7258 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
7259 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
7260 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
7261 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
7262 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
7263 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
7264 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
7265
a76e63c5
AS
72662014-06-17 Andreas Schwab <schwab@linux-m68k.org>
7267
7268 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
7269
f2f6d82f
AS
72702014-06-16 Andreas Schwab <schwab@linux-m68k.org>
7271
ea8a15f6
AS
7272 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
7273 defined operator.
7274
f2f6d82f
AS
7275 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
7276 $TIMEOUTFACTOR.
7277
a7291117
FW
72782014-06-16 Florian Weimer <fweimer@redhat.com>
7279
7280 [BZ #17058]
7281 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
7282 non-executed part of the test.
7283
3d7c00e3
AS
72842014-06-16 Andreas Schwab <schwab@suse.de>
7285
7286 * string/bits/string2.h (strdup, strndup): Update feature guard.
7287
6957fb31
DM
72882014-06-14 David S. Miller <davem@davemloft.net>
7289
7290 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7291
11b9e55b
AS
72922014-06-14 Andreas Schwab <schwab@linux-m68k.org>
7293
1d2a0492
AS
7294 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
7295 that was previously under [RESET_PID].
7296 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
7297
11b9e55b
AS
7298 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
7299 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
7300 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
7301 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
7302 (__libc_vfork): New strong alias.
7303 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
7304
0f6901d0
AK
73052014-06-14 Andi Kleen <ak@linux.intel.com>
7306
7307 * sysdeps/generic/elide.h: New file.
7308
38bbbb9f
SL
73092014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
7310
7311 * Makefile (installed-headers): Adjust path of pthread.h header.
7312
45193bb8
RM
73132014-06-13 Roland McGrath <roland@hack.frob.com>
7314
9a25fd1e
RM
7315 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
7316 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
7317 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
7318 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
7319
4004f7e4
RM
7320 * nptl/sysdeps/s390/Makefile: Moved ...
7321 * sysdeps/s390/nptl/Makefile: ... here.
7322 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
7323 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
7324 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
7325 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
7326 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
7327 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
7328 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
7329 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
7330 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
7331 * sysdeps/s390/nptl/pthreaddef.h: ... here.
7332 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
7333 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
7334 * nptl/sysdeps/s390/tls.h: Moved ...
7335 * sysdeps/s390/nptl/tls.h: ... here.
7336
45193bb8
RM
7337 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
7338 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
7339
f6fdf533
DM
73402014-06-13 David S. Miller <davem@davemloft.net>
7341
7342 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
7343 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
7344 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
7345 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
7346 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
7347 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
7348 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
7349 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
7350 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
7351 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
7352 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
7353 Remove RESET_PID cpp guards.
7354 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
7355 Remove RESET_PID cpp guards.
7356 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
7357
f5d71e14
AS
73582014-06-13 Andreas Schwab <schwab@linux-m68k.org>
7359
7360 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
7361 __sp to uintptr_t.
7362
b7aa8caa
AK
73632014-06-13 Andi Kleen <ak@linux.intel.com>
7364
4b266200
AZ
7365 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
7366 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
7367 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
7368 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
7369 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
7370 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
7371 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
7372 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
7373 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
7374 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
7375 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
7376 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
7377 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
7378 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
7379 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
7380 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
7381 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
7382 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
7383 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
7384 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
8491ed6d
AK
7385
7386 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
4b266200
AZ
7387 (pthread_rwlock_rdlock): Add elision.
7388 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
7389 (pthread_rwlock_wrlock): Add elision.
7390 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
7391 (pthread_rwlock_trywrlock): Add elision.
7392 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
7393 (pthread_rwlock_tryrdlock): Add elision.
7394 * nptl/pthread_rwlock_unlock.c: Include elide.h.
7395 (pthread_rwlock_tryrdlock): Add elision unlock.
7396 * nptl/sysdeps/pthread/pthread.h:
7397 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
7398 (PTHREAD_RWLOCK_INITIALIZER,
7399 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
7400 Handle new elision field.
7401 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
7402 * sysdeps/arm/nptl/bits/pthreadtypes.h
7403 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7404 * sysdeps/sh/nptl/bits/pthreadtypes.h
7405 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7406 * sysdeps/tile/nptl/bits/pthreadtypes.h
7407 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7408 * sysdeps/a/nptl/bits/pthreadtypes.h
7409 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7410 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
7411 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7412 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
7413 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7414 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
7415 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7416 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
7417 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7418 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
7419 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7420 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
7421 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7422 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
7423 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7424 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
7425 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7426 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
7427 (elision_init): Set try_xbegin to zero when no RTM.
7428 * sysdeps/x86/nptl/bits/pthreadtypes.h
7429 (pthread_rwlock_t): Change __pad1 to __rwelision.
7430 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8491ed6d 7431
a832bdd3
AK
74322014-06-13 Andi Kleen <ak@linux.intel.com>
7433
7434 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
7435 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
7436 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
7437 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
7438
995a46bb
MI
74392014-06-13 Meador Inge <meadori@codesourcery.com>
7440
7441 [BZ #16996]
03ed7738 7442 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
995a46bb
MI
7443 that the cached result has been set before returning it.
7444
45262aee
RM
74452014-06-12 Roland McGrath <roland@hack.frob.com>
7446
febf6cc5
RM
7447 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
7448 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
7449 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
7450 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
7451 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
7452 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
7453
e2682246
RM
7454 * nptl/sysdeps/sparc/Makefile: Moved ...
7455 * sysdeps/sparc/nptl/Makefile: ... here.
7456 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
7457 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
7458 * nptl/sysdeps/sparc/tls.h: Moved ...
7459 * sysdeps/sparc/nptl/tls.h: ... here.
7460 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
7461 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
7462 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
7463 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
7464 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
7465 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
7466 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
7467 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
7468 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
7469 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
7470 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
7471 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
7472 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
7473 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
7474 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
7475 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
7476 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
7477 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
7478 Update #include.
7479 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
7480 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
7481 Update #include.
7482 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
7483 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
7484 Update #include.
7485 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
7486 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
7487 Update #include.
7488
b0725f43
RM
7489 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
7490
b14368b8
RM
7491 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
7492 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
7493
c5620eb3
RM
7494 * sysdeps/pthread/posix-timer.h: Include <list.h>.
7495 (struct list_links): Type removed.
7496 (struct thread_node, struct timer_node): Replace struct list_links
7497 with struct list_head.
7498 (list_unlink_ip): Likewise.
7499 * sysdeps/pthread/timer_routines.c
7500 (timer_free_list, thread_free_list, thread_active_list): Likewise.
7501 (list_append, list_insbefore): Likewise.
7502 (list_init): Function removed.
7503 (thread_init, init_module): Use INIT_LIST_HEAD instead.
463dc947
RM
7504 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
7505 * sysdeps/pthread/Makefile: ... here, new file.
7506
7507 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
7508 * sysdeps/nptl/Implies: ... here.
7509 * sysdeps/unix/sysv/linux/Implies: Add nptl.
7510 * nptl/sysdeps/pthread/list.h: Moved ...
7511 * include/list.h: ... here.
7512 * nptl/sysdeps/pthread/createthread.c: Moved ...
7513 * nptl/createthread.c: ... here.
7514 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
7515 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
7516 * nptl/pt-longjmp.c: ... here.
7517 * nptl/sysdeps/pthread/Makefile: Moved ...
7518 * sysdeps/nptl/Makefile: ... here.
7519 * nptl/sysdeps/pthread/Subdirs: Moved ...
7520 * sysdeps/nptl/Subdirs: ... here.
7521 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
7522 * sysdeps/nptl/aio_misc.h: ... here.
7523 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
7524 * sysdeps/nptl/bits/libc-lock.h: ... here.
7525 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
7526 * sysdeps/nptl/bits/libc-lockP.h: ... here.
7527 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
7528 * sysdeps/nptl/bits/stdio-lock.h: ... here.
7529 * nptl/sysdeps/pthread/configure: Moved ...
7530 * sysdeps/nptl/configure: ... here.
7531 * nptl/sysdeps/pthread/configure.ac: Moved ...
7532 * sysdeps/nptl/configure.ac: ... here.
7533 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
7534 * sysdeps/nptl/gai_misc.h: ... here.
7535 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
7536 * sysdeps/nptl/librt-cancellation.c: ... here.
7537 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
7538 * sysdeps/nptl/malloc-machine.h: ... here.
7539 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
7540 * sysdeps/nptl/pthread-functions.h: ... here.
7541 * nptl/sysdeps/pthread/pthread.h: Moved ...
7542 * sysdeps/nptl/pthread.h: ... here.
7543 * nptl/sysdeps/pthread/setxid.h: Moved ...
7544 * sysdeps/nptl/setxid.h: ... here.
7545 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
7546 * sysdeps/nptl/sigfillset.c: ... here.
7547 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
7548 * sysdeps/nptl/tcb-offsets.h: ... here.
7549 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
7550 * sysdeps/nptl/tst-mqueue8x.c: ... here.
7551 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
7552 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
7553 * nptl/sysdeps/pthread/allocalim.h: Moved ...
7554 * sysdeps/pthread/allocalim.h: ... here.
7555 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
7556 * sysdeps/pthread/bits/sigthread.h: ... here.
7557 * nptl/sysdeps/pthread/flockfile.c: Moved ...
7558 * sysdeps/pthread/flockfile.c: ... here.
7559 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
7560 * sysdeps/pthread/ftrylockfile.c: ... here.
7561 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
7562 * sysdeps/pthread/funlockfile.c: ... here.
7563 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
7564 * sysdeps/pthread/posix-timer.h: ... here.
7565 * nptl/sysdeps/pthread/timer_create.c: Moved ...
7566 * sysdeps/pthread/timer_create.c: ... here.
7567 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
7568 * sysdeps/pthread/timer_delete.c: ... here.
7569 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
7570 * sysdeps/pthread/timer_getoverr.c: ... here.
7571 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
7572 * sysdeps/pthread/timer_gettime.c: ... here.
7573 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
7574 * sysdeps/pthread/timer_routines.c: ... here.
7575 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
7576 * sysdeps/pthread/timer_settime.c: ... here.
7577 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
7578 * sysdeps/pthread/tst-timer.c: ... here.
7579 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
7580 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
7581
e876b090
RM
7582 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
7583 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
7584
f6b07b3d
RM
7585 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
7586 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
7587 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
7588 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
7589 Update #include target.
7590 * nptl/sysdeps/i386/i686/Makefile: Moved ...
7591 * sysdeps/i386/i686/nptl/Makefile: ... here.
7592 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
7593 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
7594 Update #include target.
7595 * nptl/sysdeps/i386/i686/tls.h: Moved ...
7596 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
7597 * nptl/sysdeps/i386/Makefile: Moved ...
7598 * sysdeps/i386/nptl/Makefile: ... here.
7599 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
7600 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
7601 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
7602 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
7603 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
7604 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
7605 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
7606 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
7607 * sysdeps/i386/nptl/pthreaddef.h: ... here.
7608 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
7609 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
7610 * nptl/sysdeps/i386/tls.h: Moved ...
7611 * sysdeps/i386/nptl/tls.h: ... here.
7612
45262aee
RM
7613 * sysdeps/sh/Makefile [$(subdir) = csu]
7614 (gen-as-const-headers): Add tcb-offsets.sym.
7615 * nptl/sysdeps/sh/Makefile: File removed.
7616 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
7617 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
7618 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
7619 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
7620 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
7621 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
7622 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
7623 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
7624 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
7625 * sysdeps/sh/nptl/pthreaddef.h: ... here.
7626 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
7627 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
7628 * nptl/sysdeps/sh/tls.h: Moved ...
7629 * sysdeps/sh/nptl/tls.h: ... here.
7630 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
7631 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
7632 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
7633 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
7634 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
7635 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
7636 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
7637 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
7638 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
7639 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
7640 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
7641 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
7642 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
7643 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
7644 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
7645 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
7646 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
7647 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
7648 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
7649 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
7650 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
7651 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
7652 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
7653 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
7654 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
7655 Moved ...
7656 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
7657 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
7658 Moved ...
7659 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
7660 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
7661 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
7662 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
7663 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
7664 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
7665 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
7666 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
7667 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
7668 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
7669 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
7670 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
7671 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
7672 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
7673 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
7674 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
7675 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
7676 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
7677 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
7678
35a5e3e3
SL
76792014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
7680
7681 * posix/spawn_faction_addopen.c: Include string.h.
7682
14642b85
RM
76832014-06-11 Roland McGrath <roland@hack.frob.com>
7684
7685 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
7686 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
7687 * nptl/sysdeps/x86_64/Makefile: Moved ...
7688 * sysdeps/x86_64/nptl/Makefile: ... here.
7689 * nptl/sysdeps/x86_64/configure: Moved ...
7690 * sysdeps/x86_64/nptl/configure: ... here.
7691 * nptl/sysdeps/x86_64/configure.ac: Moved ...
7692 * sysdeps/x86_64/nptl/configure.ac: ... here.
7693 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
7694 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
7695 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
7696 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
7697 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
7698 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
7699 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
7700 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
7701 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
7702 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
7703 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
7704 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
7705 * nptl/sysdeps/x86_64/tls.h: Moved ...
7706 * sysdeps/x86_64/nptl/tls.h: ... here.
7707 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
7708 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
7709 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
7710 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
7711
7712 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
7713
31c44fea
AZ
77142014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7715
7716 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7717
e81a4f9a
JM
77182014-06-11 Joseph Myers <joseph@codesourcery.com>
7719
7720 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
7721 type.
7722 [POSIX] (off_t): Likewise.
7723 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
7724 [POSIX] (S_ISBLK): Require macro.
7725 [POSIX] (S_ISCHR): Likewise.
7726 [POSIX] (S_ISDIR): Likewise.
7727 [POSIX] (S_ISFIFO): Likewise.
7728 [POSIX] (S_ISREG): Likewise.
7729 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
7730 optional-macro.
7731 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
7732 type.
7733 [POSIX] (time_t): Likewise.
7734 [POSIX] (timer_t): Likewise.
7735
89e435f3
FW
77362014-06-11 Florian Weimer <fweimer@redhat.com>
7737
7738 [BZ #17048]
7739 * posix/spawn_int.h (struct __spawn_action): Make the path string
7740 non-const to support deallocation.
7741 * posix/spawn_faction_addopen.c
7742 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
7743 * posix/spawn_faction_destroy.c
7744 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
7745 path in all spawn_do_open actions.
7746 * posix/tst-spawn.c (do_test): Exercise the copy operation in
7747 posix_spawn_file_actions_addopen.
7748
c3a2ebe1
CM
77492014-06-11 Chris Metcalf <cmetcalf@tilera.com>
7750
7751 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
7752 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
7753 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
7754 conditional code always true.
7755 (__libc_vfork): New alias.
7756
9503784a
RM
77572014-06-11 Roland McGrath <roland@hack.frob.com>
7758
c9cab3d2
RM
7759 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
7760 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
7761
d3996c79
RM
7762 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
7763
ba5ec611
RM
7764 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
7765 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
7766
f12b4814
RM
7767 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
7768 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
7769
9503784a
RM
7770 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
7771 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
7772
e23d3d26
VR
77732014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
7774
7775 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
7776 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
7777 multiarch strcmp for PPC64.
7778 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
7779 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
7780 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
7781 multiarch optimizations.
7782 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
7783 (__libc_ifunc_impl_list): Likewise.
7784
42b1161e
SP
77852014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
7786
7787 * benchtests/scripts/validate_benchout.py: New script.
7788 * benchtests/Makefile (bench-func): Call it.
7789 * benchtests/scripts/benchout.schema.json: New file.
7790
2d0fc4dc
CM
77912014-06-10 Chris Metcalf <cmetcalf@tilera.com>
7792
4a594c34
AZ
7793 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
7794 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
7795 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
7796 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
7797 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
7798 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
7799 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
7800 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
7801 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
7802 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
7803 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
7804 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
7805 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
7806 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
7807 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
7808 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
7809 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
2d0fc4dc 7810 Moved ...
4a594c34 7811 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
2d0fc4dc 7812 ... here.
4a594c34 7813 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
2d0fc4dc 7814 Moved ...
4a594c34
AZ
7815 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
7816 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
2d0fc4dc 7817 Moved ...
4a594c34 7818 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
2d0fc4dc 7819 ... here.
4a594c34 7820 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
2d0fc4dc 7821 Moved ...
4a594c34 7822 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
2d0fc4dc 7823 ... here.
4a594c34 7824 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
2d0fc4dc 7825 Moved ...
4a594c34
AZ
7826 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
7827 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
2d0fc4dc 7828 Moved ...
4a594c34 7829 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
2d0fc4dc 7830 ... here.
4a594c34 7831 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
2d0fc4dc 7832 Moved ...
4a594c34 7833 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
2d0fc4dc 7834 ... here.
4a594c34 7835 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
2d0fc4dc 7836 Moved ...
4a594c34
AZ
7837 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
7838 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
2d0fc4dc 7839 Moved ...
4a594c34 7840 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
2d0fc4dc 7841 ... here.
4a594c34 7842 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
2d0fc4dc 7843 Moved ...
4a594c34 7844 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
2d0fc4dc 7845 ... here.
4a594c34 7846 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
2d0fc4dc 7847 Moved ...
4a594c34 7848 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
2d0fc4dc 7849 ... here.
4a594c34 7850 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
2d0fc4dc 7851 Moved ...
4a594c34
AZ
7852 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
7853 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
2d0fc4dc 7854 Moved ...
4a594c34 7855 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
2d0fc4dc 7856 ... here.
4a594c34 7857 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
2d0fc4dc 7858 Moved ...
4a594c34 7859 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
2d0fc4dc 7860 ... here.
4a594c34 7861 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
2d0fc4dc 7862 Moved ...
4a594c34 7863 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
2d0fc4dc 7864 ... here.
4a594c34 7865 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
2d0fc4dc 7866 Moved ...
4a594c34
AZ
7867 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
7868 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
2d0fc4dc 7869 Moved ...
4a594c34 7870 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
2d0fc4dc 7871 ... here.
4a594c34 7872 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
2d0fc4dc 7873 Moved ...
4a594c34 7874 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
2d0fc4dc 7875 ... here.
4a594c34 7876 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
2d0fc4dc 7877 Moved ...
4a594c34
AZ
7878 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
7879 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
2d0fc4dc 7880 Moved ...
4a594c34 7881 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
2d0fc4dc 7882 ... here.
4a594c34 7883 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
2d0fc4dc 7884 Moved ...
4a594c34
AZ
7885 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
7886 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
2d0fc4dc 7887 Moved ...
4a594c34
AZ
7888 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
7889 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
2d0fc4dc 7890 Moved ...
4a594c34 7891 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
2d0fc4dc 7892 ... here.
4a594c34 7893 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
2d0fc4dc 7894 Moved ...
4a594c34 7895 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
2d0fc4dc 7896 ... here.
4a594c34 7897 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
2d0fc4dc 7898 Moved ...
4a594c34 7899 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
2d0fc4dc 7900 ... here.
4a594c34 7901 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
2d0fc4dc 7902 Moved ...
4a594c34
AZ
7903 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
7904 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
2d0fc4dc 7905 Moved ...
4a594c34 7906 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
2d0fc4dc 7907 ... here.
4a594c34 7908 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
2d0fc4dc 7909 Moved ...
4a594c34 7910 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
2d0fc4dc 7911 ... here.
4a594c34
AZ
7912 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
7913 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
7914 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
7915 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
7916 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
2d0fc4dc 7917 Moved ...
4a594c34 7918 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
2d0fc4dc 7919 ... here.
4a594c34
AZ
7920 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
7921 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
7922 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
7923 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
7924 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
7925 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
7926 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
7927 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
7928 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
7929 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
7930 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
7931 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
7932 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
2d0fc4dc 7933 Moved ...
4a594c34
AZ
7934 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
7935 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
2d0fc4dc 7936 Moved ...
4a594c34
AZ
7937 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
7938 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
7939 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
7940 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
2d0fc4dc 7941 Moved ...
4a594c34
AZ
7942 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
7943 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
7944 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
7945 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
7946 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
7947 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
7948 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
2d0fc4dc 7949
0570cfed
W
79502014-06-10 Wilco <wdijkstr@arm.com>
7951
7952 * math/test-fenv-return.c: New file.
7953 * math/Makefile: Add new test test-fenv-return.
7954
f8ba1b56
JM
79552014-06-10 Joseph Myers <joseph@codesourcery.com>
7956
7957 [BZ #17042]
7958 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
7959 when x - 1 is zero.
7960 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
7961 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
7962 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
7963 0.0L for an argument of 1.0L.
7964 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
7965 Likewise.
7966 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
7967 value when x - 1 is zero.
7968 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
7969 * sysdeps/i386/fpu/libm-test-ulps: Update.
7970 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7971
2c3520d9
BO
79722014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
7973
7974 [BZ #15119]
7975 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
7976
acaa4d24
RM
79772014-06-09 Roland McGrath <roland@hack.frob.com>
7978
7979 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
7980 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
7981
962b744d
RM
79822014-06-09 Roland McGrath <roland@hack.frob.com>
7983
d752f0cc
RM
7984 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
7985 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
7986
34eda6d1
RM
7987 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
7988 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
7989
50f0a637
RM
7990 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
7991 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
7992
08f41f04
RM
7993 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
7994 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
7995
962b744d
RM
7996 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
7997 if not already defined.
7998 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
7999 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
8000 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
8001 (TLS_INIT_TP): Use it.
8002 (TLS_DEFINE_INIT_TP): New macro.
8003 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
8004
09f19b05
JM
80052014-06-09 Joseph Myers <joseph@codesourcery.com>
8006
8007 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
8008 constant.
8009 [POSIX] (IXANY): Likewise.
8010 [POSIX] (OLCUC): Likewise.
8011 [POSIX || POSIX2008] (CBAUD): Do not allow.
8012 [POSIX || POSIX2008] (DEFECHO): Likewise.
8013 [POSIX || POSIX2008] (ECHOCTL): Likewise.
8014 [POSIX || POSIX2008] (ECHOKE): Likewise.
8015 [POSIX || POSIX2008] (ECHOPRT): Likewise.
8016 [POSIX || POSIX2008] (EXTA): Likewise.
8017 [POSIX || POSIX2008] (EXTB): Likewise.
8018 [POSIX || POSIX2008] (FLUSHO): Likewise.
8019 [POSIX || POSIX2008] (LOBLK): Likewise.
8020 [POSIX || POSIX2008] (PENDIN): Likewise.
8021 [POSIX || POSIX2008] (SWTCH): Likewise.
8022 [POSIX || POSIX2008] (VDISCARD): Likewise.
8023 [POSIX || POSIX2008] (VDSUSP): Likewise.
8024 [POSIX || POSIX2008] (VLNEXT): Likewise.
8025 [POSIX || POSIX2008] (VREPRINT): Likewise.
8026 [POSIX || POSIX2008] (VSTATUS): Likewise.
8027 [POSIX || POSIX2008] (VWERASE): Likewise.
8028 (B*): Change to B[0123456789]*.
8029 * conform/data/time.h-data [POSIX || UNIX98]
8030 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
8031 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
8032 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
8033 [POSIX] (tm_*): Do not allow.
8034
686554bf
JM
80352014-06-07 Joseph Myers <joseph@codesourcery.com>
8036
8037 * Makefile (install): Don't set LANGUAGE.
8038 * Makefile.in (install): Likewise.
8039 * assert/Makefile (test-assert-ENV): Remove variable.
8040 (test-assert-perr-ENV): Likewise.
8041 * elf/Makefile (neededtest4-ENV): Likewise.
8042 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
8043 [$(cross-compiling) = no]: Don't set LANGUAGE.
8044 * io/ftwtest-sh (LANG): Remove variable.
8045 * libio/Makefile (tst-widetext-ENV): Likewise.
8046 * manual/install.texi (Running make install): Don't refer to
8047 environment settings for make install.
8048 * INSTALL: Regenerated.
8049 * nptl/tst-tls6.sh: Don't set LANG.
8050 * posix/globtest.sh (LANG): Remove variable.
8051 * string/Makefile (tester-ENV): Likewise.
8052 (inl-tester-ENV): Likewise.
8053 (noinl-tester-ENV): Likewise.
8054 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
8055 [$(cross-compiling) = no]: Don't set LANGUAGE.
8056 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
8057 without explicit environment settings.
8058
68e6b6b1
RM
80592014-06-06 Roland McGrath <roland@hack.frob.com>
8060
8061 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
8062 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
8063 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
8064 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
8065
4d3ae034
CM
80662014-06-06 Chris Metcalf <cmetcalf@tilera.com>
8067
8068 * crypt/crypt-private.h [DOS]: Add some includes taken from the
8069 other files in the crypt directory.
8070 * crypt/crypt.c: Remove duplicate includes.
8071 * crypt/crypt-entry.c: Likewise.
8072 * crypt/crypt_util.c: Likewise.
8073
8540f6d2
JM
80742014-06-06 Joseph Myers <joseph@codesourcery.com>
8075
8076 * Makeconfig (run-program-env): New variable.
8077 (run-program-prefix-before-env): Likewise.
8078 (run-program-prefix-after-env): Likewise.
8079 (run-program-prefix): Define in terms of new variables.
8080 (built-program-cmd-before-env): New variable.
8081 (built-program-cmd-after-env): Likewise.
8082 (built-program-cmd): Define in terms of new variables.
8083 (test-program-prefix-before-env): New variable.
8084 (test-program-prefix-after-env): Likewise.
8085 (test-program-prefix): Define in terms of new variables.
8086 (test-program-cmd-before-env): New variable.
8087 (test-program-cmd-after-env): Likewise.
8088 (test-program-cmd): Define in terms of new variables.
8089 * Rules (make-test-out): Use $(run-program-env).
8090 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
8091 (help): Do not mention environment variables. Mention
8092 --timeoutfactor option.
8093 (timeoutfactor): New variable.
8094 (blacklist_exports): Remove function.
8095 (exports): Remove variable.
8096 (command): Do not include ${exports}.
8097 * manual/install.texi (Configuring and compiling): Do not mention
8098 test wrappers preserving environment variables. Mention that last
8099 assignment to a variable must take precedence.
8100 * INSTALL: Regenerated.
8101 * benchtests/Makefile (run-bench): Use $(run-program-env).
8102 * catgets/Makefile ($(objpfx)test1.cat): Use
8103 $(built-program-cmd-before-env), $(run-program-env) and
8104 $(built-program-cmd-after-env).
8105 ($(objpfx)test2.cat): Do not specify environment variables
8106 explicitly.
8107 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
8108 $(run-program-env) and $(built-program-cmd-after-env).
8109 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
8110 $(run-program-env) and $(test-program-cmd-after-env).
8111 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
8112 explicitly.
8113 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
8114 run_program_env and test_program_cmd_after_env arguments.
8115 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
8116 * elf/tst-pathopt.sh: Use run_program_env argument.
8117 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
8118 $(test-wrapper-env) and $(run-program-env).
8119 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
8120 run_program_env arguments.
8121 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
8122 * intl/Makefile ($(objpfx)tst-gettext.out): Use
8123 $(test-program-prefix-before-env), $(run-program-env) and
8124 $(test-program-prefix-after-env).
8125 ($(objpfx)tst-gettext2.out): Likewise.
8126 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
8127 run_program_env and test_program_prefix_after_env arguments.
8128 * intl/tst-gettext2.sh: Likewise.
8129 * intl/tst-gettext4.sh: Do not set environment variables
8130 explicitly.
8131 * intl/tst-gettext6.sh: Likewise.
8132 * intl/tst-translit.sh: Likewise.
8133 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
8134 $(test-program-prefix-before-env), $(run-program-env) and
8135 $(test-program-prefix-after-env).
8136 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
8137 run_program_env and test_program_prefix_after_env arguments.
8138 * math/Makefile (run-regen-ulps): Use $(run-program-env).
8139 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
8140 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
8141 explicitly with each use of ${test_wrapper_env}.
8142 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
8143 $(test-program-prefix-before-env), $(run-program-env) and
8144 $(test-program-prefix-after-env).
8145 * posix/tst-getconf.sh: Do not set environment variables
8146 explicitly.
8147 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
8148 run_program_env and test_program_prefix_after_env arguments.
8149 * stdio-common/tst-printf.sh: Do not set environment variables
8150 explicitly.
8151 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
8152 $(test-program-prefix-before-env), $(run-program-env) and
8153 $(test-program-prefix-after-env).
8154 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
8155 run_program_env and test_program_prefix_after_env arguments.
8156 Split $test calls into $test_pre and $test.
8157 * timezone/Makefile (build-testdata): Use
8158 $(built-program-cmd-before-env), $(run-program-env) and
8159 $(built-program-cmd-after-env).
8160
ed36bfa1
AZ
81612014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8162
8163 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
8164 strlen for non SHARED builds.
8165
fc75bf46
SP
81662014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
8167
8168 * nptl/allocatestack.c (check_list): Inlined function...
8169 (__reclaim_stacks): ... here.
8170
d89b3d80
OB
81712014-06-05 Ondřej Bílka <neleai@seznam.cz>
8172
8173 [BZ #15698]
8174 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
8175 memory overrun.
8176
2bf18041
JM
81772014-06-05 Joseph Myers <joseph@codesourcery.com>
8178
8179 * Rules (make-test-out): Include
8180 LOCPATH=$(common-objpfx)localedata in default environment.
8181 * debug/Makefile (tst-chk1-ENV): Remove variable.
8182 (tst-chk2-ENV): Likewise.
8183 (tst-chk3-ENV): Likewise.
8184 (tst-chk4-ENV): Likewise.
8185 (tst-chk5-ENV): Likewise.
8186 (tst-chk6-ENV): Likewise.
8187 (tst-lfschk1-ENV): Likewise.
8188 (tst-lfschk2-ENV): Likewise.
8189 (tst-lfschk3-ENV): Likewise.
8190 (tst-lfschk4-ENV): Likewise.
8191 (tst-lfschk5-ENV): Likewise.
8192 (tst-lfschk6-ENV): Likewise.
8193 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
8194 (tst-iconv7-ENV): Likewise.
8195 * intl/Makefile (LOCPATH-ENV): Likewise.
8196 (tst-codeset-ENV): Likewise.
8197 (tst-gettext3-ENV): Likewise.
8198 (tst-gettext5-ENV): Likewise.
8199 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
8200 (tst-fopenloc-ENV): Likewise.
8201 (tst-fgetws-ENV): Remove variable.
8202 (tst-ungetwc1-ENV): Likewise.
8203 (tst-ungetwc2-ENV): Likewise.
8204 (bug-ungetwc2-ENV): Likewise.
8205 (tst-swscanf-ENV): Likewise.
8206 (bug-ftell-ENV): Likewise.
8207 (tst-fgetwc-ENV): Likewise.
8208 (tst-fseek-ENV): Likewise.
8209 (tst-ftell-partial-wide-ENV): Likewise.
8210 (tst-ftell-active-handler-ENV): Likewise.
8211 (tst-ftell-append-ENV): Likewise.
8212 * posix/Makefile (tst-fnmatch-ENV): Likewise.
8213 (tst-regexloc-ENV): Likewise.
8214 (bug-regex1-ENV): Likewise.
8215 (tst-regex-ENV): Likewise.
8216 (tst-regex2-ENV): Likewise.
8217 (bug-regex5-ENV): Likewise.
8218 (bug-regex6-ENV): Likewise.
8219 (bug-regex17-ENV): Likewise.
8220 (bug-regex18-ENV): Likewise.
8221 (bug-regex19-ENV): Likewise.
8222 (bug-regex20-ENV): Likewise.
8223 (bug-regex22-ENV): Likewise.
8224 (bug-regex23-ENV): Likewise.
8225 (bug-regex25-ENV): Likewise.
8226 (bug-regex26-ENV): Likewise.
8227 (bug-regex30-ENV): Likewise.
8228 (bug-regex32-ENV): Likewise.
8229 (bug-regex33-ENV): Likewise.
8230 (bug-regex34-ENV): Likewise.
8231 (bug-regex35-ENV): Likewise.
8232 (tst-rxspencer-ENV): Likewise.
8233 (tst-rxspencer-no-utf8-ENV): Likewise.
8234 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
8235 (tst-sscanf-ENV): Likewise.
8236 (tst-swprintf-ENV): Likewise.
8237 (tst-swscanf-ENV): Likewise.
8238 (test-vfprintf-ENV): Likewise.
8239 (scanf13-ENV): Likewise.
8240 (bug14-ENV): Likewise.
8241 (tst-grouping-ENV): Likewise.
8242 * stdlib/Makefile (tst-strtod-ENV): Likewise.
8243 (tst-strtod3-ENV): Likewise.
8244 (tst-strtod4-ENV): Likewise.
8245 (tst-strtod5-ENV): Likewise.
8246 (testmb2-ENV): Likewise./
8247 * string/Makefile (tst-strxfrm-ENV): Likewise.
8248 (tst-strxfrm2-ENV): Likewise.
8249 (bug-strcoll1-ENV): Likewise.
8250 (test-strcasecmp-ENV): Likewise.
8251 (test-strncasecmp-ENV): Likewise.
8252 * time/Makefile (tst-strptime-ENV): Likewise.
8253 (tst-ftime_l-ENV): Likewise.
8254 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
8255 (tst-mbrtowc-ENV): Likewise.
8256 (tst-wcrtomb-ENV): Likewise.
8257 (tst-mbrtowc2-ENV): Likewise.
8258 (tst-c16c32-1-ENV): Likewise.
8259 (tst-mbsnrtowcs-ENV): Likewise.
8260
cd1fb604
OB
82612014-06-05 Ondřej Bílka <neleai@seznam.cz>
8262
8263 * manual/resource.texi (How to get information about the memory
8264 subsystem?): Fix typo.
8265 Reported by Peon de la Parra Ivan <peon@keba.com>
8266
b42eca7d
GY
82672014-06-03 Guo Yixuan <culu.gyx@gmail.com>
8268
8269 [BZ #16882]
8270 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
8271 (pthread_spin_lock): Branch out of spin loop to proper location.
8272 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
8273 (pthread_spin_lock): Likewise.
8274
902b71f9
DM
8275 * nptl/tst-spin4.c: New test.
8276 * nptl/Makefile (tests): Add tst-spin4.
8277
f9d2d032
AS
82782014-06-03 Andreas Schwab <schwab@suse.de>
8279
8280 [BZ #15946]
8281 * resolv/res_send.c (send_dg): Reload file descriptor after
8282 calling reopen.
8283
cf7bfd28
SL
82842014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
8285
8286 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
8287
111cc714
RH
82882014-06-03 Richard Henderson <rth@redhat.com>
8289
89b4bd6b
RH
8290 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
8291 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
8292 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
8293 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
8294 in the SAVE_PID block.
8295 (__libc_vfork): New alias.
71840409 8296 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
89b4bd6b 8297
111cc714
RH
8298 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
8299 child in registers, not on the stack. Remove RESET_PID conditionals.
8300 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
8301
ccc39911
MS
83022014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
8303
8304 * sysdeps/aarch64/libm-test-ulps: Regenerate.
8305
693096cc
W
83062014-06-03 Wilco <wdijkstr@arm.com>
8307
8308 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
8309 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
8310 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
8311 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
8312 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
8313 Likewise.
8314
0b4366bc
W
83152014-06-03 Wilco <wdijkstr@arm.com>
8316
8317 * sysdeps/aarch64/fpu/math_private.h
8318 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
8319 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
8320 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
8321 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
8322 Fix declarations.
8323
8747cd03
KS
83242014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
8325
8326 * crypt/crypt-private.h: Include ufc-crypt.h.
8327 (__b64_from_24bit): Declare extern.
8328 * crypt/crypt_util.c(__b64_from_24bit): New function.
8329 (b64t): New static const variable.
8330 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
8331 (b64t): Remove variable.
8332 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
8333 * crypt/sha256-crypt.c: Include crypt-private.h.
8334 (b64t): Remove variable.
8335 (__sha256_crypt_r): Remove b64_from_24bit and replace
8336 with __b64_from_24bit.
8337 * crypt/sha512-crypt.c: Likewise.
8338
d936d379
RM
83392014-06-02 Roland McGrath <roland@hack.frob.com>
8340
8341 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
8342 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
8343 Label the code __libc_vfork rather than __vfork.
8344 [!NOT_IN_libc] (vfork): Define as weak alias.
8345 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
8346 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
8347 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
8348
9fa76613
SP
83492014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
8350
8351 * malloc/malloc.c (malloc_info): Fix format specifier for
8352 n_mmaps.
8353
a88dadbe
W
83542014-06-02 Wilco <wdijkstr@arm.com>
8355
8356 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
8357 FPCR write.
8358
c95b3011
W
83592014-06-02 Wilco <wdijkstr@arm.com>
8360
8361 [BZ #17009]
8362 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
8363 Rewrite to reduce FPCR/FPSR accesses.
8364
6b4d7a90
DM
83652014-06-01 David S. Miller <davem@davemloft.net>
8366
8367 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8368
30f3d07c
DM
83692014-05-31 David S. Miller <davem@davemloft.net>
8370
8371 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
8372 to occur in round to nearest mode when |x| >= 2.0
8373
74f31c18
RH
83742014-05-30 Richard Henderson <rth@twiddle.net>
8375
f0712b54
RH
8376 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
8377 (PSEUDO_RET_NOERRNO): Remove.
8378 (ret): Don't redefine.
8379 (ret_NOERRNO): Define in terms of ret.
8380 (ret_ERRVAL): Likewise.
8381
74f31c18
RH
8382 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
8383 use of PSEUDO_RET; perform the error check directly.
8384
30477995
MM
83852014-05-30 Marko Myllynen <myllynen@redhat.com>
8386
8387 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
8388 with __int128_t.
8389
62a58816
SP
83902014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
8391
8392 * malloc/malloc (malloc_info): Fix formatting.
8393
4d653a59
SP
83942014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
8395 Roland McGrath <roland@hack.frob.com>
8396
8397 * malloc/malloc (malloc_info): Also print mmapped statistics.
8398
5190c17f
RM
83992014-05-30 Roland McGrath <roland@hack.frob.com>
8400
8401 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
8402 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
8403
987c0269
OB
84042014-05-30 Ondřej Bílka <neleai@seznam.cz>
8405
8406 * malloc/malloc.c (malloc_info): Inline mi_arena.
8407
af4e8ef9
RH
84082014-05-29 Richard Henderson <rth@twiddle.net>
8409
1670e207
RH
8410 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
8411 Remove comma before expanding ASM_ARGS_##nr.
8412 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
8413 Make _x0 a strict output; make _x8 a strict input; adjust expansion
8414 of ASM_ARGS_##nr.
8415 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
8416 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
8417 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
8418 (ASM_ARGS_1): Add leading comma.
8419
11a28aee
RH
8420 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
8421 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
8422 to __errno_location.
8423 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
8424 Remove the expected plt for __errno_location.
8425
a17e5ffb 8426 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
11a28aee 8427 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
a17e5ffb
RH
8428 call to __read_tp.
8429
b5be4597
RH
8430 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
8431 Always allocate 64 bytes of stack frame. Use ldp/stp to create
8432 it and break it down.
8433 (DOCARGS_0, DOCARGS_1): Do nothing.
8434 (DOCARGS_2): Update to store into the new stack frame.
8435 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
8436 (UNDOCARGS_1): Update to restore from the new stack frame.
8437 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
8438 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
8439
645d44ab
RH
8440 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
8441 (SINGLE_THREAD_P): New parameter for result regno.
8442 (PSEUDO): Update to match; use cbz instead of beq.
8443
a8b4f04a
RH
8444 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
8445 Use ENTRY to define the _nocancel entry point. Share the syscall
8446 and syscall error check paths with the cancel path.
8447 (PSEUDO_END): New.
8448
af4e8ef9
RH
8449 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
8450 whitespace; tabs before and after asm mnemonics.
8451
26b0d2e1
EW
84522014-05-29 Eric Wong <normalperson@yhbt.net>
8453
8454 [BZ #15132]
8455 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
8456 Call fstat64 or stat64 internally, depending on arguments passed.
8457 Replace stat buffer argument with file descriptor argument.
8458 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
8459 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
8460 Pass fd to __internal_statvfs instead of calling fstat64.
8461 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
8462 Pass fd to __internal_statvfs64 instead of calling fstat64.
8463 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
8464 Pass -1 to __internal_statvfs instead of calling stat64.
8465 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
8466 Pass -1 to __internal_statvfs64 instead of calling stat64.
8467
1efe2bd9
RM
84682014-05-28 Roland McGrath <roland@hack.frob.com>
8469
0d3b7a19
RM
8470 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
8471 that was previously under [RESET_PID].
8472 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
8473
1efe2bd9
RM
8474 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
8475 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
8476
a6bea3ca
RM
84772014-05-27 Roland McGrath <roland@hack.frob.com>
8478
30b6629e
RM
8479 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
8480
a6bea3ca
RM
8481 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
8482 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
8483
3dfb9a5c
OB
84842014-05-27 Ondřej Bílka <neleai@seznam.cz>
8485
8486 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
8487
774f9285
AS
84882014-05-27 Andreas Schwab <schwab@suse.de>
8489
8490 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
8491 TLS_INIT_TP macro.
8492 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
8493 * elf/rtld.c (init_tls, dl_main): Likewise.
8494 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
8495 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
8496 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
8497 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
8498 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
8499 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
8500 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
8501 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
8502 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
8503 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
8504 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
8505 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
8506 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
8507 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
8508 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
8509 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
8510 * sysdeps/generic/tls.h: Update description.
8511
36ffe739
WN
85122014-05-27 Will Newton <will.newton@linaro.org>
8513
8514 [BZ #16990]
8515 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
8516 and restore r2 rather than just restoring.
8517
2482ae43
SP
85182014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
8519
8520 [BZ #16724]
8521 * libio/tst-ftell-append.c: New test case.
8522 * libio/Makefile (tests): Add test case.
8523 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
8524 append mode.
8525 * libio/wfileops.c (do_ftell_wide): Likewise.
8526
3d1024e8
AZ
85272014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8528
bab90016
AZ
8529 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8530
c7a8d667
AZ
8531 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
8532 ...
8533 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
8534 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
8535 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
8536 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
8537 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
8538 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
8539 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
8540 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
8541 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
8542 Moved ...
8543 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
8544 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
8545 Moved ...
8546 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
8547 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
8548 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
8549 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
8550 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
8551 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
8552 ...
8553 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
8554 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
8555 Moved ...
8556 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
8557 here.
8558 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
8559 ...
8560 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
8561 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
8562 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
8563
daee7851
AZ
8564 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
8565 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
8566 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
8567 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
8568
50a40819
AZ
8569 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
8570 merge into ...
8571 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
8572 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
8573 ...
8574 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
8575 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
8576 ...
8577 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
8578 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
8579 Moved ...
8580 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
8581 here.
8582 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
8583 Moved ...
8584 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
8585 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
8586 Moved ...
8587 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
8588
8464c2a1
AZ
8589 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
8590 conditional [RESET_PID].
8591 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
8592 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
8593 removed.
8594 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
8595 removed.
8596
3d1024e8
AZ
8597 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
8598 <tcb-offsets.h>.
8599 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
8600 (__libc_vfork): New strong alias.
8601 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
8602 removed.
8603 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
8604 Removed.
8605
8606 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
8607 <tcb-offsets.h>.
8608 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
8609 (__libc_vfork): New strong alias.
8610 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
8611 removed.
8612 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
8613 removed.
8614
fdfd175d
CD
86152014-05-26 Carlos O'Donell <carlos@redhat.com>
8616
8617 * malloc/malloc.c (mi_arena): New function.
8618 (malloc_info): Remove nested function mi_arena. Call non-nosted
8619 function mi_arena.
8620
d298c416
AZ
86212014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8622
8623 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
8624 by insrwi.
8625 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
8626 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
8627 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
8628 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
8629 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
8630 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
8631 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
8632
b60ea6ff
AS
86332014-05-26 Andreas Schwab <schwab@suse.de>
8634
8635 [BZ #16984]
8636 * locale/programs/repertoire.c (repertoire_read): Add slash
8637 between I18NPATH element and file name.
8638 * locale/programs/locfile.c (locfile_read): Likewise.
8639
67365926
SL
86402014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
8641
8642 * nptl/pthread_mutexattr_settype.c
8643 (__pthread_mutexattr_settype):
8644 Disable lock elision for PTHREAD_MUTEX_NORMAL.
8645
f8bdf1f0
SL
86462014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
8647
8648 * nptl/tst-mutex5 (do_test):
8649 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
8650
15eaf6ff
SP
86512014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
8652
8653 * benchtests/README: Document 'init' directive.
8654 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
8655 BENCH_INIT.
8656 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
8657 (parse_file): Recognize 'init' directive.
8658
75f11331
KM
86592014-05-26 Kyle McMartin <kyle@redhat.com>
8660
8661 [BZ #16796]
8662 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
8663 alignment of struct pthread.
8664
c3ec475c
SP
86652014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
8666
8667 [BZ #16878]
8668 * nscd/netgroupcache.c (addgetnetgrentX): Look for
8669 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
8670 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
8671 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
8672
82aab97c
RH
86732014-05-25 Richard Henderson <rth@twiddle.net>
8674
aa2f176d
RH
8675 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
8676 (SINGLE_THREAD_P_PIC): Remove.
8677 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
8678 (SINGLE_THREAD_P_PIC): Remove.
8679
ca3cfa40
RH
8680 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
8681 branch to syscall error ...
8682 (PSEUDO): ... here.
8683 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
8684 from __local_syscall_error to .Lsyscall_error.
8685 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
8686 (SYSCALL_ERROR): Update label name.
8687
6e6c2d01
RH
8688 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
8689 Do not use DOARGS/UNDOARGS.
8690 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
8691 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
8692 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
8693 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
8694 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
8695
c69abcee
RH
8696 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
8697 block comment.
8698
82aab97c
RH
8699 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
8700 define if !NOT_IN_libc.
8701 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
8702 define with non-default symbol versions.
8703
8820e3ac
RH
87042014-05-23 Richard Henderson <rth@twiddle.net>
8705
900e445f
RH
8706 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
8707 (vfork, __vfork): Define via compat_symbol.
8708
8820e3ac
RH
8709 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
8710 [!HAVE_IFUNC] (vfork_compat): Remove.
8711 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
8712
e59252a5
JM
87132014-05-23 Joseph Myers <joseph@codesourcery.com>
8714
8715 [BZ #16978]
8716 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
8717 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
8718 variable.
8719
132c7f5f
RH
87202014-05-23 Richard Henderson <rth@twiddle.net>
8721
bc89e962
RH
8722 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
8723 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
8724 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
8725 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
8726
8727 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
8728 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
8729 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
8730 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
8731 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
8732 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
8733 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
8734 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
8735 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
8736 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
8737 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
8738 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
8739 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
8740 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
8741 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
8742 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
8743 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
8744 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
8745 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
8746 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
8747 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
8748 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
8749 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
8750 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
8751 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
8752 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
8753 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
8754 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
8755 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
8756 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
8757 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
8758 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
8759 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
8760 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
8761 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
8762 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
8763 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
8764 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
8765 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
8766 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
8767 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
8768 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
8769 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
8770 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
8771 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
8772 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
8773 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
8774 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
8775 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
8776 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
8777 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
8778 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
8779 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
8780 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
8781 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
8782 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
8783
e2fa4bc2
RH
8784 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
8785 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
8786 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
8787 before exiting on error.
8788 (__libc_vfork): New strong alias.
8789 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
8790 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
8791
279b24e2
RH
8792 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
8793 that was previously under [RESET_PID].
8794 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
8795
132c7f5f
RH
8796 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
8797
b72592e7
JM
87982014-05-23 Joseph Myers <joseph@codesourcery.com>
8799
8800 [BZ #16977]
8801 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
8802 value when x - 1 is zero.
8803 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
8804 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
8805 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
8806 0.0L for an argument of 1.0L.
8807 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
8808 Likewise.
8809 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
8810 value when x - 1 is zero.
8811 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
8812 * sysdeps/i386/fpu/libm-test-ulps: Update.
8813 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8814
2302d679
RV
88152014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
8816
8817 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
8818 alphasort and versionsort.
8819
32999d63
AZ
88202014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8821
8822 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
8823 macro.
8824 [copysignf]: Likewise.
8825
019324d0
SP
88262014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
8827
8828 * crypt/md5-crypt.c: Fix formatting.
8829
34fff5c2
KS
88302014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
8831
8832 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
8833 (b64_from_24bit): New function.
8834
3d2badac
AZ
88352014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8836
8837 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
8838 libc_hidden_builtin_def to ifunc.
8839 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
8840 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
8841
f7bb179f 88422014-05-21 Roland McGrath <roland@hack.frob.com>
df54acbb
RM
8843
8844 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
8845 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
8846
4134b50d
JM
88472014-05-21 Joseph Myers <joseph@codesourcery.com>
8848
bb7d0337
JM
8849 * nscd/Depend (linuxthreads): Remove.
8850 (nptl): Add.
8851 * resolv/Depend (linuxthreads): Remove.
8852 * rt/Depend (linuxthreads): Remove.
8853
4134b50d
JM
8854 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
8855 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
8856 $(common-objpfx)elf/.
8857 (link-libc-before-gnulib): Likewise.
8858 (elfobjdir): Remove variable.
8859 * Makefile (install): Use $(elf-objpfx) instead of
8860 $(common-objpfx)elf/.
8861 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
8862 $(elfobjdir)/.
8863 (link-libc-deps): Likewise.
8864 ($(common-objpfx)libc.so): Likewise.
8865 ($(common-objpfx)linkobj/libc.so): Likewise.
8866 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
8867 instead of $(common-objpfx)elf/.
8868 (symbolic-link-list): Likewise.
8869 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
8870 [$(cross-compiling) = no]: Likewise.
8871 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
8872 $(elfobjdir)/.
8873 (static-gnulib-arch): Likewise.
8874 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
8875 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
8876 $(common-objpfx)elf/.
8877
3612eb8f
RH
88782014-05-21 Richard Henderson <rth@redhat.com>
8879
a6b3657b
RH
8880 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
8881 (SINGLE_THREAD_P): Use the correct width load. Fold
8882 into the ldr offset.
8883
3612eb8f
RH
8884 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
8885 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
8886
175cef41
JM
88872014-05-20 Joseph Myers <joseph@codesourcery.com>
8888
8889 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
8890 (libgcc_s_resume): Use __attribute_used__.
8891 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
8892 Likewise.
8893
e13bccd3
AZ
88942014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8895
8896 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
8897 optimization when used with float constants.
8898
7c112a38
AZ
8899 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8900
ae75a883
AJ
89012014-05-20 Aurelien Jarno <aurelien@aurel32.net>
8902
8903 [BZ #16915]
8904 * locale/nl_langinfo_l.c: Make direct reference to every
8905 _nl_current_CATEGORY symbol.
8906 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
8907 (tests-static): Add tst-langinfo-static.
8908 (tests-special): Add tst-langinfo-static.out.
8909 ($(objpfx)tst-langinfo.out): Redirect output.
8910 ($(objpfx)tst-langinfo-static.out): New.
8911 * localedata/tst-langinfo.sh: Send output to stdout.
8912 * localedata/tst-langinfo-static.c: New file.
8913
4406c41c
AJ
8914 [BZ #16965]
8915 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
8916 when the shift amount is modulo the limb size.
8917
4c0a1e63
RH
89182014-05-20 Richard Henderson <rth@redhat.com>
8919
de9d8f20
RH
8920 [BZ #16967]
8921 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
8922 Change type of sa_flags from unsigned int to int.
8923
4c0a1e63
RH
8924 [BZ #16966]
8925 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
57cce706
RH
8926
8927 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
8928
a60339aa
WN
89292014-05-20 Will Newton <will.newton@linaro.org>
8930
8931 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
8932 Test the return value of the system call in the nocancel case.
8933
7d05a816
YR
89342014-05-20 Will Newton <will.newton@linaro.org>
8935 Yvan Roux <yvan.roux@linaro.org>
8936
8937 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
8938 #include of asm/ptrace.h.
8939 (PTRACE_GET_THREAD_AREA): Remove #undef.
8940 (PTRACE_GETHBPREGS): Likewise.
8941 (PTRACE_SETHBPREGS): Likewise.
8942 (struct user_regs_struct): New structure.
8943 (struct user_fpsimd_struct): New structure.
8944 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
8945 #include of asm/ptrace.h and second #include of sys/user.h.
8946 (PTRACE_GET_THREAD_AREA): Remove #undef.
8947 (PTRACE_GETHBPREGS): Likewise.
8948 (PTRACE_SETHBPREGS): Likewise.
8949 (ELF_NGREG): Use new struct user_regs_struct.
8950 (elf_fpregset_t): Use new struct user_fpsimd_struct.
8951
af121e37
AZ
89522014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8953
8954 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
8955 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
8956
834caf06
JM
89572014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
8958
8959 [BZ #16958]
8960 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
8961 membar to avoid block loads/stores to overlap previous stores.
8962
e184a918
RH
89632014-05-17 Richard Henderson <rth@redhat.com>
8964
8965 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
8966 Create the __##syscall_name##_nocancel entry point.
8967 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
8968 Remove; let the sysdep-cancel.h code create it.
8969
f56c7a6a
DM
89702014-05-17 David S. Miller <davem@davemloft.net>
8971
8972 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
8973 Protect with __USE_GNU.
8974 (TIOCSET_TEMPT): Likewise.
8975 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
8976 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
8977 these are already provided in bits/ioctl-types.h
8978
f75616b2
RM
89792014-05-16 Roland McGrath <roland@hack.frob.com>
8980
3edeca86
RM
8981 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
8982 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
8983
f75616b2
RM
8984 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
8985 Use wait4 regardless of [__NR_waitpid].
8986
deb0f7f6
MR
89872014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
8988
8989 PR libgcc/60166
8990 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
8991 (_FP_NANSIGN_Q): Set the quiet bit.
8992
79520f4b
JM
89932014-05-16 Joseph Myers <joseph@codesourcery.com>
8994
8995 * benchtests/Makefile
8996 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
8997 not $(common-objpfx)math/libm.so.
8998 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
8999 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
9000 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
9001 $(common-objpfx)dlfcn/libdl.so.
9002 ($(objpfx)tst-audit8): Depend on $(libm), not
9003 $(common-objpfx)math/libm.so.
9004 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
9005 not $(common-objpfx)dlfcn/libdl.so.
9006 * math/Makefile
9007 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
9008 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
9009 [$(build-shared) = yes].
9010 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
9011 $(common-objpfx)nptl/libpthread.so.
9012 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
9013 $(common-objpfx)math/libm.so$(libm.so-version) or
9014 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
9015 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
9016 $(common-objpfx)dlfcn/libdl.so.
9017 * setjmp/Makefile (link-libm): Remove variable.
9018 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
9019 * stdio-common/Makefile (link-libm): Remove variable.
9020 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
9021 * stdlib/Makefile (link-libm): Remove variable.
9022 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
9023 ($(objpfx)tst-strtod-round): Likewise.
9024 ($(objpfx)tst-tininess): Likewise.
9025 ($(objpfx)tst-strtod-underflow): Likewise.
9026 ($(objpfx)tst-strtod6): Likewise.
9027 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
9028 $(libdl), not $(common-objpfx)nptl/libpthread.so and
9029 $(common-objpfx)dlfcn/libdl.so.
9030
026b0fe4
AZ
90312014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9032
9033 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
9034 BSD terminal modes definitions.
9035
def4bcb2
RM
90362014-05-16 Roland McGrath <roland@hack.frob.com>
9037
fe39b021
RM
9038 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
9039 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
9040
1d1fc46e 9041 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
def4bcb2
RM
9042 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
9043 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
9044 Don't do #include_next.
9045 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
9046 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
9047 Don't do #include_next.
9048 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
9049 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
9050 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
9051 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
9052
c72399fb
AM
90532014-05-16 Allan McRae <allan@archlinux.org>
9054
d51d659d
AM
9055 * po/sv.po: Update Swedish translation from translation project.
9056
c72399fb
AM
9057 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
9058 in sed expression.
9059
d0583c40
AJ
90602014-05-16 Aurelien Jarno <aurelien@aurel32.net>
9061
9062 [BZ #16917]
9063 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
9064 errno if the TIOCGPTN ioctl fails with an error different than
9065 EINVAL.
9066 * login/tst-ptsname.c: New file.
9067 * login/Makefile (tests): Add tst-ptsname.
9068
d16e6ec7
AJ
9069 [BZ #16943]
9070 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
9071 and prlimit64.
9072
cf26a0cb
SP
90732014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
9074
9075 [BZ #16849]
9076 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
9077 herrno to return EAI_AGAIN.
9078
5675da1e
RM
90792014-05-14 Roland McGrath <roland@hack.frob.com>
9080
a5d87b3d
RM
9081 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
9082 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
9083 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
9084 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
9085 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
9086 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
9087 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
9088 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
9089 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
9090 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
9091 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
9092 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
9093 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
9094 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
9095 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
9096 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
9097 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
9098 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
9099 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
9100 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
9101 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
9102 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
9103 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
9104 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
9105 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
9106 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
9107 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
9108 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
9109 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
9110 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
9111 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
9112 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
9113 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
9114 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
9115 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
9116 Moved ...
9117 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
9118 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
9119 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
9120 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
9121 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
9122 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
9123 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
9124 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
9125 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
9126 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
9127 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
9128 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
9129 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
9130 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
9131 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
9132 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
9133 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
9134 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
9135 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
9136 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
9137 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
9138 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
9139 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
9140 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
9141 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
9142 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
9143 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
9144 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
9145 Moved ...
9146 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
9147 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
9148 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
9149 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
9150 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
9151 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
9152 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
9153 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
9154 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
9155 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
9156 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
9157 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
9158 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
9159 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
9160 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
9161 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
9162 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
9163 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
9164 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
9165 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
9166 Moved ...
9167 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
9168 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
9169 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
9170
039890a6
RM
9171 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
9172 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
9173 (libpthread-sysdep_routines): Add elision-related stuff here instead.
9174 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
9175 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
9176 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
9177 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
9178 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
9179 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
9180 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
9181 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
9182 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
9183 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
9184 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
9185 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
9186 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
9187 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
9188 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
9189 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
9190 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
9191 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
9192 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
9193 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
9194 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
9195 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
9196 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
9197 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
9198 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
9199 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
9200 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
9201 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
9202
65c89320
RM
9203 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
9204 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
9205
348f8e8c
RM
9206 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
9207 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
9208 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
9209 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
9210 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
9211 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
9212 Moved ...
9213 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
9214 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
9215 Moved ...
9216 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
9217 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
9218 Moved ...
9219 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
9220 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
9221 Moved ...
9222 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
9223 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
9224 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
9225 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
9226 Moved ...
9227 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
9228 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
9229 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
9230 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
9231 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
9232 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
9233 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
9234 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
9235 Moved ...
9236 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
9237 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
9238 Moved ...
9239 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
9240 ... here.
9241 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
9242 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
9243 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
9244 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
9245 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
9246 Moved ...
9247 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
9248 ... here.
9249 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
9250 Moved ...
9251 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
9252 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
9253 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
9254 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
9255 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
9256 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
9257 Moved ...
9258 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
9259 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
9260 Moved ...
9261 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
9262 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
9263 Moved ...
9264 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
9265 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
9266 Moved ...
9267 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
9268 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
9269 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
9270 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
9271 Moved ...
9272 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
9273 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
9274 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
9275 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
9276 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
9277 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
9278 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
9279 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
9280 Moved ...
9281 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
9282 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
9283 Moved ...
9284 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
9285 ... here.
9286 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
9287 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
9288 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
9289 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
9290 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
9291 Moved ...
9292 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
9293 ... here.
9294 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
9295 Moved ...
9296 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
9297 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
9298 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
9299 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
9300 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
9301 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
9302 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
9303 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
9304 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
9305 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
9306 Moved ...
9307 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
9308 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
9309 Moved ...
9310 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
9311 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
9312 Moved ...
9313 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
9314 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
9315 Moved ...
9316 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
9317 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
9318 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
9319 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
9320 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
9321 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
9322 Moved ...
9323 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
9324 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
9325 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
9326 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
9327 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
9328 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
9329 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
9330 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
9331 Moved ...
9332 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
9333 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
9334 Moved ...
9335 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
9336 ... here.
9337 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
9338 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
9339 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
9340 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
9341 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
9342 Moved ...
9343 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
9344 ... here.
9345 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
9346 Moved ...
9347 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
9348 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
9349 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
9350 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
9351 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
9352 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
9353 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
9354 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
9355 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
9356 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
9357 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
9358
5085af05
RM
9359 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
9360 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
9361
708f0813
RM
9362 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
9363 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
9364
c96067bc
RM
9365 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
9366 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
9367 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
9368 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
9369 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
9370 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
9371 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
9372 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
9373 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
9374 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
9375 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
9376 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
9377 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
9378 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
9379 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
9380 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
9381 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
9382 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
9383 Moved ...
9384 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
9385 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
9386 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
9387 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
9388 Moved ...
9389 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
9390 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
9391 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
9392 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
9393 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
9394 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
9395 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
9396 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
9397 Moved ...
9398 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
9399 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
9400 Moved ...
9401 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
9402 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
9403 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
9404 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
9405 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
9406 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
9407 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
9408 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
9409 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
9410 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
9411 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
9412 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
9413 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
9414 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
9415 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
9416 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
9417 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
9418
ec136444
RM
9419 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
9420 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
9421 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
9422 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
9423 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
9424
2fbdf533
RM
9425 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
9426 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
9427 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
9428 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
9429 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
9430 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
9431 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
9432 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
9433 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
9434 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
9435
4c68138b
RM
9436 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
9437 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
9438
4eaae765
RM
9439 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
9440 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
3a51fb60
RM
9441 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
9442 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
9443 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
9444 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
9445 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
9446 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
9447 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
9448 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
9449 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
9450 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
9451 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
9452 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
9453 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
9454 Update #include.
9455 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
9456 Likewise.
9457 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
9458 Likewise.
9459 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
9460 Likewise.
9461 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
9462 Likewise.
9463 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
9464 Likewise.
9465 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
9466 Likewise.
9467 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
9468 Likewise.
9469 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
9470 Likewise.
9471 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
9472 Likewise.
4ef6befa
RM
9473 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
9474 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
9475 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
9476 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
9477 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
5aa618fb
RM
9478 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
9479 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
9480 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
9481 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
9482 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
9483 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
9484 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
9485 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
9486 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
9487 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
3a51fb60 9488
941d7dfd
RM
9489 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
9490 that was previously under [RESET_PID].
9491 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
9492 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
9493 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
9494
1b731c35
RM
9495 * sysdeps/i386/nptl/Implies: New file.
9496 * sysdeps/x86_64/nptl/Implies: New file.
9497 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
9498 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
9499 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
9500 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
9501
e2787137
RM
9502 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
9503 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
9504 (__libc_vfork): New strong alias.
9505 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
9506 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
9507
9508 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
9509 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
9510 (__libc_vfork): New strong alias.
9511 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
9512 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
9513
5675da1e
RM
9514 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
9515 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
9516 (__libc_vfork): New strong alias.
9517 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
9518 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
9519 * nptl/pt-vfork.c: New file.
9520 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
9521 (libpthread: GLIBC_2.20): New version set (empty).
9522
4f02e2b8
WN
95232014-05-14 Will Newton <will.newton@linaro.org>
9524
9525 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
9526 rather than #if.
9527
0bf061d3
JM
95282014-05-14 Joseph Myers <joseph@codesourcery.com>
9529
1a84c3d6
JM
9530 [BZ #16564]
9531 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
9532 arguments with exponent 65 or above.
9533 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
9534 arguments 0x1p113L or above.
9535 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
9536 to arguments 0x1p107L or above.
9537 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
9538 positive arguments with exponent 65 or above.
9539 * math/auto-libm-test-in: Add more tests of log1p.
9540 * math/auto-libm-test-out: Regenerated.
9541
01dbacd2
JM
9542 [BZ #16928]
9543 * math/s_cacos.c (__cacos): Ensure zero real part of result from
9544 non-finite arguments is +0.
9545 * math/s_cacosf.c (__cacosf): Likewise.
9546 * math/s_cacosl.c (__cacosl): Likewise.
9547 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
9548 * sysdeps/i386/fpu/libm-test-ulps: Update.
9549 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9550
913d03c8
JM
9551 [BZ #16927]
9552 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
9553 value.
9554 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
9555 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
9556 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
9557 for explicit high bit of mantissa when testing for argument equal
9558 to 1.
9559 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
9560 * sysdeps/i386/fpu/libm-test-ulps: Update.
9561 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9562
0bf061d3
JM
9563 [BZ #16516]
9564 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
9565 (__erf): Scale by 16 instead of 8 in potentially underflowing
9566 case. Ensure exception if result actually underflows.
9567 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
9568 (__erff): Scale by 16 instead of 8 in potentially underflowing
9569 case. Ensure exception if result actually underflows.
9570 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
9571 (efx8): Remove variable.
9572 (__erfl): Scale by 16 instead of 8 in potentially underflowing
9573 case. Ensure exception if result actually underflows.
9574 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
9575 (efx8): Remove variable.
9576 (__erfl): Scale by 16 instead of 8 in potentially underflowing
9577 case. Ensure exception if result actually underflows.
9578 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
9579 (efx8): Remove variable.
9580 (__erfl): Scale by 16 instead of 8 in potentially underflowing
9581 case. Ensure exception if result actually underflows.
9582 * math/auto-libm-test-in: Add more tests of erf.
9583 * math/auto-libm-test-out: Regenerated.
9584
73ba67cb
AS
95852014-05-14 Andreas Schwab <schwab@suse.de>
9586
3d8c8bff
AS
9587 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
9588 Remove code conditionalized on USE___THREAD.
9589
73ba67cb
AS
9590 * config.h.in (HAVE_PT_CHOWN): Define as 0.
9591 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
9592 not definedness.
9593
5c521ecd
JM
95942014-05-14 Joseph Myers <joseph@codesourcery.com>
9595
5e7698c6
JM
9596 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
9597 Define unconditionally.
9598 (__ASSUME_O_CLOEXEC): Likewise.
9599 (__ASSUME_SOCK_CLOEXEC): Likewise.
9600 (__ASSUME_IN_NONBLOCK): Likewise.
9601 (__ASSUME_PIPE2): Likewise.
9602 (__ASSUME_EVENTFD2): Likewise.
9603 (__ASSUME_SIGNALFD4): Likewise.
9604 (__ASSUME_DUP3): Likewise.
9605 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
9606 (__ASSUME_DUP3): Do not define.
9607 (__ASSUME_EVENTFD2): Likewise.
9608 (__ASSUME_IN_NONBLOCK): Likewise.
9609 (__ASSUME_O_CLOEXEC): Likewise.
9610 (__ASSUME_PIPE2): Likewise.
9611 (__ASSUME_SIGNALFD4): Likewise.
9612 (__ASSUME_SOCK_CLOEXEC): Likewise.
9613 (__ASSUME_UTIMES): Undefine.
9614 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
9615 (__ASSUME_UTIMES): Do not define.
9616 (__ASSUME_O_CLOEXEC): Likewise.
9617 (__ASSUME_SOCK_CLOEXEC): Likewise.
9618 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
9619 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
9620 0x020621].
9621 (__ASSUME_PIPE2): Likewise.
9622 (__ASSUME_EVENTFD2): Likewise.
9623 (__ASSUME_SIGNALFD4): Likewise.
9624 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
9625 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
9626 Do not define.
9627 (__ASSUME_EVENTFD2): Likewise.
9628 (__ASSUME_SIGNALFD4): Likewise.
9629 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
9630 (__ASSUME_32BITUIDS): Likewise.
9631 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
9632 (__ASSUME_IPC64): Likewise.
9633 (__ASSUME_ST_INO_64_BIT): Likewise.
9634 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
9635 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
9636 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
9637 (__ASSUME_UTIMES): Do not define.
9638 (__ASSUME_PSELECT): Likewise.
9639 (__ASSUME_PPOLL): Likewise.
9640 (__ASSUME_O_CLOEXEC): Likewise.
9641 (__ASSUME_SOCK_CLOEXEC): Likewise.
9642 (__ASSUME_IN_NONBLOCK): Likewise.
9643 (__ASSUME_PIPE2): Likewise.
9644 (__ASSUME_EVENTFD2): Likewise.
9645 (__ASSUME_SIGNALFD4): Likewise.
9646 (__ASSUME_DUP3): Likewise.
9647 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
9648 (__ASSUME_UTIMES): Likewise.
9649 (__ASSUME_O_CLOEXEC): Likewise.
9650 (__ASSUME_SOCK_CLOEXEC): Likewise.
9651 (__ASSUME_IN_NONBLOCK): Likewise.
9652 (__ASSUME_PIPE2): Likewise.
9653 (__ASSUME_EVENTFD2): Likewise.
9654 (__ASSUME_SIGNALFD4): Likewise.
9655 (__ASSUME_DUP3): Likewise.
9656 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9657 (__ASSUME_UTIMES): Likewise.
9658 (__ASSUME_O_CLOEXEC): Likewise.
9659 (__ASSUME_SOCK_CLOEXEC): Likewise.
9660 (__ASSUME_IN_NONBLOCK): Likewise.
9661 (__ASSUME_PIPE2): Likewise.
9662 (__ASSUME_EVENTFD2): Likewise.
9663 (__ASSUME_SIGNALFD4): Likewise.
9664 (__ASSUME_DUP3): Likewise.
9665 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
9666 Likewise.
9667 (__ASSUME_UTIMES): Likewise.
9668 (__ASSUME_EVENTFD2): Likewise.
9669 (__ASSUME_SIGNALFD4): Likewise.
9670 * sysdeps/unix/sysv/linux/tile/kernel-features.h
9671 (__ASSUME_O_CLOEXEC): Likewise.
9672 (__ASSUME_SOCK_CLOEXEC): Likewise.
9673 (__ASSUME_IN_NONBLOCK): Likewise.
9674 (__ASSUME_PIPE2): Likewise.
9675 (__ASSUME_EVENTFD2): Likewise.
9676 (__ASSUME_SIGNALFD4): Likewise.
9677 (__ASSUME_DUP3): Likewise.
9678 (__ASSUME_UTIMES): Undefine.
9679
5c521ecd
JM
9680 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
9681 feclearexcept. Remove symbol versioning code.
9682 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
9683 symbol versioning code.
9684 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
9685 symbol versioning code.
9686 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
9687 feupdateenv. Remove symbol versioning code.
9688 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
9689 fegetexceptflag. Remove symbol versioning code.
9690 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
9691 fesetexceptflag. Remove symbol versioning code.
9692 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
9693 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
9694 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
9695 (__posix_fadvise64_l32): Remove prototype.
9696 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
9697 code.
9698
5da9dfad
RM
96992014-05-13 Roland McGrath <roland@hack.frob.com>
9700
9701 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
9702 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
9703 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
9704 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
9705
893b4f37
SK
97062014-05-13 Sami Kerola <kerolasa@iki.fi>
9707
9708 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
9709 current working directory
9710
e0db6517
RM
97112014-05-13 Roland McGrath <roland@hack.frob.com>
9712
58aa195d
RM
9713 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
9714 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
9715 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
9716 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
9717 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
9718 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
9719 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
9720 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
9721 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
9722 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
9723 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
9724 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
9725 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
9726 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
9727 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
9728 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
9729 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
9730 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
9731 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
9732 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
9733 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
9734 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
9735 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
9736 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
9737 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
9738 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
9739 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
9740 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
9741 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
9742 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
9743 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
9744 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
9745 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
9746 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
9747 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
9748 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
9749 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
9750 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
9751 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
9752 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
9753 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
9754 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
9755
8c6d01f0
RM
9756 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
9757 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
9758
9759 * sysdeps/unix/sysv/linux/arm/Makefile
9760 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
9761 Add rt-aeabi_unwind_cpp_pr1.
9762 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
9763 Add nptl-aeabi_unwind_cpp_pr1.
9764 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
9765 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
9766 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
9767 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
9768 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
9769 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
9770
9771 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
9772 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
9773 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
9774 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
9775
bba6da4e
RM
9776 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
9777 Deconditionalize the code that was previously under [RESET_PID].
9778 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
9779
e0db6517
RM
9780 * sysdeps/generic/exit-thread.h: New file.
9781 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
9782 * include/unistd.h (__exit_thread): Remove declaration.
9783 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
9784 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
9785 * csu/libc-start.c: Include <exit-thread.h>.
9786 (LIBC_START_MAIN): Pass no argument to __exit_thread.
9787 * nptl/pthread_create.c: Include <exit-thread.h>.
9788 (start_thread): Call __exit_thread in place of __exit_thread_inline.
9789 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
9790 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
9791 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
9792 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
9793 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
9794 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
9795 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
9796 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
9797 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
9798 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
9799 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
9800 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
9801 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
9802 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
9803 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
9804 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
9805
01eb16fd
AS
98062014-05-13 Andreas Schwab <schwab@suse.de>
9807
9808 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
9809
637461d9
JM
98102014-05-12 Joseph Myers <joseph@codesourcery.com>
9811
9812 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
9813 (__ASSUME_UTIMES): Do not condition on kernel version.
9814 (__ASSUME_PSELECT): Define unconditionally.
9815 (__ASSUME_PPOLL): Likewise.
9816 (__ASSUME_ATFCTS): Likewise.
9817 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
9818 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
9819 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
9820 (__ASSUME_UTIMENSAT): Define unconditionally.
9821 (__ASSUME_PRIVATE_FUTEX): Likewise.
9822 (__ASSUME_FALLOCATE): Likewise.
9823 (__ASSUME_O_CLOEXEC): Likewise.
9824 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
9825 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
9826 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
9827 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
9828 (__ASSUME_IN_NONBLOCK): Likewise.
9829 (__ASSUME_PIPE2): Likewise.
9830 (__ASSUME_EVENTFD2): Likewise.
9831 (__ASSUME_SIGNALFD4): Likewise.
9832 (__ASSUME_DUP3): Likewise.
9833 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
9834 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
9835 (__ASSUME_AT_RANDOM): Likewise.
9836 (__ASSUME_PREADV): Likewise.
9837 (__ASSUME_PWRITEV): Likewise.
9838 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
9839 (__ASSUME_F_GETOWN_EX): Define unconditionally.
9840 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
9841 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
9842 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
9843 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
9844 (__ASSUME_O_CLOEXEC): Define unconditionally.
9845 (__ASSUME_PSELECT): Do not undefine conditionally.
9846 (__ASSUME_PPOLL): Likewise.
9847 (__ASSUME_ATFCTS): Likewise.
9848 (__ASSUME_SET_ROBUST_LIST): Likewise.
9849 (__ASSUME_UTIMENSAT): Likewise.
9850 (__ASSUME_FDATASYNC): Define unconditionally.
9851 * sysdeps/unix/sysv/linux/arm/kernel-features.h
9852 (__ASSUME_SIGFRAME_V2): Likewise.
9853 )__ASSUME_EVENTFD2): Likewise.
9854 (__ASSUME_SIGNALFD4): Likewise.
9855 (__ASSUME_PSELECT): Do not undefine conditionally.
9856 (__ASSUME_PPOLL): Likewise.
9857 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
9858 (__ASSUME_PSELECT): Define unconditionally.
9859 (__ASSUME_PPOLL): Likewise.
9860 (__ASSUME_O_CLOEXEC): Likewise.
9861 (__ASSUME_SOCK_CLOEXEC): Likewise.
9862 (__ASSUME_IN_NONBLOCK): Likewise.
9863 (__ASSUME_PIPE2): Likewise.
9864 (__ASSUME_EVENTFD2): Likewise.
9865 (__ASSUME_SIGNALFD4): Likewise.
9866 (__ASSUME_DUP3): Likewise.
9867 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
9868 (__ASSUME_O_CLOEXEC): Likewise.
9869 (__ASSUME_SOCK_CLOEXEC): Likewise.
9870 (__ASSUME_IN_NONBLOCK): Likewise.
9871 (__ASSUME_PIPE2): Likewise.
9872 (__ASSUME_EVENTFD2): Likewise.
9873 (__ASSUME_SIGNALFD4): Likewise.
9874 (__ASSUME_DUP3): Likewise.
9875 * sysdeps/unix/sysv/linux/mips/kernel-features.h
9876 (__ASSUME_EVENTFD2): Likewise.
9877 (__ASSUME_SIGNALFD4): Likewise.
9878 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
9879
315eb1d8
AS
98802014-05-12 Andreas Schwab <schwab@suse.de>
9881
9882 [BZ #16932]
9883 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
9884 (_nss_nis_gethostbyname4_r): Return error if item length is larger
9885 than maximum RPC packet size.
9886 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
9887 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
9888 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
9889 (_nss_nis_getservbyport_r): Likewise.
9890
91df99f7
WN
98912014-05-12 Will Newton <will.newton@linaro.org>
9892
9893 * malloc/Makefile (tests): Add tst-mallopt.
9894 * malloc/tst-mallopt.c: New file.
9895
0a982a29
RM
98962014-05-09 Roland McGrath <roland@hack.frob.com>
9897
9898 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
9899 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
9900
0ded08a5
AZ
99012014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9902
9903 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
9904 (tst-tlsmod6.so): Likewise.
9905
55d4d550
RM
99062014-05-09 Roland McGrath <roland@hack.frob.com>
9907
9908 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
9909
77d08aca
JM
99102014-05-09 Joseph Myers <joseph@codesourcery.com>
9911
9912 [BZ #16064]
9913 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
9914 and <dl-procinfo.h>.
9915 (__fegetenv): Save SSE state in envp->__eip if supported.
9916 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
9917 envp->__eip if supported.
9918 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
9919 and <dl-procinfo.h>.
9920 (__fesetenv): Always set __eip, __cs_selector, __opcode,
9921 __data_offset and __data_selector in environment to 0. Set SSE
9922 state if supported.
9923 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
9924 test-fenv-sse.
9925 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
9926 -mfpmath=sse.
9927 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
9928
28162f4d
WN
99292014-05-09 Will Newton <will.newton@linaro.org>
9930
9931 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
9932 and libc_relro_required for ARM.
9933 * sysdeps/arm/preconfigure: Regenerate.
9934
5a414ff7
DV
99352014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
9936 Stefan Liebler <stli@linux.vnet.ibm.com>
9937
9938 * config.make.in (enable-lock-elision): New Makefile variable.
9939 * configure.ac: Likewise.
9940 * configure: Regenerate.
9941 * sysdeps/s390/configure.ac:
9942 Add check for gcc transactions support.
9943 * sysdeps/s390/configure: Regenerate.
9944 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
9945 Build elision files if enabled.
9946 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
9947 Add lock elision support for s390.
9948 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
9949 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
9950 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
9951 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
9952 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
9953 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
9954 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
9955 Likewise.
9956 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
9957 Likewise.
9958 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
9959 Likewise.
9960 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
9961 Likewise.
9962 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
9963 (__lll_timedlock_elision, __lll_lock_elision)
9964 (__lll_unlock_elision, __lll_trylock_elision)
9965 (lll_timedlock_elision, lll_lock_elision)
9966 (lll_unlock_elision, lll_trylock_elision): Add.
9967 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
9968 (pthread_mutex_t): Add lock elision support for s390.
9969
1a2f40e5
W
99702014-05-14 Wilco <wdijkstr@arm.com>
9971
9972 * sysdeps/arm/fclrexcpt.c: Cleanup.
9973 * sysdeps/arm/fedisblxcpt.c: Cleanup.
9974 * sysdeps/arm/feenablxcpt.c: Cleanup.
9975 * sysdeps/arm/fegetenv.c: Cleanup.
9976 * sysdeps/arm/fegetexcept.c: Cleanup.
9977 * sysdeps/arm/fegetround.c: Cleanup.
9978 * sysdeps/arm/feholdexcpt.c: Cleanup.
9979 * sysdeps/arm/fesetenv.c: Cleanup.
9980 * sysdeps/arm/fesetround.c: Cleanup.
9981 * sysdeps/arm/feupdateenv.c: Cleanup.
9982 * sysdeps/arm/fgetexcptflg.c: Cleanup.
9983 * sysdeps/arm/fraiseexcpt.c: Cleanup.
9984 * sysdeps/arm/fsetexcptflg.c: Cleanup.
9985 * sysdeps/arm/ftestexcept.c: Cleanup.
9986 * sysdeps/arm/get-rounding-mode.h: Cleanup.
9987 * sysdeps/arm/setfpucw.c: Cleanup.
9988
f63c86fe
WN
99892014-05-09 Will Newton <will.newton@linaro.org>
9990
9991 * sysdeps/arm/armv7/strcmp.S: New file.
9992 * NEWS: Mention addition of ARMv7 optimized strcmp.
9993
7a1a51b5
RM
99942014-05-08 Roland McGrath <roland@hack.frob.com>
9995
95afbbe5
RM
9996 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
9997 look for %.ac rather than %.in.
9998
9999 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
10000 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
10001 * sysdeps/mach/hurd/configure: Regenerated.
10002 * sysdeps/unix/sysv/linux/configure: Regenerated.
10003
7a1a51b5
RM
10004 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
10005
5057ad3b
SE
100062014-05-07 Steve Ellcey <sellcey@mips.com>
10007
10008 [BZ# 16922]
10009 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
10010 (LONG_SUB): Ditto.
10011 (PTR_SUB): Ditto.
10012
8dc97517
AS
100132014-05-07 Andreas Schwab <schwab@suse.de>
10014
10015 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
10016 when skipping over non-matching result from nscd.
10017
ce0c5b8f
OB
100182014-05-07 Ondřej Bílka <neleai@seznam.cz>
10019
10020 [BZ #16876]
10021 * nptl/sockperf.c (client): Check socket return value.
8dc97517 10022
a1189263
OB
10023 [BZ #16877]
10024 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
10025 nscd security class.
ce0c5b8f 10026
0f58d252
RM
100272014-05-06 Roland McGrath <roland@hack.frob.com>
10028
10029 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
10030 * sysdeps/arm/unwind.h: ... here.
10031
83df9ad0
AJ
100322014-05-06 Aurelien Jarno <aurelien@aurel32.net>
10033
ce0c5b8f
OB
10034 [BZ# 16916]
10035 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
10036 Define.
83df9ad0 10037
f360f94a
VR
100382014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
10039
10040 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
10041 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
10042 multiarch strncpy for PPC64.
10043 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
10044 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
10045 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
10046 multiarch optimizations.
10047 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
10048 (__libc_ifunc_impl_list): Likewise.
10049 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
10050 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
10051 multiarch stpncpy for PPC64.
10052 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
10053 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
10054
978a41c3
AS
100552014-05-06 Andreas Schwab <schwab@suse.de>
10056
10057 [BZ #16912]
10058 * gmon/mcount.c (_MCOUNT_DECL): Use
10059 atomic_compare_and_exchange_bool_acq instead of
10060 catomic_compare_and_exchange_bool_acq.
10061
eb1ed03d
RM
100622014-05-05 Roland McGrath <roland@hack.frob.com>
10063
fe658845
RM
10064 * elf/Makefile (others, install-bin): Remove pldd.
10065 (pldd-modules): Variable removed.
10066 ($(objpfx)pldd): Target removed.
10067 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
10068 (others, install-bin): Append pldd here.
10069 ($(objpfx)pldd): New target.
10070
eb1ed03d
RM
10071 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
10072 to 0, so the first #if test emitted later doesn't see it undefined.
10073 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
10074 * sysdeps/gnu/errlist.c: Regenerated.
10075
19c4bec0
AZ
100762014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10077
10078 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
10079 [libc_hidden_builtin_def]: Define to empty value.
10080 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
10081 [libc_hidden_builtin_def]: Likewise.
10082 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
10083 [libc_hidden_builtin_def]: Likewise.
10084 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
10085 [libc_hidden_builtin_def]: Likewise.
10086 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
10087 __redirect_memcpy and define ifunc as default hidden symbol.
10088 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
10089 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
10090
7776e669
AC
100912014-05-04 Adam Conrad <adconrad@0c3.net>
10092
10093 * locale/iso-4217.def: Reintroduce XDR currency.
10094
d69aeb12
AM
100952014-05-04 Allan McRae <allan@archlinux.org>
10096
10097 * po/eo.po: Update Esperanto translation from translation project.
10098
8f1df5cf
CD
100992014-05-02 Carlos O'Donell <carlos@redhat.com>
10100
10101 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
10102 and FEATURE_INDEX_MAX to 1.
10103 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
10104
13e402e7
SE
101052014-05-01 Steve Ellcey <sellcey@mips.com>
10106
10107 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
10108 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
10109 * iconvdata/big5.c (ONE_DIRECTION): Define.
10110 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
10111 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
10112 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
10113 * iconvdata/cp932.c (ONE_DIRECTION): Define.
10114 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
10115 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
10116 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
10117 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
10118 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
10119 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
10120 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
10121 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
10122 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
10123 * iconvdata/gbk.c (ONE_DIRECTION): Define.
10124 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
10125 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
10126 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
10127 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
10128 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
10129 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
10130 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
10131 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
10132 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
10133 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
10134 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
10135 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
10136 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
10137 * iconvdata/iso646.c (ONE_DIRECTION): Define.
10138 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
10139 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
10140 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
10141 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
10142 * iconvdata/johab.c (ONE_DIRECTION): Define.
10143 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
10144 * iconvdata/sjis.c (ONE_DIRECTION): Define.
10145 * iconvdata/t.61.c (ONE_DIRECTION): Define.
10146 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
10147 * iconvdata/tscii.c (ONE_DIRECTION): Define.
10148 * iconvdata/uhc.c (ONE_DIRECTION): Define.
10149 * iconvdata/unicode.c (ONE_DIRECTION): Define.
10150 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
10151 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
10152 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
10153
c727f032
RM
101542014-05-01 Roland McGrath <roland@hack.frob.com>
10155
8f2f08d0
RM
10156 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
10157 (_IO_JUMPS_OFFSET): Define to 0.
10158
c727f032
RM
10159 * nptl/sysdeps/pthread/bits/libc-lock.h
10160 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
10161 (__libc_lock_define_initialized_recursive): Always define using
10162 initializer. Modern compilers treat uninitialized (implicit zero) and
10163 explicit zero initializers the same (i.e. put the datum in bss).
10164
a849e800
AS
101652014-05-01 Andreas Schwab <schwab@linux-m68k.org>
10166
10167 * nscd/nscd-client.h: Include <string.h>.
10168
5331255b
DM
101692014-05-01 David S. Miller <davem@davemloft.net>
10170
10171 [BZ #16885]
10172 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
10173 multiple zero bytes exist at the end of a string.
10174 Reported by Aurelien Jarno <aurelien@aurel32.net>
10175
10176 * string/test-strcmp.c (check): Add explicit test for situations where
10177 there are multiple zero bytes after the first.
10178
4fdfe821
AS
101792014-05-01 Andreas Schwab <schwab@linux-m68k.org>
10180
10181 [BZ #16890]
10182 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
10183 when compiling wprintf.
10184 * stdio-common/tstdiomisc.c (t3): New function.
10185 (main): Call it.
10186
0cdddc25
SE
101872014-05-01 Steve Ellcey <sellcey@mips.com>
10188
10189 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
10190 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
10191 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
10192 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
10193
6426d77e
SE
101942014-05-01 Steve Ellcey <sellcey@mips.com>
10195
10196 * stdlib/longlong.h: Updated from GCC.
10197
6d96f5e4
WN
101982014-05-01 Will Newton <will.newton@linaro.org>
10199 Bernard Ogden <bernie.ogden@linaro.org>
10200
7470db0c
WN
10201 * NEWS: Update fixed bug list.
10202
6d96f5e4
WN
10203 [BZ #15119]
10204 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
10205
211d653c
DM
102062014-04-30 David S. Miller <davem@davemloft.net>
10207
4fa262fa
DM
10208 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
10209 (libc_feholdexcept_setround_sparc_ctx): New function.
10210 (libc_fesetenv_sparc_ctx): Likewise.
10211 (libc_feupdateenv_sparc_ctx): Likewise.
10212 (libc_feholdsetround_sparc_ctx): Likewise.
10213 (libc_feholdexcept_setround_ctx): Define.
10214 (libc_feholdexcept_setroundf_ctx): Likewise.
10215 (libc_feholdexcept_setroundl_ctx): Likewise.
10216 (libc_fesetenv_ctx): Likewise.
10217 (libc_fesetenvf_ctx): Likewise.
10218 (libc_fesetenvl_ctx): Likewise.
10219 (libc_feupdateenv_ctx): Likewise.
10220 (libc_feupdateenvf_ctx): Likewise.
10221 (libc_feupdateenvl_ctx): Likewise.
10222 (libc_feresetround_ctx): Likewise.
10223 (libc_feresetroundf_ctx): Likewise.
10224 (libc_feresetroundl_ctx): Likewise.
10225 (libc_feholdsetround_ctx): Likewise.
10226 (libc_feholdsetroundf_ctx): Likewise.
10227 (libc_feholdsetroundl_ctx): Likewise.
10228
1d3d93ef
DM
10229 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
10230 with __USE_GNU instead of XOPEN cpp guards.
10231
8aa583c3
DM
10232 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
10233 0.
10234
211d653c
DM
10235 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
10236 with XOPEN cpp guards.
10237
60c8f1f6
JB
102382014-04-30 Julian Brown <julian@codesourcery.com>
10239
10240 [BZ #16888]
10241 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
10242 handling.
10243
9a461d46
JM
102442014-04-30 Joseph Myers <joseph@codesourcery.com>
10245
d0f5b3f8
JM
10246 [BZ #9894]
10247 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
10248 Change to 2.6.32.
10249 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
10250 * sysdeps/unix/sysv/linux/configure: Regenerated.
10251 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
10252 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
10253 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
10254 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
10255 * README: Update reference to required Linux kernel version.
10256 * manual/install.texi (Linux): Update reference to required Linux
10257 kernel headers version.
10258 * INSTALL: Regenerated.
10259
9a461d46
JM
10260 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
10261 header inclusion.
10262 [POSIX] (limits.h): Likewise.
10263 [POSIX] (math.h): Likewise.
10264 [POSIX] (sys/wait.h): Likewise.
10265 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
10266 function.
10267 [POSIX] (stddef.h): Do not allow header inclusion.
10268
1775babf
AZ
102692014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10270
57f41c40 10271 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
1775babf 10272
8f630cca
YY
102732014-04-30 Yang Yingliang <yangyingliang@huawei.com>
10274
10275 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
10276 Return immediately after lll_futex_wake.
10277
1cdeb237
SP
102782014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
10279
bc8f194c
SP
10280 [BZ #16791]
10281 * nscd/nscd-client.h (datahead_init_common): Initialize entire
10282 structure.
10283 (datahead_init_pos): Call datahead_init_common early.
10284 (datahead_init_neg): Likewise.
10285
1cdeb237
SP
10286 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
10287 datahead_init_neg): New functions.
10288 * nscd/aicache.c (addhstaiX): Use them.
10289 * nscd/grpcache.c (cache_addgr): Likewise.
10290 * nscd/hstcache.c (cache_addhst): Likewise.
10291 * nscd/initgrcache.c (addinitgroupsX): Likewise.
10292 * nscd/netgroupcache.c (do_notfound): Likewise.
10293 (addgetnetgrentX): Likewise.
10294 (addinnetgrX): Likewise.
10295 * nscd/pwdcache.c (cache_addpw): Likewise.
10296 * nscd/servicescache.c (cache_addserv): Likewise.
10297
16b293a7
SP
102982014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
10299 Atsushi Onoe <atsushi@onoe.org>
10300
10301 [BZ #14308]
10302 [BZ #12994]
10303 [BZ #13651]
10304 * resolv/res_query.c (__libc_res_nsearch): Return if at least
10305 one response is valid.
10306 * resolv/res_send.c (send_dg): Check for validity of other
10307 response if the current response is a referral.
10308
a28a9b94
SE
103092014-04-29 Steve Ellcey <sellcey@mips.com>
10310
10311 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
10312
2ca180e9
SL
103132014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
10314
10315 [BZ #16823]
10316 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
10317 Always divide by positive zero when computing -Inf result.
10318 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
10319 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
10320
18f2945a
AZ
103212014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10322
10323 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
10324 FPSCR if value do not change.
10325 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
10326 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
10327 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
10328 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
10329 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
10330 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
10331 function.
10332
5abebba4
CD
103332014-05-29 Carlos O'Donell <carlos@systemhalted.org>
10334
10335 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
10336 * sysdeps/unix/sysv/linux/hppa: Move directory from
10337 ports/systeps/unix/sysv/linux/hppa.
10338 * README: Update listing for hppa-*-linux-gnu.
10339
f7ed60c2
OB
103402014-04-28 Ondřej Bílka <neleai@seznam.cz>
10341
fff763a5
OB
10342 [BZ #16754]
10343 * manual/stdio.texi (Hook functions): Fix types of stream hook
10344 functions.
f7ed60c2
OB
10345 [BZ #16854]
10346 * socket/sys/socket.h: Fix typo in comment.
10347
df639d73
WD
103482014-04-28 Wilco <wdijkstr@arm.com>
10349
f7ed60c2 10350 * sysdeps/arm/fenv_private.h: New file.
df639d73
WD
10351 * sysdeps/arm/math_private.h: New file.
10352 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
10353
48332d82
L
103542014-04-25 H.J. Lu <hongjiu.lu@intel.com>
10355
10356 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
10357 with __int128_t.
10358 (La_x86_64_retval): Likewise.
10359
e5e0d9a4
IB
103602014-04-24 Ian Bolton <ian.bolton@arm.com>
10361
10362 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
10363 fpsr if value didn't change.
10364 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
10365 to fpcr if value didn't change.
10366 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
10367 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
10368 fpsr or fpcr if value didn't change.
10369 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
10370 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
10371 fpcr if value didn't change.
10372 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
10373 to fpsr if value didn't change.
10374
bacc75f7
SP
103752014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
10376
10377 * nptl/tst-sem3.c: Use test-skeleton.c
10378 (main): Rename to do_test. Use return instead of
10379 exit.
10380 * nptl/tst-sem4.c: Use test-skeleton.c
10381 (main): Rename to do_test.
10382
a059d359
DM
103832014-04-22 David S. Miller <davem@davemloft.net>
10384
10385 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
10386 (struct sigaction): New struct member __glibc_reserved0, change
10387 type of sa_flags to int.
10388
ea6c92f3
YZ
103892014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
10390
10391 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
10392 (COUNT_LEADING_ZEROS_0): Define for AArch64.
10393
766c4a36
SP
103942014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
10395
10396 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
10397 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
10398
140cc7ab
VK
103992014-04-22 Will Newton <will.newton@linaro.org>
10400 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
10401
10402 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
10403 (__longjmp): Add longjmp and longjmp_target SystemTap
10404 probes.
10405 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
10406 (__sigsetjmp): Add setjmp SystemTap probe.
10407
c54e5cf7
CD
104082014-04-17 Carlos O'Donell <carlos@redhat.com>
10409
10410 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
10411 match manual order.
10412
75ffb047
AZ
104132014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10414
10415 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
10416
2cd925f7
AZ
10417 * sysdeps/powerpc/fpu/fenv_private.h
10418 (libc_feholdexcept_setroundl_ctx): Define to
10419 libc_feholdexcept_setround_ppc_ctx.
10420 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
10421 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
10422 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
10423 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
10424
39e6cd8d
IB
104252014-04-17 Ian Bolton <ian.bolton@arm.com>
10426
10427 * sysdeps/aarch64/math-tests.h: New file.
10428
f9281df9
SY
104292014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
10430
10431 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
10432 New.
10433 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10434 Check and set bit_AVX2_Usable.
10435 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
10436 macro.
10437 (bit_AVX2): Likewise.
10438 (index_AVX2_Usable): Likewise.
10439 (CPUID_AVX2): Likewise.
10440 (HAS_AVX2): Likewise.
10441
37d35007
WN
104422014-04-17 Will Newton <will.newton@linaro.org>
10443
7c677662
WN
10444 * manual/setjmp.texi (System V contexts): Add note that
10445 calling setcontext on a context created by a call to a
10446 signal handler is undefined. Update text to note that
10447 setcontext from a signal handler is possible but not
10448 recommended.
10449
37d35007 10450 [BZ #16629]
e04a4e9d
WN
10451 * stdlib/tst-setcontext.c: Include signal.h.
10452 (main): Check that the signal stack before and
10453 after swapcontext is the same.
10454
37d35007
WN
10455 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
10456 Re-implement to restore registers in user code and avoid
10457 rt_sigreturn system call.
10458
423a7160
W
104592014-04-17 Wilco <wdijkstr@arm.com>
10460
10461 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
10462 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
10463 * math/test-fenv.c: Skip exception trap tests on targets which only
10464 support non-stop mode.
10465
bc93ab29
IB
104662014-04-17 Ian Bolton <ian.bolton@arm.com>
10467 Wilco Dijkstra <wilco.dijkstra@arm.com>
10468
10469 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
10470 (libc_feholdsetround_aarch64_ctx)
10471 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
10472 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
10473 (libc_feresetround_ctx, libc_feresetroundf_ctx)
10474 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
10475 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
10476 (libc_feresetround_noexl_ctx): Define.
10477
95fc5fa3
RH
104782014-04-16 Richard Henderson <rth@redhat.com>
10479
ddb04724
RH
10480 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
10481
d77c0899
RH
10482 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
10483 unwind tables.
10484
a3df56fc
RH
10485 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
10486 const from the non-libc, non-ldso copy.
10487
95fc5fa3
RH
10488 * sysdeps/alpha/libm-test-ulps: Regenerate.
10489
7e0b6763
IB
104902014-04-16 Ian Bolton <ian.bolton@arm.com>
10491 Wilco Dijkstra <wilco.dijkstra@arm.com>
10492
10493 * sysdeps/aarch64/fpu/math_private.h: New file.
10494
a9ea2e0c
MS
104952014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
10496
10497 * sysdeps/aarch64/libm-test-ulps: Regenerate.
10498
ea8ba7cd
IZ
104992014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
10500
7e54fd04 10501 [BZ #16275]
ea8ba7cd
IZ
10502 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
10503 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
10504 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
10505 Intel MPX bound registers before _dl_profile_fixup.
10506 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
10507 registers after _dl_profile_fixup. Save and restore bound
10508 registers bnd0/bnd1 when calling _dl_call_pltexit.
10509 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
10510 (LR_BND_OFFSET): Likewise.
10511 (LRV_BND0_OFFSET): Likewise.
10512 (LRV_BND1_OFFSET): Likewise.
10513
9f2a4fbc
ST
105142014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
10515
10516 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
10517 to...
10518 * sysdeps/mach/hurd/i386/tls.h: ... here.
3c799e91
ST
10519 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
10520 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
10521 fields.
9f2a4fbc 10522
fd15a59b
ST
105232014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
10524
10525 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
10526
f19dfa0a
SL
105272014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
10528
10529 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
10530
4fa8bc3b
SL
105312014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
10532
10533 [BZ #14770]
10534 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
10535 * sysdeps/s390/configure: Regenerate.
10536
8ea587db
SL
10537 [BZ #16824]
10538 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
10539 Set round-to-nearest internally to reduce error accumulation.
10540
aa5f0ff1
AM
105412014-04-16 Alan Modra <amodra@gmail.com>
10542
10543 [BZ #16740]
10544 [BZ #16619]
10545 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
10546 * math/libm-test.inc (frexp_test_data): Add tests.
9860b045 10547 * NEWS: Update fixed bug list.
aa5f0ff1 10548
bb9c256f
SP
105492014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
10550
10551 * benchtests/Makefile: Depend on libraries in build directory.
10552 (bench-math): Separate out math tests.
10553 (bench-pthread): Separate out pthread tests.
10554 (bench): Include math and pthread tests.
10555
f737dfd0
CD
105562014-04-14 Carlos O'Donell <carlos@redhat.com>
10557
10558 [BZ #16831]
10559 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
10560 _dl_debug_initialize.
10561
0699f766
CD
10562 * configure.ac: Remove SELinux header check.
10563 * configure: Regenerate.
10564 * nscd/selinux.c (perms): Array of const char* to permission names.
10565 (nscd_request_avc_has_perm): Call security_deny_unknown to find
10566 default policy. Call string_to_security_class and string_to_av_perm to
10567 translate strings. Enforce default policy and call avs_has_perm with
10568 results of translated strings.
10569
809bd45f
DM
105702014-04-13 David S. Miller <davem@davemloft.net>
10571
10572 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10573
89e691f2
AM
105742014-04-12 Allan McRae <allan@archlinux.org>
10575
10576 [BZ #16838]
10577 * manual/string.texi (Collation Functions): Fix qsort argument
10578 order in example.
10579 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
10580
9c9daaeb
CM
105812014-04-11 Chris Metcalf <cmetcalf@tilera.com>
10582
10583 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
10584 Make the test a no-op if there are no exceptions defined.
10585
95561fb9
PP
105862014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
10587
fe8d072c 10588 * elf/Makefile (tests): make tst-dlopen-aout conditional on
95561fb9
PP
10589 enable-hardcoded-path-in-tests
10590
970c602a
WN
105912014-04-11 Will Newton <will.newton@linaro.org>
10592
10593 * benchtests/Makefile (extra-objs): Add json-lib.o.
10594 (bench-func): Tidy up JSON output.
10595 * benchtests/bench-skeleton.c: Include json-lib.h.
10596 (main): Use JSON library functions to do output of
10597 benchmark results.
10598 * benchtests/bench-timing-type.c (main): Output the
10599 timing type simply, leaving formatting to the user.
10600 * benchtests/json-lib.c: New file.
10601 * benchtests/json-lib.h: Likewise.
10602
36875b06
TR
106032014-04-11 Torvald Riegel <triegel@redhat.com>
10604
10605 [BZ #15215]
10606 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
10607 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
10608 memory barriers. Add comments.
10609 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
10610 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
10611 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
10612 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
10613 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
10614 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
10615
579db35a
SL
106162014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
10617
10618 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
10619 * sysdeps/s390/s390-64/configure.ac: ... this ...
10620 * sysdeps/s390/configure.ac: ... to here.
10621 * sysdeps/s390/s390-32/configure: Delete file.
10622 * sysdeps/s390/s390-64/configure: Delete file.
10623 * sysdeps/s390/configure: Regenerate.
10624
c12e9f37
JAPH
106252014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
10626
10627 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
10628
439bda32
WN
106292014-04-11 Will Newton <will.newton@linaro.org>
10630
10631 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
10632 to zero if it is not defined elsewhere. (mtrim): Test
10633 the value of MALLOC_DEBUG with #if rather than #ifdef.
10634
6a5d6ea1
TR
106352014-04-10 Torvald Riegel <triegel@redhat.com>
10636
10637 * benchtests/pthread_once-inputs: New file.
10638 * benchtests/pthread_once-source.c: New file.
10639 * benchtests/README: Update documentation.
10640
a4c75cfd
IZ
106412014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
10642 H.J. Lu <hongjiu.lu@intel.com>
10643
7e54fd04 10644 [BZ #16275]
a4c75cfd
IZ
10645 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
10646 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
10647 * sysdeps/x86_64/configure: Regenerated.
10648 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
10649 macro.
10650 (REGISTER_SAVE_RAX): Likewise.
10651 (REGISTER_SAVE_RCX): Likewise.
10652 (REGISTER_SAVE_RDX): Likewise.
10653 (REGISTER_SAVE_RSI): Likewise.
10654 (REGISTER_SAVE_RDI): Likewise.
10655 (REGISTER_SAVE_R8): Likewise.
10656 (REGISTER_SAVE_R9): Likewise.
10657 (REGISTER_SAVE_BND0): Likewise.
10658 (REGISTER_SAVE_BND1): Likewise.
10659 (REGISTER_SAVE_BND2): Likewise.
10660 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
10661 bound registers when calling _dl_fixup.
10662
27822ce6
AZ
106632014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10664
10665 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
57f41c40
AS
10666 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
10667 of its definition.
27822ce6
AZ
10668 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
10669 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
10670 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
10671 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
10672 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
10673 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
10674 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
10675
a88ddc90
PTB
106762014-04-09 Peter Brett <peter@peter-b.co.uk>
10677
10678 [BZ #15514]
10679 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
10680 pathconf(_PC_NAME_MAX).
10681
01f8eac2
AZ
106822014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10683
10684 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
10685 Remove macro usage.
10686 (__PTHREAD_SPINS): Move definition to ...
10687 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
10688 (__PTHREAD_SPINS): ... here.
10689 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
10690 (__PTHREAD_SPIN): Likewise.
10691 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
10692 (__PTHREAD_SPIN): Likewise.
10693 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
10694 (__PTHREAD_SPIN): Likewise.
10695 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
10696 (__PTHREAD_SPIN): Likewise.
10697 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
10698 (__PTHREAD_SPIN): Likewise.
10699 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
10700 (__PTHREAD_SPIN): Likewise.
10701 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
10702 (__PTHREAD_SPIN): Likewise.
10703 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
10704 (__PTHREAD_SPIN): Likewise.
10705 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
10706 (__PTHREAD_SPIN): Likewise.
10707 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
10708 (__PTHREAD_SPIN): Likewise.
10709 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
10710 (__PTHREAD_SPIN): Likewise.
10711 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
10712 (__PTHREAD_SPIN): Likewise.
10713
de21c33c
AZ
10714 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
10715 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
10716 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
10717 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
10718 imply folder.
10719 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
10720 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
10721 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
10722 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
10723 correct imply path.
10724 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
10725 strlen symbol for non multi-arch builds.
10726 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
10727 missing hidden_def and weak_alias.
10728
862c472e
CD
107292014-04-08 Carlos O'Donell <carlos@redhat.com>
10730
10731 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
10732
8667f90e
WN
107332014-04-07 Will Newton <will.newton@linaro.org>
10734
10735 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
10736 and contents. [!_LIBC] Remove #ifndef and contents.
10737 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
10738 * string/memccpy.c (__memccpy): Use ANSI prototype.
10739 * string/memfrob.c (memfrob): Likewise.
10740 * string/strcoll.c (STRCOLL): Likewise.
10741 * string/strlen.c (strlen): Likewise.
10742 * string/strtok.c (STRTOK): Likewise.
10743 * string/strcat.c: Remove unused #include of memcopy.h.
10744 (strcat): Use ANSI prototype.
10745 * string/strchr.c: Remove unused #include of memcopy.h.
10746 (strchr): Use ANSI prototype.
10747 * string/strcmp.c: Remove unused #include of memcopy.h.
10748 (strcmp): Use ANSI prototype.
10749 * string/strcpy.c: Remove unused #include of memcopy.h.
10750 (strcpy): Use ANSI prototype.
10751
7ffa9423
AZ
107522014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10753
10754 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
10755 * config.make.in (config-extra-cppflags): Set it from
10756 libc_extra_cppflags.
10757 * configure.ac (libc_extra_cflags): Make it accumulate over
10758 configure fragments.
10759 (libc_extra_cppflags): New flag.
10760 * configure. Regenerate.
10761 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
57f41c40
AS
10762 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
10763 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
7ffa9423
AZ
10764 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
10765
8bd70862
AZ
10766 [BZ #16815]
10767 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
10768 result for FE_DOWNWARD rounding mode.
10769 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
10770 Likewise.
10771 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10772
d42f3448
CM
107732014-04-04 Chris Metcalf <cmetcalf@tilera.com>
10774
10775 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
10776 in function argument name.
10777
1c21d115
DS
107782014-04-03 David Svoboda <svoboda@cert.org>
10779
10780 [BZ #5666]
10781 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
10782 explicitly.
10783
fcccd512
RM
107842014-04-03 Roland McGrath <roland@hack.frob.com>
10785
10786 * elf/dl-unmap-segments.h: New file.
10787 * sysdeps/generic/ldsodefs.h
10788 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
10789 * elf/dl-close.c: Include <dl-unmap-segments.h>.
10790 * elf/dl-fptr.c: Likewise.
10791 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
10792 * sysdeps/aarch64/tlsdesc.c: Likewise.
10793 * sysdeps/arm/tlsdesc.c: Likewise.
10794 * sysdeps/i386/tlsdesc.c: Likewise.
10795 * sysdeps/tile/dl-runtime.c: Likewise.
10796 * sysdeps/x86_64/tlsdesc.c: Likewise.
10797 * elf/dl-load.h: New file.
10798 * elf/dl-load.c: Include it.
10799 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
10800 Macros moved to dl-load.h.
10801 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
10802 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
10803 Use _dl_unmap_segments in place of __munmap.
10804 Break out segment-mapping loop into ...
10805 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
10806
f6488e2b
WN
108072014-04-03 Will Newton <will.newton@linaro.org>
10808
10809 * elf/dl-lookup.c (do_lookup_x): Remove comment
10810 referring to nested function and move variable
10811 declarations down to before first use.
10812
6f05bafe
JM
108132014-04-02 Joseph Myers <joseph@codesourcery.com>
10814
a84e78c8
JM
10815 [BZ #16799]
10816 [BZ #16800]
10817 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
10818 with 0 numerator.
10819 * math/s_catanf.c (__catanf): Likewise.
10820 * math/s_catanh.c (__catanh): Likewise.
10821 * math/s_catanhf.c (__catanhf): Likewise.
10822 * math/s_catanhl.c (__catanhl): Likewise.
10823 * math/s_catanl.c (__catanl): Likewise.
10824 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
10825 by positive zero when computing -Inf result.
10826 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
10827 (catanh_test): Likewise.
10828 * sysdeps/i386/fpu/libm-test-ulps: Update.
10829 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10830
6f05bafe
JM
10831 [BZ #16789]
10832 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
10833 instead of using underflowing value in computing result.
10834 * math/s_clog10.c (__clog10): Likewise.
10835 * math/s_clog10f.c (__clog10f): Likewise.
10836 * math/s_clog10l.c (__clog10l): Likewise.
10837 * math/s_clogf.c (__clogf): Likewise.
10838 * math/s_clogl.c (__clogl): Likewise.
10839 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
10840 (clog10_test): Likewise.
10841 * sysdeps/i386/fpu/libm-test-ulps: Update.
10842 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10843
b0abbc21
AM
108442014-04-02 Alan Modra <amodra@gmail.com>
10845
10846 [BZ #16739]
10847 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
10848 output when value is near a power of two. Use int64_t for lx and
10849 remove casts. Use decimal rather than hex exponent constants.
10850 Don't use long double multiplication when double will suffice.
10851 * math/libm-test.inc (nextafter_test_data): Add tests.
10852 * NEWS: Add 16739 and 16786 to bug list.
10853
af6b1797
AM
10854 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
10855
483818d7
AM
10856 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
10857
f6c55796
WN
108582014-04-01 Will Newton <will.newton@linaro.org>
10859
10860 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
10861 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
10862
13f7fe35
FW
108632014-04-01 Florian Weimer <fweimer@redhat.com>
10864
10865 [BZ #13347]
10866 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
10867 * nptl/tst-setuid2.c: New file.
10868 * nptl/Makefile (xtests): Add tst-setuid2.
10869
c859b32e
AM
108702014-04-01 Alan Modra <amodra@gmail.com>
10871
10872 [BZ #16786]
10873 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
10874
54fa2475
JM
108752014-03-31 Joseph Myers <joseph@codesourcery.com>
10876
8795b4a4
JM
10877 [BZ #6803]
10878 [BZ #6804]
10879 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
10880 set errno as appropriate.
10881 * math/w_scalbf.c (__scalbf): Likewise.
10882 * math/w_scalbl.c (__scalbl): Likewise.
10883 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
10884 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
10885 * math/libm-test.inc (scalb_test_data): Add errno expectations.
10886 Add more NaN tests.
10887
54fa2475
JM
10888 [BZ #16349]
10889 * math/w_atan2.c: Include <errno.h>.
10890 (__atan2): Set errno for result underflowing to zero.
10891 * math/w_atan2f.c: Include <errno.h>.
10892 (__atan2f): Set errno for result underflowing to zero.
10893 * math/w_atan2l.c: Include <errno.h>.
10894 (__atan2l): Set errno for result underflowing to zero.
10895 * math/auto-libm-test-in: Don't allow missing errno for some atan2
10896 tests.
10897 * math/auto-libm-test-out: Regenerated.
10898
757d9dd5
AZ
108992014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10900
10901 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
10902 Encode instruction correctly in little endian.
10903 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
10904 Likewise.
10905 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
10906 Likewise.
10907 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
10908 Likewise.
10909 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
10910 Likewise.
10911
d7a68734
JM
109122014-03-31 Joseph Myers <joseph@codesourcery.com>
10913
47c5adeb
JM
10914 [BZ #9894]
10915 * sysdeps/unix/sysv/linux/kernel-features.h
10916 [__sparc__ && !__arch64__ && !__sparc_v9__]
10917 (__ASSUME_SET_ROBUST_LIST): Do not define.
10918 [__sparc__ && !__arch64__ && !__sparc_v9__]
10919 (__ASSUME_FUTEX_LOCK_PI): Likewise.
10920 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
10921 Likewise.
10922 * sysdeps/unix/sysv/linux/arm/kernel-features.h
10923 (__ASSUME_FUTEX_LOCK_PI): Undefine.
10924 (__ASSUME_REQUEUE_PI): Likewise.
10925 (__ASSUME_SET_ROBUST_LIST): Likewise.
10926 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
10927 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
10928 Undefine.
10929 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10930 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
10931 Likewise.
10932 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
10933 Likewise.
10934 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
10935 Likewise.
10936 * sysdeps/unix/sysv/linux/mips/kernel-features.h
10937 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
10938 Undefine.
10939 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
10940 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
10941 Likewise.
10942
d7a68734
JM
10943 [BZ #16648]
10944 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10945 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
10946 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
10947
c760f5c2
WN
109482014-03-31 Will Newton <will.newton@linaro.org>
10949
10950 * benchtests/Makefile (bench): Add ffs and ffsll to list
10951 of tests.
10952 * benchtests/ffs-inputs: New file.
10953 * benchtests/ffsll-inputs: Likewise.
10954
ea6029b1
JM
109552014-03-29 Joseph Myers <joseph@codesourcery.com>
10956
10957 [BZ #16770]
10958 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
10959 too large before casting to int.
10960 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
10961 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
10962 * math/libm-test.inc (scalb_test_data): Add more tests.
10963
cf806aff
SP
109642014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
10965
56737508
SP
10966 * benchtests/Makefile (DETAILED_OPT): New make option.
10967 (bench-func): Run benchmark program with -d if DETAILED_OPT is
10968 set.
10969 * benchtests/bench-skeleton.c: Include stdbool.h.
10970 (main): Store and print timings per input.
10971 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
10972 member to each argument value.
10973 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
10974 (_print_arg_data): Initialize per-input timing to 0.
10975
cb5e4aad
SP
10976 * benchtests/Makefile (timing-type): New binary.
10977 (bench-clean): Also remove bench-timing-type.
10978 (bench): New target for timing-type.
10979 (bench-func): Print output in JSON format.
10980 * benchtests/bench-skeleton.c (main): Print output in JSON
10981 format.
10982 * benchtests/bench-timing-type.c: New file.
10983 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
10984 (TIMING_PRINT_STATS): Remove.
10985 * benchtests/scripts/bench.py (_print_arg_data): Store variant
10986 name separately.
10987
cf806aff
SP
10988 * benchtests/bench-modf.c: Remove.
10989 * benchtests/modf-inputs: New inputs file.
10990
289e0779
JM
109912014-03-28 Joseph Myers <joseph@codesourcery.com>
10992
10993 [BZ #16362]
10994 * math/s_clog10.c (M_PI_LOG10E): New macro.
10995 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
10996 imaginary parts are 0.
10997 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
10998 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
10999 imaginary parts are 0.
11000 * math/s_clog10l.c (M_PI_LOG10El): New macro.
11001 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
11002 imaginary parts are 0.
11003 * math/libm-test.inc (clog10_test_data): Update expected results
11004 for when real and imaginary parts are 0.
11005
277ae3f1
PP
110062014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
11007
11008 * elf/dl-load.c: Finish conversion of __builtin_expect into
11009 __glibc_{un}likely.
11010
03a7091f
JM
110112014-03-27 Joseph Myers <joseph@codesourcery.com>
11012
11013 [BZ #16348]
11014 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
11015 1+x for argument with exponent below -67.
11016 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
11017 Likewise.
11018 * math/auto-libm-test-in: Add more tests of exp.
11019 * math/auto-libm-test-out: Regenerated.
11020
ea7d8b95
SP
110212014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
11022
dd3022d7
SP
11023 [BZ #16759]
11024 * inet/getnetgrent_r.c (get_nonempty_val): New function.
11025 (nscd_getnetgrent): Use it.
11026
ea7d8b95
SP
11027 [BZ #16760]
11028 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
11029 of stpcpy.
11030
df5b85da
AK
110312014-03-27 Andi Kleen <ak@linux.intel.com>
11032
57f41c40
AS
11033 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
11034 (lll_robust_lock, lll_cond_lock, lll_timedlock)
11035 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
11036 (lll_robust_unlock): Remove out of line section. Use cfi
11037 intrinsics.
df5b85da 11038 (LLL_STUB_UNWIND_INFO*): Remove.
57f41c40
AS
11039 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
11040 (lll_robust_lock, lll_cond_lock, lll_timedlock)
11041 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
11042 (lll_robust_unlock): Remove out of line section. Use cfi
11043 intrinsics.
df5b85da
AK
11044 (LLL_STUB_UNWIND_INFO*): Remove.
11045
fbd6b5a4
SP
110462014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
11047
11048 [BZ #16758]
11049 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
11050 blank values.
11051
1b26b855
PP
110522014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
11053
11054 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
11055
9be36fb8
JM
110562014-03-26 Joseph Myers <joseph@codesourcery.com>
11057
11058 [BZ #16198]
11059 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
11060 fnstenv.
11061 * math/test-fenv-preserve.c: New file.
11062 * math/Makefile (tests): Add test-fenv-preserve.
11063
60a2f3c1
WN
110642014-03-26 Will Newton <will.newton@linaro.org>
11065
11066 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
11067
a5e5f1e2
RM
110682014-03-25 Roland McGrath <roland@hack.frob.com>
11069
11070 * scripts/versionlist.awk: Partition the version sets and emit all
11071 GLIBC_* (sorted) before all others (sorted).
11072
00f4012a
JM
110732014-03-25 Joseph Myers <joseph@codesourcery.com>
11074
11075 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
11076 GLIBC_2.2.5 version.
11077
7bc5a741
AZ
110782014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11079
11080 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
11081 calls.
11082
7578473b
AZ
11083 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
11084 previous change.
11085
f3f1dab3
AZ
11086 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11087
6da36183
AS
110882014-03-25 Andreas Schwab <schwab@suse.de>
11089
11090 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
11091 label to be used after in6ailist is initialized.
11092
f3f1dab3 110932014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
449282f2 11094
7578473b 11095 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
449282f2
AZ
11096 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
11097
046651c1
JM
110982014-03-25 Joseph Myers <joseph@codesourcery.com>
11099
11100 [BZ #16357]
11101 [BZ #16599]
11102 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
11103 min_plus_half.
11104 (fp_formats): Update initializers.
11105 (init_fp_formats): Initialize new field.
11106 (output_for_one_input_case): Allow underflow for results up to
11107 min_plus_half.
11108 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
11109 * math/auto-libm-test-in: Don't mark some underflows from asin and
11110 atanh as spurious.
11111 * math/auto-libm-test-out: Regenerated.
11112 * sysdeps/i386/fpu/libm-test-ulps: Update.
11113 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11114
003e49ed
AS
111152014-03-25 Andreas Schwab <schwab@suse.de>
11116
11117 * libio/Makefile (tst-ftell-partial-wide-ENV)
11118 (tst-ftell-active-handler-ENV): Define.
11119
de031874
SL
111202014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
11121
11122 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
11123
55a81e3b
PP
111242014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
11125
11126 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
11127
f3426898
JM
111282014-03-24 Joseph Myers <joseph@codesourcery.com>
11129
11130 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
11131 * sysdeps/x86_64/fpu/multiarch/e_exp.c
11132 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
11133
a42faf59
PP
111342014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
11135
11136 [BZ #16634]
a42faf59 11137 * elf/dl-load.c (open_verify): Add mode parameter.
97d8ca99
CD
11138 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
11139 (open_path): Change from boolean 'secure' to complete flag 'mode'
11140 (_dl_map_object): Adjust.
a42faf59
PP
11141 * elf/Makefile (tests): Add tst-dlopen-aout.
11142 * elf/tst-dlopen-aout.c: New test.
11143
50936127
SL
111442014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
11145
11146 [BZ #16714]
11147 * sysdeps/unix/sysv/linux/s390/bits/stat.h
11148 (struct stat): Rename member pad0 to __glibc_reserved0.
11149
26011b5c
SL
11150 [BZ #16712]
11151 * sysdeps/s390/s390-32/bits/wordsize.h
11152 (__WORDSIZE32_SIZE_ULONG): New define.
11153 * sysdeps/s390/s390-64/bits/wordsize.h
11154 (__WORDSIZE32_SIZE_ULONG): Likewise.
11155 * sysdeps/generic/stdint.h (SIZE_MAX):
11156 Define as UL if __WORDSIZE32_SIZE_ULONG.
11157
a2d86bf1
SL
11158 [BZ #16713]
11159 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
11160 (__glibc_reserved0): New variable.
11161 (sa_flags): Change type to int.
11162
78b6eebc
SL
11163 * posix/Makefile (before-compile): Use += before-compile instead
11164 of a :=.
11165
f1399b5a
SL
11166 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
11167 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
11168
a071766e
AS
111692014-03-20 Andreas Schwab <schwab@suse.de>
11170
11171 [BZ #16743]
11172 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
11173 non-matching result from nscd.
11174
27c673b8
SP
111752014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
11176
11177 * scripts/bench.py: Moved to ...
11178 * benchtests/scripts/bench.py: ... here.
11179 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
11180
44152e4b
AS
111812014-03-24 Andreas Schwab <schwab@suse.de>
11182
11183 [BZ #16002]
11184 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
11185 alloca_account and account alloca use for struct in6ailist.
11186
b376a11a
JM
111872014-03-24 Joseph Myers <joseph@codesourcery.com>
11188
11189 [BZ #16284]
11190 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
11191 rounding mode to recompute results that overflow to infinity or
11192 underflow to zero.
11193 * math/auto-libm-test-in: Don't mark tests as expected to fail for
11194 bug 16284.
11195 * math/auto-libm-test-out: Regenerated.
11196 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
11197 (ccosh_test): Likewise.
11198 (csin_test_data): Use plus_oflow.
11199 (csin_test): Use ALL_RM_TEST.
11200 (csinh_test_data): Use plus_oflow.
11201 (csinh_test): Use ALL_RM_TEST.
11202 * sysdeps/i386/fpu/libm-test-ulps: Update.
11203 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11204
f7be7376
JM
112052014-03-21 Joseph Myers <joseph@codesourcery.com>
11206
1ca2d03e
JM
11207 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
11208 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
11209 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
11210
f7be7376
JM
11211 [BZ #16731]
11212 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
11213 when x - 1 is zero.
11214 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
11215 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
11216 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
11217 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
11218 argument is 1.
11219 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
11220 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
11221 zero.
11222 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
11223 * sysdeps/i386/fpu/libm-test-ulps: Update.
11224 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11225
fdf4534d
SP
112262014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
11227
df26ea53
SP
11228 * scripts/bench.pl: Remove file.
11229 * scripts/bench.py: New benchmark script.
11230 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
11231 * benchtests/README: Mention python dependency.
11232 * scripts/pylintrc: New file.
11233 * scripts/pylint: New file.
11234
fdf4534d
SP
11235 * bits/mathdef.h: Use #ifdef instead of #if.
11236 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
11237 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
11238 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
11239 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
11240 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
11241 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
11242
6f23d093
AZ
112432014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11244 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
11245
11246 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
11247 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
11248 and strpbrk-ppc64 objects.
11249 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11250 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
11251 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
11252 multiarch strpbrk for POWER7.
11253 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
11254 multiarch strpbrk for PPC64.
11255 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
11256 ifunc selector.
11257 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
11258 strpbrk for POWER7.
11259
8c92dfff
JM
112602014-03-20 Joseph Myers <joseph@codesourcery.com>
11261
11262 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
11263 (atan_test): Likewise.
11264 (atanh_test_data): Use NO_TEST_INLINE for two tests.
11265 (atanh_test): Use ALL_RM_TEST.
11266 (atan2_test_data): Likewise.
11267 (cabs_test): Likewise.
11268 (cacosh_test): Likewise.
11269 (carg_test): Likewise.
11270 (casin_test): Likewise.
11271 (casinh_test): Likewise.
11272 (cbrt_test): Likewise.
11273 (csqrt_test): Likewise.
11274 (erf_test): Likewise.
11275 (erfc_test): Likewise.
11276 (pow10_test): Likewise.
11277 (exp2_test): Likewise.
11278 (hypot_test): Likewise.
11279 (j0_test): Likewise.
11280 (j1_test): Likewise.
11281 (lgamma_test): Likewise.
11282 (gamma_test): Likewise.
11283 (sincos_test): Likewise.
11284 (tanh_test): Likewise.
11285 (y0_test): Likewise.
11286 (y1_test): Likewise.
11287 * sysdeps/i386/fpu/libm-test-ulps: Update.
11288 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11289
6eaf95cb
AZ
112902014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11291
a387428c
SP
11292 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
11293 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
6eaf95cb
AZ
11294 and strcspn-ppc64 objects.
11295 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11296 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
11297 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
11298 multiarch strcspn for POWER7.
11299 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
11300 multiarch strcspn for PPC64.
11301 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
11302 ifunc selector.
11303 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
11304 strcspn for POWER7.
11305
ae3a5dff
JM
113062014-03-20 Joseph Myers <joseph@codesourcery.com>
11307
11308 * math/gen-libm-test.pl (generate_testfile): Expect only function
11309 name as argument to AUTO_TESTS_* and pass results for all rounding
11310 modes to parse_args.
11311 (parse_auto_input): Separate inputs of automatic tests from
11312 outputs before storing in %auto_tests.
11313 * math/libm-test.inc (acos_test_data): Update call to
11314 AUTO_TESTS_f_f.
11315 (acos_test): Use ALL_RM_TEST.
11316 (acos_tonearest_test_data): Remove.
11317 (acos_test_tonearest): Likewise.
11318 (acos_towardzero_test_data): Likewise.
11319 (acos_test_towardzero): Likewise.
11320 (acos_downward_test_data): Likewise.
11321 (acos_test_downward): Likewise.
11322 (acos_upward_test_data): Likewise.
11323 (acos_test_upward): Likewise.
11324 (acosh_test_data): Update call to AUTO_TESTS_f_f.
11325 (asin_test_data): Likewise.
11326 (asin_test): Use ALL_RM_TEST.
11327 (asin_tonearest_test_data): Remove.
11328 (asin_test_tonearest): Likewise.
11329 (asin_towardzero_test_data): Likewise.
11330 (asin_test_towardzero): Likewise.
11331 (asin_downward_test_data): Likewise.
11332 (asin_test_downward): Likewise.
11333 (asin_upward_test_data): Likewise.
11334 (asin_test_upward): Likewise.
11335 (asinh_test_data): Update call to AUTO_TESTS_f_f.
11336 (atan_test_data): Likewise.
11337 (atanh_test_data): Likewise.
11338 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
11339 (cabs_test_data): Update call to AUTO_TESTS_c_f.
11340 (carg_test_data): Likewise.
11341 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
11342 (ccos_test_data): Update call to AUTO_TESTS_c_c.
11343 (ccosh_test_data): Likewise.
11344 (cexp_test_data): Likewise.
11345 (clog_test_data): Likewise.
11346 (clog10_test_data): Likewise.
11347 (cos_test_data): Update call to AUTO_TESTS_f_f.
11348 (cos_test): Use ALL_RM_TEST.
11349 (cos_tonearest_test_data): Remove.
11350 (cos_test_tonearest): Likewise.
11351 (cos_towardzero_test_data): Likewise.
11352 (cos_test_towardzero): Likewise.
11353 (cos_downward_test_data): Likewise.
11354 (cos_test_downward): Likewise.
11355 (cos_upward_test_data): Likewise.
11356 (cos_test_upward): Likewise.
11357 (cosh_test_data): Update call to AUTO_TESTS_f_f.
11358 (cosh_test): Use ALL_RM_TEST.
11359 (cosh_tonearest_test_data): Remove.
11360 (cosh_test_tonearest): Likewise.
11361 (cosh_towardzero_test_data): Likewise.
11362 (cosh_test_towardzero): Likewise.
11363 (cosh_downward_test_data): Likewise.
11364 (cosh_test_downward): Likewise.
11365 (cosh_upward_test_data): Likewise.
11366 (cosh_test_upward): Likewise.
11367 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
11368 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
11369 (ctan_test_data): Likewise.
11370 (ctan_test): Use ALL_RM_TEST.
11371 (ctan_tonearest_test_data): Remove.
11372 (ctan_test_tonearest): Likewise.
11373 (ctan_towardzero_test_data): Likewise.
11374 (ctan_test_towardzero): Likewise.
11375 (ctan_downward_test_data): Likewise.
11376 (ctan_test_downward): Likewise.
11377 (ctan_upward_test_data): Likewise.
11378 (ctan_test_upward): Likewise.
11379 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
11380 (ctanh_test): Use ALL_RM_TEST.
11381 (ctanh_tonearest_test_data): Remove.
11382 (ctanh_test_tonearest): Likewise.
11383 (ctanh_towardzero_test_data): Likewise.
11384 (ctanh_test_towardzero): Likewise.
11385 (ctanh_downward_test_data): Likewise.
11386 (ctanh_test_downward): Likewise.
11387 (ctanh_upward_test_data): Likewise.
11388 (ctanh_test_upward): Likewise.
11389 (erf_test_data): Update call to AUTO_TESTS_f_f.
11390 (erfc_test_data): Likewise.
11391 (exp_test_data): Likewise.
11392 (exp_test): Use ALL_RM_TEST.
11393 (exp_tonearest_test_data): Remove.
11394 (exp_test_tonearest): Likewise.
11395 (exp_towardzero_test_data): Likewise.
11396 (exp_test_towardzero): Likewise.
11397 (exp_downward_test_data): Likewise.
11398 (exp_test_downward): Likewise.
11399 (exp_upward_test_data): Likewise.
11400 (exp_test_upward): Likewise.
11401 (exp10_test_data): Update call to AUTO_TESTS_f_f.
11402 (exp10_test): Use ALL_RM_TEST.
11403 (exp10_tonearest_test_data): Remove.
11404 (exp10_test_tonearest): Likewise.
11405 (exp10_towardzero_test_data): Likewise.
11406 (exp10_test_towardzero): Likewise.
11407 (exp10_downward_test_data): Likewise.
11408 (exp10_test_downward): Likewise.
11409 (exp10_upward_test_data): Likewise.
11410 (exp10_test_upward): Likewise.
11411 (exp2_test_data): Update call to AUTO_TESTS_f_f.
11412 (expm1_test_data): Likewise.
11413 (expm1_test): Use ALL_RM_TEST.
11414 (expm1_tonearest_test_data): Remove.
11415 (expm1_test_tonearest): Likewise.
11416 (expm1_towardzero_test_data): Likewise.
11417 (expm1_test_towardzero): Likewise.
11418 (expm1_downward_test_data): Likewise.
11419 (expm1_test_downward): Likewise.
11420 (expm1_upward_test_data): Likewise.
11421 (expm1_test_upward): Likewise.
11422 (fma_test_data): Update call to AUTO_TESTS_fff_f.
11423 (fma_test): Use ALL_RM_TEST.
11424 (fma_towardzero_test_data): Remove.
11425 (fma_test_towardzero): Likewise.
11426 (fma_downward_test_data): Likewise.
11427 (fma_test_downward): Likewise.
11428 (fma_upward_test_data): Likewise.
11429 (fma_test_upward): Likewise.
11430 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
11431 (j0_test_data): Update call to AUTO_TESTS_f_f.
11432 (j1_test_data): Likewise.
11433 (jn_test_data): Update call to AUTO_TESTS_if_f.
11434 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
11435 (log_test_data): Update call to AUTO_TESTS_f_f.
11436 (log10_test_data): Likewise.
11437 (log1p_test_data): Likewise.
11438 (log2_test_data): Likewise.
11439 (pow_test_data): Update call to AUTO_TESTS_ff_f.
11440 (pow_tonearest_test_data): Likewise.
11441 (sin_test_data): Update call to AUTO_TESTS_f_f.
11442 (sin_test): Use ALL_RM_TEST.
11443 (sin_tonearest_test_data): Remove.
11444 (sin_test_tonearest): Likewise.
11445 (sin_towardzero_test_data): Likewise.
11446 (sin_test_towardzero): Likewise.
11447 (sin_downward_test_data): Likewise.
11448 (sin_test_downward): Likewise.
11449 (sin_upward_test_data): Likewise.
11450 (sin_test_upward): Likewise.
11451 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
11452 (sinh_test_data): Update call to AUTO_TESTS_f_f.
11453 (sinh_test): Use ALL_RM_TEST.
11454 (sinh_tonearest_test_data): Remove.
11455 (sinh_test_tonearest): Likewise.
11456 (sinh_towardzero_test_data): Likewise.
11457 (sinh_test_towardzero): Likewise.
11458 (sinh_downward_test_data): Likewise.
11459 (sinh_test_downward): Likewise.
11460 (sinh_upward_test_data): Likewise.
11461 (sinh_test_upward): Likewise.
11462 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
11463 (sqrt_test): Use ALL_RM_TEST.
11464 (sqrt_tonearest_test_data): Remove.
11465 (sqrt_test_tonearest): Likewise.
11466 (sqrt_towardzero_test_data): Likewise.
11467 (sqrt_test_towardzero): Likewise.
11468 (sqrt_downward_test_data): Likewise.
11469 (sqrt_test_downward): Likewise.
11470 (sqrt_upward_test_data): Likewise.
11471 (sqrt_test_upward): Likewise.
11472 (tan_test_data): Update call to AUTO_TESTS_f_f.
11473 (tan_test): Use ALL_RM_TEST.
11474 (tan_tonearest_test_data): Remove.
11475 (tan_test_tonearest): Likewise.
11476 (tan_towardzero_test_data): Likewise.
11477 (tan_test_towardzero): Likewise.
11478 (tan_downward_test_data): Likewise.
11479 (tan_test_downward): Likewise.
11480 (tan_upward_test_data): Likewise.
11481 (tan_test_upward): Likewise.
11482 (tanh_test_data): Update call to AUTO_TESTS_f_f.
11483 (tgamma_test_data): Likewise.
11484 (y0_test_data): Likewise.
11485 (y1_test_data): Likewise.
11486 (yn_test_data): Update call to AUTO_TESTS_if_f.
11487 (main): Do not call removed functions.
11488
d71aeee8
JM
114892014-03-19 Joseph Myers <joseph@codesourcery.com>
11490
11491 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
11492 (ldexp_test_data): Remove.
11493 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
11494 scalbn_test_data.
11495 (scalb_test): Use ALL_RM_TEST.
11496
baaf1ded
AS
114972014-03-19 Andreas Schwab <schwab@suse.de>
11498
11499 * nscd/nscd.service: Also invalidate netgroup cache on reload.
11500
b1115e91
JM
115012014-03-19 Joseph Myers <joseph@codesourcery.com>
11502
11503 [BZ #16649]
11504 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
11505 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
11506 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
11507 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11508 (__ASSUME_PREADV): Undefine.
11509 (__ASSUME_PWRITEV): Likewise.
11510
0283ecca
RM
115112014-03-18 Roland McGrath <roland@hack.frob.com>
11512
7d375303
RM
11513 * bits/mman-linux.h: Add comment about non-Linux use.
11514 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
11515 bits/mman-linux.h resting place.
11516
0283ecca
RM
11517 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
11518 * bits/mman-linux.h: ... here.
11519
aebe1003
AZ
115202014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11521
11522 * conform/conformtest.pl: Add standard definition when calling C
11523 preprocessor on data files.
11524 (checknamespace): Remove unused variable.
11525
b29b6bb8
JM
115262014-03-18 Joseph Myers <joseph@codesourcery.com>
11527
11528 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
11529 minus_oflow, plus_uflow and minus_uflow in expected results.
11530 * math/libm-test.inc (scalbn_test_data): Add more tests of
11531 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
11532 minus_uflow.
11533 (scalbn_test): Use ALL_RM_TEST.
11534 (scalbln_test_data): Add more tests of negative arguments. Use
11535 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
11536 (scalbln_test): Use ALL_RM_TEST.
11537
c8f8fa15
RM
115382014-03-18 Roland McGrath <roland@hack.frob.com>
11539
11540 * scripts/abilist.awk: Ignore symbols marked with .hidden.
11541
fede7a5f
WN
115422014-03-18 Will Newton <will.newton@linaro.org>
11543
11544 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
11545 inaccurate comment.
11546
80cf0a58
JM
115472014-03-18 Joseph Myers <joseph@codesourcery.com>
11548
11549 * Makerules [!subdir] (check-abi): Exit with error status if a
11550 test failed.
11551
b3620862
JM
115522014-03-17 Joseph Myers <joseph@codesourcery.com>
11553
11554 * math/libm-test.inc (nearbyint_test_data): Include all tests used
11555 for rint. Include results for all rounding modes.
11556 (nearbyint_test): Use ALL_RM_TEST.
11557 (rint_test_data): Include all tests used for nearbyint.
11558
788bba36
WN
115592014-03-17 Will Newton <will.newton@linaro.org>
11560
04ec140a
WN
11561 * nptl/sysdeps/pthread/pthread.h: Revert previous
11562 change.
11563
7579d8d5
WN
11564 * sysdeps/generic/ldsodefs.h: Revert previous
11565 change.
11566
c15cf13a
WN
11567 * libio/genops.c: Revert previous change.
11568 * libio/libioP.h: Likewise.
11569 * stdio-common/vfprintf.c: Likewise.
11570
d0ac1324
WN
11571 * sysdeps/generic/math_private.h: Revert previous
11572 change.
11573
9290130a
WN
11574 * sysdeps/generic/math_private.h: Check whether
11575 HAVE_RM_CTX is defined with #ifdef rather
11576 than #if.
11577
afb466fc
WN
11578 * argp/argp-fmtstream.h: Check whether
11579 __STRICT_ANSI__ is defined with #ifdef rather
11580 than #if.
11581 * argp/argp.h: Likewise.
11582
f7efd7c3
WN
11583 * libio/genops.c: Check whether
11584 _IO_JUMPS_OFFSET is defined with #ifdef rather
11585 than #if.
11586 * libio/libioP.h: Likewise.
11587 * stdio-common/vfprintf.c: Likewise.
11588
53f1bed3
WN
11589 * sysdeps/generic/ldsodefs.h: Check whether
11590 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
11591 than #if.
11592
788bba36
WN
11593 * nptl/sysdeps/pthread/pthread.h: Check
11594 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
11595 its value.
11596
fcd89ebe
SP
115972014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
11598
ae42bbc5
SP
11599 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
11600 setting O_APPEND.
11601 * libio/tst-ftell-active-handler.c (do_append_test): Add a
11602 test case.
11603
ea33158c
SP
11604 [BZ #16680]
11605 * libio/fileops.c (_IO_file_open): Seek to end of file but
11606 don't cache the offset.
11607 (get_file_offset): Remove function.
11608 (do_ftell): Use cached offset when available.
11609 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
11610 don't cache the offset.
11611 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
11612 case.
11613 (do_one_test): Call it.
11614 (do_ftell_test): Fix up expected old offset for a+ mode.
11615 * libio/wfileops.c (do_ftell_wide): Used cached offset when
11616 available.
11617
b1dbb426
SP
11618 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
11619 up test status with function return status.
11620 (do_write_test): Likewise.
11621 (do_append_test): Likewise.
11622
fcd89ebe
SP
11623 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
11624 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
11625 Remove.
11626
9962a2d3
JM
116272014-03-17 Joseph Myers <joseph@codesourcery.com>
11628
11629 * math/gen-libm-test.pl (parse_args): Handle results specified for
11630 each rounding mode separately.
11631 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
11632 tests and results from lrint_tonearest_test_data,
11633 lrint_towardzero_test_data, lrint_downward_test_data and
11634 lrint_upward_test_data.
11635 (lrint_test): Use ALL_RM_TEST.
11636 (lrint_tonearest_test_data): Remove.
11637 (lrint_test_tonearest): Likewise.
11638 (lrint_towardzero_test_data): Likewise.
11639 (lrint_test_towardzero): Likewise.
11640 (lrint_downward_test_data): Likewise.
11641 (lrint_test_downward): Likewise.
11642 (lrint_upward_test_data): Likewise.
11643 (lrint_test_upward): Likewise.
11644 (llrint_test_data): Merge in per-rounding-mode tests and results
11645 from llrint_tonearest_test_data, llrint_towardzero_test_data,
11646 llrint_downward_test_data and llrint_upward_test_data.
11647 (llrint_test): Use ALL_RM_TEST.
11648 (llrint_tonearest_test_data): Remove.
11649 (llrint_test_tonearest): Likewise.
11650 (llrint_towardzero_test_data): Likewise.
11651 (llrint_test_towardzero): Likewise.
11652 (llrint_downward_test_data): Likewise.
11653 (llrint_test_downward): Likewise.
11654 (llrint_upward_test_data): Likewise.
11655 (llrint_test_upward): Likewise.
11656 (rint_test_data): Merge in per-rounding-mode tests and results
11657 from rint_tonearest_test_data, rint_towardzero_test_data,
11658 rint_downward_test_data and rint_upward_test_data. Add
11659 per-rounding-mode results for tests not in those arrays.
11660 (rint_test): Use ALL_RM_TEST.
11661 (rint_tonearest_test_data): Remove.
11662 (rint_test_tonearest): Likewise.
11663 (rint_towardzero_test_data): Likewise.
11664 (rint_test_towardzero): Likewise.
11665 (rint_downward_test_data): Likewise.
11666 (rint_test_downward): Likewise.
11667 (rint_upward_test_data): Likewise.
11668 (rint_test_upward): Likewise.
11669 (main): Don't call removed functions.
11670
5006148e
RM
116712014-03-14 Roland McGrath <roland@hack.frob.com>
11672
11673 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
11674 "Compiled on ..." crapola. It is anti-useful.
11675
d6fe5e58
JM
116762014-03-14 Joseph Myers <joseph@codesourcery.com>
11677
11678 * scripts/evaluate-test.sh: Handle fourth argument to determine
11679 whether test run should stop on failure.
11680 * Makeconfig (stop-on-test-failure): New variable.
11681 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
11682 $(stop-on-test-failure).
11683 * Makefile (tests): Give a summary of results from testing and
11684 exit with failure status if they include an ERROR or FAIL.
11685 (xtests): Likewise.
11686 * manual/install.texi (Configuring and compiling): Mention
11687 stop-on-test-failure=y.
11688 * INSTALL: Regenerated.
11689
498a2233
RM
116902014-03-14 Roland McGrath <roland@hack.frob.com>
11691
22dbc19d
RM
11692 * scripts/versionlist.awk: New file.
11693 * Makerules [$(build-shared) = yes]
11694 (postclean-generated): Add Versions.def, not Versions.def.v and
11695 Versions.def.v.i.
11696 ($(common-objpfx)Versions.def.v.i): Target removed.
11697 ($(common-objpfx)Versions.def): New target.
11698 ($(common-objpfx)Versions.all): Depend on that rather that
11699 $(common-objpfx)Versions.def.v.
11700 * Versions.def: File removed.
11701
498a2233
RM
11702 * Makeconfig (+gccwarn): Add -Wundef.
11703 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
11704 a dl-sysdep.h breaking its contract.
11705 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
11706 * include/stackinfo.h: New file.
11707 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
11708 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
11709 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
11710 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
11711 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
11712 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
11713 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
11714 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
11715 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
11716 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
11717 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
11718 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
11719 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
11720 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
11721 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
11722
c7de5025
AZ
117232014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11724
11725 [BZ #16707]
11726 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
11727 implementation.
11728 * math/libm-test.inc (round_test_data): Add more tests.
11729
98fb27a3
AZ
11730 [BZ #16706]
11731 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
11732 implementation.
11733 * math/libm-test.inc (nearbyint_test_data): Add more tests.
11734
374f7f61
AZ
11735 [BZ #16701]
11736 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
11737 implementation.
11738 * math/libm-test.inc (ceil_test_data): Add more tests.
11739
4655c291
AZ
11740 * math/libm-test.inc (trunc_test_data): Add more tests related to
11741 BZ#16414.
11742
d7329d4b
RM
117432014-03-14 Roland McGrath <roland@hack.frob.com>
11744
11745 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
11746 with #if rather than #ifdef.
11747 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
11748
aa4de9ce
L
117492014-03-14 H.J. Lu <hongjiu.lu@intel.com>
11750
11751 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
11752 first. Disable AVX-512 GCC support if assembler doesn't support
11753 it.
11754 * sysdeps/x86_64/configure: Regenerated.
11755
2e03fae7
CD
117562014-03-13 Carlos O'Donell <carlos@redhat.com>
11757
11758 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
11759 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
11760 (__old_pthread_attr_setstack): Likewise.
11761 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
11762 [!_STACK_GROWS_DOWN]: Likewise.
11763
43ca83ec
MF
117642014-03-13 Mike Frysinger <vapier@gentoo.org>
11765
11766 * config.make.in (have-bash2): Delete.
11767 * configure.ac (libc_cv_have_bash2): Delete.
11768 * configure: Regenerate.
11769 * elf/Makefile (common-ldd-rewrite): Rename to ...
11770 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
11771 (sh-ldd-rewrite): Delete.
11772 (bash-ldd-rewrite): Delete.
11773 (have-bash2): Delete checks.
57f41c40
AS
11774 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
11775 ldd-rewrite.
c66e48b4
MF
11776
11777 * config.make.in (have-ksh): Delete.
11778 (KSH): Delete.
11779 * configure.ac (libc_cv_have_ksh): Delete.
11780 * configure: Regenerate.
11781
b93834ef
MF
11782 * elf/Makefile: Delete $(have-ksh) check.
11783 ($(objpfx)sotruss): Change KSH to BASH.
11784 * elf/sotruss.ksh: Rename to ...
11785 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
11786 function style to match POSIX. Drop ksh vim mode setting.
11787
f3a4632a
MF
11788 * manual/time.texi (Specifying the Time Zone with TZ): Change
11789 Tuesday to Thursday.
11790
5896c8bd
MF
11791 * debug/tst-longjmp_chk2.c: Update header comment.
11792 (stackoverflow_handler): Add comment. Call assert on pass value.
11793
2d63a517
IZ
117942014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
11795
7e54fd04 11796 [BZ #16194]
2d63a517
IZ
11797 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
11798 (HAVE_AVX512_ASM_SUPPORT): Likewise.
11799 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
11800 (La_x86_64_vector): Add zmm.
11801 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
11802 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
11803 ($(objpfx)tst-audit10): New target.
11804 ($(objpfx)tst-audit10.out): Likewise.
11805 (tst-audit10-ENV): New.
11806 (AVX512-CFLAGS): Likewise.
11807 (CFLAGS-tst-audit10.c): Likewise.
11808 (CFLAGS-tst-auditmod10a.c): Likewise.
11809 (CFLAGS-tst-auditmod10b.c): Likewise.
11810 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
11811 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
11812 * sysdeps/x86_64/configure: Regenerated.
11813 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
11814 AVX-512 zmm register support.
11815 (_dl_x86_64_save_sse): Likewise.
11816 (_dl_x86_64_restore_sse): Likewise.
11817 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
11818 size vector registers.
11819 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
11820 (ZMM_SIZE): Likewise.
11821 * sysdeps/x86_64/tst-audit10.c: New file.
11822 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
11823 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
11824
44c4e5d5
RM
118252014-03-13 Roland McGrath <roland@hack.frob.com>
11826
11827 * configure.ac (HAVE_EHDR_START): New check.
11828 * configure: Regenerated.
11829 * config.h.in (HAVE_EHDR_START): New #undef.
11830 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
11831 assuming the lowest-addressed segment maps the start of the file.
11832
acd6e389
JM
118332014-03-13 Joseph Myers <joseph@codesourcery.com>
11834
11835 * INSTALL: Regenerated.
11836
6f918f36
WN
118372014-03-13 Will Newton <will.newton@linaro.org>
11838
11839 * manual/setjmp.texi (System V contexts): Improve
11840 clarity and grammar of documentation.
11841
798212a0
PP
118422014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
11843
11844 [BZ #16381]
798212a0 11845 * elf/Makefile (tests): Add tst-pie2.
2e03fae7 11846 (tests-pie): Add tst-pie2.
798212a0
PP
11847 * elf/tst-pie2.c: New file.
11848 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
11849 for ET_EXEC.
11850 * elf/rtld.c (map_doit): Load executable as lt_executable.
11851 (dl_main): Likewise.
11852
abe6d90c
JM
118532014-03-12 Joseph Myers <joseph@codesourcery.com>
11854
11855 [BZ #16642]
11856 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11857 (__ASSUME_PSELECT): Undefine.
11858
dd3946c6
AZ
118592014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11860
11861 [BZ #16689]
11862 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
11863 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
11864 static build.
11865 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
11866 selector for static builds.
11867
c44496df
SP
118682014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
11869
11870 [BZ #16695]
11871 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
11872 key in the buffer.
11873
27c7220a
AZ
118742014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11875
57f41c40
AS
11876 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
11877 IFUNC selector for static builds.
27c7220a 11878
600fa361
JM
118792014-03-11 Joseph Myers <joseph@codesourcery.com>
11880
76c96cf7
JM
11881 * sysdeps/mips/math_private.h [__mips_hard_float]
11882 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
11883 libc_feresetround_mips_ctx.
11884 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
11885 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
11886 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
11887
600fa361
JM
11888 [BZ #16677]
11889 * math/s_nextafter.c (__nextafter): Do not return value from
11890 overflowing computation.
11891 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
11892 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
11893 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
11894 Likewise.
11895 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
11896 Likewise.
11897 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
11898 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
11899
d7706c32
RM
119002014-03-11 Roland McGrath <roland@hack.frob.com>
11901
11902 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
11903 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
11904 Move sfi_sp use from the load-multiple (that no longer sets sp) to
11905 the new mov targetting sp.
11906
4facea47
AZ
119072014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11908
11909 [BZ #16683]
11910 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
11911 Define it for static builds as well.
11912 (NO_BZERO_IMPL): Likewise.
11913
e65caf1f
VR
119142014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
11915
11916 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
11917 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
11918 multiarch strspn for PPC64.
11919 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
11920 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
11921 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
11922 (__libc_ifunc_impl_list): Likewise.
11923 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
11924 multiarch optimizations
11925 * string/strspn.c (strspn): Using macro to redefine symbol name.
11926
ba9cc071
AZ
119272014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
11928 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11929
11930 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
11931 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
11932 multiarch strncat for PPC64.
11933 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
11934 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
11935 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
11936 (__libc_ifunc_impl_list): Likewise.
11937 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
11938 multiarch optimizations
11939
8b4ff974
SP
119402014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
11941
11942 [BZ #16639]
11943 * nscd/nscd.service: Make service type forking.
11944
54b46a4b
AZ
119452014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11946
11947 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
11948 sign in non default rounding modes.
11949 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
11950
e9996ef7
JM
119512014-03-08 Joseph Myers <joseph@codesourcery.com>
11952
11953 * math/libm-test.inc (ALL_RM_TEST): New macro.
11954 (ceil_test): Use ALL_RM_TEST.
11955 (cimag_test): Likewise.
11956 (conj_test): Likewise.
11957 (copysign_test): Likewise.
11958 (cproj_test): Likewise.
11959 (creal_test): Likewise.
11960 (fabs_test): Likewise.
11961 (floor_test): Likewise.
11962 (fmax_test): Likewise.
11963 (fmin_test): Likewise.
11964 (fmod_test): Likewise.
11965 (fpclassify_test): Likewise.
11966 (frexp_test): Likewise.
11967 (ilogb_test): Likewise.
11968 (isfinite_test): Likewise.
11969 (finite_test): Likewise.
11970 (isgreater_test): Likewise.
11971 (isgreaterequal_test): Likewise.
11972 (isinf_test): Likewise.
11973 (isless_test): Likewise.
11974 (islessequal_test): Likewise.
11975 (islessgreater_test): Likewise.
11976 (isnan_test): Likewise.
11977 (isnormal_test): Likewise.
11978 (issignaling_test): Likewise.
11979 (isunordered_test): Likewise.
11980 (logb_test): Likewise.
11981 (logb_downward_test_data): Remove.
11982 (logb_test_downward): Likewise.
11983 (lround_test): Use ALL_RM_TEST.
11984 (llround_test): Likewise.
11985 (modf_test): Likewise.
11986 (nexttoward_test): Likewise.
11987 (remainder_test): Likewise.
11988 (drem_test): Likewise.
11989 (remainder_tonearest_test_data): Likewise.
11990 (remainder_test_tonearest): Likewise.
11991 (drem_test_tonearest): Likewise.
11992 (remainder_towardzero_test_data): Likewise.
11993 (remainder_test_towardzero): Likewise.
11994 (drem_test_towardzero): Likewise.
11995 (remainder_downward_test_data): Likewise.
11996 (remainder_test_downward): Likewise.
11997 (drem_test_downward): Likewise.
11998 (remainder_upward_test_data): Likewise.
11999 (remainder_test_upward): Likewise.
12000 (drem_test_upward): Likewise.
12001 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
12002 (round_test): Use ALL_RM_TEST.
12003 (signbit_test): Likewise.
12004 (trunc_test): Likewise.
12005 (significand_test): Likewise.
12006 (main): Don't call removed functions.
12007
bc61d27c
JM
120082014-03-07 Joseph Myers <joseph@codesourcery.com>
12009
5c780849
JM
12010 [BZ #16674]
12011 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
12012 || __USE_XOPEN2K8].
12013 (ILL_ILLOPN): Likewise.
12014 (ILL_ILLADR): Likewise.
12015 (ILL_ILLTRP): Likewise.
12016 (ILL_PRVOPC): Likewise.
12017 (ILL_PRVREG): Likewise.
12018 (ILL_COPROC): Likewise.
12019 (ILL_BADSTK): Likewise.
12020 (FPE_INTDIV): Likewise.
12021 (FPE_INTOVF): Likewise.
12022 (FPE_FLTDIV): Likewise.
12023 (FPE_FLTOVF): Likewise.
12024 (FPE_FLTUND): Likewise.
12025 (FPE_FLTRES): Likewise.
12026 (FPE_FLTINV): Likewise.
12027 (FPE_FLTSUB): Likewise.
12028 (SEGV_MAPERR): Likewise.
12029 (SEGV_ACCERR): Likewise.
12030 (BUS_ADRALN): Likewise.
12031 (BUS_ADRERR): Likewise.
12032 (BUS_OBJERR): Likewise.
12033 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
12034 (TRAP_TRACE): Likewise.
12035 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
12036 __USE_XOPEN2K8].
12037 (CLD_KILLED): Likewise.
12038 (CLD_DUMPED): Likewise.
12039 (CLD_TRAPPED): Likewise.
12040 (CLD_STOPPED): Likewise.
12041 (CLD_CONTINUED): Likewise.
12042 (POLL_IN): Likewise.
12043 (POLL_OUT): Likewise.
12044 (POLL_MSG): Likewise.
12045 (POLL_ERR): Likewise.
12046 (POLL_PRI): Likewise.
12047 (POLL_HUP): Likewise.
12048 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
12049 Likewise.
12050 (ILL_ILLOPN): Likewise.
12051 (ILL_ILLADR): Likewise.
12052 (ILL_ILLTRP): Likewise.
12053 (ILL_PRVOPC): Likewise.
12054 (ILL_PRVREG): Likewise.
12055 (ILL_COPROC): Likewise.
12056 (ILL_BADSTK): Likewise.
12057 (FPE_INTDIV): Likewise.
12058 (FPE_INTOVF): Likewise.
12059 (FPE_FLTDIV): Likewise.
12060 (FPE_FLTOVF): Likewise.
12061 (FPE_FLTUND): Likewise.
12062 (FPE_FLTRES): Likewise.
12063 (FPE_FLTINV): Likewise.
12064 (FPE_FLTSUB): Likewise.
12065 (SEGV_MAPERR): Likewise.
12066 (SEGV_ACCERR): Likewise.
12067 (BUS_ADRALN): Likewise.
12068 (BUS_ADRERR): Likewise.
12069 (BUS_OBJERR): Likewise.
12070 (BUS_MCEERR_AR): Likewise.
12071 (BUS_MCEERR_AO): Likewise.
12072 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
12073 (TRAP_TRACE): Likewise.
12074 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
12075 __USE_XOPEN2K8].
12076 (CLD_KILLED): Likewise.
12077 (CLD_DUMPED): Likewise.
12078 (CLD_TRAPPED): Likewise.
12079 (CLD_STOPPED): Likewise.
12080 (CLD_CONTINUED): Likewise.
12081 (POLL_IN): Likewise.
12082 (POLL_OUT): Likewise.
12083 (POLL_MSG): Likewise.
12084 (POLL_ERR): Likewise.
12085 (POLL_PRI): Likewise.
12086 (POLL_HUP): Likewise.
12087 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
12088 (ILL_ILLOPN): Likewise.
12089 (ILL_ILLADR): Likewise.
12090 (ILL_ILLTRP): Likewise.
12091 (ILL_PRVOPC): Likewise.
12092 (ILL_PRVREG): Likewise.
12093 (ILL_COPROC): Likewise.
12094 (ILL_BADSTK): Likewise.
12095 (FPE_INTDIV): Likewise.
12096 (FPE_INTOVF): Likewise.
12097 (FPE_FLTDIV): Likewise.
12098 (FPE_FLTOVF): Likewise.
12099 (FPE_FLTUND): Likewise.
12100 (FPE_FLTRES): Likewise.
12101 (FPE_FLTINV): Likewise.
12102 (FPE_FLTSUB): Likewise.
12103 (SEGV_MAPERR): Likewise.
12104 (SEGV_ACCERR): Likewise.
12105 (BUS_ADRALN): Likewise.
12106 (BUS_ADRERR): Likewise.
12107 (BUS_OBJERR): Likewise.
12108 (BUS_MCEERR_AR): Likewise.
12109 (BUS_MCEERR_AO): Likewise.
12110 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
12111 (TRAP_TRACE): Likewise.
12112 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
12113 __USE_XOPEN2K8].
12114 (CLD_KILLED): Likewise.
12115 (CLD_DUMPED): Likewise.
12116 (CLD_TRAPPED): Likewise.
12117 (CLD_STOPPED): Likewise.
12118 (CLD_CONTINUED): Likewise.
12119 (POLL_IN): Likewise.
12120 (POLL_OUT): Likewise.
12121 (POLL_MSG): Likewise.
12122 (POLL_ERR): Likewise.
12123 (POLL_PRI): Likewise.
12124 (POLL_HUP): Likewise.
12125 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
12126 Likewise.
12127 (ILL_ILLOPN): Likewise.
12128 (ILL_ILLADR): Likewise.
12129 (ILL_ILLTRP): Likewise.
12130 (ILL_PRVOPC): Likewise.
12131 (ILL_PRVREG): Likewise.
12132 (ILL_COPROC): Likewise.
12133 (ILL_BADSTK): Likewise.
12134 (ILL_BADIADDR): Likewise.
12135 (ILL_BREAK): Likewise.
12136 (FPE_INTDIV): Likewise.
12137 (FPE_INTOVF): Likewise.
12138 (FPE_FLTDIV): Likewise.
12139 (FPE_FLTOVF): Likewise.
12140 (FPE_FLTUND): Likewise.
12141 (FPE_FLTRES): Likewise.
12142 (FPE_FLTINV): Likewise.
12143 (FPE_FLTSUB): Likewise.
12144 (FPE_DECOVF): Likewise.
12145 (FPE_DECDIV): Likewise.
12146 (FPE_DECERR): Likewise.
12147 (FPE_INVASC): Likewise.
12148 (FPE_INVDEC): Likewise.
12149 (SEGV_MAPERR): Likewise.
12150 (SEGV_ACCERR): Likewise.
12151 (SEGV_PSTKOVF): Likewise.
12152 (BUS_ADRALN): Likewise.
12153 (BUS_ADRERR): Likewise.
12154 (BUS_OBJERR): Likewise.
12155 (BUS_MCEERR_AR): Likewise.
12156 (BUS_MCEERR_AO): Likewise.
12157 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
12158 (TRAP_TRACE): Likewise.
12159 (TRAP_BRANCH): Likewise.
12160 (TRAP_HWBKPT): Likewise.
12161 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
12162 __USE_XOPEN2K8].
12163 (CLD_KILLED): Likewise.
12164 (CLD_DUMPED): Likewise.
12165 (CLD_TRAPPED): Likewise.
12166 (CLD_STOPPED): Likewise.
12167 (CLD_CONTINUED): Likewise.
12168 (POLL_IN): Likewise.
12169 (POLL_OUT): Likewise.
12170 (POLL_MSG): Likewise.
12171 (POLL_ERR): Likewise.
12172 (POLL_PRI): Likewise.
12173 (POLL_HUP): Likewise.
12174 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
12175 (ILL_ILLOPN): Likewise.
12176 (ILL_ILLADR): Likewise.
12177 (ILL_ILLTRP): Likewise.
12178 (ILL_PRVOPC): Likewise.
12179 (ILL_PRVREG): Likewise.
12180 (ILL_COPROC): Likewise.
12181 (ILL_BADSTK): Likewise.
12182 (FPE_INTDIV): Likewise.
12183 (FPE_INTOVF): Likewise.
12184 (FPE_FLTDIV): Likewise.
12185 (FPE_FLTOVF): Likewise.
12186 (FPE_FLTUND): Likewise.
12187 (FPE_FLTRES): Likewise.
12188 (FPE_FLTINV): Likewise.
12189 (FPE_FLTSUB): Likewise.
12190 (SEGV_MAPERR): Likewise.
12191 (SEGV_ACCERR): Likewise.
12192 (BUS_ADRALN): Likewise.
12193 (BUS_ADRERR): Likewise.
12194 (BUS_OBJERR): Likewise.
12195 (BUS_MCEERR_AR): Likewise.
12196 (BUS_MCEERR_AO): Likewise.
12197 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
12198 (TRAP_TRACE): Likewise.
12199 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
12200 __USE_XOPEN2K8].
12201 (CLD_KILLED): Likewise.
12202 (CLD_DUMPED): Likewise.
12203 (CLD_TRAPPED): Likewise.
12204 (CLD_STOPPED): Likewise.
12205 (CLD_CONTINUED): Likewise.
12206 (POLL_IN): Likewise.
12207 (POLL_OUT): Likewise.
12208 (POLL_MSG): Likewise.
12209 (POLL_ERR): Likewise.
12210 (POLL_PRI): Likewise.
12211 (POLL_HUP): Likewise.
12212 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
12213 (ILL_ILLOPN): Likewise.
12214 (ILL_ILLADR): Likewise.
12215 (ILL_ILLTRP): Likewise.
12216 (ILL_PRVOPC): Likewise.
12217 (ILL_PRVREG): Likewise.
12218 (ILL_COPROC): Likewise.
12219 (ILL_BADSTK): Likewise.
12220 (FPE_INTDIV): Likewise.
12221 (FPE_INTOVF): Likewise.
12222 (FPE_FLTDIV): Likewise.
12223 (FPE_FLTOVF): Likewise.
12224 (FPE_FLTUND): Likewise.
12225 (FPE_FLTRES): Likewise.
12226 (FPE_FLTINV): Likewise.
12227 (FPE_FLTSUB): Likewise.
12228 (SEGV_MAPERR): Likewise.
12229 (SEGV_ACCERR): Likewise.
12230 (BUS_ADRALN): Likewise.
12231 (BUS_ADRERR): Likewise.
12232 (BUS_OBJERR): Likewise.
12233 (BUS_MCEERR_AR): Likewise.
12234 (BUS_MCEERR_AO): Likewise.
12235 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
12236 (TRAP_TRACE): Likewise.
12237 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
12238 __USE_XOPEN2K8].
12239 (CLD_KILLED): Likewise.
12240 (CLD_DUMPED): Likewise.
12241 (CLD_TRAPPED): Likewise.
12242 (CLD_STOPPED): Likewise.
12243 (CLD_CONTINUED): Likewise.
12244 (POLL_IN): Likewise.
12245 (POLL_OUT): Likewise.
12246 (POLL_MSG): Likewise.
12247 (POLL_ERR): Likewise.
12248 (POLL_PRI): Likewise.
12249 (POLL_HUP): Likewise.
12250 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
12251 (ILL_ILLOPN): Likewise.
12252 (ILL_ILLADR): Likewise.
12253 (ILL_ILLTRP): Likewise.
12254 (ILL_PRVOPC): Likewise.
12255 (ILL_PRVREG): Likewise.
12256 (ILL_COPROC): Likewise.
12257 (ILL_BADSTK): Likewise.
12258 (FPE_INTDIV): Likewise.
12259 (FPE_INTOVF): Likewise.
12260 (FPE_FLTDIV): Likewise.
12261 (FPE_FLTOVF): Likewise.
12262 (FPE_FLTUND): Likewise.
12263 (FPE_FLTRES): Likewise.
12264 (FPE_FLTINV): Likewise.
12265 (FPE_FLTSUB): Likewise.
12266 (SEGV_MAPERR): Likewise.
12267 (SEGV_ACCERR): Likewise.
12268 (BUS_ADRALN): Likewise.
12269 (BUS_ADRERR): Likewise.
12270 (BUS_OBJERR): Likewise.
12271 (BUS_MCEERR_AR): Likewise.
12272 (BUS_MCEERR_AO): Likewise.
12273 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
12274 (TRAP_TRACE): Likewise.
12275 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
12276 __USE_XOPEN2K8].
12277 (CLD_KILLED): Likewise.
12278 (CLD_DUMPED): Likewise.
12279 (CLD_TRAPPED): Likewise.
12280 (CLD_STOPPED): Likewise.
12281 (CLD_CONTINUED): Likewise.
12282 (POLL_IN): Likewise.
12283 (POLL_OUT): Likewise.
12284 (POLL_MSG): Likewise.
12285 (POLL_ERR): Likewise.
12286 (POLL_PRI): Likewise.
12287 (POLL_HUP): Likewise.
12288 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
12289 (ILL_ILLOPN): Likewise.
12290 (ILL_ILLADR): Likewise.
12291 (ILL_ILLTRP): Likewise.
12292 (ILL_PRVOPC): Likewise.
12293 (ILL_PRVREG): Likewise.
12294 (ILL_COPROC): Likewise.
12295 (ILL_BADSTK): Likewise.
12296 (ILL_DBLFLT): Likewise.
12297 (ILL_HARDWALL): Likewise.
12298 (FPE_INTDIV): Likewise.
12299 (FPE_INTOVF): Likewise.
12300 (FPE_FLTDIV): Likewise.
12301 (FPE_FLTOVF): Likewise.
12302 (FPE_FLTUND): Likewise.
12303 (FPE_FLTRES): Likewise.
12304 (FPE_FLTINV): Likewise.
12305 (FPE_FLTSUB): Likewise.
12306 (SEGV_MAPERR): Likewise.
12307 (SEGV_ACCERR): Likewise.
12308 (BUS_ADRALN): Likewise.
12309 (BUS_ADRERR): Likewise.
12310 (BUS_OBJERR): Likewise.
12311 (BUS_MCEERR_AR): Likewise.
12312 (BUS_MCEERR_AO): Likewise.
12313 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
12314 (TRAP_TRACE): Likewise.
12315 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
12316 __USE_XOPEN2K8].
12317 (CLD_KILLED): Likewise.
12318 (CLD_DUMPED): Likewise.
12319 (CLD_TRAPPED): Likewise.
12320 (CLD_STOPPED): Likewise.
12321 (CLD_CONTINUED): Likewise.
12322 (POLL_IN): Likewise.
12323 (POLL_OUT): Likewise.
12324 (POLL_MSG): Likewise.
12325 (POLL_ERR): Likewise.
12326 (POLL_PRI): Likewise.
12327 (POLL_HUP): Likewise.
12328 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
12329 (ILL_ILLOPN): Likewise.
12330 (ILL_ILLADR): Likewise.
12331 (ILL_ILLTRP): Likewise.
12332 (ILL_PRVOPC): Likewise.
12333 (ILL_PRVREG): Likewise.
12334 (ILL_COPROC): Likewise.
12335 (ILL_BADSTK): Likewise.
12336 (FPE_INTDIV): Likewise.
12337 (FPE_INTOVF): Likewise.
12338 (FPE_FLTDIV): Likewise.
12339 (FPE_FLTOVF): Likewise.
12340 (FPE_FLTUND): Likewise.
12341 (FPE_FLTRES): Likewise.
12342 (FPE_FLTINV): Likewise.
12343 (FPE_FLTSUB): Likewise.
12344 (SEGV_MAPERR): Likewise.
12345 (SEGV_ACCERR): Likewise.
12346 (BUS_ADRALN): Likewise.
12347 (BUS_ADRERR): Likewise.
12348 (BUS_OBJERR): Likewise.
12349 (BUS_MCEERR_AR): Likewise.
12350 (BUS_MCEERR_AO): Likewise.
12351 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
12352 (TRAP_TRACE): Likewise.
12353 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
12354 __USE_XOPEN2K8].
12355 (CLD_KILLED): Likewise.
12356 (CLD_DUMPED): Likewise.
12357 (CLD_TRAPPED): Likewise.
12358 (CLD_STOPPED): Likewise.
12359 (CLD_CONTINUED): Likewise.
12360 (POLL_IN): Likewise.
12361 (POLL_OUT): Likewise.
12362 (POLL_MSG): Likewise.
12363 (POLL_ERR): Likewise.
12364 (POLL_PRI): Likewise.
12365 (POLL_HUP): Likewise.
12366 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
12367 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
12368
bc61d27c
JM
12369 [BZ #16670]
12370 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
12371 before #include of <time.h>.
12372 [!__USE_XOPEN2K] (__need_timespec): Likewise.
12373 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
12374 (test-xfail-UNIX98/sched.h/conform): Likewise.
12375
302949e2
MS
123762014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
12377
12378 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
12379 error absence of trapping exception support.
12380 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
12381
a00f522a
JM
123822014-03-07 Joseph Myers <joseph@codesourcery.com>
12383
6f99f280
JM
12384 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
12385 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
12386 * timezone/Makefile (testdata): Move definition above include of
12387 Rules.
12388 (test-zones): New variable.
12389 (tests-special): Add zone files.
12390 (build-testdata): Use $(evaluate-test).
12391
0b20a9e8
JM
12392 * elf/Makefile (tests-special): Rename tests to end with .out.
12393 ($(objpfx)noload-mem): Likewise.
12394 ($(objpfx)tst-leaks1-mem): Likewise.
12395 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
12396 * iconv/Makefile (xtests-special): Change test-iconvconfig to
12397 $(objpfx)test-iconvconfig.out.
12398 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
12399 set -e inside subshell and redirect output to file.
12400 * iconvdata/Makefile (generated): Rename tests to end with .out.
12401 Correct type.
12402 (tests-special): Rename tests to end with .out.
12403 ($(objpfx)mtrace-tst-loading): Likewise.
12404 * intl/Makefile (generated): Likewise.
12405 (tests-special): Likewise.
12406 ($(objpfx)mtrace-tst-gettext): Likewise.
12407 * misc/Makefile (generated): Likewise.
12408 (tests-special): Likewise.
12409 ($(objpfx)tst-error1-mem): Likewise.
12410 * nptl/Makefile (tests-special): Likewise.
12411 ($(objpfx)tst-stack3-mem): Likewise.
12412 (generated): Likewise.
12413 * posix/Makefile (generated): Likewise.
12414 (tests-special): Likewise.
12415 (xtests-special): Likewise.
12416 ($(objpfx)tst-fnmatch-mem): Likewise.
12417 ($(objpfx)bug-regex2-mem): Likewise.
12418 ($(objpfx)bug-regex14-mem): Likewise.
12419 ($(objpfx)bug-regex21-mem): Likewise.
12420 ($(objpfx)bug-regex31-mem): Likewise.
12421 ($(objpfx)tst-vfork3-mem): Likewise.
12422 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
12423 ($(objpfx)tst-pcre-mem): Likewise.
12424 ($(objpfx)tst-boost-mem): Likewise.
12425 ($(objpfx)bug-ga2-mem): Likewise.
12426 ($(objpfx)bug-glob2-mem): Likewise.
12427 * resolv/Makefile (generate): Likewise.
12428 (tests-special): Likewise.
12429 (xtests-special): Likewise.
12430 (generated): Likewise.
12431 ($(objpfx)mtrace-tst-leaks): Likewise.
12432 ($(objpfx)mtrace-tst-leaks2): Likewise.
12433
265d52ab
JM
12434 * scripts/merge-test-results.sh: New file.
12435 * Makefile (tests-special-notdir): New variable.
12436 (tests): Run merge-test-results.sh.
12437 (xtests): Likewise.
12438 * Rules (tests-special-notdir): New variable.
12439 (xtests-special-notdir): Likewise.
12440 (tests): Run merge-test-results.sh
12441 (xtests): Likewise.
12442
54ee292d
JM
12443 * Makeconfig (test-xfail-name): New variable.
12444 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
12445 compute variable name for expected failures.
12446 * conform/Makefile (conformtest-headers-data): New variable.
12447 (conformtest-standards): Likewise.
12448 (conformtest-headers-ISO): Likewise.
12449 (conformtest-headers-ISO99): Likewise.
12450 (conformtest-headers-ISO11): Likewise.
12451 (conformtest-headers-POSIX): Likewise.
12452 (conformtest-headers-XPG3): Likewise.
12453 (conformtest-headers-XPG4): Likewise.
12454 (conformtest-headers-UNIX98): Likewise.
12455 (conformtest-headers-XOPEN2K): Likewise.
12456 (conformtest-headers-POSIX2008): Likewise.
12457 (conformtest-headers-XOPEN2K8): Likewise.
12458 (conformtest-header-list-base): Likewise.
12459 (conformtest-header-list-tests): Likewise.
12460 (conformtest-header-base): Likewise.
12461 (conformtest-header-tests): Likewise.
12462 (tests-special): Add $(conformtest-header-list-tests). If
12463 [$(fast-check) && !$(cross-compiling)], add
12464 $(conformtest-header-tests) instead of
12465 $(objpfx)run-conformtest.out.
12466 (generated): Add $(conformtest-header-list-base). If
12467 [$(fast-check) && !$(cross-compiling)], add
12468 $(conformtest-header-base). Remove previous setting.
12469 ($(conformtest-header-list-tests)): New target.
12470 (test-xfail-run-conformtest): Remove variable.
12471 ($(objpfx)run-conformtest.out): Remove target.
12472 (test-xfail-ISO11/complex.h/conform): New variable.
12473 (test-xfail-ISO11/stdalign.h/conform): Likewise.
12474 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
12475 (test-xfail-XPG3/varargs.h/conform): Likewise.
12476 (test-xfail-XPG4/varargs.h/conform): Likewise.
12477 (test-xfail-UNIX98/varargs.h/conform): Likewise.
12478 (test-xfail-XPG4/ndbm.h/conform): Likewise.
12479 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
12480 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
12481 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
12482 (test-xfail-XPG3/fcntl.h/conform): Likewise.
12483 (test-xfail-XPG3/ftw.h/conform): Likewise.
12484 (test-xfail-XPG3/grp.h/conform): Likewise.
12485 (test-xfail-XPG3/langinfo.h/conform): Likewise.
12486 (test-xfail-XPG3/limits.h/conform): Likewise.
12487 (test-xfail-XPG3/pwd.h/conform): Likewise.
12488 (test-xfail-XPG3/search.h/conform): Likewise.
12489 (test-xfail-XPG3/signal.h/conform): Likewise.
12490 (test-xfail-XPG3/stdio.h/conform): Likewise.
12491 (test-xfail-XPG3/stdlib.h/conform): Likewise.
12492 (test-xfail-XPG3/string.h/conform): Likewise.
12493 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
12494 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
12495 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
12496 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
12497 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
12498 (test-xfail-XPG3/sys/types.h/conform): Likewise.
12499 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
12500 (test-xfail-XPG3/termios.h/conform): Likewise.
12501 (test-xfail-XPG3/time.h/conform): Likewise.
12502 (test-xfail-XPG3/unistd.h/conform): Likewise.
12503 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
12504 (test-xfail-XPG4/fcntl.h/conform): Likewise.
12505 (test-xfail-XPG4/langinfo.h/conform): Likewise.
12506 (test-xfail-XPG4/netdb.h/conform): Likewise.
12507 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
12508 (test-xfail-XPG4/signal.h/conform): Likewise.
12509 (test-xfail-XPG4/stdio.h/conform): Likewise.
12510 (test-xfail-XPG4/stdlib.h/conform): Likewise.
12511 (test-xfail-XPG4/stropts.h/conform): Likewise.
12512 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
12513 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
12514 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
12515 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
12516 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
12517 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
12518 (test-xfail-XPG4/sys/time.h/conform): Likewise.
12519 (test-xfail-XPG4/sys/types.h/conform): Likewise.
12520 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
12521 (test-xfail-XPG4/termios.h/conform): Likewise.
12522 (test-xfail-XPG4/ucontext.h/conform): Likewise.
12523 (test-xfail-XPG4/unistd.h/conform): Likewise.
12524 (test-xfail-XPG4/utmpx.h/conform): Likewise.
12525 (test-xfail-POSIX/sched.h/conform): Likewise.
12526 (test-xfail-POSIX/signal.h/conform): Likewise.
12527 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
12528 (test-xfail-POSIX/tar.h/conform): Likewise.
12529 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
12530 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
12531 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
12532 (test-xfail-UNIX98/netdb.h/conform): Likewise.
12533 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
12534 (test-xfail-UNIX98/sched.h/conform): Likewise.
12535 (test-xfail-UNIX98/signal.h/conform): Likewise.
12536 (test-xfail-UNIX98/stdio.h/conform): Likewise.
12537 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
12538 (test-xfail-UNIX98/stropts.h/conform): Likewise.
12539 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
12540 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
12541 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
12542 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
12543 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
12544 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
12545 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
12546 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
12547 (test-xfail-UNIX98/unistd.h/conform): Likewise.
12548 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
12549 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
12550 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
12551 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
12552 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
12553 (test-xfail-XOPEN2K/math.h/conform): Likewise.
12554 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
12555 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
12556 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
12557 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
12558 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
12559 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
12560 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
12561 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
12562 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
12563 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
12564 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
12565 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
12566 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
12567 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
12568 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
12569 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
12570 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
12571 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
12572 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
12573 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
12574 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
12575 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
12576 (test-xfail-POSIX2008/signal.h/conform): Likewise.
12577 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
12578 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
12579 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
12580 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
12581 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
12582 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
12583 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
12584 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
12585 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
12586 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
12587 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
12588 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
12589 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
12590 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
12591 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
12592 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
12593 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
12594 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
12595 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
12596 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
12597 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
12598 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
12599 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
12600 (conformtest-cc-flags): Likewise.
12601 ($(conformtest-header-tests): New target.
12602 * conform/check-header-lists.sh: New file.
12603 * conform/run-conformtest.sh: Remove.
12604
a00f522a
JM
12605 * conform/conformtest.pl: Allow ' and \ in values given for
12606 constants.
12607 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
12608 inclusion.
12609 [POSIX] (sys/types.h): Likewise.
12610 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
12611 inclusion.
12612 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
12613 inclusion.
12614 * conform/data/signal.h-data (SIGIO): Remove expectation.
12615 [XPG3] (SIGBUS): Do not expect.
12616 [POSIX || XPG3] (SIGPOLL): Likewise.
12617 [POSIX || XPG3] (SIGPROF): Likewise.
12618 [POSIX || XPG3] (SIGSYS): Likewise.
12619 [XPG3] (SIGTRAP): Likewise.
12620 [POSIX || XPG3] (SIGURG): Likewise.
12621 [POSIX || XPG3] (SIGVTALRM): Likewise.
12622 [POSIX || XPG3] (SIGXCPU): Likewise.
12623 [POSIX || XPG3] (SIGXFSZ): Likewise.
12624 [POSIX] (SA_SIGINFO): Expect.
12625 [XPG3] (siginfo_t): Do not expect type or contents.
12626 [POSIX] (si_pid): Do not expect element.
12627 [POSIX] (si_uid): Likewise.
12628 [POSIX] (si_addr): Likewise.
12629 [POSIX] (si_status): Likewise.
12630 [POSIX] (si_band): Likewise.
12631 [XPG4] (si_value): Likewise.
12632 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
12633 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
12634 [POSIX || XPG3] (ILL_ILLADR): Likewise.
12635 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
12636 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
12637 [POSIX || XPG3] (ILL_PRVREG): Likewise.
12638 [POSIX || XPG3] (ILL_COPROC): Likewise.
12639 [POSIX || XPG3] (ILL_BADSTK): Likewise.
12640 [POSIX || XPG3] (FPE_INTDIV): Likewise.
12641 [POSIX || XPG3] (FPE_INTOVF): Likewise.
12642 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
12643 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
12644 [POSIX || XPG3] (FPE_FLTUND): Likewise.
12645 [POSIX || XPG3] (FPE_FLTRES): Likewise.
12646 [POSIX || XPG3] (FPE_FLTINV): Likewise.
12647 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
12648 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
12649 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
12650 [POSIX || XPG3] (BUS_ADRALN): Likewise.
12651 [POSIX || XPG3] (BUS_ADRERR): Likewise.
12652 [POSIX || XPG3] (BUS_OBJERR): Likewise.
12653 [POSIX || XPG3] (CLD_EXITED): Likewise.
12654 [POSIX || XPG3] (CLD_KILLED): Likewise.
12655 [POSIX || XPG3] (CLD_DUMPED): Likewise.
12656 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
12657 [POSIX || XPG3] (CLD_STOPPED): Likewise.
12658 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
12659 [POSIX || XPG3] (POLL_IN): Likewise.
12660 [POSIX || XPG3] (POLL_OUT): Likewise.
12661 [POSIX || XPG3] (POLL_MSG): Likewise.
12662 [POSIX || XPG3] (POLL_ERR): Likewise.
12663 [POSIX || XPG3] (POLL_PRI): Likewise.
12664 [POSIX || XPG3] (POLL_HUP): Likewise.
12665 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
12666 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
12667 (SIG*): Do not allow.
12668 [XPG3] (si_*): Likewise.
12669 [XPG3] (SI_*): Likewise.
12670 [XPG3 || XPG4] (sigev_*): Likewise.
12671 [XPG3 || XPG4] (SIGEV_*): Likewise.
12672 [XPG3 || XPG4] (sival_*): Likewise.
12673 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
12674 [POSIX || XPG3] (BUS_*): Likewise.
12675 [POSIX || XPG3] (CLD_*): Likewise.
12676 [POSIX || XPG3] (FPE_*): Likewise.
12677 [POSIX || XPG3] (ILL_*): Likewise.
12678 [POSIX || XPG3] (POLL_*): Likewise.
12679 [POSIX || XPG3] (SEGV_*): Likewise.
12680 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
12681 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
12682 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
12683 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
12684 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
12685 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
12686 Specify type and value.
12687 (TVERSLEN): Likewise.
12688 (REGTYPE): Likewise.
12689 (AREGTYPE): Likewise.
12690 (LNKTYPE): Likewise.
12691 (SYMTYPE): Likewise.
12692 (CHRTYPE): Likewise.
12693 (BLKTYPE): Likewise.
12694 (DIRTYPE): Likewise.
12695 (FIFOTYPE): Likewise.
12696 (CONTTYPE): Likewise.
12697 (TSUID): Likewise.
12698 (TSGID): Likewise.
12699 (TSVTX): Likewise.
12700 (TUREAD): Likewise.
12701 (TUWRITE): Likewise.
12702 (TUEXEC): Likewise.
12703 (TGREAD): Likewise.
12704 (TGWRITE): Likewise.
12705 (TGEXEC): Likewise.
12706 (TOREAD): Likewise.
12707 (TOWRITE): Likewise.
12708 (TOEXEC): Likewise.
12709 [POSIX] (TSVTX): Expect constant.
12710
aa97dee1
JM
127112014-03-06 Joseph Myers <joseph@codesourcery.com>
12712
f214606a
JM
12713 * Makefile (tests): Change dependencies to ....
12714 (tests-special): ... additions to this variable.
12715 (tests): Depend on $(tests-special).
12716 * Makerules (check-abi-list): New variable.
12717 (check-abi): Depend on $(check-abi-list).
12718 [$(subdir) = elf] (tests-special): Add
12719 $(objpfx)check-abi-libc.out.
12720 [$(build-shared) = yes && subdir] (tests-special): Add
12721 $(check-abi-list).
12722 [$(build-shared) = yes && subdir] (tests): Do not depend on
12723 check-abi.
12724 * Rules (tests): Depend on $(tests-special).
12725 (xtests): Depend on $(xtests-special).
12726 * catgets/Makefile (tests): Change dependencies to ....
12727 (tests-special): ... additions to this variable.
12728 * conform/Makefile (tests): Change dependencies to ....
12729 (tests-special): ... additions to this variable.
12730 * elf/Makefile (tests): Change dependencies to ....
12731 (tests-special): ... additions to this variable.
12732 * grp/Makefile (tests): Change dependencies to ....
12733 (tests-special): ... additions to this variable.
12734 * iconv/Makefile (xtests): Change dependencies to ....
12735 (xtests-special): ... additions to this variable.
12736 * iconvdata/Makefile (tests): Change dependencies to ....
12737 (tests-special): ... additions to this variable.
12738 * intl/Makefile (tests): Change dependencies to ....
12739 (tests-special): ... additions to this variable. Also add
12740 $(objpfx)tst-gettext.out.
12741 * io/Makefile (tests): Change dependencies to ....
12742 (tests-special): ... additions to this variable.
12743 * libio/Makefile (tests): Change dependencies to ....
12744 (tests-special): ... additions to this variable.
12745 * malloc/Makefile (tests): Change dependencies to ....
12746 (tests-special): ... additions to this variable.
12747 * misc/Makefile (tests): Change dependencies to ....
12748 (tests-special): ... additions to this variable.
12749 * nptl/Makefile (tests): Change dependencies to ....
12750 (tests-special): ... additions to this variable.
12751 * nptl_db/Makefile (tests): Change dependencies to ....
12752 (tests-special): ... additions to this variable.
12753 * posix/Makefile (tests): Change dependencies to ....
12754 (tests-special): ... additions to this variable.
12755 (xtests): Change dependencies to ....
12756 (xtests-special): ... additions to this variable.
12757 * resolv/Makefile (tests): Change dependencies to ....
12758 (tests-special): ... additions to this variable.
12759 (xtests): Change dependencies to ....
12760 (xtests-special): ... additions to this variable.
12761 * stdio-common/Makefile (tests): Change dependencies to ....
12762 (tests-special): ... additions to this variable.
12763 (do-tst-unbputc): Remove target.
12764 (do-tst-printf): Likewise.
12765 * stdlib/Makefile (tests): Change dependencies to ....
12766 (tests-special): ... additions to this variable.
12767 * string/Makefile (tests): Change dependencies to ....
12768 (tests-special): ... additions to this variable.
12769 * sysdeps/x86/Makefile (tests): Change dependencies to ....
12770 (tests-special): ... additions to this variable.
12771
81700b53
JM
12772 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
12773 whole file.
12774 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
12775 whole file.
12776 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
12777 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
12778
2ea18461
JM
12779 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
12780 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
12781 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
12782 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
12783 * conform/data/libgen.h-data [XPG3]: Likewise.
12784 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
12785 * conform/data/ndbm.h-data [XPG3]: Likewise.
12786 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
12787 * conform/data/netdb.h-data [XPG3]: Likewise.
12788 * conform/data/netinet/in.h-data [XPG3]: Likewise.
12789 * conform/data/poll.h-data [XPG3]: Likewise.
12790 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
12791 * conform/data/strings.h-data [XPG3]: Likewise.
12792 * conform/data/stropts.h-data [XPG3]: Likewise.
12793 * conform/data/sys/mman.h-data [XPG3]: Likewise.
12794 * conform/data/sys/resource.h-data [XPG3]: Likewise.
12795 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
12796 Likewise.
12797 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
12798 * conform/data/sys/time.h-data [XPG3]: Likewise.
12799 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
12800 * conform/data/sys/uio.h-data [XPG3]: Likewise.
12801 * conform/data/sys/un.h-data [XPG3]: Likewise.
12802 * conform/data/syslog.h-data [XPG3]: Likewise.
12803 * conform/data/ucontext.h-data [XPG3]: Likewise.
12804 * conform/data/utmpx.h-data [XPG3]: Likewise.
12805 * conform/data/varargs.h-data [UNIX98]: Enable file.
12806
355bc986
JM
12807 * manual/Makefile (INSTALL_INFO): Remove variable setting.
12808
215db402
JM
12809 * math/libm-test.inc (struct test_f_f_data): Move expected results
12810 into structure for each rounding mode.
12811 (struct test_ff_f_data): Likewise.
12812 (struct test_ff_f_data_nexttoward): Likewise.
12813 (struct test_fi_f_data): Likewise.
12814 (struct test_fl_f_data): Likewise.
12815 (struct test_if_f_data): Likewise.
12816 (struct test_fff_f_data): Likewise.
12817 (struct test_c_f_data): Likewise.
12818 (struct test_f_f1_data): Likewise.
12819 (struct test_fF_f1_data): Likewise.
12820 (struct test_ffI_f1_data): Likewise.
12821 (struct test_c_c_data): Likewise.
12822 (struct test_cc_c_data): Likewise.
12823 (struct test_f_i_data): Likewise.
12824 (struct test_ff_i_data): Likewise.
12825 (struct test_f_l_data): Likewise.
12826 (struct test_f_L_data): Likewise.
12827 (struct test_fFF_11_data): Likewise.
12828 (RM_): New macro.
12829 (RM_FE_DOWNWARD): Likewise.
12830 (RM_FE_TONEAREST): Likewise.
12831 (RM_FE_TOWARDZERO): Likewise.
12832 (RM_FE_UPWARD): Likewise.
12833 (RUN_TEST_LOOP_f_f): Update references to expected results.
12834 (RUN_TEST_LOOP_2_f): Likewise.
12835 (RUN_TEST_LOOP_fff_f): Likewise.
12836 (RUN_TEST_LOOP_c_f): Likewise.
12837 (RUN_TEST_LOOP_f_f1): Likewise.
12838 (RUN_TEST_LOOP_fF_f1): Likewise.
12839 (RUN_TEST_LOOP_fI_f1): Likewise.
12840 (RUN_TEST_LOOP_ffI_f1): Likewise.
12841 (RUN_TEST_LOOP_c_c): Likewise.
12842 (RUN_TEST_LOOP_cc_c): Likewise.
12843 (RUN_TEST_LOOP_f_i): Likewise.
12844 (RUN_TEST_LOOP_f_i_tg): Likewise.
12845 (RUN_TEST_LOOP_ff_i_tg): Likewise.
12846 (RUN_TEST_LOOP_f_b): Likewise.
12847 (RUN_TEST_LOOP_f_b_tg): Likewise.
12848 (RUN_TEST_LOOP_f_l): Likewise.
12849 (RUN_TEST_LOOP_f_L): Likewise.
12850 (RUN_TEST_LOOP_fFF_11): Likewise.
12851 * math/gen-libm-test.pl (parse_args): Output four copies of
12852 expected results for each test.
12853
67737b8f
JM
12854 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
12855 (__ASSUME_UTIMES): Remove.
12856 * sysdeps/unix/sysv/linux/tile/kernel-features.h
12857 (__ASSUME_UTIMES): Likewise.
12858
aa97dee1
JM
12859 * math/gen-auto-libm-tests.c: Update comment on output format.
12860 (output_for_one_input_case): Generate before-rounding and
12861 after-rounding information as conditions on output flags not
12862 floating-point format.
12863 * math/auto-libm-test-out: Regenerated.
12864 * math/gen-libm-test.pl (cond_value): New function.
12865 (or_cond_value): Use cond_value.
12866 (generate_testfile): Handle conditional exceptions.
12867
e6b6a857
JM
128682014-03-05 Joseph Myers <joseph@codesourcery.com>
12869
2f0a0f44
JM
12870 * math/libm-test.inc (max_valid_error): New variable.
12871 (init_max_error): Take new argument specifying whether function
12872 results are exactly determined. Set max_valid_error and bound
12873 other variables for errors based on this argument.
12874 (set_max_error): Do not record results above max_valid_error.
12875 (check_float_internal): Only accept errors of up to 0.5ulps if
12876 also at most max_valid_error.
12877 (START): Take new argument EXACT and pass it to init_max_error.
12878 (acos_test): Update call to START.
12879 (acos_test_tonearest): Likewise.
12880 (acos_test_towardzero): Likewise.
12881 (acos_test_downward): Likewise.
12882 (acos_test_upward): Likewise.
12883 (acosh_test): Likewise.
12884 (asin_test): Likewise.
12885 (asin_test_tonearest): Likewise.
12886 (asin_test_towardzero): Likewise.
12887 (asin_test_downward): Likewise.
12888 (asin_test_upward): Likewise.
12889 (asinh_test): Likewise.
12890 (atan_test): Likewise.
12891 (atanh_test): Likewise.
12892 (atan2_test): Likewise.
12893 (cabs_test): Likewise.
12894 (cacos_test): Likewise.
12895 (cacosh_test): Likewise.
12896 (carg_test): Likewise.
12897 (casin_test): Likewise.
12898 (casinh_test): Likewise.
12899 (catan_test): Likewise.
12900 (catanh_test): Likewise.
12901 (cbrt_test): Likewise.
12902 (ccos_test): Likewise.
12903 (ccosh_test): Likewise.
12904 (ceil_test): Likewise.
12905 (cexp_test): Likewise.
12906 (cimag_test): Likewise.
12907 (clog_test): Likewise.
12908 (clog10_test): Likewise.
12909 (conj_test): Likewise.
12910 (copysign_test): Likewise.
12911 (cos_test): Likewise.
12912 (cos_test_tonearest): Likewise.
12913 (cos_test_towardzero): Likewise.
12914 (cos_test_downward): Likewise.
12915 (cos_test_upward): Likewise.
12916 (cosh_test): Likewise.
12917 (cosh_test_tonearest): Likewise.
12918 (cosh_test_towardzero): Likewise.
12919 (cosh_test_downward): Likewise.
12920 (cosh_test_upward): Likewise.
12921 (cpow_test): Likewise.
12922 (cproj_test): Likewise.
12923 (creal_test): Likewise.
12924 (csin_test): Likewise.
12925 (csinh_test): Likewise.
12926 (csqrt_test): Likewise.
12927 (ctan_test): Likewise.
12928 (ctan_test_tonearest): Likewise.
12929 (ctan_test_towardzero): Likewise.
12930 (ctan_test_downward): Likewise.
12931 (ctan_test_upward): Likewise.
12932 (ctanh_test): Likewise.
12933 (ctanh_test_tonearest): Likewise.
12934 (ctanh_test_towardzero): Likewise.
12935 (ctanh_test_downward): Likewise.
12936 (ctanh_test_upward): Likewise.
12937 (erf_test): Likewise.
12938 (erfc_test): Likewise.
12939 (exp_test): Likewise.
12940 (exp_test_tonearest): Likewise.
12941 (exp_test_towardzero): Likewise.
12942 (exp_test_downward): Likewise.
12943 (exp_test_upward): Likewise.
12944 (exp10_test): Likewise.
12945 (exp10_test_tonearest): Likewise.
12946 (exp10_test_towardzero): Likewise.
12947 (exp10_test_downward): Likewise.
12948 (exp10_test_upward): Likewise.
12949 (pow10_test): Likewise.
12950 (exp2_test): Likewise.
12951 (expm1_test): Likewise.
12952 (expm1_test_tonearest): Likewise.
12953 (expm1_test_towardzero): Likewise.
12954 (expm1_test_downward): Likewise.
12955 (expm1_test_upward): Likewise.
12956 (fabs_test): Likewise.
12957 (fdim_test): Likewise.
12958 (floor_test): Likewise.
12959 (fma_test): Likewise.
12960 (fma_test_towardzero): Likewise.
12961 (fma_test_downward): Likewise.
12962 (fma_test_upward): Likewise.
12963 (fmax_test): Likewise.
12964 (fmin_test): Likewise.
12965 (fmod_test): Likewise.
12966 (fpclassify_test): Likewise.
12967 (frexp_test): Likewise.
12968 (hypot_test): Likewise.
12969 (ilogb_test): Likewise.
12970 (isfinite_test): Likewise.
12971 (finite_test): Likewise.
12972 (isgreater_test): Likewise.
12973 (isgreaterequal_test): Likewise.
12974 (isinf_test): Likewise.
12975 (isless_test): Likewise.
12976 (islessequal_test): Likewise.
12977 (islessgreater_test): Likewise.
12978 (isnan_test): Likewise.
12979 (isnormal_test): Likewise.
12980 (issignaling_test): Likewise.
12981 (isunordered_test): Likewise.
12982 (j0_test): Likewise.
12983 (j1_test): Likewise.
12984 (jn_test): Likewise.
12985 (ldexp_test): Likewise.
12986 (lgamma_test): Likewise.
12987 (gamma_test): Likewise.
12988 (lrint_test): Likewise.
12989 (lrint_test_tonearest): Likewise.
12990 (lrint_test_towardzero): Likewise.
12991 (lrint_test_downward): Likewise.
12992 (lrint_test_upward): Likewise.
12993 (llrint_test): Likewise.
12994 (llrint_test_tonearest): Likewise.
12995 (llrint_test_towardzero): Likewise.
12996 (llrint_test_downward): Likewise.
12997 (llrint_test_upward): Likewise.
12998 (log_test): Likewise.
12999 (log10_test): Likewise.
13000 (log1p_test): Likewise.
13001 (log2_test): Likewise.
13002 (logb_test): Likewise.
13003 (logb_test_downward): Likewise.
13004 (lround_test): Likewise.
13005 (llround_test): Likewise.
13006 (modf_test): Likewise.
13007 (nearbyint_test): Likewise.
13008 (nextafter_test): Likewise.
13009 (nexttoward_test): Likewise.
13010 (pow_test): Likewise.
13011 (pow_test_tonearest): Likewise.
13012 (pow_test_towardzero): Likewise.
13013 (pow_test_downward): Likewise.
13014 (pow_test_upward): Likewise.
13015 (remainder_test): Likewise.
13016 (drem_test): Likewise.
13017 (remainder_test_tonearest): Likewise.
13018 (drem_test_tonearest): Likewise.
13019 (remainder_test_towardzero): Likewise.
13020 (drem_test_towardzero): Likewise.
13021 (remainder_test_downward): Likewise.
13022 (drem_test_downward): Likewise.
13023 (remainder_test_upward): Likewise.
13024 (drem_test_upward): Likewise.
13025 (remquo_test): Likewise.
13026 (rint_test): Likewise.
13027 (rint_test_tonearest): Likewise.
13028 (rint_test_towardzero): Likewise.
13029 (rint_test_downward): Likewise.
13030 (rint_test_upward): Likewise.
13031 (round_test): Likewise.
13032 (scalb_test): Likewise.
13033 (scalbn_test): Likewise.
13034 (scalbln_test): Likewise.
13035 (signbit_test): Likewise.
13036 (sin_test): Likewise.
13037 (sin_test_tonearest): Likewise.
13038 (sin_test_towardzero): Likewise.
13039 (sin_test_downward): Likewise.
13040 (sin_test_upward): Likewise.
13041 (sincos_test): Likewise.
13042 (sinh_test): Likewise.
13043 (sinh_test_tonearest): Likewise.
13044 (sinh_test_towardzero): Likewise.
13045 (sinh_test_downward): Likewise.
13046 (sinh_test_upward): Likewise.
13047 (sqrt_test): Likewise.
13048 (sqrt_test_tonearest): Likewise.
13049 (sqrt_test_towardzero): Likewise.
13050 (sqrt_test_downward): Likewise.
13051 (sqrt_test_upward): Likewise.
13052 (tan_test): Likewise.
13053 (tan_test_tonearest): Likewise.
13054 (tan_test_towardzero): Likewise.
13055 (tan_test_downward): Likewise.
13056 (tan_test_upward): Likewise.
13057 (tanh_test): Likewise.
13058 (tgamma_test): Likewise.
13059 (trunc_test): Likewise.
13060 (y0_test): Likewise.
13061 (y1_test): Likewise.
13062 (yn_test): Likewise.
13063 (significand_test): Likewise.
13064
e6b6a857
JM
13065 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
13066 individual tests in comment.
13067 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
13068 (prev_max_error): New variable.
13069 (prev_real_max_error): Likewise.
13070 (prev_imag_max_error): Likewise.
13071 (compare_ulp_data): Don't refer to test names in comment.
13072 (find_test_ulps): Remove function.
13073 (find_function_ulps): Likewise.
13074 (find_complex_function_ulps): Likewise.
13075 (init_max_error): Take function name as argument. Look up ulps
13076 for that function.
13077 (print_ulps): Remove function.
13078 (print_max_error): Use prev_max_error instead of calling
13079 find_function_ulps.
13080 (print_complex_max_error): Use prev_real_max_error and
13081 prev_imag_max_error instead of calling find_complex_function_ulps.
13082 (check_float_internal): Take max_ulp parameter instead of calling
13083 find_test_ulps. Don't call print_ulps.
13084 (check_float): Update call to check_float_internal.
13085 (check_complex): Update calls to check_float_internal.
13086 (START): Pass argument to init_max_error.
13087 * math/gen-libm-test.pl (%results): Don't include "kind"
13088 information.
13089 (parse_ulps): Don't handle ulps of individual tests.
13090 (print_ulps_file): Likewise.
13091 (output_ulps): Likewise.
13092 * math/README.libm-test: Update.
13093 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
13094 individual tests.
13095 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
13096 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
13097 * sysdeps/arm/libm-test-ulps: Likewise.
13098 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
13099 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
13100 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
13101 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
13102 * sysdeps/microblaze/libm-test-ulps: Likewise.
13103 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
13104 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
13105 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
13106 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
13107 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
13108 * sysdeps/sh/libm-test-ulps: Likewise.
13109 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
13110 * sysdeps/tile/libm-test-ulps: Likewise.
13111 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13112
45adef3c
JM
131132014-03-04 Joseph Myers <joseph@codesourcery.com>
13114
13115 * math/libm-test.inc (print_complex_max_error): Check separately
13116 whether real and imaginary errors are within allowed range and
13117 pass 0 to print_complex_function_ulps instead of value within
13118 allowed range.
13119
000232b9
SP
131202014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
13121
d4b17258
SP
13122 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
13123 formatting.
13124 (get_handles_fopen): Likewise.
13125 (do_write_test): Likewise.
13126
091eff71
SP
13127 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
13128
fa3cd248
SP
13129 * libio/fileops.c (do_ftell): Use cached offset when
13130 available.
13131 * libio/iofwide.c (do_ftell_wide): Likewise.
13132 * libio/iofdopen.c (_IO_new_fdopen): Don't use
13133 _IO_file_attach.
13134 * libio/wfileops.c (_IO_fwide): Don't cache offset.
13135
000232b9
SP
13136 [BZ #16532]
13137 * libio/libioP.h (get_file_offset): New function.
13138 * libio/fileops.c (get_file_offset): Likewise.
13139 (do_ftell): Likewise.
13140 (_IO_new_file_seekoff): Split out ftell logic.
13141 * libio/wfileops.c (do_ftell_wide): Likewise.
13142 (_IO_wfile_seekoff): Split out ftell logic.
13143 * libio/tst-ftell-active-handler.c: New test case.
13144 * libio/Makefile (tests): Add it.
13145
116f4d1a
RM
131462014-03-03 Roland McGrath <roland@hack.frob.com>
13147
13148 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
13149 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
13150
532a6035
SP
131512014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
13152
13153 [BZ #16639]
13154 * nscd/connections.c (nscd_init): Call do_exit.
13155 (start_threads): Call do_exit and notify_parent.
13156 (begin_drop_privileges): Call do_exit.
13157 (finish_drop_privileges): Likewise.
13158 * nscd/selinux.c (preserve_capabilities): Likewise.
13159 (install_real_capabilities): Likewise.
13160 (nscd_selinux_enabled): Likewise.
13161 (avc_create_thread): Likewise.
13162 (avc_alloc_lock): Likewise.
13163 (nscd_avc_init): Likewise.
13164 * nscd/nscd.c (parent_fd): New static variable.
13165 (main): Create a pipe between parent and child processes.
13166 Skip closing parent_fd.
13167 (monitor_child): New function.
13168 (do_exit): Likewise.
13169 (notify_parent): Likewise.
13170 * nscd/nscd.h (notify_parent): Likewise.
13171 (do_exit): Likewise.
13172
d6285c9f
CD
131732014-03-03 Carlos O'Donell <carlos@redhat.com>
13174
13175 * malloc/malloc.c (__libc_calloc): Revert last change.
13176
2b85d2a0
AZ
131772014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13178
13179 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13180
c7debbdf
RS
131812014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
13182
13183 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
13184 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
13185 implementation.
13186 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
13187 (__libc_ifunc_impl_list): Likewise.
13188 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
13189 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
13190 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
13191 * string/strrchr.c: Define STRRCHR.
13192
235eed86
OB
131932014-02-28 Ondřej Bílka <neleai@seznam.cz>
13194
13195 * benchtest/bench-strtok.c (simple_strtok): Delete.
13196 (strtok_string): Use as benchmark.
13197 * string/strtok (STRTOK): New macro.
13198
8e25d1e7
CD
131992014-02-28 Carlos O'Donell <carlos@redhat.com>
13200
ef563f92
CD
13201 * manual/threads.texi: Add header and standard comments to all
13202 functions.
13203
8e25d1e7
CD
13204 * elf/dl-lookup.c (check_match): New function.
13205 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
13206 (do_lookup_x): Remove nested function check_match. Use non-nested
13207 function check_match.
13208
ff71cc37
RM
132092014-02-28 Roland McGrath <roland@hack.frob.com>
13210
f08e9a26
RM
13211 * csu/Makefile (generated, before-compile): Use += rather than =.
13212 * catgets/Makefile (generated, generated-dirs): Likewise.
13213 * debug/Makefile (generated): Likewise.
13214 * dlfcn/Makefile (generated): Likewise.
13215 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
13216 * iconvdata/Makefile (before-compile, generated): Likewise.
13217 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
13218 * libio/Makefile (generated): Likewise.
13219 * malloc/Makefile (generated): Likewise.
13220 * manual/Makefile (generated, generated-dirs): Likewise.
13221 * misc/Makefile (generated): Likewise.
13222 * posix/Makefile (generated): Likewise.
13223 * resolv/Makefile (generated): Likewise.
13224 * sunrpc/Makefile (generated, generated-dirs): Likewise.
13225 * timezone/Makefile (generated, generated-dirs): Likewise.
13226
ff71cc37
RM
13227 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
13228
fe13a20c
AZ
132292014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13230
57f41c40
AS
13231 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
13232 power8 implementation.
13233 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
13234 file: POWER8 llround ifunc implementation.
13235 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
13236 (__lllround): Add POWER8 implementation.
fe13a20c
AZ
13237 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
13238 POWER8 llround implementation.
13239
57f41c40
AS
13240 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
13241 power8 implementation.
13242 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
13243 file: POWER8 llrint ifunc implementation.
13244 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
13245 Add POWER8 implementation.
1ad8950a
AZ
13246 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
13247 POWER8 llrint implementation.
13248
57f41c40
AS
13249 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
13250 power8 implementation.
13251 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
13252 file: POWER8 finite ifunc implementation.
13253 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
13254 Add POWER8 implementation.
cac626d6
AZ
13255 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
13256 Likewise.
13257 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
13258 POWER8 finite implementation.
13259 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
13260
57f41c40
AS
13261 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
13262 power8 implementation.
13263 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
13264 file: POWER8 isinf ifunc implementation.
4393fc11
AZ
13265 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
13266 POWER8 implementation.
13267 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
13268 Likewise.
57f41c40
AS
13269 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
13270 isinf implementation.
4393fc11
AZ
13271 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
13272
57f41c40
AS
13273 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
13274 (INIT_ARCH): Add hwcap2 initialization.
13275 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
13276 power8 implementation.
13277 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
13278 file: POWER8 isnan ifunc implementation.
487972ae
AZ
13279 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
13280 POWER8 implementation.
13281 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
13282 Likewise.
57f41c40
AS
13283 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
13284 isnan implementation.
487972ae
AZ
13285 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
13286
7d92b787
JY
132872014-02-27 Joey Ye <joey.ye@arm.com>
13288
13289 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
13290 (_FP_NANFRAC_Q): Set to zero.
13291
1cadc858
SP
132922014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
13293
13294 [BZ #16623]
13295 * math/auto-libm-test-in: New test inputs.
13296 * math/auto-libm-test-out: Regenerate.
13297 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
13298 and DA.
13299 (__cos): Likewise.
13300 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
13301
f8c17e79
JM
133022014-02-27 Joseph Myers <joseph@codesourcery.com>
13303
13304 * scripts/evaluate-test.sh: Take new argument indicating whether
13305 failure is expected.
13306 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
13307 indicating whether failure is expected.
13308 * conform/Makefile (test-xfail-run-conformtest): New variable.
13309 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
13310 level.
13311 * posix/Makefile (test-xfail-annexc): New variable.
13312 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
13313
a5f891ac
JM
133142014-02-26 Joseph Myers <joseph@codesourcery.com>
13315
13316 * argp/Makefile: Include Makeconfig immediately after defining
13317 subdir.
13318 * assert/Makefile: Likewise.
13319 * benchtests/Makefile: Likewise.
13320 * catgets/Makefile: Likewise.
13321 * conform/Makefile: Likewise.
13322 * crypt/Makefile: Likewise.
13323 * csu/Makefile: Likewise.
13324 (all): Remove target.
13325 * ctype/Makefile: Include Makeconfig immediately after defining
13326 subdir.
13327 * debug/Makefile: Likewise.
13328 * dirent/Makefile: Likewise.
13329 * dlfcn/Makefile: Likewise.
13330 * gmon/Makefile: Likewise.
13331 * gnulib/Makefile: Likewise.
13332 * grp/Makefile: Likewise.
13333 * gshadow/Makefile: Likewise.
13334 * hesiod/Makefile: Likewise.
13335 * hurd/Makefile: Likewise.
13336 (all): Remove target.
13337 * iconvdata/Makefile: Include Makeconfig immediately after
13338 defining subdir.
13339 * inet/Makefile: Likewise.
13340 * intl/Makefile: Likewise.
13341 * io/Makefile: Likewise.
13342 * libio/Makefile: Likewise.
13343 (all): Remove target.
13344 * locale/Makefile: Include Makeconfig immediately after defining
13345 subdir.
13346 * login/Makefile: Likewise.
13347 * mach/Makefile: Likewise.
13348 (all): Remove target.
13349 * malloc/Makefile: Include Makeconfig immediately after defining
13350 subdir.
13351 (all): Remove target.
13352 * manual/Makefile: Include Makeconfig immediately after defining
13353 subdir.
13354 * math/Makefile: Likewise.
13355 * misc/Makefile: Likewise.
13356 * nis/Makefile: Likewise.
13357 * nss/Makefile: Likewise.
13358 * po/Makefile: Likewise.
13359 (all): Remove target.
13360 * posix/Makefile: Include Makeconfig immediately after defining
13361 subdir.
13362 * pwd/Makefile: Likewise.
13363 * resolv/Makefile: Likewise.
13364 * resource/Makefile: Likewise.
13365 * rt/Makefile: Likewise.
13366 * setjmp/Makefile: Likewise.
13367 * shadow/Makefile: Likewise.
13368 * signal/Makefile: Likewise.
13369 * socket/Makefile: Likewise.
13370 * soft-fp/Makefile: Likewise.
13371 * stdio-common/Makefile: Likewise.
13372 * stdlib/Makefile: Likewise.
13373 * streams/Makefile: Likewise.
13374 * string/Makefile: Likewise.
13375 * sunrpc/Makefile: Likewise.
13376 (all): Remove target.
13377 * sysvipc/Makefile: Include Makeconfig immediately after defining
13378 subdir.
13379 * termios/Makefile: Likewise.
13380 * time/Makefile: Likewise.
13381 * timezone/Makefile: Likewise.
13382 (all): Remove target.
13383 * wcsmbs/Makefile: Include Makeconfig immediately after defining
13384 subdir.
13385 * wctype/Makefile: Likewise.
13386
5b456e9d
SE
133872014-02-26 Steve Ellcey <sellcey@mips.com>
13388
13389 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
13390 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
13391 (libc_feholdexcept_setround_mips): Ditto.
13392 (libc_feholdsetround): New.
13393 (libc_feholdsetroundf): New.
13394 (libc_feholdsetroundl): New.
13395 (libc_feupdateenv_test_mips): New.
13396 (libc_feupdateenv_test): New.
13397 (libc_feupdateenv_testf): New.
13398 (libc_feupdateenv_testl): New.
13399 (libc_feresetround): New.
13400 (libc_feresetroundf): New.
13401 (libc_feresetroundl): New.
13402 (libc_fetestexcept_mips): New.
13403 (libc_fetestexcept): New.
13404 (libc_fetestexceptf): New.
13405 (libc_fetestexceptl): New.
13406 (HAVE_RM_CTX): New.
13407 (libc_feholdexcept_setround_mips_ctx): New.
13408 (libc_feholdexcept_setround_ctx): New.
13409 (libc_feholdexcept_setroundf_ctx): New.
13410 (libc_feholdexcept_setroundl_ctx): New.
13411 (libc_fesetenv_mips_ctx): New.
13412 (libc_fesetenv_ctx): New.
13413 (libc_fesetenv_ctxf): New.
13414 (libc_fesetenv_ctxl): New.
13415 (libc_feupdateenv_mips_ctx): New.
13416 (libc_feupdateenv_ctx): New.
13417 (libc_feupdateenvf_ctx): New.
13418 (libc_feupdateenvl_ctx): New.
13419 (libc_feholdsetround_mips_ctx): New.
13420 (libc_feholdsetround_ctx): New.
13421 (libc_feholdsetroundf_ctx): New.
13422 (libc_feholdsetroundl_ctx): New.
13423 (libc_feresetround_mips_ctx): New.
13424 (libc_feresetround_ctx): New.
13425 (libc_feresetroundf_ctx): New.
13426 (libc_feresetroundl_ctx): New.
13427
085d0e35
CD
134282014-02-26 Carlos O'Donell <carlos@redhat.com>
13429
f067bf1f
CD
13430 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
13431
085d0e35
CD
13432 * manual/ipc.texi: New file.
13433 * manual/Makefile (chapters): Add ipc.
13434 * manual/job.texi: Add "Inter-Process Communication" to next.
13435 * manual/process.texi: Add "Inter-Process Communication" to prev.
13436
86e58c08
AZ
134372014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13438
13439 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13440
4248f0da
OB
134412014-02-26 Ondřej Bílka <neleai@seznam.cz>
13442
13443 * malloc/malloc.c (__libc_calloc): Simplify implementation.
13444
cf822e3c
OB
13445 * manual/arith.texi: Fix spaces after sentences.
13446 * manual/charset.texi: Likewise.
13447 * manual/errno.texi: Likewise.
13448 * manual/install.texi: Likewise.
13449 * manual/llio.texi: Likewise.
13450 * manual/locale.texi: Likewise.
13451 * manual/maint.texi: Likewise.
13452 * manual/math.texi: Likewise.
13453 * manual/memory.texi: Likewise.
13454 * manual/message.texi: Likewise.
13455 * manual/probes.texi: Likewise.
13456 * manual/resource.texi: Likewise.
13457 * manual/signal.texi: Likewise.
13458 * manual/socket.texi: Likewise.
13459 * manual/stdio.texi: Likewise.
13460 * manual/string.texi: Likewise.
13461 * manual/time.texi: Likewise.
13462 * manual/users.texi: Likewise.
13463
ade40b10
CD
134642014-02-25 Carlos O'Donell <carlos@redhat.com>
13465
13466 [BZ #16632]
13467 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
13468 _DEFAULT_SOURCE is defined.
13469
d0503676
CD
134702014-02-25 Ulrich Drepper <drepper@gmail.com>
13471 Carlos O'Donell <carlos@redhat.com>
13472
13473 [BZ #16613]
13474 * elf/dl-tls.c (_dl_count_modids): New function.
13475 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
13476 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
13477 audit library and increment generation counter.
13478 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
13479 * elf/tst-audit9.c: New file.
13480 * elf/tst-auditmod9a.c: New file.
13481 * elf/tst-auditmod9b.c: New file.
13482 * elf/Makefile: Add rules to build and run tst-audit9.
13483
4cbf380c
FW
134842014-02-25 Florian Weimer <fweimer@redhat.com>
13485
13486 [BZ #15347]
13487 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
13488
80a56cc3
WN
134892014-02-25 Will Newton <will.newton@linaro.org>
13490
13491 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
13492 (__longjmp): Restore sp and lr before restoring callee
13493 saved registers. Add longjmp and longjmp_target
13494 SystemTap probe point.
13495 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
13496 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
13497 Define to zero to match jmpbuf layout.
13498 * sysdeps/arm/setjmp.S: Include stap-probe.h.
13499 (__sigsetjmp): Save sp and lr before saving callee
13500 saved registers. Add setjmp SystemTap probe point.
13501
3ea0f74e
SL
135022014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
13503
13504 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
13505
b04acb26
AS
135062014-02-24 Andreas Schwab <schwab@suse.de>
13507
13508 [BZ #15804]
13509 * elf/pldd.c (wait_for_ptrace_stop): New function.
13510 (main): Call it after attaching.
13511
098ad55c
RM
135122014-02-22 Roland McGrath <roland@hack.frob.com>
13513
d4ec6ae1
RM
13514 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
13515 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
13516 Versions files is now verboten.
13517 * hurd/Versions (libc: GLIBC_2.0):
13518 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
13519 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
13520 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
13521 * mach/Versions: Likewise.
13522
098ad55c
RM
13523 * csu/Versions: Remove unused %include.
13524 * resolv/Versions: Likewise.
13525
acd7f096
JM
135262014-02-21 Joseph Myers <joseph@codesourcery.com>
13527
f0881698
JM
13528 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
13529 ($(objpfx)check-local-headers.out): Likewise.
13530 ($(objpfx)begin-end-check.out): Likewise.
13531 * Makerules (check-abi-%.out): Likewise.
13532 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
13533 ($(objpfx)test2.cat): Likewise.
13534 ($(objpfx)de/libc.cat): Likewise.
13535 ($(objpfx)test-gencat.out): Likewise.
13536 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
13537 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
13538 ($(objpfx)noload-mem): Likewise.
13539 ($(objpfx)tst-pathopt.out): Likewise.
13540 ($(objpfx)tst-rtld-load-self.out): Likewise.
13541 ($(objpfx)tst-array1-cmp.out): Likewise.
13542 ($(objpfx)tst-array1-static-cmp.out): Likewise.
13543 ($(objpfx)tst-array2-cmp.out): Likewise.
13544 ($(objpfx)tst-array3-cmp.out): Likewise.
13545 ($(objpfx)tst-array4-cmp.out): Likewise.
13546 ($(objpfx)tst-array5-cmp.out): Likewise.
13547 ($(objpfx)tst-array5-static-cmp.out): Likewise.
13548 ($(objpfx)check-textrel.out): Likewise.
13549 ($(objpfx)check-execstack.out): Likewise.
13550 ($(objpfx)check-localplt.out): Likewise.
13551 ($(objpfx)order2-cmp.out): Likewise.
13552 ($(objpfx)tst-leaks1-mem): Likewise.
13553 ($(objpfx)tst-leaks1-static-mem): Likewise.
13554 ($(objpfx)tst-initorder-cmp.out): Likewise.
13555 ($(objpfx)tst-initorder2-cmp.out): Likewise.
13556 ($(objpfx)tst-unused-dep.out): Likewise.
13557 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
13558 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
13559 * iconv/Makefile (test-iconvconfig): Likewise.
13560 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
13561 ($(objpfx)iconv-test.out): Likewise.
13562 ($(objpfx)tst-tables.out): Likewise.
13563 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
13564 ($(objpfx)tst-gettext.out): Likewise.
13565 ($(objpfx)tst-translit.out): Likewise.
13566 ($(objpfx)tst-gettext2.out): Likewise.
13567 ($(objpfx)tst-gettext4.out): Likewise.
13568 ($(objpfx)tst-gettext6.out): Likewise.
13569 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
13570 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
13571 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
13572 ($(objpfx)tst-fopenloc-mem.out): Likewise.
13573 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
13574 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
13575 * posix/Makefile ($(objpfx)globtest.out): Likewise.
13576 ($(objpfx)wordexp-tst.out): Likewise.
13577 ($(objpfx)annexc.out): Likewise.
13578 ($(objpfx)tst-fnmatch-mem): Likewise.
13579 ($(objpfx)bug-regex2-mem): Likewise.
13580 ($(objpfx)bug-regex14-mem): Likewise.
13581 ($(objpfx)bug-regex21-mem): Likewise.
13582 ($(objpfx)bug-regex31-mem): Likewise.
13583 ($(objpfx)tst-vfork3-mem): Likewise.
13584 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
13585 ($(objpfx)tst-pcre-mem): Likewise.
13586 ($(objpfx)tst-boost-mem): Likewise.
13587 ($(objpfx)tst-getconf.out): Likewise.
13588 ($(objpfx)bug-ga2-mem): Likewise.
13589 ($(objpfx)bug-glob2-mem): Likewise.
13590 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
13591 ($(objpfx)mtrace-tst-leaks2): Likewise.
13592 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
13593 ($(objpfx)tst-printf.out): Likewise.
13594 ($(objpfx)tst-setvbuf1.out): Likewise.
13595 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
13596 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
13597 ($(objpfx)tst-fmtmsg.out): Likewise.
13598 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
13599 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
13600
acd7f096
JM
13601 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
13602 * bits/sigaction.h [__USE_MISC]: Likewise.
13603 * bits/waitstatus.h: Update #endif comments.
13604 * ctype/ctype.h: Likewise.
13605 * dirent/dirent.h: Likewise.
13606 [__USE_MISC]: Remove redundant conditionals.
13607 * grp/grp.h: Update #endif comments.
13608 [__USE_GNU]: Remove redundant conditionals.
13609 [__USE_MISC]: Likewise.
13610 * inet/netinet/in.h [__USE_GNU]: Likewise.
13611 * io/sys/stat.h [__USE_MISC]: Likewise.
13612 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
13613 * libio/bits/stdio.h: Update #endif comments.
13614 [__USE_MISC]: Remove redundant conditionals.
13615 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
13616 * libio/stdio.h: Update #endif comments.
13617 [__USE_MISC]: Remove redundant conditionals.
13618 * math/bits/math-finite.h [__USE_MISC]: Likewise.
13619 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
13620 * math/math.h: Update #else and #endif comments.
13621 [__USE_MISC]: Remove redundant conditionals.
13622 * misc/sys/uio.h: Update #endif comments.
13623 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
13624 * posix/glob.h [__USE_MISC]: Likewise.
13625 * posix/sys/types.h: Update #endif comments.
13626 [__USE_MISC]: Remove redundant conditionals.
13627 * posix/sys/wait.h: Update #endif comments.
13628 [__USE_MISC]: Remove redundant conditionals.
13629 * posix/unistd.h: Update #endif comments.
13630 [__USE_MISC]: Remove redundant conditionals.
13631 * pwd/pwd.h [__USE_GNU]: Likewise.
13632 [__USE_MISC]: Likewise.
13633 * resolv/netdb.h [__USE_GNU]: Likewise.
13634 * signal/signal.h: Update #endif comments.
13635 [__USE_MISC]: Remove redundant conditionals.
13636 * stdlib/stdlib.h: Update #else and #endif comments.
13637 [__USE_MISC]: Remove redundant conditionals.
13638 [__USE_GNU]: Likewise.
13639 * string/bits/string2.h [__USE_MISC]: Likewise.
13640 * string/string.h: Update #endif comments.
13641 [__USE_MISC]: Remove redundant conditionals.
13642 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
13643 Likewise.
13644 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
13645 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
13646 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
13647 Likewise.
13648 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
13649 Likewise.
13650 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
13651 comments.
13652 [__USE_MISC]: Remove redundant conditionals.
13653 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
13654 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
13655 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
13656 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
13657 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
13658 Likewise.
13659 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
13660 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
13661 Likewise.
13662 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
13663 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
13664 Likewise.
13665 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
13666 Likewise.
13667 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
13668 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
13669 Likewise.
13670 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
13671 Likewise.
13672 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
13673 * sysdeps/x86/bits/string.h: Update #endif comments.
13674 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
13675 conditionals.
13676 * time/sys/time.h: Update #endif comments.
13677 * time/time.h: Likewise.
13678 [__USE_MISC]: Remove redundant conditionals.
13679
a5d82e4e
YG
136802014-02-21 Yury Gribov <y.gribov@samsung.com>
13681
13682 [BZ #16600]
13683 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
13684
9a80491d
AS
136852014-02-21 Andreas Schwab <schwab@linux-m68k.org>
13686
13687 * Versions.def (librt): Add GLIBC_2.17.
13688
105fa381
AC
136892014-02-21 Adam Conrad <adconrad@0c3.net>
13690
13691 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
13692 synonym for _SYS_AUXV_H to allow direct inclusion.
13693 * sysdeps/sparc/bits/hwcap.h: Likewise.
13694 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
13695 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
13696 * sysdeps/sparc/sysdep.h: Likewise.
13697
b8cd1c4e
SP
136982014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
13699
13700 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
13701
bd939d23
RS
137022014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
13703
13704 * benchtests/bench-strrchr.c: Print length instead of position.
13705
5d7b57ca
JM
137062014-02-20 Joseph Myers <joseph@codesourcery.com>
13707
bc688c10
JM
13708 [BZ #16611]
13709 * sysdeps/unix/sysv/linux/kernel-features.h
13710 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
13711 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
13712 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
13713 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
13714 Likewise.
13715 [__i386__ || __powerpc__ || __sh__ || __sparc__]
13716 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
13717 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
13718 (__ASSUME_SENDMMSG): Define instead of using previous
13719 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
13720 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
13721 (__ASSUME_SENDMMSG_SYSCALL): Define.
13722 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
13723 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
13724 Likewise.
13725 * sysdeps/unix/sysv/linux/arm/kernel-features.h
13726 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
13727 Likewise.
13728 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
13729 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
13730 Likewise.
13731 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
13732 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
13733 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
13734 [__ASSUME_SENDMMSG]: Change conditionals to
13735 [__ASSUME_SENDMMSG_SOCKETCALL].
13736 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13737 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
13738 Define.
13739 * sysdeps/unix/sysv/linux/mips/kernel-features.h
13740 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
13741 Likewise.
13742 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
13743 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
13744 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
13745 [!__ASSUME_SENDMMSG]: Change conditional to
13746 [!__ASSUME_SENDMMSG_SOCKETCALL].
13747 * sysdeps/unix/sysv/linux/tile/kernel-features.h
13748 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
13749 Define.
13750
0e31b18c
JM
13751 [BZ #16610]
13752 * sysdeps/unix/sysv/linux/kernel-features.h
13753 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
13754 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
13755 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
13756 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
13757 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
13758 [__i386__ || __sparc__]
13759 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
13760 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
13761 (__ASSUME_RECVMMSG): Define instead of using previous
13762 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
13763 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
13764 (__ASSUME_RECVMMSG_SYSCALL): Define.
13765 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
13766 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
13767 Likewise.
13768 * sysdeps/unix/sysv/linux/arm/kernel-features.h
13769 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
13770 Likewise.
13771 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
13772 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
13773 Likewise.
13774 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
13775 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
13776 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
13777 [__ASSUME_RECVMMSG]: Change condition to
13778 [__ASSUME_RECVMMSG_SOCKETCALL].
13779 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13780 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
13781 Define.
13782 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
13783 * sysdeps/unix/sysv/linux/mips/kernel-features.h
13784 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
13785 Likewise.
13786 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
13787 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
13788 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
13789 [!__ASSUME_RECVMMSG]: Change condition to
13790 [!__ASSUME_RECVMMSG_SOCKETCALL].
13791 * sysdeps/unix/sysv/linux/tile/kernel-features.h
13792 (__ASSUME_RECVMMSG_SYSCALL): Define.
13793
dd481ccf
JM
13794 [BZ #16609]
13795 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
13796 __powerpc__ || __s390__ || __sh__ || __sparc__]
13797 (__ASSUME_SOCKETCALL): Define.
13798 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
13799 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
13800 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
13801 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
13802 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
13803 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
13804 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
13805 (__ASSUME_ACCEPT4): Define instead of using previous
13806 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
13807 __powerpc__ || __sparc__ || __s390__)] condition.
13808 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
13809 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
13810 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
13811 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
13812 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
13813 [!__ASSUME_ACCEPT4]: Change condition to
13814 [!__ASSUME_ACCEPT4_SOCKETCALL].
13815 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
13816 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
13817 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
13818 * sysdeps/unix/sysv/linux/arm/kernel-features.h
13819 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
13820 __ASSUME_ACCEPT4_SYSCALL.
13821 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
13822 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
13823 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
13824 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
13825 __ASSUME_ACCEPT4_SYSCALL.
13826 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
13827 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
13828 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
13829 [__ASSUME_ACCEPT4]: Change condition to
13830 [__ASSUME_ACCEPT4_SOCKETCALL].
13831 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
13832 (__ASSUME_SOCKETCALL): Define.
13833 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
13834 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13835 (__ASSUME_SOCKETCALL): Define.
13836 (__ASSUME_ACCEPT4): Remove.
13837 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
13838 Define.
13839 * sysdeps/unix/sysv/linux/mips/kernel-features.h
13840 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
13841 Likewise.
13842 * sysdeps/unix/sysv/linux/tile/kernel-features.h
13843 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
13844
5d7b57ca
JM
13845 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
13846 macro.
13847 (HWCAP_ARM_LPAE): Likewise.
13848 (HWCAP_ARM_EVTSTRM): Likewise.
13849 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
13850 Add vpfd32, lpae and evtstrm.
13851 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
13852 Increase to 22.
13853
63689d61
JM
138542014-02-19 Joseph Myers <joseph@codesourcery.com>
13855
13856 * math/auto-libm-test-in: Add tests of clog10.
13857 * math/auto-libm-test-out: Regenerated.
13858 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
13859 * sysdeps/i386/fpu/libm-test-ulps: Update.
13860 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13861
ab09bf61
AS
138622014-02-18 Andreas Schwab <schwab@suse.de>
13863
13864 [BZ #16574]
13865 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
13866 Store non-zero if the second buffer was newly allocated.
13867 (send_dg): Likewise.
13868 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
13869 to send_vc and send_dg.
13870 (res_nsend): Pass NULL for ansp2_malloced.
13871 * resolv/res_query.c (__libc_res_nquery): Add parameter
13872 answerp2_malloced and pass it down to __libc_res_nsend.
13873 (res_nquery): Pass additional NULL to __libc_res_nquery.
13874 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
13875 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
13876 second answer buffer if answerp2_malloced was set.
13877 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
13878 (__libc_res_nquerydomain): Add parameter
13879 answerp2_malloced and pass it down to __libc_res_nquery.
13880 (res_nquerydomain): Pass additional NULL to
13881 __libc_res_nquerydomain.
13882 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
13883 additional NULL to __libc_res_nsend and __libc_res_nquery.
13884 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
13885 additional NULL to __libc_res_nsearch.
13886 (_nss_dns_gethostbyname4_r): Revert last change. Use new
13887 parameter of __libc_res_nsearch to check for separately allocated
13888 second buffer.
13889 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
13890 __libc_res_nquery.
13891 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
13892 additional NULL to __libc_res_nquery.
13893 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
13894 __libc_res_nsearch.
13895 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
13896 * include/resolv.h: Update prototypes of __libc_res_nquery,
13897 __libc_res_nsearch, __libc_res_nsend.
13898
a4fb7861
JM
138992014-02-18 Joseph Myers <joseph@codesourcery.com>
13900
c6af2d89
JM
13901 * math/auto-libm-test-in: Add tests of fma.
13902 * math/auto-libm-test-out: Regenerated.
13903 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
13904 (fma_towardzero_test_data): Likewise.
13905 (fma_downward_test_data): Likewise.
13906 (fma_upward_test_data): Likewise.
13907 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
13908 mpc_mode.
13909 (rounding_modes): Add values for new field.
13910 (func_calc_method): Add value mpfr_fff_f.
13911 (func_calc_desc): Add mpfr_fff_f union field.
13912 (test_function): Add field exact_args.
13913 (FUNC): Add macro argument EXACT_ARGS.
13914 (FUNC_mpfr_f_f): Update call to FUNC.
13915 (FUNC_mpfr_f_f): Likewise.
13916 (FUNC_mpfr_ff_f): Likewise.
13917 (FUNC_mpfr_if_f): Likewise.
13918 (FUNC_mpc_c_f): Likewise.
13919 (FUNC_mpc_c_c): Likewise.
13920 (test_functions): Add fma. Update calls to FUNC.
13921 (handle_input_arg): Add argument exact_args.
13922 (add_test): Update call to handle_input_arg.
13923 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
13924 (output_for_one_input_case): Update call to calc_generic_results.
13925 Recalculate exact zero results in each rounding mode.
13926
a4fb7861
JM
13927 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
13928 non-negative before setting low bit.
13929 * math/auto-libm-test-in: Mark one asin test possibly having
13930 spurious underflow.
13931 * math/auto-libm-test-out: Regenerated.
13932 * sysdeps/i386/fpu/libm-test-ulps: Update.
13933 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13934
ef114eaf
DH
139352014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
13936
2b7f4f2c
SP
13937 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
13938 * sysdeps/unix/sysv/linux/microblaze: Move directory from
13939 ports/sysdeps/unix/sysv/linux/microblaze.
ef114eaf
DH
13940 * README: Add missing listing for microblaze*-*-linux-gnu.
13941
8125aedc
AM
139422014-02-16 Ondřej Bílka <neleai@seznam.cz>
13943
13944 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
13945 duplicate code
13946
c70a4b1d
MF
139472014-02-16 Mike Frysinger <vapier@gentoo.org>
13948
13949 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
13950 * sysdeps/unix/sysv/linux/ia64: Move directory from
13951 ports/sysdeps/unix/sysv/linux/ia64.
13952 * README: Update listing for ia64-*-linux-gnu.
13953
591aeaf7
TD
139542014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
13955 Joseph Myers <joseph@codesourcery.com>
13956
13957 * Makeconfig (test-name): New variable.
13958 (evaluate-test): Likewise.
13959 * Makerules (do-test-clean): Remove .test-result files.
13960 (common-mostlyclean): Likewise.
13961 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
13962 * scripts/evaluate-test.sh: New file.
13963
6e89caf1
JM
139642014-02-14 Joseph Myers <joseph@codesourcery.com>
13965
7f98f180
JM
13966 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
13967 separate $(objpfx)tst-fopenloc-cmp.out and
13968 $(objpfx)tst-fopenloc-mem.out targets.
13969 (tests): Update dependencies.
13970 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
13971 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
13972 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
13973 (tst-rxspencer-no-utf8-ARGS): New variable.
13974 (tst-rxspencer-no-utf8-ENV): Likewise.
13975 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
13976 instead of $(objpfx)tst-rxspencer-mem.
13977 ($(objpfx)tst-rxspencer-mem): Change target to
13978 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
13979 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
13980 * posix/tst-rxspencer-no-utf8.c: New file.
13981
6e89caf1
JM
13982 * elf/Makefile ($(objpfx)order.out): Remove rule.
13983 [$(run-built-tests) = yes] (tests): Depend on
13984 $(objpfx)order-cmp.out.
13985 ($(objpfx)order-cmp.out): New rule.
13986 [$(run-built-tests) = yes] (tests): Depend on
13987 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
13988 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
13989 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
13990 $(objpfx)tst-array5-static-cmp.out.
13991 ($(objpfx)tst-array1.out): Remove rule.
13992 ($(objpfx)tst-array1-cmp.out): New rule.
13993 ($(objpfx)tst-array1-static.out): Remove rule.
13994 ($(objpfx)tst-array1-static-cmp.out): New rule.
13995 ($(objpfx)tst-array2.out): Remove rule.
13996 ($(objpfx)tst-array2-cmp.out): New rule.
13997 ($(objpfx)tst-array3.out): Remove rule.
13998 ($(objpfx)tst-array3-cmp.out): New rule.
13999 ($(objpfx)tst-array4.out): Remove rule.
14000 ($(objpfx)tst-array4-cmp.out): New rule.
14001 ($(objpfx)tst-array5.out): Remove rule.
14002 ($(objpfx)tst-array5-cmp.out): New rule.
14003 ($(objpfx)tst-array5-static.out): Remove rule.
14004 ($(objpfx)tst-array5-static-cmp.out): New rule.
14005 [$(run-built-tests) = yes] (tests): Depend on
14006 $(objpfx)order2-cmp.out.
14007 ($(objpfx)order2.out): Remove rule.
14008 ($(objpfx)order2-cmp.out): New rule.
14009 ($(objpfx)tst-initorder.out): Remove rule.
14010 [$(run-built-tests) = yes] (tests): Depend on
14011 $(objpfx)tst-initorder-cmp.out.
14012 ($(objpfx)tst-initorder-cmp.out): New rule.
14013 ($(objpfx)tst-initorder2.out): Remove rule.
14014 [$(run-built-tests) = yes] (tests): Depend on
14015 $(objpfx)tst-initorder2-cmp.out.
14016 ($(objpfx)tst-initorder2-cmp.out): New rule.
14017 [$(run-built-tests) = yes] (tests): Depend on
14018 $(objpfx)tst-unused-dep-cmp.out.
14019 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
14020 ($(objpfx)tst-unused-dep-cmp.out): New rule.
14021 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
14022 on $(objpfx)tst-setvbuf1-cmp.out.
14023 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
14024 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
14025 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
14026 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
14027 ($(objpfx)tst-svc.out): Remove rule.
14028 ($(objpfx)tst-svc-cmp.out): New rule.
14029
ed9a38e2
JM
140302014-02-13 Joseph Myers <joseph@codesourcery.com>
14031
14032 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
14033 * ctype/ctype.h [__USE_MISC]: Likewise.
14034 * dirent/dirent.h [__USE_MISC]: Likewise.
14035 * grp/grp.h [__USE_MISC]: Likewise.
14036 * io/fcntl.h [__USE_MISC]: Likewise.
14037 * io/sys/stat.h [__USE_MISC]: Likewise.
14038 * libio/stdio.h [__USE_MISC]: Likewise.
14039 * posix/unistd.h [__USE_MISC]: Likewise.
14040 * pwd/pwd.h [__USE_MISC]: Likewise.
14041 * stdlib.h [__USE_MISC]: Likewise.
14042 * string/bits/string2.h [__USE_MISC]: Likewise.
14043 * string/string.h [__USE_MISC]: Likewise.
14044 * time/time.h [__USE_MISC]: Likewise.
14045
d6680619
AS
140462014-02-13 Andreas Schwab <schwab@suse.de>
14047
14048 [BZ #16574]
14049 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
14050 second answer buffer if it was separately allocated.
14051
ace614b8
JM
140522014-02-12 Joseph Myers <joseph@codesourcery.com>
14053
743151ae
JM
14054 * sysdeps/mips/math-tests.h: Include <features.h>.
14055 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
14056 (ROUNDING_TESTS_long_double): Do not define.
14057 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
14058 (EXCEPTION_TESTS_long_double): Likewise.
14059 * sysdeps/mips/mips64/libm-test-ulps: Update.
14060
498afc54
JM
14061 * include/features.h (__USE_BSD): Remove macro definitions.
14062 (__USE_SVID): Likewise.
14063 (_BSD_SOURCE): Likewise.
14064 (_SVID_SOURCE): Likewise.
14065 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
14066 from definition of _DEFAULT_SOURCE.
14067 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
14068 [_DEFAULT_SOURCE].
14069 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
14070 * bits/mman.h [__USE_BSD]: Likewise.
14071 * bits/termios.h [__USE_BSD]: Likewise.
14072 * bits/waitstatus.h [__USE_BSD]: Likewise.
14073 * ctype/ctype.h [__USE_SVID]: Likewise.
14074 * dirent/dirent.h [__USE_BSD]: Likewise.
14075 * grp/grp.h [__USE_SVID]: Likewise.
14076 [__USE_BSD]: Likewise.
14077 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
14078 * io/fcntl.h [__USE_BSD]: Likewise.
14079 * io/ftw.h [__USE_BSD]: Likewise.
14080 * io/sys/stat.h [__USE_BSD]: Likewise.
14081 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
14082 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
14083 * libio/stdio.h [__USE_SVID]: Likewise.
14084 [__USE_BSD]: Likewise.
14085 * math/math.h [__USE_SVID]: Likewise.
14086 [__USE_BSD]: Likewise.
14087 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
14088 * misc/bits/syslog.h [__USE_BSD]: Likewise.
14089 * misc/search.h [__USE_SVID]: Likewise.
14090 * misc/sys/mman.h [__USE_BSD]: Likewise.
14091 * misc/sys/syslog.h [__USE_BSD]: Likewise.
14092 * misc/sys/uio.h [__USE_BSD]: Likewise.
14093 * posix/bits/unistd.h [__USE_BSD]: Likewise.
14094 * posix/glob.h [__USE_BSD]: Likewise.
14095 * posix/regex.h [__USE_BSD]: Likewise.
14096 * posix/sys/types.h [__USE_BSD]: Likewise.
14097 [__USE_SVID]: Likewise.
14098 * posix/sys/utsname.h [__USE_SVID]: Likewise.
14099 * posix/sys/wait.h [__USE_BSD]: Likewise.
14100 [__USE_SVID]: Likewise.
14101 * posix/unistd.h [__USE_BSD]: Likewise.
14102 [__USE_SVID]: Likewise.
14103 * pwd/pwd.h [__USE_SVID]: Likewise.
14104 * resolv/netdb.h [__USE_BSD]: Likewise.
14105 * setjmp/setjmp.h [__USE_BSD]: Likewise.
14106 * signal/signal.h [__USE_BSD]: Likewise.
14107 [__USE_SVID]: Likewise.
14108 * socket/sys/socket.h [__USE_BSD]: Likewise.
14109 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
14110 * stdlib/stdlib.h [__USE_BSD]: Likewise.
14111 [__USE_SVID]: Likewise.
14112 * string/bits/string2.h [__USE_BSD]: Likewise.
14113 [__USE_SVID]: Likewise.
14114 * string/bits/string3.h [__USE_BSD]: Likewise.
14115 * string/endian.h [__USE_BSD]: Likewise.
14116 * string/string.h [__USE_SVID]: Likewise.
14117 [__USE_BSD]: Likewise.
14118 * string/strings.h [__USE_BSD]: Likewise.
14119 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
14120 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
14121 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
14122 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
14123 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
14124 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
14125 Likewise.
14126 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
14127 Likewise.
14128 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
14129 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
14130 Likewise.
14131 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
14132 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
14133 Likewise.
14134 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
14135 Likewise.
14136 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
14137 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
14138 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
14139 Likewise.
14140 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
14141 Likewise.
14142 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
14143 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
14144 * termios/termios.h [__USE_BSD]: Likewise.
14145 * time/sys/time.h [__USE_BSD]: Likewise.
14146 * time/time.h [__USE_BSD]: Likewise.
14147 [__USE_SVID]: Likewise.
14148
dd7b064c
JM
14149 * Makefile (subdir_targets): Remove subdir_lint.out.
14150
a2c4c199
JM
14151 * stdio-common/Makefile (do-tst-unbputc): Remove target.
14152 (do-tst-printf): Likewise.
14153 (tests): Depend directly on $(objpfx)tst-unbputc.out and
14154 $(objpfx)tst-printf.out.
14155
8756f740
JM
14156 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
14157
1b6dd3f1
JM
14158 * Makerules (check-abi-%): Change target to
14159 $(objpfx)check-abi-%.out.
14160 (check-abi target): Update dependencies.
14161 (check-abi-pattern variable): Redirect output of diff to $@.
14162 (check-abi variable): Likewise.
14163 * elf/Makefile (check-abi): Update dependencies.
14164
ace614b8
JM
14165 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
14166 unused.
14167 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
14168 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
14169 subnormal range.
14170 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
14171 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
14172 value has largest subnormal exponent.
14173 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
14174 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
14175 * sysdeps/aarch64/soft-fp/sfp-machine.h
14176 (_FP_TININESS_AFTER_ROUNDING): New macro.
14177 * sysdeps/alpha/soft-fp/sfp-machine.h
14178 (_FP_TININESS_AFTER_ROUNDING): Likewise.
14179 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
14180 Likewise.
14181 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
14182 (_FP_TININESS_AFTER_ROUNDING): Likewise.
14183 * sysdeps/mips/soft-fp/sfp-machine.h
14184 (_FP_TININESS_AFTER_ROUNDING): Likewise.
14185 * sysdeps/powerpc/soft-fp/sfp-machine.h
14186 (_FP_TININESS_AFTER_ROUNDING): Likewise.
14187 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
14188 Likewise.
14189 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
14190 (_FP_TININESS_AFTER_ROUNDING): Likewise.
14191 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
14192 (_FP_TININESS_AFTER_ROUNDING): Likewise.
14193 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
14194 Likewise.
14195
fbfdf9cb
DAS
141962014-02-12 Dylan Alex Simon <dylan@dylex.net>
14197
14198 [BZ #16545]
14199 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
14200 model 1.
14201
68b7efaa
RH
142022014-02-12 Richard Henderson <rth@redhat.com>
14203
c70a4b1d 14204 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
68b7efaa
RH
14205 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
14206 * sysdeps/unix/sysv/linux/alpha: Move directory from
14207 ports/sysdeps/unix/sysv/linux/alpha.
14208 * README: Update listing for alpha-*-linux-gnu.
14209
cb4a2928
JM
142102014-02-11 Joseph Myers <joseph@codesourcery.com>
14211
c941736c
JM
14212 * include/features.h: Update comment documenting feature test
14213 macros.
14214 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
14215 _DEFAULT_SOURCE.
14216 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
14217 (_SVID_SOURCE): Likewise.
14218 (_DEFAULT_SOURCE): Update description of default features.
14219 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
14220 with _GNU_SOURCE.
14221 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
14222 (S_ISVTX): Likewise.
14223 * manual/math.texi (Mathematical Constants): Likewise.
14224 * manual/signal.texi (Interrupted Primitives): Likewise.
14225 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
14226 * math/test-matherr.c (_SVID_SOURCE): Do not define.
14227 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
14228 Don't refer to _SVID_SOURCE in warning text.
14229
e8d8d7ec
JM
14230 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14231
cb4a2928
JM
14232 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
14233 already defined.
14234 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
14235 * sysdeps/mips/dl-lookup.c: Remove.
14236 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
14237
7e6424e3
AK
142382014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
14239
14240 [BZ #16447]
14241 * math/auto-libm-test-in: Add testcase for expl.
14242 * math/auto-libm-test-out: Regenerate.
14243 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
14244 calculation of unsafe.
14245 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
14246
75eff3fe
MS
142472014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
14248
14249 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
14250 * sysdeps/unix/sysv/linux/aarch64: Move directory from
14251 ports/sysdeps/unix/sysv/linux/aarch64.
14252 * README: Update listing for aarch64*-*-linux-gnu.
14253
d35f1e80
WN
142542014-02-11 Will Newton <will.newton@linaro.org>
14255
14256 * manual/probes.texi (Mathematical Function Probes): Use
14257 "triggered" instead of "hit".
14258
7b3436d4
WN
14259 * manual/probes.texi (Internal Probes): Add documentation
14260 of setjmp, longjmp and longjmp_target probes.
14261
b4f12ca3
WN
14262 * include/stap-probe.h: Add comment about probe argument
14263 format.
14264
c13a72b7
WN
14265 * malloc/mtrace.c (attribute_hidden): Remove unused macro
14266 definition. (tr_where, tr_freehook, tr_mallochook,
14267 tr_reallochook, tr_memalignhook): Use ANSI protoype.
14268
195b8165
DM
142692014-02-11 David S. Miller <davem@davemloft.net>
14270
14271 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
14272 processing int_tests.
14273
2ad7600b
JM
142742014-02-10 Joseph Myers <joseph@codesourcery.com>
14275
14276 * sysdeps/mips: Move directory from ports/sysdeps/mips.
14277 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
14278 * sysdeps/unix/sysv/linux/mips: Move directory from
14279 ports/sysdeps/unix/sysv/linux/mips.
14280 * README: Update listing for mips-*-linux-gnu and
14281 mips64-*-linux-gnu.
14282
73588a72
AS
142832014-02-10 Andreas Schwab <schwab@linux-m68k.org>
14284
14285 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
14286 * sysdeps/unix/sysv/linux/m68k: Move directory from
14287 ports/sysdeps/unix/sysv/linux/m68k.
14288 * README: Update listing for m68k-*-linux-gnu.
14289
4372980f
CM
142902014-02-10 Chris Metcalf <cmetcalf@tilera.com>
14291
14292 * sysdeps/tile: Move directory from ports/sysdeps/tile.
14293 * sysdeps/unix/sysv/linux/generic: Move directory from
14294 ports/sysdeps/unix/sysv/linux/generic.
14295 * sysdeps/unix/sysv/linux/tile: Move directory from
14296 ports/sysdeps/unix/sysv/linux/tile.
14297 * README: Update listing for tile*-*-linux-gnu.
14298
a1ffb40e
OB
142992014-02-10 Ondřej Bílka <neleai@seznam.cz>
14300
57f41c40
AS
14301 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
14302 __builtin_expect.
a1ffb40e
OB
14303 * benchtests/bench-memmem.c (simple_memmem): Likewise.
14304 * catgets/open_catalog.c (__open_catalog): Likewise.
14305 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
14306 * debug/confstr_chk.c: Likewise.
14307 * debug/fread_chk.c (__fread_chk): Likewise.
14308 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
14309 * debug/getgroups_chk.c: Likewise.
14310 * debug/mbsnrtowcs_chk.c: Likewise.
14311 * debug/mbsrtowcs_chk.c: Likewise.
14312 * debug/mbstowcs_chk.c: Likewise.
14313 * debug/memcpy_chk.c: Likewise.
14314 * debug/memmove_chk.c: Likewise.
14315 * debug/mempcpy_chk.c: Likewise.
14316 * debug/memset_chk.c: Likewise.
14317 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
14318 * debug/strcat_chk.c (__strcat_chk): Likewise.
14319 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
14320 * debug/strncat_chk.c (__strncat_chk): Likewise.
14321 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
14322 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
14323 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
14324 * debug/wcpncpy_chk.c: Likewise.
14325 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
14326 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
14327 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
14328 * debug/wcsncpy_chk.c: Likewise.
14329 * debug/wcsnrtombs_chk.c: Likewise.
14330 * debug/wcsrtombs_chk.c: Likewise.
14331 * debug/wcstombs_chk.c: Likewise.
14332 * debug/wmemcpy_chk.c: Likewise.
14333 * debug/wmemmove_chk.c: Likewise.
14334 * debug/wmempcpy_chk.c: Likewise.
14335 * debug/wmemset_chk.c: Likewise.
14336 * dirent/scandirat.c (SCANDIRAT): Likewise.
14337 * dlfcn/dladdr1.c (dladdr1): Likewise.
14338 * dlfcn/dladdr.c (dladdr): Likewise.
14339 * dlfcn/dlclose.c (dlclose_doit): Likewise.
14340 * dlfcn/dlerror.c (__dlerror): Likewise.
14341 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
14342 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
14343 * dlfcn/dlopen.c (dlopen_doit): Likewise.
14344 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
14345 * dlfcn/dlsym.c (dlsym_doit): Likewise.
14346 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
14347 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
14348 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
14349 Likewise.
14350 * elf/dl-conflict.c: Likewise.
14351 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
14352 * elf/dl-dst.h: Likewise.
14353 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
14354 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
14355 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
14356 * elf/dl-init.c (call_init, _dl_init): Likewise.
14357 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
57f41c40
AS
14358 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
14359 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
14360 Likewise.
a1ffb40e
OB
14361 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
14362 Likewise.
14363 * elf/dl-minimal.c (__libc_memalign): Likewise.
14364 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
14365 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
14366 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
14367 * elf/dl-sym.c (do_sym): Likewise.
57f41c40
AS
14368 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
14369 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
a1ffb40e
OB
14370 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
14371 * elf/dl-writev.h (_dl_writev): Likewise.
14372 * elf/ldconfig.c (search_dir): Likewise.
57f41c40
AS
14373 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
14374 (dl_main): Likewise.
a1ffb40e
OB
14375 * elf/setup-vdso.h (setup_vdso): Likewise.
14376 * grp/compat-initgroups.c (compat_call): Likewise.
14377 * grp/fgetgrent.c (fgetgrent): Likewise.
14378 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
14379 * grp/putgrent.c (putgrent): Likewise.
14380 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
14381 Likewise.
14382 * hurd/hurdinit.c: Likewise.
14383 * iconvdata/8bit-gap.c (struct): Likewise.
14384 * iconvdata/ansi_x3.110.c : Likewise.
14385 * iconvdata/big5.c : Likewise.
14386 * iconvdata/big5hkscs.c : Likewise.
14387 * iconvdata/cp1255.c: Likewise.
14388 * iconvdata/cp1258.c : Likewise.
14389 * iconvdata/cp932.c : Likewise.
14390 * iconvdata/euc-cn.c: Likewise.
14391 * iconvdata/euc-jisx0213.c : Likewise.
14392 * iconvdata/euc-jp.c: Likewise.
14393 * iconvdata/euc-jp-ms.c : Likewise.
14394 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
14395 * iconvdata/gb18030.c : Likewise.
14396 * iconvdata/gbbig5.c (const): Likewise.
14397 * iconvdata/gbgbk.c: Likewise.
14398 * iconvdata/gbk.c : Likewise.
14399 * iconvdata/ibm1364.c : Likewise.
14400 * iconvdata/ibm930.c : Likewise.
14401 * iconvdata/ibm932.c: Likewise.
14402 * iconvdata/ibm933.c : Likewise.
14403 * iconvdata/ibm935.c : Likewise.
14404 * iconvdata/ibm937.c : Likewise.
14405 * iconvdata/ibm939.c : Likewise.
14406 * iconvdata/ibm943.c: Likewise.
14407 * iconvdata/iso_11548-1.c: Likewise.
14408 * iconvdata/iso-2022-cn.c : Likewise.
14409 * iconvdata/iso-2022-cn-ext.c : Likewise.
14410 * iconvdata/iso-2022-jp-3.c: Likewise.
14411 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
14412 * iconvdata/iso-2022-kr.c : Likewise.
14413 * iconvdata/iso646.c (gconv_end): Likewise.
14414 * iconvdata/iso_6937-2.c : Likewise.
14415 * iconvdata/iso_6937.c : Likewise.
14416 * iconvdata/iso8859-1.c: Likewise.
14417 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
14418 * iconvdata/shift_jisx0213.c : Likewise.
14419 * iconvdata/sjis.c : Likewise.
14420 * iconvdata/t.61.c : Likewise.
14421 * iconvdata/tcvn5712-1.c : Likewise.
14422 * iconvdata/tscii.c: Likewise.
14423 * iconvdata/uhc.c : Likewise.
14424 * iconvdata/unicode.c (gconv_end): Likewise.
14425 * iconvdata/utf-16.c (gconv_end): Likewise.
14426 * iconvdata/utf-32.c (gconv_end): Likewise.
14427 * iconvdata/utf-7.c (base64): Likewise.
14428 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
14429 * iconv/gconv_close.c (__gconv_close): Likewise.
14430 * iconv/gconv_open.c (__gconv_open): Likewise.
57f41c40
AS
14431 * iconv/gconv_simple.c (internal_ucs4_loop_single)
14432 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
14433 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
14434 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
14435 (ucs4le_internal_loop_single): Likewise.
a1ffb40e
OB
14436 * iconv/iconv.c (iconv): Likewise.
14437 * iconv/iconv_close.c: Likewise.
14438 * iconv/loop.c (SINGLE): Likewise.
14439 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
14440 * include/atomic.h: Likewise.
14441 * inet/inet6_option.c (option_alloc): Likewise.
14442 * intl/bindtextdom.c (set_binding_values): Likewise.
14443 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
14444 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
14445 * intl/localealias.c (read_alias_file): Likewise.
14446 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
57f41c40
AS
14447 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
14448 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
a1ffb40e
OB
14449 * libio/fmemopen.c (fmemopen): Likewise.
14450 * libio/iofgets.c (_IO_fgets): Likewise.
14451 * libio/iofgets_u.c (fgets_unlocked): Likewise.
14452 * libio/iofgetws.c (fgetws): Likewise.
14453 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
14454 * libio/iogetdelim.c (_IO_getdelim): Likewise.
57f41c40
AS
14455 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
14456 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
a1ffb40e
OB
14457 * locale/findlocale.c (_nl_find_locale): Likewise.
14458 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
14459 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
14460 Likewise.
14461 * locale/setlocale.c (setlocale): Likewise.
14462 * login/programs/pt_chown.c (main): Likewise.
14463 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
14464 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
57f41c40
AS
14465 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
14466 (mmap, mmap64, mremap, munmap): Likewise.
a1ffb40e
OB
14467 * math/e_exp2l.c: Likewise.
14468 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
14469 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
14470 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
14471 * math/s_catan.c (__catan): Likewise.
14472 * math/s_catanf.c (__catanf): Likewise.
14473 * math/s_catanh.c (__catanh): Likewise.
14474 * math/s_catanhf.c (__catanhf): Likewise.
14475 * math/s_catanhl.c (__catanhl): Likewise.
14476 * math/s_catanl.c (__catanl): Likewise.
14477 * math/s_ccosh.c (__ccosh): Likewise.
14478 * math/s_ccoshf.c (__ccoshf): Likewise.
14479 * math/s_ccoshl.c (__ccoshl): Likewise.
14480 * math/s_cexp.c (__cexp): Likewise.
14481 * math/s_cexpf.c (__cexpf): Likewise.
14482 * math/s_cexpl.c (__cexpl): Likewise.
14483 * math/s_clog10.c (__clog10): Likewise.
14484 * math/s_clog10f.c (__clog10f): Likewise.
14485 * math/s_clog10l.c (__clog10l): Likewise.
14486 * math/s_clog.c (__clog): Likewise.
14487 * math/s_clogf.c (__clogf): Likewise.
14488 * math/s_clogl.c (__clogl): Likewise.
14489 * math/s_csin.c (__csin): Likewise.
14490 * math/s_csinf.c (__csinf): Likewise.
14491 * math/s_csinh.c (__csinh): Likewise.
14492 * math/s_csinhf.c (__csinhf): Likewise.
14493 * math/s_csinhl.c (__csinhl): Likewise.
14494 * math/s_csinl.c (__csinl): Likewise.
14495 * math/s_csqrt.c (__csqrt): Likewise.
14496 * math/s_csqrtf.c (__csqrtf): Likewise.
14497 * math/s_csqrtl.c (__csqrtl): Likewise.
14498 * math/s_ctan.c (__ctan): Likewise.
14499 * math/s_ctanf.c (__ctanf): Likewise.
14500 * math/s_ctanh.c (__ctanh): Likewise.
14501 * math/s_ctanhf.c (__ctanhf): Likewise.
14502 * math/s_ctanhl.c (__ctanhl): Likewise.
14503 * math/s_ctanl.c (__ctanl): Likewise.
14504 * math/w_pow.c: Likewise.
14505 * math/w_powf.c: Likewise.
14506 * math/w_powl.c: Likewise.
14507 * math/w_scalb.c (sysv_scalb): Likewise.
14508 * math/w_scalbf.c (sysv_scalbf): Likewise.
14509 * math/w_scalbl.c (sysv_scalbl): Likewise.
14510 * misc/error.c (error_tail): Likewise.
14511 * misc/pselect.c (__pselect): Likewise.
14512 * nis/nis_callback.c (__nis_create_callback): Likewise.
14513 * nis/nis_call.c (__nisfind_server): Likewise.
14514 * nis/nis_creategroup.c (nis_creategroup): Likewise.
14515 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
14516 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
14517 * nis/nis_getservlist.c (nis_getservlist): Likewise.
14518 * nis/nis_lookup.c (nis_lookup): Likewise.
14519 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
57f41c40
AS
14520 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
14521 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
a1ffb40e 14522 * nis/nis_xdr.c (xdr_endpoint): Likewise.
57f41c40
AS
14523 * nis/nss_compat/compat-grp.c (getgrent_next_file)
14524 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
14525 * nis/nss_compat/compat-initgroups.c (add_group)
14526 (internal_getgrent_r): Likewise.
14527 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
14528 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
14529 * nis/nss_compat/compat-spwd.c (getspent_next_file)
14530 (internal_getspnam_r): Likewise.
14531 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
14532 (_nss_nis_getaliasbyname_r): Likewise.
14533 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
14534 (_nss_nis_getntohost_r): Likewise.
14535 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
14536 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
14537 (_nss_nis_getgrgid_r): Likewise.
14538 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
14539 (internal_nis_gethostent_r, internal_gethostbyname2_r)
14540 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
14541 (_nss_nis_gethostbyname4_r): Likewise.
14542 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
14543 (initgroups_netid): Likewise.
a1ffb40e 14544 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
57f41c40
AS
14545 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
14546 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
14547 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
14548 (_nss_nis_getprotobynumber_r): Likewise.
14549 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
14550 (_nss_nis_getsecretkey): Likewise.
14551 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
14552 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
14553 (_nss_nis_getpwuid_r): Likewise.
14554 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
14555 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
14556 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
14557 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
14558 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
14559 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
a1ffb40e
OB
14560 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
14561 Likewise.
57f41c40
AS
14562 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
14563 (_nss_nisplus_getntohost_r): Likewise.
14564 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
14565 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
14566 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
14567 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
a1ffb40e 14568 Likewise.
57f41c40
AS
14569 * nis/nss_nisplus/nisplus-initgroups.c
14570 (_nss_nisplus_initgroups_dyn): Likewise.
14571 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
14572 (_nss_nisplus_getnetbyaddr_r): Likewise.
14573 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
14574 (_nss_nisplus_getprotobynumber_r): Likewise.
14575 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
14576 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
a1ffb40e
OB
14577 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
14578 Likewise.
57f41c40
AS
14579 * nis/nss_nisplus/nisplus-service.c
14580 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
14581 (_nss_nisplus_getservbyport_r): Likewise.
14582 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
14583 (_nss_nisplus_getspnam_r): Likewise.
14584 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
14585 Likewise.
a1ffb40e
OB
14586 * nscd/aicache.c (addhstaiX): Likewise.
14587 * nscd/cache.c (cache_search, prune_cache): Likewise.
57f41c40
AS
14588 * nscd/connections.c (register_traced_file, send_ro_fd)
14589 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
14590 (main_loop_epoll): Likewise.
a1ffb40e
OB
14591 * nscd/grpcache.c (addgrbyX): Likewise.
14592 * nscd/hstcache.c (addhstbyX): Likewise.
14593 * nscd/initgrcache.c (addinitgroupsX): Likewise.
14594 * nscd/mem.c (gc, mempool_alloc): Likewise.
57f41c40
AS
14595 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
14596 (addinnetgrX): Likewise.
14597 * nscd/nscd-client.h (__nscd_acquire_maplock)
14598 (__nscd_drop_map_ref): Likewise.
a1ffb40e
OB
14599 * nscd/nscd_getai.c (__nscd_getai): Likewise.
14600 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
14601 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
14602 Likewise.
14603 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
14604 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
57f41c40
AS
14605 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
14606 (__nscd_get_map_ref): Likewise.
a1ffb40e 14607 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
57f41c40
AS
14608 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
14609 Likewise.
a1ffb40e
OB
14610 * nscd/pwdcache.c (addpwbyX): Likewise.
14611 * nscd/selinux.c (preserve_capabilities): Likewise.
14612 * nscd/servicescache.c (addservbyX): Likewise.
14613 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
14614 * posix/fnmatch.c (fnmatch): Likewise.
14615 * posix/getopt.c (_getopt_internal_r): Likewise.
14616 * posix/glob.c (glob, glob_in_dir): Likewise.
14617 * posix/wordexp.c (exec_comm_child): Likewise.
57f41c40
AS
14618 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
14619 (getanswer_r, gaih_getanswer_slice): Likewise.
a1ffb40e
OB
14620 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
14621 * resolv/res_init.c: Likewise.
14622 * resolv/res_mkquery.c (res_nmkquery): Likewise.
14623 * resolv/res_query.c (__libc_res_nquery): Likewise.
14624 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
14625 Likewise.
14626 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
14627 * stdio-common/perror.c (perror): Likewise.
14628 * stdio-common/printf_fp.c (___printf_fp): Likewise.
14629 * stdio-common/tmpnam.c (tmpnam): Likewise.
14630 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
14631 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
57f41c40
AS
14632 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
14633 Likewise.
a1ffb40e
OB
14634 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
14635 * stdlib/putenv.c (putenv): Likewise.
14636 * stdlib/setenv.c (__add_to_environ): Likewise.
14637 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
14638 * stdlib/strtol_l.c (INTERNAL): Likewise.
14639 * string/memmem.c (memmem): Likewise.
14640 * string/strerror.c (strerror): Likewise.
14641 * string/strnlen.c (__strnlen): Likewise.
14642 * string/test-memmem.c (simple_memmem): Likewise.
14643 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
14644 * sunrpc/pm_getport.c (__get_socket): Likewise.
14645 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
14646 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
57f41c40
AS
14647 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
14648 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
a1ffb40e
OB
14649 Likewise.
14650 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
14651 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
14652 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
14653 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
14654 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
57f41c40
AS
14655 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
14656 Likewise.
14657 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
14658 Likewise.
a1ffb40e
OB
14659 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
14660 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
14661 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
14662 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
14663 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
14664 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
14665 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
14666 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
14667 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
14668 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
14669 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
14670 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
14671 Likewise.
14672 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
14673 Likewise.
14674 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
14675 Likewise.
14676 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
14677 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
14678 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
14679 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
14680 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
14681 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
14682 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
14683 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
14684 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
14685 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
14686 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
14687 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
14688 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
14689 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
14690 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
57f41c40
AS
14691 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
14692 Likewise.
a1ffb40e
OB
14693 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
14694 Likewise.
14695 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
14696 Likewise.
14697 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
14698 Likewise.
14699 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
14700 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
14701 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
14702 Likewise.
14703 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
14704 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
14705 * sysdeps/posix/opendir.c (__opendirat): Likewise.
14706 * sysdeps/posix/sleep.c: Likewise.
14707 * sysdeps/posix/tempname.c: Likewise.
14708 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
14709 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
14710 Likewise.
57f41c40
AS
14711 * sysdeps/powerpc/powerpc32/dl-machine.h
14712 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
a1ffb40e
OB
14713 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
14714 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
14715 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
14716 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
14717 Likewise.
14718 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
14719 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
14720 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
14721 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
14722 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
14723 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
14724 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
14725 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
14726 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
14727 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
14728 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
14729 (elf_machine_lazy_rel): Likewise.
a1ffb40e 14730 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
14731 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
14732 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
14733 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
14734 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
14735 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
14736 * sysdeps/unix/grantpt.c (grantpt): Likewise.
14737 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
14738 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
14739 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
14740 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
14741 Likewise.
14742 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
14743 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
14744 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
14745 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
14746 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
14747 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
14748 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
14749 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
14750 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
14751 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
14752 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
14753 Likewise.
14754 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
14755 (__posix_fallocate64_l64): Likewise.
14756 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
14757 (posix_fallocate): Likewise.
57f41c40
AS
14758 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
14759 Likewise.
a1ffb40e 14760 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
57f41c40
AS
14761 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
14762 (getifaddrs_internal): Likewise.
a1ffb40e
OB
14763 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
14764 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
14765 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
14766 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
14767 * sysdeps/unix/sysv/linux/posix_fallocate64.c
14768 (__posix_fallocate64_l64): Likewise.
14769 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
14770 Likewise.
14771 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
57f41c40
AS
14772 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
14773 (__get_clockfreq): Likewise.
a1ffb40e
OB
14774 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
14775 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
14776 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
14777 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
14778 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
14779 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
14780 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
14781 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
14782 Likewise.
14783 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
14784 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
14785 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
14786 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
14787 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
14788 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
14789 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
14790 Likewise.
14791 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
14792 (posix_fallocate): Likewise.
14793 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
14794 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
14795 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
14796 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
14797 (elf_machine_rela, elf_machine_rela_relative)
14798 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
14799 * time/asctime.c (asctime_internal): Likewise.
14800 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
14801 * time/tzset.c (__tzset_parse_tz): Likewise.
14802 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
14803 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
14804 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
14805 * wcsmbs/wcsmbsload.h: Likewise.
14806
f3d338c9
OB
14807 [BZ #15894]
14808 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
14809
57f41c40
AS
14810 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
14811 (arena_get2): Remove THREAD_STATS conditionals.
14812 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
14813 (__malloc_stats, int): Likewise.
bdfe308a 14814
d674667c
MF
148152014-02-08 Mike Frysinger <vapier@gentoo.org>
14816
14817 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
14818 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
14819
6349768c
MF
14820 * manual/setjmp.texi: Fix typos/grammar errors.
14821
0b7c7473
MF
14822 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
14823 Only return early when n is <= 0. Delete unused return statement.
14824
ac8cc9e3
MF
14825 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
14826 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
14827 * debug/tst-longjmp_chk3.c: New file.
14828
c5bb8e23
MF
14829 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
14830 (test_main): Replace code with set_fortify_handler call.
14831 * debug/test-strcpy_chk.c: Likewise.
14832 * debug/tst-chk1.c: Likewise.
14833 * debug/tst-longjmp_chk.c: Likewise.
14834 * test-skeleton.c: Include fcntl.h & paths.h
14835 (set_fortify_handler): Define.
14836
10444e42
MF
14837 * debug/tst-longjmp_chk.c: Add header comment and include
14838 ../test-skeleton.c.
14839 (do_test): Mark static.
14840 (TEST_FUNCTION): Define.
14841
1e805e8d
MF
14842 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
14843 (IP_PMTUDISC_INTERFACE): Likewise.
14844 (IP_MULTICAST_IF): Likewise.
14845 (IP_MULTICAST_TTL): Likewise.
14846 (IP_MULTICAST_LOOP): Likewise.
14847 (IP_ADD_MEMBERSHIP): Likewise.
14848 (IP_DROP_MEMBERSHIP): Likewise.
14849 (IP_UNBLOCK_SOURCE): Likewise.
14850 (IP_BLOCK_SOURCE): Likewise.
14851 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
14852 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
14853 (IP_MSFILTER): Likewise.
14854 (MCAST_JOIN_GROUP): Likewise.
14855 (MCAST_BLOCK_SOURCE): Likewise.
14856 (MCAST_UNBLOCK_SOURCE): Likewise.
14857 (MCAST_LEAVE_GROUP): Likewise.
14858 (MCAST_JOIN_SOURCE_GROUP): Likewise.
14859 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
14860 (MCAST_MSFILTER): Likewise.
14861 (IP_MULTICAST_ALL): Likewise.
14862 (IP_UNICAST_IF): Likewise.
14863
73f79bb7
MF
14864 * timezone/Makefile: Delete $(have-ksh) check.
14865 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
14866 * timezone/tzselect.ksh: Add +x mode bits.
14867
8da79b60
MF
14868 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
14869 (ANON_INODE_FS_MAGIC): Likewise.
14870 (BDEVFS_MAGIC): Likewise.
14871 (BINFMTFS_MAGIC): Likewise.
14872 (BTRFS_TEST_MAGIC): Likewise.
14873 (CRAMFS_MAGIC_WEND): Likewise.
14874 (DEBUGFS_MAGIC): Likewise.
14875 (ECRYPTFS_SUPER_MAGIC): Likewise.
14876 (EXT3_SUPER_MAGIC): Likewise.
14877 (EXT4_SUPER_MAGIC): Likewise.
14878 (FUTEXFS_SUPER_MAGIC): Likewise.
14879 (HOSTFS_SUPER_MAGIC): Likewise.
14880 (HUGETLBFS_MAGIC): Likewise.
14881 (MINIX3_SUPER_MAGIC): Likewise.
14882 (MTD_INODE_FS_MAGIC): Likewise.
14883 (NILFS_SUPER_MAGIC): Likewise.
14884 (OPENPROM_SUPER_MAGIC): Likewise.
14885 (PIPEFS_MAGIC): Likewise.
14886 (PSTOREFS_MAGIC): Likewise.
14887 (QNX6_SUPER_MAGIC): Likewise.
14888 (RAMFS_MAGIC): Likewise.
14889 (REISERFS_SUPER_MAGIC_STRING): Likewise.
14890 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
14891 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
14892 (SECURITYFS_MAGIC): Likewise.
14893 (SELINUX_MAGIC): Likewise.
14894 (SMACK_MAGIC): Likewise.
14895 (SOCKFS_MAGIC): Likewise.
14896 (SQUASHFS_MAGIC): Likewise.
14897 (STACK_END_MAGIC): Likewise.
14898 (TMPFS_MAGIC): Likewise.
14899 (USBDEVICE_SUPER_MAGIC): Likewise.
14900 (V9FS_MAGIC): Likewise.
14901 (XENFS_SUPER_MAGIC): Likewise.
14902 (CRAMFS_MAGIC): Fix typo in comment.
14903 (EXT2_SUPER_MAGIC): Update comment.
14904 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
14905
464263cc
JM
149062014-02-08 Joseph Myers <joseph@codesourcery.com>
14907
c6bfe5c4
JM
14908 * sysdeps/arm: Move directory from ports/sysdeps/arm.
14909 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
14910 * sysdeps/unix/sysv/linux/arm: Move directory from
14911 ports/sysdeps/unix/sysv/linux/arm.
14912 * README: Update listing for arm-*-linux-gnueabi.
14913
464263cc
JM
14914 * README: Remove mention of am33.
14915
32749f6c
RM
149162014-02-07 Roland McGrath <roland@hack.frob.com>
14917
14918 * bits/sigset.h (__sigemptyset): Use a statement expression rather
14919 than the comma operator, to avoid "rhs of comma has no effect"
14920 compiler warnings.
14921 (__sigfillset, __sigandset, __sigorset): Likewise.
14922 * include/signal.h (__sigemptyset): Likewise.
14923 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
14924
d5b396c1
AM
149252014-02-07 Allan McRae <allan@archlinux.org>
14926
14927 * version.h (RELEASE): Set to "development".
14928 (VERSION): Set to "2.19.90"
14929 * NEWS: Add 2.20 section.
14930
3bfff2ed
CD
149312014-02-06 Carlos O'Donell <carlos@redhat.com>
14932
14933 [BZ #16529]
14934 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
14935
ee7cc385
SP
149362014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
14937
14938 * manual/contrib.texi: Update entry for Carlos O'Donell,
14939 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
14940
f877c4f2
CD
149412014-02-05 Carlos O'Donell <carlos@rehdat.com>
14942
27e839f6
CD
14943 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
14944
f877c4f2
CD
14945 * sysdeps/unix/sysv/linux/kernel-features.h
14946 [__LINUX_KERNEL_VERSION >= 0x020621]
14947 (__ASSUME_PROC_PID_TASK_COMM): Define.
14948
68159946
SP
149492014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
14950
ba17cdbd
SP
14951 [BZ #16398]
14952 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
14953 conversion when destination buffer does not have enough space.
14954 * libio/tst-ftell-partial-wide.c: New test case.
14955 * libio/Makefile (tests): Add tst-ftell-partial-wide.
14956
68159946
SP
14957 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
14958 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
14959 Leonard and Allan McRae.
14960
2b528732
DM
149612014-02-04 David S. Miller <davem@davemloft.net>
14962
14963 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
14964 32-bit.
14965
0ff82463
AZ
149662014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14967
57f41c40
AS
14968 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
14969 New file
c01603f7
AZ
14970 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
14971 New file
57f41c40
AS
14972 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
14973 New file.
14974 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
14975 New file.
c01603f7
AZ
14976 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
14977 New file.
57f41c40
AS
14978 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
14979 New file.
14980 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
14981 New file.
c01603f7
AZ
14982 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
14983 New file.
14984 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
14985 New file.
14986 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
14987 New file.
14988 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
14989 New file.
14990 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
14991 New file.
14992 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
14993 New file.
14994
149952014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14996
0ff82463
AZ
14997 * nptl/shlib-versions: Change powerpc*le start to 2.17.
14998 * shlib-versions: Likewise.
14999
1695c773
AZ
150002014-02-04 Roland McGrath <roland@hack.frob.com>
15001 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15002
15003 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
15004 (abilist-pattern): New variable, set to %-le.abilist.
15005
15006 * Makerules (abilist-pattern): New variable.
15007 (vpath): Use $(abilist-pattern) in place of %.abilist.
15008 (check-abi-% pattern rule): Likewise.
15009 (check-abi, update-abi): Likewise.
15010
6c0ce4b4
EW
150112014-02-04 Eric Wong <normalperson@yhbt.net>
15012
15013 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15014
481e3524
CD
150152014-02-03 Carlos O'Donell <carlos@redhat.com>
15016
15017 * manual/startup.texi: Add next, previous, and top entries for
15018 the `Program Arguments' and `Environment Variables' nodes.
15019
375592d3
AO
150202014-02-03 Alexandre Oliva <aoliva@redhat.com>
15021
15022 * manual/macros.texi: Add comments before MTASC-safety macros.
15023
f54838ba
AO
15024 * manual/users.texi: Document MTASC-safety properties.
15025
57f41c40
AS
15026 * manual/threads.texi (pthread_key_create, pthread_key_delete)
15027 (pthread_getspecific, pthread_setspecific): Format with
909e12ad
AO
15028 @deftypefun, and add @safety note.
15029 * manual/signal.texi: Move comments that analyze the above
15030 functions to their home place.
15031
fd3daba4
AM
150322014-02-03 Allan McRae <allan@archlinux.org>
15033
15034 * po/sl.po: Update Slovenian translation from translation project.
15035
597636d7
AO
150362014-02-02 Alexandre Oliva <aoliva@redhat.com>
15037
15038 * manual/time.texi (timegm): Add missing blank after @c.
15039 Reported by Joseph Myers <joseph@codesourcery.com>.
15040
ee196e3c
AO
150412014-02-01 Alexandre Oliva <aoliva@redhat.com>
15042
15043 * manual/check-safety.sh: New.
15044 * manual/Makefile ($(objpfx)stamp-summary): Run it.
15045
f8d529d5
AO
15046 * manual/terminal.texi: Document MTASC-safety properties.
15047
de55fdf4
AO
15048 * manual/filesys.texi: Document MTASC-safety properties.
15049
c3299c08
AO
15050 * manual/errno.texi: Document MTASC-safety properties.
15051
06e90b14
AO
15052 * manual/intro.texi: Document safety identifiers and
15053 conditionals.
15054
1acd4371
AO
15055 * manual/string.texi (wcstok): Fix prototype.
15056 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
15057
23e5b8cb
AO
15058 * manual/time.texi: Document MTASC-safety properties.
15059
11087373
AO
15060 * manual/string.texi: Document MTASC-safety properties.
15061
5da2c93d
AO
15062 * manual/threads.texi: Document MTASC-safety properties.
15063
171e9210
AO
15064 * manual/stdio.texi: Document MTASC-safety properties.
15065
d9e02532
AO
15066 * manual/syslog.texi: Document MTASC-safety properties.
15067
6af8bab7
AO
15068 * manual/sysinfo.texi: Document MTASC-safety properties.
15069
663b02d7
AO
15070 * manual/startup.texi: Document MTASC-safety properties.
15071
973f180b
AO
15072 * manual/socket.texi: Document MTASC-safety properties.
15073
8f3c25c8
AO
15074 * manual/signal.texi: Document MTASC-safety properties.
15075
542210fb
AO
150762014-01-31 Alexandre Oliva <aoliva@redhat.com>
15077
15078 * manual/setjmp.texi: Document MTASC-safety properties.
15079
433c45a2
AO
15080 * manual/search.texi: Document MTASC-safety properties.
15081
c8ce789c
AO
15082 * manual/resource.texi: Document MTASC-safety properties.
15083
19f5d29c
AO
15084 * manual/process.texi: Document MTASC-safety properties.
15085
e2dfb7f4
AO
15086 * manual/platform.texi: Document MTASC-safety properties.
15087
8c1413f5
AO
15088 * manual/pipe.texi: Document MTASC-safety properties.
15089
03483ada
AO
15090 * manual/pattern.texi: Document MTASC-safety properties.
15091
29e7e2df
AO
15092 * manual/message.texi: Document MTASC-safety properties.
15093
9f529d7c
AO
15094 [BZ #12751]
15095 * manual/memory.texi: Document MTASC-safety properties.
15096
27aaa791
AO
15097 * manual/math.texi: Document MTASC-safety properties.
15098
f2d58726
AO
15099 * manual/locale.texi: Document MTASC-safety properties.
15100
2cc3615c
AO
15101 * manual/llio.texi: Document MTASC-safety properties.
15102
d9f0ec97
AO
15103 * manual/libdl.texi: New.
15104
e7c4409a
AO
15105 * manual/lang.texi: Document MTASC-safety properties.
15106
27bdc63c
AO
15107 * manual/job.texi: Document MTASC-safety properties.
15108
a7b90ea9
AO
15109 * manual/getopt.texi: Document MTASC-safety properties.
15110
c49130e3
AO
15111 * manual/ctype.texi: Document MTASC-safety properties.
15112
0d23a5c1
MR
151132014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
15114
15115 [BZ #16046]
15116 * csu/libc-tls.c (static_map): Remove variable.
15117 (__libc_setup_tls): Use main executable's link map for TLS data.
15118 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
15119 casing for LM_ID_BASE and GL(dl_nns).
15120 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
15121 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
15122 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
15123 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
15124 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
15125 member.
15126 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
15127 l_phnum members.
15128
0037bb60
AO
151292014-01-30 Alexandre Oliva <aoliva@redhat.com>
15130
15131 * manual/debug.texi: Document MTASC-safety properties.
15132
409e00bd
L
151332014-01-29 H.J. Lu <hongjiu.lu@intel.com>
15134
15135 [BZ #16510]
15136 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
15137 of __x86_64__ when disabling x87 inline functions.
15138
86e60666
AO
151392014-01-29 Alexandre Oliva <aoliva@redhat.com>
15140
15141 * manual/charset.texi: Document MTASC-safety properties.
15142
76167637
AO
15143 * manual/crypt.texi: Document MTASC-safety properties.
15144
e567f2a0
AO
15145 * manual/conf.texi: Document MTASC-safety properties.
15146
b719dafd
AO
15147 * manual/arith.texi: Document MTASC-safety properties.
15148
4a16c662
AO
15149 * manual/argp.texi: Document MTASC-safety properties.
15150
0a57b83e
AO
15151 * manual/macros.texi: Introduce macros to document multi
15152 thread, asynchronous signal and asynchronous cancellation
15153 safety properties.
15154 * manual/intro.texi: Introduce the properties themselves.
15155
feab2397
KK
151562014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15157
15158 * sysdeps/sh/sh4/Makefile: New file.
15159
1c0d11bc
AS
151602014-01-27 Andreas Schwab <schwab@linux-m68k.org>
15161
15162 * math/gen-libm-test.pl ($srcdir): New variable.
15163 ($auto_input): Use it.
15164
af37a8a3
SP
151652014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
15166
d7b00f98
SP
15167 [BZ #16506]
15168 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
15169 access beyond array bounds when parsing netgroups file.
15170
af37a8a3
SP
15171 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
15172 the old buffer before realloc.
15173
0c00f062
AM
151742014-01-27 Allan McRae <allan@archlinux.org>
15175
15176 * po/fr.po: Update French translation from translation project.
15177
7d69a1b0
KK
151782014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15179
15180 * sysdeps/sh/libm-test-ulps: Regenerate.
15181
6e697ff7
DM
151822014-01-24 David S. Miller <davem@davemloft.net>
15183
15184 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
15185
9cadb35c
KK
151862014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15187
15188 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
15189 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
15190
5d41dadf
SP
151912013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
15192
15193 [BZ #16474]
15194 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
15195 string pointers after reallocation.
15196
0bad441c
KK
151972014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15198
15199 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
15200 __SH4A__ instead of __SH_FPU_ANY__.
15201
7007c661
KK
152022014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15203
15204 * sysdeps/sh/fpu_control.h: New file.
15205 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
15206 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
15207 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
15208 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
15209 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
15210 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
15211 * sysdeps/sh/sys/ucontext.h: Remove.
15212 * sysdeps/sh/sys: Remove directory.
15213
0f0c35e4
AK
152142014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15215
15216 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
15217 s390/sys/ucontext.h.
15218 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
15219 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
15220
4959e284
L
152212014-01-20 H.J. Lu <hongjiu.lu@intel.com>
15222
15223 [BZ #15605]
15224 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
15225
d98720e0
AZ
152262014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15227
15228 [BZ#16431]
15229 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
15230 Adjust the vDSO correctly for internal calls.
15231 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
15232
91cbd0bc
AM
152332014-01-20 Allan McRae <allan@archlinux.org>
15234
15235 * po/ca.po: Update Catalan translation from translation project.
15236
7a02cfad
MF
152372014-01-16 Mike Frysinger <vapier@gentoo.org>
15238
15239 * sysdeps/s390/sotruss-lib.c: New file.
15240
736c304a
AZ
152412014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15242
15243 [BZ#16430]
6e077ee5 15244 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
736c304a
AZ
15245 (__GI___gettimeofday): Alias for a different internal symbol to avoid
15246 local calls issues by not having a PLT stub required for IFUNC calls.
15247 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
15248
94d0cea0
JM
152492014-01-16 Joseph Myers <joseph@codesourcery.com>
15250
15251 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
15252 * math/test-fpucw-static.c: Likewise.
15253
980cb518
SP
152542013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
15255
15256 [BZ #16453]
15257 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
15258
2393fc01
AZ
152592014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15260
15261 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
15262 implementation for powerpc.
15263
d359bcc2
OB
152642014-01-15 Ondřej Bílka <neleai@seznam.cz>
15265
15266 [BZ #14782]
15267 * sysdeps/posix/system.c (__libc_system): Do not enable
15268 asynchronous cancellation.
15269
7beb48cb
AK
152702014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15271
15272 [BZ #16427]
15273 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
15274 handling only for numbers special also in the IEEE case.
15275
c20d5bf5
AK
152762014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15277
15278 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
15279
e83bd4ee
AM
152802014-01-11 Allan McRae <allan@archlinux.org>
15281
76d0ea69
AM
15282 * po/bg.po: Update Bulgarian translation from translation project.
15283
e83bd4ee
AM
15284 * po/de.po: Update German translation from translation project.
15285
bc2ba20a
RM
152862014-01-10 Roland McGrath <roland@hack.frob.com>
15287
15288 * sysdeps/generic/gcc-compat.h: New file.
15289
649ecea2
SP
152902014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
15291
15292 * benchtests/asin-inputs: Correct slow inputs.
15293 * benchtests/acos-inputs: Likewise.
15294
1b19c006
AM
152952014-01-10 Allan McRae <allan@archlinux.org>
15296
a46dab08
AM
15297 * po:sv.po: Update Swedish translation from translation project.
15298
421df74a
AM
15299 * po/vi.po: Update Vietnamese translation from translation project.
15300
d61c51a7
AM
15301 * po/eo.po: Update Esperanto translation from translation project.
15302
0339a319
AM
15303 * po/cs.po: Update Czech translation from translation project.
15304
94ad3e99
AM
15305 * po/nl.po: Update Dutch translation from translation project.
15306
e349ca71
AM
15307 * po/pl.po: Update Polish translation from translation project.
15308
ddf930c1
AM
15309 * po/ru.po: Update Russian translation from translation project.
15310
1b19c006
AM
15311 * po/uk.po: Update Ukrainian translation from translation project.
15312
9f236c49
BM
153132014-01-08 Brooks Moses <bmoses@google.com>
15314
15315 * elf/dl-load.c: Fix comment typo.
15316
cd6701cf
CD
153172014-01-08 Carlos O'Donell <carlos@redhat.com>
15318
15319 * po/header.pot: Rename to...
15320 * po/pot.header: ... this.
15321 * po/Makefile: Use pot.header.
15322
66671c84
YK
153232014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
15324 Maxim Kuvyrkov <maxim@kugelworks.com>
15325
15326 [BZ #16394]
cd6701cf
CD
15327 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
15328 SRC and DEST against LEN.
66671c84 15329
38f34581
AZ
153302014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15331
15332 [BZ #16414]
15333 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
15334 implementation.
15335 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
15336
153372014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3ff6304e
AZ
15338
15339 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15340
4c327f2a
JM
153412014-01-08 Joseph Myers <joseph@codesourcery.com>
15342
15343 [BZ #16408]
15344 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
15345 for large positive arguments.
15346
b821f414
JM
153472014-01-07 Joseph Myers <joseph@codesourcery.com>
15348
1f0f2067
JM
15349 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
15350
a5a326f6
JM
15351 * math/auto-libm-test-in: Mark various tests with
15352 xfail-rounding:ldbl-128ibm.
15353 * math/auto-libm-test-out: Regenerated.
15354
b821f414
JM
15355 [BZ #16407]
15356 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
15357 Increase overflow threshold.
15358
94c8a4bc
OB
153592014-01-07 Ondřej Bílka <neleai@seznam.cz>
15360
15361 [BZ #14286]
15362 * stdio-common/vfprintf.c: Check for integer overflow.
15363
87ded0c3
AK
153642014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15365
15366 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
15367 the first argument and return value of __tls_get_addr_internal.
15368
c5eebdd0
AK
153692014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15370
15371 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
15372 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
15373
05d138ef
AK
153742014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15375
15376 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
15377 * sysdeps/s390/rtld-global-offsets.sym: New file.
15378 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
15379 GLIBC_2.19 symbol.
15380 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
15381 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
15382 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
15383 ... this.
15384 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
15385 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
15386 ... this.
15387 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
15388 Regenerate.
15389 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
15390 Regenerate.
15391 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
15392 halfs of GPRs for high_gprs contexts.
15393 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
15394 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
15395 field.
15396 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
15397 uc_flags field.
15398 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
15399 64 bit versions:
15400 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
15401 for high GPRs (uc_high_gprs) and for future extensions
15402 (__reserved).
15403 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
15404 for future extensions (__reserved).
15405 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
15406 64 bit versions:
15407 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
15408 SC_HIGHGPRS offset definition.
15409 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
15410 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
15411
93a45ff1
AK
15412 * Versions.def: Add GLIBC_2.19 for libpthread.
15413 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
15414 siglongjmp for libpthread with GLIBC_2.19 symver.
15415 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
15416 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
15417 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
15418 * sysdeps/s390/__longjmp.c: New file.
15419 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
15420 * sysdeps/s390/longjmp.c: New file.
15421 * sysdeps/s390/setjmp.S: New file.
15422 * sysdeps/s390/sigjmp.S: New file.
15423 * sysdeps/s390/v1-longjmp.c: New file.
15424 * sysdeps/s390/v1-setjmp.h: New file.
15425 * sysdeps/s390/v1-sigjmp.c: New file.
15426 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
15427 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
15428 GLIBC_2.19 version.
15429 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
15430 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
15431 versioned symbols for ____longjmp_chk.
15432 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
15433 Likewise.
15434 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
15435 Regenerate.
15436 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
15437 Regenerate.
15438 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
15439 Regenerate.
15440 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
15441 Regenerate.
15442 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
15443 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
15444 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
15445 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
15446 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
15447 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
15448 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
15449 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
15450 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
15451 * sysdeps/s390/rtld-__longjmp.c: New file.
15452 * sysdeps/s390/rtld-setjmp.S: New file.
15453
eb3fc44b
JM
154542014-01-06 Joseph Myers <joseph@codesourcery.com>
15455
15456 [BZ #16400]
15457 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
15458 Return -__logl (x) for small positive arguments without evaluating
15459 a polynomial.
15460
9341dde4
MF
154612014-01-06 Mike Frysinger <vapier@gentoo.org>
15462
15463 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
15464 Rename to ...
15465 (__ptrace_peeksiginfo_args): ... this.
15466 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
15467 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
15468 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
15469
4cff0293
AM
154702014-01-06 Allan McRae <allan@archlinux.org>
15471
15472 * inet/netinet/in.h: Fix typo in comment.
15473
75595dcf
AJ
154742014-01-05 Andreas Jaeger <aj@suse.de>
15475
15476 * sysdeps/i386/fpu/libm-test-ulps: Update.
15477
79c1e109
AM
154782014-01-05 Allan McRae <allan@archlinux.org>
15479
dd804818
AM
15480 * po/libc.pot: Regenerated.
15481
79c1e109
AM
15482 * malloc/memusagestat.c: Fix gettext call formatting.
15483
0c813d1f
SK
154842014-01-04 Sami Kerola <kerolasa@iki.fi>
15485
15486 * nscd/nscd.c: Improve usage() output.
15487
20f4a8d9
MF
154882014-01-04 Mike Frysinger <vapier@gentoo.org>
15489
15490 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
15491 * sysdeps/unix/sysv/linux/configure: Regenerated.
15492 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
15493 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
15494
22562bb2
JM
154952014-01-03 Joseph Myers <joseph@codesourcery.com>
15496
15497 [BZ #16390]
15498 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
15499 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
15500
d7ad2d9b
AZ
155012014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15502
15503 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
15504 extra tokens at end of #undef directive.
15505 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
15506 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
15507 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
15508
7dd009d8
JM
155092014-01-03 Joseph Myers <joseph@codesourcery.com>
15510
24db925a
JM
15511 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
15512
7dd009d8
JM
15513 * math/auto-libm-test-in: Mark various tests with
15514 xfail-rounding:ldbl-128ibm.
15515 * math/auto-libm-test-out: Regenerated.
15516
396e3ecf
JM
155172014-01-02 Joseph Myers <joseph@codesourcery.com>
15518
819e5d50
JM
15519 [BZ #16386]
15520 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
15521 numbers with subnormal high part when calculating exponent.
15522
90b6a1e5
JM
15523 [BZ #16385]
15524 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
15525 fabs.
15526
396e3ecf
JM
15527 [BZ #16384]
15528 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
15529 M_LN2l.
15530 (__ieee754_acoshl): Use __log1pl not __log1p.
15531
6c8dbf00
OB
155322013-01-02 Ondřej Bílka <neleai@seznam.cz>
15533
57f41c40
AS
15534 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
15535 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
15536 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
15537 (grow_heap, heap_trim, _int_new_arena, get_free_list)
15538 (reused_arena, arena_get2): Convert to GNU style.
15539 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
15540 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
15541 (memalign_check, __malloc_set_state): Likewise.
6c8dbf00 15542 * malloc/mallocbug.c (main): Likewise.
57f41c40
AS
15543 * malloc/malloc.c (__malloc_assert, malloc_init_state)
15544 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
15545 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
15546 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
15547 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
15548 (__posix_memalign, malloc_info): Likewise.
6c8dbf00 15549 * malloc/malloc.h: Likewise.
57f41c40
AS
15550 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
15551 (mallochook, memalignhook, reallochook, mabort): Likewise.
6c8dbf00 15552 * malloc/mcheck.h: Likewise.
57f41c40
AS
15553 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
15554 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
6c8dbf00
OB
15555 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
15556 * malloc/morecore.c (__default_morecore): Likewise.
15557 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
57f41c40
AS
15558 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
15559 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
15560 (print_and_abort): Likewise.
6c8dbf00
OB
15561 * malloc/obstack.h: Likewise.
15562 * malloc/set-freeres.c (__libc_freeres): Likewise.
15563 * malloc/tst-mallocstate.c (main): Likewise.
15564 * malloc/tst-mtrace.c (main): Likewise.
15565 * malloc/tst-realloc.c (do_test): Likewise.
15566
d4124212
SP
155672013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
15568
9a3c6a6f
SP
15569 [BZ #16366]
15570 * nscd/netgroupcache.c (do_notfound): New function.
15571 (addgetnetgrentX): Use it.
15572
d4124212
SP
15573 [BZ # 16365]
15574 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
15575 NSS_STATUS_NOTFOUND.
15576
97b9a009
JM
155772014-01-01 Joseph Myers <joseph@codesourcery.com>
15578
15579 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
15580 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15581
d4697bc9
AM
155822014-01-01 Allan McRae <allan@archlinux.org>
15583
ddb3687f
AM
15584 * scripts/update-copyrights: Update configure input file suffix.
15585
88726d48
AM
15586 * NEWS: Update copyright year.
15587 * catgets/gencat.c: Likewise.
15588 * csu/version.c: Likewise.
15589 * debug/catchsegv.sh: Likewise.
15590 * debug/pcprofiledump.c: Likewise.
15591 * debug/xtrace.sh: Likewise.
15592 * elf/ldconfig.c: Likewise.
15593 * elf/ldd.bash.in: Likewise.
15594 * elf/pldd.c: Likewise.
15595 * elf/sotruss.ksh: Likewise.
15596 * elf/sprof.c: Likewise.
15597 * iconv/iconv_prog.c: Likewise.
15598 * iconv/iconvconfig.c: Likewise.
15599 * locale/programs/locale.c: Likewise.
15600 * locale/programs/localedef.c: Likewise.
15601 * login/programs/pt_chown.c: Likewise.
15602 * malloc/memusage.sh: Likewise.
15603 * malloc/memusagestat.c: Likewise.
15604 * malloc/mtrace.pl: Likewise.
15605 * manual/libc.texinfo: Likewise.
15606 * nscd/nscd.c: Likewise.
15607 * nss/getent.c: Likewise.
15608 * nss/makedb.c: Likewise.
15609 * posix/getconf.c: Likewise.
15610 * scripts/test-installation.pl: Likewise.
15611
d4697bc9
AM
15612 * All files with FSF copyright notices: Update copyright dates
15613 using scripts/update-copyrights.
15614 * intl/plural.c: Regenerated.
15615 * locale/programs/charmap-kw.h: Likewise.
15616 * locale/programs/locfile-kw.h: Likewise.
15617
c8590f9d
MF
156182013-12-31 Mike Frysinger <vapier@gentoo.org>
15619
15620 * sysdeps/unix/sysv/linux/configure: Regenerated.
15621 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
15622 the linux/fanotify.h header.
15623 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
15624 HAVE_LINUX_FANOTIFY_H is defined.
15625
b19221b9
SP
156262013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
15627
dd1d85e5
SP
15628 * benchtests/cos-inputs: New inputs.
15629 * benchtests/sin-inputs: Likewise.
15630
1acbb90f
SP
15631 * benchtests/atan-inputs: New inputs. Fix name of multiple
15632 precision fallback inputs.
15633
4c012ed3
SP
15634 * benchtests/atanh-inputs: New inputs.
15635 * benchtests/tanh-inputs: Likewise.
15636
eff98324
SP
15637 * benchtests/acosh-inputs: New inputs.
15638 * benchtests/asinh-inputs: Likewise.
15639
ce641152
SP
15640 * benchtests/cosh-inputs: New inputs.
15641 * benchtests/sinh-inputs: Likewise.
15642
b19221b9
SP
15643 * benchtests/acos-inputs: Add more inputs.
15644 * benchtests/asin-inputs: Likewise.
15645
030a4976 156462013-12-30 Ville Skytta <ville.skytta@iki.fi>
9dcc8f11 15647
030a4976 15648 [BZ #16375]
9dcc8f11
VS
15649 * manual/arith.texi: Fix spelling.
15650 * manual/charset.texi: Likewise.
15651 * manual/errno.texi: Likewise.
15652 * manual/filesys.texi: Likewise.
15653 * manual/lang.texi: Likewise.
15654 * manual/llio.texi: Likewise.
15655 * manual/locale.texi: Likewise.
15656 * manual/message.texi: Likewise.
15657 * manual/resource.texi: Likewise.
15658 * manual/search.texi: Likewise.
15659 * manual/setjmp.texi: Likewise.
15660 * manual/stdio.texi: Likewise.
15661 * manual/string.texi: Likewise.
15662 * manual/sysinfo.texi: Likewise.
15663 * manual/time.texi: Likewise.
15664
11520a57
CD
156652013-12-27 Carlos O'Donell <carlos@redhat.com>
15666
15667 * po/sl.po: New file.
15668
471103ae
MF
156692013-12-27 Mike Frysinger <vapier@gentoo.org>
15670
15671 * .gitignore: Add core/.gdbinit/.gdb_history.
15672
6c9642ed
AM
156732013-12-27 Allan McRae <allan@archlinux.org>
15674
15675 [BZ #16369]
15676 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
15677 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
15678
3f637079
BM
156792013-12-24 Brooks Moses <bmoses@google.com>
15680
15681 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
15682 all compilers that claim C++98 compliance, not just GCC.
15683 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
15684 Likewise.
15685
abc26e99
MK
156862013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
15687
15688 * NEWS: Restore accidentally deleted bug-fix entries.
15689
362b47fe
MK
156902013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
15691 Ondřej Bílka <neleai@seznam.cz>
15692
15693 [BZ #15073]
15694 * malloc/malloc.c (_int_free): Perform sanity check only if we
11520a57 15695 have_lock.
362b47fe 15696
b9bcbbcb
OB
156972013-12-23 Ondřej Bílka <neleai@seznam.cz>
15698
15699 [BZ #12986]
15700 * manual/stdio.texi (String Input Conversions): Clarify that character
15701 classes are not supported.
15702
fb55fcd2
AZ
157032013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15704
15705 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15706
ef7344f0
JM
157072013-12-22 Joseph Myers <joseph@codesourcery.com>
15708
4f40e4b3
JM
15709 [BZ #16337]
15710 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
15711 Calculate results for small negative arguments directly rather
15712 than using reflection formula with special underflow handling.
15713
ef7344f0
JM
15714 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
15715 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
15716 sysdeps/unix/bsd/bsd4.4/syscalls.list.
15717 (fchflags): Likewise.
15718 (revoke): Likewise.
15719 (setlogin): Likewise.
15720 (sigaltstack): Likewise.
15721 (wait4): Likewise.
15722 (sigblock): Remove.
15723 (sigsetmask): Likewise.
15724 (wait3): Likewise.
15725 (waitpid): Likewise.
15726 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
15727 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
15728 file.
15729 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
15730 * sysdeps/unix/bsd/Makefile: ... here.
15731 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
15732 * sysdeps/unix/bsd/Versions: ... here.
15733 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
15734 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
15735 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
15736 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
15737 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
15738 * sysdeps/unix/bsd/sigblock.c: ... here.
15739 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
15740 * sysdeps/unix/bsd/sigsetmask.c: ... here.
15741 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
15742 * sysdeps/unix/bsd/sigvec.c: ... here.
15743 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
15744 * sysdeps/unix/bsd/tcdrain.c: ... here.
15745 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
15746 * sysdeps/unix/bsd/tcgetattr.c: ... here.
15747 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
15748 * sysdeps/unix/bsd/tcsetattr.c: ... here.
15749 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
15750 * sysdeps/unix/bsd/wait.c: ... here.
15751 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
15752 * sysdeps/unix/bsd/wait3.c: ... here.
15753 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
15754 * sysdeps/unix/bsd/waitpid.c: ... here.
15755
5b0626b9
JM
157562013-12-21 Joseph Myers <joseph@codesourcery.com>
15757
15758 [BZ #16356]
15759 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
15760 round-to-nearest for [!USE_AS_EXPM1L].
15761 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
15762 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
15763 more tests of exp and exp10. Expect some exp10 tests to miss
15764 exceptions or fail in directed rounding modes.
15765 * math/auto-libm-test-out: Regenerated.
15766 * math/libm-test.inc (exp10_tonearest_test_data): New array.
15767 (exp10_test_tonearest): New function.
15768 (exp10_towardzero_test_data): New array.
15769 (exp10_test_towardzero): New function.
15770 (exp10_downward_test_data): New array.
15771 (exp10_test_downward): New function.
15772 (exp10_upward_test_data): New array.
15773 (exp10_test_upward): New function.
15774 (main): Call the new functions.
15775 * sysdeps/i386/fpu/libm-test-ulps: Update.
15776 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15777
7fda5682
JM
157782013-12-20 Joseph Myers <joseph@codesourcery.com>
15779
31e3a405
JM
15780 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
15781 asinh, atan, atan2, atanh, cbrt, cos and cosh.
15782 * math/auto-libm-test-out: Regenerated.
15783 * math/libm-test.inc (acosh_test_data): Add more tests.
15784 (atanh_test_data): Likewise.
15785 (ceil_test_data): Likewise.
15786 (copysign_test_data): Likewise.
15787 * sysdeps/i386/fpu/libm-test-ulps: Update.
15788 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15789
85bff96a
JM
15790 * timezone/checktab.awk: Update from tzcode 2013i.
15791 * timezone/private.h: Likewise.
15792 * timezone/scheck.c: Likewise.
15793 * timezone/tzfile.h: Likewise.
15794 * timezone/tzselect.ksh: Likewise.
15795 * timezone/zdump.c: Likewise.
15796 * timezone/zic.c: Likewise.
15797
b7867a3b
JM
15798 * math/auto-libm-test-in: Add tests of cpow.
15799 * math/auto-libm-test-out: Regenerated.
15800 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
57f41c40 15801 * math/gen-auto-libm-tests.c (func_calc_method): Add value
b7867a3b
JM
15802 mpc_cc_c.
15803 (func_calc_desc): Add mpc_cc_c union field.
15804 (test_functions): Add cpow.
15805 (special_fill_2pi): New function.
15806 (special_real_inputs): Add 2pi.
15807 (calc_generic_results): Handle mpc_cc_c.
15808 * sysdeps/i386/fpu/libm-test-ulps: Update.
15809 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15810
7fda5682
JM
15811 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
15812 csqrt, ctan and ctanh.
15813 * math/auto-libm-test-out: Regenerated.
15814 * math/libm-test.inc (TEST_COND_x86_64): New macro.
15815 (TEST_COND_x86): Likewise.
15816 (ccos_test_data): Use AUTO_TESTS_c_c.
15817 (ccosh_test_data): Likewise.
15818 (cexp_test_data): Likewise.
15819 (clog_test_data): Likewise.
15820 (csqrt_test_data): Likewise.
15821 (ctan_test_data): Likewise.
15822 (ctan_tonearest_test_data): Likewise.
15823 (ctan_towardzero_test_data): Likewise.
15824 (ctan_downward_test_data): Likewise.
15825 (ctan_upward_test_data): Likewise.
15826 (ctanh_test_data): Likewise.
15827 (ctanh_tonearest_test_data): Likewise.
15828 (ctanh_towardzero_test_data): Likewise.
15829 (ctanh_downward_test_data): Likewise.
15830 (ctanh_upward_test_data): Likewise.
15831 * math/gen-auto-libm-tests.c (func_calc_method): Add value
15832 mpc_c_c.
15833 (func_calc_desc): Add mpc_c_c union field.
15834 (FUNC_mpc_c_c): New macro.
15835 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
15836 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
15837 ctanh.
15838 (special_fill_min_subnorm_p120): New function.
15839 (special_real_inputs): Add min_subnorm_p120.
15840 (calc_generic_results): Handle mpc_c_c.
15841 * sysdeps/i386/fpu/libm-test-ulps: Update.
15842 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15843
5ff8d60e
SP
158442013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
15845
57f41c40
AS
15846 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
15847 (do_sin_slow): New functions.
15848 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
15849 (cslow2, csloww1, csloww2): Use the new functions.
392dd2de 15850
84ba214c
SP
15851 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
15852 Use M to change sign of result instead of X. Assume X is
15853 positive.
15854 (csloww1): Likewise.
15855 (__sin): Adjust.
15856 (__cos): Adjust.
15857
975195e4
SP
15858 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
15859 arguments A and DA.
15860 (__sin): Adjust.
15861 (__cos): Likewise.
15862
5ff8d60e
SP
15863 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
15864 (__cos): Likewise.
15865 (sloww1): Don't adjust sign of DX.
15866 (csloww1): Likewise.
15867 (sloww2): Use X directly and don't adjust sign of DX.
15868 (csloww2): Likewise.
15869
eb983568
JM
158702013-12-19 Joseph Myers <joseph@codesourcery.com>
15871
64a17f1a
JM
15872 * math/auto-libm-test-in: Add tests of cabs and carg.
15873 * math/auto-libm-test-out: Regenerated.
15874 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
15875 (carg_test_data): Likewise.
15876 * math/gen-auto-libm-tests.c (func_calc_method): Add value
15877 mpc_c_f.
15878 (func_calc_desc): Add mpc_c_f union field.
15879 (test_functions): Add cabs and carg.
15880 (calc_generic_results): Handle mpc_c_f.
15881
eb983568
JM
15882 * sysdeps/powerpc/powerpc32/libgcc-compat.S
15883 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
15884 as a macro and a compat symbol.
15885 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
15886 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
15887 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
15888 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
15889 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
15890 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
15891 not use .hidden.
15892 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
15893 Likewise.
15894 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
15895 Likewise.
15896 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
15897 Likewise.
15898 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
15899 Likewise.
15900 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
15901 Likewise.
15902 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
15903 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
15904 from GLIBC_2.3.2.
15905
6eeb678a
AZ
159062013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15907
15908 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15909
6f6fc482
JM
159102013-12-19 Joseph Myers <joseph@codesourcery.com>
15911
21fea2e2
JM
15912 * manual/texinfo.tex: Update to version 2013-11-26.10 with
15913 trailing whitespace removed.
15914 * scripts/config.guess: Update to version 2013-11-29.
15915 * scripts/config.sub: Update to version 2013-10-01.
15916
6f6fc482
JM
15917 * math/auto-libm-test-in: Add tests of sincos.
15918 * math/auto-libm-test-out: Regenerated.
15919 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
15920 * math/gen-auto-libm-tests.c (func_calc_method): Add value
15921 mpfr_f_11.
15922 (func_calc_desc): Add mpfr_f_11 union field.
15923 (test_functions): Add sincos.
15924 (calc_generic_results): Handle mpfr_f_11.
15925 * sysdeps/i386/fpu/libm-test-ulps: Update.
15926 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15927
83f5c32d
AS
159282013-12-19 Andreas Schwab <schwab@suse.de>
15929
15930 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
15931 CALL_MCOUNT.
15932 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
15933 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
15934 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
15935
c688b419
JM
159362013-12-19 Joseph Myers <joseph@codesourcery.com>
15937
335ee092
JM
15938 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
15939 * sysdeps/i386/fpu/libm-test-ulps: Update.
15940 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15941
f88acd39
JM
15942 [BZ #16293]
15943 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
15944 round-to-nearest mode when using frndint.
15945 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
15946 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
15947 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
15948 Likewise.
15949 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
15950 sinh test to fail.
15951 * math/auto-libm-test-out: Regenerated.
15952 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
15953 (TEST_COND_x86): Likewise.
15954 (expm1_tonearest_test_data): New array.
15955 (expm1_test_tonearest): New function.
15956 (expm1_towardzero_test_data): New array.
15957 (expm1_test_towardzero): New function.
15958 (expm1_downward_test_data): New array.
15959 (expm1_test_downward): New function.
15960 (expm1_upward_test_data): New array.
15961 (expm1_test_upward): New function.
15962 (main): Run the new test functions.
15963 * sysdeps/i386/fpu/libm-test-ulps: Update.
15964 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15965
c688b419
JM
15966 * include/features.h: Update comment documenting feature test
15967 macros. Mention _DEFAULT_SOURCE in comment.
15968 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
15969 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
15970 _BSD_SOURCE and _SVID_SOURCE.
15971 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
15972 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
15973 !_SVID_SOURCE]: Likewise.
15974 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
15975 (__USE_POSIX_IMPLICITLY): Define.
15976 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
15977 (_POSIX_SOURCE): Undefine and redefine.
15978 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
15979 (_POSIX_C_SOURCE): Likewise.
15980 * manual/creature.texi (_DEFAULT_SOURCE): Document.
15981 (Feature Test Macros): Update documentation of default features.
15982
9f6e964c
RS
159832013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
15984
15985 * benchtests/Makefile: Add bench-strtok.
15986 * benchtests/bench-strtok.c: New file: strtok benchtest.
15987
ee0a148a
AM
159882013-12-19 Allan McRae <allan@archlinux.org>
15989
15990 * manual/install.texi: Suppress menu for plain text output.
15991 * INSTALL: Regenerated.
15992
b9ab448f
BM
159932013-12-18 Brooks Moses <bmoses@google.com>
15994
15995 [BZ #15846]
15996 * misc/getauxval.c: Include errno.h.
15997 (__getauxval): Set errno to ENOENT if the requested type is not
15998 found.
15999 * misc/sys/auxv.h (getauxval): Document that it may set errno;
16000 don't declare with __attribute_const__.
16001 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
16002 * manual/startup.texi: Document that getauxval sets errno.
16003
23776487
JM
160042013-12-18 Joseph Myers <joseph@codesourcery.com>
16005
f889953b
JM
16006 * math/auto-libm-test-in: Add tests of jn and yn.
16007 * math/auto-libm-test-out: Regenerated.
16008 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
16009 (yn_test_data): Likewise.
16010 * math/gen-auto-libm-tests.c (func_calc_method): Add value
16011 mpfr_if_f.
16012 (func_calc_desc): Add mpfr_if_f union field.
16013 (FUNC_mpfr_if_f): New macro.
16014 (test_functions): Add jn and yn.
16015 (calc_generic_results): Assert type of second input for
16016 mpfr_ff_f. Handle mpfr_if_f.
16017 (output_for_one_input_case): Disable all checking for arguments
16018 fitting floating-point types in case of an integer argument.
16019 * sysdeps/i386/fpu/libm-test-ulps: Update.
16020 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16021
23776487
JM
16022 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
16023 Don't expect fegetround reference in libm.so.
16024
cb756c6d
MS
160252013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
16026
16027 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
16028 $(config-cflags-nofma).
16029
2dec468f
JM
160302013-12-18 Joseph Myers <joseph@codesourcery.com>
16031
5953eb3a
JM
16032 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
16033 * math/auto-libm-test-out: Regenerated.
16034
2dec468f
JM
16035 [BZ #16338]
16036 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
16037 to determine exponent and adjust argument to have exponent of -1.
16038 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
16039 log2.
16040 * math/auto-libm-test-out: Regenerated.
16041 * sysdeps/i386/fpu/libm-test-ulps: Update.
16042 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16043
4d84e6ad
OB
160442013-12-18 Ondřej Bílka <neleai@seznam.cz>
16045
16046 * manual/probes.texi: Remove cases when per-thread arenas are
16047 disabled.
16048
1818483b
AS
160492013-12-18 Andreas Schwab <schwab@suse.de>
16050
16051 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
16052 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
16053 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
16054 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
16055 * sysdeps/i386/i686/multiarch/Makefile: Update.
16056 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
16057
25de95bf
JM
160582013-12-17 Joseph Myers <joseph@codesourcery.com>
16059
16060 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
16061 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
16062
674762d9
PE
160632013-12-17 Paul Eggert <eggert@cs.ucla.edu>
16064
ed27ed83 16065 [BZ #15968]
0748546f
PE
16066 Support TZ transition times < 00:00:00.
16067 This is needed for version-3 tz-format files; it supports time
16068 stamps past 2037 for America/Godthab (the only entry in the tz
16069 database for which this change is relevant).
16070 * manual/time.texi (TZ Variable): Document transition times
16071 from -167:59:59 through -00:00:01.
16072 * time/tzset.c (tz_rule): Time of day is now signed.
16073 (__tzset_parse_tz): Parse negative time of day.
16074
4480e934
PE
16075 Document TZ transition times >= 25:00:00.
16076 * manual/time.texi (TZ Variable): Document transition times from
16077 25:00:00 through 167:59:59. These are already supported, and this
16078 support will help with version-3 tz-format files.
16079
69947401
PE
16080 * manual/time.texi (TZ Variable): Modernize North America example
16081 to reflect current (i.e., 2007-and-later) daylight saving rules.
16082
674762d9
PE
16083 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
16084
7011c262
JM
160852013-12-17 Joseph Myers <joseph@codesourcery.com>
16086
2fc6557e
JM
16087 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
16088 * sysdeps/unix/bsd/bits/stat.h: Likewise.
16089 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
16090 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
16091 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
16092 * sysdeps/unix/bsd/bsdstat.h: Likewise.
16093 * sysdeps/unix/bsd/clock.c: Likewise.
16094 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
16095 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
16096 * sysdeps/unix/bsd/init-posix.c: Likewise.
16097 * sysdeps/unix/bsd/poll.c: Likewise.
16098 * sysdeps/unix/bsd/ptsname.c: Likewise.
16099 * sysdeps/unix/bsd/seekdir.c: Likewise.
16100 * sysdeps/unix/bsd/setegid.c: Likewise.
16101 * sysdeps/unix/bsd/seteuid.c: Likewise.
16102 * sysdeps/unix/bsd/setgid.c: Likewise.
16103 * sysdeps/unix/bsd/setrgid.c: Likewise.
16104 * sysdeps/unix/bsd/setruid.c: Likewise.
16105 * sysdeps/unix/bsd/setsid.c: Likewise.
16106 * sysdeps/unix/bsd/setuid.c: Likewise.
16107 * sysdeps/unix/bsd/sigaction.c: Likewise.
16108 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
16109 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
16110 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
16111 * sysdeps/unix/bsd/telldir.c: Likewise.
16112 * sysdeps/unix/bsd/times.c: Likewise.
16113 * sysdeps/unix/bsd/usleep.c: Likewise.
16114
029c7b25
JM
16115 * misc/Makefile (install-lib): Remove libbsd-compat.a.
16116 ($(objpfx)libbsd-compat.a): Remove rule.
16117
7011c262
JM
16118 * include/features.h (__FAVOR_BSD): Do not define.
16119 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
16120 features conflicting with POSIX.
16121 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
16122 (_BSD_SOURCE): Remove description of not being a subset of other
16123 feature test macros.
16124 * manual/job.texi (getpgrp): Do not document BSD version.
16125 (getpgid): Do not document by reference to BSD getpgrp.
16126 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
16127 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
16128 * signal/signal.h [__FAVOR_BSD]: Likewise.
16129 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
16130 instead of making contents conditional on [__FAVOR_BSD].
16131 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
16132
affb6f78
AZ
161332013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16134
16135 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16136
c88769dd
JM
161372013-12-17 Joseph Myers <joseph@codesourcery.com>
16138
6432a540
JM
16139 [BZ #16314]
16140 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
16141 values below 2**-450, not 2**-500.
16142 * math/auto-libm-test-in: Don't allow spurious underflow from
16143 hypot.
16144 * math/auto-libm-test-out: Regenerated.
16145
c88769dd
JM
16146 [BZ #16316]
16147 [BZ #16330]
16148 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
16149 values of ha and hb and sort them after adjusting subnormal
16150 arguments.
16151 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
16152 Likewise.
16153 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
16154 values of ea and eb and sort them after adjusting subnormal
16155 arguments.
16156 * math/auto-libm-test-in: Do not expect some hypot tests of
16157 subnormals to fail. Add more hypot tests.
16158 * math/auto-libm-test-out: Regenerated.
16159
29618f6b
KK
161602013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16161
16162 [BZ #13304]
16163 * sysdeps/sh/s_fma.c: New file.
16164 * sysdeps/sh/s_fmaf.c: New file.
16165 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
16166 version.
16167 * sysdeps/sh/Implies: Add sh/soft-fp.
16168
eacfdfbf
RM
161692013-12-16 Roland McGrath <roland@hack.frob.com>
16170
16171 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
16172 level of indirection to members `objname', `errstring', `malloced'.
16173 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
16174 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
16175 it as the __longjmp argument (just pass 1 instead).
16176 (_dl_catch_error): Initialize C with argument pointers and address of
16177 volatile local ERRCODE rather than copying values out of C at return.
16178
ff362e5b
JM
161792013-12-16 Joseph Myers <joseph@codesourcery.com>
16180
16181 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
16182 * math/auto-libm-test-out: Regenerated.
16183 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
16184 (hypot_test_data): Likewise.
16185 (pow_test_data): Likewise.
16186 (pow_tonearest_test_data): Likewise.
16187 * math/gen-auto-libm-tests.c (func_calc_method): Add value
16188 mpfr_ff_f.
16189 (func_calc_desc): Add mpfr_ff_f union field.
16190 (FUNC_mpfr_ff_f): New macro.
16191 (test_functions): Add atan2, hypot and pow.
16192 (special_fill_min): New function.
16193 (special_fill_minus_min): Likewise.
16194 (special_fill_min_subnorm): Likewise.
16195 (special_fill_minus_min_subnorm): Likewise.
16196 (special_real_inputs): Add min, -min, min_subnorm and
16197 -min_subnorm.
16198 (calc_generic_results): Handle mpfr_ff_f.
16199 * sysdeps/i386/fpu/libm-test-ulps: Update.
16200 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16201
5764c27f
WN
162022013-12-16 Will Newton <will.newton@linaro.org>
16203
16204 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
16205 (Aligned Memory Blocks): Add documentation for aligned_alloc
16206 and suggest it as an alternative to posix_memalign.
16207 (Hooks for Malloc): Document __memalign_hook is also called
16208 for aligned_alloc. (Summary of Malloc): Add summary for
16209 aligned alloc. Document __memalign_hook is also called
16210 for aligned_alloc.
16211
0a096e44
WN
162122013-12-16 Will Newton <will.newton@linaro.org>
16213
16214 * manual/memory.texi (Malloc Examples): Clarify default
16215 alignment documentation. Suggest posix_memalign rather
16216 than memalign or valloc.
16217 (Aligned Memory Blocks): Remove suggestion to use memalign
16218 or valloc. Remove obsolete comment about BSD.
16219 Document memalign errno values and mark the function obsolete.
16220 Document posix_memalign returned error codes. Mark valloc
16221 as obsolete. (Hooks for Malloc): __memalign_hook is also
16222 called for posix_memalign and valloc.
16223 (Summary of Malloc): Add posix_memalign to function summary.
16224 __memalign_hook is also called for posix_memalign and valloc.
16225
8d561986
SP
162262013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
16227
16228 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
16229 TAYLOR_SIN.
16230 (__sin): Adjust.
16231 (__cos): Likewise.
16232 (sloww): Use mynumber union. Expand ternary operator into
16233 if-else statements.
16234 (cslow): use mynumber union.
16235
73616a74
AM
162362013-12-16 Allan McRae <allan@archlinux.org>
16237
9e8ac24b
AM
16238 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
16239 * configure: Regenerated.
16240
6f8e37eb
AM
16241 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
16242
8894bad3
AM
16243 [BZ #14120]
16244 * configure.ac: Added --enable-maintainer-mode. Check for
16245 autoconf when enabled.
16246 * configure: Regenerated.
16247
73616a74
AM
16248 * nscd/nscd.service: New file.
16249 * nscd/nscd.tmpfiles: New file.
16250
584b18eb
OB
162512013-12-14 Ondřej Bílka <neleai@seznam.cz>
16252
16253 [BZ #12100]
16254 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
16255 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
16256 * sysdeps/x86_64/multiarch/strstr.c: ... here.
16257 (strstr): Add __strstr_sse2_unaligned ifunc.
16258 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
16259 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
16260 (strcasestr): Remove __strcasestr_sse42 ifunc.
16261 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
16262 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
16263 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
16264
8a5c7897
KK
162652013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16266
16267 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
16268 * sysdeps/sh/bits/fenv.h: ... here.
16269 * sysdeps/sh/sh4/fpu/bits: Remove directory.
16270
fd712ef3
AZ
162712013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16272
16273 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
16274
42fcb46c
AZ
16275 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
16276 hypotf multiarch implementations.
16277 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
16278 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
16279 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
16280 multiarch hypot for PPC64.
16281 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
16282 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
16283 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
16284 multiarch hypotf for PPC64.
16285
83efded4
AZ
16286 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
16287 modff multiarch implementations.
16288 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
16289 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
16290 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
16291 multiarch modf for PPC64.
16292 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
16293 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
16294 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
16295 multiarch modff for PPC64.
16296
43e246d2
AZ
16297 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
16298 and logl multiarch implementations.
16299 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
16300 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
16301 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
16302 multiarch logb for PPC64.
16303 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
16304 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
16305 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
16306 multiarch logb for PPC64.
16307 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
16308 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
16309 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
16310 multiarch logb for PPC64.
16311
8fdad123
AZ
16312 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
16313 isinff multiarch implementation.
16314 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
16315 file.
16316 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
16317 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
16318 multiarch isinf for PPC64.
16319 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
16320 file.
16321 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
16322 multiarch isinff for PPC64.
16323
1481d706
AZ
16324 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
16325 finitef multiarch implementation.
16326 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
16327 file.
16328 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
16329 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
16330 multiarch finite for PPC64.
16331 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
16332 file.
16333 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
16334 multiarch finitef for PPC64.
16335
5ccd5fc8
AZ
16336 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
16337 lrint multiarch implementation.
16338 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
16339 file.
16340 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
16341 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
16342 multiarch llrint for PPC64.
16343 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
16344 multiarch lrint for PPC64.
16345
2568f3fa
AZ
16346 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
16347 copysignf multiarch implementation.
16348 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
16349 file.
16350 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
16351 file.
16352 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
16353 multiarch copysign for PPC64.
16354 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
16355 multiarch copysignf for PPC64.
16356
1cb341fd
AZ
16357 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
16358 multiarch implementation.
16359 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
16360 file.
16361 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
16362 file.
16363 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
16364 file.
16365 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
16366 file.
16367 multiarch llround for PPC64.
16368 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
16369 multiarch trunc for PPC64.
16370 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
16371 multiarch truncf for PPC64.
16372
59a3e194
AZ
16373 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
16374 multiarch implementation.
16375 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
16376 file.
16377 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
16378 file.
16379 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
16380 file.
16381 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
16382 file.
16383 multiarch llround for PPC64.
16384 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
16385 multiarch round for PPC64.
16386 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
16387 multiarch roundf for PPC64.
16388
357fd3b4
AZ
16389 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
16390 multiarch implementation.
16391 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
16392 file.
16393 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
16394 file.
16395 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
16396 file.
16397 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
16398 file.
16399 multiarch llround for PPC64.
16400 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
16401 multiarch floor for PPC64.
16402 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
16403 multiarch floorf for PPC64.
16404
96770f12
AZ
16405 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
16406 multiarch implementation.
16407 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
16408 file.
16409 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
16410 file.
16411 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
16412 file.
16413 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
16414 file.
16415 multiarch llround for PPC64.
16416 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
16417 multiarch ceil for PPC64.
16418 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
16419 multiarch ceilf for PPC64.
16420
c3627f6e
AZ
16421 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
16422 multiarch implementation.
16423 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
16424 file.
16425 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
16426 file.
16427 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
16428 file.
16429 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
16430 multiarch llround for PPC64.
16431 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
16432 multiarch lround for PPC64.
16433
b2284ad7
AZ
16434 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
16435 multiarch implementation.
16436 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
16437 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
16438 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
16439 file.
16440 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
16441 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
16442 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
16443 multiarch isnan for PPC64.
16444 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
16445 multiarch isnanf for PPC64.
16446
69bbc63d
AZ
16447 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
16448 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
16449 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
16450 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
16451 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
16452 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
16453
c24517c9
AZ
16454 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
16455 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
16456 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
16457 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
16458
a52374e8
AZ
16459 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
16460 multiarch implementations.
16461 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16462 (__libc_ifunc_impl_list): Likewise.
16463 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
16464 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
16465 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
16466 multiarch stpcpy for PPC64.
16467
7f5ec113
AZ
16468 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
16469 multiarch implementations.
16470 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16471 (__libc_ifunc_impl_list): Likewise.
16472 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
16473 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
16474 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
16475 multiarch strcpy for PPC64.
16476
e28bcd42
AZ
16477 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
16478 redefine function name.
16479 (_wordcopy_fwd_dest_aligned): Likewise.
16480 (_wordcopy_bwd_aligned): Likewise.
16481 (_wordcopy_bwd_dest_aligned): Likewise.
16482 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
16483 multiarch implementations.
16484 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16485 (__libc_ifunc_impl_list): Likewise.
16486 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
16487 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
16488 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
16489 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
16490 multiarch wcscpy for PPC64.
16491
92cacfce
AZ
16492 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
16493 multiarch implementations.
16494 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16495 (__libc_ifunc_impl_list): Likewise.
16496 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
16497 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
16498 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
16499 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
16500 multiarch wcscpy for PPC64.
16501
7b714620
AZ
16502 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
16503 multiarch implementations.
16504 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16505 (__libc_ifunc_impl_list): Likewise.
16506 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
16507 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
16508 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
16509 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
16510 multiarch wcsrchr for PPC64.
16511
16fd2ae3
AZ
16512 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
16513 multiarch implementations.
16514 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16515 (__libc_ifunc_impl_list): Likewise.
16516 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
16517 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
16518 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
16519 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
16520 multiarch wcschr for PPC64.
16521
9ee2969b
AZ
16522 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
16523 multiarch implementations.
16524 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16525 (__libc_ifunc_impl_list): Likewise.
16526 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
16527 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
16528 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
16529 multiarch strchrnul for PPC64.
16530
372dc060
AZ
16531 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
16532 implementations.
16533 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16534 (__libc_ifunc_impl_list): Likewise.
16535 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
16536 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
16537 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
16538 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
16539 strchr for PPC64.
16540
24c2c3b9
AZ
16541 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
16542 implementations.
16543 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16544 (__libc_ifunc_impl_list): Likewise.
16545 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
16546 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
16547 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
16548 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
16549 strncmp for PPC64.
16550
1c92d9a0
AZ
16551 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
16552 multiarch implementations.
16553 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16554 (__libc_ifunc_impl_list): Likewise.
16555 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
16556 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
16557 strncasecmp for PPC64.
16558 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
16559 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
16560 multiarch strncasecmp_l for PPC64.
16561
17de3ee3
AZ
16562 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
16563 multiarch implementations.
16564 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
16565 (__libc_ifunc_impl_list): Likewise.
16566 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
16567 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
16568 multiarch strcasecmp for PPC64.
16569 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
16570 file.
16571 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
16572 multiarch strcasecmp_l for PPC64.
16573
62982bf9
AZ
16574 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
16575 implementations.
16576 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16577 (__libc_ifunc_impl_list): Likewise.
16578 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
16579 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
16580 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
16581 strnlen for PPC64.
16582
a65f4904
AZ
16583 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
16584 implementations.
16585 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16586 (__libc_ifunc_impl_list): Likewise.
16587 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
16588 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
16589 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
16590 strlen for PPC64.
16591
1fd005ad
AZ
16592 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
16593 implementations.
16594 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16595 (__libc_ifunc_impl_list): Likewise.
16596 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
16597 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
16598 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
16599 rawmemrchr for PPC64.
16600
cd05ba91
AZ
16601 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
16602 implementation.
16603 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16604 (__libc_ifunc_impl_list): Likewise.
16605 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
16606 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
16607 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
16608 memrchr for PPC64.
16609
870f8676
AZ
16610 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
16611 implementation.
16612 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16613 (__libc_ifunc_impl_list): Likewise.
16614 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
16615 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
16616 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
16617 memchr for PPC64.
16618
f00be62b
AZ
16619 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
16620 implementation.
16621 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16622 (__libc_ifunc_impl_list): Likewise.
16623 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
16624 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
16625 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
16626 mempcpy for PPC64.
16627
8a29a3d0
AZ
16628 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
16629 avoid cretion of __bzero symbol.
16630 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
16631 Likewise.
16632 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
16633 Likewise.
16634 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
16635 Likewise.
16636 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
16637 multiarch implementations.
16638 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16639 (__libc_ifunc_impl_list): Likewise.
16640 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
16641 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
16642 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
16643 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
16644 bzero for PPC32.
16645 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
16646 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
16647 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
16648 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
16649 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
16650 memset for PPC64.
16651 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
16652
07253fcf
AZ
16653 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
16654 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
16655 implementations.
16656 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16657 (__libc_ifunc_impl_list): Likewise.
16658 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
16659 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
16660 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
16661 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
16662 memcmp for PPC64.
16663
b5beafbc
AZ
16664 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
16665 multiarch for POWER/PPC64.
16666 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
16667 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
16668 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
16669 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
16670 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
16671 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
16672 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
16673 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
16674 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
16675 memcpy for PPC64.
16676
5e6a4d4b
AZ
16677 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
16678 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
16679 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
16680 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
16681 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
16682 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
16683 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
16684 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
16685 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
16686 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
16687 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
16688 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
16689 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
16690 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
16691 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
16692 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
16693 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
16694 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
16695 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
16696 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
16697 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
16698 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
16699
ddfab6dc
KK
167002013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16701
16702 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
16703
19b5525e
SP
167042013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
16705
16706 * benchtests/Makefile (bench): Add exp2 and log2.
16707 (LDLIBS-bench-exp2): Add -lm.
16708 (LDLIBS-bench-log2): Likewise.
16709 * benchtests/exp2-inputs: New inputs file.
16710 * benchtests/log2-inputs: New inputs file.
16711 * benchtests/log-inputs: Add new inputs.
16712 * benchtests/tan-inputs: Likewise.
16713
196f7f5d
SP
167142013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
16715
7a74607f
SP
16716 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
16717 definition...
57f41c40
AS
16718 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
16719 (csloww2): ... from here.
7a74607f 16720
196f7f5d
SP
16721 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
16722 instead of structures.
16723 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
16724 (POLYNOMIAL): Likewise.
16725 (TAYLOR_SLOW): Likewise.
16726 (__sin): Likewise.
16727 (__cos): Likewise.
16728 (slow1): Likewise.
16729 (slow2): Likewise.
16730 (sloww): Likewise.
16731 (sloww1); Likewise.
16732 (sloww2): Likewise.
16733 (bsloww1): Likewise.
16734 (bsloww2): Likewise.
16735 (cslow2): Likewise.
16736 (csloww): Likewise.
16737 (csloww1): Likewise.
16738 (csloww2): Likewise.
16739
0dfa665c
OB
167402013-12-10 Ondřej Bílka <neleai@seznam.cz>
16741
16742 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
57f41c40
AS
16743 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
16744 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
0dfa665c
OB
16745 * malloc/hooks.c (realloc_check): Likewise.
16746
5782a80f
OB
16747 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
16748 * malloc/arena.c: Remove PER_THREAD conditional.
16749 [!PER_THREAD]: Remove code.
16750 (ptmalloc_unlock_all2): Likewise.
16751 (ptmalloc_init): Likewise.
16752 (_int_new_arena): Likewise.
16753 (arena_get2): Likewise.
16754 * malloc/hooks.c (__malloc_get_state): Likewise.
16755 (__malloc_set_state): Likewise.
16756 * malloc/malloc.c: Likewise.
16757 (struct malloc_state): Likewise.
16758 (struct malloc_par): Likewise.
16759 (__libc_realloc): Likewise.
16760 (__libc_mallopt): Likewise.
16761
aeb95445
AZ
167622013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16763
16764 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
16765
e8349efd
OB
167662013-12-09 Ondřej Bílka <neleai@seznam.cz>
16767
16768 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
16769 macro to a function. Check for zero perturb_byte.
16770 (_int_malloc, _int_free): Remove zero perturb_byte checks.
16771
f3eeb3fc 16772 * malloc/malloc.c: (force_reg): Remove.
57f41c40
AS
16773 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
16774 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
f3eeb3fc
OB
16775 force_reg by atomic_forced_read.
16776 * malloc/arena.c (ptmalloc_init): Likewise.
16777 * malloc/hooks.c (top_check): Likewise.
16778
be2f9009
AZ
167792013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16780
16781 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16782
e7b914bd
MT
167832013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
16784
16785 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16786
9f0be4f8
JM
167872013-12-08 Joseph Myers <joseph@codesourcery.com>
16788
16789 * math/auto-libm-test-in: Add tests of lgamma.
16790 * math/auto-libm-test-out: Regenerated.
16791 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
16792 (M_LOG_2_SQRT_PIl): Likewise.
16793 (lgamma_test_data): Use AUTO_TESTS_f_f1.
16794 * math/gen-auto-libm-tests.c (func_calc_method): Add value
16795 mpfr_f_f1.
16796 (func_calc_desc): Add mpfr_f_f1 union field.
16797 (ARGS1): New macro.
16798 (ARGS2): Likewise.
16799 (ARGS3): Likewise.
16800 (ARGS4): Likewise.
16801 (RET1): Likewise.
16802 (RET2): Likewise.
16803 (CALC): Likewise.
16804 (FUNC): Likewise.
16805 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
16806 (test_functions): Add lgamma.
16807 (calc_generic_results): Handle mpfr_f_f1.
16808 * sysdeps/i386/fpu/libm-test-ulps: Update.
16809 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16810
24eeafdb
AZ
168112013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16812
16813 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
16814 __mpn_add_n for PowerPC64/POWER7.
16815 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
16816 __mpn_sub_n for PowerPC64/POWER7.
16817
4a2c0fd4
AZ
16818 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
16819 __mpn_addmul_1 for PowerPC64.
16820 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
16821 __mpn_submul_1 for PowerPC64.
16822 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
16823 for PowerPC64.
16824 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
16825 for PowerPC64.
16826
4b5b548c
FS
168272013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
16828
16829 [BZ #15089]
16830 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
16831
0a3ac0aa
AZ
168322013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16833
16834 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
16835
ccdc8438
AZ
16836 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
16837 add multiarch folders.
16838 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
16839 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
16840 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
16841 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
16842 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
16843 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
16844 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
16845 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
16846 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
16847 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
16848 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
16849 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
16850 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
16851 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
16852 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
16853 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
16854 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
16855
2e973d99
AZ
16856 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
16857 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
16858 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
16859 New file.
16860 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
16861 New file.
16862 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
16863 multiarch __ieee754_hypot for PowerPC32.
16864 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
16865 New file.
16866 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
16867 New file.
16868 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
16869 multiarch __ieee754_hypotf for PowerPC32.
16870
2d9470b2
AZ
16871 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
16872 long_double_symbol only if __logbl is defined.
16873 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
16874 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
16875 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
16876 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
16877 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
16878 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
16879 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
16880 path for implementation.
16881 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
16882 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
16883 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
16884 logb, and logbl multiarch implementations for PowerPC32.
16885 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
16886 file.
16887 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
16888 file.
16889 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
16890 multiarch logb for PowerPC32.
16891 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
16892 file.
16893 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
16894 file.
16895 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
16896 multiarch logbf for PowerPC32.
16897 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
16898 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
16899 file.
16900 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
16901 multiarch logbl implementation for PowerPC32.
16902
5212ffce
AZ
16903 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
16904 and modff multiarch implementations.
16905 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
16906 New file.
16907 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
16908 New file.
16909 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
16910 multiarch modf for PowerPC32.
16911 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
16912 New file.
16913 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
16914 New file.
16915 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
16916 multiarch modff for PowerPC32.
16917
79dccf31
AZ
16918 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
16919 and lrintf multiarch implementations.
16920 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
16921 New file.
16922 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
16923 New file.
16924 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
16925 multiarch lrint for PowerPC32.
16926 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
16927 file: multiarch lrintf for PowerPC32.
16928
deb66480
AZ
16929 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
16930 and lroundf multiarch implementations.
16931 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
16932 New file.
16933 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
16934 New file.
16935 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
16936 New file.
16937 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
16938 multiarch lround for PowerPC32.
16939 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
16940 file: multiarch lroundf for PowerPC32.
16941
264b036b
AZ
16942 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
16943 copysign and copysignf multiarch implementations.
16944 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
16945 New file.
16946 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
16947 New file.
16948 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
16949 file: multiarch copysign for PowerPC32.
16950 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
16951 file: multiarch copysignf for PowerPC32.
16952
d47db6c9
AZ
16953 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
16954 and truncf multiarch implementations.
16955 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
16956 New file.
16957 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
16958 file.
16959 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
16960 multiarch trunc for PowerPC32.
16961 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
16962 New file.
16963 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
16964 New file.
16965 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
16966 multiarch truncf for PowerPC32.
16967
ddb60b5a
AZ
16968 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
16969 and roundf multiarch implementations.
16970 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
16971 New file.
16972 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
16973 file.
16974 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
16975 multiarch round for PowerPC32.
16976 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
16977 New file.
16978 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
16979 New file.
16980 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
16981 multiarch roundf for PowerPC32.
16982
bedcf49b
AZ
16983 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
16984 and floorf multiarch implementations.
16985 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
16986 New file.
16987 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
16988 file.
16989 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
16990 multiarch floor for PowerPC32.
16991 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
16992 New file.
16993 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
16994 New file.
16995 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
16996 multiarch floorf for PowerPC32.
16997
35ae5b40
AZ
16998 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
16999 and ceilf multiarch implementations.
17000 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
17001 New file.
17002 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
17003 file.
17004 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
17005 multiarch ceil for PowerPC32.
17006 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
17007 New file.
17008 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
17009 file.
17010 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
17011 multiarch ceilf for PowerPC32.
17012
ae1a4cd9
AZ
17013 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
17014 is defined.
17015 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
17016 FINITEF is defined.
17017 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
17018 and finitef multiarch implementations.
17019 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
17020 New file.
17021 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
17022 file.
17023 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
17024 multiarch finite for PowerPC32.
17025 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
17026 New file.
17027 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
17028 file: multiarch finitef for PowerPC32.
17029
64fffd65
AZ
17030 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
17031 and isinff multiarch implementations.
17032 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
17033 file.
17034 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
17035 file.
17036 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
17037 multiarch isinf for PowerPC32.
17038 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
17039 New file.
17040 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
17041 multiarch isinff for PowerPC32.
17042
8e4e7ba2
AZ
17043 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
17044 alias when __isnan is defined.
17045 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
17046 and isnanf multiarch implementations.
17047 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
17048 file.
17049 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
17050 file.
17051 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
17052 file.
17053 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
17054 file.
17055 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
17056 multiarch isnan for PowerPC32.
17057 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
17058 New file.
17059 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
17060 New file.
17061 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
17062 multiarch isnanf for PowerPC32.
17063
ddba588e
AZ
17064 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
17065 and sqrtf multiarch implementations.
17066 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
17067 file.
17068 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
17069 file.
17070 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
17071 multiarch sqrt for PowerPC32.
17072 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
17073 file.
17074 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
17075 file.
17076 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
17077 multiarch sqrtf for PowerPC32.
17078
0f96a2f0
AZ
17079 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
17080 and llroundf multiarch implementations.
17081 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
17082 New file.
17083 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
17084 New file.
17085 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
17086 New file.
17087 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
17088 file: multiarch llround for PowerPC32.
17089 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
17090 file: multiarch llroundf for PowerPC32.
17091
c9b5d79e
AZ
17092 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
17093 multiarch PowerPC32 fpu implementations.
17094 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
17095 New file.
17096 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
17097 New file.
17098 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
17099 multiarch llrint for PowerPC32.
17100 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
17101 New file.
17102 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
17103 New file.
17104 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
17105 file.
17106
9cbb3aab
AZ
17107 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
17108
ea5a72f8
AZ
17109 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
17110 file.
17111 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
17112 file.
17113 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
17114 file.
17115 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
17116 multiarch wordcopy for PPC32.
17117 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
17118 wordcopy objects.
17119 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17120 (__libc_ifunc_impl_list): Likewise.
17121 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
17122 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
17123 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
17124 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
17125 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
17126 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
17127
93be09e7
AZ
17128 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
17129 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
17130 file.
17131 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
17132 file.
17133 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
17134 file.
17135 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
17136 multiarch wcscpy for PPC32.
17137 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
17138 multiarch objects.
17139 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17140 (__libc_ifunc_impl_list): Likewise.
17141 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
17142 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
17143 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
17144 sysdeps/powerpc/power6/wcscpy.c.
17145
bb04e529
AZ
17146 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
17147 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
17148 file.
17149 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
17150 file.
17151 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
17152 file.
17153 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
17154 multiarch wcsrchr for PPC32.
17155 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
17156 multiarch objects.
17157 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17158 (__libc_ifunc_impl_list): Likewise.
17159 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
17160 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
17161 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
17162 sysdeps/powerpc/power6/wcsrchr.c.
17163
05b5cd1c
AZ
17164 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
17165 file.
17166 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
17167 file.
17168 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
17169 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
17170 multiarch wcschr for PPc32.
17171 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
17172 multiarch objects.
17173 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17174 (__libc_ifunc_impl_list): Likewise.
17175 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
17176 * sysdeps/powerpc/power6/wcschr.c: ... to here.
17177 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
17178 sysdeps/powerpc/power6/wcschr.c.
17179
ba964147
AZ
17180 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
17181 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
17182 file.
17183 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
17184 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
17185 file: multiarch strchr for PPC32.
17186 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
17187 multiarch objects.
17188 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17189 (__libc_ifunc_impl_list): Likewise.
17190
31c81aaa
AZ
17191 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
17192 name.
17193 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
17194 file.
17195 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
17196 file.
17197 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
17198 multiarch strchrnul for PPC32.
17199 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
17200 multiarch objects.
17201 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17202 (__libc_ifunc_impl_list): Likewise.
17203
0d0607d9
AZ
17204 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
17205 file.
17206 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
17207 multiarch strncasecmp for PPC32.
17208 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
17209 file.
17210 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
17211 multiarch strncasecmp_l for PPC32.
17212 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
17213 strncasecmp multiarch objects.
17214 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17215 (__libc_ifunc_impl_list): Likewise.
17216
4dfd5c86
AZ
17217 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
17218 file.
17219 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
17220 multiarch strncasecmp for PPC32.
17221 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
17222 New file.
17223 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
17224 multiarch strcasecmp_l for PPC32.
17225 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
17226 multiarch objects.
17227 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17228 (__libc_ifunc_impl_list): Likewise.
17229
a19e01a3
AZ
17230 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
17231 file.
17232 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
17233 file.
17234 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
17235 multiarch strncmp for PPC32.
17236 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
17237 multiarch objects.
17238 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17239 (__libc_ifunc_impl_list): Likewise.
17240
ae9cf7a2
AZ
17241 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
17242 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
17243 file.
17244 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
17245 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
17246 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
17247 multiarch objects.
17248 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17249 (__libc_ifunc_impl_list): Likewise.
17250
3148bb7d
AZ
17251 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
17252 file.
17253 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
17254 file.
17255 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
17256 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
17257 multiarch objects.
17258 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17259 (__libc_ifunc_impl_list): Likewise.
17260
7af8b946
AZ
17261 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
17262 file.
17263 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
17264 file.
17265 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
17266 multiarch rawmemchr for PPC32.
17267 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
17268 multiarch objects.
17269 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17270 (__libc_ifunc_impl_list): Likewise.
17271
03a6aa6a
AZ
17272 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
17273 file.
17274 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
17275 file.
17276 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
17277 file: memrchr multiarch for PPC32.
17278 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
17279 multiarch objects.
17280 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17281 (__libc_ifunc_impl_list): Likewise.
17282
1c62e6d9
AZ
17283 * string/memchr.c (__memchr): Using macro to redefine symbol name.
17284 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
17285 file.
17286 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
17287 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
17288 multiarch memchr for PPC32.
17289 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
17290 multiarch objects.
17291 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
17292 (__libc_ifunc_impl_list): Likewise.
17293
87da8bdb
AZ
17294 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
17295 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
17296 file.
17297 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
17298 file.
17299 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
17300 file: multiarch mempcpy for PPC32.
17301 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
17302 multiarch objects.
17303 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
17304 (__libc_ifunc_impl_list): Likewise.
17305
20ed4714
AZ
17306 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
17307 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
17308 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
17309 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
17310 multiarch bzero for PPC32.
17311 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
17312 file.
17313 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
17314 file.
17315 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
17316 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
17317 file: multiarch memset for PPC32.
17318 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
17319 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
17320 memset multiarch objects.
17321 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
17322 (__libc_ifunc_impl_list): Likewise.
17323
ab3e3a46
AZ
17324 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
17325 file.
17326 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
17327 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
17328 memcmp for PPC32.
17329 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
17330 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
17331 multiarch objects.
17332 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
17333 (__libc_ifunc_impl_list): Likewise.
17334
930de6f0
AZ
17335 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
17336 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
17337 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
17338 file.
17339 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
17340 file.
17341 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
17342 file.
17343 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
17344 multiarch memcpy for PPC32.
17345 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
17346 multiarch objects.
17347 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
17348 (__libc_ifunc_impl_list): Likewise.
17349
4c628e00
AZ
17350 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
17351 support multiarch for POWER/PPC32.
17352 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
17353 Likewise.
17354 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
17355 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
17356 Implies file to make multiarch folder appers before the fpu and
17357 default folder for power4 configuration.
17358
f4479220
SP
173592013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
17360
17361 * scripts/bench.pl: Append volatile keyword to type.
17362
8517800f
KK
173632013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17364
17365 * sysdeps/sh/sotruss-lib.c: New file.
17366 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
17367
180138f1
AZ
173682013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17369
17370 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17371
bbf37bdc
JM
173722013-12-05 Joseph Myers <joseph@codesourcery.com>
17373
e47cc4e0
JM
17374 [BZ #6810]
17375 * math/w_tgamma.c: Include <errno.h>.
17376 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
17377 * math/w_tgammaf.c: Include <errno.h>.
17378 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
17379 * math/w_tgammal.c: Include <errno.h>.
17380 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
17381 * math/auto-libm-test-in: Do not allow missing errno on tgamma
17382 underflow. Add more tgamma tests.
17383 * math/auto-libm-test-out: Regenerated.
17384 * sysdeps/i386/fpu/libm-test-ulps: Update.
17385 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17386
bbf37bdc
JM
17387 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
17388 sin, sinh, tan, tanh, tgamma, y0 and y1.
17389 * math/auto-libm-test-out: Regenerated.
17390 * math/libm-test.inc (TEST_COND_x86_64): New macro.
17391 (TEST_COND_x86): Likewise.
17392 (M_E2l): Remove macro.
17393 (M_E3l): Likewise.
17394 (M_2_SQRT_PIl): Likewise.
17395 (M_SQRT_PIl): Likewise.
17396 (M_1_DIV_El): Likewise.
17397 (log_test_data): Use AUTO_TESTS_f_f.
17398 (log10_test_data): Likewise.
17399 (log1p_test_data): Likewise.
17400 (log2_test_data): Likewise.
17401 (sin_test_data): Likewise.
17402 (sin_tonearest_test_data): Likewise.
17403 (sin_towardzero_test_data): Likewise.
17404 (sin_downward_test_data): Likewise.
17405 (sin_upward_test_data): Likewise.
17406 (sinh_test_data): Likewise.
17407 (sinh_tonearest_test_data): Likewise.
17408 (sinh_towardzero_test_data): Likewise.
17409 (sinh_downward_test_data): Likewise.
17410 (sinh_upward_test_data): Likewise.
17411 (tan_test_data): Likewise.
17412 (tan_tonearest_test_data): Likewise.
17413 (tan_towardzero_test_data): Likewise.
17414 (tan_downward_test_data): Likewise.
17415 (tan_upward_test_data): Likewise.
17416 (tanh_test_data): Likewise.
17417 (tgamma_test_data): Likewise.
17418 (y0_test_data): Likewise.
17419 (y1_test_data): Likewise.
17420 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
17421 (special_real_inputs): Add pi/4.
17422 * sysdeps/i386/fpu/libm-test-ulps: Update.
17423 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17424
eb5ad6b9
AZ
174252013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17426
17427 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
17428 "longjmp_target" static probes.
17429 (__longjmp): Rename to __longjmp_symbol.
17430 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
17431 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
17432 on which longjmp to generate.
17433 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
17434 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
17435 probe.
17436 (__sigsetjmp): Rename to __sigsetjmp_symbol.
17437 (__sigjmp_save): Rename to __sigjmp_save_symbol.
17438 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
17439 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
17440 and __sigjmp_save_symbol based on which sigsetjmp to generated.
17441 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
17442 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
17443 __longjmp_symbol based on which __longjmp to generate.
17444 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
17445 probe.
17446 (setjmp): Rename to setjmp_symbol.
17447 (__sigsetjmp): Rename to __sigsetjmp_symbol.
17448 (_setjmp): Rename to _setjmp_symbol.
17449 (__sigsetjmp): Rename to __sigsetjmp_symbol.
17450 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
17451 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
17452 which setjmp to generate.
17453 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
17454 "longjmp_target" static probes.
17455
d136c6dc
SP
174562013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
17457
9298ecba
SP
17458 * benchtests/README: Add note about output arguments.
17459 * benchtests/bench-sincos.c: Remove file.
17460 * benchtests/sincos-inputs: New file.
17461 * scripts/bench.pl: Identify output arguments and define
17462 static variables for them.
17463
232983e9
SP
17464 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
17465
d136c6dc
SP
17466 [BZ #15941]
17467 * Makefile (INSTALL): Add install-plain.texi as the primary
17468 dependency.
17469 * manual/install-plain.texi: New file.
17470 * manual/install.texi: Include node directive only for
17471 non-plaintext output.
17472
699ff837
JM
174732013-12-04 Joseph Myers <joseph@codesourcery.com>
17474
ab07cea8
JM
17475 * stdlib/longlong.h: Update from GCC.
17476
699ff837
JM
17477 [BZ #6807]
17478 [BZ #15901]
17479 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
17480 * math/w_j0f.c (y0f): Likewise.
17481 * math/w_j0l.c (__y0l): Likewise.
17482 * math/w_j1.c (y1): Likewise.
17483 * math/w_j1f.c (y1f): Likewise.
17484 * math/w_j1l.c (__y1l): Likewise
17485 * math/w_jn.c (yn): Likewise.
17486 * math/w_jnf.c (ynf): Likewise.
17487 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
17488 Bessel function pole errors in _POSIX_ mode. Use NAN as return
17489 value for Bessel function domain errors outside _SVID_ mode.
17490 Adjust sign of return value for yn (negative integer, 0).
17491 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
17492 by zero in return for negative x and set sign appropriately for
17493 negative n.
17494 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
17495 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
17496 * math/libm-test.inc (y0_test_data): Add more tests and adjust
17497 expectations in error cases.
17498 (y1_test_data): Likewise.
17499 (yn_test_data): Likewise.
17500 * sysdeps/i386/fpu/libm-test-ulps: Update.
17501 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17502
5b118558
UW
175032013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
17504
17505 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
17506 "64" to "64-v1". Add "64-v2".
17507 (abi-64-options): Rename to ...
17508 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
17509 (abi-64-condition): Rename to ...
17510 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
17511 (abi-64-ld-soname): Rename to ...
17512 (abi-64-v1-ld-soname): ... this.
17513 (abi-64-v2-options): Define.
17514 (abi-64-v2-condition): Likewise.
17515 (abi-64-v2-ld-soname): Likewise.
17516 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
17517 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
17518 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
17519 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
17520 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
17521
61cd8fe4
UW
175222013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
17523 Alan Modra <amodra@gmail.com>
17524
17525 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
17526 New versions for use with the ELFv2 ABI.
17527 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
17528 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
17529 declaration.
17530 (struct La_ppc64v2_retval): Likewise.
17531 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
17532 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
17533 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
17534 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
17535 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
17536 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
17537 Do not save or restore CR.
17538 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
17539 (_dl_profile_resolve): Do no save or restore CR. Support extended
17540 return values for ELFv2 ABI. Fix location of FPR return registers.
17541 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
17542 updated values for _CALL_ELF == 2.
17543 (La_regs, La_retval, int_retval): Likewise.
17544
8b8a692c
UW
175452013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
17546
17547 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
17548 (FRAME_MIN_SIZE_PARM): Likewise.
17549 (FRAME_BACKCHAIN): Likewise.
17550 (FRAME_CR_SAVE): Likewise.
17551 (FRAME_LR_SAVE): Likewise.
17552 (FRAME_TOC_SAVE): Likewise.
17553 (FRAME_PARM_SAVE): Likewise.
17554 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
17555 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
17556 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
17557 (call_mcount_parm_offset): New macro.
17558 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
17559 (PROF): Use symbolic stack frame offsets.
17560 (TAIL_CALL_SYSCALL_ERROR): Likewise.
17561 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
17562 Redefine in terms of FRAME_MIN_SIZE.
17563 (_dl_runtime_resolve): Use symbolic stack frame offsets.
17564 (_dl_profile_resolve): Likewise. Update comment.
17565 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
17566 symbols stack frame offsets.
17567 (__sigsetjmp): Likewise.
17568 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
17569 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
17570 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
17571 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
17572
17573 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
17574 (FRAME_BACKCHAIN): Remove.
17575 (FRAME_CR_SAVE): Likewise.
17576 (FRAME_LR_SAVE): Likewise.
17577 (FRAME_COMPILER_DW): Likewise.
17578 (FRAME_LINKER_DW): Likewise.
17579 (FRAME_TOC_SAVE): Likewise.
17580 (FRAME_PARM_SAVE): Likewise.
57f41c40
AS
17581 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
17582 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
17583 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
8b8a692c
UW
17584 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
17585 (CHECK_SP): Use symbolic stack frame offsets.
17586 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
17587 zone" instead of caller's parameter save area for temp storage.
17588 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
17589 Likewise. Also, use symbolic stack frame offsets.
17590 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
17591 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
17592 our own stack frame instead of the caller's.
17593 (__socket): Use symbolic stack frame offsets.
17594
122b66de
UW
175952013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
17596 Alan Modra <amodra@gmail.com>
17597
17598 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
17599 Define.
57f41c40
AS
17600 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
17601 (PPC64_LOCAL_ENTRY_OFFSET): Define.
122b66de
UW
17602 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
17603 New function.
17604 (elf_machine_fixup_plt): Call it.
17605 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
17606 reloc arguments.
17607 (elf_machine_rela): Update call to elf_machine_plt_conflict.
57f41c40
AS
17608 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
17609 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
122b66de
UW
17610 r2 before calling target.
17611
696caf1d
UW
176122013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
17613 Alan Modra <amodra@gmail.com>
17614
17615 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
17616 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
17617 versions of macros to support ELFv2 ABI.
17618 (LOCALENTRY): New macro.
17619 (ENTRY, EALIGN): Use it.
17620 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
17621 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
17622 fall through into ENTRY entry point.
17623 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
17624 Only define if _CALL_ELF != 2.
17625
17626 (elf_machine_matches_host): Verify ABI version matches.
17627 (RTLD_START): Use LOCALENTRY.
17628 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
17629 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
17630 (PLT_ENTRY_WORDS): New macro.
17631 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
17632 (elf_machine_runtime_setup): Support ELFv2 ABI.
17633 (elf_machine_fixup_plt): Likewise.
17634 (elf_machine_plt_conflict): Likewise.
17635 (resolve_ifunc): Likewise.
17636 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
17637 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
17638 Likewise.
17639 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
17640 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
17641 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
17642 (makecontext): Support ELFv2 ABI.
17643 * elf/elf.h (EF_PPC64_ABI): Define.
17644
d31beafa
UW
176452013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
17646
57f41c40
AS
17647 * sysdeps/powerpc/powerpc64/sysdep.h
17648 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
17649 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
17650 (ENTRY) [ASSEMBLER]: ... but instead here ...
17651 (EALIGN) [ASSEMBLER]: ... and here.
17652 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
17653 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
17654 (ENTRY_2) [!ASSEMBLER]: Use it.
d31beafa
UW
17655 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
17656 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
57f41c40
AS
17657 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
17658 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
d31beafa
UW
17659 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
17660 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
17661 Use PPC64_LOAD_FUNCPTR.
17662
b525166b
UW
17663 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
17664
7ec07d9a
AM
176652013-12-04 Alan Modra <amodra@gmail.com>
17666
17667 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
17668 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
17669 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
17670 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
17671
17672 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
17673 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
17674 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
17675 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
17676 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
17677 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
17678
5162e7dd
UW
176792013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
17680
17681 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
17682 (__makecontext): Fix incorrect CFI when backtracing out of
17683 context created via makecontext.
17684 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
17685 (__setcontext): Fix incorrect CFI during switch to new context.
17686 (__novec_setcontext): Likewise.
17687
19e3372b
OB
176882013-12-04 Ondřej Bílka <neleai@seznam.cz>
17689
17690 [BZ #4772]
17691 * time/strptime_l.c (__strptime_internal): Allow modifiers
17692 in strptime.
17693 * time/tst-strptime.c (day_tests): Add testcase.
17694
ecaf142d
SP
176952013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
17696
17697 * scripts/bench.pl: Skip over blank lines.
17698
fbf964ae
PE
176992013-12-04 Paul Eggert <eggert@cs.ucla.edu>
17700
17701 [BZ #926]
17702 * manual/time.texi (Calendar Time): Clarify what timezone functions
17703 use.
17704
fa60a674
AZ
177052013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17706
17707 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17708
d674f0ef
OB
177092013-12-04 Ondřej Bílka <neleai@seznam.cz>
17710
17711 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
17712 implementation.
17713 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
17714 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
17715 * debug/memset_chk.c (__memset_chk): Likewise.
17716 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
17717 * debug/strncpy_chk.c: Likewise.
17718
17dea188
JM
177192013-12-03 Joseph Myers <joseph@codesourcery.com>
17720
749008ff
JM
17721 [BZ #15268]
17722 [BZ #15425]
17723 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
17724 (__ieee754_exp): For possibly underflowing results, check size of
17725 result and force underflow exception if required.
17726 * math/auto-libm-test-in: Add more tests of exp.
17727 * math/auto-libm-test-out: Regenerated.
17728 * sysdeps/i386/fpu/libm-test-ulps: Update.
17729 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17730
17dea188
JM
17731 [BZ #16283]
17732 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
17733 * math/w_exp2f.c (__exp2f): Likewise.
17734 * math/w_exp2l.c (__exp2l): Likewise.
17735 * math/auto-libm-test-in: Do not allow missing errno on exp2
17736 underflow.
17737 * math/auto-libm-test-out: Regenerated.
17738
b20de2c3
OB
177392013-12-03 Ondřej Bílka <neleai@seznam.cz>
17740
17741 [BZ #16274]
17742 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
17743 handle filename validation.
17744 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
17745 (do_open): Delete.
17746
d8e2dbe3
JM
177472013-12-03 Joseph Myers <joseph@codesourcery.com>
17748
34e16df5
JM
17749 [BZ #6786]
17750 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
17751 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
17752 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
17753 <float.h>.
17754 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
17755 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
17756 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
17757 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
17758 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
17759 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
17760 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
17761 * math/auto-libm-test-in: Don't allow missing errno from erfc.
17762 Add more erfc tests.
17763 * math/auto-libm-test-out: Regenerated.
17764 * sysdeps/i386/fpu/libm-test-ulps: Update.
17765 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17766
d8e2dbe3
JM
17767 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
17768 exp2, expm1, j0 and j1.
17769 * math/auto-libm-test-out: Regenerated.
17770 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
17771 (erfc_test_data): Likewise.
17772 (exp_test_data): Likewise.
17773 (exp_tonearest_test_data): Likewise.
17774 (exp_towardzero_test_data): Likewise.
17775 (exp_downward_test_data): Likewise.
17776 (exp_upward_test_data): Likewise.
17777 (exp10_test_data): Likewise.
17778 (exp2_test_data): Likewise.
17779 (expm1_test_data): Likewise.
17780 (j0_test_data): Likewise.
17781 (j1_test_data): Likewise.
17782 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
17783 (input_flag_type): Add flag_xfail_rounding.
17784 (input_flags): Add xfail-rounding.
17785 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
17786 (output_for_one_input_case): Handle flag_xfail_rounding.
17787 * sysdeps/i386/fpu/libm-test-ulps: Update.
17788 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17789
18d14251
AJ
177902013-12-03 Aurelien Jarno <aurelien@aurel32.net>
17791
3d2e6075 17792 [BZ #16289]
18d14251
AJ
17793 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
17794 division by 0.
17795
520d437b
SP
177962013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
17797
17798 [BZ #16195]
17799 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
17800 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
17801 (STAP_PROBE0): New macro.
17802 (STAP_PROBE1): Likewise.
17803 (STAP_PROBE2): Likewise.
17804 (STAP_PROBE3): Likewise.
17805 (STAP_PROBE4): Likewise.
17806
416e0145
OB
178072013-12-02 Ondřej Bílka <neleai@seznam.cz>
17808
17809 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
17810
9d17796a
SE
178112013-12-02 Steve Ellcey <sellcey@mips.com>
17812
17813 * benchtests/Makefile (bench): Add sqrt.
17814 (LDLIBS-bench-sqrt): New.
17815 * benchtests/sqrt-input: New.
17816
f524d6a8
PS
178172013-12-02 Pavel Simerda <psimerda@redhat.com>
17818
639a0ef8
PS
17819 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
17820 (GAIH_EAI): Likewise.
17821 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
17822 (gaih_inet): Likewise.
17823 (getaddrinfo): Don't use GAIH_EAI.
17824
f524d6a8
PS
17825 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
17826 (struct gaih): Remove definition.
17827
df3aedaf
SP
178282013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
17829
17830 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
17831 Use HERRNOP directly.
17832
1ab19dec
AZ
178332013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17834
b42ad38d 17835 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1ab19dec 17836
176b0c79
JM
178372013-11-30 Joseph Myers <joseph@codesourcery.com>
17838
17839 * math/gen-auto-libm-tests.c (test_functions): Add more
17840 single-argument functions.
17841 (special_fill_pi_2): New function.
17842 (special_fill_minus_pi_2): Likewise.
17843 (special_fill_pi_6): Likewise.
17844 (special_fill_minus_pi_6): Likewise.
17845 (special_fill_pi_3): Likewise.
17846 (special_fill_2pi_3): Likewise.
17847 (special_fill_e): Likewise.
17848 (special_fill_1_e): Likewise.
17849 (special_fill_e_minus_1): Likewise.
17850 (special_real_inputs): Add more special inputs.
17851 (output_for_one_input_case): Do not require ERANGE on underflow to
17852 zero if round-to-nearest result does not underflow to zero, unless
17853 exact results required.
17854 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
17855 atan, atanh, cbrt, cos and cosh.
17856 * math/auto-libm-test-out: Regenerated.
17857 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
17858 (acos_tonearest_test_data): Likewise.
17859 (acos_towardzero_test_data): Likewise.
17860 (acos_downward_test_data): Likewise.
17861 (acos_upward_test_data): Likewise.
17862 (acosh_test_data): Likewise.
17863 (asin_test_data): Likewise.
17864 (asin_tonearest_test_data): Likewise.
17865 (asin_towardzero_test_data): Likewise.
17866 (asin_upward_test_data): Likewise.
17867 (asinh_test_data): Likewise.
17868 (atan_test_data): Likewise.
17869 (atanh_test_data): Likewise.
17870 (cbrt_test_data): Likewise.
17871 (cos_test_data): Likewise.
17872 (cos_tonearest_test_data): Likewise.
17873 (cos_towardzero_test_data): Likewise.
17874 (cos_downward_test_data): Likewise.
17875 (cos_upward_test_data): Likewise.
17876 (cosh_test_data): Likewise.
17877 (cosh_tonearest_test_data): Likewise.
17878 (cosh_towardzero_test_data): Likewise.
17879 (cosh_downward_test_data): Likewise.
17880 (cosh_upward_test_data): Likewise.
17881 * sysdeps/i386/fpu/libm-test-ulps: Update.
17882 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17883
ffb536d0
JM
178842013-11-29 Joseph Myers <joseph@codesourcery.com>
17885
2a77a467
JM
17886 [BZ #6787]
17887 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
17888 * math/w_exp10f.c (__exp10f): Likewise.
17889 * math/w_exp10l.c (__exp10l): Likewise.
17890 * math/libm-test.inc (exp10_test_data): Add more tests and expect
17891 errno settings in existing tests.
17892
ea3bc4e8
JM
17893 [BZ #14032]
17894 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
17895 precision control set to double precision.
17896 * sysdeps/i386/fpu/w_sqrt.c: New file.
17897 * math/auto-libm-test-in: Add more tests.
17898 * math/auto-libm-test-out: Update.
17899
0712c9d8
JM
17900 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
17901 (sqrt_test_tonearest): New function.
17902 (sqrt_towardzero_test_data): New variable.
17903 (sqrt_test_towardzero): New function.
17904 (sqrt_downward_test_data): New variable.
17905 (sqrt_test_downward): New function.
17906 (sqrt_upward_test_data): New variable.
17907 (sqrt_test_upward): New function.
17908 (main): Call the new functions.
17909
ffb536d0
JM
17910 * math/gen-auto-libm-tests.c: New file.
17911 * math/auto-libm-test-in: Likewise.
17912 * math/auto-libm-test-out: New generated file.
17913 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
17914 variables.
17915 (%beautify): Add generated representations of zero.
17916 (top level): Set $auto_input and call parse_auto_input.
17917 (beautify): Remove trailing "f" from hex float constants.
17918 (parse_args): Handle XFAIL_TEST.
17919 (convert_condition): New function.
17920 (or_value): Likewise.
17921 (or_cond_value): Likewise.
17922 (generate_testfile): Handle AUTO_TESTS_* lines.
17923 (parse_auto_input): New function.
17924 * math/libm-test.inc (XFAIL_TEST): New macro.
17925 (ERRNO_UNCHANGED): Update value.
17926 (ERRNO_EDOM): Likewise.
17927 (ERRNO_ERANGE): Likewise.
17928 (IGNORE_RESULT): Likewise.
17929 (TEST_COND_flt_32): New macro.
17930 (TEST_COND_dbl_64): Likewise.
17931 (TEST_COND_ldbl_96_intel): Likewise.
17932 (TEST_COND_ldbl_96_m68k): Likewise.
17933 (TEST_COND_ldbl_128): Likewise.
17934 (TEST_COND_ldbl_128ibm): Likewise.
17935 (TEST_COND_long32): Likewise.
17936 (TEST_COND_long64): Likewise.
17937 (TEST_COND_before_rounding): Likewise.
17938 (TEST_COND_after_rounding): Likewise.
17939 (enable_test): Handle XFAIL_TEST flag.
17940 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
17941 with finite results.
17942 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
17943 auto-libm-test-out.
17944
acd98a8e
AK
179452013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
17946 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17947
17948 [BZ #16214]
17949 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
17950 __tls_get_addr_internal instead of __tls_get_offset in order to
17951 avoid GOT pointer dependency. Make rtld export
17952 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
17953 __tls_get_addr since we are a __tls_get_offset platform.
17954 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
17955 GOT pointer being set up before.
17956 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
17957
3c1c46a6
JM
179582013-11-28 Joseph Myers <joseph@codesourcery.com>
17959
7475aef5
JM
17960 * manual/math.texi (Errors in Math Functions): Document accuracy
17961 goals.
17962
8bca7cd8
JM
17963 [BZ #15004]
17964 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
17965 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
17966 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
17967 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
17968 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
17969 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
17970 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
17971 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
17972 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
17973 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
17974 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
17975 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
17976 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
17977 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
17978 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
17979 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
17980
91a1f3fe
JM
17981 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
17982 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
17983 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
17984 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
17985 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
17986 Likewise.
17987 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
17988 Likewise.
17989 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
17990 Likewise.
17991 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
17992 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
17993 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
17994 atomic-feupdateenv and flt-rounds.
17995 * sysdeps/powerpc/nofpu/Versions (libc): Add
17996 __atomic_feholdexcept, __atomic_feclearexcept,
17997 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
17998 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
17999 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
18000 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
18001 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
18002 here.
18003 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
18004 Update.
18005
c5df7609
JM
18006 * manual/arith.texi (FP Exceptions): Document that exceptions may
18007 not be raised when matherr is used.
18008 (Math Error Reporting): Document overflow in directed rounding
18009 modes. Document that errno may not be set when finite values are
18010 returned on overflow. Document intent to set errno on underflow
18011 only for underflow to zero.
18012
3c1c46a6
JM
18013 [BZ #16271]
18014 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
18015 round-to-nearest then adjust result for other rounding modes.
18016 * include/fenv.h (fegetround): Use libm_hidden_proto.
18017 * math/fegetround.c (fegetround): Use libm_hidden_def.
18018 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
18019 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
18020 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
18021 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
18022 Likewise.
18023 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
18024 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
18025 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
18026 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
18027
5a4c6d53
SP
180282013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
18029
18030 [BZ #16077]
18031 * nss/Versions (libnss_files): Add
18032 _nss_files_gethostbyname3_r.
18033 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
18034 New function.
18035 (HOST_DB_LOOKUP): Remove macro.
18036 (_nss_files_gethostbyname_r): Implement function without the
18037 HOST_DB_LOOKUP macro.
18038 (_nss_files_gethostbyname2_r): Likewise.
18039
897b98ba
OB
180402013-11-28 Ondřej Bílka <neleai@seznam.cz>
18041
18042 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
18043
6f476861
UB
180442013-11-26 Uros Bizjak <ubizjak@gmail.com>
18045
18046 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
18047 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
18048 warning.
18049
bd12ab55
AZ
180502013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18051
18052 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
18053 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
18054 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
18055 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
18056 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
18057 __fe_nomask_env_priv and attribute_hidden.
18058 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
18059 (libc_feupdateenv_test_ppc): Likewise.
18060 (libc_feresetround_ppc): Likewise.
18061 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
18062 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
18063 compat_symbol macro.
18064 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
18065 (__fe_nomask_env): Likewise.
18066 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
18067
52bb6543
OB
180682013-11-26 Ondřej Bílka <neleai@seznam.cz>
18069
18070 * string/Makefile: Remove ifunc tests.
18071 * string/test-string.h: Define TEST_IFUNC.
18072 * string/test-bcopy-ifunc.c: Remove.
18073 * string/test-bzero-ifunc.c: Likewise.
18074 * string/test-memccpy-ifunc.c: Likewise.
18075 * string/test-memchr-ifunc.c: Likewise.
18076 * string/test-memcmp-ifunc.c: Likewise.
18077 * string/test-memcpy-ifunc.c: Likewise.
18078 * string/test-memmem-ifunc.c: Likewise.
18079 * string/test-memmove-ifunc.c: Likewise.
18080 * string/test-mempcpy-ifunc.c: Likewise.
18081 * string/test-memrchr-ifunc.c: Likewise.
18082 * string/test-memset-ifunc.c: Likewise.
18083 * string/test-rawmemchr-ifunc.c: Likewise.
18084 * string/test-stpcpy-ifunc.c: Likewise.
18085 * string/test-stpncpy-ifunc.c: Likewise.
18086 * string/test-strcasecmp-ifunc.c: Likewise.
18087 * string/test-strcasestr-ifunc.c: Likewise.
18088 * string/test-strcat-ifunc.c: Likewise.
18089 * string/test-strchr-ifunc.c: Likewise.
18090 * string/test-strchrnul-ifunc.c: Likewise.
18091 * string/test-strcmp-ifunc.c: Likewise.
18092 * string/test-strcpy-ifunc.c: Likewise.
18093 * string/test-strcspn-ifunc.c: Likewise.
18094 * string/test-strlen-ifunc.c: Likewise.
18095 * string/test-strncasecmp-ifunc.c: Likewise.
18096 * string/test-strncat-ifunc.c: Likewise.
18097 * string/test-strncmp-ifunc.c: Likewise.
18098 * string/test-strncpy-ifunc.c: Likewise.
18099 * string/test-strnlen-ifunc.c: Likewise.
18100 * string/test-strpbrk-ifunc.c: Likewise.
18101 * string/test-strrchr-ifunc.c: Likewise.
18102 * string/test-strspn-ifunc.c: Likewise.
18103 * string/test-strstr-ifunc.c: Likewise.
18104
ab260039 181052013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97
OB
18106
18107 * benchtests/Makefile: Remove ifunc tests.
18108 * benchtests/bench-string.h: Define TEST_IFUNC.
18109 * benchtests/bench-bcopy-ifunc.c: Remove.
18110 * benchtests/bench-bzero-ifunc.c: Likewise.
18111 * benchtests/bench-memccpy-ifunc.c: Likewise.
18112 * benchtests/bench-memchr-ifunc.c: Likewise.
18113 * benchtests/bench-memcmp-ifunc.c: Likewise.
18114 * benchtests/bench-memcpy-ifunc.c: Likewise.
18115 * benchtests/bench-memmem-ifunc.c: Likewise.
18116 * benchtests/bench-memmove-ifunc.c: Likewise.
18117 * benchtests/bench-mempcpy-ifunc.c: Likewise.
18118 * benchtests/bench-memrchr-ifunc.c: Likewise.
18119 * benchtests/bench-memset-ifunc.c: Likewise.
18120 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
18121 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
18122 * benchtests/bench-stpcpy-ifunc.c: Likewise.
18123 * benchtests/bench-stpncpy-ifunc.c: Likewise.
18124 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
18125 * benchtests/bench-strcasestr-ifunc.c: Likewise.
18126 * benchtests/bench-strcat-ifunc.c: Likewise.
18127 * benchtests/bench-strchr-ifunc.c: Likewise.
18128 * benchtests/bench-strchrnul-ifunc.c: Likewise.
18129 * benchtests/bench-strcmp-ifunc.c: Likewise.
18130 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
18131 * benchtests/bench-strcpy-ifunc.c: Likewise.
18132 * benchtests/bench-strcspn-ifunc.c: Likewise.
18133 * benchtests/bench-strlen-ifunc.c: Likewise.
18134 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
18135 * benchtests/bench-strncat-ifunc.c: Likewise.
18136 * benchtests/bench-strncmp-ifunc.c: Likewise.
18137 * benchtests/bench-strncpy-ifunc.c: Likewise.
18138 * benchtests/bench-strnlen-ifunc.c: Likewise.
18139 * benchtests/bench-strpbrk-ifunc.c: Likewise.
18140 * benchtests/bench-strrchr-ifunc.c: Likewise.
a9503496 18141 * benchtests/bench-strsep-ifunc.c: Likewise.
2787db97
OB
18142 * benchtests/bench-strspn-ifunc.c: Likewise.
18143 * benchtests/bench-strstr-ifunc.c: Likewise.
18144
181452013-11-26 Ondřej Bílka <neleai@seznam.cz>
18146
ab260039
OB
18147 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
18148
d1d9eaf4 181492013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97 18150
d1d9eaf4
OB
18151 * resolv/netdb.h: Use __glibc_reserved instead __unused.
18152 * rt/aio.h: Likewise.
18153 * sysdeps/gnu/bits/utmp.h: Likewise.
18154 * sysdeps/gnu/bits/utmpx.h: Likewise.
18155 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
18156 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
18157 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
18158 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
18159 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
18160 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
18161 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
18162 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
18163 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
18164 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
18165 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
18166 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
18167 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
18168 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
18169 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
18170 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
18171 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
18172 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
18173 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
18174 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
18175 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
18176 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
18177 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
18178 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
18179 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
18180 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
18181 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
18182 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
18183 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
18184 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
18185 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
18186 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
18187 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
18188 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
18189 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
18190 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
18191 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
18192 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
18193 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
18194 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
18195 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
18196 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
18197
a7624ed9
CD
181982013-11-25 Carlos O'Donell <carlos@redhat.com>
18199
18200 [BZ #16245]
18201 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
18202 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
18203
63cfe52b
JM
182042013-11-25 Joseph Myers <joseph@codesourcery.com>
18205
18206 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
18207 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
18208 Likewise.
18209
41e8926a
AZ
182102013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18211
18212 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
18213 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
18214 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
18215 (__fesetround): Remove define.
18216 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
18217 rounding and exceptions handling.
18218 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
18219 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
18220 (__fe_nomask_env): Likewise.
18221 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
18222 __fegetround instead of fegetround.
18223 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
18224 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
18225
6851bd4d
RM
182262013-11-21 Roland McGrath <roland@hack.frob.com>
18227
070906ff
RM
18228 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
18229 it's there.
18230
6851bd4d
RM
18231 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
18232
84ae135d
MI
182332013-11-21 Meador Inge <meadori@codesourcery.com>
18234
18235 [BZ #11157]
18236 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
18237 (encrypt_r): Likewise.
18238 * malloc/obstack.h (obstack_free): Likewise.
18239 * posix/unistd.h (encrypt): Likewise.
18240
daf75146
GM
182412013-11-21 Guy Martin <gmsoft@tuxicoman.be>
18242
18243 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
18244 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
18245 DL_CALL_DT_FINI() that call the functions directly.
18246 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
18247 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
18248 * elf/dl-fini.c: Likewise.
18249
10ad46bc
OB
182502013-11-20 Ondřej Bílka <neleai@seznam.cz>
18251
18252 * malloc/hooks.c (memalign_check): Add alignment rounding.
18253 * malloc/malloc.c (_mid_memalign): New function.
18254 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
18255 Implement by calling _mid_memalign.
18256 * manual/probes.texi (Memory Allocation Probes): Remove
18257 memory_valloc_retry and memory_pvalloc_retry.
18258
f3fd2628
SP
182592013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
18260
4712799f
SP
18261 * locale/programs/locarchive.c (open_archive): Add const
18262 qualifier to ARCHIVEFNAME and copy default fname to
18263 DEFAULT_FNAME.
18264
0417b20f
SP
18265 [BZ #15601]
18266 * libio/tst-widetext.input: Rename Oriya to Odia.
18267 * locale/iso-639.def: Likewise.
18268
f3fd2628
SP
18269 * manual/probes.texi (Mathematical Function Probes): Add
18270 documentation for sin, cos, asin and acos probes.
18271 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
18272 (__sin32): Add slowasin probe.
18273 (__cos32): Add slowacos probe.
18274 (__mpsin): Add slowsin probe.
18275 (__mpcos): Add slowcos probe.
18276
73c1ce4f
JM
182772013-11-19 Joseph Myers <joseph@codesourcery.com>
18278
18279 [BZ #15483]
18280 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
18281 thread-local __sim_exceptions_thread and global
18282 __sim_exceptions_global.
18283 (__sim_disabled_exceptions): Change to thread-local
18284 __sim_disabled_exceptions_thread and global
18285 __sim_disabled_exceptions_global.
18286 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
18287 and global __sim_round_mode_global.
18288 (__simulate_exceptions): Use thread-local floating-point state and
18289 set global state from it as needed.
18290 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
18291 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
18292 __sim_round_mode_thread.
18293 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
18294 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
18295 and global __sim_exceptions_global.
18296 (__sim_disabled_exceptions): Change to thread-local
18297 __sim_disabled_exceptions_thread and global
18298 __sim_disabled_exceptions_global.
18299 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
18300 and global __sim_round_mode_global.
18301 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
18302 (SIM_SET_GLOBAL): Likewise.
18303 * sysdeps/powerpc/soft-fp/sfp-machine.h
18304 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
18305 __sim_round_mode_thread.
18306 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
18307 __sim_disabled_exceptions_thread.
18308 (__sim_exceptions): Change to __sim_exceptions_thread.
18309 (__sim_disabled_exceptions): Change to
18310 __sim_disabled_exceptions_thread.
18311 (__sim_round_mode): Change to __sim_round_mode_thread.
18312 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
18313 thread-local floating-point state and set global state from it as
18314 needed.
18315 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
18316 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
18317 (__sim_disabled_exceptions): Remove extern declaration.
18318 (feenableexcept): Use thread-local floating-point state and set
18319 global state from it as needed.
18320 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
18321 extern declaration.
18322 (__sim_disabled_exceptions): Likewise.
18323 (__sim_round_mode): Likewise.
18324 (__fegetenv): Use thread-local floating-point state.
18325 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
18326 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
18327 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
18328 floating-point state and set global state from it as needed.
18329 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
18330 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
18331 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
18332 Likewise.
18333 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
18334 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
18335 Likewise.
18336 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
18337 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
18338 Use __sim_round_mode_thread.
18339 * math/test-fenv-tls.c: New file.
18340 * math/Makefile (tests): Add test-fenv-tls.
18341 ($(objpfx)test-fenv-tls): Depend on
18342 $(common-objpfx)nptl/libpthread.so.
18343
b5449b12
AS
183442013-11-19 Andreas Schwab <schwab@suse.de>
18345
18346 * locale/programs/locale.c (show_info): Decode wordarray elements.
18347 * locale/categories.def (LC_MONETARY): Add element for
18348 _NL_MONETARY_CRNCYSTR.
18349 * locale/C-monetary.c (conversion_rate): New variable.
18350 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
18351 element.
18352
e186536b
CM
183532013-11-18 Chris Metcalf <cmetcalf@tilera.com>
18354
18355 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
18356 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
18357
5c349950
PP
183582013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
18359
18360 * elf/Makefile (tst-auxv): New test.
18361 * elf/tst-auxv.c: New
18362 * elf/rtld.c (dl_main): Adjust AT_EXECFN
18363
699df45b
JM
183642013-11-18 Joseph Myers <joseph@codesourcery.com>
18365
18366 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
18367 (hidden_proto): Caller changed.
18368 (hidden_tls_proto): New macro.
18369 (libc_hidden_tls_proto): Likewise.
18370 (rtld_hidden_tls_proto): Likewise.
18371 (libm_hidden_tls_proto): Likewise.
18372 (libresolv_hidden_tls_proto): Likewise.
18373 (librt_hidden_tls_proto): Likewise.
18374 (libdl_hidden_tls_proto): Likewise.
18375 (libnss_files_hidden_tls_proto): Likewise.
18376 (libnsl_hidden_tls_proto): Likewise.
18377 (libnss_nisplus_hidden_tls_proto): Likewise.
18378 (libutil_hidden_tls_proto): Likewise.
18379
b7589107
OB
183802013-11-18 Ondřej Bílka <neleai@seznam.cz>
18381
18382 [BZ #10253]
18383 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
18384 (decompose_rpath): Defer expansion to fillin_rpath.
18385 (_dl_init_paths): Pass linkmap to fillin_rpath.
18386
250c23bd
RS
183872013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
18388
18389 * benchtests/Makefile: Add strsep.
18390 * benchtests/bench-strsep.c: New file: strsep benchtest.
18391 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
18392
a7931fcf
AS
183932013-11-18 Andreas Schwab <schwab@suse.de>
18394
18395 * locale/programs/locale.c (show_info) [case byte]: Check for
18396 '\377' instead of '\177'.
18397 * locale/C-monetary.c (not_available): Always use "\377".
18398 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
18399 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
18400 detect unavailable sign_posn locale elements.
18401 * locale/localeconv.c (__localeconv): For grouping and
18402 mon_grouping handle "\177" and "\377" like no grouping.
18403 (INT_ELEM): New macro. Use it to set all numeric members.
18404 * locale/programs/ld-monetary.c (monetary_read)
18405 <tok_mon_grouping>: Normalize single -1 to the empty string.
18406 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
18407 Likewise.
18408
728dab0e
OB
184092013-11-07 Ondřej Bílka <neleai@seznam.cz>
18410
18411 [BZ #16055]
18412 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
18413 when we match (nil).
18414 * stdio-common/tst-sscanf.c (struct test): Add testcase.
18415
66294491
JM
184162013-11-16 Joseph Myers <joseph@codesourcery.com>
18417
ce665817
JM
18418 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
18419 (NO_TEST_INLINE): Update value.
18420 (ERRNO_UNCHANGED): Likewise.
18421 (ERRNO_EDOM): Likewise.
18422 (ERRNO_ERANGE): Likewise.
18423 (IGNORE_RESULT): Likewise.
18424 (check_float_internal): Check signs of NaN results if
18425 TEST_NAN_SIGN used.
18426 (check_complex): Pass TEST_NAN_SIGN flag through to second
18427 check_float_internal call.
18428 (copysign_test_data): Add tests with quiet NaNs as second
18429 argument. Use TEST_NAN_SIGN.
18430 (fabs_test_data): Add test of negative quiet NaN argument. Use
18431 TEST_NAN_SIGN.
18432 (signbit_test_data): Add tests of quiet NaN argument.
18433 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
18434
ee1466a9
JM
18435 * math/gen-libm-test.pl (show_exceptions): Take extra argument
18436 $ignore_result.
18437 (parse_args): Handle function results specified as IGNORE.
18438 * math/libm-test.inc (IGNORE_RESULT): New macro.
18439 (check_float_internal): Do not check numerical result if flag
18440 IGNORE_RESULT set.
18441 (check_complex): Pass through IGNORE_RESULT to second
18442 check_float_internal call.
18443 (check_int): Do not check numerical result if flag IGNORE_RESULT
18444 set.
18445 (check_long): Likewise.
18446 (check_bool): Likewise.
18447 (check_longlong): Likewise.
18448 (lrint_test_data): Add tests of infinite and NaN arguments.
18449 (lrint_tonearest_test_data): Likewise.
18450 (lrint_towardzero_test_data): Likewise.
18451 (lrint_downward_test_data): Likewise.
18452 (lrint_upward_test_data): Likewise.
18453 (llrint_test_data): Likewise.
18454 (llrint_tonearest_test_data): Likewise.
18455 (llrint_towardzero_test_data): Likewise.
18456 (llrint_downward_test_data): Likewise.
18457 (llrint_upward_test_data): Likewise.
18458 (lround_test_data): Likewise.
18459 (llround_test_data): Likewise.
18460
14407b7e
JM
18461 * math/libm-test.inc (NO_TEST_INLINE): New macro.
18462 (ERRNO_UNCHANGED): Update value.
18463 (ERRNO_EDOM): Likewise.
18464 (ERRNO_ERANGE): Likewise.
18465 (NO_TEST_INLINE_FLOAT): New macro.
18466 (NO_TEST_INLINE_DOUBLE): Likewise.
18467 (enable_test): New function.
18468 (RUN_TEST_f_f): Check enable_test before running test.
18469 (RUN_TEST_2_f): Likewise.
18470 (RUN_TEST_fff_f): Likewise.
18471 (RUN_TEST_c_f): Likewise.
18472 (RUN_TEST_f_f1): Likewise.
18473 (RUN_TEST_fF_f1): Likewise.
18474 (RUN_TEST_fI_f1): Likewise.
18475 (RUN_TEST_ffI_f1): Likewise.
18476 (RUN_TEST_c_c): Likewise.
18477 (RUN_TEST_cc_c): Likewise.
18478 (RUN_TEST_f_i): Likewise.
18479 (RUN_TEST_f_i_tg): Likewise.
18480 (RUN_TEST_ff_i_tg): Likewise.
18481 (RUN_TEST_f_b): Likewise.
18482 (RUN_TEST_f_b_tg): Likewise.
18483 (RUN_TEST_f_l): Likewise.
18484 (RUN_TEST_f_L): Likewise.
18485 (RUN_TEST_fFF_11): Likewise.
18486 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
18487 conditionals.
18488 (cosh_test_data): Likewise.
18489 (exp_test_data): Likewise.
18490 (expm1_test_data): Likewise.
18491 (hypot_test_data): Likewise.
18492 (pow_test_data): Likewise.
18493 (sinh_test_data): Likewise.
18494 (tanh_test_data): Likewise.
18495 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
18496 flags argument.
18497
ca07f197
JM
18498 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
18499 tests with quiet NaN input and output.
18500 (acosh_test_data): Likewise.
18501 (asin_test_data): Likewise.
18502 (asinh_test_data): Likewise.
18503 (atan_test_data): Likewise.
18504 (atanh_test_data): Likewise.
18505 (atan2_test_data): Likewise.
18506 (cbrt_test_data): Likewise.
18507 (cos_test_data): Likewise.
18508 (cosh_test_data): Likewise.
18509 (erf_test_data): Likewise.
18510 (erfc_test_data): Likewise.
18511 (exp_test_data): Likewise.
18512 (exp10_test_data): Likewise.
18513 (exp2_test_data): Likewise.
18514 (expm1_test_data): Likewise.
18515 (hypot_test_data): Likewise.
18516 (j0_test_data): Likewise.
18517 (j1_test_data): Likewise.
18518 (jn_test_data): Likewise.
18519 (lgamma_test_data): Likewise.
18520 (log_test_data): Likewise.
18521 (log10_test_data): Likewise.
18522 (log1p_test_data): Likewise.
18523 (log2_test_data): Likewise.
18524 (pow_test_data): Likewise.
18525 (scalb_test_data): Likewise.
18526 (sin_test_data): Likewise.
18527 (sincos_test_data): Likewise.
18528 (sinh_test_data): Likewise.
18529 (tan_test_data): Likewise.
18530 (tanh_test_data): Likewise.
18531 (tgamma_test_data): Likewise.
18532 (y0_test_data): Likewise.
18533 (y1_test_data): Likewise.
18534 (yn_test_data): Likewise.
18535
66294491
JM
18536 [BZ #16167]
18537 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
18538 argument being NaN and avoid computations with second argument in
18539 that case.
18540 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
18541 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
18542 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
18543
1820b143
CL
185442013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
18545
18546 * locale/iso-639.def: Add Chitwani Tharu (the).
18547
714bd261
AS
185482013-11-14 Andreas Schwab <schwab@suse.de>
18549
18550 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
18551 word instead of empty string.
18552
7ab44563
AZ
185532013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18554
18555 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
18556 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
18557 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
18558 (__fe_nomask_env): Likewise.
18559
e8470ea2
SE
185602013-11-13 Steve Ellcey <sellcey@mips.com>
18561
18562 * benchtests/bench-timing.h: Include time.h.
18563
17c1d9f0
L
185642013-11-13 H.J. Lu <hongjiu.lu@intel.com>
18565
18566 [BZ #15997]
18567 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
18568 to 3.4.0 for x32.
18569 * sysdeps/unix/sysv/linux/configure: Regenerated.
18570
9310c284
JM
185712013-11-13 Joseph Myers <joseph@codesourcery.com>
18572
18573 [BZ #16151]
18574 * stdlib/strtod_l.c (round_and_return): Do not consider
18575 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
18576 exponent one less than half the least subnormal exponent.
18577 * stdlib/test-strtod-round-data: Add more tests.
18578 * stdlib/tst-strtod-round.c (tests): Regenerated.
18579
7a2ad8cf
AZ
185802013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18581
18582 [BZ #14143]
18583 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
18584 (__fe_mask_env): Likewise.
18585 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
18586 libm_hidden_proto and add function prototype.
18587 (__fe_mask_env): Add function prototype.
18588 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
18589 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
18590 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
18591 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
18592 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
18593 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
18594
50727aa7
MS
185952013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
18596
b2f386c1 18597 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
50727aa7
MS
18598 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
18599
a615be46
MS
186002013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
18601
18602 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
18603 of htab_find_slot().
18604
7ddace62
DM
186052013-11-11 David S. Miller <davem@davemloft.net>
18606
18607 [BZ #16150]
18608 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
18609 symbol in the non-vis3 case in static builds.
18610 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
18611 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
18612 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
18613 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
18614
9182aa67
JK
186152013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
18616
18617 [BZ #387]
18618 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
18619 it is empty.
18620
450a2e2d
AZ
186212013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18622
b2f386c1
SP
18623 * benchtests/Makefile: Add bench-strtod.
18624 * benchtests/bench-strtod.c: New file: strtod benchtest
450a2e2d 18625
8ec3f656
AS
186262013-11-11 Andreas Schwab <schwab@suse.de>
18627
18628 [BZ #16153]
18629 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
18630 terminating NUL in key length.
18631
76a9b998
AZ
186322013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18633
18634 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
18635 Add artificial ODP entry for vDSO symbol for PPC64.
18636 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
18637 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
18638
e4368156
OB
186392013-11-07 Ondřej Bílka <neleai@seznam.cz>
18640
18641 [BZ #15374]
18642 * nss/getent.c (services_keys): Recognize services starting with digit.
18643
8d6bb57c
DM
186442013-11-06 David S. Miller <davem@davemloft.net>
18645
18646 [BZ #15985]
18647 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
18648 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
18649
e256c421
WN
186502013-11-06 Will Newton <will.newton@linaro.org>
18651
18652 * manual/memory.texi (Malloc Examples): Remove register
18653 keyword from examples.
18654
f6e12daa 186552013-11-04 Chris Leonard <cjl@sugarlabs.org>
1484e657 18656
f6e12daa 18657 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
1484e657 18658
9d880655
AS
186592013-11-04 Joseph Myers <joseph@codesourcery.com>
18660
fd2f9486 18661 [BZ #6981]
9d880655
AS
18662 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
18663 depending on [__GCC_IEC_559 > 0].
18664 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
18665 depending on [__GCC_IEC_559_COMPLEX > 0].
18666
ae129d3c
CL
186672013-11-03 Chris Leonard <cjl@sugarlabs.org>
18668
18669 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
18670 to iso-639.def.
18671
4a15c2a4 186722013-11-03 Ondřej Bílka <neleai@seznam.cz>
17c8c3dc
OB
18673
18674 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
18675
8b35e35d
OB
186762013-11-01 Ondřej Bílka <neleai@seznam.cz>
18677
18678 [BZ #16112]
18679 * malloc/malloc (malloc_info): Do not handle first bin as
18680 special case.
18681
1d70fd6c
CL
186822013-11-01 Chris Leonard <cjl@sugarlabs.org>
18683
18684 * locale/iso-639.def: Add Central Nahuatl (nhn).
18685
8c5c2600
BH
186862013-11-01 Bruno Haible <bruno@clisp.org>
18687
18688 [BZ #7003]
18689 * manual/math.texi (BSD Random): Specify range upper bound as
18690 in POSIX.
18691
da5579c2
CL
186922013-10-31 Chris Leonard <cjl@sugarlabs.org>
18693
18694 * locale/iso-639.def: Add Meadow Mari (mhr).
18695
5d30d853
OB
186962013-10-31 Ondřej Bílka <neleai@seznam.cz>
18697
18698 [BZ #14752], [BZ #15763]
18699 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
18700 Validate name.
18701 * rt/tst_shm.c: Add test for escaping directory.
18702
a4966c61
AS
187032013-10-31 Andreas Schwab <schwab@suse.de>
18704
8a43e768 18705 [BZ #15917]
a4966c61
AS
18706 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
18707 followed by 'x' as part of digit sequence.
18708 * stdio-common/tst-sscanf.c (double_tests2): New tests.
18709
28d708c4
MAP
187102013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
18711
18712 [BZ #16037]
18713 * configure.ac: allow GNU Make 4.0 and greater.
18714 * configure: Regenerated.
18715
a56ee40b
WN
187162013-10-30 Will Newton <will.newton@linaro.org>
18717
18718 [BZ #16038]
18719 * malloc/hooks.c (memalign_check): Limit alignment to the
18720 maximum representable power of two.
18721 * malloc/malloc.c (__libc_memalign): Likewise.
18722 * malloc/tst-memalign.c (do_test): Add test for very
18723 large alignment values.
18724 * malloc/tst-posix_memalign.c (do_test): Likewise.
18725
c6e4925d
OB
187262013-10-30 Ondřej Bílka <neleai@seznam.cz>
18727
18728 [BZ #11087]
18729 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
18730 (munmap_chunk): Likewise.
18731 (mremap_chunk): Likewise.
18732
187332013-10-30 Ondřej Bílka <neleai@seznam.cz>
bbea82f7 18734
8a43e768 18735 [BZ #15799]
bbea82f7
OB
18736 * stdlib/div.c (div): Remove obsolete code.
18737 * stdlib/ldiv.c (ldiv): Likewise.
18738 * stdlib/lldiv.c (lldiv): Likewise.
18739
977f4b31
SP
187402013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
18741
18742 [BZ #16071]
18743 * nss/nss_files/files-XXX.c (get_contents_ret): New
18744 enumerator.
18745 (get_contents): New function.
18746 (internal_getent): Use it. Expand size of LINEBUFLEN.
18747
cb8a6dbd
MF
187482013-10-30 Mike Frysinger <vapier@gentoo.org>
18749
18750 * configure.in: Moved to ...
18751 * configure.ac: ... here. Change reference to configure.in
18752 to configure.ac.
18753 * sysdeps/arm/preconfigure.ac: ... here.
18754 configure.in to configure.ac.
18755 * sysdeps/gnu/configure.in: Moved to ...
18756 * sysdeps/gnu/configure.ac: ... here.
18757 * sysdeps/i386/configure.in: Moved to ...
18758 * sysdeps/i386/configure.ac: ... here.
18759 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
18760 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
18761 * sysdeps/mach/configure.in: Moved to ...
18762 * sysdeps/mach/configure.ac: ... here.
18763 * sysdeps/mach/hurd/configure.in: Moved to ...
18764 * sysdeps/mach/hurd/configure.ac: ... here.
18765 * sysdeps/powerpc/configure.in: Moved to ...
18766 * sysdeps/powerpc/configure.ac: ... here.
18767 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
18768 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
18769 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
18770 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
18771 * sysdeps/s390/s390-32/configure.in: Moved to ...
18772 * sysdeps/s390/s390-32/configure.ac: ... here.
18773 * sysdeps/s390/s390-64/configure.in: Moved to ...
18774 * sysdeps/s390/s390-64/configure.ac: ... here.
18775 * sysdeps/sh/configure.in: Moved to ...
18776 * sysdeps/sh/configure.ac: ... here.
18777 * sysdeps/sparc/configure.in: Moved to ...
18778 * sysdeps/sparc/configure.ac: ... here.
18779 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
18780 * sysdeps/unix/sysv/linux/configure.ac: ... here.
18781 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
18782 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
18783 * sysdeps/x86_64/configure.in: Moved to ...
18784 * sysdeps/x86_64/configure.ac: ... here.
18785 * sysdeps/x86_64/preconfigure.in: Moved to ...
18786 * sysdeps/x86_64/preconfigure.ac: ... here.
18787 * aclocal.m4: Change reference to configure.in to configure.ac.
18788 * config.h.in: Likewise.
18789 * manual/install.texi: Likewise.
18790 * manual/maint.texi: Likewise.
18791 * Makefile: Likewise.
18792 * malloc/Makefile: Likewise.
18793 * nscd/Makefile: Likewise.
18794 * Makeconfig: Change reference to configure.in and
18795 preconfigure.in to configure.ac and preconfigure.ac
18796 respectively.
18797 * INSTALL: Regenerated.
18798 * configure: Likewise.
18799 * sysdeps/gnu/configure: Likewise.
18800 * sysdeps/i386/configure: Likewise.
18801 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
18802 * sysdeps/mach/configure: Likewise.
18803 * sysdeps/mach/hurd/configure: Likewise.
18804 * sysdeps/powerpc/configure: Likewise.
18805 * sysdeps/powerpc/powerpc32/configure: Likewise.
18806 * sysdeps/powerpc/powerpc64/configure: Likewise.
18807 * sysdeps/s390/s390-32/configure: Likewise.
18808 * sysdeps/s390/s390-64/configure: Likewise.
18809 * sysdeps/sh/configure: Likewise.
18810 * sysdeps/sparc/configure: Likewise.
18811 * sysdeps/unix/sysv/linux/configure: Likewise.
18812 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
18813 * sysdeps/x86_64/configure: Likewise.
18814 * sysdeps/x86_64/preconfigure: Likewise.
18815
36a4953a
AS
188162013-10-29 Andreas Schwab <schwab@suse.de>
18817
18818 * stdio-common/Makefile (tst-swscanf-ENV): Define.
18819
c79a1204
SP
188202013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
18821
dfa1b402
SP
18822 * benchtests/pow-inputs: Add new inputs.
18823
54f73d9c
SP
18824 * benchtests/exp-inputs: Add new inputs.
18825
c79a1204
SP
18826 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
18827 conditional check for return value.
18828 (__cos32): Likewise.
18829
67beb545 188302013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69f13dbf
AZ
18831
18832 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
18833 to provide a boost for large inputs with word alignment.
18834 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
18835 implementation based on optimized PPC64 strcpy.
18836 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
18837 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
18838 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
18839 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
18840
151659f6
OB
188412013-10-25 Ondřej Bílka <neleai@seznam.cz>
18842
482a077e 18843 [BZ #2801]
151659f6
OB
18844 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
18845
10b0f26b
OB
188462013-10-25 Ondřej Bílka <neleai@seznam.cz>
18847
18848 [BZ #14876]
18849 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
18850 * time/tst-strptime.c (day_tests): Add testcase.
18851
ca42d35e
OB
188522013-10-25 Ondřej Bílka <neleai@seznam.cz>
18853
482a077e 18854 [BZ #14029]
ca42d35e
OB
18855 * manual/pattern.texi: Acknowledge that fnmatch can fail.
18856
52e6d801
FB
188572013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
18858
18859 [BZ #16074]
18860 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
18861 MAP_FAILED on error.
18862
7cbcdb36
SP
188632013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
18864
18865 [BZ #16072]
18866 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
18867 heap for large requests.
18868
894f3f10
AM
188692013-10-25 Aurelien Jarno <aurelien@aurel32.net>
18870
18871 [BZ #9954]
18872 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
18873 result if the result has no associated interface.
18874 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
18875 interface for all 127.X.Y.Z addresses.
18876
b85545a6
CL
188772013-10-24 Chris Leonard <cjl@sugarlabs.org>
18878
18879 * locale/iso-639.def: Add Ligurian (lij)
18880
d1f23d46
OB
188812013-10-21 Ondřej Bílka <neleai@seznam.cz>
18882
18883 [BZ #15825]
18884 * sunrpc/rpc_main.c: Document rpcgen -5.
18885
4db5b08f
MS
188862013-10-19 Michael Stahl <mstahl@redhat.com>
18887
18888 * elf/rtld.c (do_preload): Print the reason why preloading failed.
18889
a471e96a
OB
188902013-10-19 Ondřej Bílka <neleai@seznam.cz>
18891
d1f23d46 18892 [BZ #10278]
a471e96a
OB
18893 * posix/glob.c: Match only directories when trailing slash is present.
18894 * posix/tst-gnuglob.c (my_opendir): Do not open files.
18895 (main): Add testcase.
18896
45c30c61
OB
188972013-10-19 Ondřej Bílka <neleai@seznam.cz>
18898
18899 [BZ #15670]
18900 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
18901
484c12fb
CD
189022013-10-18 Carlos O'Donell <carlos@redhat.com>
18903
3d7dc513
CD
18904 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
18905 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
18906 AUTH_DES and cindex for FIPS 140-2.
18907 (DES Encryption): Add cindex FIPS 46-3.
18908
484c12fb
CD
18909 * locale/locarchive.h (struct locarhandle): Add fname.
18910 * locale/programs/localedef.c (main): Pass ARGV[remaining]
18911 if an optional argument was specified to --list-archive,
18912 otherwise NULL.
18913 * locale/programs/locarchive.c (show_archive_content): Take new
18914 argument fname and pass it via ah.fname to open_archive.
18915 * locale/programs/localedef.h: Update decl.
18916 (open_archive): If AH->fname is non-null, open that file
18917 rather than the default file name, and don't ignore ENOENT.
18918 (create_archive): Set AH.fname to NULL.
18919 (delete_locales_from_archive): Likewise.
18920 (add_locales_to_archive): Likewise.
18921 * locale/programs/locfile.c (write_all_categories): Likewise.
18922
3c8325fb
JM
189232013-10-18 Joseph Myers <joseph@codesourcery.com>
18924 Aldy Hernandez <aldyh@redhat.com>
18925
18926 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
18927 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
18928 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
18929 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
18930 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
18931 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
18932 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
18933 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
18934 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
18935 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
18936 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
18937 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
18938 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
18939 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
18940 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
18941 Likewise.
18942 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
18943 Likewise.
18944 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
18945 Likewise.
18946 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
18947 Likewise.
18948 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
18949 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
18950 Likewise.
18951 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
18952 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
18953 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
18954 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
18955 Likewise.
18956 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
18957 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
18958 * sysdeps/powerpc/preconfigure: Likewise.
18959 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
18960 Likewise.
18961 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
18962 Replace contents of file by #include of <fenv_libc.h>.
18963 * sysdeps/powerpc/soft-fp/sfp-machine.h
18964 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
18965 and <sys/prctl.h>.
18966 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
18967 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
18968 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
18969 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
18970 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
18971 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
18972 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
18973 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
18974 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
18975 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
18976 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
18977 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
18978 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
18979 Allow copysignl PLT reference to be missing.
18980
5abe0682
RS
189812013-10-18 Richard Sandiford <richard@codesourcery.com>
18982 Joseph Myers <joseph@codesourcery.com
18983
18984 [BZ #15948]
18985 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
18986 single character.
18987 (add_to_tablewc): Assert sequence of wide characters is nonempty.
18988
c7738d08
SP
189892013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
18990
18991 * elf/tst-tls-dlinfo.c: Don't include tls.h.
18992 * elf/tst-tls1.c: Likewise.
18993 * elf/tst-tls10.h: Likewise.
18994 * elf/tst-tls14.c: Likewise.
18995 * elf/tst-tls2.c: Likewise.
18996 * elf/tst-tls3.c: Likewise.
18997 * elf/tst-tls4.c: Likewise.
18998 * elf/tst-tls5.c: Likewise.
18999 * elf/tst-tls6.c: Likewise.
19000 * elf/tst-tls7.c: Likewise.
19001 * elf/tst-tls8.c: Likewise.
19002 * elf/tst-tls9.c: Likewise.
19003 * elf/tst-tlsmod1.c: Likewise.
19004 * elf/tst-tlsmod13.c: Likewise.
19005 * elf/tst-tlsmod13a.c: Likewise.
19006 * elf/tst-tlsmod14a.c: Likewise.
19007 * elf/tst-tlsmod16a.c: Likewise.
19008 * elf/tst-tlsmod16b.c: Likewise.
19009 * elf/tst-tlsmod2.c: Likewise.
19010 * elf/tst-tlsmod3.c: Likewise.
19011 * elf/tst-tlsmod4.c: Likewise.
19012 * elf/tst-tlsmod5.c: Likewise.
19013 * elf/tst-tlsmod6.c: Likewise.
19014
0bfcf2c7
OB
190152013-10-18 Ondřej Bílka <neleai@seznam.cz>
19016
19017 [BZ #12486]
19018 * malloc/malloc.c: remove checks for statistics.
19019
264aad1e
OB
190202013-10-17 Ondřej Bílka <neleai@seznam.cz>
19021
19022 [BZ #15277]
19023 * inet/inet_net.c (inet_network): Detect additional invalid strings.
19024 * inet/tst-network.c: Add testcase.
19025
b957ced8
AS
190262013-10-17 Andreas Schwab <schwab@suse.de>
19027
19028 [BZ #15218]
19029 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
19030 to determine canonical name.
19031
c5d5d574
OB
190322013-10-17 Ondřej Bílka <neleai@seznam.cz>
19033
19034 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
19035 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
19036 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
19037 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
19038 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
19039 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
19040 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
19041 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
19042 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
19043 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
19044 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
19045 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
19046 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
19047 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
19048 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
19049 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
19050 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
19051 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
19052 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
19053 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
19054 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
19055 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
19056 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
19057 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
19058 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
19059 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
19060 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
19061 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
19062 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
19063 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
19064 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
19065 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
19066 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
19067 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
19068 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
19069 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
19070 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
19071 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
19072 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
19073 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
19074 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
19075 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
19076 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
19077 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
19078 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
19079 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
19080 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
19081 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
19082 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
19083 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
19084 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
19085 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
19086 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
19087 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
19088 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
19089 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
19090 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
19091 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
19092
e5c2c2d0
JM
190932013-10-17 Joseph Myers <joseph@codesourcery.com>
19094
19095 [BZ #16041]
19096 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
19097 make result into a quiet NaN.
19098
51ca9e29
JM
190992013-10-16 Joseph Myers <joseph@codesourcery.com>
19100
19101 * soft-fp/adddf3.c: Fix horizontal whitespace.
19102 * soft-fp/addsf3.c: Likewise.
19103 * soft-fp/addtf3.c: Likewise.
19104 * soft-fp/divdf3.c: Likewise.
19105 * soft-fp/divsf3.c: Likewise.
19106 * soft-fp/divtf3.c: Likewise.
19107 * soft-fp/double.h: Likewise.
19108 * soft-fp/eqdf2.c: Likewise.
19109 * soft-fp/eqsf2.c: Likewise.
19110 * soft-fp/eqtf2.c: Likewise.
19111 * soft-fp/extenddftf2.c: Likewise.
19112 * soft-fp/extended.h: Likewise.
19113 * soft-fp/extendsfdf2.c: Likewise.
19114 * soft-fp/extendsftf2.c: Likewise.
19115 * soft-fp/extendxftf2.c: Likewise.
19116 * soft-fp/fixdfdi.c: Likewise.
19117 * soft-fp/fixdfsi.c: Likewise.
19118 * soft-fp/fixdfti.c: Likewise.
19119 * soft-fp/fixsfdi.c: Likewise.
19120 * soft-fp/fixsfsi.c: Likewise.
19121 * soft-fp/fixsfti.c: Likewise.
19122 * soft-fp/fixtfdi.c: Likewise.
19123 * soft-fp/fixtfsi.c: Likewise.
19124 * soft-fp/fixtfti.c: Likewise.
19125 * soft-fp/fixunsdfdi.c: Likewise.
19126 * soft-fp/fixunsdfsi.c: Likewise.
19127 * soft-fp/fixunsdfti.c: Likewise.
19128 * soft-fp/fixunssfdi.c: Likewise.
19129 * soft-fp/fixunssfsi.c: Likewise.
19130 * soft-fp/fixunssfti.c: Likewise.
19131 * soft-fp/fixunstfdi.c: Likewise.
19132 * soft-fp/fixunstfsi.c: Likewise.
19133 * soft-fp/fixunstfti.c: Likewise.
19134 * soft-fp/floatdidf.c: Likewise.
19135 * soft-fp/floatdisf.c: Likewise.
19136 * soft-fp/floatditf.c: Likewise.
19137 * soft-fp/floatsidf.c: Likewise.
19138 * soft-fp/floatsisf.c: Likewise.
19139 * soft-fp/floatsitf.c: Likewise.
19140 * soft-fp/floattidf.c: Likewise.
19141 * soft-fp/floattisf.c: Likewise.
19142 * soft-fp/floattitf.c: Likewise.
19143 * soft-fp/floatundidf.c: Likewise.
19144 * soft-fp/floatundisf.c: Likewise.
19145 * soft-fp/floatunditf.c: Likewise.
19146 * soft-fp/floatunsidf.c: Likewise.
19147 * soft-fp/floatunsisf.c: Likewise.
19148 * soft-fp/floatunsitf.c: Likewise.
19149 * soft-fp/floatuntidf.c: Likewise.
19150 * soft-fp/floatuntisf.c: Likewise.
19151 * soft-fp/floatuntitf.c: Likewise.
19152 * soft-fp/fmadf4.c: Likewise.
19153 * soft-fp/fmasf4.c: Likewise.
19154 * soft-fp/fmatf4.c: Likewise.
19155 * soft-fp/gedf2.c: Likewise.
19156 * soft-fp/gesf2.c: Likewise.
19157 * soft-fp/getf2.c: Likewise.
19158 * soft-fp/ledf2.c: Likewise.
19159 * soft-fp/lesf2.c: Likewise.
19160 * soft-fp/letf2.c: Likewise.
19161 * soft-fp/muldf3.c: Likewise.
19162 * soft-fp/mulsf3.c: Likewise.
19163 * soft-fp/multf3.c: Likewise.
19164 * soft-fp/negdf2.c: Likewise.
19165 * soft-fp/negsf2.c: Likewise.
19166 * soft-fp/negtf2.c: Likewise.
19167 * soft-fp/op-1.h: Likewise.
19168 * soft-fp/op-2.h: Likewise.
19169 * soft-fp/op-4.h: Likewise.
19170 * soft-fp/op-8.h: Likewise.
19171 * soft-fp/op-common.h: Likewise.
19172 * soft-fp/quad.h: Likewise.
19173 * soft-fp/single.h: Likewise.
19174 * soft-fp/soft-fp.h: Likewise.
19175 * soft-fp/sqrtdf2.c: Likewise.
19176 * soft-fp/sqrtsf2.c: Likewise.
19177 * soft-fp/sqrttf2.c: Likewise.
19178 * soft-fp/subdf3.c: Likewise.
19179 * soft-fp/subsf3.c: Likewise.
19180 * soft-fp/subtf3.c: Likewise.
19181 * soft-fp/truncdfsf2.c: Likewise.
19182 * soft-fp/trunctfdf2.c: Likewise.
19183 * soft-fp/trunctfsf2.c: Likewise.
19184 * soft-fp/trunctfxf2.c: Likewise.
19185 * soft-fp/unorddf2.c: Likewise.
19186 * soft-fp/unordsf2.c: Likewise.
19187 * soft-fp/unordtf2.c: Likewise.
19188
9ebb0332
JM
191892013-10-15 Joseph Myers <joseph@codesourcery.com>
19190
19191 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
19192 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
19193
4b1a6d8b
OB
191942013-10-15 Ondřej Bílka <neleai@seznam.cz>
19195
19196 * elf/dl-libc.c: Clear initfini list after freeing.
19197
1e145589
JM
191982013-10-14 Joseph Myers <joseph@codesourcery.com>
19199
19200 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
19201 * soft-fp/addsf3.c: Likewise.
19202 * soft-fp/addtf3.c: Likewise.
19203 * soft-fp/divdf3.c: Likewise.
19204 * soft-fp/divsf3.c: Likewise.
19205 * soft-fp/divtf3.c: Likewise.
19206 * soft-fp/double.h: Likewise.
19207 * soft-fp/eqdf2.c: Likewise.
19208 * soft-fp/eqsf2.c: Likewise.
19209 * soft-fp/eqtf2.c: Likewise.
19210 * soft-fp/extenddftf2.c: Likewise.
19211 * soft-fp/extended.h: Likewise.
19212 * soft-fp/extendsfdf2.c: Likewise.
19213 * soft-fp/extendsftf2.c: Likewise.
19214 * soft-fp/extendxftf2.c: Likewise.
19215 * soft-fp/fixdfdi.c: Likewise.
19216 * soft-fp/fixdfsi.c: Likewise.
19217 * soft-fp/fixdfti.c: Likewise.
19218 * soft-fp/fixsfdi.c: Likewise.
19219 * soft-fp/fixsfsi.c: Likewise.
19220 * soft-fp/fixsfti.c: Likewise.
19221 * soft-fp/fixtfdi.c: Likewise.
19222 * soft-fp/fixtfsi.c: Likewise.
19223 * soft-fp/fixtfti.c: Likewise.
19224 * soft-fp/fixunsdfdi.c: Likewise.
19225 * soft-fp/fixunsdfsi.c: Likewise.
19226 * soft-fp/fixunsdfti.c: Likewise.
19227 * soft-fp/fixunssfdi.c: Likewise.
19228 * soft-fp/fixunssfsi.c: Likewise.
19229 * soft-fp/fixunssfti.c: Likewise.
19230 * soft-fp/fixunstfdi.c: Likewise.
19231 * soft-fp/fixunstfsi.c: Likewise.
19232 * soft-fp/fixunstfti.c: Likewise.
19233 * soft-fp/floatdidf.c: Likewise.
19234 * soft-fp/floatdisf.c: Likewise.
19235 * soft-fp/floatditf.c: Likewise.
19236 * soft-fp/floatsidf.c: Likewise.
19237 * soft-fp/floatsisf.c: Likewise.
19238 * soft-fp/floatsitf.c: Likewise.
19239 * soft-fp/floattidf.c: Likewise.
19240 * soft-fp/floattisf.c: Likewise.
19241 * soft-fp/floattitf.c: Likewise.
19242 * soft-fp/floatundidf.c: Likewise.
19243 * soft-fp/floatundisf.c: Likewise.
19244 * soft-fp/floatunsidf.c: Likewise.
19245 * soft-fp/floatunsisf.c: Likewise.
19246 * soft-fp/floatuntidf.c: Likewise.
19247 * soft-fp/floatuntisf.c: Likewise.
19248 * soft-fp/floatuntitf.c: Likewise.
19249 * soft-fp/fmadf4.c: Likewise.
19250 * soft-fp/fmasf4.c: Likewise.
19251 * soft-fp/fmatf4.c: Likewise.
19252 * soft-fp/gedf2.c: Likewise.
19253 * soft-fp/gesf2.c: Likewise.
19254 * soft-fp/getf2.c: Likewise.
19255 * soft-fp/ledf2.c: Likewise.
19256 * soft-fp/lesf2.c: Likewise.
19257 * soft-fp/letf2.c: Likewise.
19258 * soft-fp/muldf3.c: Likewise.
19259 * soft-fp/mulsf3.c: Likewise.
19260 * soft-fp/multf3.c: Likewise.
19261 * soft-fp/negdf2.c: Likewise.
19262 * soft-fp/negsf2.c: Likewise.
19263 * soft-fp/negtf2.c: Likewise.
19264 * soft-fp/op-1.h: Likewise.
19265 * soft-fp/op-2.h: Likewise.
19266 * soft-fp/op-4.h: Likewise.
19267 * soft-fp/op-8.h: Likewise.
19268 * soft-fp/op-common.h: Likewise.
19269 * soft-fp/quad.h: Likewise.
19270 * soft-fp/single.h: Likewise.
19271 * soft-fp/soft-fp.h: Likewise.
19272 * soft-fp/sqrtdf2.c: Likewise.
19273 * soft-fp/sqrtsf2.c: Likewise.
19274 * soft-fp/sqrttf2.c: Likewise.
19275 * soft-fp/subdf3.c: Likewise.
19276 * soft-fp/subsf3.c: Likewise.
19277 * soft-fp/subtf3.c: Likewise.
19278 * soft-fp/truncdfsf2.c: Likewise.
19279 * soft-fp/trunctfdf2.c: Likewise.
19280 * soft-fp/trunctfsf2.c: Likewise.
19281 * soft-fp/trunctfxf2.c: Likewise.
19282 * soft-fp/unorddf2.c: Likewise.
19283 * soft-fp/unordsf2.c: Likewise.
19284 * soft-fp/unordtf2.c: Likewise.
19285
17c48a60
OB
192862013-10-14 Ondřej Bílka <neleai@seznam.cz>
19287
19288 [BZ #15672]
19289 * misc/error.c (error_tail): Fix possible buffer overflow.
19290
cabba934
OB
192912013-10-14 Aurelien Jarno <aurelien@aurel32.net>
19292
19293 [BZ #13028]
19294 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
19295 address.
19296
94bf958a
PM
192972013-10-14 P. J. McDermott <pj@pehjota.net>
19298
19299 [BZ #832]
19300 * elf/ldd.bash.in (try_trace): New function. Delete previous code
19301 testing pipefail option.
19302
71b4dea7
JM
193032013-10-12 Joseph Myers <joseph@codesourcery.com>
19304
19305 * soft-fp/double.h: Indent preprocessor directives inside #if.
19306 * soft-fp/extended.h: Likewise.
19307 * soft-fp/op-2.h: Likewise.
19308 * soft-fp/op-4.h: Likewise.
19309 * soft-fp/op-common.h: Likewise.
19310 * soft-fp/quad.h: Likewise.
19311 * soft-fp/single.h: Likewise.
19312 * soft-fp/soft-fp.h: Likewise.
19313
55602758
YC
193142013-10-12 Yuri Chornoivan <yurchor@ukr.net>
19315
19316 * iconv/iconv_prog.c: Fix typos.
19317 * stdio-common/psiginfo-data.h: Likewise.
19318
9cd83302
RT
193192013-10-12 Reuben Thomas <rrt@sc3d.org>
19320
19321 [BZ #15764]
19322 * locale/setlocale.c: Fix typo.
19323
99fd9f47
JM
193242013-10-12 Joseph Myers <joseph@codesourcery.com>
19325
b7ea74f0
JM
19326 [BZ #16036]
19327 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
19328 signaling NaN arguments.
19329 * soft-fp/unordsf2.c (__unordsf2): Likewise.
19330 * soft-fp/unordtf2.c (__unordtf2): Likewise.
19331
8a509447
JM
19332 [BZ #14910]
19333 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
19334 unordered operands.
19335 * soft-fp/gesf2.c (__gesf2): Likewise.
19336 * soft-fp/getf2.c (__getf2): Likewise.
19337 * soft-fp/ledf2.c (__ledf2): Likewise.
19338 * soft-fp/lesf2.c (__lesf2): Likewise.
19339 * soft-fp/letf2.c (__letf2): Likewise.
19340
98998e9f
JM
19341 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
19342 * soft-fp/eqsf2.c (__eqsf2): Likewise.
19343 * soft-fp/eqtf2.c (__eqtf2): Likewise.
19344 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
19345 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
19346 * soft-fp/fixdfti.c (__fixdfti): Likewise.
19347 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
19348 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
19349 * soft-fp/fixsfti.c (__fixsfti): Likewise.
19350 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
19351 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
19352 * soft-fp/fixtfti.c (__fixtfti): Likewise.
19353 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
19354 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
19355 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
19356 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
19357 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
19358 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
19359 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
19360 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
19361 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
19362 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
19363 * soft-fp/floatdisf.c (__floatdisf): Likewise.
19364 * soft-fp/floatsisf.c (__floatsisf): Likewise.
19365 * soft-fp/floattidf.c (__floattidf): Likewise.
19366 * soft-fp/floattisf.c (__floattisf): Likewise.
19367 * soft-fp/floattitf.c (__floattitf): Likewise.
19368 * soft-fp/floatundidf.c (__floatundidf): Likewise.
19369 * soft-fp/floatundisf.c (__floatundisf): Likewise.
19370 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
19371 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
19372 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
19373 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
19374 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
19375 * soft-fp/gesf2.c (__gesf2): Likewise.
19376 * soft-fp/getf2.c (__getf2): Likewise.
19377 * soft-fp/ledf2.c (__ledf2): Likewise.
19378 * soft-fp/lesf2.c (__lesf2): Likewise.
19379 * soft-fp/letf2.c (__letf2): Likewise.
19380
8edc4a11
JM
19381 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
19382 Undefine and redefine.
19383 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
19384 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
19385 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
19386 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
19387 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
19388 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
19389 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
19390 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
19391 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
19392 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
19393 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
19394 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
19395 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
19396 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
19397 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
19398
8399acaf
JM
19399 [BZ #16032]
19400 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
19401 without decrementing exponent if mantissa >= that for the
19402 denominator, not >.
19403 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
19404 denominator, not >. Decrement exponent in < case instead of
19405 incrementing in >= case.
19406 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
19407 without decrementing exponent if mantissa >= that for the
19408 denominator, not >.
19409
99fd9f47
JM
19410 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
19411 computing saturated result for unsigned overflow.
19412
10e1cf6b
SP
194132013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
19414 Jeff Law <law@redhat.com>
19415
19416 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
19417 (atan2Mp): Add systemtap probe marker.
19418 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
19419 (__ieee754_log): Add systemtap probe marker.
19420 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
19421 (atanMp): Add systemtap probe marker.
19422 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
19423 (tanMp): Add systemtap probe marker.
19424 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
19425 (__slowexp): Add systemtap probe marker.
19426 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
19427 (__slowpow): Add systemtap probe marker.
19428 * manual/probes.texi: Document probes.
19429
3d110c7c
EB
194302013-10-11 Eric Biggers <ebiggers3@gmail.com>
19431
19432 [BZ #15362]
19433 * libio/fileops.c (_IO_new_file_write): Return count of bytes
19434 written.
19435 (_IO_new_file_xsputn): Don't return EOF if nothing has been
19436 written.
19437 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
19438 written to buffer but not flushed.
19439 * libio/iofwrite_u.c: Likewise.
19440 * libio/iopadn.c: Return bytes returned even if EOF was
19441 encountered.
19442 * libio/iowpadn.c: Likewise.
19443 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
19444 if _IO_padn does not write the whole buffer.
19445 [!COMPILE_WPRINTF] (PAD): Likewise.
19446
75b4202a
DM
194472013-10-10 David S. Miller <davem@davemloft.net>
19448
19449 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
19450 directory block.
19451
6c6352e6
JM
194522013-10-10 Joseph Myers <joseph@codesourcery.com>
19453
33b853c3
JM
19454 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
19455 instead of FSF address.
19456 * soft-fp/fixdfti.c: Likewise.
19457 * soft-fp/fixsfti.c: Likewise.
19458 * soft-fp/fixtfti.c: Likewise.
19459 * soft-fp/fixunsdfti.c: Likewise.
19460 * soft-fp/fixunssfti.c: Likewise.
19461 * soft-fp/fixunstfti.c: Likewise.
19462 * soft-fp/floattidf.c: Likewise.
19463 * soft-fp/floattisf.c: Likewise.
19464 * soft-fp/floattitf.c: Likewise.
19465 * soft-fp/floatuntidf.c: Likewise.
19466 * soft-fp/floatuntisf.c: Likewise.
19467 * soft-fp/floatuntitf.c: Likewise.
19468 * soft-fp/trunctfxf2.c: Likewise.
19469
6c6352e6
JM
19470 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
19471 * soft-fp/fixdfti.c: Likewise.
19472 * soft-fp/fixsfti.c: Likewise.
19473 * soft-fp/fixtfti.c: Likewise.
19474 * soft-fp/fixunsdfti.c: Likewise.
19475 * soft-fp/fixunssfti.c: Likewise.
19476 * soft-fp/fixunstfti.c: Likewise.
19477 * soft-fp/floattidf.c: Likewise.
19478 * soft-fp/floattisf.c: Likewise.
19479 * soft-fp/floattitf.c: Likewise.
19480 * soft-fp/floatuntidf.c: Likewise.
19481 * soft-fp/floatuntisf.c: Likewise.
19482 * soft-fp/floatuntitf.c: Likewise.
19483 * soft-fp/trunctfxf2.c: Likewise.
19484
3bf78b71
DM
194852013-10-10 David S. Miller <davem@davemloft.net>
19486
19487 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19488
6f10289e
JM
194892013-10-10 Joseph Myers <joseph@codsourcery.com>
19490
bd878fc0
JM
19491 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
19492 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
19493 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
19494 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
19495 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
19496 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
19497 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
19498
6f10289e
JM
19499 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
19500 for NaNs before doing comparisons on argument.
19501 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
19502 Likewise.
19503
321e2684
WN
195042013-10-10 Will Newton <will.newton@linaro.org>
19505
19506 * malloc/hooks.c (memalign_check): Ensure the value of bytes
19507 passed to _int_memalign does not overflow.
19508
40fefba1
TR
195092013-10-10 Torvald Riegel <triegel@redhat.com>
19510
19511 * scripts/bench.pl: Add include-sources directive.
19512 * benchtests/README: Update documentation.
19513
2ae21ed2
JM
195142013-10-10 Joseph Myers <joseph@codesourcery.com>
19515
dcc2dd3f
JM
19516 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
19517 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
19518 instead of FP_INIT_ROUNDMODE.
19519 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
19520 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
19521
2ae21ed2
JM
19522 [BZ #16034]
19523 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
19524 copy class of input value.
19525 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
19526 not handle exceptions.
19527 * soft-fp/negsf2.c (__negsf2): Likewise.
19528 * soft-fp/negtf2.c (__negtf2): Likewise.
19529 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
19530
cb8f9562
JM
195312013-10-09 Joseph Myers <joseph@codesourcery.com>
19532
19533 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
19534 semicolon. From Linux kernel.
19535
5b60c59d
AB
195362013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
19537
19538 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
19539
b86835ca
YC
195402013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
19541
19542 [BZ #156]
19543 * manual/socket.texi: Added statement about buffer
19544 for gethostbyname2_r.
19545
e7044ea7
OB
195462013-10-08 Ondřej Bílka <neleai@seznam.cz>
19547
19548 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
19549 Use .p2align directive instead, throughout.
19550 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
19551 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
19552 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
19553 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
19554 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
19555 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
19556 * sysdeps/x86_64/strchr.S: Likewise.
19557 * sysdeps/x86_64/strrchr.S: Likewise.
19558
09544cbc
SP
195592013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
19560
88576635
SP
19561 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
19562
e7b2d1dd
SP
19563 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
19564
09544cbc
SP
19565 * sysdeps/generic/math_private.h (__mpsin1): Remove
19566 declaration.
19567 (__mpcos1): Likewise.
19568 (__mpsin): New argument __range_reduce.
19569 (__mpcos): Likewise.
19570 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
19571 (slow): Use __mpsin and __mpcos.
19572 (slow1): Likewise.
19573 (slow2): Likewise.
19574 (sloww): Likewise.
19575 (sloww1): Likewise.
19576 (sloww2): Likewise.
19577 (bsloww): Likewise.
19578 (bsloww1): Likewise.
19579 (bsloww2): Likewise.
19580 (cslow2): Likewise.
19581 (csloww): Likewise.
19582 (csloww1): Likewise.
19583 (csloww2): Likewise.
19584 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
19585 range_reduce. Merge in __mpsin1.
19586 (__mpcos): Likewise.
19587 (__mpsin1): Remove.
19588 (__mpcos1): Likewise.
19589
7602d070
JM
195902013-10-07 Joseph Myers <joseph@codesourcery.com>
19591
19592 * locale/loadlocale.c (_nl_intern_locale_data): Use
19593 LOCFILE_ALIGNED_P.
19594 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
19595 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
19596 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
19597 obstack data is appropriately aligned.
19598 (obstack_int32_grow_fast): Likewise.
19599 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
19600 * locale/programs/locfile.c (add_locale_uint32): Likewise.
19601 (add_locale_uint32_array): Likewise.
19602
a357259b
SP
196032013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
19604
19605 * benchtests/Makefile: Remove ARGLIST and RET variables.
19606 ($(objpfx)bench-%.c): Pass only function name to the script.
19607 * benchtests/README: Update documentation.
19608 * benchtests/acos-inputs: Add new directives.
19609 * benchtests/acosh-inputs: Likewise.
19610 * benchtests/asin-inputs: Likewise.
19611 * benchtests/asinh-inputs: Likewise.
19612 * benchtests/atan-inputs: Likewise.
19613 * benchtests/atanh-inputs: Likewise.
19614 * benchtests/cos-inputs: Likewise.
19615 * benchtests/cosh-inputs: Likewise.
19616 * benchtests/exp-inputs: Likewise.
19617 * benchtests/log-inputs: Likewise.
19618 * benchtests/pow-inputs: Likewise.
19619 * benchtests/rint-inputs: Likewise.
19620 * benchtests/sin-inputs: Likewise.
19621 * benchtests/sinh-inputs: Likewise.
19622 * benchtests/tan-inputs: Likewise.
19623 * benchtests/tanh-inputs: Likewise.
19624 * scripts/bench.pl: Add support for new directives.
19625
9ec1b13d
AM
196262013-10-07 Alan Modra <amodra@gmail.com>
19627
19628 * README: Fix careless merge.
19629
8b7d57cd
AM
196302013-10-05 Alan Modra <amodra@gmail.com>
19631
19632 * NEWS: Mention powerpc64le support and bugs fixed.
19633 * README: Both big-endian and little-endian powerpc64 supported.
19634
7b7bab13
ST
196352013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
19636
57f41c40
AS
19637 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
19638 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
7b7bab13
ST
19639 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
19640 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
19641
d39baad1
RA
196422013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
19643
19644 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
19645 match prototype.
19646
cd78f7e7
JM
196472013-10-04 Joseph Myers <joseph@codesourcery.com>
19648
29d73d86
JM
19649 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
19650 Move -mhard-float appending from
19651 ports/sysdeps/powerpc/powerpc32/Makefile.
19652 [$(with-fp) = yes] (ASFLAGS): Likewise.
19653 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
19654 * sysdeps/powerpc/nofpu: Move directory from
19655 ports/sysdeps/powerpc/nofpu.
19656 * sysdeps/powerpc/soft-fp: Move directory from
19657 ports/sysdeps/powerpc/soft-fp.
19658 * sysdeps/powerpc/powerpc32/405: Move directory from
19659 ports/sysdeps/powerpc/powerpc32/405.
19660 * sysdeps/powerpc/powerpc32/440: Move directory from
19661 ports/sysdeps/powerpc/powerpc32/440.
19662 * sysdeps/powerpc/powerpc32/464: Move directory from
19663 ports/sysdeps/powerpc/powerpc32/464.
19664 * sysdeps/powerpc/powerpc32/476: Move directory from
19665 ports/sysdeps/powerpc/powerpc32/476.
19666 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
19667 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
19668 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
19669 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
19670 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
19671 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
19672 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
19673 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
19674 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
19675 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
19676 * README: Update for powerpc-*-linux-gnu software floating point
19677 support in libc.
19678
e246b347
JM
19679 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
19680 case to powerpc/powerpc32*.
19681 * sysdeps/unix/sysv/linux/configure: Regenerated.
19682
89c2003e
JM
19683 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
19684 (_FPU_MASK_OM): Define as 0x04.
19685 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
19686 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
19687 0x00c10080.
19688 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
19689 0x0000003c.
19690 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
19691
cd78f7e7
JM
19692 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
19693 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
19694 getcontext_e500.
19695 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
19696 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
19697 setcontext_e500.
19698 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
19699 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
19700 and setcontext_e500.
19701
c755294d
CL
197022013-10-04 Chris Leonard <cjl@sugarlabs,.org>
19703
19704 * locale/iso-3166.def: Update iso-1366.def and related occurrences
19705
e16d221c
SP
197062013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
19707
19708 * manual/threads.texi (Default Thread Attributes): Fix typo.
19709
215c7d43
WN
197102013-10-04 Will Newton <will.newton@linaro.org>
19711
19712 * malloc/Makefile: Add tst-memalign.
19713 * malloc/tst-memalign.c: New file.
19714
27d0461b
WN
19715 * malloc/tst-posix_memalign.c: Add comments.
19716 (do_test): Add comments and call free on all potentially
19717 allocated pointers. Add space after cast.
19718
1bc92709
WN
19719 * malloc/tst-pvalloc.c: Add comments.
19720 (do_test): Add comments and call free on all potentially
19721 allocated pointers. Remove duplicate check for NULL pointer.
19722 Add space after cast.
19723
66a9be9d
WN
19724 * malloc/tst-valloc.c: Add comments.
19725 (do_test): Add comments and call free on all potentially
19726 allocated pointers. Remove duplicate check for NULL pointer.
19727 Add space after cast.
19728
4cb81307
AM
197292013-10-04 Alan Modra <amodra@gmail.com>
19730
19731 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
19732 Use stdint types in rather than __attribute__((mode())).
19733 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
19734
f8e3e9f3
AM
197352013-10-04 Alan Modra <amodra@gmail.com>
19736
19737 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
19738 Correct handling of unaligned relocs for little-endian.
19739 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
19740
8f9ebb08
AM
197412013-10-04 Alan Modra <amodra@gmail.com>
19742
19743 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
19744 * configure: Regenerate.
19745 * nptl/shlib-versions: Powerpc*le starts at 2.18.
19746 * shlib-versions: Likewise.
19747
0edf96c2
AM
197482013-10-04 Alan Modra <amodra@gmail.com>
19749
19750 * string/tester.c (test_memrchr): Increment reported test cycle.
19751
e0f7a380
AM
197522013-10-04 Alan Modra <amodra@gmail.com>
19753
19754 * string/test-memcpy.c (do_one_test): When reporting errors, print
19755 string address and don't overrun end of string.
19756
466b0393
AM
197572013-10-04 Alan Modra <amodra@gmail.com>
19758
19759 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
19760 insrdi. Make better use of reg selection to speed exit slightly.
19761 Schedule entry path a little better. Remove useless "are we done"
19762 checks on entry to main loop. Handle wrapping around zero address.
19763 Correct main loop count. Handle single left-over word from main
19764 loop inline rather than by using loop_small. Remove extra word
19765 case in loop_small caused by wrong loop count. Add little-endian
19766 support.
19767 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
19768 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
19769 cache hint.
19770 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
19771 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
19772 support. Avoid rlwimi.
19773 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
19774
3be87c77
AM
197752013-10-04 Alan Modra <amodra@gmail.com>
19776
19777 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
e3764517 19778 insrdi. Formatting.
3be87c77
AM
19779 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
19780 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
19781 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
19782 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
19783 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
19784 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
19785
759cfef3
AM
197862013-10-04 Alan Modra <amodra@gmail.com>
19787
19788 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
19789 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
19790 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
19791 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
19792 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
19793 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
19794 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
19795 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
19796 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
19797 use of regs. Use power7 mtocrf. Tidy function tails.
19798
fe6e95d7
AM
197992013-10-04 Alan Modra <amodra@gmail.com>
19800
19801 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
19802 Formatting. Consistently use rXXX register defines or rN defines.
19803 Use early exit labels that avoid restoring unused non-volatile regs.
19804 Make cr field use more consistent with rWORDn compares. Rename
19805 regs used as shift registers for unaligned loop, using rN defines
19806 for short lifetime/multiple use regs.
19807 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
19808 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
19809 addi 1,1,64 to pop stack frame. Simplify return value code.
19810 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
19811
664318c3
AM
198122013-10-04 Alan Modra <amodra@gmail.com>
19813
19814 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
19815 support. Correct typos, formatting. Optimize tail. Use insrdi
19816 rather than rlwimi.
19817 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
19818 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
19819 little-endian support. Correct typos.
19820 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
19821 rather than rlwimi.
19822 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
19823 in loop and entry code to keep "and." results.
19824 (strchr): Add little-endian support. Comment. Move cntlzd
19825 earlier in tail.
19826 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
19827
43b84013
AM
198282013-10-04 Alan Modra <amodra@gmail.com>
19829
19830 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
19831 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
19832 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
19833 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
19834
8a7413f9
AM
198352013-10-04 Alan Modra <amodra@gmail.com>
19836
19837 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
19838 (rTMP): Define as r11.
19839 (strcmp): Add little-endian support. Optimise tail.
19840 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
19841 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
19842 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
19843 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
19844 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
19845 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
19846 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
19847
33ee81de
AM
198482013-10-04 Alan Modra <amodra@gmail.com>
19849
19850 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
19851 little-endian support. Remove unnecessary "are we done" tests.
19852 Handle "s" wrapping around zero and extremely large "size".
19853 Correct main loop count. Handle single left-over word from main
19854 loop inline rather than by using small_loop. Correct comments.
19855 Delete "zero" tail, use "end_max" instead.
19856 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
19857
db9b4570
AM
198582013-10-04 Alan Modra <amodra@gmail.com>
19859
19860 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
19861 support. Don't branch over align.
19862 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
19863 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
19864 support. Rearrange tmp reg use to suit. Comment.
19865 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
19866
f7c399cf
AM
198672013-10-04 Alan Modra <amodra@gmail.com>
19868
19869 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
19870
0b2c2ace
AM
198712013-10-04 Alan Modra <amodra@gmail.com>
19872
19873 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
19874 conditional form of branch and link when obtaining pc.
19875 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
19876
02f04a6c
AM
198772013-10-04 Alan Modra <amodra@gmail.com>
19878
19879 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
19880 HIWORD/LOWORD.
19881 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
19882 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
19883
9b874b2f
AM
198842013-10-04 Alan Modra <amodra@gmail.com>
19885
19886 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
19887 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
19888 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
19889 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
19890 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
19891 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
19892 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
19893 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
19894 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
19895 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
19896
be1e5d31
AB
198972013-10-04 Anton Blanchard <anton@au1.ibm.com>
19898 Alistair Popple <alistair@ozlabs.au.ibm.com>
19899 Alan Modra <amodra@gmail.com>
19900
19901 [BZ #15723]
19902 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
19903 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
19904 _dl_hwcap access for little-endian.
19905 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
19906 destroy vmx regs when saving unaligned.
19907 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
19908 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
19909 destroy vmx regs when saving unaligned.
19910
fef13a78
AM
199112013-10-04 Alan Modra <amodra@gmail.com>
19912
19913 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
19914 Don't use a union to pack hi/low value.
19915
76a66d51
AB
199162013-10-04 Anton Blanchard <anton@au1.ibm.com>
19917
19918 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
19919 for little-endian.
19920 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
19921 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
19922 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
19923 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
19924 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
19925
6a31fe7f
AM
199262013-10-04 Alan Modra <amodra@gmail.com>
19927
19928 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
19929 constants to usual value for .cst8 section, and remove redundant
19930 high address load.
19931 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
19932 constant for 0x1p52. Load little-endian words of double from
19933 correct stack offsets.
19934
7b88401f
AM
199352013-10-04 Alan Modra <amodra@gmail.com>
19936
19937 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
19938 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
19939 words of double from correct stack offsets.
19940 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
19941 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
19942 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
19943 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
19944 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
19945 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
19946 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
19947 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
19948 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
19949 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
19950 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
19951 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
19952 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
19953 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
19954 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
19955 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
19956 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
19957
9c008155
AM
199582013-10-04 Alan Modra <amodra@gmail.com>
19959
19960 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
19961 64-bit int/double union.
19962 (_FPU_SETCW): Likewise.
19963 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
19964 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
19965
da13146d
AM
199662013-10-04 Alan Modra <amodra@gmail.com>
19967
19968 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
19969 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
19970
603e8410
AM
199712013-10-04 Alan Modra <amodra@gmail.com>
19972
19973 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
19974 use vector int constants.
19975 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
19976
4a28b3ca
AB
199772013-10-04 Anton Blanchard <anton@au1.ibm.com>
19978
19979 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
19980 array with long long.
19981 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
19982 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
19983 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
19984 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
19985 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
19986 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
19987 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
19988 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
19989 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
19990 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
19991 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
19992 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
19993 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
19994
2ca85d2b
AB
199952013-10-04 Anton Blanchard <anton@au1.ibm.com>
19996
19997 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
19998 (__signbit): Likewise. Correct for little-endian.
19999 (__signbitl): Call __signbit.
20000 (lrint): Correct for little-endian.
20001 (lrintf): Call lrint.
20002
62a728ae
AM
200032013-10-04 Alan Modra <amodra@gmail.com>
20004
20005 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
20006 union 32-bit int array member with 64-bit int array.
20007 (t515, tm256): Double rather than long double.
20008 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
20009
32c301df
AM
200102013-10-04 Alan Modra <amodra@gmail.com>
20011
20012 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
20013 Delete.
20014 (IEEE854_LONG_DOUBLE_BIAS): Delete.
20015 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
20016 version of math_ldbl.h.
20017
650ef4bd
AM
200182013-10-04 Alan Modra <amodra@gmail.com>
20019
20020 [BZ #15734], [BZ #15735]
20021 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
20022 all uses of ieee875 long double macros and unions. Simplify test
20023 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
20024 ldbl_extract_mantissa value for ix,iy exponents. Properly
20025 normalize after ldbl_extract_mantissa, and don't add hidden bit
20026 already handled. Don't treat low word of ieee854 mantissa like
20027 low word of IBM long double and mask off bit when testing for
20028 zero.
20029 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
20030 all uses of ieee875 long double macros and unions. Simplify tests
20031 for 0.0L and inf. Correct double adjustment of k. Delete dead code
20032 adjusting ha,hb. Simplify code setting kld. Delete two600 and
20033 two1022, instead use their values. Recognise that tests for large
20034 "a" and small "b" are mutually exclusive. Rename vars. Comment.
20035 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
20036 Rewrite all uses of ieee875 long double macros and unions. Simplify
20037 test for 0.0L and nan. Correct negation.
20038 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
20039 ieee875 long double macros and unions. Correct output for large
20040 magnitude x. Correct absolute value calculation.
20041 (__erfcl): Likewise.
20042 * math/libm-test.inc: Add tests for errors discovered in IBM long
20043 double versions of fmodl, remainderl, erfl and erfcl.
20044
765714ca
AM
200452013-10-04 Alan Modra <amodra@gmail.com>
20046
20047 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
20048 all uses of ieee854 long double macros and unions. Simplify tests
20049 for long doubles that are fully specified by the high double.
20050 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
20051 Likewise.
20052 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
20053 Remove dead code too.
20054 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
20055 (__ieee754_ynl): Likewise.
20056 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
20057 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
20058 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
20059 Remove dead code too.
20060 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
20061 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
20062 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
20063 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
20064 Simplify.
20065 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
20066 Simplify.
20067 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
20068 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
20069 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
20070 Comment on variable precision.
20071 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
20072 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
20073 Likewise.
20074 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
20075 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
20076 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
20077 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
20078 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
20079
4ebd120c
AM
200802013-10-04 Alan Modra <amodra@gmail.com>
20081
20082 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
20083 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
20084 all uses of ieee854 long double macros and unions.
20085 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
20086 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
20087 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
20088 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
20089 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
20090 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
20091 Likewise.
20092 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
20093 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
20094 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
20095 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
20096 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
20097 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
20098 Simplify sign and nan test too.
20099 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
20100 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
20101 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
20102 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
20103 Likewise.
20104 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
20105 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
20106 Likewise.
20107 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
20108 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
20109 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
20110 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
20111 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
20112 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
20113
1b6adf88
AM
201142013-10-04 Alan Modra <amodra@gmail.com>
20115
20116 * stdio-common/printf_size.c (__printf_size): Don't use
20117 union ieee854_long_double in fpnum union.
20118 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
20119 signbit macro to retrieve sign from long double.
20120 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
20121 retrieve sign from long double.
20122 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
20123 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
20124 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
20125 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
20126 * math/test-misc.c (main): Don't use union ieee854_long_double.
20127
4cf69995
AM
201282013-10-04 Alan Modra <amodra@gmail.com>
20129
20130 [BZ #15680]
20131 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
20132 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
20133 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
20134 calculation. Remove unnecessary test for denormal exponent.
20135 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
20136 Correct handling of denormals. Avoid undefined shift behaviour.
20137 Correct normalisation of low mantissa when low double is denormal.
20138 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
20139 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
20140 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
20141 Correct normalisation of low mantissa. Test for overflow of high
20142 mantissa and normalise.
20143 (ldbl_nearbyint): Use more readable constant for two52.
20144 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
20145 (__mpn_construct_long_double): Fix test for overflow of high
20146 mantissa and correct normalisation. Avoid undefined shift.
20147
9605ca6c
AM
201482013-10-04 Alan Modra <amodra@gmail.com>
20149
20150 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
20151 (union ibm_extended_long_double): Define as an array of ieee754_double.
20152 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
20153 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
20154 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
20155 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
20156 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
20157 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
20158 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
20159 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
20160 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
20161 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
20162 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
20163
975569d0
JM
201642013-10-03 Joseph Myers <joseph@codesourcery.com>
20165
d3d23756
JM
20166 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
20167 page size instead of calling getpagesize.
20168
975569d0
JM
20169 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
20170 (LOCFILE_ALIGN_MASK): Likewise.
20171 (LOCFILE_ALIGN_UP): Likewise.
20172 (LOCFILE_ALIGNED_P): Likewise.
20173 * locale/programs/ld-collate.c (collate_output): Use the new
20174 macros instead of __alignof__ (int32_t).
20175 * locale/weight.h (findidx): Likewise.
20176
b1fe1f2b
OB
201772013-10-03 Ondřej Bílka <neleai@seznam.cz>
20178
20179 [BZ #431]
20180 * manual/string.texi: Fix strncat and wcsncat.
20181
5f855e35
BM
201822013-10-03 Brooks Moses <bmoses@google.com>
20183
20184 [BZ #15915]
20185 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
20186 * Makerules: ...here, and adjust associated comments.
20187
3cef6009
WN
201882013-10-02 Will Newton <will.newton@linaro.org>
20189
20190 * malloc/Makefile: Add tst-pvalloc.
20191 * malloc/tst-pvalloc.c: New file.
20192
7815420b
WN
201932013-10-02 Will Newton <will.newton@linaro.org>
20194
20195 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
20196 improve test coverage.
20197
4868b204
WN
201982013-10-02 Will Newton <will.newton@linaro.org>
20199
20200 * malloc/Makefile: Add tst-posix_memalign.
20201 * malloc/tst-posix_memalign.c: New file.
20202
29c793b3
EB
202032013-10-01 Eric Blake <eblake@redhat.com>
20204
20205 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
20206 Use __THROWNL rather than __THROW on static functions.
20207
fd967522
PM
202082013-09-30 Petr Machata <pmachata@redhat.com>
20209
20210 * elf/elf.h (R_AARCH64_ABS16): New macro.
20211 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
20212 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
20213 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
20214 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
20215 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
20216 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
20217 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
20218 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
20219 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
20220 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
20221 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
20222 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
20223 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
20224 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
20225 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
20226 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
20227 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
20228 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
20229 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
20230 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
20231 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
20232 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
20233 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
20234 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
20235 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
20236 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
20237 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
20238 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
20239 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
20240 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
20241 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
20242 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
20243 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
20244 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
20245 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
20246 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
20247 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
20248 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
20249 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
20250 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
20251 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
20252 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
20253 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
20254 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
20255 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
20256 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
20257 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
20258 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
20259 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
20260 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
20261 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
20262 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
20263 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
20264 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
20265 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
20266 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
20267 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
20268 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
20269 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
20270 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
20271 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
20272 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
20273 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
20274 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
20275 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
20276 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
20277 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
20278 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
20279 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
20280 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
20281 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
20282 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
20283 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
20284 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
20285 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
20286 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
20287 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
20288 (R_AARCH64_TLSDESC_LDR): Likewise.
20289 (R_AARCH64_TLSDESC_ADD): Likewise.
20290 (R_AARCH64_TLSDESC_CALL): Likewise.
20291
b2179107
AS
202922013-09-30 Andreas Schwab <schwab@suse.de>
20293
20294 [BZ #15048]
20295 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
20296 the nss database lookup.
20297 * nscd/initgrcache.c (addinitgroupsX): Likewise.
20298 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
20299
47f28d0a
MF
203002013-09-28 Mike Frysinger <vapier@gentoo.org>
20301
20302 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
20303
203042013-09-28 P. J. McDermott <pj@pehjota.net>
0a834dde
PM
20305
20306 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
20307 ${Bash-specific parameter/pattern/string} parameter expansion.
20308 * sysdeps/unix/make-syscalls.sh: Likewise.
20309
f4518a17
KK
203102013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
20311
20312 * sysdeps/sh/stackguard-macros.h: New file.
20313
dc1a95c7
OB
203142013-09-26 Ondřej Bílka <neleai@seznam.cz>
20315
20316 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
20317 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
20318 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
20319 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
20320 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
20321 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
20322
5ebbff8f
AZ
203232013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20324
20325 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
20326 Fix thread ID register.
20327
4fd2cf9f
JM
203282013-09-25 Joseph Myers <joseph@codesourcery.com>
20329
20330 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
20331 [POSIX || UNIX98]: Require rather than permitting all symbols from
20332 <time.h>.
20333 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
20334 element of struct sched_param.
20335 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
20336 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
20337 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
20338 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
20339 constant.
20340
12c22bc4
OL
203412013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
20342
20343 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
20344 argument calculation.
20345
a03d8ea7
JM
203462013-09-24 Joseph Myers <joseph@codesourcery.com>
20347
20348 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
20349 Expect macro.
20350 [POSIX] (pthread_attr_t): Do not require type.
20351 [POSIX] (pthread_cond_t): Likewise.
20352 [POSIX] (pthread_condattr_t): Likewise.
20353 [POSIX] (pthread_key_t): Likewise.
20354 [POSIX] (pthread_mutex_t): Likewise.
20355 [POSIX] (pthread_mutexattr_t): Likewise.
20356 [POSIX] (pthread_once_t): Likewise.
20357 [POSIX] (pthread_t): Likewise.
20358 [POSIX-based standards] (pthread_atfork): Expect function.
20359
6055173a
JM
203602013-09-24 Joseph Myers <joseph@codesourcery.com>
20361 Richard Sandiford <richard@codesourcery.com>
20362
20363 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
20364 (swap_endianness_p): New extern variable.
20365 (set_big_endian): New inline function.
20366 (maybe_swap_uint32): Likewise.
20367 (maybe_swap_uint32_array): Likewise.
20368 (maybe_swap_uint32_obstack): Likewise.
20369 * locale/programs/locfile.c: Include <stdbool.h>.
20370 (swap_endianness_p): New variable.
20371 (add_locale_uint32): Call maybe_swap_uint32.
20372 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
20373 (write_locale_data): Call maybe_swap_uint32_array.
20374 * locale/programs/ld-collate.c (obstack_int32_grow): Call
20375 maybe_swap_uint32.
20376 (obstack_int32_grow_fast): Likewise.
20377 (output_weightwc): Call maybe_swap_uint32_obstack.
20378 (collate_output): Likewise.
20379 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
20380 (OPT_LITTLE_ENDIAN): Likewise.
20381 (options): Add --little-endian and --big-endian options.
20382 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
20383 * locale/programs/locarchive.c: Include "locfile.h".
20384 (GET): New macro.
20385 (SET): Likewise.
20386 (INC): Likewise.
20387 (create_archive): Use the new macros to access fields of
20388 structures directly mapped from or written to locale archives.
20389 (oldlocrecentcmp): Likewise.
20390 (enlarge_archive): Likewise.
20391 (insert_name): Likewise.
20392 (add_alias): Likewise.
20393 (add_locale): Likewise.
20394 (delete_locales_from_archive): Likewise.
20395 (show_archive_content): Likewise.
20396 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
20397 locale data.
20398
39bf0bb4
RM
203992013-09-24 Roland McGrath <roland@hack.frob.com>
20400
20401 * manual/freemanuals.texi: Updated from (newly) canonical copy at
20402 http://www.gnu.org/doc/freemanuals.texi.
20403 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
20404
f02eed10
WN
204052013-09-24 Will Newton <will.newton@linaro.org>
20406
20407 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
20408 macro.
20409
a3a6c312
JM
204102013-09-23 Joseph Myers <joseph@codesourcery.com>
20411
20412 * locale/hashval.h (compute_hashval): Interpret bytes of key as
20413 unsigned char.
20414
107375ac
MR
204152013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
20416
20417 * manual/threads.texi (POSIX Threads): Fix a typo.
20418
141f3a77
SP
204192013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
20420
303e567a
SP
20421 [BZ #14547]
20422 * string/tst-strcoll-overflow.c: New test case.
20423 * string/Makefile (xtests): Add tst-strcoll-overflow.
20424 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
20425 cache if string sizes may cause integer overflow.
20426
141f3a77
SP
20427 [BZ #14547]
20428 * string/strcoll_l.c (coll_seq): New members rule, idx,
20429 save_idx and back_us.
20430 (get_next_seq_nocache): New function.
20431 (do_compare_nocache): New function.
20432 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
20433 when malloc fails.
20434
c61b4d41
CD
204352013-09-23 Carlos O'Donell <carlos@redhat.com>
20436
0b1f8e35
CD
20437 [BZ #15754]
20438 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
20439 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
20440 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
20441
c61b4d41
CD
20442 [BZ #15754]
20443 * elf/Makefile (tests): Add tst-ptrguard1.
20444 (tests-static): Add tst-ptrguard1-static.
20445 (tst-ptrguard1-ARGS): Define.
20446 (tst-ptrguard1-static-ARGS): Define.
20447 * elf/tst-ptrguard1.c: New file.
20448 * elf/tst-ptrguard1-static.c: New file.
20449 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
20450 * sysdeps/i386/stackguard-macros.h: Likewise.
20451 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
20452 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
20453 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
20454 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
20455 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
20456 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
20457
204582013-09-23 Hector Marco <hecmargi@upv.es>
20459 Ismael Ripoll <iripoll@disca.upv.es>
20460 Carlos O'Donell <carlos@redhat.com>
20461
20462 [BZ #15754]
20463 * sysdeps/generic/stackguard-macros.h: Define
20464 __pointer_chk_guard_local and POINTER_CHK_GUARD.
20465 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
20466 Define __pointer_chk_guard_local.
20467 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
20468 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
20469
f5f4e7b4
VV
204702013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
20471
20472 [BZ #15859]
20473 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
20474
5bb43a43
AS
204752013-09-20 Andreas Schwab <schwab@linux-m68k.org>
20476
20477 * include/string.h (__ffs): Declare as hidden.
20478 * string/ffs.c (__ffs): Define as hidden.
20479 * sysdeps/i386/ffs.c (__ffs): Likewise.
20480 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
20481 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
20482 * sysdeps/s390/ffs.c (__ffs): Likewise.
20483 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
20484
3ea5be54
AO
204852013-09-20 Alexandre Oliva <aoliva@redhat.com>
20486
ffb89e53
AO
20487 * NEWS: Mention malloc probes.
20488
322dea08
AO
20489 * malloc/arena.c (new_heap): New memory_heap_new probe.
20490 (grow_heap): New memory_heap_more probe.
20491 (shrink_heap): New memory_heap_less probe.
20492 (heap_trim): New memory_heap_free probe.
20493 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
20494 (systrim): New memory_sbrk_less probe.
20495 * manual/probes.texi: Document them.
20496
655673f3
AO
20497 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
20498 * manual/probes.texi: Document it.
20499
35fed6f1
AO
20500 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
20501 (__libc_realloc): Add memory_realloc_retry probe.
20502 (__libc_memalign): Add memory_memalign_retry probe.
20503 (__libc_valloc): Add memory_valloc_retry probe.
20504 (__libc_pvalloc): Add memory_pvalloc_retry probe.
20505 (__libc_calloc): Add memory_calloc_retry probe.
20506 * manual/probes.texi: Document them.
20507
6999d38c
AO
20508 * malloc/arena.c (get_free_list): Add probe
20509 memory_arena_reuse_free_list.
20510 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
20511 and memory_arena_reuse.
20512 (arena_get2) [!PER_THREAD]: Likewise.
20513 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
20514 memory_arena_reuse_realloc.
20515 * manual/probes.texi: Document them.
20516
0653427f
AO
20517 * malloc/malloc.c (__libc_free): Add
20518 memory_mallopt_free_dyn_thresholds probe.
20519 (__libc_mallopt): Add multiple memory_mallopt probes.
20520 * manual/probes.texi: Document them.
20521
3ea5be54
AO
20522 * malloc/malloc.c: Include stap-probe.h.
20523 (__libc_mallopt): Add memory_mallopt probe.
20524 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
20525 * manual/probes.texi: New.
20526 * manual/Makefile (chapters): Add probes.
20527 * manual/threads.texi: Set next node.
20528
e35696c3 205292013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
3e181dda 20530
e35696c3
CL
20531 [BZ #15963, #13985]
20532 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
20533 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
20534 Add `Chinese' to `nan' entry name.
20535
4aafb73c
SP
205362013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
20537
20538 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
20539 (POLYNOMIAL): Likewise.
20540 (TAYLOR_SINCOS): Likewise.
20541 (TAYLOR_SLOW): Likewise.
20542 (__sin): Use TAYLOR_SINCOS.
20543 (__cos): Likewise.
20544 (slow): Use TAYLOR_SLOW.
20545 (sloww): Likewise.
20546 (bsloww): Likewise.
20547 (csloww): Likewise.
20548
d84f25c7
LD
205492013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
20550
20551 * stdlib/strtod_l.c: Fix buffer overrun.
20552
5eea0404
SP
205532013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
20554
7849ff93
SP
20555 * benchtests/Makefile (bench): Add sincos.
20556 * benchtests/bench-sincos.c: New file.
20557
cfa3c886
SP
20558 * math/libm-test.inc (cos_test_data): New test inputs.
20559 (sin_test_data): Likewise.
20560
b348e1e3
SP
20561 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
20562 macro.
20563 (__sin): Use it.
20564 (__cos): Likewise.
20565 (slow1): Likewise.
20566 (slow2): Likewise.
20567 (sloww1): Likewise.
20568 (sloww2): Likewise.
20569 (bsloww1): Likewise.
20570 (bsloww2): Likewise.
20571 (cslow2): Likewise.
20572 (csloww1): Likewise.
20573 (csloww2): Likewise.
20574
6cce25f8
SP
20575 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
20576 function.
20577 (__sin): Use it.
20578 (__cos): Likewise.
20579
5eea0404
SP
20580 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
20581 gotos.
20582 (__cos): Likewise.
20583
9c21573c
MR
205842013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
20585
20586 * config.h.in (HAVE_MIPS_NAN2008): New macro.
20587 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
20588 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
20589 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
20590 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
20591 * elf/cache.c (print_entry): Handle the new cache flags.
20592
24d22e65
JM
205932013-09-18 Joseph Myers <joseph@codesourcery.com>
20594 Aldy Hernandez <aldyh@redhat.com>
20595
20596 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
20597 Change condition to [_SOFT_FLOAT].
20598 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
20599 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
20600 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
20601 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
20602 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
20603 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
20604 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
20605 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
20606 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
20607 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
20608 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
20609 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
20610 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
20611 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
20612 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
20613 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
20614 declaration.
20615
d13ef066
JM
206162013-09-18 Joseph Myers <joseph@codesourcery.com>
20617
2e071de0
JM
20618 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
20619 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
20620 (__longjmp): Use LOAD_GP to load saved GPRs.
20621 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
20622 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
20623 (__sigsetjmp): Use SAVE_GP to save GPRs.
20624
d13ef066
JM
20625 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
20626 Do not append -msoft-float.
20627 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
20628
97a0650b
SP
206292013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
20630
20631 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
20632
11ca09e9
JM
206332013-09-17 Joseph Myers <joseph@codesourcery.com>
20634
20635 [BZ #15966]
20636 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
20637 (_FPU_GETCW): Use initial "__" on variable and field names but not
20638 on macro parameter name.
20639 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
20640 parentheses around reference to macro parameter.
20641
08ffcf34
RS
206422013-09-13 Richard Sandiford <richard@codesourcery.com>
20643
20644 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
20645 prototype.
20646 (ctype_startup): Use uint32_t in cast and sizeof for
20647 ctype->charnames.
20648
ae7080d3
JL
206492013-09-11 Jia Liu <proljc@gmail.com>
20650
20651 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
20652 __daddr_t_defined.
20653 [__FreeBSD__]: Likewise.
20654
5905e7b3
OB
206552013-09-11 Ondřej Bílka <neleai@seznam.cz>
20656
20657 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
20658 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
20659 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
20660 (strchr): Remove __strchr_sse42 ifunc selection.
20661 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
20662 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
20663
b987c776
WN
206642013-09-11 Will Newton <will.newton@linaro.org>
20665
20666 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
20667 parameter to RES. Remove hardcoded 1000 value.
20668 * benchtests/bench-skeleton.c (main): Pass RES parameter
20669 to TIMING_INIT and multiply result by 1000.
20670
ddf985af
AZ
206712013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20672
20673 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20674
ffdd3181
AS
206752013-09-11 Andreas Schwab <schwab@suse.de>
20676
20677 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
20678 if not defined.
20679 (O_TMPFILE) [__USE_GNU]: Define.
20680 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
20681 Define.
20682
b73ed247
WN
206832013-09-11 Will Newton <will.newton@linaro.org>
20684
20685 [BZ #15857]
20686 * malloc/malloc.c (__libc_memalign): Check the value of bytes
20687 does not overflow.
20688
55e17aad
WN
206892013-09-11 Will Newton <will.newton@linaro.org>
20690
20691 [BZ #15856]
20692 * malloc/malloc.c (__libc_valloc): Check the value of bytes
20693 does not overflow.
20694
1159a193
WN
206952013-09-11 Will Newton <will.newton@linaro.org>
20696
20697 [BZ #15855]
20698 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
20699 does not overflow.
20700
5905e7b3 207012013-09-10 Ondřej Bílka <neleai@seznam.cz>
c7cabd13
OB
20702
20703 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
20704 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
20705 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
20706 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
20707 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
20708
cdfc721b
AM
207092013-09-10 Allan McRae <allan@archlinux.org>
20710
aa04af00
AM
20711 [BZ #15748]
20712 * manual/arith.texi (Parsing of Floats): Clarify
20713 cross-reference.
20714
cdfc721b
AM
20715 [BZ #15849]
20716 * manual/install.texi (Running make install): Mention
20717 --enable-pt-chown.
20718 * INSTALL: Regenerated.
20719
95e7cf29
MR
207202013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
20721
20722 * csu/init-first.c (_init): Remove the !SHARED condition around
20723 FPU control word initialization.
20724 * elf/dl-support.c (_dl_fpu_control): New variable.
20725 (_dl_aux_init) <AT_FPUCW>: Initialize it.
20726 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
20727 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
20728 * math/test-fpucw-static.c: New file.
20729 * math/test-fpucw-ieee.c: New file.
20730 * math/test-fpucw-ieee-static.c: New file.
20731 * math/Makefile (tests): Add `test-fpucw-ieee' and
20732 `$(tests-static)'.
20733 (tests-static): New variable.
20734 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
20735 dependency to...
20736 [($(build-shared),yes)]
20737 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
20738 ... this.
20739 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
20740 New dependency.
20741
83e43bf0
AM
207422013-09-09 Allan McRae <allan@archlinux.org>
20743
a9f5ce09
AM
20744 [BZ #15939]
20745 * manual/string.texi (Collation Functions): Fix typo in
20746 strcoll example.
20747 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
20748
34829bc2
AM
20749 [BZ #15893]
20750 * stdlib/isomac.c (get_null_defines): Fix memory leak.
20751
3932737d
AM
20752 [BZ #15892]
20753 * libio/memstream.c (open_memstream): Fix memory leak.
20754 * libio/wmemstream.c (open_wmemstream): Likewise.
20755
83e43bf0
AM
20756 [BZ #15895]
20757 * nscd/netgroupcache.c: Fix nesting of ifdefs.
20758
0c66b8e9
WN
207592013-09-09 Will Newton <will.newton@linaro.org>
20760
20761 * malloc/Makefile: Add tst-realloc to tests.
20762 * malloc/tst-realloc.c: New file.
20763
f6b00fd1
AM
207642013-09-09 Allan McRae <allan@archlinux.org>
20765
20766 [BZ #15844]
20767 * COPYING: Update from GNU website to fix FSF address.
20768 * COPYING.LIB: Likewise.
20769
eec55e16
DM
207702013-09-06 David S. Miller <davem@davemloft.net>
20771
20772 * po/zh_TW.po: Update Chinese (traditional) translation from
20773 translation project.
20774
1ecbb381
RS
207752013-09-06 Richard Sandiford <richard@codesourcery.com>
20776 Joseph Myers <joseph@codesourcery.com>
20777
20778 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
20779 "localeinfo.h".
20780 (obstack_chunk_alloc): New macro.
20781 (obstack_chunk_free): Likewise.
20782 (record_offset): New function.
20783 (init_locale_data): Likewise.
20784 (align_locale_data): Likewise.
20785 (add_locale_empty): Likewise.
20786 (add_locale_raw_data): Likewise.
20787 (add_locale_raw_obstack): Likewise.
20788 (add_locale_string): Likewise.
20789 (add_locale_wstring): Likewise.
20790 (add_locale_uint32): Likewise.
20791 (add_locale_uint32_array): Likewise.
20792 (add_locale_char): Likewise.
20793 (start_locale_structure): Likewise.
20794 (end_locale_structure): Likewise.
20795 (start_locale_prelude): Likewise.
20796 (end_locale_prelude): Likewise.
20797 (write_locale_data): Take locale_file structure rather than an
20798 iovec.
20799 * locale/programs/locfile.h: Include "obstack.h".
20800 (struct locale_file): Change to store locale file contents instead
20801 of header.
20802 (init_locale_data): New prototype.
20803 (align_locale_data): Likewise.
20804 (add_locale_empty): Likewise.
20805 (add_locale_raw_data): Likewise.
20806 (add_locale_raw_obstack): Likewise.
20807 (add_locale_string): Likewise.
20808 (add_locale_wstring): Likewise.
20809 (add_locale_uint32): Likewise.
20810 (add_locale_uint32_array): Likewise.
20811 (add_locale_char): Likewise.
20812 (start_locale_structure): Likewise.
20813 (end_locale_structure): Likewise.
20814 (start_locale_prelude): Likewise.
20815 (end_locale_prelude): Likewise.
20816 (write_locale_data): Update prototype.
20817 * locale/programs/3level.h (struct TABLE): Remove result field.
20818 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
20819 Use new locale_file interface.
20820 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
20821 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
20822 * locale/programs/ld-address.c (address_output): Use new
20823 locale_file interface.
20824 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
20825 NO_ADD_LOCALE.
20826 (collate_finish): Don't call collseq_table_finalize.
20827 (collate_output): Use new locale_file interface.
20828 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
20829 in file.
20830 (NO_FINALIZE): Change to NO_ADD_LOCALE.
20831 (TABLE): Move defines earlier in file.
20832 (ELEMENT): Likewise.
20833 (DEFAULT): Likewise.
20834 (wctrans_table_add): Move macro and inline function earlier in
20835 file.
20836 (struct wctype_table): Move type earlier in file.
20837 (add_locale_wctype_table): New static prototype.
20838 (struct locale_ctype_t): Use logical types instead of struct iovec
20839 pointers for members.
20840 (ctype_output): Use new locale_file interface.
20841 (wctype_table_finalize): Change to add_locale_wctype_table. Use
20842 new locale_file interface.
20843 (allocate_arrays): Update for use of new locale_file interface.
20844 * locale/programs/ld-identification.c (identification_output): Use
20845 new locale_file interface.
20846 * locale/programs/ld-measurement.c (measurement_output): Likewise.
20847 * locale/programs/ld-messages.c (messages_output): Likewise.
20848 * locale/programs/ld-monetary.c (monetary_output): Likewise.
20849 * locale/programs/ld-name.c (name_output): Likewise.
20850 * locale/programs/ld-numeric.c (numeric_output): Likewise.
20851 * locale/programs/ld-paper.c (paper_output): Likewise.
20852 * locale/programs/ld-telephone.c (telephone_output): Likewise.
20853 * locale/programs/ld-time.c (time_output): Likewise.
20854
e029e2e5
AZ
208552013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20856
20857 * benchtests/Makefile: Add memrchr benchmark.
20858 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
20859 benchmark as memrchr.
20860 * benchtests/bench-memrchr-ifunc.c: New file.
20861 * benchtests/bench-memrchr.c: New file.
20862
bbf6e8e4
WN
208632013-09-06 Will Newton <will.newton@linaro.org>
20864
20865 * benchtests/Makefile (string-bench): Add memcpy.
20866
6c82a2f8
CD
208672013-09-05 Carlos O'Donell <carlos@redhat.com>
20868 Cong Wang <amwang@redhat.com>
20869
e732c5f0 20870 [BZ #15850]
6c82a2f8
CD
20871 * sysdeps/unix/sysv/linux/bits/in.h
20872 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
20873 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
20874 before __USE_KERNEL_IPV6_DEFS uses.
20875 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
20876 IPPROTO_BEETPH.
20877 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
20878 sockaddr_in6, or ipv6_mreq.
20879
5430fc65
AZ
208802013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20881
20882 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
20883 memory access for final bytes in some large inputs.
20884 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
20885
4660856c
AZ
208862013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20887
20888 * string/test-memrchr.c: New file.
20889 * string/test-memrchr-ifunc.c: New file.
20890 * string/Makefile: Add new memrchr testcase.
20891
bb8ea713
MF
208922013-09-05 Mike Frysinger <vapier@gentoo.org>
20893
20894 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
20895 fanotify_init returns EPERM.
20896
b92a20b5
JM
208972013-09-04 Joseph Myers <joseph@codesourcery.com>
20898
20899 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
20900 errors.
20901 (top level): Treat second token from macro or constant entries for
20902 allowed headers as allowed.
20903 * include/complex.h: Condition internal declarations on
20904 [!_ISOMAC].
20905 * include/fenv.h: Condition include of <stdbool.h> and internal
20906 declarations on [!_ISOMAC].
7447ccd9
CL
20907
209082013-09-04 Chris Leonard <cjl@sugarlabs,.org>
20909
3e181dda 20910 [BZ #15923]
7447ccd9
CL
20911 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
20912
3f2e46a4
JM
209132013-09-04 Joseph Myers <joseph@codesourcery.com>
20914
20915 * configure.in (--enable-versioning): Remove configure option.
20916 (libc_cv_asm_symver_directive): Remove configure test.
20917 (libc_cv_ld_version_script_option): Likewise.
20918 (VERSIONING): Remove variable and AC_SUBST.
20919 (DO_VERSIONING): Remove AC_DEFINE.
20920 * configure: Regenerated.
20921 * config.h.in (DO_VERSIONING): Remove macro.
20922 * Makerules [$(versioning) = yes]: Change conditionals to
20923 [$(build-shared) = yes].
20924 * config.make.in (versioning): Remove variable.
20925 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
20926 [$(build-shared) = yes].
20927 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
20928 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
20929 * elf/Makefile [$(versioning) = yes]: Change conditionals to
20930 [$(build-shared) = yes].
20931 * extra-lib.mk [$(versioning) = yes]: Likewise.
20932 * hurd/Makefile [$(versioning) = yes]: Likewise.
20933 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
20934 [SHARED].
20935 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
20936 [SHARED].
20937 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
20938 [SHARED && !NO_HIDDEN].
20939 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
20940 [SHARED].
20941 [SHARED && DO_VERSIONING]: Likewise..
20942 * libio/Makefile [$(versioning) = yes]: Change conditionals to
20943 [$(build-shared) = yes].
20944 * manual/install.texi (--disable-versioning): Remove
20945 documentation.
20946 * INSTALL: Regenerated.
20947 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
20948 to [SHARED].
20949 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
20950 [$(build-shared) = yes].
20951 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
20952 * sysdeps/i386/i686/multiarch/strstr-c.c
20953 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
20954 [SHARED && !NO_HIDDEN].
20955 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
20956 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
20957 * sysdeps/powerpc/powerpc32/dl-machine.c
20958 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
20959 * sysdeps/powerpc/powerpc32/sysdep.h
20960 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
20961 to [SHARED && PIC && !NO_HIDDEN].
20962 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
20963 conditional to [SHARED].
20964
44558701
WN
209652013-09-04 Will Newton <will.newton@linaro.org>
20966
20967 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
20968 * benchtests/bench-string.h: Include bench-timing.h instead
20969 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
20970 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
20971 call to HP_TIMING_DIFF_INIT.
20972 * benchtests/bench-memccpy.c: Use bench-timing.h macros
20973 instead of hp-timing.h macros.
20974 * benchtests/bench-memchr.c: Likewise.
20975 * benchtests/bench-memcmp.c: Likewise.
20976 * benchtests/bench-memcpy.c: Likewise.
20977 * benchtests/bench-memmem.c: Likewise.
20978 * benchtests/bench-memmove.c: Likewise.
20979 * benchtests/bench-memset.c: Likewise.
20980 * benchtests/bench-rawmemchr.c: Likewise.
20981 * benchtests/bench-strcasecmp.c: Likewise.
20982 * benchtests/bench-strcasestr.c: Likewise.
20983 * benchtests/bench-strcat.c: Likewise.
20984 * benchtests/bench-strchr.c: Likewise.
20985 * benchtests/bench-strcmp.c: Likewise.
20986 * benchtests/bench-strcpy.c: Likewise.
20987 * benchtests/bench-strcpy_chk.c: Likewise.
20988 * benchtests/bench-strlen.c: Likewise.
20989 * benchtests/bench-strncasecmp.c: Likewise.
20990 * benchtests/bench-strncat.c: Likewise.
20991 * benchtests/bench-strncmp.c: Likewise.
20992 * benchtests/bench-strncpy.c: Likewise.
20993 * benchtests/bench-strnlen.c: Likewise.
20994 * benchtests/bench-strpbrk.c: Likewise.
20995 * benchtests/bench-strrchr.c: Likewise.
20996 * benchtests/bench-strspn.c: Likewise.
20997 * benchtests/bench-strstr.c: Likewise.
20998
cae16d66
WN
209992013-09-04 Will Newton <will.newton@linaro.org>
21000
21001 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
21002
ffa3cd7f
JM
210032013-09-03 Joseph Myers <joseph@codesourcery.com>
21004
21005 [BZ #15427]
21006 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
21007 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
21008 * math/libm-test.inc (lgamma_test_data): Add more tests.
21009 * sysdeps/i386/fpu/libm-test-ulps: Update.
21010 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21011
8f02859f
OB
210122013-09-03 Ondřej Bílka <neleai@seznam.cz>
21013
21014 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
21015 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
21016 Add ifunc.
21017 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
21018 Add strcmp-sse2-unaligned
21019 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
21020
18d43716
MF
210212013-09-02 Mike Frysinger <vapier@gentoo.org>
21022
21023 * Versions.def (libc): Add GLIBC_2.19.
21024
ac444012
MF
210252013-09-02 Mike Frysinger <vapier@gentoo.org>
21026
21027 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
21028 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
21029
b7835e32
JM
210302013-09-02 Joseph Myers <joseph@codesourcery.com>
21031
21032 [BZ #14155]
21033 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
21034 intermediate calculations in recurrence.
21035 (__ieee754_ynf): Likewise.
21036 * math/libm-test.inc (jn_test_data): Do not allow spurious
21037 underflow exception. Add more tests.
21038 (yn_test_data): Add more tests.
21039 * sysdeps/i386/fpu/libm-test-ulps: Update.
21040 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21041
8220f4f0
OB
210422013-09-02 Ondřej Bílka <neleai@seznam.cz>
21043
21044 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
21045
f24a6d08
OB
210462013-08-30 Ondřej Bílka <neleai@seznam.cz>
21047
21048 * csu/init-first.c: Fix then/than typos.
21049 * locale/programs/ld-collate.c: Likewise.
21050 * locale/programs/linereader.h: Likewise.
21051 * manual/charset.texi: Likewise.
21052 * manual/filesys.texi: Likewise.
21053 * manual/stdio.texi: Likewise.
21054 * manual/string.texi: Likewise.
21055 * stdlib/fmtmsg.c: Likewise.
21056 * sysdeps/i386/stpncpy.S: Likewise.
21057 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
21058 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
21059 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
21060 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
21061
382466e0
OB
210622013-08-30 Ondřej Bílka <neleai@seznam.cz>
21063
21064 * elf/dl-open.c: Fix typos.
21065 * iconvdata/gbbig5.c: Likewise.
21066 * iconvdata/iso-2022-jp.c: Likewise.
21067 * iconv/gconv_int.h: Likewise.
21068 * iconv/loop.c: Likewise.
21069 * nis/rpcsvc/nis.h: Likewise.
21070 * resolv/ns_name.c: Likewise.
21071 * stdio-common/vfscanf.c: Likewise.
21072 * streams/stropts.h: Likewise.
21073 * sunrpc/rpc_thread.c: Likewise.
21074 * sysdeps/i386/strpbrk.S: Likewise.
21075 * sysdeps/ieee754/k_standard.c: Likewise.
21076 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
21077 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
21078 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
21079 * sysdeps/mach/hurd/profil.c: Likewise.
21080 * sysdeps/s390/dl-procinfo.h: Likewise.
21081 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
21082 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
21083 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
21084 * sysdeps/x86_64/dl-trampoline.S: Likewise.
21085 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
21086
0186c6e9
OB
210872013-08-30 Ondřej Bílka <neleai@seznam.cz>
21088
21089 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
21090 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
21091
d4e16af1
OB
210922013-08-29 Ondřej Bílka <neleai@seznam.cz>
21093
21094 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
21095 aix specific files.
21096 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
21097 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
21098 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
21099 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
21100 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
21101 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
21102 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
21103 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
21104
88335980
TS
211052013-08-29 Thomas Schwinge <thomas@codesourcery.com>
21106 Roland McGrath <roland@hack.frob.com>
21107
21108 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
21109 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
21110
ed479b02
ST
211112013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
21112
21113 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
21114 __executable_start symbol instead of _start.
21115
f1cc4c86
TS
211162013-08-29 Thomas Schwinge <thomas@codesourcery.com>
21117
d821f07c
TS
21118 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
21119 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
21120 Move macros to...
21121 * sysdeps/gnu/ldsodefs.h: ... this new file.
21122
c54290cf
TS
21123 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
21124 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
21125 instead of ELFOSABI_LINUX.
21126
0007fc9b 21127 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
0007fc9b
TS
21128 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
21129 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
21130 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
21131 Likewise.
21132 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
21133 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
21134 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
21135 Likewise.
21136 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
21137 (ibm_extended_long_double): Add ieee_nan member.
21138 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
21139 (do_test): New function.
21140
f1cc4c86
TS
21141 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
21142 TEST_TRUNC.
21143 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
21144 functions, renamed from truncdfsf_test, trunctfsf_test,
21145 trunctfdf_test.
21146 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
21147 functions.
21148 (do_test): Run all these.
21149
6f65e668
OB
211502013-08-29 Ondřej Bílka <neleai@seznam.cz>
21151
21152 * argp/argp-help.c: Fix typos.
21153 * argp/argp-parse.c: Likewise.
21154 * debug/backtracesyms.c: Likewise.
21155 * elf/elf.h: Likewise.
21156 * malloc/malloc.c: Likewise.
21157 * nis/nis_print.c: Likewise.
21158 * resolv/res_comp.c: Likewise.
21159 * stdlib/stdlib.h: Likewise.
21160 * sunrpc/clnt_tcp.c: Likewise.
21161 * sunrpc/clnt_udp.c: Likewise.
21162 * sunrpc/clnt_unix.c: Likewise.
21163 * sysdeps/unix/bsd/ptsname.c: Likewise.
21164 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
21165 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
99541e80
RM
21166 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
21167 Likewise.
21168 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
21169 Likewise.
21170 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
21171 Likewise.
6f65e668
OB
21172 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
21173
3a309239
SP
211742013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
21175
21176 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
21177 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
21178
3b813b29
MF
211792013-08-27 Mike Frysinger <vapier@gentoo.org>
21180
21181 [BZ #15897]
21182 * dlfcn/Makefile (tests): Add bug-dl-leaf.
21183 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
21184 ($(objpfx)bug-dl-leaf): New rule.
21185 ($(objpfx)bug-dl-leaf.so): Likewise.
21186 ($(objpfx)bug-dl-leaf.out): Likewise.
21187 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
21188 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
21189 * dlfcn/bug-dl-leaf.c: New test.
21190 * dlfcn/bug-dl-leaf-lib.c: Likewise.
21191 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
21192 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
21193 (dlclose): Likewise.
21194 (dlmopen): Likewise.
21195
8cc3269f
RM
211962013-08-27 Roland McGrath <roland@hack.frob.com>
21197
7f9d0034
RM
21198 * include/netdb.h [!_ISOMAC]:
21199 Don't include <tls.h>.
21200 (h_errno, __libc_h_errno): Move declaration and macros out of
21201 [_LIBC_REENTRANT].
21202
fb431262
RM
21203 * include/resolv.h [_RESOLV_H_]:
21204 Don't include <tls.h>.
21205 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
21206 * resolv/res_libc.c: Don't include <tls.h>.
21207 (_res): Use __attribute__ ((nocommon)) in place of
21208 __attribute__ ((section (".bss"))).
21209
bd81123a
RM
21210 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
21211 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
21212
c4e42566
RM
21213 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
21214
f890a59b
RM
21215 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
21216 only under [SIOCGIFCONF && SIOCGIFNETMASK].
21217
21218 * resolv/res_mkquery.c: Include <sys/time.h>.
21219
5d1f0a09
RM
21220 * inet/ifreq.c: Moved to ...
21221 * sysdeps/unix/ifreq.c: ... here.
21222 * inet/ifreq.c: New file, true stub version.
21223
6fcf28b3
RM
21224 * socket/sa_len.c: New file.
21225 * socket/Makefile (aux): Add it.
21226 * sysdeps/unix/sysv/linux/Makefile
21227 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
21228 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
21229 and #include <socket/sa_len.c>.
21230 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
21231 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
21232
e041fb8b
RM
21233 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
21234 * bits/socket.h: ... here.
21235
8cc3269f
RM
21236 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
21237 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
21238 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
21239
5d228a43
AS
212402013-08-27 Andreas Schwab <schwab@suse.de>
21241
45b8accc
AS
21242 [BZ #15736]
21243 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
21244 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
21245 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
21246 * string/test-strcasecmp.c (test_main): Run tests in several
21247 locales.
21248 * string/test-strncasecmp.c (test_main): Likewise.
21249
5d228a43
AS
21250 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
21251 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
21252 to __strcasecmp_nonascii and __strncasecmp_nonascii.
21253 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
21254 (__strncasecmp_ssse3) [PIC]: Likewise.
21255
59d112a4
RM
212562013-08-26 Roland McGrath <roland@hack.frob.com>
21257
53234cc3
RM
21258 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
21259
59d112a4
RM
21260 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
21261 instead of explicitly declaring xdecrypt.
21262 * nis/nss_nis/nis-publickey.c: Likewise.
21263
595aba70
SP
212642013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
21265
21266 [BZ #15890]
21267 * nscd/aicache.c: Include res_hconf.h.
21268 (addhstaiX): Initialize res_hconf.
21269
ffabd393
AS
212702013-08-26 Andreas Schwab <schwab@suse.de>
21271
21272 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
21273 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
21274
e0a69f5c
SP
212752013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
21276
21277 * nscd/aicache.c (addhstaiX): Fix indentation.
21278
8c12f01d
MF
212792013-08-25 Mike Frysinger <vapier@gentoo.org>
21280
21281 * configure.ac: Quote $build_pt_chown test.
21282 * configure: Regenerated.
21283
8fe89494
JM
212842013-08-23 Joseph Myers <joseph@codesourcery.com>
21285
21286 [BZ #15532]
21287 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
21288 * math/s_cexpf.c (__cexpf): Likewise.
21289 * math/s_cexpl.c (__cexpl): Likewise.
21290 * math/libm-test.inc (cexp_test_data): Correct expected return
21291 value for NaN + i0. Add another test.
21292
75b181d6
DM
212932013-08-22 David S. Miller <davem@davemloft.net>
21294
21295 * po/ca.po: Update Catalan translation from translation project.
936241e4 21296 * po/uk.po: Add Ukrainian translations from translation project.
75b181d6 21297
acd06bb1
JM
212982013-08-21 Joseph Myers <joseph@codesourcery.com>
21299
21300 [BZ #15797]
21301 * math/s_fdim.c (__fdim): Check for infinite arguments if result
21302 is infinite, not alongside NaN test.
21303 * math/s_fdimf.c (__fdimf): Likewise.
21304 * math/s_fdiml.c (__fdiml): Likewise.
21305 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
21306 errno is unchanged.
21307
c0c3f78a
OB
213082013-08-21 Ondřej Bílka <neleai@seznam.cz>
21309
21310 * argp/argp-help.c: Fix typos.
21311 * crypt/speeds.c: Likewise.
21312 * csu/check_fds.c: Likewise.
21313 * elf/dl-load.c: Likewise.
21314 * elf/dl-open.c: Likewise.
21315 * elf/reldep3.c: Likewise.
21316 * elf/reldep.c: Likewise.
21317 * elf/sprof.c: Likewise.
21318 * iconv/iconv_charmap.c: Likewise.
21319 * iconv/skeleton.c: Likewise.
21320 * iconv/strtab.c: Likewise.
21321 * io/lockf64.c: Likewise.
21322 * libio/libioP.h: Likewise.
21323 * resolv/gai_notify.c: Likewise.
21324 * resolv/ns_name.c: Likewise.
21325 * resolv/ns_samedomain.c: Likewise.
21326 * resolv/res_send.c: Likewise.
21327 * stdlib/random.c: Likewise.
21328 * sunrpc/rpc/xdr.h: Likewise.
21329 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
21330 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
21331 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
21332 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
21333 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
21334 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
21335 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
21336 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
21337 * sysdeps/mach/hurd/check_fds.c: Likewise.
21338 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
21339 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
21340 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
21341 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
21342 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
21343 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
21344 * sysdeps/pthread/aio_notify.c: Likewise.
21345 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
21346 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
21347 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
21348 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
21349 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
21350
46ed1038
LD
213512013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
21352
21353 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
21354 version if bit_Slow_SSE4_2 is set.
21355 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
21356 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
21357
d400dcac
AZ
213582013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21359
21360 [BZ #15867]
21361 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
21362 trampoline stack frame information.
21363 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
21364 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
21365 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
21366 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
21367 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
21368 * sysdeps/unix/sysv/linux/powerpc/init-first.c
21369 (_libc_vdso_platform_setup): Initialize the signal trampolines.
21370 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
21371 sa_flags value.
21372 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
21373 interrupting a syscall and set with option SA_SIGINFO.
21374
42c8fdd8
JM
213752013-08-20 Joseph Myers <joseph@codesourcery.com>
21376
c980f2f4
JM
21377 [BZ #15531]
21378 * math/s_cproj.c (__cproj): Only return an infinity if one part of
21379 argument is infinite.
21380 * math/s_cprojf.c (__cprojf): Likewise.
21381 * math/s_cprojl.c (__cprojl): Likewise.
21382 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
21383 * math/libm-test.inc (cproj_test_data): Add more tests.
21384
0716c4fc
JM
21385 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
21386
42c8fdd8
JM
21387 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
21388 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
21389 size. Use __ffs to determine corresponding shift.
21390
b31469d0
JM
213912013-08-20 Joseph Myers <joseph@codesourcery.com>
21392 Roland McGrath <roland@hack.frob.com>
21393
21394 * Makefile (INSTALL): Remove trailing blank lines from output of
21395 makeinfo.
21396
4e39af6e
AK
213972013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21398
21399 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
21400 Align 32 bit compat elf_greg to 8 bytes.
21401
f315524e
AA
214022013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
21403
21404 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
21405
1326ba1a
SP
214062013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
21407
21408 * string/strcoll_l.c (coll_seq): New structure.
21409 (get_next_seq_cached): New function.
21410 (get_next_seq): New function.
21411 (do_compare): New function.
21412 (STRCOLL): Use GNU style definition. Simplify implementation
21413 by using get_next_seq, get_next_seq_cached and do_compare.
21414
91ce4085
FW
214152013-08-16 Florian Weimer <fweimer@redhat.com>
21416
21417 [BZ #14699]
21418 CVE-2013-4237
21419 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
21420 member.
21421 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
21422 member.
21423 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
21424 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
21425 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
21426 conditional.
21427 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
21428 GETDENTS_64BIT_ALIGNED.
21429 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
21430 * manual/filesys.texi (Reading/Closing Directory): Document
21431 ENAMETOOLONG return value of readdir_r. Recommend readdir more
21432 strongly.
21433 * manual/conf.texi (Limits for Files): Add portability note to
21434 NAME_MAX, PATH_MAX.
21435 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
21436
ca0a6bc4
AS
214372013-08-13 Andreas Schwab <schwab@suse.de>
21438
21439 [BZ #15749]
21440 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
21441 of fabs.
21442 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
21443 LDBL_MAX_EXP >= 16384]: Add tests for it.
21444
6c1fd795
DM
214452013-08-12 David S. Miller <davem@davemloft.net>
21446
21447 * version.h (RELEASE): Set to "development".
21448 (VERSION): Set to "2.18.90".
21449 * NEWS: Add 2.19 section.
21450
31ad488d
DM
214512013-08-03 David S. Miller <davem@davemloft.net>
21452
21453 * po/ko.po: Update Korean translation from translation project.
21454
db24e684
DM
214552013-08-01 David S. Miller <davem@davemloft.net>
21456
21457 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
21458 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
21459 Bilka.
21460
f723285b
DM
214612013-07-30 David S. Miller <davem@davemloft.net>
21462
21463 * po/fr.po: Update French translation from translation project.
21464
3cbc52db
DM
214652013-07-28 David S. Miller <davem@davemloft.net>
21466
30bbc0cc
DM
21467 * po/cs.po: Update Czech translation from translation project.
21468
3cbc52db
DM
21469 * po/sv.po: Update Swedish translation from translation project.
21470
d492e6d0
DM
214712013-07-27 David S. Miller <davem@davemloft.net>
21472
f1a7f492
DM
21473 * po/eo.po: Update Esperanto translation from translation project.
21474
90e62a4a
DM
21475 * po/vi.po: Update Vietnamese translation from translation project.
21476
d492e6d0
DM
21477 * po/de.po: Update German translation from translation project.
21478
d4baa62d
DM
214792013-07-26 David S. Miller <davem@davemloft.net>
21480
641aa7b4
DM
21481 * po/bg.po: Update Bulgarian translation from translation project.
21482
d4baa62d
DM
21483 * po/nl.po: Update Dutch translation from translation project.
21484 * po/pl.po: Update Polish translation from translation project.
21485 * po/ru.po: Update Russian translation from translation project.
21486
61a9dcb9
DM
214872013-07-24 David S. Miller <davem@davemloft.net>
21488
21489 * po/libc.pot: Update.
21490
7b1f8b58
AZ
214912013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21492
21493 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
21494 variable page size.
21495 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
21496 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
21497 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
21498
a8fc7a03
AK
214992013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21500
21501 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
21502
e4608715
CD
215032013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
21504 Andreas Schwab <schwab@suse.de>
21505 Roland McGrath <roland@hack.frob.com>
21506 Joseph Myers <joseph@codesourcery.com>
21507 Carlos O'Donell <carlos@redhat.com>
21508
21509 [BZ #15755]
21510 * config.h.in: Define HAVE_PT_CHOWN.
21511 * config.make.in (build-pt-chown): New variable.
21512 * configure.in (--enable-pt_chown): New configure option.
21513 * configure: Regenerate.
21514 * login/Makefile: Include Makeconfig. Build pt_chown only if
21515 build-pt-chown is enabled.
21516 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
21517 pt_chown to fix pty ownership.
21518 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
21519 CLOSE_ALL_FDS.
21520 * manual/install.texi (Configuring and compiling): Mention
21521 --enable-pt_chown. Add @findex for grantpt.
21522 * INSTALL: Regenerate.
21523
da2d62df
DM
215242013-07-20 David S. Miller <davem@davemloft.net>
21525
21526 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
21527 difference between 32-bit and 64-bit.
21528
d7e06450
CD
215292013-07-15 Carlos O'Donell <carlos@redhat.com>
21530
21531 [BZ #15711]
21532 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
21533 Avoid system header dependency with -ffreestanding.
21534 ($(objpfx)bits/syscall%d): Likewise.
21535
f959cfd7
DM
215362013-07-13 David S. Miller <davem@davemloft.net>
21537
21538 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
21539 underflows from atanl/atan2l due to bug 15319.
21540 (casinh_test_data): Likewise.
21541
c61f8513
DM
215422013-07-07 David S. Miller <davem@davemloft.net>
21543
21544 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
21545
72c90ed0
JA
215462013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
21547
21548 * sysdeps/i386/fpu/libm-test-ulps: Update.
21549 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21550
52dfbe13
SP
215512013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
21552
21553 * configure.in (--enable-lock-elision): Fix message text.
21554 * INSTALL: Regenerate.
21555 * configure: Regenerate.
21556
3f169543
AZ
215572013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21558
21559 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21560
521c6785
AJ
215612013-07-03 Andreas Jaeger <aj@suse.de>
21562
21563 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
21564 define.
21565 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
21566 (ptrace_peeksiginfo_args): Add.
21567 (__ptrace_peeksiginfo_flags): Add.
21568 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
21569 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
21570 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
21571
d2cc15cb
AM
215722013-07-03 Allan McRae <allan@archlinux.org>
21573
21574 * sysdeps/i386/fpu/libm-test-ulps: Update.
21575
3aaeeca7
DM
215762013-07-02 David S. Miller <davem@davemloft.net>
21577
21578 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21579
5314ed1a
MT
215802013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
21581
21582 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21583
67338156
JM
215842013-07-02 Joseph Myers <joseph@codesourcery.com>
21585
21586 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
21587 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21588
1717da59
AK
215892013-07-02 Andi Kleen <ak@linux.intel.com>
21590
21591 * config.h.in (ENABLE_LOCK_ELISION): Add.
21592 * configure.in (--enable-lock-elision): Add option.
21593 * manual/install.texi: Document --enable lock elision.
21594 * configure: Regenerate
21595 * INSTALL: Regenerate.
21596
1c81621c
L
215972013-07-02 H.J. Lu <hongjiu.lu@intel.com>
21598
21599 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
21600 SSE4.2 strcasecmp for libc.a.
21601 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
21602
77f01ab5
JM
216032013-07-02 Joseph Myers <joseph@codesourcery.com>
21604
21605 [BZ #13304]
21606 * soft-fp/op-common.h (_FP_FMA): New macro.
21607 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
21608 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
21609 (_FP_MUL_MEAT_1_imm): ... here.
21610 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
21611 (_FP_MUL_MEAT_1_wide): ... here.
21612 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
21613 (_FP_MUL_MEAT_1_hard): ... here.
21614 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
21615 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
21616 (_FP_MUL_MEAT_2_wide): ... here.
21617 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
21618 (_FP_MUL_MEAT_2_wide_3mul): ... here.
21619 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
21620 (_FP_MUL_MEAT_2_gmp): ... here.
21621 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
21622 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
21623 (_FP_MUL_MEAT_4_wide): ... here.
21624 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
21625 (_FP_MUL_MEAT_4_gmp): ... here.
21626 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
21627 (_FP_WFRACBITS_DW_S): Likewise.
21628 (_FP_WFRACXBITS_DW_S): Likewise.
21629 (_FP_HIGHBIT_DW_S): Likewise.
21630 (FP_FMA_S): Likewise.
21631 (_FP_FRAC_HIGH_DW_S): Likewise.
21632 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
21633 (_FP_WFRACBITS_DW_D): Likewise.
21634 (_FP_WFRACXBITS_DW_D): Likewise.
21635 (_FP_HIGHBIT_DW_D): Likewise.
21636 (FP_FMA_D): Likewise.
21637 (_FP_FRAC_HIGH_DW_D): Likewise.
21638 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
21639 (_FP_WFRACBITS_DW_E): Likewise.
21640 (_FP_WFRACXBITS_DW_E): Likewise.
21641 (_FP_HIGHBIT_DW_E): Likewise.
21642 (FP_FMA_E): Likewise.
21643 (_FP_FRAC_HIGH_DW_E): Likewise.
21644 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
21645 (_FP_WFRACBITS_DW_Q): Likewise.
21646 (_FP_WFRACXBITS_DW_Q): Likewise.
21647 (_FP_HIGHBIT_DW_Q): Likewise.
21648 (FP_FMA_Q): Likewise.
21649 (_FP_FRAC_HIGH_DW_Q): Likewise.
21650 * soft-fp/fmasf4.c: New file.
21651 * soft-fp/fmadf4.c: Likewise.
21652 * soft-fp/fmatf4.c: Likewise.
21653
6308fd9a
LD
216542013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
21655
21656 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
21657 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
21658 Silvermont.
21659 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
21660 macro.
21661 (index_Slow_SSE4_2): Likewise.
21662 (index_Prefer_PMINUB_for_stringop): Likewise.
21663 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
21664 bit_Slow_SSE4_2 is set.
21665 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
21666 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
21667
89cd9569
RA
216682013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
21669
21670 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
21671 rtld_global._dl_hwcap2.
21672 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
21673 POWER8.
21674 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
21675 POWER8 feature descriptions defined in _dl_hwcap2.
21676 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
21677 string handling for POWER8 feature bits.
21678 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
21679 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
21680 _dl_powerpc_cap_flags.
21681 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
21682 * sysdeps/powerpc/rtld-global-offsets.sym
21683 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
21684 _dl_hwcap2 in the rtld_global_ro structure.
21685
1ae8bfe0
RA
216862013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
21687
21688 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
21689 hardware capabilities in support of AT_HWCAP2.
21690 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
21691 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
21692 GLRO(dl_hwcap2).
21693 (_dl_show_auxv): Add support for calling _dl_procinfo to display
21694 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
21695 explicitly the unknown a_type display mechanism is used.
21696 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
21697 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
21698 struct member.
21699 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
21700 to macro prototype for AT_HWCAP2 support.
21701 * sysdeps/i386/dl-procinfo.h: Likewise.
21702 * sysdeps/s390/dl-procinfo.h: Likewise.
21703 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
21704 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
21705 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
21706 return -1 for unknown a_type display fallback.
21707 * sysdeps/sparc/dl-procinfo.h: Likewise.
21708 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
21709 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
21710
8fbec010
JM
217112013-06-28 Joseph Myers <joseph@codesourcery.com>
21712
21713 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
21714 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
21715
0432680e
PY
217162013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
21717
21718 [BZ #12492]
21719 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
21720 mprotect making __stack_prot writable.
21721
ce61a2ad
NF
217222013-06-28 Nathan Froyd <froydnj@codesourcery.com>
21723 Joseph Myers <joseph@codesourcery.com>
21724
21725 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
21726 as being properly aligned.
21727
f91f1c0f
MR
217282013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
21729
3d0f5d0c
MR
21730 * dlfcn/modstatic5.c: New file.
21731 * dlfcn/tststatic5.c: New file.
21732 * dlfcn/Makefile (tests): Add tststatic5.
21733 (tests-static): Likewise.
21734 (modules-names): Add modstatic5.
21735 (tststatic5-ENV): New variable.
21736 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
21737
f91f1c0f
MR
21738 [BZ #15022]
21739 * elf/dl-support.c (_dl_main_map): New variable.
21740 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
21741 (_dl_nns, _dl_load_adds): Set to 1.
21742 (_dl_initial_searchlist): Refer to _dl_main_map.
21743 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
21744 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
21745 call to _dl_get_origin.
21746 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
21747 around call_map.
21748 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
21749 * dlfcn/modstatic3.c: New file.
21750 * dlfcn/tststatic3.c: New file.
21751 * dlfcn/tststatic4.c: New file.
21752 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
21753 (tests-static): Likewise.
21754 (modules-names): Add modstatic3.
21755 (tststatic3-ENV, tststatic4-ENV): New variables.
21756 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
21757 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
21758
cbe7d24b
JM
217592013-06-26 Joseph Myers <joseph@codesourcery.com>
21760
21761 * configure.in (CC): Require GCC version 4.4 or later.
21762 * configure: Regenerated.
21763 * manual/install.texi (Tools for Compilation): Update GCC version
21764 requirement.
21765 * INSTALL: Regenerated.
21766
11b8a0e1
LD
217672013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
21768
21769 [BZ #15674]
bb5bb87c
L
21770 * string/test-memcmp.c (check2): New.
21771 (main): Call check2.
21772
11b8a0e1
LD
21773 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
21774
b0037103
MR
217752013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
21776
21777 [BZ #15022]
21778 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
21779 over to...
21780 (dl_open_worker) [!SHARED]: ... here.
21781
c18c701d
RA
217822013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
21783
21784 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
21785
1d17fa5f
RH
217862013-06-25 Richard Henderson <rth@redhat.com>
21787
21788 * locale/programs/locarchive.c: Include <libc-internal.h>
21789
8fcb833a
JM
217902013-06-25 Joseph Myers <joseph@codesourcery.com>
21791
21792 * manual/texinfo.tex: Update to version 2013-06-21.17, with
21793 trailing whitespace removed.
21794
17db6e8d
MF
217952013-06-24 Mike Frysinger <vapier@gentoo.org>
21796
21797 [BZ #10283]
17db6e8d
MF
21798 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
21799 * locale/programs/locarchive.c: Include libc-mmap.h.
21800 (prepare_address_space): Take two new outputs (the mmap base and len).
21801 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
21802 values.
21803 (create_archive): Declare new mmap base and len values for
21804 prepare_address_space, and store the result in ah.
21805 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
21806 (enlarge_archive): If ah->mmap_base is not NULL, use that and
21807 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
21808 Declare new mmap base and len values for
21809 prepare_address_space, and store the result in new_ah.
21810 (open_archive): Declare new mmap base and len values for
21811 prepare_address_space, and store the result in ah.
21812 (close_archive): If ah->mmap_base is not NULL, use that and
21813 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
21814 * sysdeps/generic/libc-mmap.h: New file.
21815
d605071e
MF
218162013-06-24 Mike Frysinger <vapier@gentoo.org>
21817
21818 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
21819 (ALIGN_UP): Likewise.
21820 (PTR_ALIGN_DOWN): Likewise.
21821 (PTR_ALIGN_UP): Likewise.
21822
2f063a6e
RA
218232013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
21824
21825 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
21826 entry mapped to PPC_PLATFORM_POWER8.
21827 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
21828 POWER8.
21829 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
21830 (_dl_string_platform): Add case for exporting platform position for
21831 POWER8.
21832 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
21833 search path to sysdeps/powerpc/powerpc32/power8 directory.
21834 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
21835 search path to sysdeps/powerpc/powerpc64/power8 directory.
21836 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
21837 power7 directories.
21838 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
21839 power7 directories.
21840
a31ee4b3
SP
218412013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
21842
a74ca98f
SP
21843 * INSTALL: Regenerate.
21844
a31ee4b3
SP
21845 * nscd/connections.c (nscd_init): Fix comment.
21846
695c378f
JM
218472013-06-22 Joseph Myers <joseph@codesourcery.com>
21848
d8412221
JM
21849 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
21850
695c378f
JM
21851 [BZ #15667]
21852 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
21853 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
21854
d1d54715
MR
218552013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
21856
21857 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
21858 DL_DST_REQ_STATIC.
21859 (DL_DST_REQ_STATIC): Remove macro.
21860
8fdda7af
JM
218612013-06-21 Joseph Myers <joseph@codesourcery.com>
21862
21863 [BZ #7006]
21864 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
21865 with a shift of 0 bits.
21866
f3bc5e5a
MR
218672013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
21868
21869 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
21870 $(tststatic-ENV).
21871
be09e8c9
KK
218722013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
21873
21874 [BZ #15655]
21875 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
21876
85c2e611
AZ
218772013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21878
21879 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
21880 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
21881 accepts -fno-tree-loop-distribute-patterns.
21882 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
21883 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
21884 recursive call.
21885 * string/memset.c (memset): Likewise.
21886 * string/test-memmove.c (simple_memmove): Disable loop transformation
21887 to library calls.
21888 * string/test-memset.c (simple_memset): Likewise.
21889 * benchtests/bench-memmove.c (simple_memmove): Likewise.
21890 * benchtests/bench-memset.c (simple_memset): Likewise.
21891 * configure: Regenerated.
21892
c91e0825
JM
218932013-06-20 Joseph Myers <joseph@codesourcery.com>
21894
b8c792af
JM
21895 * math/test-misc.c (main): Ignore fesetround failure when failures
21896 of subsequent rounding tests would be ignored.
21897
c91e0825
JM
21898 [BZ #15654]
21899 * math/fedisblxcpt.c (fedisableexcept): Return 0.
21900 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
21901 * math/fegetenv.c (__fegetenv): Return 0.
21902 * math/fegetexcept.c (fegetexcept): Return 0.
21903 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
21904 FE_TONEAREST.
21905 * math/feholdexcpt.c (feholdexcept): Return 0.
21906 * math/fesetenv.c (__fesetenv): Return 0.
21907 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
21908 argument FE_TONEAREST.
21909 * math/feupdateenv.c (__feupdateenv): Return 0.
21910 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
21911
bfcacbde
RM
219122013-06-18 Roland McGrath <roland@hack.frob.com>
21913
21914 * elf/rtld-Rules (rtld-compile-command.S): New variable.
21915 (rtld-compile-command.s, rtld-compile-command.c): New variables.
21916 ($(objpfx)rtld-%.os rules): Use them.
21917
e55a9b25
AZ
219182013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21919
21920 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
21921 fields.
21922
346d65b3
RM
219232013-06-17 Roland McGrath <roland@hack.frob.com>
21924
12086fb4
RM
21925 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
21926 length of target pattern, then descending length of dependency pattern.
21927 * configure.in (AWK): Require gawk 3.1.2 or newer.
21928 * manual/install.texi (Tools for Compilation): Say that we do.
21929 * configure: Regenerated.
21930
346d65b3
RM
21931 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
21932 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
21933 * scripts/sysd-rules.awk: ... this new script.
21934 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
21935 than a glob-style pattern.
21936
1a846317
JM
219372013-06-17 Joseph Myers <joseph@codesourcery.com>
21938
21939 * math/test-misc.c (main): Do not treat incorrectly rounded
21940 conversions as failure unless ROUNDING_TESTS passes.
21941
8fc75e6f
JM
219422013-06-15 Joseph Myers <joseph@codesourcery.com>
21943
3711a167
JM
21944 [BZ #15631]
21945 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
21946 restore exception state around main square root computation, then
21947 check for inexactness explicitly.
21948
8fc75e6f
JM
21949 * math/libm-test.inc (fma_test_data): Add another test.
21950
61dd6208
SP
219512013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
21952
adf23d2c
SP
21953 * manual/threads.texi (Non-POSIX Extensions): New document
21954 node. Document pthread_getattr_default_np and
21955 pthread_setattr_default_np.
21956
61dd6208
SP
21957 * Versions.def (libpthread): Add GLIBC_2.18.
21958 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
21959 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
21960 Likewise.
21961 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
21962 Likewise.
21963 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
21964 Likewise.
21965 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
21966 Likewise.
21967 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
21968 Likewise.
21969 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
21970 Likewise.
21971 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
21972 Likewise.
21973 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
21974 Likewise.
21975 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
21976 Likewise.
21977
d086fc7b
LD
219782013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
21979
21980 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21981 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
21982
747ef469
SP
219832013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
21984 H.J. Lu <hjl.tools@gmail.com>
21985
21986 [BZ #15627]
21987 * sysdeps/x86_64/rtld-memset.c: Remove file.
21988 * sysdeps/x86_64/rtld-memset.S: New file.
21989
1b2feed2
JM
219902013-06-14 Joseph Myers <joseph@codesourcery.com>
21991
21992 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
21993 (test_in_one_mode): Take arguments for whether the rounding mode
21994 is supported for each floating-point type.
21995 (do_test): Pass new arguments to test_in_one_mode using
21996 ROUNDING_TESTS.
21997
a58ad3f8
RM
219982013-06-13 Roland McGrath <roland@hack.frob.com>
21999
22000 * posix/tst-waitid.c (do_test): Distinguish different instances of
22001 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
22002 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
22003 before entering the kernel for waitpid.
22004
c204ab28
SP
220052013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
22006
22007 * NEWS: Fix note on clock function precision. Text by Roland
22008 McGrath.
22009
f4a29fba
RM
220102013-06-13 Roland McGrath <roland@hack.frob.com>
22011
22012 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
22013 it into place only when and if the sanity check passes.
22014
1f24b9ad
JM
220152013-06-13 Joseph Myers <joseph@codesourcery.com>
22016
22017 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
22018 output for whether conversion result is exact. Take argument
22019 indicating whether type is IBM long double.
22020 (round_for_all): Change need_exact field to ibm_ld.
22021 * stdlib/tst-strtod-round.c (struct exactness): New type.
22022 (struct test): Change bool ld_ok field to struct exactness exact.
22023 (TEST): Update all definitions for change to field.
22024 (tests): Regenerate array contents.
22025 (test_in_one_mode): Take pointer to new field instead of old ld_ok
22026 field value. Check for IBM long double here.
22027 (do_test): Update calls to test_in_one_mode.
22028
58206c68
SP
220292013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
22030
22031 [BZ #12515]
22032 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
22033 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
22034
2d6f4c5b 220352013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
22036
22037 [BZ #15605]
22038 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
22039 generated by the compiler on loop optimizations.
22040 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
22041 general definitions.
22042
94f2c076
JM
220432013-06-12 Joseph Myers <joseph@codesourcery.com>
22044
22045 * math/bug-nextafter.c: Include <math-tests.h>.
22046 (main): Only test for exceptions if EXCEPTION_TESTS is true for
22047 the relevant type.
22048 * math/bug-nexttoward.c: Include <math-tests.h>.
22049 (main): Only test for exceptions if EXCEPTION_TESTS is true for
22050 the relevant type.
22051 * math/test-misc.c: Include <math-tests.h>.
22052 (main): Only test for exceptions if EXCEPTION_TESTS is true for
22053 the relevant type.
22054
e0e50a0a
AJ
220552013-06-12 Andreas Jaeger <aj@suse.de>
22056
22057 * po/ia.po: Update Interlingua translation from translation
22058 project.
22059
25061094
SP
220602013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
22061
22062 * include/fenv.h: Include stdbool.h.
22063 (struct rm_ctx): New structure.
22064 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
22065 Define macro.
22066 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
22067 (SET_RESTORE_ROUNDF): Likewise.
22068 (SET_RESTORE_ROUNDL): Likewise.
22069 (SET_RESTORE_ROUND_NOEX): Likewise.
22070 (SET_RESTORE_ROUND_NOEXF): Likewise.
22071 (SET_RESTORE_ROUND_NOEXL): Likewise.
22072 (SET_RESTORE_ROUND_53BIT): Likewise.
22073 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
22074 (libc_feresetround_noexf_ctx): Likewise.
22075 (libc_feresetround_noexl_ctx): Likewise.
22076 (libc_feholdsetround_53bit_ctx): Likewise.
22077 (libc_feresetround_53bit_ctx): Likewise.
22078 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
22079 (libc_feholdexcept_setround_sse_ctx): New function.
22080 (libc_fesetenv_sse_ctx): Likewise.
22081 (libc_feupdateenv_sse_ctx): Likewise.
22082 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
22083 (libc_feholdexcept_setround_387_ctx): Likewise.
22084 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
22085 (libc_feholdsetround_387_prec_ctx): Likewise.
22086 (libc_feholdsetround_387_ctx): Likewise.
22087 (libc_feholdsetround_387_53bit_ctx): Likewise.
22088 (libc_feholdsetround_sse_ctx): Likewise.
22089 (libc_feresetround_sse_ctx): Likewise.
22090 (libc_feresetround_387_ctx): Likewise.
22091 (libc_feupdateenv_387_ctx): Likewise.
22092 (libc_feholdexcept_setroundf_ctx): Define macro.
22093 (libc_fesetenvf_ctx): Likewise.
22094 (libc_feupdateenvf_ctx): Likewise.
22095 (libc_feholdsetroundf_ctx): Likewise.
22096 (libc_feresetroundf_ctx): Likewise.
22097 (libc_feholdexcept_setround_ctx): Likewise.
22098 (libc_fesetenv_ctx): Likewise.
22099 (libc_feupdateenv_ctx): Likewise.
22100 (libc_feholdsetround_ctx): Likewise.
22101 (libc_feresetround_ctx): Likewise.
22102 (libc_feholdexcept_setroundl_ctx): Likewise.
22103 (libc_feupdateenvl_ctx): Likewise.
22104 (libc_feholdsetroundl_ctx): Likewise.
22105 (libc_feresetroundl_ctx): Likewise.
22106 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
22107 (libc_feresetround_53bit_ctx): Likewise.
22108
59b30555
SP
221092013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
22110
22111 * locale/iso-639.def: Convert to UTF-8.
22112
f1d73d30
JM
221132013-06-11 Joseph Myers <joseph@codesourcery.com>
22114
22115 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
22116 (EXCEPTION_TESTS_double): Likewise.
22117 (EXCEPTION_TESTS_long_double): Likewise.
22118 (EXCEPTION_TESTS): Likewise.
22119 * math/libm-test.inc (test_exceptions): Only test exceptions if
22120 EXCEPTION_TESTS (FLOAT).
22121
94aca5e7
SP
221222013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
22123
22124 * benchtests/Makefile (string-bench): Add strcpy_chk and
22125 stpcpy_chk.
22126 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
22127 * benchtests/bench-stpcpy_chk.c: New file.
22128 * benchtests/bench-strcpy_chk-ifunc.c: New file.
22129 * benchtests/bench-strcpy_chk.c: New file.
22130 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
22131 code.
22132 (do_test): Likewise.
22133
fac0c5f2
RA
221342013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
22135
22136 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
22137 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
22138 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
22139 with tabs where appropriate.
22140 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
22141 dl-procinfo.h.
22142 [PPC_PLATFORM_PPC440]: Likewise.
22143 [PPC_PLATFORM_PPC464]: Likewise.
22144 [PPC_PLATFORM_PPC476]: Likewise.
22145 (_dl_string_platform): Add support for detecting ppc405, ppc440,
22146 ppc464, and ppc476 platform strings merging from ports/
22147 dl-procinfo.h.
22148
f22bc486
AS
221492013-06-11 Andreas Schwab <schwab@suse.de>
22150
22151 [BZ #14991]
22152 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
22153 (from_ucs4_idx): Regenerate.
22154 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
22155 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
22156 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
22157 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
22158 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
22159 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
22160 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
22161 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
22162 from FROM_LOOP and TO_LOOP specific macros.
22163 (BODY): Handle combining characters.
22164 * iconvdata/BIG5HKSCS.irreversible: Update.
22165 * iconvdata/BIG5HKSCS.precomposed: New file.
22166 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
22167 characters.
22168 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
22169
c1f75dc3
SP
221702013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
22171
4eacded2
SP
22172 * include/sys/time.h: Fix indentation and add copyright header.
22173
fec799f8
SP
22174 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
22175 (do_test): Likewise.
22176 * string/test-memchr.c (do_one_test): Likewise.
22177 (do_test): Likewise.
22178 * string/test-memcmp.c (do_one_test): Likewise.
22179 (do_test): Likewise.
22180 * string/test-memcpy.c (do_one_test): Likewise.
22181 (do_test): Likewise.
22182 * string/test-memmem.c (do_one_test): Likewise.
22183 (do_test): Likewise.
22184 (do_random_tests): Likewise.
22185 * string/test-memmove.c (do_one_test): Likewise.
22186 (do_test): Likewise.
22187 * string/test-memset.c (do_one_test): Likewise.
22188 (do_test): Likewise.
22189 * string/test-rawmemchr.c (do_one_test): Likewise.
22190 (do_test): Likewise.
22191 * string/test-strcasecmp.c (do_one_test): Likewise.
22192 (do_test): Likewise.
22193 * string/test-strcasestr.c (do_one_test): Likewise.
22194 (do_test): Likewise.
22195 * string/test-strcat.c (do_one_test): Likewise.
22196 (do_test): Likewise.
22197 * string/test-strchr.c (do_one_test): Likewise.
22198 (do_test): Likewise.
22199 * string/test-strcmp.c (do_one_test): Likewise.
22200 (do_test): Likewise.
22201 * string/test-strcpy.c (do_one_test): Likewise.
22202 (do_test): Likewise.
22203 * string/test-string.h: Likewise.
22204 (test_init): Likewise.
22205 * string/test-strlen.c (do_one_test): Likewise.
22206 (do_test): Likewise.
22207 * string/test-strncasecmp.c (do_one_test): Likewise.
22208 (do_test): Likewise.
22209 * string/test-strncat.c (do_one_test): Likewise.
22210 (do_test): Likewise.
22211 * string/test-strncmp.c (do_one_test): Likewise.
22212 (do_test_limit): Likewise.
22213 (do_test): Likewise.
22214 * string/test-strncpy.c (do_one_test): Likewise.
22215 (do_test): Likewise.
22216 * string/test-strnlen.c (do_one_test): Likewise.
22217 (do_test): Likewise.
22218 * string/test-strpbrk.c (do_one_test): Likewise.
22219 (do_test): Likewise.
22220 * string/test-strrchr.c (do_one_test): Likewise.
22221 (do_test): Likewise.
22222 * string/test-strspn.c (do_one_test): Likewise.
22223 (do_test): Likewise.
22224 * string/test-strstr.c (do_one_test): Likewise.
22225 (do_test): Likewise.
22226
97020474
SP
22227 * benchtests/Makefile (string-bench): Add string benchmarks.
22228 * benchtests/bench-bcopy-ifunc.c: New file.
22229 * benchtests/bench-bcopy.c: New file.
22230 * benchtests/bench-bzero-ifunc.c: New file.
22231 * benchtests/bench-bzero.c: New file.
22232 * benchtests/bench-memccpy-ifunc.c: New file.
22233 * benchtests/bench-memccpy.c: New file.
22234 * benchtests/bench-memchr-ifunc.c: New file.
22235 * benchtests/bench-memchr.c: New file.
22236 * benchtests/bench-memcmp-ifunc.c: New file.
22237 * benchtests/bench-memcmp.c: New file.
22238 * benchtests/bench-memmem-ifunc.c: New file.
22239 * benchtests/bench-memmem.c: New file.
22240 * benchtests/bench-memmove-ifunc.c: New file.
22241 * benchtests/bench-memmove.c: New file.
22242 * benchtests/bench-mempcpy-ifunc.c: New file.
22243 * benchtests/bench-mempcpy.c: New file.
22244 * benchtests/bench-memset-ifunc.c: New file.
22245 * benchtests/bench-memset.c: New file.
22246 * benchtests/bench-rawmemchr-ifunc.c: New file.
22247 * benchtests/bench-rawmemchr.c: New file.
22248 * benchtests/bench-stpcpy-ifunc.c: New file.
22249 * benchtests/bench-stpcpy.c: New file.
22250 * benchtests/bench-stpncpy-ifunc.c: New file.
22251 * benchtests/bench-stpncpy.c: New file.
22252 * benchtests/bench-strcasecmp-ifunc.c: New file.
22253 * benchtests/bench-strcasecmp.c: New file.
22254 * benchtests/bench-strcasestr-ifunc.c: New file.
22255 * benchtests/bench-strcasestr.c: New file.
22256 * benchtests/bench-strcat-ifunc.c: New file.
22257 * benchtests/bench-strcat.c: New file.
22258 * benchtests/bench-strchr-ifunc.c: New file.
22259 * benchtests/bench-strchr.c: New file.
22260 * benchtests/bench-strchrnul-ifunc.c: New file.
22261 * benchtests/bench-strchrnul.c: New file.
22262 * benchtests/bench-strcmp-ifunc.c: New file.
22263 * benchtests/bench-strcmp.c: New file.
22264 * benchtests/bench-strcpy-ifunc.c: New file.
22265 * benchtests/bench-strcpy.c: New file.
22266 * benchtests/bench-strcspn-ifunc.c: New file.
22267 * benchtests/bench-strcspn.c: New file.
22268 * benchtests/bench-strlen-ifunc.c: New file.
22269 * benchtests/bench-strlen.c: New file.
22270 * benchtests/bench-strncasecmp-ifunc.c: New file.
22271 * benchtests/bench-strncasecmp.c: New file.
22272 * benchtests/bench-strncat-ifunc.c: New file.
22273 * benchtests/bench-strncat.c: New file.
22274 * benchtests/bench-strncmp-ifunc.c: New file.
22275 * benchtests/bench-strncmp.c: New file.
22276 * benchtests/bench-strncpy-ifunc.c: New file.
22277 * benchtests/bench-strncpy.c: New file.
22278 * benchtests/bench-strnlen-ifunc.c: New file.
22279 * benchtests/bench-strnlen.c: New file.
22280 * benchtests/bench-strpbrk-ifunc.c: New file.
22281 * benchtests/bench-strpbrk.c: New file.
22282 * benchtests/bench-strrchr-ifunc.c: New file.
22283 * benchtests/bench-strrchr.c: New file.
22284 * benchtests/bench-strspn-ifunc.c: New file.
22285 * benchtests/bench-strspn.c: New file.
22286 * benchtests/bench-strstr-ifunc.c: New file.
22287 * benchtests/bench-strstr.c: New file.
22288
c1f75dc3
SP
22289 * benchtests/Makefile: Disable parallel execution of targets.
22290 (string-bench): Add memcpy.
22291 (benchset): New variable to store a list of benchmark sets.
22292 (bench-func): Renamed from bench.
22293 (bench-set): New target.
22294 (bench): Depend on bench-func and bench-set.
22295 * benchtests/README: Add section on benchmark sets.
22296 * benchtests/bench-memcpy-ifunc.c: New file.
22297 * benchtests/bench-memcpy.c: New file.
22298 * benchtests/bench-string.h: New file.
22299
50fd745b
AS
223002013-06-11 Andreas Schwab <schwab@suse.de>
22301
22302 [BZ #15577]
22303 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
22304 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
22305 values in the triple.
22306 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
22307 terminator in the group key.
22308
3ee7e9fe
AJ
223092013-06-11 Andreas Jaeger <aj@suse.de>
22310
22311 * po/zh_TW.po: Update Chinese (traditional) translation from
22312 translation project.
22313
89fb6835
SP
223142013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
22315
22316 * include/time.h (__clock_gettime): Add libc_hidden_proto.
22317 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
22318 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
22319 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
22320 (clock_getcpuclockid): Likewise.
22321 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
22322 Add weak_alias and libc_hidden_def.
22323 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
22324 * rt/clock_gettime.c (clock_gettime): Rename to
22325 __clock_gettime. Add weak_alias and libc_hidden_def.
22326 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
22327 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
22328 __clock_nanosleep. Add weak_alias and libc_hidden_def.
22329 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
22330 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
22331 Likewise.
22332 * rt/clock_settime.c (clock_settime): Rename to
22333 __clock_settime. Add weak_alias and libc_hidden_def.
22334 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
22335
0efa6f8b
JM
223362013-06-10 Joseph Myers <joseph@codesourcery.com>
22337
b8c61b4b
JM
22338 * mach/err_boot.sub: Remove trailing whitespace.
22339 * mach/err_ipc.sub: Likewise.
22340 * mach/err_mach.sub: Likewise.
22341
0efa6f8b
JM
22342 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
22343 (ROUNDING_TESTS_double): Likewise.
22344 (ROUNDING_TESTS_long_double): Likewise.
22345 (ROUNDING_TESTS): Likewise.
22346 * math/libm-test.inc: Include <math-tests.h>.
22347 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
22348 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
22349 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
22350 (IF_ROUND_INIT_FE_UPWARD): Likewise.
22351
50b818bf
SP
223522013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
22353
22354 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
22355 of assigning.
22356
60d2f8f3
JM
223572013-06-08 Joseph Myers <joseph@codesourcery.com>
22358
4902d2c3
JM
22359 * sysdeps/gnu/errlist.awk: Do not generate space at end of
22360 otherwise empty TRANS lines.
22361 * sysdeps/gnu/errlist.c: Regenerated.
22362
60d2f8f3
JM
22363 * catgets/gencat.c (error_print): Use (void) in function
22364 definition.
22365 * crypt/crypt_util.c (__init_des): Likewise.
22366 * crypt/speeds.c (Stop): Likewise.
22367 (main): Likewise.
22368 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
22369 * inet/ruserpass.c (token): Likewise.
22370 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
22371 * intl/localealias.c (extend_alias_table): Likewise.
22372 * intl/plural-exp.c (init_germanic_plural): Likewise.
22373 * libio/fcloseall.c (__fcloseall): Likewise.
22374 * libio/genops.c (_IO_flush_all): Likewise.
22375 (_IO_flush_all_linebuffered): Likewise.
22376 (_IO_cleanup): Likewise.
22377 (_IO_iter_begin): Likewise.
22378 (_IO_iter_end): Likewise.
22379 (_IO_list_lock): Likewise.
22380 (_IO_list_unlock): Likewise.
22381 (_IO_list_resetlock): Likewise.
22382 * libio/getchar.c (getchar): Likewise.
22383 * libio/getchar_u.c (getchar_unlocked): Likewise.
22384 * libio/getwchar.c (getwchar): Likewise.
22385 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
22386 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
22387 * login/getpt.c (__getpt): Likewise.
22388 * login/tst-utmp.c (main): Likewise.
22389 * malloc/hooks.c (__malloc_check_init): Likewise.
22390 * malloc/malloc.c (__malloc_stats): Likewise.
22391 * malloc/mtrace.c (tr_break): Likewise.
22392 (mtrace): Likewise.
22393 (muntrace): Likewise.
22394 * misc/fstab.c (endfsent): Likewise.
22395 * misc/getclktck.c (__getclktck): Likewise.
22396 * misc/getdtsz.c (__getdtablesize): Likewise.
22397 * misc/gethostid.c (gethostid): Likewise.
22398 * misc/getpagesize.c (__getpagesize): Likewise.
22399 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
22400 (__get_nprocs): Likewise.
22401 (__get_phys_pages): Likewise.
22402 (__get_avphys_pages): Likewise.
22403 * misc/getttyent.c (getttyent): Likewise.
22404 (setttyent): Likewise.
22405 (endttyent): Likewise.
22406 * misc/getusershell.c (getusershell): Likewise.
22407 (endusershell): Likewise.
22408 (setusershell): Likewise.
22409 (initshells): Likewise.
22410 * misc/hsearch.c (__hdestroy): Likewise.
22411 * misc/sync.c (sync): Likewise.
22412 * misc/syslog.c (closelog_internal): Likewise.
22413 (closelog): Likewise.
22414 * misc/ttyslot.c (ttyslot): Likewise.
22415 * misc/vhangup.c (vhangup): Likewise.
22416 * posix/fork.c (__fork): Likewise.
22417 * posix/getegid.c (__getegid): Likewise.
22418 * posix/geteuid.c (__geteuid): Likewise.
22419 * posix/getgid.c (__getgid): Likewise.
22420 * posix/getpid.c (__getpid): Likewise.
22421 * posix/getppid.c (__getppid): Likewise.
22422 * posix/getuid.c (__getuid): Likewise.
22423 * posix/pause.c (pause): Likewise.
22424 * posix/setpgrp.c (setpgrp): Likewise.
22425 * posix/setsid.c (__setsid): Likewise.
22426 * posix/test-vfork.c (noop): Likewise.
22427 * resolv/gethnamaddr.c (_endhtent): Likewise.
22428 (_gethtent): Likewise.
22429 (ht_endhostent): Likewise.
22430 (gethostent): Likewise.
22431 (dns_service): Likewise.
22432 * stdlib/drand48.c (drand48): Likewise.
22433 * stdlib/lrand48.c (lrand48): Likewise.
22434 * stdlib/mrand48.c (mrand48): Likewise.
22435 * stdlib/rand.c (rand): Likewise.
22436 * stdlib/random.c (__random): Likewise.
22437 * stdlib/setenv.c (clearenv): Likewise.
22438 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
22439 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
22440 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
22441 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
22442 (__get_nprocs): Likewise.
22443 (__get_phys_pages): Likewise.
22444 (__get_avphys_pages): Likewise.
22445 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
22446 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
22447 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
22448 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
22449 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
22450 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
22451 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
22452 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
22453 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
22454 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
22455 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
22456 * sysdeps/mach/hurd/sync.c (sync): Likewise.
22457 * sysdeps/posix/clock.c (clock): Likewise.
22458 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
22459 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
22460 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
22461 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
22462 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
22463 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
22464 (__get_nprocs_conf): Likewise.
22465 (__get_phys_pages): Likewise.
22466 (__get_avphys_pages): Likewise.
22467 * time/clock.c (clock): Likewise.
22468 * time/tzset.c (__tzname_max): Likewise.
22469
2e09a79a
JM
224702013-06-07 Joseph Myers <joseph@codesourcery.com>
22471
22472 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
22473 (__bswap_32): Do not use "register".
22474 * crypt/crypt.c (_ufc_doit_r): Likewise.
22475 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
22476 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
22477 * gmon/gmon.c (__monstartup): Likewise.
22478 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
22479 * hurd/hurdmalloc.c (more_memory): Likewise.
22480 (malloc): Likewise.
22481 (free): Likewise.
22482 (realloc): Likewise.
22483 (malloc_fork_prepare): Likewise.
22484 (malloc_fork_parent): Likewise.
22485 (malloc_fork_child): Likewise.
22486 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
22487 (_svcauth_des): Likewise.
22488 * inet/inet_lnaof.c (inet_lnaof): Likewise.
22489 * inet/inet_net.c (inet_network): Likewise.
22490 * inet/inet_netof.c (inet_netof): Likewise.
22491 * inet/rcmd.c (__validuser2_sa): Likewise.
22492 * io/fts.c (fts_open): Likewise.
22493 (fts_load): Likewise.
22494 (fts_close): Likewise.
22495 (fts_read): Likewise.
22496 (fts_children): Likewise.
22497 (fts_build): Likewise.
22498 (fts_stat): Likewise.
22499 (fts_sort): Likewise.
22500 (fts_alloc): Likewise.
22501 (fts_lfree): Likewise.
22502 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
22503 (_IO_file_xsgetn): Likewise.
22504 (_IO_file_xsgetn_mmap): Likewise.
22505 * libio/iofopncook.c (_IO_cookie_read): Likewise.
22506 (_IO_cookie_write): Likewise.
22507 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
22508 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
22509 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
22510 * malloc/obstack.c (_obstack_begin): Likewise.
22511 (_obstack_begin_1): Likewise.
22512 (_obstack_newchunk): Likewise.
22513 (_obstack_allocated_p): Likewise.
22514 (obstack_free): Likewise.
22515 (_obstack_memory_used): Likewise.
22516 * misc/getttyent.c (getttynam): Likewise.
22517 (getttyent): Likewise.
22518 (skip): Likewise.
22519 (value): Likewise.
22520 * misc/getusershell.c (initshells): Likewise.
22521 * misc/syslog.c (__vsyslog_chk): Likewise.
22522 * misc/ttyslot.c (ttyslot): Likewise.
22523 * nis/nis_hash.c (__nis_hash): Likewise.
22524 * posix/fnmatch_loop.c (FCT): Likewise.
22525 * posix/getconf.c (print_all): Likewise.
22526 (main): Likewise.
22527 * posix/getopt.c (exchange): Likewise.
22528 * posix/glob.c (globfree): Likewise.
22529 (prefix_array): Likewise.
22530 (__glob_pattern_type): Likewise.
22531 * resolv/arpa/nameser.h (NS_GET16): Likewise.
22532 (NS_GET32): Likewise.
22533 (NS_PUT16): Likewise.
22534 (NS_PUT32): Likewise.
22535 * resolv/gethnamaddr.c (getanswer): Likewise.
22536 (gethostbyname2): Likewise.
22537 (gethostbyaddr): Likewise.
22538 (_gethtent): Likewise.
22539 (_gethtbyname2): Likewise.
22540 (_gethtbyaddr): Likewise.
22541 * resolv/ns_print.c (dst_s_get_int16): Likewise.
22542 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
22543 * resolv/res_init.c (__res_vinit): Likewise.
22544 (net_mask): Likewise.
22545 * resolv/res_mkquery.c (outchar): Likewise.
22546 (PRINT): Likewise.
22547 * stdio-common/printf_fp.c (outchar): Likewise.
22548 (PRINT): Likewise.
22549 * stdio-common/printf_fphex.c (outchar): Likewise.
22550 (PRINT): Likewise.
22551 * stdio-common/printf_size.c (outchar): Likewise.
22552 (PRINT): Likewise.
22553 * stdio-common/test_rdwr.c (main): Likewise.
22554 * stdio-common/tfformat.c (matches): Likewise.
22555 * stdio-common/vfprintf.c (outchar): Likewise.
22556 (printf_unknown): Likewise.
22557 (buffered_vfprintf): Likewise.
22558 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
22559 * stdio-common/xbug.c (AppendToBuffer): Likewise.
22560 (ReadFile): Likewise.
22561 * stdlib/qsort.c (SWAP): Likewise.
22562 (_quicksort): Likewise.
22563 * stdlib/setenv.c (__add_to_environ): Likewise.
22564 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
22565 * stdlib/strtol_l.c (__strtol_l): Likewise.
22566 * stdlib/tst-strtod.c (main): Likewise.
22567 * stdlib/tst-strtol.c (main): Likewise.
22568 * stdlib/tst-strtoll.c (main): Likewise.
22569 * string/bits/string2.h (__strcmp_cc): Likewise.
22570 (__strcmp_cg): Likewise.
22571 (__strcspn_c1): Likewise.
22572 (__strcspn_c2): Likewise.
22573 (__strcspn_c3): Likewise.
22574 (__strspn_c1): Likewise.
22575 (__strspn_c2): Likewise.
22576 (__strspn_c3): Likewise.
22577 (__strsep_1c): Likewise.
22578 (__strsep_2c): Likewise.
22579 (__strsep_3c): Likewise.
22580 * string/memccpy.c (__memccpy): Likewise.
22581 * string/stpcpy.c (__stpcpy): Likewise.
22582 * string/strcmp.c (strcmp): Likewise.
22583 * string/strrchr.c (strrchr): Likewise.
22584 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
22585 Likewise.
22586 * sysdeps/mach/hurd/getcwd.c
22587 (_hurd_canonicalize_directory_name_internal): Likewise.
22588 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
22589 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
22590 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
22591 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
22592 Likewise, in both definitions.
22593 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
22594 definitions.
22595 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
22596 64] (__bswap_64): Likewise.
22597 * time/test_time.c (main): Likewise.
22598 * time/tzfile.c (__tzfile_read): Likewise.
22599 (__tzfile_compute): Likewise.
22600 * time/tzset.c (__tzset_parse_tz): Likewise.
22601 (tzset_internal): Likewise.
22602 (compute_change): Likewise.
22603 * wcsmbs/wcscat.c (__wcscat): Likewise.
22604 * wcsmbs/wcschr.c (wcschr): Likewise.
22605 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
22606 * wcsmbs/wcscspn.c (wcscspn): Likewise.
22607 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
22608 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
22609 * wcsmbs/wcsspn.c (wcsspn): Likewise.
22610 * wcsmbs/wcsstr.c (wcsstr): Likewise.
22611 * wcsmbs/wmemchr.c (wmemchr): Likewise.
22612 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
22613 * wcsmbs/wmemset.c (wmemset): Likewise.
22614
9e54314b
JM
226152013-06-06 Joseph Myers <joseph@codesourcery.com>
22616
22617 * scripts/config.guess: Update to version 2013-05-16.
22618 * scripts/config.sub: Update to version 2013-04-24.
22619 * scripts/install-sh: Update to version 2011-11-20.07.
22620 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
22621 * scripts/move-if-change: Update to version 2012-01-06 07:23.
22622
350635a5
OB
226232013-06-06 Ondřej Bílka <neleai@seznam.cz>
22624
22625 * debug/fgetws_u_chk.c: Fix leading whitespaces.
22626 * elf/sln.c: Likewise.
22627 * hurd/hurd/ioctl.h: Likewise.
22628 * hurd/hurdmalloc.c: Likewise.
22629 * hurd/xattr.c: Likewise.
22630 * include/shlib-compat.h: Likewise.
22631 * inet/ruserpass.c: Likewise.
22632 * libio/iofgets_u.c: Likewise.
22633 * libio/iofgetws_u.c: Likewise.
22634 * locale/programs/ld-identification.c: Likewise.
22635 * locale/programs/ld-time.c: Likewise.
22636 * mach/msg-destroy.c: Likewise.
22637 * nss/nss_files/files-netgrp.c: Likewise.
22638 * resolv/res_data.c: Likewise.
22639 * soft-fp/op-1.h: Likewise.
22640 * soft-fp/op-2.h: Likewise.
22641 * soft-fp/op-4.h: Likewise.
22642 * soft-fp/op-common.h: Likewise.
22643 * stdio-common/printf_fphex.c: Likewise.
22644 * stdlib/strtod_l.c: Likewise.
22645 * sunrpc/rpc/clnt.h: Likewise.
22646 * sysdeps/generic/framestate.c: Likewise.
22647 * sysdeps/i386/bsd-_setjmp.S: Likewise.
22648 * sysdeps/i386/bsd-setjmp.S: Likewise.
22649 * sysdeps/i386/__longjmp.S: Likewise.
22650 * sysdeps/i386/setjmp.S: Likewise.
22651 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
22652 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
22653 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
22654 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
22655 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
22656 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
22657 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
22658 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
22659 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
22660 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
22661 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
22662 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
22663 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
22664 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
22665 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
22666 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
22667 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
22668 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
22669 * sysdeps/ieee754/support.c: Likewise.
22670 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
22671 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
22672 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
22673 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
22674 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
22675 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
22676 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
22677 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
22678 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
22679 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
22680 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
22681 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
22682 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
22683 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
22684 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
22685 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
22686 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
22687 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
22688
44a988af
OB
226892013-06-05 Ondřej Bílka <neleai@seznam.cz>
22690
25506f09 22691 * posix/transbug.c: Remove executable mode.
44a988af 22692
9c84384c
JM
226932013-06-05 Joseph Myers <joseph@codesourcery.com>
22694
22695 * crypt/speeds.c: Remove trailing whitespace.
22696 * dlfcn/default.c: Likewise.
22697 * elf/ifuncdep2.c: Likewise.
22698 * elf/ifuncmain1.c: Likewise.
22699 * elf/ifuncmain1vis.c: Likewise.
22700 * elf/testobj.h: Likewise.
22701 * elf/tst-stackguard1.c: Likewise.
22702 * gmon/sys/gmon.h: Likewise.
22703 * hurd/hurdmsg.c: Likewise.
22704 * hurd/new-fd.c: Likewise.
22705 * hurd/ports-get.c: Likewise.
22706 * iconvdata/ibm1008_420.c: Likewise.
22707 * inet/tst-getni1.c: Likewise.
22708 * inet/tst-getni2.c: Likewise.
22709 * libio/ioungetc.c: Likewise.
22710 * libio/wfiledoalloc.c: Likewise.
22711 * manual/libm-err-tab.pl: Likewise.
22712 * math/w_dremf.c: Likewise.
22713 * misc/ftruncate.c: Likewise.
22714 * posix/bug-glob2.c: Likewise.
22715 * posix/tst-pcre.c: Likewise.
22716 * posix/wait4.c: Likewise.
22717 * resolv/README: Likewise.
22718 * resolv/res_debug.h: Likewise.
22719 * resolv/tst-inet_ntop.c: Likewise.
22720 * setjmp/bug269-setjmp.c: Likewise.
22721 * soft-fp/extended.h: Likewise.
22722 * soft-fp/op-1.h: Likewise.
22723 * soft-fp/op-2.h: Likewise.
22724 * soft-fp/op-4.h: Likewise.
22725 * soft-fp/op-8.h: Likewise.
22726 * soft-fp/testit.c: Likewise.
22727 * stdio-common/bug16.c: Likewise.
22728 * stdlib/random.c: Likewise.
22729 * sunrpc/rpcsvc/rquota.x: Likewise.
22730 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
22731 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
22732 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
22733 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
22734 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
22735 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
22736 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
22737 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
22738 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
22739 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
22740 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
22741 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
22742 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
22743 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
22744 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
22745 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
22746 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
22747 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
22748 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
22749 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
22750 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
22751 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
22752 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
22753 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
22754 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
22755 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
22756 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
22757 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
22758 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
22759 * sysdeps/ieee754/s_lib_version.c: Likewise.
22760 * sysdeps/mach/hurd/check_fds.c: Likewise.
22761 * sysdeps/mach/hurd/getsockname.c: Likewise.
22762 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
22763 * sysdeps/mach/hurd/recvfrom.c: Likewise.
22764 * sysdeps/powerpc/bits/link.h: Likewise.
22765 * sysdeps/powerpc/dl-procinfo.c: Likewise.
22766 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
22767 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
22768 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
22769 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
22770 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
22771 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
22772 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
22773 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
22774 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
22775 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
22776 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
22777 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
22778 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
22779 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
22780 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
22781 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
22782 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
22783 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
22784 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
22785 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
22786 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
22787 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
22788 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
22789 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
22790 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
22791 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
22792 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
22793 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
22794 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
22795 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
22796 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
22797 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
22798 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
22799 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
22800 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
22801 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
22802 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
22803 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
22804 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
22805 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
22806 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
22807 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
22808 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
22809 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
22810 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
22811 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
22812 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
22813 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
22814 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
22815 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
22816 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
22817 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
22818 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
22819 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
22820 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
22821 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
22822 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
22823 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
22824 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
22825 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
22826 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
22827 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
22828 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
22829 * sysdeps/powerpc/sysdep.h: Likewise.
22830 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
22831 * sysdeps/s390/s390-64/sub_n.S: Likewise.
22832 * sysdeps/sh/dl-trampoline.S: Likewise.
22833 * sysdeps/sh/memset.S: Likewise.
22834 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
22835 * sysdeps/sh/strlen.S: Likewise.
22836 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
22837 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
22838 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
22839 * sysdeps/sparc/sparc32/rem.S: Likewise.
22840 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
22841 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
22842 * sysdeps/sparc/sparc32/strchr.S: Likewise.
22843 * sysdeps/sparc/sparc32/udiv.S: Likewise.
22844 * sysdeps/sparc/sparc32/urem.S: Likewise.
22845 * sysdeps/sparc/sparc64/add_n.S: Likewise.
22846 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
22847 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
22848 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
22849 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
22850 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
22851 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
22852 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
22853 * sysdeps/unix/bsd/times.c: Likewise.
22854 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
22855 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
22856 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
22857 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
22858 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
22859 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
22860 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
22861 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
22862 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
22863 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
22864 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
22865 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
22866 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
22867 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
22868 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
22869 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
22870 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
22871 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
22872 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
22873 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
22874 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
22875 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
22876 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
22877 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
22878 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
22879 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
22880 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
22881 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
22882 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
22883 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
22884 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
22885 * sysdeps/x86_64/strcspn.S: Likewise.
22886
869378a5
RA
228872013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
22888
22889 * locale/C-translit.h: Revert #include <stdint.h> because this is a
22890 generated file. Regenerate properly from gen-translit.pl.
22891 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
22892 locale/C-translit.h.
22893
840e2943
AS
228942013-06-05 Andreas Schwab <schwab@suse.de>
22895
22896 [BZ #15100]
22897 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
22898 week as 6 instead of -1.
22899 * time/tst-strptime.c (day_tests): Add test case.
22900
4c60cb0c
SP
229012013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
22902
22903 * sysdeps/generic/math_private.h
22904 (libc_feholdexcept_setround_53bit): Replace with
22905 libc_feholdsetround_53bit.
22906 (libc_feupdateenv_53bit): Replace with
22907 libc_feresetround_53bit.
22908 (SET_RESTORE_ROUND_53BIT): Adjust.
22909
d180203e
SP
229102013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
22911
96df079a
SP
22912 * string/test-strchrnul.c: Add copyright header.
22913
d180203e
SP
22914 * posix/tst-getaddrinfo4.c: Increase test timeout.
22915
8b0ccb2d
CD
229162013-06-03 Carlos O'Donell <carlos@redhat.com>
22917
22918 [BZ #15536]
22919 * math/libm-test.inc (MAX_EXP): Remove
22920 (MIN_EXP): Define.
22921 (ulp): Use MIN_EXP - MANT_DIG.
22922 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
22923
3b3c4d40
CD
229242013-05-31 Carlos O'Donell <carlos@redhat.com>
22925
22926 * po/be.po: Revert last change.
22927 * po/zh_CN.po: Likewise.
22928 * po/header.pot: Likewise.
22929
fab7ce3f
JM
229302013-05-31 Joseph Myers <joseph@codesourcery.com>
22931
22932 * Makefile ($(common-objpfx)linkobj/libc.so): Define
22933 link-libc-deps to empty as target-specific variable.
22934 * Makerules (link-libc-args): New variable.
22935 (libc-for-link): Likewise.
22936 (link-libc-deps): Likewise.
22937 (lib%.so): Depend on $(link-libc-deps). Link with
22938 $(link-libc-args).
22939 (build-module): Link with $(link-libc-args).
22940 (build-module-asneeded): Likewise.
22941 (build-module-helper-objlist): Filter out $(link-libc-deps) from
22942 list of objects.
22943 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
22944 target-specific variable.
22945 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
22946 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
22947 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
22948 libc.
22949 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
22950 libc and ld.so.
22951 ($(objpfx)libpcprofile.so): Likewise.
22952 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
22953 libc_nonshared.a.
22954 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
22955 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
22956 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
22957 $(link-libc-deps).
22958 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
22959 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
22960 * login/Makefile ($(objpfx)libutil.so): Likewise.
22961 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
22962 * math/Makefile ($(objpfx)libm.so): Likewise.
22963 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
22964 $(objpfx)libnsl.so): Define libc-for-link as target-specific
22965 variable instead of depending directly on libc.
22966 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
22967 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
22968 $(link-libc-deps).
22969 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
22970 libc.
22971 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
22972 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
22973 ($(objpfx)libanl.so): Likewise.
22974 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
22975 ld.so.
22976 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
22977 $(link-libc-deps).
22978 * sysdeps/i386/fpu/Makefile: Remove file.
22979 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
22980 ($(objpfx)libm.so): Remove dependency on ld.so.
22981
eca5920c
PF
229822013-05-30 Patsy Franklin <pfrankli@redhat.com>
22983
22984 [BZ # 15553]
22985 * nis/yp_xdr.c (XDRMAXNAME): Define.
22986 (XDRMAXRECORD): Define.
22987 (xdr_domainname): Use XDRMAXNAME.
22988 (xdr_mapname): Likewise.
22989 (xdr_peername): Likewise.
22990 (xdr_keydat): Use XDRMAXRECORD.
22991 (xdr_valdat): Likewise.
22992
229932013-05-30 Jeff Law <law@redhat.com>
96945714
JL
22994
22995 [BZ #14256]
22996 * manual/errno.texi (ESTALE): Update to account for more than
22997 just NFS file systems.
22998 * sysdeps/gnu/errlist.c: Regenerated.
22999
b9375348
SP
230002013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
23001
23002 [BZ #15465]
23003 * elf/Makefile (tests): Add tst-null-argv.
23004 (modules-names): Add tst-null-argv-lib.
23005 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
23006 (tst-null-argv-ENV): Set environment for tst-null-argv.
23007 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
23008 (RTLD_PROGNAME): New macro.
23009 * elf/tst-null-argv.c: New test case.
23010 * elf/tst-null-argv-lib.c: Library for test case.
23011 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
23012 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
23013 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
23014 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
23015 * elf/dl-init.c (call_init): Likewise.
23016 (_dl_init): Likewise.
23017 * elf/dl-load.c (print_search_path): Likewise.
23018 (_dl_map_object): Likewise.
23019 * elf/dl-lookup.c (do_lookup_x): Likewise.
23020 (add_dependency): Likewise.
23021 (_dl_lookup_symbol_x): Likewise.
23022 (_dl_debug_bindings): Likewise.
23023 * elf/dl-open.c (_dl_show_scope): Likewise.
23024 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
23025 * elf/dl-version.c (match_symbol): Likewise.
23026 (_dl_check_map_versions): Likewise.
23027 * elf/rtld.c (dl_main): Likewise.
23028 (print_unresolved): Use RTLD_PROGNAME.
23029 (print_missing_version): Likewise.
23030 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
23031 (elf_machine_rela): Likewise.
23032 * sysdeps/powerpc/powerpc32/dl-machine.c
23033 (__process_machine_rela): Likewise.
23034 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
23035 Likewise.
23036 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
23037 Likewise.
23038 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
23039 Likewise.
23040 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
23041 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
23042 Likewise.
23043 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
23044 Likewise.
23045 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
23046
8a9f20c8
CD
230472013-05-28 Carlos O'Donell <carlos@redhat.com>
23048
23049 * po/be.po: Add descriptive title.
23050 * po/zh_CN.po: Likewise.
23051 * po/header.pot: Likewise.
23052
0e60d68e
MF
230532013-05-28 Mike Frysinger <vapier@gentoo.org>
23054
23055 * locale/programs/locarchive.c (create_archive): Inlucde fname in
23056 error message.
23057 (enlarge_archive): Likewise.
23058
56b672e9
BN
230592013-05-28 Ben North <ben@redfrontdoor.org>
23060
23061 * manual/arith.texi (frexp): It is the magnitude of the return
23062 value which lies in [0.5, 1), not the return value itself.
23063
5e056687
AZ
230642013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23065
23066 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23067
2b66ef5d
TS
230682013-05-26 Thomas Schwinge <thomas@codesourcery.com>
23069
528c2405
TS
23070 * stdio-common/bug26.c (main): Correct fscanf template.
23071
07b4c13d
TS
23072 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
23073 declare _dl_skip_args.
23074
ec9dd97c
TS
23075 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
23076 Don't declare.
23077
2b66ef5d
TS
23078 * manual/platform.texi: Add missing @end deftypefun.
23079
4f8dfe27
JM
230802013-05-24 Joseph Myers <joseph@codesourcery.com>
23081
0323d086
JM
23082 [BZ #15529]
23083 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
23084 bit of mantissa of 2^16382.
23085 * math/libm-test.inc (hypot_test_data): Add more tests.
23086
dd4259b9
JM
23087 * math/libm-test.inc: Add drem and pow10 to list of tested
23088 functions.
23089 (pow10_test): New function.
23090 (drem_test): Likewise.
23091 (drem_test_tonearest): Likewise.
23092 (drem_test_towardzero): Likewise.
23093 (drem_test_downward): Likewise.
23094 (drem_test_upward): Likewise.
23095 (main): Call the new functions.
23096
4f8dfe27
JM
23097 * math/libm-test.inc (finite_test_data): Remove.
23098 (finite_test): Run tests from isfinite_test_data.
23099 (gamma_test_data): Remove.
23100 (gamma_test): Run tests from lgamma_test_data.
23101 * sysdeps/i386/fpu/libm-test-ulps: Update.
23102 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23103
d116b7c4
AZ
231042013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23105
23106 * manual/platform.texi: Add PowerPC PPR function set documentation.
23107 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
23108 implementation.
23109
e96e3767
CD
231102013-05-24 Carlos O'Donell <carlos@redhat.com>
23111
23112 * math/libm-test.inc (MAX_EXP): Define.
23113 (ULPDIFF): Define.
23114 (ulp): New function.
23115 (check_float_internal): Use ULPDIFF.
23116 (cpow_test): Disable failing test.
23117 (check_ulp): Test ulp() implemetnation.
23118 (main): Call check_ulp before starting tests.
23119
b679a606
JM
231202013-05-24 Joseph Myers <joseph@codesourcery.com>
23121
e8bdba36
JM
23122 * math/gen-libm-test.pl (generate_testfile): Do not handle
23123 START_DATA and END_DATA.
23124 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
23125 END_DATA.
23126 (acos_tonearest_test_data): Likewise.
23127 (acos_towardzero_test_data): Likewise.
23128 (acos_downward_test_data): Likewise.
23129 (acos_upward_test_data): Likewise.
23130 (acosh_test_data): Likewise.
23131 (asin_test_data): Likewise.
23132 (asin_tonearest_test_data): Likewise.
23133 (asin_towardzero_test_data): Likewise.
23134 (asin_downward_test_data): Likewise.
23135 (asin_upward_test_data): Likewise.
23136 (asinh_test_data): Likewise.
23137 (atan_test_data): Likewise.
23138 (atanh_test_data): Likewise.
23139 (atan2_test_data): Likewise.
23140 (cabs_test_data): Likewise.
23141 (cacos_test_data): Likewise.
23142 (cacosh_test_data): Likewise.
23143 (carg_test_data): Likewise.
23144 (casin_test_data): Likewise.
23145 (casinh_test_data): Likewise.
23146 (catan_test_data): Likewise.
23147 (catanh_test_data): Likewise.
23148 (cbrt_test_data): Likewise.
23149 (ccos_test_data): Likewise.
23150 (ccosh_test_data): Likewise.
23151 (ceil_test_data): Likewise.
23152 (cexp_test_data): Likewise.
23153 (cimag_test_data): Likewise.
23154 (clog_test_data): Likewise.
23155 (clog10_test_data): Likewise.
23156 (conj_test_data): Likewise.
23157 (copysign_test_data): Likewise.
23158 (cos_test_data): Likewise.
23159 (cos_tonearest_test_data): Likewise.
23160 (cos_towardzero_test_data): Likewise.
23161 (cos_downward_test_data): Likewise.
23162 (cos_upward_test_data): Likewise.
23163 (cosh_test_data): Likewise.
23164 (cosh_tonearest_test_data): Likewise.
23165 (cosh_towardzero_test_data): Likewise.
23166 (cosh_downward_test_data): Likewise.
23167 (cosh_upward_test_data): Likewise.
23168 (cpow_test_data): Likewise.
23169 (cproj_test_data): Likewise.
23170 (creal_test_data): Likewise.
23171 (csin_test_data): Likewise.
23172 (csinh_test_data): Likewise.
23173 (csqrt_test_data): Likewise.
23174 (ctan_test_data): Likewise.
23175 (ctan_tonearest_test_data): Likewise.
23176 (ctan_towardzero_test_data): Likewise.
23177 (ctan_downward_test_data): Likewise.
23178 (ctan_upward_test_data): Likewise.
23179 (ctanh_test_data): Likewise.
23180 (ctanh_tonearest_test_data): Likewise.
23181 (ctanh_towardzero_test_data): Likewise.
23182 (ctanh_downward_test_data): Likewise.
23183 (ctanh_upward_test_data): Likewise.
23184 (erf_test_data): Likewise.
23185 (erfc_test_data): Likewise.
23186 (exp_test_data): Likewise.
23187 (exp_tonearest_test_data): Likewise.
23188 (exp_towardzero_test_data): Likewise.
23189 (exp_downward_test_data): Likewise.
23190 (exp_upward_test_data): Likewise.
23191 (exp10_test_data): Likewise.
23192 (exp2_test_data): Likewise.
23193 (expm1_test_data): Likewise.
23194 (fabs_test_data): Likewise.
23195 (fdim_test_data): Likewise.
23196 (finite_test_data): Likewise.
23197 (floor_test_data): Likewise.
23198 (fma_test_data): Likewise.
23199 (fma_towardzero_test_data): Likewise.
23200 (fma_downward_test_data): Likewise.
23201 (fma_upward_test_data): Likewise.
23202 (fmax_test_data): Likewise.
23203 (fmin_test_data): Likewise.
23204 (fmod_test_data): Likewise.
23205 (fpclassify_test_data): Likewise.
23206 (frexp_test_data): Likewise.
23207 (gamma_test_data): Likewise.
23208 (hypot_test_data): Likewise.
23209 (ilogb_test_data): Likewise.
23210 (isfinite_test_data): Likewise.
23211 (isgreater_test_data): Likewise.
23212 (isgreaterequal_test_data): Likewise.
23213 (isinf_test_data): Likewise.
23214 (isless_test_data): Likewise.
23215 (islessequal_test_data): Likewise.
23216 (islessgreater_test_data): Likewise.
23217 (isnan_test_data): Likewise.
23218 (isnormal_test_data): Likewise.
23219 (issignaling_test_data): Likewise.
23220 (isunordered_test_data): Likewise.
23221 (j0_test_data): Likewise.
23222 (j1_test_data): Likewise.
23223 (jn_test_data): Likewise.
23224 (ldexp_test_data): Likewise.
23225 (lgamma_test_data): Likewise.
23226 (lrint_test_data): Likewise.
23227 (lrint_tonearest_test_data): Likewise.
23228 (lrint_towardzero_test_data): Likewise.
23229 (lrint_downward_test_data): Likewise.
23230 (lrint_upward_test_data): Likewise.
23231 (llrint_test_data): Likewise.
23232 (llrint_tonearest_test_data): Likewise.
23233 (llrint_towardzero_test_data): Likewise.
23234 (llrint_downward_test_data): Likewise.
23235 (llrint_upward_test_data): Likewise.
23236 (log_test_data): Likewise.
23237 (log10_test_data): Likewise.
23238 (log1p_test_data): Likewise.
23239 (log2_test_data): Likewise.
23240 (logb_test_data): Likewise.
23241 (logb_downward_test_data): Likewise.
23242 (lround_test_data): Likewise.
23243 (llround_test_data): Likewise.
23244 (modf_test_data): Likewise.
23245 (nearbyint_test_data): Likewise.
23246 (nextafter_test_data): Likewise.
23247 (nexttoward_test_data): Likewise.
23248 (pow_test_data): Likewise.
23249 (pow_tonearest_test_data): Likewise.
23250 (pow_towardzero_test_data): Likewise.
23251 (pow_downward_test_data): Likewise.
23252 (pow_upward_test_data): Likewise.
23253 (remainder_test_data): Likewise.
23254 (remainder_tonearest_test_data): Likewise.
23255 (remainder_towardzero_test_data): Likewise.
23256 (remainder_downward_test_data): Likewise.
23257 (remainder_upward_test_data): Likewise.
23258 (remquo_test_data): Likewise.
23259 (rint_test_data): Likewise.
23260 (rint_tonearest_test_data): Likewise.
23261 (rint_towardzero_test_data): Likewise.
23262 (rint_downward_test_data): Likewise.
23263 (rint_upward_test_data): Likewise.
23264 (round_test_data): Likewise.
23265 (scalb_test_data): Likewise.
23266 (scalbn_test_data): Likewise.
23267 (scalbln_test_data): Likewise.
23268 (signbit_test_data): Likewise.
23269 (sin_test_data): Likewise.
23270 (sin_tonearest_test_data): Likewise.
23271 (sin_towardzero_test_data): Likewise.
23272 (sin_downward_test_data): Likewise.
23273 (sin_upward_test_data): Likewise.
23274 (sincos_test_data): Likewise.
23275 (sinh_test_data): Likewise.
23276 (sinh_tonearest_test_data): Likewise.
23277 (sinh_towardzero_test_data): Likewise.
23278 (sinh_downward_test_data): Likewise.
23279 (sinh_upward_test_data): Likewise.
23280 (sqrt_test_data): Likewise.
23281 (tan_test_data): Likewise.
23282 (tan_tonearest_test_data): Likewise.
23283 (tan_towardzero_test_data): Likewise.
23284 (tan_downward_test_data): Likewise.
23285 (tan_upward_test_data): Likewise.
23286 (tanh_test_data): Likewise.
23287 (tgamma_test_data): Likewise.
23288 (trunc_test_data): Likewise.
23289 (y0_test_data): Likewise.
23290 (y1_test_data): Likewise.
23291 (yn_test_data): Likewise.
23292 (significand_test_data): Likewise.
23293
b679a606
JM
23294 * math/gen-libm-test.pl (@functions): Remove variable.
23295 (generate_testfile): Don't handle START and END lines.
23296 * math/libm-test.inc (START): New macro.
23297 (END): Likewise.
23298 (END_COMPLEX): Likewise.
23299 (acos_test): Use END macro without arguments.
23300 (acos_test_tonearest): Likewise.
23301 (acos_test_towardzero): Likewise.
23302 (acos_test_downward): Likewise.
23303 (acos_test_upward): Likewise.
23304 (acosh_test): Likewise.
23305 (asin_test): Likewise.
23306 (asin_test_tonearest): Likewise.
23307 (asin_test_towardzero): Likewise.
23308 (asin_test_downward): Likewise.
23309 (asin_test_upward): Likewise.
23310 (asinh_test): Likewise.
23311 (atan_test): Likewise.
23312 (atanh_test): Likewise.
23313 (atan2_test): Likewise.
23314 (cabs_test): Likewise.
23315 (cacos_test): Use END_COMPLEX macro without arguments.
23316 (cacosh_test): Likewise.
23317 (carg_test): Use END macro without arguments.
23318 (casin_test): Use END_COMPLEX macro without arguments.
23319 (casinh_test): Likewise.
23320 (catan_test): Likewise.
23321 (catanh_test): Likewise.
23322 (cbrt_test): Use END macro without arguments.
23323 (ccos_test): Use END_COMPLEX macro without arguments.
23324 (ccosh_test): Likewise.
23325 (ceil_test): Use END macro without arguments.
23326 (cexp_test): Use END_COMPLEX macro without arguments.
23327 (cimag_test): Use END macro without arguments.
23328 (clog_test): Use END_COMPLEX macro without arguments.
23329 (clog10_test): Likewise.
23330 (conj_test): Likewise.
23331 (copysign_test): Use END macro without arguments.
23332 (cos_test): Likewise.
23333 (cos_test_tonearest): Likewise.
23334 (cos_test_towardzero): Likewise.
23335 (cos_test_downward): Likewise.
23336 (cos_test_upward): Likewise.
23337 (cosh_test): Likewise.
23338 (cosh_test_tonearest): Likewise.
23339 (cosh_test_towardzero): Likewise.
23340 (cosh_test_downward): Likewise.
23341 (cosh_test_upward): Likewise.
23342 (cpow_test): Use END_COMPLEX macro without arguments.
23343 (cproj_test): Likewise.
23344 (creal_test): Use END macro without arguments.
23345 (csin_test): Use END_COMPLEX macro without arguments.
23346 (csinh_test): Likewise.
23347 (csqrt_test): Likewise.
23348 (ctan_test): Likewise.
23349 (ctan_test_tonearest): Likewise.
23350 (ctan_test_towardzero): Likewise.
23351 (ctan_test_downward): Likewise.
23352 (ctan_test_upward): Likewise.
23353 (ctanh_test): Likewise.
23354 (ctanh_test_tonearest): Likewise.
23355 (ctanh_test_towardzero): Likewise.
23356 (ctanh_test_downward): Likewise.
23357 (ctanh_test_upward): Likewise.
23358 (erf_test): Use END macro without arguments.
23359 (erfc_test): Likewise.
23360 (exp_test): Likewise.
23361 (exp_test_tonearest): Likewise.
23362 (exp_test_towardzero): Likewise.
23363 (exp_test_downward): Likewise.
23364 (exp_test_upward): Likewise.
23365 (exp10_test): Likewise.
23366 (exp2_test): Likewise.
23367 (expm1_test): Likewise.
23368 (fabs_test): Likewise.
23369 (fdim_test): Likewise.
23370 (finite_test): Likewise.
23371 (floor_test): Likewise.
23372 (fma_test): Likewise.
23373 (fma_test_towardzero): Likewise.
23374 (fma_test_downward): Likewise.
23375 (fma_test_upward): Likewise.
23376 (fmax_test): Likewise.
23377 (fmin_test): Likewise.
23378 (fmod_test): Likewise.
23379 (fpclassify_test): Likewise.
23380 (frexp_test): Likewise.
23381 (gamma_test): Likewise.
23382 (hypot_test): Likewise.
23383 (ilogb_test): Likewise.
23384 (isfinite_test): Likewise.
23385 (isgreater_test): Likewise.
23386 (isgreaterequal_test): Likewise.
23387 (isinf_test): Likewise.
23388 (isless_test): Likewise.
23389 (islessequal_test): Likewise.
23390 (islessgreater_test): Likewise.
23391 (isnan_test): Likewise.
23392 (isnormal_test): Likewise.
23393 (issignaling_test): Likewise.
23394 (isunordered_test): Likewise.
23395 (j0_test): Likewise.
23396 (j1_test): Likewise.
23397 (jn_test): Likewise.
23398 (ldexp_test): Likewise.
23399 (lgamma_test): Likewise.
23400 (lrint_test): Likewise.
23401 (lrint_test_tonearest): Likewise.
23402 (lrint_test_towardzero): Likewise.
23403 (lrint_test_downward): Likewise.
23404 (lrint_test_upward): Likewise.
23405 (llrint_test): Likewise.
23406 (llrint_test_tonearest): Likewise.
23407 (llrint_test_towardzero): Likewise.
23408 (llrint_test_downward): Likewise.
23409 (llrint_test_upward): Likewise.
23410 (log_test): Likewise.
23411 (log10_test): Likewise.
23412 (log1p_test): Likewise.
23413 (log2_test): Likewise.
23414 (logb_test): Likewise.
23415 (logb_test_downward): Likewise.
23416 (lround_test): Likewise.
23417 (llround_test): Likewise.
23418 (modf_test): Likewise.
23419 (nearbyint_test): Likewise.
23420 (nextafter_test): Likewise.
23421 (nexttoward_test): Likewise.
23422 (pow_test): Likewise.
23423 (pow_test_tonearest): Likewise.
23424 (pow_test_towardzero): Likewise.
23425 (pow_test_downward): Likewise.
23426 (pow_test_upward): Likewise.
23427 (remainder_test): Likewise.
23428 (remainder_test_tonearest): Likewise.
23429 (remainder_test_towardzero): Likewise.
23430 (remainder_test_downward): Likewise.
23431 (remainder_test_upward): Likewise.
23432 (remquo_test): Likewise.
23433 (rint_test): Likewise.
23434 (rint_test_tonearest): Likewise.
23435 (rint_test_towardzero): Likewise.
23436 (rint_test_downward): Likewise.
23437 (rint_test_upward): Likewise.
23438 (round_test): Likewise.
23439 (scalb_test): Likewise.
23440 (scalbn_test): Likewise.
23441 (scalbln_test): Likewise.
23442 (signbit_test): Likewise.
23443 (sin_test): Likewise.
23444 (sin_test_tonearest): Likewise.
23445 (sin_test_towardzero): Likewise.
23446 (sin_test_downward): Likewise.
23447 (sin_test_upward): Likewise.
23448 (sincos_test): Likewise.
23449 (sinh_test): Likewise.
23450 (sinh_test_tonearest): Likewise.
23451 (sinh_test_towardzero): Likewise.
23452 (sinh_test_downward): Likewise.
23453 (sinh_test_upward): Likewise.
23454 (sqrt_test): Likewise.
23455 (tan_test): Likewise.
23456 (tan_test_tonearest): Likewise.
23457 (tan_test_towardzero): Likewise.
23458 (tan_test_downward): Likewise.
23459 (tan_test_upward): Likewise.
23460 (tanh_test): Likewise.
23461 (tgamma_test): Likewise.
23462 (trunc_test): Likewise.
23463 (y0_test): Likewise.
23464 (y1_test): Likewise.
23465 (yn_test): Likewise.
23466 (significand_test): Likewise.
23467
bae143d2
OB
234682013-05-24 Ondřej Bílka <neleai@seznam.cz>
23469
23470 [BZ #15381]
23471 * libio/genops.c (_IO_no_init): Initialize wide struct info.
23472
9323d39b
EM
234732013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
23474
d4ea44a0 23475 [BZ #14894]
9323d39b
EM
23476 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
23477 __ppc_mdoio and __ppc_mdoom.
23478 * manual/platform.texi: Document new functions __ppc_yield,
23479 __ppc_mdoio and __ppc_mdoom.
23480
13e23af7
CD
234812013-05-22 Carlos O'Donell <carlos@redhat.com>
23482
23483 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
23484 (main): Mention "tls" pseudo-hwcap is legacy.
23485 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
23486
351fe550
JM
234872013-05-22 Joseph Myers <joseph@codesourcery.com>
23488
23489 * math/gen-libm-test.pl (parse_args): Output only string of
23490 arguments as text for test name, not full call or descriptions of
23491 tests for extra outputs.
23492 (generate_testfile): Do not pass function name to parse_args.
23493 Generate this_func variable from START.
23494 * math/libm-test.inc (struct test_f_f_data): Rename test_name
23495 field to arg_str.
23496 (struct test_ff_f_data): Likewise.
23497 (test_ff_f_data_nexttoward): Likewise.
23498 (struct test_fi_f_data): Likewise.
23499 (struct test_fl_f_data): Likewise.
23500 (struct test_if_f_data): Likewise.
23501 (struct test_fff_f_data): Likewise.
23502 (struct test_c_f_data): Likewise.
23503 (struct test_f_f1_data): Likewise. Remove field extra_name.
23504 (struct test_fF_f1_data): Likewise.
23505 (struct test_ffI_f1_data): Likewise.
23506 (struct test_c_c_data): Rename test_name field to arg_str.
23507 (struct test_cc_c_data): Likewise.
23508 (struct test_f_i_data): Likewise.
23509 (struct test_ff_i_data): Likewise.
23510 (struct test_f_l_data): Likewise.
23511 (struct test_f_L_data): Likewise.
23512 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
23513 and extra2_name.
23514 (COMMON_TEST_SETUP): New macro.
23515 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
23516 (COMMON_TEST_CLEANUP): Likewise.
23517 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
23518 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
23519 macros.
23520 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
23521 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
23522 macros.
23523 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
23524 (RUN_TEST_fff_f): Take argument string. Call new setup and
23525 cleanup macros.
23526 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
23527 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
23528 macros.
23529 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
23530 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
23531 macros.
23532 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
23533 (RUN_TEST_fF_f1): Take argument string. Call new setup and
23534 cleanup macros.
23535 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
23536 (RUN_TEST_fI_f1): Take argument string. Call new setup and
23537 cleanup macros.
23538 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
23539 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
23540 cleanup macros.
23541 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
23542 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
23543 macros.
23544 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
23545 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
23546 macros.
23547 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
23548 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
23549 macros.
23550 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
23551 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
23552 cleanup macros.
23553 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
23554 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
23555 cleanup macros.
23556 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
23557 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
23558 macros.
23559 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
23560 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
23561 cleanup macros.
23562 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
23563 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
23564 macros.
23565 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
23566 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
23567 macros.
23568 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
23569 (RUN_TEST_fFF_11): Take argument string. Call new setup and
23570 cleanup macros.
23571 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
23572
85118d4d
EBM
235732013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
23574
23575 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
23576 to _sifields.sigfault.
23577 (si_addr_lsb): Define new macro.
23578 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
23579 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
23580 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
23581
7a44c18f
CD
235822013-05-03 Carlos O'Donell <carlos at redhat.com>
23583
23584 [BZ #15441]
23585 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
23586 returns -1.
23587 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
23588 null return -1.
23589 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
23590 loading the domain.
23591
b50a7181
JM
235922013-05-22 Joseph Myers <joseph@codesourcery.com>
23593
23594 * math/gen-libm-test.pl (parse_args): Do not include expected
23595 result in test name.
23596 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
23597 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
23598 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
23599 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
23600 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
23601 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23602
051063c8
SP
236032013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
23604
3ce9e010
SP
23605 * benchtests/Makefile: Sort function entries.
23606
051063c8
SP
23607 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
23608 tanh, asinh, acosh, atanh.
23609 * benchtests/acos-inputs: New file.
23610 * benchtests/acosh-inputs: New file.
23611 * benchtests/asin-inputs: New file.
23612 * benchtests/asinh-inputs: New file.
23613 * benchtests/atanh-inputs: New file.
23614 * benchtests/cosh-inputs: New file.
23615 * benchtests/log-inputs: New file.
23616 * benchtests/sinh-inputs: New file.
23617 * benchtests/tanh-inputs: New file.
23618
47c22455
DL
236192013-05-21 Dmitry V. Levin <ldv@altlinux.org>
23620
23621 [BZ #15339]
23622 * posix/tst-getaddrinfo4.c: New test.
23623 * posix/Makefile (tests): Add it.
23624
3d04f5db
SP
236252013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
23626
23627 [BZ #15339]
23628 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
23629 when no services were used.
23630 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
23631 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
23632
d5dd6189
AS
236332013-05-21 Andreas Schwab <schwab@suse.de>
23634
23635 [BZ #15014]
23636 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
23637 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
23638 successful.
23639 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
23640 redundant variable declarations and reallocation of buffer when
23641 parsing as IPv6 address. Always set NSS status when called from
23642 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
23643 buffer too small. Correct computation of needed size.
23644 * nss/Makefile (tests): Add test-digits-dots.
23645 * nss/test-digits-dots.c: New test.
23646
fef94eab
SP
236472013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
23648
23649 * benchtests/Makefile: Remove instructions for adding
23650 benchmark tests.
23651 * benchtests/README: New file to explain how to execute and
23652 enhance the benchmark tests.
23653
e39adf43
AS
236542013-05-21 Andreas Schwab <schwab@suse.de>
23655
23656 [BZ #15493]
23657 * setjmp/Makefile (tests): Add tst-sigsetjmp.
23658 * setjmp/tst-sigsetjmp.c: New test.
23659
b2b671b6
OB
236602013-05-20 Ondřej Bílka <neleai@seznam.cz>
23661
23662 * sysdeps/x86_64/memset.S (memset): New implementation.
23663 (__bzero): Likewise.
23664 (__memset_tail): New function.
23665
2d48b41c
OB
236662013-05-20 Ondřej Bílka <neleai@seznam.cz>
23667
23668 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
23669 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
23670 __memcpy_sse2_unaligned ifunc selection.
23671 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
23672 Add memcpy-sse2-unaligned.S.
23673 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
23674 Add: __memcpy_sse2_unaligned.
23675
f16cc3eb
JM
236762013-05-19 Joseph Myers <joseph@codesourcery.com>
23677
3e694268
JM
23678 [BZ #15490]
23679 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
23680 math_force_eval before restoring floating-point envrionment.
23681 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
23682 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
23683 Likewise.
23684 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
23685 <math_private.h>.
23686 (__nearbyintl): Use math_force_eval before restoring
23687 floating-point environment.
23688 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
23689
db62a907
JM
23690 * math/gen-libm-test.pl (special_functions): Remove.
23691 (parse_args): Don't handle TEST_extra. Handle functions with no
23692 return value.
23693 * math/libm-test.inc (struct test_sincos_data): Replace with
23694 struct test_fFF_11_data.
23695 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
23696 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
23697 (sincos_test_data): Change element type to struct
23698 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
23699 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
23700 RUN_TEST_LOOP_sincos.
23701 * math/README.libm-test: Don't mention special handling of
23702 individual functions.
23703 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
23704 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
23705 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
23706 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
23707 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
23708 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23709
f16cc3eb
JM
23710 * math/gen-libm-test.pl (get_variable): Remove function.
23711 (parse_args): Don't show pointer parameters to call in test
23712 names. Use "extra output N" in test names for extra outputs
23713 rather than naming variables.
23714
3779b5b6
JM
237152013-05-18 Joseph Myers <joseph@codesourcery.com>
23716
2ee094ff
JM
23717 [BZ #15488]
23718 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
23719 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
23720 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
23721 double tests.
23722 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
23723 disable.
23724 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
23725 check_long_double.
23726
3779b5b6
JM
23727 * math/gen-libm-test.pl (@tests): Remove variable.
23728 ($count): Likewise.
23729 (new_test): Remove function.
23730 (show_exceptions): New function.
23731 (special_functions): Use show_exceptions instead of new_test.
23732 (parse_args): Likewise.
23733 (generate_testfile): Pass only function name in generated call to
23734 print_max_error or print_complex_max_error.
23735 (get_ulps): Do not handle complex tests specially.
23736 (output_test): Rename to ...
23737 (get_all_ulps_for_test): ... this. Return a string rather than
23738 printing to a file. Require ulps to be present.
23739 (output_ulps): Generate arrays rather than #defines.
23740 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
23741 (struct ulp_data): New type.
23742 (BUILD_COMPLEX_ULP): Remove macro.
23743 (compare_ulp_data): New function.
23744 (find_ulps): Likewise.
23745 (find_test_ulps): Likewise.
23746 (find_function_ulps): Likewise.
23747 (find_complex_function_ulps): Likewise.
23748 (print_max_error): Determine allowed ulps using
23749 find_function_ulps.
23750 (print_complex_max_error): Determine allowed ulps using
23751 find_complex_function_ulps.
23752 (check_float_internal): Determine max ulps using find_test_ulps.
23753 (check_float): Do not take max_ulp parameter. Update call to
23754 check_float_internal.
23755 (check_complex): Likewise.
23756 (check_int): Do not take max_ulp parameter.
23757 (check_long): Likewise.
23758 (check_bool): Likewise.
23759 (check_longlong): Likewise.
23760 (struct test_f_f_data): Remove max_ulp field.
23761 (struct test_ff_f_data): Likewise.
23762 (struct test_ff_f_data_nexttoward): Likewise.
23763 (struct test_fi_f_data): Likewise.
23764 (struct test_fl_f_data): Likewise.
23765 (struct test_if_f_data): Likewise.
23766 (struct test_fff_f_data): Likewise.
23767 (struct test_c_f_data): Likewise.
23768 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
23769 (struct test_fF_f1_data): Likewise.
23770 (struct test_ffI_f1_data): Likewise.
23771 (struct test_c_c_data): Remove max_ulp field.
23772 (struct test_cc_c_data): Likewise.
23773 (struct test_f_i_data): Likewise.
23774 (struct test_ff_i_data): Likewise.
23775 (struct test_f_l_data): Likewise.
23776 (struct test_f_L_data): Likewise.
23777 (struct test_sincos_data): Likewise.
23778 (RUN_TEST_f_f): Do not handle ulps.
23779 (RUN_TEST_LOOP_f_f): Likewise.
23780 (RUN_TEST_2_f): Likewise.
23781 (RUN_TEST_LOOP_2_f): Likewise.
23782 (RUN_TEST_fff_f): Likewise.
23783 (RUN_TEST_LOOP_fff_f): Likewise.
23784 (RUN_TEST_c_f): Likewise.
23785 (RUN_TEST_LOOP_c_f): Likewise.
23786 (RUN_TEST_f_f1): Likewise.
23787 (RUN_TEST_LOOP_f_f1): Likewise.
23788 (RUN_TEST_fF_f1): Likewise.
23789 (RUN_TEST_LOOP_fF_f1): Likewise.
23790 (RUN_TEST_fI_f1): Likewise.
23791 (RUN_TEST_LOOP_fI_f1): Likewise.
23792 (RUN_TEST_ffI_f1): Likewise.
23793 (RUN_TEST_LOOP_ffI_f1): Likewise.
23794 (RUN_TEST_c_c): Likewise.
23795 (RUN_TEST_LOOP_c_c): Likewise.
23796 (RUN_TEST_cc_c): Likewise.
23797 (RUN_TEST_LOOP_cc_c): Likewise.
23798 (RUN_TEST_f_i): Likewise.
23799 (RUN_TEST_LOOP_f_i): Likewise.
23800 (RUN_TEST_f_i_tg): Likewise.
23801 (RUN_TEST_LOOP_f_i_tg): Likewise.
23802 (RUN_TEST_ff_i_tg): Likewise.
23803 (RUN_TEST_LOOP_ff_i_tg): Likewise.
23804 (RUN_TEST_f_b): Likewise.
23805 (RUN_TEST_LOOP_f_b): Likewise.
23806 (RUN_TEST_f_b_tg): Likewise.
23807 (RUN_TEST_LOOP_f_b_tg): Likewise.
23808 (RUN_TEST_f_l): Likewise.
23809 (RUN_TEST_LOOP_f_l): Likewise.
23810 (RUN_TEST_f_L): Likewise.
23811 (RUN_TEST_LOOP_f_L): Likewise.
23812 (RUN_TEST_sincos): Likewise.
23813 (RUN_TEST_LOOP_sincos): Likewise.
23814
8269107f
JM
238152013-05-17 Joseph Myers <joseph@codesourcery.com>
23816
bb38759d
JM
23817 [BZ #15480]
23818 [BZ #15485]
23819 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
23820 main case of finite arguments, set rounding mode to FE_TONEAREST
23821 and discard exceptions.
23822 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
23823 exceptions.
23824 (remainder_tonearest_test_data): New variable.
23825 (remainder_test_tonearest): New function.
23826 (remainder_towardzero_test_data): New variable.
23827 (remainder_test_towardzero): New function.
23828 (remainder_downward_test_data): New variable.
23829 (remainder_test_downward): New function.
23830 (remainder_upward_test_data): New variable.
23831 (remainder_test_upward): New function.
23832 (main): Call the new test functions.
23833
a00bdcf0
JM
23834 * math/libm-test.inc (struct test_f_f1_data): Remove field
23835 extra_init.
23836 (struct test_fF_f1_data): Likewise.
23837 (struct test_ffI_f1_data): Likewise.
23838 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
23839 based on value of EXTRA_EXPECTED.
23840 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
23841 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
23842 EXTRA_VAR based on value of EXTRA_EXPECTED.
23843 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
23844 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
23845 EXTRA_VAR based on value of EXTRA_EXPECTED.
23846 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
23847 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
23848 EXTRA_VAR based on value of EXTRA_EXPECTED.
23849 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
23850 * math/gen-libm-test.pl (parse_args): Don't output initializers
23851 for extra output values.
23852
de407f79
JM
23853 * math/libm-test.inc (check_int): Expect result to be exactly
23854 equal to expected value and do not handle ulps.
23855 (check_long): Likewise.
23856 (check_longlong): Likewise.
23857
8269107f
JM
23858 * math/libm-test.inc (ceil_test_data): Test for "inexact"
23859 exceptions.
23860 (cimag_test_data): Likewise.
23861 (conj_test_data): Likewise.
23862 (copysign_test_data): Likewise.
23863 (cproj_test_data): Likewise.
23864 (creal_test_data): Likewise.
23865 (fabs_test_data): Likewise.
23866 (fdim_test_data): Likewise.
23867 (finite_test_data): Likewise.
23868 (floor_test_data): Likewise.
23869 (fmax_test_data): Likewise.
23870 (fmin_test_data): Likewise.
23871 (fmod_test_data): Likewise.
23872 (fpclassify_test_data): Likewise.
23873 (frexp_test_data): Likewise.
23874 (ilogb_test_data): Likewise.
23875 (isfinite_test_data): Likewise.
23876 (isgreater_test_data): Likewise.
23877 (isgreaterequal_test_data): Likewise.
23878 (isinf_test_data): Likewise.
23879 (isless_test_data): Likewise.
23880 (islessequal_test_data): Likewise.
23881 (islessgreater_test_data): Likewise.
23882 (isnan_test_data): Likewise.
23883 (isnormal_test_data): Likewise.
23884 (issignaling_test_data): Likewise.
23885 (isunordered_test_data): Likewise.
23886 (ldexp_test_data): Likewise.
23887 (lrint_test_data): Likewise.
23888 (lrint_test_data) [TEST_FLOAT]: Disable one test.
23889 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
23890 (lrint_tonearest_test_data): Test for "inexact" exceptions.
23891 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
23892 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
23893 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
23894 test input.
23895 (lrint_towardzero_test_data): Test for "inexact" exceptions.
23896 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
23897 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
23898 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
23899 that test input.
23900 (lrint_downward_test_data): Test for "inexact" exceptions.
23901 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
23902 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
23903 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
23904 test input.
23905 (lrint_upward_test_data): Test for "inexact" exceptions.
23906 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
23907 test input.
23908 (llrint_test_data): Test for "inexact" exceptions.
23909 (llrint_test_data) [TEST_FLOAT]: Disable one test.
23910 (llrint_tonearest_test_data): Test for "inexact" exceptions.
23911 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
23912 (llrint_towardzero_test_data): Test for "inexact" exceptions.
23913 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
23914 (llrint_downward_test_data): Test for "inexact" exceptions.
23915 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
23916 (llrint_upward_test_data): Test for "inexact" exceptions.
23917 (logb_test_data): Likewise.
23918 (logb_downward_test_data): Likewise.
23919 (nextafter_test_data): Likewise.
23920 (nexttoward_test_data): Likewise.
23921 (remainder_test_data): Likewise.
23922 (remquo_test_data): Likewise.
23923 (scalbn_test_data): Likewise.
23924 (scalbln_test_data): Likewise.
23925 (signbit_test_data): Likewise.
23926 (sqrt_test_data): Likewise.
23927 (significand_test_data): Likewise.
23928
48a18de1
SP
239292013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
23930
23931 [BZ #15424]
23932 * benchtests/bench-modf.c (struct args): Mark arg0 as
23933 volatile.
23934 * scripts/bench.pl: Mark members of struct args as volatile.
23935
13d3b41a
AZ
239362013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23937
68191c1d 23938 [BZ # 15497]
13d3b41a
AZ
23939 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
23940 negative infinity on POWER6 or lower.
23941 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
23942
2848b105
MR
239432013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
23944
23945 [BZ #15442]
23946 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
23947 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
23948 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
23949 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
23950 (_FP_SETQNAN): New macro.
23951 (_FP_SETQNAN_SEMIRAW): Likewise.
23952 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
23953 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
23954 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
23955 (FP_EXTEND): Use _FP_FRAC_SNANP.
23956 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
23957 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
23958 into account.
23959 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
23960 New macro.
23961 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
23962 Likewise.
23963
323e5cb7
JM
239642013-05-16 Joseph Myers <joseph@codesourcery.com>
23965
c58b274f
JM
23966 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
23967 with DIVIDE_BY_ZERO_EXCEPTION.
23968 (gamma_test_data): Likewise.
23969 (lgamma_test_data): Likewise.
23970 (log_test_data): Likewise.
23971 (log10_test_data): Likewise.
23972 (log2_test_data): Likewise.
23973 (tgamma_test_data): Likewise.
23974
0ab34904
JM
23975 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
23976 (acos_test_tonearest): Likewise.
23977 (acos_test_towardzero): Likewise.
23978 (acos_test_downward): Likewise.
23979 (acos_test_upward): Likewise.
23980 (acosh_test): Likewise.
23981 (asin_test): Likewise.
23982 (asin_test_tonearest): Likewise.
23983 (asin_test_towardzero): Likewise.
23984 (asin_test_downward): Likewise.
23985 (asin_test_upward): Likewise.
23986 (asinh_test): Likewise.
23987 (atan_test): Likewise.
23988 (atanh_test): Likewise.
23989 (atan2_test): Likewise.
23990 (cabs_test): Likewise.
23991 (cacos_test): Likewise.
23992 (cacosh_test): Likewise.
23993 (casin_test): Likewise.
23994 (casinh_test): Likewise.
23995 (catan_test): Likewise.
23996 (catanh_test): Likewise.
23997 (cbrt_test): Likewise.
23998 (ccos_test): Likewise.
23999 (ccosh_test): Likewise.
24000 (cexp_test): Likewise.
24001 (clog_test): Likewise.
24002 (clog10_test): Likewise.
24003 (cos_test): Likewise.
24004 (cos_test_tonearest): Likewise.
24005 (cos_test_towardzero): Likewise.
24006 (cos_test_downward): Likewise.
24007 (cos_test_upward): Likewise.
24008 (cosh_test): Likewise.
24009 (cosh_test_tonearest): Likewise.
24010 (cosh_test_towardzero): Likewise.
24011 (cosh_test_downward): Likewise.
24012 (cosh_test_upward): Likewise.
24013 (cpow_test): Likewise.
24014 (csin_test): Likewise.
24015 (csinh_test): Likewise.
24016 (csqrt_test): Likewise.
24017 (ctan_test): Likewise.
24018 (ctan_test_tonearest): Likewise.
24019 (ctan_test_towardzero): Likewise.
24020 (ctan_test_downward): Likewise.
24021 (ctan_test_upward): Likewise.
24022 (ctanh_test): Likewise.
24023 (ctanh_test_tonearest): Likewise.
24024 (ctanh_test_towardzero): Likewise.
24025 (ctanh_test_downward): Likewise.
24026 (ctanh_test_upward): Likewise.
24027 (erf_test): Likewise.
24028 (erfc_test): Likewise.
24029 (exp_test): Likewise.
24030 (exp_test_tonearest): Likewise.
24031 (exp_test_towardzero): Likewise.
24032 (exp_test_downward): Likewise.
24033 (exp_test_upward): Likewise.
24034 (exp10_test): Likewise.
24035 (exp2_test): Likewise.
24036 (expm1_test): Likewise.
24037 (fmod_test): Likewise.
24038 (gamma_test): Likewise.
24039 (hypot_test): Likewise.
24040 (j0_test): Likewise.
24041 (j1_test): Likewise.
24042 (jn_test): Likewise.
24043 (lgamma_test): Likewise.
24044 (log_test): Likewise.
24045 (log10_test): Likewise.
24046 (log1p_test): Likewise.
24047 (log2_test): Likewise.
24048 (logb_test_downward): Likewise.
24049 (pow_test): Likewise.
24050 (pow_test_tonearest): Likewise.
24051 (pow_test_towardzero): Likewise.
24052 (pow_test_downward): Likewise.
24053 (pow_test_upward): Likewise.
24054 (remainder_test): Likewise.
24055 (remquo_test): Likewise.
24056 (sin_test): Likewise.
24057 (sin_test_tonearest): Likewise.
24058 (sin_test_towardzero): Likewise.
24059 (sin_test_downward): Likewise.
24060 (sin_test_upward): Likewise.
24061 (sincos_test): Likewise.
24062 (sinh_test): Likewise.
24063 (sinh_test_tonearest): Likewise.
24064 (sinh_test_towardzero): Likewise.
24065 (sinh_test_downward): Likewise.
24066 (sinh_test_upward): Likewise.
24067 (sqrt_test): Likewise.
24068 (tan_test): Likewise.
24069 (tan_test_tonearest): Likewise.
24070 (tan_test_towardzero): Likewise.
24071 (tan_test_downward): Likewise.
24072 (tan_test_upward): Likewise.
24073 (tanh_test): Likewise.
24074 (tgamma_test): Likewise.
24075 (y0_test): Likewise.
24076 (y1_test): Likewise.
24077 (yn_test): Likewise.
24078
323e5cb7
JM
24079 * math/gen-libm-test.pl (adjust_arg): Remove function.
24080 (special_function): Remove argument $in_func. Only handle
24081 generating output for tables of tests, not inside functions.
24082 (parse_args): Likewise.
24083 (generate_testfile): Remove variable $in_func. Update call to
24084 parse_args.
24085 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
24086 (MINUS_ZERO_INIT): Rename macro to minus_zero.
24087 (PLUS_INFTY_INIT): Rename macro to plus_infty.
24088 (MINUS_INFTY_INIT): Rename macro to minus_infty.
24089 (QNAN_VALUE_INIT): Rename macro to qnan_value.
24090 (MAX_VALUE_INIT): Rename macro to max_value.
24091 (MIN_VALUE_INIT): Rename macro to min_value.
24092 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
24093 (plus_zero): Remove variable.
24094 (minus_zero): Likewise.
24095 (plus_infty): Likewise.
24096 (minus_infty): Likewise.
24097 (qnan_value): Likewise.
24098 (max_value): Likewise.
24099 (min_value): Likewise.
24100 (min_subnorm_value): Likewise.
24101
e054f494
RA
241022013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
24103
24104 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
24105 uint64_t or uint32_t usage.
24106 * crypt/sha256-block.c: Likewise.
24107 * crypt/sha256-crypt.c: Likewise.
24108 * crypt/sha256.c: Likewise.
24109 * crypt/sha512-block.c: Likewise.
24110 * crypt/sha512-crypt.c: Likewise.
24111 * crypt/sha512.c: Likewise.
24112 * debug/backtrace-tst.c: Likewise.
24113 * debug/pcprofiledump.c: Likewise.
24114 * elf/cache.c: Likewise.
24115 * elf/dl-cache.c: Likewise.
24116 * elf/dl-misc.c: Likewise.
24117 * elf/dl-profile.c: Likewise.
24118 * elf/dl-support.c: Likewise.
24119 * elf/ldconfig.c: Likewise.
24120 * elf/sprof.c: Likewise.
24121 * iconv/dummy-repertoire.c: Likewise.
24122 * iconv/iconv_charmap.c: Likewise.
24123 * iconv/skeleton.c: Likewise.
24124 * iconvdata/8bit-generic.c: Likewise.
24125 * iconvdata/cp737.h: Likewise.
24126 * iconvdata/cp775.h: Likewise.
24127 * iconvdata/ibm1008.h: Likewise.
24128 * iconvdata/ibm1025.h: Likewise.
24129 * iconvdata/ibm1046.h: Likewise.
24130 * iconvdata/ibm1097.h: Likewise.
24131 * iconvdata/ibm1112.h: Likewise.
24132 * iconvdata/ibm1122.h: Likewise.
24133 * iconvdata/ibm1123.h: Likewise.
24134 * iconvdata/ibm1124.h: Likewise.
24135 * iconvdata/ibm1129.h: Likewise.
24136 * iconvdata/ibm1130.h: Likewise.
24137 * iconvdata/ibm1132.h: Likewise.
24138 * iconvdata/ibm1133.h: Likewise.
24139 * iconvdata/ibm1137.h: Likewise.
24140 * iconvdata/ibm1140.h: Likewise.
24141 * iconvdata/ibm1141.h: Likewise.
24142 * iconvdata/ibm1142.h: Likewise.
24143 * iconvdata/ibm1143.h: Likewise.
24144 * iconvdata/ibm1144.h: Likewise.
24145 * iconvdata/ibm1145.h: Likewise.
24146 * iconvdata/ibm1146.h: Likewise.
24147 * iconvdata/ibm1147.h: Likewise.
24148 * iconvdata/ibm1148.h: Likewise.
24149 * iconvdata/ibm1149.h: Likewise.
24150 * iconvdata/ibm1153.h: Likewise.
24151 * iconvdata/ibm1154.h: Likewise.
24152 * iconvdata/ibm1155.h: Likewise.
24153 * iconvdata/ibm1156.h: Likewise.
24154 * iconvdata/ibm1157.h: Likewise.
24155 * iconvdata/ibm1158.h: Likewise.
24156 * iconvdata/ibm1160.h: Likewise.
24157 * iconvdata/ibm1161.h: Likewise.
24158 * iconvdata/ibm1162.h: Likewise.
24159 * iconvdata/ibm1163.h: Likewise.
24160 * iconvdata/ibm1164.h: Likewise.
24161 * iconvdata/ibm1166.h: Likewise.
24162 * iconvdata/ibm1167.h: Likewise.
24163 * iconvdata/ibm12712.h: Likewise.
24164 * iconvdata/ibm1390.h: Likewise.
24165 * iconvdata/ibm1399.h: Likewise.
24166 * iconvdata/ibm16804.h: Likewise.
24167 * iconvdata/ibm4517.h: Likewise.
24168 * iconvdata/ibm4899.h: Likewise.
24169 * iconvdata/ibm4909.h: Likewise.
24170 * iconvdata/ibm4971.h: Likewise.
24171 * iconvdata/ibm5347.h: Likewise.
24172 * iconvdata/ibm803.h: Likewise.
24173 * iconvdata/ibm856.h: Likewise.
24174 * iconvdata/ibm901.h: Likewise.
24175 * iconvdata/ibm902.h: Likewise.
24176 * iconvdata/ibm9030.h: Likewise.
24177 * iconvdata/ibm9066.h: Likewise.
24178 * iconvdata/ibm921.h: Likewise.
24179 * iconvdata/ibm922.h: Likewise.
24180 * iconvdata/ibm9448.h: Likewise.
24181 * iconvdata/isiri-3342.h: Likewise.
24182 * iconvdata/jis0201.h: Likewise.
24183 * include/link.h: Likewise.
24184 * include/netdb.h: Likewise.
24185 * inet/check_native.c: Likewise.
24186 * inet/check_pf.c: Likewise.
24187 * inet/getipv4sourcefilter.c: Likewise.
24188 * inet/getnameinfo.c: Likewise.
24189 * inet/getsourcefilter.c: Likewise.
24190 * inet/htonl.c: Likewise.
24191 * inet/setipv4sourcefilter.c: Likewise.
24192 * inet/setsourcefilter.c: Likewise.
24193 * inet/test-inet6_opt.c: Likewise.
24194 * inet/tst-network.c: Likewise.
24195 * locale/C-collate.c: Likewise.
24196 * locale/C-ctype.c: Likewise.
24197 * locale/C-time.c: Likewise.
24198 * locale/C-translit.h: Likewise.
24199 * locale/loadarchive.c: Likewise.
24200 * locale/programs/3level.h: Likewise.
24201 * locale/programs/charmap.c: Likewise.
24202 * locale/programs/charmap.h: Likewise.
24203 * locale/programs/ld-address.c: Likewise.
24204 * locale/programs/ld-collate.c: Likewise.
24205 * locale/programs/ld-ctype.c: Likewise.
24206 * locale/programs/ld-identification.c: Likewise.
24207 * locale/programs/ld-measurement.c: Likewise.
24208 * locale/programs/ld-messages.c: Likewise.
24209 * locale/programs/ld-monetary.c: Likewise.
24210 * locale/programs/ld-name.c: Likewise.
24211 * locale/programs/ld-numeric.c: Likewise.
24212 * locale/programs/ld-paper.c: Likewise.
24213 * locale/programs/ld-telephone.c: Likewise.
24214 * locale/programs/ld-time.c: Likewise.
24215 * locale/programs/linereader.c: Likewise.
24216 * locale/programs/locale.c: Likewise.
24217 * locale/programs/locarchive.c: Likewise.
24218 * locale/programs/locfile.h: Likewise.
24219 * locale/programs/repertoire.c: Likewise.
24220 * locale/programs/simple-hash.c: Likewise.
24221 * locale/programs/simple-hash.h: Likewise.
24222 * malloc/memusage.c: Likewise.
24223 * malloc/memusagestat.c: Likewise.
24224 * nis/nis_defaults.c: Likewise.
24225 * nis/nis_hash.c: Likewise.
24226 * nis/nis_print.c: Likewise.
24227 * nis/nis_xdr.c: Likewise.
24228 * nscd/connections.c: Likewise.
24229 * nscd/hstcache.c: Likewise.
24230 * nscd/nscd_gethst_r.c: Likewise.
24231 * nscd/nscd_getserv_r.c: Likewise.
24232 * nscd/nscd_helper.c: Likewise.
24233 * nscd/servicescache.c: Likewise.
24234 * nss/makedb.c: Likewise.
24235 * nss/nss_db/db-XXX.c: Likewise.
24236 * nss/nss_db/db-initgroups.c: Likewise.
24237 * nss/nss_db/db-netgrp.c: Likewise.
24238 * nss/nss_files/files-network.c: Likewise.
24239 * nss/nss_files/files-parse.c: Likewise.
24240 * posix/bug-regex5.c: Likewise.
24241 * posix/fnmatch_loop.c: Likewise.
24242 * posix/regcomp.c: Likewise.
24243 * posix/regexec.c: Likewise.
24244 * posix/tst-rfc3484-2.c: Likewise.
24245 * posix/tst-rfc3484-3.c: Likewise.
24246 * posix/tst-rfc3484.c: Likewise.
24247 * resolv/nss_dns/dns-canon.c: Likewise.
24248 * resolv/nss_dns/dns-network.c: Likewise.
24249 * resolv/res_init.c: Likewise.
24250 * resolv/res_mkquery.c: Likewise.
24251 * resolv/tst-aton.c: Likewise.
24252 * stdlib/cxa_atexit.c: Likewise.
24253 * stdlib/cxa_finalize.c: Likewise.
24254 * stdlib/gen-fpioconst.c: Likewise.
24255 * stdlib/strtol_l.c: Likewise.
24256 * string/tst-endian.c: Likewise.
24257 * sunrpc/auth_des.c: Likewise.
24258 * sunrpc/clnt_udp.c: Likewise.
24259 * sunrpc/rtime.c: Likewise.
24260 * sunrpc/svcauth_des.c: Likewise.
24261 * sunrpc/xdr.c: Likewise.
24262 * sunrpc/xdr_intXX_t.c: Likewise.
24263 * sunrpc/xdr_rec.c: Likewise.
24264 * sysdeps/generic/ldconfig.h: Likewise.
24265 * sysdeps/generic/ldsodefs.h: Likewise.
24266 * sysdeps/generic/memusage.h: Likewise.
24267 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
24268 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
24269 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
24270 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
24271 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
24272 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
24273 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
24274 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
24275 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
24276 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
24277 * sysdeps/posix/getaddrinfo.c: Likewise.
24278 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
24279 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
24280 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
24281 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
24282 * sysdeps/powerpc/test-gettimebase.c: Likewise.
24283 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
24284 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
24285 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
24286 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
24287 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
24288 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
24289 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
24290 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
24291 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
24292 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
24293 * sysdeps/x86_64/dl-tls.h: Likewise.
24294 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
24295 * time/alt_digit.c: Likewise.
24296 * time/era.c: Likewise.
24297 * wcsmbs/tst-c16c32-1.c: Likewise.
24298
8c75f674
JM
242992013-05-16 Joseph Myers <joseph@codesourcery.com>
24300
24301 * math/libm-test.inc (struct test_sincos_data): New type.
24302 (RUN_TEST_LOOP_sincos): New macro.
24303 (sincos_test_data): New variable.
24304 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
24305
e6e49e59
RH
243062013-05-16 Richard Henderson <rth@redhat.com>
24307
24308 * math/atest-exp2.c (LIMB64): New macro.
24309 (CONSTSZ): New macro.
24310 (mp_exp1, mp_exp_m1, mp_log2): New variables.
24311 (hexdig): Move ...
24312 (print_mpn_fp): ... to function scope.
24313 (read_mpn_hex): Remove.
24314 (get_log2): Remove.
24315 (exp2_mpn): Use mp_log2.
24316 (main): Use mp_exp1.
24317
15c7c18d
JM
243182013-05-16 Joseph Myers <joseph@codesourcery.com>
24319
105a07df
JM
24320 * math/libm-test.inc: Remove comment about not testing "inexact"
24321 exceptions.
24322 (INEXACT_EXCEPTION): New macro.
24323 (NO_INEXACT_EXCEPTION): Likewise.
24324 (INVALID_EXCEPTION_OK): Update value.
24325 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
24326 (OVERFLOW_EXCEPTION_OK): Likewise.
24327 (UNDERFLOW_EXCEPTION_OK): Likewise.
24328 (IGNORE_ZERO_INF_SIGN): Likewise.
24329 (ERRNO_UNCHANGED): Likewise.
24330 (ERRNO_EDOM): Likewise.
24331 (ERRNO_ERANGE): Likewise.
24332 (test_exceptions): Handle testing "inexact" exceptions.
24333 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
24334 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
24335 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
24336 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
24337 INEXACT_EXCEPTION.
24338 (rint_towardzero_test_data): Likewise.
24339 (rint_downward_test_data): Likewise.
24340 (rint_upward_test_data): Likewise.
24341
e9eee333
JM
24342 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
24343 with OVERFLOW_EXCEPTION.
24344 (exp10_test_data): Likewise.
24345 (exp2_test_data): Likewise.
24346 (expm1_test_data): Likewise.
24347 (lgamma_test_data): Likewise.
24348 (pow_test_data): Likewise.
24349 (tgamma_test_data): Likewise.
24350 (yn_test_data): Remove duplicate test of overflow.
24351
1c38ff73
JM
24352 * math/libm-test.inc (struct test_cc_c_data): New type.
24353 (RUN_TEST_LOOP_cc_c): New macro.
24354 (cpow_test_data): New variable.
24355 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
24356
15c7c18d
JM
24357 * math/libm-test.inc (struct test_f_L_data): New type.
24358 (RUN_TEST_LOOP_f_L): New macro.
24359 (llrint_test_data): New variable.
24360 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
24361 (llrint_tonearest_test_data): New variable.
24362 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
24363 (llrint_towardzero_test_data): New variable.
24364 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
24365 (llrint_downward_test_data): New variable.
24366 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
24367 (llrint_upward_test_data): New variable.
24368 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
24369 (llround_test_data): New variable.
24370 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
24371
f137ff13
PC
243722013-05-13 Peter Collingbourne <pcc@google.com>
24373
24374 * math/atest-exp2.c (get_log2): Remove const attribute.
24375
3608cb24
JM
243762013-05-15 Joseph Myers <joseph@codesourcery.com>
24377
24378 * math/libm-test.inc (struct test_f_l_data): New type.
24379 (RUN_TEST_LOOP_f_l): New macro.
24380 (lrint_test_data): New variable.
24381 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
24382 (lrint_tonearest_test_data): New variable.
24383 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
24384 (lrint_towardzero_test_data): New variable.
24385 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
24386 (lrint_downward_test_data): New variable.
24387 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
24388 (lrint_upward_test_data): New variable.
24389 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
24390 (lround_test_data): New variable.
24391 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
24392
39b1f617
PC
243932013-05-15 Peter Collingbourne <pcc@google.com>
24394
1deff3dc
PC
24395 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
24396 (EXTRACT_WORDS64) Use where appropriate.
24397 (INSERT_WORDS64) Likewise.
24398
791f3ba0
PC
24399 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
24400 constraints with x constraints.
24401 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
24402
39b1f617
PC
24403 * malloc/obstack.c (_obstack_compat): Add initializer.
24404
12fba011
EM
244052013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
24406
24407 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
24408 si_trapno and add si_addr_lsb to _sifields.sigfault.
24409 (si_trapno): Remove macro.
24410 (si_addr_lsb): Define new macro.
24411 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
24412
d369f531
JM
244132013-05-15 Joseph Myers <joseph@codesourcery.com>
24414
b861c6c4
JM
24415 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
24416 instead of TEST_f_l.
24417 (llrint_test_tonearest): Likewise.
24418 (llrint_test_towardzero): Likewise.
24419 (llrint_test_downward): Likewise.
24420 (llrint_test_upward): Likewise.
24421 (llround_test): Likewise.
24422
7abeee12
JM
24423 * math/libm-test.inc (struct test_f_i_data): Add comment.
24424 (RUN_TEST_LOOP_f_b): New macro.
24425 (RUN_TEST_LOOP_f_b_tg): Likewise.
24426 (finite_test_data): New variable.
24427 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
24428 (isfinite_test_data): New variable.
24429 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
24430 (isinf_test_data): New variable.
24431 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
24432 (isnan_test_data): New variable.
24433 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
24434 (isnormal_test_data): New variable.
24435 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
24436 (issignaling_test_data): New variable.
24437 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
24438 (signbit_test_data): New variable.
24439 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
24440
cbe8c4d3
JM
24441 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
24442 with INVALID_EXCEPTION.
24443 (acosh_test_data): Likewise.
24444 (asin_test_data): Likewise.
24445 (atanh_test_data): Likewise.
24446 (fmod_test_data): Likewise.
24447 (log_test_data): Likewise.
24448 (log10_test_data): Likewise.
24449 (log2_test_data): Likewise.
24450 (pow_test_data): Likewise.
24451 (sqrt_test_data): Likewise.
24452 (y0_test_data): Likewise.
24453 (y1_test_data): Likewise.
24454 (yn_test_data): Likewise.
24455
5575c0e5
JM
24456 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
24457 function contents.
24458
d369f531
JM
24459 * math/libm-test.inc (struct test_ff_i_data): New type.
24460 (RUN_TEST_LOOP_ff_i_tg): New macro.
24461 (isgreater_test_data): New variable.
24462 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
24463 (isgreaterequal_test_data): New variable.
24464 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
24465 (isless_test_data): New variable.
24466 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
24467 (islessequal_test_data): New variable.
24468 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
24469 (islessgreater_test_data): New variable.
24470 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
24471 (isunordered_test_data): New variable.
24472 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
24473
781fd748
DM
244742013-05-14 David S. Miller <davem@davemloft.net>
24475
24476 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24477
87aa21df
JM
244782013-05-14 Joseph Myers <joseph@codesourcery.com>
24479
5e908270
JM
24480 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
24481
f71172e5
JM
24482 * math/libm-test.inc (struct test_fF_f1_data): Change type of
24483 extra_test to int.
24484 (struct test_f_i_data): Change type of max_ulp to int.
24485
8cfa635a
JM
24486 * math/libm-test.inc (test_ffI_f1_data): New type.
24487 (RUN_TEST_LOOP_ffI_f1): New macro.
24488 (remquo_test_data): New variable.
24489 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
24490
2bcb36b2
JM
24491 * setjmp/tst-setjmp-fp.c: New file.
24492 * setjmp/Makefile (tests): Add tst-setjmp-fp.
24493 (link-libm): New variable.
24494 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
24495
acbd839a
JM
24496 * math/libm-test.inc (struct test_f_i_data): New type.
24497 (RUN_TEST_LOOP_f_i): New macro.
24498 (RUN_TEST_LOOP_f_i_tg): Likewise.
24499 (fpclassify_test_data): New variable.
24500 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
24501 (ilogb_test_data): New variable.
24502 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
24503
e414d745
JM
24504 * math/libm-test.inc (scalbln_test): Correct function name in END
24505 call.
24506
d9c2a0fd
JM
24507 * math/libm-test.inc (struct test_f_f1_data): Add comment.
24508 (RUN_TEST_LOOP_fI_f1): New macro.
24509 (frexp_test_data): New variable.
24510 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
24511
9dc9095d
JM
24512 * math/libm-test.inc (struct test_fF_f1_data): New type.
24513 (RUN_TEST_LOOP_fF_f1): New macro.
24514 (modf_test_data): New variable.
24515 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
24516
87aa21df
JM
24517 * math/libm-test.inc (struct test_f_f1_data): New type.
24518 (RUN_TEST_LOOP_f_f1): New macro.
24519 (gamma_test_data): New variable.
24520 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
24521 (lgamma_test_data): New variable.
24522 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
24523
141af660
CD
245242013-05-13 Carlos O'Donell <carlos@redhat.com>
24525
24526 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
24527 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
24528 (main): Comment "tls" pseudo-hwcap.
24529
6d33265c
JM
245302013-05-13 Joseph Myers <joseph@codesourcery.com>
24531
68fc074c
JM
24532 * math/libm-test.inc (struct test_fl_f_data): New type.
24533 (RUN_TEST_LOOP_fl_f): New variable.
24534 (scalbln_test_data): New variable.
24535 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
24536
243216e1
JM
24537 * math/libm-test.inc (struct test_fi_f_data): New type.
24538 (RUN_TEST_LOOP_fi_f): New macro.
24539 (ldexp_test_data): New variable.
24540 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
24541 (scalbn_test_data): New variable.
24542 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
24543
6a1992e2
JM
24544 * math/libm-test.inc (struct test_c_f_data): New type.
24545 (RUN_TEST_LOOP_c_f): New macro.
24546 (cabs_test_data): New variable.
24547 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
24548 (carg_test_data): New variable.
24549 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
24550 (cimag_test_data): New variable.
24551 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
24552 (creal_test_data): New variable.
24553 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
24554
0e400df5
JM
24555 * math/libm-test.inc (struct test_if_f_data): New type.
24556 (RUN_TEST_LOOP_if_f): New macro.
24557 (jn_test_data): New variable.
24558 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
24559 (yn_test_data): New variable.
24560 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
24561
6d33265c
JM
24562 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
24563
f98ece5f
AZ
245642013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24565
24566 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
24567 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
24568
0f7d347b
SP
245692013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
24570
43fe811b
SP
24571 * benchtests/Makefile (CPPFLAGS-nonlib): Add
24572 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
24573 (bench-deps): Add bench-timing.h.
24574 * benchtests-bench-skeleton.c: Include bench-timing.h.
24575 (main): Use TIMING_* macros instead of clock_gettime.
24576 * benchtests/bench-timing.h: New file.
24577
0f7d347b
SP
24578 [BZ #14582]
24579 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
24580 Renamed from _LIB_VERSION.
24581 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
24582
601a3a5f
JM
245832013-05-12 Joseph Myers <joseph@codesourcery.com>
24584
4f184d30
JM
24585 * math/libm-test.inc (struct test_fff_f_data): New type.
24586 (RUN_TEST_LOOP_fff_f): New macro.
24587 (fma_test_data): New variable.
24588 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
24589 (fma_towardzero_test_data): New variable.
24590 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
24591 (fma_downward_test_data): New variable.
24592 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
24593 (fma_upward_test_data): New variable.
24594 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
24595
08198877
JM
24596 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
24597 (struct test_c_c_data): New type.
24598 (RUN_TEST_LOOP_c_c): New macro.
24599 (cacos_test_data): New variable.
24600 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
24601 (cacosh_test_data): New variable.
24602 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
24603 (casin_test_data): New variable.
24604 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
24605 (casinh_test_data): New variable.
24606 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
24607 (catan_test_data): New variable.
24608 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
24609 (catanh_test_data): New variable.
24610 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
24611 (ccos_test_data): New variable.
24612 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
24613 (ccosh_test_data): New variable.
24614 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
24615 (cexp_test_data): New variable.
24616 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
24617 (clog_test_data): New variable.
24618 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
24619 (clog10_test_data): New variable.
24620 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
24621 (conj_test_data): New variable.
24622 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
24623 (cproj_test_data): New variable.
24624 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
24625 (csin_test_data): New variable.
24626 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
24627 (csinh_test_data): New variable.
24628 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
24629 (csqrt_test_data): New variable.
24630 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
24631 (ctan_test_data): New variable.
24632 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
24633 (ctan_tonearest_test_data): New variable.
24634 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
24635 (ctan_towardzero_test_data): New variable.
24636 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
24637 (ctan_downward_test_data): New variable.
24638 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
24639 (ctan_upward_test_data): New variable.
24640 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
24641 (ctanh_test_data): New variable.
24642 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
24643 (ctanh_tonearest_test_data): New variable.
24644 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
24645 (ctanh_towardzero_test_data): New variable.
24646 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
24647 (ctanh_downward_test_data): New variable.
24648 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
24649 (ctanh_upward_test_data): New variable.
24650 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
24651 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
24652 of BUILD_COMPLEX.
24653
601a3a5f
JM
24654 * math/libm-test.inc (struct test_ff_f_data): New type.
24655 (struct test_ff_f_data_nexttoward): Likewise.
24656 (RUN_TEST_LOOP_2_f): New macro.
24657 (RUN_TEST_LOOP_ff_f): Likewise.
24658 (atan2_test_data): New variable.
24659 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
24660 (copysign_test_data): New variable.
24661 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
24662 (fdim_test_data): New variable.
24663 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
24664 (fmax_test_data): New variable.
24665 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
24666 (fmin_test_data): New variable.
24667 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
24668 (fmod_test_data): New variable.
24669 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
24670 (hypot_test_data): New variable.
24671 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
24672 (nextafter_test_data): New variable.
24673 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
24674 (nexttoward_test_data): New variable.
24675 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
24676 (pow_test_data): New variable.
24677 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
24678 (pow_tonearest_test_data): New variable.
24679 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
24680 (pow_towardzero_test_data): New variable.
24681 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
24682 (pow_downward_test_data): New variable.
24683 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
24684 (pow_upward_test_data): New variable.
24685 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
24686 (remainder_test_data): New variable.
24687 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
24688 (scalb_test_data): New variable.
24689 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
24690 * sysdeps/i386/fpu/libm-test-ulps: Update.
24691
74c57478
JM
246922013-05-11 Joseph Myers <joseph@codesourcery.com>
24693
8329e4da
JM
24694 * math/libm-test.inc (fma_test): Use max_value instead of local
24695 variable fltmax.
24696 (nextafter_test): Likewise.
24697
74c57478
JM
24698 * math/libm-test.inc (acos_towardzero_test_data): New variable.
24699 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
24700 (acos_downward_test_data): New variable.
24701 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
24702 (acos_upward_test_data): New variable.
24703 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
24704 (acosh_test_data): New variable.
24705 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
24706 (asin_test_data): New variable.
24707 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
24708 (asin_tonearest_test_data): New variable.
24709 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
24710 (asin_towardzero_test_data): New variable.
24711 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
24712 (asin_downward_test_data): New variable.
24713 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
24714 (asin_upward_test_data): New variable.
24715 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
24716 (asinh_test_data): New variable.
24717 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
24718 (atan_test_data): New variable.
24719 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
24720 (atanh_test_data): New variable.
24721 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
24722 (cbrt_test_data): New variable.
24723 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
24724 (ceil_test_data): New variable.
24725 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
24726 (cos_test_data): New variable.
24727 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
24728 (cos_tonearest_test_data): New variable.
24729 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
24730 (cos_towardzero_test_data): New variable.
24731 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
24732 (cos_downward_test_data): New variable.
24733 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
24734 (cos_upward_test_data): New variable.
24735 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
24736 (cosh_test_data): New variable.
24737 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
24738 (cosh_tonearest_test_data): New variable.
24739 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
24740 (cosh_towardzero_test_data): New variable.
24741 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
24742 (cosh_downward_test_data): New variable.
24743 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
24744 (cosh_upward_test_data): New variable.
24745 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
24746 (erf_test_data): New variable.
24747 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
24748 (erfc_test_data): New variable.
24749 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
24750 (exp_test_data): New variable.
24751 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
24752 (exp_tonearest_test_data): New variable.
24753 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
24754 (exp_towardzero_test_data): New variable.
24755 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
24756 (exp_downward_test_data): New variable.
24757 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
24758 (exp_upward_test_data): New variable.
24759 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
24760 (exp10_test_data): New variable.
24761 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
24762 (exp2_test_data): New variable.
24763 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
24764 (expm1_test_data): New variable.
24765 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
24766 (fabs_test_data): New variable.
24767 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
24768 (floor_test_data): New variable.
24769 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
24770 (j0_test_data): New variable.
24771 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
24772 (j1_test_data): New variable.
24773 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
24774 (log_test_data): New variable.
24775 (log_test): Run tests with RUN_TEST_LOOP_f_f.
24776 (log10_test_data): New variable.
24777 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
24778 (log1p_test_data): New variable.
24779 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
24780 (log2_test_data): New variable.
24781 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
24782 (logb_test_data): New variable.
24783 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
24784 (logb_downward_test_data): New variable.
24785 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
24786 (nearbyint_test_data): New variable.
24787 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
24788 (rint_test_data): New variable.
24789 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
24790 (rint_tonearest_test_data): New variable.
24791 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
24792 (rint_towardzero_test_data): New variable.
24793 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
24794 (rint_downward_test_data): New variable.
24795 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
24796 (rint_upward_test_data): New variable.
24797 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
24798 (round_test_data): New variable.
24799 (round_test): Run tests with RUN_TEST_LOOP_f_f.
24800 (sin_test_data): New variable.
24801 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
24802 (sin_tonearest_test_data): New variable.
24803 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
24804 (sin_towardzero_test_data): New variable.
24805 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
24806 (sin_downward_test_data): New variable.
24807 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
24808 (sin_upward_test_data): New variable.
24809 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
24810 (sinh_test_data): New variable.
24811 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
24812 (sinh_tonearest_test_data): New variable.
24813 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
24814 (sinh_towardzero_test_data): New variable.
24815 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
24816 (sinh_downward_test_data): New variable.
24817 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
24818 (sinh_upward_test_data): New variable.
24819 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
24820 (sqrt_test_data): New variable.
24821 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
24822 (tan_test_data): New variable.
24823 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
24824 (tan_tonearest_test_data): New variable.
24825 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
24826 (tan_towardzero_test_data): New variable.
24827 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
24828 (tan_downward_test_data): New variable.
24829 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
24830 (tan_upward_test_data): New variable.
24831 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
24832 (tanh_test_data): New variable.
24833 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
24834 (tgamma_test_data): New variable.
24835 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
24836 (trunc_test_data): New variable.
24837 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
24838 (y0_test_data): New variable.
24839 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
24840 (y1_test_data): New variable.
24841 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
24842 (significand_test_data): New variable.
24843 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
24844
7187d844
CG
248452013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
24846
24847 [BZ #12387]
24848 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
24849
f63fae73
PT
248502013-05-10 Pino Toscano <toscano.pino@tiscali.it>
24851
24852 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
24853
8a67a4b3
AJ
248542013-05-10 Andreas Jaeger <aj@suse.de>
24855
24856 [BZ #15448]
24857 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
24858 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
24859
51df539d
JM
248602013-05-10 Joseph Myers <joseph@codesourcery.com>
24861
24862 * math/gen-libm-test.pl (adjust_arg): New function.
24863 (special_functions): Handle generating output in both functions
24864 and arrays.
24865 (parse_args): Likewise.
24866 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
24867 $in_func argument to parse_args.
24868 * math/libm-test.inc (struct test_f_f_data): New type.
24869 (IF_ROUND_INIT_): New macro.
24870 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
24871 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
24872 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
24873 (IF_ROUND_INIT_FE_UPWARD): Likewise.
24874 (ROUND_RESTORE_): Likewise.
24875 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
24876 (ROUND_RESTORE_FE_TONEAREST): Likewise.
24877 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
24878 (ROUND_RESTORE_FE_UPWARD): Likewise.
24879 (RUN_TEST_LOOP_f_f): New macro.
24880 (acos_test_data): New variable.
24881 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
24882 (acos_tonearest_test_data): New variable.
24883 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
24884
5c637fe5
SP
248852013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
24886
24887 * benchtests/bench-skeleton.c (startup): Fix coding style.
24888
ab2b9461
JM
248892013-05-10 Joseph Myers <joseph@codesourcery.com>
24890
24891 [BZ #6809]
24892 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
24893 negative infinity argument.
24894 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
24895 negative infinity argument.
24896 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
24897 negative infinity argument.
24898 * math/libm-test.inc (tgamma_test): Expect errno to be set for
24899 domain errors.
24900
4c0fe6fe
FW
249012013-05-10 Florian Weimer <fweimer@redhat.com>
24902
24903 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
24904 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
24905 * iconv/iconv_prog.c (main): Likewise.
24906 * locale/programs/charmap-dir.c (charmap_readdir)
24907 (fopen_uncompressed): Likewise.
24908 * locale/programs/locfile.c (siblings_uncached)
24909 (write_locale_data): Use lstat64 instead of lstat.
24910 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
24911 stat.
24912
a3375d29
AJ
249132013-05-10 Andreas Jaeger <aj@suse.de>
24914
24915 [BZ #15395]
24916 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
24917 localization.
24918 Include <locale.h>.
24919
36129722
CD
249202013-05-09 Carlos O'Donell <carlos@redhat.com>
24921
24922 * elf/dl-close.c (_dl_close_worker): Add comments.
24923
faa7f811
JM
249242013-05-09 Joseph Myers <joseph@codesourcery.com>
24925
ed41ffef
JM
24926 [BZ #15359]
24927 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
24928 high part of pi/2.
24929 (__ieee754_rem_pio2l): Update comments.
24930
d0213cd0
JM
24931 [BZ #15429]
24932 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
24933 high part of pi/2.
24934 (__ieee754_rem_pio2l): Update comments.
24935
0d3e777a
JM
24936 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
24937 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
24938
24f56066
JM
24939 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
24940 M_PI_4l.
24941
faa7f811
JM
24942 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
24943 (M_PI_34_LOG10El): Likewise.
24944 (M_PI2_LOG10El): Likewise.
24945 (M_PI4_LOG10El): Likewise.
24946 (M_PI_LOG10El): Likewise.
24947
e9a5e0fd
AZ
249482013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24949
24950 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24951
d8cd06db
JM
249522013-05-08 Joseph Myers <joseph@codesourcery.com>
24953
a0d9f9d7
JM
24954 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
24955 (MINUS_ZERO_INIT): Likewise.
24956 (PLUS_INFTY_INIT): Likewise.
24957 (MINUS_INFTY_INIT): Likewise.
24958 (QNAN_VALUE_INIT): Likewise.
24959 (MAX_VALUE_INIT): Likewise.
24960 (MIN_VALUE_INIT): Likewise.
24961 (MIN_SUBNORM_VALUE_INIT): Likewise.
24962 (plus_zero): Initialize with PLUS_ZERO_INIT.
24963 (minus_zero): Initialize with MINUS_ZERO_INIT.
24964 (plus_infty): Initialize with PLUS_INFTY_INIT.
24965 (minus_infty): Initialize with MINUS_INFTY_INIT.
24966 (qnan_value): Initialize with QNAN_VALUE_INIT.
24967 (max_value): Initialize with MAX_VALUE_INIT.
24968 (min_value): Initialize with MIN_VALUE_INIT.
24969 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
24970
ae08db3b
JM
24971 * math/libm-test.inc (RUN_TEST_if_f): New macro.
24972 (jn_test): Use TEST_if_f instead of TEST_ff_f.
24973 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
24974 (yn_test): Use TEST_if_f instead of TEST_ff_f.
24975
f44bf14a
JM
24976 * math/libm-test.inc (RUN_TEST_f_f): New macro.
24977 (RUN_TEST_2_f): Likewise.
24978 (RUN_TEST_ff_f): Likewise.
24979 (RUN_TEST_fi_f): Likewise.
24980 (RUN_TEST_fl_f): Likewise.
24981 (RUN_TEST_fff_f): Likewise.
24982 (RUN_TEST_c_f): Likewise.
24983 (RUN_TEST_f_f1): Likewise.
24984 (RUN_TEST_fF_f1): Likewise.
24985 (RUN_TEST_fI_f1): Likewise.
24986 (RUN_TEST_ffI_f1): Likewise.
24987 (RUN_TEST_c_c): Likewise.
24988 (RUN_TEST_cc_c): Likewise.
24989 (RUN_TEST_f_i): Likewise.
24990 (RUN_TEST_f_i_tg): Likewise.
24991 (RUN_TEST_ff_i_tg): Likewise.
24992 (RUN_TEST_f_b): Likewise.
24993 (RUN_TEST_f_b_tg): Likewise.
24994 (RUN_TEST_f_l): Likewise.
24995 (RUN_TEST_f_L): Likewise.
24996 (RUN_TEST_sincos): Likewise.
24997 * math/gen-libm-test.pl (new_test): Take new argument to indicate
24998 whether to show exceptions. Do not include ");\n" in return
24999 value.
25000 (special_functions): Output call to RUN_TEST_sincos instead of
25001 check_float calls. Update calls to new_test.
25002 (parse_args): Output call to single RUN_TEST_* macro instead of
25003 check_* calls and other assignments. Update calls to new_test.
25004
d8cd06db
JM
25005 [BZ #2546]
25006 [BZ #2560]
25007 [BZ #5159]
25008 [BZ #15426]
25009 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
25010 input to result for tgamma overflow.
25011 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
25012 (gamma_coeff): New variable.
25013 (NCOEFF): New macro.
25014 (gamma_positive): New function.
25015 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
25016 underflow here. Use gamma_positive instead of exp (lgamma) for
25017 other arguments.
25018 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
25019 (gamma_coeff): New variable.
25020 (NCOEFF): New macro.
25021 (gammaf_positive): New function.
25022 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
25023 underflow here. Use gamma_positive instead of exp (lgamma) for
25024 other arguments.
25025 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
25026 (gamma_coeff): New variable.
25027 (NCOEFF): New macro.
25028 (gammal_positive): New function.
25029 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
25030 underflow here. Use gamma_positive instead of exp (lgamma) for
25031 other arguments.
25032 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
25033 (gamma_coeff): New variable.
25034 (NCOEFF): New macro.
25035 (gammal_positive): New function.
25036 (__ieee754_gammal_r): Handle positive infinity, overflow and
25037 underflow here. Handle NaN the same as positive infinity. Remove
25038 check x < 0xffffffff for negative integers. Use gamma_positive
25039 instead of exp (lgamma) for other arguments.
25040 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
25041 (gamma_coeff): New variable.
25042 (NCOEFF): New macro.
25043 (gammal_positive): New function.
25044 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
25045 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
25046 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
25047 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
25048 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
25049 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
25050 * sysdeps/generic/math_private.h (__gamma_productf): New
25051 prototype.
25052 (__gamma_product): Likewise.
25053 (__gamma_productl): Likewise.
25054 * math/Makefile (libm-calls): Add gamma_product.
25055 * math/libm-test.inc (tgamma_test): Add more tests.
25056 * sysdeps/i386/fpu/libm-test-ulps: Update.
25057 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25058
bb7cf681
OB
250592013-05-08 Ondřej Bílka <neleai@seznam.cz>
25060
25061 * benchtests/bench-skeleton.c (main): Preheat CPU.
25062
ba853947
AJ
250632013-05-07 Aurelien Jarno <aurelien@aurel32.net>
25064
25065 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
25066
8347c74c
RM
250672013-05-07 Roland McGrath <roland@hack.frob.com>
25068
25069 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
25070 and _dl_skip_args_internal.
25071
e8dd4791
CD
250722013-05-07 Carlos O'Donell <carlos@redhat.com>
25073
25074 * manual/message.texi (Message Translation): Talk about users.
25075 Message to key mapping impacts design.
25076
c7405830
RM
250772013-05-06 Roland McGrath <roland@hack.frob.com>
25078
a9173057
RM
25079 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
25080
976e2f03
RM
25081 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
25082
9723ffc5
RM
25083 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
25084 * sysdeps/wordsize-64/glob64.c: ... here.
25085
962e6658
RM
25086 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
25087 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
25088 New macros.
25089
ee586a6d
RM
25090 * debug/getlogin_r_chk.c: Moved to ...
25091 * login/getlogin_r_chk.c: ... here.
25092 * debug/Makefile (routines): Move getlogin_r_chk to ...
25093 * login/Makefile (routines): ... here.
25094 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
25095 * login/Versions (libc: GLIBC_2.4): ... here.
25096
355f9165
RM
25097 * io/poll.c (__poll): Renamed from poll.
25098 Add libc_hidden_def.
25099 (poll): Define as weak alias.
25100
bd9ffde6
RM
25101 * debug/ptsname_r_chk.c: Moved to ...
25102 * login/ptsname_r_chk.c: ... here.
25103 * debug/Makefile (routines): Move ptsname_r_chk to ...
25104 * login/Makefile (routines): ... here.
25105 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
25106 * login/Versions (libc: GLIBC_2.4): ... here.
25107
8fb16a04
RM
25108 * posix/getlogin.c: Moved to ...
25109 * login/getlogin.c: ... here.
25110 * posix/getlogin_r.c: Moved to ...
25111 * login/getlogin_r.c: ... here.
25112 * posix/getlogin_r.c: Moved to ...
25113 * login/getlogin_r.c: ... here.
25114 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
25115 * login/Makefile (routines): ... here.
25116 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
25117 * login/Versions (libc: GLIBC_2.0): ... here.
25118
b99b892f
RM
25119 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
25120 (setrlimit): Define as weak alias.
25121
c7405830
RM
25122 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
25123 Call __ names for open, ftruncate, and close.
25124 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
25125 (truncate): Define as weak alias.
25126
5bf96de5
JM
251272013-05-06 Joseph Myers <joseph@codesourcery.com>
25128
9ea3513c
JM
25129 * math/gen-libm-test.pl (parse_args): Initialize x before each
25130 test of frexp, modf and remquo.
25131
5bf96de5
JM
25132 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
25133 test signgam value.
25134
16e616a7
AZ
251352013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25136
25137 [BZ #15418]
25138 [BZ #15419]
25139 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
25140 internal tests.
25141 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
25142
d5e82754
RM
251432013-05-06 Roland McGrath <roland@hack.frob.com>
25144
25145 * elf/dl-writev.h: New file.
25146 * elf/dl-misc.c: Include it.
25147 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
25148 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
25149
a7548d41
JM
251502013-05-04 Joseph Myers <joseph@codesourcery.com>
25151
b7dab1e4
JM
25152 * math/libm-test.inc (noXFails): Remove variable.
25153 (noXPasses): Likewise.
25154 (BUILD_COMPLEX_INT): Remove macro.
25155 (print_screen): Remove xfail argument.
25156 (print_screen_max_error): Likewise.
25157 (update_stats): Likewise.
25158 (print_max_error): Likewise. Update calls to other affected
25159 functions.
25160 (print_complex_max_error): Likewise.
25161 (test_single_exception): Update calls to print_screen.
25162 (test_single_errno): Likewise.
25163 (check_float_internal): Remove xfail argument. Update calls to
25164 other affected functions.
25165 (check_float): Likewise.
25166 (check_complex): Likewise.
25167 (check_int): Likewise.
25168 (check_long): Likewise.
25169 (check_bool): Likewise.
25170 (check_longlong): Likewise.
25171 (main): Don't print noXFails and noXPasses.
25172 * math/gen-libm-test.pl (top level): Don't mention expected
25173 failure handling in comment.
25174 (new_test): Don't handle expected failures.
25175 (parse_args): Don't mention expected failure handling in comment.
25176 (generate_testfile): Don't handle expected failures.
25177 (parse_ulps): Likewise.
25178 (print_ulps_file): Likewise.
25179 (get_failure): Remove function.
25180 (output_test): Don't handle expected failures.
25181 * make/README.libm-test: Don't mention expected failure handling.
25182
a7548d41
JM
25183 * math/libm-test.inc (plus_zero): Make const. Add initializer.
25184 (minus_zero): Likewise.
25185 (plus_infty): Likewise.
25186 (minus_infty): Likewise.
25187 (qnan_value): Likewise.
25188 (max_value): Likewise.
25189 (min_value): Likewise.
25190 (min_subnorm_value): Likewise.
25191 (initialize): Do not initialize those variables dynamically.
25192
60bfd54c
RM
251932013-05-03 Roland McGrath <roland@hack.frob.com>
25194
cc0e6ed8
RM
25195 * io/open.c (__open_2): Moved to ...
25196 * io/open_2.c: ... this new file.
25197 * io/open64.c (__open64_2): Moved to ...
25198 * io/open64_2.c: ... this new file.
25199 * io/openat.c (__openat_2): Moved to ...
25200 * io/openat_2.c: ... this new file.
25201 * io/openat64.c (__openat64_2): Moved to ...
25202 * io/openat64_2.c: ... this new file.
25203 * io/Makefile (routines): Add them.
25204 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
25205 * sysdeps/unix/sysv/linux/open_2.c: File removed.
25206 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
25207 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
25208 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
25209 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
25210 (__openat64): Add hidden_ver.
25211 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
25212 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
25213
60bfd54c
RM
25214 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
25215 Separately conditionalize setting of GLRO(dl_sysinfo) so
25216 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
25217 as well, but the actual setting is only under [NEED_DL_SYSINFO].
25218
83e7640f
AZ
252192013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25220
25221 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
25222 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
25223 definition.
25224 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
25225 * sysdeps/unix/sysv/linux/powerpc/init-first.c
25226 (_libc_vdso_platform_setup): Add __vdso_time initialization.
25227 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
25228 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
25229
d5dc2af3
JM
252302013-05-03 Joseph Myers <joseph@codesourcery.com>
25231
c31a5b1e
JM
25232 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
25233 test signgam value.
25234
d5dc2af3
JM
25235 * math/libm-test.inc (hypot_test): Do not use
25236 IGNORE_ZERO_INF_SIGN.
25237
164fd39d
AJ
252382013-05-03 Andreas Jaeger <aj@suse.de>
25239
25240 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
25241 Linux 3.9.
25242 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
25243 (PF_MAX): Adjust for VSOCK change.
25244
8237f48c
AZ
252452013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25246
25247 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25248
9df02941
CD
252492013-05-02 Carlos O'Donell <carlos@redhat.com>
25250
25251 [BZ #15264]
25252 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
25253 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
25254 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
25255
d422395e
DM
252562013-05-02 David S. Miller <davem@davemloft.net>
25257
25258 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25259
a07c5731
OB
252602013-05-01 Ondřej Bílka <neleai@seznam.cz>
25261
25262 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
25263
1324e37f
RM
252642013-05-01 Roland McGrath <roland@hack.frob.com>
25265
25266 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
25267
0695940b
RS
252682013-05-01 Richard Smith <richard@metafoo.co.uk>
25269
bb5f27ad 25270 [BZ #14952]
0695940b
RS
25271 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
25272 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
25273 Use __attribute__ ((__gnu_inline__)).
25274 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
25275 Don't use __attribute__ ((__gnu_inline__)).
25276
10de07f5
JM
252772013-05-01 Joseph Myers <joseph@codesourcery.com>
25278
25279 [BZ #15423]
25280 * math/s_catan.c (__catan): Handle small real or imaginary part of
25281 input specially to avoid spurious underflow.
25282 * math/s_catanf.c (__catanf): Likewise.
25283 * math/s_catanh.c (__catanh): Likewise.
25284 * math/s_catanhf.c (__catanhf): Likewise.
25285 * math/s_catanhl.c (__catanhl): Likewise.
25286 * math/s_catanl.c (__catanl): Likewise.
25287 * math/libm-test.inc (catan_test): Add more tests.
25288 (catanh_test): Likewise.
25289 * sysdeps/i386/fpu/libm-test-ulps: Update.
25290 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25291
cb4d5414
AZ
252922013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25293
25294 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25295
caf84319
JM
252962013-04-30 Joseph Myers <joseph@codesourcery.com>
25297
25298 [BZ #15416]
25299 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
25300 accurately for denominator in atan2.
25301 * math/s_catanf.c (__catanf): Likewise.
25302 * math/s_catanh.c (__catanh): Likewise.
25303 * math/s_catanhf.c (__catanhf): Likewise.
25304 * math/s_catanhl.c (__catanhl): Likewise.
25305 * math/s_catanl.c (__catanl): Likewise.
25306 * math/libm-test.inc (catan_test): Add more tests.
25307 (catanh_test): Likewise.
25308 * sysdeps/i386/fpu/libm-test-ulps: Update.
25309 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25310
d569c6ee
SP
253112013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
25312
6dbe713d
SP
25313 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
25314
f0ee064b
SP
25315 * benchtests/Makefile (bench): Remove slow benchmarks.
25316 * benchtests/atan-inputs: Add slow benchmark inputs.
25317 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
25318 (BENCH_FUNC): Accept variant offset.
25319 (VARIANT): Define.
25320 * benchtests/bench-skeleton.c (main): Run benchmark for each
25321 variant.
25322 * benchtests/cos-inputs: Add slow benchmark inputs.
25323 * benchtests/exp-inputs: Likewise.
25324 * benchtests/pow-inputs: Likewise.
25325 * benchtests/sin-inputs: Likewise.
25326 * benchtests/slowatan-inputs: Remove.
25327 * benchtests/slowatan.c: Remove.
25328 * benchtests/slowcos-inputs: Remove.
25329 * benchtests/slowcos.c: Remove.
25330 * benchtests/slowexp-inputs: Remove.
25331 * benchtests/slowexp.c: Remove.
25332 * benchtests/slowpow-inputs: Remove.
25333 * benchtests/slowpow.c: Remove.
25334 * benchtests/slowsin-inputs: Remove.
25335 * benchtests/slowsin.c: Remove.
25336 * benchtests/slowtan-inputs: Remove.
25337 * benchtests/slowtan.c: Remove.
25338 * benchtests/tan-inputs: Add slow benchmark inputs.
25339 * scripts/bench.pl: Parse comments and directives.
25340
d569c6ee
SP
25341 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
25342 in CPPFLAGS.
25343 ($(objpfx)bench-%.c): Remove *-ITER.
25344 * benchtests/bench-modf.c: Remove definition of ITER.
25345 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
25346 (main): Loop for DURATION seconds instead of fixed number of
25347 iterations.
25348 * scripts/bench.pl: Don't expect iterations in parameters.
25349
a6a242fe
RM
253502013-04-29 Roland McGrath <roland@hack.frob.com>
25351
25352 * io/fchdir.c (__fchdir): Renamed from fchdir.
25353 (fchdir): Define as weak alias.
25354
f2da7793
JM
253552013-04-29 Joseph Myers <joseph@codesourcery.com>
25356
25357 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
25358 (ERRNO_EDOM): Likewise.
25359 (ERRNO_ERANGE): Likewise.
25360 (noErrnoTests): New variable.
25361 (init_max_error): Set errno to 0.
25362 (test_single_errno): New function.
25363 (test_errno): Likewise.
25364 (check_float_internal): Call test_errno. Set errno to 0.
25365 (check_complex): Refer to errno tests in comment.
25366 (check_int): Call test_errno. Set errno to 0.
25367 (check_long): Likewise.
25368 (check_bool): Likewise.
25369 (check_longlong): Likewise.
25370 (cos_test): Use ERRNO_* flags for errno tests instead of
25371 check_int.
25372 (expm1_test): Likewise.
25373 (fmod_test): Likewise.
25374 (ilogb_test): Likewise.
25375 (lgamma_test): Likewise.
25376 (pow_test): Likewise.
25377 (remainder_test): Likewise.
25378 (sin_test): Likewise.
25379 (tan_test): Likewise.
25380 (yn_test): Likewise.
25381 (initialize): Set errno to 0.
25382 (main): Print number of errno tests.
25383 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
25384
b1a36ceb
AJ
253852013-04-29 Andreas Jaeger <aj@suse.de>
25386
c3ed8088
AJ
25387 [BZ #15084]
25388 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
25389 and RES_USEVC.
25390
f1a24198
AJ
25391 [BZ #15085]
25392 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
25393 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
25394 unimplemented.
25395
9ce3b2cb
AJ
25396 [BZ #15380]
25397 * stdlib/random.c (__initstate): Return NULL if
25398 __initstate fails.
25399
f1a24198 25400 [BZ #15086]
b1a36ceb
AJ
25401 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
25402 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
25403 RES_SNGLKUPREOP.
25404
7e7b6f36
AZ
254052013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25406
25407 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25408
4d14f449
JM
254092013-04-29 Joseph Myers <joseph@codesourcery.com>
25410
25411 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
25412 of individual tests.
25413 (casin_test): Likewise.
25414 (casinh_test): Likewise.
25415
5b4217d7
JM
254162013-04-27 Joseph Myers <joseph@codesourcery.com>
25417
25418 [BZ #15409]
25419 * math/s_catan.c (__catan): Handle arguments with large real or
25420 imaginary part separately without squaring.
25421 * math/s_catanf.c (__catanf): Likewise.
25422 * math/s_catanh.c (__catanh): Likewise.
25423 * math/s_catanhf.c (__catanhf): Likewise.
25424 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
25425 and redefine.
25426 (__catanhl): Handle arguments with large real or imaginary part
25427 separately without squaring.
25428 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
25429 and redefine.
25430 (__catanl): Handle arguments with large real or imaginary part
25431 separately without squaring.
25432 * math/libm-test.inc (catan_test): Add more tests.
25433 (catanh_test): Likewise.
25434 * sysdeps/i386/fpu/libm-test-ulps: Update.
25435 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25436
4220c3ef
AJ
254372013-04-27 Andreas Jaeger <aj@suse.de>
25438
25439 [BZ #15007]
25440 * stdlib/stdlib.h: Update guards for qecvt.
25441 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
25442 <stdlib.h>.
25443
4721b2d1
AM
254442013-04-27 Allan McRae <allan@archlinux.org>
25445
25446 * sysdeps/i386/fpu/libm-test-ulps: Update.
25447
f0302940
JM
254482013-04-26 Joseph Myers <joseph@codesourcery.com>
25449
9457fd95
JM
25450 [BZ #15406]
25451 * math/s_catan.c: Include <float.h>.
25452 (__catan): Ensure underflow exception occurs for underflowed
25453 result.
25454 * math/s_catanf.c: Include <float.h>.
25455 (__catanf): Ensure underflow exception occurs for underflowed
25456 result.
25457 * math/s_catanh.c: Include <float.h>.
25458 (__catanh): Ensure underflow exception occurs for underflowed
25459 result.
25460 * math/s_catanhf.c: Include <float.h>.
25461 (__catanhf): Ensure underflow exception occurs for underflowed
25462 result.
25463 * math/s_catanhl.c: Include <float.h>.
25464 (__catanhl): Ensure underflow exception occurs for underflowed
25465 result.
25466 * math/s_catanl.c: Include <float.h>.
25467 (__catanl): Ensure underflow exception occurs for underflowed
25468 result.
25469 * math/libm-test.inc (catan_test): Add more tests.
25470 (catanh_test): Likewise.
25471
f0302940
JM
25472 [BZ #15405]
25473 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
25474 underflowed result.
25475 * math/s_ccoshf.c (__ccoshf): Likewise.
25476 * math/s_ccoshl.c (__ccoshl): Likewise.
25477 * math/s_csin.c (__csin): Likewise.
25478 * math/s_csinf.c (__csinf): Likewise.
25479 * math/s_csinh.c (__csinh): Likewise.
25480 * math/s_csinhf.c (__csinhf): Likewise.
25481 * math/s_csinhl.c (__csinhl): Likewise.
25482 * math/s_csinl.c (__csinl): Likewise.
25483 * math/libm-test.inc (ccos_test): Add more tests.
25484 (ccosh_test): Likewise.
25485 (csin_test): Likewise.
25486 (csinh_test): Likewise.
25487
aa630f59
AZ
254882013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25489
25490 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
25491 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
25492 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
25493 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
25494 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
25495 powerpc/power5+/fpu folders.
25496 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
25497
25498
1b835983
MT
254992013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
25500
25501 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25502
73709b26
JM
255032013-04-25 Joseph Myers <joseph@codesourcery.com>
25504
25505 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
25506 additions to variable.
25507 [$(config-machine) = x86_64] (modules-names): Likewise.
25508 ($(objpfx)tst-audit3): Remove dependency.
25509 ($(objpfx)tst-audit3.out): Likewise.
25510 ($(objpfx)tst-audit4): Likewise.
25511 ($(objpfx)tst-audit4.out): Likewise.
25512 ($(objpfx)tst-audit5): Likewise.
25513 ($(objpfx)tst-audit5.out): Likewise.
25514 ($(objpfx)tst-audit6): Likewise.
25515 ($(objpfx)tst-audit6.out): Likewise.
25516 ($(objpfx)tst-audit7): Likewise.
25517 ($(objpfx)tst-audit7.out): Likewise.
25518 (tst-audit3-ENV): Remove variable.
25519 (tst-audit4-ENV): Likewise.
25520 (tst-audit5-ENV): Likewise.
25521 (tst-audit6-ENV): Likewise.
25522 (tst-audit7-ENV): Likewise.
25523 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
25524 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
25525 addition to variable.
25526 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
25527 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
25528 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
25529 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
25530 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
25531 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
25532 tst-audit3, tst-audit4 and tst-audit5.
25533 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
25534 tst-audit6 and tst-audit7.
25535 [$(subdir) = elf] (modules-names): Add audit modules for those
25536 tests.
25537 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
25538 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
25539 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
25540 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
25541 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
25542 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
25543 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
25544 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
25545 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
25546 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
25547 [$(subdir) = elf] (tst-audit3-ENV): New variable.
25548 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
25549 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
25550 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
25551 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
25552 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
25553 Likewise.
25554 [$(subdir) = elf && $(config-cflags-avx) = yes]
25555 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
25556 [$(subdir) = elf && $(config-cflags-avx) = yes]
25557 (CFLAGS-tst-auditmod4a.c): Likewise.
25558 [$(subdir) = elf && $(config-cflags-avx) = yes]
25559 (CFLAGS-tst-auditmod4b.c): Likewise.
25560 [$(subdir) = elf && $(config-cflags-avx) = yes]
25561 (CFLAGS-tst-auditmod6b.c): Likewise.
25562 [$(subdir) = elf && $(config-cflags-avx) = yes]
25563 (CFLAGS-tst-auditmod6c.c): Likewise.
25564 [$(subdir) = elf && $(config-cflags-avx) = yes]
25565 (CFLAGS-tst-auditmod7b.c): Likewise.
25566 * elf/tst-audit3.c: Move to ...
25567 * sysdeps/x86_64/tst-audit3.c: ... here.
25568 * elf/tst-audit4.c: Move to ...
25569 * sysdeps/x86_64/tst-audit4.c: ... here.
25570 * elf/tst-audit5.c: Move to ...
25571 * sysdeps/x86_64/tst-audit5.c: ... here.
25572 * elf/tst-audit6.c: Move to ...
25573 * sysdeps/x86_64/tst-audit6.c: ... here.
25574 * elf/tst-audit7.c: Move to ...
25575 * sysdeps/x86_64/tst-audit7.c: ... here.
25576 * elf/tst-auditmod3a.c: Move to ...
25577 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
25578 * elf/tst-auditmod3b.c: Move to ...
25579 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
25580 * elf/tst-auditmod4a.c: Move to ...
25581 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
25582 * elf/tst-auditmod4b.c: Move to ...
25583 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
25584 * elf/tst-auditmod5a.c: Move to ...
25585 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
25586 * elf/tst-auditmod5b.c: Move to ...
25587 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
25588 * elf/tst-auditmod6a.c: Move to ...
25589 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
25590 * elf/tst-auditmod6b.c: Move to ...
25591 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
25592 * elf/tst-auditmod6c.c: Move to ...
25593 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
25594 * elf/tst-auditmod7a.c: Move to ...
25595 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
25596 * elf/tst-auditmod7b.c: Move to ...
25597 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
25598
1ef74943
PP
255992013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
25600
25601 [BZ #15366]
25602 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
25603 define unconditionally.
25604 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
25605 define unconditionally.
25606 (INT8_C, INT16_C, etc.): Likewise.
25607
93fd48c5
MR
256082013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
25609
ae9552cf
MR
25610 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
25611 __ehdr_start with hidden visibility.
25612
93fd48c5
MR
25613 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
25614
418601aa
CD
256152013-04-24 Carlos O'Donell <carlos@redhat.com>
25616
25617 * math/libm-test.inc (cos_test): Use accurate hex constants.
25618 (sincost_test): Likewise.
25619
2f38fbfe
JM
256202013-04-24 Joseph Myers <joseph@codesourcery.com>
25621
5e221800
JM
25622 * math/libm-test.inc (catan_test): Add more tests.
25623 (catanh_test): Likewise.
25624
77f143fd
JM
25625 * math/s_catanf.c (__catanf): Use suffixed floating-point
25626 constants.
25627 * math/s_catanhf.c (__catanhf): Likewise.
25628 * math/s_catanhl.c (__catanhl): Likewise.
25629 * math/s_catanl.c (__catanl): Likewise.
25630
2f38fbfe
JM
25631 [BZ #15394]
25632 * math/s_catan.c (__catan): Calculate imaginary part of result
25633 with log1p not log unless computing log of number close to 0.
25634 * math/s_catanf.c (__catanf): Likewise.
25635 * math/s_catanl.c (__catanl): Likewise.
25636 * math/s_catanh.c (__catanh): Calculate real part of result with
25637 log1p not log unless computing log of number close to 0.
25638 * math/s_catanhf.c (__catanhf): Likewise.
25639 * math/s_catanhl.c (__catanhl): Likewise.
25640 * math/libm-test.inc (catan_test): Add more tests.
25641 (catanh_test): Likewise.
25642 * sysdeps/i386/fpu/libm-test-ulps: Update.
25643 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25644
45d69176
SP
256452013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
25646
25647 * benchtests/Makefile: Mention files in which fast and slow
25648 paths of math functions are implemented.
25649
87f51853
RM
256502013-04-23 Roland McGrath <roland@hack.frob.com>
25651
25652 * sysdeps/posix/timespec_get.c: New file.
25653
3c026539
AZ
256542013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25655
25656 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
25657 POWER.
25658 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
25659 for POWER.
25660 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
25661 powerpc/power5/fpu folders.
25662 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
25663 * benchtests/Makefile: Add modf testcase.
25664 * benchtests/bench-modf.c: New file: Benchmark test for mo
25665
ff491d14
SP
256662013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
25667
25668 [BZ #14888]
25669 * time/Makefile (tests): Add tst-strptime-whitespace.
25670 * time/strptime_l.c (get_number): Use ISSPACE.
25671 (__strptime_internal): Likewise.
25672 * time/tst-strptime-whitespace.c: New test case.
25673
7ed3f4e8
AS
256742013-04-23 Andreas Schwab <schwab@linux-m68k.org>
25675
25676 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
25677 member.
25678 (_nss_files_init): Set it here.
25679
5c95f7b6
HC
256802013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
25681
25682 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
25683 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
25684 unsigned.
25685
d34c9158
JBG
256862013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
25687
25688 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
25689
2169712d
SP
256902013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
25691
25692 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
25693 size just once.
25694
29c5de99
DM
256952013-04-21 David S. Miller <davem@davemloft.net>
25696
25697 * po/ru.po: Update Russion translation from translation project.
25698
ccdad15d
AC
256992013-04-17 Adam Conrad <adconrad@0c3.net>
25700
25701 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
25702 and setfsgid.
25703
0f122b8d
CD
257042013-04-17 Carlos O'Donell <carlos@redhat.com>
25705
5c5b07da 25706 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 25707 * configure: Regenerate.
5c5b07da 25708 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
25709 Add example to error message.
25710 * sysdeps/i386/configure: Regenerate.
25711
037714dd
SP
257122013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
25713
25714 * benchtests/Makefile (bench): Add cos, tan, slowcos and
25715 slowtan.
25716 * benchtests/cos-inputs: New file.
25717 * benchtests/slowcos-inputs: New file.
25718 * benchtests/slowcos.c: New file.
25719 * benchtests/slowtan-inputs: New file.
25720 * benchtests/slowtan.c: New file.
25721 * benchtests/tan-inputs: New file.
25722
e913141d
RM
257232013-04-16 Roland McGrath <roland@hack.frob.com>
25724
25725 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
25726 considered kosher.
25727
a2964074
SP
257282013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
25729
4856bcd2
SP
25730 * benchtests/Makefile: Include cppflags-iterator.mk to add
25731 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
25732
a2964074
SP
25733 * Makefile.in (bench-clean): New target.
25734 * benchtests/Makefile (bench-clean): Likewise.
25735
9fbf9aca
DH
257362013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
25737
25738 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
25739
207d1e2a
TS
257402013-04-15 Thomas Schwinge <thomas@codesourcery.com>
25741
25742 * stdio-common/tstdiomisc.c: Fix coding-style violation.
25743
306dfba9
AS
257442013-04-15 Andreas Schwab <schwab@suse.de>
25745
25746 * nscd/grpcache.c (cache_addgr): Properly check for short write.
25747 * nscd/initgrcache.c (addinitgroupsX): Likewise.
25748 * nscd/pwdcache.c (cache_addpw): Likewise.
25749 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
25750 more than recsize.
25751
206a6699
SP
257522013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
25753
25754 * benchtests/Makefile (bench): Write all output to
25755 bench-out.tmp together.
25756
0582f6b3
AS
257572013-04-15 Andreas Schwab <schwab@suse.de>
25758
25759 * nscd/nscd.c (main): Don't fork again after closing files.
25760
acb4325f
SP
257612013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
25762
5cb26d0a
SP
25763 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
25764
acb4325f
SP
25765 * benchtests/Rules (bench-deps): Collect dependencies into a
25766 single variable. Add Makefile to dependencies.
25767 ($(objpfx)bench-%.c): Depend on bench-deps.
25768
47792506
RM
257692013-04-12 Roland McGrath <roland@hack.frob.com>
25770 Xavier Roche <roche+kml2@exalead.com>
25771
25772 [BZ #15361]
25773 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
25774 just that it's a file descriptor.
25775 * manual/llio.texi (Synchronizing AIO Operations): Update description
25776 for EBADF error from aio_fsync.
25777
8fc1bee5
SP
257782013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
25779
25780 * Rules (bench): Move target definition...
25781 * benchtests/Makefile: ... here.
25782
aba5e333
CD
257832013-04-11 Carlos O'Donell <carlos@redhat.com>
25784
25785 * math/libm-test.inc (cos_test): Fix PI/2 test.
25786 (sincos_test): Likewise.
25787 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
25788 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
25789
273cdee8
AS
257902013-04-11 Andreas Schwab <schwab@suse.de>
25791
6ecec3b6
AS
25792 [BZ #13988]
25793 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
25794 accept exponent character only when digits were seen.
25795 * stdio-common/Makefile (tests): Add bug26.
25796 * stdio-common/bug26.c: New file.
25797
273cdee8
AS
25798 [BZ #14293]
25799 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
25800 non-freeable.
25801
8da491f5
SP
258022013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
25803
01dc6df9
SP
25804 * Makeconfig (rtld-prefix): Define built linker prefix.
25805 * Rules (run-bench): Use it.
25806 * math/Makefile (run-regen-ulps): Likewise.
25807
8da491f5
SP
25808 * Rules (bench): Remove eval.
25809
abe7f530
SP
258102013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
25811 Roland McGrath <roland@hack.frob.com>
25812 Ondrej Bilka <neleai@seznam.cz>
25813
25814 [BZ #15346]
25815 * time/getdate.c: Include ctype.h and alloca.h.
25816 (__getdate_r): Trim leading and trailing spaces of input.
25817 * time/tst-getdate.c (tests): Add tests with leading and
25818 trailing spaces.
25819
61c23e62
RM
258202013-04-08 Roland McGrath <roland@hack.frob.com>
25821
25822 [BZ #14280]
25823 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
25824 when computing value.
25825
7208a313
CD
258262013-04-06 Carlos O'Donell <carlos@redhat.com>
25827
085b2d41
CD
25828 * math/README.libm-test (How can I generate "libm-test-ulps"?):
25829 Use testrun.sh to run libm tests.
25830
7208a313
CD
25831 [BZ #15309]
25832 * elf/dl-open.c (dl_open_worker): memset all of seen array.
25833
872c0acd
MM
258342013-04-06 Marko Myllynen <myllynen@redhat.com>
25835
25836 [BZ #15264]
25837 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
25838
26510bdd
CD
258392013-04-06 Carlos O'Donell <carlos@redhat.com>
25840
25841 * Makefile.in (regen-ulps): New target.
25842 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
25843 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
25844 [ifneq (no,$(PERL)] (regen-ulps): New target.
25845 [ifeq (no,$(PERL)] (regen-ulps): New target.
25846 * math/libm-test.inc (ulps_file_name): Define.
25847 (output_dir): New variable.
25848 (options): Add "output-dir" option.
25849 (parse_opt): Handle 'o' case.
25850 (main): If output_dir is non-NULL use it as a prefix
25851 otherwise use "".
25852 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
25853
a01f19c8
CD
258542013-04-06 Carlos O'Donell <carlos@redhat.com>
25855
25856 [BZ #10060, #10062]
25857 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
25858 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
25859 fail configure if __sync_val_compare_and_swap is not inlined.
25860 * sysdeps/i386/configure: Regenerate.
25861 * configure.in: Build for i686 when configured for i386.
25862 * configure: Regenerate.
25863 * README: Remove i386 reference.
25864
b7a329a5
CD
258652013-04-06 Carlos O'Donell <carlos@redhat.com>
25866
25867 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
25868 * sysdeps/s390/s390-64/sysdep.h: Likewise.
25869
bf0f50df
TS
258702013-04-05 Thomas Schwinge <thomas@codesourcery.com>
25871
ee091edf
TS
25872 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
25873 (lmsnanval): New variables.
25874 (F): Add conversion tests.
25875 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
25876 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
25877
a8b792d6
TS
25878 * stdio-common/tstdiomisc.c (F): Properly collect individual
25879 tests' results.
25880
a1cbf437
TS
25881 [BZ #14686, #15336]
25882 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
25883 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
25884 Instead, use input NaN values or generate a qNaN by arithmetic
25885 operation. Also fix bugs to comply with the standard.
25886 * math/libm-test.inc (remainder_test): Add more tests.
25887
8b43a0c9
TS
25888 [BZ #15335, #15342]
25889 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
25890 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
25891 input NaN values or generate a qNaN by arithmetic operation.
25892
d91da4ce
TS
25893 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
25894 unreachable code.
25895
bf0f50df
TS
25896 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
25897 definitions.
25898
05e166c8
JM
258992013-04-03 Joseph Myers <joseph@codesourcery.com>
25900
25901 [BZ #14478]
25902 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
25903 underflowed result.
25904 * math/s_cexpf.c (__cexpf): Likewise.
25905 * math/s_cexpl.c (__cexpl): Likewise.
25906 * math/libm-test.inc (cexp_test): Add more tests.
25907
1cef1b19
AS
259082013-04-03 Andreas Schwab <schwab@suse.de>
25909
25910 [BZ #15330]
25911 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
25912 order arrays from heap if bigger than alloca cutoff.
25913
74d87055
TS
259142013-04-03 Thomas Schwinge <thomas@codesourcery.com>
25915
25916 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
25917 (SNAN_TESTS_double): Refer to GCC PR56831.
25918 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
25919 GCC PR56828.
25920
d755bba4
SP
259212013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
25922
90d5d5bb
SP
25923 * Rules (bench): Move bench.out after the run is complete.
25924
73e0cd5d
SP
25925 * Rules (bench): Echo currently running benchmark.
25926
64aabd4b
SP
25927 * benchtests/Makefile (bench): Add atan and slowatan.
25928 * benchtests/atan-inputs: New file.
25929 * benchtests/slowatan-inputs: New file.
25930 * benchtests/slowatan.c: New file.
25931
c871eccd
SP
25932 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
25933 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
25934 its value.
25935
d755bba4
SP
25936 [BZ #15305]
25937 * sysdeps/unix/sysv/linux/kernel-features.h
25938 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
25939 __ASSUME_XFS_RESTRICTED_CHOWN.
25940 * sysdeps/unix/sysv/linux/pathconf.c
25941 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
25942 Save and restore errno.
25943
52ce4860
JM
259442013-04-02 Joseph Myers <joseph@codesourcery.com>
25945
25946 [BZ #15327]
25947 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
25948 arguments using __kernel_casinh.
25949 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
25950 arguments using __kernel_casinhf.
25951 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
25952 arguments using __kernel_casinhl.
25953 * math/libm-test.inc (cacosh_test): Add more tests.
25954 * sysdeps/i386/fpu/libm-test-ulps: Update.
25955 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25956
81f311c2
SP
259572013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
25958
e7906a47
SP
25959 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
25960 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
25961
92e3664b
SP
25962 * bench/Makefile (bench): Add sin and slowsin.
25963 * benchtests/sin-inputs: New file.
25964 * benchtests/slowsin-inputs: New file.
25965 * benchtests/slowsin.c: New file.
25966
81f311c2
SP
25967 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
25968 (bench): Add slowexp and slowpow.
25969 (exp-ITER): Increase iterations.
25970 (pow-ITER): Likewise.
25971 * benchtests/exp-inputs: Change input.
25972 * benchtests/pow-inputs: Likewise.
25973 * benchtests/slowexp-inputs: New file.
25974 * benchtests/slowexp.c: New file.
25975 * benchtests/slowpow-inputs: New file.
25976 * benchtests/slowpow.c: New file.
25977
ab0f1aa9
AZ
259782013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25979
25980 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
25981 instructions.
25982 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
25983 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
25984 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
25985 * benchtests/Makefile: Add rint benchtest.
25986 * benchtests/rint-inputs: Input for rint benchtest.
25987
57267616
TS
259882013-04-02 Thomas Schwinge <thomas@codesourcery.com>
25989
25990 * Versions.def (libm): Add GLIBC_2.18.
25991 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
25992 hidden libm prototypes.
25993 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
25994 * math/Makefile (libm-calls): Add s_issignaling.
25995 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
25996 __issignalingf, __issignalingl. Adjust all libm.abilist files.
25997 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
25998 declaration.
25999 * math/math.h [__USE_GNU] (issignaling): New macro.
26000 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
26001 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
26002 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
26003 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
26004 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
26005 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
26006 * manual/arith.texi (issignaling): New section.
26007 * manual/libm-err-tab.pl (@all_functions): Update comment.
26008 * math/gen-libm-test.pl (parse_args): Apply special handling for
26009 issignaling.
26010 * math/libm-test.inc (print_float, issignaling_test): New
26011 functions.
26012 (check_float_internal): Add issignaling checks.
26013 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
26014 default definition.
26015 * sysdeps/powerpc/math-tests.h: New file.
26016 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
26017 tests.
26018 * math/test-snan.c (TEST_FUNC): Likewise.
26019
6142896d
DM
260202013-03-30 David S. Miller <davem@davemloft.net>
26021
26022 * po/de.po: Update from translation team.
26023
ccc8cadf
JM
260242013-03-30 Joseph Myers <joseph@codesourcery.com>
26025
26026 [BZ #10357]
26027 * math/k_casinh.c (__kernel_casinh): Handle arguments with
26028 imaginary part less than 1.0 and real part less than 0.5
26029 specially.
26030 * math/k_casinhf.c (__kernel_casinhf): Likewise.
26031 * math/k_casinhl.c (__kernel_casinhl): Likewise.
26032 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
26033 (cacos_test): Add more tests.
26034 (casin_test): Likewise.
26035 (casinh_test): Likewise.
26036 * sysdeps/i386/fpu/libm-test-ulps: Update.
26037 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26038
0f6a8d4b
SP
260392013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
26040
0d1029de
SP
26041 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
26042 ONE with its value.
26043
c2d94018
SP
26044 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
26045 (__pow_mp): Replace ONE and MONE with their values.
26046 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
26047 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
26048 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
26049 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
26050 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
26051 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
26052
27ec37f1
SP
26053 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
26054
a64d7e0e
SP
26055 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
26056 (__pow_mp): Replace ZERO and MZERO with their values.
26057 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
26058 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
26059 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
26060 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
26061 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
26062 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
26063 (__sqr): Likewise.
26064
d26dd3eb
SP
26065 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
26066
0f6a8d4b
SP
26067 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
26068
e57b0c61
RM
260692013-03-28 Roland McGrath <roland@hack.frob.com>
26070
26071 * include/stdlib.h [!SHARED] (__call_tls_dtors):
26072 Declare with __attribute__ ((weak)).
26073 * stdlib/exit.c (__libc_atexit) [!SHARED]:
26074 Call __call_tls_dtors only if it's not NULL.
26075
356b3480
RM
260762013-03-28 Roland McGrath <roland@hack.frob.com>
26077
288f7d79
RM
26078 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
26079 didn't do it already, then set _dl_phdr and _dl_phnum based on the
26080 magic __ehdr_start linker symbol if it's defined.
26081 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
26082 them up here if it was already done.
26083
dc0a0263
RM
26084 * elf/dl-support.c (_dl_phdr): Make pointer to const.
26085 (_dl_aux_init): Use const in cast when setting it.
26086 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
26087 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
26088 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
26089
3d3436ae
RM
26090 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
26091 Declare them here.
26092 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
26093 * csu/libc-tls.c: Nor here.
26094 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
26095
356b3480
RM
26096 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
26097 (__libc_message): Never call vsyslog.
26098
b0f1246a
AM
260992013-03-28 Alan Modra <amodra@gmail.com>
26100
26101 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
26102 Define as empty.
26103 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
26104 Likewise.
26105
fbbe2b9a
AZ
261062013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26107
26108 [BZ #15214]
26109 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
26110 underflow.
26111 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26112
1728ab37
SP
261132013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
26114
7a86be6e
SP
26115 [BZ #15304]
26116 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
26117 Don't add gid passed as argument.
26118
1728ab37
SP
26119 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
26120
3a7182a1
JM
261212013-03-27 Joseph Myers <joseph@codesourcery.com>
26122
26123 [BZ #15307]
26124 * math/k_casinh.c (__kernel_casinh): Handle arguments with
26125 imaginary part between 1.0 and 1.5 and real part less than 0.5
26126 specially.
26127 * math/k_casinhf.c (__kernel_casinhf): Likewise.
26128 * math/k_casinhl.c (__kernel_casinhl): Likewise.
26129 * math/libm-test.inc (cacos_test): Add more tests.
26130 (casin_test): Likewise.
26131 (casinh_test): Likewise.
26132 * sysdeps/i386/fpu/libm-test-ulps: Update.
26133 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26134
6f2e90e7
SP
261352013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
26136
5739f705
SP
26137 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
26138 constants.
26139 (norm): Likewise.
26140 (denorm): Likewise.
26141 (__dbl_mp): Likewise.
26142 (add_magnitudes): Likewise.
26143 (sub_magnitudes): Likewise.
26144 (__add): Likewise.
26145 (__sub): Likewise.
26146 (__mul): Likewise.
26147 (__sqr): Likewise.
26148 (__inv): Likewise.
26149 (__dvd): Likewise.
26150
e375e83d
SP
26151 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
26152 commented code.
26153 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
26154 (__dubcos): Likewise.
26155 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
26156 (__ieee754_acos): Likewise.
26157 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
26158 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
26159 (__exp1): Likewise.
26160 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
26161 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
26162 (log1): Likewise.
26163 (my_log2): Likewise.
26164 (checkint): Likewise.
26165 * sysdeps/ieee754/dbl-64/e_remainder.c
26166 (__ieee754_remainder): Likewise.
26167 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
26168 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
26169 (bsloww): Likewise.
26170 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
26171
6f2e90e7
SP
26172 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
26173 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
26174 MANTISSA_STORE_T to store computations on mantissa. Use
26175 macros for rounding and division.
26176 (denorm): Likewise.
26177 (__dbl_mp): Likewise.
26178 (add_magnitudes): Likewise.
26179 (sub_magnitudes): Likewise.
26180 (__mul): Likewise.
26181 (__sqr): Likewise.
26182 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
26183 powers of two in terms of TWOPOW macro.
26184 (mp_no): Make type of mantissa as MANTISSA_T.
26185 [!RADIXI]: Define RADIXI.
26186 [!TWO52]: Define TWO52.
26187 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
26188
fce14d4e
AZ
261892013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26190
26191 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
26192 llroundl symbol when building for PPC32.
26193
9ad027fb
MW
261942013-03-24 Mark H Weaver <mhw@netris.org>
26195
26196 * manual/arith.texi (Normalization Functions): Fix prototypes for
26197 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
26198
e42a38dd
AZ
261992013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26200
26201 [BZ #13889]
26202 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
26203 high value to check if expl overflow.
26204 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
26205 to check for underflow and overflow.
26206 * math/libm-test.inc: Add exp test.
26207
2e0fb521
DL
262082013-03-21 Dmitry V. Levin <ldv@altlinux.org>
26209
26210 [BZ #11120]
26211 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
26212 with NOT_IN_libc.
26213
b5784d95
AZ
262142013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26215
26216 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
26217 symbol.
26218
5aa4a1a1
TS
262192013-03-21 Thomas Schwinge <thomas@codesourcery.com>
26220
bdef0be7
TS
26221 * math/gen-libm-test.pl (parse_args, special_functions): Properly
26222 wrap blocks consisting of several statements.
26223
5aa4a1a1
TS
26224 * sysdeps/generic/math-tests.h: New file.
26225 * sysdeps/i386/fpu/math-tests.h: Likewise.
26226 * math/test-snan.c: Include it.
26227 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
26228
98c48fe5
JM
262292013-03-21 Joseph Myers <joseph@codesourcery.com>
26230
26231 [BZ #15285]
26232 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
26233 (__ieee754_j0l): Do not improve calculations using cos of twice
26234 input for inputs above LDBL_MAX / 2.0L.
26235 (__ieee754_y0l): Likewise.
26236 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
26237 (__ieee754_j1l): Do not improve calculations using cos of twice
26238 input for inputs above LDBL_MAX / 2.0L.
26239 (__ieee754_y1l): Likewise.
26240 * math/libm-test.inc (j0_test): Add another test.
26241 (j1_test): Likewise.
26242 (y0_test): Likewise.
26243 (y1_test): Likewise.
26244 * sysdeps/i386/fpu/libm-test-ulps: Update.
26245
3775a8bc
SP
262462013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
26247
26248 * Rules ($(objpfx)bench-%.c): Include code from a C source
26249 file.
26250
0a1b2ae6
JM
262512013-03-21 Joseph Myers <joseph@codesourcery.com>
26252
26253 [BZ #15287]
26254 * math/k_casinh.c (__kernel_casinh): Handle arguments with
26255 imaginary part 1.0 and real part less than 0.5 specially.
26256 * math/k_casinhf.c (__kernel_casinhf): Likewise.
26257 * math/k_casinhl.c (__kernel_casinhl): Likewise.
26258 * math/libm-test.inc (cacos_test): Add more tests.
26259 (casin_test): Likewise.
26260 (casinh_test): Likewise.
26261 * sysdeps/i386/fpu/libm-test-ulps: Update.
26262 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26263
b33d4ce4
SP
262642013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
26265
26266 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
26267 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
26268
bef0b507
JM
262692013-03-20 Joseph Myers <joseph@codesourcery.com>
26270
26271 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
26272 * config.make.in (config-cflags-sse4): Remove variable.
26273 (config-cflags-avx): Likewise.
26274 (config-cflags-sse2avx): Likewise.
26275 (config-cflags-novzeroupper): Likewise.
26276 (config-asflags-i686): Likewise.
26277 (have-mfma4): Likewise.
26278 (have-as-vis3): Likewise.
26279 (MIG): Likewise.
26280 * configure.in (MIG): Do not AC_SUBST.
26281 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
26282 (libc_cv_cc_sse4): Do not AC_SUBST.
26283 (libc_cv_cc_avx): Likewise.
26284 (libc_cv_cc_sse2avx): Likewise.
26285 (libc_cv_cc_novzeroupper): Likewise.
26286 (libc_cv_cc_fma4): Likewise.
26287 (libc_cv_as_i686): Likewise.
26288 (libc_cv_sparc_as_vis3): Likewise.
26289 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
26290 LIBC_CONFIG_VAR.
26291 (config-asflags-i686): Likewise.
26292 (config-cflags-avx): Likewise.
26293 (config-cflags-sse2avx): Likewise.
26294 (have-mfma4): Likewise.
26295 (config-cflags-novzeroupper): Likewise.
26296 * sysdeps/mach/configure.in (MIG): Likewise.
26297 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
26298 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
26299 LIBC_CONFIG_VAR.
26300 (config-cflags-avx): Likewise.
26301 (config-cflags-sse2avx): Likewise.
26302 (have-mfma4): Likewise.
26303 (config-cflags-novzeroupper): Likewise.
26304 * configure: Regenerated.
26305 * sysdeps/i386/configure: Likewise.
26306 * sysdeps/mach/configure: Likewise.
26307 * sysdeps/sparc/configure: Likewise.
26308 * sysdeps/x86_64/configure: Likewise.
26309
912cc4b3
RM
263102013-03-20 Roland McGrath <roland@hack.frob.com>
26311
26312 [BZ #14812]
26313 * locale/programs/localedef.c (options): Put N_ translation marker
26314 on argument names, not just descriptions.
26315
04eed2b0
MS
263162013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
26317
26318 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
26319
a065ceff
OB
263202013-03-20 Ondřej Bílka <neleai@seznam.cz>
26321
9bb2a810 26322 [BZ #14176]
a065ceff
OB
26323 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
26324
a600e5ce
RM
263252013-03-19 Roland McGrath <roland@hack.frob.com>
26326
26327 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
26328 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
26329 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
26330 [!BEFORE_ABORT] (before_abort): New function.
26331 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
26332 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
26333 (writev_for_fatal): New function.
26334 (WRITEV_FOR_FATAL): New macro; call that.
26335 (backtrace_and_maps): New function.
26336 (BEFORE_ABORT): New macro; call that.
26337 (struct str_list): Type removed.
26338 (__libc_message, __libc_fatal): Functions removed.
26339 Include <sysdeps/posix/libc_fatal.c> instead.
26340
6b18bea6
JM
263412013-03-19 Joseph Myers <joseph@codesourcery.com>
26342
26343 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
26344 constants.
26345 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
26346 double constants.
26347
aaa8cb4b
AS
263482013-03-19 Andreas Schwab <schwab@suse.de>
26349
44673770
AS
26350 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
26351 * sysdeps/gnu/configure: Regenerate.
26352
aaa8cb4b
AS
26353 * configure.in: Substitute libc_cv_rtlddir.
26354 * configure: Regenerate.
26355 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
26356 * Makeconfig (rtlddir, inst_rtlddir): New variables.
26357 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
26358 * elf/Makefile (install-others, CFLAGS-interp.c)
26359 (ldso_install, common-ldd-rewrite): Likewise.
26360 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
26361 $(inst_slibdir)/$(rtld-installed-name).
26362 * scripts/rellns-sh: Add -p option.
26363 * Makerules (make-shlib-link): Use rellns-sh to get relative name
26364 for source.
26365
d3cfc668
SP
263662013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
26367
26368 * manual/nptl.texi: Renamed to ...
26369 * manual/threads.texi: ... this.
26370 * manual/Makefile (chapters): Update.
26371
0e2b9cdd
RM
263722013-03-18 Roland McGrath <roland@hack.frob.com>
26373
26374 [BZ #14812]
26375 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
26376 on argument names, not just descriptions.
0e2b9cdd
RM
26377 * malloc/memusagestat.c (options): Likewise.
26378 * nss/getent.c (options): Likewise.
63270c24
RM
26379
263802013-03-18 Benno Schulenberg <bensberg@justemail.net>
26381
26382 [BZ #14812]
26383 * iconv/iconv_prog.c (options): Put N_ translation marker
26384 on argument names, not just descriptions.
26385 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 26386
b2e1393c
OB
263872013-03-18 Ondrej Bilka <neleai@seznam.cz>
26388
26389 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
26390 implementation which is faster on all x86_64 architectures.
26391 Tested on AMD, Intel Nehalem, SNB, IVB.
26392 * sysdeps/x86_64/strnlen.S: Likewise.
26393
26394 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
26395 Remove all multiarch strlen and strnlen versions.
26396 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
26397 Remove strlen and strnlen related parts.
26398
26399 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
26400 Inline strlen part.
26401 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
26402
26403 * sysdeps/x86_64/multiarch/strlen.S: Remove.
26404 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
26405 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
26406 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
26407 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
26408 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
26409
ec4ff04d
CD
264102013-03-17 Carlos O'Donell <carlos@redhat.com>
26411
26412 * manual/memory.texi (Malloc Tunable Parameters):
26413 Sort parameters alphabetically. Add comments for missing entries.
26414
cd18e90a
DM
264152013-03-17 David S. Miller <davem@davemloft.net>
26416
26417 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26418
2a185d32
JM
264192013-03-16 Joseph Myers <joseph@codesourcery.com>
26420
d2f9799e
JM
26421 [BZ #15283]
26422 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
26423 for arguments at most half maximum finite value.
26424 * math/libm-test.inc (j0_test): Add more tests.
26425 (j1_test): Likewise.
26426 (y0_test): Likewise.
26427 (y1_test): Likewise.
26428 * sysdeps/i386/fpu/libm-test-ulps: Update.
26429 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26430
2a185d32
JM
26431 [BZ #14155]
26432 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
26433 1 / x and functions P and Q for arguments above 0x1p256L.
26434 (__ieee754_y0l): Likewise.
26435 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
26436 (__ieee754_y1l): Likewise.
26437 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
26438 (j1_test): Likewise.
26439 (y0_test): Likewise.
26440 (y1_test): Likewise.
26441
6cbec759
TS
264422013-03-16 Thomas Schwinge <thomas@codesourcery.com>
26443
26444 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
26445 variable.
26446
bc16e260
RM
264472013-03-15 Roland McGrath <roland@hack.frob.com>
26448
aefc9b8c
RM
26449 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
26450 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
26451 zero since it's initialized to EXEC_PAGESIZE.
26452
bc16e260
RM
26453 * sysdeps/unix/sysv/linux/ldsodefs.h
26454 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
26455 * sysdeps/generic/ldsodefs.h: ... here.
26456
a57da955
TS
264572013-03-15 Thomas Schwinge <thomas@codesourcery.com>
26458
af00a34d
TS
26459 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
26460
495ded2c
TS
26461 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
26462 math/test-snan.c.
26463 * math/test-snan.c: Renamed from
26464 sysdeps/powerpc/fpu/test-powerpc-snan.c.
26465 * math/Makefile (tests): Add test-snan.
26466 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
26467 test-powerpc-snan.
26468
777b0332
TS
26469 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
26470 SUFFIX. Initialize qNaN_var with __builtin_nan family of
26471 functions.
26472 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
26473 __builtin_nan family of functions.
26474 * math/libm-test.inc (initialize): Initialize qnan_value with
26475 __builtin_nan family of functions.
26476 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
26477 Remove variables.
26478 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
26479 Remove functions.
26480 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
26481 storage class. Initialize qNaN_var and sNaN_var with
26482 __builtin_nan and __builtin_nans families of functions,
26483 respectively.
26484
64d063b8
TS
26485 * math/libm-test.inc (acosh_test): Also test with qNaN input.
26486 (sqrt_test): Remove duplicate test with qNaN input.
26487 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
26488 (round_test, signbit_test, significand_test): Note missing +/-Inf
26489 as well as qNaN tests.
26490
67e971f1
TS
26491 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
26492 qNaN_var. Fix a few strings, too.
26493 * math/libm-test.inc (nan_value): Rename to qnan_value.
26494 * math/gen-libm-test.pl (%beautify): Adjust to that.
26495 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
26496 * math/test-misc.c (main): Likewise.
26497 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
26498 to __qnan_bytes, and __qnan_union, respectively.
26499 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
26500 Likewise.
26501 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
26502 and lqnanval, respectively.
26503 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
26504 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
26505 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
26506 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
26507
64487e12
TS
26508 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
26509 * math/test-misc.c (main) [__x86_64__]: Enable test for long
26510 doubles.
26511
e015e27b
TS
26512 * math/test-misc.c (main): Fix copy'n'pastos.
26513 * misc/tst-efgcvt.c (special): Likewise.
26514
a57da955
TS
26515 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
26516 Remove declarations.
26517
1e380345
SP
265182013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
26519
26520 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
26521 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
26522 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
26523 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
26524
ef26eece
AZ
265252013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26526
26527 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
26528 macro to return vdso values correctly in IFUNC implementations.
26529 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
26530 Optimization by using IFUNC.
26531
8cfdb7e0
SP
265322013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
26533 Richard Henderson <rth@redhat.com>
26534 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
26535
26536 * Makefile.in (bench): New target.
26537 * NEWS: Mention the benchmark framework.
26538 * Rules (bench): Likewise.
26539 (binaries-bench): Generate binaries for functions to
26540 benchmark.
26541 * benchtests/Makefile: New makefile for benchmark tests.
26542 * benchtests/bench-skeleton.c: New skeleton file for benchmark
26543 programs.
26544 * benchtests/exp-inputs: New input file for EXP function.
26545 * benchtests/pow-inputs: New input file for POW function.
26546 * scripts/bench.pl: New script to generate source files for
26547 benchmark programs.
26548
bcda9880
SP
265492013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
26550
d22ca8cd
SP
26551 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
26552 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
26553 computations on mantissa. Use macros for rounding and
26554 division.
26555 (denorm): Likewise.
26556 (__dbl_mp): Likewise.
26557 (add_magnitudes): Likewise.
26558 (sub_magnitudes): Likewise.
26559 (__mul): Likewise.
26560 (__sqr): Likewise.
26561 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
26562 powers of two in terms of TWOPOW macro.
26563 (mp_no): Make type of mantissa as MANTISSA_T.
26564 [!RADIXI]: Define RADIXI.
26565 [!TWO52]: Define TWO52.
26566 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
26567
bcda9880
SP
26568 * manual/nptl.texi (cindex): Modify threads to pthreads.
26569
06d5adfb
JM
265702013-03-15 Joseph Myers <joseph@codesourcery.com>
26571
26572 * sysdeps/x86_64/preconfigure: Regenerated.
26573
41c7328e
JM
265742013-03-14 Joseph Myers <joseph@codesourcery.com>
26575
26576 [BZ #14155]
26577 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
26578 0x1p28 and above.
26579 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
26580 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
26581 0x1p28 and above.
26582 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
26583 * math/libm-test.inc (j0_test): Do not allow one spurious
26584 underflow exception.
26585 (y1_test): Likewise.
26586
e25cfa60
SP
265872013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
26588
0409959c
SP
26589 * manual/Makefile (chapters): Add nptl.
26590 * manual/debug.texi (Debugging Support): Add link to Threads
26591 chapter.
26592 * manual/nptl.texi: New file.
26593
e25cfa60
SP
26594 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
26595
58a1335e
PB
265962013-03-14 Petr Baudis <pasky@ucw.cz>
26597
26598 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
26599 for non-NULL pointer before the memory validity test. Pointed
26600 out by Holger Brunck <holger.brunck@keymile.com>.
26601
9dc7c64f
AS
266022013-03-13 Andreas Schwab <schwab@suse.de>
26603
26604 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
26605 instead of .os.
26606
54206aa6
JM
266072013-03-13 Joseph Myers <joseph@codesourcery.com>
26608
26609 * timezone/zic.c: Update from tzcode 2013b.
26610
e98cdb38
CD
266112013-03-12 Carlos O'Donell <carlos@redhat.com>
26612
26613 * manual/install.texi (Configuring and compiling):
26614 Mention i686 and i586.
26615 * INSTALL: Regenerate.
26616
9967e003
RM
266172013-03-12 Roland McGrath <roland@hack.frob.com>
26618
26619 * sysdeps/init_array/elf-init.c: New file.
26620 * csu/elf-init.c
26621 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
26622 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
26623
26624 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
26625 __gmon_start__ as global, but as static with a .preinit_array pointer.
26626 * sysdeps/init_array/gmon-start.c: New file. Use that.
26627 * sysdeps/init_array/crti.S: New file, empty except for comments.
26628 * sysdeps/init_array/crtn.S: Likewise.
26629
e6b5a293 266302013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
26631
26632 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
26633 definining bcopy.
80f844c9
OB
26634 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26635 Remove Prefer_SSE_for_memop.
26636 * sysdeps/x86_64/multiarch/init-arch.h: Remove
26637 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
26638 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
26639 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
26640 memset-x86-64.
80f844c9 26641 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 26642 Remove bzero, memset ifunc support.
80f844c9
OB
26643 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
26644 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
26645 * sysdeps/x86_64/multiarch/memset.S: Likewise.
26646 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
26647
fb6b0fcb
AS
266482013-03-11 Andreas Schwab <schwab@suse.de>
26649
26650 [BZ #15234]
26651 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
26652 by SHLIB_COMPAT.
26653 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
26654 (GLIBC_2.16): Remove pthread_atfork.
26655
3e6bd4b1
PP
266562013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
26657
26658 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
26659 (ptestcases.h): Likewise.
26660
222d7f00
RM
266612013-03-08 Roland McGrath <roland@hack.frob.com>
26662
26663 * Makeconfig ($(common-objpfx)config.status): Depend on
26664 sysdeps/*/preconfigure{,.in} too.
26665
1ba4f030
JM
266662013-03-08 Joseph Myers <joseph@codesourcery.com>
26667
a222d91a
JM
26668 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
26669 (__free_hook): Use void * instead of __malloc_ptr_t.
26670 (__malloc_hook): Likewise.
26671 (__realloc_hook): Likewise.
26672 (__memalign_hook): Likewise.
26673 (__after_morecore_hook): Likewise.
26674 * malloc/arena.c (save_malloc_hook): Likewise.
26675 (save_free_hook): Likewise.
26676 * malloc/hooks.c (malloc_hook_ini): Likewise.
26677 (realloc_hook_ini): Likewise.
26678 (memalign_hook_ini): Likewise.
26679 * malloc/malloc.c (malloc_hook_ini): Likewise.
26680 (realloc_hook_ini): Likewise.
26681 (memalign_hook_ini): Likewise.
26682 (__free_hook): Likewise.
26683 (__malloc_hook): Likewise.
26684 (__realloc_hook): Likewise.
26685 (__memalign_hook): Likewise.
26686 (__libc_malloc): Likewise.
26687 (__libc_free): Likewise.
26688 (__libc_realloc): Likewise.
26689 (__libc_memalign): Likewise.
26690 (__libc_valloc): Likewise.
26691 (__libc_pvalloc): Likewise.
26692 (__libc_calloc): Likewise.
26693 (__posix_memalign): Likewise.
26694 * malloc/morecore.c (__sbrk): Likewise.
26695 (__default_morecore): Likewise.
26696
5cc45e10
JM
26697 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
26698
dd54b864
JM
26699 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
26700 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
26701 __malloc_ptrdiff_t.
26702
1ba4f030
JM
26703 * malloc/malloc.h (__malloc_size_t): Remove macro.
26704 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
26705 __malloc_size_t.
26706 (old_memalign_hook): Likewise.
26707 (old_realloc_hook): Likewise.
26708 (struct hdr): Likewise.
26709 (flood): Likewise.
26710 (mallochook): Likewise.
26711 (memalignhook): Likewise.
26712 (reallochook): Likewise.
26713 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
26714 (tr_old_realloc_hook): Likewise.
26715 (tr_old_memalign_hook): Likewise.
26716 (tr_mallochook): Likewise.
26717 (tr_reallochook): Likewise.
26718 (tr_memalignhook): Likewise.
26719
edf66e57
AZ
267202013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26721
26722 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
26723 default_ldbl_pack and using as default implementation.
26724 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
26725 implementation.
26726 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
26727 redundant definition.
26728 (ldbl_insert_mantissa): Likewise.
26729 (ldbl_canonicalize): Likewise.
26730 (ldbl_nearbyint): Likewise.
26731 (ldbl_pack): Rename to ldbl_pack_ppc.
26732 (ldbl_unpack): Rename to ldbl_unpack_ppc.
26733 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
26734 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
26735
6d9145d8
SP
267362013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
26737
26738 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
26739 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
26740 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
26741 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
26742 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
26743 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
26744 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
26745 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
26746
4dd4e157
AJ
267472013-03-07 Andreas Jaeger <aj@suse.de>
26748
26749 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26750 bits/mman-linux.h.
26751
adbb8027
SP
267522013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
26753
ce544b5b
SP
26754 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
26755 Include mpa.h and declare __MPEXP.
26756 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
26757 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
26758 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
26759 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
26760 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
26761 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
26762 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
26763
4cc149fd
SP
26764 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
26765 (__slowpow): Use long double EXPL and LOGL functions to
26766 compute POW.
26767 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
26768 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
26769 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
26770 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
26771 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
26772 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
26773
e6ebd4a7
SP
26774 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
26775 intermediate variable to calculate exponent.
26776 (__sqr): Likewise.
26777 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
26778 Likewise.
26779 (__sqr): Likewise.
26780
82a9811d
SP
26781 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
26782 [!NO__SQR]: Define __sqr.
26783 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
26784 and NO__SQR. Remove all code except __mul and __sqr. Include
26785 sysdeps/ieee754/dbl-64/mpa.c.
26786 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
26787
adbb8027
SP
26788 [BZ #12723]
26789 * posix/Makefile (tests): Add tst-pathconf.
26790 * posix/tst-pathconf.c: New test case.
26791 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
26792 _PC_PIPE_BUF.
26793 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
26794
39120df9
PF
267952013-03-06 Patsy Franklin <pfrankli@redhat.com>
26796
26797 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
26798
67525cb8
AJ
267992013-03-06 Andreas Jaeger <aj@suse.de>
26800
664a9ce4
AJ
26801 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
26802 definition via __MAP_ANONYMOUS.
26803
8e39047d
AJ
26804 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
26805 it's not part of Linux headers.
26806
67525cb8
AJ
26807 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
26808 (MAP_HUGE_MASK): Define.
26809
26810 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
26811 Define.
26812 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
26813 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
26814 Define.
26815 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
26816 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
26817 Define.
26818 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
26819 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
26820 Define.
26821 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
26822
26823 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
26824 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
26825 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
26826 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
26827 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
26828 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
26829
26830 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
26831 Handle f2fs.
26832
26833 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
26834 Handle f2fs and efivarfs.
26835
26836 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
26837 f2fs.
26838
26839 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
26840 (EFIVARFS_MAGIC): Add.
26841 (F2FS_LINK_MAX): Add.
26842
e1b42695
PP
268432013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
26844
26845 * stdio-common/vfprintf.c: Replace __builtin_expect with
26846 __glibc_unlikely.
26847
2d67d91a
JM
268482013-03-06 Joseph Myers <joseph@codesourcery.com>
26849
26850 [BZ #13550]
26851 * sysdeps/generic/bp-sym.h: Remove file.
26852 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
26853 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
26854 <bp-sym.h> and <bp-asm.h>.
26855 (__longjmp): Don't use BP_SYM.
26856 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
26857 and <bp-asm.h>.
26858 (memcpy): Don't use BP_SYM.
26859 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
26860 <bp-sym.h> and <bp-asm.h>.
26861 (memcpy): Don't use BP_SYM.
26862 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
26863 <bp-asm.h>.
26864 (memcpy): Don't use BP_SYM.
26865 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
26866 <bp-asm.h>.
26867 (memset): Don't use BP_SYM.
26868 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
26869 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
26870 (__bzero): Don't use BP_SYM.
26871 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
26872 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
26873 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
26874 <bp-sym.h> and <bp-asm.h>.
26875 (memcmp): Don't use BP_SYM. Remove comment about bounded
26876 pointers.
26877 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
26878 <bp-sym.h> and <bp-asm.h>.
26879 (memcpy): Don't use BP_SYM.
26880 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
26881 <bp-sym.h> and <bp-asm.h>.
26882 (memset): Don't use BP_SYM.
26883 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
26884 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
26885 (__bzero): Don't use BP_SYM.
26886 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
26887 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
26888 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
26889 <bp-sym.h> and <bp-asm.h>.
26890 (strncmp): Don't use BP_SYM. Remove comment about bounded
26891 pointers.
26892 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
26893 <bp-sym.h> and <bp-asm.h>.
26894 (memcpy): Don't use BP_SYM.
26895 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
26896 <bp-sym.h> and <bp-asm.h>.
26897 (memset): Don't use BP_SYM.
26898 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
26899 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
26900 (__bzero): Don't use BP_SYM.
26901 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
26902 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
26903 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
26904 <bp-sym.h> and <bp-asm.h>.
26905 (__memchr): Don't use BP_SYM.
26906 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
26907 <bp-sym.h> and <bp-asm.h>.
26908 (memcmp): Don't use BP_SYM. Remove comment about bounded
26909 pointers.
26910 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
26911 <bp-sym.h> and <bp-asm.h>.
26912 (memcpy): Don't use BP_SYM.
26913 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
26914 <bp-sym.h> and <bp-asm.h>.
26915 (__mempcpy): Don't use BP_SYM.
26916 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
26917 <bp-sym.h> and <bp-asm.h>.
26918 (__memrchr): Don't use BP_SYM.
26919 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
26920 <bp-sym.h> and <bp-asm.h>.
26921 (memset): Don't use BP_SYM.
26922 (__bzero): Likewise.
26923 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
26924 <bp-sym.h> and <bp-asm.h>.
26925 (__rawmemchr): Don't use BP_SYM.
26926 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
26927 <bp-sym.h> and <bp-asm.h>.
26928 (__STRCMP): Don't use BP_SYM.
26929 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
26930 <bp-sym.h> and <bp-asm.h>.
26931 (strchr): Don't use BP_SYM.
26932 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
26933 <bp-sym.h> and <bp-asm.h>.
26934 (__strchrnul): Don't use BP_SYM.
26935 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
26936 <bp-sym.h> and <bp-asm.h>.
26937 (strlen): Don't use BP_SYM.
26938 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
26939 <bp-sym.h> and <bp-asm.h>.
26940 (strncmp): Don't use BP_SYM. Remove comment about bounded
26941 pointers.
26942 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
26943 <bp-sym.h> and <bp-asm.h>.
26944 (__strnlen): Don't use BP_SYM.
26945 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
26946 <bp-sym.h> and <bp-asm.h>.
26947 (__GI__setjmp): Don't use BP_SYM.
26948 (_setjmp): Likewise.
26949 (__sigsetjmp): Likewise.
26950 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
26951 (L(start_addresses)): Don't use BP_SYM.
26952 (_start): Likewise.
26953 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
26954 <bp-asm.h>.
26955 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
26956 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
26957 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
26958 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
26959 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
26960 <bp-asm.h>.
26961 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
26962 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
26963 about bounded pointers.
26964 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
26965 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
26966 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
26967 <bp-asm.h>.
26968 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
26969 about bounded pointers. Remove GKM FIXME comments.
26970 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
26971 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
26972 <bp-asm.h>.
26973 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
26974 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
26975 Remove GKM FIXME comments.
26976 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
26977 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
26978 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
26979 <bp-asm.h>.
26980 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
26981 about bounded pointers. Remove GKM FIXME comment.
26982 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
26983 and <bp-asm.h>.
26984 (strncmp): Don't use BP_SYM. Remove comment about bounded
26985 pointers.
26986 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
26987 <bp-sym.h> and <bp-asm.h>.
26988 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
26989 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
26990 <bp-sym.h> and <bp-asm.h>.
26991 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
26992 comment.
26993
cdcf361f
PP
269942013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
26995
26996 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
26997 call free(NULL).
26998
3c4a2b15
DM
269992013-03-05 David S. Miller <davem@davemloft.net>
27000
27001 * po/es.po: Update from translation team.
27002
cdcf361f 270032013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
27004
27005 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
27006 <bits/mman-linux.h>.
27007 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
27008 is fine.
27009 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
27010 <bits/mman-linux.h> to end of file.
27011 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
27012 is fine.
27013 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
27014 <bits/mman-linux.h> to end of file.
27015 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
27016 is fine.
27017 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
27018 <bits/mman-linux.h> to end of file.
27019
27020 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
27021 (MCL_CURRENT, MCL_FUTURE): Define here.
27022
5f67c04f
AK
270232013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27024
8a4473cc 27025 [BZ #15232]
5f67c04f
AK
27026 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
27027 attribute_hidden.
27028 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
27029
c3e94a95
AK
270302013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27031
27032 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
27033 fourth parameter needed for rt_sigprocmask syscall.
27034 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
27035 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
27036 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
27037 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
27038 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
27039 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
27040
cfb6382a
JM
270412013-03-04 Joseph Myers <joseph@codesourcery.com>
27042
27043 [BZ #13550]
27044 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
27045 comment about bounded pointers.
27046 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
27047 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
27048
539d8e01
AJ
270492013-03-04 Andreas Jaeger <aj@suse.de>
27050
27051 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
27052 common definitions.
27053
27054 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
27055 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
27056 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
27057 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
27058 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
27059 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
27060
2e167a70 270612013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
27062
27063 [BZ #15055]
27064 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
27065 __ieee754_sqrl instead of __sqrl.
27066
68508633
JM
270672013-03-01 Joseph Myers <joseph@codesourcery.com>
27068
27069 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
27070 * sysdeps/powerpc/fpu_control.h: ... here.
27071 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
27072 * sysdeps/powerpc/bits/fenvinline.h: ... here.
27073 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
27074 * sysdeps/powerpc/bits/mathinline.h: ... here.
27075
7775448e
RM
270762013-03-01 Roland McGrath <roland@hack.frob.com>
27077
27078 * elf/dl-hwcaps.c (_dl_important_hwcaps):
27079 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
27080 to just [NEED_DL_SYSINFO_DSO].
27081 * elf/dl-support.c: Likewise.
27082 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
27083 * elf/rtld.c (dl_main): Likewise.
27084 * elf/setup-vdso.h (setup_vdso): Likewise.
27085 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
27086 * sysdeps/unix/sysv/linux/dl-sysdep.c
27087 (_dl_discover_osversion): Likewise.
27088
4e9b5995
CD
270892013-03-01 Carlos O'Donell <carlos@redhat.com>
27090
27091 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
27092 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
27093
e23872c8
SP
270942013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
27095
e5c74c63
SP
27096 * NEWS: Mention libm performance improvements and non-x86 PI
27097 futex support.
27098
e23872c8
SP
27099 * csu/libc-start.c (__pthread_initialize_minimal): Change
27100 function arguments.
27101 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
27102
b5510883
JM
271032013-02-28 Joseph Myers <joseph@codesourcery.com>
27104
27105 [BZ #13550]
27106 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
27107 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
27108 <bp-sym.h> and <bp-asm.h>.
27109 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
27110 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
27111 and <bp-asm.h>.
27112 (memcpy): Don't use BP_SYM.
27113 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
27114 <bp-asm.h>.
27115 (__mpn_add_n): Don't use BP_SYM.
27116 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
27117 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
27118 and <bp-asm.h>.
27119 (__mpn_addmul_1): Don't use BP_SYM.
27120 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
27121 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
27122 <bp-sym.h>.
27123 (_setjmp): Don't use BP_SYM.
27124 (__novmx_setjmp): Likewise.
27125 (__GI__setjmp): Likewise.
27126 (__vmx_setjmp): Likewise.
27127 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
27128 <bp-sym.h>.
27129 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
27130 (__bzero): Don't use BP_SYM.
27131 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
27132 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
27133 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
27134 <bp-sym.h> and <bp-asm.h>.
27135 (memcpy): Don't use BP_SYM.
27136 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
27137 <bp-sym.h> and <bp-asm.h>.
27138 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
27139 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
27140 <bp-sym.h> and <bp-asm.h>.
27141 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
27142 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
27143 <bp-asm.h>.
27144 (__mpn_lshift): Don't use BP_SYM.
27145 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
27146 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
27147 <bp-asm.h>.
27148 (memset): Don't use BP_SYM.
27149 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
27150 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
27151 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
27152 <bp-asm.h>.
27153 (__mpn_mul_1): Don't use BP_SYM.
27154 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
27155 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
27156 <bp-sym.h> and <bp-asm.h>.
27157 (memcmp): Don't use BP_SYM.
27158 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
27159 <bp-sym.h> and <bp-asm.h>.
27160 (memcpy): Don't use BP_SYM.
27161 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
27162 <bp-sym.h> and <bp-asm.h>.
27163 (memset): Don't use BP_SYM.
27164 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
27165 <bp-sym.h> and <bp-asm.h>.
27166 (strncmp): Don't use BP_SYM.
27167 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
27168 <bp-sym.h> and <bp-asm.h>.
27169 (memcpy): Don't use BP_SYM.
27170 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
27171 <bp-sym.h> and <bp-asm.h>.
27172 (memset): Don't use BP_SYM.
27173 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
27174 <bp-sym.h> and <bp-asm.h>.
27175 (__memchr): Don't use BP_SYM.
27176 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
27177 <bp-sym.h> and <bp-asm.h>.
27178 (memcmp): Don't use BP_SYM.
27179 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
27180 <bp-sym.h> and <bp-asm.h>.
27181 (memcpy): Don't use BP_SYM.
27182 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
27183 <bp-sym.h> and <bp-asm.h>.
27184 (__mempcpy): Don't use BP_SYM.
27185 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
27186 <bp-sym.h> and <bp-asm.h>.
27187 (__memrchr): Don't use BP_SYM.
27188 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
27189 <bp-sym.h> and <bp-asm.h>.
27190 (memset): Don't use BP_SYM.
27191 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
27192 <bp-sym.h> and <bp-asm.h>.
27193 (__rawmemchr): Don't use BP_SYM.
27194 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
27195 <bp-sym.h> and <bp-asm.h>.
27196 (__STRCMP): Don't use BP_SYM.
27197 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
27198 <bp-sym.h> and <bp-asm.h>.
27199 (strchr): Don't use BP_SYM.
27200 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
27201 <bp-sym.h> and <bp-asm.h>.
27202 (__strchrnul): Don't use BP_SYM.
27203 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
27204 <bp-sym.h> and <bp-asm.h>.
27205 (strlen): Don't use BP_SYM.
27206 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
27207 <bp-sym.h> and <bp-asm.h>.
27208 (strncmp): Don't use BP_SYM.
27209 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
27210 <bp-sym.h> and <bp-asm.h>.
27211 (__strnlen): Don't use BP_SYM.
27212 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
27213 <bp-asm.h>.
27214 (__mpn_rshift): Don't use BP_SYM.
27215 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
27216 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
27217 <bp-sym.h> and <bp-asm.h>.
27218 (__sigsetjmp): Don't use BP_SYM.
27219 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
27220 (L(start_addresses)): Don't use BP_SYM.
27221 (_start): Likewise.
27222 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
27223 <bp-asm.h>.
27224 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
27225 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
27226 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
27227 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
27228 <bp-asm.h>.
27229 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
27230 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
27231 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
27232 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
27233 <bp-asm.h>.
27234 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
27235 comments.
27236 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
27237 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
27238 <bp-asm.h>.
27239 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
27240 FIXME comments.
27241 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
27242 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
27243 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
27244 <bp-asm.h>.
27245 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
27246 comment.
27247 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
27248 and <bp-asm.h>.
27249 (strncmp): Don't use BP_SYM,
27250 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
27251 <bp-asm.h>.
27252 (__mpn_sub_n): Don't use BP_SYM.
27253 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
27254 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
27255 and <bp-asm.h>.
27256 (__mpn_submul_1): Don't use BP_SYM.
27257 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
27258 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
27259 <bp-sym.h> and <bp-asm.h>.
27260 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
27261 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
27262 <bp-sym.h> and <bp-asm.h>.
27263 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
27264 comment.
27265
8d19fe64
SP
272662013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
27267
27268 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
27269 Use ZK to minimize writes to Z.
27270 (sub_magnitudes): Simplify code a bit.
27271 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
27272 Use ZK to minimize writes to Z.
27273 (sub_magnitudes): Simplify code a bit.
27274
85bd816a
RM
272752013-02-27 Roland McGrath <roland@hack.frob.com>
27276
27277 * csu/gmon-start.c: Add special exception to license text.
27278
b5977bf2
RH
272792013-02-27 Richard Henderson <rth@redhat.com>
27280
27281 * scripts/config.guess: Update from config.git.
27282 * scripts/config.sub: Likewise.
27283
11d6e2f2
SP
272842013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
27285
09c14ed2
SP
27286 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
27287
a688864e
SP
27288 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
27289
6295157a
SP
27290 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
27291
b8de2202
SP
27292 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
27293
11d6e2f2
SP
27294 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
27295
7e80ddb8
RM
272962013-02-26 Roland McGrath <roland@hack.frob.com>
27297
27298 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
27299 [$(build-shared = yes].
7e80ddb8 27300
7da6d9ed
SP
273012013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
27302
45f05884
SP
27303 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
27304 (__mul): Reduce iterations for calculating mantissa.
27305
2236d359
SP
27306 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
27307 MPTWO.
27308 (__mpranred): Likewise.
27309
7da6d9ed
SP
27310 [BZ #15160]
27311 * malloc/memusagestat.c (main): Draw graphs for heap and stack
27312 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
27313
b7688c42
PE
273142013-02-26 Paul Eggert <eggert@cs.ucla.edu>
27315
27316 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
27317 Define __attribute__.
27318
53a5c423
SP
273192013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
27320
27321 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
27322 unused.
27323 * posix/regex_internal.h (__attribute): Remove.
27324 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
27325 (re_string_context_at): Likewise.
27326 (bitset_not): Use __attribute__ and mark function as possibly
27327 unused.
27328 (bitset_merge): Likewise.
27329 (bitset_mask): Likewise.
27330 (re_string_char_size_at): Likewise.
27331 (re_string_wchar_at): Likewise.
27332 (re_string_elem_size_at): Likewise.
27333
60f5a8b5
SP
273342013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
27335
2a983a2e
SP
27336 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
27337 code.
27338 (cc32): Likewise.
27339
e69804d1
SP
27340 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
27341 (__acr): Likewise.
27342 (__cpy): Likewise.
27343 (norm): Likewise.
27344 (denorm): Likewise.
27345 (__dbl_mp): Likewise.
27346 (add_magnitudes): Likewise.
27347 (sub_magnitudes): Likewise.
27348 (__mul): Likewise.
27349 (__inv): Likewise.
27350
2f22a1e8
SP
27351 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
27352 style.
27353
8930ddc7
SP
27354 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
27355 style.
27356
dc60cb11
SP
27357 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
27358 code.
27359
60f5a8b5
SP
27360 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
27361 up changes with default code.
27362 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
27363 Likewise.
27364
b4d1fd33
AM
273652013-02-24 Allan McRae <allan@archlinux.org>
27366
faf6f8bc
AM
27367 * manual/socket.texi (The Internet Namespace): Order menu items
27368 to match that in the file.
27369
b4d1fd33
AM
27370 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
27371 node listing of the info page menu.
27372
2366713d
JM
273732013-02-21 Joseph Myers <joseph@codesourcery.com>
27374
27375 [BZ #13550]
27376 * sysdeps/i386/bp-asm.h: Remove file.
27377 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
27378 (PARMS): Do not use macros from bp-asm.h.
27379 (S1): Likewise.
27380 (S2): Likewise.
27381 (SIZE): Likewise.
27382 (__mpn_add_n): Do not use BP_SYM
27383 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
27384 "bp-asm.h".
27385 (PARMS): Do not use macros from bp-asm.h.
27386 (S1): Likewise.
27387 (SIZE): Likewise.
27388 (__mpn_addmul_1): Do not use BP_SYM
27389 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
27390 "bp-asm.h".
27391 (PARMS): Do not use macros from bp-asm.h.
27392 (SIGMSK): Likewise.
27393 (_setjmp): Likewise. Do not use BP_SYM.
27394 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
27395 "bp-asm.h".
27396 (PARMS): Do not use macros from bp-asm.h.
27397 (SIGMSK): Likewise.
27398 (setjmp): Likewise. Do not use BP_SYM.
27399 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
27400 "bp-asm.h".
27401 (PARMS): Do not use macros from bp-asm.h.
27402 (__frexp): Do not use BP_SYM.
27403 (frexp): Likewise.
27404 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
27405 "bp-asm.h".
27406 (PARMS): Do not use macros from bp-asm.h.
27407 (__frexpf): Do not use BP_SYM.
27408 (frexpf): Likewise.
27409 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
27410 "bp-asm.h".
27411 (PARMS): Do not use macros from bp-asm.h.
27412 (__frexpl): Do not use BP_SYM.
27413 (frexpl): Likewise.
27414 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
27415 "bp-asm.h".
27416 (PARMS): Do not use macros from bp-asm.h.
27417 (__remquo): Do not use BP_SYM.
27418 (remquo): Likewise.
27419 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
27420 "bp-asm.h".
27421 (PARMS): Do not use macros from bp-asm.h.
27422 (__remquof): Do not use BP_SYM.
27423 (remquof): Likewise.
27424 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
27425 "bp-asm.h".
27426 (PARMS): Do not use macros from bp-asm.h.
27427 (__remquol): Do not use BP_SYM.
27428 (remquol): Likewise.
27429 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
27430 "bp-asm.h".
27431 (PARMS): Do not use macros from bp-asm.h.
27432 (DEST): Likewise.
27433 (SRC): Likewise.
27434 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
27435 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
27436 "bp-asm.h".
27437 (PARMS): Do not use macros from bp-asm.h.
27438 (strlen): Do not use BP_SYM.
27439 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
27440 "bp-asm.h".
27441 (PARMS): Do not use macros from bp-asm.h.
27442 (S1): Likewise.
27443 (S2): Likewise.
27444 (SIZE): Likewise.
27445 (__mpn_add_n): Do not use BP_SYM.
27446 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
27447 "bp-asm.h".
27448 (PARMS): Do not use macros from bp-asm.h.
27449 (S1): Likewise.
27450 (SIZE): Likewise.
27451 (__mpn_addmul_1): Do not use BP_SYM.
27452 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
27453 weak_alias.
27454 (bzero): Likewise.
27455 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
27456 "bp-asm.h".
27457 (PARMS): Do not use macros from bp-asm.h.
27458 (S): Likewise.
27459 (SIZE): Likewise.
27460 (__mpn_lshift): Do not use BP_SYM.
27461 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
27462 "bp-asm.h".
27463 (PARMS): Do not use macros from bp-asm.h.
27464 (DEST): Likewise.
27465 (SRC): Likewise.
27466 (LEN): Likewise.
27467 (memcpy): Likewise. Do not use BP_SYM.
27468 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
27469 libc_hidden_def and weak_alias.
27470 (mempcpy): Do not use BP_SYM in weak_alias.
27471 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
27472 "bp-asm.h".
27473 (PARMS): Do not use macros from bp-asm.h.
27474 (DEST): Likewise.
27475 (LEN): Likewise.
27476 [!BZERO_P] (CHR): Likewise.
27477 (memset): Likewise. Do not use BP_SYM.
27478 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
27479 "bp-asm.h".
27480 (PARMS): Do not use macros from bp-asm.h.
27481 (S1): Likewise.
27482 (SIZE): Likewise.
27483 (__mpn_mul_1): Do not use BP_SYM.
27484 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
27485 "bp-asm.h".
27486 (PARMS): Do not use macros from bp-asm.h.
27487 (S): Likewise.
27488 (SIZE): Likewise.
27489 (__mpn_rshift): Do not use BP_SYM.
27490 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
27491 "bp-asm.h".
27492 (PARMS): Do not use macros from bp-asm.h.
27493 (STR): Likewise.
27494 (CHR): Likewise.
27495 (strchr): Likewise. Do not use BP_SYM.
27496 (index): Do not use BP_SYM in weak_alias.
27497 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
27498 "bp-asm.h".
27499 (PARMS): Do not use macros from bp-asm.h.
27500 (DEST): Likewise.
27501 (SRC): Likewise.
27502 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
27503 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
27504 "bp-asm.h".
27505 (PARMS): Do not use macros from bp-asm.h.
27506 (strlen): Do not use BP_SYM.
27507 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
27508 "bp-asm.h".
27509 (PARMS): Do not use macros from bp-asm.h.
27510 (S1): Likewise.
27511 (S2): Likewise.
27512 (SIZE): Likewise.
27513 (__mpn_sub_n): Do not use BP_SYM.
27514 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
27515 "bp-asm.h".
27516 (PARMS): Do not use macros from bp-asm.h.
27517 (S1): Likewise.
27518 (SIZE): Likewise.
27519 (__mpn_submul_1): Do not use BP_SYM.
27520 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
27521 "bp-asm.h".
27522 (PARMS): Do not use macros from bp-asm.h.
27523 (S1): Likewise.
27524 (S2): Likewise.
27525 (SIZE): Likewise.
27526 (__mpn_add_n): Do not use BP_SYM.
27527 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
27528 weak_alias.
27529 (bzero): Likewise.
27530 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
27531 "bp-asm.h".
27532 (PARMS): Do not use macros from bp-asm.h.
27533 (BLK2): Likewise.
27534 (LEN): Likewise.
27535 (memcmp): Do not use BP_SYM.
27536 (bcmp): Do not use BP_SYM in weak_alias.
27537 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
27538 "bp-asm.h".
27539 (PARMS): Do not use macros from bp-asm.h.
27540 (DEST): Likewise.
27541 (SRC): Likewise.
27542 (LEN): Likewise.
27543 (memcpy): Likewise. Do not use BP_SYM.
27544 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
27545 "bp-asm.h".
27546 (PARMS): Do not use macros from bp-asm.h.
27547 (DEST): Likewise.
27548 (SRC): Likewise.
27549 (LEN): Likewise.
27550 (memmove): Likewise. Do not use BP_SYM.
27551 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
27552 "bp-asm.h".
27553 (PARMS): Do not use macros from bp-asm.h.
27554 (DEST): Likewise.
27555 (SRC): Likewise.
27556 (LEN): Likewise.
27557 (__mempcpy): Likewise. Do not use BP_SYM.
27558 (mempcpy): Do not use BP_SYM in weak_alias.
27559 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
27560 "bp-asm.h".
27561 (PARMS): Do not use macros from bp-asm.h.
27562 (DEST): Likewise.
27563 (LEN): Likewise.
27564 [!BZERO_P] (CHR): Likewise.
27565 (memset): Likewise. Do not use BP_SYM.
27566 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
27567 "bp-asm.h".
27568 (PARMS): Do not use macros from bp-asm.h.
27569 (STR2): Likewise.
27570 (strcmp): Do not use BP_SYM.
27571 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
27572 "bp-asm.h".
27573 (PARMS): Do not use macros from bp-asm.h.
27574 (STR): Likewise.
27575 (DELIM): Likewise.
27576 [USE_AS_STRTOK_R] (SAVE): Likewise.
27577 (FUNCTION): Likewise. Do not use BP_SYM.
27578 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
27579 aliases.
27580 (strtok_r): Likewise.
27581 (__GI___strtok_r): Likewise.
27582 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
27583 (PARMS): Do not use macros from bp-asm.h.
27584 (S): Likewise.
27585 (SIZE): Likewise.
27586 (__mpn_lshift): Do not use BP_SYM.
27587 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
27588 (PARMS): Do not use macros from bp-asm.h.
27589 (STR): Likewise.
27590 (CHR): Likewise.
27591 (__memchr): Do not use BP_SYM.
27592 (memchr): Do not use BP_SYM in weak_alias.
27593 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
27594 (PARMS): Do not use macros from bp-asm.h.
27595 (BLK2): Likewise.
27596 (LEN): Likewise.
27597 (memcmp): Do not use BP_SYM.
27598 (bcmp): Do not use BP_SYM in weak_alias.
27599 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
27600 (PARMS): Do not use macros from bp-asm.h.
27601 (S1): Likewise.
27602 (SIZE): Likewise.
27603 (__mpn_mul_1): Do not use BP_SYM.
27604 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
27605 "bp-asm.h".
27606 (PARMS): Do not use macros from bp-asm.h.
27607 (STR): Likewise.
27608 (CHR): Likewise.
27609 (__rawmemchr): Do not use BP_SYM.
27610 (rawmemchr): Do not use BP_SYM in weak_alias.
27611 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
27612 (PARMS): Do not use macros from bp-asm.h.
27613 (S): Likewise.
27614 (SIZE): Likewise.
27615 (__mpn_rshift): Do not use BP_SYM.
27616 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
27617 (PARMS): Do not use macros from bp-asm.h.
27618 (SIGMSK): Likewise.
27619 (__sigsetjmp): Likewise. Do not use BP_SYM.
27620 * sysdeps/i386/start.S: Do not include "bp-sym.h".
27621 (_start): Do not use BP_SYM.
27622 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
27623 (PARMS): Do not use macros from bp-asm.h.
27624 (DEST): Likewise.
27625 (SRC): Likewise.
27626 (__stpcpy): Likewise. Do not use BP_SYM.
27627 (stpcpy): Do not use BP_SYM in weak_alias.
27628 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
27629 "bp-asm.h".
27630 (PARMS): Do not use macros from bp-asm.h.
27631 (DEST): Likewise.
27632 (SRC): Likewise.
27633 (LEN): Likewise.
27634 (__stpncpy): Likewise. Do not use BP_SYM.
27635 (stpncpy): Do not use BP_SYM in weak_alias.
27636 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
27637 (PARMS): Do not use macros from bp-asm.h.
27638 (STR): Likewise.
27639 (CHR): Likewise.
27640 (strchr): Likewise. Do not use BP_SYM.
27641 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
27642 "bp-asm.h".
27643 (PARMS): Do not use macros from bp-asm.h.
27644 (STR): Likewise.
27645 (CHR): Likewise.
27646 (__strchrnul): Likewise. Do not use BP_SYM.
27647 (strchrnul): Do not use BP_SYM in weak_alias.
27648 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
27649 "bp-asm.h".
27650 (PARMS): Do not use macros from bp-asm.h.
27651 (STOP): Likewise.
27652 (strcspn): Do not use BP_SYM.
27653 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
27654 "bp-asm.h".
27655 (PARMS): Do not use macros from bp-asm.h.
27656 (STR): Likewise.
27657 (STOP): Likewise.
27658 (strpbrk): Likewise. Do not use BP_SYM.
27659 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
27660 "bp-asm.h".
27661 (PARMS): Do not use macros from bp-asm.h.
27662 (STR): Likewise.
27663 (CHR): Likewise.
27664 (strrchr): Likewise. Do not use BP_SYM.
27665 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
27666 (PARMS): Do not use macros from bp-asm.h.
27667 (SKIP): Likewise.
27668 (strspn): Do not use BP_SYM.
27669 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
27670 (PARMS): Do not use macros from bp-asm.h.
27671 (STR): Likewise.
27672 (DELIM): Likewise.
27673 (SAVE): Likewise.
27674 (FUNCTION): Likewise. Do not use BP_SYM.
27675 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
27676 aliases.
27677 (strtok_r): Likewise.
27678 (__GI___strtok_r): Likewise.
27679 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
27680 (PARMS): Do not use macros from bp-asm.h.
27681 (S1): Likewise.
27682 (S2): Likewise.
27683 (SIZE): Likewise.
27684 (__mpn_sub_n): Do not use BP_SYM.
27685 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
27686 "bp-asm.h".
27687 (PARMS): Do not use macros from bp-asm.h.
27688 (S1): Likewise.
27689 (SIZE): Likewise.
27690 (__mpn_submul_1): Do not use BP_SYM.
27691 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
27692 <bp-sym.h>.
27693 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
27694 and <bp-asm.h>.
27695 (PARMS): Do not use macros from bp-asm.h.
27696 (FLAGS): Likewise.
27697 (PTID): Likewise.
27698 (TLS): Likewise.
27699 (CTID): Likewise.
27700 (__clone): Do not use BP_SYM.
27701 (clone): Do not use BP_SYM in weak_alias.
27702 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
27703 and <bp-asm.h>.
27704 (PARMS): Do not use macros from bp-asm.h.
27705 (LEN): Likewise.
27706 (__mmap64): Do not use BP_SYM.
27707 (mmap64): Do not use BP_SYM in weak_alias.
27708 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
27709 <bp-sym.h> and <bp-asm.h>.
27710 (PARMS): Do not use macros from bp-asm.h.
27711 (__posix_fadvise64_l64): Do not use BP_SYM.
27712 * sysdeps/unix/sysv/linux/i386/semtimedop.S
27713 (PARMS): Do not use macros from bp-asm.h.
27714 (NSOPS): Likewise.
27715 (semtimedop): Do not use BP_SYM.
27716 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
27717 and <bp-asm.h>.
27718
582a3cff
AM
277192013-02-21 Allan McRae <allan@archlinux.org>
27720
27721 * manual/message.texi (Charset conversion in gettext):
27722 Move @end statement to beginning of line.
27723
bab8a695
SP
277242013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
27725
80945231
SP
27726 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
27727 static.
27728 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
27729 Likewise.
27730
bab8a695
SP
27731 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
27732 (denorm): Likewise.
27733 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
27734 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
27735
e21d7aa7
AK
277362013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27737
27738 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
27739 tail-call to the resolved function if pltexit isn't needed.
27740
4c7a4263
SP
277412013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
27742
27743 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
27744 or Y being zero as being unlikely.
27745 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
27746 Likewise.
27747
41f49342
CD
277482013-02-20 Carlos O'Donell <carlos@redhat.com>
27749
27750 * manual/nss.texi (System Databases and Name Service Switch):
27751 Remove frobnicate @pxref.
27752
50022a93
TS
277532013-02-20 Thomas Schwinge <thomas@codesourcery.com>
27754
27755 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
27756 __attribute__ ((unused)) to __attribute__ ((__unused__)).
27757
08cbd996
PM
277582013-02-20 Petr Machata <pmachata@redhat.com>
27759
27760 * elf/elf.h (R_ARM_TARGET1): New macro.
27761 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
27762 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
27763 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
27764 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
27765 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
27766 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
27767 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
27768 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
27769 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
27770 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
27771 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
27772 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
27773 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
27774 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
27775 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
27776 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
27777 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
27778 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
27779 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
27780 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
27781 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
27782 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
27783 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
27784 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
27785 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
27786 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
27787 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
27788 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
27789 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
27790 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
27791 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
27792 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
27793 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
27794 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
27795 (R_ARM_THM_GOT_BREL12): Likewise.
27796 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
27797 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
27798 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
27799 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
27800 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
27801 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
27802 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
27803 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
27804 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
27805
c7b275d6
TS
278062013-02-20 Thomas Schwinge <thomas@codesourcery.com>
27807
27808 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
27809 __attribute_used__ to __attribute__ ((unused)).
27810
20cd7fb3
SP
278112013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
27812
27813 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
27814 powerpc mpa.c.
27815 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
27816 comment formatting.
27817 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
27818
92945b52
JM
278192013-02-19 Joseph Myers <joseph@codesourcery.com>
27820
27821 [BZ #13550]
27822 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
27823 Remove macro.
27824 (ENTER): Remove both macro definitions.
27825 (LEAVE): Likewise.
27826 (CHECK_BOUNDS_LOW): Likewise.
27827 (CHECK_BOUNDS_HIGH): Likewise.
27828 (CHECK_BOUNDS_BOTH): Likewise.
27829 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
27830 (RETURN_BOUNDED_POINTER): Likewise.
27831 (RETURN_NULL_BOUNDED_POINTER): Likewise.
27832 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
27833 (POP_ERRNO_LOCATION_RETURN): Likewise.
27834 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
27835 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
27836 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
27837 macros.
27838 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
27839 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
27840 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
27841 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
27842 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
27843 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
27844 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
27845 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
27846 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
27847 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
27848 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
27849 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
27850 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
27851 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
27852 removed macros.
27853 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
27854 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
27855 macros.
27856 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
27857 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
27858 * sysdeps/i386/i586/memset.S (memset): Likewise.
27859 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
27860 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
27861 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
27862 macros.
27863 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
27864 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
27865 Change uses of L(2) to L(out).
27866 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
27867 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
27868 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
27869 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
27870 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
27871 removed macros.
27872 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
27873 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
27874 macros.
27875 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
27876 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
27877 (RETURN): Do not use macro LEAVE.
27878 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
27879 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
27880 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
27881 * sysdeps/i386/i686/memset.S (memset): Likewise.
27882 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
27883 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
27884 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
27885 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
27886 Likewise.
27887 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
27888 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
27889 L(1_2) and L(1_3) into L(1).
27890 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
27891 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
27892 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
27893 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
27894 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
27895 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
27896 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
27897 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
27898 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
27899 macros.
27900 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
27901 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
27902 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
27903 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
27904 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
27905 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
27906 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
27907 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
27908 * sysdeps/i386/strcspn.S (strcspn): Likewise.
27909 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
27910 * sysdeps/i386/strrchr.S (strrchr): Likewise.
27911 * sysdeps/i386/strspn.S (strspn): Likewise.
27912 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
27913 conditional code.
27914 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
27915 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
27916 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
27917 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
27918 L(1_3) into L(1_1).
27919 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
27920 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
27921 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
27922 macros.
27923 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
27924
2389741a
JJ
279252013-02-19 Jakub Jelinek <jakub@redhat.com>
27926
27927 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
27928 macro.
27929
2016b3cd
SP
279302013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
27931
e4f22324
SP
27932 * math/atest-exp.c (exp_mpn): Remove ROUND.
27933 * math/atest-exp2.c (exp_mpn): Likewise.
27934 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
27935
2016b3cd
SP
27936 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
27937 * stdlib/tst-tls-atexit-lib.c: Likewise.
27938 * stdlib/tst-tls-atexit.c: Likewise.
27939
4be9b544
MF
279402013-02-18 Mike Frysinger <vapier@gentoo.org>
27941
27942 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
27943 and __attribute_alloc_size__.
27944
2f62b9ee
MF
279452013-02-18 Mike Frysinger <vapier@gentoo.org>
27946
27947 * include/programs/xmalloc.h: Change __attribute_alloc_size to
27948 __attribute_alloc_size__.
27949 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
27950 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
27951
6ff444c4
MF
279522013-02-18 Mike Frysinger <vapier@gentoo.org>
27953
27954 * include/programs/xmalloc.h: New file.
27955 * catgets/gencat.c: Include it.
27956 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
27957 * elf/pldd.c: Likewise.
27958 * iconv/iconv_charmap.c: Likewise.
27959 * iconv/iconvconfig.c: Likewise.
27960 * iconv/strtab.c: Likewise.
27961 * locale/programs/locale.c: Likewise.
27962 * locale/programs/localedef.h: Likewise.
27963 * locale/programs/simple-hash.c: Likewise.
27964 * nscd/nscd.h: Likewise.
27965 * nss/makedb.c: Likewise.
27966 * sysdeps/generic/ldconfig.h: Likewise.
27967
be179c8a
SP
279682013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
27969
ba384f6e
SP
27970 * Versions.def: Add GLIBC_2.18.
27971 * include/link.h (struct link_map): New member l_tls_dtor_count.
27972 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
27973 (__call_tls_dtors): Likewise.
27974 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
27975 __cxa_thread_atexit_impl.
27976 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
27977 Likewise.
27978 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
27979 Likewise.
27980 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
27981 Likewise.
27982 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
27983 Likewise.
27984 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
27985 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
27986 Likewise.
27987 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
27988 Likewise.
27989 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
27990 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
27991 Likewise.
27992 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
27993 (tests): Add test case tst-tls-atexit.
27994 (modules-names): Add shared library for tst-tls-atexit.
85891aca 27995 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
27996 (GLIBC_PRIVATE): Add __call_tls_dtors.
27997 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
27998 for libstdc++.
27999 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
28000 * stdlib/tst-tls-atexit.c: New test case.
28001 * stdlib/tst-tls-atexit-lib.c: New test case.
28002
ffaa74cf 28003 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 28004
be179c8a
SP
28005 * elf/Versions (ld): Add _dl_find_dso_for_object.
28006 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
28007 * elf/dl-open.c (_dl_find_dso_for_object): New function.
28008 (dl_open_worker): Use _dl_find_dso_for_object.
28009 * elf/dl-sym.c (do_sym): Likewise.
28010 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
28011
f78b5caa
AK
280122013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28013
28014 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
28015 Syntactic changes only.
28016 (_dl_runtime_profile): Do a tail-call to the resolved function.
28017
29691210
JM
280182013-02-17 Joseph Myers <joseph@codesourcery.com>
28019
28020 [BZ #13550]
28021 * sysdeps/x86_64/bp-asm.h: Remove file.
28022 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
28023 <bp-sym.h> and <bp-asm.h>.
28024 (__clone): Do not use BP_SYM.
28025 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
28026 <bp-sym.h> and <bp-asm.h>.
28027 * sysdeps/unix/x86_64/sysdep.S: Likewise.
28028 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
28029 "bp-asm.h".
28030 (_setjmp): Do not use BP_SYM.
28031 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
28032 "bp-asm.h".
28033 (setjmp): Do not use BP_SYM.
28034 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
28035 libc_hidden_def.
28036 (mempcpy): Do not use BP_SYM in weak_alias.
28037 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
28038 "bp-asm.h".
28039 (strchr): Do not use BP_SYM.
28040 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
28041 "bp-asm.h".
28042 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
28043 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
28044 (_start): Do not use BP_SYM.
28045 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
28046 "bp-asm.h".
28047 (strcat): Do not use BP_SYM.
28048 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
28049 "bp-asm.h".
28050 (STRCMP): Do not use BP_SYM.
28051 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
28052 "bp-asm.h".
28053 (STRCPY): Do not use BP_SYM.
28054 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
28055 "bp-asm.h".
28056 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
28057 "bp-asm.h".
28058 (FUNCTION): Do not use BP_SYM.
28059 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
28060 weak_alias.
28061 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
28062
f238fd19
AJ
280632013-02-17 Andreas Jaeger <aj@suse.de>
28064
28065 * time/Versions: Sort entries.
28066 * string/Versions: Likewise.
28067 * resolv/Versions: Likewise.
28068 * posix/Versions: Likewise.
28069 * iconv/Versions: Likewise.
28070 * elf/Versions: Likewise.
28071 * wcsmbs/Versions: Likewise.
28072
bd07f23c 280732013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 28074
22af19f9
SP
28075 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
28076 loop termination condition.
28077
4709fe76
SP
28078 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
28079 variable to calculate EZ.
28080 (__sqr): Likewise.
2d0e0f29
SP
28081
28082 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
28083 the lower precision input.
28084
daaa7713
JM
280852013-02-15 Joseph Myers <joseph@codesourcery.com>
28086
28087 [BZ #13550]
28088 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
28089 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
28090 (run-via-rtld-prefix): Do not handle %-bp tests.
28091 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
28092 (all-object-suffixes): Remove .ob.
28093 (bppfx): Remove variable.
28094 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
28095 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
28096 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
28097 [$(build-bounded) = yes] (libtype.ob): Likewise.
28098 * Makerules (elide-routines.ob): Remove variable.
28099 (do-tests-clean): Do not handle *-bp.out.
28100 (common-mostlyclean): Do not handle *-bp and *-bp.out.
28101 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
28102 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
28103 (tests): Do not include $(tests-bp.out).
28104 (xtests): Do not include $(xtests-bp.out).
28105 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
28106 [$(build-bounded) = yes] ($(addprefix
28107 $(objpfx),$(binaries-bounded))): Remove rule.
28108 ($(objpfx)%-bp.out): Remove rule.
28109 * config.make.in (build-bounded): Remove variable.
28110 * crypt/Makefile [$(build-bounded) = yes]
28111 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
28112 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
28113 append to variable.
28114 [$(build-bounded) = yes] (install-lib): Likewise.
28115 [$(build-bounded) = yes] (generated): Likewise.
28116 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
28117 Remove rule.
28118 * intl/Makefile [$(build-bounded) = yes]
28119 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
28120 * math/Makefile [$(build-bounded) = yes]
28121 ($(tests:%=$(objpfx)%-bp): Likewise.
28122 * misc/Makefile [$(build-bounded) = yes]
28123 ($(objpfx)tst-tsearch-bp): Likewise.
28124 * nptl/Makeconfig (bounded-thread-library): Remove variable.
28125 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
28126 Remove dependency.
28127 * string/Makefile (o-objects.ob): Remove variable.
28128 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
28129 (CFLAGS-.ob): Remove variable.
28130 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
28131 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
28132 both definitions of variable.
28133 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
28134 (ASFLAGS-.ob): Remove variable.
28135
e97ed6dd
JM
281362013-02-14 Joseph Myers <joseph@codesourcery.com>
28137
2bdd4ca6
JM
28138 [BZ #13550]
28139 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
28140 Remove __BOUNDED_POINTERS__ from condition.
28141 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
28142 * string/bits/string2.h [!__NO_STRING_INLINES &&
28143 !__BOUNDED_POINTERS__]: Likewise.
28144 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
28145 Likewise.
28146 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
28147 Remove conditional code.
28148 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
28149 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
28150 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
28151 condition.
28152
e97ed6dd
JM
28153 [BZ #13550]
28154 * csu/libc-start.c: Do not include <bp-sym.h>.
28155 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
28156 * elf/dl-open.c: Do not include <bp-sym.h>.
28157 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
28158 * math/fegetenv.c: Do not include <bp-sym.h>.
28159 (fegetenv): Do not use BP_SYM in versioned symbols.
28160 * nptl/sysdeps/pthread/bits/libc-lockP.h
28161 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
28162 <bp-sym.h>.
28163 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28164 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
28165 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28166 (__pthread_mutex_destroy): Likewise.
28167 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28168 (__pthread_mutex_lock): Likewise.
28169 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28170 (__pthread_mutex_trylock): Likewise.
28171 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28172 (__pthread_mutex_unlock): Likewise.
28173 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28174 (__pthread_mutexattr_init): Likewise.
28175 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28176 (__pthread_mutexattr_destroy): Likewise.
28177 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28178 (__pthread_mutexattr_settype): Likewise.
28179 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28180 (__pthread_rwlock_init): Likewise.
28181 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28182 (__pthread_rwlock_destroy): Likewise.
28183 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28184 (__pthread_rwlock_rdlock): Likewise.
28185 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28186 (__pthread_rwlock_tryrdlock): Likewise.
28187 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28188 (__pthread_rwlock_wrlock): Likewise.
28189 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28190 (__pthread_rwlock_trywrlock): Likewise.
28191 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28192 (__pthread_rwlock_unlock): Likewise.
28193 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28194 (__pthread_key_create): Likewise.
28195 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28196 (__pthread_setspecific): Likewise.
28197 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28198 (__pthread_getspecific): Likewise.
28199 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
28200 Likewise.
28201 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28202 (_pthread_cleanup_push_defer): Likewise.
28203 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28204 (_pthread_cleanup_pop_restore): Likewise.
28205 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28206 (pthread_setcancelstate): Likewise.
28207 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
28208 <bp-sym.h>.
28209 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
28210 (memchr): Do not use BP_SYM in weak_alias.
28211 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
28212 (fegetenv): Do not use BP_SYM in versioned symbols.
28213 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
28214 (fesetenv): Do not use BP_SYM in versioned symbols.
28215 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
28216 (feupdateenv): Do not use BP_SYM in versioned symbols.
28217 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
28218 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
28219 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
28220 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
28221 (open64): Do not use BP_SYM in weak_alias.
28222 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
28223 (fegetenv): Do not use BP_SYM in versioned symbols.
28224 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
28225 (fesetenv): Do not use BP_SYM in versioned symbols.
28226 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
28227 (feupdateenv): Do not use BP_SYM in versioned symbols.
28228 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
28229 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
28230 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
28231 (feraiseexcept): Do not use BP_SYM in versioned symbols.
28232 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
28233 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
28234 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
28235 <bp-sym.h>.
28236 (__libc_start_main): Do not use BP_SYM.
28237
d6752ccd
SP
282382013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
28239
cb57ce60
SP
28240 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
28241 redundant return line.
28242 (norm): Likewise.
28243 (denorm): Likewise.
28244 (dbl_mp): Likewise.
28245 (sub_magnitudes): Likewise.
28246 (__add): Likewise.
28247 (__sub): Likewise.
28248 (__mul): Likewise.
28249 (__inv): Likewise.
28250 (__dvd): Likewise.
28251 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
28252 (norm): Likewise.
28253 (denorm): Likewise.
28254 (dbl_mp): Likewise.
28255 (sub_magnitudes): Likewise.
28256 (__add): Likewise.
28257 (__sub): Likewise.
28258 (__mul): Likewise.
28259 (__inv): Likewise.
28260 (__dvd): Likewise.
28261
f414520d
SP
28262 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
28263 instead of __mul.
28264 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
28265 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
28266 (cc32): Likewise.
28267
d6752ccd
SP
28268 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
28269 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
28270 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
28271 of __mul for squares.
28272 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
28273 function
28274 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
28275 Likewise.
28276 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
28277 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
28278
70d9946a
JM
282792013-02-13 Joseph Myers <joseph@codesourcery.com>
28280
28281 [BZ #13550]
28282 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
28283 code.
28284 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
28285 prototype or function definition. Rename ubp_* variables and
28286 parameters. Remove argv definitions conditional on
28287 [__BOUNDED_POINTERS__].
28288 * debug/backtrace.c (__backtrace): Do not use __unbounded.
28289 * elf/dl-runtime.c (_dl_fixup): Likewise.
28290 * include/set-hooks.h (RUN_HOOK): Likewise.
28291 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
28292 definition.
28293 * string/strcpy.c (strcpy): Do not use __unbounded.
28294 * sysdeps/generic/frame.h (struct layout): Likewise.
28295 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
28296 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
28297 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
28298 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
28299 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
28300 (__backtrace): Likewise.
28301 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
28302 use __ptrvalue.
28303 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
28304 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
28305 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
28306 Likewise.
28307 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
28308 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
28309 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
28310 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
28311 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
28312 Do not use __unbounded.
28313 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
28314 Rename __unboundedrlimits parameter to rlimits in prototype.
28315 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
28316 Do not use __unbounded.
28317 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
28318 not use __ptrvalue.
28319 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
28320 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
28321 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
28322 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
28323 __ptrvalue or __unbounded.
28324 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
28325 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
28326 use __unbounded.
28327 (__new_msgctl): Do not use __ptrvalue.
28328 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
28329 __unbounded.
28330 (__libc_msgrcv): Do not use __ptrvalue.
28331 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
28332 startup_info): Do not use __unbounded.
28333 (__libc_start_main): Likewise. Rename ubp_* variables and
28334 parameters. Remove argv definitions conditional on
28335 [__BOUNDED_POINTERS__].
28336 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
28337 __ptrvalue.
28338 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
28339 use __unbounded.
28340 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
28341 or __ptrvalue.
28342 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
28343 use __unbounded.
28344 (__new_shmctl): Do not use __ptrvalue.
28345 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
28346 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
28347 Likewise.
28348 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
28349 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
28350 (__libc_sigaction): Likewise.
28351 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
28352 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
28353 Likewise.
28354 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
28355
cc7834d6
OB
283562013-02-13 Ondřej Bílka <neleai@seznam.cz>
28357
ffb1ec7b 28358 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
28359
28360 * string/mempcpy.c: Implement by calling memcpy.
28361
bdf02814
SP
283622013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
28363
c2af38aa
SP
28364 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
28365
4e92d59e
SP
28366 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
28367 evaluation.
28368
909279a5
SP
28369 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
28370 values in the mantissa.
28371
bdf02814
SP
28372 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
28373 minimize writes to Z.
28374 (sub_magnitudes): Simplify code a bit.
28375
cd525923
RM
283762013-02-12 Roland McGrath <roland@hack.frob.com>
28377
28378 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
28379 from the message. The linker prefixes all warnings with that already.
28380
7e2f0d2d
AS
283812013-02-12 Andreas Schwab <schwab@suse.de>
28382
a445af0b
AS
28383 [BZ #15078]
28384 * posix/regexec.c (extend_buffers): Add parameter min_len.
28385 (check_matching): Pass minimum needed length.
28386 (clean_state_log_if_needed): Likewise.
28387 (get_subexp): Likewise.
28388 * posix/Makefile (tests): Add bug-regex34.
28389 (bug-regex34-ENV): Define.
28390 * posix/bug-regex34.c: New file.
28391
7e2f0d2d
AS
28392 [BZ #11561]
28393 * posix/regcomp.c (parse_bracket_exp): When looking up collating
28394 elements compare against the byte sequence of it, not its name.
28395 * posix/Makefile (tests): Add bug-regex35.
28396 (bug-regex35-ENV): Define.
28397 * posix/bug-regex35.c: New file.
28398
a175b684
TV
283992013-02-11 Tom de Vries <tom@codesourcery.com>
28400
28401 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
28402 comment.
28403 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
28404 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
28405 (CHECK_EOL): Add undef.
28406
310998fe 284072013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
28408
28409 * bits/stdlib-bsearch.h: New file.
28410 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 28411 * stdlib/stdlib.h: Likewise.
41eda41d 28412
8ded91fb
RM
284132013-02-11 Roland McGrath <roland@hack.frob.com>
28414
28415 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
28416 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
28417 declaration.
28418 * manual/search.texi (Array Search Function): Add missing const in
28419 lfind prototype.
28420 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
28421 declaration to use rlim_t.
28422 (Basic Scheduling Functions): Remove erroneous const from
28423 sched_getparam prototype. Remove erroneous * from
28424 sched_get_priority_max and sched_get_priority_min prototypes.
28425 (Resource Usage): Fix summary @comment on vtimes to refer to
28426 sys/vtimes.h rather than vtimes.h.
28427 Add missing *s in vtimes prototype.
28428 (Limits on Resources): Fix ulimit prototype to return long int.
28429 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
28430 prototypes to use long int rather than double.
28431 (BSD Random): Fix initstate and setstate to use char *, not void *.
28432 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
28433 prototype to make second argument 'struct aiocb64 *const[]'.
28434 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
28435 (Status of AIO Operations): Remove erroneous const in aio_return and
28436 aio_return64 prototypes.
28437 (Synchronizing I/O): Fix sync prototype to return void.
28438 * manual/startup.texi (Suboptions): Remove an erroneous const in
28439 getsubopt prototype.
28440 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
28441 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
28442 use size_t rather than int.
28443 (Scanning All Users): Likewise for getpwent_r.
28444 (Setting Groups): Add missing const to setgroups prototype.
28445 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
28446 * manual/socket.texi (Host Names): Fix gethostbyaddr and
28447 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
28448 'const void *' rather than 'const char *'.
28449 (Host Address Functions): Likewise for inet_ntop.
28450 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
28451 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
28452 ssize_t for return value.
28453 (Sending Data): Likewise for send, sendto, sendmsg.
28454 (Socket Option Functions): Add a missing const in setsockopt prototype.
28455 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
28456 use wchar_t for the argument.
28457 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
28458 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
28459 take no arguments.
28460 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
28461 double/float/long double for second argument.
28462 Fix return types of significand, significandf, significandl.
28463 * manual/filesys.texi (Setting Permissions): Use mode_t for second
28464 argument in fchmod prototype.
28465 (File Owner): Use uid_t and gid_t in fchown prototype.
28466 (File Times): Add const to utimes, futimes, and lutimes prototypes.
28467 (Making Special Files): Use mode_t and dev_t in mknod prototype.
28468 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
28469 use 'const struct dirent **' as argument types to CMP function pointer
28470 argument.
28471 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
28472 (File Times): Fix summary magic @comment for struct utimbuf and utime
28473 to refer to utime.h, not time.h.
28474 * manual/string.texi (Argz Functions): Add missing const in
28475 argz_extract and argz_next prototypes.
28476 (Finding Tokens in a String): Likewise for basename.
28477 (String/Array Comparison): Fix typo in wcscasecmp prototype.
28478 (Copying and Concatenation): Fix typo in wmemmove prototype.
28479 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
28480 (Signal Stack): Remove erroneous const in sigstack prototype.
28481 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
28482 prototype.
28483 (Simple Calendar Time): Likewise for stime.
28484 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
28485 prototype.
28486 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
28487 say sys/sysctl.h instead.
28488 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
28489 and vsyslog prototypes.
28490
fe77fe6d
TV
284912013-02-11 Tom de Vries <tom@codesourcery.com>
28492
28493 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
28494 Remove.
28495
3a09b620
RM
284962013-02-11 Roland McGrath <roland@hack.frob.com>
28497
28498 * misc/sys/mman.h: Fix typo in mremap comment.
28499
550a0b89
RM
285002013-02-08 Roland McGrath <roland@hack.frob.com>
28501
28502 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
28503 the '\0' terminator.
28504
a2da1673
JM
285052013-02-08 Joseph Myers <joseph@codesourcery.com>
28506
28507 [BZ #13550]
28508 * debug/segfault.c: Don't include <bp-checks.h>.
28509 * sysdeps/generic/bp-checks.h: Remove file.
28510 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
28511 (__GETDENTS): Don't use CHECK_N.
28512 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
28513 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
28514 (__getgroups): Don't use CHECK_N.
28515 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
28516 (setgroups): Don't use CHECK_N.
28517 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
28518 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
28519 (__libc_msgrcv): Don't use CHECK_N.
28520 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
28521 (__libc_msgsnd): Don't use CHECK_N.
28522 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
28523 <bp-checks.h>.
28524 (__libc_pread): Don't use CHECK_N.
28525 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
28526 include <bp-checks.h>.
28527 (__libc_pread64): Don't use CHECK_N.
28528 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
28529 include <bp-checks.h>.
28530 (__libc_pwrite): Don't use CHECK_N.
28531 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
28532 include <bp-checks.h>.
28533 (__libc_pwrite64): Don't use CHECK_N.
28534 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
28535 <bp-checks.h>.
28536 (__libc_pread): Don't use CHECK_N.
28537 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
28538 include <bp-checks.h>.
28539 (__libc_pread64): Don't use CHECK_N.
28540 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
28541 include <bp-checks.h>.
28542 (__libc_pwrite): Don't use CHECK_N.
28543 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
28544 include <bp-checks.h>.
28545 (__libc_pwrite64): Don't use CHECK_N.
28546 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
28547 (do_pread): Don't use CHECK_N.
28548 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
28549 (do_pread64): Don't use CHECK_N.
28550 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
28551 (do_pwrite): Don't use CHECK_N.
28552 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
28553 (do_pwrite64): Don't use CHECK_N.
28554 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
28555 (__libc_readv): Don't use CHECK_N.
28556 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
28557 (semop): Don't use CHECK_N.
28558 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
28559 <bp-checks.h>.
28560 (semtimedop): Don't use CHECK_N.
28561 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
28562 (__libc_pread): Don't use CHECK_N.
28563 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
28564 <bp-checks.h>.
28565 (__libc_pread64): Don't use CHECK_N.
28566 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
28567 <bp-checks.h>.
28568 (__libc_pwrite): Don't use CHECK_N.
28569 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
28570 <bp-checks.h>.
28571 (__libc_pwrite64): Don't use CHECK_N.
28572 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
28573 <bp-checks.h>.
28574 (__libc_msgrcv): Don't use CHECK_N.
28575 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
28576 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
28577 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
28578 (__libc_writev): Don't use CHECK_N.
28579
b84660a8
RM
285802013-02-08 Roland McGrath <roland@hack.frob.com>
28581
7f3e75f8
RM
28582 * string/strcpy.c: Removed unused variable.
28583
b84660a8
RM
28584 * Makeconfig (+sysdep-includes): Define with := rather than =.
28585 Use an existing include/ subdir of each sysdeps dir before it.
28586
471514d3
CD
285872013-02-08 Carlos O'Donell <carlos@redhat.com>
28588
28589 * nscd/connection.c (register_traced_file): Comment function.
28590 [HAVE_INOTIFY] (union __inev): Define.
28591 [HAVE_INOTIFY] (inotify_check_files): New function.
28592 [HAVE_INOTIFY] (clear_db_cache): Likewise.
28593 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
28594 clear_db_cache.
28595 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
28596
b2d3c3be
CD
285972013-02-08 Carlos O'Donell <carlos@redhat.com>
28598
28599 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
28600 loaded if not already and that a failure is permanent.
28601
b39949d2
CD
286022013-02-08 Carlos O'Donell <carlos@redhat.com>
28603
ddacd1db 28604 [BZ #15006]
b39949d2
CD
28605 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
28606 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
28607
b2c9eff4
JM
286082013-02-08 Joseph Myers <joseph@codesourcery.com>
28609
f3aae3f3
JM
28610 [BZ #13550]
28611 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
28612 (CHECK_1_NULL_OK): Likewise.
28613 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
28614 (__fxstat): Do not use CHECK_1.
28615 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
28616 <bp-checks.h>.
28617 (___fxstat64): Do not use CHECK_1.
28618 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
28619 <bp-checks.h>.
28620 (__fxstatat): Do not use CHECK_1.
28621 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
28622 <bp-checks.h>.
28623 (__fxstatat64): Do not use CHECK_1.
28624 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
28625 <bp-checks.h>.
28626 (__fxstat): Do not use CHECK_1.
28627 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
28628 <bp-checks.h>.
28629 (__fxstatat): Do not use CHECK_1.
28630 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
28631 <bp-checks.h>.
28632 (__getresgid): Do not use CHECK_1.
28633 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
28634 <bp-checks.h>.
28635 (__getresuid): Do not use CHECK_1.
28636 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
28637 <bp-checks.h>.
28638 (__lxstat): Do not use CHECK_1.
28639 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
28640 <bp-checks.h>.
28641 (__old_msgctl): Do not use CHECK_1.
28642 (__new_msgctl): Likewise.
28643 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
28644 <bp-checks.h>.
28645 (__new_setrlimit): Do not use CHECK_1.
28646 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
28647 <bp-checks.h>.
28648 (__old_shmctl): Do not use CHECK_1.
28649 (__new_shmctl): Likewise.
28650 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
28651 <bp-checks.h>.
28652 (__xstat): Do not use CHECK_1.
28653 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
28654 (__lxstat): Do not use CHECK_1.
28655 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
28656 <bp-checks.h>.
28657 (___lxstat64): Do not use CHECK_1.
28658 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
28659 (__old_msgctl): Do not use CHECK_1.
28660 (__new_msgctl): Likewise.
28661 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
28662 <bp-checks.h>.
28663 (__gettimeofday): Do not use CHECK_1.
28664 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
28665 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
28666 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
28667 <bp-checks.h>.
28668 (__gettimeofday): Do not use CHECK_1.
28669 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
28670 (__old_shmctl): Do not use CHECK_1_NULL_OK.
28671 (__new_shmctl): Do not use CHECK_1.
28672 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
28673 <bp-checks.h>.
28674 (do_sigtimedwait): Do not use CHECK_1.
28675 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
28676 <bp-checks.h>.
28677 (do_sigwaitinfo): Do not use CHECK_1.
28678 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
28679 <bp-checks.h>.
28680 (msgctl): Do not use CHECK_1.
28681 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
28682 <bp-checks.h>.
28683 (shmctl): Do not use CHECK_1.
28684 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
28685 (ustat): Do not use CHECK_1.
28686 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
28687 <bp-checks.h>.
28688 (__fxstat): Do not use CHECK_1.
28689 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
28690 <bp-checks.h>.
28691 (__fxstatat): Do not use CHECK_1.
28692 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
28693 <bp-checks.h>.
28694 (__lxstat): Do not use CHECK_1.
28695 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
28696 <bp-checks.h>.
28697 (__xstat): Do not use CHECK_1.
28698 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
28699 (__xstat): Do not use CHECK_1.
28700 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
28701 (___xstat64): Do not use CHECK_1.
28702
b2c9eff4
JM
28703 [BZ #13550]
28704 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
28705 definitions.
28706 (CHECK_BOUNDS_HIGH): Likewise.
28707 * string/strcpy.c: Do not include <bp-checks.h>.
28708 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
28709
f1d70dad
RM
287102013-02-07 Roland McGrath <roland@hack.frob.com>
28711
28712 * nscd/nscd-client.h (__nscd_drop_map_ref):
28713 Add __attribute__ ((unused)).
28714 * nis/nss-nisplus.h (niserr2nss): Likewise.
28715
28716 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
28717 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
28718
28719 * csu/libc-tls.c (init_static_tls, init_slotinfo):
28720 Remove inline keyword.
28721 * include/rounding-mode.h (round_away): Likewise.
28722 * libio/wfileops.c (adjust_wide_data): Likewise.
28723 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
28724 (__m128i_strloadu_tolower): Likewise.
28725 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
28726 (__m128i_strloadu_tolower): Likewise.
28727 * time/mktime.c (ydhms_diff): Likewise.
28728 * locale/elem-hash.h (elem_hash): Likewise.
28729 * locale/setlocale.c (setdata): Likewise.
28730 * posix/regex_internal.h (re_string_char_size_at): Likewise.
28731 (re_string_wchar_at): Likewise.
28732 (bitset_not, bitset_merge, bitset_mask): Likewise.
28733 [!(__GNUC__ > 3)] (inline): Remove macro.
28734 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
28735 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
28736 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
28737 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
28738 * string/memcmp.c (memcmp_bytes): Likewise.
28739 * locale/programs/locarchive.c (compute_hashval): Likewise.
28740 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
28741 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
28742 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
28743 * nss/getent.c (print_rpc, print_protocols): Likewise.
28744 (print_passwd, print_group, print_aliases): Likewise.
28745 * nis/nss-nisplus.h (niserr2nss): Likewise.
28746 * nscd/connections.c (restart_p): Likewise.
28747 Change return type to bool.
28748
eab55bfb
RM
287492013-02-05 Roland McGrath <roland@hack.frob.com>
28750
7bd642f5
RM
28751 * Makeconfig (all-Depend-files): Add existing
28752 $(sorted-subdirs:=/Depend) files.
28753 (all-subdirs): Remove nss.
28754 * sysdeps/unix/inet/Subdirs: Add it here instead.
28755 * hesiod/Depend: New file.
28756
573c29b2
RM
28757 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
28758 instead of calling alloca.
28759
b2e25af0
RM
28760 * io/lseek.c (__lseek): Rename to __libc_lseek.
28761 Define __lseek as an alias.
28762
eab55bfb
RM
28763 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
28764
9a0d1941
CD
287652013-02-04 Carlos O'Donell <carlos@redhat.com>
28766
28767 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
28768 else clause and remove check for non-standard endianness.
28769
b83bbec4
DM
287702013-02-04 David S. Miller <davem@davemloft.net>
28771
28772 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28773
6277fdab
JM
287742013-02-04 Joseph Myers <joseph@codesourcery.com>
28775
28776 [BZ #13550]
28777 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
28778 (__ubp_memchr): Remove prototype.
28779 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
28780 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
28781 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
28782 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
28783 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
28784 Remove alias.
28785 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
28786 (__ubp_memchr): Likewise.
28787 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
28788 (__ubp_memchr): Likewise.
28789 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
28790 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
28791 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
28792 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
28793 CHECK_STRING.
28794 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
28795 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
28796 (__getcwd): Do not use CHECK_STRING.
28797 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
28798 <bp-checks.h>.
28799 (__real_chown): Do not use CHECK_STRING.
28800 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
28801 <bp-checks.h>.
28802 (fchownat): Do not use CHECK_STRING.
28803 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
28804 CHECK_STRING.
28805 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
28806 <bp-checks.h>.
28807 (__lchown): Do not use CHECK_STRING.
28808 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
28809 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
28810 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
28811 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
28812 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
28813 include <bp-checks.h>.
28814 (truncate64): Do not use CHECK_STRING.
28815 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
28816 <bp-checks.h>.
28817 (__real_chown): Do not use CHECK_STRING.
28818 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
28819 <bp-checks.h>.
28820 (__lchown): Do not use CHECK_STRING.
28821 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
28822 <bp-checks.h>.
28823 (__chown): Do not use CHECK_STRING.
28824 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
28825 <bp-checks.h>.
28826 (truncate64): Do not use CHECK_STRING.
28827 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
28828 Likewise.
28829 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
28830 (__xmknod): Do not use CHECK_STRING.
28831 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
28832 <bp-checks.h>.
28833 (__xmknodat): Do not use CHECK_STRING.
28834 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
28835 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
28836
903ae060
AS
288372013-02-04 Andreas Schwab <schwab@suse.de>
28838
28839 [BZ #14142]
28840 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
28841 * include/netdb.h: Likewise for h_errno.
28842 * elf/tst-stackguard1.c: Include <tls.h>.
28843
542f9466
JK
288442013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
28845
28846 * elf/link.h (struct link_map): Extend the l_addr comment.
28847 * include/link.h (struct link_map): Likewise.
28848
e782a927
JM
288492013-02-01 Joseph Myers <joseph@codesourcery.com>
28850
28851 [BZ #13550]
28852 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
28853 (BOUNDED_1): Remove macro.
28854 * debug/backtrace.c: Don't include <bp-checks.h>.
28855 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
28856 (__backtrace): Likewise.
28857 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
28858 <bp-checks.h>.
28859 (__backtrace): Don't use BOUNDED_1.
28860 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
28861 <bp-checks.h>.
28862 (__backtrace): Don't use BOUNDED_1.
28863 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
28864 (__backtrace): Don't use BOUNDED_1.
28865 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
28866 (shmat): Don't use BOUNDED_N.
28867
8cf28c5e
JM
288682013-01-31 Joseph Myers <joseph@codesourcery.com>
28869
3a7ac8a0
JM
28870 [BZ #13550]
28871 * sysdeps/generic/bp-start.h: Remove file.
28872 * csu/libc-start.c: Don't include <bp-start.h>.
28873 (LIBC_START_MAIN): Set up __environ directly instead of using
28874 INIT_ARGV_and_ENVIRON.
28875 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
28876 <bp-start.h>.
28877
f3499f95
JM
28878 [BZ #13550]
28879 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
28880 definitions.
28881 (CHECK_FCNTL): Likewise.
28882 (CHECK_N_PAGES): Likewise.
28883
32a45bea
JM
28884 [BZ #13550]
28885 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
28886 definitions.
28887 (CHECK_SIGSET_NULL_OK): Likewise.
28888 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
28889 <bp-checks.h>.
28890 (sigpending): Don't use CHECK_SIGSET.
28891 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
28892 <bp-checks.h>.
28893 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
28894 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
28895 <bp-checks.h>.
28896 (do_sigsuspend): Don't use CHECK_SIGSET.
28897 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
28898 use CHECK_SIGSET.
28899 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
28900 (do_sigwait): Don't use CHECK_SIGSET.
28901 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
28902 use CHECK_SIGSET.
28903 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
28904 include <bp-checks.h>.
28905 (sigpending): Don't use CHECK_SIGSET.
28906 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
28907 include <bp-checks.h>.
28908 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
28909 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
28910 <bp-checks.h>.
28911 (sigpending): Don't use CHECK_SIGSET.
28912 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
28913 <bp-checks.h>.
28914 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
28915
2e8a5c8c
JM
28916 [BZ #13550]
28917 * sysdeps/generic/bp-semctl.h: Remove file.
28918 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
28919 <bp-checks.h> and <bp-semctl.h>.
28920 (__old_semctl): Don't use CHECK_SEMCTL.
28921 (__new_semctl): Likewise.
28922 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
28923 and <bp-semctl.h>.
28924 (__old_semctl): Don't use CHECK_SEMCTL.
28925 (__new_semctl): Likewise.
28926 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
28927 <bp-checks.h> and <bp-semctl.h>.
28928 (__old_semctl): Don't use CHECK_SEMCTL.
28929 (__new_semctl): Likewise.
28930 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
28931 <bp-checks.h> and <bp-semctl.h>.
28932 (semctl): Don't use CHECK_SEMCTL.
28933
c2d54929
JM
28934 [BZ #13550]
28935 * Makerules (elide-bp-thunks): Remove variable.
28936 (elide-routines.oS): Don't use $(elide-bp-thunks).
28937 (elide-routines.os): Likewise.
28938 (elide-routines.o): Likewise.
28939 (elide-routines.op): Likewise.
28940 (elide-routines.og): Likewise.
28941 (objects): Don't use $(bp-thunks).
28942 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
28943 include.
28944 (common-generated): Do not add s-proto-bp.d.
28945 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
28946 (int): Likewise.
28947 (typ): Likewise.
28948 Do not generate makefile rules for bounded-pointer thunks.
28949 * sysdeps/generic/bp-thunks.h: Remove file.
28950 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
28951 * sysdeps/unix/s-proto-bp.S: Likewise.
28952
8cf28c5e
JM
28953 [BZ #15062]
28954 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
28955 parts of result separately when argument is not close to line from
28956 -i to i and one part of argument is small.
28957 * math/k_casinhf.c (__kernel_casinhf): Likewise.
28958 * math/k_casinhl.c (__kernel_casinhl): Likewise.
28959 * math/libm-test.inc (cacos_test): Add more tests.
28960 (casin_test): Likewise.
28961 (casinh_test): Likewise.
28962 * sysdeps/i386/fpu/libm-test-ulps: Update.
28963 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28964
c4e33b8d
DM
289652013-01-31 David S. Miller <davem@davemloft.net>
28966
28967 * po/de.po: Update from translation team.
28968
3b60b421
MK
289692013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
28970
28971 * time/tzfile.c: Include stdint.h for SIZE_MAX.
28972
bb931195
TS
289732013-01-25 Thomas Schwinge <thomas@codesourcery.com>
28974
b5a5da23
TS
28975 * configure.in (_AC_PROG_CC_C89): New definition.
28976 * configure: Regenerate.
28977
bb931195
TS
28978 * configure.in (AC_PROG_CPP): New definition.
28979 * configure: Regenerate.
28980
8c53a12c
JM
289812013-01-23 Joseph Myers <joseph@codesourcery.com>
28982
28983 * debug/tst-backtrace.h: New file.
28984 * debug/tst-backtrace2.c: Include tst-backtrace.h.
28985 (ret): Remove variable.
28986 (x): Likewise.
28987 (FAIL): Remove macro.
28988 (NO_INLINE): Likewise.
28989 (fn1): Use match function instead of strstr.
28990 * debug/tst-backtrace3.c: Include tst-backtrace.h.
28991 (ret): Remove variable.
28992 (x): Likewise.
28993 (FAIL): Remove macro.
28994 (NO_INLINE): Likewise.
28995 (fn): Use match function instead of strstr.
28996 * debug/tst-backtrace4.c: Include tst-backtrace.h.
28997 (ret): Remove variable.
28998 (x): Likewise.
28999 (FAIL): Remove macro.
29000 (NO_INLINE): Likewise.
29001 (handle_signal): Use match function instead of strstr.
29002 * debug/tst-backtrace5.c: Include tst-backtrace.h.
29003 (ret): Remove variable.
29004 (x): Likewise.
29005 (FAIL): Remove macro.
29006 (NO_INLINE): Likewise.
29007 (handle_signal): Use match function instead of strstr.
29008
4858fa2a
RM
290092013-01-23 Roland McGrath <roland@hack.frob.com>
29010
29011 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
29012
bae8e7f5
DM
290132013-01-23 David S. Miller <davem@davemloft.net>
29014
29015 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
29016 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
29017 argument of CAS if possible.
29018 * sysdeps/sparc/sparc64/bits/atomic.h
29019 (__arch_compare_and_exchange_val_32_acq): Likewise.
29020 (__arch_compare_and_exchange_val_64_acq): Likewise.
29021
9cbbc4ae
PT
290222013-01-23 Pino Toscano <toscano.pino@tiscali.it>
29023
29024 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
29025 * sysdeps/posix/ulimit.c: ... this.
92a601b8 29026 Include <limits.h>.
67b3f58c 29027 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 29028
5655a0b5
AC
290292013-01-23 Adam Conrad <adconrad@0c3.net>
29030
29031 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
29032 (LDFLAGS-tst-array5): Likewise.
29033
052aff95
JM
290342013-01-23 Joseph Myers <joseph@codesourcery.com>
29035
29036 [BZ #15036]
29037 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
29038 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
29039 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
29040 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
29041
7c1e01aa
DM
290422013-01-21 David S. Miller <davem@davemloft.net>
29043
29044 * sysdeps/sparc/backtrace.c: New file.
29045 * sysdeps/sparc/sparc32/backtrace.h: New file.
29046 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
29047 * sysdeps/sparc/sparc64/backtrace.h: New file.
29048 * sysdeps/sparc/sparc64/backtrace.c: Delete.
29049 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
29050 -funwind-tables.
29051
ab087e0a
AS
290522013-01-21 Andreas Schwab <schwab@suse.de>
29053
29054 [BZ #15020]
29055 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
29056 closed its stdout.
29057
ed689c2f
AS
290582013-01-20 Andreas Schwab <schwab@linux-m68k.org>
29059
29060 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
29061 "mpa2.h".
29062 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
29063
31d470ac
JM
290642013-01-18 Joseph Myers <joseph@codesourcery.com>
29065 Mark Mitchell <mark@codesourcery.com>
29066 Tom de Vries <tom@codesourcery.com>
29067 Paul Pluzhnikov <ppluzhnikov@google.com>
29068
29069 * debug/tst-backtrace2.c: New file.
29070 * debug/tst-backtrace3.c: Likewise.
29071 * debug/tst-backtrace4.c: Likewise.
29072 * debug/tst-backtrace5.c: Likewise.
29073 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
29074 (CFLAGS-tst-backtrace3.c): Likewise.
29075 (CFLAGS-tst-backtrace4.c): Likewise.
29076 (CFLAGS-tst-backtrace5.c): Likewise.
29077 (LDFLAGS-tst-backtrace2): Likewise.
29078 (LDFLAGS-tst-backtrace3): Likewise.
29079 (LDFLAGS-tst-backtrace4): Likewise.
29080 (LDFLAGS-tst-backtrace5): Likewise.
29081 (tests): Add new tests tst-backtrace2, tst-backtrace3,
29082 tst-backtrace4 and tst-backtrace5.
29083
90567f30 290842013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
29085 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
29086
29087 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
29088 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
29089 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
29090 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
29091 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
29092 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
29093 "+r" and remove output regs list as redundant. Add explicit inline
29094 asm to specify register of return val to work around compiler codegen
29095 bug. Remove (int) cast on return value. Add return type parameter to
29096 use in macro so that this macro does not truncate return value for
29097 64-bit values.
29098 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
29099 pass to INTERNAL_VSYSCALL_NCS.
29100 (INLINE_VSYSCALL): Add 'long int' as return type to
29101 INTERNAL_VSYSCALL_NCS macro invocation.
29102 (INTERNAL_VSYSCALL): Add 'long int' as return type to
29103 INTERNAL_VSYSCALL_NCS macro invocation.
29104 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
29105
d3b9ea61
SP
291062013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
29107
0b57daeb
SP
29108 [BZ #14496]
29109 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
29110 Fix application of SIMD FP exception mask.
29111
caa99d06
SP
29112 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
29113 mp_no from a power of two.
29114 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
29115 __mpexp_twomm1. Use __pow_mp.
29116
d3b9ea61
SP
29117 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
29118 multiplication.
29119
1dbaee3c
DM
291202013-01-17 David S. Miller <davem@davemloft.net>
29121
29122 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29123
728d7b43
JM
291242013-01-17 Joseph Myers <joseph@codesourcery.com>
29125
29126 [BZ #15023]
29127 * include/complex.h: Condition contents on [!_COMPLEX_H].
29128 (__kernel_casinhf): New prototype.
29129 (__kernel_casinh): Likewise.
29130 (__kernel_casinhl): Likewise.
29131 * math/Makefile (libm_calls): Add k_casinh.
29132 * math/k_casinh.c: New file.
29133 * math/k_casinhf.c: Likewise.
29134 * math/k_casinhl.c: Likewise.
29135 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
29136 finite nonzero arguments.
29137 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
29138 finite nonzero arguments.
29139 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
29140 finite nonzero arguments.
29141 * math/s_casinh.c: Do not include <float.h>.
29142 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
29143 * math/s_casinhf.c: Do not include <float.h>.
29144 (__casinhf): Move code for finite nonzero arguments to
29145 k_casinhf.c.
29146 * math/s_casinhl.c: Do not include <float.h>.
29147 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
29148 redefine.
29149 (__casinhl): Move code for finite nonzero arguments to
29150 k_casinhl.c.
29151 * math/libm-test.inc (cacos_test): Add more tests.
29152 * sysdeps/i386/fpu/libm-test-ulps: Update.
29153 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29154
2a26ef3a
PT
291552013-01-17 Pino Toscano <toscano.pino@tiscali.it>
29156
29157 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
29158 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
29159 [!HAVE_MREMAP]: Remove [defined linux] case.
29160 * malloc/arena.c: Do not include <malloc-sysdep.h>.
29161
a897655d
SP
291622013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
29163
29164 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
29165
881ebe89 291662013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
29167
29168 * elf/elf.h (R_386_SIZE32): New relocation.
29169 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
29170 R_386_SIZE32.
29171 (elf_machine_rela): Likewise.
29172 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
29173 R_X86_64_SIZE64 and R_X86_64_SIZE32.
29174
59981e9b
JM
291752013-01-17 Joseph Myers <joseph@codesourcery.com>
29176
29177 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
29178 (FP_FAST_FMA): Do not define.
29179 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
29180 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
29181 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
29182 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
29183 !_SOFT_FLOAT]: Likewise.
29184 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
29185 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
29186 value.
29187 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
29188 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
29189 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
29190 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
29191 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
29192 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
29193 file.
29194
cfa8054f
AS
291952013-01-16 Andreas Schwab <schwab@suse.de>
29196
29197 [BZ #14327]
29198 * include/stdlib.h (__mktemp): Add declaration.
29199 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
29200 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
29201
dd930cc5
SP
292022013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
29203
881ebe89
SP
29204 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
29205 definitions.
29206 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
29207 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
29208 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
29209 definitions here.
29210 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
29211 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
29212 definitions.
29213 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
29214 and ONE.
29215 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
29216 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
29217 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
29218 definitions.
29219 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
29220 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
29221 definitions.
29222 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 29223
dd930cc5
SP
29224 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
29225
c19a9f89
DM
292262013-01-15 David S. Miller <davem@davemloft.net>
29227
1aa61767
DM
29228 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
29229 trunc{,f} to libm-sysdep_routes.
29230 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
29231 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
29232 file.
29233 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
29234 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
29235 file.
29236 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
29237 file.
29238 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
29239 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
29240 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
29241 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
29242 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
29243 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
29244 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
29245 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
29246
c42d5e98
DM
29247 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
29248 nearbyint{,f} to libm-sysdep_routes.
29249 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
29250 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
29251 New file.
29252 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
29253 file.
29254 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
29255 New file.
29256 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
29257 file.
29258 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
29259 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
29260 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
29261 file.
29262 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
29263 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
29264 file.
29265 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
29266 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
29267 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
29268
c19a9f89
DM
29269 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
29270 libc_feholdexcept and libc_fesetenv.
29271
357679d2
MF
292722013-01-15 Mike Frysinger <vapier@gentoo.org>
29273
29274 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
29275
65a82e3d
DM
292762013-01-14 David S. Miller <davem@davemloft.net>
29277
8b954ab9
DM
29278 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
29279 (SPARC_ASM_VIS2_IFUNC): Likewise.
29280 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
29281 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
29282 use of 'siam' instruction.
29283 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
29284 Likewise.
29285 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
29286 Likewise.
29287 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
29288 Likewise.
29289 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
29290 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
29291 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
29292 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
29293 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
29294 file.
29295 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
29296 file.
29297 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
29298 file.
29299 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
29300 file.
29301 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
29302 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
29303 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
29304 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
29305 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
29306 new VIS2 routines.
29307 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
29308 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
29309 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
29310 Likewise.
29311 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
29312 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
29313 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
29314 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
29315 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
29316 routines to libm-sysdep_routines.
29317 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
29318
65a82e3d
DM
29319 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
29320 fdim/fdimf to libm-sysdep_routines.
29321 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
29322 file.
29323 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
29324 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
29325 file.
29326 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
29327 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
29328 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
29329 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
29330 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
29331 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
29332 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
29333
e34ab705
SP
293342013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
29335
2a91b573
SP
29336 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
29337 to optimize copies.
29338
1066a534
SP
29339 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
29340 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
29341 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
29342
e34ab705
SP
29343 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
29344 local variable MPTWO.
29345 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
29346 Likewise.
29347
aba5e596
MF
293482013-01-13 Mike Frysinger <vapier@gentoo.org>
29349
29350 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
29351 GLOB_NOESCAPE.
29352
e557e9e5
MF
293532013-01-13 Mike Frysinger <vapier@gentoo.org>
29354
29355 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
29356
0428cec9
MF
293572013-01-13 Mike Frysinger <vapier@gentoo.org>
29358
29359 * manual/pattern.texi (glob_t): Document gl_flags.
29360 (glob64_t): Likewise.
29361
8794a964
DM
293622013-01-11 David S. Miller <davem@davemloft.net>
29363
66438c3f
RM
29364 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
29365 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
29366 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
29367 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
29368 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
29369 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
29370 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
29371 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
29372 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
29373 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
29374 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
29375 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
29376 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
29377
4ae4244d
DM
29378 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
29379 sparc V9 rather than using V8 code.
29380 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
29381 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
29382
8794a964
DM
29383 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
29384 Move to...
29385 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
29386 Here.
29387
6270516e
RM
293882013-01-11 Roland McGrath <roland@hack.frob.com>
29389
29390 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
29391 not in the main loop.
29392 * configure: Regenerated.
29393
6a57d931
JM
293942013-01-11 Joseph Myers <joseph@codesourcery.com>
29395
29396 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
29397 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
29398 to just #else.
29399 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
29400 [!__GLIBC_HAVE_LONG_LONG] case.
29401 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
29402 condition to just #else.
29403 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
29404 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
29405 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
29406 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
29407 unconditional.
29408 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
29409 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
29410 #elif condition to just #else.
29411 * sysdeps/unix/sysv/linux/sys/sysmacros.h
29412 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
29413 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
29414 #elif condition to just #else.
29415
0e8529e9
SE
294162013-01-11 Steve Ellcey <sellcey@mips.com>
29417
29418 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
29419 (EF_MIPS_ARCH_64): Fix value.
29420 (EF_MIPS_ARCH_32R2): New.
29421 (EF_MIPS_ARCH_64R2): New.
29422
740b3dbe
L
294232013-01-11 H.J. Lu <hongjiu.lu@intel.com>
29424
29425 * Makeconfig (+link-pie-before-libc): New.
29426 (+link-pie-after-libc): Likewise.
29427 (+link-pie-tests): Likewise.
29428 (+link-pie): Rewritten.
29429 (link-before-libc): Remove $(config-LDFLAGS).
29430 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
29431 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
29432 (config-LDFLAGS): Renamed to ...
29433 (rtld-LDFLAGS): This.
29434 (rtld-tests-LDFLAGS): New macro.
29435 (link-libc-rpath-link): Likewise.
29436 (link-libc-tests-rpath-link): Likewise.
29437 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
29438 (link-libc): Prepand $(link-libc-rpath-link).
29439 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
29440 (test-program-prefix): New macro.
29441 (test-via-rtld-prefix): Likewise.
29442 (test-program-cmd): Likewise.
29443 (host-test-program-cmd): Likewise.
29444 * Makefile ($(common-objpfx)testrun.sh): Replace
29445 $(run-program-prefix) with $(test-program-prefix).
29446 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
29447 $(rtld-LDFLAGS).
29448 ($(common-objpfx)shlib.lds): Likewise.
29449 (build-module-helper): Likewise.
29450 ($(common-objpfx)format.lds): Likewise.
29451 * Rules (binaries-pie-tests): New.
29452 (binaries-pie-notests): Likewise.
29453 (binaries-pie): Rewritten.
29454 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
29455 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
29456 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
29457 (make-test-out): Replace $(host-built-program-cmd) with
29458 $(host-test-program-cmd).
29459 * config.make.in (build-hardcoded-path-in-tests): New variable.
29460 * configure.in (--enable-hardcoded-path-in-tests): New configure
29461 option.
29462 (hardcoded_path_in_tests): New AC_SUBST.
29463 * configure: Regenerated.
29464 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
29465 $(built-program-cmd) with $(test-program-cmd).
29466 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
29467 (test_program_cmd): This.
29468 * elf/Makefile ($(objpfx)order.out): Run test with
29469 $(test-program-prefix).
29470 ($(objpfx)order2.out): Likewise.
29471 ($(objpfx)tst-initorder.out): Likewise.
29472 ($(objpfx)tst-initorder2.out): Likewise.
29473 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
29474 $(test-program-cmd).
29475 ($(objpfx)tst-array1-static.out): Likewise.
29476 ($(objpfx)tst-array2.out): Likewise.
29477 ($(objpfx)tst-array3.out): Likewise.
29478 ($(objpfx)tst-array4.out): Likewise.
29479 ($(objpfx)tst-array5.out): Likewise.
29480 ($(objpfx)tst-array5-static.out): Likewise.
29481 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
29482 $(test-program-cmd).
29483 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
29484 $(run-program-prefix) with $(test-program-prefix).
29485 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
29486 (test_program_prefix): This.
29487 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
29488 $(run-program-prefix) with $(test-program-prefix).
29489 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
29490 (test_program_prefix): This.
29491 * iconvdata/tst-tables.sh: Likewise.
29492 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
29493 $(run-program-prefix) with $(test-program-prefix).
29494 ($(objpfx)tst-translit.out): Likewise.
29495 ($(objpfx)tst-gettext2.out): Likewise.
29496 ($(objpfx)tst-gettext4.out): Likewise.
29497 ($(objpfx)tst-gettext6.out): Likewise.
29498 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
29499 (test_program_prefix): This.
29500 * intl/tst-gettext2.sh: Likewise.
29501 * intl/tst-gettext4.sh Likewise.
29502 * intl/tst-gettext6.sh: Likewise.
29503 * intl/tst-translit.sh: Likewise.
29504 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
29505 with $(test-program-cmd).
29506 * libio/Makefile ($(objpfx)test-freopen.out): Replace
29507 $(run-program-prefix) with $(test-program-prefix).
29508 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
29509 (test_program_prefix): This.
29510 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
29511 $(run-program-prefix) with $(test-program-prefix).
29512 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
29513 (test_program_prefix): This.
29514 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
29515 * posix/Makefile ($(objpfx)globtest.out): Replace
29516 $(run-via-rtld-prefix) and $(test-wrapper) with
29517 $(test-program-prefix) and $(test-via-rtld-prefix).
29518 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
29519 $(test-program-prefix).
29520 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
29521 $(host-test-program-cmd).
29522 (tst-spawn-ARGS): Likewise.
29523 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
29524 $(test-program-prefix).
29525 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
29526 (test_via_rtld_prefix): This.
29527 (test_wrapper): Renamed to ...
29528 (test_program_prefix): This.
29529 (run_program_prefix): Replaced by test_program_prefix.
29530 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
29531 (test_program_prefix): This.
29532 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
29533 with $(host-test-program-cmd).
29534 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
29535 $(run-program-prefix) with $(test-program-prefix).
29536 ($(objpfx)tst-printf.out): Likewise.
29537 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
29538 $(test-program-cmd).
29539 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
29540 (test_program_prefix): This.
29541 * stdio-common/tst-unbputc.sh: Likewise.
29542 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
29543 $(run-program-prefix) with $(test-program-prefix).
29544 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
29545 (test_program_prefix): This.
29546 * string/Makefile ($(objpfx)tst-svc.out): Replace
29547 $(built-program-cmd) with $(test-program-cmd).
29548
c6fe55cf
AJ
295492013-01-11 Andreas Jaeger <aj@suse.de>
29550
29551 [BZ #15003]
29552 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
29553 value. Sync with Linux 3.7.
29554
9e6919c8
DM
295552013-01-10 David S. Miller <davem@davemloft.net>
29556
29557 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
29558 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
29559 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
29560
1c9f1a02
RM
295612013-01-10 Roland McGrath <roland@hack.frob.com>
29562
29563 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
29564 never set.
29565 * configure: Regenerated.
29566
b9de2dde
DM
295672013-01-10 David S. Miller <davem@davemloft.net>
29568
29569 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
29570 sparc V9 rather than using V8 code.
29571 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
29572 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
29573
e7f68ef4
RM
295742013-01-10 Roland McGrath <roland@hack.frob.com>
29575
29576 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
29577 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
29578 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
29579 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
29580 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
29581 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
29582 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
29583 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
29584 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
29585 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
29586 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
29587 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
29588 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
29589 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
29590 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
29591 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
29592 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
29593 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
29594 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
29595 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
29596 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
29597 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
29598 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
29599 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
29600 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
29601 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
29602 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
29603
5a47cc9c
DM
296042013-01-10 David S. Miller <davem@davemloft.net>
29605
29606 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29607
4cf8f209
L
296082013-01-10 H.J. Lu <hongjiu.lu@intel.com>
29609
29610 * posix/Makefile (tests-static): New variable.
29611 (tests): Add $(tests-static).
29612 (tst-exec-static-ARGS): New variable.
29613 (tst-spawn-static-ARGS): Likewise.
29614 * posix/tst-exec-static.c: New file.
29615 * posix/tst-spawn-static.c: Likewise.
29616 * posix/tst-exec.c: Support run directly.
29617 * posix/tst-spawn.c: Likewise.
29618
fed0faa1
JM
296192013-01-10 Joseph Myers <joseph@codesourcery.com>
29620
828beb13
JM
29621 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
29622 long.
29623 * math/bits/mathcalls.h (llrint): Likewise.
29624 (llround): Likewise.
29625 * stdlib/stdlib.h (struct drand48_data): Likewise.
29626 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
29627 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
29628 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
29629 Likewise.
29630 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
29631 Likewise.
29632 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
29633 (elf_greg_t): Likewise.
29634 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
29635 (__jmp_buf): Likewise.
29636 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
29637 definitions.
29638 (llrint): Likewise, for all definitions.
29639 (llrintl): Likewise.
29640
fed0faa1
JM
29641 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
29642 Remove [__GNUC__] condition.
29643 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
29644 condition to just [__USE_ISOC99].
29645 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
29646
1a20cb20
L
296472013-01-10 H.J. Lu <hongjiu.lu@intel.com>
29648
29649 [BZ #14200]
29650 * sysdeps/unix/sysv/linux/x86/bits/environments.h
29651 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
29652 defined.
29653 (_POSIX_V6_ILP32_OFF32): Likewise.
29654 (_XBS5_ILP32_OFF32): Likewise.
29655 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
29656 (__ILP32_OFFBIG_LDFLAGS): Likewise.
29657
751b85f7
SP
296582013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
29659
7490eb81
SP
29660 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
29661
751b85f7
SP
29662 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
29663 doubles __mpexp_twomm1. Adjust usage.
29664 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
29665 Remove.
29666
988197f0
AS
296672013-01-10 Andreas Schwab <schwab@suse.de>
29668
29669 [BZ #14964]
29670 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
29671 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
29672
e83d7298
DM
296732013-01-09 David S. Miller <davem@davemloft.net>
29674
034ed64b 29675 [BZ #15003]
57f41c40
AS
29676 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
29677 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
29678 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
29679 (TCP_FASTOPEN): Define.
e83d7298
DM
29680 (tcp_repair_opt): New structure.
29681 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
29682 enum values.
57f41c40
AS
29683 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
29684 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
29685 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
e83d7298
DM
29686 (tcp_cookie_transactions): New structure.
29687
d5e0b9bd
AB
296882013-01-09 Anton Blanchard <anton@samba.org>
29689
29690 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
29691 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
29692 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
29693 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
29694
0c07e3ea
JM
296952013-01-09 Joseph Myers <joseph@codesourcery.com>
29696
29697 * include/features.h (__USE_ANSI): Remove.
29698
232f7002
RM
296992013-01-09 Roland McGrath <roland@hack.frob.com>
29700
ad98e30c
RM
29701 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
29702
232f7002
RM
29703 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
29704
950c99ca
SP
297052013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
29706
b5792741
SP
29707 * sysdeps/s390/fpu/libm-test-ulps: Update.
29708
47cf2278
SP
29709 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29710
950c99ca
SP
29711 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
29712 (__acr): Likewise.
29713 (__cpy): Likewise.
29714 (norm): Likewise.
29715 (denorm): Likewise.
29716 (__mp_dbl): Likewise.
29717 (__dbl_mp): Likewise.
29718 (add_magnitudes): Likewise.
29719 (sub_magnitudes): Likewise.
29720 (__add): Likewise.
29721 (__sub): Likewise.
29722 (__mul): Likewise.
29723 (__inv): Likewise.
29724 (__dvd): Likewise.
29725 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
29726 (__acr): Likewise.
29727 (__cpy): Likewise.
29728 (norm): Likewise.
29729 (denorm): Likewise.
29730 (__mp_dbl): Likewise.
29731 (__dbl_mp): Likewise.
29732 (add_magnitudes): Likewise.
29733 (sub_magnitudes): Likewise.
29734 (__add): Likewise.
29735 (__sub): Likewise.
29736 (__mul): Likewise.
29737 (__inv): Likewise.
29738 (__dvd): Likewise.
29739 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
29740 (__acr): Likewise.
29741 (__cpy): Likewise.
29742 (norm): Likewise.
29743 (denorm): Likewise.
29744 (__mp_dbl): Likewise.
29745 (__dbl_mp): Likewise.
29746 (add_magnitudes): Likewise.
29747 (sub_magnitudes): Likewise.
29748 (__add): Likewise.
29749 (__sub): Likewise.
29750 (__mul): Likewise.
29751 (__inv): Likewise.
29752 (__dvd): Likewise.
29753
eede9df9
JM
297542013-01-08 Joseph Myers <joseph@codesourcery.com>
29755
29756 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
29757 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
29758 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
29759 2 && __USE_EXTERN_INLINES]: Likewise.
29760
c40ea3d9
AJ
297612013-01-08 Andreas Jaeger <aj@suse.de>
29762
29763 [BZ# 14985]
29764 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
29765 Remove.
29766 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
29767 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
29768
2ccdea26
AB
297692013-01-07 Anton Blanchard <anton@samba.org>
29770
29771 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
29772 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
29773 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
29774 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
29775 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
29776 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
29777 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
29778 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
29779 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
29780 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
29781 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
29782 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
29783 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
29784 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
29785 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
29786 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
29787 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
29788 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
29789 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
29790 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
29791 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
29792 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
29793 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
29794 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
29795 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
29796 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
29797 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
29798 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
29799 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
29800 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
29801 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
29802 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
29803 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
29804 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
29805 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
29806 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
29807 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
29808 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
29809 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
29810 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
29811 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
29812 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
29813 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
29814
a9708fed
JM
298152013-01-07 Joseph Myers <joseph@codesourcery.com>
29816
375607b9
JM
29817 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
29818 (__MALLOC_PMT): Likewise.
29819 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
29820 [__GNUC__], only on [_LIBC].
29821 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
29822 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
29823 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
29824 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
29825 forward declaration.
29826 (realloc_hook_ini): Likewise.
29827 (memalign_hook_ini): Likewise.
29828 (__libc_memalign): Do not use __MALLOC_PMT in variable
29829 declaration.
29830 (__libc_valloc): Likewise.
29831 (__libc_pvalloc): Likewise.
29832 (__libc_calloc): Likewise.
29833 (__posix_memalign): Likewise.
29834
a9708fed
JM
29835 [BZ #14996]
29836 * math/s_casinh.c: Include <float.h>.
29837 (__casinh): Do not do computation with squaring and square root
29838 for large arguments.
29839 * math/s_casinhf.c: Include <float.h>.
29840 (__casinhf): Do not do computation with squaring and square root
29841 for large arguments.
29842 * math/s_casinhl.c: Include <float.h>.
29843 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
29844 (__casinhl): Do not do computation with squaring and square root
29845 for large arguments.
29846 * math/libm-test.inc (casin_test): Add more tests.
29847 (casinh_test): Likewise.
29848 * sysdeps/i386/fpu/libm-test-ulps: Update.
29849 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29850
afec409a
L
298512013-01-04 H.J. Lu <hongjiu.lu@intel.com>
29852
29853 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
29854 (__x86_64_raw_data_cache_size): Likewise.
29855 (__x86_64_data_cache_size_half): Likewise.
29856 (__x86_64_raw_data_cache_size_half): Likewise.
29857 (__x86_64_shared_cache_size): Likewise.
29858 (__x86_64_raw_shared_cache_size): Likewise.
29859 (__x86_64_shared_cache_size_half): Likewise.
29860 (__x86_64_raw_shared_cache_size_half): Likewise.
29861 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
29862 to ...
29863 (__x86_data_cache_size): This.
29864 (__x86_64_raw_data_cache_size): Renamed to ...
29865 (__x86_raw_data_cache_size): This.
29866 (__x86_64_data_cache_size_half): Renamed to ...
29867 (__x86_data_cache_size_half): This.
29868 (__x86_64_raw_data_cache_size_half): Renamed to ...
29869 (__x86_raw_data_cache_size_half): This.
29870 (__x86_64_shared_cache_size): Renamed to ...
29871 (__x86_shared_cache_size): This.
29872 (__x86_64_raw_shared_cache_size): Renamed to ...
29873 (__x86_raw_shared_cache_size): This.
29874 (__x86_64_shared_cache_size_half): Renamed to ...
29875 (__x86_shared_cache_size_half): This.
29876 (__x86_64_raw_shared_cache_size_half): Renamed to ...
29877 (__x86_raw_shared_cache_size_half): This.
29878 * sysdeps/x86_64/memcpy.S: Updated.
29879 * sysdeps/x86_64/memset.S: Likewise.
29880 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
29881 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
29882 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
29883
0b3986d0
DM
298842013-01-04 David S. Miller <davem@davemloft.net>
29885
29886 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29887
e47686e9
AS
298882013-01-04 Andreas Schwab <schwab@linux-m68k.org>
29889
d643bac1
AS
29890 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
29891 1 to avoid redefinition warning.
29892 (__USE_GNU): Don't define.
29893 (init_signaling_nan): Protoize.
29894
e47686e9
AS
29895 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29896
b18decba
SP
298972013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
29898
fffb407f
SP
29899 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
29900 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
29901 (__cpymn): Likewise.
29902 (norm): Remove commented code.
29903 (denorm): Likewise.
29904 (__mp_dbl): Likewise.
29905 (__inv): Likewise.
29906 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
29907 (__cpymn): Likewise.
29908 (norm): Remove commented code.
29909 (denorm): Likewise.
29910 (__mp_dbl): Likewise.
29911 (__inv): Likewise.
29912
b18decba
SP
29913 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
29914 mp_no value for 1.0 and 2.0.
29915 (norm): Use RADIXI instead of radixi.d.
29916 (denorm): Likewise.
29917 (__mul): Use 0.0 instead of zero.d.
29918 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
29919 mp_no value for 1.0 and 2.0.
29920 (norm): Use RADIXI instead of radixi.d.
29921 (denorm): Likewise.
29922 (__mul): Use 0.0 instead of zero.d.
29923
cdc1c96f
JM
299242013-01-04 Joseph Myers <joseph@codesourcery.com>
29925
29926 [BZ #14994]
29927 * math/s_casinh.c (__casinh): Reduce finite argument to first
29928 quadrant then set signs of results at the end.
29929 * math/s_casinhf.c (__casinhf): Likewise.
29930 * math/s_casinhl.c (__casinhl): Likewise.
29931 * math/libm-test.inc (casin_test): Add more tests.
29932 (casinh_test): Likewise.
29933 * sysdeps/i386/fpu/libm-test-ulps: Update.
29934 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29935
302913e1
SP
299362013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
29937
6420d207
SP
29938 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
29939
a9e48ab4
SP
29940 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
29941
b7837264
SP
29942 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
29943 declarations.
29944 (denorm): Likewise.
29945 (__mp_dbl): Likewise.
29946 (__inv): Likewise.
29947
f8af25d2
SP
29948 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
29949 and adjust the header comment.
29950
302913e1
SP
29951 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
29952 variable name from declaration.
29953
5d7dd1ca
L
299542013-01-03 H.J. Lu <hongjiu.lu@intel.com>
29955
29956 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29957 Initialize COMMON_CPUID_INDEX_7 element.
29958 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
29959 (CPUID_RTM): Likewise.
29960 (HAS_RTM): Likewise.
29961 (COMMON_CPUID_INDEX_7): New enum.
29962
2f5f40f4
AS
299632013-01-03 Andreas Schwab <schwab@linux-m68k.org>
29964
29965 [BZ #14981]
29966 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
29967 size is zero, record memory as freed.
29968
4056f4a0
AJ
299692013-01-03 Andreas Jaeger <aj@suse.de>
29970
29971 * po/ia.po: Add new Interlingua translation.
29972
ab15736f 299732012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
29974
29975 * locale/programs/localedef.c: Fix description of '--posix' flag.
29976
568035b7
JM
299772013-01-02 Joseph Myers <joseph@codesourcery.com>
29978
e6898b8d
JM
29979 * NEWS: Update dates in second copyright notice.
29980 * README: Update copyright dates in example.
29981 * manual/libc.texinfo: Update copyright dates.
29982 * scripts/test-installation.pl: Update copyright date in --version
29983 output.
29984
0e2f9562
JM
29985 * hurd/ctty-input.c: Fix copyright notice formatting.
29986 * hurd/ctty-output.c: Likewise.
29987 * hurd/dtable.c: Likewise.
29988 * hurd/hurd-raise.c: Likewise.
29989 * hurd/hurdprio.c: Likewise.
29990 * hurd/msgportdemux.c: Likewise.
29991 * misc/sys/file.h: Likewise.
29992 * misc/sys/ioctl.h: Likewise.
29993 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
29994 * sysdeps/mach/hurd/chdir.c: Likewise.
29995 * sysdeps/mach/hurd/fchdir.c: Likewise.
29996 * sysdeps/mach/hurd/rename.c: Likewise.
29997 * sysdeps/mach/hurd/rmdir.c: Likewise.
29998 * sysdeps/mach/hurd/seekdir.c: Likewise.
29999 * sysdeps/mach/hurd/setsid.c: Likewise.
30000 * sysdeps/posix/wait3.c: Likewise.
30001
568035b7
JM
30002 * All files with FSF copyright notices: Update copyright dates
30003 using scripts/update-copyrights.
30004 * intl/plural.c: Regenerated.
30005 * locale/programs/charmap-kw.h: Likewise.
30006 * locale/programs/locfile-kw.h: Likewise.
30007
da08f647
SP
300082013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
30009
0f5477af
SP
30010 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
30011 four values.
30012
44e0d4c2
SP
30013 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
30014 calculation loop and add branch prediction.
30015
4d55b4e5
SP
30016 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
30017 check access beyond bounds of m1np.
30018
da08f647
SP
30019 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
30020 MPTWO.
30021 (__inv): Remove local variable MPTWO to use the global
30022 constant.
30023 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
30024 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
30025 variable MPTWO.
30026 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
30027 MP3HALFS static const.
30028
8e051029
DM
300292013-01-01 David S. Miller <davem@davemloft.net>
30030
30031 * po/ca.po: Update from translation team.
30032
f4cf5f2d
JM
300332013-01-01 Joseph Myers <joseph@codesourcery.com>
30034
30035 * scripts/update-copyrights: New file.
30036 * Makeconfig: Reformat copyright notice.
30037 * ctype/ctype.h: Likewise.
30038 * debug/swprintf_chk.c: Likewise.
30039 * elf/dl-cache.c: Likewise.
30040 * elf/dl-debug.c: Likewise.
30041 * elf/dl-object.c: Likewise.
30042 * grp/initgroups.c: Likewise.
30043 * hurd/Makefile: Likewise.
30044 * hurd/hurd/signal.h: Likewise.
30045 * hurd/hurdfault.c: Likewise.
30046 * hurd/hurdioctl.c: Likewise.
30047 * hurd/hurdlookup.c: Likewise.
30048 * hurd/intr-msg.c: Likewise.
30049 * iconv/gconv_open.c: Likewise.
30050 * libio/swprintf.c: Likewise.
30051 * locale/lc-ctype.c: Likewise.
30052 * locale/nl_langinfo.c: Likewise.
30053 * mach/Machrules: Likewise.
30054 * mach/Makefile: Likewise.
30055 * malloc/obstack.h: Likewise.
30056 * manual/Makefile: Likewise.
30057 * manual/tsort.awk: Likewise.
30058 * misc/bits/stab.def: Likewise.
30059 * nis/nis_print_group_entry.c: Likewise.
30060 * nis/nis_table.c: Likewise.
30061 * nis/nss_compat/compat-pwd.c: Likewise.
30062 * nis/nss_compat/compat-spwd.c: Likewise.
30063 * po/Makefile: Likewise.
30064 * posix/fnmatch.c: Likewise.
30065 * posix/regex.h: Likewise.
30066 * resolv/Makefile: Likewise.
30067 * resolv/nss_dns/dns-network.c: Likewise.
30068 * resolv/res_hconf.c: Likewise.
30069 * scripts/gen-sorted.awk: Likewise.
30070 * soft-fp/soft-fp.h: Likewise.
30071 * stdio-common/printf.h: Likewise.
30072 * stdlib/monetary.h: Likewise.
30073 * stdlib/random.c: Likewise.
30074 * stdlib/random_r.c: Likewise.
30075 * sysdeps/generic/Makefile: Likewise.
30076 * sysdeps/gnu/Makefile: Likewise.
30077 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
30078 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
30079 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
30080 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
30081 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
30082 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
30083 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
30084 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
30085 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
30086 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
30087 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
30088 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
30089 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
30090 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
30091 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
30092 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
30093 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
30094 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
30095 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
30096 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
30097 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
30098 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
30099 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
30100 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
30101 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
30102 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
30103 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
30104 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
30105 * sysdeps/mach/hurd/errnos.awk: Likewise.
30106 * sysdeps/mach/hurd/fork.c: Likewise.
30107 * sysdeps/mach/hurd/getcwd.c: Likewise.
30108 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
30109 * sysdeps/mach/hurd/mmap.c: Likewise.
30110 * sysdeps/mach/hurd/utimes.c: Likewise.
30111 * sysdeps/mach/hurd/xmknod.c: Likewise.
30112 * sysdeps/posix/profil.c: Likewise.
30113 * sysdeps/posix/readdir_r.c: Likewise.
30114 * sysdeps/powerpc/bits/mathdef.h: Likewise.
30115 * sysdeps/powerpc/bits/setjmp.h: Likewise.
30116 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
30117 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
30118 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
30119 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
30120 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
30121 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
30122 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
30123 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
30124 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
30125 * sysdeps/pthread/lio_listio.c: Likewise.
30126 * sysdeps/sparc/dl-procinfo.h: Likewise.
30127 * sysdeps/unix/i386/sysdep.S: Likewise.
30128 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
30129 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
30130 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
30131 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
30132 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
30133 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
30134 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
30135 * sysdeps/unix/sysv/linux/speed.c: Likewise.
30136 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
30137 * sysdeps/wordsize-32/divdi3.c: Likewise.
30138 * time/sys/time.h: Likewise.
30139 * wcsmbs/Makefile: Likewise.
30140
0549fbba
DM
301412013-01-01 David S. Miller <davem@davemloft.net>
30142
a141f1a7
DM
30143 * po/fr.po: Update from translation team.
30144
0549fbba
DM
30145 * catgets/gencat.c: Update copyright year.
30146 * csu/version.c: Likewise.
30147 * debug/catchsegv.sh: Likewise.
30148 * debug/pcprofiledump.c: Likewise.
30149 * debug/xtrace.sh: Likewise.
30150 * elf/ldconfig.c: Likewise.
30151 * elf/ldd.bash.in: Likewise.
30152 * elf/pldd.c: Likewise.
30153 * elf/sotruss.ksh: Likewise.
30154 * elf/sprof.c: Likewise.
30155 * iconv/iconv_prog.c: Likewise.
30156 * iconv/iconvconfig.c: Likewise.
30157 * locale/programs/locale.c: Likewise.
30158 * locale/programs/localedef.c: Likewise.
30159 * login/programs/pt_chown.c: Likewise.
30160 * malloc/memusage.sh: Likewise.
30161 * malloc/memusagestat.c: Likewise.
30162 * malloc/mtrace.pl: Likewise.
30163 * nscd/nscd.c: Likewise.
30164 * nss/getent.c: Likewise.
30165 * nss/makedb.c: Likewise.
30166 * posix/getconf.c: Likewise.
30167
18ea052c
SP
301682012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
30169
30170 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
30171 numbers.
30172
9c89fca6
MF
301732012-12-30 Mike Frysinger <vapier@gentoo.org>
30174
30175 * math/bits/mathcalls.h (modf): Use __nonnull.
30176
085ec079
SP
301772012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
30178
30179 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
30180 (split): Use macro CN instead of the bare value.
30181 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
30182 could be used.
30183 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
30184 instead of the bare value.
30185 (power1): Likewise.
30186
6d9f97e1
SP
301872012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
30188
d63f73be
SP
30189 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
30190 __ATAN_TWOM.
30191 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
30192
6d9f97e1
SP
30193 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
30194 their values.
30195 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
30196 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
30197 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
30198 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
30199
4c4febf5
AJ
302002012-12-28 Andreas Jaeger <aj@suse.de>
30201
af5843ef
AJ
30202 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
30203 values are from Linux 3.7.
30204
4c4febf5
AJ
30205 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
30206 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
30207
99136f82
SP
302082012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
30209
2f216c3c 30210 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
30211 TRUE case.
30212
99136f82
SP
30213 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
30214 (norm): Likewise.
30215 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
30216 variables with preprocessor constants.
30217 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
30218 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
30219 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
30220
7fffbdff
BH
302212012-12-27 Bruno Haible <bruno@clisp.org>
30222
30223 [BZ #14317]
30224 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
30225 only if needed.
30226
b76eb5f0
SP
302272012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
30228
31a7fe5c
SP
30229 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
30230 and use variable directly.
30231 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
30232
b76eb5f0
SP
30233 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
30234 MPONE.
30235 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
30236 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
30237 variable MPONE.
30238 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
30239 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
30240 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
30241 include directive. Remove local variable MPONE.
30242 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
30243 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
30244 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
30245
2c8bfe7d
DM
302462012-12-25 David S. Miller <davem@davemloft.net>
30247
30248 * version.h (RELEASE): Set to "development".
30249 (VERSION): Set to "2.17.90".
30250 * NEWS: Add 2.18 section.
30251
147d03b0
DM
302522012-12-21 David S. Miller <davem@davemloft.net>
30253
30254 * po/hr.po: Update from translation team.
30255
a8ebb2b9
AK
302562012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30257
30258 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
30259
95b4f1b6
SE
302602012-12-19 Steve Ellcey <sellcey@mips.com>
30261
b2d94007 30262 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 30263
cedb2a90
MS
302642012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
30265
30266 * manual/contrib.texi (Contributors): Spelling correction.
30267
bbf527d6
DM
302682012-12-15 David S. Miller <davem@davemloft.net>
30269
30270 * po/ru.po: Update from translation team.
30271
bc38c906
DM
302722012-12-13 David S. Miller <davem@davemloft.net>
30273
85429b1a
DM
30274 * NEWS: Mention IFUNC testsuite enhancements.
30275
d283e353
DM
30276 * po/pl.po: Update from translation team.
30277 * po/bg.po: Likewise.
30278
bc38c906
DM
30279 * manual/contrib.texi (Contributors): Update entries for Hongjiu
30280 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
30281
a181b0d7
DM
302822012-12-11 David S. Miller <davem@davemloft.net>
30283
4641d57e
DM
30284 * po/sv.po: Update from translation team.
30285
f7bc6495
DM
30286 * po/vi.po: Update from translation team.
30287
6fc9048f
DM
30288 * po/cs.po: Update from translation team.
30289
a181b0d7
DM
30290 * po/de.po: Update from translation team.
30291 * po/eo.po: Likewise.
30292 * po/nl.po: Likewise.
30293
f70bfe80
SP
302942012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
30295
3c8b4190
SP
30296 [BZ #14246]
30297 * manual/argp.texi (Argp Helper Functions): Move node to follow
30298 Argp Parsing State.
30299
f70bfe80
SP
30300 [BZ #14872]
30301 * manual/conf.texi (Limits on File System Capacity): Mention if
30302 terminating null is included in the max size.
30303
188f0adf
AJ
303042012-12-10 Andreas Jaeger <aj@suse.de>
30305
30306 * po/cs.po: Update from translation team.
30307
56e7d3ad
SP
303082012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
30309
30310 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
30311 void pointer and cast to uintptr_t.
30312 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
30313 path.
30314 * sysdeps/s390/s390-64/memcpy.S: Likewise.
30315 * sysdeps/s390/s390-64/memset.S: Likewise.
30316
76f2d2ea 303172012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
30318
30319 [BZ #14833]
30320 * menual/message.texi (Message Translation): Fix typos.
30321 (Helper programs for gettext): Likewise.
30322
67cbf9a2
AS
303232012-12-07 Andreas Schwab <schwab@linux-m68k.org>
30324
30325 [BZ #14898]
30326 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
30327 Change to -1.
30328
682d0e9a
DM
303292012-12-07 David S. Miller <davem@davemloft.net>
30330
30331 * po/libc.pot: Update.
30332
573cd484
RH
303332012-12-07 Richard Henderson <rth@redhat.com>
30334
7e9da188 30335 [BZ #10114]
573cd484
RH
30336 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
30337 normal/normal case to before the switch.
30338 (_FP_DIV): Likewise.
30339
e933a943
MF
303402012-12-06 Carlos O'Donell <carlos@systemhalted.org>
30341 Mike Frysinger <vapier@gentoo.org>
30342
30343 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
30344 check for __NR_fadvise64_64.
30345
82123268
CM
303462012-12-06 Chris Metcalf <cmetcalf@tilera.com>
30347
30348 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
30349 0, not just to plain "0" as a statement.
30350 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
30351 with cw.
30352
d9814526
JM
303532012-12-06 Joseph Myers <joseph@codesourcery.com>
30354
30355 * NEWS: Use sourceware.org in Bugzilla URL.
30356
7728c574
SP
303572012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
30358
f16946dd
SP
30359 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
30360 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
30361
5704bbcb
SP
30362 * stdio-common/tst-put-error.c (do_test): Add newline to the
30363 padded test to ensure flush.
30364
17aa0516
JL
303652012-12-05 Jeff Law <law@redhat.com>
30366
30367 * sunrpc/etc.rpc (fedfs_admin): Add entry.
30368
363313b5
JM
303692012-12-05 Joseph Myers <joseph@codesourcery.com>
30370
effbd42a
JM
30371 * README: Don't refer to ports add-on as distributed separately.
30372 Mention AArch64 in list of systems supported in the ports add-on.
30373
87600365
JM
30374 * LICENSES: Add more non-FSF copyright and license notices.
30375
a0d7066a
JM
30376 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
30377 ((unused)).
30378
66ca5a5b
JM
30379 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
30380
363313b5
JM
30381 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
30382 10000 as width of padded output.
30383
b37984ad
JM
303842012-12-04 Joseph Myers <joseph@codesourcery.com>
30385
9003570a
JM
30386 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
30387
b37984ad
JM
30388 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
30389 variable LX with __attribute__ ((unused)).
30390 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
30391 Likewise.
30392 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
30393 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
30394 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
30395 with __attribute__ ((unused)).
30396
c8df52ec
DM
303972012-12-04 David S. Miller <davem@abraco.davemloft.net>
30398
30399 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
30400
b3b099af
JM
304012012-12-04 Joseph Myers <joseph@codesourcery.com>
30402
c33aa6e3
JM
30403 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
30404 (CFLAGS-nldbl-acos.c): New variable.
30405 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
30406 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
30407 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
30408 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
30409 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
30410 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
30411 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
30412 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
30413 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
30414 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
30415 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
30416 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
30417 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
30418 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
30419 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
30420 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
30421 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
30422 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
30423 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
30424 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
30425 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
30426 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
30427 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
30428 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
30429 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
30430 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
30431 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
30432 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
30433 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
30434 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
30435 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
30436 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
30437 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
30438 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
30439 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
30440 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
30441 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
30442 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
30443 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
30444 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
30445 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
30446 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
30447 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
30448 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
30449 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
30450 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
30451 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
30452 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
30453 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
30454 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
30455 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
30456 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
30457 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
30458 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
30459 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
30460 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
30461 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
30462 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
30463 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
30464 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
30465 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
30466 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
30467 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
30468 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
30469 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
30470 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
30471 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
30472 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
30473 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
30474 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
30475 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
30476 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
30477 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
30478 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
30479 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
30480 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
30481 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
30482 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
30483 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
30484 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
30485 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
30486 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
30487 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
30488 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
30489 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
30490 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
30491 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
30492 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
30493 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
30494 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
30495 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
30496 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
30497 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
30498 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
30499 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
30500 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
30501 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
30502
20f0018d
JM
30503 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
30504 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
30505
b3b099af
JM
30506 [BZ #14914]
30507 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
30508 whole low double instead of just low 47 bits when splitting values
30509 into two parts.
30510
029264d1
AM
305112012-12-03 Allan McRae <allan@archlinux.org>
30512
30513 * manual/stdio.texi (Predefined Printf Handlers): Remove
30514 @hsep and @vsep usage.
30515
c9d6789e
MF
305162012-12-03 Mike Frysinger <vapier@gentoo.org>
30517
30518 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
30519 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
30520
4b7634a5
JL
305212012-12-03 Jeff Law <law@redhat.com>
30522
30523 * time/sys/time.h (settimeofday): Do not mark TV argument
30524 as __nonnull.
30525
eb6cbd24
MF
305262012-12-01 Mike Frysinger <vapier@gentoo.org>
30527
30528 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
30529 when currently writing and seek to current position when not.
30530 * libio/Makefile (tests): Remove bug-fclose1.
30531 * libio/bug-fclose1.c: Delete.
30532
f638872a
JM
305332012-12-01 Joseph Myers <joseph@codesourcery.com>
30534
30535 * manual/arith.texi (feenableexcept): Fix typo.
30536 (fedisableexcept): Likewise.
30537
48085d14
RM
305382012-11-30 Roland McGrath <roland@hack.frob.com>
30539
30540 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
30541 second, differently-typed declaration, rather than a cast.
30542
1a538b9f
SP
305432012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
30544
30545 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
30546 * include/rpc/svc.h: ... here.
30547
d07f2ff1 305482012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
30549
30550 [BZ #13013]
30551 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
30552 depending n and resplen2 to catch cases where answer
30553 equals answerp2.
30554
c93ec1f0
CD
305552012-11-29 Carlos O'Donell <carlos@systemhalted.org>
30556
30557 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
30558 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
30559
37db69de
MF
305602012-11-29 Mike Frysinger <vapier@gentoo.org>
30561
30562 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
30563
e10c4e4f
RM
305642012-11-29 Roland McGrath <roland@hack.frob.com>
30565
30566 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
30567
2af1b328
JL
305682012-11-28 Jeff Law <law@redhat.com>
30569
30570 [BZ #13761]
30571 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
30572 dataset_temporary. Track alloca usage into alloca_used.
30573 If dataset is large allocate and release it via malloc/free.
30574
111db5b1
FW
305752012-06-04 Florian Weimer <fweimer@redhat.com>
30576
f06cc227 30577 [BZ #14197]
111db5b1
FW
30578 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
30579
dd694abd
DM
305802012-11-28 David S. Miller <davem@davemloft.net>
30581
30582 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30583
9984dd01
JM
305842012-11-28 Joseph Myers <joseph@codesourcery.com>
30585
30586 [BZ #14803]
30587 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
30588 of pi/2 rounded to nearest to 64 bits.
30589 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
30590 nearest to 64 bits.
30591 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
30592 bits.
30593
14bc93a9
JL
305942012-11-28 Jeff Law <law@redhat.com>
30595 Martin Osvald <mosvald@redhat.com>
30596
30597 [BZ #14889]
30598 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
30599 * sunrpc/svc.c: Include time.h.
30600 (__svc_accept_failed): New function.
30601 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
30602 any reason other than EINTR, call __svc_accept_failed.
30603 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
30604 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
30605
e3c6aa3a
AS
306062012-11-28 Andreas Schwab <schwab@suse.de>
30607
30608 * scripts/abilist.awk: Also handle indirect functions in .opd
30609 section.
30610
1bead169
JM
306112012-11-28 Joseph Myers <joseph@codesourcery.com>
30612
30613 [BZ #13881]
30614 * sysdeps/x86/fpu/powl_helper.c: New file.
30615 * sysdeps/x86/fpu/Makefile: Likewise.
30616 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
30617 (p3): New object.
30618 (__ieee754_powl): Use __powl_helper for finite arguments except
30619 integer exponents below 8.
30620 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
30621 (p3): New object.
30622 (__ieee754_powl): Use __powl_helper for finite arguments except
30623 integer exponents below 8.
30624 * math/libm-test.inc (pow_test): Add more tests and enable some
30625 previously disabled tests.
30626 * sysdeps/i386/fpu/libm-test-ulps: Update.
30627 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30628
0817d63d
SP
306292012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
30630 Carlos O'Donell <carlos_odonell@mentor.com>
30631
30632 * nss/makedb.c (is_prime): Assert that input is odd and greater
30633 than 4. Note that fact in a comment too.
30634 (next_prime): Add 4 to input.
30635
de2fd463
SP
306362012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
30637
30638 [BZ #11741]
30639 * libio/Makefile (tests): Add test case tst-fwrite-error.
30640 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
30641 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
30642 * libio/tst-fwrite-error.c: New test case.
30643
c515fb51
L
306442012-11-26 H.J. Lu <hongjiu.lu@intel.com>
30645
30646 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
30647 before casting to void *.
30648 * include/libc-internal.h (__pointer_type): New macro.
30649 (__integer_if_pointer_type_sub): Likewise.
30650 (__integer_if_pointer_type): Likewise.
30651 (cast_to_integer): Likewise.
30652 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
30653 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
30654 before casting to atomic64_t.
30655 (atomic_exchange_acq): Likewise.
30656 (__arch_exchange_and_add_body): Likewise.
30657 (__arch_add_body): Likewise.
30658 (atomic_add_negative): Likewise.
30659 (atomic_add_zero): Likewise.
30660
4cf77aa9
JM
306612012-11-26 Joseph Myers <joseph@codesourcery.com>
30662
30663 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
30664 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
30665 (add_fdes): Likewise.
30666 (linear_search_fdes): Likewise.
30667 (binary_search_unencoded_fdes): Likewise.
30668
d260b3b4
AS
306692012-11-26 Andreas Schwab <schwab@linux-m68k.org>
30670
30671 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
30672
67060746
AC
306732012-11-24 Adam Conrad <adconrad@0c3.net>
30674
30675 * configure.in: Autodetect C++ header directories.
30676 * configure: Regenerated.
30677
800938a1
MF
306782012-11-23 Mike Frysinger <vapier@gentoo.org>
30679
30680 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
30681
4e6e34e6
AS
306822012-11-23 Andreas Schwab <schwab@linux-m68k.org>
30683
30684 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30685
7c7feb47
JM
306862012-11-22 Joseph Myers <joseph@codesourcery.com>
30687
7184dcdf
JM
30688 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
30689 LDBL_MANT_DIG == 106]: Disable some tests.
30690 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
30691 Likewise.
30692 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
30693 Likewise.
30694
0a42601f
JM
30695 [BZ #14871]
30696 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
30697 input for small inputs. Return +/- pi/2 for large inputs.
30698 * math/libm-test.inc (atan_test): Add more tests.
30699
79c9b9fe
JM
30700 * sysdeps/generic/unwind-dw2-fde-glibc.c
30701 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
30702 __attribute__ ((unused)).
30703
c60d3bf2
JM
30704 [BZ #14645]
30705 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
30706 x * y if x and y are nonzero and z is zero.
30707
ef1e0867
JM
30708 [BZ #14811]
30709 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
30710 nonzero exponents with absolute value below 0x1p-117 to +/-
30711 0x1p-117.
30712
1468ded3
JM
30713 [BZ #14869]
30714 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
30715 up arguments below 2**-450, not just those below 2**-500.
30716 * math/libm-test.inc (hypot_test): Add another test.
30717
8e27e3cc
JM
30718 [BZ #14868]
30719 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
30720 Return a+b for ratio over 2**120, not 2**60.
30721 * math/libm-test.inc (hypot_test): Add another test.
30722
c9c0279b
JM
30723 * math/libm-test.inc (clog_test): Use
30724 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
30725 (clog10_test): Likewise.
30726
7c7feb47
JM
30727 [BZ #6778]
30728 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
30729
fff1530e
AS
307302012-11-22 Andreas Schwab <schwab@suse.de>
30731
30732 * sysdeps/i386/fpu/libm-test-ulps: Update.
30733
94558d30
PT
307342012-11-22 Pino Toscano <toscano.pino@tiscali.it>
30735
30736 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
30737 printf output with newline.
30738
7e1be741
L
307392012-11-21 H.J. Lu <hongjiu.lu@intel.com>
30740
6bfea974
L
30741 [BZ #14865]
30742 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
30743 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
30744 -z nodlopen, -z initfirst and -z execstack support.
30745 * configure: Regenerated.
30746
7e1be741
L
30747 * elf/elf.h (DF_1_NODIRECT): New macro.
30748 (DF_1_IGNMULDEF): Likewise.
30749 (DF_1_NOKSYMS): Likewise.
30750 (DF_1_NOHDR): Likewise.
30751 (DF_1_EDITED): Likewise.
30752 (DF_1_NORELOC): Likewise.
30753 (DF_1_SYMINTPOSE): Likewise.
30754 (DF_1_GLOBAUDIT): Likewise.
30755 (DF_1_SINGLETON): Likewise.
30756 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
30757 DT_1_SUPPORTED_MASK bits.
30758 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
30759
105ce2ce
CD
307602012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
30761
30762 * sysdeps/unix/make-syscalls.sh: Document prefixes.
30763
123be9de
TS
307642012-11-20 Thomas Schwinge <thomas@codesourcery.com>
30765
d072f3f7
TS
30766 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
30767 macro.
30768
123be9de
TS
30769 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
30770 (sendmmsg): Move declarations...
30771 * socket/sys/socket.h: ... here.
30772 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
30773 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
30774 include it from...
30775 * socket/recvmmsg.c: ... this new file.
30776 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
30777 (sendmmsg): Rename to __sendmmsg, create weak alias and make
30778 definition of __sendmmsg hidden.
30779 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
30780 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
30781 Move ENOSYS stub into and include it from...
30782 * socket/sendmmsg.c: ... this new file.
30783 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
30784 (sysdep_routines): Move recvmmsg and sendmmsg...
30785 * socket/Makefile (routines): ... here.
30786 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
30787 (GLIBC_PRIVATE): Add __sendmmsg.
30788 * include/sys/socket.h (__sendmmsg): Add declarations.
30789 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
30790 sendmmsg.
30791
cf9a5d18
JM
307922012-11-20 Joseph Myers <joseph@codesourcery.com>
30793
30794 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
30795 variable I1 with __attribute__ ((unused)).
30796 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
30797
ecd4caf9
JM
307982012-11-19 Joseph Myers <joseph@codesourcery.com>
30799
be14d48f
JM
30800 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
30801 DUMMY variables with __attribute__ ((unused)).
30802
ecd4caf9
JM
30803 * bits/byteswap.h: Include <bits/types.h>.
30804 (__bswap_64): Use __uint64_t instead of unsigned long long int.
30805
986cab95
PT
308062012-11-19 Pino Toscano <toscano.pino@tiscali.it>
30807
30808 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
30809 string_t. Do not manually set errno.
30810 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
30811 length with __strnlen. Make sure to both set errno and return it on
30812 failure.
30813
6d33cc9d
DM
308142012-11-19 David S. Miller <davem@davemloft.net>
30815
30816 With help from Joseph Myers.
30817 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
30818 very large arguments properly.
30819 * math/libm-test.inc (atan_test): New tests.
30820 (atan2_test): New tests.
30821 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30822 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30823
ee663277
JM
308242012-11-19 Joseph Myers <joseph@codesourcery.com>
30825
877f2d8e
JM
30826 [BZ #14856]
30827 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
30828 Define to 3.
30829
116fc08a
JM
30830 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
30831 [POSIX] (EADDRNOTAVAIL): Likewise.
30832 [POSIX] (EAFNOSUPPORT): Likewise.
30833 [POSIX] (EALREADY): Likewise.
30834 [POSIX] (ECONNABORTED): Likewise.
30835 [POSIX] (ECONNREFUSED): Likewise.
30836 [POSIX] (ECONNRESET): Likewise.
30837 [POSIX] (EDESTADDRREQ): Likewise.
30838 [POSIX] (EDQUOT): Likewise.
30839 [POSIX] (EHOSTUNREACH): Likewise.
30840 [POSIX] (EIDRM): Likewise.
30841 [POSIX] (EISCONN): Likewise.
30842 [POSIX] (ELOOP): Likewise.
30843 [POSIX] (EMULTIHOP): Likewise.
30844 [POSIX] (ENETDOWN): Likewise.
30845 [POSIX] (ENETUNREACH): Likewise.
30846 [POSIX] (ENOBUFS): Likewise.
30847 [POSIX] (ENODATA): Likewise.
30848 [POSIX] (ENOLINK): Likewise.
30849 [POSIX] (ENOMSG): Likewise.
30850 [POSIX] (ENOPROTOOPT): Likewise.
30851 [POSIX] (ENOSR): Likewise.
30852 [POSIX] (ENOSTR): Likewise.
30853 [POSIX] (ENOTCONN): Likewise.
30854 [POSIX] (ENOTSOCK): Likewise.
30855 [POSIX] (EOPNOTSUPP): Likewise.
30856 [POSIX] (EOVERFLOW): Likewise.
30857 [POSIX] (EPROTO): Likewise.
30858 [POSIX] (EPROTONOSUPPORT): Likewise.
30859 [POSIX] (EPROTOTYPE): Likewise.
30860 [POSIX] (ESTALE): Likewise.
30861 [POSIX] (ETIME): Likewise.
30862 [POSIX] (ETXTBSY): Likewise.
30863 [POSIX] (EWOULDBLOCK): Likewise.
30864 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
30865 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
30866 [POSIX] (SEEK_CUR): Likewise.
30867 [POSIX] (SEEK_END): Likewise.
30868 [POSIX || UNIX98] (mode_t): Do not require.
30869 [POSIX] (off_t): Likewise.
30870 [POSIX] (pid_t): Likewise.
30871 [POSIX] (sys/stat.h): Do not allow header.
30872 [POSIX] (unistd.h): Likewise.
30873 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
30874 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
30875 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
30876 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
30877 require.
30878 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
30879 sigevent): Specify elements.
30880 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
30881 entry.
30882 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
30883 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
30884
a483863f
JM
30885 * conform/data/cpio.h-data [POSIX]: Disable whole file.
30886 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
30887 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
30888 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
30889 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
30890 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
30891 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
30892 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
30893 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
30894 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
30895 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
30896 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
30897 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
30898 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
30899 Likewise.
30900 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
30901 Likewise.
30902 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
30903 Likewise.
30904 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
30905 Likewise.
30906 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
30907 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
30908 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
30909 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
30910 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
30911 Specify lower bound on value.
30912 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
30913 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
30914 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
30915 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
30916 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
30917 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
30918 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
30919 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
30920 value.
30921 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
30922 as optional.
30923 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
30924 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
30925 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
30926 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
30927 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
30928 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
30929 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
30930 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
30931 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
30932 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
30933 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
30934 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
30935 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
30936 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
30937 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
30938 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
30939 entry.
30940 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
30941 optional.
30942 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
30943 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
30944 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
30945 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
30946 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
30947 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
30948 Likewise.
30949 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
30950 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
30951 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
30952 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
30953 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
30954 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
30955 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
30956 as optional.
30957 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
30958 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
30959 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
30960 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
30961 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
30962 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
30963 specify as optional.
30964 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
30965 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
30966 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
30967 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
30968 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
30969 [XPG3] (NL_LANGMAX): Likewise.
30970 [POSIX || XPG3] (NL_MSGMAX): Likewise.
30971 [POSIX || XPG3] (NL_NMAX): Likewise.
30972 [POSIX || XPG3] (NL_SETMAX): Likewise.
30973 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
30974 [XPG3] (NZERO): Likewise.
30975 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
30976 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
30977 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
30978 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
30979 (REG_ERANGE): Expect.
30980 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
30981 optional-constant.
30982 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
30983 Use (void) in prototype.
30984 [POSIX] (*_t): Allow.
30985 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
30986 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
30987 (WRDE_BADVAL): Expect.
30988
5ba924e3
JM
30989 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
30990 expect.
30991 [XPG3 || XPG4] (O_RSYNC): Likewise.
30992 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
30993 Likewise.
30994 [XPG3 || XPG4] (pthread_sigmask): Likewise.
30995 [XPG3 || XPG4] (sigqueue): Likewise.
30996 [XPG3 || XPG4] (sigtimedwait): Likewise.
30997 [XPG3 || XPG4] (sigwaitinfo): Likewise.
30998 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
30999 [XPG3 || XPG4] (vsnprintf): Likewise.
31000 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
31001 Likewise.
31002 [XPG3 || XPG4] (blksize_t): Likewise.
31003 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
31004 Likewise.
31005 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
31006 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
31007 [XPG3 || XPG4] (struct itimerspec): Likewise.
31008 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
31009 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
31010 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
31011 [XPG3 || XPG4] (clockid_t): Likewise.
31012 [XPG3 || XPG4] (timer_t): Likewise.
31013 [XPG3 || XPG4] (clock_getres): Likewise.
31014 [XPG3 || XPG4] (clock_gettime): Likewise.
31015 [XPG3 || XPG4] (clock_settime): Likewise.
31016 [XPG3 || XPG4] (nanosleep): Likewise.
31017 [XPG3 || XPG4] (timer_create): Likewise.
31018 [XPG3 || XPG4] (timer_delete): Likewise.
31019 [XPG3 || XPG4] (timer_gettime): Likewise.
31020 [XPG3 || XPG4] (timer_getoverrun): Likewise.
31021 [XPG3 || XPG4] (timer_settime): Likewise.
31022 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
31023 [XPG3 || XPG4] (getlogin_r): Likewise.
31024 [XPG3 || XPG4] (pread): Likewise.
31025 [XPG3 || XPG4] (pthread_atfork): Likewise.
31026 [XPG3 || XPG4] (pwrite): Likewise.
31027
ee663277
JM
31028 [BZ #14835]
31029 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
31030 <bits/siginfo.h>.
31031
942caa16
PT
310322012-11-19 Pino Toscano <toscano.pino@tiscali.it>
31033
e19af380
PT
31034 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
31035 finalizing MALLSTREAM.
31036
942caa16
PT
31037 * sysdeps/mach/hurd/syncfs.c: New file.
31038
cfde9b46
SP
310392012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
31040
31041 [BZ #14719]
31042 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
31043 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
31044 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
31045 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
31046 (_nss_dns_gethostbyname4_r): Likewise.
31047 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
31048 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
31049
f6da27e5
PH
310502012-11-19 Peng Haitao <penght@cn.fujitsu.com>
31051
31052 [BZ #13763]
31053 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
31054
6665d4a2
SM
310552012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
31056
1f51ee92
SM
31057 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
31058 * elf/cache.c (print_entry): Print ",AArch64" for
31059 FLAG_AARCH64_LIB64
31060
6665d4a2
SM
31061 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
31062 * elf/cache.c (print_entry): Print ",hard-float" for
31063 FLAG_ARM_LIBHF.
31064
05b227bd
DM
310652012-11-18 David S. Miller <davem@davemloft.net>
31066
31067 With help from Joseph Myers.
31068 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
31069 cutoff to 2**-13.
31070 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
31071 cutoff to 2**-25.
31072 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
31073 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
31074 small.
31075 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
31076 * math/libm-test.inc (y0_test): New tests.
31077 (y1_test): New tests.
31078 * sysdeps/i386/fpu/libm-test-ulps: Update.
31079 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31080 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31081
786b0b67
AS
310822012-11-18 Andreas Schwab <schwab@linux-m68k.org>
31083
31084 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
31085 64-bit targets.
31086 * configure: Regenerated.
31087
8e18b86d
DM
310882012-11-17 David S. Miller <davem@davemloft.net>
31089
31090 [BZ #14811]
31091 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
31092 nonzero exponents with absolute value below 0x1p-128 to +/-
31093 0x1p-128.
31094
531f1ae0
JM
310952012-11-17 Joseph Myers <joseph@codesourcery.com>
31096
12df29e2
JM
31097 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
31098
150dc1a0
JM
31099 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
31100
531f1ae0
JM
31101 * posix/getconf-speclist.c: New file.
31102 * posix/posix-envs.def: Likewise.
31103 * posix/confstr.c (START_ENV_GROUP): New macro.
31104 (END_ENV_GROUP): Likewise.
31105 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
31106 (KNOWN_PRESENT_ENV_STRING): Likewise.
31107 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
31108 (UNKNOWN_ENVIRONMENT): Likewise.
31109 (confstr): Include posix-envs.def instead of handling
31110 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
31111 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
31112 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
31113 (END_ENV_GROUP): Likewise.
31114 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
31115 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
31116 (UNKNOWN_ENVIRONMENT): Likewise.
31117 (__sysconf): Include posix-envs.def instead of handling associated
31118 cases directly here.
31119 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
31120 preprocessing getconf-speclist.c rather than running getconf or
31121 generating empty file.
31122
a93f9cbc
PT
311232012-11-16 Pino Toscano <toscano.pino@tiscali.it>
31124
31125 * scripts/check-local-headers.sh: Ignore 'mach' headers.
31126
d64d9f87
AL
311272012-11-16 Andrej Lajovic <natrij@gmail.com>
31128
31129 [BZ #14672]
31130 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
31131
447885eb
DM
311322012-11-16 David S. Miller <davem@davemloft.net>
31133
31134 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
31135 smaller than LDBL_EPSILON/2.0L, just return xm1.
31136
bcbf9830
L
311372012-11-16 H.J. Lu <hongjiu.lu@intel.com>
31138
31139 * elf/tst-array1.c (init): Set constructor priority to 1000.
31140 (fini): Set destructor priority to 1000.
31141 * elf/tst-array2dep.c: Likewise.
31142
2b766585
SP
311432012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
31144
31145 [BZ #11741]
31146 * libio/fileops.c (_IO_new_file_write): Correctly return error.
31147 (_IO_new_file_xsputn): Also return EOF if none of the input
31148 data was written when overflow failed.
31149 * libio/iopadn.c (_IO_padn): Likewise.
31150 * libio/iowpadn.c (_IO_wpadn): Likewise.
31151 * stdio-common/tst-put-error.c: Add copyright notice.
31152 (do_test): Add case for printing padded string.
31153 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
31154 _IO_padn returned error.
31155 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
31156 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
31157 return EOF.
31158
b1848fde
SP
311592012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
31160
31161 * libio/libioP.h: Add comment note that the references to C++
31162 bits are now obsolete.
31163
2fd89785
MS
311642012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
31165
31166 * math/libm-test.inc (check_complex): Use asprintf.
31167
e3ea5409
JM
311682012-11-14 Joseph Myers <joseph@codesourcery.com>
31169
31170 * debug/pcprofiledump.c (print_version): Update copyright year.
31171 * malloc/memusagestat.c (print_version): Likewise.
31172
2e64d265
L
311732012-11-14 H.J. Lu <hongjiu.lu@intel.com>
31174
31175 [BZ #14831]
31176 * elf/Makefile (tests): Add tst-audit8.
31177 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
31178 ($(objpfx)tst-audit8.out): New target.
31179 (tst-audit8-ENV): New variable.
31180 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
31181 audit if l_reloc_result is NULL.
31182 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
31183 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
31184 * elf/tst-audit8.c: New file.
31185
c485e4d2
MS
311862012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
31187
31188 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
31189 * misc/Makefile (CFLAGS-select.c): Define.
31190 * posix/Makefile (CFLAGS-pause.c): Define.
31191
3a0d900a
DM
311922012-11-13 David S. Miller <davem@davemloft.net>
31193
31194 * crypt/Makefile: Move test targets after toplevel Rules
31195 inclusion. Grab any necessary sysdep routines when linking.
31196 * crypt/md5.c (md5_process_block): Remove define, we will always
31197 name it __md5_process_block.
31198 (md5_finish_ctx): Update md5_process_block call.
31199 (md5_stream): Likewise.
31200 (md5_process_bytes): Likewise.
31201 (md5_process_block): Rename to __md5_process_block and move to ...
31202 * crypt/md5-block.c: ... here.
31203 * crypt/sha256.c (sha256_process_block): Move to ...
31204 * crypt/sha256-block.c: ... here.
31205 * crypt/sha512.c (sha512_process_block): Move to ...
31206 * crypt/sha512-block.c: ... here.
31207 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
31208 path.
31209 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
31210 * sysdeps/sparc/sparc64/multiarch/Makefile
31211 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
31212 crypt subdir.
31213 (localedef-aux): Add md5 crypto assembler when in locale subdir.
31214 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
31215 multiarch changes.
31216 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
31217 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
31218 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
31219 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
31220 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
31221 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
31222 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
31223 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
31224 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
31225 file.
31226 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
31227 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
31228 file.
31229 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
31230
8ca89318
JM
312312012-11-13 Joseph Myers <joseph@codesourcery.com>
31232
e27d476a
JM
31233 * timezone/tzselect.ksh: Update from tzcode git revision
31234 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
31235 * timezone/zdump.c: Likewise.
31236 * timezone/zic.c: Likewise.
31237 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
31238 in TZVERSION setting, not $(PKGVERSION).
31239 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
31240 REPORT_BUGS_TO settings.
31241
8ca89318
JM
31242 [BZ #14838]
31243 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
31244 macro.
31245
47594329
MS
312462012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
31247
31248 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
31249 detection to immediately after _FP_ROUND().
31250 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
31251 bits are 0.
31252
640ac3f1
DM
312532012-11-11 David S. Miller <davem@davemloft.net>
31254
31255 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
31256 inttypes.h
31257 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
31258 __close rather than their public counterparts.
31259
3d2577bb
JM
312602012-11-10 Joseph Myers <joseph@codesourcery.com>
31261
31262 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
31263 file.
31264 [UNIX98] (sem_timedwait): Do not expect.
31265 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
31266 [XPG4 || UNIX98] (sockatmark): Do not expect.
31267 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
31268 (clock_getcpuclockid): Do not expect.
31269 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
31270 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
31271 Do not expect.
31272 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
31273 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
31274 [UNIX98] (vwscanf): Likewise.
31275 [UNIX98] (vswscanf): Likewise.
31276
fb1ae1ee
JM
312772012-11-09 Joseph Myers <joseph@codesourcery.com>
31278
9ec6f8bd
JM
31279 * timezone/version.h: Remove file.
31280 * timezone/README: Do not refer to version.h.
31281 * timezone/Makefile ($(objpfx)zic.o): New dependency on
31282 $(objpfx)version.h.
31283 ($(objpfx)zdump.o): Likewise.
c3f81911 31284 ($(objpfx)version.h): New target.
9ec6f8bd 31285
0aa8f8a1
JM
31286 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
31287 2012i.
31288 * timezone/README: Don't mention modification to tzselect.ksh.
31289 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
31290 work on unmodified tzselect.ksh. Substitute version numbers in
31291 tzselect.ksh.
31292
4e87147f
JM
31293 * Makefile (format-me): Remove.
31294 (INSTALL): Adjust indentation. Use commands directly instead of
31295 using $(format-me).
31296
8b748aed
JM
31297 * aclocal.m4 (ACX_PKGVERSION): New macro.
31298 (ACX_BUGURL): Likewise.
31299 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
31300 (PKGVERSION): New AC_DEFINE_UNQUOTED.
31301 (REPORT_BUGS_TO): Likewise.
31302 * configure: Regenerated.
31303 * config.h.in (PKGVERSION): New macro.
31304 (REPORT_BUGS_TO): Likewise.
31305 * config.make.in (PKGVERSION): New variable.
31306 (PKGVERSION_TEXI): Likewise.
31307 (REPORT_BUGS_TO): Likewise.
31308 (REPORT_BUGS_TEXI): Likewise.
31309 * Makefile (format-me): Use -I$(common-objpfx)manual.
31310 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
31311 ($(common-objpfx)manual/%): New target.
31312 (manual/%): Remove target.
31313 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
31314 (print_version): Use PKGVERSION.
31315 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
31316 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
31317 and REPORT_BUGS_TO.
31318 ($(objpfx)xtrace): Likewise.
31319 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
31320 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
31321 (print_version): Use PKGVERSION.
31322 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
31323 (do_version): Use PKGVERSION.
31324 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
31325 REPORT_BUGS_TO.
31326 (common-ldd-rewrite): Likewise.
31327 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
31328 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
31329 (print_version): Use PKGVERSION.
31330 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
31331 * elf/pldd.c (argp_program_bug_address): Remove variable.
31332 (more_help): New function.
31333 (argp): Use more_help.
31334 (print_version): Use PKGVERSION.
31335 * elf/sln.c (main): Use PKGVERSION.
31336 (usage): Use REPORT_BUGS_TO.
31337 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
31338 (top level): Use PKGVERSION.
31339 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
31340 (print_version): Use PKGVERSION.
31341 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
31342 (print_version): Use PKGVERSION.
31343 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
31344 (print_version): Use PKGVERSION.
31345 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
31346 (print_version): Use PKGVERSION.
31347 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
31348 (print_version): Use PKGVERSION.
31349 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
31350 (print_version): Use PKGVERSION.
31351 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
31352 and BUGURL.
31353 ($(objpfx)memusage): Likewise.
31354 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
31355 (do_version): Use PKGVERSION.
31356 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
31357 (print_version): Use PKGVERSION.
31358 * malloc/mtrace.pl ($PACKAGE): Remove variable.
31359 ($PKGVERSION): New variable.
31360 ($REPORT_BUGS_TO): Likewise.
31361 (usage): Use $REPORT_BUGS_TO.
31362 (top level): Use $PKGVERSION.
31363 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
31364 ($(objpfx)pkgvers.texi): New rule.
31365 ($(objpfx)stamp-pkgvers): Likewise.
31366 * manual/install.texi: Include pkgvers.texi.
31367 (--with-pkgversion): Document new configure option.
31368 (--with-bugurl): Likewise.
31369 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
31370 than necessarily for this particular distribution. Use
31371 REPORT_BUGS_TO for where to report bugs.
31372 * INSTALL: Regenerated.
31373 * manual/libc.texinfo: Include pkgvers.texi.
31374 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
31375 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
31376 (print_version): Use PKGVERSION.
31377 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
31378 (print_version): Use PKGVERSION.
31379 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
31380 (print_version): Use PKGVERSION.
31381 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
31382 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
31383 macro.
31384 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
31385 (print_version): Use PKGVERSION.
31386 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
31387 (print_version): Use PKGVERSION.
31388 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
31389 and PKGVERSION.
31390
92e4b6a9
JM
31391 * timezone/checktab.awk: Update from tzcode 2012i.
31392 * timezone/ialloc.c: Likewise.
31393 * timezone/private.h: Likewise.
31394 * timezone/scheck.c: Likewise.
31395 * timezone/tzfile.h: Likewise.
31396 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
31397 (TZVERSION): Hardcode tzcode version number.
31398 * timezone/zdump.c: Update from tzcode 2012i.
31399 * timezone/zic.c: Likewise.
31400 * timezone/version.h: New file.
31401 * timezone/README: Describe version.h. Update upstream location.
31402
9bde902c
JM
31403 [BZ #14824]
31404 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
31405 (mktemp): Enable declaration.
31406 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
31407 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
31408 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
31409 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
31410 Likewise.
31411 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
31412 Likewise.
31413 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
31414 Likewise.
31415 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
31416 Likewise.
31417 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
31418 Likewise.
31419 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
31420 Likewise.
31421
fb1ae1ee
JM
31422 [BZ #14821]
31423 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
31424 offset in buffer as u_int32_t not u_long. Consistently use memcpy
31425 for copies of such integer values.
31426 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
31427 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
31428
2c1adbcb
AJ
314292012-11-09 Andreas Jaeger <aj@suse.de>
31430
31431 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
31432 definitions and declarations that are provided by
31433 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
31434
d0f8457e
AK
314352012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31436
3a235abb 31437 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
31438 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
31439 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
31440 definition.
31441
57241e26
MS
314422012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
31443
31444 * elf/elf.h: Update comment before AArch64 relocations.
31445
60e8270d
DM
314462012-11-07 David S. Miller <davem@davemloft.net>
31447
31448 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
31449 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
31450 (__start_context): Declare.
31451 (__makecontext_ret): Delete.
31452 (__makecontext): Hook up __start_context instead of
31453 __makecontext_ret.
31454 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
31455 (sysdep_routines): Add __start_context when in stdlib.
31456
0fbb0fbc
JM
314572012-11-07 Joseph Myers <joseph@codesourcery.com>
31458
31459 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
31460 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
31461 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
31462 hardcoded "nm".
31463 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
31464 (READELF): New variable. Use it instead of hardcoded "readelf".
31465
eb48db7e
L
314662012-11-07 H.J. Lu <hongjiu.lu@intel.com>
31467
31468 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
31469 * sysdeps/x86/Makefile: Here.
31470 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
31471 * sysdeps/x86/tst-xmmymm.sh: This.
31472
05bcf62a
JM
314732012-11-07 Joseph Myers <joseph@codesourcery.com>
31474
c4b6cf53
JM
31475 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
31476 expectations.
31477 [UNIX98] (pthread_barrier_t): Do not expect.
31478 [UNIX98] (pthread_barrierattr_t): Likewise.
31479 [UNIX98] (pthread_spinlock_t): Likewise.
31480 [UNIX98] (pthread_barrier_destroy): Likewise.
31481 [UNIX98] (pthread_barrier_init): Likewise.
31482 [UNIX98] (pthread_barrier_wait): Likewise.
31483 [UNIX98] (pthread_barrierattr_destroy): Likewise.
31484 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
31485 [UNIX98] (pthread_barrierattr_init): Likewise.
31486 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
31487 [UNIX98] (pthread_getcpuclockid): Likewise.
31488 [UNIX98] (pthread_mutex_timedlock): Likewise.
31489 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
31490 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
31491 [UNIX98] (pthread_sigmask): Likewise.
31492 [UNIX98] (pthread_spin_destroy): Likewise.
31493 [UNIX98] (pthread_spin_init): Likewise.
31494 [UNIX98] (pthread_spin_lock): Likewise.
31495 [UNIX98] (pthread_spin_trylock): Likewise.
31496 [UNIX98] (pthread_spin_unlock): Likewise.
31497 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
31498 Do not expect.
31499 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
31500 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
31501 [XPG3 || XPG4] (pthread_cond_t): Likewise.
31502 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
31503 [XPG3 || XPG4] (pthread_key_t): Likewise.
31504 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
31505 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
31506 [XPG3 || XPG4] (pthread_once_t): Likewise.
31507 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
31508 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
31509 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
31510 [XPG3 || XPG4] (pthread_t): Likewise.
31511
cbe6e120
JM
31512 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
31513 not expect.
31514 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
31515
1b126443
JM
31516 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
31517 Change function return type to int.
31518
b961a573
JM
31519 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
31520 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
31521 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
31522 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
31523 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
31524 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
31525 [!POSIX] (posix_madvise): Likewise.
31526 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
31527 && !UNIX98].
31528 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
31529 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
31530 (mode_t): Likewise.
31531 (posix_mem_offset): Likewise.
31532 (posix_typed_mem_get_info): Likewise.
31533 (posix_typed_mem_open): Likewise.
31534
9e188909
JM
31535 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
31536 Change condition to [XOPEN2K8].
31537
05bcf62a
JM
31538 * conform/conformtest.pl: Preprocess allow-header data with -x c
31539 instead of from stdin.
31540 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
31541 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
31542 [C99-based standards] (cerfc): Likewise.
31543 [C99-based standards] (cexp2): Likewise.
31544 [C99-based standards] (cexpm1): Likewise.
31545 [C99-based standards] (clog10): Likewise.
31546 [C99-based standards] (clog1p): Likewise.
31547 [C99-based standards] (clog2): Likewise.
31548 [C99-based standards] (clgamma): Likewise.
31549 [C99-based standards] (ctgamma): Likewise.
31550 [C99-based standards] (cerff): Likewise.
31551 [C99-based standards] (cerfcf): Likewise.
31552 [C99-based standards] (cexp2f): Likewise.
31553 [C99-based standards] (cexpm1f): Likewise.
31554 [C99-based standards] (clog10f): Likewise.
31555 [C99-based standards] (clog1pf): Likewise.
31556 [C99-based standards] (clog2f): Likewise.
31557 [C99-based standards] (clgammaf): Likewise.
31558 [C99-based standards] (ctgammaf): Likewise.
31559 [C99-based standards] (cerfl): Likewise.
31560 [C99-based standards] (cerfcl): Likewise.
31561 [C99-based standards] (cexp2l): Likewise.
31562 [C99-based standards] (cexpm1l): Likewise.
31563 [C99-based standards] (clog10l): Likewise.
31564 [C99-based standards] (clog1pl): Likewise.
31565 [C99-based standards] (clog2l): Likewise.
31566 [C99-based standards] (clgammal): Likewise.
31567 [C99-based standards] (ctgammal): Likewise.
31568 * conform/data/inttypes.h-data [C99-based standards]: Include
31569 stdint.h-data. Remove all expectations for stdint.h contents.
31570 [C99-based standards] (PRI*): Do not allow.
31571 [C99-based standards] (SCN*): Likewise.
31572 [C99-based standards] (*_t): Likewise.
31573 [C99-based-standards] (PRId8): Expect macro.
31574 [C99-based-standards] (PRIi8): Likewise.
31575 [C99-based-standards] (PRIo8): Likewise.
31576 [C99-based-standards] (PRIu8): Likewise.
31577 [C99-based-standards] (PRIx8): Likewise.
31578 [C99-based-standards] (PRIX8): Likewise.
31579 [C99-based-standards] (SCNd8): Likewise.
31580 [C99-based-standards] (SCNi8): Likewise.
31581 [C99-based-standards] (SCNo8): Likewise.
31582 [C99-based-standards] (SCNu8): Likewise.
31583 [C99-based-standards] (SCNx8): Likewise.
31584 [C99-based-standards] (PRIdLEAST8): Likewise.
31585 [C99-based-standards] (PRIiLEAST8): Likewise.
31586 [C99-based-standards] (PRIoLEAST8): Likewise.
31587 [C99-based-standards] (PRIuLEAST8): Likewise.
31588 [C99-based-standards] (PRIxLEAST8): Likewise.
31589 [C99-based-standards] (PRIXLEAST8): Likewise.
31590 [C99-based-standards] (SCNdLEAST8): Likewise.
31591 [C99-based-standards] (SCNiLEAST8): Likewise.
31592 [C99-based-standards] (SCNoLEAST8): Likewise.
31593 [C99-based-standards] (SCNuLEAST8): Likewise.
31594 [C99-based-standards] (SCNxLEAST8): Likewise.
31595 [C99-based-standards] (PRIdFAST8): Likewise.
31596 [C99-based-standards] (PRIiFAST8): Likewise.
31597 [C99-based-standards] (PRIoFAST8): Likewise.
31598 [C99-based-standards] (PRIuFAST8): Likewise.
31599 [C99-based-standards] (PRIxFAST8): Likewise.
31600 [C99-based-standards] (PRIXFAST8): Likewise.
31601 [C99-based-standards] (SCNdFAST8): Likewise.
31602 [C99-based-standards] (SCNiFAST8): Likewise.
31603 [C99-based-standards] (SCNoFAST8): Likewise.
31604 [C99-based-standards] (SCNuFAST8): Likewise.
31605 [C99-based-standards] (SCNxFAST8): Likewise.
31606 [C99-based-standards] (PRId16): Likewise.
31607 [C99-based-standards] (PRIi16): Likewise.
31608 [C99-based-standards] (PRIo16): Likewise.
31609 [C99-based-standards] (PRIu16): Likewise.
31610 [C99-based-standards] (PRIx16): Likewise.
31611 [C99-based-standards] (PRIX16): Likewise.
31612 [C99-based-standards] (SCNd16): Likewise.
31613 [C99-based-standards] (SCNi16): Likewise.
31614 [C99-based-standards] (SCNo16): Likewise.
31615 [C99-based-standards] (SCNu16): Likewise.
31616 [C99-based-standards] (SCNx16): Likewise.
31617 [C99-based-standards] (PRIdLEAST16): Likewise.
31618 [C99-based-standards] (PRIiLEAST16): Likewise.
31619 [C99-based-standards] (PRIoLEAST16): Likewise.
31620 [C99-based-standards] (PRIuLEAST16): Likewise.
31621 [C99-based-standards] (PRIxLEAST16): Likewise.
31622 [C99-based-standards] (PRIXLEAST16): Likewise.
31623 [C99-based-standards] (SCNdLEAST16): Likewise.
31624 [C99-based-standards] (SCNiLEAST16): Likewise.
31625 [C99-based-standards] (SCNoLEAST16): Likewise.
31626 [C99-based-standards] (SCNuLEAST16): Likewise.
31627 [C99-based-standards] (SCNxLEAST16): Likewise.
31628 [C99-based-standards] (PRIdFAST16): Likewise.
31629 [C99-based-standards] (PRIiFAST16): Likewise.
31630 [C99-based-standards] (PRIoFAST16): Likewise.
31631 [C99-based-standards] (PRIuFAST16): Likewise.
31632 [C99-based-standards] (PRIxFAST16): Likewise.
31633 [C99-based-standards] (PRIXFAST16): Likewise.
31634 [C99-based-standards] (SCNdFAST16): Likewise.
31635 [C99-based-standards] (SCNiFAST16): Likewise.
31636 [C99-based-standards] (SCNoFAST16): Likewise.
31637 [C99-based-standards] (SCNuFAST16): Likewise.
31638 [C99-based-standards] (SCNxFAST16): Likewise.
31639 [C99-based-standards] (PRId32): Likewise.
31640 [C99-based-standards] (PRIi32): Likewise.
31641 [C99-based-standards] (PRIo32): Likewise.
31642 [C99-based-standards] (PRIu32): Likewise.
31643 [C99-based-standards] (PRIx32): Likewise.
31644 [C99-based-standards] (PRIX32): Likewise.
31645 [C99-based-standards] (SCNd32): Likewise.
31646 [C99-based-standards] (SCNi32): Likewise.
31647 [C99-based-standards] (SCNo32): Likewise.
31648 [C99-based-standards] (SCNu32): Likewise.
31649 [C99-based-standards] (SCNx32): Likewise.
31650 [C99-based-standards] (PRIdLEAST32): Likewise.
31651 [C99-based-standards] (PRIiLEAST32): Likewise.
31652 [C99-based-standards] (PRIoLEAST32): Likewise.
31653 [C99-based-standards] (PRIuLEAST32): Likewise.
31654 [C99-based-standards] (PRIxLEAST32): Likewise.
31655 [C99-based-standards] (PRIXLEAST32): Likewise.
31656 [C99-based-standards] (SCNdLEAST32): Likewise.
31657 [C99-based-standards] (SCNiLEAST32): Likewise.
31658 [C99-based-standards] (SCNoLEAST32): Likewise.
31659 [C99-based-standards] (SCNuLEAST32): Likewise.
31660 [C99-based-standards] (SCNxLEAST32): Likewise.
31661 [C99-based-standards] (PRIdFAST32): Likewise.
31662 [C99-based-standards] (PRIiFAST32): Likewise.
31663 [C99-based-standards] (PRIoFAST32): Likewise.
31664 [C99-based-standards] (PRIuFAST32): Likewise.
31665 [C99-based-standards] (PRIxFAST32): Likewise.
31666 [C99-based-standards] (PRIXFAST32): Likewise.
31667 [C99-based-standards] (SCNdFAST32): Likewise.
31668 [C99-based-standards] (SCNiFAST32): Likewise.
31669 [C99-based-standards] (SCNoFAST32): Likewise.
31670 [C99-based-standards] (SCNuFAST32): Likewise.
31671 [C99-based-standards] (SCNxFAST32): Likewise.
31672 [C99-based-standards] (PRId64): Likewise.
31673 [C99-based-standards] (PRIi64): Likewise.
31674 [C99-based-standards] (PRIo64): Likewise.
31675 [C99-based-standards] (PRIu64): Likewise.
31676 [C99-based-standards] (PRIx64): Likewise.
31677 [C99-based-standards] (PRIX64): Likewise.
31678 [C99-based-standards] (SCNd64): Likewise.
31679 [C99-based-standards] (SCNi64): Likewise.
31680 [C99-based-standards] (SCNo64): Likewise.
31681 [C99-based-standards] (SCNu64): Likewise.
31682 [C99-based-standards] (SCNx64): Likewise.
31683 [C99-based-standards] (PRIdLEAST64): Likewise.
31684 [C99-based-standards] (PRIiLEAST64): Likewise.
31685 [C99-based-standards] (PRIoLEAST64): Likewise.
31686 [C99-based-standards] (PRIuLEAST64): Likewise.
31687 [C99-based-standards] (PRIxLEAST64): Likewise.
31688 [C99-based-standards] (PRIXLEAST64): Likewise.
31689 [C99-based-standards] (SCNdLEAST64): Likewise.
31690 [C99-based-standards] (SCNiLEAST64): Likewise.
31691 [C99-based-standards] (SCNoLEAST64): Likewise.
31692 [C99-based-standards] (SCNuLEAST64): Likewise.
31693 [C99-based-standards] (SCNxLEAST64): Likewise.
31694 [C99-based-standards] (PRIdFAST64): Likewise.
31695 [C99-based-standards] (PRIiFAST64): Likewise.
31696 [C99-based-standards] (PRIoFAST64): Likewise.
31697 [C99-based-standards] (PRIuFAST64): Likewise.
31698 [C99-based-standards] (PRIxFAST64): Likewise.
31699 [C99-based-standards] (PRIXFAST64): Likewise.
31700 [C99-based-standards] (SCNdFAST64): Likewise.
31701 [C99-based-standards] (SCNiFAST64): Likewise.
31702 [C99-based-standards] (SCNoFAST64): Likewise.
31703 [C99-based-standards] (SCNuFAST64): Likewise.
31704 [C99-based-standards] (SCNxFAST64): Likewise.
31705 [C99-based-standards] (PRIdMAX): Likewise.
31706 [C99-based-standards] (PRIiMAX): Likewise.
31707 [C99-based-standards] (PRIoMAX): Likewise.
31708 [C99-based-standards] (PRIuMAX): Likewise.
31709 [C99-based-standards] (PRIxMAX): Likewise.
31710 [C99-based-standards] (PRIXMAX): Likewise.
31711 [C99-based-standards] (SCNdMAX): Likewise.
31712 [C99-based-standards] (SCNiMAX): Likewise.
31713 [C99-based-standards] (SCNoMAX): Likewise.
31714 [C99-based-standards] (SCNuMAX): Likewise.
31715 [C99-based-standards] (SCNxMAX): Likewise.
31716 [C99-based-standards] (PRIdPTR): Likewise.
31717 [C99-based-standards] (PRIiPTR): Likewise.
31718 [C99-based-standards] (PRIoPTR): Likewise.
31719 [C99-based-standards] (PRIuPTR): Likewise.
31720 [C99-based-standards] (PRIxPTR): Likewise.
31721 [C99-based-standards] (PRIXPTR): Likewise.
31722 [C99-based-standards] (SCNdPTR): Likewise.
31723 [C99-based-standards] (SCNiPTR): Likewise.
31724 [C99-based-standards] (SCNoPTR): Likewise.
31725 [C99-based-standards] (SCNuPTR): Likewise.
31726 [C99-based-standards] (SCNxPTR): Likewise.
31727 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
31728 allow.
31729 * conform/data/stdint.h-data: Update comments to clarify
31730 requirements.
31731 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
31732 type.
31733 [C99-based standards] (INT8_MAX): Likewise.
31734 [C99-based standards] (INT16_MIN): Likewise.
31735 [C99-based standards] (INT16_MAX): Likewise.
31736 [C99-based standards] (INT32_MIN): Likewise.
31737 [C99-based standards] (INT32_MAX): Likewise.
31738 [C99-based standards] (INT64_MIN): Likewise.
31739 [C99-based standards] (INT64_MAX): Likewise.
31740 [C99-based standards] (UINT8_MAX): Likewise.
31741 [C99-based standards] (UINT16_MAX): Likewise.
31742 [C99-based standards] (UINT32_MAX): Likewise.
31743 [C99-based standards] (UINT64_MAX): Likewise.
31744 [C99-based standards] (INT_LEAST8_MIN): Likewise.
31745 [C99-based standards] (INT_LEAST8_MAX): Likewise.
31746 [C99-based standards] (INT_LEAST16_MIN): Likewise.
31747 [C99-based standards] (INT_LEAST16_MAX): Likewise.
31748 [C99-based standards] (INT_LEAST32_MIN): Likewise.
31749 [C99-based standards] (INT_LEAST32_MAX): Likewise.
31750 [C99-based standards] (INT_LEAST64_MIN): Likewise.
31751 [C99-based standards] (INT_LEAST64_MAX): Likewise.
31752 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
31753 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
31754 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
31755 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
31756 [C99-based standards] (INT_FAST8_MIN): Likewise.
31757 [C99-based standards] (INT_FAST8_MAX): Likewise.
31758 [C99-based standards] (INT_FAST16_MIN): Likewise.
31759 [C99-based standards] (INT_FAST16_MAX): Likewise.
31760 [C99-based standards] (INT_FAST32_MIN): Likewise.
31761 [C99-based standards] (INT_FAST32_MAX): Likewise.
31762 [C99-based standards] (INT_FAST64_MIN): Likewise.
31763 [C99-based standards] (INT_FAST64_MAX): Likewise.
31764 [C99-based standards] (UINT_FAST8_MAX): Likewise.
31765 [C99-based standards] (UINT_FAST16_MAX): Likewise.
31766 [C99-based standards] (UINT_FAST32_MAX): Likewise.
31767 [C99-based standards] (UINT_FAST64_MAX): Likewise.
31768 [C99-based standards] (INTPTR_MIN): Likewise.
31769 [C99-based standards] (INTPTR_MAX): Likewise.
31770 [C99-based standards] (UINTPTR_MAX): Likewise.
31771 [C99-based standards] (INTMAX_MIN): Likewise.
31772 [C99-based standards] (INTMAX_MAX): Likewise.
31773 [C99-based standards] (UINTMAX_MAX): Likewise.
31774 [C99-based standards] (PTRDIFF_MIN): Likewise.
31775 [C99-based standards] (PTRDIFF_MAX): Likewise.
31776 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
31777 [C99-based standards] (SIZE_MAX): Likewise.
31778 [C99-based standards] (WCHAR_MAX): Likewise.
31779 [C99-based standards] (WINT_MAX): Likewise.
31780 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
31781 constraint on value.
31782 [C99-based standards] (WCHAR_MIN): Likewise.
31783 [C99-based standards] (WINT_MIN): Likewise.
31784 [C99-based standards] (*_t): Allow.
31785 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
31786 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
31787 Include math.h-data and complex.h-data. Remove all expectations
31788 of math.h and complex.h contents.
31789 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
31790 at end of line.
31791 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
31792 (struct tm): Expect tag.
31793 [C99-based-standards] (wcstof): Expect function.
31794 [C99-based-standards] (wcstold): Likewise.
31795 [C99-based-standards] (wcstoll): Likewise.
31796 [C99-based-standards] (wcstoull): Likewise.
31797 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
31798 macro-int-constant. Specify type.
31799 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
31800 constraint on value.
31801 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
31802 Specify type.
31803 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
31804 Specify value.
31805 [ISO C standards]: Do not allow headers.
31806 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
31807 wcs[abcdefghijklmnopqrstuvwxyz]*.
31808 [ISO C standards] (*_t): Do not allow.
31809 * conform/data/wctype.h-data [C99-based standards] (iswblank):
31810 Expect function.
31811 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
31812 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
31813 Specify type.
31814 [ISO C standards]: Do not allow headers.
31815 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
31816 is[abcdefghijklmnopqrstuvwxyz]*.
31817 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
31818 to[abcdefghijklmnopqrstuvwxyz]*.
31819 [ISO C standards] (*_t): Do not allow.
31820 * conform/data/stdalign.h-data: New file.
31821 * conform/data/stdbool.h-data: Likewise.
31822 * conform/data/stdnoreturn.h-data: Likewise.
31823
7514feb8
RM
318242012-11-07 Roland McGrath <roland@hack.frob.com>
31825
31826 [BZ #14815]
31827 * manual/filesys.texi (Directory Entries): Typo fix.
31828 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
31829
19b2ecfc
MS
318302012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
31831
31832 * elf/elf.h (EM_AARCH64): New macro.
31833 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
31834 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
31835 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
31836 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
31837 (R_AARCH64_TLSDESC): Likewise.
31838 (NT_ARM_TLS): Likewise.
31839 (NT_ARM_HW_BREAK): Likewise.
31840 (NT_ARM_HW_WATCH): Likewise.
31841
60e235ee
JM
318422012-11-07 Joseph Myers <joseph@codesourcery.com>
31843
31844 [BZ #14811]
31845 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
31846 (__ieee754_powl): Saturate nonzero exponents with absolute value
31847 below 0x1p-79 to +/- 0x1p-79.
31848 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
31849 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
31850 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
31851 nonzero exponents with absolute value below 0x1p-32 to +/-
31852 0x1p-32.
31853 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
31854 (__ieee754_powl): Saturate nonzero exponents with absolute value
31855 below 0x1p-79 to +/- 0x1p-79.
31856 * math/libm-test.inc (pow_test): Add more tests.
31857
0ab234b7
AK
318582012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31859
31860 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
31861 _dl_s390_cap_flags with kernel. Increase string length.
31862 (_dl_s390_platforms): Add z196 and zEC12.
31863
45832f74
JM
318642012-11-07 Joseph Myers <joseph@codesourcery.com>
31865
31866 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
31867 Change XOPEN21K to XOPEN2K.
31868
19218757
MK
318692012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
31870
31871 * string/memmove.c: Use memcpy when possible.
31872
c5f45721
AJ
318732012-11-06 Andreas Jaeger <aj@suse.de>
31874
31875 * po/eo.po: Update from translation team.
31876
82477c28
JM
318772012-11-06 Joseph Myers <joseph@codesourcery.com>
31878
31879 [BZ #14793]
31880 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
31881 exponent and small x and y exponents, scale x or y up. Increase
31882 by 2 the exponent used in scaling up.
31883 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
31884 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
31885 * math/libm-test.inc (fma_test): Add more tests.
31886 (fma_test_towardzero): Likewise.
31887 (fma_test_downward): Likewise.
31888 (fma_test_upward): Likewise.
31889
99252c8c
JM
318902012-11-05 Joseph Myers <joseph@codesourcery.com>
31891
acfa885f
JM
31892 [BZ #14805]
31893 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
31894 fenv_t *.
31895
99252c8c
JM
31896 [BZ #14801]
31897 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
31898 namespace for names of struct fields.
31899 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
31900 fenv_t fields.
31901 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
31902 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
31903
d6d98dea
ST
319042012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
31905
31906 [BZ #3665]
31907 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
31908
e10bb107
TS
319092012-11-04 Thomas Schwinge <thomas@codesourcery.com>
31910
31911 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
31912 PTR_DEMANGLE.
31913
31914 [BZ #5246]
31915 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
31916 PTR_DEMANGLE.
31917
a0c2940d
JM
319182012-11-04 Joseph Myers <joseph@codesourcery.com>
31919
31920 [BZ #14797]
31921 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
31922 definitely overflow as x * y not x * y + z.
31923 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
31924 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
31925 * math/libm-test.inc (fma_test): Add more tests.
31926 (fma_test_towardzero): Likewise.
31927 (fma_test_downward): Likewise.
31928 (fma_test_upward): Likewise.
31929
b830319d
TS
319302012-11-04 Thomas Schwinge <thomas@codesourcery.com>
31931
31932 [BZ #157]
31933
31934 * include/stub-tag.h: Remove file.
31935 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
31936 '#include' of it.
31937 * manual/maint.texi (Porting): Don't reference it.
31938 * Makerules ($(objpfx)stubs): Likewise.
31939 * dirent/closedir.c: Don't include <stub-tag.h>.
31940 * dirent/dirfd.c: Likewise.
31941 * dirent/fdopendir.c: Likewise.
31942 * dirent/getdents.c: Likewise.
31943 * dirent/getdents64.c: Likewise.
31944 * dirent/opendir.c: Likewise.
31945 * dirent/readdir.c: Likewise.
31946 * dirent/readdir64.c: Likewise.
31947 * dirent/readdir64_r.c: Likewise.
31948 * dirent/readdir_r.c: Likewise.
31949 * dirent/rewinddir.c: Likewise.
31950 * dirent/seekdir.c: Likewise.
31951 * dirent/telldir.c: Likewise.
31952 * gmon/profil.c: Likewise.
31953 * grp/setgroups.c: Likewise.
31954 * inet/if_index.c: Likewise.
31955 * io/access.c: Likewise.
31956 * io/chdir.c: Likewise.
31957 * io/chmod.c: Likewise.
31958 * io/chown.c: Likewise.
31959 * io/close.c: Likewise.
31960 * io/dup.c: Likewise.
31961 * io/dup2.c: Likewise.
31962 * io/dup3.c: Likewise.
31963 * io/euidaccess.c: Likewise.
31964 * io/faccessat.c: Likewise.
31965 * io/fchdir.c: Likewise.
31966 * io/fchmod.c: Likewise.
31967 * io/fchmodat.c: Likewise.
31968 * io/fchown.c: Likewise.
31969 * io/fchownat.c: Likewise.
31970 * io/fcntl.c: Likewise.
31971 * io/flock.c: Likewise.
31972 * io/fstatfs.c: Likewise.
31973 * io/fstatfs64.c: Likewise.
31974 * io/fstatvfs.c: Likewise.
31975 * io/fstatvfs64.c: Likewise.
31976 * io/futimens.c: Likewise.
31977 * io/fxstat.c: Likewise.
31978 * io/fxstat64.c: Likewise.
31979 * io/fxstatat.c: Likewise.
31980 * io/fxstatat64.c: Likewise.
31981 * io/getcwd.c: Likewise.
31982 * io/isatty.c: Likewise.
31983 * io/lchmod.c: Likewise.
31984 * io/lchown.c: Likewise.
31985 * io/link.c: Likewise.
31986 * io/linkat.c: Likewise.
31987 * io/lseek.c: Likewise.
31988 * io/lseek64.c: Likewise.
31989 * io/lxstat64.c: Likewise.
31990 * io/mkdir.c: Likewise.
31991 * io/mkdirat.c: Likewise.
31992 * io/mkfifo.c: Likewise.
31993 * io/mkfifoat.c: Likewise.
31994 * io/open.c: Likewise.
31995 * io/open64.c: Likewise.
31996 * io/openat.c: Likewise.
31997 * io/openat64.c: Likewise.
31998 * io/pipe.c: Likewise.
31999 * io/pipe2.c: Likewise.
32000 * io/poll.c: Likewise.
32001 * io/posix_fadvise.c: Likewise.
32002 * io/posix_fadvise64.c: Likewise.
32003 * io/posix_fallocate.c: Likewise.
32004 * io/posix_fallocate64.c: Likewise.
32005 * io/read.c: Likewise.
32006 * io/readlink.c: Likewise.
32007 * io/readlinkat.c: Likewise.
32008 * io/rmdir.c: Likewise.
32009 * io/sendfile.c: Likewise.
32010 * io/sendfile64.c: Likewise.
32011 * io/statfs.c: Likewise.
32012 * io/statfs64.c: Likewise.
32013 * io/statvfs.c: Likewise.
32014 * io/statvfs64.c: Likewise.
32015 * io/symlink.c: Likewise.
32016 * io/symlinkat.c: Likewise.
32017 * io/ttyname.c: Likewise.
32018 * io/ttyname_r.c: Likewise.
32019 * io/umask.c: Likewise.
32020 * io/unlink.c: Likewise.
32021 * io/unlinkat.c: Likewise.
32022 * io/utime.c: Likewise.
32023 * io/utimensat.c: Likewise.
32024 * io/write.c: Likewise.
32025 * io/xmknod.c: Likewise.
32026 * io/xmknodat.c: Likewise.
32027 * io/xstat.c: Likewise.
32028 * io/xstat64.c: Likewise.
32029 * login/getpt.c: Likewise.
32030 * login/grantpt.c: Likewise.
32031 * login/unlockpt.c: Likewise.
32032 * math/e_acoshl.c: Likewise.
32033 * math/e_acosl.c: Likewise.
32034 * math/e_asinl.c: Likewise.
32035 * math/e_atan2l.c: Likewise.
32036 * math/e_atanhl.c: Likewise.
32037 * math/e_coshl.c: Likewise.
32038 * math/e_expl.c: Likewise.
32039 * math/e_fmodl.c: Likewise.
32040 * math/e_gammal_r.c: Likewise.
32041 * math/e_hypotl.c: Likewise.
32042 * math/e_j0l.c: Likewise.
32043 * math/e_j1l.c: Likewise.
32044 * math/e_jnl.c: Likewise.
32045 * math/e_lgammal_r.c: Likewise.
32046 * math/e_log10l.c: Likewise.
32047 * math/e_log2l.c: Likewise.
32048 * math/e_logl.c: Likewise.
32049 * math/e_powl.c: Likewise.
32050 * math/e_rem_pio2l.c: Likewise.
32051 * math/e_sinhl.c: Likewise.
32052 * math/e_sqrtl.c: Likewise.
32053 * math/fclrexcpt.c: Likewise.
32054 * math/fedisblxcpt.c: Likewise.
32055 * math/feenablxcpt.c: Likewise.
32056 * math/fegetenv.c: Likewise.
32057 * math/fegetexcept.c: Likewise.
32058 * math/fegetround.c: Likewise.
32059 * math/feholdexcpt.c: Likewise.
32060 * math/fesetenv.c: Likewise.
32061 * math/fesetround.c: Likewise.
32062 * math/feupdateenv.c: Likewise.
32063 * math/fgetexcptflg.c: Likewise.
32064 * math/fraiseexcpt.c: Likewise.
32065 * math/fsetexcptflg.c: Likewise.
32066 * math/ftestexcept.c: Likewise.
32067 * math/k_cosl.c: Likewise.
32068 * math/k_rem_pio2l.c: Likewise.
32069 * math/k_sinl.c: Likewise.
32070 * math/k_tanl.c: Likewise.
32071 * math/s_asinhl.c: Likewise.
32072 * math/s_atanl.c: Likewise.
32073 * math/s_cbrtl.c: Likewise.
32074 * math/s_erfl.c: Likewise.
32075 * math/s_expm1l.c: Likewise.
32076 * math/s_log1pl.c: Likewise.
32077 * math/s_tanhl.c: Likewise.
32078 * misc/acct.c: Likewise.
32079 * misc/brk.c: Likewise.
32080 * misc/chflags.c: Likewise.
32081 * misc/chroot.c: Likewise.
32082 * misc/fchflags.c: Likewise.
32083 * misc/fgetxattr.c: Likewise.
32084 * misc/flistxattr.c: Likewise.
32085 * misc/fremovexattr.c: Likewise.
32086 * misc/fsetxattr.c: Likewise.
32087 * misc/fsync.c: Likewise.
32088 * misc/ftruncate.c: Likewise.
32089 * misc/futimes.c: Likewise.
32090 * misc/futimesat.c: Likewise.
32091 * misc/getdomain.c: Likewise.
32092 * misc/getdtsz.c: Likewise.
32093 * misc/gethostid.c: Likewise.
32094 * misc/gethostname.c: Likewise.
32095 * misc/getloadavg.c: Likewise.
32096 * misc/getpagesize.c: Likewise.
32097 * misc/getsysstats.c: Likewise.
32098 * misc/getxattr.c: Likewise.
32099 * misc/gtty.c: Likewise.
32100 * misc/ioctl.c: Likewise.
32101 * misc/lgetxattr.c: Likewise.
32102 * misc/listxattr.c: Likewise.
32103 * misc/llistxattr.c: Likewise.
32104 * misc/lremovexattr.c: Likewise.
32105 * misc/lsetxattr.c: Likewise.
32106 * misc/lutimes.c: Likewise.
32107 * misc/madvise.c: Likewise.
32108 * misc/mincore.c: Likewise.
32109 * misc/mlock.c: Likewise.
32110 * misc/mlockall.c: Likewise.
32111 * misc/mmap.c: Likewise.
32112 * misc/mprotect.c: Likewise.
32113 * misc/msync.c: Likewise.
32114 * misc/munlock.c: Likewise.
32115 * misc/munlockall.c: Likewise.
32116 * misc/munmap.c: Likewise.
32117 * misc/preadv.c: Likewise.
32118 * misc/preadv64.c: Likewise.
32119 * misc/ptrace.c: Likewise.
32120 * misc/pwritev.c: Likewise.
32121 * misc/pwritev64.c: Likewise.
32122 * misc/readv.c: Likewise.
32123 * misc/reboot.c: Likewise.
32124 * misc/remap_file_pages.c: Likewise.
32125 * misc/removexattr.c: Likewise.
32126 * misc/revoke.c: Likewise.
32127 * misc/select.c: Likewise.
32128 * misc/setdomain.c: Likewise.
32129 * misc/setegid.c: Likewise.
32130 * misc/seteuid.c: Likewise.
32131 * misc/sethostid.c: Likewise.
32132 * misc/sethostname.c: Likewise.
32133 * misc/setregid.c: Likewise.
32134 * misc/setreuid.c: Likewise.
32135 * misc/setxattr.c: Likewise.
32136 * misc/sstk.c: Likewise.
32137 * misc/stty.c: Likewise.
32138 * misc/swapoff.c: Likewise.
32139 * misc/swapon.c: Likewise.
32140 * misc/sync.c: Likewise.
32141 * misc/syncfs.c: Likewise.
32142 * misc/syscall.c: Likewise.
32143 * misc/truncate.c: Likewise.
32144 * misc/ualarm.c: Likewise.
32145 * misc/usleep.c: Likewise.
32146 * misc/ustat.c: Likewise.
32147 * misc/utimes.c: Likewise.
32148 * misc/vhangup.c: Likewise.
32149 * misc/writev.c: Likewise.
32150 * posix/_exit.c: Likewise.
32151 * posix/alarm.c: Likewise.
32152 * posix/execve.c: Likewise.
32153 * posix/fexecve.c: Likewise.
32154 * posix/fork.c: Likewise.
32155 * posix/fpathconf.c: Likewise.
32156 * posix/getaddrinfo.c: Likewise.
32157 * posix/getegid.c: Likewise.
32158 * posix/geteuid.c: Likewise.
32159 * posix/getgid.c: Likewise.
32160 * posix/getgroups.c: Likewise.
32161 * posix/getlogin.c: Likewise.
32162 * posix/getlogin_r.c: Likewise.
32163 * posix/getpgid.c: Likewise.
32164 * posix/getpid.c: Likewise.
32165 * posix/getppid.c: Likewise.
32166 * posix/getresgid.c: Likewise.
32167 * posix/getresuid.c: Likewise.
32168 * posix/getsid.c: Likewise.
32169 * posix/getuid.c: Likewise.
32170 * posix/glob64.c: Likewise.
32171 * posix/nanosleep.c: Likewise.
32172 * posix/pathconf.c: Likewise.
32173 * posix/pause.c: Likewise.
32174 * posix/posix_madvise.c: Likewise.
32175 * posix/pread.c: Likewise.
32176 * posix/pread64.c: Likewise.
32177 * posix/pwrite.c: Likewise.
32178 * posix/pwrite64.c: Likewise.
32179 * posix/sched_getaffinity.c: Likewise.
32180 * posix/sched_getp.c: Likewise.
32181 * posix/sched_gets.c: Likewise.
32182 * posix/sched_primax.c: Likewise.
32183 * posix/sched_primin.c: Likewise.
32184 * posix/sched_rr_gi.c: Likewise.
32185 * posix/sched_setaffinity.c: Likewise.
32186 * posix/sched_setp.c: Likewise.
32187 * posix/sched_sets.c: Likewise.
32188 * posix/sched_yield.c: Likewise.
32189 * posix/setgid.c: Likewise.
32190 * posix/setlogin.c: Likewise.
32191 * posix/setpgid.c: Likewise.
32192 * posix/setresgid.c: Likewise.
32193 * posix/setresuid.c: Likewise.
32194 * posix/setsid.c: Likewise.
32195 * posix/setuid.c: Likewise.
32196 * posix/sleep.c: Likewise.
32197 * posix/spawni.c: Likewise.
32198 * posix/sysconf.c: Likewise.
32199 * posix/times.c: Likewise.
32200 * posix/wait.c: Likewise.
32201 * posix/wait3.c: Likewise.
32202 * posix/wait4.c: Likewise.
32203 * posix/waitpid.c: Likewise.
32204 * resolv/gai_sigqueue.c: Likewise.
32205 * resource/getpriority.c: Likewise.
32206 * resource/getrlimit.c: Likewise.
32207 * resource/getrusage.c: Likewise.
32208 * resource/nice.c: Likewise.
32209 * resource/setpriority.c: Likewise.
32210 * resource/setrlimit.c: Likewise.
32211 * resource/ulimit.c: Likewise.
32212 * rt/aio_cancel.c: Likewise.
32213 * rt/aio_fsync.c: Likewise.
32214 * rt/aio_read.c: Likewise.
32215 * rt/aio_sigqueue.c: Likewise.
32216 * rt/aio_suspend.c: Likewise.
32217 * rt/aio_write.c: Likewise.
32218 * rt/clock_getres.c: Likewise.
32219 * rt/clock_gettime.c: Likewise.
32220 * rt/clock_nanosleep.c: Likewise.
32221 * rt/clock_settime.c: Likewise.
32222 * rt/lio_listio.c: Likewise.
32223 * rt/mq_close.c: Likewise.
32224 * rt/mq_getattr.c: Likewise.
32225 * rt/mq_notify.c: Likewise.
32226 * rt/mq_open.c: Likewise.
32227 * rt/mq_receive.c: Likewise.
32228 * rt/mq_send.c: Likewise.
32229 * rt/mq_setattr.c: Likewise.
32230 * rt/mq_timedreceive.c: Likewise.
32231 * rt/mq_timedsend.c: Likewise.
32232 * rt/mq_unlink.c: Likewise.
32233 * rt/shm_open.c: Likewise.
32234 * rt/shm_unlink.c: Likewise.
32235 * rt/timer_create.c: Likewise.
32236 * rt/timer_delete.c: Likewise.
32237 * rt/timer_getoverr.c: Likewise.
32238 * rt/timer_gettime.c: Likewise.
32239 * rt/timer_settime.c: Likewise.
32240 * setjmp/__longjmp.c: Likewise.
32241 * setjmp/setjmp.c: Likewise.
32242 * signal/kill.c: Likewise.
32243 * signal/killpg.c: Likewise.
32244 * signal/raise.c: Likewise.
32245 * signal/sigaction.c: Likewise.
32246 * signal/sigaltstack.c: Likewise.
32247 * signal/sigblock.c: Likewise.
32248 * signal/sigignore.c: Likewise.
32249 * signal/sigintr.c: Likewise.
32250 * signal/signal.c: Likewise.
32251 * signal/sigpause.c: Likewise.
32252 * signal/sigpending.c: Likewise.
32253 * signal/sigqueue.c: Likewise.
32254 * signal/sigreturn.c: Likewise.
32255 * signal/sigset.c: Likewise.
32256 * signal/sigsetmask.c: Likewise.
32257 * signal/sigstack.c: Likewise.
32258 * signal/sigsuspend.c: Likewise.
32259 * signal/sigtimedwait.c: Likewise.
32260 * signal/sigvec.c: Likewise.
32261 * signal/sigwait.c: Likewise.
32262 * signal/sigwaitinfo.c: Likewise.
32263 * signal/sysv_signal.c: Likewise.
32264 * socket/accept.c: Likewise.
32265 * socket/accept4.c: Likewise.
32266 * socket/bind.c: Likewise.
32267 * socket/connect.c: Likewise.
32268 * socket/getpeername.c: Likewise.
32269 * socket/getsockname.c: Likewise.
32270 * socket/getsockopt.c: Likewise.
32271 * socket/isfdtype.c: Likewise.
32272 * socket/listen.c: Likewise.
32273 * socket/recv.c: Likewise.
32274 * socket/recvfrom.c: Likewise.
32275 * socket/recvmsg.c: Likewise.
32276 * socket/send.c: Likewise.
32277 * socket/sendmsg.c: Likewise.
32278 * socket/sendto.c: Likewise.
32279 * socket/setsockopt.c: Likewise.
32280 * socket/shutdown.c: Likewise.
32281 * socket/sockatmark.c: Likewise.
32282 * socket/socket.c: Likewise.
32283 * socket/socketpair.c: Likewise.
32284 * stdio-common/ctermid.c: Likewise.
32285 * stdio-common/cuserid.c: Likewise.
32286 * stdio-common/remove.c: Likewise.
32287 * stdio-common/rename.c: Likewise.
32288 * stdio-common/renameat.c: Likewise.
32289 * stdio-common/tempname.c: Likewise.
32290 * stdlib/getcontext.c: Likewise.
32291 * stdlib/makecontext.c: Likewise.
32292 * stdlib/setcontext.c: Likewise.
32293 * stdlib/swapcontext.c: Likewise.
32294 * stdlib/system.c: Likewise.
32295 * streams/fattach.c: Likewise.
32296 * streams/fdetach.c: Likewise.
32297 * streams/getmsg.c: Likewise.
32298 * streams/getpmsg.c: Likewise.
32299 * streams/putmsg.c: Likewise.
32300 * streams/putpmsg.c: Likewise.
32301 * sysdeps/unix/bsd/getpt.c: Likewise.
32302 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
32303 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
32304 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
32305 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
32306 Likewise.
32307 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
32308 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
32309 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
32310 * sysvipc/msgctl.c: Likewise.
32311 * sysvipc/msgget.c: Likewise.
32312 * sysvipc/msgrcv.c: Likewise.
32313 * sysvipc/msgsnd.c: Likewise.
32314 * sysvipc/semctl.c: Likewise.
32315 * sysvipc/semget.c: Likewise.
32316 * sysvipc/semop.c: Likewise.
32317 * sysvipc/semtimedop.c: Likewise.
32318 * sysvipc/shmat.c: Likewise.
32319 * sysvipc/shmctl.c: Likewise.
32320 * sysvipc/shmdt.c: Likewise.
32321 * sysvipc/shmget.c: Likewise.
32322 * termios/tcdrain.c: Likewise.
32323 * termios/tcflow.c: Likewise.
32324 * termios/tcflush.c: Likewise.
32325 * termios/tcgetattr.c: Likewise.
32326 * termios/tcgetpgrp.c: Likewise.
32327 * termios/tcsendbrk.c: Likewise.
32328 * termios/tcsetattr.c: Likewise.
32329 * termios/tcsetpgrp.c: Likewise.
32330 * time/adjtime.c: Likewise.
32331 * time/clock.c: Likewise.
32332 * time/getitimer.c: Likewise.
32333 * time/gettimeofday.c: Likewise.
32334 * time/setitimer.c: Likewise.
32335 * time/settimeofday.c: Likewise.
32336 * time/stime.c: Likewise.
32337 * time/time.c: Likewise.
32338
323392012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 32340
a20492cf
PT
32341 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
32342 /usr/old/bin.
32343
72e182e3
PT
32344 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
32345 instead of spaces.
32346 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
32347
fbeafede
JM
323482012-11-03 Joseph Myers <joseph@codesourcery.com>
32349
5b5b04d6
JM
32350 [BZ #14796]
32351 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
32352 FE_TONEAREST before applying Dekker multiplication and Knuth
32353 addition. Clear inexact exceptions and check for exact zero
32354 results afterwards.
32355 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
32356 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
32357 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
32358 * math/libm-test.inc (fma_test): Add more tests.
32359 (fma_test_towardzero): Likewise.
32360 (fma_test_downward): Likewise.
32361 (fma_test_upward): Likewise.
32362 * sysdeps/generic/math_private.h (default_libc_fesetround): New
32363 function.
32364 (libc_fesetround): New macro.
32365 (libc_fesetroundf): Likewise.
32366 (libc_fesetroundl): Likewise.
32367 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
32368 function.
32369 (libc_fesetround_387): Likewise.
32370 (libc_fesetroundf): New macro.
32371 (libc_fesetround): Likewise.
32372 (libc_fesetroundl): Likewise.
32373 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
32374 function.
32375 (libc_fesetroundf): New macro.
32376 (libc_fesetround): Likewise.
32377 (libc_fesetroundl): Likewise.
32378 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
32379 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
32380 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
32381 libm_hidden_ver.
32382 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
32383 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
32384 libm_hidden_def.
32385 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
32386 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
32387 libm_hidden_ver.
32388 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
32389 libm_hidden_def.
32390
fbeafede
JM
32391 [BZ #3439]
32392 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
32393 integer constant usable in #if and use that to give value to enum
32394 constant.
32395 (FE_DIVBYZERO): Likewise.
32396 (FE_UNDERFLOW): Likewise.
32397 (FE_OVERFLOW): Likewise.
32398 (FE_INVALID): Likewise.
32399 (FE_INVALID_SNAN): Likewise.
32400 (FE_INVALID_ISI): Likewise.
32401 (FE_INVALID_IDI): Likewise.
32402 (FE_INVALID_ZDZ): Likewise.
32403 (FE_INVALID_IMZ): Likewise.
32404 (FE_INVALID_COMPARE): Likewise.
32405 (FE_INVALID_SOFTWARE): Likewise.
32406 (FE_INVALID_SQRT): Likewise.
32407 (FE_INVALID_INTEGER_CONVERSION): Likewise.
32408 (FE_TONEAREST): Likewise.
32409 (FE_TOWARDZERO): Likewise.
32410 (FE_UPWARD): Likewise.
32411 (FE_DOWNWARD): Likewise.
32412 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
32413 (FE_DIVBYZERO): Likewise.
32414 (FE_OVERFLOW): Likewise.
32415 (FE_UNDERFLOW): Likewise.
32416 (FE_INEXACT): Likewise.
32417 (FE_TONEAREST): Likewise.
32418 (FE_DOWNWARD): Likewise.
32419 (FE_UPWARD): Likewise.
32420 (FE_TOWARDZERO): Likewise.
32421 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
32422 (FE_UNDERFLOW): Likewise.
32423 (FE_OVERFLOW): Likewise.
32424 (FE_DIVBYZERO): Likewise.
32425 (FE_INVALID): Likewise.
32426 (FE_TONEAREST): Likewise.
32427 (FE_TOWARDZERO): Likewise.
32428 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
32429 (FE_OVERFLOW): Likewise.
32430 (FE_UNDERFLOW): Likewise.
32431 (FE_DIVBYZERO): Likewise.
32432 (FE_INEXACT): Likewise.
32433 (FE_TONEAREST): Likewise.
32434 (FE_TOWARDZERO): Likewise.
32435 (FE_UPWARD): Likewise.
32436 (FE_DOWNWARD): Likewise.
32437 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
32438 (FE_DIVBYZERO): Likewise.
32439 (FE_OVERFLOW): Likewise.
32440 (FE_UNDERFLOW): Likewise.
32441 (FE_INEXACT): Likewise.
32442 (FE_TONEAREST): Likewise.
32443 (FE_DOWNWARD): Likewise.
32444 (FE_UPWARD): Likewise.
32445 (FE_TOWARDZERO): Likewise.
32446
105ca950
CM
324472012-11-02 Chris Metcalf <cmetcalf@tilera.com>
32448
32449 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
32450
a542b389
AS
324512012-11-03 Andreas Schwab <schwab@linux-m68k.org>
32452
32453 * scripts/cross-test-ssh.sh (command): Use newlines to separate
32454 commands. Quote $PWD.
32455 (blacklist_exports): Don't use remove_newlines. Replace "declare
32456 -x" by "export".
32457 (remove_newlines): Remove.
32458
f62c8abc
L
324592012-11-02 H.J. Lu <hongjiu.lu@intel.com>
32460
32461 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
32462 * stdlib/stdlib.h (atof): Moved to ...
32463 * include/bits/stdlib-float.h: Here. New file.
32464 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
32465 * stdlib/bits/stdlib-float.h: New file.
32466 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
32467 -mno-sse -mno-mmx.
32468 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
32469 <xmmintrin.h>.
32470
0155d5b2
JM
324712012-11-02 Joseph Myers <joseph@codesourcery.com>
32472
a68d0680
JM
32473 * conform/conformtest.pl (@headers): Add fenv.h.
32474 * conform/data/fenv.h-data: New file.
32475 * include/fenv.h [_ISOMAC]: Disable all contents of file except
32476 include of <math/fenv.h>.
32477
caf7f573
JM
32478 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
32479 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
32480 && !UNIX98]. Enables tests for XOPEN2K8.
32481 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
32482 POSIX2008]: Likewise.
32483
6c073ad6
JM
32484 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
32485 (struct rusage): Do not expect type or its members.
32486
0155d5b2
JM
32487 [BZ #3439]
32488 * math/math.h (FP_NAN): Define macro to integer constant usable in
32489 #if and use that to give value to enum constant.
32490 (FP_INFINITE): Likewise.
32491 (FP_ZERO): Likewise.
32492 (FP_SUBNORMAL): Likewise.
32493 (FP_NORMAL): Likewise.
32494
b5dcacb4
AS
324952012-11-02 Andreas Schwab <schwab@linux-m68k.org>
32496
32497 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
32498 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
32499 arguments.
32500
f7934be8
RM
325012012-11-02 Roland McGrath <roland@hack.frob.com>
32502
32503 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
32504 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
32505 autoconf-time if not.
32506 * configure.in: Remove AC_PREREQ.
32507
d7d08bde
TMQMF
325082012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
32509
32510 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
32511 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
32512 of the internal implementation.
32513
dcdae19a
JM
325142012-11-02 Joseph Myers <joseph@codesourcery.com>
32515
32516 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
32517 except include of <misc/sys/syslog.h>.
32518
d6cffd3e
AS
325192012-11-01 Andreas Schwab <schwab@linux-m68k.org>
32520
32521 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
32522 function returns with a NULL context exit with zero.
32523
b3563932
TMQMF
325242012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
32525
32526 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
32527
b288a93d
L
325282012-11-01 H.J. Lu <hongjiu.lu@intel.com>
32529
32530 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
32531 (run_program_cmd): This.
32532 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
32533 (tst_langinfo): New variable. Use it.
32534
a2421a68
SAS
325352012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
32536
32537 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
32538 floating point opcodes.
32539
6f796e1b
TS
325402012-11-01 Thomas Schwinge <thomas@codesourcery.com>
32541
7402596b
TS
32542 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
32543 variable.
32544
d0d4f868
TS
32545 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
32546
6f796e1b
TS
32547 * sysdeps/mach/hurd/powerpc: Remove directory.
32548 * sysdeps/mach/powerpc: Likewise.
32549
4da224a2
AS
325502012-11-01 Andreas Schwab <schwab@linux-m68k.org>
32551
32552 * scripts/check-local-headers.sh: Ignore c++ headers.
32553
341dd673
TS
325542012-11-01 Thomas Schwinge <thomas@codesourcery.com>
32555
32556 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
32557 __libc_cleanup_region_start argument.
32558
473611b2
JM
325592012-11-01 Joseph Myers <joseph@codesourcery.com>
32560
32561 [BZ #14784]
32562 [BZ #14785]
32563 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
32564 x * y using scaling, not as x * y + z.
32565 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
32566 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
32567 * math/libm-test.inc (fma_test): Add more tests.
32568 (fma_test_towardzero): Likewise.
32569 (fma_test_downward): Likewise.
32570 (fma_test_upward): Likewise.
32571
4078da3d
TS
325722012-11-01 Thomas Schwinge <thomas@codesourcery.com>
32573
32574 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
32575
903252aa
JM
325762012-10-31 Joseph Myers <joseph@codesourcery.com>
32577
32578 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
32579 New variable.
32580
cbc818d0
TS
325812012-10-31 Thomas Schwinge <thomas@codesourcery.com>
32582
32583 * rt/tst-shm.c (worker): Correct checking for mmap failure.
32584
5a03cb1e
AS
325852012-10-31 Andreas Schwab <schwab@linux-m68k.org>
32586
32587 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
32588 Fix sort order.
32589 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
32590 Likewise.
32591
90aff2ff
TMQMF
325922012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
32593
32594 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
32595 Fix the order of the list for glibc 2.17.
32596 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
32597 Likewise.
32598
1818fcb7
AS
325992012-10-31 Andreas Schwab <schwab@linux-m68k.org>
32600
32601 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32602
ef82f4da
JM
326032012-10-31 Joseph Myers <joseph@codesourcery.com>
32604
16a0e2ec
JM
32605 [BZ #14610]
32606 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
32607 for low part of x being zero before using __atanl (y).
32608 * math/libm-test.inc (atan2_test): Add another test.
32609
0eb69512
JM
32610 * manual/install.texi (Configuring and compiling): Document
32611 general use of test-wrapper and test-wrapper-env.
32612 * INSTALL: Regenerated.
32613
ef82f4da
JM
32614 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
32615 (__fma): Do not extract and scale down low bits on after-rounding
32616 systems when result rounded to normal precision would have normal
32617 exponent.
32618 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
32619 (__fmal): Do not extract and scale down low bits on after-rounding
32620 systems when result rounded to normal precision would have normal
32621 exponent.
32622 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
32623 (__fmal): Do not extract and scale down low bits on after-rounding
32624 systems when result rounded to normal precision would have normal
32625 exponent.
32626 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
32627 macro.
32628 (fma_test): Add more tests.
32629 (fma_test_towardzero): Likewise.
32630 (fma_test_downward): Likewise.
32631 (fma_test_upward): Likewise.
32632
954ef0d9
L
326332012-10-30 H.J. Lu <hongjiu.lu@intel.com>
32634
32635 * sysdeps/i386/tininess.h: Renamed to ...
32636 * sysdeps/x86/tininess.h: This.
32637 * sysdeps/x86_64/tininess.h: Removed.
32638
df61ffb2
JM
326392012-10-30 Joseph Myers <joseph@codesourcery.com>
32640
32641 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
32642 input. Use $(build-program-cmd).
32643 ($(objpfx)tst-array1-static.out): Likewise.
32644 ($(objpfx)tst-array2.out): Likewise.
32645 ($(objpfx)tst-array3.out): Likewise.
32646 ($(objpfx)tst-array4.out): Likewise.
32647 ($(objpfx)tst-array5.out): Likewise.
32648 ($(objpfx)tst-array5-static.out): Likewise.
32649
01767843
CM
326502012-10-30 Chris Metcalf <cmetcalf@tilera.com>
32651
47cc1490
CM
32652 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
32653 if defined.
32654
01767843
CM
32655 * nss/nsswitch.h (nss_interface_function): Provide new
32656 macro for use with NSS functions.
32657 * grp/initgroups.c: Use new macro.
32658 * nss/getXXbyYY.c: Likewise.
32659 * nss/getXXbyYY_r.c: Likewise.
32660 * nss/getXXent.c: Likewise.
32661 * nss/getXXent_r.c: Likewise.
32662 * sysdeps/posix/getaddrinfo.c: Likewise.
32663
8321aa97
AJ
326642012-10-30 Andreas Jaeger <aj@suse.de>
32665
32666 * po/ru.po: Update Russion translation from translation project.
32667
2a27fd6d
JM
326682012-10-30 Joseph Myers <joseph@codesourcery.com>
32669
8627a232
JM
32670 [BZ #14152]
32671 [BZ #14783]
32672 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
32673 result and shift together with sticky bit instead of replicating
32674 round-to-nearest rounding.
32675 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
32676 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
32677 * math/libm-test.inc (fma_test): Add more tests. Do not permit
32678 missing underflow exceptions.
32679 (fma_test_towardzero): Add more tests.
32680 (fma_test_downward): Likewise.
32681 (fma_test_upward): Likewise.
32682
2a27fd6d
JM
32683 [BZ #14047]
32684 * sysdeps/generic/tininess.h: New file.
32685 * sysdeps/i386/tininess.h: Likewise.
32686 * sysdeps/sh/tininess.h: Likewise.
32687 * sysdeps/x86_64/tininess.h: Likewise.
32688 * stdlib/tst-strtod-underflow.c: Likewise.
32689 * stdlib/tst-tininess.c: Likewise.
32690 * stdlib/strtod_l.c: Include <tininess.h>.
32691 (round_and_return): Do not set errno for exact underflow cases.
32692 Force an underflow exception when setting errno for underflow.
32693 Determine underflow based on rounding to normal precision if
32694 TININESS_AFTER_ROUNDING.
32695 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
32696 ERANGE for exact underflow cases.
32697 * stdlib/Makefile (tests): Add tst-tininess and
32698 tst-strtod-underflow.
32699 ($(objpfx)tst-tininess): Use $(link-libm).
32700 ($(objpfx)tst-strtod-underflow): Likewise.
32701
e7170363
AJ
327022012-10-30 Andreas Jaeger <aj@suse.de>
32703
e5088dc6
AJ
32704 [BZ#14767]
32705 * elf/Makefile (tests): Remove conditional for have-initfini-array
32706 since this is now always required and the variable does not exist
32707 anymore.
32708 (tests-static): Likewise.
32709 (modules-names): Likewise.
32710
e7170363 32711 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
32712
32713 * elf/tst-array1.c (fini_array): Make writeable so that it can be
32714 merged with constructor/destructor.
32715 (init_array): Likewise.
32716 * elf/tst-array2dep.c (fini_array): Likewise.
32717 (init_array): Likewise.
32718
60457d8a
MF
327192012-10-29 Mike Frysinger <vapier@gentoo.org>
32720
32721 * manual/message.texi: Delete @cartouche tags.
32722
8bece752
PT
327232012-10-29 Pino Toscano <toscano.pino@tiscali.it>
32724
94ce799f
PT
32725 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
32726 EOPNOTSUPP.
32727 * sysdeps/mach/hurd/fsync.c: Likewise.
32728
8bece752
PT
32729 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
32730 [_POSIX_REALTIME_SIGNALS]: Change condition to
32731 [_POSIX_REALTIME_SIGNALS > 0].
32732
86ebe6b1
AJ
327332012-10-27 Andreas Jaeger <aj@suse.de>
32734
32735 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
32736 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
32737 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
32738 [__WORDSIZE != 64]: Likewise.
32739
54399c08
L
327402012-10-26 H.J. Lu <hongjiu.lu@intel.com>
32741
32742 * iconvdata/tst-table.sh: Remove ${SHELL}.
32743 * iconvdata/tst-tables.sh: Likewise.
32744
e2211bed
DM
327452012-10-25 David S. Miller <davem@davemloft.net>
32746
32747 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
32748 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
32749 of strtoull.
32750
f303f97c
DM
32751 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
32752 ifunc-impl-list.c
32753 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
32754 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
32755 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
32756 file.
32757
1e9d84cd
RM
327582012-10-25 Roland McGrath <roland@hack.frob.com>
32759
32760 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
32761 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
32762 __getdirentries.
32763
df381762
JM
327642012-10-25 Joseph Myers <joseph@codesourcery.com>
32765 Jim Blandy <jimb@codesourcery.com>
32766
32767 * scripts/cross-test-ssh.sh: New file.
32768 * manual/install.texi (Configuring and compiling): Document use of
32769 cross-test-ssh.sh.
32770 * INSTALL: Regenerated.
32771
bff64913
PT
327722012-10-25 Pino Toscano <toscano.pino@tiscali.it>
32773
32774 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
32775 EOPNOTSUPP.
32776
25fe8932
JM
327772012-10-25 Joseph Myers <joseph@codesourcery.com>
32778
32779 * Makeconfig (run-program-prefix): Fix comment.
32780
cc1290d0
JM
327812012-10-24 Joseph Myers <joseph@codesourcery.com>
32782 Jim Blandy <jimb@codesourcery.com>
32783
32784 * Makeconfig (test-wrapper): New variable,
32785 (test-wrapper-env): Likewise.
32786 [$(cross-compiling) = yes && $(test-wrapper) != ""]
32787 (run-built-tests): Define to yes.
32788 (run-program-prefix): Use $(test-wrapper).
32789 (built-program-cmd): Likewise.
32790 * Rules (make-test-out): Use $(test-wrapper-env) and
32791 $(host-built-program-cmd).
32792 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
32793 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
32794 tst-pathopt.sh.
32795 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
32796 $(test-wrapper-env) to tst-rtld-load-self.sh.
32797 ($(objpfx)order2.out): Use $(test-wrapper).
32798 ($(objpfx)tst-initorder.out): Likewise.
32799 ($(objpfx)tst-initorder2.out): Likewise.
32800 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
32801 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
32802 (test_wrapper_env): New variable. Use it to run ld.so.
32803 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
32804 Use it to run ld.so.
32805 (test_wrapper_env): Likewise.
32806 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
32807 $(test-wrapper) to run-iconv-test.sh.
32808 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
32809 (ICONV): Use $test_wrapper.
32810 * posix/Makefile ($(objpfx)globtest.out): Pass
32811 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
32812 globtest.sh, not $(run-program-prefix).
32813 * posix/globtest.sh (run_via_rtld_prefix): New variable.
32814 (test_wrapper): Likewise.
32815 (test_wrapper_env): Likewise. Use it to run globtest with HOME
32816 set together with run_via_rtld_prefix.
32817 (run_program_prefix): Define in terms of test_wrapper and
32818 run_via_rtld_prefix.
32819
6e6249d0
RM
328202012-10-24 Roland McGrath <roland@hack.frob.com>
32821
32822 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
32823 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
32824 Targets removed.
32825
32826 [BZ #14743]
32827 * include/time.h: Remove librt_hidden_proto (clock_gettime).
32828 Declare __clock_getres, __clock_gettime, __clock_settime,
32829 __clock_nanosleep, and __clock_getcpuclockid.
32830 * rt/clock_gettime.c: Define __clock_gettime as an alias.
32831 Remove librt_hidden_def (clock_gettime).
32832 * sysdeps/unix/clock_gettime.c: Likewise.
32833 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
32834 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
32835 * rt/clock_getres.c: Define __clock_getres as an alias.
32836 * sysdeps/posix/clock_getres.c: Likewise.
32837 * rt/clock_settime.c: Define __clock_settime as an alias.
32838 * sysdeps/unix/clock_settime.c: Likewise.
32839 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
32840 * sysdeps/unix/clock_nanosleep.c: Likewise.
32841 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
32842 * rt/clock-compat.c: New file.
32843 * rt/Makefile (librt-routines): Add clock-compat and move
32844 $(clock-routines) to ...
32845 (routines): ... here, new variable.
32846 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
32847 Don't add get_clockfreq here.
32848 * rt/Versions (libc: GLIBC_2.17): New version set.
32849 Add clock_* symbols here.
32850 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
32851 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
32852 (GLIBC_2.17): Add clock_* symbols.
32853 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
32854 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
32855 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
32856 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
32857 Likewise.
32858 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
32859 Likewise.
32860 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
32861 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
32862 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
32863 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
32864 * NEWS: Mention the move.
32865
32866 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
32867 Use __open, __read, __close rather than their public counterparts.
32868 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
32869 (__get_clockfreq_via_cpuinfo): Likewise.
32870 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
32871 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
32872
32873 * config.h.in (HAVE_IFUNC): New #undef.
32874 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
32875 was successful.
32876 * configure: Regenerated.
32877
0cae3f4b
MF
328782012-10-24 Mike Frysinger <vapier@gentoo.org>
32879
32880 * configure.in: Move READELF check to start of file.
32881 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
32882 libc_cv_asm_gnu_indirect_function in the process.
32883 * configure: Regenerated.
32884
8175a253
MF
328852012-10-24 Mike Frysinger <vapier@gentoo.org>
32886
32887 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
32888 send the output to /dev/null.
32889 (libc_cv_cc_with_libunwind): Likewise.
32890 (libc_cv_as_noexecstack): Likewise.
32891 * configure: Regenerate.
32892
0708a7d1
JM
328932012-10-24 Joseph Myers <joseph@codesourcery.com>
32894
10b40d85
JM
32895 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
32896
0708a7d1
JM
32897 * posix/globtest.sh (TMPDIR): Do not set.
32898 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
32899 (testout): Likewise.
32900
9fddec1a
AJ
329012012-10-24 Andreas Jaeger <aj@suse.de>
32902
3a8db22f
AJ
32903 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
32904 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
32905 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
32906 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
32907 posix_fadvise64, posix_fallocate64.
32908
9fddec1a
AJ
32909 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
32910 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
32911 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
32912 Likewise.
32913 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
32914 Likewise.
32915 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
32916
32917 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
32918 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
32919 <bits/fcntl-linux.h>.
32920 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
32921
32922 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
32923 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
32924 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
32925 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
32926 [__WORDSIZE != 64]: Likewise.
32927
ebfd1bbd
JM
329282012-10-23 Joseph Myers <joseph@codesourcery.com>
32929
03ac099f
JM
32930 * Makeconfig (run-built-tests): New variable.
32931 * Rules [$(cross-compiling) = yes]: Change condition to
32932 [$(run-built-tests) = no].
32933 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
32934 to [$(run-built-tests) = yes].
32935 * elf/Makefile [$(cross-compiling) = no]: Likewise
32936 * grp/Makefile [$(cross-compiling) = no]: Likewise.
32937 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
32938 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
32939 * intl/Makefile [$(cross-compiling) = no]: Likewise.
32940 * io/Makefile [$(cross-compiling) = no]: Likewise.
32941 * libio/Makefile [$(cross-compiling) = no]: Likewise.
32942 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
32943 * misc/Makefile [$(cross-compiling) = no]: Likewise.
32944 * posix/Makefile [$(cross-compiling) = no]: Likewise.
32945 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
32946 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
32947 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
32948 * string/Makefile [$(cross-compiling) = no]: Likewise.
32949
ebfd1bbd
JM
32950 * posix/Makefile ($(objpfx)globtest.out): Pass
32951 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
32952 $(rtld-installed-name).
32953 * posix/globtest.sh (elf_objpfx): Remove variable.
32954 (rtld_installed_name): Likewise.
32955 (library_path): Likewise.
32956 (run_program_prefix): New variable. Use for running globtest
32957 binary.
32958
166bca24
JB
329592012-10-23 Jim Blandy <jimb@codesourcery.com>
32960 Joseph Myers <joseph@codesourcery.com>
32961
32962 * Makeconfig (host-built-program-cmd): New variable.
32963 * elf/Makefile (tst-stackguard1-ARGS): Use
32964 $(host-built-program-cmd).
32965 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
32966 (tst-spawn-ARGS): Likewise.
32967 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
32968
88866099
JM
329692012-10-23 Joseph Myers <joseph@codesourcery.com>
32970 Jim Blandy <jimb@codesourcery.com>
32971
32972 * Makeconfig (run-via-rtld-prefix): New variable.
32973 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
32974 (built-program-cmd): Likewise.
32975
b4b4c296
AJ
329762012-10-22 Andreas Jaeger <aj@suse.de>
32977
32978 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
32979 __O_RSYNC if it exists, otherwise to O_SYNC.
32980
6fb54a22
JB
329812012-10-22 Jim Blandy <jimb@codesourcery.com>
32982 Joseph Myers <joseph@codesourcery.com>
32983
32984 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
32985 /dev/null.
32986 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
32987 from /dev/null
32988 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
32989 /dev/null.
32990
481b90b9
AJ
329912012-10-22 Andreas Jaeger <aj@suse.de>
32992
2a0e2669
AJ
32993 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
32994 Define always.
32995 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
32996
76e38f9a
AJ
32997 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
32998 bits/fcntl-linux.h.
32999
7cd37b43
AJ
33000 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
33001 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
33002
481b90b9
AJ
33003 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
33004 to __O_LARGEFILE.
33005 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
33006 to __O_LARGEFILE.
33007
aba75984
JB
330082012-10-21 Jim Blandy <jimb@codesourcery.com>
33009 Joseph Myers <joseph@codesourcery.com>
33010
33011 * config.make.in (NM): New variable.
33012
88d4247f
AJ
330132012-10-21 Andreas Jaeger <aj@suse.de>
33014
33015 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
33016 definitions and declarations that are provided by
33017 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
33018
f2eed205
L
330192012-10-20 H.J. Lu <hongjiu.lu@intel.com>
33020
33021 [BZ #14683]
33022 * elf/Makefile (tests-static): Add tst-leaks1-static.
33023 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
33024 ($(objpfx)tst-leaks1-static): New rule.
33025 ($(objpfx)tst-leaks1-static-mem): Likewise.
33026 (tst-leaks1-static-ENV): New macro.
33027 * elf/dl-open.c (dl_open_worker): Check the main application
33028 only if SHARED is defined.
33029 * elf/tst-leaks1-static.c: New file.
33030
335e6931
AJ
330312012-10-20 Andreas Jaeger <aj@suse.de>
33032
33033 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
33034 generic values for Linux.
33035 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
33036 and declarations that are provided by <bits/fcntl-linux.h> and
33037 include <bits/fcntl-linux.h>.
33038 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
33039 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
33040
ac5c94d3
RM
330412012-10-20 Roland McGrath <roland@hack.frob.com>
33042
33043 * io/fcntl.h: Move include of <bits/types.h> to the top and
33044 include it unconditionally.
33045
de54b33a
L
330462012-10-20 H.J. Lu <hongjiu.lu@intel.com>
33047
228cfb01
L
33048 * wcsmbs/Makefile (tests-ifunc): New variable.
33049 (tests): Add $(tests-ifunc).
33050 * wcsmbs/test-wcschr-ifunc.c: New file.
33051 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
33052 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
33053 * wcsmbs/test-wcslen-ifunc.c: Likewise.
33054 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
33055 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
33056
69f07e5f
L
33057 * string/Makefile (tests-ifunc): New variable.
33058 (tests): Add $(tests-ifunc).
33059 * string/test-memccpy.c (TEST_NAME): New macro.
33060 * string/test-memchr.c (TEST_NAME): Likewise.
33061 * string/test-memcmp.c (TEST_NAME): Likewise.
33062 * string/test-memcpy.c (TEST_NAME): Likewise.
33063 * string/test-memmem.c (TEST_NAME): Likewise.
33064 * string/test-memmove.c (TEST_NAME): Likewise.
33065 * string/test-memset.c (TEST_NAME): Likewise.
33066 * string/test-rawmemchr.c (TEST_NAME): Likewise.
33067 * string/test-stpcpy.c (TEST_NAME): Likewise.
33068 * string/test-stpncpy.c (TEST_NAME): Likewise.
33069 * string/test-strcasecmp.c (TEST_NAME): Likewise.
33070 * string/test-strcasestr.c (TEST_NAME): Likewise.
33071 * string/test-strcat.c (TEST_NAME): Likewise.
33072 * string/test-strchr.c (TEST_NAME): Likewise.
33073 * string/test-strcmp.c(TEST_NAME): Likewise.
33074 * string/test-strcpy.c (TEST_NAME): Likewise.
33075 * string/test-strcspn.c (TEST_NAME): Likewise.
33076 * string/test-strlen.c (TEST_NAME): Likewise.
33077 * string/test-strncasecmp.c (TEST_NAME): Likewise.
33078 * string/test-strncmp.c (TEST_NAME): Likewise.
33079 * string/test-strncpy.c (TEST_NAME): Likewise.
33080 * string/test-strnlen.c (TEST_NAME): Likewise.
33081 * string/test-strpbrk.c (TEST_NAME): Likewise.
33082 * string/test-strrchr.c (TEST_NAME): Likewise.
33083 * string/test-strspn.c (TEST_NAME): Likewise.
33084 * string/test-strstr.c (TEST_NAME): Likewise.
33085 * string/test-bcopy-ifunc.c: New file.
33086 * string/test-bzero-ifunc.c: Likewise.
33087 * string/test-memccpy-ifunc.c: Likewise.
33088 * string/test-memchr-ifunc.c: Likewise.
33089 * string/test-memcmp-ifunc.c: Likewise.
33090 * string/test-memcpy-ifunc.c: Likewise.
33091 * string/test-memmem-ifunc.c: Likewise.
33092 * string/test-memmove-ifunc.c: Likewise.
33093 * string/test-mempcpy-ifunc.c: Likewise.
33094 * string/test-memset-ifunc.c: Likewise.
33095 * string/test-rawmemchr-ifunc.c: Likewise.
33096 * string/test-stpcpy-ifunc.c: Likewise.
33097 * string/test-stpncpy-ifunc.c: Likewise.
33098 * string/test-strcasecmp-ifunc.c: Likewise.
33099 * string/test-strcasestr-ifunc.c: Likewise.
33100 * string/test-strcat-ifunc.c: Likewise.
33101 * string/test-strchr-ifunc.c: Likewise.
33102 * string/test-strchrnul-ifunc.c: Likewise.
33103 * string/test-strcmp-ifunc.c: Likewise.
33104 * string/test-strcpy-ifunc.c: Likewise.
33105 * string/test-strcspn-ifunc.c: Likewise.
33106 * string/test-strlen-ifunc.c: Likewise.
33107 * string/test-strncasecmp-ifunc.c: Likewise.
33108 * string/test-strncat-ifunc.c: Likewise.
33109 * string/test-strncmp-ifunc.c: Likewise.
33110 * string/test-strncpy-ifunc.c: Likewise.
33111 * string/test-strnlen-ifunc.c: Likewise.
33112 * string/test-strpbrk-ifunc.c: Likewise.
33113 * string/test-strrchr-ifunc.c: Likewise.
33114 * string/test-strspn-ifunc.c: Likewise.
33115 * string/test-strstr-ifunc.c: Likewise.
33116
de54b33a
L
33117 * debug/Makefile (tests-ifunc): New variable.
33118 (tests): Add $(tests-ifunc).
33119 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
33120 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
33121 * debug/test-stpcpy_chk-ifunc.c: New file.
33122 * debug/test-strcpy_chk-ifunc.c: Likewise.
33123
88481c16
SP
331242012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
33125
33126 [BZ #13601]
33127 * elf/dl-load.c (open_verify): Retry read if the entire ELF
33128 header is not read in.
33129
135948bd
JM
331302012-10-19 Joseph Myers <joseph@codesourcery.com>
33131
89f1c388
JM
33132 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
33133 script to $(SHELL) as $<. Pass $(common-objpfx) to script
33134 directly. Pass built executable to script as
33135 $(built-program-cmd).
33136 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
33137 $testprogram without using LD_LIBRARY_PATH and $ldso.
33138
e40a0d21
JM
33139 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
33140 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
33141 $(rtld-installed-name).
33142 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
33143 (rtld_installed_name): Likewise.
33144 (library_path): Likewise.
33145 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
33146 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
33147 $(run-program-prefix) to tst-tables.sh.
33148 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
33149 it to run tst-table-from and tst-table-to.
33150 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
33151 Pass it to tst-table.sh.
33152 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
33153 $(run-program-prefix) to tst-gettext.sh.
33154 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
33155 tst-translit.sh.
33156 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
33157 tst-gettext2.sh.
33158 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
33159 to run tst-gettext.
33160 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
33161 to run tst-gettext2.
33162 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
33163 to run tst-translit.
33164 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
33165 $(run-program-prefix) to tst-mtrace.sh.
33166 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
33167 to run tst-mtrace.
33168 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
33169 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
33170 $(rtld-installed-name).
33171 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
33172 (rtld_installed_name): Likewise.
33173 (run_program_prefix): New variable. Use it to run wordexp-test.
33174
728e272a
JM
33175 * Makeconfig (ARCH): Remove all definitions.
33176 (machine): Likewise.
33177 [ARCH]: Remove conditional code.
33178 [!objdir]: Give error.
33179 [!objdir] (objpfx): Remove.
33180 [!objdir] (common-objpfx): Likewise.
33181 [!objdir] (common-objdir): Likewise.
33182 * configure.in (config_makefile): Remove. Hardcode Makefile in
33183 AC_CONFIG_FILES call.
33184 * configure: Regenerated.
33185
d528cdcf
JM
33186 [BZ #13888]
33187 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
33188 or TMPDIR.
33189 (testout): Likewise.
33190
135948bd
JM
33191 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
33192 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
33193 $(rtld-installed-name).
33194 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
33195 (rtld_installed_name): Likwise.
33196 (runit): Remove function.
33197 (run_getconf): New variable, Use it for running getconf binary.
33198
38c78296
L
331992012-10-18 H.J. Lu <hongjiu.lu@intel.com>
33200
33201 [BZ #14716]
33202 * string/test-memmem.c (check_result): New function.
33203 (do_one_test): Use it.
33204 (check1): New function.
33205 (test_main): Use it.
33206
d077f65f
MT
332072012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
33208
33209 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
33210
ced52c71
JM
332112012-10-18 Joseph Myers <joseph@codesourcery.com>
33212
33213 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
33214 (_G_LSEEK64): Likewise.
33215 (_G_MMAP64): Likewise.
33216 (_G_FSTAT64): Likewise.
33217 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
33218 (_G_LSEEK64): Likewise.
33219 (_G_MMAP64): Likewise.
33220 (_G_FSTAT64): Likewise.
33221 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
33222 unconditional. Call __mmap64 directly.
33223 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
33224 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
33225 __lseek64 directly.
33226 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
33227 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
33228 __mmap64 directly.
33229 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
33230 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
33231 __lseek64 directly.
33232 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
33233 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
33234 __lseek64 directly.
33235 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
33236 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
33237 __lseek64 directly.
33238 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
33239 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
33240 __fxstat64 directly.
33241 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
33242 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
33243 unconditional.
33244 (freopen64) [!_G_OPEN64]: Remove conditional code.
33245 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
33246 unconditional.
33247 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
33248 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
33249 unconditional.
33250 (ftello64) [!_G_LSEEK64]: Remove conditional code.
33251 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
33252 unconditional.
33253 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
33254 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
33255 unconditional.
33256 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
33257 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
33258 unconditional.
33259 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
33260 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
33261 unconditional.
33262 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
33263 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
33264 unconditional.
33265 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
33266
b741de23
SP
332672012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
33268
33269 [BZ #12140]
33270 * manual/memory.texi (Malloc Tunable Parameters): Add note
33271 about free list pointers overwriting some perturb bytes.
33272 Wording suggested by Roland McGrath.
33273
f9b9d9c9
JM
332742012-10-17 Joseph Myers <joseph@codesourcery.com>
33275
33276 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
33277 (lgamma_test): Likewise.
33278 (tgamma_test): Likewise.
33279
172a631a
FW
332802012-10-16 Florian Weimer <fweimer@redhat.com>
33281
33282 [BZ #14700]
33283 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
33284 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
33285
e9f37252
MK
332862012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
33287
33288 * NEWS: Mention BZ #14716.
33289 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
33290 when removing AVAILABLE1_USES_J macro.
33291
d394eb74
L
332922012-10-12 H.J. Lu <hongjiu.lu@intel.com>
33293
33294 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
33295 (__bswap_64): __uint64_t for unsigned 64-bit int.
33296
ca38dc17
AS
332972012-10-12 Andreas Schwab <schwab@linux-m68k.org>
33298
33299 * include/string.h (memmem): Declare libc hidden alias.
33300 * string/memmem.c (memmem): Define libc hidden alias.
33301 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
33302 __read, __close instead of open, read, close.
33303
9a387d1f
L
333042012-10-11 H.J. Lu <hongjiu.lu@intel.com>
33305
ac49ecaf
L
33306 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
33307 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
33308 global and hidden.
33309 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
33310 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
33311 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
33312 Likewise.
33313 (__rawmemchr_sse2): Likewise.
33314 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
33315 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
33316 (__strchr_sse2): Likewise.
33317 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
33318 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
33319 (__strcasecmp_sse2): Likewise.
33320 (__strncasecmp_sse2): Likewise.
33321 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
33322 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
33323 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
33324 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
33325 (__strrchr_sse2): Likewise.
33326 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
33327 ifunc-impl-list.c.
33328 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
33329 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
33330 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
33331 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
33332 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
33333 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
33334 * sysdeps/x86_64/multiarch/memset.S: Likewise.
33335 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
33336 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
33337 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
33338 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
33339 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
33340 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
33341 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
33342 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
33343 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
33344 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
33345 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
33346 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
33347 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
33348 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
33349 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
33350 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
33351 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
33352 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
33353 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
33354 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
33355 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
33356 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
33357 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
33358
b090e8ea
L
33359 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
33360 global and hidden.
33361 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
33362 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
33363 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
33364 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
33365 Likewise.
33366 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
33367 Likewise.
33368 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
33369 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
33370 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
33371 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
33372 ifunc-impl-list.c.
33373 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
33374 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
33375 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
33376 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
33377 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
33378 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
33379 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
33380 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
33381 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
33382 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
33383 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
33384 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
33385 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
33386 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
33387 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
33388 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
33389 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
33390 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
33391 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
33392 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
33393 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
33394 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
33395 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
33396 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
33397 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
33398 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
33399 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
33400 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
33401 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
33402 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
33403 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
33404 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
33405 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
33406 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
33407 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
33408 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
33409 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
33410 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
33411 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
33412 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
33413 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
33414
11dd4af6
L
33415 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
33416 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
33417 * include/ifunc-impl-list.h: New file.
33418 * misc/ifunc-impl-list.c: Likewise.
33419 * misc/Makefile (routines): Add ifunc-impl-list.
33420 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
33421 * string/test-string.h: Include <ifunc-impl-list.h>.
57f41c40
AS
33422 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
33423 TEST_NAME]: New variables.
11dd4af6
L
33424 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
33425 are defined.
33426 (test_init): Call __libc_ifunc_impl_list to initialize
33427 func_list if TEST_IFUNC and TEST_NAME are defined.
33428
9a387d1f
L
33429 * string/Makefile (strop-tests): Add bcopy and bzero.
33430 * string/test-bcopy.c: New file.
33431 * string/test-bzero.c: Likewise.
33432 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
33433 defined.
33434 * string/test-memset.c: Support bzero test if TEST_BZERO is
33435 defined.
33436 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
33437 __libc_memmove.
33438 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
33439 __libc_memset.
33440 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
33441 of memset.
33442
472371b9
JM
334432012-10-10 Joseph Myers <joseph@codesourcery.com>
33444
1e4a9536
JM
33445 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
33446 * configure: Regenerated.
33447
d173d12e
JM
33448 * Makeconfig (+link-static-before-libc): Don't include
33449 $(link-static-libc).
33450
472371b9
JM
33451 * libio/libio.h (_IO_pos_t): Remove.
33452
89a3ad0b
AO
334532012-10-10 Alexandre Oliva <aoliva@redhat.com>
33454
33455 * NEWS: Add note about FIPS mode. Wording suggested by Roland
33456 McGrath.
33457
e7451425
AO
334582012-10-10 Alexandre Oliva <aoliva@redhat.com>
33459
33460 * crypt/crypt-entry.c: Include fips-private.h.
33461 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
33462 * crypt/md5c-test.c (main): Tolerate disabled MD5.
33463 * sysdeps/unix/sysv/linux/fips-private.h: New file.
33464 * sysdeps/generic/fips-private.h: New file, dummy fallback.
33465
4ba74a35
AO
334662012-10-10 Alexandre Oliva <aoliva@redhat.com>
33467
33468 * crypt/crypt-private.h: Include stdbool.h.
33469 (_ufc_setup_salt_r): Return bool.
33470 * crypt/crypt-entry.c: Include errno.h.
33471 (__crypt_r): Return NULL with EINVAL for bad salt.
33472 * crypt/crypt_util.c (bad_for_salt): New.
33473 (_ufc_setup_salt_r): Check that salt is long enough and within
33474 the specified alphabet.
33475 * crypt/badsalttest.c: New file.
33476 * crypt/Makefile (tests): Add it.
33477 ($(objpfx)badsalttest): New.
33478
f96f1242
MK
334792012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
33480
33481 * NEWS: Add entry for BZ #14602.
33482
0e8e0c1c
JM
334832012-10-09 Joseph Myers <joseph@codesourcery.com>
33484
33485 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
33486 type-generic.
33487 * math/libm-test.inc: Update comment listing what functions and
33488 macros are tested.
33489 (isgreater_test): New function.
33490 (isgreaterequal_test): Likewise.
33491 (isless_test): Likewise.
33492 (islessequal_test): Likewise.
33493 (islessgreater_test): Likewise.
33494 (isunordered_test): Likewise.
33495 (main): Call the new functions.
33496
273edc5e
RM
334972012-10-09 Roland McGrath <roland@hack.frob.com>
33498
b8493de0
RM
33499 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
33500 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
33501 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
33502 * sysdeps/i386/configure: Regenerated.
33503 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
33504 * sysdeps/mach/configure: Regenerated.
33505 * sysdeps/mach/hurd/configure: Regenerated.
33506 * sysdeps/powerpc/configure: Regenerated.
33507 * sysdeps/powerpc/powerpc32/configure: Regenerated.
33508 * sysdeps/powerpc/powerpc64/configure: Regenerated.
33509 * sysdeps/s390/s390-32/configure: Regenerated.
33510 * sysdeps/s390/s390-64/configure: Regenerated.
33511 * sysdeps/sh/configure: Regenerated.
33512 * sysdeps/sparc/configure: Regenerated.
33513 * sysdeps/unix/sysv/linux/configure: Regenerated.
33514 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
33515 * sysdeps/x86_64/configure: Regenerated.
33516
273edc5e
RM
33517 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
33518 defined. Don't check if MAP is NULL.
33519
c8450f70
JM
335202012-10-09 Joseph Myers <joseph@codesourcery.com>
33521
33522 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
33523 (_G_stat64): Likewise.
33524 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
33525 (_G_stat64): Likewise.
33526 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
33527 instead of struct _G_stat64.
33528 * libio/fileops.c (mmap_remap_check): Likewise.
33529 (decide_maybe_mmap): Likewise.
33530 (_IO_new_file_seekoff): Likewise.
33531 (_IO_file_stat): Likewise.
33532 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
33533 _G_off64_t.
33534 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
33535 instead of struct _G_stat64.
33536 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
33537
57e605ba
MK
335382012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
33539
33540 [BZ #14602]
33541 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
33542 Replace with ...
33543 (CHECK_EOL): New macro.
33544 (two_way_short_needle): Check beginning of haystack for EOL. Use
33545 CHECK_EOL.
33546 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
33547 Replace with CHECK_EOL.
33548 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
33549 Replace with CHECK_EOL.
33550
ef1bb361
JM
335512012-10-08 Joseph Myers <joseph@codesourcery.com>
33552
33553 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
33554 type-generic.
33555 * math/libm-test.inc: Update comment listing what functions and
33556 macros are tested.
33557 (finite_test): New function.
33558 (isinf_test): Likewise.
33559 (isnan_test): Likewise.
33560 (fpclassify_test): Test subnormal input.
33561 (isfinite_test): Likewise.
33562 (isnormal_test): Likewise.
33563 (main): Call the new functions.
33564
55f11534
JN
335652012-10-08 Jonathan Nieder <jrnieder@gmail.com>
33566
33567 [BZ #14660]
33568 * Makerules (%.dynsym): Force C locale when running
33569 $(OBJDUMP) --dynamic-syms.
33570
1ab29350
AS
335712012-10-08 Andreas Schwab <schwab@linux-m68k.org>
33572
33573 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
33574 <stdint.h>.
33575
f1ecb7ef
DM
335762012-10-06 David S. Miller <davem@davemloft.net>
33577
33578 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
33579 upper 32-bits of the length value in %o2 since we use branch-on-register
33580 tests which consider the entire 64-bit register.
33581
5d41d91a
L
335822012-10-06 H.J. Lu <hongjiu.lu@intel.com>
33583
33584 * string/test-strstr.c (check2): Add a test for page boundary.
33585
3baddb72
DM
335862012-10-05 David S. Miller <davem@davemloft.net>
33587
33588 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
33589 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
33590 file.
33591 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
33592 sysdep_routines.
33593 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
33594 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
33595 and bzero when HWCAP_SPARC_CRYPTO is present.
33596
9cee5585
L
335972012-10-05 H.J. Lu <hongjiu.lu@intel.com>
33598
d7e0dab9
L
33599 [BZ #14602]
33600 * string/test-strstr.c (check2): New function.
33601 (test_main): Call check2.
33602
03759f47
L
33603 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
33604 and bug-strchr1.
33605 * string/bug-strcasestr1.c (do_test): Moved to ...
33606 * string/test-strcasestr.c (check1): Here. New function.
33607 (do_one_test): Break out result checking code into ...
33608 (check_result): This. New function.
33609 (do_one_test): Call check_result.
33610 (test_main): Call check1.
33611 * string/bug-strchr1.c (do_test): Moved to ...
33612 * string/test-strchr.c (check1): Here. New function.
33613 (do_one_test): Break out result checking code into ...
33614 (check_result): This. New function.
33615 (do_one_test): Call check_result.
33616 (test_main): Call check1.
33617 * string/bug-strstr1.c (main): Moved to ...
046f153e 33618 * string/test-strstr.c (check1): Here. New function.
03759f47
L
33619 (do_one_test): Break out result checking code into ...
33620 (check_result): This. New function.
33621 (do_one_test): Call check_result.
33622 (test_main): Call check1.
33623 * string/bug-strcasestr1.c: Removed.
33624 * string/bug-strchr1.c: Likewise.
33625 * string/bug-strstr1.c: Likewise.
33626
53cea63e
L
33627 * elf/Makefile (dl-routines): Add hwcaps.
33628 * elf/dl-support.c (_dl_important_hwcaps): Removed.
33629 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
33630 (_dl_important_hwcaps): Moved to ...
33631 * elf/dl-hwcaps.c: Here. New file.
33632 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
33633
9cee5585 33634 [BZ #14557]
bb859b06
L
33635 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
33636 if IS_IN_rtld isn't defined.
33637
9cee5585
L
33638 * elf/dl-support.c (_dl_sysinfo_map): New.
33639 Include "get-dynamic-info.h" and "setup-vdso.h".
33640 (_dl_non_dynamic_init): Call setup_vdso.
33641 * elf/dynamic-link.h: Don't include <assert.h>.
33642 (elf_get_dynamic_info): Moved to ...
33643 * elf/get-dynamic-info.h: Here. New file.
33644 * elf/dynamic-link.h: Include "get-dynamic-info.h".
33645 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
33646 * elf/setup-vdso.h: Here. New file.
33647 * elf/rtld.c: Include "setup-vdso.h".
33648 (dl_main): Call setup_vdso.
33649
23c31b76
JM
336502012-10-05 Joseph Myers <joseph@codesourcery.com>
33651
28234b07
JM
33652 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
33653 creal in comment listing functions tested. List finite, isinf,
33654 isnan, isless, islessequal, isgreater, isgreaterequal,
33655 islessgreater, isunordered, lgamma_r and pow10 as functions and
33656 macros not tested. Mention which functions not tested are aliases
33657 for other functions. Fix typo. Note that signs of NaNs are not
33658 tested.
33659
23c31b76
JM
33660 * scripts/config.guess: Update from config.git.
33661 * scripts/config.sub: Likewise.
33662
9043e228
RM
336632012-10-04 Roland McGrath <roland@hack.frob.com>
33664
33665 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
33666 * misc/madvise.c (madvise): Renamed to __madvise.
33667 Make madvise a weak alias.
33668 * include/sys/mman.h: Declare __madvise.
33669 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
33670 * sysdeps/unix/syscalls.list
33671 (madvise): Make __madvise the strong name, and madvise a weak alias.
33672 * sysdeps/unix/sysv/linux/syscalls.list
33673 (madvise, mmap): Remove redundant entries.
33674 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
33675 * malloc/malloc.c (mtrim): Likewise.
33676 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
33677
f57f8055
RM
336782012-10-03 Roland McGrath <roland@hack.frob.com>
33679
33680 * sysdeps/mach/hurd/dl-cache.c: File removed.
33681 * config.h.in (USE_LDCONFIG): New #undef.
33682 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
33683 * configure: Regenerated.
33684 * elf/Makefile (dl-routines): Add dl-cache only under
33685 [$(use-ldconfig) = yes].
33686 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
33687 cache on [USE_LDCONFIG].
33688 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
33689 [USE_LDCONFIG].
33690 * elf/rtld.c (dl_main): Likewise.
33691
5bb0c10a
PT
336922012-10-03 Pino Toscano <toscano.pino@tiscali.it>
33693
33694 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
33695 _SC_LEVEL4_CACHE_LINESIZE.
33696
010188c6
RM
336972012-10-03 Roland McGrath <roland@hack.frob.com>
33698
33699 * sysdeps/unix/bsd/confstr.h: File removed.
33700
b6c5ec07
AO
337012012-10-02 Alexandre Oliva <aoliva@redhat.com>
33702
33703 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
33704 sys/sdt-config.h.
33705
408223d4
RM
337062012-10-02 Roland McGrath <roland@hack.frob.com>
33707
33708 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
33709 Make 'mapoff' field ElfW(Off) rather than off_t.
33710
bb9510dc
DL
337112012-10-02 Dmitry V. Levin <ldv@altlinux.org>
33712
fc997c6e
DL
33713 * nscd/Makefile: Remove nscd-cflags and all its users.
33714 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
33715 (CFLAGS-nonlib): Add compiler flags for nscd modules.
33716
bb9510dc
DL
33717 [BZ #10631]
33718 * malloc.c (malloc_printerr): Clarify error message.
33719
05699367
L
337202012-10-02 H.J. Lu <hongjiu.lu@intel.com>
33721
33722 [BZ #14648]
33723 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33724 Set bit_FMA_Usable if FMA is supported.
33725 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
33726 macro.
33727 (bit_FMA4_Usable): Updated.
33728 (index_FMA_Usable): New macro.
33729 (CPUID_FMA): Likewise
33730 (HAS_FMA): Defined with bit_FMA_Usable.
33731
51367701
RM
337322012-10-01 Roland McGrath <roland@hack.frob.com>
33733
33734 * bits/types.h (__swblk_t): Type removed.
33735 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
33736 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
33737 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
33738 (__SWBLK_T_TYPE): Likewise.
33739 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
33740 (__SWBLK_T_TYPE): Likewise.
33741 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
33742 (__SWBLK_T_TYPE): Likewise.
33743 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
33744 (__SWBLK_T_TYPE): Likewise.
33745
4d57bf63 337462012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 33747 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
33748
33749 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
33750 (xdr_mapname): Use YPMAXMAP as maxsize.
33751 (xdr_peername): Use YPMAXPEER as maxsize.
33752 (xdr_keydat): Use YPAXRECORD as maxsize.
33753 (xdr_valdat): Use YPMAXRECORD as maxsize.
33754
93c65d43
RM
337552012-10-01 Roland McGrath <roland@hack.frob.com>
33756
497a03d6
RM
33757 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
33758
93c65d43
RM
33759 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
33760 * csu/init-first.c: ... here.
33761 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
33762 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
33763 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
33764 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
33765 * sysdeps/i386/init-first.c: File removed.
33766 * sysdeps/sh/init-first.c: File removed.
33767
bec749fd
JM
337682012-10-01 Joseph Myers <joseph@codesourcery.com>
33769
33770 [BZ #14645]
33771 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
33772 if x * y might underflow to zero and z is zero.
33773 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
33774 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
33775 * math/libm-test.inc (min_subnorm_value): New variable.
33776 (fma_test): Add more tests.
33777 (fma_test_towardzero): Likewise.
33778 (fma_test_downward): Likewise
33779 (fma_test_upward): Likewise.
33780 (initialize): Set min_subnorm_value.
33781
8ec5b013
JM
337822012-09-29 Joseph Myers <joseph@codesourcery.com>
33783
33784 [BZ #14638]
33785 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
33786 0 + 0.
33787 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
33788 mode for addition resulting in exact zero.
33789 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
33790 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
33791 exact 0 + 0.
33792 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
33793 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
33794 * math/libm-test.inc (fma_test): Add more tests.
33795 (fma_test_towardzero): New function.
33796 (fma_test_downward): Likewise.
33797 (fma_test_upward): Likewise.
33798 (main): Call the new functions.
33799
b1fa802e
DM
338002012-09-28 David S. Miller <davem@davemloft.net>
33801
33802 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
33803
d3b9fd9e
RM
338042012-09-28 Roland McGrath <roland@hack.frob.com>
33805
ea4d37b3
RM
33806 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
33807 instead of SIGALRM.
33808
ac51c949
RM
33809 * sysdeps/gnu/_G_config.h: Moved to ...
33810 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
33811 * sysdeps/mach/hurd/_G_config.h: Moved to ...
33812 * sysdeps/generic/_G_config.h: ... here.
33813
28c195f7
RM
33814 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
33815
848917f9
RM
33816 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
33817
6bacf05b
RM
33818 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
33819 Conditionalize target on [libnss_test1.so-version].
33820
91363dbb
RM
33821 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
33822
cc87f7d8
RM
33823 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
33824 (elfobjdir): Move out of conditionals.
33825
b1c608fe
RM
33826 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
33827 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
33828 (__nss_lookup_function): Conditionalize label remove_from_tree on
33829 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 33830
1d9a6d96
DM
338312012-09-28 David S. Miller <davem@davemloft.net>
33832
33833 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
33834 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
33835 file.
33836 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
33837 sysdep_routines.
33838 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
33839 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
33840 when HWCAP_SPARC_CRYPTO is present.
33841
72581615
PT
338422012-09-28 Pino Toscano <toscano.pino@tiscali.it>
33843
33844 * io/tst-mknodat.c: Create a FIFO instead of a socket.
33845
715a900c
JL
338462012-09-28 Andreas Schwab <schwab@linux-m68k.org>
33847
33848 [BZ #6530]
33849 * stdio-common/vfprintf.c (process_string_arg): Revert
33850 2000-07-22 change.
33851
338522011-09-28 Jonathan Nieder <jrnieder@gmail.com>
33853
33854 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
33855 for testcase.
33856 * stdio-common/tst-sprintf.c: Include <locale.h>
33857 (main): Test sprintf's handling of incomplete multibyte
33858 characters.
33859
9bac1d86
L
338602012-09-28 H.J. Lu <hongjiu.lu@intel.com>
33861
33862 * elf/dl-runtime.c (VERSYMIDX): Removed.
33863 * elf/dl-version.c (VERSYMIDX): Likewise.
33864 * elf/do-rel.h (VERSYMIDX): Likewise.
33865 (VALIDX): Likewise.
33866 * elf/dynamic-link.h (VERSYMIDX): Likewise.
33867 * elf/rtld.c (VALIDX): Likewise.
33868 (ADDRIDX): Likewise.
9bac1d86
L
33869 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
33870 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
33871 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
33872 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
33873 (VALIDX): Likewise.
33874 (ADDRIDX): Likewise.
9bac1d86 33875
b31606c0
PT
338762012-09-28 Pino Toscano <toscano.pino@tiscali.it>
33877
33878 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
33879
11541177
JL
338802012-09-28 Dmitry V. Levin <ldv@altlinux.org>
33881
33882 [BZ #11438]
33883 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
33884 to global scope.
33885 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
33886 addresses are in the same scope as 192.0.2/24.
33887 * posix/gai.conf: Document new scope table defaults.
33888
adb26fae
SP
338892012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
33890
33891 [BZ #5298]
33892 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
33893 for ftell. Compute offsets from write pointers instead.
33894 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
33895
4573c6b0
SP
338962012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
33897
33898 [BZ #14543]
33899 * libio/Makefile (tests): New test case tst-fseek.
33900 * libio/tst-fseek.c: New test case to verify that fseek/ftell
33901 combination works in wide mode.
33902 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
33903 state when the external buffer state changes.
33904
aa9bbfe6
DM
339052012-09-27 David S. Miller <davem@davemloft.net>
33906
33907 [BZ #14376]
33908 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
33909 pass reloc->r_addend in as the 'high' argument to
33910 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
33911
784421e7
DM
33912 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33913
c39bc8b8
PT
339142012-09-28 Pino Toscano <toscano.pino@tiscali.it>
33915
33916 * rt/tst-aio2.c: Include <pthread.h>.
33917 * rt/tst-aio3.c: Likewise.
33918
1ccc2399
SE
339192012-09-27 Steve Ellcey <sellcey@mips.com>
33920
33921 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
33922
31ed4153
L
339232012-09-27 H.J. Lu <hongjiu.lu@intel.com>
33924
25f5f885
L
33925 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
33926 contents on [SHARED].
31ed4153 33927
b7bfe116
MP
339282012-09-26 Marek Polacek <polacek@redhat.com>
33929
33930 [BZ #14530]
33931 [BZ #13741]
33932 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
33933 for C++ and GCC <4.3 as well as for non GCC compilers.
33934
43c4edba
MT
339352012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
33936
33937 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33938
6a1bf82f
RM
339392012-09-25 Roland McGrath <roland@hack.frob.com>
33940
33941 * Makefile.in (all, install): Declare with .PHONY.
33942 Reported by Michael Hope <michael.hope@linaro.org>.
33943
8ad11b9a
TMQMF
339442012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
33945
33946 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
33947 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
33948 system header.
33949 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
33950 Likewise.
33951 (sydep_routines): Add the new and the internal functions.
33952 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
33953 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
33954 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
33955 (GLIBC_2.17): Add the new function.
33956 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
33957 (GLIBC_2.17): Likewise.
33958 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
33959 (GLIBC_2.17): Likewise.
33960 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
33961 (GLIBC_2.17): Likewise.
33962 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
33963
7e2fca8d
AM
339642012-09-25 Alan Modra <amodra@gmail.com>
33965
33966 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
33967 Add release barrier before setting once_control to say
33968 initialisation is done. Add hints on lwarx. Use macro in
33969 place of isync.
33970 (clear_once_control): Add release barrier.
33971
b87c4b24
JM
339722012-09-25 Joseph Myers <joseph@codesourcery.com>
33973
d032e0d2
JM
33974 [BZ #13629]
33975 * math/s_clog.c (__clog): Handle more values close to |z| = 1
33976 specially.
33977 * math/s_clog10.c (__clog10): Likewise.
33978 * math/s_clog10f.c (__clog10f): Likewise.
33979 * math/s_clog10l.c (__clog10l): Likewise.
33980 * math/s_clogf.c (__clogf): Likewise.
33981 * math/s_clogl.c (__clogl): Likewise.
33982 * math/Makefile (libm-calls): Add x2y2m1.
33983 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
33984 (__x2y2m1): Likewise.
33985 (__x2y2m1l): Likewise.
33986 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
33987 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
33988 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
33989 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
33990 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
33991 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
33992 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
33993 * sysdeps/i386/fpu/libm-test-ulps: Update.
33994 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33995
b87c4b24
JM
33996 [BZ #14621]
33997 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
33998 int as type of variable DEPTH.
33999 (glob): Use size_t instead of int as type of variables NEWCOUNT
34000 and OLD_PATHC.
34001
6d3bf199
LD
340022012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34003
22bf5c17
LD
34004 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
34005 Add s_sincosf-sse2.
34006 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
34007 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
34008 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
34009 macros for using routine as __sincosf_ia32.
34010 Use macro for function declaration and weak_alias.
34011 * sysdeps/i386/fpu/libm-test-ulps: Update.
34012
34013 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
34014 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34015
34016 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
34017 subnormal argument.
34018 * math/s_cexpf.c (__cexpf): Likewise.
34019 * math/s_csinf.c (__csinf): Likewise.
34020 * math/s_csinhf.c (__csinhf): Likewise.
34021 * math/s_ctanf.c (__ctanf): Likewise.
34022 * math/s_ctanhf.c (__ctanhf): Likewise.
34023 * math/s_ccosh.c (__ccoshf): Likewise.
34024 * math/s_cexp.c (__cexpl): Likewise.
34025 * math/s_csin.c (__csin): Likewise.
34026 * math/s_csinh.c (__csinh): Likewise.
34027 * math/s_ctan.c (__ctan): Likewise.
34028 * math/s_ctanh.c (ctanh): Likewise.
34029 * math/s_ccoshl.c (__ccoshl): Likewise.
34030 * math/s_cexpl.c (__cexpl): Likewise.
34031 * math/s_csinl.c (__csinl): Likewise.
34032 * math/s_csinhl.c (__csinhl): Likewise.
34033 * math/s_ctanl.c (__ctanl): Likewise.
34034 * math/s_ctanhl.c (__ctanhl): Likewise.
34035
203e5603
JM
340362012-09-25 Joseph Myers <joseph@codesourcery.com>
34037
34038 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
34039 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
34040 (_IO_off_t): Define to __off_t, not _G_off_t.
34041 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
34042 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
34043 (_IO_wint_t): Define to wint_t, not _G_wint_t.
34044 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
34045 type of __dummy and __dummy2 fields.
34046 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
34047 (_G_ssize_t): Likewise.
34048 (_G_off_t): Likewise.
34049 (_G_pid_t): Likewise.
34050 (_G_uid_t): Likewise.
34051 (_G_wchar_t): Likewise.
34052 (_G_wint_t): Likewise.
34053 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
34054 (_G_ssize_t): Likewise.
34055 (_G_off_t): Likewise.
34056 (_G_pid_t): Likewise.
34057 (_G_uid_t): Likewise.
34058 (_G_wchar_t): Likewise.
34059 (_G_wint_t): Likewise.
34060 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
34061 (_G_ssize_t): Likewise.
34062 (_G_off_t): Likewise.
34063 (_G_pid_t): Likewise.
34064 (_G_uid_t): Likewise.
34065 (_G_wchar_t): Likewise.
34066 (_G_wint_t): Likewise.
34067
9fab36eb
SP
340682012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
34069
34070 * malloc/arena.c: Include malloc-sysdep.h.
34071 (shrink_heap): Use check_may_shrink_heap to decide if madvise
34072 is sufficient to shrink the heap or an unmap is needed.
34073 * sysdeps/generic/malloc-sysdep.h: New file. Define
34074 new function check_may_shrink_heap.
34075 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
34076 new function check_may_shrink_heap.
34077
2b4f00d1
SP
340782012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
34079
34080 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
34081 comments.
34082
9a9028b1
DL
340832012-09-24 Dmitry V. Levin <ldv@altlinux.org>
34084
57c69bef
DL
34085 * catgets/test-gencat.sh: Add "set -e".
34086 * elf/tst-pathopt.sh: Likewise.
34087 * grp/tst_fgetgrent.sh: Likewise.
34088 * iconvdata/run-iconv-test.sh: Likewise.
34089 * intl/tst-gettext.sh: Likewise.
34090 * intl/tst-gettext2.sh: Likewise.
34091 * intl/tst-gettext4.sh: Likewise.
34092 * intl/tst-gettext6.sh: Likewise.
34093 * intl/tst-translit.sh: Likewise.
34094 * io/ftwtest-sh: Likewise.
34095 * libio/test-freopen.sh: Likewise.
34096 * malloc/tst-mtrace.sh: Likewise.
34097 * posix/globtest.sh: Likewise.
34098 * posix/tst-getconf.sh: Likewise.
34099 * posix/wordexp-tst.sh: Likewise.
34100 * stdio-common/tst-printf.sh: Likewise.
34101 * stdio-common/tst-unbputc.sh: Likewise.
34102 * stdlib/tst-fmtmsg.sh: Likewise.
34103 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
34104 * catgets/Makefile: Do not specify -e option when running
34105 testsuite shell scripts.
34106 * elf/Makefile: Likewise.
34107 * grp/Makefile: Likewise.
34108 * iconvdata/Makefile: Likewise.
34109 * intl/Makefile: Likewise.
34110 * io/Makefile: Likewise.
34111 * libio/Makefile: Likewise.
34112 * malloc/Makefile: Likewise.
34113 * posix/Makefile: Likewise.
34114 * stdio-common/Makefile: Likewise.
34115 * stdlib/Makefile: Likewise.
34116 * sysdeps/x86_64/Makefile: Likewise.
34117
9a9028b1
DL
34118 * io/ftwtest-sh: Add copyright header.
34119 * posix/globtest.sh: Likewise.
34120 * posix/tst-getconf.sh: Likewise.
34121 * posix/wordexp-tst.sh: Likewise.
34122 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
34123
ced6f16e
L
341242012-09-24 H.J. Lu <hongjiu.lu@intel.com>
34125
94b32c39
L
34126 [BZ #13679]
34127 * Makeconfig (+link): Defined as $(+link-static) if
34128 $(build-shared) isn't yes.
34129 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
34130 isn't yes.
34131 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
34132
189e935b
L
34133 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
34134
ced6f16e
L
34135 [BZ #14562]
34136 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
34137 new chunk size with MALLOC_ALIGN_MASK.
34138
a9f8e53a
JM
341392012-09-24 Joseph Myers <joseph@codesourcery.com>
34140
34141 [BZ #5044]
34142 * stdio-common/printf_fphex.c: Include <stdbool.h> and
34143 <rounding-mode.h>.
34144 (__printf_fphex): Determine rounding using get_rounding_mode and
34145 round_away.
34146 * stdio-common/tst-printf-round.c (struct hex_test): New
34147 structure.
34148 (hex_tests): New variable.
34149 (test_hex_in_one_mode): New function.
34150 (do_test): Also run tests for hex float output.
34151
43153109
JM
341522012-09-21 Joseph Myers <joseph@codesourcery.com>
34153
34154 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
34155 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
34156 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
34157 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
34158 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
34159 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
34160 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
34161 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
34162
8a26625d
JM
341632012-09-20 Joseph Myers <joseph@codesourcery.com>
34164
34165 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
34166 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
34167 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
34168 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
34169
f3fd569c
DL
341702012-09-19 Dmitry V. Levin <ldv@altlinux.org>
34171
34172 [BZ #14579]
34173 * elf/rtld.c (dl_main): Limit the check for self loading to normal
34174 mode only.
34175 * elf/tst-rtld-load-self.sh: New test.
34176 * elf/Makefile: Run it.
34177
63bbedd4
JM
341782012-09-18 Joseph Myers <joseph@codesourcery.com>
34179
34180 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
34181 (tst-writev-ENV): Remove.
34182 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
34183
626f8b6a
CM
341842012-09-17 Chris Metcalf <cmetcalf@tilera.com>
34185
34186 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
34187
b7aaa4d6
JM
341882012-09-17 Joseph Myers <joseph@codesourcery.com>
34189
34190 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
34191 unconditional.
34192 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
34193 Likewise.
34194 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
34195 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
34196 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
34197 Likewise.
34198
65513990
L
341992012-09-14 H.J. Lu <hongjiu.lu@intel.com>
34200
34201 [BZ #14587]
34202 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
34203 * config.make.in (have-cpp-asm-debuginfo): Removed.
34204 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
34205 * configure: Regenerated.
34206
784761be
JM
342072012-09-14 Joseph Myers <joseph@codesourcery.com>
34208
34209 [BZ #5044]
34210 * stdio-common/printf_fp.c: Include <stdbool.h> and
34211 <rounding-mode.h>.
34212 (___printf_fp): Determine rounding using get_rounding_mode and
34213 round_away.
34214 * stdio-common/tst-printf-round.c: New file.
34215 * stdio-common/Makefile (tests): Add tst-printf-round.
34216 (link-libm): New variable.
34217 ($(objpfx)tst-printf-round): Depend in $(link-libm).
34218
9503345f
L
342192012-09-13 H.J. Lu <hongjiu.lu@intel.com>
34220
34221 [BZ #14576]
34222 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
34223 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
34224 Likewise.
34225 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
34226 Likewise.
34227
ad35fc00
JM
342282012-09-13 Joseph Myers <joseph@codesourcery.com>
34229
34230 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
34231 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
34232 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
34233 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
34234
6c9b0f68
JM
342352012-09-12 Joseph Myers <joseph@codesourcery.com>
34236
34237 [BZ #14518]
34238 * include/rounding-mode.h: New file.
34239 * sysdeps/generic/get-rounding-mode.h: Likewise.
34240 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
34241 * stdlib/strtod_l.c: Include <rounding-mode.h>.
34242 (MAX_VALUE): New macro.
34243 (MIN_VALUE): Likewise.
34244 (overflow_value): New function.
34245 (underflow_value): Likewise.
34246 (round_and_return): Use overflow_value and underflow_value to
34247 determine return values in overflow and underflow cases. Use
34248 round_away to determine rounding depending on rounding mode.
34249 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
34250 determine return values in overflow and underflow cases.
34251 * stdlib/tst-strtod-round.c: Include <fenv.h>.
34252 (struct test_results): New structure.
34253 (struct test): Use struct test_results to store expected results
34254 for all rounding modes.
34255 (TEST): Include expected results for all rounding modes.
34256 (test_in_one_mode): New function.
34257 (do_test): Use test_in_one_mode to compute and check results.
34258 Check results for all rounding modes.
34259 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
34260 $(link-libm).
34261
19fcedd5
AM
342622012-12-09 Allan McRae <allan@archlinux.org>
34263
1e9d84cd 34264 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 34265
8bbfd2f1
JM
342662012-09-11 Joseph Myers <joseph@codesourcery.com>
34267
34268 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
34269 (_G_int32_t): Likewise.
34270 (_G_uint16_t): Likewise.
34271 (_G_uint32_t): Likewise.
34272 (_G_HAVE_BOOL): Likewise.
34273 (_G_HAVE_ATEXIT): Likewise.
34274 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
34275 (_G_HAVE_IO_FILE_OPEN): Likewise.
34276 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
34277 (_G_int32_t): Likewise.
34278 (_G_uint16_t): Likewise.
34279 (_G_uint32_t): Likewise.
34280 (_G_HAVE_BOOL): Likewise.
34281 (_G_HAVE_ATEXIT): Likewise.
34282 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
34283 (_G_HAVE_IO_FILE_OPEN): Likewise.
34284 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
34285 (_G_int32_t): Likewise.
34286 (_G_uint16_t): Likewise.
34287 (_G_uint32_t): Likewise.
34288 (_G_HAVE_BOOL): Likewise.
34289 (_G_HAVE_ATEXIT): Likewise.
34290 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
34291 (_G_HAVE_IO_FILE_OPEN): Likewise.
34292
b1dc5912
L
342932012-09-11 H.J. Lu <hongjiu.lu@intel.com>
34294
34295 * csu/libc-tls.c: Update copyright years.
34296
0e886ef9
JM
342972012-09-10 Joseph Myers <joseph@codesourcery.com>
34298
28361c5e
JM
34299 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
34300 [!_G_USING_THUNKS]: Remove conditional code.
34301 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
34302 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
34303
0e886ef9
JM
34304 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
34305 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
34306 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
34307 (_G_VTABLE_LABEL_PREFIX): Likewise.
34308 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
34309 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
34310 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
34311 (_G_VTABLE_LABEL_PREFIX): Likewise.
34312 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
34313 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
34314 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
34315 (_G_VTABLE_LABEL_PREFIX): Likewise.
34316 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
34317
bcba7aa2
L
343182012-09-10 H.J. Lu <hongjiu.lu@intel.com>
34319
34320 * libio/Makefile: Include ../Makeconfig before tests.
34321 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
34322 only if $(build-shared) is yes.
34323
06585ee8
L
34324 * iconv/gconv_db.c: Update copyright years.
34325
80ccd52c
LD
343262012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34327
34328 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
34329 unwind info if defined PIC. Fix special cases description.
34330 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
34331
34332 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
34333 DP_HI_MASK entry.
34334 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
34335
691bc9c1
L
343362012-09-07 H.J. Lu <hongjiu.lu@intel.com>
34337
3d9b46b3
L
34338 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
34339
de2139a9
L
34340 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
34341 is NULL.
34342
5ca78dd0
L
34343 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
34344 (LDLIBS-tst-chk4): This.
34345 (LDFLAGS-tst-chk5): Renamed to ...
34346 (LDLIBS-tst-chk5): This.
34347 (LDFLAGS-tst-chk6): Renamed to ...
34348 (LDLIBS-tst-chk6): This.
34349 (LDFLAGS-tst-lfschk4): Renamed to ...
34350 (LDLIBS-tst-lfschk4): This.
34351 (LDFLAGS-tst-lfschk5): Renamed to ...
34352 (LDLIBS-tst-lfschk5): This.
34353 (LDFLAGS-tst-lfschk6): Renamed to ...
34354 (LDLIBS-tst-lfschk6): This.
34355
691bc9c1
L
34356 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
34357 on $(common-objpfx)soversions.mk.
34358
65cafb1c
JM
343592012-09-07 Joseph Myers <joseph@codesourcery.com>
34360
34361 [BZ #10014]
34362 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
34363 example host name.
34364
c78ab094
SP
343652012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
34366
34367 * malloc/arena.c (arena_get_retry): New function that gets
34368 another arena for the caller to try its request on.
34369 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
34370 current arena cannot fulfill the request.
34371 (__libc_memalign): Likewise.
34372 (__libc_memalign): Likewise.
34373 (__libc_pvalloc): Likewise.
34374 (__libc_calloc): Likewise.
34375
01f49f59
JT
343762012-09-05 John Tobey <john.tobey@gmail.com>
34377
34378 [BZ #13542]
34379 * manual/arith.texi (Operations on Complex): Fix description
34380 of carg branch cut.
34381
4c23fed5
JM
343822012-09-06 Joseph Myers <joseph@codesourcery.com>
34383
1d3c8572
JM
34384 [BZ #10014]
34385 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
34386 host name.
34387
4c23fed5
JM
34388 [BZ #10038]
34389 * manual/memory.texi (Memory): Make order of menu items match
34390 order of sections.
34391
04570aaa
L
343922012-09-06 H.J. Lu <hongjiu.lu@intel.com>
34393
34394 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
34395 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
34396 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
34397
b80af2f4
L
343982012-09-06 H.J. Lu <hongjiu.lu@intel.com>
34399
34400 * csu/libc-tls.c (static_dtv): Renamed to ...
34401 (_dl_static_dtv): This. Make it global.
34402 (_dl_initial_dtv): Removed.
34403 (__libc_setup_tls): Updated.
34404 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
34405 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
34406 DL_INITIAL_DTV.
34407
2abe9f15
PM
344082012-09-06 Petr Machata <pmachata@redhat.com>
34409
34410 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
34411 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
34412 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
34413 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
34414
0948c3af
L
344152012-09-06 H.J. Lu <hongjiu.lu@intel.com>
34416
34417 [BZ #14545]
34418 * csu/libc-tls.c (_dl_initial_dtv): New variable.
34419 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
34420 freeing dtv[-1].
34421
a5055ad1
L
344222012-09-06 H.J. Lu <hongjiu.lu@intel.com>
34423
34424 [BZ #14544]
34425 * Makeconfig (link-static-before-libc): Replace $(+prector)
34426 with $(+prectorT).
34427 (link-static-after-libc): Replace $(+postctor) with
34428 $(+postctorT).
34429 (link-bounded): Replace $(+prector)/$(+postctor) with
34430 $(+prectorT)/$(+postctorT).
34431 (+prectorT): New macro.
34432 (+postctorT): Likewise.
34433
ed8c2ecd
JM
344342012-09-06 Joseph Myers <joseph@codesourcery.com>
34435
34436 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
34437 (round_str): Handle values above the maximum for IBM long double
34438 as inexact.
34439 * stdlib/tst-strtod-round.c (tests): Regenerated.
34440
14c996c8
AK
344412012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34442
34443 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
34444 assembler flag.
34445 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
34446 zarch_nohighgprs around the zarch optimized routines.
34447 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
34448 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
34449 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
34450 for zarch.
34451
430d6ce6
DM
344522012-09-05 David S. Miller <davem@davemloft.net>
34453
34454 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34455
57f41c40
AS
34456 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
34457 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
ff04dda4
DM
34458 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
34459 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
34460 entries.
34461
24d4e01b
AO
344622012-09-05 Alexandre Oliva <aoliva@redhat.com>
34463
34464 * malloc/arena.c: Fold copyright years.
34465 * malloc/mcheck.c, malloc/memusage.c: Likewise.
34466
61d58174
AO
344672012-09-05 Alexandre Oliva <aoliva@redhat.com>
34468
34469 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
34470
20196a5e
AO
344712012-09-05 Alexandre Oliva <aoliva@redhat.com>
34472
34473 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
34474
5c447383
AO
344752012-09-05 Alexandre Oliva <aoliva@redhat.com>
34476
34477 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
34478 change internal state upon failure.
34479
fad64255
AO
344802012-09-05 Alexandre Oliva <aoliva@redhat.com>
34481
34482 * malloc/mcheck.c (mcheck_check_all): Fix typo.
34483 * malloc/memusage.c (mmap): Likewise.
34484 (mmap64, mremap): Likewise. Adjust name in comment.
34485
1ffb8c90
SP
344862012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
34487
34488 * libio/fileops.c: Fix typos in comments.
34489 * libio/oldfileops.c: Likewise.
34490 * libio/wfileops.c: Likewise.
34491
6ef9cc37
SP
344922012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
34493
34494 [BZ #1349]
34495 * malloc/Makefile (tests): Add tst-malloc-usable test case.
34496 (tst-malloc-usable-ENV): Set environment for test case.
34497 * malloc/hooks.c (malloc_check_get_size): New function to get
34498 requested size.
34499 * malloc/malloc.c (musable): Use malloc_check_get_size.
34500 * malloc/tst-malloc-usable.c: New test case.
34501
4d038ae3
AS
345022012-09-05 Andreas Schwab <schwab@linux-m68k.org>
34503
34504 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
34505
c4e85184
AM
345062012-09-05 Allan McRae <allan@archlinux.org>
34507
b9dafc56 34508 [BZ #13966]
c4e85184
AM
34509 * configure.in (CXX_SYSINCLUDES): Use compiler output to
34510 determine header location.
34511 * configure: Regenerated.
34512
e1343020
AS
345132012-09-05 Andreas Schwab <schwab@linux-m68k.org>
34514
34515 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
34516 float format.
34517 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
34518 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
34519 format.
e1343020
AS
34520 (test): Regenerate.
34521
0a9f1987
DM
345222012-09-04 David S. Miller <davem@davemloft.net>
34523
34524 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
34525 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
34526 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
34527
29237804
FW
345282012-09-04 Florian Weimer <fweimer@redhat.com>
34529
34530 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
34531 failures.
34532
edb3cb88
FW
34533 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
34534
60160d83
JM
345352012-09-04 Joseph Myers <joseph@codesourcery.com>
34536
34537 [BZ #9914]
34538 * libio/iogetdelim.c: Include <limits.h>.
34539 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
34540 + len + 1 would overflow.
34541
bcd6c8dc
AJ
345422012-09-03 Andreas Jaeger <aj@suse.de>
34543
34544 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34545 * sysdeps/i386/fpu/libm-test-ulps: Update.
34546
4ffffbd2
LD
345472012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34548
34549 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
34550 Add s_sinf-sse2, s_conf-sse2.
34551
34552 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
34553 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
34554 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
34555 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
34556
34557 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
34558 for using routine as __sinf_ia32.
34559 Use macro for function declaration and weak_alias.
34560 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
34561 for using routine as __cosf_ia32.
34562 Use macro for function declaration and weak_alias.
34563
34564 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
34565 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
34566
34567 * sysdeps/x86_64/fpu/s_sinf.S: New file.
34568 * sysdeps/x86_64/fpu/s_cosf.S: New file.
34569 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34570
34571 * math/libm-test.inc (cos_test): Add more test cases.
34572 (sin_test): Likewise.
34573 (sincos_test): Likewise.
34574
511fa286
AK
345752012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34576
34577 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
34578 (IFUNC_RESOLVE): Make pointers to the specialized implementations
34579 hidden.
34580 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
34581
5f30cfec
L
345822012-09-02 H.J. Lu <hongjiu.lu@intel.com>
34583
34584 [BZ #14538]
34585 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
34586 first element of the GOT.
34587 (elf_machine_load_address): Return the difference between
34588 the runtime address of _DYNAMIC and elf_machine_dynamic ().
34589
0786794f
AM
345902012-09-01 Allan McRae <allan@archlinux.org>
34591
5f30cfec
L
34592 [BZ #13412]
34593 * configure.in (AWK): Require gawk version 3.0 or later.
34594 * configure: Regenerated.
0786794f 34595
26889eac
JM
345962012-09-01 Joseph Myers <joseph@codesourcery.com>
34597
34598 * sysdeps/unix/sysv/linux/kernel-features.h
34599 (__ASSUME_POSIX_CPU_TIMERS): Remove.
34600 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
34601 [__NR_clock_getres]: Make code unconditional.
34602 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
34603 (clock_getcpuclockid): Remove code left unreachable by removal of
34604 conditionals.
34605 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
34606 code unconditional.
34607 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
34608 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
34609 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
34610 Make code unconditional.
34611 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
34612 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
34613 * sysdeps/unix/sysv/linux/clock_settime.c
34614 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
34615 conditional code.
34616 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
34617 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
34618
d22e28b0
L
346192012-08-29 H.J. Lu <hongjiu.lu@intel.com>
34620
34621 [BZ #14476]
34622 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
34623 scripts/test-installation.pl.
34624
34625 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
34626 and $ld_so_version if it is set.
34627
050af9c4
SP
346282012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
34629
34630 [BZ #14516]
34631 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
34632 failure if reading from procfs failed.
34633 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
34634
ad845c0b
JM
346352012-08-27 Joseph Myers <joseph@codesourcery.com>
34636
34637 * sysdeps/unix/sysv/linux/kernel-features.h
34638 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
34639 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
34640 Remove conditional code.
34641 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
34642 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
34643 Remove conditional code.
34644 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
34645 * sysdeps/unix/sysv/linux/i386/fxstat.c
34646 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
34647 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
34648 * sysdeps/unix/sysv/linux/i386/fxstatat.c
34649 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
34650 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
34651 * sysdeps/unix/sysv/linux/i386/lxstat.c
34652 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
34653 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
34654 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
34655 Remove conditional code.
34656 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
34657 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
34658 Remove conditional code.
34659 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
34660 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
34661 <kernel-features.h>.
34662 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
34663 Remove.
34664 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
34665 Remove conditional code.
34666 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
34667 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
34668 Remove conditional.
34669
5dbf56af
MF
346702012-08-27 Mike Frysinger <vapier@gentoo.org>
34671
34672 [BZ #5400]
34673 * NEWS: Add fixed bug number.
34674
d6e70f43
JM
346752012-08-27 Joseph Myers <joseph@codesourcery.com>
34676
7efb4737
JM
34677 [BZ #14519]
34678 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
34679 underflowing exponent in case of negative sign.
34680 * stdlib/tst-strtod-round-data: Add more tests.
34681 * stdlib/tst-strtod-round.c (tests): Regenerated.
34682
af92131a
JM
34683 [BZ #3479]
34684 * stdlib/strtod_l.c (NDIG): Remove.
34685 (HEXNDIG): Likewise.
34686 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
34687 smallest representable value.
34688 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
34689 lie within an exact representation of 1/2 ulp of the result.
34690 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
34691 unconditionally.
34692 (TENS_P9_IDX): Define unconditionally.
34693 (TENS_P9_SIZE): Likewise.
34694 (TENS_P10_IDX): Likewise.
34695 (TENS_P10_SIZE): Likewise.
34696 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
34697 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
34698 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
34699 entries for 10^2^13 and 10^2^14.
34700 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
34701 (TENS_P13_IDX): Define.
34702 (TENS_P13_SIZE): Likewise.
34703 (TENS_P14_IDX): Likewise.
34704 (TENS_P14_SIZE): Likewise.
34705 (_fpioconst_pow10): Change array size to
34706 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
34707 unconditional.
34708 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
34709 1024]: Add entries for 10^2^13 and 10^2^14.
34710 [LAST_POW10 > _LAST_POW10]: Remove #error.
34711 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
34712 (_fpioconst_pow10): Change array size to
34713 FPIOCONST_POW10_ARRAY_SIZE.
34714 * stdlib/gen-fpioconst.c: New file.
34715 * stdlib/gen-tst-strtod-round.c: Likewise.
34716 * stdlib/tst-strtod-round-data: Likewise.
34717 * stdlib/tst-strtod-round.c: Likewise.
34718 * stdlib/Makefile (tests): Add tst-strtod-round.
34719
d6e70f43
JM
34720 [BZ #14459]
34721 * stdlib/strtod_l.c: Include <stdint.h>.
34722 (NDEBUG): Do not define.
34723 (round_and_return): Change EXPONENT parameter to type intmax_t.
34724 Rearrange calculations to avoid internal overflow possibilities.
34725 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
34726 Rearrange calculations to avoid internal overflow possibilities.
34727 Assert that number fits inside MPNSIZE limbs.
34728 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
34729 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
34730 calculations and add assertions to avoid internal overflow
34731 possibilities. Add casts to avoid signed/unsigned operations.
34732 * stdlib/tst-strtod-overflow.c: New file.
34733 * stdlib/Makefile (tests): Add tst-strtod-overflow.
34734
1f529f7d
MP
347352012-08-25 Marek Polacek <polacek@redhat.com>
34736
34737 * time/time.h: Fix some typos in comments.
34738
59a629f1
RM
347392012-08-23 Roland McGrath <roland@hack.frob.com>
34740
34741 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
34742 * posix/tst-rfc3484-2.c: Likewise.
34743 * posix/tst-rfc3484-3.c: Likewise.
34744
d3bafbc9
SM
347452012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
34746
34747 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
34748 (EF_ARM_ABI_FLOAT_HARD): Likewise.
34749
4efcc022
JM
347502012-08-23 Joseph Myers <joseph@codesourcery.com>
34751
34752 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
34753 #include of fxstatat64.c.
34754
3cc3ef96
RM
347552012-08-22 Roland McGrath <roland@hack.frob.com>
34756
f04e2132
RM
34757 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
34758 * shadow/getspent_r.c: Likewise.
34759 * shadow/getspnam.c: Likewise.
34760 * shadow/getspnam_r.c: Likewise.
34761 * gshadow/getsgent.c: Likewise.
34762 * gshadow/getsgent_r.c: Likewise.
34763 * gshadow/getsgnam.c: Likewise.
34764 * gshadow/getsgnam_r.c: Likewise.
34765 * inet/getnetbyad.c: Likewise.
34766 * inet/getnetbyad_r.c: Likewise.
34767 * inet/getnetbynm.c: Likewise.
34768 * inet/getnetbynm_r.c: Likewise.
34769 * inet/getnetent.c: Likewise.
34770 * inet/getnetent_r.c: Likewise.
34771 * inet/getproto.c: Likewise.
34772 * inet/getproto_r.c: Likewise.
34773 * inet/getprtent.c: Likewise.
34774 * inet/getprtent_r.c: Likewise.
34775 * inet/getprtname.c: Likewise.
34776 * inet/getprtname_r.c: Likewise.
34777 * inet/getrpcbyname.c: Likewise.
34778 * inet/getrpcbyname_r.c: Likewise.
34779 * inet/getrpcbynumber.c: Likewise.
34780 * inet/getrpcbynumber_r.c: Likewise.
34781 * inet/getrpcent.c: Likewise.
34782 * inet/getrpcent_r.c: Likewise.
34783 * inet/getaliasent.c: Likewise.
34784 * inet/getaliasent_r.c: Likewise.
34785 * inet/getaliasname.c: Likewise.
34786 * inet/getaliasname_r.c: Likewise.
34787 * nscd/getgrgid_r.c: Likewise.
34788 * nscd/getgrnam_r.c: Likewise.
34789 * nscd/gethstbyad_r.c: Likewise.
34790 * nscd/gethstbynm3_r.c: Likewise.
34791 * nscd/getpwnam_r.c: Likewise.
34792 * nscd/getpwuid_r.c: Likewise.
34793 * nscd/getsrvbynm_r.c: Likewise.
34794 * nscd/getsrvbypt_r.c: Likewise.
34795 * nscd/gai.c: Likewise.
34796
c53d909c
RM
34797 * configure.in (build_nscd): New substituted variable, set
34798 by --disable-build-nscd and defaults to $use_nscd.
34799 * configure: Regenerated.
34800 * config.make.in (build-nscd): New substituted variable.
34801 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
34802 Change conditional to require [$(build-nscd) = yes] as well.
34803 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
34804
3cc3ef96
RM
34805 [BZ# 13696]
34806 * configure.in (use_nscd): New substituted variable, set by
34807 --disable-nscd. If enabled, define USE_NSCD.
34808 * configure: Regenerated.
34809 * config.h.in: Add USE_NSCD.
34810 * config.make.in (use-nscd): New substituted variable.
34811 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
34812 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
34813 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
34814 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
34815 (CFLAGS-getgrnam_r.c): Likewise.
34816 (CFLAGS-initgroups.c): Likewise.
34817 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
34818 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
34819 Variables removed.
34820 * inet/getnetgrent_r.c
34821 (nscd_setnetgrent): New function, broken out of ...
34822 (setnetgrent): ... here. Call it.
34823 (innetgr): Conditionalize nscd bits on [USE_NSCD].
34824 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
34825 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
34826 * nscd/Makefile (routines, aux): Move definitions after include of
34827 Makeconfig. Conditionalize on [$(use-nscd) != no].
34828 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
34829 Conditionalize on [USE_NSCD].
34830 (is_nscd, nscd_init_cb): Likewise.
34831 (nss_load_library): Conditionalize init callback on [USE_NSCD].
34832 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
34833 * nss/nss_db/db-init.c: Likewise.
34834 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
34835 [USE_NSCD].
34836 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
34837 (make_request): Use it.
34838 (cache_valid_p): New function.
34839 (__check_pf): Use it.
34840 * NEWS: Add item for --disable-nscd.
34841
07e51550
DL
348422012-08-22 Dmitry V. Levin <ldv@altlinux.org>
34843
34844 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
34845 to support sed >= 4.2.1-20-ga9bf076.
34846 * configure: Regenerated.
34847
35a5b08b
RM
348482012-08-22 Roland McGrath <roland@hack.frob.com>
34849
34850 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
34851 Conditionalize whole body on [IREL].
34852
8479f23a
JL
348532012-08-22 Jeff Law <law@redhat.com>
34854
34855 [BZ #14505]
34856 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
34857 if the family is PF_UNSPEC.
34858
48da0b21
MF
348592012-08-22 Mike Frysinger <vapier@gentoo.org>
34860
34861 * Makerules (lib-version): Rename from V.
34862 (install-lib-nosubdir): Change V to lib-version.
34863
15d0da8c
WS
348642012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
34865
34866 [BZ #14252]
34867 * powerpc32/power6/wcschr.c: New file.
34868 * powerpc32/power6/wcscpy.c: New file.
34869 * powerpc32/power6/wcsrchr.c: New file.
34870 * powerpc64/power6/wcschr.c: New file.
34871 * powerpc64/power6/wcscpy.c: New file.
34872 * powerpc64/power6/wcsrchr.c: New file.
34873
bcca0895
MK
348742012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
34875
34876 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
34877 (two_way_short_needle): Use it.
5a4aaa33
RM
34878 * string/strstr.c (AVAILABLE1_USES_J): Define.
34879 * string/strcasestr.c: Likewise.
99677e57
MK
34880
34881 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
34882 array references.
34883 * string/strcasestr.c (TOLOWER): Make side-effect safe.
34884
400726de
MK
34885 [BZ #11607]
34886 * NEWS: Add an entry.
34887 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
34888 define their defaults.
34889 (two_way_short_needle): Detect end-of-string on-the-fly.
34890 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
34891 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
34892 * string/bug-strcasestr1.c: New test.
34893 * string/Makefile: Run it.
34894
20a71f2c
MK
348952012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
34896
34897 [BZ #11607]
34898 * string/str-two-way.h (two_way_short_needle): Optimize matching of
34899 the first character.
34900
21ad0558
RM
349012012-08-21 Roland McGrath <roland@hack.frob.com>
34902
34903 * csu/elf-init.c (__libc_csu_irel): Function removed.
34904 * csu/libc-start.c (apply_irel): New function.
34905 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
34906
0e1d9911
JM
349072012-08-21 Joseph Myers <joseph@codesourcery.com>
34908
34909 * sysdeps/unix/sysv/linux/kernel-features.h
34910 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
34911 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
34912 <kernel-features.h>.
34913 [__NR_fadvise64_64]: Make code unconditional.
34914 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
34915 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
34916 !__NR_fadvise64_64)]: Likewise.
34917 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
34918 !__NR_fadvise64_64))]: Likewise.
34919 [__NR_fadvise64]: Make code unconditional.
34920 [!__NR_fadvise64]: Remove conditional code.
34921 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
34922 <kernel-features.h>.
34923 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
34924 unconditional.
34925 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
34926 conditional code.
34927 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
34928 not include <kernel-features.h>.
34929 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
34930 unconditional.
34931 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
34932 conditional code.
34933 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
34934 include <kernel-features.h>.
34935 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
34936 unconditional.
34937 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
34938 conditional code.
34939
14a50c9d
WS
349402012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
34941
34942 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
34943 slight instruction rearrangements per scrollpipe analysis.
34944 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
34945
c0f4faf0
RM
349462012-08-20 Roland McGrath <roland@hack.frob.com>
34947
696da859
RM
34948 * manual/syslog.texi (syslog; vsyslog, closelog):
34949 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
34950 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
34951
c0f4faf0
RM
34952 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
34953 DSOCAPS to match condition on defining it.
34954
348363b2
JM
349552012-08-20 Joseph Myers <joseph@codesourcery.com>
34956
a35cbf28
JM
34957 * sysdeps/unix/sysv/linux/kernel-features.h
34958 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
34959 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
34960 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
34961 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
34962 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
34963 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
34964 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
34965 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
34966 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
34967 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
34968
445f7ecd
JM
34969 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
34970 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
34971
348363b2
JM
34972 * sysdeps/unix/sysv/linux/kernel-features.h
34973 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
34974 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
34975 unconditional.
34976 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
34977 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
34978 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
34979 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
34980 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
34981 Make code unconditional.
34982 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
34983 (__mmap64) [!__NR_mmap2]: Likewise.
34984 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
34985 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
34986 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
34987 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
34988 [__NR_mmap2]: Make code unconditional.
34989 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
34990 (__mmap64) [!__NR_mmap2]: Likewise.
34991
bc5bc0e5
AK
349922012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34993
34994 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
34995
88d506de
AJ
349962012-08-18 Andreas Jaeger <aj@suse.de>
34997
34998 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
34999
493387d2
MF
350002012-08-18 Mike Frysinger <vapier@gentoo.org>
35001
35002 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
35003 * include/unistd.h (__have_sock_cloexec): Likewise.
35004 (__have_pipe2): Likewise.
35005 (__have_dup3): Likewise.
35006
a277af22
MF
350072012-08-18 Mike Frysinger <vapier@gentoo.org>
35008
35009 [BZ #9685]
35010 * include/unistd.h (__have_pipe2): Change define into an extern int.
35011 (__have_dup3): Likewise.
35012 * socket/have_sock_cloexec.c: Include fcntl.h.
35013 (__have_pipe2): New variable.
35014 (__have_dup3): Likewise.
35015
fdab8fd3
MF
350162012-08-17 Mike Frysinger <vapier@gentoo.org>
35017
35018 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
35019
31035e80
MP
350202012-08-17 Marek Polacek <polacek@redhat.com>
35021
35022 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
35023 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
35024
3bd9e993
RM
350252012-08-17 Roland McGrath <roland@hack.frob.com>
35026
c91c505f
RM
35027 * configure.in: Add AC_SUBST for sysheaders.
35028 * configure: Regenerated.
35029 * config.make.in (sysheaders): New substituted variable.
35030
7c6f9d53
RM
35031 * sysdeps/unix/mkfifo.c: Moved ...
35032 * sysdeps/posix/mkfifo.c: ... here.
35033 * sysdeps/unix/mkfifoat.c: Moved ...
35034 * sysdeps/posix/mkfifoat.c: ... here.
35035
35036 * sysdeps/unix/utime.c: Moved ...
35037 * sysdeps/posix/utime.c: ... here.
35038
35039 * sysdeps/unix/time.c: Moved ...
35040 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
35041 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
35042 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
35043
35044 * sysdeps/unix/nice.c: Moved ...
35045 * sysdeps/posix/nice.c: ... here.
35046
35047 * sysdeps/unix/alarm.c: Moved ...
35048 * sysdeps/posix/alarm.c: ... here.
35049
3bd9e993
RM
35050 * intl/Makefile ($(codeset_mo)): Depend on the input file.
35051
d1f09384
JL
350522012-08-17 Jeff Law <law@redhat.com>
35053
35054 * intl/Makefile (codeset_mo): New variable.
35055 ($(codeset_mo)): New target.
35056 (tst-codeset.out): Depend on that. Remove explicit rule.
35057 (tst-gettext3.out, tst-gettext5.out): Likewise.
35058 (LOCPATH-ENV, tst-codeset-ENV): New variables.
35059 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
35060 * intl/tst-codeset.sh: Remove.
35061 * intl/tst-gettext3.sh: Likewise.
35062 * intl/tst-gettext5.sh: Likewise.
35063
2ae1ae5c
RM
350642012-08-17 Roland McGrath <roland@hack.frob.com>
35065
c31fdb83
RM
35066 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
35067 * sysdeps/unix/syscalls.list: ... here.
35068
a0844057
RM
35069 * sysdeps/posix/getaddrinfo.c
35070 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
35071 (gaiconf_init, gaiconf_reload): Use them.
35072 [!_STATBUF_ST_NSEC]
35073 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
35074 Define using time_t rather than struct timespec.
35075
750c1f2a
RM
35076 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
35077 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
35078 Macros removed.
35079 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
35080 [!NO_THREADS].
35081 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
35082 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
35083 Likewise.
35084
2ae1ae5c
RM
35085 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
35086 __libc_cleanup_push argument.
35087
e66a42f5
RM
35088 * bits/param.h: New file.
35089 * misc/sys/param.h: New file.
35090 * include/sys/param.h: New file.
35091 * misc/Makefile (headers): Add bits/param.h.
35092 * sysdeps/generic/sys/param.h: File removed.
35093 * sysdeps/unix/sysv/linux/bits/param.h: New file.
35094 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
35095 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 35096 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 35097
b7c08a66
RM
35098 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
35099 last change.
35100
b2e1c562
RM
35101 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
35102 [_IO_MTSAFE_IO].
35103 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
35104 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
35105 New macros.
35106
c75ccd4c
RM
35107 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
35108 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
35109 rather than -D_IO_MTSAFE_IO conditionally.
35110 * stdio-common/Makefile (CPPFLAGS): Likewise.
35111 * wcsmbs/Makefile (CPPFLAGS): Likewise.
35112 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
35113 Use $(libio-mtsafe).
35114 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
35115 of -D_IO_MTSAFE_IO.
35116 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
35117 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
35118 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
35119 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
35120 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
35121 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
35122 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
35123 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
35124 (CFLAGS-fread_u_chk.c): Likewise.
35125 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
35126 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
35127 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
35128 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
35129 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
35130 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
35131 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
35132 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
35133 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
35134
35135 * libio/Makefile: Test [$(libc-reentrant) = yes]
35136 instead of [$(filter %REENTRANT, $(defines)) nonempty].
35137
35138 * Makeconfig
35139 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
35140 * sysdeps/pthread/configure: File removed.
35141 * sysdeps/pthread/Makeconfig: New file.
35142 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
35143 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
35144
d9195db8
GB
351452012-08-16 Gary Benson <gbenson@redhat.com>
35146
35147 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
35148 unmapping the first object in a namespace.
35149
86466cd9
RM
351502012-08-16 Roland McGrath <roland@hack.frob.com>
35151
35152 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
35153 (__internal_setnetgrent): ... this. Add internal_function to
35154 definition. Add libc_hidden_def.
35155 (setnetgrent): Update caller.
35156 (internal_endnetgrent): Renamed to ...
35157 (__internal_endnetgrent): ... this. Add internal_function to
35158 definition. Add libc_hidden_def.
35159 (endnetgrent): Update caller.
35160 (internal_getnetgrent_r): Renamed to ...
35161 (__internal_getnetgrent_r): ... this. Add internal_function to
35162 definition. Add libc_hidden_def.
35163 (__getnetgrent_r): Update caller.
35164 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
35165
c3c8283c
JM
351662012-08-16 Joseph Myers <joseph@codesourcery.com>
35167
35168 * stdlib/longlong.h: Update from GCC.
35169
db1ee0a8
RM
351702012-08-16 Roland McGrath <roland@hack.frob.com>
35171
35172 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
35173 on _QL, which is set by umul_ppmm but never used.
35174 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
35175 variables, which are set by GMP macros but never used.
35176 * stdio-common/_itowa.c (_itowa): Likewise.
35177 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
35178 * stdlib/mod_1.c (mpn_mod_1): Likewise.
35179
30f69637
CD
351802012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
35181
35182 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
35183 struct La_sh_regs is not constant.
35184 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
35185 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
35186 and struct La_sparc64_regs are not constant.
35187
93a78ac4
JM
351882012-08-16 Joseph Myers <joseph@codesourcery.com>
35189
35190 * sysdeps/unix/sysv/linux/kernel-features.h
35191 (__ASSUME_POSIX_TIMERS): Remove.
35192 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
35193 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
35194 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
35195 Make code unconditional.
35196 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
35197 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
35198 Make code unconditional.
35199 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
35200 * sysdeps/unix/sysv/linux/clock_nanosleep.c
35201 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
35202 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
35203 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
35204 Make code unconditional.
35205 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
35206 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
35207 (__libc_missing_posix_timers): Remove.
35208
dd924cd7
RM
352092012-08-15 Roland McGrath <roland@hack.frob.com>
35210
4b4f2771
RM
35211 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
35212 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
35213
601c888b
RM
35214 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
35215
176790a7
RM
35216 * elf/dl-sym.c: Include <stdlib.h>.
35217
329bc018
RM
35218 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
35219 constants, which avoids warnings in 32-bit builds.
35220
e04e272d
RM
35221 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
35222 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
35223
952bf94a
RM
35224 * misc/lseek.c: File moved to ...
35225 * io/lseek.c: ... here.
35226
7c99b50a
RM
35227 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
35228
dd924cd7
RM
35229 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
35230 shifting LEN more than 31 bits at once.
35231
b3f479a8
LD
352322012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35233
35234 [BZ #14195]
8c4ae0d4
RM
35235 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
35236 segmentation fault for a case of two empty input strings.
b3f479a8
LD
35237 * string/test-strncasecmp.c (check1): Renamed to...
35238 (bz12205): ...this.
35239 (bz14195): Add new testcase for two empty input strings and N > 0.
35240 (test_main): Call new testcase, adapt for renamed function.
35241
9c55864e
AJ
352422012-08-15 Andreas Jaeger <aj@suse.de>
35243
35244 [BZ #14090]
35245 * crypt/md5test2.c: New test, based on test supplied by Serge
35246 Belyshev <belyshev@depni.sinp.msu.ru>.
35247 * crypt/Makefile (xtests): Add md5test-giant..
35248 * crypt/Makefile ($(objpfx)md5test-giant): Add.
35249
02dcb6c5
PE
352502012-08-15 Paul Eggert <eggert@cs.ucla.edu>
35251
35252 [BZ #14090]
35253 * crypt/md5.c (md5_process_block): Don't assume the buffer
35254 length is less than 2**32.
35255 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
35256 length is less than 2**64.
35257
a3f95dcc
RM
352582012-08-15 Roland McGrath <roland@hack.frob.com>
35259
be75d758
RM
35260 * string/str-two-way.h: Include <sys/param.h>.
35261 (MAX): Macro removed.
35262
7312ca90
RM
35263 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
35264 Move #define and #undef of memmove to just before and after
35265 including <string.h>.
35266
9a0a5486
RM
35267 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
35268 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
35269 and after including <string.h>. Move declarations of
35270 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
35271 to before #include "string/memmove.c".
35272
67cc348d
RM
35273 * include/dirent.h: Declare __getdirentries.
35274
a3f95dcc
RM
35275 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
35276 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
35277
ca98e171
MF
352782012-08-14 Mike Frysinger <vapier@gentoo.org>
35279
35280 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
35281 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
35282 * sysdeps/i386/configure: Regenerated.
35283 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
35284 STABS_CURRENT_FILE, and STABS_FUN.
35285 (END): Remove call to STABS_FUN_END.
35286 (STABS_CURRENT_FILE1): Delete.
35287 (STABS_CURRENT_FILE): Likewise.
35288 (STABS_FUN): Likewise.
35289 (STABS_FUN_END): Likewise.
35290 (STABS_FUN2): Likewise.
35291 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
35292 * sysdeps/x86_64/configure: Regenerated.
35293
5908bf46
RM
352942012-08-14 Roland McGrath <roland@hack.frob.com>
35295
35296 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 35297 * elf/dl-lookup.c: Likewise.
5908bf46 35298
f2c05b9e
JM
352992012-08-14 Joseph Myers <joseph@codesourcery.com>
35300
35301 * sysdeps/unix/sysv/linux/kernel-features.h
35302 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
35303 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
35304 unconditionally.
35305 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
35306 unconditionally.
35307 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
35308 condition on __ASSUME_CLONE_THREAD_FLAGS.
35309
e11f5155
AJ
353102012-08-14 Andreas Jaeger <aj@suse.de>
35311
35312 * sysdeps/i386/fpu/libm-test-ulps: Update.
35313
51a9ba86
MK
353142012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
35315
2fdd4f78
AJ
35316 * include/atomic.h (atomic_exchange_and_add): Split into ...
35317 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
35318 New atomic macros.
51a9ba86 35319
ba6cba9e
MT
353202012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
35321
35322 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35323
42443a47
JL
353242012-08-13 Jeff Law <law@redhat.com>
35325
35326 * manual/stdio.texi (snprintf): Clarify handling of the trailing
35327 null byte in the output string.
35328
121dce05
JM
353292012-08-10 Joseph Myers <joseph@codesourcery.com>
35330
35331 * sysdeps/unix/sysv/linux/kernel-features.h
35332 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
35333 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
35334 (__ASSUME_ARG_MAX_STACK_BASED): Define.
35335 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
35336 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
35337 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
35338 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
35339
bf51f568
JL
353402012-08-09 Jeff Law <law@redhat.com>
35341
35342 [BZ #13939]
35343 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
35344 When avoid_arena is set, don't retry in the that arena. Pick the
35345 next one, whatever it might be.
35346 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
35347 (arena_lock): Pass in new parameter to arena_get2.
35348 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
35349 arena_get2.
35350 (__libc_malloc): Unify retrying after main arena failure with
35351 __libc_memalign version.
35352 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
35353
f85fa270
L
353542012-08-09 H.J. Lu <hongjiu.lu@intel.com>
35355
35356 [BZ #14166]
35357 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
35358 to __redirect_strstr.
35359 (__strstr_sse42): Use typeof __redirect_strstr.
35360 (__strstr_ia32): Likewise.
35361 (__libc_strstr): New prototype.
35362 (strstr): Renamed to ...
35363 (__libc_strstr): This.
35364 (strstr): New strong alias of __libc_strstr.
35365 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
35366 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
35367 __redirect_time.
35368 Include <time.h>.
35369 (__libc_time): New prototype.
35370 (time_ifunc): Replace time with __libc_time.
35371 (time): New strong alias and hidden definition of __libc_time.
35372 (__GI_time): Remove strong alias.
35373 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
35374 Include <stddef.h>.
35375 (memmove): Redefined to __redirect_memmove.
35376 (__memmove_sse2): Use typeof __redirect_memmove.
35377 (__memmove_ssse3): Likewise.
35378 (__memmove_ssse3_back): Likewise.
35379 (__libc_memmove): New prototype.
35380 (memmove): Renamed to ...
35381 (__libc_memmove): This.
35382 (memmove): New strong alias of __libc_memmove.
35383
33b4a91e
MS
353842012-08-08 Mark Salter <msalter@redhat.com>
35385
35386 * elf/elf.h
35387 (R_MN10300_TLS_GD): Define.
35388 (R_MN10300_TLS_LD): Likewise.
35389 (R_MN10300_TLS_LDO): Likewise.
35390 (R_MN10300_TLS_GOTIE): Likewise.
35391 (R_MN10300_TLS_IE): Likewise.
35392 (R_MN10300_TLS_LE): Likewise.
35393 (R_MN10300_TLS_DTPMOD): Likewise.
35394 (R_MN10300_TLS_DTPOFF): Likewise.
35395 (R_MN10300_TLS_TPOFF): Likewise.
35396 (R_MN10300_SYM_DIFF): Likewise.
35397 (R_MN10300_ALIGN): Likewise.
35398 (R_MN10300_NUM): Update.
35399
b36137f1
JM
354002012-08-08 Joseph Myers <joseph@codesourcery.com>
35401
35402 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
35403 Remove.
35404
cdd915fd
RM
354052012-08-08 Roland McGrath <roland@hack.frob.com>
35406
a2433aac
RM
35407 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
35408
cdd915fd
RM
35409 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
35410 sysdeps/unix -> sysdeps/posix move.
35411 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
35412
bf9b740a
AM
354132012-08-07 Allan McRae <allan@archlinux.org>
35414
35415 [BZ #14303]
35416 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
35417 (SUNOS_CPP): Likewise.
35418 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
35419 not found.
35420 (open_input): Call CPP using execvp.
35421
93df14ee
JM
354222012-08-07 Joseph Myers <joseph@codesourcery.com>
35423
35424 * sysdeps/unix/sysv/linux/kernel-features.h
35425 (__ASSUME_PROT_GROWSUPDOWN): Remove.
35426 (__ASSUME_NO_CLONE_DETACHED): Likewise.
35427 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
35428 (__ASSUME_WAITID_SYSCALL): Likewise.
35429 * sysdeps/unix/sysv/linux/dl-execstack.c
35430 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
35431 code unconditional.
35432 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
35433 conditional code.
35434 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
35435 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
35436 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
35437 code.
35438 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
35439 unconditional.
35440 [__ASSUME_WAITID_SYSCALL]: Likewise.
35441 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
35442
d34689de
RM
354432012-08-07 Roland McGrath <roland@hack.frob.com>
35444
a281decc
RM
35445 * sysdeps/unix/closedir.c: Renamed to ...
35446 * sysdeps/posix/closedir.c: ... here.
35447 * sysdeps/unix/dirfd.c: Renamed to ...
35448 * sysdeps/posix/dirfd.c: ... here.
35449 * sysdeps/unix/dirstream.h: Renamed to ...
35450 * sysdeps/posix/dirstream.h: ... here.
35451 * sysdeps/unix/fdopendir.c: Renamed to ...
35452 * sysdeps/posix/fdopendir.c: ... here.
35453 * sysdeps/unix/opendir.c: Renamed to ...
35454 * sysdeps/posix/opendir.c: ... here.
35455 * sysdeps/unix/readdir.c: Renamed to ...
35456 * sysdeps/posix/readdir.c: ... here.
35457 * sysdeps/unix/readdir_r.c: Renamed to ...
35458 * sysdeps/posix/readdir_r.c: ... here.
35459 * sysdeps/unix/rewinddir.c: Renamed to ...
35460 * sysdeps/posix/rewinddir.c: ... here.
35461 * sysdeps/unix/seekdir.c: Renamed to ...
35462 * sysdeps/posix/seekdir.c: ... here.
35463 * sysdeps/unix/telldir.c: Renamed to ...
35464 * sysdeps/posix/telldir.c: ... here.
35465 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
35466 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
35467 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
35468 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
35469
22895b47
RM
35470 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
35471 * bits/fcntl.h: ... here.
35472
707a53b6
RM
35473 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
35474 not 0.
35475 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
35476 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
35477 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
35478 (struct flock): Move l_start, l_len to the beginning.
35479 Use __pid_t for l_pid.
35480 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
35481 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
35482 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
35483 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
35484 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
35485 [__USE_LARGEFILE64] (struct flock64): New type.
35486 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
35487
f0bd3e25
RM
35488 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
35489 * bits/dirent.h: ... here.
35490
d34689de
RM
35491 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
35492 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
35493
6dad2c06
JM
354942012-08-07 Joseph Myers <joseph@codesourcery.com>
35495
35496 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
35497 Change from 2.6.0 to 2.6.16.
35498 * sysdeps/unix/sysv/linux/configure: Regenerated.
35499 * sysdeps/unix/sysv/linux/kernel-features.h
35500 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
35501 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
35502 version.
35503 (__ASSUME_UTIMES): Likewise.
35504 (__ASSUME_CLONE_STOPPED): Remove.
35505 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
35506 architectures, not kernel version.
35507 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
35508 (__ASSUME_NO_CLONE_DETACHED): Likewise.
35509 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
35510 (__ASSUME_WAITID_SYSCALL): Likewise.
35511 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
35512 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
35513 * README: State 2.6.16 as minimum Linux kernel version. Do not
35514 refer to older versions.
35515
03af9520
RM
355162012-08-06 Roland McGrath <roland@hack.frob.com>
35517
8e49df1d
RM
35518 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
35519 Define alphasort64 as an alias.
35520 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
35521 Define versionsort64 as an alias.
35522 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
35523 Define scandir64 as an alias.
35524 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
35525 Define scandirat64 as an alias.
35526 * dirent/alphasort64.c (alphasort64):
35527 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
35528 * dirent/versionsort64.c: Likewise.
35529 * dirent/scandir64.c: Likewise.
35530 * dirent/scandirat64.c: Likewise.
35531 * sysdeps/wordsize-64/alphasort.c: File removed.
35532 * sysdeps/wordsize-64/alphasort64.c: File removed.
35533 * sysdeps/wordsize-64/scandir.c: File removed.
35534 * sysdeps/wordsize-64/scandir64.c: File removed.
35535 * sysdeps/wordsize-64/scandirat.c: File removed.
35536 * sysdeps/wordsize-64/scandirat64.c: File removed.
35537 * sysdeps/wordsize-64/versionsort.c: File removed.
35538 * sysdeps/wordsize-64/versionsort64.c: File removed.
35539 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
35540 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
35541 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
35542 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
35543 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
35544 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
35545 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
35546 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
35547
35548 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
35549 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
35550 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
35551 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
35552 [defined __arch64__ || defined __sparcv9]
35553 (__INO_T_MATCHES_INO64_T): New macro.
35554 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
35555 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
35556 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
35557 * sysdeps/unix/sysv/linux/bits/dirent.h
35558 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
35559 (_DIRENT_MATCHES_DIRENT64): New macro.
35560
03af9520
RM
35561 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
35562 Define lockf64 as an alias.
35563 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
35564 Define fseeko64 as an alias.
35565 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
35566 Define ftello64 as an alias.
35567 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
35568 Define _IO_fgetpos64 and fgetpos64 as aliases.
35569 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
35570 Define _IO_fsetpos64 and fsetpos64 as aliases.
35571 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
35572 Conditionalize body on this.
35573 * libio/fseeko64.c: Likewise.
35574 * libio/ftello64.c: Likewise.
35575 * libio/iofgetpos64.c: Likewise.
35576 * libio/iofsetpos64.c: Likewise.
35577 * sysdeps/wordsize-64/lockf.c: File removed.
35578 * sysdeps/wordsize-64/lockf64.c: File removed.
35579 * sysdeps/wordsize-64/fseeko.c: File removed.
35580 * sysdeps/wordsize-64/fseeko64.c: File removed.
35581 * sysdeps/wordsize-64/ftello.c: File removed.
35582 * sysdeps/wordsize-64/ftello64.c: File removed.
35583 * sysdeps/wordsize-64/iofgetpos.c: File removed.
35584 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
35585 * sysdeps/wordsize-64/iofsetpos.c: File removed.
35586 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
35587 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
35588 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
35589 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
35590 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
35591 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
35592 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
35593 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
35594 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
35595 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
35596 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
35597
35598 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
35599 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
35600 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
35601 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
35602 [defined __arch64__ || defined __sparcv9]
35603 (__OFF_T_MATCHES_OFF64_T): New macro.
35604 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
35605 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
35606 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
35607 (__OFF_T_MATCHES_OFF64_T): New macro.
35608
c5757acd
L
356092012-08-06 H.J. Lu <hongjiu.lu@intel.com>
35610
35611 * stdlib/secure-getenv.c (__secure_getenv): Replace
35612 GLIBC_2_16 with GLIBC_2_17.
35613
3a31811e
L
356142012-08-06 H.J. Lu <hongjiu.lu@intel.com>
35615
35616 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
35617 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
35618
faa2bccb
DM
356192012-08-03 David S. Miller <davem@davemloft.net>
35620
35621 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35622
85fe1997
JM
356232012-08-03 Joseph Myers <joseph@codesourcery.com>
35624
35625 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
35626 Remove.
35627 (__ASSUME_CORRECT_SI_PID): Likewise.
35628 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
35629 (__ASSUME_TMPFS_NAME): Likewise.
35630 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
35631 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
35632 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
35633 (HAVE_AUX_SECURE): Make definition unconditional.
35634 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
35635 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
35636
4f75b7a0
RM
356372012-08-03 Roland McGrath <roland@hack.frob.com>
35638
35639 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
35640 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
35641 * sysdeps/mach/hurd/eloop-threshold.h: New file.
35642 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
35643 __eloop_threshold instead of SYMLOOP_MAX.
35644
35645 * sysdeps/generic/eloop-threshold.h: New file.
35646 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
35647 of MAXSYMLINKS.
35648 * elf/chroot_canon.c (chroot_canon): Likewise.
35649
7aab07e4
JM
356502012-08-03 Joseph Myers <joseph@codesourcery.com>
35651
35652 [BZ #13717]
35653 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
35654 Change to 2.6.0 everywhere.
35655 * sysdeps/unix/sysv/linux/configure: Regenerated.
35656 * sysdeps/unix/sysv/linux/kernel-features.h
35657 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
35658 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
35659 kernel versions.
35660 (__ASSUME_POSIX_TIMERS): Define unconditionally.
35661 (__ASSUME_FUTEX_REQUEUE): Remove.
35662 (__ASSUME_STATFS64): Define unconditionally.
35663 (__ASSUME_AT_SECURE): Likewise.
35664 (__ASSUME_CORRECT_SI_PID): Likewise.
35665 (__ASSUME_TGKILL): Define without depending on kernel version for
35666 i386.
35667 (__ASSUME_UTIMES): Likewise.
35668 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
35669 kernel version.
35670 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
35671 (__ASSUME_TMPFS_NAME): Likewise.
35672 * README: Update reference to Linux kernel versions.
35673
b67e9372
MP
356742012-08-02 Marek Polacek <polacek@redhat.com>
35675
1f529f7d 35676 [BZ# 14150]
b67e9372
MP
35677 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
35678 libc_cv_asm_type_prefix with %.
35679 * configure: Regenerated.
d2441631
RM
35680 * include/libc-symbols.h: Remove comment about
35681 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
35682 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
35683 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
35684 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
35685 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
35686 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
35687 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
35688 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
35689 * elf/tst-unique2mod1.c: Likewise.
35690 * elf/tst-unique1mod2.c: Likewise.
35691 * elf/tst-unique1mod1.c: Likewise.
35692 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
35693 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
35694 Replace ASM_TYPE_DIRECTIVE with .type.
35695 * sysdeps/s390/s390-64/sysdep.h: Likewise.
35696 * sysdeps/i386/sysdep.h: Likewise.
35697 * sysdeps/x86_64/sysdep.h: Likewise.
35698 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
35699 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
35700 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 35701 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
35702 * sysdeps/powerpc/powerpc32/sysdep.h:
35703 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
35704 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
35705 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
35706 * sysdeps/i386/fpu/e_powf.S: Likewise.
35707 * sysdeps/i386/fpu/e_expl.S: Likewise.
35708 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
35709 * sysdeps/i386/fpu/e_acosh.S: Likewise.
35710 * sysdeps/i386/fpu/e_pow.S: Likewise.
35711 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
35712 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
35713 * sysdeps/i386/fpu/s_expm1.S: Likewise.
35714 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
35715 * sysdeps/i386/fpu/e_log2.S: Likewise.
35716 * sysdeps/i386/fpu/e_log2l.S: Likewise.
35717 * sysdeps/i386/fpu/e_scalb.S: Likewise.
35718 * sysdeps/i386/fpu/e_powl.S: Likewise.
35719 * sysdeps/i386/fpu/e_log10f.S: Likewise.
35720 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
35721 * sysdeps/i386/fpu/e_logl.S: Likewise.
35722 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
35723 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
35724 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
35725 * sysdeps/i386/fpu/e_log2f.S: Likewise.
35726 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
35727 * sysdeps/i386/fpu/e_log.S: Likewise.
35728 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
35729 * sysdeps/i386/fpu/e_logf.S: Likewise.
35730 * sysdeps/i386/fpu/e_log10l.S: Likewise.
35731 * sysdeps/i386/fpu/e_atanh.S: Likewise.
35732 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
35733 * sysdeps/i386/fpu/e_log10.S: Likewise.
35734 * sysdeps/i386/fpu/s_frexp.S: Likewise.
35735 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
35736 * sysdeps/i386/fpu/s_asinh.S: Likewise.
35737 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
35738 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
35739 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
35740 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
35741 * sysdeps/i386/i686/strtok.S: Likewise.
35742 * sysdeps/i386/i386-mcount.S: Likewise.
35743 * sysdeps/i386/strtok.S: Likewise.
35744 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
35745 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
35746 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
35747 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
35748 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
35749 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
35750 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
35751 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
35752 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
35753 * sysdeps/x86_64/_mcount.S: Likewise.
35754 * sysdeps/x86_64/strtok.S: Likewise.
35755 * sysdeps/sh/_mcount.S: Likewise.
35756
2747bf9a
RM
357572012-08-01 Roland McGrath <roland@hack.frob.com>
35758
35759 * libio/iofopen.c: Include <fcntl.h>.
35760 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
35761 (_IO_fopen64, fopen64): Define as aliases.
35762 * libio/iofopen64.c: Include <fcntl.h>.
35763 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
35764 Conditionalize body on this.
35765 * sysdeps/wordsize-64/iofopen.c: File removed.
35766 * sysdeps/wordsize-64/iofopen64.c: File removed.
35767
3fb791b8
MP
357682012-08-01 Marek Polacek <polacek@redhat.com>
35769
35770 * libc/Makeconfig: Use elf in place of binfmt-subdir.
35771 Use dlfcn directly instead of a variable.
35772 (binfmt-subdir): Do not define.
35773 (dlfcn): Likewise.
35774
a9f1039f
JM
357752012-08-01 Joseph Myers <joseph@codesourcery.com>
35776
23bddc06
JM
35777 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
35778 Remove all definitions.
35779 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
35780 <kernel-features.h>.
35781 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
35782 (miss_F_GETOWN_EX): Remove all definitions.
35783 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
35784 macro definition.
35785 [!__ASSUME_FCNTL64]: Remove conditional code.
35786 [__ASSUME_FCNTL64]: Make code unconditional.
35787 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
35788 <kernel-features.h>.
35789 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
35790 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
35791 (lockf64) [__NR_fcntl64]: Make code unconditional.
35792 (lockf64) [__ASSUME_FCNTL64]: Likewise.
35793
a9f1039f
JM
35794 * sysdeps/unix/sysv/linux/kernel-features.h
35795 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
35796 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
35797 Make code unconditional.
35798 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
35799 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
35800 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
35801 [__NR_vfork]: Make code unconditional.
35802 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
35803 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
35804 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
35805 [__NR_vfork]: Make code unconditional.
35806 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
35807 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
35808
09c0ee5f
RM
358092012-08-01 Roland McGrath <roland@hack.frob.com>
35810
48aec5b9
RM
35811 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
35812 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
35813
cd97c966
RM
35814 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
35815 Define mkstemp64 as an alias.
3f55550c
RM
35816 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
35817 Define mkstemps64 as an alias.
cd97c966
RM
35818 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
35819 Define mkostemp64 as an alias.
b8625cfc
RM
35820 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
35821 Define mkostemps64 as an alias.
cd97c966
RM
35822 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
35823 Conditionalize body on this.
35824 * misc/mkostemp64.c: Likewise.
b8625cfc 35825 * misc/mkostemps64.c: Likewise.
3f55550c 35826 * misc/mkstemps64.c: Likewise.
cd97c966
RM
35827 * sysdeps/wordsize-64/mkstemp64.c: File removed.
35828 * sysdeps/wordsize-64/mkostemp64.c: File removed.
35829 * sysdeps/wordsize-64/mkostemp.c: File removed.
35830 * sysdeps/wordsize-64/mkstemp.c: File removed.
35831 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
35832 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
35833 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
35834 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
35835
09c0ee5f
RM
35836 [BZ #14138]
35837 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
35838 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
35839 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
35840 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
35841
35842 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
35843 compat_symbol macros from <shlib-compat.h> rather than the underlying
35844 default_symbol_version and symbol_version macros, so that DEFAULT
35845 lines in shlib-versions are respected.
35846 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
35847
7e66ee51
FW
358482012-08-01 Florian Weimer <fweimer@redhat.com>
35849
35850 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
35851 Declare with warn_unused_result.
35852 (setgid, setregid, setegid, setresgid): Likewise.
35853 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
35854 Likewise.
35855 * WUR-REPORT: Remove set*id functions.
35856
d2a54255
PT
358572012-07-31 Pino Toscano <toscano.pino@tiscali.it>
35858
35859 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
35860
7ecdb005
RM
358612012-07-31 Roland McGrath <roland@hack.frob.com>
35862
b4180a5e 35863 [BZ #10191]
789bd351
RM
35864 * include/sys/socket.h (__libc_accept, __libc_accept4):
35865 Add attribute_hidden.
35866 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
35867
40ce302d
RM
35868 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
35869 use of PTR_MANGLE.
35870 * inet/getnetgrent_r.c (setup): Likewise.
35871
7ecdb005
RM
35872 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
35873
e2eabb2c
DM
358742012-07-31 David S. Miller <davem@davemloft.net>
35875
35876 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35877
d0419dbf
JM
358782012-07-31 Joseph Myers <joseph@codesourcery.com>
35879
35880 [BZ #13629]
35881 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
35882 value between 1.0 and 2.0 and smaller part has absolute value less
35883 than 1.0.
35884 * math/s_clog10.c (__clog10): Likewise.
35885 * math/s_clog10f.c (__clog10f): Likewise.
35886 * math/s_clog10l.c (__clog10l): Likewise.
35887 * math/s_clogf.c (__clogf): Likewise.
35888 * math/s_clogl.c (__clogl): Likewise.
35889 * math/libm-test.inc (clog_test): Add more tests.
35890 (clog10_test): Likewise.
35891 * sysdeps/i386/fpu/libm-test-ulps: Update.
35892 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35893
2bc13872
FW
358942012-07-31 Florian Weimer <fweimer@redhat.com>
35895
35896 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
35897 Exit with zero in case no suitable GID is found, and write a
35898 message to standard error.
35899
bea9b193
RM
359002012-07-30 Roland McGrath <roland@hack.frob.com>
35901
35902 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
35903 rather than to 1.
35904 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
35905 (MAXPATHLEN): Removed.
35906 (NOGROUP, NODEV): New macros.
35907 (setbit, clrbit, isset, isclr): New macros.
35908 (howmany, roundup, powerof2): New macros.
35909 (DEV_BSIZE): New macro.
35910
35911 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
35912 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
35913
35914 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
35915 definition on [!__NO_LONG_DOUBLE_MATH].
35916
35917 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
35918 PTR_MANGLE and PTR_DEMANGLE.
35919
35920 * socket/accept4.c (accept4): Rename to __libc_accept4.
35921 Define accept4 as a weak alias.
35922
35923 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
35924 on [_DIRENT_HAVE_D_TYPE].
35925 * io/ftw.c (ftw_dir): Likewise.
35926
35927 * io/xmknod.c (__xmknod): Don't check PATH for being null.
35928
35929 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
35930
35931 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
35932 Use the BSD numbers rather than the arbitrary ones we had.
35933 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
35934 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
35935 (SIGXCPU, SIGXFSZ): New macros.
35936 (_NSIG): Now 32.
35937
35938 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
35939 initializer on [_LIBC_REENTRANT].
35940
35941 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
35942 definitions inside [_POSIX_MAPPED_FILES].
35943
35944 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
35945
35946 * dirent/opendir.c: Include <fcntl.h>.
35947
35948 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
35949 (__libc_getspecific): Likewise.
35950 (__libc_key_create): Likewise.
35951
35952 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
35953 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
35954 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
35955 (tmpfile64): Define as alias.
35956 * sysdeps/wordsize-64/tmpfile.c: File removed.
35957 * sysdeps/wordsize-64/tmpfile64.c: File removed.
35958 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
35959 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
35960
35961 * stdio-common/vfscanf.c: Include <stdbool.h>.
35962 * nss/makedb.c: Likewise.
35963 * stdio-common/_i18n_number.h: Likewise.
35964 * argp/argp-help.c: Likewise.
35965 * posix/wordexp.c: Likewise.
35966 * sysdeps/posix/spawni.c: Likewise.
35967 * nss/nss_files/files-initgroups.c: Likewise.
35968 * stdio-common/reg-modifier.c: Include <stdlib.h>.
35969 * nss/nss_files/files-initgroups.c: Likewise.
35970 * nss/nss_db/db-netgrp.c: Likewise.
35971 * nss/nss_db/db-initgroups.c: Likewise.
35972 * io/fchmodat.c: Include <sys/stat.h>.
35973
35974 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
35975 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
35976
35977 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
35978 [HAVE_MMAP].
35979
35980 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
35981 Add multiple inclusion protection.
35982
e5abc686
DM
359832012-07-27 David S. Miller <davem@davemloft.net>
35984
35985 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35986
815e6fa3
GB
359872012-07-27 Gary Benson <gbenson@redhat.com>
35988
35989 [BZ #14298]
35990 * elf/rtld.c: Include <stap-probe.h>.
35991 (dl_main): Added static probes "init_start" and "init_complete".
35992 * elf/dl-load.c: Include <stap-probe.h>.
35993 (lose): Take new parameter "nsid".
35994 Added static probe "map_failed".
35995 (_dl_map_object_from_fd): Pass namespace id to lose.
35996 Added static probe "map_start".
35997 (open_verify): Pass namespace id to lose.
35998 * elf/dl-open.c: Include <stap-probe.h>.
35999 (dl_open_worker) Added static probes "map_complete", "reloc_start"
36000 and "reloc_complete".
36001 * elf/dl-close.c: Include <stap-probe.h>.
36002 (_dl_close_worker): Added static probes "unmap_start" and
36003 "unmap_complete".
36004 * elf/rtld-debugger-interface.txt: New file documenting the above.
36005
9f98c16c
RM
360062012-07-26 Roland McGrath <roland@hack.frob.com>
36007
36008 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
36009 rather than a string variable.
36010 * sunrpc/rpc_main.c (h_output): Likewise.
36011 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
36012
f3c22df3
PT
360132012-07-26 Pino Toscano <toscano.pino@tiscali.it>
36014
36015 * inet/check_native.c: New file.
36016
3129cfc6
JM
360172012-07-26 Joseph Myers <joseph@codesourcery.com>
36018
da865e95
JM
36019 [BZ #13629]
36020 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
36021 if larger part has absolute value 1.0.
36022 * math/s_clog10.c (__clog10): Likewise.
36023 * math/s_clog10f.c (__clog10f): Likewise.
36024 * math/s_clog10l.c (__clog10l): Likewise.
36025 * math/s_clogf.c (__clogf): Likewise.
36026 * math/s_clogl.c (__clogl): Likewise.
36027 * math/libm-test.inc (clog_test): Add more tests.
36028 (clog10_test): Likewise.
36029 * sysdeps/i386/fpu/libm-test-ulps: Update.
36030 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36031
3129cfc6
JM
36032 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
36033 (pltexit): Likewise.
36034 (La_regs): Likewise.
36035 (La_retval): Likewise.
36036 (int_retval): Likewise.
36037 Update #error for removed macros to refer only to definitions in
36038 tst-audit.h.
36039 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
36040 macro.
36041 (pltexit): Likewise.
36042 (La_regs): Likewise.
36043 (La_retval): Likewise.
36044 (int_retval): Likewise.
36045 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
36046 macro.
36047 (pltexit): Likewise.
36048 (La_regs): Likewise.
36049 (La_retval): Likewise.
36050 (int_retval): Likewise.
36051 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
36052 macro.
36053 (pltexit): Likewise.
36054 (La_regs): Likewise.
36055 (La_retval): Likewise.
36056 (int_retval): Likewise.
36057 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
36058 macro.
36059 (pltexit): Likewise.
36060 (La_regs): Likewise.
36061 (La_retval): Likewise.
36062 (int_retval): Likewise.
36063 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
36064 macro.
36065 (pltexit): Likewise.
36066 (La_regs): Likewise.
36067 (La_retval): Likewise.
36068 (int_retval): Likewise.
36069 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
36070 macro.
36071 (pltexit): Likewise.
36072 (La_regs): Likewise.
36073 (La_retval): Likewise.
36074 (int_retval): Likewise.
36075 * sysdeps/generic/tst-audit.h: Update comment to refer only to
36076 macro definitions in tst-audit.h.
36077 * sysdeps/i386/tst-audit.h: New file.
36078 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
36079 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
36080 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
36081 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
36082 * sysdeps/sh/tst-audit.h: Likewise.
36083 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
36084 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
36085 * sysdeps/x86_64/tst-audit.h: Likewise.
36086
bfc07087
AJ
360872012-07-26 Andreas Jaeger <aj@suse.de>
36088
b1b2aaf8
AJ
36089 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
36090 ptrace.
36091
36092 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
36093 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
36094 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
36095 PTRACE_O_MASK.
36096 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
36097 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
36098 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
36099
bfc07087
AJ
36100 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
36101 value.
36102
36103 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
36104 _sigsys.
36105 (si_call_addr, si_syscall, si_arch): Define new macro.
36106 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
36107 _sigsys.
36108 (si_call_addr, si_syscall, si_arch): Define new marcro.
36109 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
36110 _sigsys.
36111 (si_call_addr, si_syscall, si_arch): Define new macro.
36112 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
36113 _sigsys.
36114 (si_call_addr, si_syscall, si_arch): Define new macro.
36115
89b4b02f
JM
361162012-07-25 Joseph Myers <joseph@codesourcery.com>
36117
36118 [BZ #13717]
36119 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
36120 Change to 2.4.21 where previously 2.4.1.
36121 * sysdeps/unix/sysv/linux/configure: Regenerated.
36122 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
36123 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
36124 Linux kernel version.
36125 (__ASSUME_STD_AUXV): Remove.
36126 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
36127 kernel version.
36128 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
36129 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
36130 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
36131 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
36132 (__ASSUME_NETLINK_SUPPORT): Likewise.
36133 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
36134 (__no_netlink_support): Remove conditional definition.
36135 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
36136 Remove.
36137 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
36138 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
36139 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
36140 (if_nameindex_ioctl): Remove.
36141 (if_nameindex_netlink): Do not handle __no_netlink_support.
36142 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
36143 code.
36144 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
36145 Remove conditional code.
36146 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
36147 code.
36148 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
36149 unconditional.
36150 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
36151 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
36152 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
36153 Remove.
36154 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
36155 [!__ASSUME_STD_AUXV]: Remove conditional code.
36156 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
36157 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
36158 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
36159 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
36160 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
36161 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
36162 code.
36163 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
36164 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
36165 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
36166 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
36167 conditional code.
36168 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
36169 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
36170 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
36171 code.
36172 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
36173 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
36174 conditional code.
36175 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
36176 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
36177 code unconditional.
36178 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
36179 conditional code.
36180 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
36181 unconditional.
36182 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
36183 conditional code.
36184 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
36185 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
36186 unconditional.
36187 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
36188 conditional code.
36189 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
36190 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
36191 code unconditional.
36192 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
36193 conditional code.
36194 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
36195 unconditional.
36196 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
36197 conditional code.
36198 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
36199 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
36200 code unconditional.
36201 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
36202 conditional code.
36203 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
36204 unconditional.
36205 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
36206 conditional code.
36207
842a39cd
AS
362082012-07-25 Andreas Schwab <schwab@linux-m68k.org>
36209
36210 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
36211 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
36212 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
36213 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
36214 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
36215 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
36216 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
36217 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
36218 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
36219 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
36220 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
36221 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
36222 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
36223 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
36224 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
36225 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
36226 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
36227 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
36228 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
36229 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
36230 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
36231 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
36232 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
36233
84b3fd84
FW
362342012-07-25 Florian Weimer <fweimer@redhat.com>
36235
36236 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
36237 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
36238 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
36239 Introduce __libc_secure_getenv.
0c7936d5
FW
36240 * stdlib/Versions (2.17): Add secure_getenv
36241 (GLIBC_PRIVATE): Add __libc_secure_getenv.
36242 * stdlib/secure-getenv.c: Rename __secure_getenv to
36243 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
36244 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
36245 * stdlib/tst-secure-getenv.c: New.
36246 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
36247 * manual/startup.texi (Environment Access): Document
36248 secure_getenv.
84b3fd84
FW
36249 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
36250 __libc_secure_getenv.
36251 * inet/ruserpass.c (ruserpass): Likewise.
36252 * malloc/mtrace.c (mtrace): Likewise.
36253 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 36254 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
36255 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
36256 * sysdeps/posix/tempname.c: Likewise. Evaluate
36257 HAVE_SECURE_GETENV.
36258 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 36259 __secure_getenv to __libc_secure_getenv.
84b3fd84 36260 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
36261 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
36262 Likewise.
36263 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
36264 Likewise.
36265 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
36266 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
36267 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
36268 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
36269 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
36270 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
36271 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 36272
56e49b71
JM
362732012-07-25 Joseph Myers <joseph@codesourcery.com>
36274
36275 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
36276 (struct La_i86_retval): Likewise.
36277 (struct La_x86_64_regs): Likewise.
36278 (struct La_x86_64_retval): Likewise.
36279 (struct La_x32_regs): Likewise.
36280 (struct La_x32_retval): Likewise.
36281 (struct La_ppc32_regs): Likewise.
36282 (struct La_ppc32_retval): Likewise.
36283 (struct La_ppc64_regs): Likewise.
36284 (struct La_ppc64_retval): Likewise.
36285 (struct La_sh_regs): Likewise.
36286 (struct La_sh_retval): Likewise.
36287 (struct La_s390_32_regs): Likewise.
36288 (struct La_s390_32_retval): Likewise.
36289 (struct La_s390_64_regs): Likewise.
36290 (struct La_s390_64_retval): Likewise.
36291 (struct La_sparc32_regs): Likewise.
36292 (struct La_sparc32_retval): Likewise.
36293 (struct La_sparc64_regs): Likewise.
36294 (struct La_sparc64_retval): Likewise.
36295 (struct audit_ifaces): Remove architecture-specific pltenter and
36296 pltexit members.
36297 * sysdeps/i386/ldsodefs.h: New file.
36298 * sysdeps/powerpc/ldsodefs.h: Likewise.
36299 * sysdeps/s390/ldsodefs.h: Likewise.
36300 * sysdeps/sh/ldsodefs.h: Likewise.
36301 * sysdeps/sparc/ldsodefs.h: Likewise.
36302 * sysdeps/x86_64/ldsodefs.h: Likewise.
36303
354691b7
MP
363042012-07-25 Marek Polacek <polacek@redhat.com>
36305
36306 [BZ #6808]
36307 * math/libm-test.inc (yn_test): Add another test.
36308 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
36309 to ERANGE when the result is +-Inf.
36310 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
36311 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
36312 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
36313 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
36314
bf9e2071
JM
363152012-07-24 Joseph Myers <joseph@codesourcery.com>
36316
36317 * conform/data/time.h-data (NULL): Use macro-constant. Require
36318 equal to 0.
36319 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
36320 clock_t.
36321 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
36322
57633811
TS
363232012-07-23 Thomas Schwinge <thomas@codesourcery.com>
36324
36325 * configure.in <sysdeps resolving>: Correct printing
36326 Implies_before.
36327 * configure: Regenerate.
36328
c23c33b0
TS
363292012-07-22 Thomas Schwinge <thomas@codesourcery.com>
36330
36331 * math/w_ilogb.c: Include <limits.h>.
36332 * math/w_ilogbl.c: Likewise.
36333
b5982523
JM
363342012-07-20 Joseph Myers <joseph@codesourcery.com>
36335
36336 * manual/lang.texi (__va_copy): Document primarily as ISO C99
36337 va_copy. Document allowing for unavailable va_copy only as
36338 pre-C99 compatibility.
36339 * manual/string.texi (Copying and Concatenation): Use va_copy
36340 instead of __va_copy in concat example.
36341
ac4ea442
PT
363422012-07-20 Pino Toscano <toscano.pino@tiscali.it>
36343
36344 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
36345 (__sendto): Use create_address_port. Initialize APORT and deallocate
36346 it if not null.
36347
f98eafbd
PT
36348 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
36349 with O_NOLINK passed to __file_name_lookup.
36350
898c7aab
PT
36351 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
36352 with O_NOLINK passed to __file_name_lookup.
36353
0ced335a
PT
36354 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
36355 negative N or less than NGIDS.
36356
b3404dbd
PT
36357 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
36358 type to string_t. Set ERANGE as errno and return it if NAME is not big
36359 enough. Use memcpy instead of strncpy.
36360
0f48659e
JM
363612012-07-20 Joseph Myers <joseph@codesourcery.com>
36362
36363 * elf/Makefile (check-data): Remove.
36364 (localplt.data): New vpath directive.
36365 ($(objpfx)check-localplt.out): Use localplt.data from vpath
36366 instead of $(check-data).
36367 * scripts/data/localplt-generic.data: Move to ...
36368 * sysdeps/generic/localplt.data: ... here.
36369 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
36370 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
36371 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
36372 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
36373 ... here.
36374 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
36375 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
36376 ... here.
36377 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
36378 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
36379 ... here.
36380 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
36381 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
36382 ... here.
36383 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
36384 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
36385 ... here.
36386 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
36387 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
36388 ... here.
36389
d37cbdaa
AZ
363902012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36391
36392 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
36393 PPC32 and PPC64 files.
36394 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
36395 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
36396
46f85fc2
AK
363972012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36398
36399 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
36400 __makecontext_ret to ...
36401 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
36402 ... here and call exit if uc_link is NULL. New file.
36403 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
36404 __makecontext_ret.S.
36405 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
36406 __makecontext_ret to ...
36407 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
36408 ... here and call exit if uc_link is NULL. New file.
36409 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
36410 __makecontext_ret.S.
36411
08f43f9b
AK
364122012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36413
36414 * elf/elf.h (R_390_IRELATIVE): New definition.
36415 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
36416 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
36417 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
36418 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
36419 (elf_machine_lazy_rel): Likewise.
36420 * sysdeps/s390/dl-irel.h: New file.
36421 * sysdeps/s390/s390-64/memcpy.S: New asm code.
36422 * sysdeps/s390/s390-64/memset.S: New asm code.
36423 * sysdeps/s390/s390-64/memcmp.S: New asm code.
36424 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
36425 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
36426 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
36427 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
36428 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
36429 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
36430 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
36431 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
36432 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
36433 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
36434 * sysdeps/s390/s390-32/memcpy.S: New asm code.
36435 * sysdeps/s390/s390-32/memset.S: New asm code.
36436 * sysdeps/s390/s390-32/memcmp.S: New asm code.
36437
3b05db33
MP
364382012-07-17 Marek Polacek <polacek@redhat.com>
36439
36440 [BZ #14349]
36441 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
36442 * sysdeps/s390/s390-64/configure.in: Likewise.
36443 * sysdeps/sparc/configure.in: Likewise.
36444 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
36445 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
36446 * sysdeps/i386/configure.in: Likewise.
36447 * sysdeps/x86_64/configure.in: Likewise.
36448 * sysdeps/sh/configure.in: Likewise.
36449 * sysdeps/s390/s390-32/configure: Regenerated.
36450 * sysdeps/s390/s390-64/configure: Likewise.
36451 * sysdeps/x86_64/configure: Likewise.
36452 * sysdeps/sh/configure: Likewise.
36453 * sysdeps/powerpc/powerpc64/configure: Likewise.
36454 * sysdeps/powerpc/powerpc32/configure: Likewise.
36455 * sysdeps/sparc/configure: Likwise.
36456 * sysdeps/i386/configure: Likewise.
36457
a66877c6
MP
36458 * elf/dl-open.c: Comment fixes.
36459
cfc82fd8
JM
364602012-07-17 Joseph Myers <joseph@codesourcery.com>
36461
bd29910a
JM
36462 * Makefile [CXX] (check-data): Remove.
36463 [CXX] (c++-types.data): New vpath directive.
36464 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
36465 vpath. Do not allow for C++ type data being missing.
36466 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
36467 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
36468 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
36469 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
36470 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
36471 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
36472 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
36473 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
36474 ... here.
36475 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
36476 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
36477 ... here.
36478 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
36479 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
36480 ... here.
36481 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
36482 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
36483 ... here.
36484 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
36485 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
36486 ... here.
36487 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
36488 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
36489 ... here.
36490 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
36491 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
36492 ... here.
36493 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
36494 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
36495
cfc82fd8
JM
36496 * elf/tls-macros.h (TLS_LE): Move architecture-specific
36497 definitions to architecture-specific files.
36498 (TLS_IE): Likewise.
36499 (TLS_LD): Likewise.
36500 (TLS_GD): Likewise.
36501 * sysdeps/i386/tls-macros.h: New file.
36502 * sysdeps/powerpc/tls-macros.h: Likewise.
36503 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
36504 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
36505 * sysdeps/sh/tls-macros.h: Likewise.
36506 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
36507 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
36508 * sysdeps/x86_64/tls-macros.h: Likewise.
36509
f7db3170
TS
365102012-07-17 Thomas Schwinge <thomas@codesourcery.com>
36511
07cbfc23
TS
36512 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
36513 zero value for regular exit case.
36514
f7db3170
TS
36515 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
36516 (__start_context): Preserve zero value for regular exit case.
36517
dc97c227
TS
365182012-07-17 Thomas Schwinge <thomas@codesourcery.com>
36519 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36520
36521 * manual/setjmp.texi (setcontext): Clarify normal process
36522 termination when uc_link is the null pointer.
36523 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
36524 exit call.
36525
d0cd7d02
AS
365262012-07-16 Andreas Schwab <schwab@linux-m68k.org>
36527
36528 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
36529 preprocessor. Test for each exception mask separately.
36530
dd318934
AJ
365312012-07-16 Andreas Jaeger <aj@suse.de>
36532
36533 * po/ru.po: Update from translation team.
36534
8048311a
JM
365352012-07-15 Joseph Myers <joseph@codesourcery.com>
36536
36537 * conform/data/string.h-data (NULL): Use macro-constant. Require
36538 equal to 0.
36539 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
36540 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
36541 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
36542 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
36543 [ISO || ISO99 || ISO11] (*_t): Do not allow.
36544
b637d46e
AJ
365452012-07-13 Andreas Jaeger <aj@suse.de>
36546
36547 * po/fr.po: Update from translation team.
36548
541428fe
MP
365492012-07-12 Marek Polacek <polacek@redhat.com>
36550
36551 [BZ #14173]
36552 * math/libm-test.inc (yn_test): Add test for BZ #14173.
36553 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
36554 loop condition.
36555
ec332e94
JM
365562012-07-12 Joseph Myers <joseph@codesourcery.com>
36557
36558 [BZ #13717]
36559 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
36560 Change to 2.4.1 where previously 2.4.0.
36561 * sysdeps/unix/sysv/linux/configure: Regenerated.
36562 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
36563 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
36564 version.
36565 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
36566 (__ASSUME_AT_CLKTCK): Remove.
36567 (__ASSUME_AT_PAGESIZE): Likewise.
36568 (__ASSUME_AT_XID): Likewise.
36569 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
36570 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
36571 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
36572 unconditionally.
36573 (HAVE_AUX_PAGESIZE): Likewise.
36574 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
36575 [__ASSUME_AT_CLKTCK]: Make code unconditional.
36576 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
36577
7b6e99be
JB
365782012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
36579
36580 [BZ #14307]
36581 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
36582 the temporary buffer used to invoke __gethostbyname2_r,
36583 __gethostbyaddr_r and gethostbyname4_r to make room for struct
36584 host_data / struct gaih_addrtuple.
36585 * resolv/nss_dns/dns-host.c (global scope): Move definition of
36586 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
36587 header file nss/nsswitch.h.
36588 * nss/nsswitch.h (global scope): Add definition of implementation
36589 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
36590 resolv/nss_dns/dns-host.c).
36591
608404eb
AJ
365922012-07-11 Andreas Jaeger <aj@suse.de>
36593
36594 * po/fr.po: Update from translation team.
36595
71220aca
AJ
36596 * po/sv.po: Update from translation team
36597 * po/fr.po: Another update from translation team.
36598
28cfe843
AZ
365992012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36600
36601 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
36602 for subnormals or multiply small sinh result by itself.
36603 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
36604 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36605
6b90f981
DM
366062012-07-11 David S. Miller <davem@davemloft.net>
36607
36608 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36609
c6825772
AS
366102012-07-10 Andreas Schwab <schwab@linux-m68k.org>
36611
36612 [BZ #14347]
36613 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
36614 (INTERNAL_MARK): Shift it here.
36615
7b8e0d49
MP
366162012-07-10 Marek Polacek <polacek@redhat.com>
36617
36618 [BZ #14151]
36619 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
36620 libc_cv_asm_global_directive with .globl.
36621 * configure: Regenerated.
36622 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
36623 with .globl.
36624 * sysdeps/i386/configure: Regenerated.
36625 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
36626 with .globl.
36627 * sysdeps/x86_64/configure: Regenerated.
36628 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
36629 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
36630 * elf/tst-unique2mod2.c: Likewise.
36631 * elf/tst-unique2mod1.c: Likewise.
36632 * elf/tst-unique1mod2.c: Likewise.
36633 * elf/tst-unique1mod1.c: Likewise.
36634 * sysdeps/s390/s390-32/sysdep.h: Likewise.
36635 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
36636 * sysdeps/s390/s390-64/sysdep.h: Likewise.
36637 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
36638 * sysdeps/mach/sysdep.h: Likewise.
36639 * sysdeps/i386/sysdep.h: Likewise.
36640 * sysdeps/i386/i386-mcount.S: Likewise.
36641 * sysdeps/x86_64/_mcount.S: Likewise.
36642 * sysdeps/x86_64/sysdep.h: Likewise.
36643 * sysdeps/sh/_mcount.S: Likewise.
36644 * sysdeps/sh/sysdep.h: Likewise.
36645 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
36646 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
36647 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
36648 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
36649 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
36650 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
36651 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
36652 * locale/localeinfo.h: Likewise.
36653 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
36654 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
36655
6c55cda3
RM
366562012-07-09 Roland McGrath <roland@hack.frob.com>
36657
36658 [BZ #14336]
36659 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
36660 system".
36661 * manual/message.texi (The Uniforum approach): Likewise.
36662 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
36663 (glibc iconv Implementation): Likewise.
36664
638a572e
JM
366652012-07-09 Joseph Myers <joseph@codesourcery.com>
36666
36667 [BZ #14337]
36668 * math/s_clog.c (__clog): Avoid scaling a value down where that
36669 could result in underflow.
36670 * math/s_clog10.c (__clog10): Likewise.
36671 * math/s_clog10f.c (__clog10f): Likewise.
36672 * math/s_clog10l.c (__clog10l): Likewise.
36673 * math/s_clogf.c (__clogf): Likewise.
36674 * math/s_clogl.c (__clogl): Likewise.
36675 * math/libm-test.inc (clog_test): Add more tests.
36676 (clog10_test): Likewise.
36677 * sysdeps/i386/fpu/libm-test-ulps: Update.
36678 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36679
261f4859
AS
366802012-07-06 Andreas Schwab <schwab@linux-m68k.org>
36681
0abaf3e4
AS
36682 [BZ #14283]
36683 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
36684 by 7 not 8 to examine high bit of fractional part.
36685
261f4859
AS
36686 [BZ #14042]
36687 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
36688 for call to __mcount_internal.
36689 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
36690 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
36691 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
36692
f17ac40d
JM
366932012-07-06 Joseph Myers <joseph@codesourcery.com>
36694
9ad63c23
JM
36695 [BZ #14154]
36696 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
36697 approximation for values within 0x1p-13f of an odd multiple of
36698 pi/4.
36699 * math/libm-test.inc (tan_test): Do not allow spurious underflow
36700 exception. Add more tests.
36701 * sysdeps/i386/fpu/libm-test-ulps: Update.
36702
f17ac40d
JM
36703 [BZ #6778]
36704 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
36705 inputs and return -1 for them. Do not check for +Inf in case not
36706 reachable for +Inf.
36707 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
36708 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
36709 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
36710 and return -1 for them. Do not check for +Inf in case not
36711 reachable for +Inf.
36712 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
36713 define.
36714 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
36715 and return -1 for them. Do not check for +Inf in case not
36716 reachable for +Inf.
36717 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
36718 spurious underflow.
36719 * sysdeps/i386/fpu/libm-test-ulps: Update.
36720 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36721
fb21f89b
MF
367222012-07-06 Mike Frysinger <vapier@gentoo.org>
36723
36724 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
36725
cdfe2c5e
JM
367262012-07-05 Joseph Myers <joseph@codesourcery.com>
36727
36728 [BZ #14157]
36729 [BZ #14331]
36730 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
36731 could result in spurious underflow. Scale down values above
36732 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
36733 * math/s_csqrtf.c (__csqrtf): Likewise.
36734 * math/s_csqrtl.c (__csqrtl): Likewise.
36735 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
36736 spurious underflow.
36737 * sysdeps/i386/fpu/libm-test-ulps: Update.
36738 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36739
70d35b67
AS
367402012-07-04 Andreas Schwab <schwab@linux-m68k.org>
36741
704bc459
AS
36742 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
36743 xopen-msg.sed.
36744 * catgets/xopen-msg.awk: New file.
36745 * catgets/xopen-msg.sed: Removed.
36746
70d35b67
AS
36747 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
36748 po2text.sed.
36749 * intl/po2test.awk: New file.
36750 * intl/po2test.sed: Removed.
36751
ca61cf32
JM
367522012-07-04 Joseph Myers <joseph@codesourcery.com>
36753
36754 [BZ #14328]
36755 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
36756 or multiply small sinh result by itself.
36757 * math/s_ctanf.c (__ctanf): Likewise.
36758 * math/s_ctanh.c (__ctanh): Likewise.
36759 * math/s_ctanhf.c (__ctanhf): Likewise.
36760 * math/s_ctanhl.c (__ctanhl): Likewise.
36761 * math/s_ctanl.c (__ctanl): Likewise.
36762 * math/libm-test.inc (ctan_test_tonearest): New function.
36763 (ctan_test_towardzero): Likewise.
36764 (ctan_test_downward): Likewise.
36765 (ctan_test_upward): Likewise.
36766 (ctanh_test_tonearest): Likewise.
36767 (ctanh_test_towardzero): Likewise.
36768 (ctanh_test_downward): Likewise.
36769 (ctanh_test_upward): Likewise.
36770 (main): Call these new functions.
36771 * sysdeps/i386/fpu/libm-test-ulps: Update.
36772 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36773
ca48a46a
MF
367742012-07-03 Mike Frysinger <vapier@gentoo.org>
36775
36776 * .gitignore: Delete /ports entry.
36777
9d63d37d
AJ
367782012-07-03 Andreas Jaeger <aj@suse.de>
36779
36780 * po/bg.po: Update from translation team.
36781 * po/cs.po: Likewise.
36782 * po/de.po: Likewise.
36783 * po/hr.po: Likewise.
36784 * po/nl.pl: Likewise.
36785 * po/pl.po: Likewise.
36786 * po/vi.po: Likewise.
36787
370ca3d2
JM
367882012-07-03 Joseph Myers <joseph@codesourcery.com>
36789
95f5a9a8
JM
36790 * Makeconfig [!+link] (+link-before-libc): New variable.
36791 [!+link] (+link-after-libc): Likewise.
36792 [!+link] (+link-tests): Likewise.
36793 [!+link] (+link): Define in terms of $(+link-before-libc) and
36794 $(+link-after-libc).
36795 [!+link-static] (+link-static-before-libc): New variable.
36796 [!+link-static] (+link-static-after-libc): Likewise.
36797 [!+link-static] (+link-static-tests): Likewise.
36798 [!+link-static] (+link-static): Define in terms of
36799 $(+link-static-before-libc) and $(+link-static-after-libc).
36800 [build-shared] (link-libc-before-gnulib): New variable.
36801 [build-shared] (link-libc-tests): Likewise.
36802 [build-shared] (link-libc): Define in terms of
36803 $(link-libc-before-gnulib).
36804 [!build-shared] (link-libc-tests): New variable.
36805 (link-libc-static-tests): New variable.
36806 [!gnulib] (gnulib-arch): New variable.
36807 [!gnulib] (gnulib-tests): Likewise.
36808 [!gnulib] (static-gnulib-arch): Likewise.
36809 [!gnulib] (static-gnulib-tests): Likewise.
36810 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
36811 Define with "=" instead of ":=".
36812 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
36813 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
36814 * Rules (binaries-all-notests): New variable.
36815 (binaries-all-tests): Likewise.
36816 (binaries-static-notests): Likewise.
36817 (binaries-static-tests): Likewise.
36818 (binaries-all): Define using $(binaries-all-notests) and
36819 $(binaries-all-tests).
36820 (binaries-static): Define using $(binaries-static-notests) and
36821 $(binaries-static-tests).
36822 (binaries-shared-tests): New variable.
36823 (binaries-shared-notests): Likewise.
36824 (binaries-shared): Remove variable.
36825 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
36826 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
36827 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
36828 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
36829 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
36830 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
36831 * elf/Makefile (sln-modules): New variable.
36832 (extra-objs): Add $(sln-modules:=.o).
36833 (ldconfig-modules): Add static-stubs.
36834 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
36835 * elf/static-stubs.c: New file.
36836
7a845b2c
JM
36837 [BZ #14283]
36838 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
36839 by 7 not 8 to examine high bit of fractional part. Use volatile
36840 variables when splitting into final array of floats if
36841 __FLT_EVAL_METHOD__ != 0.
36842 * math/libm-test.inc (cos_test): Add another test.
36843 (sin_test): Likewise.
36844 * sysdeps/i386/fpu/libm-test-ulps: Update.
36845
e2283f38
JM
36846 [BZ #14273]
36847 * math/libm-test.inc (cosh_test): Add more tests.
36848
370ca3d2
JM
36849 * version.h (RELEASE): Set to "development".
36850 (VERSION): Set to "2.16.90".
36851
ee9247c3
CD
368522012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
36853
36854 * NEWS: Update copyright. Remove last-updated date.
36855 Mention math library bug fixes and timezone data changes.
36856 * README: Mention GNU/Hurd, x32, and HPPA support status.
36857
4648c381
TS
368582012-06-28 Thomas Schwinge <thomas@codesourcery.com>
36859
36860 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
36861
aac78a43
AJ
368622012-06-27 Andreas Jaeger <aj@suse.de>
36863
36864 * manual/contrib.texi (Contributors): Add Samuel Thibault.
36865
ed3dbfad
AJ
368662012-06-25 Andreas Jaeger <aj@suse.de>
36867
36868 * sysdeps/s390/fpu/libm-test-ulps: Update.
36869
4d0ee855
AS
368702012-06-23 Andreas Schwab <schwab@linux-m68k.org>
36871 Thomas Schwinge <thomas@codesourcery.com>
36872
36873 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
36874 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
36875 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
36876 fanotify_mark.
36877
af1bce34
TS
368782012-06-23 Thomas Schwinge <thomas@codesourcery.com>
36879
a9fa33ba
TS
36880 * sysdeps/mach/start.c: Remove file.
36881 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
36882 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
36883 * sysdeps/sh/init-first.c: Likewise.
36884
58f902b8
TS
36885 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
36886 registers for frame unwinding purposes, add CFI directives.
36887 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
36888 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
36889 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
36890 Likewise.
36891
1518f58b
TS
36892 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
36893 __fortify_fail returning.
36894 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
36895
db9b5059
TS
36896 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
36897 sysdeps/sh/____longjmp_chk.S.
36898 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
36899 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
36900 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
36901 (gen-as-const-headers): Append sigaltstack-offsets.sym.
36902
967705fe
TS
36903 * sysdeps/sh/abort-instr.h: New file.
36904 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
36905 process in case exit returns.
36906
a9def8c4
TS
36907 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
36908 initialize the GOT register before use.
36909
2a649725
TS
36910 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
36911 calculation of ARGC > 4.
36912
af1bce34
TS
36913 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
36914 meaningful names to some local labels.
36915
d230f50a
KK
369162012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
36917 Kaz Kojima <kkojima@rr.iij4u.or.jp>
36918
36919 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
36920 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
36921 (__arch_compare_and_exchange_val_16_acq): Likewise.
36922 (__arch_compare_and_exchange_val_32_acq): Likewise.
36923 (atomic_exchange_and_add): Fix gUSA sequence.
36924 (atomic_add): Likewise.
36925 (atomic_add_negative): Likewise.
36926 (atomic_add_zero): Likewise.
36927 (atomic_bit_test_set): Likewise.
36928
0479b305
AS
369292012-06-22 Andreas Schwab <schwab@redhat.com>
36930
36931 [BZ #13579]
36932 * include/link.h (struct link_map): Add l_free_initfini.
36933 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
36934 l_initfini.
36935 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
36936 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
36937 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
36938 set.
36939
0e3933b9
CD
369402012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
36941
36942 * configure.in: Use AC_LANG_SOURCE.
36943 * configure: Regenerate.
36944
4248b1b1
RM
369452012-06-22 Roland McGrath <roland@hack.frob.com>
36946
36947 * configure.in (libc_cv_localstatedir): New substituted variable.
36948 * configure: Regenerated.
36949 * config.make.in (localstatedir): New variable, substituted from
36950 libc_cv_localstatedir.
36951 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
36952 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
36953 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
36954 * sysdeps/gnu/configure: Regenerated.
36955
006dd861
JL
369562012-06-21 Jeff Law <law@redhat.com>
36957
36958 [BZ #14277]
36959 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
36960 free. Simplify list management for _LIBC case.
36961
79662d42
JM
369622012-06-21 Joseph Myers <joseph@codesourcery.com>
36963
b7abb4bf
JM
36964 [BZ #14273]
36965 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
36966 Clear sign bit of 64-bit integer value before comparing against
36967 overflow value.
36968
79662d42
JM
36969 * sysdeps/mach/configure: Regenerated.
36970
1f150908
L
369712012-06-21 H.J. Lu <hongjiu.lu@intel.com>
36972
36973 [BZ #14278]
36974 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
36975
28363bbf
JL
369762012-06-21 Jeff Law <law@redhat.com>
36977
36978 [BZ #13882]
36979 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
36980 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 36981 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
36982 * elf/dl-open.c (dl_open_worker): Likewise.
36983
09615db4
CD
369842012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
36985
36986 * scripts/list-sources.sh: Scan PORTS for translations.
36987 * po/libc.pot: Regenerated.
36988
2174c6dd
AJ
369892012-06-21 Andreas Jaeger <aj@suse.de>
36990
36991 [BZ #12194]
36992 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
36993 warning.
36994 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
36995 * bits/byteswap-16.h (__bswap_16): Likewise.
36996 * bits/byteswap.h (__bswap_constant_16): Likewise.
36997
3ee947b1
L
369982012-06-18 H.J. Lu <hongjiu.lu@intel.com>
36999
37000 [BZ #14117]
a2f34833
L
37001 * sysdeps/i386/fpu_control.h: Removed.
37002 * sysdeps/x86_64/fpu_control.h: Moved to ...
37003 * sysdeps/x86/fpu_control.h: Here.
37004
3ee947b1
L
37005 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
37006 (_FPU_SETCW): Likewise.
37007
ed1825f8
L
370082012-06-15 H.J. Lu <hongjiu.lu@intel.com>
37009
25f1282a
L
37010 [BZ #14117]
37011 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
37012 * sysdeps/x86/fpu/bits/mathinline.h: This.
37013 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
37014
ed1825f8
L
37015 [BZ #14050]
37016 [BZ #14117]
37017 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
37018 functions if __x86_64__ is defined.
37019
36d54b74
CLT
370202012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
37021
37022 * string/endian.h: Add !__ASSEMBLER__ condition for including
37023 conversion interfaces.
37024
10285c21
JM
370252012-06-15 Joseph Myers <joseph@codesourcery.com>
37026
37027 [BZ #14241]
37028 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
37029 of ABS(x) in calculating zero to negative powers other than odd
37030 integers.
37031 * math/libm-test.inc (pow_test): Add more tests.
37032
06c5abbd
AJ
370332012-06-15 Andreas Jaeger <aj@suse.de>
37034
37035 * manual/contrib.texi (Contributors): Update entry of Liubov
37036 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
37037 Machado Filho.
37038
a3aeac40
CH
370392012-06-15 Cyril Hrubis <metan@ucw.cz>
37040
37041 * string/string.h: Add __wur to GNU version of strerror_r.
37042
49bdf4c1
L
370432012-06-14 H.J. Lu <hongjiu.lu@intel.com>
37044
37045 [BZ #14229]
37046 * string/Makefile (tests): Add tst-strtok_r.
37047 * string/tst-strtok_r.c: New file.
37048 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
37049 RAX_LP/RDX_LP on SAVE_PTR.
37050
834f9b8d
RM
370512012-06-14 Roland McGrath <roland@hack.frob.com>
37052
37053 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
37054
75fa1921
JM
370552012-06-14 Joseph Myers <joseph@codesourcery.com>
37056
37057 * libm_test.inc (csqrt_test): Allow more spurious underflow
37058 exceptions.
37059 (j0_test): Likewise.
37060 (j1_test): Likewise.
37061 (y0_test): Likewise.
37062 (y1_test): Likewise.
37063
771766df
CD
370642012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
37065
37066 * po/Makefile (libc.pot): Use UTF-8 charset.
37067
ceb9e56b
PP
370682012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
37069
37070 [BZ #14210]
37071 Suppress sign-conversion warning from FD_SET.
37072 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
37073 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
37074 not unsigned long int.
37075 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
37076
ddb28975
L
370772012-06-12 H.J. Lu <hongjiu.lu@intel.com>
37078
37079 [BZ #14050]
37080 [BZ #14117]
37081 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
37082 __extern_always_inline instead of __extern_inline.
37083 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
37084 (__signbit): Likewise.
37085 (__signbitl): Support C++ namespace.
37086 (lrintf): New inline function.
37087 (lrint): Likewise.
37088 (llrintf): Likewise.
37089 (llrint): Likewise.
37090 (fmaxf): Likewise.
37091 (fmax): Likewise.
37092 (fminf): Likewise.
37093 (fmin): Likewise.
37094 (rint): Likewise.
37095 (rintf): Likewise.
37096 (ceil): Likewise.
37097 (ceilf): Likewise.
37098 (floor): Likewise.
37099 (floorf): Likewise.
37100 (nearbyint): Likewise.
37101 (nearbyintf): Likewise.
37102
d7b4fb26
TS
371032012-06-12 Thomas Schwinge <thomas@codesourcery.com>
37104
37105 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
37106 non-default versions.
37107
eb55f5c2
RM
371082012-06-11 Roland McGrath <roland@hack.frob.com>
37109
37110 [BZ #14218]
37111 * manual/argp.texi (Argp): Reword argp_parse description slightly.
37112
366af02c
TS
371132012-06-09 Thomas Schwinge <thomas@codesourcery.com>
37114
99ff6e5c
TS
37115 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
37116 (FE_UPWARD, FE_DOWNWARD): Don't define.
37117 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
37118 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
37119
366af02c
TS
37120 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
37121 reading it.
37122 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
37123 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
37124
793ea851
KK
371252012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
37126
37127 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
37128 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
37129 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
37130 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
37131
a728a38f
L
371322012-06-06 H.J. Lu <hongjiu.lu@intel.com>
37133
37134 [BZ #14117]
c08010c7
L
37135 * sysdeps/i386/fpu/bits/fenv.h: Removed.
37136 * sysdeps/i386/fpu/Implies: New file.
37137 * sysdeps/x86_64/fpu/Implies: Likewise.
37138 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
37139 * sysdeps/x86/fpu/bits/fenv.h: This.
37140
a728a38f
L
37141 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
37142 __SSE_MATH__.
37143
6e230d11
SP
371442012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
37145
37146 [BZ #14134]
37147 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
37148 character 0xffff that matches the last element of the
37149 conversion table.
37150
1b671feb
AZ
371512012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37152
37153 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
37154 fmodl commit.
37155
6043738b
AZ
371562012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37157
37158 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
37159 values higher than 25.6283.
37160
34ae0b32
AZ
371612012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37162
37163 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
37164 subnormal exponent extraction and add some __builtin_expect.
37165 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
37166 Fix for subnormal mantissa calculation.
37167
1214ec8f
MF
371682012-06-04 Mike Frysinger <vapier@gentoo.org>
37169
37170 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
37171 cpu2 is -1 and errno is not ENOSYS.
37172
f3d1f93c
L
371732012-06-04 H.J. Lu <hongjiu.lu@intel.com>
37174
37175 [BZ #14117]
0e4a3cd7
L
37176 * sysdeps/i386/i486/bits/string.h: Renamed to ...
37177 * sysdeps/x86/bits/string.h: This.
37178 * sysdeps/x86_64/bits/string.h: Removed.
37179
6704c645
L
37180 * sysdeps/i386/i486/bits/string.h: Define inline functions only
37181 if not compiling for x86-64, but compiling for >= i486.
37182
48495318
L
37183 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
37184 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
37185
14adcbfc
L
37186 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
37187 New macro from Linux kernel 3.4.0.
37188 (FP_XSTATE_MAGIC2): Likewise.
37189 (FP_XSTATE_MAGIC2_SIZE): Likewise.
37190 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
37191 (struct _fpx_sw_bytes): New struct.
37192 (struct _xsave_hdr): Likewise.
37193 (struct _ymmh_state): Likewise.
37194 (struct _xstate): Likewise.
37195
68e408ab
L
37196 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
37197 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
37198 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
37199 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
37200 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
37201 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
37202
f3d1f93c
L
37203 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
37204 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
37205 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
37206 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
37207 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
37208 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
37209
d9dc34cd
TMQMF
372102012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
37211
37212 [BZ #13743]
37213 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
37214 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
37215 (sysdep_headers): Include sys/platform/ppc.h.
37216 * sysdeps/powerpc/test-gettimebase.c: Test for
37217 __ppc_get_timebase() to catch future ISA opcode/insn changes.
37218 * manual/Makefile (appendices): Include platform.texi.
37219 * manual/contrib.texi (Contributors): Update @node pointers.
37220 * manual/maint.texi (Maintenance): Likewise.
37221 (Platform): New node.
37222 * manual/platform.texi: New file. Document the new features.
37223
4af3879c
SP
372242012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
37225 Jakub Jelinek <jakub@redhat.com>
37226
37227 [BZ #14188]
37228 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
37229 where __builtin_expect is unavailable.
37230
2fd6ff13
DM
372312012-06-03 David S. Miller <davem@davemloft.net>
37232
37233 * stdlib/longlong.h: Updated from GCC.
37234
173f7220
AS
372352012-06-02 Andreas Schwab <schwab@linux-m68k.org>
37236
37237 [BZ #14042]
37238 * sysdeps/powerpc/powerpc32/mcount.c: New file.
37239 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
37240 __mcount_internal.
37241 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
37242 (GLIBC_2.16): Likewise.
37243
f34a1c6f
L
372442012-06-01 H.J. Lu <hongjiu.lu@intel.com>
37245
37246 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
37247
88a4576f
JM
372482012-06-01 Joseph Myers <joseph@codesourcery.com>
37249
ea32bcdd
JM
37250 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
37251 (default-abi): New variable.
37252 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
37253 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
37254 variable.
37255 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
37256 Likewise.
37257 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
37258 Likewise.
37259 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
37260 Likewise.
37261
88a4576f
JM
37262 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
37263 definition. Document in comment.
37264
402fe938
DM
372652012-06-01 David S. Miller <davem@davemloft.net>
37266
37267 * stdlib/longlong.h: Updated from GCC.
37268
3553723f
L
372692012-06-01 H.J. Lu <hongjiu.lu@intel.com>
37270
37271 [BZ #14117]
3bd872c4
L
37272 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
37273 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
37274 sys/debugreg.h sys/io.h here.
37275 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
37276 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
37277 sys/io.h.
37278 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
37279 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
37280 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
37281 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
37282 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
37283 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
37284
3553723f
L
37285 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
37286 Define only if __x86_64__ is defined.
37287
4842e4fe
JM
372882012-06-01 Joseph Myers <joseph@codesourcery.com>
37289
c5bfe3d5
JM
37290 [BZ #14048]
37291 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
37292 Use int64_t for variable i.
37293 * math/libm-test.inc (fmod_test): Add more tests.
37294
4842e4fe
JM
37295 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
37296 z computation is not scheduled after fetestexcept.
37297 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
37298 Use math_force_eval instead of asm to ensure calculation scheduled
37299 before exception test.
37300 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
37301 Ensure a1 + u.d computation is not scheduled after fetestexcept.
37302
efb73488
AJ
373032012-06-01 Aurelien Jarno <aurelien@aurel32.net>
37304
37305 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
37306 computation is not scheduled after fetestexcept.
37307
29bcce7c
L
373082012-06-01 H.J. Lu <hongjiu.lu@intel.com>
37309
37310 [BZ #14117]
37311 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
37312 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
37313
73a68f94
AZ
373142012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37315
37316 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
37317 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
37318
67b6df78
L
373192012-05-31 H.J. Lu <hongjiu.lu@intel.com>
37320
edf2933a 37321 [BZ #14117]
ebc64a18
L
37322 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
37323 <bits/wordsize.h>.
37324 (__WCHAR_MIN): Support __WORDSIZE == 64.
37325 (__WCHAR_MAX): Likewise.
37326
edf2933a
L
37327 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
37328 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
37329
57c6cf40
L
37330 [BZ #14183]
37331 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
37332 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
37333
67b6df78 37334 [BZ #14117]
8eb6281e
L
37335 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
37336 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
37337
aac639f4
L
37338 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
37339 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
37340
67b6df78
L
37341 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
37342 Defined to 1 if __x86_64__ isn't defined.
37343 (_STAT_VER_LINUX_OLD): New.
37344 (st_atime): Remove duplicate.
37345 (st_mtime): Likewise.
37346 (st_ctime): Likewise.
37347
1c2cfe81
DM
373482012-05-31 David S. Miller <davem@davemloft.net>
37349
37350 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
37351 entries.
37352
5be8418c
AS
373532012-06-01 Andreas Schwab <schwab@linux-m68k.org>
37354
e7725326
AS
37355 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
37356 gen-libm-test.pl.
37357
5be8418c
AS
37358 [BZ #14132]
37359 * elf/dl-reloc.c: Include <_itoa.h>.
37360 (_dl_reloc_bad_type): Remove use of INTUSE.
37361 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
37362 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
37363 * stdio-common/psiginfo.c (psiginfo): Likewise.
37364 * stdio-common/psignal.c (psignal): Likewise.
37365 * string/strsignal.c (strsignal): Likewise.
37366 * include/signal.h (_sys_siglist): Declare hidden proto.
37367 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
37368 INTVARDEF with libc_hidden_data_def.
37369 * stdio-common/itoa-udigits.c: Likewise.
37370 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
37371 (_itoa_lower_digits_internal): Remove declaration.
37372 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
37373 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
37374 (_sys_sigabbrev_internal): Remove aliases.
37375 (_sys_siglist): Define hidden alias.
37376
507352f1
MT
373772012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
37378
37379 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
37380 bits/sysctl.h.
37381
42bbb1c3
L
373822012-05-31 H.J. Lu <hongjiu.lu@intel.com>
37383
37384 [BZ #14117]
6bd784b6
L
37385 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
37386 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
37387
8bca20f0
L
37388 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
37389 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
37390 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
37391 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
37392 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
37393 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
37394
f9e890a9
L
37395 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
37396 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
37397 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
37398
471101a1
L
37399 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
37400 with __addr.
37401 (insw): Likewise.
37402 (insl): Likewise.
37403 (outsb): Likewise.
37404 (outsw): Likewise.
37405 (outsl): Likewise.
37406
6451c862
L
37407 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
37408 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
37409 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
37410
a254b8c9
L
37411 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
37412 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
37413 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
37414 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
37415 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
37416 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
37417
b8dfdd92
L
37418 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
37419 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
37420
578cd270
L
37421 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
37422 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
37423
de662f5f
L
37424 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
37425 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
37426 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
37427
25653439
L
37428 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
37429 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
37430 to ...
37431 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
37432
6bad24a0
L
37433 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
37434 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
37435 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
37436
42bbb1c3
L
37437 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
37438 for x86-64.
37439 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
37440
2d10d547
JM
374412012-05-31 Joseph Myers <joseph@codesourcery.com>
37442
37443 * math/math.h (M_El): Use two more decimal places.
37444 (M_LOG2El): Likewise.
37445 (M_LOG10El): Likewise.
37446 (M_LN2l): Likewise.
37447 (M_LN10l): Likewise.
37448 (M_PIl): Likewise.
37449 (M_PI_2l): Likewise.
37450 (M_PI_4l): Likewise.
37451 (M_1_PIl): Likewise.
37452 (M_2_PIl): Likewise.
37453 (M_2_SQRTPIl): Likewise.
37454 (M_SQRT2l): Likewise.
37455 (M_SQRT1_2l): Likewise.
37456
f230c29b
DM
374572012-05-31 David S. Miller <davem@davemloft.net>
37458
37459 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
37460 values between float registers.
37461 * sysdeps/sparc/sparc64/memset.S: Likewise.
37462 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
37463
fed806c3
MF
374642012-05-31 Mike Frysinger <vapier@gentoo.org>
37465
37466 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
37467 -D_FORTIFY_SOURCE=1.
37468 (CPPFLAGS-tst-longjmp_chk.c): Define.
37469 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
37470 (CPPFLAGS-tst-longjmp_chk2.c): Define.
37471 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
37472 CFLAGS-tst-wchar-h.c.
37473
30917259
MP
374742012-05-31 Marek Polacek <polacek@redhat.com>
37475
37476 [BZ #14132]
37477 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
37478 __endmntent_internal): Remove declaration.
37479 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
37480 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
37481 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
37482
1c58d5dc
DM
374832012-05-30 David S. Miller <davem@davemloft.net>
37484
37485 * sysdeps/sparc/sparc32/soft-fp/q_util.c
37486 (___Q_simulate_exceptions): Use real FP ops rather than writing
37487 into the %fsr.
37488 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
37489 Likewise.
37490
7dc00e0d
L
374912012-05-30 H.J. Lu <hongjiu.lu@intel.com>
37492
37493 [BZ #14117]
0bd53985
L
37494 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
37495 * sysdeps/x86/bits/xtitypes.h: This.
37496
3a257e66
L
37497 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
37498 * sysdeps/x86/bits/wordsize.h: This.
37499
62f62904
L
37500 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
37501 * sysdeps/x86/bits/huge_vall.h: This.
37502
404fe9d9
L
37503 * sysdeps/i386/bits/select.h: Removed.
37504 * sysdeps/x86_64/bits/select.h: Renamed to ...
37505 * sysdeps/x86/bits/select.h: This.
37506
d48d0446
L
37507 * sysdeps/i386/bits/setjmp.h: Removed.
37508 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
37509 * sysdeps/x86/bits/setjmp.h: This.
37510
7dc00e0d
L
37511 * sysdeps/i386/bits/mathdef.h: Removed.
37512 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
37513 * sysdeps/x86/bits/mathdef.h: This.
37514
03277f8f
AS
375152012-05-30 Andreas Schwab <schwab@linux-m68k.org>
37516
37517 [BZ #14132]
37518 * include/sys/socket.h (__connect_internal)
37519 (__libc_sa_len_internal): Remove declaration.
37520 (__connect, __libc_sa_len): Declare hidden_proto.
37521 (SA_LEN): Remove use of INTUSE.
37522 * socket/connect.c: Add libc_hidden_def.
37523 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
37524 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
37525 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
37526 alias.
37527 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
37528 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
37529 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
37530 of adding _internal alias.
37531
13764867
L
375322012-05-30 H.J. Lu <hongjiu.lu@intel.com>
37533
37534 [BZ #14117]
6bd97696
L
37535 * sysdeps/i386/bits/link.h: Removed.
37536 * sysdeps/i386/bits/linkmap.h: Likewise.
37537 * sysdeps/x86_64/bits/link.h: Renamed to ...
37538 * sysdeps/x86/bits/link.h: This.
37539 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
37540 * sysdeps/x86/bits/linkmap.h: This.
37541
f726f0bb
L
37542 * sysdeps/i386/bits/endian.h: Removed.
37543 * sysdeps/x86_64/bits/endian.h: Renamed to ...
37544 * sysdeps/x86/bits/endian.h: This.
37545
13764867
L
37546 * sysdeps/i386/bits/byteswap.h: Removed.
37547 * sysdeps/i386/bits/byteswap-16.h: Likewise.
37548 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
37549 * sysdeps/x86/bits/byteswap.h: This.
37550 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
37551 * sysdeps/x86/bits/byteswap-16.h: This.
37552 * sysdeps/i386/Implies: Add x86.
37553 * sysdeps/x86_64/Implies: Likewise.
37554
ae251b0b
DM
375552012-05-30 David S. Miller <davem@davemloft.net>
37556
37557 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
37558 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
37559 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
37560 (FP_TRAPPING_EXCEPTIONS): Define.
37561 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
37562 (FP_TRAPPING_EXCEPTIONS): Define.
37563 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
37564 subnormals only when inexact has been signalled or underflow
37565 exceptions are enabled.
37566 (_FP_PACK_CANONICAL): Likewise.
37567
d5c90867
L
375682012-05-30 H.J. Lu <hongjiu.lu@intel.com>
37569
37570 [BZ #14183]
37571 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
37572 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
37573
63f1549e
RH
375742012-05-30 Richard Henderson <rth@twiddle.net>
37575
8d8f2279
RH
37576 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
37577 with #ifndef NOT_IN_libc.
37578
63f1549e
RH
37579 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
37580 marked to avoid plt entry.
37581
0ab0291b
L
375822012-05-30 H.J. Lu <hongjiu.lu@intel.com>
37583
37584 [BZ #14112]
37585 * Makeconfig (default-abi): New macro.
37586 (abi-includes): Likewise.
37587 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
37588 $(abi-$(default-abi)-lib-soname) for soname if defined.
37589 ($(common-objpfx)gnu/lib-names.stmp): Generate from
37590 abi-variants.
37591 * Makefile (installed-stubs): Likewise.
37592 * include/stubs-biarch.h: Removed.
37593 * scripts/lib-names.awk: Only handle one library at a time.
37594 * scripts/soversions.awk: Remove WORDSIZE support.
37595 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
37596 entries.
37597 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
37598 Removed.
37599 (syscall-list-default-condition): Likewise.
37600 (syscall-list-default-condition): Likewise.
37601 (syscall-list-includes): Likewise.
37602 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
37603 syscall-list-* with abi-*. Handle undefined abi-variants.
37604 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
37605 * sysdeps/unix/sysv/linux/i386/Implies: New file.
37606 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
37607 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
37608 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
37609 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
37610 Removed.
37611 (syscall-list-32-options): Likewise.
37612 (syscall-list-32-condition): Likewise.
37613 (syscall-list-64-options): Likewise.
37614 (syscall-list-64-condition): Likewise.
37615 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
37616 macro.
37617 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
37618 Renamed to ...
37619 (abi-*): This.
37620 (abi-64-ld-soname): New macro.
37621 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
37622 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
37623 Renamed to ...
37624 (abi-*): This.
37625 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
37626 * sysdeps/x86_64/x32/shlib-versions: Likewise.
37627
4da0431d
JM
376282012-05-30 Joseph Myers <joseph@codesourcery.com>
37629
3a85279c
JM
37630 * sysdeps/unix/sysv/linux/kernel-features.h
37631 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
37632 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
37633 include <kernel-features.h>.
37634 [!__NR_ftruncate64]: Remove conditional code.
37635 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
37636 [__NR_ftruncate64]: Make code unconditional.
37637 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
37638 * sysdeps/unix/sysv/linux/truncate64.c: Do not
37639 include <kernel-features.h>.
37640 [!__NR_ftruncate64]: Remove conditional code.
37641 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
37642 [__NR_ftruncate64]: Make code unconditional.
37643 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
37644 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
37645 include <kernel-features.h>.
37646 [!__NR_ftruncate64]: Remove conditional code.
37647 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
37648 [__NR_ftruncate64]: Make code unconditional.
37649 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
37650 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
37651 include <kernel-features.h>.
37652 [!__NR_ftruncate64]: Remove conditional code.
37653 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
37654 [__NR_ftruncate64]: Make code unconditional.
37655 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
37656
4da0431d
JM
37657 * configure.in (libc_cv_fpie): Weaken to a compile test using
37658 LIBC_TRY_CC_OPTION.
37659 * configure: Regenerated.
37660
11ef492c
AK
376612012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37662
37663 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
37664 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
37665 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
37666 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
37667 Refreshed.
37668 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
37669 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
37670 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
37671 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
37672 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
37673 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
37674 Refreshed.
37675
d66ef399
DM
376762012-05-27 David S. Miller <davem@davemloft.net>
37677
37678 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
37679 (___Q_zero): New.
37680 (__Q_simulate_exceptions): Return void. Change to simulate
37681 exceptions by writing into the %fsr.
37682 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
37683 (__Qp_handle_exceptions): Likewise.
37684 (numbers): Delete.
37685 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
37686 __Qp_handle_exceptions.
37687 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
37688 __Qp_handle_exceptions.
37689 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
37690 as unused and give dummy FP_RND_NEAREST initializer.
37691 (FP_INHIBIT_RESULTS): Define.
37692 (___Q_simulate_exceptions): Update declaration.
37693 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
37694 formatting.
37695 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
37696 as unused and give dummy FP_RND_NEAREST initializer.
37697 (__Qp_handle_exceptions): Update declaration.
37698 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
37699 formatting.
37700
04fb54b5
TS
377012012-05-27 Thomas Schwinge <thomas@codesourcery.com>
37702
37703 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
37704 the temporary FPU control word.
37705 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
37706 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
37707 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
37708 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
37709 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
37710 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
37711 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
37712 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
37713 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
37714 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
37715 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
37716
3f99608f
KK
377172012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
37718
37719 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
37720 fields.
37721
65a4de4e
CLT
377222012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
37723
37724 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
37725 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
37726 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
37727 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
37728 Likewise.
37729 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
37730 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
37731 Likewise.
37732
15749d40
UD
377332012-05-27 Ulrich Drepper <drepper@gmail.com>
37734
37735 * po/h.po: Update from translation team.
37736
25dbcb27
AS
377372012-05-26 Andreas Schwab <schwab@linux-m68k.org>
37738
3d3f8e55
AS
37739 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
37740
25dbcb27
AS
37741 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
37742 handling of denormals.
37743 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
37744 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
37745 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
37746 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
37747 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
37748 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
37749 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
37750 Likewise.
37751
7ad47a80 377522012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
37753
37754 [BZ #14152]
37755 * math/libm-test.inc (fma_test): Don't always expect underflow
37756 exception.
37757
9c6ea9fa
SP
377582012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
37759
37760 [BZ #12416]
37761 * elf/tst-execstack.c: Include stackinfo.h.
37762 (do_test): Adjust test case to ensure that pthread_getattr_np
37763 behaviour remains the same after marking stack executable.
37764
a8239222
JM
377652012-05-25 Joseph Myers <joseph@codesourcery.com>
37766
37767 * sysdeps/unix/sysv/linux/kernel-features.h
37768 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
37769 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
37770 kernel-features.h.
37771 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
37772 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
37773 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
37774 kernel-features.h.
37775 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
37776 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
37777
918b5606
L
377782012-05-25 H.J. Lu <hongjiu.lu@intel.com>
37779
37780 * configure.in: Define the default includes to being none.
37781 * configure: Regenerated.
37782
3a097cc7
RM
377832012-05-25 Roland McGrath <roland@hack.frob.com>
37784
8422c9a5
RM
37785 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
37786 * sysdeps/x86_64/setjmp.S: Likewise.
37787 * sysdeps/i386/bsd-setjmp.S: Likewise.
37788 * sysdeps/i386/bsd-_setjmp.S: Likewise.
37789 * sysdeps/i386/setjmp.S: Likewise.
37790 * sysdeps/i386/__longjmp.S: Likewise.
37791 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
37792 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
37793
3a097cc7
RM
37794 * include/stap-probe.h: New file.
37795 * configure.in: Handle --enable-systemtap.
37796 * configure: Regenerated.
37797 * config.h.in (USE_STAP_PROBE): New #undef.
37798 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
37799 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
37800 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
37801
21708942
JM
378022012-05-25 Joseph Myers <joseph@codesourcery.com>
37803
37804 [BZ #13717]
37805 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
37806 to 2.4.0 where earlier.
37807 * sysdeps/unix/sysv/linux/configure: Regenerated.
37808 * sysdeps/unix/sysv/linux/i386/chown.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/fchown.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/fchownat.c (fchownat)
37817 [__ASSUME_32BITUIDS]: Make code unconditional.
37818 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
37819 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
37820 <kernel-features.h>.
37821 [__ASSUME_32BITUIDS]: Make code unconditional.
37822 [!__ASSUME_32BITUIDS]: Remove conditional code.
37823 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
37824 <kernel-features.h>.
37825 [__ASSUME_32BITUIDS]: Make code unconditional.
37826 [!__ASSUME_32BITUIDS]: Remove conditional code.
37827 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
37828 <kernel-features.h>.
37829 [__ASSUME_32BITUIDS]: Make code unconditional.
37830 [!__ASSUME_32BITUIDS]: Remove conditional code.
37831 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
37832 <kernel-features.h>.
37833 [__ASSUME_32BITUIDS]: Make code unconditional.
37834 [!__ASSUME_32BITUIDS]: Remove conditional code.
37835 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
37836 <kernel-features.h>.
37837 [__ASSUME_32BITUIDS]: Make code unconditional.
37838 [!__ASSUME_32BITUIDS]: Remove conditional code.
37839 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
37840 <kernel-features.h>.
37841 [__ASSUME_32BITUIDS]: Make code unconditional.
37842 [!__ASSUME_32BITUIDS]: Remove conditional code.
37843 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
37844 <kernel-features.h>.
37845 [__ASSUME_32BITUIDS]: Make code unconditional.
37846 [!__ASSUME_32BITUIDS]: Remove conditional code.
37847 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
37848 <kernel-features.h>.
37849 [__ASSUME_32BITUIDS]: Make code unconditional.
37850 [!__ASSUME_32BITUIDS]: Remove conditional code.
37851 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
37852 <kernel-features.h>.
37853 [__ASSUME_32BITUIDS]: Make code unconditional.
37854 [!__ASSUME_32BITUIDS]: Remove conditional code.
37855 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
37856 <kernel-features.h>.
37857 [__ASSUME_32BITUIDS]: Make code unconditional.
37858 [!__ASSUME_32BITUIDS]: Remove conditional code.
37859 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
37860 <kernel-features.h>.
37861 [__NR_setresgid] (__setresgid): Do not declare.
37862 [__ASSUME_32BITUIDS]: Make code unconditional.
37863 [!__ASSUME_32BITUIDS]: Remove conditional code.
37864 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
37865 <kernel-features.h>.
37866 [__NR_setresuid] (__setresuid): Do not declare.
37867 [__ASSUME_32BITUIDS]: Make code unconditional.
37868 [!__ASSUME_32BITUIDS]: Remove conditional code.
37869 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
37870 <kernel-features.h>.
37871 [__ASSUME_32BITUIDS]: Make code unconditional.
37872 [!__ASSUME_32BITUIDS]: Remove conditional code.
37873 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
37874 <kernel-features.h>.
37875 [__ASSUME_32BITUIDS]: Make code unconditional.
37876 [!__ASSUME_32BITUIDS]: Remove conditional code.
37877 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
37878 <kernel-features.h>.
37879 [__ASSUME_32BITUIDS]: Make code unconditional.
37880 [!__ASSUME_32BITUIDS]: Remove conditional code.
37881 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
37882 <kernel-features.h>.
37883 [__ASSUME_32BITUIDS]: Make code unconditional.
37884 [!__ASSUME_32BITUIDS]: Remove conditional code.
37885 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
37886 <kernel-features.h>.
37887 [__ASSUME_32BITUIDS]: Make code unconditional.
37888 [!__ASSUME_32BITUIDS]: Remove conditional code.
37889 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
37890 <kernel-features.h>.
37891 [__ASSUME_32BITUIDS]: Make code unconditional.
37892 [!__ASSUME_32BITUIDS]: Remove conditional code.
37893 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
37894 <kernel-features.h>.
37895 [__ASSUME_32BITUIDS]: Make code unconditional.
37896 [!__ASSUME_32BITUIDS]: Remove conditional code.
37897 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
37898 <kernel-features.h>.
37899 [__ASSUME_32BITUIDS]: Make code unconditional.
37900 [!__ASSUME_32BITUIDS]: Remove conditional code.
37901 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
37902 <kernel-features.h>.
37903 [__ASSUME_32BITUIDS]: Make code unconditional.
37904 [!__ASSUME_32BITUIDS]: Remove conditional code.
37905 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
37906 <kernel-features.h>.
37907 [__ASSUME_32BITUIDS]: Make code unconditional.
37908 [!__ASSUME_32BITUIDS]: Remove conditional code.
37909 * sysdeps/unix/sysv/linux/kernel-features.h
37910 (__ASSUME_SETRESUID_SYSCALL): Remove.
37911 (__ASSUME_SETRESGID_SYSCALL): Likewise.
37912 (__ASSUME_32BITUIDS): Likewise.
37913 (__ASSUME_LDT_WORKS): Likewise.
37914 (__ASSUME_O_DIRECTORY): Likewise.
37915 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
37916 architecture but not kernel version.
37917 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
37918 (__ASSUME_MMAP2_SYSCALL): Likewise.
37919 (__ASSUME_STAT64_SYSCALL): Likewise.
37920 (__ASSUME_IPC64): Likewise.
37921 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
37922 <kernel-features.h>.
37923 [__ASSUME_32BITUIDS]: Make code unconditional.
37924 [!__ASSUME_32BITUIDS]: Remove conditional code.
37925 * sysdeps/unix/sysv/linux/opendir.c: Do not include
37926 <kernel-features.h>.
37927 [__ASSUME_O_DIRECTORY]: Make code unconditional.
37928 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
37929 132096]: Remove conditional code.
37930 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
37931 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
37932 <kernel-features.h>.
37933 [__ASSUME_32BITUIDS]: Make code unconditional.
37934 [!__ASSUME_32BITUIDS]: Remove conditional code.
37935 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
37936 <kernel-features.h>.
37937 [__ASSUME_32BITUIDS]: Make code unconditional.
37938 [!__ASSUME_32BITUIDS]: Remove conditional code.
37939 * sysdeps/unix/sysv/linux/setegid.c: Do not include
37940 <kernel-features.h>.
37941 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
37942 unconditional.
37943 (__setresgid): Do not declare.
37944 [__ASSUME_32BITUIDS]: Make code unconditional.
37945 [!__ASSUME_32BITUIDS]: Remove conditional code.
37946 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
37947 <kernel-features.h>.
37948 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
37949 unconditional.
37950 (__setresuid): Do not declare.
37951 [__ASSUME_32BITUIDS]: Make code unconditional.
37952 [!__ASSUME_32BITUIDS]: Remove conditional code.
37953 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
37954 <kernel-features.h>.
37955 [__ASSUME_32BITUIDS]: Make code unconditional.
37956 [!__ASSUME_32BITUIDS]: Remove conditional code.
37957 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
37958 <kernel-features.h>.
37959 [__ASSUME_32BITUIDS]: Make code unconditional.
37960 [!__ASSUME_32BITUIDS]: Remove conditional code.
37961
a386f1cc
RH
379622012-05-25 Richard Henderson <rth@twiddle.net>
37963
37964 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
37965 dl_hwcap to ifunc resolver.
37966 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
37967 elf_ifunc_invoke.
37968 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
37969 dl_hwcap to ifunc resolver.
37970 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
37971
b6550497
JM
379722012-05-24 Joseph Myers <joseph@codesourcery.com>
37973
37974 [BZ #14153]
37975 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
37976 for |x| <= 2**-26, not 2**-57.
37977 * math/libm-test.inc (acos_test): Do not allow spurious underflow
37978 exception.
37979
b0bc23a1
JL
379802012-05-24 Jeff Law <law@redhat.com>
37981
37982 * stdio-common/Makefile (tests): Add bug25.
37983 * stdio-common/bug25.c: New test.
37984
347c92e9
L
379852012-05-24 H.J. Lu <hongjiu.lu@intel.com>
37986
37987 [BZ #13576]
37988 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
37989 multiple of MALLOC_ALIGNMENT in size.
37990 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
37991
6bcc8b3f
JM
379922012-05-24 Joseph Myers <joseph@codesourcery.com>
37993
37994 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
37995 Require >= 256.
37996 (FILENAME_MAX): Use macro-int-constant.
37997 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
37998 (_IOFBF): Use macro-int-constant.
37999 (_IOLBF): Likewise.
38000 (_IONBF): Likewise.
38001 (SEEK_CUR): Likewise.
38002 (SEEK_END): Likewise.
38003 (SEEK_SET): Likewise.
38004 (TMP_MAX): Likewise.
38005 (EOF): Use macro-int-constant. Require < 0.
38006 (NULL): Use macro-constant. Require == 0.
38007 (stdin): Require type to be FILE *.
38008 (stdout): Likewise.
38009 (stderr): Likewise.
38010 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
38011 macro-int-constant.
38012 (EXIT_SUCCESS): Likewise.
38013 (NULL): Use macro-constant. Require == 0.
38014 (RAND_MAX): Use macro-int-constant.
38015 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
38016 [C99-based standards] (strtof): Require function.
38017 [C99-based standards] (strtold): Likewise.
38018 [C99-based standards] (strtoll): Likewise.
38019 [C99-based standards] (strtoull): Likewise.
38020 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
38021 [ISO || ISO99 || ISO11] (limits.h): Likewise.
38022 [ISO || ISO99 || ISO11] (math.h): Likewise.
38023 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
38024 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
38025 [ISO || ISO99 || ISO11] (*_t): Do not allow.
38026
d18ea0c5
AS
380272012-05-24 Andreas Schwab <schwab@linux-m68k.org>
38028
38029 [BZ #14132]
56d25bb8
AS
38030 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
38031 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
38032 * intl/dgettext.c (DCGETTEXT): Likewise.
38033 * intl/gettext.c (DCGETTEXT): Likewise.
38034 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
38035 * posix/regex_internal.h (gettext): Likewise.
38036 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
38037 Remove declaration.
38038 * include/argz.h (__argz_count_internal)
38039 (__argz_stringify_internal): Remove declaration.
38040 (__argz_count, __argz_stringify): Declare hidden proto.
38041 * intl/dcgettext.c: Remove use of INTDEF.
38042 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
38043 * string/argz-stringify.c: Likewise.
38044 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
38045 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
38046 Declare hidden proto.
d18ea0c5
AS
38047 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
38048 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
38049 Declare hidden proto.
38050 * include/stdio.h (__asprintf_internal): Don't declare.
38051 (__asprintf): Don't define as macro. Declare hidden proto.
38052 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
38053 (__fsetlocking): Declare hidden proto.
38054 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
38055 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
38056 hidden proto.
38057 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
38058 (_IO_setlinebuf): Remove use of INTUSE.
38059 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
38060 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
38061 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
38062 Remove declaration.
38063 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
38064 (_IO_do_flush): Remove use of INTUSE.
38065 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
38066 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
38067 (_IO_adjust_column, _IO_least_wmarker)
38068 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
38069 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
38070 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
38071 (_IO_default_doallocate, _IO_wdefault_doallocate)
38072 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
38073 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
38074 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
38075 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
38076 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
38077 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
38078 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
38079 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
38080 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
38081 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
38082 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
38083 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
38084 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
38085 proto.
38086 (_IO_flush_all_internal, _IO_adjust_column_internal)
38087 (_IO_default_uflow_internal, _IO_default_finish_internal)
38088 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
38089 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
38090 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
38091 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
38092 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
38093 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
38094 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
38095 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
38096 (_IO_file_close_internal, _IO_file_close_it_internal)
38097 (_IO_file_underflow_internal, _IO_file_overflow_internal)
38098 (_IO_file_init_internal, _IO_file_attach_internal)
38099 (_IO_file_fopen_internal, _IO_file_read_internal)
38100 (_IO_file_sync_internal, _IO_file_seek_internal)
38101 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
38102 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
38103 (_IO_str_underflow_internal, _IO_str_overflow_internal)
38104 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
38105 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
38106 (_IO_list_all_internal, _IO_link_in_internal)
38107 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
38108 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
38109 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
38110 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
38111 (_IO_do_write_internal, _IO_padn_internal)
38112 (_IO_getline_info_internal, _IO_getline_internal)
38113 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
38114 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
38115 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
38116 (_IO_vfscanf_internal, _IO_vfprintf_internal)
38117 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
38118 (_IO_init_internal, _IO_un_link_internal): Don't declare.
38119 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
38120 with libc_hidden_ver, remove use of INTUSE.
38121 * libio/genops.c: Likewise.
38122 * libio/freopen.c: Likewise.
38123 * libio/freopen64.c: Likewise.
38124 * libio/iofclose.c: Likewise.
38125 * libio/iofdopen.c: Likewise.
38126 * libio/iofflush.c: Likewise.
38127 * libio/iofflush_u.c: Likewise.
38128 * libio/iofgets.c: Likewise.
38129 * libio/iofgets_u.c: Likewise.
38130 * libio/iofopen.c: Likewise.
38131 * libio/iofopncook.c: Likewise.
38132 * libio/iofread.c: Likewise.
38133 * libio/iofread_u.c: Likewise.
38134 * libio/ioftell.c: Likewise.
38135 * libio/iofwrite.c: Likewise.
38136 * libio/iogetline.c: Likewise.
38137 * libio/iogets.c: Likewise.
38138 * libio/iogetwline.c: Likewise.
38139 * libio/iopadn.c: Likewise.
38140 * libio/iopopen.c: Likewise.
38141 * libio/ioseekoff.c: Likewise.
38142 * libio/ioseekpos.c: Likewise.
38143 * libio/iosetbuffer.c: Likewise.
38144 * libio/iosetvbuf.c: Likewise.
38145 * libio/ioungetc.c: Likewise.
38146 * libio/ioungetwc.c: Likewise.
38147 * libio/iovdprintf.c: Likewise.
38148 * libio/iovsprintf.c: Likewise.
38149 * libio/iovsscanf.c: Likewise.
38150 * libio/memstream.c: Likewise.
38151 * libio/obprintf.c: Likewise.
38152 * libio/oldfileops.c: Likewise.
38153 * libio/oldiofclose.c: Likewise.
38154 * libio/oldiofdopen.c: Likewise.
38155 * libio/oldiofopen.c: Likewise.
38156 * libio/oldiopopen.c: Likewise.
38157 * libio/oldstdfiles.c: Likewise.
38158 * libio/putc.c: Likewise.
38159 * libio/setbuf.c: Likewise.
38160 * libio/setlinebuf.c: Likewise.
38161 * libio/stdfiles.c: Likewise.
38162 * libio/strops.c: Likewise.
38163 * libio/vasprintf.c: Likewise.
38164 * libio/vscanf.c: Likewise.
38165 * libio/vsnprintf.c: Likewise.
38166 * libio/vswprintf.c: Likewise.
38167 * libio/wfiledoalloc.c: Likewise.
38168 * libio/wfileops.c: Likewise.
38169 * libio/wgenops.c: Likewise.
38170 * libio/wmemstream.c: Likewise.
38171 * libio/wstrops.c: Likewise.
38172 * libio/__fpurge.c: Likewise.
38173 * libio/__fsetlocking.c: Likewise.
38174 * assert/assert.c: Likewise.
38175 * debug/fgets_chk.c: Likewise.
38176 * debug/fgets_u_chk.c: Likewise.
38177 * debug/fread_chk.c: Likewise.
38178 * debug/fread_u_chk.c: Likewise.
38179 * debug/gets_chk.c: Likewise.
38180 * debug/obprintf_chk.c: Likewise.
38181 * debug/vasprintf_chk.c: Likewise.
38182 * debug/vdprintf_chk.c: Likewise.
38183 * debug/vsnprintf_chk.c: Likewise.
38184 * debug/vsprintf_chk.c: Likewise.
38185 * malloc/mtrace.c: Likewise.
38186 * misc/error.c: Likewise.
38187 * misc/syslog.c: Likewise.
38188 * stdio-common/asprintf.c: Likewise.
38189 * stdio-common/fxprintf.c: Likewise.
38190 * stdio-common/getw.c: Likewise.
38191 * stdio-common/isoc99_fscanf.c: Likewise.
38192 * stdio-common/isoc99_scanf.c: Likewise.
38193 * stdio-common/isoc99_vfscanf.c: Likewise.
38194 * stdio-common/isoc99_vscanf.c: Likewise.
38195 * stdio-common/isoc99_vsscanf.c: Likewise.
38196 * stdio-common/printf-prs.c: Likewise.
38197 * stdio-common/printf_fp.c: Likewise.
38198 * stdio-common/printf_fphex.c: Likewise.
38199 * stdio-common/printf_size.c: Likewise.
38200 * stdio-common/putw.c: Likewise.
38201 * stdio-common/scanf.c: Likewise.
38202 * stdio-common/sprintf.c: Likewise.
38203 * stdio-common/tmpfile.c: Likewise.
38204 * stdio-common/vfprintf.c: Likewise.
38205 * stdio-common/vfscanf.c: Likewise.
38206 * stdlib/strfmon_l.c: Likewise.
38207 * sunrpc/openchild.c: Likewise.
38208 * sunrpc/xdr_stdio.c: Likewise.
38209 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
38210 * sysdeps/mach/hurd/tmpfile.c: Likewise.
38211
d6c33fda
RM
382122012-05-24 Roland McGrath <roland@hack.frob.com>
38213
c1487492
RM
38214 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
38215
38216 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
38217 in the third column, to generate for the shared library an IFUNC
38218 that uses _dl_vdso_vsym.
38219 * Makerules (COMPILE.c, compile-stdin.c): New variables.
38220 * Makeconfig (object-suffixes-noshared): New variable.
38221
38222 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
38223 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
38224 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
38225 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
38226
d6c33fda
RM
38227 [BZ #14132]
38228 * include/sys/time.h (__gettimeofday): Remove macro.
38229 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
38230 * time/gettimeofday.c (__gettimeofday): Remove #undef.
38231 Remove INTDEF.
38232 (__gettimeofday): Add libc_hidden_def.
38233 (gettimeofday): Add libc_hidden_weak.
38234 * sysdeps/mach/gettimeofday.c: Likewise.
38235 * sysdeps/posix/gettimeofday.c: Likewise.
38236 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
38237 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
38238 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
38239 (__gettimeofday_internal): Remove strong_alias.
38240 (__gettimeofday): Add libc_hidden_def.
38241 (gettimeofday): Add libc_hidden_weak.
38242 * sysdeps/unix/syscalls.list (gettimeofday):
38243 Remove __gettimeofday_internal alias.
38244
b5a2bbe6
L
382452012-05-24 Daniel Jacobowitz <drow@false.org>
38246 H.J. Lu <hongjiu.lu@intel.com>
38247
38248 [BZ #12495]
38249 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
38250 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
38251 (largebin_index_32_big): New.
38252 (largebin_index): Use it for 16-byte alignment.
38253 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
38254 correction with front_misalign.
38255
cfba4fda
L
382562012-05-24 H.J. Lu <hongjiu.lu@intel.com>
38257
7f907421
L
38258 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
38259 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
38260 Likewise.
38261 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
38262 Likewise.
38263 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
38264 Likewise.
38265 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
38266 Likewise.
38267 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
38268 Likewise.
38269 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
38270 Likewise.
38271 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
38272 Likewise.
38273 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
38274 Likewise.
38275 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
38276 Likewise.
38277 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
38278 Likewise.
38279 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
38280 Likewise.
38281 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
38282 Likewise.
38283
cfba4fda
L
38284 * scripts/data/c++-types-x32-linux-gnu.data: New file.
38285 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
38286
80bad0cc
JM
382872012-05-24 Joseph Myers <joseph@codesourcery.com>
38288
7a25eb06
JM
38289 [BZ #10846]
38290 [BZ #14036]
38291 * math/libm-test.inc (exp_test): Add test from bug 14036.
38292 (pow_test): Add test from bug 10846.
38293
795405f9
JM
38294 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
38295 and other flags.
38296 (special_function): Do not include flags in test name.
38297 (parse_args): Likewise.
38298 * sysdeps/i386/fpu/libm-test-ulps: Update.
38299 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
38300 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
38301 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
38302 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38303
80bad0cc
JM
38304 * math/gen-libm-test.pl (%beautify): Add entries for underflow
38305 exceptions.
38306 * math/libm-test.inc ("Philosophy"): Update comment about
38307 exception testing.
38308 (UNDERFLOW_EXCEPTION): New macro.
38309 (UNDERFLOW_EXCEPTION_OK): Likewise.
38310 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
38311 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
38312 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
38313 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
38314 (INVALID_EXCEPTION_OK): Update value.
38315 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
38316 (OVERFLOW_EXCEPTION_OK): Likewise.
38317 (IGNORE_ZERO_INF_SIGN): Likewise.
38318 (test_exceptions): Handle underflow exceptions.
38319 (acos_test): Update for underflow exception expectations.
38320 (cexp_test): Likewise.
38321 (clog_test): Likewise.
38322 (clog10_test): Likewise.
38323 (csqrt_test): Likewise.
38324 (ctan_test): Likewise.
38325 (ctanh_test): Likewise.
38326 (exp_test): Likewise.
38327 (exp10_test): Likewise.
38328 (exp2_test): Likewise.
38329 (expm1_test): Likewise.
38330 (fma_test): Likewise.
38331 (j0_test): Likewise.
38332 (jn_test): Likewise.
38333 (nexttoward_test): Likewise.
38334 (pow_test): Likewise.
38335 (scalbn_test): Likewise.
38336 (scalbln_test): Likewise.
38337 (tan_test): Likewise.
38338 (y1_test): Likewise.
38339 * sysdeps/i386/fpu/libm-test-ulps: Update.
38340 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38341
9e0e3d0b
DM
383422012-05-23 David S. Miller <davem@davemloft.net>
38343
38344 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
38345 (__libc_sigaction): Remove unused local variables.
38346
ccd0a08f
L
383472012-05-23 H.J. Lu <hongjiu.lu@intel.com>
38348
38349 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
38350
62bdf9a6
PE
383512012-05-23 Paul Eggert <eggert@cs.ucla.edu>
38352
f8591f80
PE
38353 mktime: avoid signed integer overflow
38354 * time/mktime.c (__mktime_internal): Do not mishandle the case
38355 where diff == INT_MIN.
38356
94c7d826
PE
38357 mktime: simplify computation of average
38358 * time/mktime.c (ranged_convert): Use new time_t_avg function
38359 instead of rolling our own (probably-slower) code.
38360
ce73d683
PE
38361 mktime: do not assume signed right shift propagates sign bit
38362 * time/mktime.c (isdst_differ): New static function.
38363 (__mktime_internal): No need to normalize tm_isdst now.
38364 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
38365 tm_isdst values.
38366
72a22e59
PE
38367 mktime: merge another wrapv change from gnulib
38368 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
38369 from some compilers.
38370
68605433
PE
38371 mktime: remove incorrect attempt at unusual arithmetics
38372 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
38373 The code didn't really work on such machines anyway.
38374 (TYPE_MINIMUM): Assume two's complement.
38375 (twos_complement_arithmetic): Verify that long_int and time_t
38376 are two's complement (or unsigned, in the latter case).
38377
03cf7fe3
PE
38378 mktime: check signed shifts on long_int and time_t, too
38379 * time/mktime.c (SHR): Check that shifts work as desired
38380 on the types long_int and time_t too, as SHR is used on
38381 such types.
38382
f04dfbc2
PE
38383 mktime: do not assume 'long' is wide enough
38384 * time/mktime.c (verify): Move decl up.
38385 (long_int): New type.
38386 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
38387 to remove assumption in the code that 'long' is wide enough to
38388 store year values. This assumption is not true on x32 and on
38389 some non-glibc platforms.
38390
62bdf9a6
PE
38391 mktime: merge wrapv change from gnulib
38392 * time/mktime.c (WRAPV): New macro.
38393 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
38394 (guess_time_tm, __mktime_internal): Do not assume that signed
38395 integer overflow wraps around; modern compilers generate code
38396 where this assumption is no longer valid.
38397
5e292e4f
L
383982012-05-23 H.J. Lu <hongjiu.lu@intel.com>
38399
38400 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
38401 Replace "jmp L(pseudo_end)" with "ret".
38402 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
38403 Likewise.
38404
8caf8c87
AJ
384052012-05-23 Andreas Jaeger <aj@suse.de>
38406
38407 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
38408 * sysdeps/unix/sysv/linux/poll.c: Remove file.
38409
1a09dc56
AJ
384102012-05-23 Andreas Jaeger <aj@suse.de>
38411 Maximilian Attems <max@stro.at>
38412
38413 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
38414 New macros.
38415
1c87aba0
L
384162012-05-23 H.J. Lu <hongjiu.lu@intel.com>
38417
38418 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
38419 code so that pseudo_end is just ret and the stack pointer is
38420 correct also for static library in error case.
38421
40e45bd5
JM
384222012-05-23 Joseph Myers <joseph@codesourcery.com>
38423
c2670533
JM
38424 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
38425 move to syscalls.list.
38426 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
38427 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
38428 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
38429 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
38430
40e45bd5
JM
38431 * manual/install.texi (Running make install): Do not mention Linux
38432 kernel version for which pt_chown is not needed.
38433 (Linux): Do not mention problems with nscd with 2.0 kernels.
38434 * INSTALL: Regenerated.
38435
be08eda5
AJ
384362012-05-23 Andreas Jaeger <aj@suse.de>
38437
38438 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
38439 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
38440 macro.
38441 * sysdeps/unix/sysv/linux/s390/bits/mman.h
38442 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
38443 * sysdeps/unix/sysv/linux/sh/bits/mman.h
38444 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
38445 * sysdeps/unix/sysv/linux/i386/bits/mman.h
38446 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
38447 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
38448 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
38449 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
38450 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
38451 * sysdeps/unix/sysv/linux/bits/in.h
38452 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
38453
a6a056bb
RM
384542012-05-22 Roland McGrath <roland@hack.frob.com>
38455
38456 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
38457 (PREPARE_VERSION): Just use assert instead, it will be elided
38458 under [NDEBUG] anyway.
38459
c9009328
L
384602012-05-22 H.J. Lu <hongjiu.lu@intel.com>
38461
38462 * sysdeps/unix/sysv/linux/Makefile: Include
38463 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 38464 (sysdep_routines): Remove sysctl.
c9009328
L
38465 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
38466 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
38467 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
38468 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
38469 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
38470
73338355
AJ
384712012-05-22 Andreas Jaeger <aj@suse.de>
38472
38473 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
38474 that pseudo_end is just ret and the stack pointer is correct also
38475 for static library in error case.
38476
d44638b0
PP
384772012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
38478
38479 [BZ #14122]
38480 * nss/nsswitch.c (defconfig_entries): New variable.
38481 (__nss_database_lookup): Don't leak defconfig entries.
38482 (nss_parse_service_list): Don't leak on error paths.
38483 (free_database_entries): New function.
38484 (free_defconfig): New function.
38485 (free_mem): Move common code to free_database_entries.
38486
31a39bd8
L
384872012-05-22 H.J. Lu <hongjiu.lu@intel.com>
38488
da0331a8
L
38489 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
38490 Add arch_prctl.
38491 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
38492
31a39bd8
L
38493 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
38494 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
38495 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
38496 New macro.
38497 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
38498 (INTERNAL_SYSCALL_TYPES): Likewise.
38499 (LOAD_ARGS_TYPES_[1-6]): Likewise.
38500 (LOAD_REGS_TYPES_[1-6]): Likewise.
38501 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
38502 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
38503
45470df3
AZ
385042012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38505
38506 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
38507 copysignl for GLIBC_2_0.
38508 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
38509 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
38510 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
38511 logbl for GLIBC_2_0.
38512 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
38513 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
38514
98a61bcb
L
385152012-05-22 H.J. Lu <hongjiu.lu@intel.com>
38516
a4f6e481
L
38517 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
38518 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
38519
f63d5db6
L
38520 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
38521 Use "neg %eax".
38522
98a61bcb
L
38523 * time/mktime.c: Update copyright years.
38524
95770f14
PE
385252012-05-22 Paul Eggert <eggert@cs.ucla.edu>
38526
6226efbd
PE
38527 mktime: merge comment-quoting-style change from gnulib
38528 * time/mktime.c: Quote 'like this' in comments.
38529 The GNU coding standards suggest that we no longer quote `like this',
38530 as "`" and "'" are typically rendered asymmetrically nowadays.
38531 The typical gnulib style is to quote 'like this' when quoting
38532 code, and "like this" when quoting English.
38533
b99e4f78
PE
38534 * time/mktime.c (compile-command): Add "-I.".
38535
643e01e6
PE
38536 mktime: merge mktime-internal.h change from gnulib
38537 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
38538
2554247d
PE
38539 mktime: merge time_r change from gnulib
38540 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
38541
826dd0ab
PE
38542 mktime: merge DEBUG change from gnulib
38543 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
38544 case system <time.h> has a #define.
38545
bd83aabe
PE
38546 mktime: merge <sys/types.h> change from gnulib
38547 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
38548 since <time.t> is now guaranteed to define time_t.
38549
95770f14
PE
38550 mktime: merge HAVE_CONFIG_H change from gnulib
38551 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
38552
5e1a27a9
L
385532012-05-22 H.J. Lu <hongjiu.lu@intel.com>
38554
0e44a77e
L
38555 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
38556 Use "neg %eax".
38557
5e1a27a9
L
38558 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
38559 __rlim_t cast.
38560 (struct rusage): Use anonymous union to pad each field to
38561 __syscall_slong_t.
38562
46259bec
DM
385632012-05-21 David S. Miller <davem@davemloft.net>
38564
38565 * Makefules (o-iterator): Remove .s cases.
38566 (compile-command.s): Delete.
38567 (COMPILE.s): Delete.
38568 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
38569
59f0c22e
JM
385702012-05-21 Joseph Myers <joseph@codesourcery.com>
38571
38572 * configure.in (libc_cv_predef_stack_protector): Only consider
38573 "foobar" and "__stack_chk_fail" lines in libc_undefs.
38574 * configure: Regenerated.
38575
20c07380
L
385762012-05-21 H.J. Lu <hongjiu.lu@intel.com>
38577
bbb3154b
L
38578 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
38579 New macro. Use R*LP on int and pointer.
38580 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
38581 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
38582 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
38583 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
38584
20c07380
L
38585 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
38586 [__WORDSIZE_TIME64_COMPAT32] instead of
38587 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
38588 (struct utmp): Likewise.
38589 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
38590 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
38591 Renamed to ...
38592 (__WORDSIZE_TIME64_COMPAT32): This.
38593 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
38594 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
38595 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
38596 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
38597 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
38598 (__WORDSIZE_TIME64_COMPAT32): New macro.
38599
d8d1017e
AJ
386002012-05-21 Andreas Jaeger <aj@suse.de>
38601
38602 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
38603 only if [SHARED]. Add prototype for __wcschr_ia32.
38604
6c7fb145
RM
386052012-05-21 Roland McGrath <roland@hack.frob.com>
38606
38607 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
38608 of %rbp unmolested in the jmp_buf while mangling the low bits.
38609 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
38610 unmolested high bits of %rbp while demangling the low bits.
38611 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
38612
66274218
AJ
386132012-05-21 Andreas Jaeger <aj@suse.de>
38614
07c58f8f
AJ
38615 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
38616 * sunrpc/svc_simple.c: Use it for registerrpc.
38617 * sunrpc/xcrypt.c: Use it for passwd2des.
38618
66274218
AJ
38619 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
38620
61f65140
L
386212012-05-21 H.J. Lu <hongjiu.lu@intel.com>
38622
38623 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
38624 Don't define if [__SYSCALL_WORDSIZE != 32].
38625 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
38626 New macro.
38627
5fefb436
AJ
386282012-05-21 Bruno Haible <bruno@clisp.org>
38629 Andreas Jaeger <aj@suse.de>
38630
38631 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
38632 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
38633 inptr and inend for must_buffer_ch.
38634 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
38635 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
38636 * stdio-common/Makefile (tests): Remove bug15.
38637 (bug15-ENV): Remove macro.
38638 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
38639 anymore.
38640
d8e272ab
AJ
386412012-05-19 Andreas Jaeger <aj@suse.de>
38642 Roland McGrath <roland@hack.frob.com>
38643
38644 * manual/contrib.texi: Completely rewritten. It contains now an
38645 alphabetical list of contributors and their contributions.
38646
4a56a162
RH
386472012-05-21 Richard Henderson <rth@twiddle.net>
38648
38649 * misc/getauxval.c (__getauxval): Use unsigned long int.
38650 * misc/sys/auxv.h: Include <sys/cdefs.h>.
38651 (getauxval): Use unsigned long int.
38652
d024d23c
L
386532012-05-21 H.J. Lu <hongjiu.lu@intel.com>
38654
38655 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
38656
cbc00a03
RM
386572012-05-21 Roland McGrath <roland@hack.frob.com>
38658
38659 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
38660 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
38661 __alignof__ (long double).
38662
478143fa
AZ
386632012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38664
38665 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38666
c7683a6d
RH
386672012-05-20 Richard Henderson <rth@twiddle.net>
38668
38669 * misc/getauxval.c: New file.
38670 * misc/sys/auxv.h: New file.
38671 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
38672 (routines): Add getauxval.
38673 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
38674 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
38675 * elf/dl-sysdep.c (_dl_auxv): Remove.
38676 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
38677 * elf/dl-support.c (_dl_auxv): New variable.
38678 (_dl_aux_init): Initialize it.
38679 * manual/startup.texi (Auxiliary Vector): New node.
38680 * sysdeps/generic/bits/hwcap.h: New file.
38681 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
38682 * sysdeps/powerpc/sysdep.h: ... here. Include it.
38683 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
38684 * sysdeps/sparc/sysdep.h: ... here. Include it.
38685 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
38686 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
38687 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
38688 Update.
c7683a6d
RH
38689 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
38690 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
38691 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
38692 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
38693 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
38694 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
38695 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
38696 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
38697
a6f1845d
AZ
386982012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38699
38700 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38701
cbcbe830
DM
387022012-05-19 David S. Miller <davem@davemloft.net>
38703
38704 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38705
e0b16cc2
JM
387062012-05-19 Joseph Myers <joseph@codesourcery.com>
38707
38708 [BZ #14123]
38709 * math/s_ccosh.c: Include <float.h>
38710 (__ccosh): Avoid internal overflow calculating sinh and cosh
38711 values before multiplying by sin and cos values.
38712 * math/s_ccoshf.c: Likewise.
38713 * math/s_ccoshl.c: Likewise.
38714 * math/s_csin.c: Likewise.
38715 * math/s_csinf.c: Likewise.
38716 * math/s_csinl.c: Likewise.
38717 * math/s_csinh.c: Likewise.
38718 * math/s_csinhf.c: Likewise.
38719 * math/s_csinhl.c: Likewise.
38720 * math/libm-test.inc (ccos_test): Add more tests.
38721 (ccosh_test): Likewise.
38722 (csin_test): Likewise.
38723 (csinh_test): Likewise.
38724 * sysdeps/i386/fpu/libm-test-ulps: Update.
38725 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38726
6ad13e08
L
387272012-05-19 H.J. Lu <hongjiu.lu@intel.com>
38728
f66f0ce8
L
38729 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
38730 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
38731
6ad13e08
L
38732 * sysdeps/x86_64/x32/_itoa.h: Add comment.
38733
b1d072a7
JM
387342012-05-19 Joseph Myers <joseph@codesourcery.com>
38735
38736 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
38737 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
38738 * sysdeps/powerpc/soft-fp/Versions: Likewise.
38739 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
38740 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
38741 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
38742 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
38743 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
38744 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
38745 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
38746 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
38747 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
38748 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
38749 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
38750 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
38751 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
38752 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
38753 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
38754 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
38755 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
38756 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
38757 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
38758 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
38759 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
38760 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
38761 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
38762 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
38763 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
38764 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
38765 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
38766 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
38767
9eae47cb
AJ
387682012-05-18 Andreas Jaeger <aj@suse.de>
38769
38770 * csu/.gitignore: Delete.
38771
bb07f69f
L
387722012-05-18 H.J. Lu <hongjiu.lu@intel.com>
38773
38774 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
38775 (timex): Use __syscall_slong_t.
38776
e6bdb741
AJ
387772012-05-18 Andreas Jaeger <aj@suse.de>
38778 Carlos O'Donell <carlos_odonell@mentor.com>
38779
38780 * manual/install.texi (Configuring and compiling): Update
38781 description about files modified in the source directory.
d6c33fda 38782 * INSTALL: Regenerated.
e6bdb741 38783
1b74487e
L
387842012-05-18 H.J. Lu <hongjiu.lu@intel.com>
38785
38786 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
38787 value. Use "or" to set return value to -1.
38788 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
38789 negate return value.
38790
a88b64b9
TMQMF
387912012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
38792
57f41c40
AS
38793 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
38794 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
a88b64b9
TMQMF
38795 failure if the compiler has Graphite support disabled.
38796 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
38797 Likewise.
57f41c40
AS
38798 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
38799 (CFLAGS-memmove.c): Likewise.
a88b64b9
TMQMF
38800 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
38801 Likewise.
38802
3707636e
L
388032012-05-18 H.J. Lu <hongjiu.lu@intel.com>
38804
610b8622
L
38805 * sysdeps/x86_64/x32/_itoa.h: New file.
38806
7cd195df
L
38807 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
38808 getdents system call only if kernel and user dirents have the
38809 same d_ino and d_off.
38810
94b07d20
L
38811 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
38812 LLONG_MAX != LONG_MAX.
38813 (_itoa_word): Use _ITOA_WORD_TYPE on value.
38814 (_fitoa_word): Likewise.
38815
18298070
L
38816 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
38817 years.
38818 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
38819 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
38820 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
38821
553c7ea4
L
38822 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
38823 include <bits/wordsize.h>. Check __x86_64__ instead of
38824 __WORDSIZE.
38825 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
38826 if __x86_64__ is defined. Use anonymous union on fpstate.
38827
3707636e
L
38828 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
38829 anonymous union.
38830
b53ef01a
AS
388312012-05-18 Andreas Schwab <schwab@linux-m68k.org>
38832
37fb1dc0
AS
38833 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
38834 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
38835 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
38836 Refer to _rtld_local_ro instead of _rtld_global_ro.
38837 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
38838 Likewise.
38839 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
38840 Likewise.
38841 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
38842 Likewise.
38843 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
38844 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
38845 of _rtld_global, and rtld_progname instead of _dl_argv[0].
38846
b53ef01a
AS
38847 * sysdeps/powerpc/powerpc32/dl-machine.c
38848 (__elf_machine_runtime_setup) [PROF]: Don't reference
38849 _dl_prof_resolve.
38850
7a185db2
AJ
388512012-05-18 Andreas Jaeger <aj@suse.de>
38852
38853 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
38854 function only available for GCCs before 3.4 since GCC 3.4
38855 introduced a builtin.
38856 (lrint): Likewise.
38857 (llrintf): Likewise.
38858 (llrint): Likewise.
38859 (fmaxf): Likewise.
38860 (fmax): Likewise.
38861 (fminf): Likewise.
38862 (fmin): Likewise.
38863 (rint): Likewise.
38864 (rintf): Likewise.
38865 (nearbyint): Likewise.
38866 (nearbyintf): Likewise.
38867 (ceil): Likewise.
38868 (ceilf): Likewise.
38869 (floor): Likewise.
38870 (floorf): Likewise.
38871
3e5aef87
L
388722012-05-17 H.J. Lu <hongjiu.lu@intel.com>
38873
428bd707
L
38874 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
38875 on both fields and cast pointer to __syscall_ulong_t.
38876
3e5aef87
L
38877 * bits/types.h (__fsword_t): New type.
38878 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
38879 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
38880 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
38881 (__FSWORD_T_TYPE): Likewise.
38882 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
38883 (__FSWORD_T_TYPE): Likewise.
38884 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
38885 (__FSWORD_T_TYPE): Likewise.
38886 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
38887 (__FSWORD_T_TYPE): Likewise.
38888 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
38889 __SWORD_TYPE with __fsword_t.
38890 (statfs64): Likewise.
38891
1ba7c3dc
DM
388922012-05-17 David S. Miller <davem@davemloft.net>
38893
38894 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
38895
59910343
AJ
388962012-05-17 Andreas Jaeger <aj@suse.de>
38897
38898 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
38899 warning.
38900
2e4c1e9e
L
389012012-05-17 H.J. Lu <hongjiu.lu@intel.com>
38902
38903 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
38904
de7f5ce7
AJ
389052012-05-17 Andreas Jaeger <aj@suse.de>
38906
38907 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
38908 when it is used.
38909
286abc3d
CM
389102012-05-17 Chris Metcalf <cmetcalf@tilera.com>
38911
38912 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
38913
477cc68e
L
389142012-05-17 H.J. Lu <hongjiu.lu@intel.com>
38915
38916 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
38917 * sysdeps/x86_64/tst-mallocalign1.c: New file.
38918
1a0994f5
CD
389192012-05-17 Andreas Jaeger <aj@suse.de>
38920 Carlos O'Donell <carlos_odonell@mentor.com>
38921
38922 [BZ #14059]
38923 * sysdeps/x86_64/multiarch/init-arch.h
38924 (bit_YMM_Usable): Rename to...
38925 (bit_AVX_Usable): ... this.
38926 (bit_FMA4_Usable): New macro.
38927 (bit_XMM_state): New macro.
38928 (bit_YMM_state): New macro.
38929 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
38930 [__ASSEMBLER__] (index_AVX_Usable): ... this.
38931 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
38932 (CPUID_OSXSAVE): New macro.
38933 (CPUID_AVX): New macro.
38934 (CPUID_FMA4): New macro.
38935 (index_YMM_Usable): Rename to...
38936 (index_AVX_Usable): ... this.
38937 (HAS_AVX): Use HAS_ARCH_FEATURE.
38938 (HAS_FMA4): Likewise.
38939 (HAS_YMM_USABLE): Remove.
38940 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
38941 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
38942 are present.
38943 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
38944 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
38945 * sysdeps/x86_64/multiarch/Makefile: Likewise.
38946 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
38947 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
38948
0af797de
CM
389492012-05-17 Chris Metcalf <cmetcalf@tilera.com>
38950
38951 * math/libm-test.c: Support platforms without multiple rounding modes.
38952 * math/bug-nextafter.c: Support platforms without FP exceptions.
38953 * math/bug-nexttoward.c: Likewise.
38954 * math/test-fenv.c: Likewise.
38955 * math/test-misc.c: Likewise.
38956 * stdlib/bug-getcontext.c: Likewise.
38957
e39745ff
AJ
389582012-05-17 Andreas Jaeger <aj@suse.de>
38959
38960 * manual/examples/search.c (critter_cmp): Change signature to
38961 avoid warnings.
38962 * manual/string.texi (Collation Functions): Likewise.
38963
48970aba
L
389642012-05-16 H.J. Lu <hongjiu.lu@intel.com>
38965
38966 * bits/types.h: Fold copyright years.
38967 * bits/typesizes.h: Likewise.
38968 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
38969 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
38970 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
38971 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
38972 * time/time.h: Likewise.
38973
bedee953
PP
389742012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
38975
38976 [BZ #208]
38977 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
38978 in instead of returning them. Return void.
38979 (__libc_mallinfo): Accumulate over all arenas.
38980 (__malloc_stats): Adjust for change in int_mallinfo interface.
38981
61653dfb
RM
389822012-05-16 Roland McGrath <roland@hack.frob.com>
38983
30b99d79
RM
38984 [BZ #10375]
38985 * configure.in (NM): Add AC_CHECK_TOOL for it.
38986 (libc_extra_cflags): New substituted variable.
38987 Check for -fstack-protector being used implicitly.
38988 * configure: Regenerated.
38989 * config.make.in (config-extra-cflags): New variable,
38990 gets @libc_extra_cflags@.
38991 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
38992
61653dfb
RM
38993 [BZ #10375]
38994 * configure.in: Check for _FORTIFY_SOURCE being predefined.
38995 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
38996 * configure: Regenerated.
38997 * config.make.in (CPPUNDEFS): New substituted variable.
38998 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
38999 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
39000 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
39001
661768bb
L
390022012-05-16 H.J. Lu <hongjiu.lu@intel.com>
39003
39004 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
39005 (mq_attr): Use __syscall_slong_t.
39006
d4261567
L
390072012-05-16 H.J. Lu <hongjiu.lu@intel.com>
39008
39009 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
39010 Check __x86_64__ instead of __WORDSIZE.
39011 (_STAT_VER_LINUX): Likewise.
39012 (stat): Check __x86_64__ instead of __WORDSIZE. Use
39013 __syscall_ulong_t and __syscall_slong_t.
39014 (stat64): Likewise.
39015
cf3ff365
L
390162012-05-16 H.J. Lu <hongjiu.lu@intel.com>
39017
39018 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
39019
76cf3e4d
L
390202012-05-16 H.J. Lu <hongjiu.lu@intel.com>
39021
39022 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
39023
a637753a
L
390242012-05-16 H.J. Lu <hongjiu.lu@intel.com>
39025
39026 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
39027 __syscall_ulong_t.
39028
d5e05119
L
39029 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
39030 include <bits/wordsize.h>. Check __x86_64__ instead of
39031 __WORDSIZE.
39032 (greg_t): Use "__extension__ long long int" if __x86_64__ is
39033 defined.
39034 (mcontext_t): Replace "unsigned long" with "unsigned long long".
39035
f62ee380
L
39036 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
39037 include <bits/wordsize.h>. Check __x86_64__ instead of
39038 __WORDSIZE.
39039 (user_regs_struct): Use "__extension__ unsigned long long"
39040 instead of "unsigned long" if __x86_64__ is defined.
39041 (user): Likewise. Pad after pointer field if __ILP32__ is
39042 defined.
39043
4e124ced
JM
390442012-05-16 Joseph Myers <joseph@codesourcery.com>
39045
6a3951a0
JM
39046 * configure.in (makeinfo): Require version 4.5 or later. Allow
39047 versions 5 to 9.
39048 * configure: Regenerated.
39049 * manual/install.texi (texinfo): Increase version requirement to
39050 4.5 or later.
39051 * INSTALL: Regenerated.
39052
4e124ced
JM
39053 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
39054
953ca31a
L
390552012-05-16 H.J. Lu <hongjiu.lu@intel.com>
39056
39057 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
39058
617aca05
L
39059 * sysdeps/x86_64/x32/ffs.c: New file.
39060
5762f7ae
L
39061 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
39062 __syscall_ulong_t.
39063 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
39064 defined. Use __syscall_ulong_t.
39065 (shminfo): Use __syscall_ulong_t.
39066 (shm_info): Likewise.
39067
a26b6856
L
39068 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
39069 __syscall_ulong_t.
39070
cb2b9ef7
L
39071 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
39072 <bits/wordsize.h>.
39073 (msgqnum_t): Use __syscall_ulong_t.
39074 (msglen_t): Likewise.
39075 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
39076 __syscall_ulong_t.
39077
34683bb0
L
39078 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
39079 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
39080
84a68786
L
39081 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
39082
48baa5f1
L
39083 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
39084 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
39085
180be88b
L
39086 * sysvipc/sys/msg.h (msgbuf): Replace long int with
39087 __syscall_slong_t.
39088
5e90c8ad
L
39089 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
39090 include <bits/wordsize.h>. Check __x86_64__ instead of
39091 __WORDSIZE.
39092
23dfb58b
L
39093 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
39094 "unsigned long long int" if __x86_64__ is defined.
39095 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
39096
ce5d54b0
L
39097 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
39098 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
39099 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
39100
13dc9eac
L
39101 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
39102 <stdint.h>.
39103 (GET_PC): Cast to uintptr_t first.
39104 (GET_FRAME): Likewise.
39105 (GET_STACK): Likewise.
39106
a7895d15
L
39107 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
39108 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
39109 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
39110 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
39111 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
39112 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
39113 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
39114 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
39115 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
39116 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
39117 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
39118 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
39119 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
39120 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
39121 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
39122 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
39123 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
39124 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
39125 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
39126 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
39127 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
39128 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
39129 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
39130 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
39131 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
39132 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
39133 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
39134 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
39135 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
39136
656416c9
AS
391372012-05-16 Andreas Schwab <schwab@linux-m68k.org>
39138
5bd66283
AS
39139 * Makerules (+depfiles): Also collect depfiles from .oS in
39140 $(extra-objs).
39141 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
39142 .oS, $(libnldbl-routines)).
39143
656416c9
AS
39144 * Makerules (native-compile-mkdep-flags): Define.
39145 * sunrpc/Makefile (extra-objs): Add $(addprefix
39146 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
39147 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
39148 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
39149 calling $(make-target-directory).
39150
a46f2169
L
391512012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39152
39153 * bits/types.h (__snseconds_t): Removed.
39154 * time/time.h (struct timespec): Replace __snseconds_t with
39155 __syscall_slong_t.
39156 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
39157 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
39158 Likewise.
39159 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
39160 (__SNSECONDS_T_TYPE): Likewise.
39161 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
39162 (__SNSECONDS_T_TYPE): Likewise.
39163 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
39164 (__SNSECONDS_T_TYPE): Likewise.
39165
6af6528b
L
391662012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39167
39168 * sysdeps/mach/hurd/bits/typesizes.h
39169 (__SYSCALL_SLONG_TYPE): New macro.
39170 (__SYSCALL_ULONG_TYPE): Likewise.
39171
de986b56
L
391722012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39173
39174 * bits/types.h (__syscall_slong_t): New type.
39175 (__syscall_ulong_t): Likewise.
39176
39177 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
39178 (__SYSCALL_ULONG_TYPE): Likewise.
39179 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
39180 (__SYSCALL_SLONG_TYPE): Likewise.
39181 (__SYSCALL_ULONG_TYPE): Likewise.
39182 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
39183 (__SYSCALL_SLONG_TYPE): Likewise.
39184 (__SYSCALL_ULONG_TYPE): Likewise.
39185 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
39186 (__SYSCALL_SLONG_TYPE): Likewise.
39187 (__SYSCALL_ULONG_TYPE): Likewise.
39188
85736dc7
L
391892012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39190
39191 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
39192 Add sigaltstack-offsets.sym.
39193 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
39194 <sigaltstack-offsets.h>.
39195 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
39196 longjmp_msg pointer.
39197 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
39198 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
39199 signal stack.
39200 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
39201
cc03b296
JM
392022012-05-15 Joseph Myers <joseph@codesourcery.com>
39203
a9538892
JM
39204 * elf/stackguard-macros.h: Remove file.
39205 * sysdeps/generic/stackguard-macros.h: New file.
39206 * sysdeps/i386/stackguard-macros.h: Likewise.
39207 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
39208 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
39209 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
39210 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
39211 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
39212 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
39213 * sysdeps/x86_64/stackguard-macros.h: Likewise.
39214 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
39215 <elf/stackguard-macros.h>.
39216
cc03b296
JM
39217 [BZ #14109]
39218 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
39219 __aligned__ in attribute.
39220 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
39221 (gregset_t): Likewise.
39222
93171016
L
392232012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39224
39225 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
39226 * sysdeps/x86_64/64/Implies-after: Here. New file.
39227 * sysdeps/x86_64/x32/Implies-after: New file.
39228
d86813a0
L
392292012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39230
39231 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
39232 and access return value for _dl_profile_fixup. Use R10_LP to
39233 load frame size.
39234
2953ec75
L
392352012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39236
39237 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
39238
3b550e9e
L
392392012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39240
39241 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
39242 * sysdeps/x86_64/x32/sysdep.h: New file.
39243
eda41706
L
392442012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39245
39246 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
39247 * sysdeps/x86_64/setjmp.S: Likewise.
39248
9ea01d93
AZ
392492012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39250
39251 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
39252 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
39253 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
39254 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
39255 remove unused global constant.
39256
02a91938
CM
392572012-05-15 Chris Metcalf <cmetcalf@tilera.com>
39258
39259 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
39260 include of <not-cancel.h>.
39261
6540185f
RM
392622012-05-15 Roland McGrath <roland@hack.frob.com>
39263
39264 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
39265
509072a0
AJ
392662012-05-15 Jeff Law <law@redhat.com>
39267 Andreas Jaeger <aj@suse.de>
39268
39269 [BZ #13594]
39270 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
39271 out from...
39272 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
39273 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
39274 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
39275 code changing __hst_map_handle.map.
39276
ba75122d
RM
392772012-05-15 Roland McGrath <roland@hack.frob.com>
39278
39279 * configure.in (sysnames): Look for Implies-before and Implies-after
39280 files.
39281 * configure: Regenerated.
39282
890d8bd8
L
392832012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39284
39285 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
39286 8-byte data alignment with LP_SIZE alignment.
39287
f6ee6623
L
392882012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39289
39290 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
39291 into R10_LP.
39292
ea2626f6
L
392932012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39294
39295 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
39296
085f715e
L
392972012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39298
39299 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
39300 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
39301 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
39302 Likewise.
39303 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
39304
be8498fc
L
393052012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39306
39307 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
39308 (stackinfo_sub_sp): Likewise.
39309
70bc83b9
L
393102012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39311
39312 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
39313 RAX_LP.
39314
9bc0b730
L
393152012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39316
39317 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
39318 into R*_LP.
39319
6d2850e7
L
393202012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39321
39322 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
39323 sizes into R*_LP.
39324
3cb84561
L
393252012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39326
39327 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
39328
54e2ed81
L
393292012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39330
39331 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
39332 into R11_LP and load __x86_64_shared_cache_size_half into
39333 R8_LP.
39334
8a17f349
L
393352012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39336
39337 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
39338 R8_LP.
39339
777b1eea
AZ
393402012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39341
39342 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
39343 logb for POWER7.
39344 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
39345 logbf for POWER7.
39346 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
39347 logbl for POWER7.
39348 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
39349 powerpc32/power7/fpu/s_logb.c via #include.
39350 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
39351 powerpc32/power7/fpu/s_logbf.c via #include.
39352 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
39353 powerpc32/power7/fpu/s_logbl.c via #include.
39354
d20d4ac2
JM
393552012-05-15 Joseph Myers <joseph@codesourcery.com>
39356
39357 * README.libm: Remove file.
39358
6cdef1ab
L
393592012-05-14 H.J. Lu <hongjiu.lu@intel.com>
39360
39361 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
39362 count for x32. Use R*_LP and omit operand-size suffix.
39363
0b254d8f
L
393642012-05-14 H.J. Lu <hongjiu.lu@intel.com>
39365
39366 * shlib-versions: Move x86_64-.*-linux.* entries to ...
39367 * sysdeps/x86_64/64/shlib-versions: Here. New file.
39368 * sysdeps/x86_64/x32/shlib-versions: New file.
39369
ceb809dc
RM
393702012-05-14 Roland McGrath <roland@hack.frob.com>
39371
39372 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
39373 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
39374 Use _dl_fatal_printf instead.
39375
37f1abd4
JM
393762012-05-14 Joseph Myers <joseph@codesourcery.com>
39377
39378 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
39379 set if not set by the user. Do not allow for being unset.
39380 * sysdeps/unix/sysv/linux/configure: Regenerated.
39381
11de3a33
L
393822012-05-14 H.J. Lu <hongjiu.lu@intel.com>
39383
39384 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
39385 the `q' suffix from lea and replace .quad with ASM_ADDR.
39386
e02f153a
L
393872012-05-14 H.J. Lu <hongjiu.lu@intel.com>
39388
39389 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
39390 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
39391 instead of $17.
39392 (PTR_DEMANGLE): Likewise.
39393
520ae0fd
L
393942012-05-14 H.J. Lu <hongjiu.lu@intel.com>
39395
39396 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
39397 (LP_OP): Likewise.
39398 (ASM_ADDR): Likewise.
39399 (RAX_LP): Likewise.
39400 (RBP_LP): Likewise.
39401 (RBX_LP): Likewise.
39402 (RCX_LP): Likewise.
39403 (RDI_LP): Likewise.
39404 (RSI_LP): Likewise.
39405 (RSP_LP): Likewise.
39406 (R8_LP): Likewise.
39407 (R9_LP): Likewise.
39408 (R10_LP): Likewise.
39409 (R10_LP): Likewise.
39410 (R11_LP): Likewise.
39411 (R12_LP): Likewise.
39412 (R13_LP): Likewise.
39413 (R14_LP): Likewise.
39414 (R15_LP): Likewise.
39415
b985be81
L
394162012-05-14 H.J. Lu <hongjiu.lu@intel.com>
39417
39418 * sysdeps/x86_64/x32/dl-machine.h: New file.
39419
6a4888ff
AJ
394202012-05-14 Andreas Jaeger <aj@suse.de>
39421
39422 * manual/Makefile (subdir): Remove export of subdir.
39423 (all): Remove target.
39424 (.PHONY): Remove all from list.
39425 (mkinstalldirs): Remove.
39426 (.PHONY): Remove installdirs from list.
39427 ($(inst_infodir)/libc.info): Use make-target-directory.
39428 (installdirs): Remove.
39429 (subdir_%): Remove.
39430 (glibc-targets): Remove.
39431 (lib): Remove.
39432 (stubs): Remove.
39433 ($(objpfx)stubs ../po/manual.pot): Remove.
39434 ($(objpfx)stamp%): Remove.
39435 (make-target-directory): Remove.
39436 (subdir_install): Remove.
39437 (routines): Remove.
39438 (aux): Remove.
39439 (sources): Remove.
39440 (objects): Remove.
39441 (headers): Remove.
39442
39443 [BZ #13750]
39444 * manual/.gitignore: Remove, it's not needed anymore.
39445 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
39446 all files in it.
39447 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
39448 directory.
39449 (texis): Renamed to $(objpfx)texis.
39450 (texis-path): New, contains path to generated files.
39451 (chapters.%): Use texis-path for complete path, add extra argument
39452 libc-texinfo.sh.
39453 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
39454 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
39455 (summary,texi, stamp-summary): Use complete path of
39456 files. Generate files in build dir.
39457 (dir-add.texi): Build in build dir.
39458 (libm-err.texi,stamp-libm-err): Likewise.
39459 (version.texi, stamp-version): Likewise.
39460 (.%c.texi): Likewise.
39461 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
39462 (mostlyclean): Remove target.
39463 (realclean): Remove target.
39464 (generated): Add new variable with contents from mostlyclean and
39465 realclean, remove entries duplicated in common-mostlyclean, add
39466 stamp-libm-err and stamp-version.
39467 (generated-dirs): Add libc directory.
39468 ($(inst_infodir)/libc.info): Install files from build dir.
39469
39470 * manual/install.texi (Configuring and compiling): Adjust since
39471 the info files are not part of the tar ball anymore.
39472
7ac77294
AJ
394732012-05-14 Andreas Jaeger <aj@suse.de>
39474
39475 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
39476 variable.
39477
ffb7875d
JM
394782012-05-14 Joseph Myers <joseph@codesourcery.com>
39479
39480 [BZ #13717]
39481 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
39482 to 2.2.0 where earlier.
39483 * sysdeps/unix/sysv/linux/configure: Regenerated.
39484 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
39485 Remove conditional code.
39486 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
39487 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
39488 Remove conditional code.
39489 [!__NR_lchown]: Likewise.
39490 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
39491 [__NR_lchown]: Likewise.
39492 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
39493 comment referencing __ASSUME_LCHOWN_SYSCALL.
39494 * sysdeps/unix/sysv/linux/i386/sigaction.c
39495 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
39496 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
39497 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
39498 Remove conditional code.
39499 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
39500 (__protocol_available): Remove #if 0 code.
39501 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
39502 conditional code.
39503 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
39504 * sysdeps/unix/sysv/linux/kernel-features.h
39505 (__ASSUME_GETCWD_SYSCALL): Don't define.
39506 (__ASSUME_REALTIME_SIGNALS): Likewise.
39507 (__ASSUME_PREAD_SYSCALL): Likewise.
39508 (__ASSUME_PWRITE_SYSCALL): Likewise.
39509 (__ASSUME_POLL_SYSCALL): Likewise.
39510 (__ASSUME_LCHOWN_SYSCALL): Likewise.
39511 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
39512 non-SPARC.
39513 (__ASSUME_SIOCGIFNAME): Don't define.
39514 (__ASSUME_MSG_NOSIGNAL): Likewise.
39515 (__ASSUME_SENDFILE): Define unconditionally.
39516 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
39517 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
39518 conditional code.
39519 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
39520 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
39521 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
39522 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
39523 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
39524 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
39525 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
39526 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
39527 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
39528 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
39529 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
39530 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
39531 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
39532 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
39533 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
39534 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
39535 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
39536 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
39537 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
39538 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
39539 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
39540 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
39541 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
39542 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
39543 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
39544 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
39545 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
39546 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
39547 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
39548 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
39549 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
39550 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
39551 Remove conditional code.
39552 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
39553 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
39554 Remove conditional code.
39555 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
39556 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
39557 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
39558 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
39559 Remove conditional code.
39560 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
39561 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
39562 Remove conditional code.
39563 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
39564 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
39565 Remove conditional code.
39566 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
39567 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
39568 Remove conditional code.
39569 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
39570 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
39571 Remove conditional code.
39572 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
39573 * sysdeps/unix/sysv/linux/sh/pwrite64.c
39574 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
39575 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
39576 * sysdeps/unix/sysv/linux/sigaction.c
39577 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
39578 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
39579 * sysdeps/unix/sysv/linux/sigpending.c
39580 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
39581 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
39582 * sysdeps/unix/sysv/linux/sigprocmask.c
39583 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
39584 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
39585 * sysdeps/unix/sysv/linux/sigsuspend.c
39586 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
39587 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
39588 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
39589 (__libc_missing_rt_sigs): Remove.
39590 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
39591 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
39592 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
39593 Remove conditional code.
39594 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
39595 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
39596 return 1.
39597 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
39598 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
39599 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
39600 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
39601
1bfb7291
AJ
396022012-05-14 Andreas Jaeger <aj@suse.de>
39603
caae5a81
AJ
39604 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
39605 it's not used in glibc.
39606 (__coshm1): Likewise.
39607 (__acosh1p): Likewise.
39608 (__sgn): Likewise.
39609
1bfb7291
AJ
39610 * manual/string.texi (Copying and Concatenation): Add missing
39611 variable in concat example.
39612 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
39613
c044d724
L
396142012-05-14 H.J. Lu <hongjiu.lu@intel.com>
39615
144c5467 39616 [BZ #14103]
c044d724
L
39617 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
39618 __builtin_clzl with __builtin_clzll.
39619
2523c62b
L
396202012-05-14 H.J. Lu <hongjiu.lu@intel.com>
39621
39622 [BZ #14104]
39623 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
39624 libc_freeres_ptr.
39625
d7bb4c42
LD
396262012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39627
39628 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
39629 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
39630 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
39631 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
39632
9dc4e1fb
MF
396332012-05-14 Mike Frysinger <vapier@gentoo.org>
39634
39635 * NEWS: Update ia64 info.
39636
c7df0112
AS
396372012-05-12 Andreas Schwab <schwab@linux-m68k.org>
39638
39639 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
39640 used as bcopy.
39641
dc70356c
TS
396422012-05-12 Thomas Schwinge <thomas@codesourcery.com>
39643
39644 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
39645 * sysdeps/unix/syscalls.list (dup3): Likewise.
39646 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
39647 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
39648
9fb1a21f
L
396492012-05-11 H.J. Lu <hongjiu.lu@intel.com>
39650
39651 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
39652 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
39653
4822a2a5
L
396542012-05-11 H.J. Lu <hongjiu.lu@intel.com>
39655
39656 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
39657 thread pointer.
39658 (TLS_IE): Use mov/add instead of movq/addq to load thread
39659 pointer.
39660 (TLS_GD_PREFIX): New.
39661 (TLS_GD): Use it.
39662
842b81d6
DM
396632012-05-11 David S. Miller <davem@davemloft.net>
39664
39665 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
39666 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
39667 (_FPU_SETCW): Likewise.
39668
1cf463cd
L
396692012-05-10 H.J. Lu <hongjiu.lu@intel.com>
39670
39671 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
39672 is 32-byte aligned.
39673
60cc4a18
AS
396742012-05-11 Andreas Schwab <schwab@linux-m68k.org>
39675
39676 [BZ #11837]
39677 * iconvdata/gb18030.c: Update tables.
39678 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
39679 characters specially.
39680 (BODY for TO_LOOP): Add encoding of missing ranges.
39681
febb44a4
TS
396822012-05-11 Thomas Schwinge <thomas@codesourcery.com>
39683
39684 [BZ #13673]
39685 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
39686 * sysdeps/mach/hurd/dup3.c: Likewise.
39687 * sysdeps/mach/hurd/readlinkat.c: Likewise.
39688 * sysdeps/powerpc/memmove.c:: Likewise.
39689
0a10fb9e
L
396902012-05-10 H.J. Lu <hongjiu.lu@intel.com>
39691
39692 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
39693 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
39694
df8a552f
L
396952012-05-10 H.J. Lu <hongjiu.lu@intel.com>
39696
39697 * elf/elf.h (R_X86_64_RELATIVE64): New.
39698 (R_X86_64_NUM): Updated.
39699 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
39700 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
39701 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
39702 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
39703 tst-quad1pie tst-quad2pie
39704 (modules-names): Add tst-quadmod1 tst-quadmod2.
39705 ($(objpfx)tst-quad1): New dependency.
39706 ($(objpfx)tst-quad2): Likewise.
39707 ($(objpfx)tst-quad1pie): Likewise.
39708 ($(objpfx)tst-quad2pie): Likewise.
39709 * sysdeps/x86_64/tst-quad1.c: New file.
39710 * sysdeps/x86_64/tst-quad1pie.c: New file.
39711 * sysdeps/x86_64/tst-quad2.c: Likewise.
39712 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
39713 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
39714 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
39715 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
39716 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
39717
f34d6f84
ST
397182012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
39719
f42d41d1
ST
39720 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
39721 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
39722 * streams/stropts.h (t_scalar_t): Define type.
39723
3c3571fc
ST
39724 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
39725 (_PATH_PRESERVE): Set to "/var/lib".
39726 (_PATH_RWHODIR): Set to "/var/spool/rwho".
39727
61f06bd3
ST
39728 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
39729 instead of int.
39730
918d4d71
ST
39731 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
39732 if __dir_mkfile succeeded.
39733
f34d6f84
ST
39734 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
39735 checking for _hurd_dtablesize. Unlock it right after having
39736 finished _hurd_dtable allocation.
39737
10589b4a
TS
397382012-05-10 Thomas Schwinge <thomas@schwinge.name>
39739
674cdbc7
TS
39740 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
39741 * sysdeps/mach/hurd/configure: Regenerated.
39742 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
39743 special-casing to...
39744 * sysdeps/gnu/configure.in: ... this new file.
39745 * sysdeps/unix/sysv/linux/configure: Regenerated.
39746 * sysdeps/gnu/configure: New generated file.
39747
8e41b99f
TS
39748 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
39749 for Linux: use nsec instead of usec, as well as:
39750 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
39751 members of type struct timespec.
39752 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
39753 New macros.
39754 (struct stat64): Likewise.
39755 (_STATBUF_ST_NSEC): New macro.
39756 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
39757
10589b4a
TS
39758 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
39759 __strtoul_internal rather than strtoul.
39760
63643c85
PT
397612012-05-10 Pino Toscano <toscano.pino@tiscali.it>
39762
39763 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
39764 and reject them.
39765
3faebe6a
ST
397662012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
39767
39768 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
39769 which preserves existing values.
39770 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
39771
c6474b07
PT
397722012-05-10 Pino Toscano <toscano.pino@tiscali.it>
39773
39774 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
39775 TIMEOUT values. Return EINVAL for NFDS values either negative or
39776 greater than FD_SETSIZE.
39777
1043890b
ST
397782012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
39779
39780 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
39781 allocated, call __vm_protect to finish enabling the existing space, and
39782 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
39783 allocate the remainder.
39784
37ed8b9b
PT
397852012-05-10 Pino Toscano <toscano.pino@tiscali.it>
39786
39787 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
39788 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
39789
db653660
ST
397902012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
39791
37ed8b9b
PT
39792 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
39793 sysdeps/mach/hurd/readlink.c.
b29d4053 39794
db653660
ST
39795 * posix/tst-sysconf.c (posix_options): Only use
39796 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
39797 _POSIX_SYNCHRONIZED_IO when they are defined
39798 * sysdeps/mach/hurd/bits/posix_opt.h:
39799 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
39800 (_XOPEN_REALTIME): Undefine macro.
39801 (_XOPEN_REALTIME_THREADS): Undefine macro.
39802 (_XOPEN_SHM): Undefine macro.
39803 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
39804 macro to -1.
39805 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
39806 macro to -1.
39807 (_POSIX_ASYNC_IO): Undefine macro.
39808 (_POSIX_PRIORITIZED_IO): Undefine macro.
39809 (_POSIX_SPIN_LOCKS): Define macro to -1.
39810
ee16e894
ST
39811 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
39812 SA_NODEFER, SA_RESETHAND.
39813 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
39814 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
39815 F_DUPFD_CLOEXEC.
39816
6103ae3b
TS
398172012-05-10 Thomas Schwinge <thomas@schwinge.name>
39818
39819 * elf/Makefile (pldd-modules): Define unconditionally.
39820
80b4e5f3
TS
398212012-05-10 Thomas Schwinge <thomas@schwinge.name>
39822
39823 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
39824
edadcbd6
ST
398252012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
39826
39827 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
39828 Return ENOENT when name is empty.
39829 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
39830
80694780
TS
398312012-05-10 Thomas Schwinge <thomas@schwinge.name>
39832
1792c087
TS
39833 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
39834
80694780
TS
39835 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
39836
6b645f0d
ST
398372012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
39838
80694780
TS
39839 Fix mlock in all cases except non-readable pages.
39840 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
39841 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 39842
6b645f0d
ST
39843 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
39844 (__mkdir): When path is `/', just fail with EEXIST.
39845 * sysdeps/mach/hurd/mkdirat.c: Likewise.
39846
e468f8a3
TS
398472012-05-10 Thomas Schwinge <thomas@schwinge.name>
39848
39849 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
39850 <sys/uio.h> (for writev).
39851 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
39852 and <sys/param.h> (for MIN).
39853
a4186cff
PT
398542012-05-10 Pino Toscano <toscano.pino@tiscali.it>
39855
39856 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
39857 REQUESTED_TIME. Properly set the remaining time and return EINTR
39858 if interrupted.
39859
510bbf14
TS
398602012-05-10 Thomas Schwinge <thomas@schwinge.name>
39861
39862 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
39863 Depend on against $(link-rpcuserlibs).
39864
5d5722e8
ST
398652012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
39866
a4186cff
PT
39867 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
39868 (__libc_stack_end): Do not use attribute_relro.
39869 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
39870 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 39871 to libthread-provided value.
a4186cff
PT
39872 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
39873 attribute_relro.
5d5722e8 39874
37233df9
TS
398752012-05-10 Thomas Schwinge <thomas@schwinge.name>
39876
be971a2b
TS
39877 [BZ #3748]
39878 * bits/libc-lock.h (__libc_once_get): New macro.
39879 * sysdeps/mach/bits/libc-lock.h: Likewise.
39880 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
39881 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
39882 instead of using implementation details.
39883
37233df9
TS
39884 * libio/fileops.c: Unconditionally include <kernel-features.h>.
39885 * libio/freopen.c: Likewise.
39886 * libio/freopen64.c: Likewise.
39887 * misc/syslog.c: Likewise.
39888 * nscd/connections.c: Likewise.
39889 * nscd/netgroupcache.c: Likewise.
39890 * sysdeps/posix/getcwd.c: Likewise.
39891
38de94a5
RM
398922012-05-10 Roland McGrath <roland@hack.frob.com>
39893
39894 * math/w_ilogbf.c: Add #include <limits.h>.
39895
67530489
ST
398962012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
39897
a4186cff 39898 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
39899 path instead of returning without unlocking.
39900
67530489
ST
39901 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
39902 immediate-write ioctls.
39903 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
39904
5aa3a74a
TS
399052012-05-10 Thomas Schwinge <thomas@schwinge.name>
39906
18bad2ae
TS
39907 * sysdeps/mach/hurd/i386/init-first.c (init): Use
39908 __builtin_frame_address instead of making assumptions about the
39909 location of the return address relative to DATA. Force early load of
39910 the return address.
39911 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
39912 __builtin_frame_address.
39913
5aa3a74a
TS
39914 dup3 for GNU Hurd.
39915 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
39916 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
39917 implement dup3 and do some further code clean-ups.
39918 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
39919 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
39920
ecd0de9a
ST
399212012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
39922
cd9fa985
ST
39923 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
39924
a4186cff
PT
39925 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
39926 HURD_CRITICAL_END around holding _hurd_dtable_lock.
39927 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
39928 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
39929 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
39930 d->port.lock.
802ca5a5 39931
a4186cff
PT
39932 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
39933 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
39934 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 39935
bcf55240
TS
399362012-05-10 Thomas Schwinge <thomas@schwinge.name>
39937
6960eb42
TS
39938 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
39939 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
39940 definitions.
39941
eb43375f
TS
39942 accept4 for GNU Hurd.
39943 * include/sys/socket.h (__libc_accept4): New prototype.
39944 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
39945 to implement __libc_accept4.
39946 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
39947 __libc_accept4.
39948 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
39949
bcf55240
TS
39950 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
39951 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
39952 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
39953 signal-defines.sym.
39954
6178c55b
ST
399552012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
39956
a4186cff 39957 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 39958
6f080c2f
TS
399592012-05-10 Thomas Schwinge <thomas@schwinge.name>
39960
39961 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
39962 assertion on O_CLOEXEC flag.
39963 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
39964 * hurd/intern-fd.c: Likewise.
39965 * hurd/port2fd.c: Likewise.
39966
bcfe3a54
ST
399672012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
39968
39969 [BZ #3906]
39970 * bits/in.h (IPV6_PKTINFO): Define new macro.
39971 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
39972
89c9aa49
AZ
399732012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39974
39975 [BZ #13954]
39976 [BZ #13955]
39977 [BZ #13956]
39978 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
39979 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
39980 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
39981 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
39982 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
39983 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
39984 * math/libm-test.inc (logb_test) : Additional logb tests.
39985
021db4be
AJ
399862012-05-09 Andreas Schwab <schwab@linux-m68k.org>
39987 Andreas Jaeger <aj@suse.de>
39988
39989 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
39990 * configure: Regenerated.
39991 * config.h.in (LINK_OBSOLETE_RPC): New macro.
39992 * config.make.in (link-obsolete-rpc): New substituted variable.
39993 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
39994 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
39995 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
39996 (shared-only-routines): Don't set it under [link-obsolete-rpc],
39997 so that libc.a contains the symbols.
39998 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
39999 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
40000 * sunrpc/auth_none.c: Likewise.
40001 * sunrpc/auth_unix.c: Likewise.
40002 * sunrpc/authdes_prot.c: Likewise.
40003 * sunrpc/authuxprot.c: Likewise.
40004 * sunrpc/clnt_gen.c: Likewise.
40005 * sunrpc/clnt_perr.c: Likewise.
40006 * sunrpc/clnt_raw.c: Likewise.
40007 * sunrpc/clnt_simp.c: Likewise.
40008 * sunrpc/clnt_tcp.c: Likewise.
40009 * sunrpc/clnt_udp.c: Likewise.
40010 * sunrpc/clnt_unix.c: Likewise.
40011 * sunrpc/des_crypt.c: Likewise.
40012 * sunrpc/des_soft.c: Likewise.
40013 * sunrpc/get_myaddr.c: Likewise.
40014 * sunrpc/key_call.c: Likewise.
40015 * sunrpc/key_prot.c: Likewise.
40016 * sunrpc/netname.c: Likewise.
40017 * sunrpc/pm_getmaps.c: Likewise.
40018 * sunrpc/pm_getport.c: Likewise.
40019 * sunrpc/pmap_clnt.c: Likewise.
40020 * sunrpc/pmap_prot.c: Likewise.
40021 * sunrpc/pmap_prot2.c: Likewise.
40022 * sunrpc/pmap_rmt.c: Likewise.
40023 * sunrpc/publickey.c: Likewise.
40024 * sunrpc/rpc_cmsg.c: Likewise.
40025 * sunrpc/rpc_common.c: Likewise.
40026 * sunrpc/rpc_dtable.c: Likewise.
40027 * sunrpc/rpc_prot.c: Likewise.
40028 * sunrpc/rpc_thread.c: Likewise.
40029 * sunrpc/rtime.c: Likewise.
40030 * sunrpc/svc.c: Likewise.
40031 * sunrpc/svc_auth.c: Likewise.
40032 * sunrpc/svc_raw.c: Likewise.
40033 * sunrpc/svc_run.c: Likewise.
40034 * sunrpc/svc_tcp.c: Likewise.
40035 * sunrpc/svc_udp.c: Likewise.
40036 * sunrpc/svc_unix.c: Likewise.
40037 * sunrpc/svcauth_des.c: Likewise.
40038 * sunrpc/xcrypt.c: Likewise.
40039 * sunrpc/xdr.c: Likewise.
40040 * sunrpc/xdr_array.c: Likewise.
40041 * sunrpc/xdr_float.c: Likewise.
40042 * sunrpc/xdr_intXX_t.c: Likewise.
40043 * sunrpc/xdr_mem.c: Likewise.
40044 * sunrpc/xdr_rec.c: Likewise.
40045 * sunrpc/xdr_ref.c: Likewise.
40046 * sunrpc/xdr_sizeof.c: Likewise.
40047 * sunrpc/xdr_stdio.c: Likewise.
40048
b5c086a2
RM
400492012-05-10 Roland McGrath <roland@hack.frob.com>
40050
40051 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
40052 change. Update copyright years.
40053
6d74dd09
JM
400542012-05-10 Joseph Myers <joseph@codesourcery.com>
40055
40056 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
40057
28e72501
MK
400582012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
40059 Joseph Myers <joseph@codesourcery.com>
40060 Paul Pluzhnikov <ppluzhnikov@google.com>
40061
40062 [BZ #14012]
40063 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
40064 requiring rpcgen.
40065 [cross-compiling] (extra-libs): Likewise.
40066 [cross-compiling] (extra-libs-others): Likewise.
40067 [cross-compiling] (librpcsvc-routines): Likewise.
40068 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
40069 [cross-compiling] (omit-deps): Likewise.
40070 (sunrpc-CPPFLAGS): New variable.
40071 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
40072 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
40073 (cross-rpcgen-objs): New variable.
40074 (extra-objs): Append $(cross-rpcgen-objs).
40075 ($(cross-rpcgen-objs)): New rule.
40076 ($(objpfx)cross-rpcgen): Likewise.
40077 (rpcgen-cmd): Define to use $(built-program-file). Expand
40078 comment.
40079 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
40080 ($(objpfx)x%.stmp): Likewise.
40081 * sunrpc/proto.h [IS_IN_build] (_): Define.
40082 [IS_IN_build] (_libc_intl_domainname): Likewise.
40083
c8c59454
L
400842012-05-10 H.J. Lu <hongjiu.lu@intel.com>
40085
40086 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
40087 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
40088 and R_X86_64_TPOFF64.
40089
6f27cd16
JM
400902012-05-10 Joseph Myers <joseph@codesourcery.com>
40091
40092 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
40093 sysdeps/unix/sysv/syscalls.list.
40094 (stime): Likewise.
40095 (utime): Likewise.
40096 * sysdeps/unix/sysv/syscalls.list: Remove file.
40097
02467e1c
PE
400982012-05-10 Paul Eggert <eggert@cs.ucla.edu>
40099
40100 [BZ #3440]
40101 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
40102 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
40103 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
40104 (__LC_IDENTIFICATION): Make these macros useful in #if
40105 expressions, as required by C99.
40106
da392631
AS
401072012-05-10 Andreas Schwab <schwab@linux-m68k.org>
40108
40109 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
40110 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
40111 after this.
40112
8115f29b
L
401132012-05-09 H.J. Lu <hongjiu.lu@intel.com>
40114
40115 * stdlib/longlong.h: Updated from GCC.
40116
bdd74070
AJ
401172012-05-09 Andreas Jaeger <aj@suse.de>
40118
edfe0dbe
AJ
40119 * nscd/nscd.c (run_modes): Make named enum, reorder so that
40120 default is first entry.
40121 (run_mode): Set type.
40122 (main): Remove informal message about syslog.
40123 (options): Fix typo.
40124
bcfe3a54
ST
40125 [BZ #14053]
40126 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 40127 to asm.
bcfe3a54
ST
40128 (lrint): Likewise.
40129 (llrintf): Likewise.
40130 (llrint): Likewise.
40131 (rint): Likewise.
40132 (rintf): Likewise.
40133 (nearbyint): Likewise.
40134 (nearbyintf): Likewise.
bdd74070 40135
91d8d69e
AJ
401362012-05-09 Andreas Jaeger <aj@suse.de>
40137 Pedro Alves <palves@redhat.com>
40138
40139 * nscd/nscd.c (run_mode): Use enum.
40140 (main): Cleanup coding style issue.
40141
bb90b80b
AJ
401422012-05-09 Alexandre Oliva <aoliva@redhat.com>
40143 Andreas Jaeger <aj@suse.de>
40144
bcfe3a54
ST
40145 * nscd/nscd.c (go_background): Replaced with...
40146 (run_mode): ... this.
bb90b80b 40147 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
40148 (options): Add -F --foreground.
40149 (main): Implement it.
40150 (parse_opt): Parse it.
bb90b80b 40151
1a4b75a1
AJ
401522012-05-09 Andreas Jaeger <aj@suse.de>
40153
40154 [BZ #14083]
40155 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
40156 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
40157 -Wconversion warning.
40158 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
40159 Likewise.
40160
b1cc2472
JM
401612012-05-09 Joseph Myers <joseph@codesourcery.com>
40162
40163 * conform/data/locale.h-data (NULL): Use macro-constant. Require
40164 == 0.
40165 (LC_ALL): Use macro-int-constant.
40166 (LC_COLLATE): Likewise.
40167 (LC_CTYPE): Likewise.
40168 (LC_MESSAGES): Likewise.
40169 (LC_MONETARY): Likewise.
40170 (LC_NUMERIC): Likewise.
40171 (LC_TIME): Likewise.
40172 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
40173 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
40174 [ISO || ISO99 || ISO11] (*_t): Do not allow.
40175 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
40176 Specify type.
40177 [C99-based standards] (float_t): Expect type.
40178 [C99-based standards] (double_t): Expect type.
40179 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
40180 type.
40181 [C99-based standards] (HUGE_VALL): Likewise.
40182 [C99-based standards] (INFINITY): Likewise.
40183 [C99-based standards] (NAN): Likewise.
40184 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
40185 [C99-based standards] (FP_NAN): Likewise.
40186 [C99-based standards] (FP_NORMAL): Likewise.
40187 [C99-based standards] (FP_SUBNORMAL): Likewise.
40188 [C99-based standards] (FP_ZERO): Likewise.
40189 [C99-based standards] (FP_FAST_FMA): Use
40190 optional-macro-int-constant. Specify type. Require == 1.
40191 [C99-based standards] (FP_FAST_FMAF): Likewise.
40192 [C99-based standards] (FP_FAST_FMAL): Likewise.
40193 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
40194 [C99-based standards] (FP_ILOGBNAN): Likewise.
40195 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
40196 Specify type.
40197 [C99-based standards] (MATH_ERREXCEPT): Likewise.
40198 [C99-based standards] (math_errhandling): Specify type.
40199 [ISO99 || ISO11] (signgam): Do not allow.
40200 [non-C99-based standards] (copysignf): Do not allow.
40201 [non-C99-based standards] (exp2f): Likewise.
40202 [non-C99-based standards] (log2f): Likewise.
40203 [non-C99-based standards] (modff): Allow.
40204 [non-C99-based standards] (erff): Do not allow.
40205 [non-C99-based standards] (erfcf): Likewise.
40206 [non-C99-based standards] (gammaf): Likewise.
40207 [non-C99-based standards] (hypotf): Likewise.
40208 [non-C99-based standards] (j0f): Likewise.
40209 [non-C99-based standards] (j1f): Likewise.
40210 [non-C99-based standards] (jnf): Likewise.
40211 [non-C99-based standards] (lgammaf): Likewise.
40212 [non-C99-based standards] (tgammaf): Likewise.
40213 [non-C99-based standards] (y0f): Likewise.
40214 [non-C99-based standards] (y1f): Likewise.
40215 [non-C99-based standards] (ynf): Likewise.
40216 [non-C99-based standards] (isnanf): Likewise.
40217 [non-C99-based standards] (acoshf): Likewise.
40218 [non-C99-based standards] (asinhf): Likewise.
40219 [non-C99-based standards] (atanhf): Likewise.
40220 [non-C99-based standards] (cbrtf): Likewise.
40221 [non-C99-based standards] (expm1f): Likewise.
40222 [non-C99-based standards] (ilogbf): Likewise.
40223 [non-C99-based standards] (log1pf): Likewise.
40224 [non-C99-based standards] (logbf): Likewise.
40225 [non-C99-based standards] (nextafterf): Likewise.
40226 [non-C99-based standards] (remainderf): Likewise.
40227 [non-C99-based standards] (rintf): Likewise.
40228 [non-C99-based standards] (scalbf): Likewise.
40229 [non-C99-based standards] (copysignl): Likewise.
40230 [non-C99-based standards] (exp2l): Likewise.
40231 [non-C99-based standards] (log2l): Likewise.
40232 [non-C99-based standards] (modfl): Allow.
40233 [non-C99-based standards] (erfl): Do not allow.
40234 [non-C99-based standards] (erfcl): Likewise.
40235 [non-C99-based standards] (gammal): Likewise.
40236 [non-C99-based standards] (hypotl): Likewise.
40237 [non-C99-based standards] (j0l): Likewise.
40238 [non-C99-based standards] (j1l): Likewise.
40239 [non-C99-based standards] (jnl): Likewise.
40240 [non-C99-based standards] (lgammal): Likewise.
40241 [non-C99-based standards] (tgammal): Likewise.
40242 [non-C99-based standards] (y0l): Likewise.
40243 [non-C99-based standards] (y1l): Likewise.
40244 [non-C99-based standards] (ynl): Likewise.
40245 [non-C99-based standards] (isnanl): Likewise.
40246 [non-C99-based standards] (acoshl): Likewise.
40247 [non-C99-based standards] (asinhl): Likewise.
40248 [non-C99-based standards] (atanhl): Likewise.
40249 [non-C99-based standards] (cbrtl): Likewise.
40250 [non-C99-based standards] (expm1l): Likewise.
40251 [non-C99-based standards] (ilogbl): Likewise.
40252 [non-C99-based standards] (log1pl): Likewise.
40253 [non-C99-based standards] (logbl): Likewise.
40254 [non-C99-based standards] (nextafterl): Likewise.
40255 [non-C99-based standards] (remainderl): Likewise.
40256 [non-C99-based standards] (rintl): Likewise.
40257 [non-C99-based standards] (scalbl): Likewise.
40258 [ISO || ISO99 || ISO11] (*_t): Do not allow.
40259 [non-C99-based standards] (FP_*): Do not allow.
40260 [C99-based standards] (FP_*): Change to
40261 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
40262 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
40263 allow.
40264 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
40265 (SIG_ERR): Likewise.
40266 [X/Open-based standards] (SIG_HOLD): Likewise.
40267 (SIG_IGN): Likewise.
40268 (SIGABRT): Use macro-int-constant. Specify type. Require
40269 positive value.
40270 (SIGFPE): Likewise.
40271 (SIGILL): Likewise.
40272 (SIGINT): Likewise.
40273 (SIGSEGV): Likewise.
40274 (SIGTER): Likewise.
40275 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
40276 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
40277 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
40278 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
40279 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
40280 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
40281 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
40282 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
40283 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
40284 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
40285 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
40286 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
40287 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
40288 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
40289 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
40290 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
40291 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
40292 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
40293 [X/Open-based standards] (SIGTRAP): Likewise.
40294 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
40295 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
40296 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
40297 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
40298 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
40299 allow.
40300
b9f1922d
IW
403012012-05-08 Ian Wienand <ianw@vmware.com>
40302
40303 [BZ #14080]
40304 * time/tzset.c (__tzset_parse_tz): Update default rules for
40305 daylight time changes in the Energy Policy Act of 2005.
40306
1db86e88
AJ
403072012-05-09 Andreas Jaeger <aj@suse.de>
40308
40309 [BZ #13983]
40310 * elf/ldconfig.c (parse_conf): Change string to make clear that
40311 ldconfig only issued a warning if ld.so.conf does not exist.
40312
dee4a4e3
DM
403132012-05-08 David S. Miller <davem@davemloft.net>
40314
ee0db190
DM
40315 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
40316 movxtod instead of popping the value on the stack.
40317
dee4a4e3
DM
40318 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40319
6a43ec98
CD
403202012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
40321
40322 * config.h.in: Add HAVE_ARM_PCS_VFP.
40323
05c2c961
RMG
403242012-05-08 Roland Mc Grath <roland@hack.frob.com>
40325
bcfe3a54
ST
40326 [BZ #13979]
40327 * include/features.h: Warn if user requests __FORTIFY_SOURCE
40328 checking but the checks are disabled for any reason.
05c2c961 40329
4b30f61a
L
403302012-05-08 H.J. Lu <hongjiu.lu@intel.com>
40331
40332 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
40333 and ELF64_R_TYPE with ELFW(R_TYPE).
40334
eee2bc67
JM
403352012-05-08 Joseph Myers <joseph@codesourcery.com>
40336
7ea5391a
JM
40337 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
40338 (ulimit): Likewise.
40339
eee2bc67
JM
40340 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
40341 (settimeofday): Likewise.
40342
abb66a67
MF
403432012-05-08 Mike Frysinger <vapier@gentoo.org>
40344
40345 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
40346 a struct th_u2 inside the union, and move tu_block/tu_code into
40347 a new th_u3 union of tu_block/tu_code inside of that. Move
40348 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
40349 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
40350 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
40351 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
40352 (th_stuff): Change to th_u1.tu_stuff.
40353 (th_data): Define.
40354 (th_msg): Change to th_u1.th_u2.tu_data.
40355
7f18b530
DM
403562012-05-07 David S. Miller <davem@davemloft.net>
40357
05760585
DM
40358 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40359
7f18b530
DM
40360 [BZ #14074]
40361 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
40362 (SETUP_PIC_REG): Use it.
40363 (SETUP_PIC_REG_LEAF): Use it.
40364
495fd99f
JM
403652012-05-07 Joseph Myers <joseph@codesourcery.com>
40366
40367 [BZ #13885]
40368 [BZ #13923]
40369 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
40370 USE_AS_EXPM1L.
40371 (EXPL_FINITE): Likewise.
40372 (FLDLOG): Likewise.
40373 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
40374 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
40375 e_expl.S.
40376 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
40377 USE_AS_EXPM1L.
40378 (EXPL_FINITE): Likewise.
40379 (FLDLOG): Likewise.
40380 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
40381 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
40382 e_expl.S.
40383 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
40384 test of -max_value argument for long double.
40385 * sysdeps/i386/fpu/libm-test-ulps: Update.
40386 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40387
6693d694
DM
403882012-05-06 David S. Miller <davem@davemloft.net>
40389
40390 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
40391 quad soft-float symbols whose references which are compiler
40392 generated.
40393 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
40394
6c23e11c
JM
403952012-05-06 Joseph Myers <joseph@codesourcery.com>
40396
d8b82cad
JM
40397 [BZ #13884]
40398 [BZ #13914]
40399 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
40400 USE_AS_EXP10L.
40401 (EXPL_FINITE): Likewise.
40402 (FLDLOG): Likewise.
40403 (c0): Likewise.
40404 (c1): Likewise.
40405 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
40406 Adjust comments for base varying.
40407 (__expl_finite): Change alias to EXPL_FINITE.
40408 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
40409 e_expl.S.
40410 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
40411 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
40412 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
40413 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
40414 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
40415 USE_AS_EXP10L.
40416 (EXPL_FINITE): Likewise.
40417 (FLDLOG): Likewise.
40418 (c0): Likewise.
40419 (c1): Likewise.
40420 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
40421 Adjust comments for base varying.
40422 (__expl_finite): Change alias to EXPL_FINITE.
40423 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
40424 tests for bugs.
40425 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40426
6c23e11c
JM
40427 [BZ #14064]
40428 * math/libm-test.inc (check_float_internal): Correct ulp
40429 calculation for subnormal expected results.
40430
29ba805c
AJ
404312012-05-06 Andreas Jaeger <aj@suse.de>
40432
40433 * Makeconfig (+math-flags): New, set to -frounding-math.
40434 (+cflags): Add +math-flags so that all of glibc gets compiled with
40435 it.
40436
40437 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
40438
7b17aeda
JM
404392012-05-05 Joseph Myers <joseph@codesourcery.com>
40440
5779f134
JM
40441 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
40442 Disable one test.
40443
41498f4d
JM
40444 [BZ #13787]
40445 [BZ #13922]
40446 [BZ #14036]
40447 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
40448 (__ieee754_expl): Allow for and saturate large arguments.
40449 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
40450 (u_threshold): Likewise.
40451 (__exp): Call __ieee754_exp before checking for overflow and
40452 underflow.
40453 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
40454 (u_threshold): Likewise.
40455 (__expf): Call __ieee754_expf before checking for overflow and
40456 underflow.
40457 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
40458 (u_threshold): Likewise.
40459 (__expl): Call __ieee754_expl before checking for overflow and
40460 underflow.
40461 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
40462 (__ieee754_expl): Allow for and saturate large arguments.
40463 * math/libm-test.inc (exp_test): Add another test. Do not allow
40464 missing overflow exception on overflow.
40465 (expm1_test): Do not allow missing overflow exception on overflow.
40466
6698b8bf
JM
40467 * sysdeps/i386/fpu/e_expl.c: Move to ...
40468 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
40469 rather than using inline asm.
40470 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
40471 * sysdeps/x86_64/fpu/e_expl.S: Copy from
40472 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
40473
7b17aeda
JM
40474 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
40475 (nice): Likewise.
40476 (poll): Likewise.
40477 (signal): Likewise.
40478 (time): Likewise.
40479 (times): Likewise.
40480
f7c85819
JM
404812012-05-04 Joseph Myers <joseph@codesourcery.com>
40482
40483 * sysdeps/unix/syscalls.list (adjtime): Add entry from
40484 sysdeps/unix/common/syscalls.list.
40485 (fchmod): Likewise.
40486 (fchown): Likewise.
40487 (ftruncate): Likewise.
40488 (getrusage): Likewise.
40489 (gettimeofday): Likewise.
40490 (setpgid): Likewise.
40491 (setregid): Likewise.
40492 (setreuid): Likewise.
40493 (sigaction): Likewise.
40494 (truncate): Likewise.
40495 (vhangup): Likewise.
40496 * sysdeps/unix/common/syscalls.list: Remove file.
40497 * sysdeps/unix/bsd/Implies: Don't include unix/common.
40498 * sysdeps/unix/sysv/linux/Implies: Likewise.
40499
336270d0
L
405002012-05-04 H.J. Lu <hongjiu.lu@intel.com>
40501
40502 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
40503 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
40504 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
40505 Moved to ...
40506 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
40507 Here.
40508 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
40509 to ...
40510 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
40511 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
40512 to ...
40513 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
40514 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
40515 to ...
40516 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
40517 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
40518 to ...
40519 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
40520 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
40521 to ...
40522 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
40523 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
40524 to ...
40525 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
40526 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
40527 to ...
40528 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
40529 Here.
40530 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
40531 to ...
40532 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
40533 Here.
40534 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
40535 to ...
40536 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
40537 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
40538 Moved to ...
40539 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
40540 Here.
40541 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
40542 to ...
40543 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
40544
d128e450
JM
405452012-05-04 Joseph Myers <joseph@codesourcery.com>
40546
fa8ee516
JM
40547 * sysdeps/unix/common/bits/dirent.h: Remove file.
40548 * sysdeps/unix/common/bits/fcntl.h: Likewise.
40549
d128e450
JM
40550 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
40551 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
40552 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
40553 * sysdeps/unix/bsd/isatty.c: Likewise.
40554 * sysdeps/unix/bsd/tcdrain.c: Likewise.
40555 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
40556 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
40557
ff8faaf0 405582012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 40559
62881be4 40560 [BZ #13563]
31dc8730
AZ
40561 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
40562 long double comparison inaccuracies.
40563 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
40564 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40565
6fef930c
AS
405662012-05-04 Andreas Schwab <schwab@linux-m68k.org>
40567
40568 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
40569 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
40570
8f203e6c
JM
405712012-05-04 Joseph Myers <joseph@codesourcery.com>
40572
40573 [BZ #14049]
40574 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
40575 nonzero digits before rounding a hex value.
40576 * stdlib/tst-strtod.c (tests): Add another test.
40577
5197d9c2
AK
405782012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40579
40580 * sysdeps/s390/fpu/libm-test-ulps: Update.
40581
f0c1dedf
AJ
405822012-05-03 Andreas Jaeger <aj@suse.de>
40583
40584 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
40585 does not get optimized out.
40586 (malloc_opt_barrier): New.
40587
a65ef2ae 405882012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 40589 Roland McGrath <roland@hack.frob.com>
a65ef2ae 40590
2b942cb7 40591 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 40592 intermediate file deletion.
2b942cb7 40593 (generated): Add .symlist files.
a65ef2ae 40594
54b71e02
JM
405952012-05-03 Joseph Myers <joseph@codesourcery.com>
40596
40597 [BZ #13775]
40598 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
40599 Redirect under this condition.
40600 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
40601 [__USE_GNU] (__dprintf_chk): Not under this condition.
40602 [__USE_GNU] (__vdprintf_chk): Likewise.
40603 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
40604 under this condition.
40605 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
40606 [__USE_XOPEN2K8] (dprintf): Define under this condition.
40607 [__USE_XOPEN2K8] (vdprintf): Likewise.
40608 [__USE_GNU] (__dprintf_chk): Not under this condition.
40609 [__USE_GNU] (__vdprintf_chk): Likewise.
40610 [__USE_GNU] (dprintf): Likewise.
40611 [__USE_GNU] (vdprintf): Likewise.
40612
d3dfcc41
RM
406132012-05-03 Roland McGrath <roland@hack.frob.com>
40614
40615 * elf/Makefile (common-generated): Set this instead of generated for
40616 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
40617 $(all-built-dso)-derived lists.
40618
7ac30cc5
AJ
406192012-05-03 Andreas Jaeger <aj@suse.de>
40620
0c51e550
AJ
40621 * sysdeps/i386/fpu/libm-test-ulps: Update.
40622
7ac30cc5
AJ
40623 * FAQ: Removed.
40624 * FAQ.in: Likewise.
40625 * scripts/gen-FAQ.pl: Likewise.
40626 * manual/install.texi (Installation): Point to online location of
40627 FAQ.
40628 * Makefile (files-for-dist): Remove FAQ.
40629 (FAQ): Remove.
40630
d4c2917f
AM
406312012-05-02 Allan McRae <allan@archlinux.org>
40632
40633 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
40634 (LDFLAGS-reldepmod5.so): Likewise.
40635 (LDFLAGS-reldep6mod1.so): Likewise.
40636 (LDFLAGS-reldep6mod4.so): Likewise.
40637 (LDFLAGS-reldep8mod3.so): Likewise.
40638 (LDFLAGS-unload4mod1.so): Likewise.
40639 (LDFLAGS-unload4mod2.so): Likewise.
40640 (LDFLAGS-tst-initorder): Likewise.
40641 (LDFLAGS-tst-initordera2.so): Likewise.
40642 (LDFLAGS-tst-initordera3.so): Likewise.
40643 (LDFLAGS-tst-initordera4.so): Likewise.
40644 (LDFLAGS-tst-initorderb2.so): Likewise.
40645 (LDFLAGS-noload): Likewise.
40646 (LDFLAGS-next): Likewise.
40647 (LDFLAGS-order2mod1.so): Likewise.
40648 (LDFLAGS-order2mod2.so): Likewise.
40649 (LDFLAGS-tst-initorder2): Likewise.
40650 (LDFLAGS-tst-initorder2a.so): Likewise.
40651 (LDFLAGS-tst-initorder2b.so): Likewise.
40652 (LDFLAGS-tst-initorder2c.so): Likewise.
40653 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
40654
d77f993f
DM
406552012-05-02 David S. Miller <davem@davemloft.net>
40656
40657 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40658
171a70b4
PP
406592012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
40660
40661 [BZ #14055]
40662 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
40663
0be196ad
AJ
406642012-05-02 Andreas Jaeger <aj@suse.de>
40665
40666 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
40667 since we manipulate rounding mode.
40668 (CPPFLAGS-test-idouble.c): Likewise.
40669 (CPPFLAGS-test-ifloat.c): Likewise.
40670 (CFLAGS-test-ldouble.c): Likewise.
40671 (CFLAGS-test-double.c): Likewise.
40672 (CFLAGS-test-float.c): Likewise.
40673 (CFLAGS-test-misc.c): Likewise.
40674 (CFLAGS-test-test-fenv.c): Likewise.
40675
4f9d04aa
AZ
406762012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40677
2b942cb7
RM
40678 [BZ #2550]
40679 [BZ #2570]
40680 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
40681 comparisons to determine direction to adjust input.
4f9d04aa 40682
82a79e7d
RM
406832012-05-01 Roland McGrath <roland@hack.frob.com>
40684
f5a01ca9
RM
40685 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
40686 output to the target.
40687
90fe4186
RM
40688 * scripts/localplt.awk: New file.
40689 * elf/Makefile ($(objpfx)check-localplt): Target removed.
40690 (check-localplt-CFLAGS): Variable removed.
40691 ($(all-built-dso:=.jmprel)): New static pattern rule.
40692 (generated): Add those targets.
40693 (localplt-built-dso): New variable.
40694 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
40695
40696 * elf/check-localplt.c: File removed.
40697
82397ed6
RM
40698 * scripts/check-execstack.awk: New file.
40699 * elf/Makefile ($(objpfx)check-execstack): Target removed.
40700 (check-execstack-CFLAGS): Variable removed.
40701 ($(objpfx)check-execstack.h): Target removed.
40702 ($(objpfx)execstack-default): New target.
40703 (generated): Add that instead of check-execstack.h.
40704 ($(all-built-dso:=.phdr)): New static pattern rule.
40705 (generated): Add those targets.
40706 * elf/check-execstack.c: File removed.
40707
82a79e7d
RM
40708 * scripts/check-textrel.awk: New file.
40709 * elf/Makefile ($(objpfx)check-textrel): Target removed.
40710 (check-textrel-CFLAGS): Variable removed.
40711 (all-built-dso): Use := to define.o
40712 ($(all-built-dso:=.dyn)): New static pattern rule.
40713 (generated): Add those targets.
40714 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
40715 * config.make.in (READELF): New substituted variable.
40716 * elf/check-textrel.c: File removed.
40717
62fde54f 407182012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 40719
615605c9
JM
40720 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
40721 allow.
40722 * conform/data/ctype.h-data [C99-based standards] (isblank):
40723 Expect function.
40724 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
40725 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
40726 [ISO || ISO99 || ISO11] (*_t): Do not allow.
40727 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
40728 Specify type. Require positive value.
40729 (EILSEQ): Likewise.
40730 (ERANGE): Likewise.
40731 [ISO || POSIX] (EILSEQ): Do not expect.
40732 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
40733 Specify type. Require positive value.
40734 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
40735 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
40736 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
40737 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
40738 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
40739 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
40740 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
40741 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
40742 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
40743 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
40744 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
40745 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
40746 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
40747 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
40748 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
40749 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
40750 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
40751 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
40752 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
40753 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
40754 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
40755 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
40756 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
40757 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
40758 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
40759 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
40760 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
40761 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
40762 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
40763 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
40764 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
40765 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
40766 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
40767 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
40768 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
40769 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
40770 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
40771 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
40772 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
40773 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
40774 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
40775 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
40776 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
40777 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
40778 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
40779 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
40780 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
40781 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
40782 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
40783 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
40784 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
40785 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
40786 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
40787 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
40788 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
40789 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
40790 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
40791 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
40792 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
40793 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
40794 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
40795 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
40796 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
40797 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
40798 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
40799 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
40800 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
40801 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
40802 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
40803 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
40804 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
40805 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
40806 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
40807 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
40808 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
40809 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
40810 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
40811 Require >= 2.
40812 (FLT_ROUNDS): Expect as macro, not constant.
40813 (FLT_MANT_DIG): Use macro-int-constant.
40814 (DBL_MANT_DIG): Likewise.
40815 (LDBL_MANT_DIG): Likewise.
40816 (FLT_DIG): Likewise.
40817 (DBL_DIG): Likewise.
40818 (LDBL_DIG): Likewise.
40819 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
40820 (DBL_MIN_EXP): Likewise.
40821 (LDBL_MIN_EXP): Likewise.
40822 (FLT_MAX_EXP): Use macro-int-constant.
40823 (DBL_MAX_EXP): Likewise.
40824 (LDBL_MAX_EXP): Likewise.
40825 (FLT_MAX_10_EXP): Likewise.
40826 (DBL_MAX_10_EXP): Likewise.
40827 (LDBL_MAX_10_EXP): Likewise.
40828 (FLT_MAX): Use macro-constant.
40829 (DBL_MAX): Likewise.
40830 (LDBL_MAX): Likewise.
40831 (FLT_EPSILON): Use macro-constant. Give upper bound.
40832 (DBL_EPSILON): Likewise.
40833 (LDBL_EPSILON): Likewise.
40834 (FLT_MIN): Likewise.
40835 (DBL_MIN): Likewise.
40836 (LDBL_MIN): Likewise.
40837 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
40838 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
40839 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
40840 [ISO11] (FLT_HAS_SUBNORM): Likewise.
40841 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
40842 [ISO11] (DBL_DECIMAL_DIG): Likewise.
40843 [ISO11] (FLT_DECIMAL_DIG): Likewise.
40844 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
40845 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
40846 [ISO11] (FLT_TRUE_MIN): Likewise.
40847 [ISO11] (LDBL_TRUE_MIN): Likewise.
40848 [ISO || ISO99 || ISO11] (*_t): Do not allow.
40849 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
40850 (SCHAR_MIN): Use macro-int-constant. Specify type.
40851 (SCHAR_MAX): Likewise.
40852 (UCHAR_MAX): Likewise.
40853 (CHAR_MIN): Likewise.
40854 (CHAR_MAX): Likewise.
40855 (MB_LEN_MAX): Use macro-int-constant.
40856 (SHRT_MIN): Use macro-int-constant. Specify type.
40857 (SHRT_MAX): Likewise.
40858 (USHRT_MAX): Likewise.
40859 (INT_MAX): Likewise.
40860 (INT_MIN): Use macro-int-constant. Specify type. Make upper
40861 bound negative.
40862 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
40863 bound with "U".
40864 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
40865 bound with "L".
40866 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
40867 bound negative. Suffix upper bound with "L".
40868 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
40869 bound with "UL".
40870 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
40871 Specify type.
40872 [C99-based standards] (LLONG_MAX): Likewise.
40873 [C99-based standards] (ULLONG_MAX): Likewise.
40874 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
40875 == 0.
40876 [ISO11] (max_align_t): Require type.
40877 [ISO || ISO99 || ISO11] (*_t): Do not allow.
40878
c9140a62
JM
40879 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
40880 from $CFLAGS, without defining away __attribute__ calls.
40881 (checknamespace): Use $CFLAGS_namespace.
40882
9af0bf29
JM
40883 * conform/conformtest.pl (@keywords): Only include C99 keywords
40884 for standards based on C99 or C11.
40885
343222a2
JM
40886 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
40887 Disable tests.
40888 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
40889 UNIX98]: Likewise.
40890
661f8cf0
JM
40891 * conform/conformtest.pl: Handle "macro-int-constant" and test for
40892 usability of symbols in #if.
40893
ee74b9cb
JM
40894 * conform/conformtest.pl: If macro or constant types start
40895 "promoted:", expect the symbol to be of the following type
40896 promoted by the integer promotions.
62fde54f 40897
aafc49b3
JM
40898 * conform/conformtest.pl: Parse all "constant" and "macro" lines
40899 in one place. Also handle "macro-constant".
40900
fefdf574
JM
40901 * conform/conformtest.pl: Only accept expected macro values with
40902 "==". Parse all "macro" lines in one place.
40903 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
40904
f2d922fe
JM
40905 * conform/conformtest.pl: Handle braced types on "constant" lines
40906 instead of handling "typed-constant".
40907 * conform/data/signal.h-data: Use "constant" instead of
40908 "typed-constant".
40909
d22956c9
JM
40910 * conform/conformtest.pl: Handle "optional-" at start of lines in
40911 one place rather than duplicating several cases. Handle each
40912 format of "macro" line with initial "optional-".
40913
028e2e38
JM
40914 * conform/conformtest.pl: Only accept expected constant or
40915 optional-constant values with "==". Parse all "constant" lines in
40916 one place. Parse all "optional-constant" lines in one place.
40917 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
40918 * conform/data/fmtmsg.h-data: Likewise.
40919 * conform/data/netinet/in.h-data: Likewise.
40920 * conform/data/tar.h-data: Likewise.
40921 * conform/data/limits.h-data: Use "==" form on "constant" and
40922 "optional-constant" lines.
40923
1b8f2850
JM
40924 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
40925 Use -std=c99 for XOPEN2K.
40926 (@knownproblems): Remove.
40927 (newtoken): Don't check %isknown.
40928
a05a144b
JM
40929 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
40930 Do not expect macro.
40931 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
40932 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
40933 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
40934 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
40935 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
40936 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
40937 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
40938 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
40939 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
40940 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
40941 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
40942 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
40943 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
40944 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
40945 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
40946 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
40947 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
40948 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
40949 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
40950 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
40951 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
40952 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
40953 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
40954 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
40955 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
40956 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
40957 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
40958 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
40959 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
40960 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
40961 [XPG3] (acosh): Likewise.
40962 [XPG3] (asinh): Likewise.
40963 [XPG3] (atanh): Likewise.
40964 [XPG3] (cbrt): Likewise.
40965 [XPG3] (expm1): Likewise.
40966 [XPG3] (ilogb): Likewise.
40967 [XPG3] (log1p): Likewise.
40968 [XPG3] (logb): Likewise.
40969 [XPG3] (nextafter): Likewise.
40970 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
40971 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
40972 [XPG3] (remainder): Likewise.
40973 [XPG3] (rint): Likewise.
40974 [XPG3 || XPG4 || UNIX98] (round): Likewise.
40975 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
40976 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
40977 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
40978 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
40979 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
40980 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
40981 [UNIX98 || XOPEN2K] (scalb): Expect.
40982 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
40983 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
40984 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
40985 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
40986 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
40987 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
40988 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
40989 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
40990 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
40991 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
40992 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
40993 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
40994 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
40995 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
40996 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
40997 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
40998 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
40999 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
41000 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
41001 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
41002 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
41003 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
41004 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
41005 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
41006 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
41007 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
41008 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
41009 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
41010 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
41011 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
41012 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
41013 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
41014 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
41015 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
41016 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
41017 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
41018 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
41019 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
41020 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
41021 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
41022 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
41023 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
41024 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
41025 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
41026 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
41027 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
41028 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
41029 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
41030 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
41031 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
41032 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
41033 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
41034 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
41035 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
41036 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
41037 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
41038 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
41039 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
41040 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
41041 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
41042 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
41043 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
41044 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
41045 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
41046 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
41047 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
41048 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
41049 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
41050 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
41051 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
41052 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
41053 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
41054 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
41055 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
41056 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
41057 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
41058 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
41059 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
41060 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
41061 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
41062 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
41063 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
41064 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
41065 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
41066 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
41067 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
41068 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
41069 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
41070 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
41071 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
41072 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
41073 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
41074 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
41075 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
41076 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
41077 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
41078 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
41079 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
41080 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
41081 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
41082 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
41083 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
41084 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
41085 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
41086 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
41087 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
41088 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
41089 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
41090 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
41091 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
41092 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
41093 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
41094 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
41095 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
41096 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
41097 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
41098 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
41099 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
41100 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
41101 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
41102 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
41103 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
41104 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
41105 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
41106 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
41107 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
41108 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
41109 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
41110 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
41111 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
41112 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
41113 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
41114 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
41115 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
41116 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
41117 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
41118 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
41119
73c5ebe3
JM
41120 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
41121 _XOPEN_SOURCE_EXTENDED for XPG4.
41122
39c33b6c
JM
41123 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
41124
62fde54f
JM
41125 * Makeconfig (localtime): Remove variable.
41126 (inst_localtime-file): Likewise.
41127
0741d64c
AS
411282012-05-01 Andreas Schwab <schwab@linux-m68k.org>
41129
41130 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
41131 Update.
41132 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
41133 Update.
41134 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
41135 Update.
41136 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
41137 Update.
41138 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
41139 Update.
41140 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
41141 Update.
41142 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
41143 Update.
41144 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
41145 Update.
41146 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
41147 Update.
41148
7cb029ee
JM
411492012-05-01 Joseph Myers <joseph@codesourcery.com>
41150
41151 [BZ #2550]
41152 [BZ #2570]
41153 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
41154 comparisons to determine direction to adjust input.
41155 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
41156 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
41157 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
41158 Likewise.
41159 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
41160 Likewise.
41161 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
41162 Likewise.
41163 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
41164 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
41165 Likewise.
41166 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
41167 Likewise.
41168 * math/libm-test.inc (nexttoward_test): Add more tests.
41169
412bd966
AS
411702012-05-01 Andreas Schwab <schwab@linux-m68k.org>
41171
41172 [BZ #14040]
41173 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
41174 in version GLIBC_2.1, not GLIBC_2.0.
41175 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
41176 Likewise.
41177
9568c0c2
JM
411782012-04-30 Joseph Myers <joseph@codesourcery.com>
41179
adfbc8ac
JM
41180 [BZ #13942]
41181 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
41182 (1 - x) * (1 + x).
41183 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
41184 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
41185 * math/libm-test.inc (acos_test): Add more tests.
41186 (asin_test): Likewise.
41187 * sysdeps/i386/fpu/libm-test-ulps: Update.
41188 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41189
5ba3cc69
JM
41190 [BZ #14034]
41191 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
41192 of square root.
41193 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
41194 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
41195 * math/libm-test.inc (acos_test_tonearest): New function.
41196 (acos_test_towardzero): Likewise.
41197 (acos_test_downward): Likewise.
41198 (acos_test_upward): Likewise.
41199 (asin_test_tonearest): Likewise.
41200 (asin_test_towardzero): Likewise.
41201 (asin_test_downward): Likewise.
41202 (asin_test_upward): Likewise.
41203 (main): Call the new functions.
41204 * sysdeps/i386/fpu/libm-test-ulps: Update.
41205 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41206
9568c0c2
JM
41207 [BZ #13884]
41208 [BZ #13924]
41209 * math/e_exp10.c: Include <float.h>.
41210 (__ieee754_exp10): Handle underflow here rather than multiplying
41211 large negative argument by M_LN10.
41212 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
41213 of __ieee754_expf.
41214 * math/e_exp10l.c: Include <float.h>.
41215 (__ieee754_exp10l): Handle underflow here rather than multiplying
41216 large negative argument by M_LN10l.
41217 * math/libm-test.inc (exp10_test): Add another test. Do not allow
41218 spurious overflow exception on underflow.
41219
5ac3ea17
MP
412202012-04-29 Marek Polacek <polacek@redhat.com>
41221
41222 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
41223 (__fortify_function): New macro.
41224 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
41225 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
41226 __extern_always_inline.
41227 * libio/bits/stdio2.h: Likewise.
41228 * libio/bits/stdio.h: Likewise.
41229 * string/string.h: Likewise.
41230 * string/bits/string3.h: Likewise.
41231 * include/stdio.h: Likewise.
41232 * stdlib/bits/stdlib.h: Likewise.
41233 * stdlib/stdlib.h: Likewise.
41234 * rt/bits/mqueue2.h: Likewise.
41235 * rt/mqueue.h: Likewise.
41236 * posix/bits/unistd.h: Likewise.
41237 * posix/unistd.h: Likewise.
41238 * io/bits/poll2.h: Likewise.
41239 * io/bits/fcntl2.h: Likewise.
41240 * io/fcntl.h: Likewise.
41241 * io/sys/poll.h: Likewise.
41242 * misc/bits/syslog.h: Likewise.
41243 * misc/bits/syslog-ldbl.h: Likewise.
41244 * misc/sys/syslog.h: Likewise.
41245 * socket/bits/socket2.h: Likewise.
41246 * socket/sys/socket.h: Likewise.
41247 * debug/tst-chk1.c: Likewise.
41248 * wcsmbs/bits/wchar2.h: Likewise.
41249 * wcsmbs/bits/wchar-ldbl.h: Likewise.
41250 * wcsmbs/wchar.h: Likewise.
41251
ecf0ebfb
AJ
412522012-04-29 Andreas Jaeger <aj@suse.de>
41253
41254 * Makerules (tests): Remove enable-check-abi protection.
41255 (check-abi-warn): Remove.
41256 (check-abi-%): Remove check-abi-warn usage.
41257
41258 * configure.in: Remove check-abi configure option.
41259 * configure: Regenerated.
41260 * config.make.in (enable-check-abi): Remove.
41261
6d5c57fa
AS
412622012-04-28 Andreas Schwab <schwab@linux-m68k.org>
41263
24c5d07e 41264 [BZ #14033]
ded5180a
AS
41265 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
41266 double functions to double *_finite functions.
41267
7e0d315d
AS
41268 [BZ #13941]
41269 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
41270 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
41271 LDBL_MIN_EXP.
41272 * stdio-common/Makefile (tests): Add tst-sprintf3.
41273 * stdio-common/tst-sprintf3.c: New file.
41274
6d5c57fa
AS
41275 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
41276 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
41277
0749ff8b
JM
412782012-04-28 Joseph Myers <joseph@codesourcery.com>
41279
41280 * conform/conformtest.pl: Remove duplicate typed-constant
41281 handling.
41282
8dbd5d7b
DM
412832012-04-28 David S. Miller <davem@davemloft.net>
41284
41285 * Makerules (%.abilist): Add vpath on sysdep_dirs.
41286 (check-abi-%): Remove AWK script prerequisite and explicit
41287 abilist directory.
41288 (check-abi): Rewrite to just diff the symlist with the abilist.
41289 (config-tls, config-abi-config): Delete, no longer used.
41290 (update-abi-%): Remove AWK script and explicit abilist directory.
41291 (update-abi): Rewrite to simply compare and conditionally copy the
41292 symlist and the sysdep abilist file. Remove update-abi-config
41293 checks.
41294 * abilist/ld.abilist: Remove.
41295 * abilist/libBrokenLocale.abilist: Remove.
41296 * abilist/libanl.abilist: Remove.
41297 * abilist/libcrypt.abilist: Remove.
41298 * abilist/libdl.abilist: Remove.
41299 * abilist/librt.abilist: Remove.
41300 * abilist/libthread_db.abilist: Remove.
41301 * abilist/libutil.abilist: Remove.
41302 * scripts/extract-abilist.awk: Remove.
41303 * scripts/merge-abilist.awk: Remove.
41304 * sysdeps/generic/libcidn.abilist: New file.
41305 * sysdeps/generic/libnss_compat.abilist: New file.
41306 * sysdeps/generic/libnss_db.abilist: New file.
41307 * sysdeps/generic/libnss_dns.abilist: New file.
41308 * sysdeps/generic/libnss_files.abilist: New file.
41309 * sysdeps/generic/libnss_hesiod.abilist: New file.
41310 * sysdeps/generic/libnss_nis.abilist: New file.
41311 * sysdeps/generic/libnss_nisplus.abilist: New file.
41312 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
41313 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
41314 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
41315 file.
41316 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
41317 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
41318 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
41319 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
41320 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
41321 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
41322 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
41323 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
41324 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
41325 file.
41326 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
41327 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
41328 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
41329 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
41330 file.
41331 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
41332 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
41333 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
41334 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
41335 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
41336 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
41337 file.
41338 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
41339 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
41340 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
41341 file.
41342 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
41343 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
41344 New file.
41345 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
41346 New file.
41347 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
41348 New file.
41349 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
41350 New file.
41351 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
41352 New file.
41353 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
41354 New file.
41355 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
41356 New file.
41357 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
41358 New file.
41359 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
41360 New file.
41361 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
41362 New file.
41363 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
41364 New file.
41365 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
41366 New file.
41367 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
41368 New file.
41369 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
41370 file.
41371 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
41372 New file.
41373 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
41374 New file.
41375 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
41376 file.
41377 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
41378 New file.
41379 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
41380 New file.
41381 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
41382 file.
41383 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
41384 New file.
41385 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
41386 New file.
41387 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
41388 New file.
41389 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
41390 New file.
41391 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
41392 New file.
41393 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
41394 New file.
41395 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
41396 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
41397 file.
41398 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
41399 New file.
41400 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
41401 file.
41402 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
41403 file.
41404 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
41405 file.
41406 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
41407 file.
41408 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
41409 file.
41410 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
41411 New file.
41412 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
41413 file.
41414 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
41415 file.
41416 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
41417 New file.
41418 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
41419 file.
41420 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
41421 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
41422 file.
41423 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
41424 New file.
41425 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
41426 file.
41427 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
41428 file.
41429 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
41430 file.
41431 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
41432 file.
41433 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
41434 file.
41435 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
41436 New file.
41437 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
41438 file.
41439 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
41440 file.
41441 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
41442 New file.
41443 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
41444 file.
41445 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
41446 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
41447 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
41448 file.
41449 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
41450 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
41451 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
41452 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
41453 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
41454 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
41455 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
41456 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
41457 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
41458 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
41459 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
41460 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
41461 file.
41462 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
41463 New file.
41464 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
41465 file.
41466 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
41467 file.
41468 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
41469 file.
41470 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
41471 file.
41472 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
41473 file.
41474 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
41475 New file.
41476 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
41477 New file.
41478 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
41479 file.
41480 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
41481 New file.
41482 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
41483 file.
41484 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
41485 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
41486 file.
41487 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
41488 New file.
41489 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
41490 file.
41491 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
41492 file.
41493 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
41494 file.
41495 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
41496 file.
41497 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
41498 file.
41499 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
41500 New file.
41501 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
41502 New file.
41503 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
41504 file.
41505 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
41506 New file.
41507 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
41508 file.
41509
41d73a1b
JM
415102012-04-28 Joseph Myers <joseph@codesourcery.com>
41511
41512 * conform/conformtest.pl: Fix typo in handling typed-constant from
41513 allow-header.
41514
28aeeda4
JM
415152012-04-27 Joseph Myers <joseph@codesourcery.com>
41516
adae8f5e
JM
41517 * README: Cut down references to pre-2.6 Linux kernels and
41518 Linuxthreads. Update lists of configurations in libc and ports
41519 and sort alphabetically. Say "or newer" with Linux kernel version
41520 requirements.
41521
28aeeda4
JM
41522 * config.h.in [IS_IN_build]: Allow compiling without optimization.
41523
a462cb63
RA
415242012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
41525
41526 [BZ #887]
41527 * math/libm-test.inc (logb_test_downward): New test to expose
41528 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
41529 rounding mode.
41530
6ad3493e
JM
415312012-04-27 Joseph Myers <joseph@codesourcery.com>
41532
41533 [BZ #14027]
41534 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
41535 to be done.
41536 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
41537 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
41538
2ce4f015
JM
415392012-04-26 Joseph Myers <joseph@codesourcery.com>
41540
5aeb141a
JM
41541 * sysdeps/unix/i386/brk.S: Remove file.
41542 * sysdeps/unix/i386/dl-brk.S: Likewise.
41543 * sysdeps/unix/i386/pipe.S: Likewise.
41544 * sysdeps/unix/i386/sigreturn.S: Likewise.
41545 * sysdeps/unix/i386/syscall.S: Likewise.
41546 * sysdeps/unix/i386/vfork.S: Likewise.
41547 * sysdeps/unix/i386/wait.S: Likewise.
41548
7143acae
JM
41549 * sysdeps/unix/common/tcsendbrk.c: Move to ...
41550 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
41551
2ce4f015
JM
41552 * configure.in (arm*-none*): Do not allow without
41553 --enable-hacker-mode.
41554 (netbsd*): Remove case setting base_os.
41555 (386bsd*): Likewise.
41556 (freebsd*): Likewise.
41557 (bsdi*): Likewise.
41558 (osf*): Likewise.
41559 (sunos*): Likewise.
41560 (ultrix*): Likewise.
41561 (newsos*): Likewise.
41562 (dynix*): Likewise.
41563 (*bsd*): Likewise.
41564 (sysv*): Likewise.
41565 (isc*): Likewise.
41566 (esix*): Likewise.
41567 (sco*): Likewise.
41568 (minix*): Likewise.
41569 (irix4*): Likewise.
41570 (irix6*): Likewise.
41571 (solaris[2-9]*): Likewise.
41572 (none): Likewise.
41573 * configure: Regenerated.
41574
0ac229c8
AZ
415752012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41576
41577 [BZ #11521]
41578 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
41579 overflow or cancellation in calculating denominator.
41580 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
41581 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
41582 down expression to avoid unexpected rounding in newer GCCs.
41583 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
41584
33f244f4
DM
415852012-04-26 David S. Miller <davem@davemloft.net>
41586
41587 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
41588 long-double compat symbols.
41589 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
41590 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
41591 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
41592 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
41593 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
41594 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
41595 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
41596 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
41597 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
41598 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
41599 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
41600 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
41601 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
41602
cfa1f3e8
DM
416032012-04-25 David S. Miller <davem@davemloft.net>
41604
41605 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
41606 HWCAP_* values only after the memory barriers have been defined.
41607 (atomic_full_barrier): Define.
41608 (atomic_read_barrier): Define.
41609 (atomic_write_barrier): Define.
41610
6e236b92
SP
416112012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
41612
41613 * shlib-versions: Add libgcc_s version information.
41614 * sysdeps/generic/libgcc_s.h: Remove.
41615 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
41616 libgcc_s.h.
41617 * sysdeps/gnu/unwind-resume.c: Likewise.
41618 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
41619
aab39a09
DM
416202012-04-25 David S. Miller <davem@davemloft.net>
41621
41622 * sysdeps/unix/sparc/brk.S: Delete.
41623 * sysdeps/unix/sparc/dl-brk.S: Delete.
41624 * sysdeps/unix/sparc/pipe.S: Delete.
41625 * sysdeps/unix/sparc/sysdep.S: Delete.
41626 * sysdeps/unix/sparc/sysdep.h: Delete.
41627 * sysdeps/unix/sparc/vfork.S: Delete.
57f41c40
AS
41628 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
41629 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
41630 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
41631 (ret_ERRVAL, r0, r1, MOVE): Define.
aab39a09
DM
41632 (JUMPTARGET): Remove.
41633 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
41634 sysdeps/unix/sparc/sysdep.h
41635 (ENTRY, END): Remove.
41636 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
41637
a3cc4f48
JM
416382012-04-25 Joseph Myers <joseph@codesourcery.com>
41639
2ed8cda2
JM
41640 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
41641 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
41642 -DIS_IN_build.
41643
35d76d59
JM
41644 * timezone/README: Update upstream location and email address for
41645 tzcode and tzdata.
41646 * timezone/zdump.c: Update from tzcode 2012b.
41647 * timezone/zic.c: Likewise.
41648
a3cc4f48
JM
41649 * configure.in (libc_cv_as_needed): Remove test.
41650 * configure: Regenerated.
41651 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
41652 conditional definition.
41653 [$(have-as-needed) != yes] (no-as-needed): Likewise.
41654 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
41655 * config.make.in (have-as-needed): Remove variable.
41656
ceab42c3
SP
416572012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
41658 Paul Pluzhnikov <ppluzhnikov@google.com>
41659
41660 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
41661 strings correctly.
41662
3ce2865f
CLT
416632012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
41664
41665 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
41666 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
41667 * sysdeps/sh/strlen.S: Likewise.
41668
f37e0d68
JM
416692012-04-24 Joseph Myers <joseph@codesourcery.com>
41670
ae186e9a
JM
41671 * sysdeps/unix/fork.S: Remove file.
41672 * sysdeps/unix/i386/fork.S: Likewise.
41673 * sysdeps/unix/sparc/fork.S: Likewise.
41674
b96914af
JM
41675 * sysdeps/unix/system.c: Remove file.
41676 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
41677
f37e0d68
JM
41678 * sysdeps/unix/getegid.S: Remove file.
41679 * sysdeps/unix/geteuid.S: Likewise.
41680
87ef29ca
RM
416812012-04-24 Roland McGrath <roland@hack.frob.com>
41682
83bcd236
RM
41683 * scripts/check-localplt.awk: New file.
41684 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
41685 of diff.
41686 * scripts/data/localplt-generic.data: Add a comment.
41687
87ef29ca
RM
41688 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
41689 NODE when __dir_mkfile failed.
41690 * sysdeps/mach/hurd/symlinkat.c: Likewise.
41691 Reported by Ludovic Courtès <ludo@gnu.org>.
41692
e5a6e567
AJ
416932012-04-24 Andreas Jaeger <aj@suse.de>
41694
41695 * Makerules (common-clean): Also remove gen-as-const-headers
41696 files.
41697
c1820385
JM
416982012-04-24 Joseph Myers <joseph@codesourcery.com>
41699
41700 * Makerules (native-compile): Do not change working directory for
41701 build. Use $(OUTPUT_OPTION) in command.
41702 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
41703
94e02fc4
AZ
417042012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41705
41706 [BZ #13886]
41707 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
41708 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
41709 * math/libm-test.inc (floor_test): Add more tests.
41710 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
41711
3a533ca3
JM
417122012-04-24 Joseph Myers <joseph@codesourcery.com>
41713
940ab4b3
JM
41714 * sysdeps/unix/getdents.c: Remove file.
41715 * sysdeps/unix/sysv/getdents.c: Likewise.
41716 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
41717
90e037bd
JM
41718 * sysdeps/unix/syscalls.list (madvise): Add syscall from
41719 sysdeps/unix/mman/syscalls.list.
41720 (mmap): Likewise.
41721 (mprotect): Likewise.
41722 (msync): Likewise.
41723 (munmap): Likewise.
41724 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
41725 * sysdeps/unix/mman/syscalls.list: Remove.
41726 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
41727
3a533ca3
JM
41728 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
41729 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
41730 * configure: Regenerated.
41731 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
41732 $(libgcc_s_suffix).
41733 * config.make.in (libgcc_s_suffix): Remove variable.
41734
1ad743de
JM
417352012-04-23 Joseph Myers <joseph@codesourcery.com>
41736
4ad451e2
JM
41737 * sysdeps/unix/sysv/gethostname.c: Move to ...
41738 * sysdeps/posix/gethostname.c: ... here.
41739
5e37ce39
JM
41740 * sysdeps/unix/execve.S: Remove file.
41741
1ad743de
JM
41742 * sysdeps/unix/_exit.S: Remove file.
41743
4e681b5b
AJ
417442012-04-23 Andreas Jaeger <aj@suse.de>
41745
41746 [BZ #13739]
41747 * manual/Makefile: Remove make dist support, there's no
41748 need for a stand-alone documentation tar ball.
41749 (TEXI2DVI): Define always, it's not in Makeconfig.
41750 (dist): Removed.
41751 (tar-it): Removed.
41752 (edition): Removed.
41753 (glibc-doc-$(edition).tar): Removed
41754 (%.Z): Removed.
41755 (%.gz): Removed.
41756 (%.uu): Removed.
41757 (ETAGS): Remove, it's in Makeconfig.
41758 (move-if-change): Remove, it's in Makeconfig.
41759
38686a03 417602012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
41761
41762 [BZ #13970]
41763 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
41764 (strtod, strtof, strtold, strtol, strtoul, strtoq)
41765 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
41766 (strtod_l, strtof_l, strtold_l): Remove __wur.
41767 It is not necessarily an error to ignore strtol's return value.
41768 One can reliably look at the stored endptr to decide whether
41769 the number had valid syntax.
41770
7c0616fa
AJ
417712012-04-21 Andreas Jaeger <aj@suse.de>
41772
803cb6b7 41773 [BZ #13739]
7c0616fa
AJ
41774 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
41775
b0fe253f
JM
417762012-04-21 Joseph Myers <joseph@codesourcery.com>
41777
41778 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
41779 * sysdeps/unix/sysv/Versions: Remove file.
41780
8280f22d
MT
417812012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
41782
41783 [BZ #13927]
41784 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41785
75ce411f 417862012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
41787
41788 [BZ #7064]
41789 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
41790 version from __vm86.
41791
097d59fa
JM
417922012-04-20 Joseph Myers <joseph@codesourcery.com>
41793
a90f3bcb
JM
41794 * sysdeps/unix/common/lxstat.c: Remove file.
41795 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
41796
edc7ea78
JM
41797 * sysdeps/unix/sysv/Makefile: Remove file.
41798
cb78c221
JM
41799 * sysdeps/unix/sysv/direct.h: Remove file.
41800
efa6a45f
JM
41801 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
41802 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
41803 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
41804 * sysdeps/unix/sysv/bits/signum.h: Likewise.
41805 * sysdeps/unix/sysv/bits/stat.h: Likewise.
41806 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
41807 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
41808
9c9f2d0c
JM
41809 * sysdeps/unix/sysv/setrlimit.c: Remove file.
41810
4541c83b
JM
41811 * sysdeps/unix/xmknod.c: Remove file.
41812 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
41813
f5d153a0
JM
41814 * sysdeps/unix/sysv/settimeofday.c: Remove file.
41815
aa746595
JM
41816 * sysdeps/unix/sysv/i386/time.S: Remove file.
41817
cce5905e
JM
41818 * sysdeps/unix/fxstat.c: Remove file.
41819 * sysdeps/unix/xstat.c: Likewise.
41820 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
41821
37fa3841
JM
41822 * sysdeps/unix/sysv/sigaction.c: Remove file.
41823
ff1962a3
JM
41824 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
41825 (sysdep_headers): Remove variable.
41826 [termio.h not in sysdep_headers] (generated): Likewise.
41827 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
41828 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
41829 * sysdeps/unix/sysv/tcdrain.c: Likewise.
41830 * sysdeps/unix/sysv/tcflow.c: Likewise.
41831 * sysdeps/unix/sysv/tcflush.c: Likewise.
41832 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
41833 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
41834 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
41835 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
41836 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
41837
e7740d31
JM
41838 * sysdeps/unix/siglist.c: Remove file.
41839
ee06f18b
JM
41840 * sysdeps/unix/getppid.S: Remove file.
41841
097d59fa
JM
41842 * sysdeps/unix/mkdir.c: Remove file.
41843 * sysdeps/unix/rmdir.c: Likewise.
41844
ff3d51ec
AS
418452012-04-19 Andreas Schwab <schwab@linux-m68k.org>
41846
41847 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
41848 ERR_MAX value.
41849 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
41850 errlist-compat value.
41851
50f81fd7
DM
418522012-04-18 David S. Miller <davem@davemloft.net>
41853
41854 * sysdeps/generic/memcopy.h (reg_char): Delete.
41855 * debug/strcat_chk.c: Use char, not reg_char.
41856 * debug/strcpy_chk.c: Likewise.
41857 * debug/strncat_chk.c: Likewise.
41858 * debug/strncpy_chk.c: Likewise.
41859 * string/memchr.c: Likewise.
41860 * string/memrchr.c: Likewise.
41861 * string/rawmemchr.c: Likewise.
41862 * string/strcat.c: Likewise.
41863 * string/strchr.c: Likewise.
41864 * string/strchrnul.c: Likewise.
41865 * string/strcmp.c: Likewise.
41866 * string/strcpy.c: Likewise.
41867 * string/strncat.c: Likewise.
41868 * string/strncmp.c: Likewise.
41869 * string/strncpy.c: Likewise.
41870
8ff41c46
WS
418712012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
41872
41873 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
41874 __builtin_memcopy is called when src and dest ranges are known to not
41875 overlap.
41876
6b652f46
WS
418772012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
41878
41879 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
41880 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
41881 fwd_align_merge macro call.
41882 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
41883 bwd_align_merge macro call.
41884 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
41885
b282631e
WS
418862012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
41887
41888 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
41889 bwd_align_merge macros.
41890 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
41891 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
41892 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
41893
95aa737c
DM
418942012-04-18 David S. Miller <davem@davemloft.net>
41895
41896 * sysdeps/sparc/sparc64/memcopy.h: Delete.
41897
7a99a614
AJ
418982012-04-18 Andreas Jaeger <aj@suse.de>
41899
41900 [BZ# 6794]
41901 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
41902 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
41903 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
41904
41905 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
41906 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
41907 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
41908
41909 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
41910 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
41911 Adjust for changed ldbl-128 files.
41912
41913 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
41914 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
41915 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
41916
e5270c23
DM
419172012-04-17 David S. Miller <davem@davemloft.net>
41918
41919 * sysdeps/sparc/sparc32/memcopy.h: Delete.
41920
fb5e92c9
AS
419212012-04-17 Andreas Schwab <schwab@linux-m68k.org>
41922
41923 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
41924 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
41925 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
41926 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
41927 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
41928 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
41929
76da7265
AZ
419302012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41931
41932 [BZ #6794]
41933 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
41934 * math/libm-test.inc: Add ilogb errno and exception tests.
41935 * math/w_ilogb.c: New file: ilogb wrapper.
41936 * math/w_ilogbf.c: New file: ilogbf wrapper.
41937 * math/w_ilogbl.c: New file: ilogbl wrapper.
41938 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
41939 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
41940 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
41941 exception being thrown with 0.0 as argument.
41942 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
41943 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
41944 exception being thrown with 0.0 as argument.
41945 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
41946 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
41947 exception being thrown with 0.0 as argument.
41948 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
41949 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
41950 exception being thrown with 0.0 as argument.
41951 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
41952 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 41953 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
41954 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
41955 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
41956 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
41957 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
41958 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
41959 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
41960
0396e69d
PB
419612012-04-17 Petr Baudis <pasky@ucw.cz>
41962
41963 * include/sys/uio.h: Change __vector to __iovec to avoid clash
41964 with altivec.
41965
750b5926
MP
419662012-04-16 Marek Polacek <polacek@redhat.com>
41967
41968 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
41969
751728a1
MP
419702012-04-16 Marek Polacek <polacek@redhat.com>
41971
41972 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
41973 operands of fdivp instruction.
41974
34a27407
L
419752012-04-13 H.J. Lu <hongjiu.lu@intel.com>
41976
41977 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
41978 * elf/tst-auditmod3b.c: Likewise.
41979 * elf/tst-auditmod4b.c: Likewise.
41980 * elf/tst-auditmod5b.c: Likewise.
41981 * elf/tst-auditmod6b.c: Likewise.
41982 * elf/tst-auditmod6c.c: Likewise.
41983 * elf/tst-auditmod7b.c: Likewise.
41984 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
41985 * sysdeps/x86_64/preconfigure.in: Likewise.
41986 * sysdeps/x86_64/preconfigure: Regenerated.
41987
7e73e17d
L
419882012-04-13 H.J. Lu <hongjiu.lu@intel.com>
41989
41990 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
41991 __ILP32__.
41992
c7a6ab72
AB
419932012-04-13 Antoine Balestrat <merkil33@gmail.com>
41994
41995 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
41996 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
41997
a9e8e0e0
CL
419982012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
41999
42000 [BZ #13973]
42001 * locale/iso-639.def: Fix gl language name. Spotted by
42002 Yaron Shahrabani.
42003
ec98af7d
RM
420042012-04-12 Roland McGrath <roland@hack.frob.com>
42005
42006 [BZ #2074]
42007 * libio/libio.h (__io_write_fn): Update comment.
42008
247c3ede
PB
420092012-04-12 Petr Baudis <pasky@ucw.cz>
42010
42011 [BZ #2074]
42012 * stdio.texi (Hook Functions): The user provided writer function
42013 is not allowed to return -1.
42014
55939d6d
DM
420152012-04-11 David S. Miller <davem@davemloft.net>
42016
42017 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42018
90020f5a
MF
420192012-04-11 Mike Frysinger <vapier@gentoo.org>
42020
42021 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
42022 Add a leading slash to rtkaio.
42023
288f9098
JM
420242012-04-11 Jim Meyering <meyering@redhat.com>
42025
90020f5a
MF
42026 [BZ #11959]
42027 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
42028 It is not necessarily an error to ignore fwrite's return
42029 value. One can reliably use ferror to test for errors after
42030 the fact.
288f9098 42031
4be2b570
L
420322012-04-10 H.J. Lu <hongjiu.lu@intel.com>
42033
42034 * bits/types.h (__snseconds_t): New type.
42035 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
42036
42037 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
42038 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
42039 (__SNSECONDS_T_TYPE): Likewise.
42040 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
42041 (__SNSECONDS_T_TYPE): Likewise.
42042 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
42043 (__SNSECONDS_T_TYPE): Likewise.
42044
288f9098 420452012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
42046
42047 [BZ #2636]
42048 * manual/time.texi (Processor Time): Return type of times is
42049 elapsed real time since an arbitrary point in the past.
42050 (CPU Time): Move CLK_TCK from here...
42051 (Processor Time): ...to here. Correct description.
42052 * manual/conf.texi (Constants for Sysconf): Correct description of
42053 _SC_CLK_TCK.
42054
d7dd4413
DM
420552012-04-10 David S. Miller <davem@davemloft.net>
42056
42057 [BZ #13967]
42058 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
42059 where the is a gap between DT_REL(A) and DT_JMPREL.
42060
b46068fc
L
420612012-04-10 H.J. Lu <hongjiu.lu@intel.com>
42062
42063 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
42064 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
42065 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
42066
73d65cc3
SP
420672012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
42068
42069 * elf/dl-support.c (_dl_inhibit_cache): New variable.
42070 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
42071 (dl_main): Handle --inhibit-cache.
42072 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
42073 _dl_inhibit_cache.
42074 * elf/dl-load.c (_dl_map_object): Use it.
42075 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
42076
bcc8d661
JM
420772012-04-09 Joseph Myers <joseph@codesourcery.com>
42078
8f9a2fae
JM
42079 [BZ #13872]
42080 * sysdeps/i386/fpu/e_powl.S (p78): New object.
42081 (__ieee754_powl): Saturate large exponents rather than testing for
42082 overflow of y*log2(x).
42083 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
42084 * math/libm-test.inc (pow_test): Do not permit spurious overflow
42085 exceptions.
42086
bcc8d661
JM
42087 [BZ #11521]
42088 * math/s_ctan.c: Include <float.h>.
42089 (__ctan): Avoid internal overflow or cancellation in calculating
42090 denominator.
42091 * math/s_ctanf.c: Likewise.
42092 * math/s_ctanl.c: Likewise.
42093 * math/s_ctanh.c: Likewise.
42094 * math/s_ctanhf.c: Likewise.
42095 * math/s_ctanhl.c: Likewise.
42096 * math/libm-test.inc (ctan_test): Add more tests.
42097 (ctanh_test): Likewise.
42098 * sysdeps/i386/fpu/libm-test-ulps: Update.
42099 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42100
823fbbb4
AJ
421012012-04-09 Andreas Jaeger <aj@suse.de>
42102
03879793
AJ
42103 [BZ #6894]
42104 * manual/filesys.texi (Directory Entries): Mention that d_namlen
42105 is an optional BSD extension.
42106
823fbbb4
AJ
42107 [BZ #10254]
42108 * manual/stdio.texi (Opening Streams): Document additional fopen
42109 parameters.
42110
8de131cb
RM
421112012-04-09 Roland McGrath <roland@hack.frob.com>
42112
42113 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
42114 %eax without telling the compiler.
42115
c0ed9d7d
CD
421162012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
42117
42118 [BZ # 13963]
42119 * manual/install.texi: Use sourceware.org.
42120
c483f6b4
JM
421212012-04-09 Joseph Myers <joseph@codesourcery.com>
42122
d7dd9453
JM
42123 [BZ #13873]
42124 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
42125 (__ieee754_pow): Generate overflow and underflow using huge*huge
42126 and tiny*tiny rather than just returning constant infinity or zero
42127 for large exponents.
42128 * math/libm-test.inc (pow_test): Require overflow exceptions for
42129 applicable cases of large exponents.
42130
c483f6b4
JM
42131 [BZ #706]
42132 * sysdeps/i386/fpu/e_pow.S (p10): New object.
42133 (__ieee754_pow): Use iterative multiplication algorithm only for
42134 integer exponents with absolute value below 1024. Check for odd
42135 integer exponents when using algorithm for real exponents.
42136 * math/libm-test.inc (pow_test): Add more tests.
42137 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42138
d2de7579
JM
421392012-04-08 Joseph Myers <joseph@codesourcery.com>
42140
42141 [BZ #13705]
42142 * math/libm-test.inc (exp_test): Do not allow overflow exception
42143 on underflow test.
42144
f77f1232
AJ
421452012-04-08 Aurelien Jarno <aurelien@aurel32.net>
42146
42147 [BZ #13705]
42148 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
42149 instead of __kernel_standard_f.
42150
3884932b
MF
421512012-04-08 Mike Frysinger <vapier@gentoo.org>
42152
42153 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
42154 * sysdeps/x86_64/memset_chk.S: Likewise.
42155
54472e9c
AJ
421562012-04-08 Andreas Jaeger <aj@suse.de>
42157
6ab0fbfc
AJ
42158 [BZ #10153]
42159 * manual/startup.texi (Environment Access): Describe return value
42160 for putenv and setenv.
42161
61efba8c
AJ
42162 [BZ #6895]
42163 * manual/filesys.texi (Directory Entries): Add description for
42164 DT_LNK.
42165
95c3f29a
AJ
42166 [BZ #6890]
42167 * manual/filesys.texi (Directory Entries): Clarify that it's file
42168 system not operating system in the description of DT_UNKNOWN.
42169
54472e9c
AJ
42170 [BZ #6578]
42171 * manual/syslog.texi (closelog): Fix reference, it's openlog.
42172
624254b1
SC
421732012-04-08 Stephen Compall <s11@member.fsf.org>
42174
42175 [BZ #6649]
42176 * manual/llio.texi (Opening and Closing Files): Add cross
42177 reference to explain mode argument.
42178
1e4920e0
MF
421792012-04-07 Mike Frysinger <vapier@gentoo.org>
42180
42181 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
42182 * sysdeps/x86_64/memset_chk.S: Likewise.
42183
5ed848f3
DM
421842012-04-07 David S. Miller <davem@davemloft.net>
42185
42186 * elf/elf.h (R_SPARC_WDISP10): Define.
42187 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
42188 R_SPARC_SIZE32.
42189 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
42190 R_SPARC_SIZE64 and R_SPARC_H34.
42191
96154cd8
CD
421922012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
42193
42194 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
42195 conditions and remove no longer applicable assertion.
42196
9904dc47
L
421972012-04-06 H.J. Lu <hongjiu.lu@intel.com>
42198
42199 * bits/byteswap.h: Include <features.h>.
42200 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
42201 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
42202
f8887d0a
L
422032012-04-06 H.J. Lu <hongjiu.lu@intel.com>
42204
42205 * bits/byteswap.h (__bswap_16): Removed.
42206 Include <bits/byteswap-16.h> to get __bswap_16.
42207 * sysdeps/i386/bits/byteswap.h: Likewise.
42208 * sysdeps/s390/bits/byteswap.h: Likewise.
42209 * sysdeps/x86_64/bits/byteswap.h: Likewise.
42210 * bits/byteswap-16.h: New file.
42211 * sysdeps/i386/bits/byteswap-16.h: Likewise.
42212 * sysdeps/s390/bits/byteswap-16.h: Likewise.
42213 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
42214 * string/Makefile (headers): Add bits/byteswap-16.h.
42215
62470f60
PP
422162012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
42217
42218 [BZ #13895]
42219 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
42220 extra indirection.
42221 * nss/Makefile (tests-static, tests): Add tst-nss-static.
42222 * nss/tst-nss-static.c: New.
42223
4dad7bab
RM
422242012-04-06 Robert Millan <rmh@gnu.org>
42225
42226 [BZ #6486]
42227 * manual/llio.texi (File Position Primitive): lseek
42228 refers to WHENCE when it really means OFFSET.
42229
e9142a17
AJ
422302012-04-06 Andreas Jaeger <aj@suse.de>
42231
2c040eff
AJ
42232 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
42233 strncmp declarations.
42234
e9142a17
AJ
42235 * abilist/libc.abilist: Add __poll and __ppoll.
42236
ff9f1c5f
DM
422372012-04-05 David S. Miller <davem@davemloft.net>
42238
dcd2ae90
DM
42239 * scripts/check-local-headers.sh: Accept a host triplet in the
42240 path matched by the exclude regexp.
42241
993eb054
DM
42242 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
42243 definition.
42244 * sysdeps/powerpc/powerpc32/dl-machine.h
42245 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
42246 * sysdeps/s390/s390-32/dl-machine.h
42247 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
42248 * sysdeps/sparc/sparc32/dl-machine.h
42249 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
42250 * sysdeps/sparc/sparc64/dl-machine.h
42251 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
42252
ff9f1c5f
DM
42253 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
42254 lazy binding.
48e2e132 42255 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
42256 undefined symbol errors.
42257
48e2e132 42258 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
42259 DT_NEEDED entries.
42260
e80d6f94
MM
422612012-04-05 Michael Matz <matz@suse.de>
42262
42263 [BZ #13592]
42264 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
42265
349fa79f
AJ
422662012-04-05 Andreas Jaeger <aj@suse.de>
42267
42268 [BZ #13908]
42269 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
42270 comment.
42271
f402708f
KK
422722012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
42273
42274 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
42275 which ROUND is no valid rounding mode.
42276
2ecccfc9
KK
422772012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
42278
42279 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
42280 read again.
42281 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
42282
8a53f50f
KK
422832012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
42284
42285 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
42286 an exception using FPU order intentionally.
42287
422882012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
42289
42290 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
42291 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
42292 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
42293 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
42294
d653abb7
SJ
422952012-04-05 Simon Josefsson <simon@josefsson.org>
42296
42297 [BZ #12340]
42298 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
42299 EINVAL when BUFLEN is too smal.
42300
c3b1bf7d
TS
423012012-04-05 Thomas Schwinge <thomas@codesourcery.com>
42302
42303 [BZ #13553]
42304 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
42305 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
42306
b1aa60f3
AJ
423072012-04-03 Andreas Jaeger <aj@suse.de>
42308
c3b1bf7d 42309 [BZ #13938]
67f60a26
AJ
42310 * manual/setjmp.texi (System V contexts): Fix sentence.
42311
b1aa60f3
AJ
42312 [BZ #13926]
42313 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
42314 New macro for this case.
42315 [!__GNUC__] (__bswap_64): New inline function for this case.
42316 * sysdeps/x86_64/bits/byteswap.h: Likewise.
42317 * bits/byteswap.h: Likewise.
42318 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
42319 ull, guard with __GLIBC_HAVE_LONG_LONG.
42320
42321 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
42322 __GLIBC_HAVE_LONG_LONG.
42323
42324 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
42325 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
42326
39c59c35
TMQMF
423272012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
42328
42329 [BZ #13691]
42330 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
42331 inptr and inend, rather than using last_ch.
42332
135ffda8
DM
423332012-04-02 David S. Miller <davem@davemloft.net>
42334
42335 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
42336 * stdio-common/printf-parse.h (read_int): Change return type to
42337 'int', return -1 on INT_MAX overflow.
42338 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
42339 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
42340 overflows INT_MAX. Check for overflow of in-format-string precision
42341 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
42342 SIZE_MAX not INT_MAX for integer overflow test.
42343 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
42344 skip the construct in the format string but do not record anything.
42345 * stdio-common/bug22.c: Adjust to test both width/prevision
42346 INT_MAX overflow as well as total length INT_MAX overflow. Check
42347 explicitly for proper errno values.
42348
228c019e
TS
423492012-04-02 Thomas Schwinge <thomas@codesourcery.com>
42350
302cadd3
TS
42351 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
42352 CHAR_MAX.
42353 * string/test-strcmp.c [! WIDE]: Likewise.
42354 * time/tst-mktime2.c: Likewise for INT_MAX.
42355 * string/test-string.h: #include <sys/param.h> for MIN.
42356
228c019e
TS
42357 * csu/init-first.c (__libc_init_first): Call __ctype_init.
42358 * sysdeps/i386/init-first.c (init): Likewise.
42359 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
42360 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
42361 * sysdeps/sh/init-first.c (init): Likewise.
42362
cfa633f5
UD
423632012-04-01 Ulrich Drepper <drepper@gmail.com>
42364
42365 * po/ru.po: Update from translation team.
d1635ef8 42366 * po/vi.po: Likewise.
cfa633f5 42367
6cd0a5ea
SP
423682012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
42369
42370 * resolv/nss_dns/dns-host.c: Merge copyright years.
42371
4b43400f
LD
423722012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42373
42374 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
42375 Optimize memcpy with prefetch if
42376 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
42377 src, dst pointers have unequal 16 byte alignments.
42378
48c41d04
SP
423792012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
42380
42381 [BZ #13928]
42382 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
42383 from a CNAME entry and return the minimum ttl for the query.
42384 (gaih_getanswer_slice): Likewise.
42385
b8dc394d
JL
423862012-03-30 Jeff Law <law@redhat.com>
42387
42388 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
42389 due to long keys.
42390 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
42391 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
42392
2f5a5ed0
JL
42393 * resolv/nss_dns/dns-host.c: Update copyright year.
42394
1d39e359
UD
423952012-03-30 Ulrich Drepper <drepper@gmail.com>
42396
c030f70c 42397 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 42398 requests to save a system call. Fix check that all bytes are sent.
c030f70c 42399
1d39e359
UD
42400 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
42401 comments for sendmmsg.
42402
424032012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
42404
42405 [BZ #13691]
42406 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
42407 with only 1 character between 0x0041 and 0x01b0.
42408 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
42409 * wcsmbs/tst-mbsnrtowcs.c: New file.
42410
20fde227
DM
424112012-03-29 David S. Miller <davem@davemloft.net>
42412
42413 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
42414 small copies by hand.
42415
984a4237
JL
424162012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
42417
42418 [BZ #13761]
57f41c40
AS
42419 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
42420 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
42421 group memberships.
984a4237 42422
18c9d62b
DM
424232012-03-28 David S. Miller <davem@davemloft.net>
42424
88d85d4f
DM
42425 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
42426 that branches into memcpy.
42427 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
42428 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
42429 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
42430 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
42431 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
42432 bits.
42433 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
42434 implementation too.
42435 * sysdeps/sparc/mempcpy.S: New file.
42436
e5aa83e1
DM
42437 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
42438 the IFUNC routine in the libc case.
42439 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
42440
88570753
DM
42441 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
42442 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
42443 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
42444 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
42445 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
42446 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
42447 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
42448 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
42449
249d7567
DM
42450 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
42451 loop to 256 bytes instead of 64 bytes and fix test signedness.
42452
18c9d62b
DM
42453 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
42454 * sysdeps/sparc/sparc32/Makefile: rather than here...
42455 * sysdeps/sparc/sparc64/Makefile: and here.
42456
05f3d1f6
UD
424572012-03-28 Ulrich Drepper <drepper@gmail.com>
42458
42459 * malloc/mallocbug.c: Avoid warnings about unused variables.
42460
86ae07a8
JL
424612012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
42462
42463 [BZ #13760]
42464 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
42465 in the right place. Discard and retry query if response is
42466 larger than input buffer size.
42467
41bf21a1
JM
424682012-03-28 Joseph Myers <joseph@codesourcery.com>
42469
d6270972
JM
42470 [BZ #369]
42471 [BZ #2678]
42472 [BZ #3866]
42473 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
42474 x for large integer exponent.
42475 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
42476 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
42477 sign of result as needed afterwards.
42478 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
42479 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
42480 result for underflowing pow the same as for overflow.
42481 (__kernel_standard_l): Handle powl overflow and underflow here
42482 rather than calling __kernel_standard.
42483 * math/libm-test.inc (pow_test): Add more tests.
42484
414fca03 42485 [BZ #3868]
41bf21a1
JM
42486 [BZ #13879]
42487 [BZ #13910]
42488 [BZ #13911]
42489 [BZ #13912]
42490 [BZ #13913]
42491 [BZ #13915]
42492 [BZ #13916]
42493 [BZ #13917]
42494 [BZ #13918]
42495 [BZ #13919]
42496 [BZ #13920]
42497 [BZ #13921]
42498 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
42499 * sysdeps/ieee754/k_standard.c: Include <float.h>.
42500 (__kernel_standard_l): New function.
42501 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
42502 __kernel_standard.
42503 * math/w_acosl.c (__acosl): Likewise.
42504 * math/w_asinl.c (__asinl): Likewise.
42505 * math/w_atan2l.c (__atan2l): Likewise.
42506 * math/w_atanhl.c (__atanhl): Likewise.
42507 * math/w_coshl.c (__coshl): Likewise.
42508 * math/w_exp10l.c (__exp10l): Likewise.
42509 * math/w_exp2l.c (__exp2l): Likewise.
42510 * math/w_fmodl.c (__fmodl): Likewise.
42511 * math/w_hypotl.c (__hypotl): Likewise.
42512 * math/w_j0l.c (__j0l, __y0l): Likewise.
42513 * math/w_j1l.c (__j1l, __y1l): Likewise.
42514 * math/w_jnl.c (__jnl, __ynl): Likewise.
42515 * math/w_lgammal.c (__lgammal): Likewise.
42516 * math/w_log10l.c (__log10l): Likewise.
42517 * math/w_log2l.c (__log2l): Likewise.
42518 * math/w_logl.c (__logl): Likewise.
42519 * math/w_powl.c (__powl): Likewise.
42520 * math/w_remainderl.c (__remainderl): Likewise.
42521 * math/w_scalbl.c (sysv_scalbl): Likewise.
42522 * math/w_sinhl.c (__sinhl): Likewise.
42523 * math/w_sqrtl.c (__sqrtl): Likewise.
42524 * math/w_tgammal.c (__tgammal): Likewise.
42525 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
42526 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
42527 * math/libm-test.inc (acos_test): Add more tests.
42528 (acosh_test): Likewise.
42529 (asin_test): Likewise.
42530 (atanh_test): Likewise.
42531 (exp_test): Likewise.
42532 (exp10_test): Likewise.
42533 (exp2_test): Likewise.
42534 (expm1_test): Likewise.
42535 (lgamma_test): Likewise.
42536 (log_test): Likewise.
42537 (log10_test): Likewise.
42538 (log1p_test): Likewise.
42539 (log2_test): Likewise.
42540 (pow_test): Do not allow some spurious overflow exceptions.
42541 (sqrt_test): Add more tests.
42542 (tgamma_test): Likewise.
42543 (y0_test): Likewise.
42544 (y1_test): Likewise.
42545 (yn_test): Likewise.
42546
dd62fda6
AB
425472012-03-27 Anton Blanchard <anton@samba.org>
42548
42549 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
42550 MAP_HUGETLB.
42551 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
42552 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
42553 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
42554
1e3cdfda
AJ
425552012-03-27 David S. Miller <davem@davemloft.net>
42556
b855ab85
DM
42557 * conform/Makefile: Run run-conformtest.sh using $(BASH).
42558
1e3cdfda
AJ
42559 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
42560 have-as-vis3 check.
42561
425622012-03-27 Andreas Jaeger <aj@suse.de>
42563
42564 * sysdeps/x86_64/elf/configure.in: Moved to ...
42565 * sysdeps/x86_64/configure.in: ... here.
42566 * sysdeps/x86_64/elf/start.S: Moved to ...
42567 * sysdeps/x86_64/start.S: ... here.
42568 * sysdeps/x86_64/elf/configure: Delete.
42569
42570 * sysdeps/x86_64/configure.in: Merge contents from
42571 sysdeps/i386/configure.in (without i686 check).
42572
42573 * sysdeps/i386/elf/Versions: Merge into ...
42574 * sysdeps/i386/Versions: ... this.
42575 * sysdeps/i386/elf/Versions: Delete file.
42576 * sysdeps/i386/elf/start.S: Moved to ...
42577 * sysdeps/i386/start.S: ...here.
42578 * sysdeps/i386/elf/configure.in: Merge into...
42579 * sysdeps/i386/configure.in: ...here.
42580 * sysdeps/i386/elf/configure.in: Delete file.
42581 * sysdeps/i386/elf/configure: Delete file.
42582
42583 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
42584 * debug/backtracesyms.c: ... here.
42585 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
42586 * debug/backtracesymsfd.c: ... here.
42587 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
42588 * sysdeps/generic/ifunc-sel.h: ... here.
42589
42590 * sysdeps/unix/i386/start.c: Delete file.
42591 * sysdeps/unix/sparc/start.c: Delete file.
42592 * sysdeps/unix/start.c: Delete file.
42593
42594 * sysdeps/sh/elf/configure.in: Moved to ...
42595 * sysdeps/sh/configure.in: ... here.
42596 * sysdeps/sh/elf/start.S: Moved to ...
42597 * sysdeps/sh/start.S: ... here.
42598 * sysdeps/sh/elf/configure: Delete file.
42599
42600 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
42601 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
42602 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
42603 * sysdeps/powerpc/powerpc64/entry.h: ... here.
42604 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
42605 * sysdeps/powerpc/powerpc64/start.S: here.
42606 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
42607 * sysdeps/powerpc/powerpc64/Makefile: ... this.
42608 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
42609 * sysdeps/powerpc/powerpc64/configure.in: ... this.
42610 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
42611
42612 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
42613 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
42614 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
42615 * sysdeps/powerpc/powerpc32/start.S: ... here.
42616 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
42617 * sysdeps/powerpc/powerpc32/configure.in: ... this.
42618 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
42619
42620 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
42621 * sysdeps/powerpc/ifunc-sel.h: ... here.
42622 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
42623 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
42624
42625 * sysdeps/sparc/elf/configure.in: Moved to ...
42626 * sysdeps/sparc/configure.in: ... here.
42627 * sysdeps/sparc/elf/configure: Delete file.
42628 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
42629 * sysdeps/sparc/sparc32/start.S: ... here.
42630 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
42631 * sysdeps/sparc/sparc64/start.S: ... here.
42632 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
42633 * sysdeps/sparc/sparc32/Makefile: ... this.
42634 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
42635 * sysdeps/sparc/sparc64/Makefile: ... this.
42636
42637 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
42638 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
42639 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
42640 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
42641 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
42642 * sysdeps/s390/s390-32/setjmp.S: ... here.
42643 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
42644 * sysdeps/s390/s390-32/configure.in: ... here.
42645 * sysdeps/s390/s390-32/elf/configure: Delete file.
42646 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
42647 * sysdeps/s390/s390-32/start.S: ... here.
42648
42649 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
42650 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
42651 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
42652 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
42653 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
42654 * sysdeps/s390/s390-64/setjmp.S: ... here.
42655 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
42656 * sysdeps/s390/s390-64/configure.in: ... here
42657 * sysdeps/s390/s390-64/elf/configure: Delete file.
42658 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
42659 * sysdeps/s390/s390-64/start.S: ... here.
42660 * sysdeps/s390/s390-64/elf/configure: Delete.
42661
42662 * configure.in: Remove support for elf directories in sysdeps.
42663
42664 * configure: Regenerated.
42665 * sysdeps/i386/configure: Regenerated.
42666 * sysdeps/powerpc/powerpc32/configure: Regenerated.
42667 * sysdeps/powerpc/powerpc64/configure: Regenerated.
42668 * sysdeps/s390/s390-32/configure: Regenerated.
42669 * sysdeps/s390/s390-64/configure: Regenerated.
42670 * sysdeps/sh/configure: Regenerated.
42671 * sysdeps/sparc/configure: Regenerated.
42672 * sysdeps/x86_64/configure: Regenerated.
42673
a3f61311
AS
426742012-03-26 Andreas Schwab <schwab@linux-m68k.org>
42675
c876e002
AS
42676 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42677
a3f61311
AS
42678 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
42679 denormal result into account.
42680
ac4c54f0
RM
426812012-03-25 Roland McGrath <roland@hack.frob.com>
42682
42683 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
42684 Reported by Allan McRae <allan@archlinux.org>.
42685
6a9b9c02
JL
426862012-03-23 Jeff Law <law@redhat.com>
42687
42688 * nss/getnssent.c (__nss_getent): Fix typo.
42689
4c42a0c1
DM
426902012-03-23 David S. Miller <davem@davemloft.net>
42691
42692 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42693
1532c7ac
L
426942012-03-23 H.J. Lu <hongjiu.lu@intel.com>
42695
42696 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
42697 to pad to uint64_t for each field.
42698 (dl_tls_index): Replace unsigned long with uint64_t.
42699
3ff42526
PP
427002012-03-23 Daniel Jacobowitz <dmj@google.com>
42701 Paul Pluzhnikov <ppluzhnikov@google.com>
42702
42703 [BZ #6528]
42704 * grp/Makefile (otherlibs): Don't set it.
42705 * inet/Makefile (otherlibs): Likewise.
42706 * login/Makefile (otherlibs): Likewise.
42707 * nscd/Makefile (otherlibs): Likewise.
42708 * posix/Makefile (otherlibs): Likewise.
42709 * pwd/Makefile (otherlibs): Likewise.
42710 * rt/Makefile (otherlibs): Likewise.
42711 * sunrpc/Makefile (otherlibs): Likewise.
42712 * nss/Makefile (otherlibs): Likewise.
42713 Add libnss_files to routines and static-only-routines.
42714 ($(objpfx)getent): Remove rule.
42715 * resolv/Makefile: Add libnss_dns and libresolv to routines and
42716 static-only-routines.
42717
7c69cd14
JM
427182012-03-22 Joseph Myers <joseph@codesourcery.com>
42719
42720 [BZ #13892]
42721 * math/s_cexp.c: Include <float.h>.
42722 (__cexp): Handle exp result overflowing not necessarily
42723 overflowing both real and imaginary parts of result.
42724 * math/s_cexpf.c: Likewise.
42725 * math/s_cexpl.c: Likewise.
42726 * math/libm-test.inc (cexp_test): Add more tests.
42727 * sysdeps/i386/fpu/libm-test-ulps: Update.
42728 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42729
81b035fe
L
427302012-03-22 H.J. Lu <hongjiu.lu@intel.com>
42731
42732 * include/link.h (ELFW): New macro.
42733 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
42734 Replace ELF64_R_TYPE with ELFW(R_TYPE).
42735
1da7940c
L
427362012-03-22 H.J. Lu <hongjiu.lu@intel.com>
42737
42738 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
42739 with uint64_t.
42740
b749dbb9
L
427412012-03-22 H.J. Lu <hongjiu.lu@intel.com>
42742
42743 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
42744 declaration.
42745 (struct La_x32_retval): Likewise.
42746
2ff87f3f
L
427472012-03-22 H.J. Lu <hongjiu.lu@intel.com>
42748
42749 * sysdeps/x86_64/preconfigure.in: New file.
42750 * sysdeps/x86_64/preconfigure: New generated file.
42751
c0df8e69
JM
427522012-03-22 Joseph Myers <joseph@codesourcery.com>
42753
48e44791
JM
42754 [BZ #13824]
42755 * math/e_exp2l.c: Include <float.h>.
42756 (__ieee754_exp2l): Handle overflow and underflow cases
42757 separately. Only pass fractional part of argument to
42758 __ieee754_expl.
42759 * math/libm-test.inc (exp2_test): Add more tests.
42760
c0df8e69
JM
42761 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
42762 negating x to take absolute value.
42763 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
42764 Likewise.
42765 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
42766 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
42767 Likewise.
42768 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
42769 computing low part if x was negated.
42770 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
42771
c8e43ba7
L
427722012-03-21 H.J. Lu <hongjiu.lu@intel.com>
42773
42774 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
42775 la_x32_gnu_pltexit.
42776 (pltexit): Cast int_retval to ptrdiff_t.
42777 * elf/tst-auditmod3b.c: Likewise.
42778 * elf/tst-auditmod4b.c: Likewise.
42779 * elf/tst-auditmod5b.c: Likewise.
42780 * elf/tst-auditmod6b.c: Likewise.
42781 * elf/tst-auditmod6c.c: Likewise.
42782 * elf/tst-auditmod7b.c: Likewise.
42783
42784 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
42785 and x32_gnu_pltexit.
42786
42787 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
42788 __ELF_NATIVE_CLASS.
42789 (La_x32_regs): New macro.
42790 (La_x32_retval): Likewise.
42791 (la_x32_gnu_pltenter): New function prototype.
42792 (la_x32_gnu_pltexit): Likewise.
42793
7998fa78
AS
427942012-03-21 Andreas Schwab <schwab@linux-m68k.org>
42795
dcb33988
AS
42796 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
42797 exponent.
42798
233fc563
AS
42799 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42800
7998fa78
AS
42801 * configure.in (libc_cv_cc_nofma): Check for option to disable
42802 generation of FMA instructions.
42803 * configure: Regenerate.
42804 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
42805 * sysdeps/ieee754/dbl-64/Makefile: New file.
42806 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
42807 Remove brandred-fma4.
42808 (CFLAGS-brandred-fma4.c): Remove.
42809 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
42810 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
42811 define.
42812 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
42813 define.
42814
8e95c99a
L
428152012-03-21 H.J. Lu <hongjiu.lu@intel.com>
42816
42817 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
42818 LLONG_MAX != LONG_MAX.
42819 (_itoa_word): Use _ITOA_WORD_TYPE on value.
42820 (_fitoa_word): Likewise.
42821 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
42822 LLONG_MAX != LONG_MAX.
42823 * stdio-common/_itowa.h: Include <_itoa.h>.
42824 (_itowa_word): Use _ITOA_WORD_TYPE on value.
42825 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
42826 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
42827 only if not defined.
42828 (_ITOA_WORD_TYPE): Likewise.
42829 (_itoa_word): Use _ITOA_WORD_TYPE on value.
42830 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
42831
6f4db457
DM
428322012-03-21 David S. Miller <davem@davemloft.net>
42833
42834 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42835
7785fe5a
L
428362012-03-21 H.J. Lu <hongjiu.lu@intel.com>
42837
42838 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
42839 of x86_64 when setting libc_cv_slibdir, libdir and
42840 libc_cv_localedir.
42841 * sysdeps/unix/sysv/linux/configure: Regenerated.
42842
4535cd55
JM
428432012-03-21 Joseph Myers <joseph@codesourcery.com>
42844
42845 * manual/lang.texi (Old Varargs): Remove section.
42846 (How Variadic): Update menu.
42847 (va_start): Do not mention varargs.h.
42848
17228132
TS
428492012-03-21 Thomas Schwinge <thomas@codesourcery.com>
42850 Joseph Myers <joseph@codesourcery.com>
42851
42852 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
42853 link test.
42854 * configure: Regenerated.
42855
8149f976
TS
428562012-03-21 Thomas Schwinge <thomas@codesourcery.com>
42857
05f3d1f6
UD
42858 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
42859 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
42860 conformtest.pl
8149f976 42861
1a4ac776
JM
428622012-03-21 Joseph Myers <joseph@codesourcery.com>
42863
be22ce65
JM
42864 * NOTES: Remove.
42865 * Makefile (files-for-dist): Remove NOTES.
42866 (NOTES): Remove rule.
42867 * README: Don't refer to NOTES.
42868 * manual/creature.texi: Don't include macros.texi.
42869 * manual/intro.texi (creature.texi): Remove comment referring to
42870 NOTES.
42871
40b601fb
JM
42872 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
42873 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
42874 * configure: Regenerated.
42875 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
42876 LIBC_TRY_CC_OPTION.
42877 (libc_cv_as_i686): Likewise.
42878 (libc_cv_cc_avx): Likewise.
42879 (libc_cv_cc_sse2avx): Likewise.
42880 (libc_cv_cc_fma4): Likewise.
42881 (libc_cv_cc_novzeroupper): Likewise.
42882 * sysdeps/i386/configure: Regenerated.
42883
1a4ac776
JM
42884 [BZ #13883]
42885 * sysdeps/i386/fpu/s_cexp.S: Remove.
42886 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
42887 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
42888 * math/libm-test.inc (cexp_test): Add more tests.
42889 * sysdeps/i386/fpu/libm-test-ulps: Update.
42890 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42891
a458e7fe
AM
428922012-03-21 Allan McRae <allan@archlinux.org>
42893
42894 * timezone/Makefile: Do not install iso3166.tab and zone.tab
42895
0cb7efc5
JM
428962012-03-21 Joseph Myers <joseph@codesourcery.com>
42897
42898 [BZ #13871]
42899 * math/w_exp2.c: Do not include <float.h>.
42900 (o_threshold, u_threshold): Remove.
42901 (__exp2): Calculate result before checking finiteness and calling
42902 __kernel_standard.
42903 * math/w_exp2f.c: Likewise.
42904 * math/w_exp2l.c: Likewise.
42905 * math/libm-test.inc (exp2_test): Require overflow exception for
42906 1e6 input.
2460d3aa
JM
42907
42908 [BZ #3866]
42909 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
42910 range of signed 64-bit integers before using fistpll. Remove
42911 checks for whether integers fit in mantissa bits.
42912 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
42913 the range of signed 32-bit integers before using fistpl. Remove
42914 checks for whether integers fit in mantissa bits.
42915 * sysdeps/i386/fpu/e_powl.S (p64): New object.
42916 (__ieee754_powl): Test for y outside the range of signed 64-bit
42917 integers before using fistpll. Reduce 64-bit values to 63-bit
42918 ones as needed.
42919 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
42920 divide-by-zero is raised for zero to large negative powers.
42921 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
42922 (__ieee754_powl): Test for y outside the range of signed 64-bit
42923 integers before using fistpll. Reduce 64-bit values to 63-bit
42924 ones as needed.
42925 * math/libm-test.inc (pow_test): Add more tests.
42926
eb96ffb0
L
429272012-03-20 H.J. Lu <hongjiu.lu@intel.com>
42928
42929 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
42930 <stdio-common/_itoa.h>.
42931 * debug/segfault.c: Likewise.
42932 * elf/dl-cache.c: Likewise.
42933 * elf/dl-minimal.c: Likewise.
42934 * elf/dl-misc.c: Likewise.
42935 * elf/dl-sysdep.c: Likewise.
42936 * elf/dl-version.c: Likewise.
42937 * elf/rtld.c: Likewise.
42938 * hurd/hurdsock.c: Likewise.
42939 * hurd/lookup-retry.c: Likewise.
42940 * malloc/malloc.c: Likewise.
42941 * malloc/mtrace.c: Likewise.
42942 * nscd/nscd_getgr_r.c: Likewise.
42943 * nscd/nscd_getpw_r.c: Likewise.
42944 * nscd/nscd_getserv_r.c: Likewise.
42945 * posix/getopt_init.c: Likewise.
42946 * posix/wordexp.c: Likewise.
42947 * stdio-common/_itoa.c: Likewise.
42948 * stdio-common/printf_fphex.c: Likewise.
42949 * stdio-common/vfprintf.c: Likewise.
42950 * string/_strerror.c: Likewise.
42951 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
42952 * sysdeps/i386/i686/hp-timing.h: Likewise.
42953 * sysdeps/mach/_strerror.c: Likewise.
42954 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
42955 * sysdeps/mach/hurd/sethostid.c: Likewise.
42956 * sysdeps/mach/hurd/xmknodat.c: Likewise.
42957 * sysdeps/mach/xpg-strerror.c: Likewise.
42958 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
42959 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
42960 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
42961 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
42962 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
42963 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
42964 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
42965 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
42966 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
42967 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
42968 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
42969 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
42970 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
42971 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
42972 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
42973 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
42974 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
42975 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
42976 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
42977 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
42978 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
42979
42980 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
42981
42982 * stdio-common/_itoa.h: Moved to ...
42983 * sysdeps/generic/_itoa.h: Here.
42984
42985 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
42986
42987 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
42988 instead of "_itoa.h" and "_itowa.h".
42989 * stdio-common/vfprintf.: Likewise.
42990
d1af992d
L
429912012-03-20 H.J. Lu <hongjiu.lu@intel.com>
42992
42993 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
42994 <bits/wordsize.h>.
42995 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
42996 (__signbit): Likwise.
42997 (llrintf): Likwise.
42998 (llrint): Likwise.
42999
114883e0
L
430002012-03-20 H.J. Lu <hongjiu.lu@intel.com>
43001
43002 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
43003 __WORDSIZE != 64.
43004
c135cc1b
JM
430052012-03-20 Joseph Myers <joseph@codesourcery.com>
43006
43007 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
43008 OVERFLOW_EXCEPTION_OK.
43009 * math/libm-test.inc ("Philosophy"): Update comment about
43010 exception testing.
43011 (OVERFLOW_EXCEPTION): Define.
43012 (OVERFLOW_EXCEPTION_OK): Likewise.
43013 (INVALID_EXCEPTION_OK): Renumber.
43014 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
43015 (IGNORE_ZERO_INF_SIGN): Likewise.
43016 (test_exceptions): Handle FE_OVERFLOW.
43017 (exp10_test): Expect overflow exceptions.
43018 (exp2_test): Likewise.
43019 (expm1_test): Likewise.
43020 (nextafter_test): Likewise.
43021 (pow_test): Likewise.
43022 (scalbn_test): Likewise.
43023 (scalbln_test): Likewise.
43024
95443d88
L
430252012-03-19 H.J. Lu <hongjiu.lu@intel.com>
43026
43027 * sysdeps/x86_64/bits/atomic.h
43028 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
43029 64bit integer.
43030 (atomic_exchange_acq): Likewise.
43031 (__arch_exchange_and_add_body): Likewise.
43032 (__arch_add_body): Likewise.
43033 (atomic_add_negative): Likewise.
43034 (atomic_add_zero): Likewise.
43035
490df6c4
L
430362012-03-19 H.J. Lu <hongjiu.lu@intel.com>
43037
c2722551 43038 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
43039 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
43040
5e52b189
L
430412012-03-19 H.J. Lu <hongjiu.lu@intel.com>
43042
43043 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
43044 Check __x86_64__ instead of __WORDSIZE.
43045
a9879d4c
L
430462012-03-19 H.J. Lu <hongjiu.lu@intel.com>
43047
43048 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
43049
5df98260
DM
430502012-03-19 David S. Miller <davem@davemloft.net>
43051
e1497744
DM
43052 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43053
5df98260
DM
43054 * sysdeps/sparc/fpu/fenv_private.h: New file.
43055 * sysdeps/sparc/fpu/math_private.h: Use it.
43056 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
43057 Remove.
57f41c40 43058 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
5df98260
DM
43059 (libc_feholdexcept_setroundl): Remove.
43060 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
43061 Remove.
43062 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
43063 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
43064
b4c35121
L
430652012-03-19 H.J. Lu <hongjiu.lu@intel.com>
43066
43067 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
43068 int64_t instead of long int.
43069 (INSERT_WORDS64): Likwise.
43070
56965fd7
L
430712012-03-19 H.J. Lu <hongjiu.lu@intel.com>
43072
43073 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
43074 _Unwind_GetCFA return to _Unwind_Ptr first.
43075
83d1aec8
JM
430762012-03-19 Joseph Myers <joseph@codesourcery.com>
43077
1897ad44
JM
43078 [BZ #13629]
43079 * math/s_clog.c: Include <float.h>.
43080 (__clog): Scale large or subnormal inputs.
43081 * math/s_clogf.c: Likewise.
43082 * math/s_clogl.c: Likewise.
43083 * math/s_clog10.c: Include <float.h>.
43084 (M_LOG10_2): Define.
43085 (__clog10): Scale large or subnormal inputs.
43086 * math/s_clog10f.c: Likewise.
43087 * math/s_clog10l.c: Likewise.
43088 * math/libm-test.inc (clog_test): Add more tests.
43089 (clog10_test): Likewise.
43090 * sysdeps/i386/fpu/libm-test-ulps: Update.
43091 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43092
7726d6a9
JM
43093 [BZ #11451]
43094 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
43095 x and y.
43096 * math/libm-test.inc (atan2_test): Add another test.
43097
83d1aec8
JM
43098 * Makerules (common-objdir-compile): Remove.
43099 * sysdeps/unix/Makefile (config-generated): Do not add
43100 $(unix-generated) to variable.
43101 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
43102 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
43103 Remove rule.
43104 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
43105 Likewise.
43106 [generic bits/local_lim.h] (before-compile): Do not append to
43107 variable.
43108 [generic bits/local_lim.h] (common-generated): Likewise.
43109 [generic sys/param.h] (before-compile): Do not append to variable.
43110 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
43111 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
43112 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
43113 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
43114 include.
43115 [generic sys/param.h] (sys/param.h-includes): Remove variable.
43116 [generic sys/param.h] (sys/param.h-includes): Remove rule.
43117 [generic sys/param.h] ($(addprefix
43118 $(common-objpfx),$(sys/param.h-includes))): Likewise.
43119 [generic sys/param.h] (common-generated): Do not append to
43120 variable.
43121 [generic sys/param.h] (sysdep_headers): Likewise.
43122 [generic bits/errno.h] (before-compile): Do not append to
43123 variable.
43124 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
43125 rule.
43126 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
43127 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
43128 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
43129 [generic bits/errno.h] (common-generated): Do not append to
43130 variable.
43131 [generic bits/ioctls.h] (before-compile): Do not append to
43132 variable.
43133 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
43134 rule.
43135 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
43136 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
43137 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
43138 rule.
43139 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
43140 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
43141 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
43142 [generic bits/ioctls.h] (common-generated): Do not append to
43143 variable.
43144 [generic sys/syscall.h] (syscall.h): Remove variable.
43145 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
43146 rule.
43147 [generic sys/syscall.h] (before-compile): Do not append to
43148 variable.
43149 [generic sys/syscall.h] (common-generated): Likewise.
43150 * sysdeps/unix/errnos-tmpl.c: Remove file.
43151 * sysdeps/unix/errnos.awk: Likewise.
43152 * sysdeps/unix/ioctls-tmpl.c: Likewise.
43153 * sysdeps/unix/ioctls.awk: Likewise.
43154 * sysdeps/unix/mk-local_lim.c: Likewise.
43155 * sysdeps/unix/snarf-ioctls: Likewise.
43156
4851a949
RH
431572012-03-19 Richard Henderson <rth@twiddle.net>
43158
bd37f2ee
RH
43159 * sysdeps/i386/fpu/fenv_private.h: New file.
43160 * sysdeps/i386/fpu/math_private.h: Use it.
43161 (math_opt_barrier, math_force_eval): Remove.
43162 (libc_feholdexcept_setround_53bit): Remove.
43163 (libc_feupdateenv_53bit): Remove.
43164 * sysdeps/x86_64/fpu/math_private.h: Likewise.
43165 (math_opt_barrier, math_force_eval): Remove.
43166 (libc_feholdexcept): Remove.
43167 (libc_feholdexcept_setround): Remove.
43168 (libc_fetestexcept, libc_fesetenv): Remove.
43169 (libc_feupdateenv_test): Remove.
43170 (libc_feupdateenv, libc_feholdsetround): Remove.
43171 (libc_feresetround): Remove.
43172
d0adc922
RH
43173 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
43174 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
43175
0fe0f1f8
RH
43176 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
43177 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
43178 (libc_feupdateenv_testl): New.
43179 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
43180 (libc_feupdateenv_testf): New.
43181 (libc_feupdateenv): Use libc_feupdateenv_test.
43182 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
43183 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
43184
eb92c487
RH
43185 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
43186 (libc_feholdsetroundf, libc_feholdsetroundl): New.
43187 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
43188 (libc_feresetround_noex): New.
43189 (libc_feresetround_noexf): New.
43190 (libc_feresetround_noexl): New.
43191 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
43192 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
43193 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
43194 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
43195 SET_RESTORE_ROUND.
43196 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
43197 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
43198 (__cos): Likewise.
43199 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
43200 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
43201 SET_RESTORE_ROUND_NOEX.
43202 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
43203 SET_RESTORE_ROUND_NOEXF.
43204 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
43205 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
43206 (libc_feholdsetroundf): New.
43207 (libc_feresetround, libc_feresetroundf): New.
43208
7d2e8012
RH
43209 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
43210 (libc_feholdexcept_setround_53bit): Convert from macro to function.
43211 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
43212
b4dabbb4
RH
43213 * sysdeps/generic/math_private.h: Include <fenv.h>.
43214 (default_libc_feholdexcept): New.
43215 (default_libc_feholdexcept_setround): New.
43216 (default_libc_fesetenv, default_libc_feupdateenv): New.
43217 (libc_feholdexcept): Only define if undefined.
43218 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
43219 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
43220 (libc_feholdexcept_setroundl): Likewise.
43221 (libc_feholdexcept_setround_53bit): Likewise.
43222 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
43223 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
43224 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
43225 (libc_feupdateenv_53bit): Likewise.
43226 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
43227 (libc_feholdexcept): Convert from macro to inline function.
43228 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
43229 (libc_fesetenv, libc_feupdateenv): Likewise.
43230
4851a949
RH
43231 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
43232 not previously defined.
43233 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
43234 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
43235 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
43236 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
43237 * sysdeps/ieee754/flt-32/math_private.h: New file.
43238 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
43239 math_private.h below SET_FLOAT_WORD.
43240 (__isnan, __isinf_ns, __finite): Remove.
43241 (__isnanf, __isinf_nsf, __finitef): Remove.
43242
e79d442e
AS
432432012-03-18 Andreas Schwab <schwab@linux-m68k.org>
43244
43245 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43246
90b80344
DM
432472012-03-17 David S. Miller <davem@davemloft.net>
43248
43249 [BZ #6471]
43250 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
43251 for 2.16.
43252
edc21804
DM
432532012-03-16 David S. Miller <davem@davemloft.net>
43254
77e927af
DM
43255 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
43256 warnings.
43257
374976dd
DM
43258 [BZ #6471]
43259 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
43260 properly.
43261 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
43262 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
43263 sysdep_routines when subdir is sysvipc.
43264 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
43265 __getshmlba helper.
43266
edc21804
DM
43267 * sysdeps/sparc/fpu/libm-test/ulps: Update.
43268
473c3ef3
L
432692012-03-16 H.J. Lu <hongjiu.lu@intel.com>
43270
43271 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
43272 [__LP64__].
43273
eb0f39b6
L
432742012-03-16 H.J. Lu <hongjiu.lu@intel.com>
43275
43276 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
43277 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
43278 (__lround): Renamed to ...
43279 (__llround): This. Replace long int with long long int.
43280 Define lround functions as aliases of llround functions.
43281 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
43282
6b6cd74b
L
432832012-03-16 H.J. Lu <hongjiu.lu@intel.com>
43284
43285 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
43286 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
43287 adresses to uintptr_t. Replace "long int" and "unsigned long
43288 int" with "greg_t" on va_arg.
43289
f1a77b01
L
432902012-03-16 H.J. Lu <hongjiu.lu@intel.com>
43291
43292 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
43293 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
43294
43295 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
43296 Move e_machine check before EI_CLASS check. Handle x32
43297 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
43298 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
43299 SKIP_EM_IA_64 and include
43300 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
43301
43302 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
43303 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
43304 (add_system_dir): New macro.
43305
43306 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
43307 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
43308
11b90b9f
JM
433092012-03-16 Joseph Myers <joseph@codesourcery.com>
43310
c36e1d23
JM
43311 [BZ #2551]
43312 [BZ #2552]
43313 [BZ #2553]
43314 [BZ #2554]
43315 [BZ #2562]
43316 [BZ #2563]
43317 [BZ #2565]
43318 [BZ #2566]
43319 [BZ #2576]
43320 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
43321 (y0): Likewise.
43322 * math/w_j0f.c (j0f): Likewise.
43323 (y0f): Likewise.
43324 * math/w_j0l.c (__j0l): Likewise.
43325 (__y0l): Likewise.
43326 * math/w_j1.c (j1): Likewise.
43327 (y1): Likewise.
43328 * math/w_j1f.c (j1f): Likewise.
43329 (y1f): Likewise.
43330 * math/w_j1l.c (__j1l): Likewise.
43331 (__y1l): Likewise.
43332 * math/w_jn.c (jn): Likewise.
43333 (yn): Likewise.
43334 * math/w_jnf.c (jnf): Likewise.
43335 (ynf): Likewise.
43336 * math/w_jnl.c (__jnl): Likewise.
43337 (__ynl): Likewise.
43338 * math/libm-test.inc (j0_test): Add more tests.
43339 (j1_test): Likewise.
43340 (jn_test): Likewise. Add trailing semicolon to existing test.
43341 (y0_test): Likewise.
43342 (y1_test): Likewise.
43343 * sysdeps/i386/fpu/libm-test-ulps: Update.
43344 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43345
11b90b9f
JM
43346 [BZ #13851]
43347 [BZ #13854]
43348 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
43349 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
43350 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
43351 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
43352 (__tanl): Set errno for infinite argument.
43353 * sysdeps/i386/fpu/mptan.c: Remove.
43354 * sysdeps/i386/fpu/s_tan.S: Likewise.
43355 * sysdeps/i386/fpu/s_tanl.S: Likewise.
43356 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
43357 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
43358 * math/libm-test.inc (tan_test): Add more tests and enable more
43359 tests for double and long double.
43360 * sysdeps/i386/fpu/libm-test-ulps: Update.
43361 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43362
6a1bd2a1
JK
433632012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
43364
43365 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
43366 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
43367
10a803e0
RM
433682012-03-16 Roland McGrath <roland@hack.frob.com>
43369
43370 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
43371 * configure.in: Use it for both main tree and add-ons.
43372 * configure: Regenerated.
43373
f196c7f7
L
433742012-03-16 H.J. Lu <hongjiu.lu@intel.com>
43375
43376 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
43377
8848d99d
JM
433782012-03-16 Joseph Myers <joseph@codesourcery.com>
43379
96cbe7f4
JM
43380 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
43381 in comment.
43382
8848d99d
JM
43383 [BZ #13851]
43384 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
43385 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
43386 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
43387 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
43388 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
43389 infinite argument.
43390 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
43391 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
43392 != 0 for prec == 2.
43393 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
43394 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
43395 * sysdeps/i386/fpu/s_cosl.S: Likewise.
43396 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
43397 * sysdeps/i386/fpu/s_sinl.S: Likewise.
43398 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
43399 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
43400 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
43401 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
43402 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
43403 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
43404 * math/libm-test.inc (cos_test): Add more tests and enable more
43405 tests for long double.
43406 (sin_test): Likewise.
43407 (sincos_test): Likewise.
43408 * sysdeps/i386/fpu/libm-test-ulps: Update.
43409 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43410
dd7f4703
DM
434112012-03-16 David S. Miller <davem@davemloft.net>
43412
43413 * sysdeps/sparc/fpu/math_private.h: New file.
43414
006f1daa
DM
434152012-03-15 David S. Miller <davem@davemloft.net>
43416
c0c83bc8
DM
43417 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
43418 file.
e6a62e18 43419 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
43420 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
43421 file.
e6a62e18
DM
43422 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
43423 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
43424 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
43425 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
43426 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
43427 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
43428 sysdep routines.
43429 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
43430
88cb87d9
DM
43431 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
43432 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
43433
006f1daa 43434 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
43435 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
43436 sparc-ifunc.h
006f1daa 43437 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
43438 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
43439 Likewise.
43440 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
43441 Likewise.
006f1daa
DM
43442 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
43443 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
43444 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
43445 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
43446 Likewise.
006f1daa
DM
43447 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
43448 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
43449 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
43450 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
43451 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
43452 Likewise.
43453 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
43454 Likewise.
006f1daa
DM
43455 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
43456 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
43457 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
43458 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
43459 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
43460 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
43461 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
43462 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
43463 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
43464 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
43465 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
43466 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
43467 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
43468 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
43469 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
43470 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
43471 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
43472 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
43473 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
43474 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
43475 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
43476 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
43477 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
43478 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
43479
11e0098e
AS
434802012-03-15 Andreas Schwab <schwab@linux-m68k.org>
43481
43482 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
43483 scaling.
43484 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43485
e85b09d0
AJ
434862012-03-15 Andreas Jaeger <aj@suse.de>
43487
43488 [BZ #13852]
43489 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
43490 ieee754/flt-32 implementation for sin, cos and sincos.
43491 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
43492 * sysdeps/i386/fpu/s_cosf.S: Likewise.
43493 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
43494 * sysdeps/i386/fpu/s_sinf.S: Likewise.
43495 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
43496 ieee754/flt-32 implementation for tan.
43497
43498 * math/libm-test.inc (cos_test): Enable some large input tests for
43499 float as well
43500 (sin_test): Likewise.
43501 (sincos_test): Likewise.
43502 (tan_test): Add tests for large input.
43503
43504 * sysdeps/i386/fpu/libm-test-ulps: Update.
43505
81c64153
AJ
435062012-03-15 Andreas Jaeger <aj@suse.de>
43507
43508 [BZ #13658]
43509 * math/libm-test.inc (cos_test): Add more test cases.
43510 (sin_test): Likewise.
43511 (sincos_test): Likewise.
43512
7bbfa5c6
AJ
435132012-03-15 Andreas Jaeger <aj@suse.de>
43514
43515 [BZ #13837]
43516 * math/libm-test.inc (cos_test): Add a test case for large input
43517 value.
43518 (sin_test): Likewise.
43519 (sincos_test): Likewise.
43520
57f41c40
AS
435212012-03-15 Andreas Jaeger <aj@suse.de>
43522 Joseph Myers <joseph@codesourcery.com>
7bbfa5c6
AJ
43523
43524 [BZ #13658]
0671f479 43525 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
43526 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
43527 * sysdeps/i386/fpu/branred.c: Likewise.
43528 * sysdeps/i386/fpu/dosincos.c: Likewise.
43529 * sysdeps/i386/fpu/mpa.c: Likewise.
43530 * sysdeps/i386/fpu/s_cos.S: Likewise.
43531 * sysdeps/i386/fpu/s_sin.S: Likewise.
43532 * sysdeps/i386/fpu/s_sincos.S: Likewise.
43533 * sysdeps/i386/fpu/sincos32.c: Likewise.
43534
43535 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
43536 Define.
43537 (libc_feupdateenv_53bit): Define.
43538 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
43539 Define.
43540 (libc_feupdateenv_53bit): Define.
43541
43542 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
43543 53 bit (without extend i386 double precision).
43544
43545 * math/libm-test.inc (sincos_test): Add tests for large input.
43546 (sin): Likewise.
43547 (cos): Likewise.
43548
43549 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
43550
9cad04ea
AS
435512012-03-15 Andreas Schwab <schwab@linux-m68k.org>
43552
43553 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43554
f7062b9a
DM
435552012-03-15 David S. Miller <davem@davemloft.net>
43556
43557 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
43558 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
43559 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
43560 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
43561 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
43562 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
43563 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
43564 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
43565 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
43566 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
43567 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
43568 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
43569 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
43570 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
43571 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
43572 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
43573 file.
f7062b9a 43574 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
43575 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
43576 file.
f7062b9a 43577 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
43578 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
43579 file.
f7062b9a 43580 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
43581 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
43582 file.
f7062b9a
DM
43583 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
43584 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
43585 fmin/fmax sysdep routines.
43586 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
43587
7bd951ff
DM
435882012-03-14 David S. Miller <davem@davemloft.net>
43589
559398ab
DM
43590 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
43591 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
43592 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
43593 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
43594 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
43595 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
43596 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
43597 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
43598 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
43599 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
43600 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
43601 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
43602 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
43603 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
43604 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
43605 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
43606 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
43607 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
43608 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
43609 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
43610 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
43611 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
43612 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
43613 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
43614 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
43615 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
43616 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
43617 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
43618 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
43619 routines.
43620 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
43621 file.
559398ab 43622 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
43623 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
43624 file.
559398ab 43625 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
43626 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
43627 file.
559398ab 43628 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
43629 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
43630 file.
559398ab 43631 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
43632 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
43633 file.
559398ab 43634 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
43635 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
43636 file.
43637 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
43638 file.
43639 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
43640 file.
43641 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
43642 file.
43643 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
43644 New file.
43645 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
43646 file.
43647 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
43648 file.
559398ab 43649 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
43650 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
43651 file.
559398ab 43652 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
43653 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
43654 file.
559398ab 43655 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
43656 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
43657 file.
559398ab 43658 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
43659 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
43660 VIS3 routines.
559398ab
DM
43661
43662 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
43663 New file.
43664
5a1c1e32
DM
43665 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43666
eae47a36
DM
43667 * sysdeps/sparc/configure.in: New file.
43668 * sysdeps/sparc/configure: Generate.
43669 * configure.in (libc_cv_sparc_as_vis3): Substitute.
43670 * configure: Regenerate.
43671 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
43672 * config.make.in (have-as-vis3): New.
43673 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
43674 available use -Av9d instead of -Av9a.
43675 * sysdeps/sparc/sparc64/Makefile: Likewise.
43676 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
43677 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
43678 New file.
43679 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
43680 file.
43681 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
43682 New file.
43683 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
43684 file.
eae47a36
DM
43685 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
43686 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
43687 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
43688 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
43689 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
43690
c0c83bc8
DM
43691 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
43692 fzeros/fnegs to load 0x80000000 into a float register instead of
43693 using the stack.
7bd951ff
DM
43694 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
43695
bd951ccb
JM
436962012-03-14 Joseph Myers <joseph@codesourcery.com>
43697
43698 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
43699 bits/syscall.h.
43700 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
43701 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
43702 ($(inst_includedir)/bits/syscall.h): Remove rule.
43703 ($(objpfx)bits/syscall.d): Include instead of
43704 $(objpfx)syscall-list.d.
43705 (generated): Change syscall-list.h and syscall-list.d to
43706 bits/syscall.h and bits/syscall.d.
43707
bb4e6db2
RM
437082012-03-14 Roland McGrath <roland@hack.frob.com>
43709
43710 [BZ #13846]
43711 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
43712
aa4a2ae1
JM
437132012-03-14 Joseph Myers <joseph@codesourcery.com>
43714
e456826d
JM
43715 [BZ #13841]
43716 * math/s_csqrt.c: Include <float.h>.
43717 (__csqrt): Scale large or subnormal inputs.
43718 * math/s_csqrtf.c: Likewise.
43719 * math/s_csqrtl.c: Likewise.
43720 * math/libm-test.inc (csqrt_test): Add more tests.
43721 * sysdeps/i386/fpu/libm-test-ulps: Update.
43722 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43723
aa4a2ae1
JM
43724 [BZ #13840]
43725 * math/libm-test.inc (hypot_test): Add more tests.
43726
7c10fd35
DM
437272012-03-13 David S. Miller <davem@davemloft.net>
43728
43729 [BZ #13840]
43730 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
43731 double-precision for the calculation instead of scaling.
43732
f453b98b
JM
437332012-03-13 Joseph Myers <joseph@codesourcery.com>
43734
43735 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
43736 manipulate bits before adding and subtracting TWO52[sx].
43737 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
43738 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
43739 Likewise.
43740 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
43741
09a3453f
DM
437422012-03-13 David S. Miller <davem@davemloft.net>
43743
8e59da90
DM
43744 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
43745 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
43746 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
43747 rtld-global-offsets.h
43748 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
43749
2a8ab7f2
DM
43750 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
43751 large parameters.
43752
10f62770
DM
43753 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
43754
5f0bdb18
DM
43755 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
43756 'err' in the ifdef scope in which it is actually used.
43757
09a3453f
DM
43758 * nss/nss_db/db-init.c: Include string.h
43759
b4b2eb5e
DM
437602012-03-12 David S. Miller <davem@davemloft.net>
43761
98bb2f1c
DM
43762 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
43763 masking out of the most significant byte of random value used.
43764 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
43765 Fix coding style in previous change.
43766
b4b2eb5e
DM
43767 * sysdeps/unix/sysv/linux/kernel-features.h
43768 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
43769 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
43770 expression.
43771 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
43772 later.
43773
6e226b09
DM
437742012-03-11 David S. Miller <davem@davemloft.net>
43775
a1bcbd40
DM
43776 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
43777 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
43778 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
43779 for 'resultvar' otherwise things get truncated on 64-bit.
43780
cb9d6174
DM
43781 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
43782 Fix masking out of the most significant byte of random value used.
43783
6e226b09
DM
43784 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43785
058c132d
AS
437862012-03-10 Andreas Schwab <schwab@linux-m68k.org>
43787
43788 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43789
2d2cd515
DM
437902012-03-09 David S. Miller <davem@davemloft.net>
43791
43792 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
43793 variables with appropriate CPP guards.
57f41c40
AS
43794 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
43795 from the frame pointer, not the stack pointer. Correct layout
43796 comments. Fix test on resulting framesize and the management of
43797 the outregs buffer for pltexit. Preserve floating point return
43798 values across _dl_call_pltexit call.
2d2cd515
DM
43799 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
43800 framesize and the management of the outregs buffer for pltexit.
43801 Preserve floating point return values across _dl_call_pltexit
43802 call.
57f41c40
AS
43803 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
43804 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
43805 (la_sparc64_gnu_pltexit): New functions.
2d2cd515
DM
43806 (print_exit): Fix format string for return register value.
43807
9a07f9d0
JM
438082012-03-10 Joseph Myers <joseph@codesourcery.com>
43809
43810 * sunrpc/Makefile (others): Add rpcgen.
43811 ($(objpfx)rpcgen): Remove special build rule and dependency on
43812 libc.
43813 * sunrpc/rpcgen.c: New file.
43814
547b5e30
PE
438152012-03-09 Paul Eggert <eggert@cs.ucla.edu>
43816
c524201a
PE
43817 [BZ #13673]
43818 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
43819 * stdio-common/bug-vfprintf-nargs.c: Likewise.
43820 * sysdeps/i386/crti.S: Likewise.
43821 * sysdeps/i386/crtn.S: Likewise.
43822 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
43823 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
43824 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
43825 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
43826 * sysdeps/sh/crti.S: Likewise.
43827 * sysdeps/sh/crtn.S: Likewise.
43828 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
43829
7b6235f2
PE
43830 [BZ #13673]
43831 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
43832 with URL.
43833 * locale/programs/locfile-kw.gperf: Likewise.
43834 * locale/programs/charmap-kw.h: Regenerated.
43835 * locale/programs/locfile-kw.h: Likewise.
43836
547b5e30
PE
43837 [BZ #13673]
43838 * intl/plural.y: Replace FSF snail mail address with URL.
43839 * intl/plural.c: Regenerated.
43840
5f0a5dae
RH
438412012-03-09 Richard Henderson <rth@twiddle.net>
43842
43843 * include/math_private.h: Remove file.
43844 * math/math_private.h: Move file ...
43845 * sysdeps/generic/math_private.h: ... here.
43846
b8c03620
RH
43847 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
43848 * sysdeps/powerpc/fpu/math_private.h: Likewise.
43849 * sysdeps/x86_64/fpu/math_private.h: Likewise.
43850
4e234f5d 43851 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
43852 and <math_private.h>.
43853 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
43854 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
43855 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
43856 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
43857 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
43858 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
43859 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
43860 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
43861 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
43862 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
43863 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
43864 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
43865 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
43866 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
43867 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
43868 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
43869 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
43870 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
43871 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
43872 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
43873 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43874 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
43875 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
43876 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
43877 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
43878 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
43879 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
43880 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
43881 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
43882 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
43883 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
43884 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
43885 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
43886 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
43887 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
43888 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
43889 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
43890 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
43891 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
43892 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
43893 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
43894 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
43895 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
43896 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
43897 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
43898 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
43899 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
43900 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
43901 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
43902 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
43903 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
43904 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
43905 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
43906 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
43907 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
43908 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
43909 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
43910 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
43911 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
43912 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
43913 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
43914 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
43915 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
43916 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
43917 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
43918 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
43919 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
43920 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
43921 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
43922 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
43923 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
43924 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
43925 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
43926 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
43927 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
43928 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
43929 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
43930 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
43931 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
43932 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
43933 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
43934 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
43935 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
43936 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
43937 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
43938 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
43939 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
43940 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
43941 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
43942 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
43943 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
43944 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
43945 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
43946 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
43947 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
43948 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
43949 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
43950 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
43951 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
43952 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
43953 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
43954 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
43955 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
43956 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
43957 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
43958 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
43959 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
43960 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
43961 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
43962 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
43963 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
43964 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
43965 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
43966 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
43967 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
43968 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
43969 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
43970 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
43971 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
43972 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
43973 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
43974 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
43975 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
43976 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
43977 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
43978 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
43979 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
43980 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
43981 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
43982 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
43983 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
43984 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
43985 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
43986 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
43987 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
43988 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
43989 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
43990 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
43991 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
43992 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
43993 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
43994 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
43995 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
43996 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
43997 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
43998 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
43999 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
44000 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
44001 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
44002 * sysdeps/ieee754/k_standard.c: Likewise.
44003 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
44004 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
44005 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
44006 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
44007 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
44008 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
44009 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
44010 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
44011 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
44012 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
44013 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
44014 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
44015 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
44016 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
44017 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
44018 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
44019 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
44020 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
44021 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
44022 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
44023 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
44024 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
44025 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
44026 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
44027 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
44028 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
44029 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
44030 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
44031 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
44032 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
44033 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
44034 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
44035 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
44036 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
44037 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
44038 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
44039 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
44040 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
44041 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
44042 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
44043 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
44044 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
44045 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
44046 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
44047 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
44048 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
44049 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
44050 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
44051 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
44052 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
44053 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
44054 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
44055 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
44056 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
44057 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
44058 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
44059 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
44060 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
44061 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
44062 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
44063 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
44064 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
44065 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
44066 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
44067 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
44068 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
44069 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
44070 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
44071 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
44072 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
44073 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
44074 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
44075 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
44076 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
44077 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
44078 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
44079 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
44080 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
44081 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
44082 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
44083 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
44084 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
44085 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
44086 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
44087 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
44088 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
44089 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
44090 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
44091 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
44092 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
44093 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
44094 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
44095 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
44096 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
44097 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
44098 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
44099 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
44100 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
44101 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
44102 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
44103 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
44104 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
44105 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
44106 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
44107 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
44108 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
44109 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
44110 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
44111 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
44112 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
44113 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
44114 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
44115 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
44116 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
44117 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
44118 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
44119 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
44120 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
44121 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
44122 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
44123 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
44124 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
44125 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
44126 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
44127 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
44128 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
44129 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
44130 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
44131 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
44132 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
44133 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
44134 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
44135 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
44136 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
44137 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
44138 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
44139 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
44140 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
44141 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
44142 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
44143 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
44144 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
44145 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
44146 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
44147 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
44148 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
44149 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
44150 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
44151 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
44152 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
44153 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
44154 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
44155 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
44156 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
44157 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
44158 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
44159 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
44160 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
44161 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
44162 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
44163 * sysdeps/ieee754/s_lib_version.c: Likewise.
44164 * sysdeps/ieee754/s_matherr.c: Likewise.
44165 * sysdeps/ieee754/s_signgam.c: Likewise.
44166 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
44167 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
44168 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
44169 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
44170 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
44171 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
44172 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
44173 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
44174 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
44175 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
44176 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
44177 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
44178 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
44179 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
44180 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
44181 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
44182 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
44183 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
44184 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
44185 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
44186 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 44187
1991fa03
JM
441882012-03-09 Joseph Myers <joseph@codesourcery.com>
44189
44190 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
44191 * sunrpc/rpc_main.c: Likewise.
44192 * sunrpc/rpc_svcout.c: Likewise.
44193
60d6f5a6
DM
441942012-03-09 David S. Miller <davem@davemloft.net>
44195
44196 * include/math_private.h: New file.
44197
4962050e
JM
441982012-03-09 Joseph Myers <joseph@codesourcery.com>
44199
02a6f887
JM
44200 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
44201 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
44202 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
44203 from <bits/socket_type.h>.
44204 (enum __socket_type): Don't define here.
44205 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
44206 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
44207 bits/socket_type.h.
44208
c6e013c1
JM
44209 [BZ #13566]
44210 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
44211 checking __USE_GNU.
44212
4962050e
JM
44213 * Makerules ($(inst_includedir)/%.h): New rule.
44214 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
44215 (install-others): Remove variable setting.
44216 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
44217
38842f45
RH
442182012-03-08 Richard Henderson <rth@twiddle.net>
44219
67bb6da6
RH
44220 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
44221 from macro to inline function; merge with the
44222 !__LIBC_INTERNAL_MATH_INLINES version.
44223 (__ieee754_sqrtf): Likewise.
44224
15194b4b
RH
44225 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
44226 to inline function.
44227 (__rintf, __floor, __floorf): Likewise.
44228
64e21ede
RH
44229 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
44230 macro to inline function.
44231 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
44232
38842f45
RH
44233 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
44234 not <math/math_private.h>.
44235
c64bf5fe
DM
442362012-03-08 David S. Miller <davem@davemloft.net>
44237
44238 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
44239 copyright year.
44240 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
44241
82d86f28
TS
442422012-03-08 Thomas Schwinge <thomas@codesourcery.com>
44243
44244 * resolv/gai_misc.c (handle_requests): Fix struct timespec
44245 normalization.
44246 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
44247 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
44248
aea5d727
UD
442492012-03-08 Ulrich Drepper <drepper@gmail.com>
44250
44251 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
44252 be defined individually, they must be defined as a block. Define
44253 S for printing a string instead of hidint the different by using a
44254 macro for adding the 'l'.
44255 * stdio-common/tst-fphex-wide.c: Adjust.
44256
70bca0a3
MP
442572012-03-07 Marek Polacek <polacek@redhat.com>
44258
44259 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
44260
65b81130
MP
442612012-03-08 Marek Polacek <polacek@redhat.com>
44262
44263 [BZ #13806]
44264 * stdio-common/Makefile (tests): Add tst-fphex-wide.
44265 * stdio-common/tst-fphex.c: Define a few macros to make the
44266 test reusable. Use them.
44267 * stdio-common/tst-fphex-wide.c: New file.
44268
07037eeb
JM
442692012-03-08 Joseph Myers <joseph@codesourcery.com>
44270
a7a93d50
JM
44271 [BZ #6911]
44272 * manual/macros.texi (gnusystems): New macro.
44273 (nongnusystems): Likewise.
44274 (gnulinuxhurdsystems): Likewise.
44275 (gnuhurdsystems): Likewise..
44276 (gnulinuxsystems): Likewise.
44277 * manual/charset.texi: Use new macros or @theglibc{} to refer to
44278 variants of the GNU system, not "GNU system".
44279 * manual/conf.texi: Likewise.
44280 * manual/errno.texi: Likewise. Update example of errno macro
44281 expansion.
44282 * manual/filesys.texi: Likewise.
44283 (getumask): Document as specific to GNU/Hurd.
44284 * manual/install.texi: Likewise. Reword some references to
44285 GNU/Linux.
44286 * manual/intro.texi: Likewise.
44287 * manual/io.texi: Likewise.
44288 (File Name Portability): Detail which constraints are inapplicable
44289 to all GNU systems and which are only inapplicable to GNU/Hurd.
44290 * manual/job.texi: Likewise.
44291 * manual/llio.texi: Likewise.
44292 (O_NOCTTY): Document as present on GNU/Linux.
44293 * manual/maint.texi: Likewise.
44294 * manual/memory.texi: Likewise.
44295 * manual/pattern.texi: Likewise.
44296 * manual/pipe.texi: Likewise.
44297 * manual/process.texi: Likewise.
44298 * manual/resource.texi: Likewise.
44299 (RUSAGE_CHILDREN): Remove statement about specifying a particular
44300 child on GNU/Hurd.
44301 * manual/setjmp.texi: Likewise.
44302 * manual/signal.texi: Likewise.
44303 * manual/startup.texi: Likewise.
44304 * manual/stdio.texi: Likewise.
44305 * manual/terminal.texi: Likewise.
44306 (ONLCR): Document as POSIX.
44307 (OXTABS): Document availability on GNU/Linux as XTABS.
44308 (ONOEOT): Document availability separately from other bits.
44309 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
44310 * manual/time.texi: Likewise.
44311 * manual/users.texi: Likewise.
44312 * INSTALL: Regenerated.
44313 * sysdeps/gnu/errlist.c: Regenerated.
44314
07037eeb
JM
44315 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
44316 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
44317 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
44318 puts.
44319 * configure: Regenerated.
44320
d1d3431a
JM
443212012-03-07 Joseph Myers <joseph@codesourcery.com>
44322
af6a1e37
JM
44323 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
44324 default includes instead of AC_HEADER_CHECK.
44325 * sysdeps/i386/configure: Regenerated.
44326
d1d3431a
JM
44327 [BZ #10716]
44328 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
44329 * math/s_cacoshf.c (__cacoshf): Likewise.
44330 * math/s_cacoshl.c (__cacoshl): Likewise.
44331 * math/s_casinh.c (__casinh): Set signs of result from argument.
44332 * math/s_casinhf.c (__casinhf): Likewise.
44333 * math/s_casinhl.c (__casinhl): Likewise.
44334 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
44335 (casinh_test): Add more tests.
44336 * sysdeps/i386/fpu/libm-test-ulps: Update.
44337 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44338
482ff4da
UD
443392012-03-07 Ulrich Drepper <drepper@gmail.com>
44340
872fda05
UD
44341 * po/zh_TW.po: Update from translation team.
44342
a4300c7a
UD
44343 * login/Makefile (distribute): Remove variable.
44344 * catgets/Makefile: Likewise.
44345 * mach/Makefile: Likewise.
44346 * malloc/Makefile: Likewise.
44347 * misc/Makefile: Likewise.
44348 * iconv/Makefile: Likewise.
44349 * nscd/Makefile: Likewise.
44350 * hurd/Makefile: Likewise.
44351 * manual/Makefile: Likewise.
44352 * locale/Makefile: Likewise.
44353 * intl/Makefile: Likewise.
44354 * conform/Makefile: Likewise.
44355 * nss/Makefile: Likewise.
44356 * time/Makefile: Likewise.
44357 * soft-fp/Makefile: Likewise.
44358 * dirent/Makefile: Likewise.
44359 * gmon/Makefile: Likewise.
44360 * po/Makefile: Likewise.
44361 * rt/Makefile: Likewise.
44362 * socket/Makefile: Likewise.
44363 * math/Makefile: Likewise.
44364 * signal/Makefile: Likewise.
44365 * debug/Makefile: Likewise.
44366 * elf/Makefile: Likewise.
44367 * timezone/Makefile: Likewise.
44368 * stdlib/Makefile: Likewise.
44369 * iconvdata/Makefile: Likewise.
44370 * sunrpc/Makefile: Likewise.
44371 * io/Makefile: Likewise.
44372 * argp/Makefile: Likewise.
44373 * inet/Makefile: Likewise.
44374 * hesiod/Makefile: Likewise.
44375 * grp/Makefile: Likewise.
44376 * csu/Makefile: Likewise.
44377 * wctype/Makefile: Likewise.
44378 * crypt/Makefile: Likewise.
44379 * libio/Makefile: Likewise.
44380 * string/Makefile: Likewise.
44381 * nis/Makefile: Likewise.
44382 * resolv/Makefile: Likewise.
44383 * stdio-common/Makefile: Likewise.
44384 * wcsmbs/Makefile: Likewise.
44385 * dlfcn/Makefile: Likewise.
44386 * posix/Makefile: Likewise.
44387
3b7c4e74 44388 [BZ #6959]
482ff4da
UD
44389 * timezone/Makefile: Don't install timezone files, just the programs
44390 and scripts.
44391
f72ed77d
UD
443922012-03-06 Ulrich Drepper <drepper@gmail.com>
44393
a000466f
UD
44394 * nss/databases.def: Add missing gshadow entry.
44395
f72ed77d
UD
44396 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
44397
a53b7a4e
MP
443982012-03-06 Marek Polacek <polacek@redhat.com>
44399
44400 [BZ #13726]
44401 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
44402 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
44403 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
44404 * stdio-common/tst-long-dbl-fphex.c: New file.
44405
e9258400
DM
444062012-03-06 David S. Miller <davem@davemloft.net>
44407
44408 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
44409 (set_obp_int): New function.
44410 (get_obp_int): New function.
44411 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
44412 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
44413 Avoid unused variable warnings on 'val' and use builtin_expect.
44414 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
44415 __builtin_expect.
e9258400
DM
44416 (INLINE_CLONE_SYSCALL): Likewise.
44417
3bd2c723
DM
444182012-03-05 David S. Miller <davem@davemloft.net>
44419
44420 * sysdeps/sparc/fpu/libm-test-ulps: Update.
44421
bbb78d03
AS
444222012-03-05 Andreas Schwab <schwab@linux-m68k.org>
44423
884c5db4
AS
44424 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44425
bbb78d03
AS
44426 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
44427 only for |x| >= 40.
44428 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
44429
1c9f702a 444302012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
44431
44432 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
44433 Replace gettimeofday with __vdso_gettimeofday.
44434
7be16f82
RM
44435 * sysdeps/unix/sysv/linux/x86_64/init-first.c
44436 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
44437 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
44438
44439 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
44440 time with __vdso_time.
44441
ed58a00f
JM
444422012-03-05 Joseph Myers <joseph@codesourcery.com>
44443
44444 * manual/lang.texi (size_t): Note types to which size_t may be
44445 equivalent with the GNU C Library, but do not describe when
44446 differences between them are significant.
44447
30ee4ced
AJ
444482012-03-05 Andreas Jaeger <aj@suse.de>
44449
44450 * sysdeps/i386/fpu/libm-test-ulps: Update.
44451
b7cd39e8
JM
444522012-03-05 Joseph Myers <joseph@codesourcery.com>
44453
44454 [BZ #3976]
44455 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
44456 (__ieee754_pow): Save and restore rounding mode and use
44457 round-to-nearest for main computations.
44458 * math/libm-test.inc (pow_test_tonearest): New function.
44459 (pow_test_towardzero): Likewise.
44460 (pow_test_downward): Likewise.
44461 (pow_test_upward): Likewise.
44462 (main): Call the new functions.
44463 * sysdeps/i386/fpu/libm-test-ulps: Update.
44464 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
44465
44466 [BZ #3976]
44467 * math/libm-test.inc (cosh_test_tonearest): New function.
44468 (cosh_test_towardzero): Likewise.
44469 (cosh_test_downward): Likewise.
44470 (cosh_test_upward): Likewise.
44471 (sinh_test_tonearest): Likewise.
44472 (sinh_test_towardzero): Likewise.
44473 (sinh_test_downward): Likewise.
44474 (sinh_test_upward): Likewise.
44475 (main): Call the new functions.
44476 * sysdeps/i386/fpu/libm-test-ulps: Update.
44477 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44478
6c6a98c9
TV
444792012-03-05 Tom de Vries <tom@codesourcery.com>
44480
44481 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
44482 default stack guard is set in last bytes.
44483 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
44484
21bb2d2e 444852012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 44486
21bb2d2e 44487 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 44488
21bb2d2e
AJ
44489 [BZ #13656]
44490 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
44491 possibly allocate from heap instead of stack.
44492 * stdio-common/bug-vfprintf-nargs.c: New file.
44493 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 44494
c6922934
AS
444952012-03-03 Andreas Schwab <schwab@linux-m68k.org>
44496
44497 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44498
bc957d53
MP
444992012-03-03 Marek Polacek <polacek@redhat.com>
44500
44501 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
44502 * math/math_private.h: Likewise.
44503 * stdlib/tst-strtod.c: Likewise.
44504 * sysdeps/i386/i486/bits/atomic.h: Likewise.
44505 * sysdeps/x86_64/bits/atomic.h: Likewise.
44506
6358490d
DM
445072012-03-02 David S. Miller <davem@davemloft.net>
44508
44509 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
44510 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
44511 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
44512 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
44513 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
44514 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
44515 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
44516 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
44517
01ae168d
RM
445182012-03-02 Roland McGrath <roland@hack.frob.com>
44519
d9a17c07
RM
44520 [BZ #13792]
44521 * manual/examples/README: New file, says the example source files
44522 can be used under GPL>=2.
44523 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
44524 line containing just "*/".
44525 * manual/examples/add.c: Add copyright header (GPL>=2).
44526 * manual/examples/argp-ex1.c: Likewise.
44527 * manual/examples/argp-ex2.c: Likewise.
44528 * manual/examples/argp-ex3.c: Likewise.
44529 * manual/examples/argp-ex4.c: Likewise.
44530 * manual/examples/atexit.c: Likewise.
44531 * manual/examples/db.c: Likewise.
44532 * manual/examples/dir.c: Likewise.
44533 * manual/examples/dir2.c: Likewise.
44534 * manual/examples/execinfo.c: Likewise.
44535 * manual/examples/filecli.c: Likewise.
44536 * manual/examples/filesrv.c: Likewise.
44537 * manual/examples/fmtmsgexpl.c: Likewise.
44538 * manual/examples/genpass.c: Likewise.
44539 * manual/examples/inetcli.c: Likewise.
44540 * manual/examples/inetsrv.c: Likewise.
44541 * manual/examples/isockad.c: Likewise.
44542 * manual/examples/longopt.c: Likewise.
44543 * manual/examples/memopen.c: Likewise.
44544 * manual/examples/memstrm.c: Likewise.
44545 * manual/examples/mkfsock.c: Likewise.
44546 * manual/examples/mkisock.c: Likewise.
44547 * manual/examples/mygetpass.c: Likewise.
44548 * manual/examples/pipe.c: Likewise.
44549 * manual/examples/popen.c: Likewise.
44550 * manual/examples/rprintf.c: Likewise.
44551 * manual/examples/search.c: Likewise.
44552 * manual/examples/select.c: Likewise.
44553 * manual/examples/setjmp.c: Likewise.
44554 * manual/examples/sigh1.c: Likewise.
44555 * manual/examples/sigusr.c: Likewise.
44556 * manual/examples/stpcpy.c: Likewise.
44557 * manual/examples/strdupa.c: Likewise.
44558 * manual/examples/strftim.c: Likewise.
44559 * manual/examples/strncat.c: Likewise.
44560 * manual/examples/subopt.c: Likewise.
44561 * manual/examples/swapcontext.c: Likewise.
44562 * manual/examples/termios.c: Likewise.
44563 * manual/examples/testopt.c: Likewise.
44564 * manual/examples/testpass.c: Likewise.
44565 * manual/examples/timeval_subtract.c: Likewise.
44566
01ae168d
RM
44567 [BZ #13792]
44568 * manual/time.texi (Elapsed Time): Move timeval_subtract example
44569 function to ...
44570 * manual/timeval_subtract.c.texi: ... here, new file.
44571
49efa33d
DM
445722012-03-02 David S. Miller <davem@davemloft.net>
44573
44574 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
44575
28afd92d
JM
445762012-03-02 Joseph Myers <joseph@codesourcery.com>
44577
804360ed
JM
44578 [BZ #3976]
44579 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
44580 (__sin): Save and restore rounding mode and use round-to-nearest
44581 for all computations.
44582 (__cos): Save and restore rounding mode and use round-to-nearest
44583 for all computations.
44584 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
44585 <fenv.h>.
44586 (tan): Save and restore rounding mode and use round-to-nearest for
44587 all computations.
44588 * math/libm-test.inc (cos_test_tonearest): New function.
44589 (cos_test_towardzero): Likewise.
44590 (cos_test_downward): Likewise.
44591 (cos_test_upward): Likewise.
44592 (sin_test_tonearest): Likewise.
44593 (sin_test_towardzero): Likewise.
44594 (sin_test_downward): Likewise.
44595 (sin_test_upward): Likewise.
44596 (tan_test_tonearest): Likewise.
44597 (tan_test_towardzero): Likewise.
44598 (tan_test_downward): Likewise.
44599 (tan_test_upward): Likewise.
44600 (main): Call the new functions.
44601 * sysdeps/i386/fpu/libm-test-ulps: Update.
44602 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44603
a6d06d7b
JM
44604 [BZ #10135]
44605 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
44606 small n, then large n, before computing and testing k+n.
44607 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
44608 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
44609 Likewise.
44610 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
44611 Likewise.
44612 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
44613 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
44614 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
44615 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
44616 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
44617 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
44618 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
44619 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
44620 * math/libm-test.inc (scalbn_test): Add more tests.
44621 (scalbln_test): Likewise.
44622
07e12bb3
JM
44623 * manual/filesys.texi (mode_t): Describe constraints on size and
44624 signedness, not exact equivalence to a particular type.
44625 (ino_t): Likewise.
44626 (ino64_t): Likewise.
44627 (dev_t): Likewise.
44628 (nlink_t): Likewise.
44629 (blkcnt_t): Likewise.
44630 (blkcnt64_t): Likewise.
44631 * manual/llio.texi (off_t): Likewise.
44632
28afd92d
JM
44633 [BZ #3976]
44634 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
44635 (__ieee754_exp): Save and restore rounding mode and use
44636 round-to-nearest for all computations.
44637 * math/libm-test.inc (exp_test_tonearest): New function.
44638 (exp_test_towardzero): Likewise.
44639 (exp_test_downward): Likewise.
44640 (exp_test_upward): Likewise.
44641 (main): Call the new functions.
44642 * sysdeps/i386/fpu/libm-test-ulps: Update.
44643 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44644
b1eeb65d
CD
446452012-03-01 Chris Demetriou <cgd@google.com>
44646
44647 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
44648 have predictable order.
44649
53362a4b
DM
446502012-03-01 David S. Miller <davem@davemloft.net>
44651
3c969083
DM
44652 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
44653
759707de
DM
44654 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
44655 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
44656 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
44657 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
44658
dfdb8ff2
DM
44659 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
44660 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
44661 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
44662 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
44663 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
44664 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
44665 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
44666 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
44667 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
44668
ead89f96
DM
44669 * sysdeps/sparc/fpu/libm-test-ulps: Update.
44670
7f66bd07
DM
44671 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
44672 * sysdeps/sparc/fpu/libm-test-ulps: to here.
44673 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
44674
53362a4b
DM
44675 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
44676 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
44677 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
44678 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
44679 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
44680 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
44681 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
44682 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
44683 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
44684 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
44685 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
44686 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
44687 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
44688 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
44689 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
44690 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
44691 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
44692 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
44693 * sysdeps/sparc/elf/configure: Regenerated.
44694
7b1902cb
JM
446952012-03-01 Joseph Myers <joseph@codesourcery.com>
44696
bec039bc
JM
44697 * configure.in (AS, LD): Require binutils 2.20 or later.
44698 * configure: Regenerated.
44699 * manual/install.texi (Tools for Compilation): Give binutils 2.20
44700 as required minimum version.
44701 * INSTALL: Regenerated.
44702
7b1902cb
JM
44703 [BZ #2541]
44704 [BZ #4108]
44705 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
44706 before squaring exponent.
44707 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
44708 bottom long double and 27 bits of top long double before squaring
44709 exponent.
44710 * math/libm-test.inc (erfc_test): Add more tests.
44711 * sysdeps/i386/fpu/libm-test-ulps: Update.
44712 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
44713 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44714
f775c276
KT
447152012-03-01 Kai Tietz <ktietz@redhat.com>
44716
44717 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
44718 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
44719 containing bit-fields.
44720 * soft-fp/extended.h (_FP_UNION_E): Likewise.
44721 * soft-fp/single.h (_FP_UNION_S): Likewise.
44722 * soft-fp/double.h (_FP_UNION_D): Likewise.
44723
5b8a4d4a
JM
447242012-02-29 Joseph Myers <joseph@codesourcery.com>
44725
0bab47b6
JM
44726 [BZ #13786]
44727 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
44728 not include ../strcmp.S.
44729 [USE_AS_STRNCASECMP_L]: Likewise.
44730 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
44731 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
44732 * sysdeps/i386/i686/multiarch/strncase_l-c.c
44733 (__strncasecmp_l_ia32): Define as alias to
44734 __strncasecmp_l_nonascii.
44735
0fcad3e2
JM
44736 [BZ #5794]
44737 * math/libm-test.inc (expm1_test): Add test for bug 5794.
44738 * sysdeps/i386/fpu/libm-test-ulps: Update.
44739 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44740
5b8a4d4a
JM
44741 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
44742 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44743
8fdceb2e
JL
447442012-02-29 Jeff Law <law@redhat.com>
44745
44746 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
44747 out of bounds read.
44748
1f393a11
MP
447492012-02-29 Marek Polacek <polacek@redhat.com>
44750
44751 [BZ #13706]
44752 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
44753 * elf/Makefile: Add rules to run tst-unused-dep.out.
44754
8847f037
DM
447552012-02-28 David S. Miller <davem@davemloft.net>
44756
44757 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
44758 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
44759 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
44760 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
44761 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
44762 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
44763
169d7f11
JM
447642012-02-29 Joseph Myers <joseph@codesourcery.com>
44765
44766 * math/libm-test.inc (llround_test): Move one test from
44767 lround_test. Use TEST_f_L in moved test.
44768 (lround_test): Move misplaced test to llround_test. Add testcase
44769 from bug 2561.
44770
39adf059
UD
447712012-02-28 Ulrich Drepper <drepper@gmail.com>
44772
44773 * sysdeps/x86_64/fpu/e_expf.S: New file.
44774 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
44775
71b5d1c5
SB
447762012-02-28 Stanislav Brabec <sbrabec@suse.cz>
44777
44778 [BZ #13637]
44779 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
44780 of remain_len that may cause incomplete multi-byte character and
44781 false match.
44782 * posix/bug-regex33.c: New file.
44783 * posix/Makefile (tests): Add bug-regex33.
44784
1f77f049
JM
447852012-02-28 Joseph Myers <joseph@codesourcery.com>
44786
44787 * manual/macros.texi: New file.
44788 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
44789 * manual/libc.texinfo: Include macros.texi.
44790 * manual/creatute.texi: Likewise.
44791 * manual/install.texi: Likewise.
44792 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
44793 @glibcadj{} in references to the GNU C Library.
44794 * manual/charset.texi: Likewise.
44795 * manual/conf.texi: Likewise.
44796 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
44797 when not using those macros.
44798 * manual/creature.texi: Likewise.
44799 * manual/crypt.texi: Likewise.
44800 * manual/errno.texi: Likewise.
44801 * manual/filesys.texi: Likewise.
44802 * manual/header.texi: Likewise.
44803 * manual/install.texi: Likewise.
44804 * manual/intro.texi: Likewise.
44805 * manual/io.texi: Likewise.
44806 * manual/job.texi: Likewise.
44807 * manual/lang.texi: Likewise.
44808 * manual/libc.texiinfo: Likewise.
44809 * manual/llio.texi: Likewise.
44810 * manual/locale.texi: Likewise.
44811 * manual/maint.texi: Likewise.
44812 * manual/math.texi: Likewise.
44813 * manual/memory.texi: Likewise.
44814 * manual/message.texi: Likewise.
44815 * manual/nss.texi: Likewise.
44816 * manual/pattern.texi: Likewise.
44817 * manual/process.texi: Likewise.
44818 * manual/resource.texi: Likewise.
44819 * manual/search.texi: Likewise.
44820 * manual/setjmp.texi: Likewise.
44821 * manual/signal.texi: Likewise.
44822 * manual/socket.texi: Likewise.
44823 * manual/startup.texi: Likewise.
44824 * manual/stdio.texi: Likewise.
44825 * manual/string.texi: Likewise.
44826 * manual/sysinfo.texi: Likewise.
44827 * manual/syslog.texi: Likewise.
44828 * manual/terminal.texi: Likewise.
44829 * manual/time.texi: Likewise.
44830 * manual/users.texi: Likewise.
44831 * INSTALL: Regenerated.
44832 * NOTES: Regenerated.
d40c5d54 44833 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 44834
450bf206
AS
448352012-02-28 Andreas Schwab <schwab@linux-m68k.org>
44836
44837 * include/dirent.h: Include <dirstream.h> before
44838 <dirent/dirent.h>.
44839
741a235b
DM
448402012-02-28 David S. Miller <davem@davemloft.net>
44841
44842 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
44843 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
44844 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
44845 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
44846
d6b5aa58
DM
448472012-02-27 David S. Miller <davem@davemloft.net>
44848
1aff59a3
DM
44849 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
44850 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
44851 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
44852 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
44853
d6b5aa58
DM
44854 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
44855 frame pointer instead of stack pointer relative arg slot.
44856 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
44857 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
44858 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
44859
433f48bf
CD
448602012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
44861
44862 [BZ #3992]
44863 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
44864
d674b76d
DM
448652012-02-27 David S. Miller <davem@davemloft.net>
44866
44867 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
44868 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
44869 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
44870 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
44871 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
44872 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
44873 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
44874 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
44875
0e7727f7
JM
448762012-02-27 Joseph Myers <joseph@codesourcery.com>
44877
44878 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
44879 later. Allow versions 5-9.
43be4ca2 44880 * configure: Regenerated.
0e7727f7
JM
44881 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
44882 required minimum version and 4.6 as recommended version. Do not
44883 mention bugs in GCC 2.7 and 2.8.
43be4ca2 44884 * INSTALL: Regenerated.
0e7727f7 44885
a78bc654
DM
448862012-02-27 David S. Miller <davem@davemloft.net>
44887
428d5830
DM
44888 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
44889 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
44890 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
44891 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
44892 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
44893 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
44894 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
44895 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
44896
a78bc654
DM
44897 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
44898 manipulate bits before adding and subtracting TWO112[sx].
44899 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
44900
4579f81c
RM
449012012-02-27 Roland McGrath <roland@hack.frob.com>
44902
36c8acb4
RM
44903 [BZ #13775]
44904 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
44905 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
44906 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
44907 being in POSIX, because they are in 1003.1-2008.
44908
84ad622b
RM
44909 * rt/tst-aio.c: Include <fcntl.h>.
44910 * rt/tst-aio7.c: Likewise.
44911 * rt/tst-aio64.c: Likewise.
44912
4579f81c
RM
44913 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
44914
abd923db
JM
449152012-02-27 Joseph Myers <joseph@codesourcery.com>
44916
44917 * manual/install.texi (--with-headers): Describe headers as
44918 interface headers, not private headers.
44919 (Specific advice for GNU/Linux systems): Describe use of headers
44920 from "make headers_install", not private headers from older
44921 kernels.
43be4ca2 44922 * INSTALL: Regenerated.
abd923db
JM
44923 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
44924 Change to 2.6.19.
44925 * sysdeps/unix/sysv/linux/configure: Regenerated.
44926
6664049b
JM
44927 * manual/llio.texi (fclean): Remove documentation.
44928
bb8b6697
JM
44929 * manual/Makefile (libc-texi-generated): New variable. Include
44930 version.texi.
44931 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
44932 $(libc-texi-generated), not duplicated list of files.
44933 (version.texi, stamp-version): New rules.
44934 (realclean): Remove $(libc-texi-generated), not individual files
44935 from that list. Do not remove dir-add.texinfo.
44936 * manual/libc.texinfo: Comment out uses of edition numbers and
44937 references to printed manual. Remove last-updated dates.
44938 (EDITION): Comment out.
44939 (ISBN): Likewise.
44940 (VERSION, UPDATED): Remove.
44941 (version.texi): Include.
44942
12e5c3b9
AS
449432012-02-27 Andreas Schwab <schwab@linux-m68k.org>
44944
44945 * sysdeps/posix/spawni.c: Include <signal.h>.
44946 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
44947 * sysdeps/pthread/aio_fsync.c: Likewise.
44948
4efeffc1 449492012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 44950
ba63ba08
UD
44951 * conform/Makefile (tests): Run only when not cross-compiling and
44952 when fast-check is not defined.
44953
d94a4670
UD
44954 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
44955 * conform/data/limits.h-data: Fixes for POSIX2008.
44956 * conform/run-conformtest.sh: Run all tests.
44957 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
44958 headers.
44959 * include/bits/dlfcn.h: Likewise.
44960 * include/langinfo.h: Likewise.
44961 * include/monetary.h: Likewise.
44962 * include/sys/poll.h: Likewise.
44963
44964 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
44965 for __USE_GNU.
44966 * posix/spawn.h: Define __need_sigset_t.
44967 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
44968 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
44969 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
44970 to get sigevent_t only.
44971 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
44972 only for __USE_GNU.
44973 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
44974 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
44975 process_vm_writev only for __USE_GNU.
44976 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
44977
44978 * conform/Makefile: For now ignore errors from run-conformtest.
44979 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
44980 POSIX to avoid namespace pollution. Don't prepend headers.
44981 * conform/data/aio.h-data: Fixes for POSIX testing.
44982 * conform/data/fcntl.h-data: Likewise.
44983 * conform/data/glob.h-data: Likewise.
44984 * conform/data/grp.h-data: Likewise.
44985 * conform/data/pthread.h-data: Likewise.
44986 * conform/data/pwd.h-data: Likewise.
44987 * conform/data/signal.h-data: Likewise.
44988 * conform/data/spawn.h-data: Likewise.
44989 * conform/data/stdio.h-data: Likewise.
44990 * conform/data/stdlib.h-data: Likewise.
44991 * conform/data/stropts.h-data: Likewise.
44992 * conform/data/sys/mman.h-data: Likewise.
44993 * conform/data/sys/stat.h-data: Likewise.
44994 * conform/data/sys/types.h-data: Likewise.
44995 * conform/data/sys/wait.h-data: Likewise.
44996 * conform/data/time.h-data: Likewise.
44997 * conform/data/unistd.h-data: Likewise.
44998 * conform/data/utime.h-data: Likewise.
44999
45000 * io/sys/stat.h: fchmod was always in POSIX.
45001 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
45002 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
45003 * rt/aio.h: Define __need_timespec before including <time.h>.
45004 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
45005 struct. Add forward declaration of pthread_attr_t and use it in
45006 sigevent.
45007 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
45008 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
45009 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
45010 always remove CLK_TCK definition.
45011
c20105c3
AS
450122012-02-26 Andreas Schwab <schwab@linux-m68k.org>
45013
45014 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
45015
7a270350
UD
450162012-02-25 Ulrich Drepper <drepper@gmail.com>
45017
31341567
UD
45018 * conform/run-conformtest.sh: New file.
45019 * conform/Makefile: Run run-conformtest for tests.
45020 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
45021 support.
45022
45023 * conform/data/uchar.h-data: New file.
45024 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
45025 * conform/data/arpa/inet.h-data: Likewise.
45026 * conform/data/assert.h-data: Likewise.
45027 * conform/data/complex.h-data: Likewise.
45028 * conform/data/cpio.h-data: Likewise.
45029 * conform/data/ctype.h-data: Likewise.
45030 * conform/data/dirent.h-data: Likewise.
45031 * conform/data/dlfcn.h-data: Likewise.
45032 * conform/data/errno.h-data: Likewise.
45033 * conform/data/fcntl.h-data: Likewise.
45034 * conform/data/float.h-data: Likewise.
45035 * conform/data/fmtmsg.h-data: Likewise.
45036 * conform/data/fnmatch.h-data: Likewise.
45037 * conform/data/ftw.h-data: Likewise.
45038 * conform/data/glob.h-data: Likewise.
45039 * conform/data/grp.h-data: Likewise.
45040 * conform/data/iconv.h-data: Likewise.
45041 * conform/data/inttypes.h-data: Likewise.
45042 * conform/data/langinfo.h-data: Likewise.
45043 * conform/data/libgen.h-data: Likewise.
45044 * conform/data/limits.h-data: Likewise.
45045 * conform/data/locale.h-data: Likewise.
45046 * conform/data/math.h-data: Likewise.
45047 * conform/data/monetary.h-data: Likewise.
45048 * conform/data/mqueue.h-data: Likewise.
45049 * conform/data/ndbm.h-data: Likewise.
45050 * conform/data/net/if.h-data: Likewise.
45051 * conform/data/netdb.h-data: Likewise.
45052 * conform/data/netinet/in.h-data: Likewise.
45053 * conform/data/nl_types.h-data: Likewise.
45054 * conform/data/poll.h-data: Likewise.
45055 * conform/data/pthread.h-data: Likewise.
45056 * conform/data/pwd.h-data: Likewise.
45057 * conform/data/regex.h-data: Likewise.
45058 * conform/data/sched.h-data: Likewise.
45059 * conform/data/search.h-data: Likewise.
45060 * conform/data/semaphore.h-data: Likewise.
45061 * conform/data/setjmp.h-data: Likewise.
45062 * conform/data/signal.h-data: Likewise.
45063 * conform/data/spawn.h-data: Likewise.
45064 * conform/data/stdarg.h-data: Likewise.
45065 * conform/data/stdio.h-data: Likewise.
45066 * conform/data/stdlib.h-data: Likewise.
45067 * conform/data/string.h-data: Likewise.
45068 * conform/data/strings.h-data: Likewise.
45069 * conform/data/stropts.h-data: Likewise.
45070 * conform/data/sys/ipc.h-data: Likewise.
45071 * conform/data/sys/mman.h-data: Likewise.
45072 * conform/data/sys/msg.h-data: Likewise.
45073 * conform/data/sys/resource.h-data: Likewise.
45074 * conform/data/sys/select.h-data: Likewise.
45075 * conform/data/sys/sem.h-data: Likewise.
45076 * conform/data/sys/shm.h-data: Likewise.
45077 * conform/data/sys/socket.h-data: Likewise.
45078 * conform/data/sys/stat.h-data: Likewise.
45079 * conform/data/sys/statvfs.h-data: Likewise.
45080 * conform/data/sys/time.h-data: Likewise.
45081 * conform/data/sys/timeb.h-data: Likewise.
45082 * conform/data/sys/times.h-data: Likewise.
45083 * conform/data/sys/types.h-data: Likewise.
45084 * conform/data/sys/uio.h-data: Likewise.
45085 * conform/data/sys/un.h-data: Likewise.
45086 * conform/data/sys/utsname.h-data: Likewise.
45087 * conform/data/sys/wait.h-data: Likewise.
45088 * conform/data/syslog.h-data: Likewise.
45089 * conform/data/tar.h-data: Likewise.
45090 * conform/data/termios.h-data: Likewise.
45091 * conform/data/utime.h-data: Likewise.
45092 * conform/data/utmpx.h-data: Likewise.
45093 * conform/data/varargs.h-data: Likewise.
45094 * conform/data/wchar.h-data: Likewise.
45095 * conform/data/wctype.h-data: Likewise.
45096 * conform/data/wordexp.h-data: Likewise.
45097
45098 * include/stropts.h: New file.
45099 * include/uchar.h: New file.
45100 * include/aio.h: Changes to allow conformtest.pl to use the headers.
45101 * include/assert.h: Likewise.
45102 * include/ctype.h: Likewise.
45103 * include/dirent.h: Likewise.
45104 * include/dlfcn.h: Likewise.
45105 * include/fcntl.h: Likewise.
45106 * include/fnmatch.h: Likewise.
45107 * include/glob.h: Likewise.
45108 * include/grp.h: Likewise.
45109 * include/libio.h: Likewise.
45110 * include/locale.h: Likewise.
45111 * include/math.h: Likewise.
45112 * include/net/if.h: Likewise.
45113 * include/netdb.h: Likewise.
45114 * include/netinet/in.h: Likewise.
45115 * include/pthread.h: Likewise.
45116 * include/pwd.h: Likewise.
45117 * include/regex.h: Likewise.
45118 * include/sched.h: Likewise.
45119 * include/search.h: Likewise.
45120 * include/setjmp.h: Likewise.
45121 * include/signal.h: Likewise.
45122 * include/stdio.h: Likewise.
45123 * include/stdlib.h: Likewise.
45124 * include/string.h: Likewise.
45125 * include/sys/cdefs.h: Likewise.
45126 * include/sys/mman.h: Likewise.
45127 * include/sys/msg.h: Likewise.
45128 * include/sys/resource.h: Likewise.
45129 * include/sys/select.h: Likewise.
45130 * include/sys/socket.h: Likewise.
45131 * include/sys/stat.h: Likewise.
45132 * include/sys/statvfs.h: Likewise.
45133 * include/sys/time.h: Likewise.
45134 * include/sys/times.h: Likewise.
45135 * include/sys/uio.h: Likewise.
45136 * include/sys/utsname.h: Likewise.
45137 * include/sys/wait.h: Likewise.
45138 * include/termios.h: Likewise.
45139 * include/time.h: Likewise.
45140 * include/ulimit.h: Likewise.
45141 * include/unistd.h: Likewise.
45142 * include/utime.h: Likewise.
45143 * include/wchar.h: Likewise.
45144 * include/wctype.h: Likewise.
45145 * include/wordexp.h: Likewise.
45146
45147 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
45148
7a270350
UD
45149 * time/time.h: TIME_UTC must be a macro.
45150 Make timespec_get available for ISO C11 only as well.
45151
7724defc
UD
451522012-02-24 Ulrich Drepper <drepper@gmail.com>
45153
45154 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
45155 Reported by Peng Haitao <penght@cn.fujitsu.com>.
45156
6b1d1d46
JM
451572012-02-24 Joseph Myers <joseph@codesourcery.com>
45158
45159 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 45160
0f8bbd69
JM
451612012-02-24 Joseph Myers <joseph@codesourcery.com>
45162
45163 * manual/texinfo.tex: Update to version 2012-01-19.16.
45164
66ab80bc
JM
451652012-02-24 Joseph Myers <joseph@codesourcery.com>
45166
45167 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
45168
74981cc5
RM
451692012-02-24 Roland McGrath <roland@hack.frob.com>
45170
ee968201
RM
45171 [BZ #13738]
45172 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
45173 * manual/fdl-1.3.texi: New file.
45174 * manual/fdl-1.1.texi: File removed.
45175
74981cc5
RM
45176 [BZ #13738]
45177 * manual/libc.texinfo (FDL_VERSION): New @set.
45178 Use it for mention of FDL in cover text.
45179 (Documentation License): Use it in @include file name.
45180
7bb764bc
JM
451812012-02-22 Joseph Myers <joseph@codesourcery.com>
45182 Roland McGrath <roland@hack.frob.com>
45183
45184 [BZ #5461]
57f41c40
AS
45185 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
45186 (not LONG_LONG_MAX and LONG_LONG_MIN.
7bb764bc
JM
45187 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
45188 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
45189 name.
45190 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
45191
6cbeae47
JM
451922012-02-22 Joseph Myers <joseph@codesourcery.com>
45193
45194 [BZ #2547]
45195 [BZ #11365]
45196 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
45197 manipulate bits before adding and subtracting TWO23[sx].
45198 * math/libm-test.inc (nearbyint_test): Add more tests.
45199
fe45ce09
JM
452002012-02-22 Joseph Myers <joseph@codesourcery.com>
45201
45202 [BZ #2548]
45203 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
45204 bits before adding and subtracting TWO23[sx].
45205 * math/libm-test.inc (rint_test): Add more tests.
45206 (rint_test_tonearest): Likewise.
45207 (rint_test_towardzero): Likewise.
45208 (rint_test_downward): Likewise.
45209 (rint_test_upward: Likewise.
45210
ff3b3d82
JM
452112012-02-22 Joseph Myers <joseph@codesourcery.com>
45212
45213 [BZ #10110]
45214 * include/stdc-predef.h: New file. Extracted from features.h.
45215 * include/features.h: Include stdc-predef.h.
45216 * Makefile (headers): Add stdc-predef.h.
45217 * CONFORMANCE (Compiler limitations): Update.
45218
ef0aab35
JM
452192012-02-22 Joseph Myers <joseph@codesourcery.com>
45220
45221 * manual/libc.texinfo (VERSION, UPDATED): Revert.
45222
58639409
DM
452232012-02-21 David S. Miller <davem@davemloft.net>
45224
45225 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
45226 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
45227
c0e70b25
DM
452282012-02-20 David S. Miller <davem@davemloft.net>
45229
45230 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
45231 using a normal save/restore sequence, rather than allocating a
45232 dummy stack frame just to store a frame pointer and restore.
45233 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
45234
fb06851d
JM
452352012-02-21 Joseph Myers <joseph@codesourcery.com>
45236
45237 * manual/install.texi: Fix stray word in line-wrapped comment.
45238
7a8b71c3
DM
452392012-02-20 David S. Miller <davem@davemloft.net>
45240
d510c123
DM
45241 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
45242 both binutils and gcc support GOTDATA.
45243
0722d7c2
DM
45244 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
45245 "rd %pc" in the PIC register setup sequences.
45246
3d2b3019
DM
45247 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
45248 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
45249 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
45250 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
45251 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
45252 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
45253 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
45254 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
45255 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
45256 (SYSCALL_ERROR_HANDLER): Likewise.
45257 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
45258 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
45259 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
45260 (SYSCALL_ERROR_HANDLER): Likewise.
45261
c80098a9
DM
45262 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
45263 (HAVE_GCC_GOTDATA): New.
45264 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
45265 relocation support in both binutils and gcc.
45266 * sysdeps/sparc/elf/configure: Regenerate.
45267
3a2545a0
DM
45268 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
45269 * sysdeps/sparc/sparc32/elf/configure: Delete.
45270 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
45271 * sysdeps/sparc/sparc64/elf/configure: Delete.
45272 * sysdeps/sparc/elf/configure.in: New file.
45273 * sysdeps/sparc/elf/configure: Generate.
45274
7a8b71c3
DM
45275 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
45276 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
45277 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
45278 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
45279 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
45280
f1e86fca
JM
452812012-02-21 Joseph Myers <joseph@codesourcery.com>
45282
45283 * manual/install.texi: Do not mention specific glibc version
45284 numbers.
45285 * manual/libc.texinfo (VERSION, UPDATED): Update.
45286 (@copying): Use @copyright{} and range of years.
45287
0e7dfaef
JM
452882012-02-21 Joseph Myers <joseph@codesourcery.com>
45289
45290 [BZ #13695]
45291 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
45292 [crti.S not in sysdirs] (generated): Do not append.
45293 [crti.S not in sysdirs] (omit-deps): Likewise.
45294 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
45295 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
45296 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
45297 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
45298 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
45299 Likewise.
45300 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
45301 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
45302 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
45303 * csu/defs.awk: Remove file.
45304 * sysdeps/generic/initfini.c: Likewise.
45305 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
45306 variable.
45307 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
45308 Likewise.
45309
599af3ca
JM
453102012-02-20 Joseph Myers <joseph@codesourcery.com>
45311
45312 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
45313 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
45314 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
45315 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
45316 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
45317 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
45318 <bits/epoll.h>.
45319 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
45320 (__EPOLL_PACKED): Define to empty if not defined by
45321 <bits/epoll.h>.
45322 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
45323 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
45324 bits/epoll.h.
45325
0e499750
JM
453262012-02-20 Joseph Myers <joseph@codesourcery.com>
45327
45328 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
45329 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
45330 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
45331 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
45332 <bits/timerfd.h>.
45333 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
45334 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
45335 bits/timerfd.h.
45336
5ad91f6e
JM
453372012-02-20 Joseph Myers <joseph@codesourcery.com>
45338
45339 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
45340 in C locale.
45341 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
45342 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
45343 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
45344 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45345
06b99b02
AJ
453462012-02-20 Aurelien Jarno <aurelien@aurel32.net>
45347
45348 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
45349 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
45350
7638c0fd
AS
453512012-02-19 Andreas Schwab <schwab@linux-m68k.org>
45352
45353 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
45354 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
45355 defined.
45356 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
45357 Likewise.
45358 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
45359 entry for 2.16.
45360
92221550
AJ
453612012-02-19 Aurelien Jarno <aurelien@aurel32.net>
45362
45363 * math/w_acos.c: Use non-signaling floating-point comparisons.
45364 * math/w_acosf.c: Likewise.
45365 * math/w_acosh.c: Likewise.
45366 * math/w_acoshf.c: Likewise.
45367 * math/w_acoshl.c: Likewise.
45368 * math/w_acosl.c: Likewise.
45369 * math/w_asin.c: Likewise.
45370 * math/w_asinf.c: Likewise.
45371 * math/w_asinl.c: Likewise.
45372 * math/w_atanh.c: Likewise.
45373 * math/w_atanhf.c: Likewise.
45374 * math/w_atanhl.c: Likewise.
45375 * math/w_exp2.c: Likewise.
45376 * math/w_exp2f.c: Likewise.
45377 * math/w_exp2l.c: Likewise.
45378 * math/w_j0.c: Likewise.
45379 * math/w_j0f.c: Likewise.
45380 * math/w_j0l.c: Likewise.
45381 * math/w_j1.c: Likewise.
45382 * math/w_j1f.c: Likewise.
45383 * math/w_j1l.c: Likewise.
45384 * math/w_jn.c: Likewise.
45385 * math/w_jnf.c: Likewise.
45386 * math/w_log.c: Likewise.
45387 * math/w_log10.c: Likewise.
45388 * math/w_log10f.c: Likewise.
45389 * math/w_log10l.c: Likewise.
45390 * math/w_log2.c: Likewise.
45391 * math/w_log2f.c: Likewise.
45392 * math/w_log2l.c: Likewise.
45393 * math/w_logf.c: Likewise.
45394 * math/w_logl.c: Likewise.
45395 * math/w_sqrt.c: Likewise.
45396 * math/w_sqrtf.c: Likewise.
45397 * math/w_sqrtl.c: Likewise.
45398 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
45399 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
45400 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
45401 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
45402 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
45403
ebaf36eb
JM
454042012-02-19 Joseph Myers <joseph@codesourcery.com>
45405
45406 [BZ #9739]
45407 * manual/string.texi (strnlen): Use correct parameter name in
45408 equivalent expression.
45409
71c254a6
JM
454102012-02-19 Joseph Myers <joseph@codesourcery.com>
45411
45412 [BZ #11174]
45413 * manual/users.texi (seteuid): Consistently use neweuid for
45414 argument name.
45415
16d2c631
JM
454162012-02-19 Joseph Myers <joseph@codesourcery.com>
45417
45418 [BZ #13704]
45419 * manual/nss.texi (Services in the NSS configuration): Correct
45420 list of services in example configuration file.
45421
cd837b09
NB
454222012-02-19 Nick Bowler <nbowler@draconx.ca>
45423
45424 [BZ #11322]
45425 * manual/arith.texi: Remove statements about negative zero
45426 behaving identically to zero.
45427
02c4bbad
JM
454282012-02-18 Joseph Myers <joseph@codesourcery.com>
45429
45430 [BZ #5993]
45431 * manual/install.texi: Do not document upgrading from libc5.
45432
366842e7
JM
454332012-02-18 Joseph Myers <joseph@codesourcery.com>
45434
45435 [BZ #4596]
45436 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
45437
dd54084d
DM
454382012-02-18 David S. Miller <davem@davemloft.net>
45439
45440 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
45441 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
45442 %o7 across the call.
45443 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
45444 instead.
45445 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
45446 SETUP_PIC_REG_LEAF.
45447 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
45448 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
45449 * sysdeps/sparc/crtn.S: Likewise.
45450
2bcc53a3
UD
454512012-02-17 Ulrich Drepper <drepper@gmail.com>
45452
45453 * aout/Makefile: Remove.
45454
09c093b5
RK
454552012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
45456
45457 [BZ #13058]
45458 * manual/examples/argp-ex1.c (main): Format definition in GNU
45459 style.
45460 * manual/examples/argp-ex2.c (main): Likewise.
45461 * manual/examples/argp-ex3.c (main): Likewise.
45462 * manual/examples/argp-ex4.c (main): Likewise.
45463 * manual/examples/longopt.c (main): Use new-style prototype
45464 definition.
45465 * manual/examples/strncat.c (main): Specify return type and use
45466 (void) for arguments.
45467 * manual/examples/subopt.c (main): Use char **argv argument.
45468
2ee633a2
JM
454692012-02-17 Joseph Myers <joseph@codesourcery.com>
45470
45471 [BZ #5077]
45472 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
45473 rounding modes.
45474
0520adde
FB
454752012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
45476
45477 [BZ #6907]
45478 * manual/string.texi (strchr): Change when strchrnul is
45479 recommended.
45480
3f4081cd
DGM
454812012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
45482
45483 [BZ #174]
45484 * manual/locale.texi (setlocale): Document LOCPATH.
45485
d1b10e78
JM
454862012-02-17 Joseph Myers <joseph@codesourcery.com>
45487
45488 [BZ #10210]
45489 * manual/process.texi (execle): Move @dots{} before last argument.
45490
79c6869c
PB
454912012-02-17 Paul Bolle <pebolle@tiscali.nl>
45492
45493 [BZ #12047]
45494 * manual/charset.texi (Generic Charset Conversion): Fix typo
45495 (LC_TYPE -> LC_CTYPE).
45496
cc6e48bc
NB
454972012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
45498
45499 [BZ #5805]
45500 * manual/arith.texi (scalbn): Use @var{} on parameter names.
45501 (scalbnf): Likewise.
45502 (scalbnl): Likewise.
45503 (scalbln): Likewise.
45504 (scalblnf): Likewise.
45505 (scalblnl): Likewise.
45506 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
45507 (vwarnx): Likewise.
45508 (verr): Likewise.
45509 (verrx): Likewise.
45510 * manual/filesys.texi (telldir): Use braces around return type.
45511 * manual/llio.texi (mmap): Add space after comma.
45512 (mmap64): Likewise.
45513 * manual/math.texi (jn): Use @var{} on parameter names.
45514 (jnf): Likewise.
45515 (jnl): Likewise.
45516 (yn): Likewise.
45517 (ynf): Likewise.
45518 (ynl): Likewise.
45519 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
45520 line.
45521 * manual/resource.texi (ulimit): Use @dots{} instead of literal
45522 "...".
45523 (sched_get_priority_min): Remove semicolon on @deftypefun line.
45524 (sched_get_priority_max): Likewise.
45525 * manual/signal.texi (sigvec): Add space after comma.
45526 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
45527 names.
45528 (if_indextoname): Likewise.
45529 (if_freenameindex): Likewise.
45530 (sendto): Use ',' instead of '.' in prototype.
45531 * manual/startup.texi (syscall): Use @dots{} instead of literal
45532 "...".
45533 * manual/stdio.texi (__fpending): Separate initial words of
45534 paragraph from @deftypefun line.
45535 * manual/syslog.texi (syslog): Use @dots{} instead of literal
45536 "...".
45537 (vsyslog): Use @var{} on parameter names.
45538 * manual/terminal.texi (stty): Use @var{} on parameter names.
45539 * manual/users.texi (getutmp): Use @var{} on parameter names.
45540 (getutmpx): Likewise.
45541
5b23062f
JM
455422012-02-17 Joseph Myers <joseph@codesourcery.com>
45543
45544 [BZ #6884]
45545 * manual/stdio.texi (fopen): Fix typos in description of
45546 ",ccs=STRING".
45547
8dee4833
AJ
455482012-02-17 Aurelien Jarno <aurelien@aurel32.net>
45549
45550 [BZ #4026]
45551 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
45552 get clock_id definition.
45553
9078ce93
TS
455542012-02-17 Thomas Schwinge <thomas@schwinge.name>
45555
45556 [BZ #4822]
45557 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
45558 (madvise): Cast every argument to void on its own.
45559
3835c55f
JM
455602012-02-17 Joseph Myers <joseph@codesourcery.com>
45561
45562 [BZ #9902]
45563 * manual/startup.texi (Exit Status): Fix typo.
45564
35c47e37
JM
455652012-02-17 Joseph Myers <joseph@codesourcery.com>
45566
45567 [BZ #10140]
45568 * manual/examples/argp-ex1.c: Include <stdlib.h>.
45569 * manual/examples/argp-ex2.c: Likewise.
45570 * manual/examples/argp-ex3.c: Likewise.
45571
e3b69ca7
RH
455722012-02-16 Richard Henderson <rth@redhat.com>
45573
45574 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
45575 * sysdeps/s390/s390-32/initfini.c: Remove.
45576 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
45577 * sysdeps/s390/s390-64/initfini.c: Remove.
45578
df83af67
KK
455792012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
45580
45581 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
45582 compiler output for sysdeps/generic/initfini.c.
45583 * sysdeps/sh/elf/initfini.c: Remove file.
45584
f63f3380
DM
455852012-02-16 David S. Miller <davem@davemloft.net>
45586
fb59b3a4
DM
45587 [BZ #11494]
45588 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
45589
f63f3380
DM
45590 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
45591 * sysdeps/sparc/crti.S: New file.
45592 * sysdeps/sparc/crtn.S: New file.
45593 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
45594 * sysdeps/sparc/sparc64/Makefile: Likewise.
45595
df6a4a4a
MF
455962012-02-15 Mike Frysinger <vapier@gentoo.org>
45597
6dd8f3dc 45598 [BZ #3335]
df6a4a4a
MF
45599 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
45600
1cac7236
RM
456012012-02-15 Roland McGrath <roland@hack.frob.com>
45602
d2c736f8
RM
45603 [BZ #4822]
45604 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
45605
1cac7236
RM
45606 * mach/devstream.c (cookie_io_functions_t): Macro removed.
45607 (write, read, close): Likewise.
45608 Patch by Aurelien Jarno <aurelien@aurel32.net>.
45609
8e475601
JM
456102012-02-15 Joseph Myers <joseph@codesourcery.com>
45611
45612 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
45613 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
45614 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
45615 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
45616 <bits/signalfd.h>.
45617 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
45618 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
45619 bits/signalfd.h.
45620
ed656b40
MP
456212012-02-14 Marek Polacek <polacek@redhat.com>
45622
45623 * sysdeps/x86_64/crti.S: New file.
45624 * sysdeps/x86_64/crtn.S: New file.
45625 * sysdeps/x86_64/elf/initfini.c: Remove file.
45626
2a979d3a
JM
456272012-02-13 Joseph Myers <joseph@codesourcery.com>
45628
45629 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
45630 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
45631 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
45632 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
45633 <bits/inotify.h>.
45634 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
45635 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
45636 bits/inotify.h.
45637
2a418ac3
JM
456382012-02-13 Joseph Myers <joseph@codesourcery.com>
45639
45640 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
45641 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
45642 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
45643 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
45644 <bits/eventfd.h>.
45645 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
45646 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
45647 bits/eventfd.h.
45648
fb779be7
TS
456492012-02-10 Thomas Schwinge <thomas@codesourcery.com>
45650
e19e83c5
RM
45651 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
45652 __feraiseexcept instead of feraiseexcept.
7c35ffed 45653
fb779be7
TS
45654 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
45655 nanosleep invocations.
45656 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
45657 strings, and add error checking for a nanosleep invocations.
45658
59ba27a6
PE
456592012-02-09 Paul Eggert <eggert@cs.ucla.edu>
45660
45661 Replace FSF snail mail address with URLs, as per GNU coding standards.
45662 Most of the snail mail addresses were wrong anyway, and omitting
45663 them makes the source code easier to maintain. Almost all of the
45664 changes are to license notices and to locale LC_IDENTIFICATION
45665 addresses, except for this one:
45666 * manual/libc.texinfo: In "Published by", give the FSF's URL,
45667 not its snail mail address.
45668
57b957eb
RH
456692012-02-09 Richard Henderson <rth@twiddle.net>
45670
af850b1c
RH
45671 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
45672 of kernel-features.h.
45673
57b957eb
RH
45674 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
45675
6b73181a
MP
456762012-02-08 Marek Polacek <polacek@redhat.com>
45677
45678 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
45679 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
45680 * sysdeps/gnu/_G_config.h: Likewise.
45681 * sysdeps/generic/_G_config.h: Likewise.
45682
26ecc33a
AS
456832012-02-08 Andreas Schwab <schwab@linux-m68k.org>
45684
6c6dbc63
AS
45685 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
45686 tests.
45687 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45688
e216c012
AS
45689 * sysdeps/powerpc/powerpc32/crti.S: New file.
45690 * sysdeps/powerpc/powerpc32/crtn.S: New file.
45691 * sysdeps/powerpc/powerpc64/crti.S: New file.
45692 * sysdeps/powerpc/powerpc64/crtn.S: New file.
45693
26ecc33a
AS
45694 * Makeconfig (have-initfini): Don't set.
45695 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
45696 * configure.in (nopic_initfini): Don't substitute.
45697 * config.h.in (HAVE_INITFINI): Don't #undef.
45698 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
45699 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
45700
3add8e13
JM
457012012-02-08 Joseph Myers <joseph@codesourcery.com>
45702
45703 Support crti.S and crtn.S provided directly by architectures.
45704 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
45705 [crti.S in sysdirs] (omit-deps): Likewise.
45706 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
45707 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
45708 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
45709 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
45710 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
45711 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
45712 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
45713 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
45714 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
45715 compiler output for sysdeps/generic/initfini.c.
45716 * sysdeps/i386/elf/Makefile: Remove file.
45717 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
45718
a22f12b4
MP
457192012-02-07 Marek Polacek <polacek@redhat.com>
45720
45721 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
45722 * sysdeps/gnu/_G_config.h: Likewise.
45723 * sysdeps/mach/hurd/_G_config.h: Likewise.
45724
148cf100
MP
457252012-02-07 Marek Polacek <polacek@redhat.com>
45726
45727 * math/Makefile (tests): Add tst-CMPLX2.
45728 * math/tst-CMPLX2.c: New file.
45729
cfdc0dd7
AS
457302012-02-07 Andreas Schwab <schwab@linux-m68k.org>
45731
84ba42c4
AS
45732 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
45733
cfdc0dd7
AS
45734 * math/libm-test.inc (jn_test): Add missing L suffix.
45735
622c86f4
MP
457362012-02-06 Marek Polacek <polacek@redhat.com>
45737
45738 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
45739 * sysdeps/i386/fpu/e_powf.S: Likewise.
45740 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
45741 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
45742 * sysdeps/i386/fpu/e_acosh.S: Likewise.
45743 * sysdeps/i386/fpu/e_pow.S: Likewise.
45744 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
45745 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
45746 * sysdeps/i386/fpu/s_expm1.S: Likewise.
45747 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
45748 * sysdeps/i386/fpu/e_log2.S: Likewise.
45749 * sysdeps/i386/fpu/e_log2l.S: Likewise.
45750 * sysdeps/i386/fpu/e_scalb.S: Likewise.
45751 * sysdeps/i386/fpu/e_powl.S: Likewise.
45752 * sysdeps/i386/fpu/s_log1p.S: Likewise.
45753 * sysdeps/i386/fpu/e_log10f.S: Likewise.
45754 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
45755 * sysdeps/i386/fpu/e_logl.S: Likewise.
45756 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
45757 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
45758 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
45759 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
45760 * sysdeps/i386/fpu/e_log2f.S: Likewise.
45761 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
45762 * sysdeps/i386/fpu/e_log.S: Likewise.
45763 * sysdeps/i386/fpu/s_cexp.S: Likewise.
45764 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
45765 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
45766 * sysdeps/i386/fpu/e_logf.S: Likewise.
45767 * sysdeps/i386/fpu/e_log10l.S: Likewise.
45768 * sysdeps/i386/fpu/e_atanh.S: Likewise.
45769 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
45770 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
45771 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
45772 * sysdeps/i386/fpu/e_log10.S: Likewise.
45773 * sysdeps/i386/fpu/s_frexp.S: Likewise.
45774 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
45775 * sysdeps/i386/fpu/s_asinh.S: Likewise.
45776 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
45777 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
45778 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
45779 * sysdeps/i386/asm-syntax.h: Likewise.
45780 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
45781 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
45782 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
45783 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
45784 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
45785 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
45786 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
45787 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
45788 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
45789 * sysdeps/powerpc/sysdep.h: Likewise.
45790 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
45791 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
45792
d4a54ac6
JM
457932012-02-06 Joseph Myers <joseph@codesourcery.com>
45794
45795 [BZ #411]
45796 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
45797
314054ea
JM
457982012-02-06 Joseph Myers <joseph@codesourcery.com>
45799
45800 * sysdeps/i386/sysdep.h: Include <features.h>.
45801 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
45802 version.
45803
d8e0ca50
JM
458042012-02-05 Joseph Myers <joseph@codesourcery.com>
45805
45806 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
45807 Define.
45808 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
45809 LOAD_PIC_REG_STR.
45810
b1da7dd9
JM
458112012-02-03 Joseph Myers <joseph@codesourcery.com>
45812
45813 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
45814 (SETUP_PIC_REG): Use GET_PC_THUNK.
45815 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
45816 macro.
45817
9a1d9254
JM
458182012-02-03 Joseph Myers <joseph@codesourcery.com>
45819
45820 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
45821 for non-PIC compilation.
45822 (SETUP_PIC_REG): Add .p2align directive.
45823 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
45824 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
45825 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
45826 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
45827 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
45828 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
45829 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
45830 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
45831 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
45832 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
45833 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
45834 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
45835 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
45836 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
45837 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
45838 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
45839 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
45840 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
45841 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
45842 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
45843 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
45844 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
45845 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
45846 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
45847 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
45848 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
45849 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
45850 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
45851 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
45852 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
45853 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
45854 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
45855 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
45856 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
45857 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
45858 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
45859 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
45860 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
45861 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
45862 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
45863 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
45864
65dc3b75
JM
458652012-02-03 Joseph Myers <joseph@codesourcery.com>
45866
45867 * math/tst-CMPLX.c: Include <stdio.h>.
45868
d55bf177
JM
458692012-01-31 Joseph Myers <joseph@codesourcery.com>
45870
45871 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
45872 float.
45873 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
45874 * sysdeps/sparc/bits/mathdef.h: Likewise.
45875
69db4f8f
MP
458762012-01-31 Marek Polacek <polacek@redhat.com>
45877
45878 * libio/libio.h: Don't define _PARAMS.
45879 * locale/programs/config.h: Don't define PARAMS.
45880 * stdlib/strtol_l.c: Likewise.
45881 (__strtol_l): Remove PARAMS from the prototype.
45882
41b81892
UD
458832012-01-31 Ulrich Drepper <drepper@gmail.com>
45884
3b49edc0
UD
45885 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
45886 names. Just use the correct names. Remove unnecessary wrapper
45887 functions.
45888 * malloc/arena.c: Likewise.
45889 * malloc/hooks.c: Likewise.
45890
41b81892
UD
45891 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
45892 ARENA_TEST says not to. Simplify test for creation of a new arena.
45893 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
45894
27a25b6e
UD
458952012-01-30 Ulrich Drepper <drepper@gmail.com>
45896
45897 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
45898 into tail calls.
45899 (update_get_addr): New function.
45900 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
45901 GET_ADDR_MODULE parameter.
45902
c8a89e7d
JM
459032012-01-30 Joseph Myers <joseph@codesourcery.com>
45904
45905 * crypt/cert.c: Remove __STDC__ conditionals.
45906 * crypt/crypt-entry.c: Likewise.
45907 * crypt/crypt_util.c: Likewise.
45908 * libio/filedoalloc.c: Likewise.
45909 * libio/fileops.c: Likewise.
45910 * libio/genops.c: Likewise.
45911 * libio/iofclose.c: Likewise.
45912 * libio/iofdopen.c: Likewise.
45913 * libio/iofopen.c: Likewise.
45914 * libio/iofopen64.c: Likewise.
45915 * libio/iogetdelim.c: Likewise.
45916 * libio/iopopen.c: Likewise.
45917 * libio/obprintf.c: Likewise.
45918 * libio/oldfileops.c: Likewise.
45919 * libio/oldiofclose.c: Likewise.
45920 * libio/oldiofdopen.c: Likewise.
45921 * libio/oldiofopen.c: Likewise.
45922 * libio/oldiopopen.c: Likewise.
45923 * libio/wfiledoalloc.c: Likewise.
45924 * libio/wgenops.c: Likewise.
45925 * locale/programs/xmalloc.c: Likewise.
45926 * misc/syslog.c: Likewise.
45927 * stdio-common/xbug.c: Likewise.
45928 * string/memchr.c: Likewise.
45929 * string/memcmp.c: Likewise.
45930 * string/memrchr.c: Likewise.
45931 * string/rawmemchr.c: Likewise.
45932 * sysdeps/posix/getcwd.c: Likewise.
45933 * time/strftime_l.c: Likewise.
45934
3b100462
JM
459352012-01-30 Joseph Myers <joseph@codesourcery.com>
45936
45937 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
45938 * config.make.in (config-cflags-sse2avx): Define.
45939 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
45940 Fix typo.
45941
607998af
CM
459422012-01-29 Chris Metcalf <cmetcalf@tilera.com>
45943
45944 * scripts/config.guess: Update from upstream config git repository.
45945 * scripts/config.sub: Likewise.
45946
3601428f
CM
459472012-01-28 Chris Metcalf <cmetcalf@tilera.com>
45948
3ac8b282
CM
45949 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
45950 (EM_NUM): Update.
45951 (R_TILEPRO_*, R_TILEGX_*): New macros.
45952
e034841e
CM
45953 * scripts/firstversions.awk: Fix bug in version range handling.
45954
540d7568
CM
45955 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
45956
3601428f
CM
45957 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
45958
463de862
CM
45959 * include/sys/epoll.h: New file.
45960 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
45961 libc_hidden_def.
45962
73139a76
UD
459632012-01-28 Ulrich Drepper <drepper@gmail.com>
45964
96bc5b45
UD
45965 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
45966 Avoid unnecessary __WORDSIZE == 64 test.
45967 (fmaxf): Use VEX format if possible.
45968 (fmax): Likewise.
45969 (fminf): Likewise.
45970 (fmin): Likewise.
45971
56f6f6a2
UD
45972 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
45973 * math/math_private.h: Remove libc_fegetround* and
45974 libc_fesetround*.
45975 * sysdeps/i386/configure.in: Check for -msse2avx.
45976 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
45977 also if SSE2AVX is defined.
45978 Remove libc_fegetround* and libc_fesetround*.
45979 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
45980 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
45981 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
45982 of HAS_YMM_USABLE.
45983 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
45984 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
45985 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
45986 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
45987 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
45988
73139a76
UD
45989 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
45990
d73f93a4
AZ
459912012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45992
45993 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
45994 size is not set.
45995 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
45996
6ee65ed6
UD
459972012-01-27 Ulrich Drepper <drepper@gmail.com>
45998
45999 [BZ #13618]
46000 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
46001 relocation.
46002 * Makeconfig (libm): Define.
46003 * elf/Makefile: Add rules to build and run tst-relsort1.
46004 * elf/tst-relsort1.c: New file.
46005 * elf/tst-relsort1mod1.c: New file.
46006 * elf/tst-relsort1mod2.c: New file.
46007
8db21882
JM
460082012-01-27 Joseph Myers <joseph@codesourcery.com>
46009
46010 * math/s_ldexp.c: Remove __STDC__ conditionals.
46011 * math/s_ldexpf.c: Likewise.
46012 * math/s_ldexpl.c: Likewise.
46013 * math/s_nextafter.c: Likewise.
46014 * math/s_nexttowardf.c: Likewise.
46015 * math/s_significand.c: Likewise.
46016 * math/s_significandf.c: Likewise.
46017 * math/s_significandl.c: Likewise.
46018 * math/w_jnl.c: Likewise.
46019 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
46020 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
46021 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
46022 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
46023 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
46024 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
46025 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
46026 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
46027 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
46028 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
46029 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
46030 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
46031 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
46032 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
46033 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
46034 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
46035 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
46036 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
46037 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
46038 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
46039 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
46040 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
46041 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
46042 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
46043 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
46044 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
46045 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
46046 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
46047 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
46048 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
46049 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
46050 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
46051 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
46052 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
46053 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
46054 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
46055 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
46056 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
46057 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
46058 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
46059 * sysdeps/ieee754/k_standard.c: Likewise.
46060 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
46061 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
46062 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
46063 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
46064 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
46065 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
46066 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
46067 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
46068 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
46069 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
46070 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
46071 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
46072 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
46073 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
46074 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
46075 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
46076 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
46077 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
46078 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
46079 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
46080 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
46081 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
46082 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
46083 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
46084 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
46085 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
46086 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
46087 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
46088 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
46089 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
46090 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
46091 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
46092 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
46093 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
46094 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
46095 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
46096 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
46097 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
46098 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
46099 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
46100 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
46101 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
46102 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
46103 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
46104 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
46105 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
46106 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
46107 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
46108 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
46109 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
46110 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
46111 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
46112 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
46113 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
46114 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
46115 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
46116 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
46117 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
46118 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
46119 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
46120 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
46121 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
46122 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
46123 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
46124 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
46125 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
46126 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
46127 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
46128 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
46129 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
46130 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
46131 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
46132 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
46133 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
46134 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
46135 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
46136 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
46137 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
46138 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
46139 * sysdeps/ieee754/s_matherr.c: Likewise.
46140 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
46141 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
46142 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
46143 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
46144
965a54a4
JM
461452012-01-26 Joseph Myers <joseph@codesourcery.com>
46146
46147 * crypt/md5.h: Remove __STDC__ conditionals.
46148 * libio/libioP.h: Likewise.
46149 * locale/programs/config.h: Likewise.
46150 * sysdeps/generic/sysdep.h: Likewise.
46151 * sysdeps/i386/asm-syntax.h: Likewise.
46152 * sysdeps/s390/asm-syntax.h: Likewise.
46153 * sysdeps/unix/sysdep.h: Likewise.
46154 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
46155 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
46156
7071ad79
JM
461572012-01-26 Joseph Myers <joseph@codesourcery.com>
46158
46159 * libio/libio.h: Remove __STDC__ conditionals.
46160 * malloc/obstack.h: Likewise.
46161 * math/complex.h: Likewise.
46162 * math/math.h: Likewise.
46163 * sysdeps/generic/_G_config.h: Likewise.
46164 * sysdeps/gnu/_G_config.h: Likewise.
46165 * sysdeps/mach/hurd/_G_config.h: Likewise.
46166 * sysdeps/powerpc/bits/mathdef.h: Likewise.
46167 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
46168 * sysdeps/sparc/bits/mathdef.h: Likewise.
46169
afc5ed09
UD
461702012-01-26 Ulrich Drepper <drepper@gmail.com>
46171
46172 [BZ #13583]
46173 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 46174 Clean up HAS_* macros.
afc5ed09 46175 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
46176 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
46177 possible.
46178 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
46179 HAS_AVX.
46180 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
46181 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
46182 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
46183 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
46184 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 46185
bdb6de1d
JM
461862012-01-25 Joseph Myers <joseph@codesourcery.com>
46187
46188 * elf/tst-unique3.cc (gets): Remove declaration.
46189 * elf/tst-unique3lib.cc (gets): Likewise.
46190 * elf/tst-unique3lib2.cc (gets): Likewise.
46191 * elf/tst-unique4.cc (gets): Likewise.
46192
b15549e6
UD
461932012-01-24 Ulrich Drepper <drepper@gmail.com>
46194
46195 * include/stdio.h: Add C++ protection. Add gets declarations and
46196 definitions.
46197 * debug/tst-chk1.c: Don't declare gets here.
46198 * stdio-common/tst-gets.c: Likewise.
46199
a037381f
JM
462002012-01-24 Joseph Myers <joseph@codesourcery.com>
46201
46202 * posix/glob: Remove directory.
46203
f1d4aa75
JM
462042012-01-24 Joseph Myers <joseph@codesourcery.com>
46205
46206 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
46207
81c0c964
PT
462082012-01-22 Pino Toscano <toscano.pino@tiscali.it>
46209
46210 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
46211 of the non-standard EPFNOSUPPORT.
46212
0ea698ae
ST
462132011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
46214
46215 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
46216 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
46217 ANYWHERE set to 1 only on KERN_NO_SPACE error.
46218
d220b117
UD
462192012-01-21 Ulrich Drepper <drepper@gmail.com>
46220
46221 * wcsmbs/uchar.h: Test __STDC_VERSION__.
46222
3e1aa84e
UD
462232012-01-20 Ulrich Drepper <drepper@gmail.com>
46224
46225 * nscd/aicache.c (addhstaiX): Do not cache negative results of
46226 transient errors.
46227 * nscd/grpcache.c (cache_addgr): Likewise.
46228 * nscd/hstcache.c (cache_addhst): Likewise.
46229 * nscd/initgrcache.c (addinitgroupsX): Likewise.
46230 * nscd/pwdcache.c (cache_addpw): Likewise.
46231 * nscd/servicescache.c (cache_addserv): Likewise.
46232
400aa020
UD
462332012-01-16 Ulrich Drepper <drepper@gmail.com>
46234
d77e7869
UD
46235 * malloc/malloc.c: Various cleanups.
46236 * malloc/hooks.c: Likewise.
46237
400aa020
UD
46238 * stdlib/Makefile (tests): Add bug-fmtmsg1.
46239 * stdlib/bug-fmtmsg1.c: New file.
46240
46241 * stdlib/fmtmsg.c (init): Add missing unlock.
46242 Patch by Peng Haitao <penght@cn.fujitsu.com>.
46243
e0a309cf
MP
462442012-01-12 Marek Polacek <polacek@redhat.com>
46245
46246 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
46247 and _GNU_SOURCE.
46248
929d11c7
WS
462492012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
46250
46251 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
46252 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
46253 macro to ensure uniqueness of label name.
46254 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
46255 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
46256
41d0e869
UD
462572012-01-11 Ulrich Drepper <drepper@gmail.com>
46258
0cc5ed3b
UD
46259 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
46260
41d0e869
UD
46261 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
46262 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
46263 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
46264 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
46265
a47a831a
UD
462662012-01-10 Ulrich Drepper <drepper@gmail.com>
46267
daa891c0
UD
46268 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
46269
46270 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
46271 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
46272 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
46273
e58ef0f2
UD
46274 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
46275
a47a831a 46276 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
46277 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
46278 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 46279 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
46280
46281 * math/bits/math-finite.h: Add ldexp support.
46282
a0bfc9c7
MP
462832012-01-10 Marek Polacek <polacek@redhat.com>
46284
46285 * locale/programs/localedef.h (show_archive_content): Add noreturn
46286 attribute.
46287
d6e97a1d
UD
462882012-01-09 Ulrich Drepper <drepper@gmail.com>
46289
46290 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
46291
d5835c26
UD
462922012-01-08 Ulrich Drepper <drepper@gmail.com>
46293
e5f484c6
UD
46294 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
46295
d5835c26
UD
46296 * io/Makefile (headers): Add bits/poll2.h.
46297
d1f741e9
WS
462982011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
46299
46300 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
46301 typo #include statement.
46302
ec09c1c4
UD
463032012-01-08 Ulrich Drepper <drepper@gmail.com>
46304
46305 * include/sys/cdefs.h: Define __attribute_alloc_size.
46306 * catgets/gencat.c: Add alloc_size attribute and apply consistently
46307 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
46308 * elf/pldd.c: Likewise.
46309 * iconv/iconv_charmap.c: Likewise.
46310 * iconv/iconvconfig.c: Likewise.
46311 * iconv/strtab.c: Likewise.
46312 * locale/programs/locale.c: Likewise.
46313 * locale/programs/localedef.h: Likewise.
46314 * locale/programs/simple-hash.c: Likewise.
46315 * nscd/nscd.h: Likewise.
46316 * nss/makedb.c: Likewise.
46317 * sysdeps/generic/ldconfig.h: Likewise.
46318 * locale/programs/localedef.c: Remove xmalloc prototype.
46319 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
46320
20b38e03
PP
463212012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
46322
46323 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
46324 appropriate.
46325
a0da5fe1
UD
463262012-01-08 Ulrich Drepper <drepper@gmail.com>
46327
1d5a644a 46328 * math/Makefile (tests): Add tst-CMPLX.
669704fd 46329 * math/tst-CMPLX.c: New file.
1d5a644a 46330
8784a6db
UD
46331 * math/complex.h (CMPLXL): Fix typo.
46332
d9a216c0
UD
46333 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
46334 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
46335 GLIBC_2.16.
46336 * debug/tst-chk1.c: Add poll and ppoll tests.
46337 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
46338 * include/sys/poll.h: Add hidden proto for ppoll.
46339 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
46340 * sysdeps/mach/hurd/ppoll.c: Likewise.
46341 * io/ppoll.c: Likewise.
46342 * debug/poll_chk.c: New file.
46343 * debug/ppoll_chk.c: New file.
46344 * include/bits/poll2.h: New file.
46345 * io/bits/poll2.h: New file.
46346
ac097f5c
UD
46347 [BZ #1350]
46348 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
46349
2119dcfa
UD
46350 * configure.in: static is always set to yes. Remove.
46351 * config.make.in: Don't set build-static.
46352 * Makeconfig: Remove use of build-static.
46353 * dlfcn/Makefile: Likewise.
46354 * elf/Makefile: Likewise.
46355 * math/Makefile: Likewise.
46356 * misc/Makefile: Likewise.
46357 * nptl/Makefile: Likewise.
46358 * sysdeps/mach/hurd/Makefile: Likewise.
46359
121766a9
UD
46360 * configure.in: PWD_P is not used anymore.
46361 * config.make.in: Remove PWD_P entry.
46362
51a1d39c 46363 * configure.in: Remove last remnants of RANLIB.
8720d066 46364 No need to check for signed size_t anymore.
215f4bdc
UD
46365 Don't set libc_commonpagesize and libc_relro_required here for Alpha
46366 and IA-64.
3857022a 46367 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
46368 * aclocal.m4: Likewise.
46369
d3ed7225
UD
46370 * wcsmbs/mbrtoc16.c: Implement using towc function.
46371 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
46372 * wcsmbs/wcsmbsload.c: Likewise.
46373 * iconv/gconv_simple.c: Likewise.
46374 * iconv/gconv_int.h: Likewise.
46375 * iconv/gconv_builtin.h: Likewise.
46376 * iconv/iconv_prog.c: Remove CHAR16 handling.
46377
46378 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
46379
46380 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
46381
a0da5fe1
UD
46382 * configure.in: Remove --with-elf and --enable-bounded options.
46383 Dont set base_machine for ia64. More non-ELF conditions removed.
46384 Remove testing and setting of leading underscore information.
46385 * config.make.in (build-bounded): Set to no.
46386 * config.h.in: Remove NO_UNDERSCORES entry.
46387 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
46388 them.
46389 * csu/start.c: Remove !NO_UNDERSCORE code.
46390 * locale/localeinfo.h: Likewise.
46391 * sysdeps/generic/machine-gmon.h: Likewise.
46392 * sysdeps/generic/sysdep.h: Likewise.
46393 * sysdeps/i386/sysdep.h: Likewise.
46394 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
46395 * sysdeps/mach/sysdep.h: Likewise.
46396 * sysdeps/s390/s390-32/sysdep.h: Likewise.
46397 * sysdeps/s390/s390-64/sysdep.h: Likewise.
46398 * sysdeps/sh/sysdep.h: Likewise.
46399 * sysdeps/sparc/sparc32/alloca.S: Likewise.
46400 * sysdeps/unix/i386/sysdep.S: Likewise.
46401 * sysdeps/unix/sparc/start.c: Likewise.
46402 * sysdeps/unix/sparc/sysdep.S: Likewise.
46403 * sysdeps/unix/sparc/sysdep.h: Likewise.
46404 * sysdeps/unix/start.c: Likewise.
46405 * sysdeps/unix/x86_64/sysdep.S: Likewise.
46406 * sysdeps/x86_64/sysdep.h: Likewise.
46407
df78418a
UD
464082012-01-07 Ulrich Drepper <drepper@gmail.com>
46409
a784e502
UD
46410 [BZ #13553]
46411 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
46412 for non-gcc.
46413 * argp/argp-fmtstream.h: Use const instead __const.
46414 * argp/argp.h: Likewise.
46415 * assert/assert.h: Likewise.
46416 * bits/fenv.h: Likewise.
46417 * bits/sched.h: Likewise.
46418 * bits/sigset.h: Likewise.
46419 * bits/sigthread.h: Likewise.
46420 * catgets/nl_types.h: Likewise.
46421 * conform/data/pthread.h-data: Likewise.
46422 * crypt/crypt-private.h: Likewise.
46423 * crypt/crypt.h: Likewise.
46424 * crypt/crypt_util.c: Likewise.
46425 * ctype/ctype.h: Likewise.
46426 * debug/execinfo.h: Likewise.
46427 * debug/mbsnrtowcs_chk.c: Likewise.
46428 * debug/mbsrtowcs_chk.c: Likewise.
46429 * debug/wcsnrtombs_chk.c: Likewise.
46430 * debug/wcsrtombs_chk.c: Likewise.
46431 * debug/wcstombs_chk.c: Likewise.
46432 * dirent/dirent.h: Likewise.
46433 * dlfcn/dlfcn.h: Likewise.
46434 * elf/neededtest4.c: Likewise.
46435 * grp/grp.h: Likewise.
46436 * gshadow/gshadow.h: Likewise.
46437 * iconv/gconv.h: Likewise.
46438 * iconv/gconv_int.h: Likewise.
46439 * iconv/gconv_simple.c: Likewise.
46440 * iconv/iconv.h: Likewise.
46441 * iconv/loop.c: Likewise.
46442 * iconv/skeleton.c: Likewise.
46443 * include/aio.h: Likewise.
46444 * include/aliases.h: Likewise.
46445 * include/argz.h: Likewise.
46446 * include/arpa/inet.h: Likewise.
46447 * include/assert.h: Likewise.
46448 * include/dirent.h: Likewise.
46449 * include/dlfcn.h: Likewise.
46450 * include/execinfo.h: Likewise.
46451 * include/fcntl.h: Likewise.
46452 * include/fenv.h: Likewise.
46453 * include/glob.h: Likewise.
46454 * include/grp.h: Likewise.
46455 * include/libintl.h: Likewise.
46456 * include/mntent.h: Likewise.
46457 * include/netdb.h: Likewise.
46458 * include/pwd.h: Likewise.
46459 * include/rpc/netdb.h: Likewise.
46460 * include/sched.h: Likewise.
46461 * include/search.h: Likewise.
46462 * include/shadow.h: Likewise.
46463 * include/signal.h: Likewise.
46464 * include/stdio.h: Likewise.
46465 * include/stdlib.h: Likewise.
46466 * include/string.h: Likewise.
46467 * include/sys/socket.h: Likewise.
46468 * include/sys/stat.h: Likewise.
46469 * include/sys/statfs.h: Likewise.
46470 * include/sys/statvfs.h: Likewise.
46471 * include/sys/syslog.h: Likewise.
46472 * include/sys/time.h: Likewise.
46473 * include/sys/uio.h: Likewise.
46474 * include/time.h: Likewise.
46475 * include/unistd.h: Likewise.
46476 * include/utmp.h: Likewise.
46477 * include/wchar.h: Likewise.
46478 * include/wctype.h: Likewise.
46479 * inet/aliases.h: Likewise.
46480 * inet/arpa/inet.h: Likewise.
46481 * inet/netinet/ether.h: Likewise.
46482 * inet/netinet/in.h: Likewise.
46483 * intl/libintl.h: Likewise.
46484 * io/bits/fcntl2.h: Likewise.
46485 * io/fcntl.h: Likewise.
46486 * io/ftw.h: Likewise.
46487 * io/sys/poll.h: Likewise.
46488 * io/sys/stat.h: Likewise.
46489 * io/sys/statfs.h: Likewise.
46490 * io/sys/statvfs.h: Likewise.
46491 * io/utime.h: Likewise.
46492 * libio/bits/stdio.h: Likewise.
46493 * libio/bits/stdio2.h: Likewise.
46494 * libio/libio.h: Likewise.
46495 * libio/libioP.h: Likewise.
46496 * libio/stdio.h: Likewise.
46497 * locale/lc-ctype.c: Likewise.
46498 * locale/locale.h: Likewise.
46499 * login/utmp.h: Likewise.
46500 * malloc/arena.c: Likewise.
46501 * malloc/malloc.c: Likewise.
46502 * malloc/malloc.h: Likewise.
46503 * malloc/mcheck.c: Likewise.
46504 * malloc/mtrace.c: Likewise.
46505 * math/bits/mathcalls.h: Likewise.
46506 * math/fenv.h: Likewise.
46507 * math/math_private.h: Likewise.
46508 * misc/bits/error.h: Likewise.
46509 * misc/bits/syslog.h: Likewise.
46510 * misc/err.h: Likewise.
46511 * misc/error.h: Likewise.
46512 * misc/fstab.h: Likewise.
46513 * misc/mntent.h: Likewise.
46514 * misc/regexp.h: Likewise.
46515 * misc/search.h: Likewise.
46516 * misc/sgtty.h: Likewise.
46517 * misc/sys/mman.h: Likewise.
46518 * misc/sys/syslog.h: Likewise.
46519 * misc/sys/uio.h: Likewise.
46520 * misc/sys/xattr.h: Likewise.
46521 * misc/ttyent.h: Likewise.
46522 * nis/rpcsvc/ypclnt.h: Likewise.
46523 * nss/nss.h: Likewise.
46524 * posix/bits/unistd.h: Likewise.
46525 * posix/fnmatch.h: Likewise.
46526 * posix/glob.h: Likewise.
46527 * posix/sched.h: Likewise.
46528 * posix/spawn.h: Likewise.
46529 * posix/sys/wait.h: Likewise.
46530 * posix/unistd.h: Likewise.
46531 * posix/wordexp.h: Likewise.
46532 * pwd/pwd.h: Likewise.
46533 * resolv/netdb.h: Likewise.
46534 * resource/sys/resource.h: Likewise.
46535 * rt/aio.h: Likewise.
46536 * rt/bits/mqueue2.h: Likewise.
46537 * rt/mqueue.h: Likewise.
46538 * shadow/shadow.h: Likewise.
46539 * signal/signal.h: Likewise.
46540 * socket/send.c: Likewise.
46541 * socket/sendto.c: Likewise.
46542 * socket/sys/socket.h: Likewise.
46543 * stdio-common/printf.h: Likewise.
46544 * stdlib/bits/stdlib.h: Likewise.
46545 * stdlib/fmtmsg.h: Likewise.
46546 * stdlib/monetary.h: Likewise.
46547 * stdlib/stdlib.h: Likewise.
46548 * stdlib/ucontext.h: Likewise.
46549 * streams/stropts.h: Likewise.
46550 * string/argz.h: Likewise.
46551 * string/bits/string2.h: Likewise.
46552 * string/string.h: Likewise.
46553 * string/strings.h: Likewise.
46554 * sunrpc/rpc/auth.h: Likewise.
46555 * sunrpc/rpc/auth_des.h: Likewise.
46556 * sunrpc/rpc/clnt.h: Likewise.
46557 * sunrpc/rpc/netdb.h: Likewise.
46558 * sunrpc/rpc/pmap_clnt.h: Likewise.
46559 * sunrpc/rpc/xdr.h: Likewise.
46560 * sysdeps/generic/inttypes.h: Likewise.
46561 * sysdeps/generic/net/if.h: Likewise.
46562 * sysdeps/generic/sys/swap.h: Likewise.
46563 * sysdeps/gnu/net/if.h: Likewise.
46564 * sysdeps/gnu/utmpx.h: Likewise.
46565 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
46566 * sysdeps/i386/i486/bits/string.h: Likewise.
46567 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
46568 * sysdeps/s390/bits/string.h: Likewise.
46569 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
46570 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
46571 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
46572 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
46573 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
46574 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
46575 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
46576 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
46577 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
46578 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
46579 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
46580 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
46581 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
46582 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
46583 * sysdeps/unix/sysv/linux/readv.c: Likewise.
46584 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
46585 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
46586 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
46587 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
46588 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
46589 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
46590 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
46591 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
46592 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
46593 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
46594 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
46595 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
46596 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
46597 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
46598 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
46599 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
46600 * sysvipc/sys/ipc.h: Likewise.
46601 * sysvipc/sys/msg.h: Likewise.
46602 * sysvipc/sys/sem.h: Likewise.
46603 * sysvipc/sys/shm.h: Likewise.
46604 * termios/termios.h: Likewise.
46605 * time/sys/time.h: Likewise.
46606 * time/time.h: Likewise.
46607 * wcsmbs/bits/wchar2.h: Likewise.
46608 * wcsmbs/uchar.h: Likewise.
46609 * wcsmbs/wchar.h: Likewise.
46610 * wctype/wctype.h: Likewise.
46611
0269750c
UD
46612 [BZ #13551]
46613 * Makeconfig: Remove all but ELF support including AIX support.
46614 * Makerules: Likewise.
46615 * config.h.in: Likewise.
46616 * config.make.in: Likewise.
46617 * configure: Likewise.
46618 * configure.in: Likewise.
46619 * csu/Makefile: Likewise.
46620 * csu/version.c: Likewise.
46621 * debug/Makefile: Likewise.
46622 * dlfcn/Makefile: Likewise.
46623 * elf/Makefile: Likewise.
46624 * extra-lib.mk: Likewise.
46625 * iconv/Makefile: Likewise.
46626 * include/libc-symbols.h: Likewise.
46627 * include/shlib-compat.h: Likewise.
46628 * resolv/Makefile: Likewise.
46629 * resolv/res_libc.c: Likewise.
46630 * rt/Makefile: Likewise.
46631 * sysdeps/i386/asm-syntax.h: Likewise.
46632 * sysdeps/i386/sysdep.h: Likewise.
46633 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
46634 * sysdeps/mach/sysdep.h: Likewise.
46635 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
46636 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
46637 * sysdeps/s390/asm-syntax.h: Likewise.
46638 * sysdeps/s390/s390-32/sysdep.h: Likewise.
46639 * sysdeps/s390/s390-64/sysdep.h: Likewise.
46640 * sysdeps/sh/sysdep.h: Likewise.
46641 * sysdeps/unix/sparc/sysdep.h: Likewise.
46642 * sysdeps/wordsize-32/divdi3.c: Likewise.
46643 * sysdeps/x86_64/sysdep.h: Likewise.
46644
00bbd29b
UD
46645 * argp/Versions: Remove _argp_unlock_xxx.
46646
46647 [BZ #13559]
46648 * abilist/ld.abilist: Update. Adjust for removal of tls option.
46649 * abilist/libBrokenLocale.abilist: Likewise.
46650 * abilist/libanl.abilist: Likewise.
46651 * abilist/libc.abilist: Likewise.
46652 * abilist/libcrypt.abilist: Likewise.
46653 * abilist/libdl.abilist: Likewise.
46654 * abilist/libm.abilist: Likewise.
46655 * abilist/libnsl.abilist: Likewise.
46656 * abilist/libpthread.abilist: Likewise.
46657 * abilist/libresolv.abilist: Likewise.
46658 * abilist/librt.abilist: Likewise.
46659 * abilist/libthread_db.abilist: Likewise.
46660 * abilist/libutil.abilist: Likewise.
46661 * abilist/libnss_db.abilist: New file.
46662
46663 * scripts/abilist.awk: Add support for indirect functions.
46664
a2693a0e
UD
46665 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
46666
3f05895f
UD
46667 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
46668
ecb6fb48
UD
46669 * shlib-versions: Remove entries for ports architectures.
46670
664f8cb9
UD
46671 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
46672 files in ports.
46673 * elf/stackguard-macros.h: Remove support for IA-64.
46674 * elf/tst-auditmod1.c: Likewise.
46675 * sysdeps/generic/ldsodefs.h: Likewise.
46676
7ae81d88
UD
46677 * sysdeps/unix/sysv/linux/configure.in: Ports should define
46678 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
46679 configure files.
46680
bdeba135
UD
46681 [BZ #13552]
46682 * configure.in: Remove --enable-omitfp support.
46683 * FAQ.in: Adjust.
46684 * config.make.in: Likewise.
46685 * Makeconfig: Likewise.
46686 * manual/install.texi: Likewise.
46687
d75a0a62
UD
46688 In case anyone cares, the IA-64 architecture could move to ports.
46689 * sysdeps/ia64/*: Removed.
46690 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 46691 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 46692
dcc9756b
UD
46693 [BZ #13555]
46694 * configure.in: Remove entries for unsupported architectures.
46695
d3761ebc 46696 [BZ #13533]
9954432e
UD
46697 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
46698 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
46699 routines.
46700 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
46701 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
46702 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
46703 fall back to using wcrtomb.
46704 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
46705 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
46706 renaming.
46707 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
46708 * wcsmbs/tst-c16c32-1.c: New file.
46709
46710 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
46711 local variable.
46712
c3a87236
UD
46713 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
46714
28926a1b
UD
46715 * elf/tst-unique3.cc: Add explicit declaration of gets.
46716 * elf/tst-unique3lib.cc: Likewise.
46717 * elf/tst-unique3lib2.cc: Likewise.
46718 * elf/tst-unique4.cc: Likewise.
46719
df78418a
UD
46720 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
46721
8ecd6b2a
JM
467222012-01-06 Joseph Myers <joseph@codesourcery.com>
46723
46724 [BZ #13566]
46725 * assert/assert.h (static_assert): Don't define for C++.
46726 * libio/stdio.h (gets): Do declare for C++ <= C++11.
46727 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
46728
9f115170
UD
467292012-01-03 Ulrich Drepper <drepper@gmail.com>
46730
5e0d0300
UD
46731 * iconv/loop.c (single loop): Fix assertion in storing of
46732 remaining bytes.
46733
9f115170
UD
46734 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
46735
81fb02b0
UD
467362012-01-01 Ulrich Drepper <drepper@gmail.com>
46737
46738 * posix/getconf.c: Update copyright year.
46739 * nss/getent.c: Likewise.
a316c1f6 46740 * nss/makedb.c: Likewise.
81fb02b0
UD
46741 * iconv/iconvconfig.c: Likewise.
46742 * iconv/iconv_prog.c: Likewise.
46743 * elf/ldconfig.c: Likewise.
a316c1f6
UD
46744 * elf/pldd.c: Likewise.
46745 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
46746 * catgets/gencat.c: Likewise.
46747 * csu/version.c: Likewise.
46748 * elf/ldd.bash.in: Likewise.
46749 * elf/sprof.c (print_version): Likewise.
46750 * locale/programs/locale.c: Likewise.
46751 * locale/programs/localedef.c: Likewise.
a316c1f6 46752 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
46753 * nscd/nscd.c (print_version): Likewise.
46754 * debug/xtrace.sh: Likewise.
46755 * malloc/memusage.sh: Likewise.
46756 * malloc/mtrace.pl: Likewise.
46757 * debug/catchsegv.sh: Likewise.
46758
2ba92745
JJ
467592011-12-30 Jakub Jelinek <jakub@redhat.com>
46760
46761 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
46762 pure attribute.
46763
dadebdae
UD
467642011-12-24 Ulrich Drepper <drepper@gmail.com>
46765
d3761ebc 46766 [BZ #13533]
db6af3eb
UD
46767 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
46768 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
46769 transformations.
46770 * iconv/gconv_int.h: Likewise.
46771 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
46772 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
46773 from libc for GLIBC_2.16.
46774 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
46775 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
46776 * wcsmbs/uchar.h: Really define mbstate_t.
46777 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
46778 * wcsmbs/c16rtomb.c: New file.
46779 * wcsmbs/mbrtoc16.c: New file.
46780 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
46781 for C/POSIX locale.
46782 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
46783 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
46784
dadebdae
UD
46785 * wcsmbs/wchar.h: Add missing __restrict.
46786
67371b56
UD
467872011-12-23 Ulrich Drepper <drepper@gmail.com>
46788
74033a25
UD
46789 [BZ #13532]
46790 * time/Makefile (routines): Add timespec_get.
46791 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
46792 * time/time.h: Define TIME_UTC and declare timespec_get. Define
46793 timespec for ISO C11.
46794 * time/timespec_get.c: New file.
46795 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
46796 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
46797
380d7e87
UD
46798 [BZ #13531]
46799 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
46800 * stdlib/stdlib.h: Declare aligned_alloc.
46801 * Versions.def: Add GLIBC_2.16 for libc.
46802 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
46803
4e9e7a35
UD
46804 [BZ 13527]
46805 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
46806 ISO C11.
46807
380d7e87 46808 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
46809 code.
46810
03a71829
UD
46811 [BZ #13528]
46812 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
46813
839e283e
UD
46814 [BZ #13529]
46815 * assert/assert.h (static_assert): Define.
46816
ce5294e2 46817 * version.h: Update for 2.16 development version.
90fa7312 46818
8d44e150 46819 [BZ #13526]
d7809905
UD
46820 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
46821 _ISOC11_SOURCE.
46822
c0da14cd
UD
46823 * version.h (RELEASE): Bump for 2.15 release.
46824 * include/features.h (__GLIBC_MINOR__): Bump to 15.
46825
530a3249
MP
46826 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
46827 Patch by Marek Polacek <mpolacek@redhat.com>.
46828
67371b56
UD
46829 * bits/byteswap.h: Protect long long constants with __extension__.
46830 * sysdeps/i386/bits/byteswap.h: Likewise.
46831 * sysdeps/ia64/bits/byteswap.h: Likewise.
46832 * sysdeps/s390/bits/byteswap.h: Likewise.
46833 * sysdeps/x86_64/bits/byteswap.h: Likewise.
46834
15db4de1
LD
468352011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46836
46837 [BZ #13540]
bbe315ea
LD
46838 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
46839 destination buffer.
15db4de1
LD
46840 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
46841
2b2596b1
MP
468422011-12-23 Marek Polacek <polacek@redhat.com>
46843
46844 * elf/dl-addr.c (determine_info): Add inline keyword.
46845 * elf/tst-auditmod4b.c (check_avx): Likewise.
46846 * elf/tst-auditmod6b.c (check_avx): Likewise.
46847 * elf/tst-auditmod6c.c (check_avx): Likewise.
46848 * elf/tst-auditmod7b.c (check_avx): Likewise.
46849
70c6c246
UD
468502011-12-23 Ulrich Drepper <drepper@gmail.com>
46851
46852 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
46853 !__SSE_MATH__.
46854
c044cf14
LD
468552011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46856
15db4de1 46857 [BZ #13540]
c044cf14
LD
46858 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
46859 processing for last bytes.
46860
6b13d9d9
BH
468612011-08-06 Bruno Haible <bruno@clisp.org>
46862
d455f537
BH
46863 [BZ #13061]
46864 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
46865 U+0385, not to U+1FEE.
46866
6b13d9d9
BH
46867 [BZ #13062]
46868 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
46869 entry for U+00A5 U+0301.
46870
db910efd
UD
468712011-12-22 Ulrich Drepper <drepper@gmail.com>
46872
27deeafc
UD
46873 [BZ #13166]
46874 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
46875 buffer for the output is too small.
46876
aed9d171
UD
46877 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
46878 optimization.
46879
db910efd
UD
46880 [BZ #13185]
46881 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
46882 SSE flags if possible.
46883
2bd779ae
LD
468842011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46885
e7f9dac3 46886 [BZ #13540]
2bd779ae
LD
46887 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
46888 processing for last bytes.
46889
154bfc16
JM
468902011-12-22 Joseph Myers <joseph@codesourcery.com>
46891
46892 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
46893 (syscall-list-default-options, syscall-list-default-condition)
46894 (syscall-list-includes): Define.
46895 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
46896 list of ABIs and options and #if conditions for each ABI. Do not
46897 handle common syscalls between ABIs specially.
46898 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
46899 Remove.
46900 (syscall-list-variants, syscall-list-32bit-options)
46901 (syscall-list-32bit-condition, syscall-list-64bit-options)
46902 (syscall-list-64bit-condition): Define.
46903 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
46904 (syscall-list-variants, syscall-list-32bit-options)
46905 (syscall-list-32bit-condition, syscall-list-64bit-options)
46906 (syscall-list-64bit-condition): Define.
46907 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
46908 Remove.
46909 (syscall-list-variants, syscall-list-32bit-options)
46910 (syscall-list-32bit-condition, syscall-list-64bit-options)
46911 (syscall-list-64bit-condition): Define.
46912 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
46913 Remove.
46914 (syscall-list-variants, syscall-list-32bit-options)
46915 (syscall-list-32bit-condition, syscall-list-64bit-options)
46916 (syscall-list-64bit-condition): Define.
46917
21eaf3a5
UD
469182011-12-22 Ulrich Drepper <drepper@gmail.com>
46919
16c6f992
UD
46920 * locale/iso-639.def: Add brx entry.
46921
41043168
UD
46922 [BZ #13328]
46923 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
46924 Proposed by Mariusz_Cukr <marcukr@op.pl>.
46925
21eaf3a5
UD
46926 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
46927 __feraiseexcept_renamed.
46928
e3a851a2
UD
469292011-12-21 Ulrich Drepper <drepper@gmail.com>
46930
4920765e
UD
46931 [BZ #13538]
46932 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
46933 EPOLLET with unsigned values.
46934 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
46935 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
46936
e3a851a2
UD
46937 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
46938 to large cancellation.
46939 * math/s_cacoshf.c: Likewise.
46940 * math/s_cacoshl.c: Likewise.
46941
b27e24b8
RK
469422011-11-18 Richard B. Kreckel <kreckel@ginac.de>
46943
46944 [BZ #13305]
aebefeee 46945 [BZ #12786]
b27e24b8
RK
46946 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
46947 * math/s_cacoshf.c: Likewise.
46948 * math/s_cacoshl.c: Likewise.
46949
ee190f67
UD
469502011-12-21 Ulrich Drepper <drepper@gmail.com>
46951
46952 [BZ #13439]
46953 * iconv/gconv.h: Define __GCONV_SWAP.
46954 * iconvdata/unicode.c: The swap bit must be stored in __flags.
46955 * iconvdata/utf-16.c: Likewise.
46956 * iconvdata/utf-32.c: Likewise.
46957
707f25df
AS
469582011-12-21 Andreas Schwab <schwab@linux-m68k.org>
46959
46960 [BZ #13524]
46961 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
46962 numerator after shifting it by one limb.
46963
d2daaa1e
RÁE
469642011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
46965
46966 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
46967 under [__USE_EXTERN_INLINES].
46968
a4647e72
UD
469692011-12-17 Ulrich Drepper <drepper@gmail.com>
46970
46971 [BZ #13446]
46972 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
46973
f0b264f1
AZ
469742011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46975
46976 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
46977 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
46978 optimized code.
46979 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
46980 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
46981 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
46982 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
46983 for strncasecmp/strncasecmp_l compilation.
46984 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
46985 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
46986
8ef4f244
MP
469872011-12-08 Marek Polacek <mpolacek@redhat.com>
46988
46989 [BZ #13484]
46990 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
46991 of __asm__.
46992
97ac2654
UD
469932011-12-17 Ulrich Drepper <drepper@gmail.com>
46994
46995 [BZ #13506]
46996 * time/tzfile.c (__tzfile_read): Check values from file header.
46997
91d2a845
WS
469982011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
46999
47000 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
47001 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
47002 * powerpc/powerpc32/dl-start.S: Likewise.
47003 * powerpc/powerpc32/elf/start.S: Likewise.
47004 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
47005 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
47006 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
47007 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
47008 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
47009 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
47010 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
47011 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
47012 * powerpc/powerpc32/fpu/s_round.S: Likewise.
47013 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
47014 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
47015 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
47016 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
47017 * powerpc/powerpc32/memset.S: Likewise.
47018 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
47019 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
47020 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
47021 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
47022 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
47023 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
47024 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
47025 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
47026 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
47027 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
47028 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
47029 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
47030 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
47031
a1267ba1
AZ
470322011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47033
47034 * math/libm-test.inc: Added more nearbyint tests.
47035 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
47036 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
47037 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
47038 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
47039
ad8ac1bd
RL
470402011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
47041
47042 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
47043 FD_CLOEXEC.
47044
1d3e4b61
UD
470452011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47046
47047 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
47048 Add wcscpy-ssse3 wcscpy-c.
47049 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
47050 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
47051 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
47052 * sysdeps/x86_64/wcschr.S: New file.
47053 * sysdeps/x86_64/wcsrchr.S: New file.
47054 * string/test-strcmp.c: Remove checking of wcscmp function for
47055 wrong alignments.
47056 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
47057 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
47058 wcsrchr-sse2 wcsrchr-c.
47059 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
47060 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
47061 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
47062 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
47063 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
47064 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
47065 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
47066 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
47067 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
47068 * wcsmbc/wcschr.c (WCSCHR): New macro.
47069
5b330a2d
UD
470702011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47071
47072 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
47073 * wcsmbs/test-wcsrchr.c: New file.
47074 * string/test-strrchr.c: Add wcsrchr support.
47075 (WIDE): New macro.
47076 * wcsmbs/test-wcscpy.c: New file.
47077 * string/test-strcpy.c: Add wcscpy support.
47078 (WIDE): New macro.
26428b7c 47079
f039c043
UD
470802011-12-10 Ulrich Drepper <drepper@gmail.com>
47081
47082 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
47083 the inner loop.
47084
850fb039
AS
470852011-12-06 Andreas Schwab <schwab@linux-m68k.org>
47086
47087 [BZ #13472]
47088 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
47089
4efbd5cb
UD
470902011-12-04 Ulrich Drepper <drepper@gmail.com>
47091
52ff5dd0 47092 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 47093 Minor optimizations.
52ff5dd0 47094
4efbd5cb
UD
47095 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
47096 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
47097 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
47098
8a426e12
UD
470992011-12-03 Ulrich Drepper <drepper@gmail.com>
47100
aff2453d
UD
47101 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
47102 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
47103 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
47104 for gcc to avoid warnings.
47105 * inet/Makefile (tests): Add tst-checks.
47106 * inet/tst-checks.c: New file.
47107
47108 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
47109 warning.
47110
47111 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
47112 __wmemcmp_sse2.
47113
47114 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
47115 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
47116
8a426e12
UD
47117 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
47118
9bea3473
UD
471192011-12-02 Ulrich Drepper <drepper@gmail.com>
47120
3a965496
UD
47121 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
47122 problem.
47123
9bea3473
UD
47124 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
47125
f101631b
UD
471262011-11-29 Joseph Myers <joseph@codesourcery.com>
47127
47128 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
47129 conditional on GCC version.
47130 (__arch_compare_and_exchange_val_8_acq)
47131 (__arch_compare_and_exchange_val_16_acq)
47132 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
47133 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
47134 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
47135
a98275aa
UD
471362011-12-02 Joseph Myers <joseph@codesourcery.com>
47137
47138 * sysdeps/sh/backtrace.c: New file.
47139
d4cc29a2
AS
471402011-12-02 Andreas Schwab <schwab@redhat.com>
47141
47142 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
47143 parenthesis.
47144
6257af2d
AS
471452011-12-01 Andreas Schwab <schwab@redhat.com>
47146
47147 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
47148 falling back to utime.
47149
b5f44c1a
AS
471502011-11-30 Andreas Schwab <schwab@redhat.com>
47151
47152 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
47153 expectations for float.
47154
f3a6cc0a
AS
471552011-11-29 Andreas Schwab <schwab@redhat.com>
47156
47157 * locale/weight.h (findidx): Add parameter len.
47158 * locale/weightwc.h (findidx): Likewise.
47159 * posix/fnmatch_loop.c (FCT): Adjust caller.
47160 * posix/regcomp.c (build_equiv_class): Likewise.
47161 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
47162 * posix/regexec.c (check_node_accept_bytes): Likewise.
47163 * string/strcoll_l.c (STRCOLL): Likewise.
47164 * string/strxfrm_l.c (STRXFRM): Likewise.
47165
9d65ea3a
UD
471662011-11-17 Ulrich Drepper <drepper@gmail.com>
47167
47168 * Makefile.in: Remove CVSOPT handling.
47169 * configure.in: Remove use of AC_REVISION.
47170 * iconvdata/Makefile (distribute): No need to filter out CVS.
47171 * scripts/list-sources.sh: Remove CVS, subversion and monotone
47172 handling.
47173
5583a086
AS
471742011-11-16 Andreas Schwab <schwab@redhat.com>
47175
47176 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
47177 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
47178 [USE_AS_STRNCASECMP_L]: Likewise.
47179 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
47180 NO_TLS_DIRECT_SEG_REFS.
47181 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
47182 Fix argument offsets for non-PIC.
47183 [USE_AS_STRNCASECMP_L]: Likewise.
47184 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
47185 NO_TLS_DIRECT_SEG_REFS.
47186
d62a8200
UD
471872011-11-15 Ulrich Drepper <drepper@gmail.com>
47188
9d65ea3a 47189 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
47190 O_CLOEXEC.
47191 * locale/loadlocale.c (_nl_load_locale): Likewise.
47192
09f93bd3
AS
471932011-11-15 Andreas Schwab <schwab@redhat.com>
47194
446514f9
AS
47195 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
47196 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
47197 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
47198 (SYSCALL_GETTIME): Set errno on error.
47199
09f93bd3
AS
47200 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
47201 count references to noai6ai_cached.
47202
312be3f9
UD
472032011-11-15 Ulrich Drepper <drepper@gmail.com>
47204
47205 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
47206
47207 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
47208 FD_CLOEXEC for /proc/self/maps.
47209
47210 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
47211 FD_CLOEXEC for /proc/meminfo.
47212
47213 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
47214 gai.conf.
47215
47216 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
47217 FD_CLOEXEC for given file.
47218
47219 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
47220
47221 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
47222 FD_CLOEXEC for /etc/hosts.
47223 (_gethtent): Likewise.
47224
47225 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
47226
47227 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
47228 cancellation and set FD_CLOEXEC for /etc/netgroup.
47229
47230 * nss/nss_files/files-key.c (search): Don't allow cancellation when
47231 reading /etc/publickey.
47232
47233 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
47234 allow cancellation when reading /etc/group.
47235
47236 * nss/nss_files/files-alias.c (internal_setent): Don't allow
47237 cancellation.
47238 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
47239
47240 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
47241 when using data file.
47242
47243 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
47244
47245 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
47246 (write_nis_obj): Use "c" and "e" in fopen.
47247
47248 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
47249
47250 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
47251
47252 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
47253
47254 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
47255
47256 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
47257 locale.alias.
47258
47259 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
47260
47261 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
47262
47263 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
47264
47265 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
47266 file parsing and set FD_CLOEXEC.
47267
82af0fa8
UD
472682011-11-14 Ulrich Drepper <drepper@gmail.com>
47269
47270 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
47271
a5fb313c
AS
472722011-11-14 Andreas Schwab <schwab@redhat.com>
47273
47274 * malloc/arena.c (arena_get2): Don't call reused_arena when
47275 _int_new_arena failed.
47276
6abf3465
UD
472772011-11-14 Ulrich Drepper <drepper@gmail.com>
47278
47279 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
47280 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
47281 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
47282 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
47283 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
47284 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
47285 to compile strcasecmp and strncasecmp.
47286 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
47287 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
47288
47289 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
47290
76e3966e
UD
472912011-11-13 Ulrich Drepper <drepper@gmail.com>
47292
47293 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
47294 locale-defines.sym to gen-as-const-headers.
47295 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
47296 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
47297 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
47298 to compile strcasecmp and strncasecmp.
47299 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
47300 strcasecmp_l and strncasecmp_l.
47301 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
47302 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
47303 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
47304 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
47305 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
47306 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
47307 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
47308 * sysdeps/i386/i686/multiarch/strncase.S: New file.
47309 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
47310 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
47311 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
47312
ab26144e
UD
473132011-11-12 Ulrich Drepper <drepper@gmail.com>
47314
7edb22ef
UD
47315 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
47316 result of SYSDEP_GETTIME_CPU to retval.
47317 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
47318 parameter list to macro. Remove trailing semicolon. Adjust users.
47319
9694fc44
UD
47320 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
47321 variable.
47322
8ad89ef8
UD
47323 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
47324 mantissa words.
47325 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
47326
0c822ef9
UD
47327 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
47328 from unused variable.
47329
874e0564
UD
47330 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
47331 DWARF definitions.
47332 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
47333 for assembling.
47334
3a2edc79
UD
47335 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
47336 over namespaces.
47337
f3c2577f
UD
47338 * sunrpc/rpc_prot.c (rejected): Fix case value.
47339
294ce126
UD
47340 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
47341 unsigned long long int to avoid warnings in shift.
47342
5e2b63c6
UD
47343 * posix/regex_internal.c (re_string_reconstruct): Actually use result
47344 of use of trans.
47345 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
47346 variable tmp.
47347
e7f4b08e
UD
47348 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
47349 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
47350 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
47351
ab26144e
UD
47352 * nis/nis_table.c (nis_list): Use variable of correct type for
47353 result of __follow_path call.
47354
8a6d5255
AZ
473552011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47356
47357 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
47358 of math functions ceil, trunc, floor, round, and sqrt, when
47359 avaliable on the platform.
47360 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
47361 name clash.
47362 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
47363 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
47364 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
47365
aaddc98c
MP
473662011-10-30 Marek Polacek <mpolacek@redhat.com>
47367
47368 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
47369 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
47370
95b7042b
RM
473712011-11-11 Roland McGrath <roland@hack.frob.com>
47372
47373 * include/unistd.h: Fix __readlink return type.
47374 Reported by Chris Metcalf <cmetcalf@tilera.com>.
47375
57769839
UD
473762011-11-11 Ulrich Drepper <drepper@gmail.com>
47377
47378 * stdlib/ucontext.h: Undo last change for makecontext.
47379
edc5984d
AS
473802011-11-11 Andreas Schwab <schwab@redhat.com>
47381
98591e58
AS
47382 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
47383
edc5984d
AS
47384 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
47385 * setjmp/setjmp.h: Mark functions as non-leaf.
47386 * setjmp/bits/setjmp2.h: Likewise.
47387 * stdlib/ucontext.h: Likewise.
47388
77cdc054
AS
473892011-11-10 Andreas Schwab <schwab@redhat.com>
47390
47391 * malloc/arena.c (_int_new_arena): Don't increment narenas.
47392 (reused_arena): Don't check arena limit.
47393 (arena_get2): Atomically check arena limit.
47394
fe72eebd
UD
473952011-11-08 Ulrich Drepper <drepper@gmail.com>
47396
5f078c32
UD
47397 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
47398 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
47399
fe72eebd
UD
47400 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
47401 instructions.
47402
ae1bc2fa
AS
474032011-11-07 Andreas Schwab <schwab@redhat.com>
47404
7583a88d
AS
47405 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
47406 handler when locking.
47407
ae1bc2fa
AS
47408 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
47409 Fix size of allocated buffer.
47410
10fb0bfa
AS
474112011-11-04 Andreas Schwab <schwab@redhat.com>
47412
998832a4
AS
47413 [BZ #10103]
47414 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
47415 declarations for long double functions.
47416 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
47417
10fb0bfa
AS
47418 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
47419
3d7ba52b
AS
474202011-11-03 Andreas Schwab <schwab@redhat.com>
47421
a9ae54a1
AS
47422 * nscd/nscd.c (main): Don't start AVC thread until credentials are
47423 installed.
47424
3d7ba52b
AS
47425 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
47426 is disabled.
47427
bc8db248
ST
474282011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
47429
47430 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
47431
45b96dd6
AS
474322011-11-01 Andreas Schwab <schwab@linux-m68k.org>
47433
647776f6
AS
47434 * include/alloca.h (stackinfo_alloca_round): Define.
47435 (extend_alloca): Use it.
47436 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
47437 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
47438 here.
47439
d91a8b93
AS
47440 * scripts/check-local-headers.sh: Ignore libaudit.h.
47441
45b96dd6
AS
47442 * nscd/Makefile (extra-objs): Make recursively expanded.
47443
432d41ce
UD
474442011-11-01 Ulrich Drepper <drepper@gmail.com>
47445
34372fc6
UD
47446 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
47447 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
47448
fadb59f8
UD
47449 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
47450 * posix/tst-rfc3484-2.c: Likewise.
47451 * posix/tst-rfc3484-3.c: Likewise.
47452
78239589
UD
47453 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
47454 process_vm_writev.
47455 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
47456 process_vm_writev.
47457 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
47458 process_vm_writev from libc using GLIBC_2.15 version.
47459
432d41ce
UD
47460 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
47461
02f9c6cf
PP
474622011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
47463
47464 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
47465 stack usage.
47466
3a2c0242
UD
474672011-10-31 Ulrich Drepper <drepper@gmail.com>
47468
f4ec4833
UD
47469 [BZ #13367]
47470 * nss/getent.c (initgroups_keys): Show error message in case no group
47471 names are given.
47472
3a2c0242
UD
47473 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
47474 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
47475 __bump_nl_timestamp.
47476 * nscd/connections (nscd_init): When host database is served open
47477 netlink socket and request notification about configuration changes.
47478 (main_loop_poll): Track netlink file descriptor and bump timestamp
47479 in case data becomes available.
47480 (main_loop_epoll): Likewise.
47481 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
47482 (database_pers_head): Add extra_data fileds.
47483 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
47484 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
47485 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
47486 Adjust caller.
47487 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
47488 in6ai data, call __free_in6ai.
47489 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
47490 Add -DHAVE_NETLINK.
47491 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
47492 interface information. Reuse previous data if netlink timestamp
47493 is not changed.
47494 (__bump_nl_timestamp): New function.
47495 (__free_in6ai): New function.
47496
636064eb
UD
474972011-10-30 Ulrich Drepper <drepper@gmail.com>
47498
47499 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
47500 close_not_cancel_no_status here.
47501 (__check_pf): Reorganize code a bit to not call close twice if OOM.
47502
9beb2334
UD
475032011-10-29 Ulrich Drepper <drepper@gmail.com>
47504
6ef76f3b
UD
47505 [BZ #13276]
47506 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
47507 return value.
47508
0ffc4f3e 47509 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
47510 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
47511 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
47512
cb95113e
UD
475132011-07-03 Andreas Jaeger <aj@suse.de>
47514
47515 [BZ #10709]
47516 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
47517 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
47518 * math/libm-test.inc (sin_test): Add test case.
47519
a1b560ff
UD
475202011-10-29 Ulrich Drepper <drepper@gmail.com>
47521
c9aaface
UD
47522 [BZ #13337]
47523 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
47524 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
47525
d272e7f1
UD
47526 * elf/chroot_canon.c (chroot_canon): Cleanups.
47527
1bc33071
UD
47528 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
47529
1760874d
TJ
47530 [BZ #13335]
47531 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
47532 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
47533
51d91b18
UD
47534 * string/test-strchr.c: Make usable for strchrnul testing.
47535 * string/test-strchrnul.c: New file.
47536 * string/Makefile (strop-tests): Add strchrnul.
47537
a1b560ff 47538 * po/it.po: Update from translation team.
b611fb81 47539 * po/es.po: Likewise.
a1b560ff 47540
a5b81e1f
UD
475412011-10-28 Ulrich Drepper <drepper@gmail.com>
47542
fd52bc6d
UD
47543 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
47544 the three constants needed as parameters. Drop the others.
47545 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
47546 __m128i_strloadu_tolower.
52e4b9eb
UD
47547 Create and initialize variable zero and use it in all the places
47548 where _mm_setzero_si128 was used.
fd52bc6d 47549
a5b81e1f
UD
47550 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
47551 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
47552 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
47553 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
47554 anymore.
47555 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
47556 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
47557 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
47558 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
47559 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
47560 __mpranred, __mptan.
47561 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
47562 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
47563 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
47564 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
47565 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
47566 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
47567 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
47568 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
47569 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
47570
b4343346
AS
475712011-10-28 Andreas Schwab <schwab@redhat.com>
47572
0c92d8a8
AS
47573 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
47574 redefine if SHARED.
47575 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
47576
b4343346
AS
47577 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
47578 wide char related routines to wcsmbs subdir.
47579
3871f58f
AS
475802011-10-27 Andreas Schwab <schwab@redhat.com>
47581
47582 [BZ #13344]
47583 * misc/sys/cdefs.h (__THROWNL): Define.
47584 * posix/unistd.h: Use __THREADNL instead of __THREAD
47585 for memory synchronization functions.
47586
94d44d9f
RM
475872011-10-26 Roland McGrath <roland@hack.frob.com>
47588
21b64b15 47589 [BZ #13349]
94d44d9f
RM
47590 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
47591 doesn't exist.
47592 * manual/stdio.texi (Obstack Streams): Node removed.
47593
f6ce9294
AS
475942011-10-26 Andreas Schwab <schwab@redhat.com>
47595
80479147
AS
47596 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
47597 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
47598 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
47599
f6ce9294
AS
47600 * math/math_private.h (math_force_eval): Allow non-addressable
47601 arguments.
47602 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
47603
618280a1
UD
476042011-10-25 Ulrich Drepper <drepper@gmail.com>
47605
e0016b11
UD
47606 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
47607 file is not needed.
47608
47609 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
47610 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
47611 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
47612 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
47613 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
47614 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
47615 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
47616 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
47617 Add AVX variants.
47618 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
47619 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
47620 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
47621 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
47622 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
47623 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
47624 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
47625 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
47626 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
47627 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
47628 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
47629 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
47630 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
47631 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
47632 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
47633 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
47634 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
47635 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
47636 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
47637
47638 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
47639 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
47640
618280a1
UD
47641 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
47642 place. Use VEX encoding when compiling for AVX.
47643
37822576
AS
476442011-10-25 Andreas Schwab <schwab@redhat.com>
47645
1f1e1947
AS
47646 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
47647 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
47648
37822576
AS
47649 * string/test-strchr.c (do_test): Don't generate NUL bytes.
47650
31ea014d
UD
476512011-10-25 Ulrich Drepper <drepper@gmail.com>
47652
d7826aa1 47653 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 47654 useless if() expression.
d7826aa1
UD
47655 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
47656 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
47657 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
47658 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
47659 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
47660 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
47661 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
47662 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
47663 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
47664 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
47665 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
47666 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
47667 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
47668 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
47669 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
47670 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
47671 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
47672 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
47673 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
47674
31ea014d
UD
47675 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
47676
16437fec
AS
476772011-10-25 Andreas Schwab <schwab@redhat.com>
47678
47679 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
47680 condition.
47681 * elf/dl-fini.c (_dl_sort_fini): Likewise.
47682
31d3cc00
UD
476832011-10-25 Ulrich Drepper <drepper@gmail.com>
47684
47685 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
47686 .text section. Avoid duplicate constants.
47687 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
47688 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
47689 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
47690 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
47691 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
47692 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
47693 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
47694 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
47695 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
47696 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
47697 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
47698 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
47699 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
47700 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
47701 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
47702 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
47703 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
47704 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
47705 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
47706 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
47707 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
47708 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
47709 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
47710 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
47711 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
47712 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
47713 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
47714 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
47715 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
47716 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
47717 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
47718 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
47719 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
47720 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
47721 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
47722 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
47723 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
47724 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
47725 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
47726 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
47727 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
47728 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
47729 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
47730 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
47731 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
47732
58985aa9
UD
477332011-10-24 Ulrich Drepper <drepper@gmail.com>
47734
202c9deb
UD
47735 * sysdeps/x86_64/dla.h: Move to ...
47736 * sysdeps/x86_64/fpu/dla.h: ...here.
47737 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
47738 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 47739
af968f62
UD
47740 * config.make.in: Add have-mfma4 entry.
47741 * configure.in: Substitute libc_cv_cc_fma4.
47742 * math/Makefile (dbl-only-routines): Add sincostab.
47743 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
47744 Use __sincostab not sincos.
47745 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
47746 name is a macro.
47747 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
47748 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
47749 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
47750 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
47751 using __copysign.
47752 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
47753 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
47754 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
47755 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
47756 and __inv.
47757 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
47758 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
47759 __copysign.
47760 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
47761 define aliases when function name is a macro.
47762 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
47763 sysdeps/ieee754/dbl-64/sincos.tbl.
47764 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
47765 fma4-enabled routines.
47766 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
47767 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
47768 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
47769 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
47770 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
47771 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
47772 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
47773 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
47774 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
47775 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
47776 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
47777 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
47778 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
47779 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
47780 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
47781 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
47782 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
47783 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
47784 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
47785 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
47786 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
47787 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
47788 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
47789 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
47790 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
47791 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
47792 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
47793 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
47794 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
47795 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
47796
58985aa9
UD
47797 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
47798 rename.
47799 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
47800 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
47801 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
47802 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
47803 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
47804 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
47805 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
47806 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
47807
a201fbcf
AS
478082011-10-24 Andreas Schwab <schwab@redhat.com>
47809
47810 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
47811
fc2ee42a
LD
478122011-10-23 Ulrich Drepper <drepper@gmail.com>
47813
bb3129bd
UD
47814 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
47815
0275fff8
UD
47816 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
47817 prediction.
47818 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
47819
2fa2ae85
UD
47820 * string/strnlen.c: Don't define STRNLEN, reverse logic.
47821 Remove unused variable magic_bits.
47822 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
47823
fc2ee42a
LD
47824 * string/strnlen.c: Define and use STRNLEN macro.
47825 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
47826 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
47827 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
47828 * wcsmbs/wcslen.c: Define and use WCSLEN.
47829 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
47830 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
47831 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
47832 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
47833 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
47834 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
47835 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
47836
ce7dd29f
LD
478372011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47838
47839 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
47840 strnlen-sse2-no-bsf.
47841 Rename strlen-no-bsf to strlen-sse2-no-bsf.
47842 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
47843 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
47844 Add strnlen support.
47845 (USE_AS_STRNLEN): New macro.
47846 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
47847 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
47848 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
47849 * sysdeps/x86_64/wcslen.S: New file.
47850
979c70a3
MZ
478512011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
47852
47853 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
47854 XMM-moves are used for copying on small sizes.
47855
2d09f82f
LD
478562011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47857
47858 * wcsmbs/Makefile (strop-tests): Add wcschr.
47859 * wcsmbs/test-wcschr.c: New file.
47860 * string/test-strchr.c: Update.
47861 Add wcschr support.
47862 (WIDE): New macro.
47863
619fccca
LD
478642011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47865
2d09f82f 47866 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
47867 * wcsmbs/test-wcslen.c: New file.
47868 * string/test-strlen.c: Update.
47869 Add wcslen support.
47870 (WIDE): New macro.
47871
09f699ea
UD
478722011-10-23 Ulrich Drepper <drepper@gmail.com>
47873
47874 * po/it.po: Update from translation team.
47875
95584d3b
LD
478762011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47877
47878 * sysdeps/x86_64/wcscmp.S: Update.
47879 Fix wrong comparison semantics.
47880 wcscmp shall use signed comparison not unsigned.
47881 Don't use substraction to avoid overflow bug.
47882 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
47883 * wcsmbc/wcscmp.c: Likewise.
47884 * string/test-strcmp.c: Likewise.
47885 Add new tests to check cases with negative values.
47886
c8b3296b
UD
478872011-10-23 Ulrich Drepper <drepper@gmail.com>
47888
47889 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
47890 * sysdeps/x86_64/dla.h: ...here. New file.
47891 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
47892 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
47893 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
47894 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
47895 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
47896 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
47897 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
47898 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
47899 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
47900
246ad57a
AS
479012011-10-23 Andreas Schwab <schwab@linux-m68k.org>
47902
47903 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
47904 __ynl_finite aliases.
47905
a1a87169
UD
479062011-10-22 Ulrich Drepper <drepper@gmail.com>
47907
0d355eb7
UD
47908 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
47909
a1a87169
UD
47910 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
47911 define DLA_FMA.
47912 [DLA_FMA] (EMULV): Use DLA_FMA.
47913 [DLA_FMA] (MUL12): Use EMULV.
47914 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
47915 that are not needed.
47916 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
47917 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
47918 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
47919 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
47920 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
47921 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
47922 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
47923
ee2aafe0
AS
479242011-10-22 Andreas Schwab <schwab@linux-m68k.org>
47925
47926 * math/s_nan.c: Undef __nan.
47927 * math/s_nanf.c: Undef __nanf.
47928 * math/s_nanl.c: Undef __nanl.
47929 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
47930 "math_private.h".
47931
bc62c2fb
UD
479322011-10-22 Ulrich Drepper <drepper@gmail.com>
47933
77425c63
UD
47934 * math/s_catan.c: Add branch predictions.
47935 * math/s_catanf.c: Likewise.
47936 * math/s_catanh.c: Likewise.
47937 * math/s_catanhf.c: Likewise.
47938 * math/s_catanhl.c: Likewise.
47939 * math/s_catanl.c: Likewise.
47940 * math/s_cexp.c: Likewise.
47941 * math/s_cexpf.c: Likewise.
47942 * math/s_cexpl.c: Likewise.
47943 * math/s_clog.c: Likewise.
47944 * math/s_clog10.c: Likewise.
47945 * math/s_clog10f.c: Likewise.
47946 * math/s_clog10l.c: Likewise.
47947 * math/s_clogf.c: Likewise.
47948 * math/s_clogl.c: Likewise.
47949 * math/s_csqrt.c: Likewise.
47950 * math/s_csqrtf.c: Likewise.
47951 * math/s_csqrtl.c: Likewise.
47952 * math/s_ctanf.c: Likewise.
47953 * math/s_ctanh.c: Likewise.
47954 * math/s_ctanhf.c: Likewise.
47955 * math/s_ctanhl.c: Likewise.
47956 * math/s_ctanl.c: Likewise.
47957
bc62c2fb
UD
47958 * math/math_private.h: Define __nan, __nanf, __nanl.
47959 * math/s_cacosh.c: Include <math_private.h>.
47960 * math/s_cacoshl.c: Likewise.
47961 * math/s_casinh.c: Likewise.
47962 * math/s_casinhf.c: Likewise.
47963 * math/s_casinhl.c: Likewise.
47964 * math/s_ccos.c: Rely entire on ccosh.
47965 * math/s_ccosf.c: Rely entire on ccoshf.
47966 * math/s_ccosl.c: Rely entirely on ccoshl.
47967 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
47968 Remove tests for FE_INVALID.
47969 * math/s_ccoshf.c: Likewise.
47970 * math/s_ccoshl.c: Likewise.
47971 * math/s_csin.c: Likewise.
47972 * math/s_csinf.c: Likewise.
47973 * math/s_csinh.c Likewise.
47974 * math/s_csinhf.c: Likewise.
47975 * math/s_csinhl.c: Likewise.
47976 * math/s_csinl.c: Likewise.
47977 * math/s_ctan.c: Likewise.
47978 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
47979 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
47980 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
47981
8ec250a4
UD
479822011-10-21 Ulrich Drepper <drepper@gmail.com>
47983
c196fed8
UD
47984 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
47985 compilation problems.
47986
8ec250a4
UD
47987 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
47988 __builtin_expect.
47989
8d4f46c6
UD
479902011-10-20 Ulrich Drepper <drepper@gmail.com>
47991
ed72b654
UD
47992 * sysdeps/i386/configure.in: Test for -mfma4 option.
47993 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
47994 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
47995 COMMON_CPUID_INDEX_80000001.
47996 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
47997 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
47998 use it if FMA3 is not supported.
47999 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
48000
8d4f46c6
UD
48001 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
48002 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
48003
d45c60c2
AS
480042011-10-20 Andreas Schwab <schwab@redhat.com>
48005
48006 [BZ #12892]
48007 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
48008 it would create a cycle with a link time dependency.
48009
d9a4d2ab
UD
480102011-10-19 Ulrich Drepper <drepper@gmail.com>
48011
855d1560
UD
48012 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
48013 instruction.
48014 * string/Makefile (strop-tests): Add rawmemchr.
48015 * string/test-rawmemchr.c: New file.
48016
d9a4d2ab
UD
48017 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
48018 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
48019 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
48020 when compiling str{,n}casecmp and when AVX is available. Hook up
48021 new optimized code in initializers.
48022
8f3b1ffe
AS
480232011-10-19 Andreas Schwab <schwab@redhat.com>
48024
48025 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
48026 __feraiseexcept instead of feraiseexcept.
48027
d38f1dba
UD
480282011-10-18 Ulrich Drepper <drepper@gmail.com>
48029
d9a8d0ab
UD
48030 * math/math_private.h: Define defaults for libc_fetestexcept and
48031 libc_feupdateenv.
48032 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
48033 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
48034 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
48035 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
48036 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
48037 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
48038 libc_fetestexcept and libc_feupdateenv.
48039
4855e3dd
UD
48040 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
48041 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
48042 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
48043 * sysdeps/x86_64/fpu/math_private.h: Define special version of
48044 libc_feholdexcept_setround.
48045
581d30e3
UD
48046 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
48047 Add s_nearbyint-c and s_nearbyintf-c.
48048 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
48049 nearbyintf inlines.
48050 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
48051 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
48052 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
48053 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
48054
d38f1dba
UD
48055 * math/math_private.h: Define defaults for libc_fegetround,
48056 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
48057 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
48058 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
48059 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
48060 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
48061 standard functions.
48062 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
48063 Remove comments and hacks for old compiler versions.
48064 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
48065 libc_fegetround, libc_fesetround, libc_feholdexcept, and
48066 libc_feholdexceptl.
48067
caa6c9d8
AS
480682011-10-18 Andreas Schwab <schwab@redhat.com>
48069
48070 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
48071 (__feraiseexcept_renamed): Add __NTH.
48072 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
48073 namespace violations.
48074
97c066e6
UD
480752011-10-17 Ulrich Drepper <drepper@gmail.com>
48076
99ce7b04
UD
48077 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
48078
1004d182
UD
48079 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
48080
228a984d
UD
48081 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
48082 recently added interfaces.
48083 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
48084
c8553a6a
UD
48085 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
48086 about macro parameter expansion.
48087
ed22dcf6
UD
48088 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
48089 __NO_MATH_INLINES is defined. Cleanups.
48090
48091 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
48092 and __floorf is target has SSE4.1.
48093 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
48094 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
48095 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
48096 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
48097
b171c137
UD
48098 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
48099 name.
48100 (floorf): Likewise.
48101
97c066e6
UD
48102 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
48103
629f62ef
AS
481042011-10-17 Andreas Schwab <schwab@redhat.com>
48105
49a43d80
AS
48106 * misc/sys/cdefs.h: Fix last change.
48107
629f62ef
AS
48108 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
48109 database lookup.
48110
e453f6cd
UD
481112011-10-16 Ulrich Drepper <drepper@gmail.com>
48112
aa78043a
UD
48113 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
48114
ad0f5cad
UD
48115 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
48116 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
48117 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
48118 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
48119 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
48120 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
48121 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
48122 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
48123 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
48124 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
48125 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
48126 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
48127 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
48128 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
48129 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
48130 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
48131 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
48132 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
48133 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
48134 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
48135 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
48136 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
48137
48138 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
48139 ceil, ceilf, floor, floorf.
48140
48141 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
48142 Perform IRELATIVE relocations last.
48143
e453f6cd
UD
48144 * elf/do-rel.h: Add another parameter nrelative, replacing the
48145 local variable with the same name. Change name of the function
48146 to end in Rel or Rela (uppercase).
48147 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
48148 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
48149 elf_dynamic_do_##reloc function.
48150
fd5bdc09
UD
481512011-10-15 Ulrich Drepper <drepper@gmail.com>
48152
79b195b5
UD
48153 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
48154 is sufficient, at least on modern CPUs.
48155
d4a28569
UD
48156 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
48157
b61099b5
UD
48158 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
48159 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
48160
bcf01e6d
UD
48161 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
48162 __expl_finite.
48163 * math/bits/math-finite.h: Add entries for exp.
48164 * math/e_expl.c: Add __*_finite alias.
48165 * sysdeps/i386/fpu/e_exp.S: Likewise.
48166 * sysdeps/i386/fpu/e_expf.S: Likewise.
48167 * sysdeps/i386/fpu/e_expl.c: Likewise.
48168 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
48169 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
48170 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
48171 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
48172 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
48173 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
48174 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
48175
ba1a0d59
UD
48176 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
48177 is sufficient, at least on modern CPUs.
48178
fd5bdc09
UD
48179 * ctype/ctype-info.c (__ctype_init): Define.
48180 * include/ctype.h (__ctype_init): Declare.
48181 (__ctype_b_loc): The variable is always initialized.
48182 (__ctype_toupper_loc): Likewise.
48183 (__ctype_tolower_loc): Likewise.
48184 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
48185 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
48186
7872cfb0
AS
481872011-10-15 Andreas Schwab <schwab@linux-m68k.org>
48188
b468825a
AS
48189 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
48190
7872cfb0
AS
48191 * configure.in: Also look in $cxxmachine/include for C++ system
48192 headers.
48193
be13f7bf
LD
481942011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
48195
48196 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
48197 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
48198 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
48199 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
48200 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
48201 (USE_AS_WMEMCMP): New macro.
48202 Fixing indents.
48203 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
48204 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
48205 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
48206 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
48207 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
48208 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
48209 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
48210 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
48211 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
48212 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
48213 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
48214 (USE_AS_WMEMCMP): New macro.
48215 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
48216 * sysdeps/string/test-memcmp.c: Update.
48217 Fix simple_wmemcmp.
48218 Add new tests.
48219 * wcsmbs/wmemcmp.c: Update.
48220 (WMEMCMP): New macro.
48221 Fix overflow bug.
48222
556a2007
AJ
482232011-10-12 Andreas Jaeger <aj@suse.de>
48224
48225 [BZ #13268]
48226 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
48227
538faaa7
UD
482282011-10-15 Ulrich Drepper <drepper@gmail.com>
48229
ab6737ff
UD
48230 * libio/iofwide.c (do_length): Avoid warning.
48231
538faaa7
UD
48232 * ctype/ctype.h (__isctype_f): Add missing __THROW.
48233
396a21b1
UD
482342011-10-14 Ulrich Drepper <drepper@gmail.com>
48235
cdf2901f
UD
48236 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
48237
38ad40ce
UD
48238 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
48239 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
48240 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
48241 * sysdeps/i386/i686/fpu/e_log.S: New file.
48242 * sysdeps/i386/i686/fpu/e_logf.S: New file.
48243 * sysdeps/i386/i686/fpu/e_logl.S: New file.
48244
396a21b1
UD
48245 * ctype/ctype.h: Add support for inlined isXXX functions when
48246 compiling C++ code.
48247
6b1f68c9
AS
482482011-10-14 Andreas Schwab <schwab@redhat.com>
48249
349290c0
AS
48250 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
48251
6b1f68c9
AS
48252 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
48253
f2282d42
RM
482542011-10-13 Roland McGrath <roland@hack.frob.com>
48255
48256 [BZ #13291]
48257 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
48258
5298ffa8
AS
482592011-10-13 Andreas Schwab <schwab@redhat.com>
48260
714fad23
AS
48261 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
48262 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
48263 feraiseexcept.
48264
81dcc7fb
AS
48265 * sysdeps/x86_64/memrchr.S: Check for zero size.
48266
5298ffa8
AS
48267 * string/stratcliff.c: Add memrchr tests.
48268
951fbcec
LD
482692011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
48270
48271 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
48272 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
48273 rawmemchr-sse2 rawmemchr-sse2-bsf.
48274 * sysdeps/i386/i686/multiarch/memchr.S: New file.
48275 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
48276 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
48277 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
48278 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
48279 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
48280 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
48281 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
48282 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
48283 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
48284 * string/memrchr.c (MEMRCHR): New macro.
48285
0ac5ae23
UD
482862011-10-12 Ulrich Drepper <drepper@gmail.com>
48287
48288 Add integration with gcc's -ffinite-math-only and optimize wrapper
48289 functions in libm.
48290 * Versions.def: Define GLIBC_2.15 version for libm.
48291 * math/Makefile (headers): Add bits/math-finite.h.
48292 * math/bits/math-finite.h: New file.
48293 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
48294 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
48295 * math/e_acoshl.c: Add __*_finite alias.
48296 * math/e_acosl.c: Likewise.
48297 * math/e_asinl.c: Likewise.
48298 * math/e_atan2l.c: Likewise.
48299 * math/e_atanhl.c: Likewise.
48300 * math/e_coshl.c: Likewise.
48301 * math/e_exp10.c: Likewise.
48302 * math/e_exp10f.c: Likewise.
48303 * math/e_exp10l.c: Likewise.
48304 * math/e_exp2l.c: Likewise.
48305 * math/e_fmodl.c: Likewise.
48306 * math/e_gammal_r.c: Likewise.
48307 * math/e_hypotl.c: Likewise.
48308 * math/e_j0l.c: Likewise.
48309 * math/e_j1l.c: Likewise.
48310 * math/e_jnl.c: Likewise.
48311 * math/e_lgammal_r.c: Likewise.
48312 * math/e_log10l.c: Likewise.
48313 * math/e_log2l.c: Likewise.
48314 * math/e_logl.c: Likewise.
48315 * math/e_powl.c: Likewise.
48316 * math/e_sinhl.c: Likewise.
48317 * math/e_sqrtl.c: Likewise.
48318 * math/e_scalb.c: Completely rewritten and optimized.
48319 * math/e_scalbf.c: Likewise.
48320 * math/e_scalbl.c: Likewise.
48321 * math/w_acos.c: Likewise.
48322 * math/w_acosf.c: Likewise.
48323 * math/w_acosl.c: Likewise.
48324 * math/w_acosh.c: Likewise.
48325 * math/w_acoshf.c: Likewise.
48326 * math/w_acoshl.c: Likewise.
48327 * math/w_asin.c: Likewise.
48328 * math/w_asinf.c: Likewise.
48329 * math/w_asinl.c: Likewise.
48330 * math/w_atan2.c: Likewise.
48331 * math/w_atan2f.c: Likewise.
48332 * math/w_atan2l.c: Likewise.
48333 * math/w_atanh.c: Likewise.
48334 * math/w_atanhf.c: Likewise.
48335 * math/w_atanhl.c: Likewise.
48336 * math/w_exp10.c: Likewise.
48337 * math/w_exp10f.c: Likewise.
48338 * math/w_exp10l.c: Likewise.
48339 * math/w_fmod.c: Likewise.
48340 * math/w_fmodf.c: Likewise.
48341 * math/w_fmodl.c: Likewise.
48342 * math/w_j0.c: Likewise.
48343 * math/w_j0f.c: Likewise.
48344 * math/w_j0l.c: Likewise.
48345 * math/w_j1.c: Likewise.
48346 * math/w_j1f.c: Likewise.
48347 * math/w_j1l.c: Likewise.
48348 * math/w_jn.c: Likewise.
48349 * math/w_jnf.c: Likewise.
48350 * math/w_log.c: Likewise.
48351 * math/w_logf.c: Likewise.
48352 * math/w_logl.c: Likewise.
48353 * math/w_log10.c: Likewise.
48354 * math/w_log10f.c: Likewise.
48355 * math/w_log10l.c: Likewise.
48356 * math/w_log2.c: Likewise.
48357 * math/w_log2f.c: Likewise.
48358 * math/w_log2l.c: Likewise.
48359 * math/w_pow.c: Likewise.
48360 * math/w_powf.c: Likewise.
48361 * math/w_powl.c: Likewise.
48362 * math/w_remainder.c: Likewise.
48363 * math/w_remainderf.c: Likewise.
48364 * math/w_remainderl.c: Likewise.
48365 * math/w_scalb.c: Likewise.
48366 * math/w_scalbf.c: Likewise.
48367 * math/w_scalbl.c: Likewise.
48368 * math/w_sqrt.c: Likewise.
48369 * math/w_sqrtf.c: Likewise.
48370 * math/w_sqrtl.c: Likewise.
48371 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
48372 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
48373 used.
48374 * math/math_private.h: Declare __kernel_standard_f.
48375 * math/w_cosh.c: Remove cruft and optimize a bit.
48376 * math/w_coshf.c: Likewise.
48377 * math/w_coshl.c: Likewise.
48378 * math/w_exp2.c: Likewise.
48379 * math/w_exp2f.c: Likewise.
48380 * math/w_exp2l.c: Likewise.
48381 * math/w_hypot.c: Likewise.
48382 * math/w_hypotf.c: Likewise.
48383 * math/w_hypotl.c: Likewise.
48384 * math/w_lgamma.c: Likewise.
48385 * math/w_lgamma_r.c: Likewise.
48386 * math/w_lgammaf.c: Likewise.
48387 * math/w_lgammaf_r.c: Likewise.
48388 * math/w_lgammal.c: Likewise.
48389 * math/w_lgammal_r.c: Likewise.
48390 * math/w_sinh.c: Likewise.
48391 * math/w_sinhf.c: Likewise.
48392 * math/w_sinhl.c: Likewise.
48393 * math/w_tgamma.c: Likewise.
48394 * math/w_tgammaf.c: Likewise.
48395 * math/w_tgammal.c: Likewise.
48396 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
48397 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
48398 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
48399 Minor optimizations. Pretty printing. Remove cruft.
48400 * sysdeps/i386/fpu/e_acosf.S: Likewise.
48401 * sysdeps/i386/fpu/e_acosh.S: Likewise.
48402 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
48403 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
48404 * sysdeps/i386/fpu/e_acosl.c: Likewise.
48405 * sysdeps/i386/fpu/e_asin.S: Likewise.
48406 * sysdeps/i386/fpu/e_asinf.S: Likewise.
48407 * sysdeps/i386/fpu/e_atan2.S: Likewise.
48408 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
48409 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
48410 * sysdeps/i386/fpu/e_atanh.S: Likewise.
48411 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
48412 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
48413 * sysdeps/i386/fpu/e_exp10.S: Likewise.
48414 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
48415 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
48416 * sysdeps/i386/fpu/e_exp2.S: Likewise.
48417 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
48418 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
48419 * sysdeps/i386/fpu/e_fmod.S: Likewise.
48420 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
48421 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
48422 * sysdeps/i386/fpu/e_hypot.S: Likewise.
48423 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
48424 * sysdeps/i386/fpu/e_log.S: Likewise.
48425 * sysdeps/i386/fpu/e_log10.S: Likewise.
48426 * sysdeps/i386/fpu/e_log10f.S: Likewise.
48427 * sysdeps/i386/fpu/e_log10l.S: Likewise.
48428 * sysdeps/i386/fpu/e_log2.S: Likewise.
48429 * sysdeps/i386/fpu/e_log2f.S: Likewise.
48430 * sysdeps/i386/fpu/e_log2l.S: Likewise.
48431 * sysdeps/i386/fpu/e_logf.S: Likewise.
48432 * sysdeps/i386/fpu/e_logl.S: Likewise.
48433 * sysdeps/i386/fpu/e_pow.S: Likewise.
48434 * sysdeps/i386/fpu/e_powf.S: Likewise.
48435 * sysdeps/i386/fpu/e_powl.S: Likewise.
48436 * sysdeps/i386/fpu/e_remainder.S: Likewise.
48437 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
48438 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
48439 * sysdeps/i386/fpu/e_scalb.S: Likewise.
48440 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
48441 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
48442 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
48443 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
48444 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
48445 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
48446 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
48447 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
48448 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
48449 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
48450 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
48451 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
48452 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
48453 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
48454 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
48455 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
48456 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
48457 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
48458 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
48459 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
48460 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
48461 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
48462 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
48463 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
48464 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
48465 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
48466 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
48467 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
48468 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
48469 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
48470 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
48471 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
48472 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
48473 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
48474 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
48475 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
48476 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
48477 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
48478 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
48479 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
48480 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
48481 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
48482 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
48483 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
48484 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
48485 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
48486 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
48487 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
48488 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
48489 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
48490 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
48491 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
48492 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
48493 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
48494 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
48495 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
48496 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
48497 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
48498 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
48499 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
48500 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
48501 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
48502 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
48503 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
48504 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
48505 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
48506 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
48507 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
48508 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
48509 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
48510 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
48511 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
48512 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
48513 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
48514 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
48515 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
48516 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
48517 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
48518 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
48519 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
48520 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
48521 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
48522 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
48523 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
48524 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
48525 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
48526 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
48527 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
48528 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
48529 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
48530 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
48531 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
48532 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
48533 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
48534 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
48535 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
48536 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
48537 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
48538 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
48539 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
48540 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
48541 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
48542 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
48543 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
48544 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
48545 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
48546 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
48547 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
48548 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
48549 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
48550 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
48551 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
48552 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
48553 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
48554 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
48555 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
48556 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
48557 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
48558 (__isnanf): Likewise.
48559 (__isinf_ns): Likewise.
48560 (__isinf_nsf): Likewise.
48561 (__finite): Likewise.
48562 (__finitef): Likewise.
48563 (__ieee754_sqrt): Define as macro.
48564 (__ieee754_sqrtf): Define as macro.
48565 (__ieee754_sqrtl): Define as macro.
48566 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
48567 inlined copy.
48568 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
48569 __FINITE_MATH_ONLY__ consistent.
48570 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
48571
12cc2fcd
AS
485722011-10-10 Andreas Schwab <schwab@linux-m68k.org>
48573
a843a204
AS
48574 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
48575 of rawmemchr.
48576
12cc2fcd
AS
48577 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
48578
c853acd5
UD
485792011-10-09 Ulrich Drepper <drepper@gmail.com>
48580
48581 * po/ja.po: Update from translation team.
48582
c658d255
RM
485832011-10-08 Roland McGrath <roland@hack.frob.com>
48584
110946e4
RM
48585 * locale/programs/locarchive.c (prepare_address_space): New function.
48586 (create_archive, enlarge_archive, open_archive): Use it.
48587
50604220
RM
48588 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
48589 inside [SHARED], where it is used.
48590
c658d255
RM
48591 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
48592
48593 * nss/getent.c (netgroup_keys): Remove unused variable.
48594 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
48595
6a621eb7
UD
485962011-10-08 Ulrich Drepper <drepper@gmail.com>
48597
7edb55ce
UD
48598 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
48599 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
48600 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
48601 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
48602 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
48603 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
48604 * math/Makefile (libm-calls): Add s_isinf_ns.
48605 * math/divtc3.c: Use __isinf_nsl instead of isinf.
48606 * math/multc3.c: Likewise.
48607 * math/s_casin.c: Likewise.
48608 * math/s_casinf.c: Likewise.
48609 * math/s_casinl.c: Likewise.
48610 * math/s_ccos.c: Likewise.
48611 * math/s_ccosf.c: Likewise.
48612 * math/s_ccosl.c: Likewise.
48613 * math/s_ctan.c: Likewise.
48614 * math/s_ctanf.c: Likewise.
48615 * math/s_ctanh.c: Likewise.
48616 * math/s_ctanhf.c: Likewise.
48617 * math/s_ctanhl.c: Likewise.
48618 * math/s_ctanl.c: Likewise.
48619 * math/w_fmod.c: Likewise.
48620 * math/w_fmodf.c: Likewise.
48621 * math/w_fmodl.c: Likewise.
48622 * math/w_remainder.c: Likewise.
48623 * math/w_remainderf.c: Likewise.
48624 * math/w_remainderl.c: Likewise.
48625 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
48626 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
48627 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
48628 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
48629 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
48630 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
48631 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
48632 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
48633
187da0ae
UD
48634 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
48635 of the number.
48636 * stdio-common/printf_fphex.c: Likewise.
48637 * stdio-common/printf_size.c: Likewise.
48638
9277c064
UD
48639 * math/e_exp10.c: Include math_private.h using <...> not "...".
48640 * math/e_exp10f.c: Likewise.
48641 * math/e_exp10l.c: Likewise.
48642 * math/e_exp2l.c: Likewise.
48643 * math/e_j0l.c: Likewise.
48644 * math/e_j1l.c: Likewise.
48645 * math/e_jnl.c: Likewise.
48646 * math/e_lgammal_r.c: Likewise.
48647 * math/e_rem_pio2l.c: Likewise.
48648 * math/e_scalb.c: Likewise.
48649 * math/e_scalbf.c: Likewise.
48650 * math/e_scalbl.c: Likewise.
48651 * math/k_cosl.c: Likewise.
48652 * math/k_sinl.c: Likewise.
48653 * math/k_tanl.c: Likewise.
48654 * math/s_cacoshf.c: Likewise.
48655 * math/s_catan.c: Likewise.
48656 * math/s_catanf.c: Likewise.
48657 * math/s_catanh.c: Likewise.
48658 * math/s_catanhf.c: Likewise.
48659 * math/s_catanhl.c: Likewise.
48660 * math/s_catanl.c: Likewise.
48661 * math/s_ccosh.c: Likewise.
48662 * math/s_ccoshf.c: Likewise.
48663 * math/s_ccoshl.c: Likewise.
48664 * math/s_cexp.c: Likewise.
48665 * math/s_cexpf.c: Likewise.
48666 * math/s_cexpl.c: Likewise.
48667 * math/s_clog.c: Likewise.
48668 * math/s_clog10.c: Likewise.
48669 * math/s_clog10f.c: Likewise.
48670 * math/s_clog10l.c: Likewise.
48671 * math/s_clogf.c: Likewise.
48672 * math/s_clogl.c: Likewise.
48673 * math/s_csin.c: Likewise.
48674 * math/s_csinf.c: Likewise.
48675 * math/s_csinh.c: Likewise.
48676 * math/s_csinhf.c: Likewise.
48677 * math/s_csinhl.c: Likewise.
48678 * math/s_csinl.c: Likewise.
48679 * math/s_csqrt.c: Likewise.
48680 * math/s_csqrtf.c: Likewise.
48681 * math/s_csqrtl.c: Likewise.
48682 * math/s_ctan.c: Likewise.
48683 * math/s_ctanf.c: Likewise.
48684 * math/s_ctanh.c: Likewise.
48685 * math/s_ctanhf.c: Likewise.
48686 * math/s_ctanhl.c: Likewise.
48687 * math/s_ctanl.c: Likewise.
48688 * math/s_ldexp.c: Likewise.
48689 * math/s_ldexpf.c: Likewise.
48690 * math/s_ldexpl.c: Likewise.
48691 * math/s_significand.c: Likewise.
48692 * math/s_significandf.c: Likewise.
48693 * math/s_significandl.c: Likewise.
48694 * math/w_acos.c: Likewise.
48695 * math/w_acosf.c: Likewise.
48696 * math/w_acosh.c: Likewise.
48697 * math/w_acoshf.c: Likewise.
48698 * math/w_acoshl.c: Likewise.
48699 * math/w_acosl.c: Likewise.
48700 * math/w_asin.c: Likewise.
48701 * math/w_asinf.c: Likewise.
48702 * math/w_asinl.c: Likewise.
48703 * math/w_atan2.c: Likewise.
48704 * math/w_atan2f.c: Likewise.
48705 * math/w_atan2l.c: Likewise.
48706 * math/w_atanh.c: Likewise.
48707 * math/w_atanhf.c: Likewise.
48708 * math/w_atanhl.c: Likewise.
48709 * math/w_cosh.c: Likewise.
48710 * math/w_coshf.c: Likewise.
48711 * math/w_coshl.c: Likewise.
48712 * math/w_dremf.c: Likewise.
48713 * math/w_exp10.c: Likewise.
48714 * math/w_exp10f.c: Likewise.
48715 * math/w_exp10l.c: Likewise.
48716 * math/w_exp2.c: Likewise.
48717 * math/w_exp2f.c: Likewise.
48718 * math/w_fmod.c: Likewise.
48719 * math/w_fmodf.c: Likewise.
48720 * math/w_fmodl.c: Likewise.
48721 * math/w_hypot.c: Likewise.
48722 * math/w_hypotf.c: Likewise.
48723 * math/w_hypotl.c: Likewise.
48724 * math/w_j0.c: Likewise.
48725 * math/w_j0f.c: Likewise.
48726 * math/w_j0l.c: Likewise.
48727 * math/w_j1.c: Likewise.
48728 * math/w_j1f.c: Likewise.
48729 * math/w_j1l.c: Likewise.
48730 * math/w_jn.c: Likewise.
48731 * math/w_jnf.c: Likewise.
48732 * math/w_jnl.c: Likewise.
48733 * math/w_lgamma.c: Likewise.
48734 * math/w_lgamma_r.c: Likewise.
48735 * math/w_lgammaf.c: Likewise.
48736 * math/w_lgammaf_r.c: Likewise.
48737 * math/w_lgammal.c: Likewise.
48738 * math/w_lgammal_r.c: Likewise.
48739 * math/w_log.c: Likewise.
48740 * math/w_log10.c: Likewise.
48741 * math/w_log10f.c: Likewise.
48742 * math/w_log10l.c: Likewise.
48743 * math/w_log2.c: Likewise.
48744 * math/w_log2f.c: Likewise.
48745 * math/w_log2l.c: Likewise.
48746 * math/w_logf.c: Likewise.
48747 * math/w_logl.c: Likewise.
48748 * math/w_pow.c: Likewise.
48749 * math/w_powf.c: Likewise.
48750 * math/w_powl.c: Likewise.
48751 * math/w_remainder.c: Likewise.
48752 * math/w_remainderf.c: Likewise.
48753 * math/w_remainderl.c: Likewise.
48754 * math/w_scalb.c: Likewise.
48755 * math/w_scalbf.c: Likewise.
48756 * math/w_scalbl.c: Likewise.
48757 * math/w_sinh.c: Likewise.
48758 * math/w_sinhf.c: Likewise.
48759 * math/w_sinhl.c: Likewise.
48760 * math/w_sqrt.c: Likewise.
48761 * math/w_sqrtf.c: Likewise.
48762 * math/w_sqrtl.c: Likewise.
48763 * math/w_tgamma.c: Likewise.
48764 * math/w_tgammaf.c: Likewise.
48765 * math/w_tgammal.c: Likewise.
48766
6a621eb7
UD
48767 * po/ja.po: Update from translation team.
48768
bf582445
AJ
487692011-09-29 Andreas Jaeger <aj@suse.de>
48770
f9efbf3a
AJ
48771 [BZ #13179]
48772 * sunrpc/netname.c (netname2host): Fix logic.
48773
bf582445
AJ
48774 [BZ #6779]
48775 [BZ #6783]
48776 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
48777 correctly.
48778 * math/w_remainder.c (__remainder): Likewise.
48779 * math/w_remainderf.c (__remainderf): Likewise.
48780 * math/libm-test.inc (remainder_test): Add test cases.
48781
48693bea
AK
487822011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
48783
48784 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
48785 sdiv_qrnnd.
48786
42622229
LD
487872011-10-07 Ulrich Drepper <drepper@gmail.com>
48788
48789 * string/test-memcmp.c: Avoid unncessary #defines.
48790 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
48791
093ecf92
LD
487922011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
48793
48794 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
48795 Use new sse2 version for core i3 - i7 as it's faster
48796 than sse42 version.
48797 (bit_Prefer_PMINUB_for_stringop): New.
48798 * sysdeps/x86_64/rawmemchr.S: Update.
48799 Replace with faster SSE2 version.
48800 * sysdeps/x86_64/memrchr.S: New file.
48801 * sysdeps/x86_64/memchr.S: Update.
48802 Replace with faster SSE2 version.
48803
fde56e5c
MP
488042011-09-12 Marek Polacek <mpolacek@redhat.com>
48805
48806 * elf/dl-load.c (lose): Add cast to avoid warning.
48807
21fd49a9
UD
488082011-10-07 Ulrich Drepper <drepper@gmail.com>
48809
5a06e643
UD
48810 * po/ca.po: Update from translation team.
48811
684ae515
UD
48812 * inet/getnetgrent_r.c: Hook up nscd.
48813 * nscd/Makefile (routines): Add nscd_netgroup.
48814 (nscd-modules): Add netgroupcache.
48815 (CFLAGS-netgroupcache.c): Define.
48816 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
48817 (cache_search): Add const to second parameter.
48818 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
48819 INNETGR.
48820 (dbs): Add netgrdb entry.
48821 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
48822 (verify_persistent_db): Handle netgrdb.
48823 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
48824 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
48825 GETFDNETGR.
48826 (netgroup_response_header): Define.
48827 (innetgroup_response_header): Define.
48828 (datahead): Add netgroup_response_header and innetgroup_response_header
48829 elements.
48830 * nscd/nscd.conf: Add entries for netgroup cache.
48831 * nscd/nscd.h (dbtype): Add netgrdb.
48832 (_PATH_NSCD_NETGROUP_DB): Define.
48833 (netgroup_iov_disabled): Declare.
48834 (xmalloc, xcalloc, xrealloc): Move declarations here.
48835 (cache_search): Adjust prototype.
48836 Add netgroup-related prototypes.
48837 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
48838 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
48839 (__nscd_innetgr): Declare.
48840 * nscd/selinux.c (perms): Use access_vector_t as element type and
48841 add netgroup-related initializers.
48842 * nscd/netgroupcache.c: New file.
48843 * nscd/nscd_netgroup.c: New file.
48844 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
48845 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
48846 For four parameters use innetgr.
48847 * nss/nss_files/files-init.c: Add definition and callback for netgr.
48848 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
48849 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
48850 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
48851
21fd49a9
UD
48852 * nscd/connections.c (register_traced_file): Don't register file
48853 for disabled databases.
48854
054c0457
UD
488552011-10-06 Ulrich Drepper <drepper@gmail.com>
48856
32b63198
UD
48857 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
48858
054c0457
UD
48859 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
48860 from tree and freeing node.
48861
64031225
JO
488622011-09-25 Jiri Olsa <jolsa@redhat.com>
48863
48864 * nss/nsswitch.c (__nss_database_lookup): Handle
48865 nss_parse_service_list out of memory case.
48866
0490345c
JO
488672011-09-15 Jiri Olsa <jolsa@redhat.com>
48868
48869 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
48870 out of memory case.
48871
3a62d00d
AS
488722011-10-04 Andreas Schwab <schwab@redhat.com>
48873
48874 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
48875 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
48876 pass it down.
48877 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
48878 elf_machine_rela, elf_machine_lazy_rel.
48879 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
48880 (ELF_DYNAMIC_DO_REL): Likewise.
48881 (ELF_DYNAMIC_DO_RELA): Likewise.
48882 (ELF_DYNAMIC_RELOCATE): Likewise.
48883 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
48884 to ELF_DYNAMIC_DO_REL.
48885 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
48886 (dl_main): In trace mode always set __RTLD_NOIFUNC.
48887 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
48888 elf_machine_rela.
48889 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
48890 skip_ifunc, don't call ifunc function if non-zero.
48891 (elf_machine_rela): Likewise.
48892 (elf_machine_lazy_rel): Likewise.
48893 (elf_machine_lazy_rela): Likewise.
48894 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
48895 (elf_machine_lazy_rel): Likewise.
48896 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
48897 Likewise.
48898 (elf_machine_lazy_rel): Likewise.
48899 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
48900 Likewise.
48901 (elf_machine_lazy_rel): Likewise.
48902 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
48903 (elf_machine_lazy_rel): Likewise.
48904 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
48905 (elf_machine_lazy_rel): Likewise.
48906 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
48907 (elf_machine_lazy_rel): Likewise.
48908 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
48909 (elf_machine_lazy_rel): Likewise.
48910 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
48911 (elf_machine_lazy_rel): Likewise.
48912 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
48913 (elf_machine_lazy_rel): Likewise.
48914
68577918
UD
489152011-09-28 Ulrich Drepper <drepper@gmail.com>
48916
48917 * nss/nss_files/files-init.c (_nss_files_init): Use static
48918 initialization for all the *_traced_file variables.
48919
68822d74
AS
489202011-09-28 Andreas Schwab <schwab@redhat.com>
48921
48922 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
48923
2056100b
RM
489242011-09-27 Roland McGrath <roland@hack.frob.com>
48925
48926 [BZ #13226]
48927 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
48928
32c76b63
AS
489292011-09-27 Andreas Schwab <schwab@redhat.com>
48930
48931 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
48932 Reread the line before reparsing it.
48933
bf972c9d
AS
489342011-09-26 Andreas Schwab <schwab@redhat.com>
48935
48936 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
48937
e057a1b5
JM
489382011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
48939 Maxim Kuvyrkov <maxim@codesourcery.com>
48940 Joseph Myers <joseph@codesourcery.com>
48941
48942 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
48943 if needed for __stack_chk_guard.
48944
bc7e1c36
RM
489452011-09-19 Roland McGrath <roland@hack.frob.com>
48946
ecb1482f
RM
48947 * sysdeps/posix/spawni.c (script_execute): Always define it.
48948 It will be optimized away if unused.
48949 (maybe_script_execute): New function.
48950 (__spawni): Call it.
48951
bc7e1c36
RM
48952 * Makerules: Don't include tls.make.
48953 (config-tls): Always set to thread.
48954 * tls.make.c: File removed.
48955
1c3b002b
MF
489562011-09-19 Mike Frysinger <vapier@gentoo.org>
48957
48958 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
48959 * config.make.in (CPPFLAGS-config): New substituted variable.
48960
2840865d
UD
489612011-09-15 Ulrich Drepper <drepper@gmail.com>
48962
88738eb6
UD
48963 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
48964
cbf645a6 48965 [BZ #13192]
2840865d
UD
48966 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
48967 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
48968
b402e91a
RM
489692011-09-15 Roland McGrath <roland@hack.frob.com>
48970
48971 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
48972 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
48973 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
48974 (CALL_FAIL): Likewise.
48975 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
48976 (CALL_FAIL): Macro removed.
48977 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
48978
4c1a1f71
UD
489792011-09-15 Ulrich Drepper <drepper@gmail.com>
48980
48981 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
48982 for __FINITE_MATH_ONLY__ == 1.
48983
edc121be
AS
489842011-09-15 Andreas Schwab <schwab@redhat.com>
48985
48986 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
48987 __ieee754_sqrt instead of sqrt.
48988 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
48989 __ieee754_sqrtf instead of sqrtf.
48990 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
48991 __floorf instead of floorf.
48992 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
48993 __floorf, __truncf instead of floorf, truncf.
48994
cd205654
UD
489952011-09-14 Ulrich Drepper <drepper@gmail.com>
48996
ee4d0315
UD
48997 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
48998
cd205654
UD
48999 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
49000 __extern_always_inline.
49001 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
49002 32-bit.
49003
48b67d71
AS
490042011-09-14 Andreas Schwab <schwab@redhat.com>
49005
49006 * elf/rtld.c (dl_main): Also relocate in dependency order when
49007 doing symbol dependency testing.
49008
1ae12c75
AS
490092011-09-13 Andreas Schwab <schwab@linux-m68k.org>
49010
49011 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
49012 Always define `refsym'.
49013
995a80df
AS
490142011-09-13 Andreas Schwab <schwab@redhat.com>
49015
e529793b
AS
49016 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
49017 (__FD_ELT): Renamed from __FDELT.
49018 * misc/bits/select2.h (__FD_ELT): Likewise.
49019 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
49020 __FD_MASK instead of __FDELT, __FDMASK.
49021 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
49022 Likewise.
49023 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
49024 Likewise.
49025
52d4fef8
AS
49026 * elf/Makefile (gen-ldd): Fix pattern.
49027
995a80df
AS
49028 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
49029 (init_tls): Likewise.
49030
8682f8b0
UD
490312011-09-12 Ulrich Drepper <drepper@gmail.com>
49032
49033 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
49034
de82006d
AS
490352011-09-12 Andreas Schwab <schwab@redhat.com>
49036
a7c8e6a1
AS
49037 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
49038 `struct cmsghdr *' instead of `void *'.
49039 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
49040 Likewise.
49041
0f31fe77
AS
490422011-09-11 Andreas Schwab <schwab@linux-m68k.org>
49043
49044 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
49045 if non-absolute.
49046 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
49047 ldd_rewrite_script.
0f31fe77 49048
32b4c839
UD
490492011-09-11 Ulrich Drepper <drepper@gmail.com>
49050
83cd1420
UD
49051 * configure.in: Remove --with-tls option.
49052 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
49053 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
49054 out in case it is missing.
49055 * sysdeps/ia64/elf/configure.in: Likewise.
49056 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
49057 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
49058 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
49059 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
49060 * sysdeps/sh/elf/configure.in: Likewise.
49061 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
49062 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
49063 * sysdeps/x86_64/elf/configure.in: Likewise.
49064 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
49065 * sysdeps/mach/hurd/tls.h: Likewise.
49066
633f745d
UD
49067 [BZ #13067]
49068 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
49069
f318beb8
UD
49070 [BZ #13090]
49071 * configure.in: Fix use of AC_INIT.
49072
32b4c839
UD
49073 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
49074
3ce1f295
UD
490752011-09-10 Ulrich Drepper <drepper@gmail.com>
49076
bb016596
UD
49077 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
49078 __set_errno.
8e58439c
UD
49079 * malloc/hooks.c: Likewise.
49080
aebae053 49081 [BZ #11929]
02d46fc4
UD
49082 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
49083 variables statically.
49084 (narenas): Initialize.
49085 (list_lock): Initialize.
bb016596
UD
49086 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
49087 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
49088 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
49089 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
49090 Add initializers to main_arena and mp_.
49091 (malloc_state): Remove pagesize member. Change all users to use
49092 GLRO(dl_pagesize).
49093
49094 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
49095 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
49096 is always initialized.
49097
22a89187
UD
49098 * malloc/malloc.c: Removed unused configurations and dead code.
49099 * malloc/arena.c: Likewise.
49100 * malloc/hooks.c: Likewise.
02d46fc4 49101 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 49102
d063d164
UD
49103 * include/tls.h: Removed. USE___THREAD must always be defined.
49104 * bits/libc-tsd.h: Don't handle !USE___THREAD.
49105 * elf/dl-libc.c: Likewise.
49106 * elf/dl-tsd.c: Likewise.
49107 * include/errno.h: Likewise.
49108 * include/netdb.h: Likewise.
49109 * include/resolv.h: Likewise.
49110 * inet/herrno-loc.c: Likewise.
49111 * inet/herrno.c: Likewise.
49112 * malloc/arena.c: Likewise.
49113 * malloc/hooks.c: Likewise.
49114 * malloc/malloc.c: Likewise.
49115 * resolv/res-state.c: Likewise.
49116 * resolv/res_libc.c: Likewise.
49117 * sysdeps/i386/dl-machine.h: Likewise.
49118 * sysdeps/ia64/dl-machine.h: Likewise.
49119 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
49120 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
49121 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
49122 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
49123 * sysdeps/sh/dl-machine.h: Likewise.
49124 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
49125 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
49126 * sysdeps/unix/i386/sysdep.S: Likewise.
49127 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
49128 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
49129 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
49130 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
49131 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
49132 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
49133 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
49134 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
49135 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
49136 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
49137 * sysdeps/unix/x86_64/sysdep.S: Likewise.
49138 * sysdeps/x86_64/dl-machine.h: Likewise.
49139 * tls.make.c: Likewise.
49140
3ce1f295
UD
49141 * configure.in: Remove --with-__thread option. Make tests for
49142 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
49143 tls_model attribute fail if no support is available. Remove
49144 USE_IN_LIBIO.
49145 * Makeconfig: Adjust for dropped configure option. All features are
49146 now mandatory.
49147 * Makerules: Likewise.
49148 * Versions.def: Likewise.
49149 * argp/argp-fmtstream.c: Likewise.
49150 * argp/argp-fmtstream.h: Likewise.
49151 * argp/argp-help.c: Likewise.
49152 * assert/assert.c: Likewise.
49153 * config.h.in: Likewise.
49154 * config.make.in: Likewise.
49155 * configure: Likewise.
49156 * configure.in: Likewise.
49157 * csu/Versions: Likewise.
49158 * csu/init.c: Likewise.
49159 * elf/tst-audit2.c: Likewise.
49160 * elf/tst-tls10.c: Likewise.
49161 * elf/tst-tls10.h: Likewise.
49162 * elf/tst-tls11.c: Likewise.
49163 * elf/tst-tls12.c: Likewise.
49164 * elf/tst-tls14.c: Likewise.
49165 * elf/tst-tlsmod11.c: Likewise.
49166 * elf/tst-tlsmod12.c: Likewise.
49167 * elf/tst-tlsmod13.c: Likewise.
49168 * elf/tst-tlsmod13a.c: Likewise.
49169 * elf/tst-tlsmod14a.c: Likewise.
49170 * elf/tst-tlsmod15b.c: Likewise.
49171 * elf/tst-tlsmod16a.c: Likewise.
49172 * elf/tst-tlsmod16b.c: Likewise.
49173 * elf/tst-tlsmod7.c: Likewise.
49174 * elf/tst-tlsmod8.c: Likewise.
49175 * elf/tst-tlsmod9.c: Likewise.
49176 * gmon/gmon.c: Likewise.
49177 * grp/fgetgrent_r.c: Likewise.
49178 * grp/putgrent.c: Likewise.
49179 * hurd/fopenport.c: Likewise.
49180 * include/libc-symbols.h: Likewise.
49181 * include/tls.h: Likewise.
49182 * intl/gettextP.h: Likewise.
49183 * intl/loadinfo.h: Likewise.
49184 * locale/global-locale.c: Likewise.
49185 * locale/localeinfo.h: Likewise.
49186 * mach/devstream.c: Likewise.
49187 * malloc/arena.c: Likewise.
49188 * malloc/set-freeres.c: Likewise.
49189 * misc/err.c: Likewise.
49190 * misc/getttyent.c: Likewise.
49191 * misc/mntent_r.c: Likewise.
49192 * posix/getopt.c: Likewise.
49193 * posix/wordexp.c: Likewise.
49194 * pwd/fgetpwent_r.c: Likewise.
49195 * resolv/Versions: Likewise.
49196 * resolv/res_hconf.c: Likewise.
49197 * shadow/fgetspent_r.c: Likewise.
49198 * shadow/putspent.c: Likewise.
49199 * stdio-common/printf_fphex.c: Likewise.
49200 * stdio-common/tmpfile.c: Likewise.
49201 * stdlib/abort.c: Likewise.
49202 * stdlib/fmtmsg.c: Likewise.
49203 * sunrpc/auth_unix.c: Likewise.
49204 * sunrpc/clnt_perr.c: Likewise.
49205 * sunrpc/clnt_tcp.c: Likewise.
49206 * sunrpc/clnt_udp.c: Likewise.
49207 * sunrpc/clnt_unix.c: Likewise.
49208 * sunrpc/openchild.c: Likewise.
49209 * sunrpc/svc_simple.c: Likewise.
49210 * sunrpc/svc_tcp.c: Likewise.
49211 * sunrpc/svc_udp.c: Likewise.
49212 * sunrpc/svc_unix.c: Likewise.
49213 * sunrpc/xdr.c: Likewise.
49214 * sunrpc/xdr_array.c: Likewise.
49215 * sunrpc/xdr_rec.c: Likewise.
49216 * sunrpc/xdr_ref.c: Likewise.
49217 * sunrpc/xdr_stdio.c: Likewise.
49218
1248c1c4
PB
492192011-09-09 Ulrich Drepper <drepper@gmail.com>
49220
49221 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
49222
492232011-07-03 Andreas Jaeger <aj@suse.de>
49224
49225 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
49226 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
49227 regenerate with gen-libm-tests.pl.
49228
492292010-05-12 Petr Baudis <pasky@suse.cz>
49230
49231 [BZ #11589]
49232 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
49233 around j0() zero points by switching to j1().
49234 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
49235 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
49236 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
49237 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
49238
f22e1074
UD
492392011-09-09 Ulrich Drepper <drepper@gmail.com>
49240
f19009c1
UD
49241 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
49242 instead of 0.
49243 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 49244 instead of 0.
f19009c1
UD
49245 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
49246 Patch in part by Pavel Roskin <proski@gnu.org>.
49247
3f8cc204
UD
49248 [BZ #13138]
49249 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
49250 realloc.
49251 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
49252 Free memory block if necessary.
49253
f22e1074
UD
49254 [BZ #12847]
49255 * libio/genops.c (INTDEF): For string streams the _lock pointer can
49256 be NULL. Don't lock in this case.
49257
0a2349f9
RM
492582011-09-09 Roland McGrath <roland@hack.frob.com>
49259
49260 * elf/elf.h (ELFOSABI_GNU): New macro.
49261 (ELFOSABI_LINUX): Define to that.
49262
f3cdd467
DZ
492632011-07-29 Denis Zaitceff <zaitceff@gmail.com>
49264
49265 * string/strncat.c (strncat): Undef the symbol in case it has been
49266 defined in bits/string.h.
49267
74718d13
UD
492682011-09-09 Ulrich Drepper <drepper@gmail.com>
49269
633e9e0f
UD
49270 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
49271
0a2349f9 49272 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
49273 link map.
49274
f9924780
AJ
492752011-08-17 Andreas Jaeger <aj@suse.de>
49276
49277 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
49278
7f5517aa
PP
492792011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
49280 Ian Lance Taylor <iant@google.com>
49281
49282 * math/libm-test.inc (lround_test): New testcase.
49283 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
49284
762011fe
UD
492852011-09-08 Ulrich Drepper <drepper@gmail.com>
49286
92963737
UD
49287 * Makefile: Remove support for automatic cvs check-ins.
49288 * Makerules: Likewise.
49289 * config.make.in: Likewise.
49290 * configure.in: Likewise.
49291 * intl/Makefile: Likewise.
49292 * locale/Makefile: Likewise.
49293 * po/Makefile: Likewise.
49294 * posix/Makefile: Likewise.
49295 * sysdeps/gnu/Makefile: Likewise.
49296 * sysdeps/mach/hurd/Makefile: Likewise.
49297 * sysdeps/sparc/sparc32/Makefile: Likewise.
49298
b0727fd8
JS
49299 [BZ #13118]
49300 * posix/Makefile (bug-regex32-ENV): Define.
49301 Patch by John Stanley <jpsinthemix@verizon.net>.
49302
a0f33f99
UD
49303 * misc/Makefile (headers): Add bits/select2.h.
49304 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
49305 * misc/bits/select2.h: New file.
49306 * include/bits/select2.h: New file.
49307 * debug/Makefile (routines): Add fdelt_chk.
49308 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
49309 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
49310 FD_ISSET.
49311 * debug/fdelt_chk.c: New file.
49312
762011fe
UD
49313 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
49314 * wcsmbs/test-wmemcmp.c: Likewise.
49315 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 49316 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
49317
493182011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
49319
49320 * string/Makefile (strop-tests): Add memcmp.
49321 * string/test-wmemcmp.c: New file.
49322 * string/test-memcmp.c: Add wmemcmp support.
49323
7f513ec8
RM
493242011-09-08 Roland McGrath <roland@hack.frob.com>
49325
0442afb4
RM
49326 [BZ #13153]
49327 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
49328 2011-07-19 change.
49329
7f513ec8
RM
49330 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
49331 garbage value in a __mach_port_mod_refs call in the cases of the
49332 task-self and thread-self ports.
49333
a12b2239
ST
493342011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
49335
49336 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
49337
610f9ab4
AS
493382011-09-08 Andreas Schwab <schwab@redhat.com>
49339
7f513ec8 49340 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 49341
48882a1a
LD
493422011-09-07 Ulrich Drepper <drepper@gmail.com>
49343
b49865be
UD
49344 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
49345
fdc86bc9
UD
49346 * elf/dl-libc.c (dlerror_run): Pass back error code from
49347 dl_catch_error.
49348
c966526a
UD
49349 [BZ #13123]
49350 * elf/dl-load.c (lose): Free l_origin if it is valid.
49351
48882a1a
LD
49352 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
49353 names.
49354 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
49355 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
49356 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
49357 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
49358 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
49359 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
49360
77a2a8b4
AZ
493612011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49362
49363 * sysdeps/powerpc/fpu/e_hypot.c: New file.
49364 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
49365 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
49366 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
49367 * sysdeps/powerpc/fpu/k_cosf.c: New file.
49368 * sysdeps/powerpc/fpu/k_sinf.c: New file.
49369 * sysdeps/powerpc/fpu/s_cosf.c: New file.
49370 * sysdeps/powerpc/fpu/s_sinf.c: New file.
49371 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
49372 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
49373
24f579d8
AM
493742011-08-15 Alan Modra <amodra@gmail.com>
49375
49376 [BZ #13092]
49377 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
49378 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
49379 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
49380 ppc_mcount to static-only-routines.
49381 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
49382 __mcount_internal.
49383 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
49384 __mcount_internal with usual JUMPTARGET. Remove useless nop.
49385
3d4837df
UD
493862011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
49387
49388 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
49389 for finite and infinity parameters.
49390
22700377
WS
493912011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
49392
49393 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
49394 and add nop instructions for throughput optimization.
49395 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
49396
5025581e
WS
493972011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
49398
49399 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
49400 aligned copy for power7 with vector-scalar instructions.
49401 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
49402
08a300c9
L
494032011-07-24 H.J. Lu <hongjiu.lu@intel.com>
49404
49405 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
49406 AVX check.
49407
59178ef9
AS
494082011-09-07 Andreas Schwab <schwab@redhat.com>
49409
49410 [BZ #13144]
49411 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
49412 last change.
49413
e38ba7ab
UD
494142011-09-07 Ulrich Drepper <drepper@gmail.com>
49415
49416 * sysdeps/unix/sysv/linux/x86_64/init-first.c
49417 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
49418 syscall wrapper around clock_gettime in __vdso_clock_gettime.
49419 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
49420 clock_gettime.
49421
d53a73ac
UD
494222011-09-06 Ulrich Drepper <drepper@gmail.com>
49423
fc8bffcc
UD
49424 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
49425 Forgot to demangle the pointer.
49426
ceaa0c5d
UD
49427 * sysdeps/i386/sysdep.h: Define atom_text_section.
49428 * sysdeps/x86_64/sysdep.h: Likewise.
49429 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
49430 section with atom_text_section.
49431 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
49432 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
49433 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
49434 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
49435 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
49436
a77d3c17
UD
49437 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
49438 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
49439 already be defined. Change to take two parameters and don't assign
49440 result to variable. Adjust all users.
49441 Define INTERNAL_GETTIME if not already defined.
49442 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
49443 call.
49444 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
49445 HAVE_CLOCK_GETTIME_VSYSCALL.
49446 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
49447
d53a73ac
UD
49448 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
49449 gettimeofday vsyscall, just use time.
49450
a8f84144
AS
494512011-09-06 Andreas Schwab <schwab@redhat.com>
49452
49453 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
49454 <errno.h>.
49455
ef606249
UD
494562011-09-06 Ulrich Drepper <drepper@gmail.com>
49457
49458 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
49459 syscall on x86-64.
49460 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
49461 syscall.
49462 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
49463 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
49464 syscall if possible.
49465
6585cb60
UD
494662011-09-05 Ulrich Drepper <drepper@gmail.com>
49467
49468 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
49469 e_ident. Don't pass to find_mapsXX.
49470 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
49471
a5f524e4
LD
494722011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
49473
49474 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
49475 strchr-sse2-no-bsf strrchr-sse2-no-bsf
49476 * sysdeps/x86_64/multiarch/strchr.S: Update.
49477 Check bit_slow_BSF bit.
49478 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
49479 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
49480 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
49481
554881ef
UD
494822011-09-05 Ulrich Drepper <drepper@gmail.com>
49483
d96de963
UD
49484 [BZ #13134]
49485 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
49486 before glibc 2.15.
49487 (tryshell): Define.
49488 (__spawni): Change last parameter to be flag. Test
49489 SPAWN_XFLAGS_USE_PATH flag to use path or not.
49490 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
49491 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
49492 * posix/spawni.c: Likewise.
49493 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
49494 * posix/spawnp.c: Likewise. Change normal version to use
49495 SPAWN_XFLAGS_USE_PATH.
49496 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
49497 SPAWN_XFLAGS_TRY_SHELL.
49498
d48e5868
UD
49499 [BZ #13150]
49500 * posix/glob.h: Remove gcc 1.x support.
49501
554881ef
UD
49502 [BZ #13068]
49503 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
49504
693fb948
LD
495052011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
49506
49507 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
49508 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
49509 strrchr-sse2-bsf
49510 * sysdeps/i386/i686/multiarch/strchr.S: New file.
49511 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
49512 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
49513 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
49514 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
49515 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
49516
1b48c537
UD
495172011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
49518
49d42c37
UD
49519 * sysdeps/x86_64/wcscmp.S: New file.
49520
1b48c537
UD
49521 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
49522 wcscmp-c wcscmp-sse2
49523 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
49524 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
49525 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
49526 * wcsmbs/wcscmp.c: Allow renaming.
49527
15c95c5d
DM
495282011-09-05 David S. Miller <davem@davemloft.net>
49529
49530 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
49531 stack slot, rather than the struct return pointer slot.
49532 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
49533 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
49534 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
49535 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
49536
2f0ad8f3
UD
495372011-09-05 Ulrich Drepper <drepper@gmail.com>
49538
d88ae418
UD
49539 * po/ja.po: Update from translation team.
49540
2f0ad8f3
UD
49541 [BZ #13144]
49542 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
49543 kernel in 64-bit binaries.
49544
5f4318d1
DM
495452011-09-01 David S. Miller <davem@davemloft.net>
49546
49547 * elf/elf.h (HWCAP_SPARC_*): Move to..
49548 * sysdeps/sparc/sysdep.h: this new file and add new values.
49549 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
49550 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
49551 _DL_HWCAP_COUNT to 24.
49552 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
49553 entries.
49554 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
49555 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
49556 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
49557 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
49558 instead of magic constants.
49559 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
49560
3ba57516
DM
495612011-08-31 David S. Miller <davem@davemloft.net>
49562
49563 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
49564 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
49565 Reimplement to do errno handling inline.
49566 (SYSCALL_ERROR_HANDLER): New macro.
49567 (__SYSCALL_STRING): Do not do errno handling in asm.
49568 (__CLONE_SYSCALL_STRING): Delete.
49569 (__INTERNAL_SYSCALL_STRING): Delete.
49570 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
49571 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
49572 (PSEUDO): Reimplement to do errno handling inline.
49573 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
49574 (SYSCALL_ERROR_HANDLER): New macro.
49575 (__SYSCALL_STRING): Do not do errno handling in asm.
49576 (__CLONE_SYSCALL_STRING): Delete.
49577 (__INTERNAL_SYSCALL_STRING): Delete.
49578 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
49579 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
49580 i386.
49581 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
49582 (inline_syscall*): Add 'err' argument.
49583 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
49584 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
49585 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
49586 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
49587
49588 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
49589 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
49590
2bc17433
AS
495912011-08-30 Andreas Schwab <schwab@redhat.com>
49592
49593 * elf/rtld.c (dl_main): Relocate objects in dependency order.
49594
fbeb5f4d
JO
495952011-08-29 Jiri Olsa <jolsa@redhat.com>
49596
49597 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
49598 directive.
49599
ad69cc26
DM
496002011-08-24 David S. Miller <davem@davemloft.net>
49601
49602 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
49603
39dd69df
AS
496042011-08-24 Andreas Schwab <schwab@redhat.com>
49605
49606 * elf/Makefile: Add rules to build and run unload8 test.
49607 * elf/unload8.c: New file.
49608 * elf/unload8mod1.c: New file.
49609 * elf/unload8mod1x.c: New file.
49610 * elf/unload8mod2.c: New file.
49611 * elf/unload8mod3.c: New file.
49612
49613 * elf/dl-close.c (_dl_close_worker): Reset private search list if
49614 it wasn't used.
49615
2c0b250a
DM
496162011-08-23 David S. Miller <davem@davemloft.net>
49617
49618 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
49619 subtract stack bias.
49620 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
49621 %sp not %fp in calculations.
49622 (_JMPBUF_UNWINDS_ADJ): Likewise.
49623
22044b48
DM
49624 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
49625 (aio_suspend): Call it to force an exception region around the
49626 AIO_MISC_WAIT() invocation.
49627
2cae4995
AS
496282011-08-23 Andreas Schwab <schwab@redhat.com>
49629
49630 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
49631 backslash.
49632
873a772e
AJ
496332011-07-04 Aurelien Jarno <aurelien@aurel32.net>
49634
49635 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
49636 protection macro.
49637 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
49638 and <dl-machine.h>.
49639 (Elf64_FuncDesc): Remove.
49640
25ad0df1
DM
496412011-08-22 David S. Miller <davem@davemloft.net>
49642
49643 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
49644 sigaltstack check, add missing cfi directives.
49645 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
49646 missing cfi directives, and sigaltstack handling.
49647
e888bcbe
AS
496482011-08-16 Andreas Schwab <schwab@redhat.com>
49649
49650 [BZ #11724]
49651 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
49652 object is seen twice.
49653 * elf/dl-fini.c (_dl_sort_fini): Likewise.
49654
49655 * elf/Makefile (distribute): Add tst-initorder2.c.
49656 (tests): Add tst-initorder2.
49657 (modules-names): Add tst-initorder2a tst-initorder2b
49658 tst-initorder2c tst-initorder2d. Add rules to build them.
49659 ($(objpfx)tst-initorder2.out): New rule.
49660 * elf/tst-initorder2.c: New file.
49661 * elf/tst-initorder2.exp: New file.
49662
87162f46
AS
496632011-08-22 Andreas Schwab <schwab@redhat.com>
49664
70538b7f
AS
49665 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
49666
f55ffe58
AS
49667 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
49668 dependencies back to end of function.
49669
87162f46
AS
49670 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
49671 $(elfobjdir)/ld.so.
49672
91b392a4
UD
496732011-08-21 Ulrich Drepper <drepper@gmail.com>
49674
49675 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
49676 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
49677 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
49678 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
49679 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
49680 of __vdso_gettimeofday.
49681 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
49682 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
49683 attribute_hidden.
49684 (_libc_vdso_platform_setup): Remove initialization of
49685 __vdso_gettimeofday and __vdso_time.
49686
5c43483f
UD
496872011-08-20 Ulrich Drepper <drepper@gmail.com>
49688
775a77e7
UD
49689 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
49690 and fgetc_unlocked.
49691 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
49692 getc_unlocked.
89f447ed 49693
49c74ba9
UD
49694 * elf/dl-open.c (add_to_global): Report additions to the global scope
49695 for LD_DEBUG=scopes.
49696 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 49697 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 49698
5c43483f
UD
49699 [BZ #13114]
49700 * stdio-common/Makefile (tests): Add bug24.
49701 * stdio-common/bug24.c: New file.
49702
a101b025
AJ
497032011-08-19 Andreas Jaeger <aj@suse.de>
49704
49705 [BZ #13114]
49706 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
49707 non-existant file when using close-on-exec mode.
49708
c88f1766
UD
497092011-08-20 Ulrich Drepper <drepper@gmail.com>
49710
0276a718
UD
49711 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
49712 the very first instruction.
49713
c88f1766
UD
49714 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
49715 the CFI state in the end.
49716 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
49717 inclusion of dl-trampoline.h.
49718 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
49719
51ccffa0
AS
497202011-08-19 Andreas Schwab <schwab@redhat.com>
49721
94d7165f
AS
49722 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
49723 expectations for long double.
49724
51ccffa0
AS
49725 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
49726 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
49727
fd708658 497282011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
49729
49730 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
49731 artificual limit depends upon the system page size.
49732
44f0a71e
UD
497332011-08-17 Ulrich Drepper <drepper@gmail.com>
49734
49735 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
49736 * resolv/Makefile: Define CFLAGS-libresolv.
49737
8de79a24
AS
497382011-08-17 Andreas Schwab <schwab@redhat.com>
49739
49740 * nss/makedb.c (compute_tables): Make variables used in nested
49741 function static.
49742
27724598
UD
497432011-08-17 Ulrich Drepper <drepper@gmail.com>
49744
c5305d88
UD
49745 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
49746 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
49747 if buffer was too small.
49748
27724598
UD
49749 * elf/pldd.c (main): Attach to all threads in the process.
49750 Rewrite /proc handling to use *at functions.
49751
076fe015
UD
497522011-08-16 Ulrich Drepper <drepper@gmail.com>
49753
174baab3
UD
49754 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
49755 specifies first scope to show.
49756 (dl_open_worker): Update callers. Move printing scope of new
49757 object to before the relocation.
44f0a71e 49758 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
49759 * sysdeps/generic/ldsodefs.h: Update declaration.
49760
076fe015
UD
49761 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
49762 string for the scope number.
49763
a60df2c3
UD
497642011-08-14 Ulrich Drepper <drepper@gmail.com>
49765
49766 * nscd/servicescache.c (cache_addserv): Make sure written is always
49767 initialized.
49768
5e4287d1
RM
497692011-08-14 Roland McGrath <roland@hack.frob.com>
49770
85ae0589
RM
49771 * sysdeps/i386/i486/bits/atomic.h
49772 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
49773 statement expression, so as to suppress "set but not used" warning.
49774 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
49775
69f63097
RM
49776 * string/strncat.c (STRNCAT): Use prototype definition.
49777
675456ef
RM
49778 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
49779 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
49780 -Iprograms here.
49781 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
49782 (localedef-modules): Add localedef.
49783 (locale-modules): Add locale.
49784
5e4287d1
RM
49785 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
49786 * elf/rtld.c (dl_main): Invert order of assignment in last change,
49787 to avoid a warning.
49788
9c96ff23
DM
497892011-08-14 David S. Miller <davem@davemloft.net>
49790
49791 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
49792 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
49793
f9ddf089
UD
497942011-08-13 Ulrich Drepper <drepper@gmail.com>
49795
44f0a71e 49796 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
49797 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
49798 * elf/rtld.c (dl_main): Set l_name of vDSO.
49799 Call _dl_show_scope when DL_DEBUG_SCOPES.
49800 (process_dl_debug): Recognize scopes flag and also set it for all.
49801 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
49802 Declare _dl_show_scope.
49803
1dc27704
UD
49804 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
49805 (do_dlopen): Pass caller_dlopen to dl_open.
49806 (__libc_dlopen_mode): Initialize caller_dlopen.
49807
f9ddf089
UD
49808 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
49809 of libc. Make tolower call locale-independent. Optimize a bit by
49810 using isdigit instead of isalnum.
49811 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
49812
9ac533d3
UD
498132011-08-12 Ulrich Drepper <drepper@gmail.com>
49814
49815 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
49816 was a dependency or dynamically loaded.
49817
89edf2e9
UD
498182011-08-11 Ulrich Drepper <drepper@gmail.com>
49819
8e999d29
UD
49820 * intl/l10nflist.c: Allow architecture-specific pop function.
49821 * sysdeps/x86_64/l10nflist.c: New file.
49822
89edf2e9
UD
49823 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
49824 classification.
49825
14d96785
AS
498262011-08-10 Andreas Schwab <schwab@redhat.com>
49827
49828 * include/dirent.h: Add libc_hidden_proto for scandirat and
49829 scandirat64. Don't declare __scandirat64.
49830 * dirent/scandirat.c: Add libc_hidden_def.
49831 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
49832 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
49833
6761ac04
DM
498342011-08-10 David S. Miller <davem@davemloft.net>
49835
49836 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
49837 enum.
49838 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
49839 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
49840 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
49841
c55fbd1e
UD
498422011-08-09 Ulrich Drepper <drepper@gmail.com>
49843
49844 * Versions.def [libc]: Add GLIBC_2.15.
49845 * dirent/Makefile (routines): Add scandirat and scandirat64.
49846 * dirent/Versions [libc]: Export scandirat and scandirat64 for
49847 GLIBC_2.15.
49848 * dirent/dirent.h: Declare scandirat and scandirat64.
49849 * dirent/scandirat.c: New file.
49850 * dirent/scandirat64.c: New file.
49851 * sysdeps/wordsize-64/scandirat.c: New file.
49852 * sysdeps/wordsize-64/scandirat64.c: New file.
49853 * dirent/opendir.c: Define opendirat.
49854 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
49855 using scandirat.
49856 * dirent/scandir64.c: Adjust for scandir.c change.
49857 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
49858 __scandirat64, and __scandir_cancel_handler.
49859 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
49860 additional parameter and use openat instead of open (outside of ld.so).
49861 Add new __opendir as wrapper around __opendirat.
49862 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
49863 here without requiring old scandirat implementation.
49864
879165f2
UD
498652011-08-08 Ulrich Drepper <drepper@gmail.com>
49866
49867 * dirent/scandir.c (cancel_handler): Renamed to
49868 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
49869 defined. Adjust users.
49870 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
49871 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
49872
cb7e923b
UD
498732011-08-04 Ulrich Drepper <drepper@gmail.com>
49874
16292edd
UD
49875 * string/test-string.h (IMPL): Use __STRING to expand name and then
49876 stringify it.
49877
cb7e923b
UD
49878 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
49879 of cleanups.
49880
cff82933
LD
498812011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
49882
49883 * string/Makefile: Update.
49884 (strop-tests): Append strncat.
49885 * string/test-wcscmp.c: New file.
49886 New comprehensive test for wcscmp.
49887 * string/test-strcmp.c: Update.
49888 (WIDE): New define.
49889
9be9bfcc
AS
498902011-07-22 Andreas Schwab <schwab@redhat.com>
49891
49892 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
49893 line.
49894
2e96f1c7
AS
498952011-07-26 Andreas Schwab <schwab@redhat.com>
49896
49897 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
49898 encoding to ACE if AI_IDN.
49899
85188888
JJ
499002011-08-01 Jakub Jelinek <jakub@redhat.com>
49901
49902 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
49903 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
49904
5fa16e9b
LD
499052011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
49906
49907 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
49908 Fix overflow bug in strncat.
49909 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
49910
49911 * string/test-strncat.c: Update.
49912 Add new tests for checking overflow bugs.
49913
499142011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
49915
49916 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
49917 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
49918 * sysdeps/i386/i686/multiarch/strcat.S: New file.
49919 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
49920 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
49921 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
49922 * sysdeps/i386/i686/multiarch/strncat.S: New file.
49923 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
49924 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
49925
49926 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
49927 (USE_AS_STRCAT): Define.
49928 Add strcat and strncat support.
49929 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
49930
8c1a459f
AS
499312011-07-25 Andreas Schwab <schwab@redhat.com>
49932
49933 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
49934 __n bigger than INT_MAX+1.
49935 (__strncmp_g): Likewise.
49936
bba33c28
UD
499372011-07-23 Ulrich Drepper <drepper@gmail.com>
49938
798be72d
UD
49939 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
49940 * libio/stido.h: Likewise.
49941
8accd4dc
UD
49942 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
49943 (AF_NFC): Define.
49944 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
49945 (AF_NFC): Define.
49946
cbff0d96
UD
49947 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
49948 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
49949 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
49950 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
49951 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
49952
9191c04a
UD
49953 [BZ #13021]
49954 * scripts/test-installation.pl: Don't expect libnss_test1 to be
49955 installed.
49956
bba33c28
UD
49957 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
49958 typo.
49959 (_dl_x86_64_save_sse): Likewise.
49960
90f139dd
UD
499612011-07-22 Ulrich Drepper <drepper@gmail.com>
49962
1aae088a
UD
49963 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
49964 OSXSAVE.
49965 (_dl_x86_64_save_sse): Likewise.
49966
8e2045f5
UD
49967 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
49968
90f139dd
UD
49969 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
49970
1d002f25
AS
499712011-07-21 Andreas Schwab <schwab@redhat.com>
49972
49973 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
49974 change.
49975 (_dl_x86_64_save_sse): Use correct AVX check.
49976
21137f89
UD
499772011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
49978
49979 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
49980 bug in strncpy/strncat.
49981 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
49982
a65c0b7a
UD
499832011-07-21 Ulrich Drepper <drepper@gmail.com>
49984
49985 * string/tester.c (test_strcat): Add tests for different alignments
49986 of source and destination.
49987 (test_strncat): Likewise.
49988
6986b98a
UD
499892011-07-20 Ulrich Drepper <drepper@gmail.com>
49990
90bb2039
UD
49991 [BZ #12852]
49992 * posix/glob.c (glob): Check passed in values before using them in
49993 expressions to avoid some overflows.
49994 (glob_in_dir): Likewise.
49995
5644ef54
UD
49996 [BZ #13007]
49997 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
49998 check for AVX enablement so that we don't crash with old kernels and
49999 new hardware.
50000 * elf/tst-audit4.c: Add same checks here.
50001 * elf/tst-audit6.c: Likewise.
50002
50003 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 50004
bfc9dc9b
AS
500052011-07-09 Andreas Schwab <schwab@linux-m68k.org>
50006
50007 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
50008
702e64bb
UD
500092011-07-20 Ulrich Drepper <drepper@gmail.com>
50010
50011 * po/cs.po: Update from translation team.
50012 * po/bg.po: Likewise.
50013
295e904f
MP
500142011-07-12 Marek Polacek <mpolacek@redhat.com>
50015
50016 * misc/sys/cdefs.h: Add support for const attribute.
50017 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
50018 to gnu_dev_{major,minor,makedev} functions.
50019
3ff94596
MP
500202011-07-20 Marek Polacek <mpolacek@redhat.com>
50021
50022 * intl/dcigettext.c (get_output_charset): Add missing bracket.
50023
28b59fca
AS
500242011-07-20 Andreas Schwab <schwab@redhat.com>
50025
50026 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
50027 strlen results.
50028
19df733e
AK
500292011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
50030
50031 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
50032 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
50033 register in order to avoid conflicts with the soft frame pointer
50034 being held in r11 when necessary.
50035 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
50036 (INTERNAL_VSYSCALL_NCS): Likewise.
50037
c8835729
MP
500382011-07-14 Marek Polacek <mpolacek@redhat.com>
50039
50040 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
50041 * elf/dl-fini.c (_dl_fini): Adjust caller.
50042 * elf/dl-close.c (_dl_close_worker): Likewise.
50043 * sysdeps/generic/ldsodefs.h: Adjust declaration.
50044
b902330c
MP
500452011-07-15 Marek Polacek <mpolacek@redhat.com>
50046
8991e135
MP
50047 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
50048 "aux_cache->nlibs < 0".
50049
b902330c
MP
50050 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
50051 in the reload-count case.
50052
99710781
LD
500532011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
50054
50055 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
50056 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
50057 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
50058 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
50059 * sysdeps/x86_64/multiarch/strcat.S: New file.
50060 * sysdeps/x86_64/multiarch/strncat.S: New file.
50061 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
50062 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
50063 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
50064 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
50065 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
50066 (USE_AS_STRCAT): Define.
50067 Add strcat and strncat support.
50068 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
50069 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
50070 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
50071 * string/strncat.c: Update.
50072 (USE_AS_STRNCAT): Define.
50073 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
50074 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
50075 and i7.
50076 * sysdeps/x86_64/multiarch/init-arch.h
50077 (bit_Prefer_PMINUB_for_stringop): New.
50078 (index_Prefer_PMINUB_for_stringop): Likewise.
50079 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
50080 bit_Prefer_PMINUB_for_stringop.
50081
7dc6bd90
UD
500822011-07-19 Ulrich Drepper <drepper@gmail.com>
50083
50084 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
50085 buffer64.
50086 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
50087 of casting of buffer.
50088 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
50089 buffer32 and buffer64.
50090 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
50091 writes instead of casting of buffer.
50092 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
50093 buffer32.
50094 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
50095 casting of buffer.
50096
e0e72284
AS
500972011-07-19 Andreas Schwab <schwab@redhat.com>
50098
50099 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
50100
feb1eb0b
UD
501012011-07-19 Ulrich Drepper <drepper@gmail.com>
50102
50103 * nscd/nscd.c (termination_handler): Don't do anything for a database
50104 if it has not yet been initialized.
50105
298711ff
UD
501062011-07-18 Ulrich Drepper <drepper@gmail.com>
50107
50108 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
50109
501102011-07-15 Marek Polacek <mpolacek@redhat.com>
50111
50112 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
50113
f9d68389
UD
501142011-07-18 Ulrich Drepper <drepper@gmail.com>
50115
50116 * po/nl.po: Update from translation team.
50117 * po/sv.po: Likewise.
50118
db290cf5
RM
501192011-07-16 Roland McGrath <roland@hack.frob.com>
50120
50121 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
50122 now disallowed by GCC.
5c550700 50123
fd5e21c7
RM
50124 * configure.in (use-default-link): Default to yes if a test -shared
50125 link meets our qualifications.
50126 * configure: Regenerated.
50127
5c550700
RM
50128 * config.make.in (output-format): New variable.
50129 * configure.in: Check for ld --print-output-format support.
50130 * configure: Regenerated.
50131 * Makerules ($(common-objpfx)format.lds)
50132 [$(output-format) != unknown]: Just use $(output-format),
50133 instead of the linker-script munging.
50134
9fa2c032
RM
501352011-07-14 Roland McGrath <roland@hack.frob.com>
50136
a6928d51
RM
50137 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
50138 of $(common-objpfx)shlib.lds.
50139 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
50140
661607b3
RM
50141 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
50142 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
50143
9fa2c032
RM
50144 * configure.in (-z relro check): Adjust test code to add a large
50145 writable data section after it.
50146 * configure: Regenerated.
50147
defe9061
RM
501482011-07-11 Roland McGrath <roland@hack.frob.com>
50149
50150 * configure.in (-z relro check): Fix test code to make the variable
50151 truly const.
50152 * configure: Regenerated.
50153
319b9ad4
UD
501542011-07-11 Ulrich Drepper <drepper@gmail.com>
50155
50156 * nscd/nscd.h (struct traced_file): Define.
50157 (struct database_dyn): Remove inotify_descr, reset_res, and filename
50158 elements. Add traced_files.
50159 (inotify_fd): Declare.
50160 (register_traced_file): Declare.
50161 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
50162 (inotify_fd): Export.
50163 (resolv_conf_descr): Remove.
50164 (nscd_init): Move inotify descriptor creation to main.
50165 Don't register files for notification here.
50166 (register_traced_file): New function.
50167 (invalidate_cache): Don't use reset_res to determine whether to call
50168 res_init, go through the list of registered files.
50169 (main_loop_poll): The inotify descriptors are now stored in the
50170 structures for the traced files.
50171 (main_loop_epoll): Likewise
50172 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
50173 to __nss_disable_nscd.
50174 * nscd/cache.c (prune_cache): There is no single inotify descriptor
50175 for a database anymore. Check the records for all the registered
50176 files instead.
50177 * nss/Makefile (libnss_files-routines): Add files-init.
50178 (libnss_db-routines): Add db-init.
50179 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
50180 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
50181 * nss/nss_db/db-init.c: New file.
50182 * nss/nss_files/files-init.c: New file.
50183 * nss/nsswitch.c (nss_load_library): New function. Broken out of
50184 __nss_lookup_function.
50185 (__nss_lookup_function): Call nss_load_library.
50186 (nss_load_all_libraries): New function.
50187 (__nss_disable_nscd): Take parameter with callback function for files
50188 to register. Set is_nscd. Load all the DSOs for the NSS modules
50189 used for the cached services.
50190 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
50191 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
50192 options for features to all the files in nscd.
50193
50194 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
50195
23bee3e8
RM
501962011-07-10 Roland McGrath <roland@hack.frob.com>
50197
50198 * csu/elf-init.c (__libc_csu_init): Comment typo.
50199
46a5b7f0
UD
502002011-07-09 Ulrich Drepper <drepper@gmail.com>
50201
50202 * po/pl.po: Update from translation team.
50203 * po/ja.po: Likewise.
50204 * po/ru.po: Likewise.
50205 * po/ko.po: Likewise.
50206 * po/fr.po: Likewise.
50207
d30cf5bb
RM
502082011-07-09 Roland McGrath <roland@hack.frob.com>
50209
113ddea4
RM
50210 * configure.in (.ctors/.dtors header and trailer check):
50211 Use an empirical test on a built program.
50212 * configure: Regenerated.
50213
574920b4
RM
50214 * configure.in (-z relro check): Use an empirical test on a built DSO.
50215 Detect, but do not require, on ia64.
50216 * configure: Regenerated.
50217
d30cf5bb
RM
50218 * configure.in (READELF): Find it with AC_CHECK_TOOL.
50219 Update tests that use readelf to use $READELF instead.
50220 * configure: Regenerated.
50221
8538fdb3
UD
502222011-07-08 Ulrich Drepper <drepper@gmail.com>
50223
50224 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
50225 if the result is not used.
50226
04d08991
AJ
502272011-07-05 Andreas Jaeger <aj@suse.de>
50228
50229 [BZ#9696]
50230 * stdlib/tst-strtod.c: Add testcase.
50231
de283087
AD
502322011-07-07 Ulrich Drepper <drepper@gmail.com>
50233
4e5f31c8 50234 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 50235 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
50236 The latter has a higher limit. Take additional parameter to pass to
50237 the new function.
50238 (__pathconf): Pass file to __statfs_link_max.
50239 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
50240 __statfs_link_max.
50241 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
50242 __statfs_link_max.
50243
de283087
AD
50244 [BZ #12868]
50245 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
50246 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
50247 Handle Lustre.
50248 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
50249 (__statfs_filesize_max): Likewise.
50250 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
50251
c75fa153
AJ
502522011-07-05 Andreas Jaeger <aj@suse.de>
50253
50254 * resolv/res_comp.c (dn_skipname): Remove unused variable.
50255
1a544854
UD
502562011-07-06 Marek Polacek <mpolacek@redhat.com>
50257
50258 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
50259 `status' variable.
50260 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
50261 Likewise.
50262
6f0eec67
UD
502632011-07-04 H.J. Lu <hongjiu.lu@intel.com>
50264
50265 * Makefile (strop-tests): Add strncat.
50266 * string/test-strncat.c: New file.
50267
aae30307
UD
502682011-06-30 Marek Polacek <mpolacek@redhat.com>
50269
50270 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
50271
c0cfb5eb
UD
502722011-06-21 Andreas Jaeger <aj@suse.de>
50273
50274 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
50275 Copy rule from iconvdata/Makefile.
50276
01636b21
UD
502772011-07-06 Ulrich Drepper <drepper@gmail.com>
50278
50279 [BZ #12922]
50280 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
50281 but no long options are defined, just return 'W'.
50282
9895c8bc
UD
502832011-06-22 Marek Polacek <mpolacek@redhat.com>
50284
50285 [BZ #9696]
50286 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
50287
5d4cf042
UD
502882011-07-06 Ulrich Drepper <drepper@gmail.com>
50289
50290 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
50291 netgroups to read.
960e5535 50292 (innetgr): Likewise.
5d4cf042 50293
751eb97e
RM
502942011-07-05 Roland McGrath <roland@hack.frob.com>
50295
50296 * config.make.in (install_root): Default to $(DESTDIR).
50297
f15f1e45
UD
502982011-07-05 Ulrich Drepper <drepper@gmail.com>
50299
50300 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
50301
4e34ac6a
RM
503022011-07-02 Roland McGrath <roland@hack.frob.com>
50303
5e9b6af4
RM
50304 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
50305
84f9ea0f
RM
50306 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
50307 containing directory rather than embedding absolute directory names.
50308
ea5ee9f7
RM
50309 * scripts/check-local-headers.sh: Rewritten using awk.
50310 Match by word, not by line. Print error messages for matches.
50311 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
50312
1b74661a
RM
50313 * Makerules [shlib-lds-flags empty]:
50314 ($(common-objpfx)libc_pic.opts): New target.
50315 ($(common-objpfx)libc_pic.os.clean): New target.
50316 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
50317
50318 * config.make.in (OBJCOPY): New variable.
50319 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
50320 * configure: Regenerated.
50321
f781ef40
RM
50322 * config.make.in (use-default-link): New variable.
50323 * configure.in (use_default_link): Grok --with-default-link to set it.
50324 * configure: Regenerated.
50325 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
50326 (shlib-lds, shlib-lds-flags): Define to empty.
50327
2d4fa81e
RM
50328 * Makerules (shlib-lds): New variable.
50329 (shlib-lds-flags): New variable.
50330 (build-shlib, build-moduile, build-module-asneeded): Use it.
50331 ($(common-objpfx)libc.so): Use $(shlib-lds).
50332 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
50333 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
50334
31fffa6b
RM
50335 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
50336 DT_FLAGS/DT_FLAGS_1 with zero flags.
50337
4e34ac6a
RM
50338 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
50339 linker script munging.
50340
fcfc776b
UD
503412011-07-02 Ulrich Drepper <drepper@gmail.com>
50342
50343 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
50344 as 128-bit value.
50345 * crypt/sha512.c (sha512_process_block): Perform total addition using
50346 128-bit if possible.
50347 (__sha512_finish_ctx): Likewise.
50348 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
50349 as 64-bit value.
50350 * crypt/sha256.c (SWAP64): Define.
50351 (sha256_process_block): Perform total addition using 64-bit if
50352 possible.
50353 (__sha256_finish_ctx): Likewise.
50354
99231d9a
UD
503552011-07-01 Ulrich Drepper <drepper@gmail.com>
50356
50357 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
50358 * nscd/initgrcache.c (addinitgroupsX): Likewise.
50359 * nscd/hstcache.c (cache_addhst): Likewise.
50360 * nscd/grpcache.c (cache_addgr): Likewise.
50361 * nscd/aicache.c (addhstaiX): Likewise
50362 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
50363
445b4a53
TK
503642011-07-01 Thorsten Kukuk <kukuk@suse.de>
50365
50366 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
50367 * nscd/initgrcache.c (addinitgroupsX): Likewise.
50368 * nscd/hstcache.c (cache_addhst): Likewise.
50369 * nscd/grpcache.c (cache_addgr): Likewise.
50370 * nscd/aicache.c (addhstaiX): Likewise
50371
6d4d8e8e
AS
503722011-07-01 Andreas Schwab <schwab@redhat.com>
50373
50374 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
50375 domain only when needed.
50376
89f654c5
AS
503772011-06-30 Andreas Schwab <schwab@redhat.com>
50378
50379 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
50380 is always restored.
50381
cf3b23ff
UD
503822011-06-29 Ulrich Drepper <drepper@gmail.com>
50383
50384 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
50385 are re-adding the entry.
50386 * nscd/servicescache.c (cache_addserv): Likewise.
50387
751626f9
AJ
503882011-06-30 Aurelien Jarno <aurelien@aurel32.net>
50389
50390 * sysdeps/generic/dl-irel.h: fix protection against multiple
50391 inclusions.
50392 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
50393
9113ea1f
UD
503942011-06-28 Ulrich Drepper <drepper@gmail.com>
50395
5c0b8d90
UD
50396 [BZ #12935]
50397 * malloc/memusage.sh: Fix quoting in message.
50398 * debug/xtrace.sh: Likewise.
50399
9113ea1f
UD
50400 * configure.in: Remove support for --experimental-malloc option, make
50401 it the default.
50402 * config.make.in: Likewise.
50403 * malloc/Makefile: Likewise.
50404
a4172181
AS
504052011-06-27 Andreas Schwab <schwab@redhat.com>
50406
50407 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
50408 two-byte characters.
50409
78a7eee7
RM
504102011-06-27 Roland McGrath <roland@hack.frob.com>
50411
62bede13
RM
50412 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
50413 AC_CACHE_CHECK invocation.
50414 * configure: Regenerated.
50415
78a7eee7
RM
50416 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
50417
5ce33a62
UD
504182011-06-27 Ulrich Drepper <drepper@gmail.com>
50419
034807a9
UD
50420 [BZ #12350]
50421 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
50422 bit from old_res_options.
50423
4902da17
UD
50424 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
50425
5ce33a62
UD
50426 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
50427 value type for setfct.
50428
c2344f56
L
504292011-06-23 H.J. Lu <hongjiu.lu@intel.com>
50430
50431 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
50432 __gettimeofday instead of gettimeofday.
50433
68468076
UD
504342011-06-26 Ulrich Drepper <drepper@gmail.com>
50435
50436 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
50437
acb0d739
L
504382011-06-24 H.J. Lu <hongjiu.lu@intel.com>
50439
50440 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
50441
50442 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
50443 info.
50444
8912479f
L
504452011-06-22 H.J. Lu <hongjiu.lu@intel.com>
50446
50447 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
50448 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
50449 strcpy-sse2-unaligned strncpy-sse2-unaligned
50450 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
50451 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
50452 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
50453 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
50454 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
50455 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
50456 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
50457 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
50458 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
50459 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
50460 (STRCPY): Support SSE2 and SSSE3 versions.
50461
d5495a11
UD
504622011-06-24 Ulrich Drepper <drepper@gmail.com>
50463
50464 [BZ #12874]
50465 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
50466 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
50467 kernels which artificially limit size of requests.
50468
0b1cbaae
L
504692011-06-22 H.J. Lu <hongjiu.lu@intel.com>
50470
50471 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
50472 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
50473 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
50474 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
50475 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
50476 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
50477 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
50478 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
50479 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
50480 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
50481 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
50482 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
50483 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
50484 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
50485 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
50486 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
50487 Enable unaligned load optimization for Intel Core i3, i5 and i7
50488 processors.
50489 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
50490 Define.
50491 (index_Fast_Unaligned_Load): Define.
50492 (HAS_FAST_UNALIGNED_LOAD): Define.
50493
07f494a0
MP
504942011-06-23 Marek Polacek <mpolacek@redhat.com>
50495
50496 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
50497
fa3fc0fe
UD
504982011-06-22 Ulrich Drepper <drepper@gmail.com>
50499
50500 [BZ #12907]
50501 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
50502 until it is clear that the information is realy needed.
50503 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
50504
e12df166
AS
505052011-06-22 Andreas Schwab <schwab@redhat.com>
50506
50507 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
50508
852eb34d
UD
505092011-06-22 Ulrich Drepper <drepper@gmail.com>
50510
84e2a551
UD
50511 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
50512 /sys/devices/system/cpu/online if it is usable.
50513
852eb34d
UD
50514 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
50515 reading the information from the /proc filesystem to once a second.
50516
6e502e19
UD
505172011-06-21 Andreas Jaeger <aj@suse.de>
50518
50519 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
50520 NULL after inclusion of kernel headers.
50521
75d39ff2
UD
505222011-06-21 Ulrich Drepper <drepper@gmail.com>
50523
51f9aa6a
UD
50524 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
50525 calls to internal_setent.
50526
c0244a9d
UD
50527 [BZ #12885]
50528 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
50529 addresses using gethostbyname4_r ignore IPv4 addresses.
50530
c5e3c2ae
UD
50531 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
50532 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
50533
75d39ff2
UD
50534 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
50535
42675c6f
DM
505362011-06-20 David S. Miller <davem@davemloft.net>
50537
50538 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
50539 inclusions.
50540 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
50541
50542 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
50543 (elf_irel): Use it.
50544 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
50545 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
50546 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
50547 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
50548 * sysdeps/x86_64/dl-irel.h: Likewise.
50549
50550 * elf/dl-runtime.c: Use elf_ifunc_invoke.
50551 * elf/dl-sym.c: Likewise.
50552
57912a71
UD
505532011-06-15 Ulrich Drepper <drepper@gmail.com>
50554
50555 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
50556 need to dereference resplen2.
50557
ee22793d
AS
505582011-06-14 Andreas Schwab <schwab@redhat.com>
50559
50560 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
50561
a9e836b0
UD
505622011-06-15 Ulrich Drepper <drepper@gmail.com>
50563
77fb9117
UD
50564 * Makeconfig: Define vardbdir and inst_vardbdir.
50565 * nss/Makefile: Add rules to install db-Makefile.
50566
40c1b22c
UD
50567 * nss/nss_db/db-XXX.c: Cleanup.
50568
9f2da732
UD
50569 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
50570 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
50571 GLIBC_PRIVATE.
50572 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
50573 * nss/makedb.c: Implement -g option to specify that value strings
50574 are generated and should not be added to table iterated over for
50575 get*ent calls.
50576 * nss/nss_db/db-initgroups.c: New file.
50577
82e9a1f7
UD
50578 * nss/getent.c: Add support for initgroups lookups through getgrouplist
50579 interface.
50580
c41af17e
UD
50581 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
50582 (internal_getgrouplist): Adjust to name change.
50583 Update use_initgroups_entry if this is not the first call.
50584 * nss/databases.def: Add initgroups entry.
50585
a9e836b0
UD
50586 * nss/makedb.c (compute_tables): Check result of multiple hash table
50587 sizes to minimize maximum chain length.
50588
2666d441
UD
505892011-06-14 Ulrich Drepper <drepper@gmail.com>
50590
50591 * Versions.def: Add entry for libnss_db.
50592 * shlib-versions: Likewise.
50593 * nss/Makefile: Add rules to build libnss_db.
50594 * nss/Versions: Add libnss_db information. Organize libnss_files
50595 entries better.
50596 * nss/db-Makefile: Add gshadow support. Change rules for the new
50597 makedb progra. Some minor improvements to generate smaller files.
50598 * nss/nss_db/nss_db.h: Move NSS database header data structures to
50599 here from...
50600 * nss/makedb.c: ...here.
50601 Improve database format to be smaller and require less memory at
50602 runtime.
50603 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
50604 db anymore.
50605 * nss/nss_db/db-netgrp.c: Likewise.
50606 * nss/nss_db/db-open.c: Likewise.
50607 * nss/nss_files/flies-XXX.x: Adjust comments.
50608 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
50609 * nss/nss_files/files-grp.c: Likewise.
50610 * nss/nss_files/files-hosts.c: Likewise.
50611 * nss/nss_files/files-network.c: Likewise.
50612 * nss/nss_files/files-proto.c: Likewise.
50613 * nss/nss_files/files-pwd.c: Likewise.
50614 * nss/nss_files/files-rpc.c: Likewise.
50615 * nss/nss_files/files-service.c: Likewise.
50616 * nss/nss_files/files-sgrp.c: Likewise.
50617 * nss/nss_files/files-spwd.c: Likewise.
50618 * nss/nss_db/db-alias.c: Removed.
50619 * nss/nss_db/dummy-db.h: Removed.
50620
9ee76b5a
UD
506212011-06-02 Ulrich Drepper <drepper@gmail.com>
50622
50623 * nss/makedb.c: Rewritten to not use database library.
50624 * nss/Makefile: Update to build new makedb program.
50625
c71ca1f8
AJ
506262011-06-14 Andreas Jaeger <aj@suse.de>
50627
50628 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
50629 memset declaration.
50630
3154bfb8
UD
506312011-06-10 Andreas Schwab <schwab@redhat.com>
50632
50633 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
50634 tmpbuf.
50635
b350afab
RM
506362011-06-10 Roland McGrath <roland@hack.frob.com>
50637
decd4e50
RM
50638 * Makerules (shlib.lds): Fail if the linker script comes out empty.
50639 * elf/Makefile ($(objpfx)ld.so): Likewise.
50640
5615eaf2
RM
50641 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
50642 Don't list ld.so twice in dependencies.
50643
50644 * posix/bug-regex31.c: Include <stdlib.h>.
50645
50646 * nscd/hstcache.c (cache_addhst): Remove unused variable.
50647
50648 * nis/nss_compat/compat-spwd.c
50649 (getspent_next_nss_netgr): Remove unused variable.
50650 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
50651
50652 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
50653 nonmembers" output to use the right array.
50654
50655 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
50656
50657 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
50658
50659 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
50660 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
50661 * catgets/gencat.c (read_input_file): Likewise.
50662 * locale/programs/locarchive.c (enlarge_archive): Likewise.
50663
50664 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
50665 variable definition inside #if's controlling its use.
50666
50667 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
50668
50669 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
50670
50671 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
50672
50673 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
50674 unreachable code.
50675
50676 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
50677
b68e08db
RM
50678 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
50679 * configure: Regenerated.
50680
b350afab
RM
50681 * Makerules: Revert last change.
50682 * elf/Makefile: Likewise.
50683
28368601
RM
506842011-06-09 Roland McGrath <roland@hack.frob.com>
50685
50686 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
50687 * elf/Makefile ($(objpfx)librtld.os): Likewise.
50688 (reloc-link): Likewise.
50689
11988f8f
UD
506902011-06-09 Ulrich Drepper <drepper@gmail.com>
50691
50692 * elf/Makefile: Add rules to build pldd.
50693 * elf/pldd.c: New file.
50694 * elf/pldd-xx.c: New file.
50695
e80fab37
UD
506962011-06-07 Ulrich Drepper <drepper@gmail.com>
50697
50698 * version.h: Update for 2.15 development version.
50699
9b849836
DM
507002011-06-07 David S. Miller <davem@davemloft.net>
50701
50702 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
50703 ifuncs.
50704 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
50705 elf_machine_lazy_rel): Likewise.
50706 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
50707 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
50708 elf_machine_lazy_rel): Likewise.
50709 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
50710 dl_hwcap via passed in argument.
50711 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
50712 Likewise.
50713
5a31b283
AK
507142011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
50715
50716 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
50717
069e52f8
RM
507182011-06-06 Roland McGrath <roland@hack.frob.com>
50719
50720 [BZ #12849]
50721 * manual/fdl-1.1.texi: New file, verbatim from:
50722 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
50723 * manual/lgpl-2.1.texi: New file, verbatim from:
50724 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
50725 * manual/Makefile (licenses): New variable, list those new file names.
50726 (texis): Use it.
50727 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
50728
50729 * manual/fdl.texi: File removed.
50730 * manual/lesser.texi: File removed.
50731 * manual/libc.texinfo (Copying, Documentation License):
50732 Use new @include file names, put @appendix directive before @include.
50733
f16846a5
JJ
507342011-06-04 Jakub Jelinek <jakub@redhat.com>
50735
50736 [BZ #12841]
50737 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
50738 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
50739 (mq_open): Add __NTH.
50740
3d29045b
L
507412011-06-02 H.J. Lu <hongjiu.lu@intel.com>
50742
50743 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
50744 Assume Intel Core i3/i5/i7 processor if AVX is available.
50745
8c297311
UD
507462011-05-31 Ulrich Drepper <drepper@gmail.com>
50747
50748 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
50749 typo.
50750
c8fc0c91
UD
507512011-05-31 Andreas Schwab <schwab@redhat.com>
50752
50753 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
50754 memory. Use alloca_account. Fix memory leak when retrying.
50755
5b27a807
UD
507562011-05-31 Ulrich Drepper <drepper@gmail.com>
50757
356f8bc6
UD
50758 * version.h (RELEASE): Bump for 2.14 release.
50759 * include/features.h (__GLIBC_MINOR__): Bump to 14.
50760
5b27a807
UD
50761 * config.make.in (RANLIB): Remove entry.
50762
01f16ab0
UD
507632011-05-30 Ulrich Drepper <drepper@gmail.com>
50764
41fce8bd
UD
50765 * po/Makefile (po-sed-cmd): Add ksh to extensions.
50766 (libc.pot): Work around missing support for .ksh extension in xgettext.
50767
4769ae77
UD
50768 [BZ #12684]
50769 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
50770 if both request failed.
50771 (send_dg): In case of server errors clear resplen or *resplen2.
50772
6b1e7d19
UD
50773 [BZ #12454]
50774 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
50775 when there are multiple maps.
50776 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
50777 (_dl_fini): Remove test here.
50778
01f16ab0
UD
50779 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
50780
b1ebd700
UD
507812011-05-29 Ulrich Drepper <drepper@gmail.com>
50782
7ae22829
UD
50783 [BZ #12350]
50784 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
50785 bit from old_res_options.
50786 (gaih_inet): Likewise.
50787
553149f6 50788 [BZ #11099]
18a84741 50789 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
50790 as signed.
50791
652ffab1
UD
50792 * resolv/res_init.c (res_setoptions): Make the code more compact.
50793
16985fd0
UD
50794 [BZ #11558]
50795 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
50796 set RES_USEVC.
50797
0464f746
UD
50798 [BZ #11634]
50799 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
50800
7d17596c
UD
50801 * malloc/malloc.h: Mark malloc hook variables as deprecated.
50802
cf6bbbd7
UD
50803 [BZ #11781]
50804 * malloc/malloc.h: Declare malloc hook variables as volatile.
50805
13f1ab36
UD
50806 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
50807 in last patch.
50808
b1ebd700
UD
50809 [BZ #11799]
50810 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 50811 raise in the comment.
80e2212d
UD
50812 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
50813 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
50814 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 50815
ce67228d
UD
508162011-05-28 Ulrich Drepper <drepper@gmail.com>
50817
8887a920
UD
50818 [BZ #12811]
50819 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
50820 grow the buffers more if it already has to be sufficient.
50821 (build_wcs_upper_buffer): Likewise.
50822 * posix/regexec.c (check_matching): Likewise.
50823 (clean_state_log_if_needed): Likewise.
50824 (extend_buffers): Don't enlarge buffers beyond size of the input
50825 buffer.
50826 Patches mostly by Emil Wojak <emil@wojak.eu>.
50827 * posix/bug-regex32.c: New file.
50828 * posix/Makefile (tests): Add bug-regex32.
50829
4f031072
UD
50830 * locale/findlocale.c (_nl_find_locale): Return right away if
50831 _nl_explode_name failed.
50832 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
50833
d0478f0c
UD
50834 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
50835
de81b246
UD
50836 * debug/xtrace.sh: Unify messages.
50837 * malloc/memusage.sh: Likewise.
50838
c738465a
UD
50839 [BZ #12813]
50840 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
50841 time symbol from vDSO. Substitute with vsyscall if not available.
50842 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
50843 __vdso_time.
50844
f1f929d7
UD
50845 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
50846 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
50847 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
50848 Add sendmmsg and internal_sendmmsg.
50849 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
50850 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
50851 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
50852
ce67228d
UD
50853 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
50854 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
50855 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
50856
e57420c6
UD
508572011-05-27 Ulrich Drepper <drepper@gmail.com>
50858
a8509ca5
UD
50859 [BZ #12813]
50860 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
50861 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
50862 available.
50863 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
50864 __vdso_getcpu.
50865
e57420c6
UD
50866 [BZ #12814]
50867 * iconvdata/Makefile (tests): Add bug-iconv9.
50868 * iconvdata/bug-iconv9.c: New file.
50869
4d07db15
AS
508702011-05-27 Andreas Schwab <schwab@redhat.com>
50871
50872 [BZ #12814]
50873 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
50874
ea486f69
JJ
508752011-05-25 Jakub Jelinek <jakub@redhat.com>
50876
50877 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
50878 (struct user_regs_struct): Change intcs field back to cs.
50879
6f038433
UD
508802011-05-25 Ulrich Drepper <drepper@gmail.com>
50881
50882 * po/ja.po: Update from translation team.
50883
67f86a25
UD
508842011-05-23 Ulrich Drepper <drepper@gmail.com>
50885
50886 [BZ #12795]
50887 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
50888 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
50889
def7fbd6
AS
508902011-05-20 Andreas Schwab <schwab@redhat.com>
50891
50892 * stdlib/longlong.h: Update from GCC.
50893
f50ef8f1
AS
508942011-05-23 Andreas Schwab <schwab@redhat.com>
50895
50896 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
50897 parameter name.
50898 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
50899 Add parameter name.
50900 (__sysconf): Pass it down.
50901
de7ce8f1
UD
509022011-05-22 Ulrich Drepper <drepper@gmail.com>
50903
f2962a71
UD
50904 [BZ #12671]
50905 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
50906 some situations.
50907 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
50908 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
50909 add in in __libc_use_alloca calls. Adjust callers.
50910 (glob): Use malloc in some situations.
50911
de7ce8f1
UD
50912 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
50913 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
50914 pltexit.
50915
aec84f53
UD
509162011-05-21 Ulrich Drepper <drepper@gmail.com>
50917
05bb4a68
UD
50918 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
50919 and CLOCK_BOOTTIME_ALARM.
50920
7ea72f99
UD
50921 [BZ #12782]
50922 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
50923 is returned.
50924
7e4afad5
UD
50925 * string/_strerror.c (__strerror_r): Print negative errors as signed
50926 numbers.
50927
8e211fec
UD
50928 [BZ #12777]
50929 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
50930 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
50931 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
50932
f7d82dc9
UD
50933 * configure.in: Fix typo in redirection and correct removal of test
50934 files in two cases.
50935
cc9e536d
UD
50936 [BZ #12788]
50937 * locale/setlocale.c (new_composite_name): Fix test to check for
50938 identical name of all categories.
50939
aec84f53
UD
50940 [BZ #12792]
50941 * libio/filedoalloc.c (local_isatty): New function.
50942 (_IO_file_doallocate): Use local_isatty.
50943 * stdio-common/perror.c (perror): In case a new stream is used
50944 forward the stream error.
50945 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
50946 error flag.
50947
78e64fdc
RT
509482011-05-20 Ulrich Drepper <drepper@gmail.com>
50949
34a9094f
UD
50950 [BZ #11869]
50951 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
50952 alloca.
50953 * include/alloca.h (extend_alloca_account): Define.
50954
78e64fdc
RT
50955 [BZ #11857]
50956 * posix/regex.h: Fix comments with documentation of user-accessible
50957 fields after compilation and describe correct free'ing of pattern
50958 after re_compile_pattern.
50959 Patch by Reuben Thomas <rrt@sc3d.org>.
50960
457bddfc
RA
509612011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
50962
50963 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
50964 and -mno-altivec to prevent the compiler from using Altivec and/or
50965 VSX instructions when the corresponding registers are not available.
50966
a4527b51
AS
509672011-05-19 Andreas Schwab <schwab@redhat.com>
50968
50969 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
50970
ed690b2f
UD
509712011-05-19 Ulrich Drepper <drepper@gmail.com>
50972
50973 * libio/freopen.c (freopen): Use __dup2, not dup2.
50974 * libio/freopen64.c (freopen64): Likewise.
50975
8db73634
L
509762011-05-17 H.J. Lu <hongjiu.lu@intel.com>
50977
50978 [BZ #12775]
50979 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
50980 * math/Makefile (tests): Add test-powl.
50981 (CFLAGS-test-powl.c): Define.
50982 * math/test-powl.c: New file.
50983
0a197a9d
L
509842011-05-16 H.J. Lu <hongjiu.lu@intel.com>
50985
50986 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
50987
ee30c380
UD
509882011-05-17 Ulrich Drepper <drepper@gmail.com>
50989
50990 [BZ #11837]
50991 * iconvdata/gb18030.c: Update to GB18020-2005.
50992
6ce75379
UD
509932011-05-16 Ulrich Drepper <drepper@gmail.com>
50994
a4b89fd8
AR
50995 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
50996 RE_SYNTAX_POSIX_AWK): Update to match recent development.
50997 Patch by Aharon Robbins <arnold@skeeve.com>.
50998
ea389b12
UD
50999 [BZ #11892]
51000 * stdlib/putenv.c (putenv): Don't always create copy of the variable
51001 on the stack.
51002
68a3f91f
UD
51003 [BZ #11895]
51004 * misc/pselect.c (__pselect): Handle timeout value errors hidden
51005 through underflows.
51006
15cc7dd1
UD
51007 [BZ #12766]
51008 * misc/error.c (error_at_line): Ensure file_name and old_file_name
51009 point to strings before performing equality test for error_one_per_line
51010 mode.
51011
f3799213
UD
51012 [BZ #11697]
51013 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
51014
d79a9c94
UD
51015 [BZ #11820]
51016 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
51017 (struct user_fpregs_struct): Avoid __uint*_t types.
51018
56e5eb46
UD
51019 [BZ #6420]
51020 * malloc/mtrace.c (tr_where): Add additional parameter to point to
51021 symbol info. Use it instead of calling _dl_addr locally.
51022 (lock_and_info): New function.
51023 (tr_freehook): Call lock_and_info and pass symbol info as additional
51024 parameter to tr_where.
51025 (tr_mallochook): Likewise.
51026 (tr_reallochook): Likewise.
51027 (tr_memalignhook): Likewise.
51028
6ce75379
UD
51029 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
51030 used and couldn't be at all thread-safe.
51031
f8a3b5bf
UD
510322011-05-15 Ulrich Drepper <drepper@gmail.com>
51033
94b7cc37
UD
51034 * libio/freopen.c (freopen): Don't close old file descriptor
51035 before the new one is opened. Instead dup the new file descriptor
51036 to the old one after the new stream is created.
51037 * libio/freopen64.c (freopen64): Likewise.
51038 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
51039 * libio/fileops.c (_IO_new_file_close_it): Handle new
51040 _IO_FLAGS2_NOCLOSE flag.
51041 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
51042 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
51043 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
51044 _IO_FLAGS2_NOCLOSE flag.
51045 * include/unistd.h: Add hidden_proto for dup3.
51046 Define __have_dup3.
51047 * io/dup3.c: Define hidden symbol.
51048 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
51049
bd25564e
UD
51050 [BZ #7101]
51051 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
51052 when an incomplete long option is used.
51053 * posix/tst-getopt_long1.c: New file.
51054 * posix/Makefile (tests): Add tst-getopt_long1.
51055
c84cfef4
UD
51056 [BZ #10138]
51057 * scripts/config.guess: Update from autoconf-2.68.
51058 * scripts/config.sub: Likewise.
51059
3b85df27
UD
51060 [BZ #10157]
51061 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
51062 tests into ...
51063 (has_cpuclock): ...this. New function.
51064 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
51065 macro here based on has_cpuclock code.
51066
15a856b1
UD
51067 [BZ #10149]
51068 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
51069 First byte (not low byte) is now always NUL.
51070 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
51071
05f399e6
UD
51072 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
51073 Use non-cancelable interfaces.
51074
10a52685 51075 [BZ #9809]
94ecc67d
UD
51076 * locale/iso-639.def: Add entry for Sorani.
51077
f8a3b5bf
UD
51078 [BZ #11901]
51079 * include/stdlib.h: Move include protection to the right place.
51080 Define abort_msg_s. Declare __abort_msg with it.
51081 * stdlib/abort.c (__abort_msg): Adjust type.
51082 * assert/assert.c (__assert_fail_base): New function. Majority
51083 of code from __assert_fail. Allocate memory for __abort_msg with
51084 mmap.
51085 (__assert_fail): Now call __assert_fail_base.
51086 * assert/assert-perr.c: Remove bulk of implementation. Use
51087 __assert_fail_base.
51088 * include/assert.hL Declare __assert_fail_base.
51089 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
51090 mmap.
51091 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
51092
1af4e298
UD
510932011-05-14 Ulrich Drepper <drepper@gmail.com>
51094
f8a3b5bf 51095 [BZ #11952]
d26dfc60
MG
51096 [BZ #12453]
51097 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
51098 until all modules are registered in the DTV.
51099 * elf/Makefile: Add rules to build and run tst-tls19.
51100 * elf/tst-tls19.c: New file.
51101 * elf/tst-tls19mod1.c: New file.
51102 * elf/tst-tls19mod2.c: New file.
51103 * elf/tst-tls19mod3.c: New file.
51104 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
51105
2fc54d6f
UD
51106 [BZ #12083]
51107 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
51108 correctly.
51109
98d76b46
UD
51110 [BZ #12601]
51111 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
51112 two-byte sequence errors.
51113 * iconvdata/Makefile (tests): Add bug-iconv8.
51114 * iconvdata/bug-iconv8.c: New file.
51115
da3c19ef
UD
51116 [BZ #12626]
51117 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
51118 buf2 definition.
51119
ca408c15
UD
51120 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
51121
d6f67f7d
UD
51122 [BZ #12432]
51123 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
51124 (dummy_getcfa): New function.
51125 (init): Get _Unwind_GetCFA address, use dummy if not found.
51126 (backtrace_helper): In recursion check, also check whether CFA changes.
51127 (__backtrace): Completely initialize arg.
51128
1af4e298 51129 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
51130 storing incomplete byte sequence in state object. Avoid testing for
51131 guaranteed too small input if we know there is enough data available.
1af4e298 51132
da62f81b
AS
511332011-05-11 Andreas Schwab <schwab@redhat.com>
51134
51135 * Makeconfig (+link-pie): Indent.
51136 * Rules (binaries-pie): Define if $(have-fpie) and
51137 $(build-shared).
51138 (binaries-shared): Also filter out $(binaries-pie).
51139 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
51140 * nscd/Makefile (others-pie): Add nscd.
51141 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
51142 ($(objpfx)nscd): Remove command override.
51143 * login/Makefile (others-pie): Add pt_chown.
51144 ($(objpfx)pt_chown): Remove command override.
51145 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
51146 remove command overrides.
51147
fcabc0f8
UD
511482011-05-13 Ulrich Drepper <drepper@gmail.com>
51149
20030ae6
UD
51150 * libio/tst_putwc.c: Fix error messages.
51151
fcabc0f8
UD
51152 [BZ #12724]
51153 * libio/fileops.c (_IO_new_file_close_it): Always flush when
51154 currently writing and seek to current position when not.
51155 * libio/Makefile (tests): Add bug-fclose1.
51156 * libio/bug-fclose1.c: New file.
51157
320a5dc0
PB
511582011-05-12 Ulrich Drepper <drepper@gmail.com>
51159
51160 [BZ #12511]
51161 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
51162 don't set DF_1_NODELETE here.
51163 (do_lookup_x): When entering new entry test for copy relocation
51164 and if necessary set DF_1_NODELETE flag.
51165 * elf/tst-unique4.cc: New file.
51166 * elf/tst-unique4.h: New file.
51167 * elf/tst-unique4lib.cc: New file.
51168 * elf/Makefile: Add rules to build and run tst-unique4.
51169 Patch by Piotr Bury <pbury@goahead.com>.
51170
22836f52
UD
511712011-05-11 Ulrich Drepper <drepper@gmail.com>
51172
f574184a
UD
51173 [BZ #12052]
51174 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
51175
e1fb097f
UD
51176 [BZ #12625]
51177 * misc/mntent_r.c (addmntent): Flush the stream after the output
51178
22836f52
UD
51179 [BZ #12393]
51180 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
51181 (is_trusted_path_normalize): Skip initial colon. Append slash
51182 to empty buffer. Duplicate is_trusted_path code but allow
51183 constructed patch to be prefix.
51184 (is_dst): Allow $ORIGIN followed by /.
51185 (_dl_dst_substitute): Correct clearing of check_for_trusted.
51186 Correct testing of result of is_trusted_path_normalize
51187 (decompose_rpath): Fix warning.
51188
7b3b0b2a
UD
511892011-05-10 Ulrich Drepper <drepper@gmail.com>
51190
51191 [BZ #11257]
51192 * grp/initgroups.c (internal_getgrouplist): When we found the service
51193 list through the initgroups entry in nsswitch.conf do not always
51194 continue on a successful lookup. Don't always use the
eac80ce2 51195 __nss_group_database value if it is set.
7b3b0b2a
UD
51196 * nss/nsswitch.conf (initgroups): Change action for successful db
51197 lookup to continue for compatibility.
51198
2a81eaa5
UD
511992011-05-09 Ulrich Drepper <drepper@gmail.com>
51200
be97a69e
UD
51201 [BZ #11532]
51202 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
51203 and CP774 modules.
51204 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
51205 and CP774 modules.
51206 * iconvdata/tst-tables.sh: Likewise.
51207 * iconvdata/cp770.c: New file.
51208 * iconvdata/cp771.c: New file.
51209 * iconvdata/cp772.c: New file.
51210 * iconvdata/cp773.c: New file.
51211 * iconvdata/cp774.c: New file.
51212 * iconvdata/testdata/CP770: New file.
51213 * iconvdata/testdata/CP770..UTF8: New file.
51214 * iconvdata/testdata/CP771: New file.
51215 * iconvdata/testdata/CP771..UTF8: New file.
51216 * iconvdata/testdata/CP772: New file.
51217 * iconvdata/testdata/CP772..UTF8: New file.
51218 * iconvdata/testdata/CP773: New file.
51219 * iconvdata/testdata/CP773..UTF8: New file.
51220 * iconvdata/testdata/CP774: New file.
51221 * iconvdata/testdata/CP774..UTF8: New file.
51222
51223 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
51224 END CHARMAP line.
51225 * iconvdata/gen-8bit-gap.sh: Likewise.
51226 * iconvdata/gen-8bit.sh: Likewise.
51227
c1e9e399
UD
51228 * locale/iso-639.def: Add ary entry.
51229
24c55fb3 51230 [BZ #11258]
96b4b1b0
UD
51231 * locale/C-translit.h.in: Add U20A1 transliteration.
51232
bdc2f971
KB
51233 [BZ #12178]
51234 * locale/iso-639.def: Add wae entry.
51235 Patch by Kevin Bortis <bortis@translate-wae.ch>.
51236
2952b117
UD
51237 [BZ #12545]
51238 * locale/programs/localedef.c (construct_output_path): Use ssize_t
51239 for n.
51240
2a81eaa5
UD
51241 [BZ #12711]
51242 * locale/C-translit.h.in: Add entry for U20B9.
51243 Patch by pravin.d.s@gmail.com.
51244
28377d1b
UD
512452011-05-08 Ulrich Drepper <drepper@gmail.com>
51246
7fb90fb8
UD
51247 [BZ #12713]
51248 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
51249 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
51250 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
51251 in rtld. Use *stat64.
7fb90fb8 51252 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 51253 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 51254 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
51255 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
51256 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
51257 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
51258 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
51259 __fstatat64 macros.
7fb90fb8
UD
51260 * include/dirent.h: Add libc_hidden_proto for rewinddir.
51261 * dirent/rewinddir.c: Add libc_hidden_def.
51262 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 51263 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 51264
28377d1b
UD
51265 * include/dirent.h (__alloc_dir): Add flags parameter.
51266 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
51267 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
51268 __alloc_dir.
51269 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
51270 from fdopendir if O_CLOEXEC is already set.
51271
66bdbaa4
AM
512722011-03-15 Alan Modra <amodra@gmail.com>
51273
51274 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
51275 l_tls_firstbyte_offset non-zero. Save padding offset in
51276 l_tls_firstbyte_offset for later use.
51277 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
51278 freeing static tls block.
51279
95721191
JN
512802011-03-05 Jonathan Nieder <jrnieder@gmail.com>
51281
51282 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
51283 where #ifdef was intended. The intent is to prevent ARG_MAX from
51284 being defined by the kernel headers.
51285
f87dfb1f
UD
512862011-05-07 Ulrich Drepper <drepper@gmail.com>
51287
51288 [BZ #12734]
51289 * resolv/resolv.h: Define RES_NOTLDQUERY.
51290 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
51291 no-tld-query and set RES_NOTLDQUERY.
51292 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
51293 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
51294 modern BIND to search name as TLD unless forbidden.
51295
47c3cd7a
UD
512962011-05-07 Petr Baudis <pasky@suse.cz>
51297 Ulrich Drepper <drepper@gmail.com>
51298
51299 [BZ #12393]
51300 * elf/dl-load.c (fillin_rpath): Move trusted path check...
51301 (is_trusted_path): ...to here.
c1e9ea35 51302 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 51303 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 51304 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 51305
8a35c912
PP
513062011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
51307
51308 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
51309 __BEGIN/__END_DECLS.
51310
acd41f47
UD
513112011-05-06 Ulrich Drepper <drepper@gmail.com>
51312
51313 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
51314 NSS_STATUS_NOTFOUND if no record was found.
51315
597df647
AS
513162011-05-05 Andreas Schwab <schwab@redhat.com>
51317
51318 * sunrpc/Makefile (headers): Add rpc/netdb.h.
51319 (headers-not-in-tirpc): Remove rpc/netdb.h
51320 * resolv/netdb.h: Revert last change.
51321
b9af1301
PP
513222011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
51323
51324 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
51325 circular dependency between libgcc.a and libc.a.
51326
4e34d5f5
AS
513272011-05-05 Andreas Schwab <schwab@redhat.com>
51328
51329 * resolv/netdb.h: Don't include <rpc/netdb.h>.
51330 * nis/Makefile: Don't install rpcsvc/*.
51331 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
51332 instead of <rpc/types.h>.
51333 (MAXHOSTNAMELEN): Define.
51334
00ee369c
AS
513352011-05-03 Andreas Schwab <schwab@redhat.com>
51336
51337 * elf/ldconfig.c (add_dir): Don't crash on empty path.
51338
0b592a30
MB
513392011-04-28 Maciej Babinski <mbabinski@google.com>
51340
51341 [BZ #12714]
51342 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
51343 gethostbyname4_r when IPv6 results are possible.
51344
6e04cbbe
UD
513452011-05-02 Ulrich Drepper <drepper@gmail.com>
51346
51347 [BZ #12723]
51348 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
51349 _PC_PIPE_BUF handling.
51350
e4ecafe0
BH
513512011-04-30 Bruno Haible <bruno@clisp.org>
51352
51353 [BZ #12717]
51354 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
51355 * resolv/netdb.h (getnameinfo): Change type of flags parameter
51356 to 'int'.
51357 * inet/getnameinfo.c (getnameinfo): Likewise.
51358
125ee683
UD
513592011-04-29 Ulrich Drepper <drepper@gmail.com>
51360
51361 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
51362 to groups setting in database lookup.
51363 * nss/nsswitch.conf: Add initgroups entry.
51364
b722481a
EB
513652011-04-22 Ulrich Drepper <drepper@gmail.com>
51366
51367 [BZ #12685]
51368 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
51369 mode string.
51370 Patch by Eric Blake <eblake@redhat.com>.
51371
4df46dbd
L
513722011-04-20 H.J. Lu <hongjiu.lu@intel.com>
51373
51374 * sunrpc/Makefile (need-export-routines): Add svc_run.
51375 (routines): Remove svc_run.
51376 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
51377 * sunrpc/clnt_perr.c (clnt_perrno): Export.
51378 * sunrpc/svc_run.c (svc_run): Likewise.
51379 * sunrpc/svc_udp.c (svcudp_create): Likewise.
51380
e84142d2
UD
513812011-04-21 Ulrich Drepper <drepper@gmail.com>
51382
51383 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
51384 problem in reallocation in last patch.
51385
877175d8
UD
513862011-04-20 Ulrich Drepper <drepper@gmail.com>
51387
51388 * sunrpc/Makefile: Move inclusion of Rules.
51389
ab8eed78
UD
513902011-04-19 Ulrich Drepper <drepper@gmail.com>
51391
51392 * nss/nss_files/files-initgroups.c: New file.
51393 * nss/Makefile (libnss_files-routines): Add files-initgroups.
51394 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
51395 _nss_files_initgroups_dyn.
51396
e3d8f584
RS
513972011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
51398
51399 * elf/elf.h (R_ARM_IRELATIVE): Define.
51400
af190f45
UD
514012011-04-19 Ulrich Drepper <drepper@gmail.com>
51402
51403 * po/ru.po: Update from translation team.
51404
53cf59ef
UD
514052011-04-17 Ulrich Drepper <drepper@gmail.com>
51406
51407 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
51408 dependencies.
51409
4c559bcd
MF
514102011-02-06 Mike Frysinger <vapier@gentoo.org>
51411
51412 [BZ #12653]
51413 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
51414 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
51415 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
51416 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
51417 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
51418
4420675c
AS
514192011-03-28 Andreas Schwab <schwab@linux-m68k.org>
51420
51421 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
51422 differing bytes.
51423 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
51424 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
51425 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
51426
75ea32ab
UD
514272011-04-17 Ulrich Drepper <drepper@gmail.com>
51428
51429 [BZ #12420]
51430 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
51431 storing it.
51432 * stdlib/bug-getcontext.c: New file.
51433 * stdlib/Makefile: Add rules to build and run bug-getcontext.
51434
27390476
AK
514352011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
51436
51437 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
51438 instructions into .machine "z9-109".
51439 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
51440 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
51441
10442705
AK
514422011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
51443
51444 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
51445 between environment variables and auxiliary vector.
51446
7b57bfe5
UD
514472011-04-16 Ulrich Drepper <drepper@gmail.com>
51448
51449 * Makefile: Add rules to build linkobj/libc.so.
51450 * include/libc-symbols.h: Define libc_hidden_nolink.
51451 * include/rpc/auth.h: Mark functions which are to be hidden.
51452 * include/rpc/auth_des.h: Likewise.
51453 * include/rpc/auth_unix.h: Likewise.
51454 * include/rpc/clnt.h: Likewise.
51455 * include/rpc/des_crypt.h: Likewise.
51456 * include/rpc/key_prot.h: Likewise.
51457 * include/rpc/pmap_clnt.h: Likewise.
51458 * include/rpc/pmap_prot.h: Likewise.
51459 * include/rpc/pmap_rmt.h: Likewise.
51460 * include/rpc/rpc_msg.h: Likewise.
51461 * include/rpc/svc.h: Likewise.
51462 * include/rpc/svc_auth.h: Likewise.
51463 * include/rpc/xdr.h: Likewise.
51464 * nis/Makefile: Link all DSOs against linkobj/libc.so.
51465 * nss/Makefile: Likewise.
51466 * sunrpc/Makefile: Don't install headers. Build library with normal
51467 entry points. Don't build rpcinfo. Link RPC tests appropriately.
51468 * sunrpc/auth_des.c: Hide exported symbols by default, export some
51469 for the compat linking library. Remove use of INTDEF/INTUSE.
51470 * sunrpc/auth_none.c: Likewise.
51471 * sunrpc/auth_unix.c: Likewise.
51472 * sunrpc/authdes_prot.c: Likewise.
51473 * sunrpc/authuxprot.c: Likewise.
51474 * sunrpc/clnt_gen.c: Likewise.
51475 * sunrpc/clnt_perr.c: Likewise.
51476 * sunrpc/clnt_raw.c: Likewise.
51477 * sunrpc/clnt_simp.c: Likewise.
51478 * sunrpc/clnt_tcp.c: Likewise.
51479 * sunrpc/clnt_udp.c: Likewise.
51480 * sunrpc/clnt_unix.c: Likewise.
51481 * sunrpc/des_crypt.c: Likewise.
51482 * sunrpc/des_soft.c: Likewise.
51483 * sunrpc/get_myaddr.c: Likewise.
51484 * sunrpc/key_call.c: Likewise.
51485 * sunrpc/key_prot.c: Likewise.
51486 * sunrpc/netname.c: Likewise.
51487 * sunrpc/pm_getmaps.c: Likewise.
51488 * sunrpc/pm_getport.c: Likewise.
51489 * sunrpc/pmap_clnt.c: Likewise.
51490 * sunrpc/pmap_prot.c: Likewise.
51491 * sunrpc/pmap_prot2.c: Likewise.
51492 * sunrpc/pmap_rmt.c: Likewise.
51493 * sunrpc/publickey.c: Likewise.
51494 * sunrpc/rpc_cmsg.c: Likewise.
51495 * sunrpc/rpc_common.c: Likewise.
51496 * sunrpc/rpc_dtable.c: Likewise.
51497 * sunrpc/rpc_prot.c: Likewise.
51498 * sunrpc/rpc_thread.c: Likewise.
51499 * sunrpc/rtime.c: Likewise.
51500 * sunrpc/svc.c: Likewise.
51501 * sunrpc/svc_auth.c: Likewise.
51502 * sunrpc/svc_authux.c: Likewise.
51503 * sunrpc/svc_raw.c: Likewise.
51504 * sunrpc/svc_run.c: Likewise.
51505 * sunrpc/svc_simple.c: Likewise.
51506 * sunrpc/svc_tcp.c: Likewise.
51507 * sunrpc/svc_udp.c: Likewise.
51508 * sunrpc/svc_unix.c: Likewise.
51509 * sunrpc/svcauth_des.c: Likewise.
51510 * sunrpc/xcrypt.c: Likewise.
51511 * sunrpc/xdr.c: Likewise.
51512 * sunrpc/xdr_array.c: Likewise.
51513 * sunrpc/xdr_float.c: Likewise.
51514 * sunrpc/xdr_intXX_t.c: Likewise.
51515 * sunrpc/xdr_mem.c: Likewise.
51516 * sunrpc/xdr_rec.c: Likewise.
51517 * sunrpc/xdr_ref.c: Likewise.
51518 * sunrpc/xdr_sizeof.c: Likewise.
51519 * sunrpc/xdr_stdio.c: Likewise.
51520
e6c61494
UD
515212011-04-10 Ulrich Drepper <drepper@gmail.com>
51522
51523 [BZ #12650]
51524 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
51525 * sysdeps/ia64/dl-tls.h: Likewise.
51526 * sysdeps/powerpc/dl-tls.h: Likewise.
51527 * sysdeps/s390/dl-tls.h: Likewise.
51528 * sysdeps/sh/dl-tls.h: Likewise.
51529 * sysdeps/sparc/dl-tls.h: Likewise.
51530 * sysdeps/x86_64/dl-tls.h: Likewise.
51531 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
51532
34fe483e
AS
515332011-03-14 Andreas Schwab <schwab@redhat.com>
51534
51535 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
51536 rpath element also skip the following colon.
51537 (expand_dynamic_string_token): Add is_path parameter and pass
51538 down to DL_DST_REQUIRED and _dl_dst_substitute.
51539 (decompose_rpath): Call expand_dynamic_string_token with
51540 non-zero is_path. Ignore empty rpaths.
51541 (_dl_map_object_from_fd): Call expand_dynamic_string_token
51542 with zero is_path.
51543
f12a32e6
AS
515442011-04-08 Andreas Schwab <schwab@linux-m68k.org>
51545
51546 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
51547 Make cancelable.
51548
38a7d692
UD
515492011-04-09 Ulrich Drepper <drepper@gmail.com>
51550
51551 [BZ #12655]
51552 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
51553 Patch by Filipe David Manana <fdmanana@apache.org>.
51554
e451d22b
AS
515552011-04-07 Andreas Schwab <schwab@redhat.com>
51556
51557 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
51558 Maintain aligned stack.
51559 (CHECK_RSP): Remove unused macro.
51560
dedc7c7b
UD
515612011-04-03 Ulrich Drepper <drepper@gmail.com>
51562
51563 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
51564 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
51565
94521213
UD
515662011-04-02 Ulrich Drepper <drepper@gmail.com>
51567
51568 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
51569
8cb700c0 51570 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 51571
0354e355
L
515722011-03-26 H.J. Lu <hongjiu.lu@intel.com>
51573
51574 [BZ #12518]
51575 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
51576 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
51577 * sysdeps/x86_64/memmove.c: New file.
51578 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
51579 (memcpy): Renamed to ...
51580 (__new_memcpy): This.
51581 (memcpy): Provide GLIBC_2_14 memcpy.
51582 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
51583 (memcpy): Provide GLIBC_2_2_5 memcpy.
51584
8593482f
UD
515852011-04-01 Ulrich Drepper <drepper@gmail.com>
51586
51587 [BZ #12631]
51588 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
51589
81a5726b
AS
515902011-03-30 Andreas Schwab <schwab@redhat.com>
51591
51592 * misc/syncfs.c: New file.
51593 * misc/Makefile (routines): Add syncfs.
51594 * posix/unistd.h: Declare syncfs.
51595 * sysdeps/unix/syscalls.list: Add syncfs.
51596
00e5419f
AS
515972011-04-01 Andreas Schwab <schwab@redhat.com>
51598
51599 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
51600 open_by_handle_at.
51601 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
51602 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
51603 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
51604 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
51605 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
51606 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
51607 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
51608
748876bf
UD
516092011-04-01 Ulrich Drepper <drepper@gmail.com>
51610
658e451d
UD
51611 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
51612 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
51613 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
51614 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
51615 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
51616 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
51617 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
51618
748876bf
UD
51619 * io/Makefile: Compile fallocate.c, fallocate64.c, and
51620 sync_file_range.c with -fexceptions.
51621 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
51622 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
51623 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
51624 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
51625 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
51626 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
51627 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
51628 sync_file_range as cancellation point
51629 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
51630 now a wrapper around __call_sync_file_range with cancellation handling.
51631 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
51632 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
51633 function name to __call_sync_file_range.
51634 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
51635 Add call_sync_file_range.
748876bf 51636
6e63d5e1
AS
516372011-04-01 Andreas Schwab <schwab@redhat.com>
51638
51639 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 51640 bits/timex.h.
6e63d5e1 51641
46998f74
UD
516422011-04-01 Ulrich Drepper <drepper@gmail.com>
51643
4c1423ed
UD
51644 * iconv/iconv.h: Fix typo in comment.
51645 * io/fcntl.h: Likewise.
51646 * libio/stdio.h: Likewise.
51647 * posix/spawn.h: Likewise.
51648 * posix/unistd.h: Likewise.
51649 * stdlib/stdlib.h: Likewise.
51650 * time/time.h: Likewise.
51651 * wcsmbs/wchar.h: Likewise.
51652
158648c0
UD
51653 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
51654 open_by_handle): Add.
51655 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
51656 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
51657 Augment a few comments.
51658 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
51659 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
51660 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
51661 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
51662 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
51663 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
51664 open_by_handle.
51665
46998f74
UD
51666 * io/fcntl.h (AT_EMPTY_PATH): Define.
51667
83fe108b
UD
516682011-03-30 Ulrich Drepper <drepper@gmail.com>
51669
51670 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
51671 * sysdeps/unix/sysv/linux/bits/time.h: New file.
51672 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
51673 to...
51674 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
51675 * Versions.def: Add GLIBC_2.14.
51676 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
51677 Export.
83fe108b 51678
bb242059
UD
516792011-03-22 Ulrich Drepper <drepper@gmail.com>
51680
51681 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
51682 round counter.
51683 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
51684
c97a1282
L
516852011-03-20 H.J. Lu <hongjiu.lu@intel.com>
51686
51687 [BZ #12597]
51688 * string/test-strncmp.c (do_page_test): New function.
51689 (check2): Likewise.
51690 (test_main): Call check2.
51691 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
51692
2a115601
UD
516932011-03-20 Ulrich Drepper <drepper@gmail.com>
51694
51695 [BZ #12587]
51696 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
51697 Handle cache information in CPU leaf 4.
51698 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
51699
8126d904
UD
517002011-03-18 Ulrich Drepper <drepper@gmail.com>
51701
042c49c6 51702 [BZ #12583]
8126d904
UD
51703 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
51704 character representation.
51705 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
51706
ccfe366e
RA
517072011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
51708
51709 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
51710 END(__isnan) to END(__isnanf) to match function entry point/label
51711 EALIGN(__isnanf,...).
51712
c6e13027
JJ
517132011-03-10 Jakub Jelinek <jakub@redhat.com>
51714
51715 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
51716
33f85a3f
UD
517172011-03-10 Ulrich Drepper <drepper@gmail.com>
51718
028478fa
UD
51719 [BZ #12510]
51720 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
51721 copy from the symbol referenced in the relocation to initialize the
51722 used variable.
51723 Patch by Piotr Bury <pbury@goahead.com>.
51724 * elf/Makefile: Add rules to build and tst-unique3.
51725 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
51726 * elf/tst-unique3.cc: New file.
51727 * elf/tst-unique3.h: New file.
51728 * elf/tst-unique3lib.cc: New file.
51729 * elf/tst-unique3lib2.cc: New file.
51730
33f85a3f
UD
51731 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
51732
03592fc7
MF
517332011-03-10 Mike Frysinger <vapier@gentoo.org>
51734
51735 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
51736 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
51737 to _start.
03592fc7 51738
6a5ee102
UD
517392011-03-06 Ulrich Drepper <drepper@gmail.com>
51740
51741 * elf/dl-load.c (_dl_map_object): If we are looking for the first
51742 to-be-loaded object along a path to loader is ld.so.
51743
7e4ba49c
HJ
517442011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
51745 Ulrich Drepper <drepper@gmail.com>
51746
51747 * sysdeps/x86_64/memset.S: After aligning destination, code
51748 branches to different locations depending on the value of
51749 misalignment, when multiarch is enabled. Fix this.
51750
517512011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
51752
51753 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
51754 Set _x86_64_preferred_memory_instruction for AMD processsors.
51755 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
51756 Set bit_Prefer_SSE_for_memop for AMD processors.
51757
13a804de
UD
517582011-03-04 Ulrich Drepper <drepper@gmail.com>
51759
51760 * libio/fmemopen.c (fmemopen): Optimize a bit.
51761
9d25c392
AS
517622011-03-03 Andreas Schwab <schwab@redhat.com>
51763
51764 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
51765
a5543c6a
RM
517662011-03-03 Roland McGrath <roland@redhat.com>
51767
51768 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
51769
012d35f7
DM
517702011-02-28 Aurelien Jarno <aurelien@aurel32.net>
51771
7e4ba49c 51772 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
51773 __bzero_ultra1 instead of __memset_ultra1.
51774
4bff6e01
AS
517752011-02-23 Andreas Schwab <schwab@redhat.com>
51776 Ulrich Drepper <drepper@gmail.com>
51777
51778 [BZ #12509]
51779 * include/link.h (struct link_map): Add l_orig_initfini.
51780 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
51781 returning unsuccessfully.
51782 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
51783 close of a file loaded at startup, restore the original l_initfini
51784 list.
51785 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
51786 list, store the pointer.
51787 * elf/Makefile ($(objpfx)noload-mem): New rule.
51788 (noload-ENV): Define.
51789 (tests): Add $(objpfx)noload-mem.
51790 * elf/noload.c: Include <memcheck.h>.
51791 (main): Call mtrace. Close all opened handles.
51792
f2092faf
AS
517932011-02-17 Andreas Schwab <schwab@redhat.com>
51794
51795 [BZ #12454]
51796 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
51797 dependencies are missing.
51798
6c8a2e88
ST
517992011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
51800
f2092faf 51801 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
51802 Hurd needs munmap.
51803 * sysdeps/mach/hurd/ifreq.h: New file.
51804
84a42118
PB
518052011-01-27 Petr Baudis <pasky@suse.cz>
51806 Ulrich Drepper <drepper@gmail.com>
51807
071f805e 51808 [BZ 12445]#
84a42118
PB
51809 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
51810 to extend_alloca().
51811 * stdio-common/bug23.c: New file.
51812 * stdio-common/Makefile (tests): Add bug23.
51813
e23fe25b
AS
518142010-09-28 Andreas Schwab <schwab@redhat.com>
51815 Ulrich Drepper <drepper@gmail.com>
51816
51817 [BZ #12489]
51818 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
51819 before performing relro protection. At old place add assertion
51820 to make sure nothing changed.
51821
d3f02e10
NS
518222011-02-17 Nathan Sidwell <nathan@codesourcery.com>
51823 Glauber de Oliveira Costa <glommer@gmail.com>
51824
51825 * elf/elf.h: Add new ARM TLS relocs.
51826
d55fd7a5
RA
518272011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
51828
51829 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
51830 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
51831 cast from r3.
51832 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
51833 'tests' variable.
51834 * sysdeps/wordsize-64/tst-writev.c: New file.
51835
2206397e
RA
518362011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
51837
51838 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
51839 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
51840 insns in _dl_start to prevent a TOC reference before relocs are
51841 resolved.
51842
e9433893
UD
518432011-02-15 Ulrich Drepper <drepper@gmail.com>
51844
51845 [BZ #12469]
51846 * Makeconfig: Remove RANLIB definition.
51847 * Makerules: Don't use RANLIB.
51848 * aclocal.m4: Remove ranlib test.
51849 * configure.in: No need to check for ranlib.
51850 * elf/rtld-Rules: Don't use RANLIB.
51851
f75286c6
ST
518522011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
51853
8e31c82d
ST
51854 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
51855 protection macro.
51856 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
51857 inclusion protection macro.
51858
f75286c6
ST
51859 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
51860 SIGRTMIN and SIGRTMAX and print information in that case only when
51861 SIGRTMIN is defined.
51862
c1d0e639
JJ
518632011-02-11 Jakub Jelinek <jakub@redhat.com>
51864
51865 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
51866 arginfo fn returning -1.
51867
51868 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
51869 and thousands string is zero terminated.
51870
edf9294e
AS
518712011-02-03 Andreas Schwab <schwab@redhat.com>
51872
51873 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
51874 sysdeps/unix/sysv/linux/bits/socket.h.
51875
2b7e92df
ST
518762011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
51877
edf9294e
AS
51878 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
51879 (__CPU_COUNT): Remove old macros.
51880 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
51881 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
51882 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
51883 (__sched_cpualloc, __sched_cpufree): Add declarations.
51884
a4c7ea7b
UD
518852011-02-05 Ulrich Drepper <drepper@gmail.com>
51886
51887 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
51888 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
51889 * nscd/aicache.c (addhstaiX): Return timeout of added value.
51890 (readdhstai): Return value of addhstaiX call.
51891 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
51892 (addgrbyX): Return value returned by cache_addgr.
51893 (readdgrbyname): Return value returned by addgrbyX.
51894 (readdgrbygid): Likewise.
51895 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
51896 (addpwbyX): Return value returned by cache_addpw.
51897 (readdpwbyname): Return value returned by addhstbyX.
51898 (readdpwbyuid): Likewise.
51899 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
51900 (addservbyX): Return value returned by cache_addserv.
51901 (readdservbyname): Return value returned by addservbyX:
51902 (readdservbyport): Likewise.
51903 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
51904 (addhstbyX): Return value returned by cache_addhst.
51905 (readdhstbyname): Return value returned by addhstbyX.
51906 (readdhstbyaddr): Likewise.
51907 (readdhstbynamev6): Likewise.
51908 (readdhstbyaddrv6): Likewise.
51909 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
51910 (readdinitgroups): Return value returned by addinitgroupsX.
51911 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
51912 (prune_cache): Keep track of timeout value of re-added entries.
51913 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
51914 * nscd/nscd.h: Adjust prototypes of readd* functions.
51915
a0bf67cc
RM
519162011-02-04 Roland McGrath <roland@redhat.com>
51917
51918 * nis/nis_server.c (nis_servstate): Use the right name for 0.
51919 (nis_stats): Likewise.
51920 * nis/nis_modify.c (nis_modify): Likewise.
51921 * nis/nis_remove.c (nis_remove): Likewise.
51922 * nis/nis_add.c (nis_add): Likewise.
51923
51924 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
51925
51926 * posix/fnmatch_loop.c: Add some consts.
51927
51928 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
51929
435b95eb
L
519302011-02-02 H.J. Lu <hongjiu.lu@intel.com>
51931
51932 [BZ #12460]
51933 * config.make.in (config-cflags-novzeroupper): Define.
51934 * configure.in: Substitute libc_cv_cc_novzeroupper.
51935 * elf/Makefile (AVX-CFLAGS): Define.
51936 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
51937 (CFLAGS-tst-auditmod4a.c): Likewise.
51938 (CFLAGS-tst-auditmod4b.c): Likewise.
51939 (CFLAGS-tst-auditmod6b.c): Likewise.
51940 (CFLAGS-tst-auditmod6c.c): Likewise.
51941 (CFLAGS-tst-auditmod7b.c): Likewise.
51942 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
51943
8517b15e
UD
519442011-02-02 Ulrich Drepper <drepper@gmail.com>
51945
51946 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
51947 function to the callback.
51948 Patch partly by Jiri Olsa <jolsa@redhat.com>.
51949
10a656fe
AS
519502011-02-02 Andreas Schwab <schwab@redhat.com>
51951
51952 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
51953 of errno.
51954
968dad0a
UD
519552011-01-19 Ulrich Drepper <drepper@gmail.com>
51956
9f94d2ea 51957 [BZ #11724]
968dad0a
UD
51958 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
51959 of constructors.
51960 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
51961 of destructors.
51962 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
51963
51964 [BZ #11724]
51965 * elf/Makefile: Add rules to build and run new test.
51966 * elf/tst-initorder.c: New file.
51967 * elf/tst-initorder.exp: New file.
51968 * elf/tst-initordera1.c: New file.
51969 * elf/tst-initordera2.c: New file.
51970 * elf/tst-initordera3.c: New file.
51971 * elf/tst-initordera4.c: New file.
51972 * elf/tst-initorderb1.c: New file.
51973 * elf/tst-initorderb2.c: New file.
51974 * elf/tst-order-a1.c: New file.
51975 * elf/tst-order-a2.c: New file.
51976 * elf/tst-order-a3.c: New file.
51977 * elf/tst-order-a4.c: New file.
51978 * elf/tst-order-b1.c: New file.
51979 * elf/tst-order-b2.c: New file.
51980 * elf/tst-order-main.c: New file.
51981 New test case by George Gensure <werkt0@gmail.com>.
51982
86e92359
UD
519832010-10-01 Andreas Schwab <schwab@redhat.com>
51984
51985 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
51986 decoding ACE if AI_CANONIDN.
51987
5d5732b0
UD
519882011-01-18 Ulrich Drepper <drepper@gmail.com>
51989
51990 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
51991
a77e8cbc
UD
519922011-01-17 Ulrich Drepper <drepper@gmail.com>
51993
6392473f
UD
51994 * version.h (RELEASE): Bump for 2.13 release.
51995 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
51996
620a0529
UD
51997 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
51998
18ba70a5
UD
51999 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
52000 MADV_NOHUGEPAGE.
32465c3e
UD
52001 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
52002 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
52003 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
52004 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
52005 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
52006 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
52007
c0dafcf1
UD
52008 * posix/getconf.c: Update copyright year.
52009 * catgets/gencat.c: Likewise.
52010 * csu/version.c: Likewise.
52011 * debug/catchsegv.sh: Likewise.
52012 * debug/xtrace.sh: Likewise.
52013 * elf/ldconfig.c: Likewise.
52014 * elf/ldd.bash.in: Likewise.
52015 * elf/sprof.c (print_version): Likewise.
52016 * iconv/iconv_prog.c: Likewise.
52017 * iconv/iconvconfig.c: Likewise.
52018 * locale/programs/locale.c: Likewise.
52019 * locale/programs/localedef.c: Likewise.
52020 * malloc/memusage.sh: Likewise.
52021 * malloc/mtrace.pl: Likewise.
52022 * nscd/nscd.c (print_version): Likewise.
52023 * nss/getent.c: Likewise.
52024
a77e8cbc
UD
52025 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
52026 PF_CAIF, and PF_ALG.
52027 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
52028
77e8bddf
AS
520292011-01-16 Andreas Schwab <schwab@linux-m68k.org>
52030
1f20b93a
AS
52031 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
52032 (modules-names): Use them.
52033 (ifunc-test-modules, ifunc-pie-tests): Define.
52034 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
52035 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
52036 (test-extras): Likewise.
52037 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
52038 $(compile-command.c).
52039 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
52040 (all-built-dso): Define.
52041 (check-textrel.out, check-execstack.out): Depend on it.
52042
77e8bddf
AS
52043 * configure.in: Don't override --enable-multi-arch.
52044
bc425b33
UD
520452011-01-15 Ulrich Drepper <drepper@gmail.com>
52046
52047 [BZ #6812]
52048 * nscd/hstcache.c (tryagain): Define.
52049 (cache_addhst): Return tryagain not notfound for temporary errors.
52050 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
52051 failed.
52052
794c3ad3
UD
520532011-01-14 Ulrich Drepper <drepper@gmail.com>
52054
70181fdd
UD
52055 [BZ #10563]
52056 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
52057 to make the syscall.
52058 * sysdeps/unix/sysv/linux/setgroups.c: New file.
52059
794c3ad3
UD
52060 [BZ #12378]
52061 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
52062 and fall back to matching as normal character if the string ends before
52063 the matching ']' is found. This is what POSIX requires.
52064 * posix/testfnm.c: Adjust test result.
52065 * posix/globtest.sh: Adjust test result. Add new test.
52066 * posix/tst-fnmatch.input: Likewise.
52067 * posix/tst-fnmatch2.c: Add new test.
52068
68dc9497
AS
520692010-12-28 Andreas Schwab <schwab@linux-m68k.org>
52070
52071 * elf/Makefile (check-execstack): Revert last change. Depend on
52072 check-execstack.h.
52073 (check-execstack.h): New target.
52074 (generated): Add check-execstack.h.
52075 * elf/check-execstack.c: Include "check-execstack.h".
52076 (main): Revert last change.
52077 (handle_file): Return zero if GNU_STACK is absent and
52078 DEFAULT_STACK_PERMS doesn't include PF_X.
52079
451f001b
UD
520802011-01-13 Ulrich Drepper <drepper@gmail.com>
52081
cfa28e56
UD
52082 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
52083 in child fails because the descriptor is already closed.
8cf8ce17
UD
52084 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
52085 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
52086 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 52087
1086d70d
UD
52088 [BZ #12397]
52089 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
52090 syscall.
52091
451f001b
UD
52092 [BZ #10484]
52093 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
52094 temporary buffer used to handle multi lookups locally.
a85b5cb4 52095 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 52096
08769175
UD
520972011-01-12 Ulrich Drepper <drepper@gmail.com>
52098
52099 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
52100 loader is ld.so.
52101
5e49c52e
UD
521022011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
52103
52104 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
52105 alignment for SSE2.
52106
60522a5f
UD
521072011-01-12 Ulrich Drepper <drepper@gmail.com>
52108
52109 [BZ #12394]
52110 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
52111 characters. When rounding increased number of integer digits recompute
52112 number of groups.
52113 * stdio-common/tst-grouping.c: New file.
52114 * stdio-common/Makefile: Add rules to build and run tst-grouping.
52115
f257bbd7
UD
521162011-01-09 Ulrich Drepper <drepper@gmail.com>
52117
52118 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
52119 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
52120
52121 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
52122 void.
52123 * bits/select.h: Likewise.
52124
fa9c15cb
UD
521252011-01-08 Ulrich Drepper <drepper@gmail.com>
52126
52127 * po/ja.po: Update from translation team.
52128
16c2895f
DM
521292011-01-04 David S. Miller <davem@sunset.davemloft.net>
52130
52131 [BZ #11155]
52132 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
52133 implementation just like for lxstat, fxstatat, et al.
52134
2543fef2
JM
521352010-12-27 Jim Meyering <meyering@redhat.com>
52136
52137 [BZ #12348]
52138 * posix/regexec.c (build_trtable): Return failure indication upon
52139 calloc failure. Otherwise, re_search_internal could infloop on OOM.
52140
98727dbe
UD
521412010-12-25 Ulrich Drepper <drepper@gmail.com>
52142
5bd6dc5c
UD
52143 [BZ #12201]
52144 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
52145 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
52146 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
52147 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
52148
97983464
UD
52149 [BZ #12207]
52150 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
52151
98727dbe
UD
52152 [BZ #12204]
52153 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
52154 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
52155
4a531bb0
L
521562010-12-15 H.J. Lu <hongjiu.lu@intel.com>
52157
52158 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
52159 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
52160 script has SORT_BY_INIT_PRIORITY.
52161 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
52162 NO_CTORS_DTORS_SECTIONS is defined.
52163 * elf/soinit.c: Likewise.
52164 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
52165 NO_CTORS_DTORS_SECTIONS is defined.
52166 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
52167 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
52168 * sysdeps/sh/init-first.c: Likewise.
52169 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
52170
07eb4b71
UD
521712010-12-24 Ulrich Drepper <drepper@gmail.com>
52172
52173 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
52174 always use the slow path.
52175
30950a5f
RA
521762010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
52177
52178 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
52179 similar rule which adds the sysdep directories to the header search in
52180 order to pick up the correct platform stackinfo.h.
52181 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
52182 perform test if it is, otherwise return successfully without testing.
52183 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
52184 DEFAULT_STACK_PERMS define in stackinfo.h.
52185 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
52186 defined in stackinfo.h.
52187 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
52188 DEFAULT_STACK_PERMS defined in stackinfo.h.
52189 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
52190 * sysdeps/ia64/stackinfo.h: Likewise.
52191 * sysdeps/s390/stackinfo.h: Likewise.
52192 * sysdeps/sh/stackinfo.h: Likewise.
52193 * sysdeps/sparc/stackinfo.h: Likewise.
52194 * sysdeps/x86_64/stackinfo.h: Likewise.
52195 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
52196 PF_X for powerpc64. Retain PF_X for powerpc32.
52197
db753e2c
UD
521982010-12-19 Ulrich Drepper <drepper@gmail.com>
52199
14b697f7
UD
52200 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
52201 accurately.
db753e2c
UD
52202 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
52203 GETDENTS_64BIT_ALIGNED.
52204
28300719
UD
522052010-12-14 Ulrich Drepper <dreper@gmail.com>
52206
14b697f7 52207 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 52208
4f197237
AS
522092010-12-10 Andreas Schwab <schwab@redhat.com>
52210
dbb0472f
AS
52211 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
52212 _GNU_SOURCE.
52213
4f197237
AS
52214 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
52215 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
52216 Remove __restrict.
52217 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
52218 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
52219
fb88ac72
UD
522202010-12-09 Ulrich Drepper <drepper@gmail.com>
52221
52222 [BZ #11655]
52223 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
52224 are initialized.
52225
42acbb92
JJ
522262010-12-09 Jakub Jelinek <jakub@redhat.com>
52227
52228 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
52229
c038d98d
UD
522302010-12-03 Ulrich Drepper <drepper@gmail.com>
52231
52232 * po/it.po: Update from translation team.
52233
3a4a2499
L
522342010-12-01 H.J. Lu <hongjiu.lu@intel.com>
52235
52236 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
52237 unused codes.
52238
1e24cf6e
UD
522392010-11-30 Ulrich Drepper <drepper@gmail.com>
52240
52241 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
52242
a7690819
AS
522432010-11-24 Andreas Schwab <schwab@redhat.com>
52244
52245 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
52246 specially.
52247 (gaih_getanswer_slice): Likewise.
52248
3bf8d1b1
JJ
522492010-10-20 Jakub Jelinek <jakub@redhat.com>
52250
52251 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
52252
6db52fbb
PB
522532010-05-31 Petr Baudis <pasky@suse.cz>
52254
52255 [BZ #11149]
52256 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
52257 silently even in the chroot mode.
52258
eaca7569
UD
522592010-11-22 Ulrich Drepper <drepper@gmail.com>
52260
52261 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
52262 last patch a bit. Pretty printing
52263
3056dcdb
UD
522642010-05-31 Petr Baudis <pasky@suse.cz>
52265
52266 [BZ #10085]
52267 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
52268 initialization of skip_initgroups_dyn.
52269
cf7c9078
UD
522702010-11-19 Ulrich Drepper <drepper@gmail.com>
52271
52272 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
52273 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
52274
a1fb5e3e
UD
522752010-11-16 Ulrich Drepper <drepper@gmail.com>
52276
52277 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
52278
3540d66b
AS
522792010-11-11 Andreas Schwab <schwab@redhat.com>
52280
52281 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
52282 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
52283 (tst-fnmatch-ENV): Set MALLOC_TRACE.
52284 ($(objpfx)tst-fnmatch-mem): New rule.
52285 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
52286 * posix/tst-fnmatch.c (main): Call mtrace.
52287
13b69574
L
522882010-11-11 H.J. Lu <hongjiu.lu@intel.com>
52289
52290 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
52291 Support Intel processor model 6 and model 0x2c.
52292
da93d214
LM
522932010-11-10 Luis Machado <luisgpm@br.ibm.com>
52294
52295 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
52296 signed comparison.
52297
8ca52c6e
L
522982010-11-09 H.J. Lu <hongjiu.lu@intel.com>
52299
52300 [BZ #12205]
52301 * string/test-strncasecmp.c (check_result): New function.
52302 (do_one_test): Use it.
52303 (check1): New function.
52304 (test_main): Use it.
52305 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
52306 Support strcasecmp and strncasecmp.
52307
69da074d
UD
523082010-11-08 Ulrich Drepper <drepper@gmail.com>
52309
52310 [BZ #12194]
52311 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
52312 * sysdeps/x86_64/bits/byteswap.h: Likewise.
52313
ff02d528
L
523142010-11-07 H.J. Lu <hongjiu.lu@intel.com>
52315
52316 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
52317 IFUNC support.
52318 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
52319 memset-x86-64.
52320 * sysdeps/x86_64/multiarch/bzero.S: New file.
52321 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
52322 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
52323 * sysdeps/x86_64/multiarch/memset.S: New file.
52324 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
52325 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
52326 Set bit_Prefer_SSE_for_memop for Intel processors.
52327 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
52328 Define.
52329 (index_Prefer_SSE_for_memop): Define.
52330 (HAS_PREFER_SSE_FOR_MEMOP): Define.
52331
344d0b54
LM
523322010-11-04 Luis Machado <luisgpm@br.ibm.com>
52333
52334 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
52335 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
52336
c0dde15b
UD
523372010-11-03 H.J. Lu <hongjiu.lu@intel.com>
52338
52339 [BZ #12191]
52340 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
52341 (__x86_64_raw_data_cache_size_half): Likewise.
52342 (__x86_64_raw_shared_cache_size): Likewise.
52343 (__x86_64_raw_shared_cache_size_half): Likewise.
52344
52345 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
52346 (__x86_64_raw_data_cache_size_half): Likewise.
52347 (__x86_64_raw_shared_cache_size): Likewise.
52348 (__x86_64_raw_shared_cache_size_half): Likewise.
52349 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
52350 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
52351 and __x86_64_raw_shared_cache_size_half. Round
52352 __x86_64_data_cache_size_half, __x86_64_data_cache_size
52353 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
52354 to multiple of 256 bytes.
52355
0e516e0e
MS
523562010-11-03 Ulrich Drepper <drepper@gmail.com>
52357
52358 [BZ #12167]
52359 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
52360 of inacessible symlinks. Verify result of symlink before returning it.
52361 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
52362 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
52363
0e012e87
ER
523642010-10-28 Erich Ritz <erichritz@gmail.com>
52365
52366 * math/math.h (isinf): Fix typo in comment.
52367
de0ff7bc
UD
523682010-11-01 Ulrich Drepper <drepper@gmail.com>
52369
52370 * po/da.po: Update from translation team.
52371
fa41c84d
UD
523722010-10-26 Ulrich Drepper <drepper@gmail.com>
52373
52374 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
52375 is added to the list.
52376
f0967738
AK
523772010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
52378 Ulrich Drepper <drepper@gmail.com>
52379
52380 * elf/dl-object.c (_dl_new_object): Don't append the new object to
52381 the global list here. Move code to...
52382 (_dl_add_to_namespace_list): ...here. New function.
52383 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
52384 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
52385 * elf/dl-load.c (lose): Don't remove the element from the list.
52386 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
52387 (_dl_map_object): Likewise.
52388
523892010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
52390
52391 [BZ #12159]
52392 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
52393 into all bytes of SSE register.
52394 Patch by Richard Li <richardpku@gmail.com>.
52395
f0967738 523962010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
52397
52398 [BZ #12140]
52399 * malloc/malloc.c (_int_free): Fill correct number of bytes when
52400 perturbing.
52401
d0b9e94f
MB
524022010-10-20 Michael B. Brutman <brutman@us.ibm.com>
52403
52404 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
52405 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
52406 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
52407 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
52408 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
52409 submachine.
52410 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
52411
8e9f92e9
AS
524122010-10-22 Andreas Schwab <schwab@redhat.com>
52413
52414 * include/dlfcn.h (__RTLD_SECURE): Define.
52415 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
52416 mode & __RTLD_SECURE instead.
52417 (open_path): Rename preloaded parameter to secure.
52418 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
52419 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
52420 * elf/dl-deps.c (openaux): Likewise.
52421 * elf/rtld.c (struct map_args): Remove is_preloaded.
52422 (map_doit): Don't use it.
52423 (dl_main): Likewise.
52424 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
52425 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
52426
bc96fbda
AS
524272010-09-09 Andreas Schwab <schwab@redhat.com>
52428
52429 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
52430 (sysd-rules-targets): Remove duplicates.
52431 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
52432 rtld-%.$o dependency.
52433
22cd1c9b
AS
524342010-10-18 Andreas Schwab <schwab@redhat.com>
52435
52436 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
52437 _dl_map_object do it.
52438
18edac48
UD
524392010-10-19 Ulrich Drepper <drepper@gmail.com>
52440
52441 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
52442 fast fma builtins, define the macros in the C99 standard.
52443 (FP_FAST_FMAF): Likewise.
52444 (FP_FAST_FMAL): Likewise.
52445 * sysdeps/x86_64/bits/mathdef.h: Likewise.
52446
52447 * bits/mathdef.h: Update copyright year.
52448 * sysdeps/powerpc/bits/mathdef.h: Likewise.
52449
d2050124
MM
524502010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
52451
52452 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
52453 builtins, define the macros in the C99 standard.
52454 (FP_FAST_FMAF): Likewise.
52455 (FP_FAST_FMAL): Likewise.
52456 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
52457 multiply/add.
52458 (FP_FAST_FMAF): Likewise.
52459
475facd1
JJ
524602010-10-15 Jakub Jelinek <jakub@redhat.com>
52461
52462 [BZ #3268]
52463 * math/libm-test.inc (fma_test): Some new testcases.
52464 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
52465 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
52466 y and infinite z. Do multiplication by C already in long double.
52467 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
52468 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
52469 y and infinite z. Do bitwise or of inexact bit into u.d.
52470 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
52471 * sysdeps/i386/fpu/s_fmaf.S: Removed.
52472 * sysdeps/i386/fpu/s_fma.S: Removed.
52473 * sysdeps/i386/fpu/s_fmal.S: Removed.
52474
7c08a05c
JJ
524752010-10-16 Jakub Jelinek <jakub@redhat.com>
52476
52477 [BZ #3268]
52478 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
52479 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
52480 computation is not scheduled after fetestexcept. Fix value
52481 of minimum denormal long double.
52482
f3f7372d
JJ
524832010-10-14 Jakub Jelinek <jakub@redhat.com>
52484
52485 [BZ #3268]
52486 * math/libm-test.inc (fma_test): Add some more tests.
52487 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
52488 correctly.
52489
14d43591
AS
524902010-10-15 Andreas Schwab <schwab@redhat.com>
52491
52492 * scripts/data/localplt-s390-linux-gnu.data: New file.
52493 * scripts/data/localplt-s390x-linux-gnu.data: New file.
52494
5e908464
JJ
524952010-10-13 Jakub Jelinek <jakub@redhat.com>
52496
52497 [BZ #3268]
52498 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
52499 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
52500 instead of dbl-64.
52501 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
52502 inlines.
52503 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
52504 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
52505 if one of x and y is very large and the other is subnormal.
52506 * sysdeps/s390/fpu/s_fmaf.c: New file.
52507 * sysdeps/s390/fpu/s_fma.c: New file.
52508 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
52509 * sysdeps/powerpc/fpu/s_fma.S: New file.
52510 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
52511 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
52512 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
52513
525142010-10-12 Jakub Jelinek <jakub@redhat.com>
52515
52516 [BZ #3268]
52517 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
52518 fma tests.
52519 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
52520 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
52521 * sysdeps/i386/i686/multiarch/s_fma.c: Include
52522 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
52523 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
52524 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
52525 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
52526
b833d51f
UD
525272010-10-12 Ulrich Drepper <drepper@redhat.com>
52528
52529 [BZ #12078]
52530 * posix/regcomp.c (parse_branch): One more memory leak plugged.
52531 * posix/bug-regex31.input: Add test case.
52532
1751705d
UD
525332010-10-11 Ulrich Drepper <drepper@gmail.com>
52534
e9b9cbf5
UD
52535 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
52536 * posix/bug-regex31.input: New file.
52537
52538 [BZ #12078]
52539 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
52540 (parse_sub_exp): Fix last change, use postorder.
52541
ef06edbe
UD
52542 * posix/bug-regex31.c: New file.
52543 * posix/Makefile: Add rules to build and run bug-regex31.
52544
a129c80d
UD
52545 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
52546
52547 [BZ #12078]
52548 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
52549
b76b818e
UD
52550 [BZ #12108]
52551 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
52552 to have entries in sys_siglist.
52553
1751705d
UD
52554 [BZ #12093]
52555 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
52556 be NULL.
52557
9ff8d36f
JJ
525582010-10-07 Jakub Jelinek <jakub@redhat.com>
52559
52560 [BZ #3268]
52561 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
52562 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
52563 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
52564 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
52565 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
52566 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
52567 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
52568 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
52569 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
52570 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
52571 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
52572 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
52573 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
52574 * math/ftestexcept.c (fetestexcept): Likewise.
52575 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
52576 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
52577 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
52578 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
52579 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
52580 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
52581 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
52582
af325969
UD
525832010-10-11 Ulrich Drepper <drepper@gmail.com>
52584
c579b202 52585 [BZ #12107]
af325969
UD
52586 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
52587 newline.
52588
67a67b95
UD
525892010-10-06 Ulrich Drepper <drepper@gmail.com>
52590
52591 * string/bug-strstr1.c: New file.
52592 * string/Makefile: Add rules to build and run bug-strstr1.
52593
5fb308bc
EB
525942010-10-05 Eric Blake <eblake@redhat.com>
52595
52596 [BZ #12092]
52597 * string/str-two-way.h (two_way_long_needle): Always clear memory
52598 when skipping input due to the shift table.
52599
45db99c7
UD
526002010-10-03 Ulrich Drepper <drepper@gmail.com>
52601
3b111893
UD
52602 [BZ #12005]
52603 * malloc/mcheck.c: Handle large requests.
52604
45db99c7
UD
52605 [BZ #12077]
52606 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
52607 for strncmp and strncasecmp.
52608 * string/stratcliff.c: Add tests for strcmp and strncmp.
52609 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
52610
cf7a1eb8
NI
526112010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
52612
52613 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
52614 __set_fpscr.
52615
6484ba5e
AJ
526162010-09-30 Andreas Jaeger <aj@suse.de>
52617
52618 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
52619 (CGROUP_SUPER_MAGIC): Define.
52620 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
52621 Handle btrfs and cgroup file systems.
52622 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
52623 Likewise.
52624
91c42559
LM
526252010-09-27 Luis Machado <luisgpm@br.ibm.com>
52626
52627 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
52628 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
52629
87a97932
AK
526302010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
52631
52632 [BZ #12067]
52633 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
52634 trying to locate the ELF header.
52635
c21cc9bc
AS
526362010-09-27 Andreas Schwab <schwab@redhat.com>
52637
52638 [BZ #11611]
52639 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
52640 Mask out sign-bit copies when constructing f_fsid.
52641
315970f6
PB
526422010-09-24 Petr Baudis <pasky@suse.cz>
52643
52644 * debug/stack_chk_fail_local.c: Add missing licence exception.
52645 * debug/warning-nop.c: Likewise.
52646
1ac7a2c7
JM
526472010-09-15 Joseph Myers <joseph@codesourcery.com>
52648
52649 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
52650 implementing getdents64 using getdents syscall, set d_type if
52651 __ASSUME_GETDENTS32_D_TYPE.
52652
56801c50
AS
526532010-09-16 Andreas Schwab <schwab@redhat.com>
52654
52655 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
52656 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
52657
dda51327
UD
526582010-09-21 Ulrich Drepper <drepper@redhat.com>
52659
52660 [BZ #12037]
52661 * posix/unistd.h: Undo change of feature selection for ftruncate from
52662 2010-01-11.
52663
8ffcee4a
UD
526642010-09-20 Ulrich Drepper <drepper@redhat.com>
52665
a545ecd9 52666 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
52667 detection.
52668
e24f0a8b
AS
526692010-09-20 Andreas Schwab <schwab@redhat.com>
52670
52671 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
52672 fanotify_mark.
52673 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
52674
7291c56f
AS
526752010-09-14 Andreas Schwab <schwab@redhat.com>
52676
52677 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
52678 variables after CHECK_SP call.
52679 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
52680
bc5fb037
AS
526812010-09-13 Andreas Schwab <schwab@redhat.com>
52682 Ulrich Drepper <drepper@redhat.com>
52683
52684 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
52685 re-relocationg ld.so.
52686 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
52687 _dl_init_paths call.
52688 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
52689 here anymore.
52690
e66e7419
UD
526912010-09-14 Ulrich Drepper <drepper@redhat.com>
52692
52693 * resolv/res_init.c (__res_vinit): Count the default server we added.
52694
c044aa75
CLT
526952010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
52696 Ulrich Drepper <drepper@redhat.com>
52697
52698 [BZ #11968]
52699 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
52700 (____longjmp_chk): Use %ebx for saving value across system call.
52701 Add unwind info.
52702
32cf4069
AS
527032010-09-06 Andreas Schwab <schwab@redhat.com>
52704
52705 * manual/Makefile: Don't mix pattern rules with normal rules.
52706
817328ee
AS
527072010-09-05 Andreas Schwab <schwab@linux-m68k.org>
52708
52709 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
52710 operation.
52711 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
52712 * libio/iofopncook.c (_IO_cookie_init): Likewise.
52713 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
52714 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
52715 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
52716 Likewise.
52717
29fddf61
UD
527182010-09-04 Ulrich Drepper <drepper@redhat.com>
52719
52720 [BZ #11979]
52721 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
52722 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
52723
0959ffc9
UD
527242010-09-02 Ulrich Drepper <drepper@redhat.com>
52725
52726 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
52727 * sysdeps/x86_64/addmul_1.S: Likewise.
52728 * sysdeps/x86_64/lshift.S: Likewise.
52729 * sysdeps/x86_64/mul_1.S: Likewise.
52730 * sysdeps/x86_64/rshift.S: Likewise.
52731 * sysdeps/x86_64/sub_n.S: Likewise.
52732 * sysdeps/x86_64/submul_1.S: Likewise.
52733
ece29840
ST
527342010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
52735
0959ffc9
UD
52736 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
52737 Define __sched_param instead of SCHED_* and sched_param when
ece29840 52738 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 52739 * bits/sched.h [__need_schedparam]
ece29840 52740 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
52741 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
52742 (__defined_schedparam): Define to 1.
ece29840
ST
52743 (__sched_param): New structure, identical to sched_param.
52744 (__need_schedparam): Undefine.
52745
e53a31fe
MF
527462010-08-31 Mike Frysinger <vapier@gentoo.org>
52747
fdc0c10d
MF
52748 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
52749 (epoll_create1): Declare.
52750
e53a31fe
MF
52751 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
52752
a726d796
AS
527532010-08-31 Andreas Schwab <schwab@redhat.com>
52754
52755 [BZ #7066]
52756 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
52757 shifting retval into place.
52758
2f3e3dc7
UD
527592010-09-01 Ulrich Drepper <drepper@redhat.com>
52760
f2933da9
UD
52761 * nis/rpcsvc/nis.h: Update copyright notice.
52762 * nis/rpcsvc/nis.x: Likewise.
52763 * nis/rpcsvc/nis_callback.h: Likewise.
52764 * nis/rpcsvc/nis_callback.x: Likewise.
52765 * nis/rpcsvc/nis_object.x: Likewise.
52766 * nis/rpcsvc/nis_tags.h: Likewise.
52767 * nis/rpcsvc/yp.h: Likewise.
52768 * nis/rpcsvc/yp.x: Likewise.
52769 * nis/rpcsvc/ypupd.h: Likewise.
52770 * nis/yp_xdr.c: Likewise.
52771 * nis/ypupdate_xdr.c: Likewise.
52772
2f3e3dc7
UD
52773 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
52774 mainly the body of pmap_getport. Add parameters to specify timeouts.
52775 (pmap_getport): Use __libc_rpc_getport.
52776 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
52777 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
52778 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
52779
f3dcc2f9
AS
527802010-08-31 Andreas Schwab <schwab@linux-m68k.org>
52781
52782 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
52783 fanotify_mark.
52784
6d34eb5b
RM
527852010-08-27 Roland McGrath <roland@redhat.com>
52786
52787 * sysdeps/i386/i686/multiarch/Makefile
52788 (CFLAGS-varshift.c): New variable.
52789
9ea3de11
UD
527902010-08-27 Ulrich Drepper <drepper@redhat.com>
52791
c96d23fc
UD
52792 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
52793 * sysdeps/i386/i686/multiarch/varshift.c: New file.
52794
9ea3de11
UD
52795 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
52796
52797 * sysdeps/x86_64/strlen.S: Minimal code improvement.
52798
623aac7f
L
527992010-08-26 H.J. Lu <hongjiu.lu@intel.com>
52800
52801 * sysdeps/x86_64/strlen.S: Unroll the loop.
52802 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
52803 strlen-sse2 strlen-sse2-bsf.
52804 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
52805 __strlen_no_bsf if bit_Slow_BSF is set.
52806 (__strlen_sse42): Removed.
52807 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
52808 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
52809
8b2b7715
RM
528102010-08-25 Roland McGrath <roland@redhat.com>
52811
52812 * sysdeps/x86_64/multiarch/varshift.S: File removed.
52813 * sysdeps/x86_64/multiarch/varshift.c: New file.
52814 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
52815 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
52816 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
52817 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
52818
e73015f2
L
528192010-08-25 H.J. Lu <hongjiu.lu@intel.com>
52820
52821 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
52822 strlen-sse2 strlen-sse2-bsf.
52823 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
52824 __strlen_sse2_bsf if bit_Slow_BSF is unset.
52825 (__strlen_sse2): Removed.
52826 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
52827 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
52828 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
52829 bit_Slow_BSF for Atom.
52830 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
52831 (index_Slow_BSF): Define.
52832 (HAS_SLOW_BSF): Define.
52833
df24a73e
UD
528342010-08-25 Ulrich Drepper <drepper@redhat.com>
52835
52836 [BZ #10851]
52837 * resolv/res_init.c (__res_vinit): When no server address at all
52838 is given default to loopback.
52839
f2ac4868
RM
528402010-08-24 Roland McGrath <roland@redhat.com>
52841
09055553
RM
52842 * configure.in: Remove config-name.h generation.
52843 * configure: Regenerated.
52844 * config-name.in: File removed.
52845 * scripts/config-uname.sh: New file.
52846 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
52847 ($(objdir)config-name.h): New target.
52848
f2ac4868
RM
52849 * sunrpc/rpc_parse.h: Avoid nested comment.
52850
73f27d5e
RH
528512010-08-24 Richard Henderson <rth@redhat.com>
52852 Ulrich Drepper <drepper@redhat.com>
52853 H.J. Lu <hongjiu.lu@intel.com>
52854
52855 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
52856 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
52857 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
52858 Replace _mm_srli_si128 with __m128i_shift_right. Replace
52859 _mm_alignr_epi8 with _mm_loadu_si128.
52860 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
52861 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
52862 (__m128i_shift_right): Removed.
52863 * sysdeps/i386/i686/multiarch/varshift.h: New file.
52864 * sysdeps/i386/i686/multiarch/varshift.S: New file.
52865 * sysdeps/x86_64/multiarch/varshift.h: New file.
52866 * sysdeps/x86_64/multiarch/varshift.S: New file.
52867
84b9230c
MF
528682010-08-21 Mike Frysinger <vapier@gentoo.org>
52869
52870 * configure.in: Move assembler checks to before sysdep dir checking.
52871
9bbd0ddc
PB
528722010-08-20 Petr Baudis <pasky@suse.cz>
52873
52874 * LICENSES: Sync the sunrpc license.
52875
9da4bb31
UD
528762010-08-19 Ulrich Drepper <drepper@redhat.com>
52877
a7ab6ec8
UD
52878 * sunrpc/auth_des.c: Update copyright notice once again.
52879 * sunrpc/auth_none.c: Likewise.
52880 * sunrpc/auth_unix.c: Likewise.
52881 * sunrpc/authdes_prot.c: Likewise.
52882 * sunrpc/authuxprot.c: Likewise.
52883 * sunrpc/bindrsvprt.c: Likewise.
52884 * sunrpc/clnt_gen.c: Likewise.
52885 * sunrpc/clnt_perr.c: Likewise.
52886 * sunrpc/clnt_raw.c: Likewise.
52887 * sunrpc/clnt_simp.c: Likewise.
52888 * sunrpc/clnt_tcp.c: Likewise.
52889 * sunrpc/clnt_udp.c: Likewise.
52890 * sunrpc/clnt_unix.c: Likewise.
52891 * sunrpc/des_crypt.c: Likewise.
52892 * sunrpc/des_soft.c: Likewise.
52893 * sunrpc/get_myaddr.c: Likewise.
52894 * sunrpc/getrpcport.c: Likewise.
52895 * sunrpc/key_call.c: Likewise.
52896 * sunrpc/key_prot.c: Likewise.
52897 * sunrpc/openchild.c: Likewise.
52898 * sunrpc/pm_getmaps.c: Likewise.
52899 * sunrpc/pm_getport.c: Likewise.
52900 * sunrpc/pmap_clnt.c: Likewise.
52901 * sunrpc/pmap_prot.c: Likewise.
52902 * sunrpc/pmap_prot2.c: Likewise.
52903 * sunrpc/pmap_rmt.c: Likewise.
52904 * sunrpc/rpc/auth.h: Likewise.
52905 * sunrpc/rpc/auth_unix.h: Likewise.
52906 * sunrpc/rpc/clnt.h: Likewise.
52907 * sunrpc/rpc/des_crypt.h: Likewise.
52908 * sunrpc/rpc/key_prot.h: Likewise.
52909 * sunrpc/rpc/netdb.h: Likewise.
52910 * sunrpc/rpc/pmap_clnt.h: Likewise.
52911 * sunrpc/rpc/pmap_prot.h: Likewise.
52912 * sunrpc/rpc/pmap_rmt.h: Likewise.
52913 * sunrpc/rpc/rpc.h: Likewise.
52914 * sunrpc/rpc/rpc_des.h: Likewise.
52915 * sunrpc/rpc/rpc_msg.h: Likewise.
52916 * sunrpc/rpc/svc.h: Likewise.
52917 * sunrpc/rpc/svc_auth.h: Likewise.
52918 * sunrpc/rpc/types.h: Likewise.
52919 * sunrpc/rpc/xdr.h: Likewise.
52920 * sunrpc/rpc_clntout.c: Likewise.
52921 * sunrpc/rpc_cmsg.c: Likewise.
52922 * sunrpc/rpc_common.c: Likewise.
52923 * sunrpc/rpc_cout.c: Likewise.
52924 * sunrpc/rpc_dtable.c: Likewise.
52925 * sunrpc/rpc_hout.c: Likewise.
52926 * sunrpc/rpc_main.c: Likewise.
52927 * sunrpc/rpc_parse.c: Likewise.
52928 * sunrpc/rpc_parse.h: Likewise.
52929 * sunrpc/rpc_prot.c: Likewise.
52930 * sunrpc/rpc_sample.c: Likewise.
52931 * sunrpc/rpc_scan.c: Likewise.
52932 * sunrpc/rpc_scan.h: Likewise.
52933 * sunrpc/rpc_svcout.c: Likewise.
52934 * sunrpc/rpc_tblout.c: Likewise.
52935 * sunrpc/rpc_util.c: Likewise.
52936 * sunrpc/rpc_util.h: Likewise.
52937 * sunrpc/rpcinfo.c: Likewise.
52938 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
52939 * sunrpc/rpcsvc/key_prot.x: Likewise.
52940 * sunrpc/rpcsvc/klm_prot.x: Likewise.
52941 * sunrpc/rpcsvc/mount.x: Likewise.
52942 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
52943 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
52944 * sunrpc/rpcsvc/rex.x: Likewise.
52945 * sunrpc/rpcsvc/rstat.x: Likewise.
52946 * sunrpc/rpcsvc/rusers.x: Likewise.
52947 * sunrpc/rpcsvc/sm_inter.x: Likewise.
52948 * sunrpc/rpcsvc/spray.x: Likewise.
52949 * sunrpc/rpcsvc/yppasswd.x: Likewise.
52950 * sunrpc/rtime.c: Likewise.
52951 * sunrpc/svc.c: Likewise.
52952 * sunrpc/svc_auth.c: Likewise.
52953 * sunrpc/svc_authux.c: Likewise.
52954 * sunrpc/svc_raw.c: Likewise.
52955 * sunrpc/svc_run.c: Likewise.
52956 * sunrpc/svc_simple.c: Likewise.
52957 * sunrpc/svc_tcp.c: Likewise.
52958 * sunrpc/svc_udp.c: Likewise.
52959 * sunrpc/svc_unix.c: Likewise.
52960 * sunrpc/svcauth_des.c: Likewise.
52961 * sunrpc/xcrypt.c: Likewise.
52962 * sunrpc/xdr.c: Likewise.
52963 * sunrpc/xdr_array.c: Likewise.
52964 * sunrpc/xdr_float.c: Likewise.
52965 * sunrpc/xdr_mem.c: Likewise.
52966 * sunrpc/xdr_rec.c: Likewise.
52967 * sunrpc/xdr_ref.c: Likewise.
52968 * sunrpc/xdr_sizeof.c: Likewise.
52969 * sunrpc/xdr_stdio.c: Likewise.
52970
9da4bb31
UD
52971 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
52972 handling.
52973
bdaa77bc
AS
529742010-08-19 Andreas Schwab <schwab@redhat.com>
52975
52976 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
52977
fe2f79db
LM
529782010-08-19 Luis Machado <luisgpm@br.ibm.com>
52979
52980 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
52981 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
52982 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
52983 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
52984 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
52985 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
52986 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
52987 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
52988 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
52989 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
52990 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
52991 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
52992 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
52993 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
52994
b9b42ee0
AB
529952010-07-26 Anton Blanchard <anton@samba.org>
52996
52997 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
52998 * malloc/arena.c (heap_trim): Likewise.
52999
1c06ba31
UD
530002010-08-16 Ulrich Drepper <drepper@redhat.com>
53001
53002 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
53003 here. Not...
53004 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
53005 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
53006
f8392f40
L
530072010-08-12 H.J. Lu <hongjiu.lu@intel.com>
53008
53009 * sysdeps/i386/elf/Makefile: New file.
53010
3162f12e
AS
530112010-08-14 Andreas Schwab <schwab@linux-m68k.org>
53012
53013 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
53014 from fanotify_init.
53015 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
53016 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
53017
28c90b2c
UD
530182010-08-15 Ulrich Drepper <drepper@redhat.com>
53019
53020 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
53021 of strncasecmp_l.
1feccb6c 53022 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 53023
ca6bb004
UD
530242010-08-14 Ulrich Drepper <drepper@redhat.com>
53025
e9f82e0d
UD
53026 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
53027 strncase_l-nonascii.
53028 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
53029 Add strncase_l-ssse3.
53030 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
53031 * sysdeps/x86_64/strcmp.S: Likewise.
53032 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
53033 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
53034 * sysdeps/x86_64/strncase.S: New file.
53035 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
53036 * sysdeps/x86_64/strncase_l.S: New file.
53037 * string/Makefile (strop-tests): Add strncasecmp.
53038 * string/test-strncasecmp.c: New file.
53039
53040 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
53041 warning.
53042
ca6bb004
UD
53043 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
53044 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
53045
052fa7b3
AS
530462010-08-14 Andreas Schwab <schwab@linux-m68k.org>
53047
53048 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
53049
962dba78
UD
530502010-08-12 Ulrich Drepper <drepper@redhat.com>
53051
53052 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
53053 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
53054 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
53055
bebff237
AM
530562010-05-01 Alan Modra <amodra@gmail.com>
53057
53058 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
53059 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
53060 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
53061 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
53062 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
53063 tidying. Don't tail-call __sigjmp_save for static lib.
53064 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
53065 save location.
53066 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
53067 (CALL_MCOUNT): Add eh info, and nop after bl.
53068 (TAIL_CALL_SYSCALL_ERROR): New macro.
53069 (PSEUDO_RET): Use it.
53070 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
53071 Correct save location of integer regs and cr.
53072 (_dl_profile_resolve): Correct cr save location. Delete nops
53073 after bl when SHARED. Reduce cfi size a little by better
53074 placement of cfi directives.
53075 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
53076 make a stack frame. Instead use parm save area as a temp.
53077 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
53078 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
53079 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
53080 Don't make a stack frame for parent, use parm save area.
53081 Increase child stack frame to 112 bytes. Don't save unused reg,
53082 and adjust reg usage. Set up cfi on error recovery and
53083 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
53084 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
53085 (__makecontext): Add dummy nop after jump to exit.
53086 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
53087 Use correct parm save area and cr save, reduce stack frame.
53088 Correct cfi for possible PSEUDO_RET frame setup.
53089 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
53090 Branch to local label emitted by PSEUDO_RET rather than
53091 __syscall_error.
53092
02637374
AS
530932010-08-12 Andreas Schwab <schwab@redhat.com>
53094
53095 [BZ #11904]
53096 * locale/programs/locale.c (print_assignment): New function.
53097 (show_locale_vars): Use it.
53098
c3e2f19b
UD
530992010-08-11 Ulrich Drepper <drepper@redhat.com>
53100
3cdaa6ad
UD
53101 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
53102 field.
53103 (struct statfs64): Likewise.
53104 (_STATFS_F_FLAGS): Define.
53105 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
53106 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
53107 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
53108 (ST_VALID): Define locally.
53109 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
53110 __statvfs_getflags, use the provided value.
53111 * sysdeps/unix/sysv/linux/kernel-features.h: Define
53112 __ASSUME_STATFS_F_FLAGS.
53113
754f7da3
UD
53114 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
53115
10b3bedc
UD
53116 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
53117 Add sys/fanotify.h.
53118 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
53119 fanotify_mask for GLIBC_2.13.
53120 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
53121 fanotify_init and fanotify_mark.
53122 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
53123 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
53124
c08fb0d7
UD
53125 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
53126 Add prlimit.
53127 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
53128 prlimit64 for GLIBC_2.13.
53129 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
53130 prlimit64.
53131 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
53132 syscall.
53133 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
53134 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
53135 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
53136 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
53137 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
53138 add prlimit alias.
53139 * sysdeps/unix/sysv/linux/prlimit.c: New file.
53140
15bac72b
UD
53141 [BZ #11903]
53142 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
53143 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
53144
c3e2f19b
UD
53145 * nss/Makefile: Add rules to build and run tst-nss-test1.
53146 * shlib-versions: Add entry for libnss_test1.
53147 * nss/nss_test1.c: New file.
53148 * nss/tst-nss-test1.c: New file.
53149
53150 * nss/nsswitch.c (__nss_database_custom): Define new variable.
53151 (__nss_configure_lookup): Set appropriate entry in
53152 __nss_configure_lookup to true.
53153 * nss/nsswitch.h: Define enum with indeces of databases in
53154 databases and __nss_database_custom arrays. Declare
53155 __nss_database_custom.
53156 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
53157 to avoid using nscd when custom rules are installed.
53158 * nss/getXXbyYY_r.c: Likewise.
53159 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
53160
53161 * nss/nss_files/files-parse.c: Whitespace fixes.
53162
f15ce4d8
UD
531632010-08-09 Ulrich Drepper <drepper@redhat.com>
53164
53165 [BZ #11883]
53166 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
53167 * posix/fnmatch_loop.c: Likewise.
53168
d22e4cc9
AK
531692010-07-17 Andi Kleen <ak@linux.intel.com>
53170
53171 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
53172 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
53173 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
53174 * Versions.def [GLIBC_2.13]: Add.
53175
805bc17d
UD
531762010-08-06 Ulrich Drepper <drepper@redhat.com>
53177
53178 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
53179 Also fail if tpwd after pwuid call is NULL.
53180
5a42321d
ST
531812010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
53182
53183 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
53184 when converting to ms.
53185
fd3ebeda
ST
531862010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
53187
53188 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
53189 EOPNOTSUPP errors with ENOTTY.
53190 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
53191 EOPNOTSUPP errors with ENOTTY.
53192
73507d3a
UD
531932010-07-31 Ulrich Drepper <drepper@redhat.com>
53194
53195 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
53196 Add strcasecmp_l-ssse3.
53197 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
53198 strcasecmp.
53199 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
53200 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
53201 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
53202
fe36dd02
UD
532032010-07-30 Ulrich Drepper <drepper@redhat.com>
53204
66f6765a
UD
53205 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
53206
42e08a54
UD
53207 * string/Makefile (strop-tests): Add strcasecmp.
53208 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
53209 strcasecmp_l-nonascii.
53210 (gen-as-const-headers): Add locale-defines.sym.
53211 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
53212 * sysdeps/x86_64/strcasecmp.S: New file.
53213 * sysdeps/x86_64/strcasecmp_l.S: New file.
53214 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
53215 * sysdeps/x86_64/locale-defines.sym: New file.
53216 * string/test-strcasecmp.c: New file.
53217
fe36dd02
UD
53218 * string/test-strcasestr.c: Test both ends of the range of characters.
53219 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
53220
48cbc0d6
RM
532212010-07-29 Roland McGrath <roland@redhat.com>
53222
76e6d6bc 53223 [BZ #11856]
48cbc0d6
RM
53224 * manual/locale.texi (Yes-or-No Questions): Fix example code.
53225
880113d9
UD
532262010-07-27 Ulrich Drepper <drepper@redhat.com>
53227
53228 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
53229 for ld.so.
53230
deb9cabb
AS
532312010-07-27 Andreas Schwab <schwab@redhat.com>
53232
53233 * manual/memory.texi (Malloc Tunable Parameters): Document
53234 M_PERTURB.
53235
1c7570ff
RM
532362010-07-26 Roland McGrath <roland@redhat.com>
53237
53238 [BZ #11840]
53239 * configure.in (-fgnu89-inline check): Set and substitute
53240 gnu89_inline, not libc_cv_gnu89_inline.
53241 * configure: Regenerated.
53242 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
53243
24fb0f88
UD
532442010-07-26 Ulrich Drepper <drepper@redhat.com>
53245
53246 * string/test-strnlen.c: New file.
53247 * string/Makefile (strop-tests): Add strnlen.
53248 * string/tester.c (test_strnlen): Add a few more test cases.
53249 * string/tst-strlen.c: Better error reporting.
53250
53251 * sysdeps/x86_64/strnlen.S: New file.
53252
8e96b93a
UD
532532010-07-24 Ulrich Drepper <drepper@redhat.com>
53254
53255 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
53256 lower-latency instructions.
53257
dbc676d4
UD
532582010-07-23 Ulrich Drepper <drepper@redhat.com>
53259
53260 * string/test-strcasestr.c: New file.
53261 * string/test-strstr.c: New file.
53262 * string/Makefile (strop-tests): Add strstr and strcasestr.
53263 * string/str-two-way.h: Don't undefine MAX.
53264 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
53265
f6a31e0e
AS
532662010-07-21 Andreas Schwab <schwab@redhat.com>
53267
53268 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
53269 strcasestr-nonascii.
53270 (CFLAGS-strcasestr-nonascii.c): Define.
53271 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
53272 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
53273 Remove unused attribute.
53274
5dbc3b6c
RM
532752010-07-20 Roland McGrath <roland@redhat.com>
53276
53277 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
53278 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
53279 ld.so.cache was broken. With it, there is no way to disable dsocaps
53280 like LD_HWCAP_MASK can disable hwcaps.
53281
23d101d8
EPM
532822010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
53283
53284 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
53285
cc9f2e47
UD
532862010-07-16 Ulrich Drepper <drepper@redhat.com>
53287
53288 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
53289 call in strcasestr.
53290 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
53291 __strcasestr_sse42_nonascii.
53292 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
53293 strcasestr-nonascii.c.
53294 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
53295
77c1b069
LM
532962010-06-15 Luis Machado <luisgpm@br.ibm.com>
53297
53298 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
53299 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
53300 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
53301 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
53302
440566c3
UD
533032010-07-09 Ulrich Drepper <drepper@redhat.com>
53304
53305 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
53306 fcntl.
53307
5be9d05d
AS
533082010-07-06 Andreas Schwab <schwab@redhat.com>
53309
c30b7ee2 53310 [BZ #11577]
5be9d05d
AS
53311 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
53312 dl_signal_cerror.
53313
8a492a67
UD
533142010-07-06 Ulrich Drepper <drepper@redhat.com>
53315
53316 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
53317 _PC_PIPE_BUF using F_GETPIPE_SZ.
53318
713df3d5
RM
533192010-07-05 Roland McGrath <roland@redhat.com>
53320
53321 * manual/arith.texi (Rounding Functions): Fix rint description
53322 implicit in round description.
53323
702e8f14
UD
533242010-07-02 Ulrich Drepper <drepper@redhat.com>
53325
53326 * elf/Makefile: Fix linking for a few tests to make recent linker
53327 happy.
53328
52ed8be9
AS
533292010-06-30 Andreas Schwab <schwab@redhat.com>
53330
53331 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
53332 $(common-objpfx)libc_nonshared.a.
53333
f47c9a11
LM
533342010-06-21 Luis Machado <luisgpm@br.ibm.com>
53335
53336 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
53337 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
53338 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
53339 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
53340 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
53341 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
53342 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
53343 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
53344 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
53345 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
53346 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
53347 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
53348 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
53349 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
53350 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
53351 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
53352 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
53353 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
53354 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
53355 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
53356 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
53357 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
53358 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
53359 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
53360 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
53361 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
53362 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
53363 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
53364 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
53365 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
53366 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
53367 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
53368 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
53369 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
53370 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
53371 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
53372 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
53373 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
53374 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
53375 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
53376 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
53377 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
53378 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
53379 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
53380 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
53381 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
53382 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
53383 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
53384
6fb8cbcb
L
533852010-06-25 H.J. Lu <hongjiu.lu@intel.com>
53386
53387 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
53388 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
53389 * string/memmove.c (memmove): Renamed to ...
53390 (MEMMOVE): ...this. Default to memmove.
53391 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
53392 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
53393 (END_CHK): Define.
53394 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
53395 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
53396 mempcpy-ssse3-back memmove-ssse3-back.
53397 * sysdeps/x86_64/multiarch/bcopy.S: New file .
53398 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
53399 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
53400 * sysdeps/x86_64/multiarch/memcpy.S: New file.
53401 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
53402 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
53403 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
53404 * sysdeps/x86_64/multiarch/memmove.c: New file.
53405 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
53406 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
53407 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
53408 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
53409 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
53410 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
53411 Define.
53412 (index_Fast_Copy_Backward): Define.
53413 (HAS_ARCH_FEATURE): Define.
53414 (HAS_FAST_REP_STRING): Define.
53415 (HAS_FAST_COPY_BACKWARD): Define.
53416
4e733bac 534172010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
53418
53419 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
53420 Restore proper fallback handling.
53421
63c4ed22
UD
534222010-06-19 Ulrich Drepper <drepper@redhat.com>
53423
ac2b484c
UD
53424 [BZ #11701]
53425 * posix/group_member.c (__group_member): Correct checking loop.
53426
63c4ed22
UD
53427 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
53428 OOM in getpwuid_r correctly. Return error number when the caller
53429 should return, otherwise -1.
53430 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
53431 call returning > 0 value.
53432 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
53433
765ade4b
AS
534342010-06-07 Andreas Schwab <schwab@redhat.com>
53435
53436 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
53437 libc_nonshared.a from targets in modules-names.
53438
80da2e09
KS
534392010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
53440
53441 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
53442 requires it.
53443
158db122
LM
534442010-06-10 Luis Machado <luisgpm@br.ibm.com>
53445
53446 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
53447 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
53448 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
53449 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
53450
caa78cf8
AS
534512010-06-02 Andreas Schwab <schwab@redhat.com>
53452
53453 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
53454
b2ef2c01
UD
534552010-06-14 Ulrich Drepper <drepper@redhat.com>
53456
53457 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
53458 and F_GETPIPE_SZ.
53459 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
53460 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
53461 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
53462 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
53463 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
53464 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
53465
fbd643b6
RM
534662010-06-14 Roland McGrath <roland@redhat.com>
53467
53468 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
53469
f32f2869
JJ
534702010-06-07 Jakub Jelinek <jakub@redhat.com>
53471
53472 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
53473 __REDIRECT followed by __THROW.
53474 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
53475 * posix/getopt.h (getopt): Likewise.
53476
2a50c078
EPM
534772010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
53478
53479 * hurd/lookup-at.c (__file_name_lookup_at): Accept
53480 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
53481 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
53482 in AT_FLAGS.
53483 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
53484 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
53485
eb5ad2eb
LM
534862010-05-28 Luis Machado <luisgpm@br.ibm.com>
53487
53488 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
53489
3c88fe1e
L
534902010-05-26 H.J. Lu <hongjiu.lu@intel.com>
53491
53492 [BZ #11640]
53493 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
53494 Properly check family and model.
53495
d2f73151
TY
534962010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
53497
53498 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
53499
ebd2e13d
LM
535002010-05-24 Luis Machado <luisgpm@br.ibm.com>
53501
53502 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
53503
b32b8b45
UD
535042010-05-21 Ulrich Drepper <drepper@redhat.com>
53505
53506 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
53507 symbol reference.
53508
9acbe24d
AS
535092010-05-19 Andreas Schwab <schwab@redhat.com>
53510
53511 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
53512 symbol reference.
53513
f0ccf6ea
AS
535142010-05-21 Andreas Schwab <schwab@redhat.com>
53515
3d04ff3a
AS
53516 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
53517 and internal_recvmmsg.
53518 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
53519 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
53520 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
53521 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
53522
f0ccf6ea
AS
53523 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
53524 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
53525 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
53526
5b08ac57
AS
535272010-05-20 Andreas Schwab <schwab@redhat.com>
53528
53529 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
53530
4828935d
LM
535312010-05-17 Luis Machado <luisgpm@br.ibm.com>
53532
53533 POWER7 optimizations.
53534 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
53535 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
53536
373d545e
UD
535372010-05-19 Ulrich Drepper <drepper@redhat.com>
53538
53539 * version.h: Update for 2.13 development version.
53540
21a2b1ae
AS
535412010-05-12 Andrew Stubbs <ams@codesourcery.com>
53542
53543 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
53544 exceptions. Return 0.
53545
3f7dcb2b
RM
535462010-05-07 Roland McGrath <roland@redhat.com>
53547
53548 * elf/ldconfig.c (main): Add a const.
53549
5f24d53a 535502010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 53551
a160f8d8
UD
53552 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
53553 (args_options): Add no-idn option.
53554 (ahosts_keys_int): Add idn_flags to ai_flags.
53555 (parse_option): Handle 'i' option to clear idn_flags.
53556
5f24d53a
UD
53557 * malloc/malloc.c (_int_free): Possible race in the most recently
53558 added check. Only act on the data if no current modification
53559 happened.
265bb1ce
UD
53560
53561See ChangeLog.17 for earlier changes.
This page took 7.479333 seconds and 5 git commands to generate.