]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Reset cached offset when reading to end of stream (BZ #17653)
[thirdparty/glibc.git] / ChangeLog
CommitLineData
be349d70
SP
12914-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
2
fe8b4d98
SP
3 [BZ #17653]
4 * libio/fileops.c (_IO_new_file_underflow): Unset cached
5 offset on EOF.
6 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
7 * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
8 (fgets_func): Function pointer to fgets and fgetws.
9 (do_ftell_test): Add test to verify ftell value after read
10 EOF.
11 (do_test): Set fgets_func.
12
61b4f792
SP
13 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
14 O_TRUNC flag for w and w+ modes.
15 (do_rewind_test): Likewise.
16 (do_ftell_test): Likewise.
17 (do_write_test): Likewise.
18
be349d70
SP
19 [BZ #17647]
20 * libio/fileops.c (do_ftell): Seek only when there are
21 unflushed writes.
22 * libio/wfileops.c (do_ftell_wide): Likewise.
23 * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
24 test case.
25 (do_one_test): Call it.
26
e3d6dba5
JM
272014-12-03 Joseph Myers <joseph@codesourcery.com>
28
29 * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
30 for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
31 * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
32 Remove variable.
33 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
34 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
35 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
36
7f994279
JM
372014-12-02 Joseph Myers <joseph@codesourcery.com>
38
28a91e8f
JM
39 * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
40 Remove variable.
41 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
42
7f994279
JM
43 [BZ #17668]
44 * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
45 as weak alias of __getifaddrs. Use libc_hidden_weak.
46 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
47 __freeifaddrs. Use libc_hidden_weak.
48 * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
49 define as weak alias of __getifaddrs. Use libc_hidden_weak.
50 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
51 __freeifaddrs. Use libc_hidden_weak.
52 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
53 __getifaddrs and define as weak alias of __getifaddrs. Use
54 libc_hidden_weak.
55 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
56 __freeifaddrs. Use libc_hidden_weak.
57 * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
58 Remove variable.
59 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
60 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
61
bbe4c142
PJ
622014-12-02 Petar Jovanovic <petar.jovanovic@rt-rk.com>
63
64 [BZ #17601]
65 * sysdeps/mips/start.S (__start): Use indirect jump to call
66 __libc_start_main.
67
66cadc05
JM
682014-12-02 Joseph Myers <joseph@codesourcery.com>
69
909e16d9
JM
70 * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
71
4e0b9016
JM
72 * nptl/tst-mutex1.c: Include <stdbool.h>.
73 [!ATTR] (ATTR_NULL): New macro.
74 (do_test): Test !ATTR_NULL instead of ATTR != NULL.
75 * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
76 * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
77
b1aff6a4
JM
78 * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
79 to char *.
80
266865c0
JM
81 [BZ #17665]
82 * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
83 Change conditional to [__USE_MISC].
84
84e5e756
JM
85 [BZ #17664]
86 * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
87 fgets_unlocked.
88 * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
89 __fgets_unlocked.
90 * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
91 fgets_unlocked.
92 * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
93 Remove variable.
94 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
95 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
96 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
97 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
98 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
99 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
100 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
101 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
102 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
103
66cadc05
JM
104 * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
105
2e8a2de2 1062014-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
0f0a1c82
AZ
107
108 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
109 Remove strpbrk objects.
110 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
111 (__libc_ifunc_impl_list): Remove strpbrk implementation.
112 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
113 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
114 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
115 * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
116
bb2542e0
AZ
117 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
118 Remove strcspn objects.
119 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
120 (__libc_ifunc_impl_list): Remove strcspn implementation.
121 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
122 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
123 * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
124 * sysdeps/powerpc/powerpc64/strcspn.S: New file.
2e8a2de2
AZ
125
126 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
127 Remove strspn objetcs.
128 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
129 (__libc_ifunc_impl_list): Remove strspn implementation.
130 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
131 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
132 * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
133 * sysdeps/powerpc/powerpc64/strspn.S: New file.
134
08f1e1d2
JL
1352014-12-01 James Lemke <jwlemke@codesourcery.com>
136
137 [BZ #17581]
138 * malloc/hooks.c
139 (mem2mem_check): Add a terminator to the chain of checking blocks.
140 (malloc_check_get_size): Use it here.
141 (mem2chunk_check): Ditto.
142
a8a7d7d2
RS
1432014-12-01 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
144
145 * sysdeps/powerpc/powerpc64/strtok.S: New file.
146 * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
147
97114a38
CD
1482014-11-29 Carlos O'Donell <carlos@redhat.com>
149
c8dc1727
CD
150 * bits/ioctl-types.h: Indent preprocessor directives correctly.
151
6d03458e
CD
152 * nptl/nptl-init.c: Include libc-internal.h.
153 (__pthread_initialize_minimal_internal): Use ROUND_UP.
154
97114a38
CD
155 * elf/ldconfig.c (search_dir): Expand comment.
156
0e7e69ba
JM
1572014-11-29 Joseph Myers <joseph@codesourcery.com>
158
159 * conform/Makefile (linknamespace-symlist-stdlibs-base): New
160 variable.
161 (linknamespace-symlist-stdlibs-tests): Likewise.
162 (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
163 instead of $(objpfx)symlist-stdlibs.
164 (linknamespace-libs-isoc): New variable.
165 (linknamespace-libs): Use $(linknamespace-libs-isoc).
166 (linknamespace-libs-ISO): New variable.
167 (linknamespace-libs-ISO99): Likewise.
168 (linknamespace-libs-ISO11): Likewise.
169 (linknamespace-libs-XPG3): Likewise.
170 (linknamespace-libs-XPG4): Likewise.
171 (linknamespace-libs-POSIX): Likewise.
172 (linknamespace-libs-UNIX98): Likewise.
173 (linknamespace-libs-XOPEN2K): Likewise.
174 (linknamespace-libs-POSIX2008): Likewise.
175 (linknamespace-libs-XOPEN2K8): Likewise.
176 ($(objpfx)symlist-stdlibs): Replace by
177 $(linknamespace-symlist-stdlibs-tests). Use
178 $(linknamespace-libs-$*) as set of libraries.
179 ($(linknamespace-header-tests)): Update dependencies. Use
180 $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
181 (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
182 * conform/linknamespace.pl: Remove comment about considering
183 definitions of symbols from irrelevant libraries.
184
d8dd0080
L
1852014-11-28 H.J. Lu <hongjiu.lu@intel.com>
186
187 [BZ #13862]
188 * elf/dl-tls.c: Include <atomic.h>.
189 (oom): Remove #ifdef SHARED/#endif.
190 (_dl_static_dtv, _dl_initial_dtv): Moved before ...
191 (_dl_resize_dtv): This. Extracted from _dl_update_slotinfo.
192 (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
193 big enough.
194 (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
195 * nptl/Makefile (tests): Add tst-stack4.
196 (modules-names): Add tst-stack4mod.
197 ($(objpfx)tst-stack4): New.
198 (tst-stack4mod.sos): Likewise.
199 ($(objpfx)tst-stack4.out): Likewise.
200 ($(tst-stack4mod.sos)): Likewise.
201 (clean): Likewise.
202 * nptl/tst-stack4.c: New file.
203 * nptl/tst-stack4mod.c: Likewise.
204
167da422
B
2052014-11-27 J. Brown <jb999@gmx.de>
206
207 * sysdeps/x86/bits/string.h: Add recent CPUs.
208
9114625b
JM
2092014-11-27 Joseph Myers <joseph@codesourcery.com>
210
6b5189eb
JM
211 * misc/tst-pselect.c (do_test): Use sigprocmask instead of
212 sigblock.
213
49051f8e
JM
214 * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
215 feof.
216
9114625b
JM
217 * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
218 variable.
219
e7300fef
SL
2202014-11-27 Stefan Liebler <stli@linux.vnet.ibm.com>
221
222 * nscd/connections.c: Include libc-internal.h because of macro
223 usage ignore_value.
224
1721f0a4
SP
2252014-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
226
227 * string/bits/string3.h (__warn_memset_zero_len): Don't
228 declare for gcc newer than 5.0.
229 (memset): Don't test for zero-length __LEN for gcc newer than
230 5.0.
231
be970916
JM
2322014-11-27 Joseph Myers <joseph@codesourcery.com>
233
d88548f4
JM
234 * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
235 size_t for %zu format.
236
be970916
JM
237 * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
238 difference, not %ju.
239
3b20fd5c
JM
2402014-11-26 Joseph Myers <joseph@codesourcery.com>
241
8915eace
JM
242 * include/libc-internal.h (ignore_value): New macro.
243 * nscd/connections.c (restart): Wrap calls to setuid and setgid
244 with ignore_value.
245
f1a5a0e3
JM
246 * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
247 definition.
248
59ef1715
JM
249 * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
250 pthread_cleanup_push to void *.
251
a6f3079b
JM
252 * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
253 Undefine.
254
706688aa
JM
255 [BZ #16619]
256 [BZ #16740]
257 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
258 instead of 1L << 52.
259
12da14a5
JM
260 * libio/bug-rewind.c (do_test): Check fwscanf return values.
261 * libio/bug-rewind2.c (do_test): Likewise.
262
bd5dadac
JM
263 * debug/test-stpcpy_chk-ifunc.c: Remove file.
264 * debug/test-strcpy_chk-ifunc.c: Likewise.
265 * wcsmbs/test-wcschr-ifunc.c: Likewise.
266 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
267 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
268 * wcsmbs/test-wcslen-ifunc.c: Likewise.
269 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
270 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
271 * Rules [$(multi-arch) = no] (tests): Do not filter out
272 $(tests-ifunc).
273 [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
274 * debug/Makefile (tests-ifunc): Remove variable.
275 (tests): Do not add $(tests-ifunc).
276 * wcsmbs/Makefile (tests-ifunc): Remove variable.
277 (tests): Do not add $(tests-ifunc).
278 * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
279 [TEST_IFUNC]: Remove conditionals.
280 * string/test-string.h (TEST_IFUNC): Remove macro.
281 [TEST_IFUNC]: Remove conditionals.
282
3b20fd5c
JM
283 * string/test-strchr.c [!WIDE] (L): New macro.
284 [WIDE] (L): Likewise.
285 (check1): Use CHAR instead of char. Use L on string and character
286 constants.
287
704f7947
AZ
2882014-11-26 Adhemerval Zanella <azanella@linux.ibm.com>
289
290 * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
291 tests.
292 * sysdeps/powerpc/bits/atomic.h
293 (__arch_atomic_exchange_and_add_32_acq): Add definition.
294 (__arch_atomic_exchange_and_add_32_rel): Likewise.
295 (atomic_exchange_and_add_acq): Likewise.
296 (atomic_exchange_and_add_rel): Likewise.
297 * sysdeps/powerpc/powerpc32/bits/atomic.h
298 (__arch_atomic_exchange_and_add_64_acq): Add definition.
299 (__arch_atomic_exchange_and_add_64_rel): Likewise.
300 * sysdeps/powerpc/powerpc64/bits/atomic.h
301 (__arch_atomic_exchange_and_add_64_acq): Add definition.
302 (__arch_atomic_exchange_and_add_64_rel): Likewise.
303
cdcb42d7
TR
3042014-11-26 Torvald Riegel <triegel@redhat.com>
305
306 * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
307 Change synchronization of __sched_fifo_min_prio and
308 __sched_fifo_max_prio.
309 * nptl/pthread_mutexattr_getprioceiling.c
310 (pthread_mutexattr_getprioceiling): Likewise.
311 * nptl/pthread_mutexattr_setprioceiling.c
312 (pthread_mutexattr_setprioceiling): Likewise.
313 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
314 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
315 Likewise.
316
c82f5c0c
JM
3172014-11-26 Joseph Myers <joseph@codesourcery.com>
318
319 * setjmp/jmpbug.c (test): Make foo volatile and cast it to
320 void.
321
439e1ad6
JM
3222014-11-25 Joseph Myers <joseph@codesourcery.com>
323
324 * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
325 third argument const.
326
b1eda10e
PE
3272014-11-25 Paul Eggert <eggert@cs.ucla.edu>
328
329 fnmatch: work around GCC compiler warning bug with uninit var
330 * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
331 This works around a bug with x86-64 GCC 4.9.2 and earlier
332 where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
333 "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
334 used uninitialized in this function [-Wmaybe-uninitialized]".
335
bde2667a
JM
3362014-11-25 Joseph Myers <joseph@codesourcery.com>
337
338 * posix/bug-regex31.c (main): Return RES not 0.
339
5fbb5691
AB
3402014-11-25 Anton Blanchard <anton@samba.org>
341
342 * sysdeps/powerpc/bits/atomic.h
343 (__arch_compare_and_exchange_bool_64_rel): Load from mem.
344
467fec0b
BM
3452014-11-24 Sterling Augustine <saugustine@google.com>
346
347 * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
348
e9ff8efb
RC
3492014-11-24 Ryan Cumming <etaoins@gmail.com>
350
351 [BZ #17608]
352 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
353
9744496f
JM
3542014-11-24 Joseph Myers <joseph@codesourcery.com>
355
356 [BZ #17633]
357 * stdio-common/perror.c (perror): Call __fileno instead of fileno.
358 * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
359 variable.
360 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
361 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
362
6423d475
WD
3632014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
364
365 * string/strncpy.c (strncpy): Improve performance by using memset.
366
3672014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
b863d2bc
WD
368
369 * string/strcpy.c (strcpy):
370 Improve performance by using strlen and memcpy.
371
5d178c37
LH
3722014-11-24 Leonhard Holz <leonhard.holz@web.de>
373
374 * string/strcoll_l.c (get_next_seq): __always_inline.
375 * string/strcoll_l.c (do_compare): __always_inline.
376
279bc5b3
SP
3772014-11-24 Siddhesh Poyarekar <siddhesh@redhat.com>
378
7a9ebfa1
SP
379 * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
380 defined.
381 * include/mqueue.h: Likewise.
382 * include/stdlib.h: Likewise.
383
4f41c682
SP
384 * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
385 (get_null_defines): Adjust.
386 * sunrpc/Makefile: Adjust comment.
387 * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
388 * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
389 (CFLAGS-interp.c): Likewise.
390 (CFLAGS-ldconfig.c): Likewise.
391 (CPPFLAGS-.os): Likewise.
392 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
393 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
394 * extra-modules.mk (extra-modules.mk): Likewise.
395 * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
396 * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
397 * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
398 * nscd/Makefile (CPPFLAGS-nscd): Likewise.
399 * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
400 * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
401 * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
402 * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
403 * iconvdata/Makefile (CPPFLAGS): Likewise.
404 (cpp-srcs-left): Add libof for all iconvdata routines.
405 * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
406 * include/assert.h: Likewise.
407 * include/ctype.h: Likewise.
408 * include/errno.h: Likewise.
409 * include/libc-symbols.h: Likewise.
410 * include/math.h: Likewise.
411 * include/netdb.h: Likewise.
412 * include/resolv.h: Likewise.
413 * include/stdio.h: Likewise.
414 * include/stdlib.h: Likewise.
415 * include/string.h: Likewise.
416 * include/sys/stat.h: Likewise.
417 * include/wctype.h: Likewise.
418 * intl/l10nflist.c: Likewise.
419 * libidn/idn-stub.c: Likewise.
420 * libio/libioP.h: Likewise.
421 * nptl/libc_multiple_threads.c: Likewise.
422 * nptl/pthreadP.h: Likewise.
423 * posix/regex_internal.h: Likewise.
424 * resolv/res_hconf.c: Likewise.
425 * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
426 * sysdeps/arm/memmove.S: Likewise.
427 * sysdeps/arm/sysdep.h: Likewise.
428 * sysdeps/generic/_itoa.h: Likewise.
429 * sysdeps/generic/symbol-hacks.h: Likewise.
430 * sysdeps/gnu/errlist.awk: Likewise.
431 * sysdeps/gnu/errlist.c: Likewise.
432 * sysdeps/i386/i586/memcpy.S: Likewise.
433 * sysdeps/i386/i586/memset.S: Likewise.
434 * sysdeps/i386/i686/memcpy.S: Likewise.
435 * sysdeps/i386/i686/memmove.S: Likewise.
436 * sysdeps/i386/i686/mempcpy.S: Likewise.
437 * sysdeps/i386/i686/memset.S: Likewise.
438 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
439 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
440 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
441 * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
442 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
443 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
444 * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
445 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
446 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
447 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
448 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
449 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
450 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
451 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
452 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
453 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
454 * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
455 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
456 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
457 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
458 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
459 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
460 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
461 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
462 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
463 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
464 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
465 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
466 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
467 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
468 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
469 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
470 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
471 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
472 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
473 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
474 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
475 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
476 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
477 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
478 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
479 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
480 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
481 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
482 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
483 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
484 * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
485 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
486 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
487 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
488 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
489 * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
490 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
491 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
492 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
493 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
494 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
495 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
496 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
497 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
498 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
499 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
500 * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
501 * sysdeps/nptl/bits/libc-lock.h: Likewise.
502 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
503 * sysdeps/nptl/bits/stdio-lock.h: Likewise.
504 * sysdeps/posix/closedir.c: Likewise.
505 * sysdeps/posix/opendir.c: Likewise.
506 * sysdeps/posix/readdir.c: Likewise.
507 * sysdeps/posix/rewinddir.c: Likewise.
508 * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
509 * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
510 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
511 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
512 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
513 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
514 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
515 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
516 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
517 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
518 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
519 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
520 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
521 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
522 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
523 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
524 * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
525 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
526 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
527 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
528 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
529 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
530 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
531 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
532 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
533 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
534 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
535 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
536 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
537 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
538 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
539 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
540 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
541 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
542 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
543 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
544 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
545 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
546 * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
547 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
548 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
549 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
550 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
551 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
552 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
553 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
554 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
555 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
556 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
557 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
558 * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
559 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
560 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
561 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
562 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
563 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
564 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
565 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
566 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
567 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
568 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
569 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
570 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
571 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
572 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
573 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
574 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
575 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
576 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
577 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
578 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
579 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
580 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
581 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
582 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
583 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
584 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
585 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
586 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
587 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
588 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
589 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
590 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
591 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
592 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
593 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
594 * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
595 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
596 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
597 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
598 * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
599 * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
600 * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
601 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
602 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
603 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
604 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
605 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
606 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
607 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
608 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
609 * sysdeps/unix/alpha/sysdep.S: Likewise.
610 * sysdeps/unix/alpha/sysdep.h: Likewise.
611 * sysdeps/unix/make-syscalls.sh: Likewise.
612 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
613 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
614 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
615 * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
616 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
617 * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
618 * sysdeps/unix/sysv/linux/getpid.c: Likewise.
619 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
620 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
621 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
622 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
623 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
624 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
625 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
626 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
627 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
628 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
629 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
630 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
631 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
632 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
633 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
634 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
635 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
636 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
637 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
638 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
639 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
640 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
641 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
642 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
643 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
644 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
645 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
646 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
647 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
648 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
649 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
650 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
651 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
652 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
653 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
654 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
655 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
656 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
657 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
658 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
659 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
660 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
661 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
662 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
663 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
664 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
665 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
666 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
667 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
668 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
669 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
670 * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
671 * sysdeps/x86_64/memcpy.S: Likewise.
672 * sysdeps/x86_64/memmove.c: Likewise.
673 * sysdeps/x86_64/memset.S: Likewise.
674 * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
675 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
676 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
677 * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
678 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
679 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
680 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
681 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
682 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
683 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
684 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
685 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
686 * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
687 * sysdeps/x86_64/multiarch/memset.S: Likewise.
688 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
689 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
690 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
691 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
692 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
693 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
694 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
695 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
696 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
697 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
698 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
699 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
700 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
701 * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
702 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
703 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
704 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
705 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
706 * sysdeps/x86_64/strcmp.S: Likewise.
707
76ca86a5
SP
708 * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
709
a3848485
SP
710 * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
711 * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
712 * elf/rtld-Rules: Likewise.
713 * elf/setup-vdso.h: Likewise.
714 * include/assert.h: Likewise.
715 * include/bits/stdlib-float.h: Likewise.
716 * include/errno.h: Likewise.
717 * include/sys/stat.h: Likewise.
718 * include/unistd.h: Likewise.
719 * sysdeps/aarch64/setjmp.S: Likewise.
720 * sysdeps/alpha/setjmp.S: Likewise.
721 * sysdeps/arm/__longjmp.S: Likewise.
722 * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
723 * sysdeps/arm/setjmp.S: Likewise.
724 * sysdeps/arm/sysdep.h: Likewise.
725 * sysdeps/generic/_itoa.h: Likewise.
726 * sysdeps/generic/dl-sysdep.h: Likewise.
727 * sysdeps/generic/ldsodefs.h: Likewise.
728 * sysdeps/i386/dl-tls.h: Likewise.
729 * sysdeps/i386/setjmp.S: Likewise.
730 * sysdeps/m68k/setjmp.c: Likewise.
731 * sysdeps/mach/hurd/dl-execstack.c: Likewise.
732 * sysdeps/mach/hurd/opendir.c: Likewise.
733 * sysdeps/posix/getcwd.c: Likewise.
734 * sysdeps/posix/opendir.c: Likewise.
735 * sysdeps/posix/profil.c: Likewise.
736 * sysdeps/powerpc/dl-procinfo.h: Likewise.
737 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
738 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
739 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
740 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
741 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
742 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
743 * sysdeps/s390/dl-tls.h: Likewise.
744 * sysdeps/s390/s390-32/setjmp.S: Likewise.
745 * sysdeps/s390/s390-64/setjmp.S: Likewise.
746 * sysdeps/sh/sh3/setjmp.S: Likewise.
747 * sysdeps/sh/sh4/setjmp.S: Likewise.
748 * sysdeps/unix/alpha/sysdep.h: Likewise.
749 * sysdeps/unix/arm/sysdep.S: Likewise.
750 * sysdeps/unix/i386/sysdep.S: Likewise.
751 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
752 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
753 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
754 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
755 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
756 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
757 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
758 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
759 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
760 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
761 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
762 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
763 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
764 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
765 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
766 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
767 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
768 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
769 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
770 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
771 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
772 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
773 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
774 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
775 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
776 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
777 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
778 * sysdeps/unix/x86_64/sysdep.S: Likewise.
779 * sysdeps/x86_64/setjmp.S: Likewise.
780
a109996e
SP
781 * include/math.h: Use IS_IN instead of IS_IN_libm.
782 * sysdeps/alpha/fpu/s_copysign.c: Likewise.
783 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
784 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
785 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
786 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
787 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
788 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
789 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
790 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
791 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
792 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
793 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
794 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
795 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
796 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
797 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
798 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
799 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
800 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
801 * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
802 * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
803 * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
804 * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
805 * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
806 * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
807 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
808 * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
809 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
810 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
811 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
812 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
813 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
814 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
815 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
816 Likewise.
817 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
818 Likewise.
819 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
820 Likewise.
821 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
822 Likewise.
823 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
824 Likewise.
825 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
826 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
827 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
828 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
829 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
830 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
831 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
832 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
833 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
834 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
835 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
836 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
837 * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
838 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
839 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
840 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
841 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
842 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
843 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
844 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
845 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
846 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
847 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
848 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
849 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
850 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
851 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
852
ce9f10f7
SP
853 * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
854 * nptl/pthreadP.h: Likewise.
855 * nptl_db/structs.def: Likewise.
856 * sysdeps/arm/sysdep.h: Likewise.
857 * sysdeps/nptl/bits/libc-lock.h: Likewise.
858 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
859 * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
860 * sysdeps/unix/alpha/sysdep.h: Likewise.
861 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
862 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
863 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
864 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
865 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
866 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
867 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
868 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
869 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
870 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
871 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
872 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
873 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
874 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
875 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
876 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
877 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
878 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
879 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
880 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
881 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
882 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
883 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
884 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
885 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
886 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
887
016afc75
SP
888 * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
889 * nptl/pthreadP.h: Likewise.
890 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
891 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
892 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
893 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
894 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
895 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
896 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
897 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
898 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
899 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
900 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
901 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
902 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
903 Likewise.
904 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
905 Likewise.
906 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
907 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
908 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
909 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
910 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
911 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
912 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
913 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
914
9b42a0b3
SP
915 * dlfcn/dladdr.c: Use IS_IN.
916 * dlfcn/dladdr1.c: Likewise.
917 * dlfcn/dlclose.c: Likewise.
918 * dlfcn/dlerror.c: Likewise.
919 * dlfcn/dlinfo.c: Likewise.
920 * dlfcn/dlmopen.c: Likewise.
921 * dlfcn/dlopen.c: Likewise.
922 * dlfcn/dlsym.c: Likewise.
923 * dlfcn/dlvsym.c: Likewise.
924
85f36372
SP
925 * include/ifaddrs.h: Use IS_IN.
926 * inet/check_pf.c: Likewise.
927 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
928 * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
929
fb6784e3
SP
930 * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
931 IS_IN_ldconfig.
932 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
933 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
934
2886d2d1
SP
935 * include/shlib-compat.h [!NOT_IN_libc]: Remove.
936 * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
937 IS_IN (libc).
938
9a484857
SP
939 * elf/Makefile (libof-sotruss-lib): Set as extramodules.
940
a10178bd
SP
941 * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
942 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
943 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
944 * include/libc-symbols.h (IS_IN_LIB): New macro.
945 * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
946 * include/netdb.h: Likewise.
947 * include/stap-probe.h: Remove all uses of IN_LIB.
948
279bc5b3
SP
949 * Makeconfig (module-cppflags-real): Define MODULE_NAME
950 instead of IN_MODULE.
951 * include/libc-symbols.h (IN_MODULE): Define using
952 MODULE_NAME.
953 (PASTE_NAME, PASTE_NAME1): New macros.
954 * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
955 of IN_LIB.
956 (STAP_PROBE_ASM): Likewise.
957
e0cfa510
ST
9582014-11-23 Samuel Thibault <samuel.thibault@ens-lyon.org>
959
960 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
961 __mach_init in dlopened libc.
962
34d97d87
MF
9632014-11-22 Mike Frysinger <vapier@gentoo.org>
964
965 * sysdeps/arm/preconfigure.ac: Delete EABI check.
966 * sysdeps/arm/preconfigure: Regenerate.
967
33cd1f74
RM
9682014-11-21 Roland McGrath <roland@hack.frob.com>
969
970 * nptl/pthread_create.c (__pthread_create_2_1): Set
971 ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
972 when copying values from IATTR into PD.
973
8c230039
WN
9742014-11-21 Will Newton <will.newton@linaro.org>
975 Andrew Pinski <andrew.pinski@caviumnetworks.com>
976
6d3db89b
AP
977 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
978 Refactor inline-asm. Also add comment.
979
01194ba1
WN
980 * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
981 ElfW macro instead of hardcoded Elf64 types.
982 (la_aarch64_gnu_pltenter): Likewise.
983 * sysdeps/aarch64/dl-machine.h
984 (elf_machine_runtime_setup): Use ElfW(Addr).
985
8c230039
WN
986 * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
987 R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
988 R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
989 R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
990 R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
991 (R_AARCH64_TLS_DTPMOD64): Rename to ..
992 (R_AARCH64_TLS_DTPMOD): This.
993 (R_AARCH64_TLS_DTPREL64): Rename to ...
994 (R_AARCH64_TLS_DTPREL): This.
995 (R_AARCH64_TLS_TPREL64): Rename to ...
996 (R_AARCH64_TLS_TPREL): This.
997 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
998 R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
999 R_AARCH64_TLS_TPREL64.
1000 (elf_machine_rela): Likewise.
1001
0d79fa53
TR
10022014-11-21 Torvald Riegel <triegel@redhat.com>
1003
1004 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
1005 by setting it to 0. 64b atomics are not supported currently.
1006
b59d114b
AO
10072014-11-21 Alexandre Oliva <aoliva@redhat.com>
1008
1009 [BZ #16469]
1010 * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
1011 search domain names.
1012
f3d945d5
AO
10132014-11-21 Alexandre Oliva <aoliva@redhat.com>
1014
1015 [BZ #16469]
1016 * NEWS: Update.
1017 * resolv/res_query.c (__libc_res_nquerydomain): Retain
1018 trailing dot.
1019 * posix/tst-getaddrinfo5.c: New.
1020 * posix/Makefile (tests): Add it.
1021
49698902
AO
10222014-11-21 Alexandre Oliva <aoliva@redhat.com>
1023
1024 [BZ #14498]
1025 * NEWS: Fixed.
1026 * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
1027 after parsing line but before break_if_match.
1028 * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
1029 if there is a protocol mismatch.
1030
81959214
MS
10312014-11-21 Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
1032
1033 * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
1034 because the potential race is on the user-supplied stream.
1035
7729e0e9
AO
10362014-11-21 Alexandre Oliva <aoliva@redhat.com>
1037
1038 * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
1039 string literal if not passed a buffer.
1040 * manual/job.texi (ctermid): Update reasoning, note deviation
1041 from posix, suggest mtasurace when not passed a buffer, for
1042 future non-preliminary safety notes.
1043
a4ea5e28
AO
10442014-11-21 Alexandre Oliva <aoliva@redhat.com>
1045
1046 * manual/users.texi (cuserid): Fix MT-Safety note for the case
1047 of not passing it a buffer.
1048 Reported by Peng Haitao.
1049
a2b581cb
AO
10502014-11-21 Alexandre Oliva <aoliva@redhat.com>
1051
1052 * manual/Makefile ($(objpfx)stamp-summary): Require
1053 check-safety.sh to pass.
1054 * manual/check-safety.sh: Wish for verification that every
1055 @deftypefn and @deftypefun is followed by a @safety remark.
1056
f214ff74
RM
10572014-11-20 Roland McGrath <roland@hack.frob.com>
1058
7f0dfae0
RM
1059 * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
1060
2f531bbb
RM
1061 * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
1062 PTHREAD_CANCEL_ASYNCHRONOUS.
1063 * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
1064 send SIGCANCEL.
1065
f214ff74
RM
1066 * nptl/default-sched.h: New file.
1067 * sysdeps/unix/sysv/linux/default-sched.h: New file.
1068 * nptl/pthread_create.c: Include it.
1069 (__pthread_create_2_1): Use collect_default_sched instead of making
1070 Linux syscalls here directly.
1071
e37c91d4
TR
10722014-11-20 Torvald Riegel <triegel@redhat.com>
1073
1074 * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
1075 __pthread_once): Use C11 atomics.
1076
1eccfecd
TR
10772014-11-20 Torvald Riegel <triegel@redhat.com>
1078
1079 * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
1080
ff871426
TR
10812014-11-20 Torvald Riegel <triegel@redhat.com>
1082
1083 * include/atomic.h (__atomic_link_error, __atomic_check_size,
1084 atomic_thread_fence_acquire, atomic_thread_fence_release,
1085 atomic_thread_fence_seq_cst, atomic_load_relaxed,
1086 atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
1087 atomic_compare_exchange_weak_relaxed,
1088 atomic_compare_exchange_weak_acquire,
1089 atomic_compare_exchange_weak_release,
1090 atomic_exchange_acquire, atomic_exchange_release,
1091 atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
1092 atomic_fetch_add_release, atomic_fetch_add_acq_rel,
1093 atomic_fetch_and_acquire,
1094 atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
1095
1ea339b6
TR
10962014-11-20 Torvald Riegel <triegel@redhat.com>
1097
1098 * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
1099 USE_ATOMIC_COMPILER_BUILTINS): Define.
1100 * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
1101 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1102 * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
1103 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1104 * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
1105 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1106 * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
1107 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1108 * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
1109 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1110 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
1111 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1112 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
1113 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1114 * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
1115 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1116 * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
1117 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1118 * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
1119 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1120 * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
1121 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1122 * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
1123 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1124 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
1125 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1126 * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
1127 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1128 * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
1129 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1130 * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
1131 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1132 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
1133 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1134 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
1135 (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1136 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
1137 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1138 * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
1139 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1140
cbd463e2
RM
11412014-11-19 Roland McGrath <roland@hack.frob.com>
1142
d960211f
RM
1143 * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
1144 the sched_priority value here. It was already checked when the user
1145 called pthread_attr_setschedparam.
1146
cbd463e2
RM
1147 * nptl/tst-bad-schedattr.c: New file.
1148 * nptl/Makefile (tests): Add it.
1149
a39208bd
CD
11502014-11-19 Carlos O'Donell <carlos@redhat.com>
1151 Florian Weimer <fweimer@redhat.com>
1152 Joseph Myers <joseph@codesourcery.com>
1153 Adam Conrad <adconrad@0c3.net>
1154 Andreas Schwab <schwab@suse.de>
1155 Brooks <bmoses@google.com>
1156
1157 [BZ #17625]
1158 * wordexp-test.c (__dso_handle): Add prototype.
1159 (__register_atfork): Likewise.
1160 (__app_register_atfork): New function.
1161 (registered_forks): New global.
1162 (register_fork): New function.
1163 (test_case): Add 3 new tests for WRDE_CMDSUB.
1164 (main): Call __app_register_atfork.
1165 (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
1166 fork count is non-zero fail the test.
1167 * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
1168 is set.
1169 (parse_dollars): Remove check for WRDE_NOCMD.
1170 (parse_dquote): Likewise.
1171
9cd47470
SP
11722014-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
1173
130ac68c
SP
1174 * Makeconfig (built-modules): List non-library modules to be
1175 built.
1176 (module-cppflags): Include libc-modules.h for
1177 everything except shlib-versions.v.i.
1178 (CPPFLAGS): Use it.
1179 (before-compile): Add libc-modules.h.
1180 ($(common-objpfx)libc-modules.h,
1181 $(common-objpfx)libc-modules.stmp): New targets.
1182 (common-generated): Add libc-modules.h and libc-modules.stmp.
1183 ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
1184 * include/libc-symbols.h: Don't include libc-modules.h.
1185 * include/libc-modules.h: Remove file.
1186 * scripts/gen-libc-modules.awk: New script to generate
1187 libc-modules.h.
1188 * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
1189 Depend on libc-modules.stmp.
1190
286663c3
SP
1191 * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
1192
9cd47470
SP
1193 * Makeconfig (in-module): Get value of libof set for the
1194 translation unit.
1195 (CPPFLAGS): Use $(in-module).
1196 * Makerules: Don't suffix routine names for nonlib.
1197 * include/libc-modules.h: New file.
1198 * include/libc-symbols.h: Include libc-modules.h
1199 (IS_IN): New macro to replace IS_IN_* macros.
1200 * elf/Makefile: Set libof-* for each routine.
1201 * elf/rtld-Rules: Likewise.
1202 * extra-modules.mk: Likewise.
1203 * iconv/Makefile: Likewise.
1204 * iconvdata/Makefile: Likewise.
1205 * locale/Makefile: Likewise.
1206 * malloc/Makefile: Likewise.
1207 * nss/Makefile: Likewise.
1208 * sysdeps/gnu/Makefile: Likewise.
1209 * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
1210 * sysdeps/unix/sysv/linux/Makefile: Likewise.
1211 * sysdeps/s390/s390-64/Makefile: Likewise.
1212 * nscd/Makefile: Set libof-* for each routine. Set CFLAGS and
1213 CPPFLAGS for nscd instead of nonlib.
1214
32fed10f
RM
12152014-11-18 Roland McGrath <roland@hack.frob.com>
1216
d71035bd
RM
1217 * nptl/createthread.c: New file.
1218
6540b991
RM
1219 * nptl/createthread.c: Moved ...
1220 * sysdeps/unix/sysv/linux/createthread.c: ... here.
1221
32fed10f
RM
1222 * nptl/createthread.c: Add proper top-line comment.
1223 (do_clone): Folded into ...
1224 (create_thread): ... here. Take new arguments STOPPED_START and
1225 THREAD_RAN. Always set PD->stopped_start to something here. Don't
1226 increment __nptl_threads, do event-reporting logic, do
1227 CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
1228 here. Set *THREAD_RAN after ARCH_CLONE call succeeds. Don't do any
1229 resource cleanup if sched_setaffinity or sched_setscheduler fails,
1230 just send SIGCANCEL.
1231 * nptl/pthread_create.c: Forward-declare create_thread before
1232 including createthread.c.
1233 (start_thread): Use new macro START_THREAD_DEFN to replace defining
1234 declaration, and new macro START_THREAD_SELF to replace argument.
1235 Remove return statement.
1236 (report_thread_creation): New function.
1237 (__pthread_create_2_1): Use it. Do TD_CREATE reporting,
1238 synchronization logic, and __nptl_nthreads increment here, around
1239 calling create_thread. Do CHECK_THREAD_SYSINFO and initialize
1240 PD->parent_cancelhandling here, before create_thread. When
1241 create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
1242 __deallocate_stack, and ENOMEM translation here.
1243
107a5bf0
JM
12442014-11-18 Joseph Myers <joseph@codesourcery.com>
1245
1246 [BZ #17616]
1247 * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
1248 (mptwo): Rename to __mptwo.
1249 (__inv): Use __mptwo instead of mptwo.
1250 * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
1251 (mptwo): Rename to __mptwo.
1252 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
1253 of mpone and __mptwo instead of mptwo.
1254 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
1255 instead of mpone.
1256 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
1257 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
1258 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
1259 of mpone and __mptwo instead of mptwo.
1260 (__mpranred): Use __mpone instead of mpone.
1261 * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
1262 variable.
1263 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
1264 (test-xfail-ISO99/math.h/linknamespace): Likewise.
1265 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
1266 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
1267 (test-xfail-ISO11/math.h/linknamespace): Likewise.
1268 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
1269 (test-xfail-XPG3/math.h/linknamespace): Likewise.
1270 (test-xfail-XPG4/math.h/linknamespace): Likewise.
1271 (test-xfail-POSIX/math.h/linknamespace): Likewise.
1272 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
1273 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
1274 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
1275 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
1276 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
1277 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
1278 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
1279 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
1280 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
1281 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
1282
3b679ab3
TV
12832014-11-18 Tom de Vries <tom@codesoucery.com>
1284
1285 * manual/signal.texi (Primitives Interrupted by Signals): In section,
1286 replace BSD Handler xref with BSD Signal Handling.
4886f341
RH
1287
12882014-11-17 Richard Henderson <rth@redhat.com>
1289
1290 * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
1291 (_FP_PACK_RAW_2): Remove.
1292 (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
1293 (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
1294 (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
1295 (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
1296 * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
1297 * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
1298 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
1299 * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
1300 * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
1301 * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
1302 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
1303 * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
1304 * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
1305 * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
1306 * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
1307 * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
1308
0781a777
RM
13092014-11-14 Roland McGrath <roland@hack.frob.com>
1310
1311 * signal/signal.h [__USE_MISC]
1312 (struct sigvec): Remove type.
1313 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
1314 (sigvec): Remove declaration.
1315 * sysdeps/posix/sigvec.c: Moved ...
1316 * signal/sigvec.c: ... here, replacing old file.
1317 (struct sigvec): New type, copied from old signal.h definition.
1318 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
1319 (__sigvec): Convert definition to prototype.
1320 (sigvec): Replace weak_alias with compat_symbol.
1321 * signal/Versions (libc: GLIBC_2.21): New version set.
1322 * include/signal.h: Remove __sigvec declaration.
1323 * sysdeps/unix/bsd/sigvec.c: Remove file.
1324 * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
1325 * manual/signal.texi (BSD Handler): Remove subsection.
1326 Move siginterrupt up to ...
1327 (BSD Signal Handling): ... here. Mark it as XPG rather than BSD.
1328 (Blocking in BSD): Fold subsection into its parent.
1329 * NEWS: Mention sigvec removal.
1330
a4733812
JM
13312014-11-14 Joseph Myers <joseph@codesourcery.com>
1332
5ae4fe60
JM
1333 * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
1334 (DLA_FMS): Make definition conditional only on [__FMA4__].
1335 [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
1336 definition.
1337
6a0dd472
JM
1338 * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
1339 Make definition conditional only on [PROF].
1340 [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
1341 definition.
1342 [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
1343 [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
1344
a4733812
JM
1345 * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
1346 !__GNUC__].
1347 * include/signal.h (__sigpause): Move declaration above call to
1348 libc_hidden_proto.
1349 * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
1350 variable.
1351 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
1352 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
1353
cf7246dd
DM
13542014-11-14 David S. Miller <davem@davemloft.net>
1355
1356 * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
1357 Define before including <string/memcpy.c> and <string/mempcpy.c>.
1358
c1b0aadc
JM
13592014-11-14 Joseph Myers <joseph@codesourcery.com>
1360
4863355a
JM
1361 * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
1362 * configure: Regenerated.
1363 * manual/install.texi (Tools for Compilation): Document a
1364 requirement of GCC 4.6 or later and that GCC 4.9 is the newest
1365 compiler verified to work.
1366 * INSTALL: Regenerated.
1367
c1b0aadc
JM
1368 * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
1369 redeclare with asm name.
1370 [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
1371 * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
1372 including <string.h>.
1373 * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
1374 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
1375 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
1376 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
1377 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
1378 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
1379 [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
1380
2a1cfd94
JM
13812014-11-13 Joseph Myers <joseph@codesourcery.com>
1382
bf438382
JM
1383 * stdlib/strtol.c (__strtol): Use prototype definition.
1384
2a1cfd94
JM
1385 [BZ #17594]
1386 * stdlib/strtol.c (SYM__): New macro.
1387 (SYM__1): Likewise.
1388 (__strtol): Likewise.
1389 (strtol): Rename to __strtol and define as weak alias of
1390 __strtol. Use libc_hidden_weak.
1391
20ed0d26
SL
13922014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
1393
1394 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
1395 Use numbered labels in inline assembly.
1396
53244a4e
SL
13972014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
1398
1399 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
1400 Add setjmp LIBC_PROBE.
1401 * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
1402 Likewise.
1403 * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
1404 Add longjmp, longjmp_target LIBC_PROBE.
1405 * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
1406 Likewise.
1407
47df8251
SL
14082014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
1409
1410 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
1411 Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
1412 to get rid of unused variable warning.
1413
618cebef
SL
14142014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
1415
1416 * sysdeps/s390/s390-32/backtrace.c (__backtrace):
1417 Check for unwind_backtrace == NULL only in SHARED case.
1418 (__backchain_backtrace): Compile only in SHARED case.
1419 * sysdeps/s390/s390-64/backtrace.c (__backtrace):
1420 Likewise.
1421 (__backchain_backtrace): Declare as static.
1422
c6aab2cb
RM
14232014-11-12 Roland McGrath <roland@hack.frob.com>
1424
1425 * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
1426 (__libc_multiple_threads_ptr): Variable moved ...
1427 * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
1428
5a6fa4d7
JM
14292014-11-12 Joseph Myers <joseph@codesourcery.com>
1430
24f4f825
JM
1431 * conform/GlibcConform.pm: New file.
1432 * conform/conformtest.pl: Use GlibcConform module.
1433 * conform/linknamespace.pl: New file.
1434 * conform/list-header-symbols.pl: Likewise.
1435 * conform/Makefile (linknamespace-symlists-base): New variable.
1436 (linknamespace-symlists-tests): Likewise.
1437 (linknamespace-header-base): Likewise.
1438 (linknamespace-header-tests): Likewise.
1439 (tests-special): Add new tests.
1440 ($(linknamespace-symlists-tests)): New rule.
1441 (linknamespace-libs): New variable.
1442 ($(objpfx)symlist-stdlibs): New rule.
1443 ($(linknamespace-header-tests)): Likewise.
1444 (test-xfail-XPG3/varargs.h/linknamespace): New variable.
1445 (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
1446 (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
1447 (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
1448 (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
1449 (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
1450 (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
1451 (test-xfail-ISO/math.h/linknamespace): Likewise.
1452 (test-xfail-ISO/signal.h/linknamespace): Likewise.
1453 (test-xfail-ISO/stdio.h/linknamespace): Likewise.
1454 (test-xfail-ISO/time.h/linknamespace): Likewise.
1455 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
1456 (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
1457 (test-xfail-ISO99/math.h/linknamespace): Likewise.
1458 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
1459 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
1460 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
1461 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
1462 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
1463 (test-xfail-ISO11/math.h/linknamespace): Likewise.
1464 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
1465 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
1466 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
1467 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
1468 (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
1469 (test-xfail-XPG3/glob.h/linknamespace): Likewise.
1470 (test-xfail-XPG3/math.h/linknamespace): Likewise.
1471 (test-xfail-XPG3/regex.h/linknamespace): Likewise.
1472 (test-xfail-XPG3/search.h/linknamespace): Likewise.
1473 (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
1474 (test-xfail-XPG3/time.h/linknamespace): Likewise.
1475 (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
1476 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
1477 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
1478 (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
1479 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
1480 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
1481 (test-xfail-XPG4/grp.h/linknamespace): Likewise.
1482 (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
1483 (test-xfail-XPG4/math.h/linknamespace): Likewise.
1484 (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
1485 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
1486 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
1487 (test-xfail-XPG4/search.h/linknamespace): Likewise.
1488 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
1489 (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
1490 (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
1491 (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
1492 (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
1493 (test-xfail-XPG4/time.h/linknamespace): Likewise.
1494 (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
1495 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
1496 (test-xfail-POSIX/aio.h/linknamespace): Likewise.
1497 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
1498 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
1499 (test-xfail-POSIX/math.h/linknamespace): Likewise.
1500 (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
1501 (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
1502 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
1503 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
1504 (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
1505 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
1506 (test-xfail-POSIX/time.h/linknamespace): Likewise.
1507 (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
1508 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
1509 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
1510 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
1511 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
1512 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
1513 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
1514 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
1515 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
1516 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
1517 (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
1518 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
1519 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
1520 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
1521 (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
1522 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
1523 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
1524 (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
1525 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
1526 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
1527 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
1528 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
1529 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
1530 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
1531 (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
1532 (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
1533 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
1534 (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
1535 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
1536 (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
1537 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
1538 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
1539 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
1540 (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
1541 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
1542 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
1543 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
1544 (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
1545 (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
1546 (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
1547 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
1548 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
1549 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
1550 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
1551 (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
1552 (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
1553 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
1554 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
1555 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
1556 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
1557 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
1558 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
1559 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
1560 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
1561 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
1562 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
1563 (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
1564 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
1565 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
1566 (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
1567 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
1568 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
1569 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
1570 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
1571 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
1572 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
1573 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
1574 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
1575 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
1576 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
1577 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
1578 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
1579 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
1580 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
1581 (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
1582 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
1583 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
1584 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
1585 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
1586 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
1587 (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
1588 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
1589 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
1590 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
1591 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
1592 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
1593 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
1594 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
1595 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
1596 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
1597 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
1598 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
1599 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
1600 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
1601 (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
1602 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
1603 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
1604 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
1605
cc67478e
JM
1606 [BZ #17589]
1607 * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
1608 of fgets_unlocked.
1609
9975e3d3
JM
1610 [BZ #17585]
1611 * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
1612 (memmem): Rename to __memmem and define as weak alias of
1613 __memmem. Use libc_hidden_weak.
1614 (__memmem): Use libc_hidden_def.
1615 * include/string.h (__memmem): Declare. Use libc_hidden_proto.
1616 * locale/findlocale.c (valid_locale_name): Use __memmem instead of
1617 memmem.
1618
c4eae752
JM
1619 [BZ #17582]
1620 * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
1621 (__fgets_unlocked): Add alias of _IO_fgets. Use libc_hidden_def.
1622 * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
1623 and define as weak alias of __fgets_unlocked. Use
1624 libc_hidden_weak.
1625 (__fgets_unlocked): Use libc_hidden_def.
1626 * include/stdio.h (__fgets_unlocked): Declare. Use
1627 libc_hidden_proto.
1628 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
1629 __fgets_unlocked instead of fgets_unlocked.
1630 * sysdeps/unix/sysv/linux/alpha/getsysstats.c
1631 (GET_NPROCS_CONF_PARSER): Likewise.
1632 * sysdeps/unix/sysv/linux/sparc/getsysstats.c
1633 (GET_NPROCS_CONF_PARSER): Likewise.
1634
01cad84e
JM
1635 [BZ #17574]
1636 * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
1637 weak alias of __wmemset. Use libc_hidden_weak.
1638 (__wmemset): Use libc_hidden_def.
1639 * include/wchar.h (__wmemset): Declare. Use libc_hidden_proto.
1640 * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
1641 of wmemset.
1642
939da411
JM
1643 [BZ #17573]
1644 * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
1645 with asm name __mempcpy.
1646 [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
1647
293d9a41
JM
1648 [BZ #17572]
1649 * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
1650 and define as weak alias of __rawmemchr.
1651 (__rawmemchr): Do not define as strong alias of rawmemchr.
1652
bef8fd60
JM
1653 [BZ #17571]
1654 * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
1655 alias of __qsort_r.
1656 (qsort): Call __qsort_r instead of qsort_r.
1657 * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
1658 (__qsort_r): Declare. Call libc_hidden_proto.
1659 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
1660 instead of qsort_r.
1661 * nscd/gai.c (__qsort_r): Define to qsort_r.
1662 * posix/tst-rfc3484.c (__qsort_r): Likewise.
1663 * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
1664 * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
1665
c52ff39e
JM
1666 [BZ #17570]
1667 * malloc/malloc.c (malloc_info): Rename to __malloc_info and
1668 define as weak alias of __malloc_info.
1669
2f5c1b00
JM
1670 [BZ #17584]
1671 * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
1672 as weak alias of __rewinddir. Don't use libc_hidden_def.
1673 (__rewinddir): Use libc_hidden_def.
1674 * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
1675 as weak alias of __rewinddir. Don't use libc_hidden_def.
1676 (__rewinddir): Use libc_hidden_def.
1677 * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
1678 weak alias of __rewinddir. Don't use libc_hidden_def.
1679 (__rewinddir): Use libc_hidden_def.
1680 * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
1681 (__rewinddir): Use libc_hidden_proto.
1682 * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
1683 rewinddir.
1684 (__getcwd): Use __rewinddir instead of rewinddir.
1685
5a6fa4d7
JM
1686 [BZ #17583]
1687 * libio/fileno.c (fileno): Rename to __fileno and define as weak
1688 alias of __fileno. Use libc_hidden_weak.
1689 (__fileno): Use libc_hidden_def.
1690 [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
1691 * libio/ftello.c (ftello): Rename to __ftello and define as weak
1692 alias of __ftello.
1693 [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
1694 __ftello.
1695 * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
1696 (__fread_unlocked): Define as strong alias of _IO_fread. Use
1697 libc_hidden_def.
1698 (fread_unlocked): Don't use libc_hidden_ver.
1699 * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
1700 and define as weak alias of __fread_unlocked. Don't use
1701 libc_hidden_def.
1702 (__fread_unlocked): Use libc_hidden_def.
1703 * include/stdio.h (__fileno): Declare. Use libc_hidden_proto.
1704 (ftello): Don't use libc_hidden_proto.
1705 (__ftello): Declare. Use libc_hidden_proto.
1706 (fread_unlocked): Don't use libc_hidden_proto.
1707 (__fread_unlocked): Declare. Use libc_hidden_proto.
1708 * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
1709 and __ftello instead of fileno, fread_unlocked and ftello.
1710
2581b98e
SP
17112012-11-12 Siddhesh Poyarekar <siddhesh@redhat.com>
1712
1713 * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
1714 GOT12.
1715 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
1716 Likewise.
1717 (_dl_start_user): Likewise.
1718 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
1719
533bb7c2
SP
17202014-11-12 Carlos O'Donell <carlos@redhat.com>
1721 Siddhesh Poyarekar <siddhesh@redhat.com>
1722
1723 * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
1724 Move argv and envp down instead of moving argc up.
1725 * sysdeps/s390/s390-32/dl-sysdep.h: New file.
1726
fffa1cf8
LH
17272014-11-12 Leonhard Holz <leonhard.holz@web.de>
1728
1729 [BZ #17506]
1730 * test-skeleton.c (main): Return successful if one of
1731 EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
1732 * string/tst-strcoll-overflow.c: Define expected status.
1733
fb89b46d
TU
17342014-11-12 Tatiana Udalova <t.udalova@samsung.com>
1735
1736 [BZ #17475]
1737 * locale/iso-639.def: Define Bhili and Tulu language codes.
1738
5c40c3ba
AH
17392014-11-11 Alan Hayward <alan.hayward@arm.com>
1740
1741 * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
1742
b17fe01b 17432014-11-10 Renlin Li <Renlin.Li@arm.com>
80085def
RL
1744
1745 [BZ #17555]
1746 * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
1747
bd805071
AS
17482014-11-10 Andrew Senkevich <andrew.n.senkevich@gmail.com>
1749
1750 * configure.ac: Updated check of minimal required version to
1751 2.22.
1752 * manual/install.texi (Tools for Compilation): Updated version
1753 number.
1754 * configure: Regenerated.
1755 * INSTALL: Likewise.
1756
1400983e
AS
17572014-11-07 Andreas Schwab <schwab@linux-m68k.org>
1758
1759 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
1760 __tls_get_addr.
1761
2c46a66a
JM
17622014-11-07 Joseph Myers <joseph@codesourcery.com>
1763
1764 * include/sys/wait.h (__libc_waitpid): Remove declaration.
1765 * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
1766 (__waitpid): Don't define as alias. Use libc_hidden_def not
1767 libc_hidden_weak.
1768 (waitpid): Define as alias of __waitpid.
1769 * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
1770 __waitpid.
1771 (__waitpid): Don't define as alias. Use libc_hidden_def not
1772 libc_hidden_weak.
1773 (waitpid): Define as alias of __waitpid.
1774 * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
1775 __libc_waitpid alias.
1776 * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
1777 * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
1778 Likewise.
1779 * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
1780 * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
1781 * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
1782 alias.
1783 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
1784 __waitpid.
1785 (__waitpid): Don't define as alias. Use libc_hidden_def not
1786 libc_hidden_weak.
1787 (waitpid): Define as alias of __waitpid.
1788
da53d6db
CD
17892014-11-06 Carlos O'Donell <carlos@redhat.com>
1790
a2887bdb
CD
1791 * manual/llio.texi: Add comment that write safety has been
1792 fixed in Linux.
1793
da53d6db
CD
1794 * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
1795 (localplt-build-dso): Add elf/ld.so.
1796 * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
1797 i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
1798 and free for ld.so.
1799 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
1800 __libc_memalign, malloc, calloc, realloc, and free for ld.so.
1801 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
1802 Likewise.
1803 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
1804 Likewise.
1805 * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
1806 * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
1807 version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
1808 * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
1809 * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
1810 * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
1811 * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
1812 * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
1813 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
1814 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
1815 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
1816
9cf27b8d
JM
18172014-11-05 Joseph Myers <joseph@codesourcery.com>
1818
1819 [BZ #14132]
1820 * include/libc-symbols.h (INTUSE): Remove macro.
1821 (INTDEF): Likewise.
1822 (INTVARDEF): Likewise.
1823 (_INTVARDEF): Likewise.
1824 (INTDEF2): Likewise.
1825 (INTVARDEF2): Likewise.
1826 * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
1827 rtld_hidden_def instead of INTVARDEF.
1828 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
1829 (_dl_starting_up_internal): Remove declaration.
1830 (_dl_starting_up): Use rtld_hidden_proto.
1831 * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
1832 declaration.
1833 [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
1834 (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
1835 _dl_starting_up.
1836 * elf/dl-writev.h (_dl_writev): Likewise.
1837 * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
1838 (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
1839 _dl_starting_up_internal.
1840
af83568d
AZ
18412014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1842
1843 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
1844 test-skeleton.c.
1845
b01ee67c
WN
18462014-11-05 Will Newton <will.newton@linaro.org>
1847
1848 * benchtests/Makefile: (bench-malloc): Add malloc thread
1849 scalability benchmark.
1850 * benchtests/bench-malloc-threads.c: New file.
1851
be9d4ccc
RE
18522014-11-05 Richard Earnshaw <rearnsha@arm.com>
1853
1854 * sysdeps/aarch64/strchrnul.S: New file.
1855
7110166d
AZ
18562014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1857
1858 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
1859 definition.
1860 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
1861 Likwise.
1862 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
1863 Likewise.
1864 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
1865 Likewise.
1866 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
1867 Likewise.
1868 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
1869 Likewise.
1870
18712014-11-05 Arjun Shankar <arjun.is@lostca.se>
29955b5d
AS
1872
1873 * catgets/test-gencat.c: Use test-skeleton.c.
1874 * catgets/tst-catgets.c: Likewise.
1875 * csu/tst-empty.c: Likewise.
1876 * elf/tst-audit2.c: Likewise.
1877 * elf/tst-global1.c: Likewise.
1878 * elf/tst-pathopt.c: Likewise.
1879 * elf/tst-piemod1.c: Likewise.
1880 * elf/tst-tls10.c: Likewise.
1881 * elf/tst-tls11.c: Likewise.
1882 * elf/tst-tls12.c: Likewise.
1883 * gnulib/tst-gcc.c: Likewise.
1884 * iconvdata/tst-e2big.c: Likewise.
1885 * iconvdata/tst-loading.c: Likewise.
1886 * iconv/tst-iconv1.c: Likewise.
1887 * iconv/tst-iconv2.c: Likewise.
1888 * inet/test-inet6_opt.c: Likewise.
1889 * inet/tst-gethnm.c: Likewise.
1890 * inet/tst-network.c: Likewise.
1891 * inet/tst-ntoa.c: Likewise.
1892 * intl/tst-codeset.c: Likewise.
1893 * intl/tst-gettext2.c: Likewise.
1894 * intl/tst-gettext3.c: Likewise.
1895 * intl/tst-ngettext.c: Likewise.
1896 * intl/tst-translit.c: Likewise.
1897 * io/test-stat.c: Likewise.
1898 * libio/test-fmemopen.c: Likewise.
1899 * libio/tst-freopen.c: Likewise.
1900 * libio/tst-sscanf.c: Likewise.
1901 * libio/tst-ungetwc1.c: Likewise.
1902 * libio/tst-ungetwc2.c: Likewise.
1903 * libio/tst-widetext.c: Likewise.
1904 * localedata/tst-ctype.c: Likewise.
1905 * localedata/tst-digits.c: Likewise.
1906 * localedata/tst-leaks.c: Likewise.
1907 * localedata/tst-mbswcs1.c: Likewise.
1908 * localedata/tst-mbswcs2.c: Likewise.
1909 * localedata/tst-mbswcs3.c: Likewise.
1910 * localedata/tst-mbswcs4.c: Likewise.
1911 * localedata/tst-mbswcs5.c: Likewise.
1912 * localedata/tst-setlocale.c: Likewise.
1913 * localedata/tst-trans.c: Likewise.
1914 * localedata/tst-wctype.c: Likewise.
1915 * localedata/tst-xlocale1.c: Likewise.
1916 * login/tst-grantpt.c: Likewise.
1917 * malloc/tst-calloc.c: Likewise.
1918 * malloc/tst-malloc.c: Likewise.
1919 * malloc/tst-mallocstate.c: Likewise.
1920 * malloc/tst-mcheck.c: Likewise.
1921 * malloc/tst-mtrace.c: Likewise.
1922 * malloc/tst-obstack.c: Likewise.
1923 * math/atest-exp2.c: Likewise.
1924 * math/atest-exp.c: Likewise.
1925 * math/atest-sincos.c: Likewise.
1926 * math/test-matherr.c: Likewise.
1927 * math/test-misc.c: Likewise.
1928 * math/test-powl.c: Likewise.
1929 * math/tst-definitions.c: Likewise.
1930 * misc/tst-dirname.c: Likewise.
1931 * misc/tst-efgcvt.c: Likewise.
1932 * misc/tst-fdset.c: Likewise.
1933 * misc/tst-hsearch.c: Likewise.
1934 * misc/tst-mntent2.c: Likewise.
1935 * nptl/tst-sem7.c: Likewise.
1936 * nptl/tst-sem8.c: Likewise.
1937 * nptl/tst-sem9.c: Likewise.
1938 * nss/test-netdb.c: Likewise.
1939 * posix/tst-fnmatch.c: Likewise.
1940 * posix/tst-getlogin.c: Likewise.
1941 * posix/tst-gnuglob.c: Likewise.
1942 * posix/tst-mmap.c: Likewise.
1943 * pwd/tst-getpw.c: Likewise.
1944 * resolv/tst-inet_ntop.c: Likewise.
1945 * rt/tst-timer.c: Likewise.
1946 * stdio-common/test-fseek.c: Likewise.
1947 * stdio-common/test-popen.c: Likewise.
1948 * stdio-common/test-vfprintf.c: Likewise.
1949 * stdio-common/tst-cookie.c: Likewise.
1950 * stdio-common/tst-fileno.c: Likewise.
1951 * stdio-common/tst-gets.c: Likewise.
1952 * stdio-common/tst-obprintf.c: Likewise.
1953 * stdio-common/tst-perror.c: Likewise.
1954 * stdio-common/tst-sprintf2.c: Likewise.
1955 * stdio-common/tst-sprintf3.c: Likewise.
1956 * stdio-common/tst-sprintf.c: Likewise.
1957 * stdio-common/tst-swprintf.c: Likewise.
1958 * stdio-common/tst-tmpnam.c: Likewise.
1959 * stdio-common/tst-unbputc.c: Likewise.
1960 * stdio-common/tst-wc-printf.c: Likewise.
1961 * stdlib/tst-environ.c: Likewise.
1962 * stdlib/tst-fmtmsg.c: Likewise.
1963 * stdlib/tst-limits.c: Likewise.
1964 * stdlib/tst-rand48-2.c: Likewise.
1965 * stdlib/tst-rand48.c: Likewise.
1966 * stdlib/tst-random2.c: Likewise.
1967 * stdlib/tst-random.c: Likewise.
1968 * stdlib/tst-strtol.c: Likewise.
1969 * stdlib/tst-strtoll.c: Likewise.
1970 * stdlib/tst-tls-atexit.c: Likewise.
1971 * stdlib/tst-xpg-basename.c: Likewise.
1972 * string/test-ffs.c: Likewise.
1973 * string/tst-bswap.c: Likewise.
1974 * string/tst-inlcall.c: Likewise.
1975 * string/tst-strtok.c: Likewise.
1976 * string/tst-strxfrm.c: Likewise.
1977 * sysdeps/x86_64/tst-audit10.c: Likewise.
1978 * sysdeps/x86_64/tst-audit3.c: Likewise.
1979 * sysdeps/x86_64/tst-audit4.c: Likewise.
1980 * sysdeps/x86_64/tst-audit5.c: Likewise.
1981 * time/tst-ftime_l.c: Likewise.
1982 * time/tst-getdate.c: Likewise.
1983 * time/tst-mktime3.c: Likewise.
1984 * time/tst-mktime.c: Likewise.
1985 * time/tst-posixtz.c: Likewise.
1986 * time/tst-strptime2.c: Likewise.
1987 * time/tst-strptime3.c: Likewise.
1988 * wcsmbs/tst-btowc.c: Likewise.
1989 * wcsmbs/tst-mbrtowc.c: Likewise.
1990 * wcsmbs/tst-mbsrtowcs.c: Likewise.
1991 * wcsmbs/tst-wchar-h.c: Likewise.
1992 * wcsmbs/tst-wcpncpy.c: Likewise.
1993 * wcsmbs/tst-wcrtomb.c: Likewise.
1994 * wcsmbs/tst-wcsnlen.c: Likewise.
1995 * wcsmbs/tst-wcstof.c: Likewise.
1996
2004e7fb
JM
19972014-11-04 Joseph Myers <joseph@codesourcery.com>
1998
ab97ee8f
JM
1999 [BZ #14132]
2000 * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
2001 INTDEF.
2002 * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
2003 declaration.
2004 (_dl_mcount): Use rtld_hidden_proto.
2005 * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
2006 _dl_mcount.
2007 * elf/rtld.c (_rtld_global_ro): Likewise.
2008
c5684fdb
JM
2009 [BZ #14132]
2010 * elf/dl-init.c (_dl_init): Don't use INTDEF.
2011 * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
2012 of _dl_init_internal.
2013 * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
2014 * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
2015 * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
2016 * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
2017 * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
2018 * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
2019 * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
2020 * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
2021 * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
2022 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
2023 * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
2024 * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
2025 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
2026 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
2027 * sysdeps/tile/dl-start.S (_start): Likewise.
2028 * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
2029 * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
2030
4243cbea
JM
2031 [BZ #14132]
2032 * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
2033 [IS_IN_rtld] (_dl_argv_internal): Do not declare.
2034 (rtld_progname): Make macro definition unconditional.
2035 * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
2036 INTDEF.
2037 (dlmopen_doit): Do not use INTUSE with _dl_argv.
2038 (dl_main): Likewise.
2039 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
2040 * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
2041 instead of _dl_argv_internal.
2042 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
2043 __GI__dl_argv instead of INTUSE(_dl_argv).
2044 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
2045 __GI__dl_argv instead of _dl_argv_internal.
2046
2004e7fb
JM
2047 * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
2048 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
2049 macro.
2050 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
2051 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
2052 New macro.
2053 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
2054 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
2055 macro.
2056 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
2057 * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
2058
97827bfc
AS
20592014-11-04 Andreas Schwab <schwab@suse.de>
2060
2061 * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
2062
5e4df284
AZ
20632014-11-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2064
2065 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
2066 mtvsrd instruction in binary form.
2067
04b76b5a
AS
20682014-11-03 Andreas Schwab <schwab@suse.de>
2069
2070 [BZ #17522]
2071 * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
2072 for less than MB_LEN_MAX use a local buffer of that size.
2073 * libio/tst-fputws.c: New file.
2074 * libio/Makefile (tests): Add tst-fputws.
2075
4c6da7da
JM
20762014-11-01 Jose E. Marchesi <jose.marchesi@oracle.com>
2077
2078 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
2079 the size of the fpu_fr.fpu_dregs[] array.
2080
1679ba8e
JM
20812014-11-01 Joseph Myers <joseph@codesourcery.com>
2082
2083 * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
2084 (__nanosleep): Do not define as alias.
2085 (nanosleep): Define as alias of __nanosleep.
2086 * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
2087 __libc_nanosleep name.
2088
2626c183
JM
20892014-10-31 Joseph Myers <joseph@codesourcery.com>
2090
2091 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
2092 install.texi in comment.
2093
7f981fc2
TR
20942014-10-31 Torvald Riegel <triegel@redhat.com>
2095
2096 * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
2097 * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
2098 ... add here and use lwsync or sync ...
2099 * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
2100 ... and add here using lwsync.
2101
d6f373d2
MF
21022014-10-31 Matthew Fortune <matthew.fortune@imgtec.com>
2103
2104 * elf/dl-machine-reject-phdr.h: New file.
2105 * elf/dl-load.c: #include that.
2106 (open_verify): Call elf_machine_reject_phdr_p and ignore the file
2107 if that returned true.
2108
67c37987
RM
21092014-10-31 Roland McGrath <roland@hack.frob.com>
2110
2111 [BZ #17496]
2112 * Makerules: Move gnu/lib-names.h generation chunk up, to right after
2113 gen-as-const-headers chunk. Add a big scare comment after the last
2114 safe place to touch before-compile.
2115
94a42455 21162014-10-31 Joseph Myers <joseph@codesourcery.com>
f62ff286 2117
f3f5d895
JM
2118 * manual/install.texi (Tools for Compilation): Update autoconf
2119 version requirements.
2120 * INSTALL: Regenerated.
2121
f62ff286
JM
2122 * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
2123 * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
2124 (__libc_pselect): Likewise.
94a42455
JM
2125
2126 [BZ #14138]
2127 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
2128 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
2129 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
2130 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
2131
ff9dbdc0
TR
21322014-10-31 Torvald Riegel <triegel@redhat.com>
2133
2134 * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
2135 correct barrier instruction.
2136 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
2137 Likewise.
2138 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
2139 Likewise.
2140
b4f66884
RM
21412014-10-30 Roland McGrath <roland@hack.frob.com>
2142
2143 * include/ctype.h: Include <ctype/ctype.h> first thing rather than
2144 after defining inlines. Instead, just use parens to defeat macro
2145 expansion of __isctype in its declaration.
2146
e19c95fd
JM
21472014-10-30 Joseph Myers <joseph@codesourcery.com>
2148
2149 * include/sys/uio.h (__libc_readv): Remove declaration.
2150 (__libc_writev): Likewise.
2151 * misc/readv.c (__libc_readv): Rename to __readv.
2152 (__readv): Do not define as alias.
2153 (readv): Define as alias of __readv.
2154 * misc/writev.c (__libc_writev): Rename to __writev.
2155 (__writev): Do not define as alias.
2156 (writev): Define as alias of __writev.
2157 * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
2158 (__readv): Do not define as alias.
2159 (readv): Define unconditionally as alias of __readv.
2160 * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
2161 (__writev): Do not define as alias.
2162 (writev): Define unconditionally as alias of __writev.
2163 * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
2164 name.
2165 (writev): Do not define __libc_writev name.
2166
65b00b6c
RM
21672014-10-30 Roland McGrath <roland@hack.frob.com>
2168
2169 * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
2170 (convert_charseq): New function, broken out of ...
2171 (use_from_charmap): ... here. Call it.
2172 (use_to_charmap): Use convert_charseq and free instead of duplicating
2173 its code with a variable-length stack struct.
2174
d4e157aa
JM
21752014-10-30 Joseph Myers <joseph@codesourcery.com>
2176
2177 * include/fcntl.h (__libc_creat): Remove declaration.
2178 * io/creat.c (__libc_creat): Rename to creat.
2179 (creat): Do not define as alias.
2180 * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
2181 of creat instead of __libc_creat.
2182 * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
2183 to creat.
2184 (creat): Do not define as alias.
2185 [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
2186 __libc_creat.
2187 * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
2188 __libc_creat name.
2189 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
2190 Likewise.
2191
0c6891a0
CD
21922014-10-29 Carlos O'Donell <carlos@redhat.com>
2193
2194 * manual/llio.texi: Add comments discussing why write() may be
2195 considered MT-unsafe on Linux.
2196
cc00cece
CD
21972014-10-28 Carlos O'Donell <carlos@redhat.com>
2198
2199 * dl-load.c (local_strdup): Remove.
2200 (expand_dynamic_string_token): Use __strdup.
2201 (decompose_rpath): Likewise.
2202 (_dl_map_object): Likewise.
2203
51e623f2
JM
22042014-10-28 Joseph Myers <joseph@codesourcery.com>
2205
2206 [BZ #14132]
2207 * sysdeps/generic/unwind-dw2-fde.c
2208 (__register_frame_info_bases_internal): Do not declare.
2209 (__register_frame_info_table_bases_internal): Likewise.
2210 (__deregister_frame_info_bases_internal): Likewise.
2211 (__register_frame_info_bases): Declare and use hidden_proto before
2212 definition. Use hidden_def instead of INTDEF.
2213 (__register_frame_info_table_bases): Likewise.
2214 (__deregister_frame_info_bases): Likewise.
2215 (__register_frame_info): Do not use INTUSE.
2216 (__register_frame): Likewise.
2217 (__register_frame_info_table): Likewise.
2218 (__register_frame_table): Likewise.
2219 (__deregister_frame_info): Likewise.
2220 (__deregister_frame): Likewise.
2221
03d41216
GC
22222014-10-27 Gratian Crisan <gratian.crisan@ni.com>
2223
2224 * sysdeps/unix/sysv/linux/arm/kernel-features.h
2225 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
2226 not undefine.
2227 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
2228 Likewise.
2229 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
2230 Likewise.
2231
a4b3624d
JM
22322014-10-27 Joseph Myers <joseph@codesourcery.com>
2233
2234 [BZ #14138]
2235 * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
2236 * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
2237 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
2238 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
2239 * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
2240 * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
2241 * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
2242 * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
2243 * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
2244 * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
2245 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
2246 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
2247 * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
2248 syscall.
2249 (setfsuid): Likewise.
2250 * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
2251 (setfsuid): Likewise.
2252 * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
2253 (setfsuid): Likewise.
2254 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
2255 Likewise.
2256 (setfsuid): Likewise.
2257 * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
2258 (setfsuid): Likewise.
2259 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
2260 Likewise.
2261 (setfsuid): Likewise.
2262
3574f2fd
AS
22632014-10-27 Andreas Schwab <schwab@suse.de>
2264
2265 [BZ #17501]
2266 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
2267 check for Slow_SSE4_2 feature bit.
2268 * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
2269 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
2270 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
2271 Likewise. Fix check for Fast_Unaligned_Load feature bit.
2272
70996a37
RM
22732014-10-24 Roland McGrath <roland@hack.frob.com>
2274
461a7b1e
RM
2275 * configure.ac: Validate compiler version with a empirical test of
2276 __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
2277 $CC -v output.
2278 * configure: Regenerated.
2279
70996a37
RM
2280 * inet/htons.c (htons): Prototypify.
2281 * inet/htonl.c (htonl): Likewise.
2282
e80514b5
WD
22832014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
2284
2285 * string/strncat.c (strncat): Improve performance by using strlen.
2286
6e46de42
WD
22872014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
2288
2289 * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
2290
6a9ad2fa
WD
22912014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
2292
2293 * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
2294 Call libc_fetestexcept_aarch64.
2295
1c8810ed
WD
22962014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
2297
2298 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
2299 Call libc_feholdexcept_aarch64.
2300
8b1af712
WD
23012014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
2302
2303 * sysdeps/aarch64/fpu/fegetround.c (fegetround):
2304 Call get_rounding_mode.
2305
a7b00c11
WD
23062014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
2307
2308 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
2309 Simplify logic.
2310
3a84f1a6
WD
23112014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
2312
2313 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
2314 Simplify logic.
2315
48eb7a94
JM
23162014-10-24 Joseph Myers <joseph@codesourcery.com>
2317
c8bc4038
JM
2318 [BZ #14138]
2319 * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
2320 * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
2321 * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
2322 * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
2323 * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
2324 * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
2325 * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
2326 * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
2327 * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
2328 * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
2329 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
2330 * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
2331 * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
2332 * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
2333 * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
2334 * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
2335 * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
2336 * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
2337 * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
2338 * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
2339 * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
2340 * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
2341 * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
2342 * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
2343 * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
2344 * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
2345 * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
2346 * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
2347 * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
2348 * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
2349 * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
2350 * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
2351 * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
2352 * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
2353 * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
2354 * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
2355 * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
2356 * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
2357 * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
2358 * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
2359 * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
2360 syscall.
2361 (geteuid): Likewise.
2362 (getgid): Likewise.
2363 (getuid): Likewise.
2364 (getresgid): Likewise.
2365 (getresuid): Likewise.
2366 (getgroups): Likewise.
2367 * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
2368 (geteuid): Likewise.
2369 (getgid): Likewise.
2370 (getuid): Likewise.
2371 (getresgid): Likewise.
2372 (getresuid): Likewise.
2373 (getgroups): Likewise.
2374 * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
2375 (geteuid): Likewise.
2376 (getgid): Likewise.
2377 (getuid): Likewise.
2378 (getresgid): Likewise.
2379 (getresuid): Likewise.
2380 (getgroups): Likewise.
2381 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
2382 Likewise.
2383 (geteuid): Likewise.
2384 (getgid): Likewise.
2385 (getuid): Likewise.
2386 (getresgid): Likewise.
2387 (getresuid): Likewise.
2388 (getgroups): Likewise.
2389 * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
2390 (geteuid): Likewise.
2391 (getgid): Likewise.
2392 (getuid): Likewise.
2393 (getresgid): Likewise.
2394 (getresuid): Likewise.
2395 (getgroups): Likewise.
2396 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
2397 Likewise.
2398 (geteuid): Likewise.
2399 (getgid): Likewise.
2400 (getuid): Likewise.
2401 (getgroups): Likewise.
2402
48eb7a94
JM
2403 [BZ #14138]
2404 * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
2405 * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
2406 * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
2407 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
2408 * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
2409 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
2410 * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
2411 * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
2412 * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
2413 * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
2414 * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
2415 * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
2416 * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
2417 __chown.
2418 * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
2419 (lchown): Likewise.
2420 (fchown): Likewise.
2421 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
2422 Likewise.
2423 (lchown): Likewise.
2424 (fchown): Likewise.
2425 * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
2426 (lchown): Likewise.
2427 (fchown): Likewise.
2428 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
2429 Likewise.
2430 (lchown): Likewise.
2431 (fchown): Likewise.
2432
ea9a7c8b
WD
24332014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
2434
2435 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
2436 Simplify logic.
2437
e226de33
WD
24382014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
2439
2440 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
2441 Cleanup logic.
2442
6e3d8ed3
WD
24432014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
2444
2445 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
2446 Remove unused include.
2447
eb04247d
WD
24482014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
2449
2450 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
2451 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
2452 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
2453 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
2454
13d84554
CD
24552014-10-23 Carlos O'Donell <carlos@systemhalted.org>
2456 Helge Deller <deller@gmx.de>
2457
2458 [BZ #17508]
2459 * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
2460 Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
2461 Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
2462
15f9c5df
JM
24632014-10-23 Joseph Myers <joseph@codesourcery.com>
2464
2465 [BZ #14132]
2466 * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
2467 Remove macro definition.
2468 (__ashrdi3_v_glibc20): Likewise.
2469 (__lshrdi3_v_glibc20): Likewise.
2470 (__cmpdi2_v_glibc20): Likewise.
2471 (__ucmpdi2_v_glibc20): Likewise.
2472 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
2473 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
2474 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
2475 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
2476 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
2477 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
2478
c6dfed24
RM
24792014-10-22 Roland McGrath <roland@hack.frob.com>
2480
2481 * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
2482 old GNU extension [0] syntax.
2483 * nscd/nscd_helper.c (open_socket): Use a flexible array member and
2484 alloca rather than an array member with variable length.
2485 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
2486 * nscd/nscd.c (invalidate_db): New function, broken out of ...
2487 (parse_opt): ... here. Likewise use alloca there.
2488 Validate the -i argument before checking for rootness.
2489 (send_shutdown): New function, broken out of ...
2490 (parse_opt): ... here.
2491
8c2b1ed8
RM
24922014-10-22 Roland McGrath <roland@hack.frob.com>
2493
2494 * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
2495 macro to get at the _rt_local_ro field.
2496 [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
2497 ([PIC] case) or _dl_hwcap ([!PIC] case).
2498 * sysdeps/arm/setjmp.S: Likewise.
2499
2500 * config.h.in (ARM_PCREL_MOVW_OK): New macro.
2501 * sysdeps/arm/configure.ac: New check to define it.
2502 * sysdeps/arm/configure: Regenerated.
2503 * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
2504 (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
2505 (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
2506 depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
2507 (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
2508 Use move/movt pair instead of a load.
2509 (LDST_GLOBAL): Macro removed.
2510 (LDR_GLOBAL): New macro replaces it.
2511 (LDR_HIDDEN): New macro.
2512 (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
2513 Use LDR_HIDDEN instead for __pointer_chk_guard_local.
2514
2515 * setjmp/tst-setjmp-static.c: New file.
2516 * setjmp/Makefile (tests): Add it.
2517 (tests-static): New variable.
2518
b5af9297
MR
25192014-10-22 Maciej W. Rozycki <macro@codesourcery.com>
2520
2521 [BZ #17485]
2522 * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
2523
a13d0d74
JM
25242014-10-21 Joseph Myers <joseph@codesourcery.com>
2525
2526 [BZ #14132]
2527 * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
2528
f05e73f6
RM
25292014-10-21 Roland McGrath <roland@hack.frob.com>
2530
2531 * nptl/version.c (__nptl_main): Call __libc_write, not __write.
2532
6ab1d1ea
RM
25332014-10-20 Roland McGrath <roland@hack.frob.com>
2534
2535 * io/fts.c (dirent_not_directory): New function.
2536 (fts_build): Call it.
2537
ab49e763
RM
25382014-10-20 Roland McGrath <roland@hack.frob.com>
2539
e436eb79
RM
2540 * nptl/version.c (__nptl_main): Use normal __write rather than
2541 INTERNAL_SYSCALL.
2542 (banner): Update copyright years.
2543
6af246cf
RM
2544 * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
2545 gettimeofday.
2546 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
2547 * nptl/pthread_cond_timedwait.c: Likewise.
2548 * nptl/pthread_mutex_timedlock.c: Likewise.
2549 * nptl/sem_timedwait.c: Likewise.
2550
ab49e763
RM
2551 * sysdeps/nptl/bits/libc-lock.h
2552 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
2553 (__libc_lock_init_recursive): Return void, not 0.
2554 * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
2555 (__libc_rwlock_init): Likewise.
2556 * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
2557
f50277c1
TR
25582014-10-20 Torvald Riegel <triegel@redhat.com>
2559
2560 [BZ #15215]
2561 * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
2562 (__pthread_once_slow): ... here.
2563 * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
2564 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
2565
63668b70
TR
25662014-10-20 Torvald Riegel <triegel@redhat.com>
2567
2568 [BZ #15215]
2569 * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
2570 __PTHREAD_ONCE_FORK_GEN_INCR): New.
2571 * sysdeps/nptl/fork.c (__libc_fork): Use them.
2572 * nptl/pthread_once.c (__pthread_once): Likewise.
2573 Update comments.
2574
42b7f5d4
JM
25752014-10-20 Joseph Myers <joseph@codesourcery.com>
2576
2577 [BZ #14138]
2578 * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
2579 name.
2580 (writev): Use __libc_writev as strong name.
2581 * sysdeps/unix/sysv/linux/readv.c: Remove file.
2582 * sysdeps/unix/sysv/linux/writev.c: Likewise.
2583
b0643088
RM
25842014-10-17 Roland McGrath <roland@hack.frob.com>
2585
114c4e09
RM
2586 * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
2587
674b8978
RM
2588 * sysdeps/i386/nptl/tls.h
2589 (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
2590 [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
2591 New macros.
2592 * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
2593 (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
2594 * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
2595 Call SETUP_THREAD_SYSINFO instead of doing an assignment.
2596 * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
2597 Call CHECK_THREAD_SYSINFO instead of doing an assert.
2598
184ee940
RM
2599 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
2600 Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
2601 on [__NR_futex].
2602 * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
2603 broken out of ...
2604 (__pthread_mutex_init): ... here. Call it.
2605 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
2606 Conditionalize PI cases on [__NR_futex].
2607 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
2608 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
2609 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
2610
327ae257
RM
2611 * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
2612 conditional on [SIGSETXID].
2613 (sigcancel_handler): Make definition conditional on [SIGCANCEL].
2614 (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
2615 is defined. Likewise for SIGSETXID.
2616 * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
2617 Conditionalize definitions on [SIGSETXID].
2618 (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
2619 * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
2620 unblocking on [SIGCANCEL].
2621
b0643088
RM
2622 * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
2623 [__NR_set_robust_list].
2624
33cc770b
SP
26252014-10-17 Siddhesh Poyarekar <siddhesh@redhat.com>
2626
2627 * string/strcoll_l.c (get_next_seq): Fix up formatting.
2628 (do_compare): Likewise.
2629
0742aef6
LH
26302014-10-17 Leonhard Holz <leonhard.holz@web.de>
2631
2632 [BZ #15884]
2633 * string/strcoll_l.c: Don't include stdio.h.
2634 (coll_seq): Remove members idxarr and rulearr.
2635 (get_next_seq_cached): Remove function.
2636 (get_next_seq): Likewise.
2637 (get_next_seq_nocache): Rename to get_next_seq.
2638 (do_compare): Remove function.
2639 (do_compare_nocache): Rename to do_compare.
2640 (STRCOLL): Remove weight and rules cache.
2641
ee54ce44
RM
26422014-10-16 Roland McGrath <roland@hack.frob.com>
2643
2644 * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
2645 * sysdeps/arm/sfp-machine.h: ... to here.
2646 * sysdeps/arm/Implies: Remove arm/soft-fp.
2647
a75d3b02
JM
26482014-10-14 Joseph Myers <joseph@codesourcery.com>
2649
2650 * conform/data/sys/utsname.h-data (*_t): Allow.
2651 * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
2652 [POSIX] (WEXITED): Do not expect constant.
2653 [POSIX] (WSTOPPED): Likewise.
2654 [POSIX] (WNOHANG): Likewise.
2655 [POSIX] (WNOWAIT): Likewise.
2656 [POSIX] (siginfo_t): Do not expect type or elements.
2657 [POSIX] (pid_t): Do not expect type.
2658 [POSIX] (signal.h): Do not allow header.
2659 [POSIX] (sys/resource.h): Likewise.
2660 [POSIX] (si_*): Do not allow pattern.
2661 [POSIX] (W*): Likewise.
2662 [POSIX] (P_*): Likewise.
2663 [POSIX] (BUS_*): Likewise.
2664 [POSIX] (CLD_*): Likewise.
2665 [POSIX] (FPE_*): Likewise.
2666 [POSIX] (ILL_*): Likewise.
2667 [POSIX] (POLL_*): Likewise.
2668 [POSIX] (SEGV_*): Likewise.
2669 [POSIX] (SI_*): Likewise.
2670 [POSIX] (TRAP_*): Likewise.
2671 * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
2672 variable.
2673
fda389c8
SP
26742014-10-14 Paul Pluzhnikov <ppluzhnikov@google.com>
2675
2676 [BZ #12926]
2677 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
2678 infinite loop when __recvmsg returns 0.
2679
6bc6bd3b
JM
26802014-10-10 Joseph Myers <joseph@codesourcery.com>
2681
fcb32af1
JM
2682 * CANCEL-FCT-WAIVE: Remove file.
2683 * CANCEL-FILE-WAIVE: Likewise.
2684
6bc6bd3b
JM
2685 [BZ #14132]
2686 * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
2687 instead of INTVARDEF.
2688 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
2689 * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
2690 rtld_hidden_data_def instead of INTVARDEF.
2691 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
2692 * elf/dl-deps.c (expand_dst): Likewise.
2693 * elf/dl-load.c (_dl_dst_count): Likewise.
2694 (_dl_dst_substitute): Likewise.
2695 (decompose_rpath): Likewise.
2696 (_dl_init_paths): Likewise.
2697 (open_path): Likewise.
2698 (_dl_map_object): Likewise.
2699 * elf/rtld.c (dl_main): Likewise.
2700 (process_dl_audit): Likewise.
2701 (process_envvars): Likewise.
2702 * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
2703 Remove declaration.
2704 (__libc_enable_secure): Use rtld_hidden_proto.
2705
b8c80a7e
KS
27062014-10-09 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
2707
2708 * elf/dl-load.c
2709 (add_path): New function broken out of _dl_rtld_di_serinfo.
2710 (_dl_rtld_di_serinfo): Remove that nested function. Update call sites.
2711
ff12c11f
JM
27122014-10-09 Joseph Myers <joseph@codesourcery.com>
2713
5c0508a3
JM
2714 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
2715 parentheses around macro arguments.
2716 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
2717 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
2718 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
2719 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
2720 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
2721 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
2722 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
2723 [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
2724 [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
2725 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
2726 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
2727 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
2728 [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
2729 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
2730 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
2731 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
2732 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
2733 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
2734 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
2735 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
2736 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
2737 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
2738 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
2739 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
2740 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
2741 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
2742 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
2743 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
2744 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
2745 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
2746 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
2747 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
2748 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
2749 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
2750 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
2751 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
2752 Likewise.
2753 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
2754 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
2755 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
2756 [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
2757 [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
2758 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
2759 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
2760 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
2761 [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
2762 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
2763 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
2764 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
2765 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
2766 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
2767 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
2768 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
2769 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
2770 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
2771 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
2772 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
2773 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
2774 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
2775 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
2776 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
2777 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
2778 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
2779 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
2780 * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
2781 (_FP_FRAC_SRS_1): Likewise.
2782 (_FP_FRAC_CLZ_1): Likewise.
2783 (_FP_MUL_MEAT_1_imm): Likewise.
2784 (_FP_MUL_MEAT_1_wide): Likewise.
2785 (_FP_MUL_MEAT_1_hard): Likewise.
2786 (_FP_SQRT_MEAT_1): Likewise.
2787 (_FP_FRAC_ASSEMBLE_1): Likewise.
2788 (_FP_FRAC_DISASSEMBLE_1): Likewise.
2789 * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
2790 (__FP_CLZ_2): Likewise.
2791 (_FP_MUL_MEAT_2_wide): Likewise.
2792 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
2793 (_FP_MUL_MEAT_2_gmp): Likewise.
2794 (_FP_MUL_MEAT_2_120_240_double): Likewise.
2795 (_FP_SQRT_MEAT_2): Likewise.
2796 (_FP_FRAC_ASSEMBLE_2): Likewise.
2797 (_FP_FRAC_DISASSEMBLE_2): Likewise.
2798 * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
2799 (_FP_FRAC_CLZ_4): Likewise.
2800 (_FP_MUL_MEAT_4_wide): Likewise.
2801 (_FP_MUL_MEAT_4_gmp): Likewise.
2802 (_FP_SQRT_MEAT_4): Likewise.
2803 (_FP_FRAC_ASSEMBLE_4): Likewise.
2804 (_FP_FRAC_DISASSEMBLE_4): Likewise.
2805 * soft-fp/op-common.h (_FP_CMP): Likewise.
2806 (_FP_CMP_EQ): Likewise.
2807 (_FP_CMP_UNORD): Likewise.
2808 (_FP_TO_INT): Likewise.
2809 (_FP_FROM_INT): Likewise.
2810 [!__FP_CLZ] (__FP_CLZ): Likewise.
2811 (_FP_DIV_HELP_imm): Likewise.
2812 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
2813 Likewise.
2814 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
2815 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
2816 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
2817 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
2818 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
2819 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
2820 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
2821 [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
2822 [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
2823 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
2824 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
2825 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
2826 [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
2827 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
2828 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
2829 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
2830 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
2831 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
2832 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
2833 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
2834 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
2835 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
2836 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
2837 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
2838 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
2839 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
2840 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
2841 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
2842 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
2843 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
2844 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
2845 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
2846 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
2847 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
2848 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
2849 * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
2850 (FP_UNPACK_RAW_SP): Likewise.
2851 (FP_PACK_RAW_S): Likewise.
2852 (FP_PACK_RAW_SP): Likewise.
2853 (FP_UNPACK_S): Likewise.
2854 (FP_UNPACK_SP): Likewise.
2855 (FP_UNPACK_SEMIRAW_S): Likewise.
2856 (FP_UNPACK_SEMIRAW_SP): Likewise.
2857 (FP_PACK_S): Likewise.
2858 (FP_PACK_SP): Likewise.
2859 (FP_PACK_SEMIRAW_S): Likewise.
2860 (FP_PACK_SEMIRAW_SP): Likewise.
2861 (_FP_SQRT_MEAT_S): Likewise.
2862 (FP_CMP_S): Likewise.
2863 (FP_CMP_EQ_S): Likewise.
2864 (FP_CMP_UNORD_S): Likewise.
2865 (FP_TO_INT_S): Likewise.
2866 (FP_FROM_INT_S): Likewise.
2867
a736ec37
JM
2868 * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
2869
ff12c11f
JM
2870 * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
2871 (FP_EX_INVALID_IMZ): Likewise.
2872 (FP_EX_INVALID_IMZ_FMA): Likewise.
2873 (FP_EX_INVALID_ISI): Likewise.
2874 (FP_EX_INVALID_ZDZ): Likewise.
2875 (FP_EX_INVALID_IDI): Likewise.
2876 (FP_EX_INVALID_SQRT): Likewise.
2877 (FP_EX_INVALID_CVI): Likewise.
2878 (FP_EX_INVALID_VC): Likewise.
2879 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
2880 "invalid" exceptions.
2881 (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
2882 (_FP_ADD_INTERNAL): Likewise.
2883 (_FP_MUL): Likewise.
2884 (_FP_FMA): Likewise.
2885 (_FP_DIV): Likewise.
2886 (_FP_CMP_CHECK_NAN): Likewise.
2887 (_FP_SQRT): Likewise.
2888 (_FP_TO_INT): Likewise.
2889 (FP_EXTEND): Likewise.
2890
b6dcfe8c
AM
28912014-10-09 Allan McRae <allan@archlinux.org>
2892
2893 * po/fr.po: Update French translation from translation project.
2894
2d6a47ba
JM
28952014-10-09 Joseph Myers <joseph@codesourcery.com>
2896
cb831245
JM
2897 [BZ #14132]
2898 * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
2899 of INTDEF.
2900 * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
2901 (__cxa_atexit): Use libc_hidden_proto.
2902 [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
2903
5deeb190
JM
2904 [BZ #14132]
2905 * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
2906 declaration.
2907 [!_ISOMAC] (__iswdigit_l_internal): Likewise.
2908 [!_ISOMAC] (__iswspace_l_internal): Likewise.
2909 [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
2910 [!_ISOMAC] (__iswctype_internal): Likewise.
2911 * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
2912 * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
2913 alias.
2914 (fcntl): Remove __fcntl_internal alias.
2915 * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
2916 __connect_internal alias.
2917 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
2918 Likewise.
2919
454ac701
JM
2920 * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
2921 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
2922 FP_DENORM_ZERO.
2923 (_FP_CHECK_FLUSH_ZERO): New macro.
2924 (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
2925 (_FP_CMP): Likewise.
2926 (_FP_CMP_EQ): Likewise.
2927 (_FP_TO_INT): Do not set inexact for subnormal arguments if
2928 FP_DENORM_ZERO.
2929 (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
2930 (FP_TRUNC): Likewise.
2931
0022e688
JM
2932 * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
2933 treated as invalid conversion, not as normal exponent.
2934
73e28d9c
JM
2935 * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
2936 (_FP_CMP): Add extra argument EX. Call _FP_CMP_CHECK_NAN.
2937 (_FP_CMP_EQ): Likewise.
2938 (_FP_CMP_UNORD): Likewise.
2939 * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
2940 (FP_CMP_EQ_D): Likewise.
2941 (FP_CMP_UNORD_D): Likewise.
2942 * soft-fp/extended.h (FP_CMP_E): Likewise.
2943 (FP_CMP_EQ_E): Likewise.
2944 (FP_CMP_UNORD_E): Likewise.
2945 * soft-fp/quad.h (FP_CMP_Q): Likewise.
2946 (FP_CMP_EQ_Q): Likewise.
2947 (FP_CMP_UNORD_Q): Likewise.
2948 * soft-fp/single.h (FP_CMP_S): Likewise.
2949 (FP_CMP_EQ_S): Likewise.
2950 (FP_CMP_UNORD_S): Likewise.
2951 * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
2952 * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
2953 * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
2954 * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
2955 * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
2956 * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
2957 * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
2958 * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
2959 * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
2960 * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
2961 * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
2962 * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
2963 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
2964 to FP_CMP_Q.
2965 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
2966 FP_CMP_Q.
2967 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
2968 * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
2969 FP_CMP_EQ_Q.
2970 * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
2971 FP_CMP_Q.
2972 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
2973 * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
2974 * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
2975 * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
2976 FP_CMP_EQ_Q.
2977 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
2978 FP_CMP_Q.
2979 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
2980 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
2981 FP_CMP_EQ_Q.
2982 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
2983 FP_CMP_Q.
2984 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
2985 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
2986 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
2987 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
2988 FP_CMP_EQ_Q.
2989
43059f42
JM
2990 * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
2991 a subnormal result, set the underflow exception if trapping on
2992 underflow is enabled.
2993 * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
2994 (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
2995 [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
2996 redefine to 0.
2997 * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
2998 * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
2999 * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
3000 * soft-fp/extendxftf2.c (__extendxftf2): Use
3001 FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
3002
2d6a47ba
JM
3003 * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
3004 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
3005 (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
3006 FP_HANDLE_EXCEPTIONS.
3007 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
3008 (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
3009 FP_HANDLE_EXCEPTIONS.
3010 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
3011 (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
3012 FP_HANDLE_EXCEPTIONS.
3013 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
3014 (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
3015 FP_HANDLE_EXCEPTIONS.
3016
620f462e
JM
30172014-10-08 Joseph Myers <joseph@codesourcery.com>
3018
3019 [BZ #14132]
3020 * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
3021 * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
3022 use INTUSE.
3023 [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
3024 * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
3025 Remove alias.
3026 (__adjtimex): Define using libc_hidden_ver.
3027 * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
3028 Remove declaration.
3029 (ntp_gettime): Call __adjtimex directly.
3030 * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
3031 Remove declaration.
3032 (ntp_gettimex): Call __adjtimex directly.
3033 * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
3034 __adjtimex_internal alias.
3035
c763c5d2
RM
30362014-10-08 Roland McGrath <roland@hack.frob.com>
3037
3038 [BZ #17460]
3039 * nscd/nscd.c (more_help): Rewrite list of tables collection
3040 using xstrdup and asprintf.
3041
3042 * nscd/nscd_conf.c: Remove local xstrdup declaration.
3043
7b8fb2b8
RM
30442014-10-08 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
3045 Roland McGrath <roland@hack.frob.com>
3046
3047 * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
3048 (do_lookup_unique): ... local function 'enter' here; update callers.
3049
abb280f7
JM
30502014-10-06 Joseph Myers <joseph@codesourcery.com>
3051
f7b42517
JM
3052 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
3053 compat_symbol calls on [SHARED].
3054 * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
3055 * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
3056 Remove.
3057 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
3058 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
3059 (oldsetrlimit): Remove.
3060 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
3061 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
3062 (lchown): New syscall entry.
3063 (oldsetrlimit): Remove.
3064 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
3065 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
3066 (oldsetrlimit): Remove.
3067 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
3068
abb280f7
JM
3069 [BZ #14138]
3070 * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
3071 * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
3072 * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
3073 * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
3074 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
3075 * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
3076 (fchown): Likewise.
3077 * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
3078 (fchown): Likewise.
3079 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
3080 Likewise.
3081
47d46237
AZ
30822014-10-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3083
3084 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
3085 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
3086 (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
3087 __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
3088 * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
3089 Likewise.
3090 (__old_sem_post): Likewise.
3091
30922014-10-06 Chris Metcalf <cmetcalf@tilera.com>
1c4c1a6f 3093
845a7343
CM
3094 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
3095 INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
3096 HAVE_CLOCK_GETTIME_VSYSCALL macros.
3097 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
3098 Use INLINE_VSYSCALL macro.
3099 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
3100 __vdso_clock_gettime.
3101 * sysdeps/unix/sysv/linux/tile/init-first.c
3102 (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
3103 * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
3104 __vdso_clock_gettime.
3105
83d641ef
CM
3106 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
3107 to set up frame more cleanly.
3108
d9cd52e6
CM
3109 * sysdeps/tile/memcmp.c: New file.
3110
4b68ea11
CM
3111 * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
3112
c86f7b80
CM
3113 * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
3114 * sysdeps/tile/tilegx/strcasestr.c: New file.
3115 * sysdeps/tile/tilegx/strnlen.c: New file.
3116 * sysdeps/tile/tilegx/strstr.c: New file.
3117
1c4c1a6f
CM
3118 * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
3119
99d86ea3
AS
31202014-10-06 Arjun Shankar <arjun.is@lostca.se>
3121
3122 * nptl/tst-setuid3.c: Write errors to stdout.
3123
06210a44
KS
31242014-10-01 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
3125
3126 * elf/dl-deps.c
3127 (preload): New functions broken out of _dl_map_object_deps.
3128 (_dl_map_object_deps): Remove a nested function. Update call sites.
3129
6268f532
JM
31302014-10-01 Joseph Myers <joseph@codesourcery.com>
3131
3132 [BZ #14138]
3133 * sysdeps/unix/sysv/linux/execve.c: Remove file.
3134 * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
3135
b925285f
SE
31362014-10-01 Steve Ellcey <sellcey@mips.com>
3137
3138 * sysdeps/mips/strcmp.S: New.
3139
754a15c6
JM
31402014-09-30 Joseph Myers <joseph@codesourcery.com>
3141
3142 [BZ #14138]
3143 * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
3144 (linkat): Likewise.
3145 (mkdirat): Likewise.
3146 (readlinkat): Likewise.
3147 (renameat): Likewise.
3148 (symlinkat): Likewise.
3149 (unlinkat): Likewise.
3150 * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
3151 * sysdeps/unix/sysv/linux/linkat.c: Likewise.
3152 * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
3153 * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
3154 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
3155 * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
3156 * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
3157
85bb81c9
WN
31582014-09-30 Will Newton <will.newton@linaro.org>
3159
dc6fe23b
WN
3160 * math/math.h: Define long double math functions if
3161 _LIBC_TEST is defined.
3162 * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
3163
85bb81c9
WN
3164 * localedata/Makefile: Move assignment to tests-special
3165 into an ifdef testing run-built-tests.
3166 * timezone/Makefile: Likewise.
3167
b7e02da4
JM
31682014-09-29 Joseph Myers <joseph@codesourcery.com>
3169
3170 * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
3171 with $(BASH) not $(SHELL).
3172
62058ce6
CD
31732014-09-29 Carlos O'Donell <carlos@redhat.com>
3174 Matthew LeGendre <legendre1@llnl.gov>
3175
3176 [BZ #17411]
3177 * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
3178 l_reloc_result.
3179
8e257a29
KS
31802014-09-29 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
3181
3182 * stdio-common/printf_fp.c
3183 (hack_digit): New function, broken out of ...
3184 (__printf_fp): ... local function here. Update call sites.
3185 hack_digit now takes an additional parameter that is a pointer
3186 to a struct of the referenced locals. Those locals moved inside
3187 the struct and references updated.
3188
f4a58f0d
L
31892014-09-29 H.J. Lu <hongjiu.lu@intel.com>
3190
3191 * aclocal.m4: Require autoconf 2.69.
3192 * configure: Regenerated.
3193 * sysdeps/aarch64/configure: Likewise.
3194 * sysdeps/alpha/configure: Likewise.
3195 * sysdeps/arm/armv7/configure: Likewise.
3196 * sysdeps/arm/configure: Likewise.
3197 * sysdeps/ia64/configure: Likewise.
3198 * sysdeps/mach/configure: Likewise.
3199 * sysdeps/mips/configure: Likewise.
3200 * sysdeps/s390/configure: Likewise.
3201 * sysdeps/unix/sysv/linux/mips/configure: Likewise.
3202 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
3203
3204 * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
3205 file.
3206 * sysdeps/ia64/configure.ac: Likewise.
3207
93ae1eba
JM
32082014-09-26 Joseph Myers <joseph@codesourcery.com>
3209
1810d3ab
JM
3210 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
3211 specify symbol version for ld.so. Do not include entry for
3212 libpthread.
3213 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
3214 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
3215 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
3216
93ae1eba
JM
3217 [BZ #14171]
3218 * Makeconfig [$(build-shared) = yes]
3219 ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
3220 makefiles.
3221 [$(build-shared) = yes && $(soversions.mk-done) = t]
3222 ($(common-objpfx)gnu/lib-names.h): Remove rule.
3223 [$(build-shared) = yes && $(soversions.mk-done) = t]
3224 ($(common-objpfx)gnu/lib-names.stmp): Likewise. Split and moved
3225 to Makerules.
3226 [$(build-shared) = yes && $(soversions.mk-done) = t]
3227 (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
3228 here.
3229 [$(build-shared) = yes && $(soversions.mk-done) = t]
3230 (common-generated): Don't append gnu/lib-names.h and
3231 gnu/lib-names.stmp here.
3232 * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
3233 (lib-names-h-abi): New variable.
3234 [$(build-shared) = yes && $(soversions.mk-done) = t]
3235 (lib-names-stmp-abi): Likewise.
3236 [$(build-shared) = yes && $(soversions.mk-done) = t &&
3237 abi-variants] (before-compile): Append
3238 $(common-objpfx)$(lib-names-h-abi).
3239 [$(build-shared) = yes && $(soversions.mk-done) = t &&
3240 abi-variants] (common-generated): Append gnu/lib-names.h.
3241 [$(build-shared) = yes && $(soversions.mk-done) = t &&
3242 abi-variants] (install-others-nosubdir): Depend on
3243 $(inst_includedir)/$(lib-names-h-abi).
3244 [$(build-shared) = yes && $(soversions.mk-done) = t &&
3245 abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
3246 [$(build-shared) = yes && $(soversions.mk-done) = t]
3247 ($(common-objpfx)$(lib-names-h-abi)): New rule.
3248 [$(build-shared) = yes && $(soversions.mk-done) = t]
3249 ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
3250 [$(build-shared) = yes && $(soversions.mk-done) = t]
3251 (common-generated): Append $(lib-names-h-abi) and
3252 $(lib-names-stmp-abi).
3253 * scripts/lib-names.awk: Do not handle multi being set.
3254 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
3255 Remove variable.
3256 (abi-lp64_be-ld-soname): Likewise.
3257 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
3258 Likewise.
3259 (abi-hard-ld-soname): Likewise.
3260 * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
3261 * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
3262 Remove variable.
3263 (abi-o32_hard-ld-soname): Likewise.
3264 (abi-o32_soft_2008-ld-soname): Likewise.
3265 (abi-o32_hard_2008-ld-soname): Likewise.
3266 (abi-n32_soft-ld-soname): Likewise.
3267 (abi-n32_hard-ld-soname): Likewise.
3268 (abi-n32_soft_2008-ld-soname): Likewise.
3269 (abi-n32_hard_2008-ld-soname): Likewise.
3270 (abi-n64_soft-ld-soname): Likewise.
3271 (abi-n64_hard-ld-soname): Likewise.
3272 (abi-n64_soft_2008-ld-soname): Likewise.
3273 (abi-n64_hard_2008-ld-soname): Likewise.
3274 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
3275 Likewise.
3276 (abi-64-v2-ld-soname): Likewise.
3277 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
3278 ld.so entries.
3279 * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
3280 variable.
3281 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
3282 entry.
3283 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
3284 variable.
3285 (abi-64-ld-soname): Likewise.
3286 (abi-x32-ld-soname): Likewise.
3287 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
3288 entry.
3289 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
3290
68870f12
JM
32912014-09-23 Joseph Myers <joseph@codesourcery.com>
3292
3293 [BZ #14138]
3294 * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
3295 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
3296 * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
3297 * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
3298 * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
3299 * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
3300 * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
3301 syscall entry for GLIBC_2.2 symbol version.
3302 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
3303 Likewise.
3304 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
3305 (setrlimit): Likewise.
3306 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
3307 Likewise.
3308
ea58f202
WN
33092014-09-23 Will Newton <will.newton@linaro.org>
3310
3311 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
3312 _LINUX_ARM_SYSDEP_H include guard too.
3313 * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
3314 define.
3315
69eb9a18
RV
33162014-09-20 Rasmus Villemoes <rv@rasmusvillemoes.dk>
3317
3318 * sysdeps/unix/sysv/linux/eventfd.c:
3319 Make first argument unsigned.
3320 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
3321 * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
3322
20e5a5f7
OB
33232014-09-20 Ondřej Bílka <neleai@seznam.cz>
3324
3325 * socket/recvmmsg.c (recvmmsg): Drop const argument.
3326 * socket/sys/socket.h: Likewise
3327 * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
3328
d3c827e7
AK
33292014-09-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3330
3331 * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
3332
fe1cc35a
AS
33332014-09-17 Arjun Shankar <arjun.is@lostca.se>
3334
3335 * time/tst-ftime.c: New test.
3336 * time/Makefile (tests): Add tst-ftime.
3337
4e8afe69
JM
33382014-09-17 Joseph Myers <joseph@codesourcery.com>
3339
c4fe3ea7
JM
3340 * soft-fp/extended.h: Fix comment formatting.
3341 * soft-fp/op-1.h: Likewise.
3342 * soft-fp/op-2.h: Likewise.
3343 * soft-fp/op-4.h: Likewise.
3344 * soft-fp/op-8.h: Likewise.
3345 * soft-fp/op-common.h: Likewise.
3346 * soft-fp/soft-fp.h: Likewise.
3347
4e8afe69
JM
3348 * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
3349
af296fcd
JM
33502014-09-16 Joseph Myers <joseph@codesourcery.com>
3351
3352 [BZ #6652]
3353 * Makeconfig (soversions-default-setname): Remove variable.
3354 ($(common-objpfx)soversions.i): Don't pass default_setname to
3355 soversions.awk.
3356 * Makerules ($(common-objpfx)abi-versions.h): Don't pass
3357 oldest_abi to abi-versions.awk.
3358 * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
3359 * config.make.in (oldest-abi): Remove variable.
3360 * configure.ac (--enable-oldest-abi): Remove configure option.
3361 * configure: Regenerated.
3362 * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
3363 text.
3364 * scripts/abi-versions.awk: Do not handle oldest_abi variable.
3365 * scripts/soversions.awk: Do not handle default_setname variable.
3366 * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
3367 variable.
3368 * sysdeps/mach/hurd/configure: Regenerated.
3369 * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
3370 variable.
3371 * sysdeps/unix/sysv/linux/configure: Regenerated.
3372
545583d6
SP
33732014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
3374
d330b980
SP
3375 * elf/Makefile (CFLAGS-interp.c): Remove.
3376 ($(elf-objpfx)runtime-linker.h): Generate header with linker
3377 path string.
3378 * elf/interp.c: Include generated runtime-linker.h
3379
02657da2
SP
3380 * Makerules (lib%.so): Don't include $(+interp) in
3381 prerequisites.
3382 * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
3383 * dlfcn/eval.c: Remove file.
3384
653b1080
SP
3385 * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
3386 macros.
3387
602f80ec
SP
3388 [BZ #17266]
3389 * misc/sys/cdefs.h: Define __extern_always_inline for clang
3390 4.2 and newer.
3391
545583d6
SP
3392 [BZ #17370]
3393 * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
3394
884ddc50
SP
33952014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
3396 Jakub Jelinek <jakub@redhat.com>
3397
3398 [BZ #17266]
3399 * libio/stdio.h: Check definition of __fortify_function
3400 instead of __extern_always_inline to include bits/stdio2.h.
3401 * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
3402 check if __extern_always_inline is defined.
3403 [__USE_MISC || __USE_XOPEN]: Likewise.
3404 [__USE_ISOC99] Likewise.
3405 * misc/sys/cdefs.h (__fortify_function): Define only if
3406 __extern_always_inline is defined.
3407 [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
3408 __extern_always_inline and __extern_inline only for g++-4.3
3409 and newer or a compatible gcc.
3410
a7b87268
AS
34112014-09-15 Andreas Schwab <schwab@linux-m68k.org>
3412
3413 [BZ #17371]
3414 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
3415 last change to handle zero prefix length.
3416
3f41521d
SP
34172014-09-15 Siddhesh Poyarekar <siddhesh@redhat.com>
3418
61fe374a
SP
3419 * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
3420 _SC_REGEX_VERSION.
3421
3f41521d
SP
3422 * posix/getconf.c (vars): Add _POSIX_IPV6 and
3423 _POSIX_RAW_SOCKETS.
3424
d8f879ee
AM
34252014-09-13 Allan McRae <allan@archlinux.org>
3426
3427 * po/ru.po: Update Russian translation from translation project.
3428
c079afb7
RM
34292014-09-12 Roland McGrath <roland@hack.frob.com>
3430
a62b3c15
RM
3431 * locale/programs/locale.c (show_locale_vars): Inline local function
3432 into its sole call site. Clean up some style nits.
3433 (print_item): New function, broken out of ...
3434 (show_info): ... local function here. Clean up style nits.
3435
d7e49b19
RM
3436 * locale/programs/ld-ctype.c (set_one_default): New function, broken
3437 out of ...
3438 (set_class_defaults): ... local function set_default here.
3439 Define set_default as a macro locally to pass constant parameters.
3440 (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
3441 rather than a shared local.
3442
c079afb7
RM
3443 * stdlib/rpmatch.c (try): New function, broken out of ...
3444 (rpmatch): ... local function here. Also, prototypify definition.
3445
0bd72468
JM
34462014-09-12 Joseph Myers <joseph@codesourcery.com>
3447
ba90e050
JM
3448 * scripts/soversions.awk: Do not handle configuration names.
3449 * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
3450 vendor and os variables to soversions.awk.
3451 * configure.ac: Do not modify gnu-* host_os.
3452 * configure: Regenerated
3453 * shlib-versions: Remove first column with configuration names.
3454 * nptl/shlib-versions: Likewise.
3455 * nptl_db/shlib-versions: Likewise.
3456 * sysdeps/hppa/shlib-versions: Likewise.
3457 * sysdeps/m68k/shlib-versions: Likewise.
3458 * sysdeps/mach/hurd/shlib-versions: Likewise.
3459 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
3460 * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
3461 * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
3462 * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
3463 * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
3464 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
3465 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
3466 * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
3467 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
3468 Likewise.
3469 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
3470 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
3471 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
3472 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
3473 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
3474 * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
3475 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
3476 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
3477
73a39112
JM
3478 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
3479 (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
3480 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
3481 Regenerated.
3482 * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
3483 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
3484 Condition symbol version definitions on [HAVE_ELFV2_ABI].
3485
c729e7c1
JM
3486 * shlib-versions: Remove OS-specific entries. Moved to files in
3487 sysdeps.
3488 * sysdeps/mach/hurd/shlib-versions: New file.
3489 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
3490
dc932a24
JM
3491 * nptl/shlib-versions: Remove architecture-specific entries.
3492 Moved to files in sysdeps.
3493 * shlib-versions: Likewise.
3494 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
3495 file.
3496 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
3497 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
3498 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
3499 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
3500
0bd72468
JM
3501 * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
3502 (UDP_NO_CHECK6_RX): Likewise.
3503
920238e0
SP
35042014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
3505
3506 * sysdeps/posix/sysconf.c (__sysconf): Spell
3507 _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
3508
ba7b4d29
FW
35092014-08-12 Florian Weimer <fweimer@redhat.com>
3510
3511 * iconv/gconv_open.c (__gconv_open): Remove transliteration module
3512 loading.
3513 * iconv/Versions (__gconv_transliterate): Export for use from
3514 gconv modules.
3515 * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
3516 (struct __gconv_trans_data, __gconv_trans_fct,
3517 __gconv_trans_context_fct, __gconv_trans_query_fct,
3518 __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
3519 definitions.
3520 (struct __gconv_step_data): Remove __trans member.
3521 (__gconv_transliterate): Declaration moved from gconv_int.h. No
3522 longer hidden. Remove unused trans_data argument.
3523 * iconv/gconv_int.h (struct trans_struct): Remove definition.
3524 (__gconv_translit_find): Remove declaration.
3525 (__gconv_transliterate): Declaration moved to gconv.h. Add hidden
3526 prototype.
3527 * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
3528 * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
3529 trans_data argument. Add hidden definition.
3530 (__gconv_translit_find): Remove.
3531 * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
3532 __gconv_transliterate directly if __GCONV_TRANSLIT is set.
3533 * iconv/skeleton.c: Remove transliteration initialization.
3534 * libio/fileops.c (_IO_new_file_fopen): Adjust struct
3535 __gconv_step_data initialization.
3536 * libio/iofwide.c (__libio_translit_): Remove.
3537 (_IO_fwide): Adjust struct __gconv_step_data initialization.
3538 * wcsmbs/btowc.c (__btowc): Likewise.
3539 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
3540 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
3541 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
3542 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
3543 * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
3544 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
3545 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
3546 * wcsmbs/wctob.c (wctob): Likewise.
3547
5379aebd
SP
35482014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
3549
3550 [BZ #16194]
3551 * sysdeps/x86/tst-xmmymm.sh: Rename file to...
3552 * sysdeps/x86/tst-ld-sse-use.sh: ... this. Check for zmm
3553 register usage.
3554 * sysdeps/x86/Makefile: Adjust.
3555
8c0ab919
RM
35562014-09-11 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
3557 Roland McGrath <roland@hack.frob.com>
3558
3559 * locale/weight.h: Add include guard.
3560 (findidx): Make static rather than auto; take new parameters
3561 TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
3562 * locale/weightwc.h: Likewise.
3563 * posix/fnmatch_loop.c
3564 (FCT): Change type of EXTRA from int32_t to wint_t.
3565 Don't include either header inside the function.
3566 Call FINDIDX rather than findidx, and pass new arguments.
3567 #undef FINDIDX at the end of the file.
3568 * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
3569 FINDIDX before including fnmatch_loop.c for the non-wide version.
3570 [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
3571 #include <locale/weightwc.h>, and define FINDIDX to findidxwc
3572 for the wide version.
3573 * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
3574 (build_equiv_class) [_LIBC]: Don't #include it inside the function.
3575 Pass new arguments to findidx.
3576 * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
3577 [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
3578 Don't #include it inside the function. Pass new arguments to findidx.
3579 * posix/regex_internal.h
3580 [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
3581 (re_string_elem_size_at): Don't #include it inside the function.
3582 Pass new arguments to findidx.
3583 * string/strcoll_l.c: #include WEIGHT_H at top level.
3584 (get_next_seq): Don't #include it inside the function.
3585 Pass new arguments to findidx.
3586 (get_next_seq_nocache): Likewise.
3587 * string/strxfrm_l.c: #include WEIGHT_H at top level.
3588 (STRXFRM): Don't #include it inside the function.
3589 Pass new arguments to findidx.
3590
52ffbdf2
FW
35912014-09-11 Florian Weimer <fweimer@redhat.com>
3592
3593 [BZ #17344]
3594 * malloc/malloc.c (unlink): Turn asserts into a call to
3595 malloc_printerr.
3596
984c0ea9
TL
35972014-09-11 Tim Lammens <tim.lammens@gmail.com>
3598
3599 [BZ #17370]
3600 * libio/wfileops (do_ftell_wide): Free OUT.
3601
3daee107
CM
36022014-09-10 Chris Metcalf <cmetcalf@tilera.com>
3603
3604 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
3605
58b930ae
SP
36062014-09-10 Siddhesh Poyarekar <siddhesh@redhat.com>
3607
3608 [BZ #17363]
3609 * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
3610 group if the current group is empty.
3611
3b473fec
AZ
36122014-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3613
71ae8647
AZ
3614 * benchtests/bench-memset.c (test_main): Add more test from size
3615 from 32 to 512 bytes.
3616 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
3617 Add POWER8 memset object.
3618 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3619 (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
3620 * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
3621 implementation.
3622 * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
3623 Likewise.
3624 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
3625 multiarch POWER8 memset optimization.
3626 * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
3627 POWER8 memset optimization.
3628
3b473fec
AZ
3629 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
3630 Remove bzero multiarch objects.
3631 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
3632 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
3633 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
3634 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
3635 Remove define.
3636 [__bzero]: Redefine to specific name.
3637 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
3638 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
3639 * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
3640 define.
3641 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
3642 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
3643
e6fb9587
FW
36442014-09-10 Florian Weimer <fweimer@redhat.com>
3645
3646 * Makeconfig (gccwarn-c): Turn implicit-function-declaration
3647 warnings into errors.
3648
3649 * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
3650 __cxa_thread_atexit_impl prototype.
3651
9d3a350b
SE
36522014-09-09 Steve Ellcey <sellcey@mips.com>
3653
3654 * sysdeps/mips/preconfigure: Put code inside mips* case statement.
3655 Fix capitalization of error message.
3656
0febba23
SE
36572014-09-09 Steve Ellcey <sellcey@mips.com>
3658
3659 * sysdeps/mips/preconfigure: Modify ABI tests.
3660
645a0e9c
CD
36612014-09-07 Carlos O'Donell <carlos@systemhalted.org>
3662
3663 * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
3664
d83f0734
CD
36652014-09-07 Roland McGrath <roland@hack.frob.com>
3666 Carlos O'Donell <carlos@systemhalted.org>
3667
3668 * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
3669 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
3670 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
3671 * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
3672 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
3673 * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
3674 * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
3675 * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
3676 * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
3677 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
3678 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
3679 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
3680 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
3681 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
3682 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
3683 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
3684 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
3685 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
3686 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
3687 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
3688 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
3689 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
3690 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
3691 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
3692 * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
3693 * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
3694 * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
3695 * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
3696 Deconditionalize the code that was previously under [RESET_PID].
3697 * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
3698 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
3699 * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
3700 * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
3701 include sysdep.h.
3702
21c83793
AM
37032014-09-08 Allan McRae <allan@archlinux.org>
3704
3705 * version.h (RELEASE): Set to "development".
3706 (VERSION): Set to "2.20.90"
3707
1cd9b65c
AM
37082014-09-07 Allan McRae <allan@archlinux.org
3709
b8079dd0
AM
3710 * version.h (RELEASE): Set to "stable".
3711 (VERSION): Set to "2.20"
3712 * include/features.h (__GLIBC_MINOR__): Set to 20.
3713
c46303ef
AM
3714 * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
3715 Liebler.
3716
1cd9b65c
AM
3717 * po/ko.po: Update Korean translation from translation project.
3718
8622092d
CM
37192014-09-06 Chris Metcalf <cmetcalf@tilera.com>
3720
3721 [BZ #17354]
3722 * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
3723 macro for handling signed relocations.
3724
41488498
FW
37252014-09-03 Florian Weimer <fweimer@redhat.com>
3726
3727 [BZ #17325]
3728 * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
3729 * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
3730 assert.
3731 * iconvdata/ibm933.c (BODY): Fix check for sentinel.
3732 * iconvdata/ibm935.c (BODY): Likewise.
3733 * iconvdata/ibm937.c (BODY): Likewise.
3734 * iconvdata/ibm939.c (BODY): Likewise.
3735 * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
3736 assert.
3737 * iconvdata/Makefile (iconv-test.out): Pass module list to test
3738 script.
3739 * iconvdata/run-iconv-test.sh: New test loop for checking for
3740 decoder crashers.
3741
a78b712d
KR
37422014-09-02 Khem Raj <raj.khem@gmail.com>
3743
3744 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
3745 libm_hidden_ver.
3746
cb08abc6
AM
37472014-09-01 Allan McRae <allan@archlinux.org>
3748
2c31e102
AM
3749 * po/eo.po: Update Esperanto translation from translation project.
3750
cb08abc6
AM
3751 * po/ca.po: Update Catalan translation from translation project.
3752
17a62de1
ST
37532014-08-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
3754
3755 * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
3756 __proc_dostop call.
3757
9570bc53
MW
37582014-08-27 Mark Wielaard <mjw@redhat.com>
3759
3760 [BZ #17319]
3761 * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
3762 to call set_thread_area instead of hand written asm.
3763 (__NR_set_thread_area): Removed define.
3764 (TLS_FLAG_WRITABLE): Likewise.
3765 (__ASSUME_SET_THREAD_AREA): Remove check.
3766 (TLS_EBX_ARG): Remove define.
3767 (TLS_LOAD_EBX): Likewise.
3768
b0f955c9
ST
37692014-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
3770
3771 Simplify atomicity of socket creation in bind.
3772
3773 * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
3774 looking up the name after linking the file.
3775
529bf515
AM
37762014-08-27 Allan McRae <allan@archlinux.org>
3777
3778 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
3779
a1a6a401
FW
37802014-08-26 Florian Weimer <fweimer@redhat.com>
3781
3782 [BZ #17187]
3783 * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
3784 trans_compare, open_translit, __gconv_translit_find):
3785 Remove module loading code.
3786
686ab290
AM
37872014-08-26 Allan McRae <allan@archlinux.org>
3788
e4e7cfd2
AM
3789 * po/vi.po: Update Vietnamese translation from translation project.
3790
6aa09f71
AM
3791 * po/uk.po: Update Ukrainian translation from translation project.
3792
edc0660e
AM
3793 * po/fr.po: Update French translation from translation project.
3794
7eea72ac
AM
3795 * po/ru.po: Update Russian translation from translation project.
3796
93c49eff
AM
3797 * po/pl.po: Update Polish translation from translation project.
3798
46acaf63
AM
3799 * po/cs.po: Update Czech translation from translation project.
3800
a9f5ce98
AM
3801 * po/de.po: Update German translation from translation project.
3802
373f2b78
AM
3803 * po/bg.po: Update Bulgarian translation from translation project.
3804
e7548bd8
AM
3805 * po/sv.po: Update Sweedish translation from translation project.
3806
c526bf4d
AM
3807 * po/nl.po: Update Dutch translation from translation project.
3808
686ab290
AM
3809 * po/es.po: Update Spanish translation from translation project.
3810
eb72478a
SP
38112014-08-21 Siddhesh Poyarekar <siddhesh@redhat.com>
3812
dd763fdb
SP
3813 * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
3814
318c7a58
SP
3815 * catgets/Makefile (CPPFLAGS-gencat): Remove.
3816 * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
3817 (CPPFLAGS-iconvconfig): Likewise.
3818 * timezone/Makefile (CPPFLAGS-zic): Likewise.
3819
eb72478a
SP
3820 * include/libc-symbols.h: Remove unnecessary check for
3821 NOT_IN_libc.
3822 * nptl/pthreadP.h: Likewise.
3823 * sysdeps/aarch64/setjmp.S: Likewise.
3824 * sysdeps/alpha/setjmp.S: Likewise.
3825 * sysdeps/arm/sysdep.h: Likewise.
3826 * sysdeps/i386/setjmp.S: Likewise.
3827 * sysdeps/m68k/setjmp.c: Likewise.
3828 * sysdeps/posix/getcwd.c: Likewise.
3829 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
3830 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
3831 * sysdeps/s390/s390-32/setjmp.S: Likewise.
3832 * sysdeps/s390/s390-64/setjmp.S: Likewise.
3833 * sysdeps/sh/sh3/setjmp.S: Likewise.
3834 * sysdeps/sh/sh4/setjmp.S: Likewise.
3835 * sysdeps/unix/alpha/sysdep.h: Likewise.
3836 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
3837 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
3838 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
3839 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
3840 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
3841 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
3842 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
3843 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
3844 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
3845 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
3846 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
3847 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
3848 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
3849 * sysdeps/x86_64/setjmp.S: Likewise.
3850
d44a052c
JM
38512014-08-13 Joseph Myers <joseph@codesourcery.com>
3852
3853 [BZ #17263]
3854 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
3855 <stdint.h>.
3856 (__get_clockfreq): Use uint64_t instead of hp_timing_t in
3857 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
3858
508ce3ac
SP
38592014-08-13 Siddhesh Poyarekar <siddhesh@redhat.com>
3860
e44c8b0e
SP
3861 * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
3862
508ce3ac
SP
3863 [BZ #17262]
3864 * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
3865 and __x86_64__ when disabling x87 inline functions.
3866
b4acef1f
L
38672014-08-12 H.J. Lu <hongjiu.lu@intel.com>
3868
3869 [BZ #17259]
3870 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
3871 asm statement with __cpuid_count.
3872
61b1ef6e
MF
38732014-08-12 Mike Frysinger <vapier@gentoo.org>
3874
3875 * configure.ac: Change __ehdr_start code to dereference the struct.
3876 Run readelf on the output to look for relocations.
3877 * configure: Regenerated.
3878
898c62f4
JM
38792014-08-12 Joseph Myers <joseph@codesourcery.com>
3880
3881 [BZ #17261]
3882 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
3883 value to 0.
3884 (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
3885
9a8a5720
RM
38862014-08-12 Roland McGrath <roland@hack.frob.com>
3887
3888 * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
3889
4e75751c
BO
38902014-08-12 Bernard Ogden <bernie.ogden@linaro.org>
3891
3892 [BZ #16892]
3893 * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
3894 atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
3895
bb2ce416
SA
38962014-08-12 Sean Anderson <seanga2@gmail.com>
3897
3898 * malloc/malloc.c: Fix typo in comment.
3899
7950a4ee
AM
39002014-08-09 Allan McRae <allan@archlinux.org>
3901
3902 * Regenerate libc.po.
3903
f469c49f
MF
39042014-08-08 Mike Frysinger <vapier@gentoo.org>
3905
3906 * intl/tst-gettext2.sh: Check every lang file for creation.
3907
656b84c2
WD
39082014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
3909
3910 * sysdeps/aarch64/fpu/math_private.h
3911 (libc_feholdsetround_noex_aarch64_ctx): New function.
3912
538e9e45
W
39132014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
3914
3915 * sysdeps/arm/armv6/strcpy.S (strcpy):
3916 Fix performance issue in misaligned cases.
3917
d4795e4a
AZ
39182014-08-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3919
3920 * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
3921 Move definition from termios.h.
3922 (struct termio): Likewise.
3923 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
3924 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
3925 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
3926 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
3927 Likewise.
3928 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
3929 Move definition to ioctl-types.h
3930 (struct termio): Likewise.
3931 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
3932 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
3933 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
3934 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
3935 Likewise.
3936
64accb62
RH
39372014-08-05 Richard Henderson <rth@redhat.com>
3938
27bb6dc0
RH
3939 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
3940 exceptions.
3941 * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
3942 Add fraiseexcpt.
3943 * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
3944 Use __feraiseexcept.
3945 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
3946 Protect libm symbols with IS_IN_libm.
3947
64accb62
RH
3948 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
3949
e5292691
BO
39502014-08-04 Bernard Ogden <bernie.ogden@linaro.org>
3951
3952 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
3953
5b4bd2d4
WN
39542014-08-04 Will Newton <will.newton@linaro.org>
3955
3956 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
3957 file.
3958
fcadaeef
MF
39592014-08-04 Mike Frysinger <vapier@gentoo.org>
3960
3961 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
3962 variants for each function.
3963
43a94c64
RM
39642014-08-04 Roland McGrath <roland@hack.frob.com>
3965
3966 * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
3967 appended ...
3968 * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
3969 * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
3970 appended ...
3971 * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
3972 * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
3973 * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
3974 * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
3975 * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
3976 * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
3977 * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
3978 * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
3979 * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
3980 * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
3981 * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
3982 * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
3983 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
3984 * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
3985 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
3986 * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
3987 * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
3988 * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
3989 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
3990 * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
3991 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
3992 * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
3993 * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
3994 * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
3995 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
3996 * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
3997 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
3998 * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
3999 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
4000 * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
4001 * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
4002 * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
4003 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
4004 * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
4005 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
4006 * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
4007 * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
4008 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
4009 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
4010 * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
4011 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
4012 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
4013 * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
4014 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
4015 * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
4016 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
4017 * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
4018 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
4019 * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
4020 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
4021 * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
4022 * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
4023 * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
4024 Update #include.
4025 * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
4026 * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
4027
8f3c1fa4
RM
40282014-08-04 Roland McGrath <roland@hack.frob.com>
4029
4030 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
4031 * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
4032 * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
4033 * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
4034 * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
4035 * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
4036
ca08746f
RM
40372014-08-04 Roland McGrath <roland@hack.frob.com>
4038
4039 * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
4040 * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
4041 * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4042 * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
4043
9c925ff9
RM
40442014-08-04 Roland McGrath <roland@hack.frob.com>
4045
4046 * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
4047 * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
4048 (__libc_vfork): Define function under this name.
4049 (__vfork): Define as an alias.
4050 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
4051 * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
4052
e641054c
RM
40532014-08-04 Roland McGrath <roland@hack.frob.com>
4054
4055 * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
4056 that was previously under [RESET_PID].
4057 * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
4058
dacdc867
AS
40592014-08-04 Andreas Schwab <schwab@suse.de>
4060
4061 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
4062
41f725ff
MF
40632014-08-03 Mike Frysinger <vapier@gentoo.org>
4064
4065 * stdlib/tst-setcontext.c (test_stack): Fix coding style.
4066 (main): Likewise.
4067
277cfb31
RM
40682014-08-01 Roland McGrath <roland@hack.frob.com>
4069
4070 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
4071
4896f049
RH
40722014-08-01 Richard Henderon <rth@redhat.com>
4073
4074 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
4075 feclearexcept; use math_opt_barrier instead of open-coded asm; fix
4076 typo in exact zero test.
4077 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
4078 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
4079 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
4080
6f64e7d7
RM
40812014-08-01 Roland McGrath <roland@hack.frob.com>
4082
4083 * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
4084 (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
4085 * sysdeps/arm/sysdep.h: ... here.
4086 [!__ASSEMBLER__]: Include <stdint.h>.
4087
3f3dd810
SP
40882014-08-01 Siddhesh Poyarekar <siddhesh@redhat.com>
4089
a476ac4b
SP
4090 * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
4091 (HAVE_WCTYPE_H): Likewise.
4092 (HAVE_ISWCTYPE): Likewise.
4093 (ENABLE_NLS): Likewise.
4094 * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
4095 && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
4096
78dd658a
SP
4097 * posix/regex_internal.c: Check if DEBUG is defined and is
4098 set.
4099
3f3dd810
SP
4100 * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
4101 (HAVE_MBSRTOWCS): Likewise.
4102 * posix/fnmatch.c: Include string.h unconditionally.
4103
95ee7fb1
SL
41042014-08-01 Stefan Liebler <stli@linux.vnet.ibm.com>
4105
4106 * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
4107 reversal.
4108
23fe486b
RM
41092014-07-31 Roland McGrath <roland@hack.frob.com>
4110
f61a113f
RM
4111 * sysdeps/generic/safe-fatal.h: New file.
4112 * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
4113 * nptl/forward.c: Include it.
4114 (__pthread_unwind): Use __safe_fatal as default action, rather
4115 than a bogus use of INTERNAL_SYSCALL that could never work.
4116
9fe7e787
RM
4117 * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
4118 * configure.ac (libc_cv_builtin_trap): New test.
4119 * configure: Regenerated.
4120 * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
4121 (ABORT_INSTRUCTION): Define using __builtin_trap.
4122
23fe486b
RM
4123 * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
4124 * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
4125 * sysdeps/nptl/nptl-signals.h: New file.
4126 * nptl/pthreadP.h: Include <nptl-signals.h>.
4127
f349489e
SL
41282014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
4129
4130 * sysdeps/s390/s390-64/utf16-utf32-z9.c
4131 (ONE_DIRECTION): Define.
4132 * sysdeps/s390/s390-64/utf8-utf16-z9.c
4133 (ONE_DIRECTION): Define.
4134 * sysdeps/s390/s390-64/utf8-utf32-z9.c
4135 (ONE_DIRECTION): Define.
4136
2f438e20
SL
41372014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
4138
4139 * sysdeps/s390/Makefile: Delete file.
4140 * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
4141 * sysdeps/s390/__longjmp.c: Delete file.
4142 * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
4143 Remove fields __flags and __reserved.
4144 * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
4145 and add versioning.
4146 * sysdeps/s390/rtld-__longjmp.c: Delete file.
4147 * sysdeps/s390/rtld-global-offsets.sym: Likewise.
4148 * sysdeps/s390/rtld-setjmp.S: Likewise.
4149 * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
4150 * sysdeps/s390/s390-32/__longjmp.c: ... here.
4151 * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
4152 * sysdeps/s390/s390-32/setjmp.S: ... here.
4153 Add versioning.
4154 (__sigsetjmp): Remove setting __flags field.
4155 * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
4156 * sysdeps/s390/s390-64/__longjmp.c: ... here.
4157 * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
4158 * sysdeps/s390/s390-64/setjmp.S: ... here.
4159 Add versioning.
4160 (__sigsetjmp): Remove setting __flags field.
4161 * sysdeps/s390/setjmp.S: Delete file.
4162 * sysdeps/s390/sigjmp.c: Likewise.
4163 * sysdeps/s390/v1-longjmp.c: Likewise.
4164 * sysdeps/s390/v1-setjmp.h: Likewise.
4165 * sysdeps/s390/v1-sigjmp.c: Likewise.
4166 * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
4167 Remove v1-longjmp_chk.
4168 * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
4169 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
4170 Include debug/longjmp_chk.c and add versioning.
4171 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
4172 Include nptl/pt-longjmp.c and add versioning.
4173 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
4174 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
4175 Include __longjmp.c.
4176 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
4177 Move to ...
4178 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
4179 (__getcontext): Remove setting __flags field.
4180 Add versioning.
4181 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
4182 Don't restore upper high grps.
4183 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
4184 Likewise.
4185 (__swapcontext): Remove setting uc_flags field.
4186 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
4187 Delete file.
4188 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
4189 Include __longjmp.c.
4190 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
4191 Move to ...
4192 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
4193 (__getcontext): Remove setting __flags field.
4194 Add versioning.
4195 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
4196 (__swapcontext): Remove setting uc_flags field.
4197 * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
4198 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
4199 Remove fields uc_high_gprs and __reserved.
4200 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
4201 New file with reverted content.
4202 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
4203 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
4204 Regenerated.
4205 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
4206 Regenerated.
4207
6c9578a2
AS
42082014-07-31 Andreas Schwab <schwab@suse.de>
4209
4210 * config.h.in (HAVE_IFUNC): Define to 0.
4211 * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
4212 definedness.
4213
05f3633d
LM
42142014-07-30 Ling Ma <ling.ml@alibaba-inc.com>
4215
4216 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
4217 memmove-avx-unaligned, memcpy-avx-unaligned and
4218 mempcpy-avx-unaligned.
4219 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
4220 Add tests for AVX memcpy functions.
4221 * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
4222 * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
4223 memcpy_chk.
4224 * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
4225 * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
4226 memmove_chk.
4227 * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
4228 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
4229 mempcpy_chk.
4230 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
4231 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
4232 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
4233
a53fbd8e
AZ
42342013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4235
4236 [BZ #17213]
4237 * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
4238 powerpc64le.
4239
0961f7e1
JL
42402014-07-29 Jeff Layton <jlayton@poochiereds.net>
4241
4242 [BZ #16839]
4243 * manual/llio.texi: Add section about open file description locks.
4244 * manual/examples/ofdlocks.c: Example of open file description
4245 lock usage.
4246 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
4247 F_OFD_SETLK, and F_OFD_SETLKW.
4248
cc5fb300
AM
42492014-07-23 Allan McRae <allan@archlinux.org>
4250
4251 * po/es.po: Update Spanish translation from translation project.
4252
23329dca
AS
42532014-07-18 Andreas Schwab <schwab@linux-m68k.org>
4254
4255 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
4256
9c82da17
MR
42572014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
4258
4259 [BZ #17078]
4260 * sysdeps/arm/dl-machine.h (elf_machine_rela)
4261 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
4262 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
4263
29c4f53e
JM
42642014-07-17 Joseph Myers <joseph@codesourcery.com>
4265
831b9896
JM
4266 [BZ #17088]
4267 * math/fesetenv.c (__fesetenv)
4268 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
4269 * math/feupdateenv.c (__feupdateenv)
4270 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
4271
b21c2d50
JM
4272 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
4273 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
4274 (__ASSUME_SOCKETCALL): Do not define.
4275
067764ef
JM
4276 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
4277 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
4278 (__ASSUME_SOCKETCALL): Do not define.
4279 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
4280 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
4281 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
4282 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
4283 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
4284 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
4285 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
4286 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
4287
642530c1
JM
4288 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
4289 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
4290 (__ASSUME_SOCKETCALL): Do not define.
4291 (__ASSUME_IPC64): Define unconditionally.
4292 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
4293 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
4294 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
4295 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
4296 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
4297 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
4298 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
4299 Likewise.
4300
03f77315
JM
4301 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
4302 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
4303 (__ASSUME_SOCKETCALL): Do not define.
4304 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
4305 (__ASSUME_FUTEX_LOCK_PI): Likewise.
4306 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
4307 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
4308 (__ASSUME_REQUEUE_PI): Define unconditionally.
4309 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
4310 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
4311 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
4312 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
4313 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
4314 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
4315
083b1f7c
JM
4316 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
4317 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
4318 (__ASSUME_SOCKETCALL): Do not define.
4319 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
4320 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
4321 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
4322 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
4323 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
4324 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
4325
5be44ea6
JM
4326 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
4327 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
4328 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
4329 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
4330 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
4331 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
4332 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
4333 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
4334 (__ASSUME_GETCPU_SYSCALL): Likewise.
4335
d95ffd4c
JM
4336 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
4337 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
4338 cases for individual architectures.
4339 * sysdeps/gnu/configure: Regenerated.
4340 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
4341 LIBC_SLIBDIR_RTLDDIR.
4342 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
4343 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
4344 LIBC_SLIBDIR_RTLDDIR.
4345 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
4346 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
4347 LIBC_SLIBDIR_RTLDDIR.
4348 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
4349 Regenerated.
4350 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
4351 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
4352 file.
4353 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
4354 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
4355 file.
4356 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
4357 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
4358 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
4359 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
4360
29c4f53e
JM
4361 * sysdeps/aarch64/shlib-versions: Move to ...
4362 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
4363 * sysdeps/alpha/shlib-versions: Move to ...
4364 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
4365 * sysdeps/arm/shlib-versions: Move to ...
4366 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
4367 * sysdeps/hppa/shlib-versions: Move all contents except for
4368 libgcc_s entry to ...
4369 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
4370 entry from ...
4371 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
4372 * sysdeps/ia64/shlib-versions: Move to ...
4373 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
4374 entry from ...
4375 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
4376 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
4377 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
4378 * sysdeps/microblaze/shlib-versions: Move to ...
4379 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
4380 * sysdeps/mips/shlib-versions: Move to ...
4381 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
4382 entry from ...
4383 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
4384 * sysdeps/tile/shlib-versions: Move to ...
4385 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
4386 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
4387 from ...
4388 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
4389 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
4390 entry from ...
4391 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
4392
32bead5b
WN
43932014-07-17 Will Newton <will.newton@linaro.org>
4394
57977c4b
WN
4395 * sysdeps/arm/bits/atomic.h
4396 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
4397 (__arch_compare_and_exchange_bool_16_int): Likewise.
4398 (__arch_compare_and_exchange_bool_64_int): Likewise.
4399
32bead5b
WN
4400 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
4401 into an #else block.
4402
37fccd41
RM
44032014-07-16 Roland McGrath <roland@hack.frob.com>
4404
4405 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
4406 just Linux configurations. Test empirically that the compiler sets
4407 __ARM_EABI__, rather than using the tuple to decide.
4408 * sysdeps/arm/preconfigure: Regenerated.
4409 * sysdeps/unix/sysv/linux/arm/configure: File removed.
4410 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
4411 contents appended ...
4412 * sysdeps/arm/configure.ac: ... here.
4413 * sysdeps/arm/configure: Regenerated.
4414
b365f3ec
RM
44152014-07-15 Roland McGrath <roland@hack.frob.com>
4416
8badf496
RM
4417 * nptl/pthread_kill.c: New file.
4418 * nptl/pthread_sigmask.c: New file.
4419 * nptl/pthread_sigqueue.c: New file.
4420
3df6f22e
RM
4421 * sysdeps/nptl/lowlevellock.h: New file.
4422 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
4423 * sysdeps/nptl/lowlevellock-futex.h: New file.
4424
b365f3ec
RM
4425 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
4426 Remove dead declarations.
4427
f2fef657
L
44282014-07-14 H.J. Lu <hongjiu.lu@intel.com>
4429
4430 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
4431 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
4432 config-cflags-avx2.
4433 * sysdeps/x86_64/configure.ac: Likewise.
4434 * sysdeps/i386/configure: Regenerated.
4435 * sysdeps/x86_64/configure: Likewise.
4436 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
4437 memset-avx2 only if config-cflags-avx2 is yes.
4438 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
4439 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
4440 defined.
4441 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
4442 only if HAVE_AVX2_SUPPORT is defined.
4443 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
4444
f6c44d47
AM
44452014-07-14 Alan Modra <amodra@gmail.com>
4446
4447 [BZ #17153]
4448 * elf/elf.h (DT_PPC64_NUM): Correct value.
4449 * NEWS: Add to fixed bug list.
4450
7ee03f00
JM
44512014-07-13 Jim Meyering <meyering@fb.com>
4452
4453 [BZ 17150]
4454 regex: don't deref NULL upon heap allocation failure
4455 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
4456 failure in one more place.
4457 To trigger the segfault, configure grep -with-included-regex,
4458 build it, and run these commands:
4459 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
4460
9d39d517
AS
44612014-07-13 Andreas Schwab <schwab@linux-m68k.org>
4462
4463 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
4464
a75b89b7
RH
44652014-07-11 Richard Henderson <rth@redhat.com>
4466
4467 * sysdeps/aarch64/libm-test-ulps: Update.
4468
771eb141
FW
44692014-07-10 Florian Weimer <fweimer@redhat.com>
4470
4471 [BZ #17135]
4472 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
4473 * nptl/allocatestack.c (__nptl_setxid_error): New function.
4474 (__nptl_setxid): Initialize error member. Call
4475 __nptl_setxid_error.
4476 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
4477 * nptl/descr.h (struct xid_command): Add error member.
4478 * nptl/tst-setuid3.c: New file.
4479 * nptl/Makefile (tests): Add it.
4480
bc1da176
AZ
44812014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4482
4483 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
4484 New define.
4485 (__lll_trylock): Use __lll_base_trylock.
4486 (__lll_cond_trylock): Likewise.
4487
887865fc
RM
44882014-07-10 Roland McGrath <roland@hack.frob.com>
4489
c0c6bac9
RM
4490 * nptl/pthread_create.c (start_thread): Use atomic_or and
4491 lll_futex_wake directly rather than lll_robust_dead.
4492 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
4493 (lll_robust_dead): Macro removed.
6a42be57 4494 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
c0c6bac9
RM
4495 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
4496 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
4497 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
4498 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
4499 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
4500 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
4501 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
4502 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
4503 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
4504 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
4505 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
4506 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
4507 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
4508 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
4509
887865fc
RM
4510 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
4511 Use atomic_compare_and_exchange_val_acq directly rather than
4512 lll_robust_trylock.
4513 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
4514 (__lll_robust_trylock, lll_robust_trylock): Removed.
4515 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
4516 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
4517 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
4518 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
4519 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
4520 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
4521 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
4522 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
4523 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
4524 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
4525 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
4526 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
4527 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
4528 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
4529
58536726
FW
45302014-07-02 Florian Weimer <fweimer@redhat.com>
4531
4532 * manual/locale.texi (Locale Names): New section documenting
4533 locale name syntax. Adjust menu and node chaining accordingly.
4534 (Choosing Locale): Reference Locale Names, Locale Categories.
4535 Mention setting LC_ALL=C. Reflect that name syntax is now
4536 documented.
4537 (Locale Categories): New section title. Reference Locale Names.
4538 LC_ALL is an environment variable, but not a category.
4539 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
4540 description, now in Locale Name. Reference that section. Locale
4541 name syntax is now documented.
4542
4e8f95a0
FW
45432014-07-02 Florian Weimer <fweimer@redhat.com>
4544
4545 [BZ #17137]
4546 * locale/findlocale.c (name_present, valid_locale_name): New
4547 functions.
4548 (_nl_find_locale): Use the loc_name variable to store name
4549 candidates. Call name_present and valid_locale_name to check and
4550 validate locale names. Return an error if the locale is invalid.
4551
d1836456
FW
45522014-07-02 Florian Weimer <fweimer@redhat.com>
4553
4554 * locale/setlocale.c (setlocale): Use strdup for allocating
4555 composite name copy.
4556
d69b7f5a
SP
45572014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
4558
888c679b
SP
4559 Sync up with gnulib.
4560 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
4561 [!_LIBC && ENABLE_NLS]: Include gettext.h.
4562 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
4563 and _GL_ARG_NONNULL.
4564 [USE_UNLOCKED_IO]: Include unlocked-io.h.
4565 [!_LIBC]: Include code for Windows and Cygwin.
4566 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
4567 Include prototype for int strerror_r.
4568 [!_LIBC] (is_open): New function.
4569 (flush_stdout): New function.
4570 (print_errno_message): Use it.
4571 (error): Likewise.
4572 (error_at_line): Likewise.
4573 (error_tail) Add function attribute macros. Use
4574 __builtin_expect.
4575
180e0e4b
SP
4576 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
4577
d22f1fe2
SP
4578 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
4579
12f2254b
SP
4580 * io/ftw.c: Include sys/param.h unconditionally.
4581
c3c7c360
SP
4582 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
4583
d62aa75a
SP
4584 [BZ #17125]
4585 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
4586 libc_freeres_ptr.
4587 (freecache): New function to free CACHE on exit.
4588
d69b7f5a
SP
4589 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
4590 initialization.
4591
5efe06a1
DM
45922014-07-09 David S. Miller <davem@davemloft.net>
4593
4594 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4595
7000d82e
DM
4596 * sysdeps/sparc/nptl/internaltypes.h: Delete.
4597 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
4598 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
4599 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
4600 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
4601 * sysdeps/sparc/nptl/sem_init.c: Likewise.
4602 * sysdeps/sparc/nptl/sem_post.c: Likewise.
4603 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
4604 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
4605 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
4606 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
4607 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
4608 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
4609
c213442d
AS
46102014-07-09 Andreas Schwab <schwab@suse.de>
4611
4a2552c3
AS
4612 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
4613 output.
4614 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
4615 (do_test): Likewise.
4616
c213442d
AS
4617 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
4618
82374e65
WN
46192014-07-09 Will Newton <will.newton@linaro.org>
4620
4621 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
4622 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
4623 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
4624 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
4625 * sysdeps/hppa/start.S (_start): Likewise.
4626
6680738a
SP
46272014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
4628
6ee3eab4
SP
4629 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
4630
6680738a
SP
4631 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
4632 defined.
4633
80b5c505
SP
46342014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
4635
e35c53e3
SP
4636 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
4637 after checking that it is non-NULL.
4638
80b5c505
SP
4639 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
4640
91f4b564
AZ
46412014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4642
27b75f56
AZ
4643 * sysdeps/powerpc/memmove.c: Remove file.
4644 * sysdeps/powerpc/powerpc32/power4/memcopy.h
4645 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
4646 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
4647 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
4648 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
4649 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
4650 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
4651 string memmove instead of removed powerpc one.
4652
e7f95bb5
AZ
4653 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
4654 [weak_alias]: Fix compiler warning due trailing data.
4655 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
4656 [weak_alias]: Likewise.
4657 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
4658 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
4659
91f4b564
AZ
4660 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
4661 (__libc_ifunc_impl_list): Add memmove functions.
4662
7c33f1e5
SP
46632014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
4664
4665 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
4666 Remove code.
4667 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
4668 Likewise
4669 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
4670 Likewise
4671 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
4672 Likewise
4673 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
4674 Likewise
4675 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
4676 Likewise
4677 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
4678 Likewise
4679 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
4680 Likewise
4681 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
4682 Likewise
4683 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
4684 Likewise
4685 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
4686 Likewise
4687 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
4688 Likewise
4689 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
4690 Likewise
4691 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
4692 Likewise
4693 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
4694 Likewise
4695 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
4696 Likewise
4697 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
4698 Likewise
4699
3f17b03b
AZ
47002014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4701
87868c24
AZ
4702 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
4703 to avoid alignment traps in non-cacheable memory.
4704 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
4705
07aedd78
AZ
4706 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
4707 multiarch objects.
4708 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
4709 file: multiarch power7 memmove.
4710 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
4711 multiarch default memmove.
4712 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
4713 multiarch memove for powerpc32/power4.
4714
17762f66
AZ
4715 * string/bcopy.c: Use full path to include memmove.c.
4716 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
4717 multiarch objects.
4718 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
4719 bcopy for powerpc64.
4720 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
4721 bcopy for powerpc64.
4722 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
4723 and memmove implementations.
4724 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
4725 optimized multiarch memmove for POWER7/powerpc64.
4726 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
4727 default multiarch memmove for powerpc64.
4728 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
4729 multiarch for powerpc64.
4730 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
4731 for POWER7/powerpc64.
4732 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
4733 memmove for POWER7/powerpc64.
4734
d6f68bbe
AZ
4735 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
4736 glibc default one.
4737
3f17b03b
AZ
4738 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
4739 __ELF_NATIVE_CLASS equal to 64.
4740
08192659
RM
47412014-07-07 Roland McGrath <roland@hack.frob.com>
4742
f4c4021b
RM
4743 * sysdeps/nptl/lowlevellock.h: File removed.
4744
f083450f
RM
4745 * NEWS: NPTL is no longer an add-on!
4746 * nptl/internaltypes.h: Moved ...
4747 * sysdeps/nptl/internaltypes.h: ... here.
4748 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
4749 * sysdeps/nptl/fork.c: Likewise.
4750 * sysdeps/nptl/gai_misc.h: Likewise.
4751 * sysdeps/nptl/librt-cancellation.c: Likewise.
4752 * sysdeps/nptl/jmp-unwind.c: Likewise.
4753 * sysdeps/nptl/setxid.h: Likewise.
4754 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
4755 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
4756 * sysdeps/unix/sysv/linux/arm/Implies: New file.
4757 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
4758 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
4759 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
4760 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
4761 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
4762 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
4763 * sysdeps/unix/sysv/linux/mips/Implies: New file.
4764 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
4765 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
4766 * sysdeps/unix/sysv/linux/sh/Implies: New file.
4767 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
4768 * sysdeps/unix/sysv/linux/tile/Implies: New file.
4769 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
4770 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
4771 * nptl/Makeconfig: Moved ...
4772 * sysdeps/nptl/Makeconfig: ... here.
4773 * nptl/configure: File removed.
4774 * nptl/ANNOUNCE: File removed.
4775 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
4776 * sysdeps/unix/sysv/linux/configure: Regenerated.
4777
08192659
RM
4778 * nptl/Makefile (routines): Add libc_pthread_init,
4779 libc_multiple_threads, register-atfork and unregister-atfork.
4780 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
4781 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
4782 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
4783 pthread-pi-defines.sym, structsem.sym.
4784 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
4785 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
4786 [$(subdir) = nptl] (tests): Add tst-setgetname.
4787 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
4788 * sysdeps/unix/sysv/linux/sigaction.c: Just include
4789 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
4790 [!LIBC_SIGACTION]: Remove aliases.
4791 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
4792 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
4793 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
4794 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
4795 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
4796 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
4797 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
4798 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
4799 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
4800 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
4801 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
4802 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
4803 __libc_allocate_rtsig_private.
4804 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
4805 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
4806 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
4807 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
4808 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
4809 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
4810 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
4811 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
4812 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
4813 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
4814 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
4815 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
4816 * nptl/internaltypes.h: ... here.
4817 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
4818 * sysdeps/nptl/jmp-unwind.c: ... here.
4819 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
4820 * nptl/libc-lowlevellock.c: ... here.
4821 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
4822 * nptl/libc_multiple_threads.c: ... here.
4823 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
4824 * nptl/libc_pthread_init.c: ... here.
4825 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
4826 * nptl/lowlevelbarrier.sym: ... here.
4827 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
4828 * nptl/lowlevelcond.sym: ... here.
4829 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
4830 * nptl/lowlevellock.c: ... here.
4831 * nptl/lowlevellock.h: Moved ...
4832 * sysdeps/nptl/lowlevellock.h: ... here.
4833 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
4834 * nptl/lowlevelrobustlock.c: ... here.
4835 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
4836 * nptl/lowlevelrobustlock.sym: ... here.
4837 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
4838 * nptl/lowlevelrwlock.sym: ... here.
4839 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
4840 * nptl/pt-fork.c: ... here.
4841 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
4842 * nptl/pthread-pi-defines.sym: ... here.
4843 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
4844 * nptl/pthread_attr_getaffinity.c: ... here.
4845 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
4846 * nptl/pthread_attr_setaffinity.c: ... here.
4847 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
4848 * nptl/pthread_mutex_cond_lock.c: ... here.
4849 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
4850 Update #include.
4851 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
4852 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
4853 * nptl/pthread_once.c: ... here, replacing old file.
4854 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
4855 * nptl/pthread_yield.c: ... here.
4856 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
4857 * nptl/register-atfork.c: ... here.
4858 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
4859 * nptl/sem_post.c: ... here.
4860 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
4861 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
4862 * nptl/sem_timedwait.c: ... here.
4863 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
4864 * nptl/sem_trywait.c: ... here.
4865 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
4866 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
4867 * nptl/sem_wait.c: ... here.
4868 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
4869 * nptl/structsem.sym: ... here.
4870 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
4871 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
4872 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
4873 * nptl/unregister-atfork.c: ... here.
4874 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
4875 * nptl/unwindbuf.sym: ... here.
4876 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
4877 * sysdeps/nptl/fork.c: ... here.
4878 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
4879 * sysdeps/nptl/fork.h: ... here.
4880 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
4881 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
4882 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
4883 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
4884 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
4885 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
4886 * sysdeps/unix/sysv/linux/getpid.c: ... here.
4887 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
4888 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
4889 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
4890 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
4891 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
4892 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
4893 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
4894 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
4895 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
4896 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
4897 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
4898 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
4899 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
4900 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
4901 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
4902 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
4903 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
4904 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
4905 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
4906 * sysdeps/unix/sysv/linux/raise.c: ... here.
4907 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
4908 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
4909 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
4910 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
4911 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
4912 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
4913 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
4914 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
4915 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
4916 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
4917 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
4918 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
4919 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
4920 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
4921 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
4922
96baf6ff
SP
49232014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
4924
4925 * sysdeps/generic/memcopy.h: Add comment for
4926 MEMCPY_OK_FOR_FWD_MEMMOVE.
4927
6b7b14b2
WN
49282014-07-04 Will Newton <will.newton@linaro.org>
4929
1570a72b
WN
4930 * string/memchr.c: Merge from gnulib.
4931 [_LIBC]: Remove conditionals.
4932 (__ptr_t): Remove define.
4933 (LONG_MAX_32_BITS): Likewise.
4934 (LONG_MAX): Likewise.
4935 (MEMCHR): Use ANSI prototype and optimize algorithm.
4936
6b7b14b2
WN
4937 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
4938
38851324
SP
49392014-07-03 Roland McGrath <roland@hack.frob.com>
4940
3d9eb57c
RM
4941 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
4942 (lll_futex_timed_wait_bitset): Fix syscall argument count.
4943
78b984ae
RM
4944 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
4945 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
4946 in a bare environment with no <stdlib.h> installed.
4947 * sysdeps/nptl/configure: Regenerated.
4948
2d5976a5
RM
4949 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
4950
c1f5acd4
RM
4951 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
4952 AC_EGREP_CPP for kernel header checks, so they only succeed if
4953 including <linux/version.h> actually works right.
4954 * sysdeps/unix/sysv/linux/configure: Regenerated.
4955
4d614fe5
RM
4956 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
4957 value so it's not diagnosed as unused.
4958
38851324
SP
4959 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
4960 thing) with "ifeq ($(subdir),rt)".
4961
b3ec00e5
RH
49622014-07-03 Richard Henderson <rth@redhat.com>
4963
69862e25
RH
4964 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
4965 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
4966 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
4967
d5e16ade
RH
4968 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
4969 (math_force_eval): New.
4970
ca7b945c
RH
4971 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
4972 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
4973
cd1175a3
RH
4974 * sysdeps/alpha/fpu/s_round.c: Remove file.
4975 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
4976
b3ec00e5
RH
4977 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
4978 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
4979 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
4980 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
4981 (_dl_start, print_statistics): Likewise.
4982 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
4983 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
4984
4985 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
4986 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
4987 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
4988 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
4989 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
4990 (HP_SMALL_TIMING_AVAIL): Define.
4991 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
4992 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
4993 (HP_SMALL_TIMING_AVAIL): Define.
4994 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
4995 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
4996
4997 * sysdeps/aarch64/hp-timing.h: New file.
4998
4999 * sysdeps/generic/hp-timing.h: Remove dead comment.
5000 * sysdeps/generic/hp-timing-common.h: New file.
5001 * sysdeps/alpha/hp-timing.h: Include it.
5002 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
5003 * sysdeps/i386/i686/hp-timing.h: Likewise.
5004 * sysdeps/ia64/hp-timing.h: Likewise.
5005 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
5006 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
5007 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
5008 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
5009 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
5010 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
5011 (hp_timing_t): New.
5012
5013 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
5014 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
5015 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
5016 * elf/rtld.c (_dl_start_final): Likewise.
5017 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
5018 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
5019 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
5020 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
5021 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
5022 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
5023 (HP_TIMING_DIFF_INIT): Remove.
5024 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
5025 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
5026 (HP_TIMING_DIFF_INIT): Remove.
5027 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
5028 * sysdeps/i386/i686/hp-timing.c: Remove file.
5029 * sysdeps/x86_64/hp-timing.c: Remove file.
5030 * sysdeps/ia64/hp-timing.c: Remove file.
5031 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
5032 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
5033 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
5034 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
5035
5036 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
5037 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
5038 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
5039 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
5040 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
5041 (HP_TIMING_ACCUM): Remove.
5042 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
5043 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
5044 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
5045
5046 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
5047 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
5048 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
5049 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
5050 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
5051 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
5052 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
5053 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
5054
5055 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
5056
225f410f
MR
50572014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
5058
5059 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
5060
3247f285
SP
50612014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
5062
5063 Sync up with gettext.
5064 * intl/loadmsgcat.c: Define O_BINARY if not defined.
5065 [_MSC_VER]: Include malloc.h
5066 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
5067 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
5068 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
5069 TEMP_FAILURE_RETRY. Cast return of alloca.
5070 [!_LIBC] Call gl_rwlock_init.
5071 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
5072
d12704c7
SP
50732014-07-02 Roland McGrath <roland@hack.frob.com>
5074
5075 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
5076 before checking its value.
5077
99f8dc92
SP
50782014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
5079
05fdac77
SP
5080 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
5081
99f8dc92
SP
5082 * debug/memcpy_chk.c: Don't include pagecopy.h.
5083 * debug/mempcpy_chk.c: Likewise.
5084 * string/memcpy.c: Likewise.
5085 * string/memmove.c: Likewise.
5086 * sysdeps/powerpc/memmove.c: Likewise.
5087 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
5088 definition of PAGE_COPY_FWD_MAYBE here...
5089 * sysdeps/generic/pagecopy.h: ... from here.
5090 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
5091
bc8ea385
VR
50922014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
5093 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5094
5095 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
5096 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
5097 optimizations.
5098 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
5099 (__libc_ifunc_impl_list): Likewise.
5100 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
5101 multiarch strcat for PPC64.
5102 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
5103 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
5104
fe5f34e4
RM
51052014-07-02 Roland McGrath <roland@hack.frob.com>
5106
5107 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
5108
256aa665
SP
51092014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
5110
d4eb8195
SP
5111 * intl/loadmsgcat.c: Remove declaration of
5112 get_sysdep_segment_value.
5113 (get_sysdep_segment_value): Use ISO C style.
5114 (_nl_load_domain): Use ISO C style. Get rid of redundant
5115 semicolon. Fix typo and formatting in comment.
5116 (_nl_unload_domain): Use ISO C style.
5117
256aa665
SP
5118 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
5119
b100f9aa
WN
51202014-07-02 Will Newton <will.newton@linaro.org>
5121
5122 * malloc/obstack.c: Merge from gnulib master.
5123 [HAVE_CONFIG_H]: Remove conditional code.
5124 [!_LIBC]: Include config.h.
5125 [!ELIDE_CODE]: Don't include inttypes.h, include
5126 stdint.h unconditionally.
5127 (print_and_abort): Mark as _Noreturn.
5128 (_obstack_allocated_p): Mark as __attribute_pure__.
5129 (obstack_free): Rename to __obstack_free.
5130 [!__attribute__]: Remove conditional code.
5131 * malloc/obstack.h: Merge from gnulib master.
5132 [__cplusplus]: Move conditional down.
5133 [!__attribute_pure__]: Define __attribute_pure__ here
5134 if it is not already defined.
5135 (_obstack_memory_used): Mark as __attribute_pure__.
5136 [!__obstack_free]: Define as obstack_free.
5137 [__GNUC__]: Remove check for ancient NeXT gcc.
5138
c4c41244
PE
51392014-07-02 Will Newton <will.newton@linaro.org>
5140 Paul Eggert <eggert@cs.ucla.edu>
5141
5142 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
5143
e1e041c4
SP
51442014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
5145
5146 * resolv/gethnamaddr.c: Add comment warning that the file is
5147 not maintained.
5148
ccf431ff
CD
51492014-07-01 Carlos O'Donell <carlos@redhat.com>
5150
d34570a6
CD
5151 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
5152 entries.
5153
ccf431ff
CD
5154 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
5155 entry for aio_cancel and aio_cancel64.
5156 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
5157 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
5158 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
5159 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
5160 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
5161 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
5162 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
5163 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
5164 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
5165 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
5166 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
5167 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
5168 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
5169
ca06321d
RM
51702014-07-01 Roland McGrath <roland@hack.frob.com>
5171
5172 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
5173 * nptl/pthread_mutex_lock.c: Likewise.
5174 * nptl/pthread_mutex_timedlock.c: Likewise.
5175 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
5176
a1ac3184
RH
51772014-07-01 Richard henderson <rth@redhat.com>
5178
631021e0
RH
5179 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
5180 (__isnan, __isnanl): Remove.
5181 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
5182
a1ac3184
RH
5183 * sysdeps/alpha/fpu/libm-test-ulps: Update.
5184
0c1d731f
SL
51852014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
5186
5187 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
5188
76985d3e
SP
51892014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
5190
5191 * resolv/nss_dns/dns-host.c (getanswer_r)
5192 [MULTI_PTRS_ARE_ALIASES]: Remove code.
5193
b0cb3096
JM
51942014-07-01 Joseph Myers <joseph@codesourcery.com>
5195
5196 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5197 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
5198 undefine.
5199 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
5200 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
5201
4d76cb39
RM
52022014-07-01 Roland McGrath <roland@hack.frob.com>
5203
5204 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
5205 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
5206
5207 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
5208 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
5209
5210 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
5211 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
5212 ... here.
5213 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
5214 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
5215
5216 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
5217 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
5218 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
5219 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
5220
5221 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
5222 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
5223 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
5224 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
5225 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
5226 Moved ...
5227 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
5228 ... here.
5229 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
5230 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
5231 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
5232 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
5233 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
5234 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
5235 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
5236 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
5237 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
5238 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
5239 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
5240 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
5241 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
5242 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
5243 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
5244 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
5245 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
5246 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
5247 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
5248 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
5249 ... here.
5250 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
5251 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
5252 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
5253 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
5254 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
5255 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
5256 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
5257 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
5258
0cdcad17
DH
52592014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
5260
5261 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
5262 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
5263 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
5264 Add sysdep.
5265
9b71d0e3
AZ
52662014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5267
5268 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5269
665390c2
JM
52702014-06-30 Joseph Myers <joseph@codesourcery.com>
5271
ae05a9d7
JM
5272 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
5273 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
5274
a7672a2f
JM
5275 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
5276
665390c2
JM
5277 * sysdeps/arm/libm-test-ulps: Regenerated.
5278
d7a05d07
MR
52792014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
5280 Roland McGrath <roland@hack.frob.com>
5281
5282 * test-skeleton.c (signal_handler): Kill the whole process group
5283 before killing the child individually.
5284 (main): Report any failure on `setpgid'.
5285
46f1d8a6
RM
52862014-06-30 Roland McGrath <roland@hack.frob.com>
5287
5288 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
5289 from _TLS_H to _ARM_NPTL_TLS_H.
5290 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
5291 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
5292
9c37ec0b
JM
52932014-06-30 Joseph Myers <joseph@codesourcery.com>
5294
ce9c5b3e
JM
5295 [BZ #16539]
5296 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
5297 (__expm1l): Return argument unchanged when small but not
5298 subnormal.
5299
3a6e9887
JM
5300 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
5301 include macro name.
5302 (_FP_UNPACK_RAW_1_P): Likewise.
5303 (_FP_PACK_RAW_1): Likewise.
5304 (_FP_PACK_RAW_1_P): Likewise.
5305 (_FP_MUL_MEAT_1_wide): Likewise.
5306 (_FP_MUL_MEAT_DW_1_hard): Likewise.
5307 (_FP_MUL_MEAT_1_hard): Likewise.
5308 (_FP_DIV_MEAT_1_imm): Likewise.
5309 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
5310 (_FP_DIV_MEAT_1_udiv): Likewise.
5311 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
5312 (_FP_UNPACK_RAW_2): Likewise.
5313 (_FP_UNPACK_RAW_2_P): Likewise.
5314 (_FP_PACK_RAW_2): Likewise.
5315 (_FP_PACK_RAW_2_P): Likewise.
5316 (_FP_MUL_MEAT_DW_2_wide): Likewise.
5317 (_FP_MUL_MEAT_2_wide): Likewise.
5318 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
5319 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
5320 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
5321 (_FP_MUL_MEAT_2_gmp): Likewise.
5322 (_FP_DIV_MEAT_2_udiv): Likewise.
5323 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
5324 (_FP_FRAC_SRL_4): Likewise.
5325 (_FP_FRAC_SRST_4): Likewise.
5326 (_FP_FRAC_SRS_4): Likewise.
5327 (_FP_UNPACK_RAW_4): Likewise.
5328 (_FP_UNPACK_RAW_4_P): Likewise.
5329 (_FP_PACK_RAW_4): Likewise.
5330 (_FP_PACK_RAW_4_P): Likewise.
5331 (_FP_MUL_MEAT_DW_4_wide): Likewise.
5332 (_FP_MUL_MEAT_4_wide): Likewise.
5333 (_FP_MUL_MEAT_4_gmp): Likewise.
5334 (umul_ppppmnnn): Likewise.
5335 (_FP_DIV_MEAT_4_udiv): Likewise.
5336 (__FP_FRAC_ADD_4): Likewise.
5337 (__FP_FRAC_SUB_3): Likewise.
5338 (__FP_FRAC_SUB_4): Likewise.
5339 (__FP_FRAC_DEC_3): Likewise.
5340 (__FP_FRAC_DEC_4): Likewise.
5341 (__FP_FRAC_ADDI_4): Likewise.
5342 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
5343 (_FP_FRAC_SRL_8): Likewise.
5344 (_FP_FRAC_SRS_8): Likewise.
5345
9c37ec0b
JM
5346 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
5347 include macro name.
5348 (FP_UNPACK_RAW_EP): Likewise.
5349 (FP_PACK_RAW_E): Likewise.
5350 (FP_PACK_RAW_EP): Likewise.
5351 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
5352 (_FP_ISSIGNAN): Likewise.
5353 (_FP_ADD_INTERNAL): Likewise.
5354 (_FP_FMA): Likewise.
5355 (_FP_CMP): Likewise.
5356 (_FP_SQRT): Likewise.
5357 (_FP_TO_INT): Likewise.
5358 (_FP_FROM_INT): Likewise.
5359 (FP_EXTEND): Likewise.
5360 (_FP_DIV_MEAT_N_loop): Likewise.
5361
2125f674
MR
53622014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
5363
5364 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
5365 throughout.
5366
edea4028
JM
53672014-06-29 Joseph Myers <joseph@codesourcery.com>
5368
5369 [BZ #17097]
5370 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
5371 result with correct sign in case of exponents that produce
5372 overflow except for X very close to 1.
5373
dd0ba018
PE
53742014-06-28 Paul Eggert <eggert@cs.ucla.edu>
5375
5376 mktime: merge #if/#ifdef usage from glibc
5377 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
5378 as that works with both Glibc's and Gnulib's style.
5379 See thread starting at Siddhesh Poyarekar's bug report at:
5380 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
5381
64df73c2
SP
53822014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5383
5384 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
5385 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
5386 * sysdeps/tile/tilegx/memmove.c: Remove file.
5387
f1eafb41
JM
53882014-06-27 Joseph Myers <joseph@codesourcery.com>
5389
5390 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
5391 abi-name definition.
5392 * scripts/soversions.awk: Do not handle or generate ABI lines.
5393 * shlib-versions: Remove ABI entries.
5394 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
5395 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
5396
58eb0862
RM
53972014-06-27 Roland McGrath <roland@hack.frob.com>
5398
37caf178
RM
5399 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
5400 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
5401 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
5402 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
5403 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
5404 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
5405 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
5406 Moved ...
5407 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
5408 ... here.
5409 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
5410 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
5411 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
5412 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
5413 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
5414 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
5415 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
5416 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
5417 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
5418 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
5419 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
5420 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
5421 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
5422 Moved ...
5423 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
5424 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
5425 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
5426 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
5427 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
5428 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
5429 Moved ...
5430 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
5431 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
5432 Moved ...
5433 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
5434 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
5435 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
5436 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
5437 Moved ...
5438 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
5439 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
5440 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
5441 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
5442 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
5443 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
5444 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
5445 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
5446 Moved ...
5447 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
5448 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
5449 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
5450 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
5451 Moved ...
5452 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
5453 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
5454 Moved ...
5455 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
5456 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
5457 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
5458 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
5459 Moved ...
5460 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
5461 ... here.
5462 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
5463 Identical file removed.
5464 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
5465 Moved ...
5466 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
5467 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
5468 Identical file removed.
5469 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
5470 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
5471 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
5472 Moved ...
5473 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
5474 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
5475 Identical file removed.
5476 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
5477 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
5478 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
5479 Identical file removed.
5480 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
5481 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
5482 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
5483 Identical file removed.
5484 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
5485 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
5486 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
5487 Identical file removed.
5488 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
5489 Moved ...
5490 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
5491 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
5492 Identical file removed.
5493 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
5494 Moved ...
5495 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
5496 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
5497 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
5498 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
5499 Identical file removed.
5500 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
5501 Moved ...
5502 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
5503 ... here.
5504 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
5505 Identical file removed.
5506 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
5507 Moved ...
5508 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
5509 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
5510 Identical file removed.
5511 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
5512 Moved ...
5513 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
5514 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
5515 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
5516 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
5517 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
5518 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
5519 Moved ...
5520 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
5521 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
5522 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
5523
58eb0862
RM
5524 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
5525 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
5526 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
5527 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
5528 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
5529
6f12d062
AS
55302014-06-27 Arjun Shankar <arjun.is@lostca.se>
5531
5532 [BZ #17092]
5533 * nscd/nscd.c (monitor_child): Return exit status of child
5534 instead of return value from wait syscall.
5535
be254932
JM
55362014-06-27 Joseph Myers <joseph@codesourcery.com>
5537
cb403c34
JM
5538 * configure.ac (libc_commonpagesize): Remove variable.
5539 (libc_relro_required): Likewise.
5540 (libc_cv_z_relro): Remove configure test.
5541 * configure: Regenerated.
5542 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
5543 variable.
5544 (libc_relro_required): Likewise.
5545 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
5546 (libc_relro_required): Likewise.
5547 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
5548 (libc_relro_required): Likewise.
5549 * sysdeps/arm/preconfigure: Regenerated.
5550 * sysdeps/ia64/preconfigure: Remove file.
5551 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
5552 variable.
5553 (libc_relro_required): Likewise.
5554
be254932
JM
5555 [BZ #16561]
5556 [BZ #16562]
5557 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
5558 (__ieee754_yn): Set FE_TONEAREST mode internally and then
5559 recompute overflowing results in original rounding mode.
5560 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
5561 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
5562 recompute overflowing results in original rounding mode.
5563 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
5564 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
5565 recompute overflowing results in original rounding mode.
5566 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
5567 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
5568 recompute overflowing results in original rounding mode.
5569 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
5570 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
5571 recompute overflowing results in original rounding mode.
5572 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
5573 (libc_feholdsetround_ctx): New macro.
5574 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
5575 * sysdeps/i386/fpu/libm-test-ulps: Update.
5576 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
5577
b351d85a
JM
55782014-06-26 Joseph Myers <joseph@codesourcery.com>
5579
5580 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
5581 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
5582 corresponding .cpsetup call.
5583
3cb4de47
RM
55842014-06-26 Roland McGrath <roland@hack.frob.com>
5585
5586 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
5587 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
5588 * sysdeps/arm/Makefile [$(subdir) = csu]
5589 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
5590 (static-only-routines): Add aeabi_read_tp here.
5591 (shared-only-routines): Add libc-aeabi_read_tp here.
5592 (CFLAGS-libc-start.c): Add -fexceptions here.
5593 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
5594 (sysdep_routines, static-only-routines, shared-only-routines):
5595 Don't add to these here.
5596 (CFLAGS-libc-start.c): Likewise.
5597
5598 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
5599 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
5600 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
5601 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
5602 * sysdeps/arm/Makefile [$(subdir) = rt]
5603 (librt-sysdep_routines, librt-shared-only-routines):
5604 Append rt-aeabi_unwind_cpp_pr1 here.
5605 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
5606 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
5607 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
5608 (libpthread-sysdep_routines, libpthread-shared-only-routines):
5609 Append nptl-aeabi_unwind_cpp_pr1 here.
5610 (tests): Filter out tst-cleanupx4 here.
5611 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
5612 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
5613 Don't do those here.
5614
354426bb
JM
56152014-06-26 Joseph Myers <joseph@codesourcery.com>
5616
5617 * scripts/list-sources.sh: Do not handle ports specially.
5618
28b0a8c9
RM
56192014-06-26 Roland McGrath <roland@hack.frob.com>
5620
a3dd035d
RM
5621 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
5622 * sysdeps/arm/feupdateenv.c: Likewise.
5623
28b0a8c9
RM
5624 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
5625
e66a8203
JM
56262014-06-26 Joseph Myers <joseph@codesourcery.com>
5627
5628 * manual/texinfo.tex: Update to version 2014-05-05.10 with
5629 trailing whitespace removed.
5630 * scripts/config.guess: Update to version 2014-03-23.
5631 * scripts/config.sub: Update to version 2014-05-01
5632 * scripts/install-sh: Update to version 2013-12-25.23.
5633 * scripts/move-if-change: Update from gnulib.
5634
74171115
SP
56352014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
5636
b97c9ce5
SP
5637 * debug/memmove_chk.c: Remove pagecopy.h include.
5638
4000f892
SP
56392014-06-26 Paul Eggert <eggert@cs.ucla.edu>
5640
74171115
SP
5641 * time/mktime.c (leapyear): Remove inline keyword. The code is now
5642 identical to gnulib mktime.
5643
a8779c28
JM
56442014-06-26 Joseph Myers <joseph@codesourcery.com>
5645
e64708de
JM
5646 * configure.ac: Do not test for machine being rs6000. Do not test
5647 for powerpc*-*soft.
5648 * configure: Regenerated.
5649
a8779c28
JM
5650 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
5651 test.
5652 * configure: Regenerated.
5653 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
5654 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
5655 Remove configure test.
5656 * sysdeps/arm/configure: Regenerated.
5657 * sysdeps/nptl/configure.ac: Do not check
5658 libc_cv_asm_cfi_directives.
5659 * sysdeps/nptl/configure: Regenerated.
5660 * sysdeps/x86_64/nptl/configure.ac: Remove file.
5661 * sysdeps/x86_64/nptl/configure: Remove generated file.
5662 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
5663 unconditional.
5664 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
5665
2aac0a86
SP
56662014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
5667
059bf913
SP
5668 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
5669 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
5670 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
5671 it is defined.
5672
4cf5b6d0
SP
5673 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
5674 instead of whether it is defined.
5675 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
5676 * sysdeps/hppa/dl-machine.h: Likewise.
5677 * sysdeps/ia64/dl-machine.h: Likewise.
5678 * sysdeps/m68k/dl-machine.h: Likewise.
5679 * sysdeps/microblaze/dl-machine.h: Likewise.
5680 * sysdeps/mips/dl-machine.: Likewise.
5681 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
5682 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
5683 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
5684 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
5685 * sysdeps/sh/dl-machine.h: Likewise.
5686 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
5687 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
5688 * sysdeps/tile/dl-machine.h: Likewise.
5689 * sysdeps/x86_64/dl-machine.h: Likewise.
5690
2aac0a86
SP
5691 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
5692 code.
5693 (verify_persistent_db): Likewise.
5694
6ad2df0b
RM
56952014-06-26 Roland McGrath <roland@hack.frob.com>
5696
d8a483f3
RM
5697 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
5698 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
5699 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
5700 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
5701 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
5702 Moved ...
5703 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
5704 ... here.
5705 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
5706 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
5707 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
5708 Identical file removed.
5709 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
5710 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
5711 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
5712 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
5713 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
5714 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
5715 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
5716 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
5717 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
5718 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
5719 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
5720 Moved ...
5721 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
5722 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
5723 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
5724 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
5725 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
5726 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
5727 Moved ...
5728 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
5729 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
5730 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
5731 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
5732 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
5733 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
5734 Identical file removed.
5735 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
5736 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
5737 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
5738 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
5739 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
5740 Moved ...
5741 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
5742 ... here.
5743 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
5744 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
5745 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
5746 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
5747 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
5748 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
5749 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
5750 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
5751 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
5752 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
5753 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
5754 Moved ...
5755 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
5756 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
5757 Moved ...
5758 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
5759 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
5760 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
5761 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
5762 Moved ...
5763 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
5764 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
5765 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
5766
52ae23b4
RM
5767 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
5768 folded into ...
5769 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
5770 * sysdeps/unix/sysv/linux/s390/Versions
5771 (libpthread: GLIBC_2.19): New version set.
5772 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
5773 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
5774 (librt: GLIBC_2.3.3): New version set.
5775 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
5776 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
5777 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
5778 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
5779 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
5780 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
5781 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
5782 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
5783 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
5784 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
5785 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
5786 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
5787 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
5788 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
5789 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
5790 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
5791 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
5792 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
5793 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
5794 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
5795 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
5796 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
5797 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
5798 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
5799 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
5800 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
5801 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
5802 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
5803 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
5804 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
5805 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
5806 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
5807 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
5808 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
5809 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
5810 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
5811 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
5812 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
5813 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
5814 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
5815 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
5816 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
5817 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
5818 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
5819 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
5820
39507e4a
RM
5821 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
5822 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
5823 (__libc_vfork): Define the function under this name.
5824 [!NOT_IN_libc] (__vfork): Make this an alias.
5825 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
5826 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
5827 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
5828 (__libc_vfork): Define the function under this name.
5829 [!NOT_IN_libc] (__vfork): Make this an alias.
5830 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
5831 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
5832 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
5833 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
5834 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
5835 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
5836
e549ee56
RM
5837 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
5838 code that was previously under [RESET_PID].
5839 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
5840 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
5841 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
5842
6ad2df0b
RM
5843 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
5844 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
5845 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
5846 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
5847 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
5848 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
5849 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
5850 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
5851 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
5852 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
5853 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
5854 Moved ...
5855 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
5856 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
5857 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
5858 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
5859 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
5860 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
5861 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
5862 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
5863 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
5864 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
5865 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
5866 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
5867 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
5868 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
5869 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
5870 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
5871 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
5872 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
5873 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
5874 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
5875 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
5876 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
5877 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
5878 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
5879 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
5880 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
5881 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
5882 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
5883 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
5884
7c1c1d8e
RM
58852014-06-25 Roland McGrath <roland@hack.frob.com>
5886
5887 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
5888 that was previously under [RESET_PID].
5889 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
5890
3e239be6
JM
58912014-06-25 Joseph Myers <joseph@codesourcery.com>
5892
74385da5
JM
5893 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
5894 not undefine and redefine.
5895 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
5896 [O_CLOEXEC]: Make code unconditional.
5897 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
5898 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
5899 <kernel-features.h>.
5900 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
5901 conditional variable definition.
5902 (shm_open) [O_CLOEXEC]: Make code unconditional.
5903 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
5904 code.
5905
c2570a0b
JM
5906 * configure.ac (USE_REGPARMS): Don't define here.
5907 * configure: Regenerated.
5908 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
5909 * sysdeps/i386/configure: Regenerated.
5910
11b076bb
JM
5911 * nptl/createthread.c: Don't include kernel-features.h.
5912 * nptl/pthread_cancel.c: Likewise.
5913 * nptl/pthread_condattr_setclock.c: Likewise.
5914 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
5915 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
5916 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
5917 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
5918 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
5919 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
5920 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
5921 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
5922 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
5923 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
5924 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
5925 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
5926 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
5927 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
5928 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
5929 * nscd/gai.c: Likewise.
5930 * nss/nss_db/db-open.c: Likewise.
5931 * sysdeps/generic/ldsodefs.h: Likewise.
5932 * sysdeps/sh/nptl/tls.h: Likewise.
5933 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
5934 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
5935 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
5936 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
5937 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
5938 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
5939 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
5940 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
5941 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
5942 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
5943 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
5944 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
5945 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
5946 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
5947 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
5948 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
5949 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
5950 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
5951 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
5952 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
5953 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
5954 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
5955 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
5956 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
5957 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
5958 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
5959 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
5960 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
5961 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
5962 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
5963 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
5964 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
5965 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
5966 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
5967 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
5968 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
5969 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
5970 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
5971 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
5972 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
5973 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
5974 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
5975 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
5976 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
5977 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
5978 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
5979 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
5980 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
5981 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
5982 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
5983 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
5984 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
5985 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
5986 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
5987 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
5988 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
5989 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
5990 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
5991 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
5992 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
5993 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
5994 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
5995 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
5996 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
5997 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
5998 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
5999 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
6000 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
6001 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
6002 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
6003 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
6004 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
6005 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
6006 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
6007 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
6008 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
6009 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
6010 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
6011 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
6012 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
6013 * sysdeps/unix/sysv/linux/pread.c: Likewise.
6014 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
6015 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
6016 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
6017 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
6018 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
6019 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
6020 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
6021 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
6022 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
6023 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
6024 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
6025 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
6026 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
6027 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
6028 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
6029 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
6030 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
6031 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
6032 * sysdeps/unix/sysv/linux/system.c: Likewise.
6033 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
6034 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
6035 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
6036 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
6037 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
6038 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
6039 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
6040
92072d57
JM
6041 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
6042 * configure: Regenerated.
6043 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
6044
3e239be6
JM
6045 * configure.ac (base_machine): Do not set specially for particular
6046 machines here.
6047 * configure: Regenerated.
6048 * sysdeps/powerpc/preconfigure: Move machine and base_machine
6049 settings from configure.ac.
6050 * sysdeps/i386/preconfigure: New file.
6051 * sysdeps/s390/preconfigure: Likewise.
6052 * sysdeps/sh/preconfigure: Likewise.
6053 * sysdeps/sparc/preconfigure: Likewise.
6054
06d50baa
RM
60552014-06-25 Roland McGrath <roland@hack.frob.com>
6056
74836003
RM
6057 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
6058 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
6059 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
6060 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
6061 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
6062 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
6063 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
6064 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
6065 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
6066 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
6067 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
6068 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
6069 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
6070 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
6071 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
6072 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
6073 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
6074 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
6075 * sysdeps/sparc/sparc64/Makefile: ... appended here.
6076
6077 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
6078 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
6079 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
6080 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
6081 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
6082 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
6083 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
6084 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
6085 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
6086 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
6087 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
6088 * sysdeps/sparc/sparc32/sem_post.c: ... here.
6089 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
6090 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
6091 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
6092 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
6093 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
6094 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
6095 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
6096 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
6097 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
6098 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
6099 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
6100 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
6101 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
6102 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
6103 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
6104 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
6105 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
6106 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
6107 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
6108 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
6109 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
6110 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
6111 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
6112 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
6113 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
6114 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
6115
06d50baa
RM
6116 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
6117 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
6118 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
6119 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
6120 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
6121 Moved ...
6122 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
6123 ... here.
6124 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
6125 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
6126 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
6127 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
6128 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
6129 Moved ...
6130 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
6131 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
6132 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
6133 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
6134 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
6135 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
6136 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
6137 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
6138 Moved ...
6139 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
6140 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
6141 Moved ...
6142 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
6143 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
6144 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
6145 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
6146 Moved ...
6147 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
6148 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
6149 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
6150 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
6151 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
6152 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
6153 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
6154 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
6155 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
6156 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
6157 Moved ...
6158 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
6159 ... here.
6160 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
6161 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
6162 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
6163 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
6164 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
6165 Moved ...
6166 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
6167 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
6168 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
6169 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
6170 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
6171 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
6172 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
6173 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
6174 Moved ...
6175 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
6176 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
6177 Moved ...
6178 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
6179 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
6180 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
6181 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
6182 Moved ...
6183 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
6184 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
6185 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
6186 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
6187 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
6188
a4ccbc9b
JM
61892014-06-25 Joseph Myers <joseph@codesourcery.com>
6190
0828edbf
JM
6191 * timezone/checktab.awk: Update from tzcode 2014e.
6192 * timezone/private.h: Likewise.
6193 * timezone/tzfile.h: Likewise.
6194 * timezone/zdump.c: Likewise.
6195 * timezone/zic.c: Likewise.
6196
a4ccbc9b
JM
6197 * sysdeps/unix/sysv/linux/kernel-features.h
6198 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
6199 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
6200 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
6201 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
6202 Remove conditional code.
6203
9aea0cb8
WN
62042014-06-25 Will Newton <will.newton@linaro.org>
6205
6206 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
6207 (_dl_arm_cap_flags): Add HWCAP2 values.
6208 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
6209 (_DL_HWCAP_COUNT): Increase to 37.
6210 (_DL_HWCAP_LAST): New define.
6211 (_DL_HWCAP2_LAST): New define.
6212 (_dl_procinfo): Add support for printing
6213 AT_HWCAP2 entries.
6214 (_dl_string_hwcap): Use _dl_hwcap_string.
6215
6eaa65ce
AZ
62162014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6217
6218 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6219
0f5b7185
JM
62202014-06-25 Joseph Myers <joseph@codesourcery.com>
6221
cfd2ea50
JM
6222 * README: Do not mention ports directory.
6223
cecf2ed4
JM
6224 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
6225 Remove macro.
6226 * sysdeps/unix/sysv/linux/futimes.c: Do not include
6227 <kernel-features.h>.
6228 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
6229 conditional variable definition.
6230 (__futimes): Update comment.
6231 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
6232 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
6233
a638de82
JM
6234 [BZ #16560]
6235 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
6236 arguments close to 0.
6237 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
6238 Likewise.
6239 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
6240 Likewise.
6241 * math/auto-libm-test-in: Add more tests of exp10.
6242 * math/auto-libm-test-out: Regenerated.
6243 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6244
0f5b7185
JM
6245 * sysdeps/unix/sysv/linux/kernel-features.h
6246 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
6247 * sysdeps/unix/sysv/linux/readv.c: Do not include
6248 <kernel-features.h>.
6249 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
6250 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
6251 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
6252 unconditional.
6253 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
6254 conditional code.
6255 * sysdeps/unix/sysv/linux/writev.c: Do not include
6256 <kernel-features.h>.
6257 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
6258 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
6259 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
6260 unconditional.
6261 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
6262 conditional code.
6263
c7aec4be
WN
62642014-06-25 Will Newton <will.newton@linaro.org>
6265
6266 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
6267 comment changes throughout the file. Remove checks
6268 for HAVE_*_H definitions that are not required.
6269 (__gen_tempname): Call abort if an unknown kind value is
6270 passed.
6271
c5241f95
AS
62722014-06-25 Andreas Schwab <schwab@suse.de>
6273
6274 [BZ #17086]
6275 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
6276 scalbln, scalblnf, scalblnl in libc.
6277
911422da
SP
62782014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
6279
6280 [BZ #17086]
6281 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
6282 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
6283 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
6284
0d749bbe
RM
62852014-06-24 Roland McGrath <roland@hack.frob.com>
6286
6287 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
6288 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
6289 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
6290 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
6291 Update #include.
6292 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
6293 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
6294 Update #include.
6295 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
6296 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
6297 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
6298 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
6299 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
6300 * sysdeps/x86/bits/pthreadtypes.h: ... here.
6301 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
6302 * sysdeps/x86/bits/semaphore.h: ... here.
6303 * sysdeps/x86/nptl/elide.h: Moved ...
6304 * sysdeps/x86/elide.h: ... here.
6305 * sysdeps/x86_64/nptl/Implies: File removed.
6306 * sysdeps/i386/nptl/Implies: File removed.
6307
0ea5d373
JM
63082014-06-24 Joseph Myers <joseph@codesourcery.com>
6309
4060283d
JM
6310 [BZ #16539]
6311 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
6312 return the argument for normal arguments with exponent below -64.
6313 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
6314 Likewise.
6315 * math/auto-libm-test-in: Add another test of expm1.
6316 * math/auto-libm-test-out: Regenerated.
6317
e7dd3c8c
JM
6318 [BZ #16287]
6319 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
6320 calling __erfcl for arguments at least 16.
6321 * math/auto-libm-test-in: Add more tests of erf.
6322 * math/auto-libm-test-out: Regenerated.
6323
0ea5d373
JM
6324 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
6325 individual architectures.
6326 * sysdeps/unix/sysv/linux/configure: Regenerated.
6327 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
6328 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
6329 * sysdeps/unix/sysv/linux/powerpc/configure.ac
6330 (ldd_rewrite_script): Define variable.
6331 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
6332 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
6333 file.
6334 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
6335 generated file.
6336 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
6337 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
6338 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
6339 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
6340 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
6341 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
6342 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
6343 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
6344
2307e126
SP
63452014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
6346
6347 [BZ #17084]
6348 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
6349 Rename member __data.d to __data.__elision_data.
6350
c0a4ed77
W
63512014-06-24 Wilco <wdijkstr@arm.com>
6352
6353 * NEWS: Add 16918 to fixed bug list.
6354
b8c00573
W
63552014-06-24 Wilco <wdijkstr@arm.com>
6356
6357 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
6358
b5570d92
W
63592014-06-24 Wilco <wdijkstr@arm.com>
6360
6361 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
6362 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
6363 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
6364 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
6365 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
6366 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
6367 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
6368 Use _FPU_MASK_RM.
6369
947bdca2
W
63702014-06-24 Wilco <wdijkstr@arm.com>
6371
6372 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
6373
00f669ed
W
63742014-06-24 Wilco <wdijkstr@arm.com>
6375
6376 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
6377 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
6378 * sysdeps/arm/fesetround.c (fesetround): Remove space.
6379 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
6380
db59bad3
W
63812014-06-24 Wilco <wdijkstr@arm.com>
6382
6383 [BZ #16918]
6384 * sysdeps/arm/feupdateenv.c (feupdateenv):
6385 Rewrite to reduce FPSCR accesses and fix return value.
6386
001f7b77
W
63872014-06-24 Wilco <wdijkstr@arm.com>
6388
6389 * sysdeps/arm/fclrexcpt.c (feclearexcept):
6390 Optimize to avoid unnecessary FPSCR writes.
6391 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
6392 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
6393 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
6394 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
6395
4841e6a6
W
63962014-06-24 Wilco <wdijkstr@arm.com>
6397
6398 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
6399 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
6400 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
6401 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
6402 Call libc_fetestexcept_vfp.
6403 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
6404 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
6405 __SOFTFP__ ifdef so that they can be built for softfp.
6406
0813022c
SP
64072014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
6408
08e5862f
SP
6409 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
6410 argument type signed char.
6411
0813022c
SP
6412 * Makerules (check-abi): Dump diff of symlist if the test
6413 fails.
6414
3fc7236a
RM
64152014-06-23 Roland McGrath <roland@hack.frob.com>
6416
aba8ef95
RM
6417 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
6418 using abort.
6419
3fc7236a
RM
6420 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
6421 Remove unused variable ST.
6422
4da6db51
JM
64232014-06-23 Joseph Myers <joseph@codesourcery.com>
6424
4648909d
JM
6425 [BZ #16354]
6426 [BZ #17061]
6427 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
6428 small arguments before calling __expm1.
6429 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
6430 small arguments before calling __expm1f.
6431 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
6432 small arguments before calling __expm1l.
6433 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
6434 Likewise.
6435 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
6436 * math/auto-libm-test-in: Add more cosh tests. Do not allow
6437 spurious underflow for some cosh tests.
6438 * math/auto-libm-test-out: Regenerated.
6439 * sysdeps/i386/fpu/libm-test-ulps: Update.
6440
46a3d3c7
JM
6441 [BZ #17050]
6442 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
6443 (__ieee754_y1): Set errno if return value overflows.
6444 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
6445 (__ieee754_y1f): Set errno if return value overflows.
6446 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
6447 (__ieee754_y1l): Set errno if return value overflows.
6448 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
6449 (__ieee754_y1l): Set errno if return value overflows.
6450 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
6451 * math/auto-libm-test-out: Regenerated.
6452
863893ec
JM
6453 * math/gen-auto-libm-tests.c: Document use of
6454 ignore-zero-inf-sign.
6455 (input_flag_type): Add value flag_ignore_zero_inf_sign.
6456 (input_flags): Add ignore-zero-inf-sign.
6457 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
6458 * math/gen-libm-test.pl (generate_testfile): Handle
6459 ignore-zero-inf-sign.
6460 * math/auto-libm-test-in: Mark some cpow tests with
6461 ignore-zero-inf-sign and some with xfail-rounding.
6462 * math/auto-libm-test-out: Regenerated.
6463 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
6464 * sysdeps/i386/fpu/libm-test-ulps: Update.
6465 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6466
4da6db51
JM
6467 [BZ #16315]
6468 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
6469 overflowing or underflowing operations take place with sign of
6470 result.
6471 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
6472 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
6473 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
6474 (__ieee754_pow): Recompute overflowing and underflowing results in
6475 original rounding mode.
6476 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
6477 (__powl_helper): Allow negative argument X and scale negated value
6478 as needed. Avoid passing value outside [-1, 1] to f2xm1.
6479 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
6480 overflowing or underflowing operations take place with sign of
6481 result.
6482 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
6483 Include <math.h>.
6484 * math/auto-libm-test-in: Add more tests of pow.
6485 * math/auto-libm-test-out: Regenerated.
6486 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
6487 (pow_tonearest_test_data): Remove.
6488 (pow_test_tonearest): Likewise.
6489 (pow_towardzero_test_data): Likewise.
6490 (pow_test_towardzero): Likewise.
6491 (pow_downward_test_data): Likewise.
6492 (pow_test_downward): Likewise.
6493 (pow_upward_test_data): Likewise.
6494 (pow_test_upward): Likewise.
6495 (main): Don't call removed functions.
6496 * sysdeps/i386/fpu/libm-test-ulps: Update.
6497 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6498
5686b236
RM
64992014-06-23 Roland McGrath <roland@hack.frob.com>
6500
6501 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
6502 Moved ...
6503 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
6504 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
6505 Moved ...
6506 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
6507 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
6508 Moved ...
6509 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
6510 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
6511 Moved ...
6512 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
6513 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
6514 File removed.
6515 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
6516 File removed.
6517 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
6518 File removed.
6519 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
6520 File removed.
6521 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
6522 File removed.
6523 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
6524 File removed.
6525 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
6526 File removed.
6527 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
6528 File removed.
6529 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
6530 File removed.
6531 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
6532 File removed.
6533 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
6534 File removed.
6535 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
6536 File removed.
6537 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
6538 Moved ...
6539 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
6540 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
6541 Moved ...
6542 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
6543 ... here.
6544 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
6545 Moved ...
6546 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
6547 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
6548 Moved ...
6549 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
6550 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
6551 Moved ...
6552 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
6553 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
6554 Moved ...
6555 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
6556 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
6557 Moved ...
6558 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
6559 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
6560 Moved ...
6561 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
6562 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
6563 Moved ...
6564 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
6565 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
6566 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
6567 ... here.
6568 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
6569 Moved ...
6570 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
6571 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
6572 Moved ...
6573 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
6574 ... here.
6575 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
6576 Moved ...
6577 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
6578 ... here.
6579 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
6580 Moved ...
6581 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
6582 ... here.
6583 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
6584 Moved ...
6585 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
6586 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
6587 Moved ...
6588 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
6589 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
6590 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
6591 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
6592 Moved ...
6593 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
6594 ... here.
6595 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
6596 Moved ...
6597 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
6598 ... here.
6599 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
6600 Moved ...
6601 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
6602 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
6603 Moved ...
6604 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
6605 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
6606 Moved ...
6607 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
6608 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
6609 Moved ...
6610 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
6611 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
6612 Moved ...
6613 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
6614 ... here.
6615 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
6616 Moved ...
6617 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
6618 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
6619 Moved ...
6620 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
6621 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
6622 Moved ...
6623 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
6624 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
6625 Moved ...
6626 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
6627 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
6628 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
6629 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
6630 Moved ...
6631 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
6632 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
6633 Moved ...
6634 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
6635 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
6636 Moved ...
6637 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
6638 ... here.
6639 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
6640 Moved ...
6641 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
6642 ... here.
6643 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
6644 Moved ...
6645 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
6646 ... here.
6647 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
6648 Moved ...
6649 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
6650 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
6651 Moved ...
6652 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
6653 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
6654 Moved ...
6655 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
6656 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
6657 Moved ...
6658 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
6659 ... here.
6660 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
6661 Moved ...
6662 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
6663 ... here.
6664 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
6665 Moved ...
6666 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
6667 ... here.
6668 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
6669 Moved ...
6670 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
6671 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
6672 Moved ...
6673 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
6674
e6d90d67
WD
66752014-06-23 Will Newton <will.newton@linaro.org>
6676 Wilco <wdijkstr@arm.com>
6677
6678 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
6679 implementation. Include get-rounding-mode.h.
6680 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
6681 [!libc_feholdsetround_noex_ctx]: Define
6682 libc_feholdsetround_noex_ctx.
6683 [!libc_feholdsetround_noexf_ctx]: Define
6684 libc_feholdsetround_noexf_ctx.
6685 [!libc_feholdsetround_noexl_ctx]: Define
6686 libc_feholdsetround_noexl_ctx.
6687 (libc_feholdsetround_ctx): New function.
6688 (libc_feresetround_ctx): New function.
6689 (libc_feholdsetround_noex_ctx): New function.
6690 (libc_feresetround_noex_ctx): New function.
6691
d42df555
RM
66922014-06-23 Roland McGrath <roland@hack.frob.com>
6693
88a46474
RM
6694 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
6695 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
6696 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
6697 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
6698 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
6699 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
6700
15bed472
RM
6701 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
6702 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
6703 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
6704 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
6705 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
6706 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
6707 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
6708 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
6709 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
6710 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
6711 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
6712 Moved ...
6713 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
6714 ... here.
6715 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
6716 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
6717 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
6718 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
6719 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
6720 Moved ...
6721 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
6722 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
6723 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
6724 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
6725 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
6726 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
6727 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
6728 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
6729 Moved ...
6730 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
6731 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
6732 Moved ...
6733 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
6734 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
6735 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
6736 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
6737 Moved ...
6738 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
6739 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
6740 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
6741 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
6742 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
6743 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
6744 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
6745 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
6746 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
6747 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
6748 Moved ...
6749 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
6750 ... here.
6751 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
6752 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
6753 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
6754 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
6755 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
6756 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
6757 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
6758 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
6759 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
6760 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
6761 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
6762 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
6763 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
6764 Moved ...
6765 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
6766 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
6767 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
6768 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
6769 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
6770 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
6771 Moved ...
6772 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
6773 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
6774 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
6775 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
6776 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
6777
d42df555
RM
6778 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
6779 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
6780 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
6781 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
6782 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
6783 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
6784 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
6785 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
6786 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
6787 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
6788 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
6789 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
6790 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
6791 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
6792 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
6793 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
6794 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
6795 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
6796 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
6797 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
6798 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
6799 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
6800 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
6801 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
6802 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
6803 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
6804 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
6805 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
6806
76e5216e
JM
68072014-06-23 Joseph Myers <joseph@codesourcery.com>
6808
6809 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
6810 (FALLOC_FL_COLLAPSE_RANGE): New macro.
6811 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
6812 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
6813 (IPV6_PMTUDISC_INTERFACE): Likewise.
6814 (IPV6_PMTUDISC_OMIT): Likewise.
6815
7a81cbcc
AS
68162014-06-23 Andreas Schwab <schwab@suse.de>
6817
6818 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
6819 Remove unused errout label.
6820
db224009
AZ
68212014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6822
6823 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
6824 macro: hardware supports Vector Crypto instructions.
6825
f393b4aa
WN
68262014-06-23 Will Newton <will.newton@linaro.org>
6827
cc7d0447
WN
6828 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
6829 rather than __builtin_expect.
6830
d6d06225
WN
6831 * elf/dl-lookup.c (undefined_msg): Remove variable.
6832 (_dl_lookup_symbol_x): Replace undefined_msg with string
6833 literal.
6834
f393b4aa
WN
6835 * elf/dl-lookup.c (do_lookup_unique): New function.
6836 (do_lookup_x): Move STB_GNU_UNIQUE handling code
6837 to a separate function.
6838
ac60763e
AS
68392014-06-23 Andreas Schwab <schwab@suse.de>
6840
6841 [BZ #17079]
6842 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
6843 before reading the next line.
6844
c5c13355
WN
68452014-06-23 Will Newton <will.newton@linaro.org>
6846
6847 * test-skeleton.c (signal_handler): Use printf and %m
6848 rather than perror. Use printf rather than fprintf to
6849 stderr. Use puts rather than fputs to stderr.
6850 (main): Likewise.
6851
bd3675f9
LC
68522014-06-22 Ludovic Courtès <ludo@gnu.org>
6853
6854 * nscd/nscd.c (thread_info_t): Remove typedef.
6855 (thread_info): Remove variable.
6856
d03efb2f
AM
68572014-06-21 Allan McRae <allan@archlinux.org>
6858
6859 * NEWS: Mention CVE-2014-4043.
6860
bc4a86fa
RM
68612014-06-20 Roland McGrath <roland@hack.frob.com>
6862
dc9a54f8
RM
6863 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
6864 * nptl/smp.h: ... here.
6865
bd7022c4
RM
6866 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
6867
26ffd5e6
RM
6868 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
6869 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
6870 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
6871 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
6872
93a6d082
RM
6873 * nptl/allocatestack.c: Include <stack-aliasing.h>.
6874 * nptl/stack-aliasing.h: New file.
6875 * sysdeps/i386/i686/stack-aliasing.h: New file.
6876 * sysdeps/i386/i686/nptl/Makefile: File removed.
6877 * sysdeps/x86_64/stack-aliasing.h: New file.
6878 * sysdeps/x86_64/nptl/Makefile
6879 (CFLAGS-pthread_create.c): Variable removed.
6880
bc4a86fa
RM
6881 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
6882 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
6883 old file.
6884 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
6885 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
6886 old file.
6887
2272ffc1
JM
68882014-06-21 Joseph Myers <joseph@codesourcery.com>
6889
6890 * sysdeps/unix/sysv/linux/arm/kernel-features.h
6891 (__ASSUME_SIGFRAME_V2): Remove macro.
6892 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
6893 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
6894 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
6895 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
6896 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
6897 Declare as function. Remove conditional macro definitions.
6898 (__default_rt_sa_restorer): Likewise.
6899 (__default_sa_restorer_v1): Remove declaration.
6900 (__default_sa_restorer_v2): Likewise.
6901 (__default_rt_sa_restorer_v1): Likewise.
6902 (__default_rt_sa_restorer_v2): Likewise.
6903 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
6904 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
6905 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
6906
4b88139b
RM
69072014-06-20 Roland McGrath <roland@hack.frob.com>
6908
6909 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
6910 (libpthread-routines): Add sysdep.
6911 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
6912 * sysdeps/unix/sysv/linux/sparc/Versions
6913 (libpthread: GLIBC_2.3.3): New version set.
6914 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
6915 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
6916 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
6917 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
6918 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
6919 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
6920 Moved ...
6921 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
6922 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
6923 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
6924 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
6925 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
6926 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
6927 * sysdeps/sparc/nptl/sem_init.c: ... here.
6928 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
6929 * sysdeps/sparc/nptl/sem_post.c: ... here.
6930 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
6931 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
6932 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
6933 * sysdeps/sparc/nptl/sem_wait.c: ... here.
6934 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
6935 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
6936 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
6937 (libpthread-routines): Add cpu_relax.
6938 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
6939 File removed.
6940 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
6941 (librt: GLIBC_2.3.3): New version set.
6942 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
6943 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
6944 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
6945 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
6946 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
6947 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
6948 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
6949 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
6950 Moved ...
6951 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
6952 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
6953 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
6954 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
6955 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
6956 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
6957 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
6958 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
6959 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
6960 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
6961 Moved ...
6962 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
6963 Update #include.
6964 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
6965 Moved ...
6966 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
6967 Update #include.
6968 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
6969 Moved ...
6970 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
6971 Update #include.
6972 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
6973 Moved ...
6974 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
6975 Update #include.
6976 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
6977 Moved ...
6978 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
6979 Update #include.
6980 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
6981 Moved ...
6982 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
6983 Update #include.
6984 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
6985 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
6986 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
6987 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
6988 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
6989 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
6990 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
6991 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
6992 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
6993 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
6994 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
6995 Moved ...
6996 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
6997 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
6998 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
6999 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
7000 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
7001
d7109027
JM
70022014-06-20 Joseph Myers <joseph@codesourcery.com>
7003
9bc6103d
JM
7004 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
7005 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
7006 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
7007 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
7008 * nscd/nscd.c: Likewise.
7009 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
7010 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
7011 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
7012 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
7013
d7109027
JM
7014 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
7015 <kernel-features.h>.
7016 (init_mq_netlink): Remove conditional have_sock_cloexec
7017 definitions. Remove code conditional on have_sock_cloexec < 0.
7018 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
7019 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
7020 * sysdeps/unix/sysv/linux/opensock.c: Do not include
7021 <kernel-features.h>.
7022 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
7023 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
7024
d92d8f8a
L
70252014-06-20 H.J. Lu <hongjiu.lu@intel.com>
7026
7027 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
7028 Add tests for memset_chk and memset.
7029
7030 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
7031 with AVX2_Usable.
7032
4e6d2347
MR
70332014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
7034
257ce712
MR
7035 [BZ #16046]
7036 * elf/tst-dl-iter-static.c: New file.
7037 * elf/Makefile (tests-static): Add tst-dl-iter-static.
7038
4e6d2347
MR
7039 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
7040 error.
7041
a2a76afe
JM
70422014-06-20 Joseph Myers <joseph@codesourcery.com>
7043
7fd00f99
JM
7044 * sysdeps/unix/sysv/linux/kernel-features.h
7045 (__ASSUME_F_GETOWN_EX): Remove macro.
7046 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
7047 <kernel-features.h>.
7048 (miss_F_GETOWN_EX): Remove variable or macro.
7049 (do_fcntl): Do not check miss_F_GETOWN_EX.
7050 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
7051
4a103975
JM
7052 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
7053 Remove macro.
7054 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
7055 [!__ASSUME_AT_RANDOM]: Remove conditional code.
7056 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
7057
a2a76afe
JM
7058 * sysdeps/unix/sysv/linux/kernel-features.h
7059 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
7060 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
7061 [ADJ_OFFSET_SS_READ]: Make code unconditional.
7062 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
7063
90e5dd48
MR
70642014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
7065
7066 [BZ #17075]
7067 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
7068 Fix calculation of the symbol's value.
7069 * sysdeps/arm/tst-armtlsdescloc.c: New file.
7070 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
7071 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
7072 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
7073 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
7074 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
7075 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
7076 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
7077 (modules-names): Add `tst-armtlsdescmod',
7078 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
7079 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
7080 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
7081 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
7082 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
7083 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
7084 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
7085 ($(objpfx)tst-armtlsdescloc): New dependency.
7086 ($(objpfx)tst-armtlsdescextnow): Likewise.
7087 ($(objpfx)tst-armtlsdescextlazy): Likewise.
7088 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
7089 TLS scheme support.
7090 * sysdeps/arm/configure: Regenerate.
7091
809fdf0d
JM
70922014-06-20 Joseph Myers <joseph@codesourcery.com>
7093
7094 * include/fcntl.h (__atfct_seterrno): Remove prototype.
7095 (__atfct_seterrno_2): Likewise.
7096 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
7097 <kernel-features.h>.
7098 (__ASSUME_ATFCTS): Do not undefine and redefine.
7099 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
7100 (__have_atfcts): Remove conditional definition.
7101 (__fxstatat([__NR_fstatat64]: Make code unconditional.
7102 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
7103 unreachable if [__ASSUME_ATFCTS].
7104 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
7105 not undefine and redefine.
7106 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
7107 <kernel-features.h>.
7108 (faccessat) [__NR_faccessat]: Make code unconditional.
7109 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
7110 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
7111 <kernel-features.h>.
7112 (fchmodat) [__NR_fchmodat]: Make code unconditional.
7113 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
7114 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
7115 <kernel-features.h>.
7116 (fchownat) [__NR_fchownat]: Make code unconditional.
7117 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
7118 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
7119 <kernel-features.h>.
7120 (futimesat) [__NR_futimesat]: Make code unconditional.
7121 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
7122 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
7123 <kernel-features.h>.
7124 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
7125 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
7126 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
7127 <kernel-features.h>.
7128 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
7129 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
7130 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
7131 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
7132 <kernel-features.h>.
7133 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
7134 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
7135 * sysdeps/unix/sysv/linux/linkat.c: Do not include
7136 <kernel-features.h>.
7137 (linkat) [__NR_linkat]: Make code unconditional.
7138 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
7139 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
7140 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
7141 <kernel-features.h>.
7142 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
7143 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
7144 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
7145 <kernel-features.h>.
7146 (mkdirat) [__NR_mkdirat]: Make code unconditional.
7147 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
7148 * sysdeps/unix/sysv/linux/openat.c: Do not include
7149 <kernel-features.h>.
7150 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
7151 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
7152 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
7153 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
7154 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
7155 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
7156 <kernel-features.h>.
7157 (readlinkat) [__NR_readlinkat]: Make code unconditional.
7158 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
7159 result of INLINE_SYSCALL directly, not via int variable.
7160 * sysdeps/unix/sysv/linux/renameat.c: Do not include
7161 <kernel-features.h>.
7162 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
7163 (renameat) [__NR_renameat]: Make code unconditional.
7164 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
7165 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
7166 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
7167 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
7168 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
7169 (__ASSUME_ATFCTS): Do not undefine and redefine.
7170 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
7171 <kernel-features.h>.
7172 (symlinkat) [__NR_symlinkat]: Make code unconditional.
7173 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
7174 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
7175 <kernel-features.h>.
7176 (unlinkat) [__NR_unlinkat]: Make code unconditional.
7177 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
7178 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
7179 (__ASSUME_ATFCTS): Do not undefine and redefine.
7180 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
7181 <kernel-features.h>.
7182 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
7183 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
7184 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
7185 <kernel-features.h>.
7186 (__xmknodat) [__NR_mknodat]: Make code unconditional.
7187 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
7188
224c6c51
L
71892014-06-20 H.J. Lu <hongjiu.lu@intel.com>
7190
7191 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
7192
aa6ec754
AS
71932014-06-20 Andreas Schwab <schwab@linux-m68k.org>
7194
7195 [BZ #17069]
7196 * posix/regcomp.c (parse_reg_exp): Deallocate partially
7197 constructed tree before returning error.
7198 * posix/bug-regexp36.c: Expand test case.
7199
d8c2869d
SL
72002014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
7201
3ef6b850
SL
7202 [BZ #6803]
7203 * math/libm-test.inc (scalbln_test_date):
7204 Add errno expectations.
7205 * math/w_scalblnf.c: New File.
7206 Add wrapper which checks for setting errno to ERANGE.
7207 Add weak_alias for corresponding scalbln function.
7208 * math/w_scalbln.c: Likewise.
7209 * math/w_scalblnl.c: Likewise.
7210 * math/Makefile (libm-calls): Add w_scalbln.
7211 * sysdeps/ieee754/flt-32/s_scalblnf.c:
7212 Remove weak_alias for corresponding scalbln function.
7213 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
7214 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
7215 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
7216 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
7217 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
7218 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
7219 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
7220 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
7221 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
7222 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
7223 Remove long_double_symbol for scalblnl function in libm, libc.
7224 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
7225 Add wrapper which checks for setting errno to ERANGE.
7226 Add long_double_symbol for scalblnl function in libm, libc.
7227 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
7228 Remove long_double_symbol for scalblnl in libm.
7229 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
7230 Add wrapper which checks for setting errno to ERANGE.
7231 Add long_double_symbol for scalblnl function in libm.
7232 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
7233 Do not use wrapper because of own implementation.
7234
c8daec5c
L
72352014-06-19 H.J. Lu <hongjiu.lu@intel.com>
7236
7237 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
7238 3 bytes for __pad1 for x32.
7239 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
7240
5c74e47c
LM
72412014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
7242 H.J. Lu <hongjiu.lu@intel.com>
7243
7244 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
7245 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
7246 * sysdeps/x86_64/multiarch/memset.S: Likewise.
7247 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
7248 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
7249
4d43ef1e
AS
72502014-06-19 Andreas Schwab <schwab@linux-m68k.org>
7251
7252 [BZ #17069]
7253 * posix/regcomp.c (parse_expression): Deallocate partially
7254 constructed tree before returning error.
7255 * posix/Makefile.c (tests): Add bug-regex36.
7256 (generated): Add bug-regex36.mtrace.
7257 (tests-special): Add $(objpfx)bug-regex36-mem.out
7258 (bug-regex36-ENV): New variable.
7259 ($(objpfx)bug-regex36-mem.out): New rule.
7260 * posix/bug-regex36.c: New file.
7261
51a7380b
WN
72622014-06-19 Will Newton <will.newton@linaro.org>
7263
7264 * malloc/malloc.c (systrim): If extra is zero then return
7265 early.
7266
91b84fe5
SP
72672014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
7268
7269 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
7270
f940b965
RE
72712014-06-19 Richard Earnshaw <rearnsha@arm.com>
7272
7273 * sysdeps/aarch64/strchr.S: New file.
7274
4ba7a00f
JM
72752014-06-18 Joseph Myers <joseph@codesourcery.com>
7276
7277 [BZ #17022]
7278 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
7279 from arguments -2 or below.
7280 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
7281 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
7282
b3a9f56b
AS
72832014-06-18 Andreas Schwab <schwab@suse.de>
7284
7285 [BZ #17062]
7286 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
7287 of a bracket expr not to run off the end of the string.
7288 * posix/Makefile (tests): Add tst-fnmatch3.
7289 * posix/tst-fnmatch3.c: New file.
7290
85d89278
JM
72912014-06-18 Joseph Myers <joseph@codesourcery.com>
7292
7293 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
7294 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
7295 [$(cross-compiling) = no]: Likewise.
7296 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
7297 [$(cross-compiling) = no]: Likewise.
7298
754c5a08
RS
72992014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
7300
7301 [BZ #17031]
7302 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
7303 double, adjusted for any remainder from the high double.
7304 * math/libm-test.inc (nearbyint): Add tests.
7305 (rint): Likewise.
7306
556f529d
AZ
73072014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7308
7309 * nptl/sysdeps/powerpc/Makefile: Moved ...
7310 * sysdeps/powerpc/nptl/Makefile: ... here.
7311 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
7312 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
7313 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
7314 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
7315 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
7316 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
7317 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
7318 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
7319 * nptl/sysdeps/powerpc/tls.h: Moved ...
7320 * sysdeps/powerpc/nptl/tls.h: ... here.
7321
91c03c53
JM
73222014-06-16 Joseph Myers <joseph@codesourcery.com>
7323
7324 [BZ #16681]
7325 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
7326 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
7327 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
7328 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
7329 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
7330 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
7331 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
7332 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
7333 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
7334
a76e63c5
AS
73352014-06-17 Andreas Schwab <schwab@linux-m68k.org>
7336
7337 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
7338
f2f6d82f
AS
73392014-06-16 Andreas Schwab <schwab@linux-m68k.org>
7340
ea8a15f6
AS
7341 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
7342 defined operator.
7343
f2f6d82f
AS
7344 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
7345 $TIMEOUTFACTOR.
7346
a7291117
FW
73472014-06-16 Florian Weimer <fweimer@redhat.com>
7348
7349 [BZ #17058]
7350 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
7351 non-executed part of the test.
7352
3d7c00e3
AS
73532014-06-16 Andreas Schwab <schwab@suse.de>
7354
7355 * string/bits/string2.h (strdup, strndup): Update feature guard.
7356
6957fb31
DM
73572014-06-14 David S. Miller <davem@davemloft.net>
7358
7359 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7360
11b9e55b
AS
73612014-06-14 Andreas Schwab <schwab@linux-m68k.org>
7362
1d2a0492
AS
7363 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
7364 that was previously under [RESET_PID].
7365 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
7366
11b9e55b
AS
7367 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
7368 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
7369 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
7370 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
7371 (__libc_vfork): New strong alias.
7372 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
7373
0f6901d0
AK
73742014-06-14 Andi Kleen <ak@linux.intel.com>
7375
7376 * sysdeps/generic/elide.h: New file.
7377
38bbbb9f
SL
73782014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
7379
7380 * Makefile (installed-headers): Adjust path of pthread.h header.
7381
45193bb8
RM
73822014-06-13 Roland McGrath <roland@hack.frob.com>
7383
9a25fd1e
RM
7384 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
7385 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
7386 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
7387 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
7388
4004f7e4
RM
7389 * nptl/sysdeps/s390/Makefile: Moved ...
7390 * sysdeps/s390/nptl/Makefile: ... here.
7391 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
7392 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
7393 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
7394 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
7395 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
7396 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
7397 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
7398 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
7399 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
7400 * sysdeps/s390/nptl/pthreaddef.h: ... here.
7401 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
7402 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
7403 * nptl/sysdeps/s390/tls.h: Moved ...
7404 * sysdeps/s390/nptl/tls.h: ... here.
7405
45193bb8
RM
7406 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
7407 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
7408
f6fdf533
DM
74092014-06-13 David S. Miller <davem@davemloft.net>
7410
7411 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
7412 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
7413 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
7414 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
7415 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
7416 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
7417 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
7418 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
7419 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
7420 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
7421 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
7422 Remove RESET_PID cpp guards.
7423 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
7424 Remove RESET_PID cpp guards.
7425 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
7426
f5d71e14
AS
74272014-06-13 Andreas Schwab <schwab@linux-m68k.org>
7428
7429 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
7430 __sp to uintptr_t.
7431
b7aa8caa
AK
74322014-06-13 Andi Kleen <ak@linux.intel.com>
7433
4b266200
AZ
7434 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
7435 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
7436 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
7437 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
7438 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
7439 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
7440 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
7441 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
7442 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
7443 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
7444 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
7445 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
7446 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
7447 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
7448 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
7449 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
7450 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
7451 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
7452 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
7453 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
8491ed6d
AK
7454
7455 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
4b266200
AZ
7456 (pthread_rwlock_rdlock): Add elision.
7457 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
7458 (pthread_rwlock_wrlock): Add elision.
7459 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
7460 (pthread_rwlock_trywrlock): Add elision.
7461 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
7462 (pthread_rwlock_tryrdlock): Add elision.
7463 * nptl/pthread_rwlock_unlock.c: Include elide.h.
7464 (pthread_rwlock_tryrdlock): Add elision unlock.
7465 * nptl/sysdeps/pthread/pthread.h:
7466 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
7467 (PTHREAD_RWLOCK_INITIALIZER,
7468 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
7469 Handle new elision field.
7470 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
7471 * sysdeps/arm/nptl/bits/pthreadtypes.h
7472 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7473 * sysdeps/sh/nptl/bits/pthreadtypes.h
7474 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7475 * sysdeps/tile/nptl/bits/pthreadtypes.h
7476 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7477 * sysdeps/a/nptl/bits/pthreadtypes.h
7478 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7479 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
7480 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7481 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
7482 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7483 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
7484 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7485 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
7486 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7487 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
7488 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7489 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
7490 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7491 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
7492 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7493 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
7494 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7495 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
7496 (elision_init): Set try_xbegin to zero when no RTM.
7497 * sysdeps/x86/nptl/bits/pthreadtypes.h
7498 (pthread_rwlock_t): Change __pad1 to __rwelision.
7499 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8491ed6d 7500
a832bdd3
AK
75012014-06-13 Andi Kleen <ak@linux.intel.com>
7502
7503 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
7504 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
7505 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
7506 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
7507
995a46bb
MI
75082014-06-13 Meador Inge <meadori@codesourcery.com>
7509
7510 [BZ #16996]
03ed7738 7511 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
995a46bb
MI
7512 that the cached result has been set before returning it.
7513
45262aee
RM
75142014-06-12 Roland McGrath <roland@hack.frob.com>
7515
febf6cc5
RM
7516 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
7517 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
7518 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
7519 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
7520 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
7521 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
7522
e2682246
RM
7523 * nptl/sysdeps/sparc/Makefile: Moved ...
7524 * sysdeps/sparc/nptl/Makefile: ... here.
7525 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
7526 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
7527 * nptl/sysdeps/sparc/tls.h: Moved ...
7528 * sysdeps/sparc/nptl/tls.h: ... here.
7529 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
7530 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
7531 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
7532 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
7533 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
7534 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
7535 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
7536 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
7537 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
7538 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
7539 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
7540 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
7541 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
7542 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
7543 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
7544 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
7545 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
7546 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
7547 Update #include.
7548 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
7549 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
7550 Update #include.
7551 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
7552 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
7553 Update #include.
7554 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
7555 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
7556 Update #include.
7557
b0725f43
RM
7558 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
7559
b14368b8
RM
7560 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
7561 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
7562
c5620eb3
RM
7563 * sysdeps/pthread/posix-timer.h: Include <list.h>.
7564 (struct list_links): Type removed.
7565 (struct thread_node, struct timer_node): Replace struct list_links
7566 with struct list_head.
7567 (list_unlink_ip): Likewise.
7568 * sysdeps/pthread/timer_routines.c
7569 (timer_free_list, thread_free_list, thread_active_list): Likewise.
7570 (list_append, list_insbefore): Likewise.
7571 (list_init): Function removed.
7572 (thread_init, init_module): Use INIT_LIST_HEAD instead.
463dc947
RM
7573 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
7574 * sysdeps/pthread/Makefile: ... here, new file.
7575
7576 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
7577 * sysdeps/nptl/Implies: ... here.
7578 * sysdeps/unix/sysv/linux/Implies: Add nptl.
7579 * nptl/sysdeps/pthread/list.h: Moved ...
7580 * include/list.h: ... here.
7581 * nptl/sysdeps/pthread/createthread.c: Moved ...
7582 * nptl/createthread.c: ... here.
7583 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
7584 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
7585 * nptl/pt-longjmp.c: ... here.
7586 * nptl/sysdeps/pthread/Makefile: Moved ...
7587 * sysdeps/nptl/Makefile: ... here.
7588 * nptl/sysdeps/pthread/Subdirs: Moved ...
7589 * sysdeps/nptl/Subdirs: ... here.
7590 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
7591 * sysdeps/nptl/aio_misc.h: ... here.
7592 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
7593 * sysdeps/nptl/bits/libc-lock.h: ... here.
7594 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
7595 * sysdeps/nptl/bits/libc-lockP.h: ... here.
7596 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
7597 * sysdeps/nptl/bits/stdio-lock.h: ... here.
7598 * nptl/sysdeps/pthread/configure: Moved ...
7599 * sysdeps/nptl/configure: ... here.
7600 * nptl/sysdeps/pthread/configure.ac: Moved ...
7601 * sysdeps/nptl/configure.ac: ... here.
7602 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
7603 * sysdeps/nptl/gai_misc.h: ... here.
7604 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
7605 * sysdeps/nptl/librt-cancellation.c: ... here.
7606 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
7607 * sysdeps/nptl/malloc-machine.h: ... here.
7608 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
7609 * sysdeps/nptl/pthread-functions.h: ... here.
7610 * nptl/sysdeps/pthread/pthread.h: Moved ...
7611 * sysdeps/nptl/pthread.h: ... here.
7612 * nptl/sysdeps/pthread/setxid.h: Moved ...
7613 * sysdeps/nptl/setxid.h: ... here.
7614 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
7615 * sysdeps/nptl/sigfillset.c: ... here.
7616 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
7617 * sysdeps/nptl/tcb-offsets.h: ... here.
7618 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
7619 * sysdeps/nptl/tst-mqueue8x.c: ... here.
7620 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
7621 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
7622 * nptl/sysdeps/pthread/allocalim.h: Moved ...
7623 * sysdeps/pthread/allocalim.h: ... here.
7624 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
7625 * sysdeps/pthread/bits/sigthread.h: ... here.
7626 * nptl/sysdeps/pthread/flockfile.c: Moved ...
7627 * sysdeps/pthread/flockfile.c: ... here.
7628 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
7629 * sysdeps/pthread/ftrylockfile.c: ... here.
7630 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
7631 * sysdeps/pthread/funlockfile.c: ... here.
7632 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
7633 * sysdeps/pthread/posix-timer.h: ... here.
7634 * nptl/sysdeps/pthread/timer_create.c: Moved ...
7635 * sysdeps/pthread/timer_create.c: ... here.
7636 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
7637 * sysdeps/pthread/timer_delete.c: ... here.
7638 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
7639 * sysdeps/pthread/timer_getoverr.c: ... here.
7640 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
7641 * sysdeps/pthread/timer_gettime.c: ... here.
7642 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
7643 * sysdeps/pthread/timer_routines.c: ... here.
7644 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
7645 * sysdeps/pthread/timer_settime.c: ... here.
7646 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
7647 * sysdeps/pthread/tst-timer.c: ... here.
7648 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
7649 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
7650
e876b090
RM
7651 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
7652 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
7653
f6b07b3d
RM
7654 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
7655 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
7656 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
7657 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
7658 Update #include target.
7659 * nptl/sysdeps/i386/i686/Makefile: Moved ...
7660 * sysdeps/i386/i686/nptl/Makefile: ... here.
7661 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
7662 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
7663 Update #include target.
7664 * nptl/sysdeps/i386/i686/tls.h: Moved ...
7665 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
7666 * nptl/sysdeps/i386/Makefile: Moved ...
7667 * sysdeps/i386/nptl/Makefile: ... here.
7668 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
7669 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
7670 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
7671 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
7672 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
7673 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
7674 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
7675 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
7676 * sysdeps/i386/nptl/pthreaddef.h: ... here.
7677 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
7678 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
7679 * nptl/sysdeps/i386/tls.h: Moved ...
7680 * sysdeps/i386/nptl/tls.h: ... here.
7681
45262aee
RM
7682 * sysdeps/sh/Makefile [$(subdir) = csu]
7683 (gen-as-const-headers): Add tcb-offsets.sym.
7684 * nptl/sysdeps/sh/Makefile: File removed.
7685 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
7686 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
7687 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
7688 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
7689 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
7690 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
7691 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
7692 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
7693 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
7694 * sysdeps/sh/nptl/pthreaddef.h: ... here.
7695 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
7696 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
7697 * nptl/sysdeps/sh/tls.h: Moved ...
7698 * sysdeps/sh/nptl/tls.h: ... here.
7699 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
7700 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
7701 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
7702 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
7703 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
7704 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
7705 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
7706 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
7707 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
7708 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
7709 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
7710 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
7711 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
7712 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
7713 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
7714 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
7715 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
7716 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
7717 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
7718 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
7719 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
7720 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
7721 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
7722 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
7723 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
7724 Moved ...
7725 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
7726 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
7727 Moved ...
7728 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
7729 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
7730 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
7731 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
7732 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
7733 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
7734 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
7735 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
7736 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
7737 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
7738 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
7739 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
7740 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
7741 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
7742 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
7743 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
7744 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
7745 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
7746 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
7747
35a5e3e3
SL
77482014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
7749
7750 * posix/spawn_faction_addopen.c: Include string.h.
7751
14642b85
RM
77522014-06-11 Roland McGrath <roland@hack.frob.com>
7753
7754 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
7755 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
7756 * nptl/sysdeps/x86_64/Makefile: Moved ...
7757 * sysdeps/x86_64/nptl/Makefile: ... here.
7758 * nptl/sysdeps/x86_64/configure: Moved ...
7759 * sysdeps/x86_64/nptl/configure: ... here.
7760 * nptl/sysdeps/x86_64/configure.ac: Moved ...
7761 * sysdeps/x86_64/nptl/configure.ac: ... here.
7762 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
7763 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
7764 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
7765 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
7766 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
7767 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
7768 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
7769 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
7770 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
7771 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
7772 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
7773 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
7774 * nptl/sysdeps/x86_64/tls.h: Moved ...
7775 * sysdeps/x86_64/nptl/tls.h: ... here.
7776 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
7777 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
7778 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
7779 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
7780
7781 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
7782
31c44fea
AZ
77832014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7784
7785 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7786
e81a4f9a
JM
77872014-06-11 Joseph Myers <joseph@codesourcery.com>
7788
7789 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
7790 type.
7791 [POSIX] (off_t): Likewise.
7792 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
7793 [POSIX] (S_ISBLK): Require macro.
7794 [POSIX] (S_ISCHR): Likewise.
7795 [POSIX] (S_ISDIR): Likewise.
7796 [POSIX] (S_ISFIFO): Likewise.
7797 [POSIX] (S_ISREG): Likewise.
7798 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
7799 optional-macro.
7800 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
7801 type.
7802 [POSIX] (time_t): Likewise.
7803 [POSIX] (timer_t): Likewise.
7804
89e435f3
FW
78052014-06-11 Florian Weimer <fweimer@redhat.com>
7806
7807 [BZ #17048]
7808 * posix/spawn_int.h (struct __spawn_action): Make the path string
7809 non-const to support deallocation.
7810 * posix/spawn_faction_addopen.c
7811 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
7812 * posix/spawn_faction_destroy.c
7813 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
7814 path in all spawn_do_open actions.
7815 * posix/tst-spawn.c (do_test): Exercise the copy operation in
7816 posix_spawn_file_actions_addopen.
7817
c3a2ebe1
CM
78182014-06-11 Chris Metcalf <cmetcalf@tilera.com>
7819
7820 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
7821 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
7822 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
7823 conditional code always true.
7824 (__libc_vfork): New alias.
7825
9503784a
RM
78262014-06-11 Roland McGrath <roland@hack.frob.com>
7827
c9cab3d2
RM
7828 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
7829 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
7830
d3996c79
RM
7831 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
7832
ba5ec611
RM
7833 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
7834 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
7835
f12b4814
RM
7836 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
7837 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
7838
9503784a
RM
7839 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
7840 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
7841
e23d3d26
VR
78422014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
7843
7844 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
7845 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
7846 multiarch strcmp for PPC64.
7847 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
7848 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
7849 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
7850 multiarch optimizations.
7851 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
7852 (__libc_ifunc_impl_list): Likewise.
7853
42b1161e
SP
78542014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
7855
7856 * benchtests/scripts/validate_benchout.py: New script.
7857 * benchtests/Makefile (bench-func): Call it.
7858 * benchtests/scripts/benchout.schema.json: New file.
7859
2d0fc4dc
CM
78602014-06-10 Chris Metcalf <cmetcalf@tilera.com>
7861
4a594c34
AZ
7862 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
7863 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
7864 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
7865 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
7866 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
7867 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
7868 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
7869 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
7870 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
7871 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
7872 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
7873 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
7874 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
7875 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
7876 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
7877 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
7878 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
2d0fc4dc 7879 Moved ...
4a594c34 7880 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
2d0fc4dc 7881 ... here.
4a594c34 7882 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
2d0fc4dc 7883 Moved ...
4a594c34
AZ
7884 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
7885 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
2d0fc4dc 7886 Moved ...
4a594c34 7887 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
2d0fc4dc 7888 ... here.
4a594c34 7889 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
2d0fc4dc 7890 Moved ...
4a594c34 7891 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
2d0fc4dc 7892 ... here.
4a594c34 7893 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
2d0fc4dc 7894 Moved ...
4a594c34
AZ
7895 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
7896 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
2d0fc4dc 7897 Moved ...
4a594c34 7898 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
2d0fc4dc 7899 ... here.
4a594c34 7900 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
2d0fc4dc 7901 Moved ...
4a594c34 7902 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
2d0fc4dc 7903 ... here.
4a594c34 7904 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
2d0fc4dc 7905 Moved ...
4a594c34
AZ
7906 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
7907 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
2d0fc4dc 7908 Moved ...
4a594c34 7909 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
2d0fc4dc 7910 ... here.
4a594c34 7911 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
2d0fc4dc 7912 Moved ...
4a594c34 7913 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
2d0fc4dc 7914 ... here.
4a594c34 7915 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
2d0fc4dc 7916 Moved ...
4a594c34 7917 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
2d0fc4dc 7918 ... here.
4a594c34 7919 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
2d0fc4dc 7920 Moved ...
4a594c34
AZ
7921 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
7922 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
2d0fc4dc 7923 Moved ...
4a594c34 7924 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
2d0fc4dc 7925 ... here.
4a594c34 7926 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
2d0fc4dc 7927 Moved ...
4a594c34 7928 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
2d0fc4dc 7929 ... here.
4a594c34 7930 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
2d0fc4dc 7931 Moved ...
4a594c34 7932 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
2d0fc4dc 7933 ... here.
4a594c34 7934 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
2d0fc4dc 7935 Moved ...
4a594c34
AZ
7936 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
7937 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
2d0fc4dc 7938 Moved ...
4a594c34 7939 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
2d0fc4dc 7940 ... here.
4a594c34 7941 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
2d0fc4dc 7942 Moved ...
4a594c34 7943 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
2d0fc4dc 7944 ... here.
4a594c34 7945 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
2d0fc4dc 7946 Moved ...
4a594c34
AZ
7947 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
7948 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
2d0fc4dc 7949 Moved ...
4a594c34 7950 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
2d0fc4dc 7951 ... here.
4a594c34 7952 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
2d0fc4dc 7953 Moved ...
4a594c34
AZ
7954 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
7955 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
2d0fc4dc 7956 Moved ...
4a594c34
AZ
7957 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
7958 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
2d0fc4dc 7959 Moved ...
4a594c34 7960 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
2d0fc4dc 7961 ... here.
4a594c34 7962 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
2d0fc4dc 7963 Moved ...
4a594c34 7964 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
2d0fc4dc 7965 ... here.
4a594c34 7966 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
2d0fc4dc 7967 Moved ...
4a594c34 7968 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
2d0fc4dc 7969 ... here.
4a594c34 7970 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
2d0fc4dc 7971 Moved ...
4a594c34
AZ
7972 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
7973 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
2d0fc4dc 7974 Moved ...
4a594c34 7975 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
2d0fc4dc 7976 ... here.
4a594c34 7977 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
2d0fc4dc 7978 Moved ...
4a594c34 7979 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
2d0fc4dc 7980 ... here.
4a594c34
AZ
7981 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
7982 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
7983 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
7984 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
7985 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
2d0fc4dc 7986 Moved ...
4a594c34 7987 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
2d0fc4dc 7988 ... here.
4a594c34
AZ
7989 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
7990 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
7991 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
7992 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
7993 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
7994 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
7995 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
7996 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
7997 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
7998 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
7999 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
8000 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
8001 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
2d0fc4dc 8002 Moved ...
4a594c34
AZ
8003 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
8004 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
2d0fc4dc 8005 Moved ...
4a594c34
AZ
8006 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
8007 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
8008 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
8009 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
2d0fc4dc 8010 Moved ...
4a594c34
AZ
8011 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
8012 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
8013 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
8014 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
8015 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
8016 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
8017 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
2d0fc4dc 8018
0570cfed
W
80192014-06-10 Wilco <wdijkstr@arm.com>
8020
8021 * math/test-fenv-return.c: New file.
8022 * math/Makefile: Add new test test-fenv-return.
8023
f8ba1b56
JM
80242014-06-10 Joseph Myers <joseph@codesourcery.com>
8025
8026 [BZ #17042]
8027 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
8028 when x - 1 is zero.
8029 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
8030 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
8031 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
8032 0.0L for an argument of 1.0L.
8033 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
8034 Likewise.
8035 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
8036 value when x - 1 is zero.
8037 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
8038 * sysdeps/i386/fpu/libm-test-ulps: Update.
8039 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8040
2c3520d9
BO
80412014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
8042
8043 [BZ #15119]
8044 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
8045
acaa4d24
RM
80462014-06-09 Roland McGrath <roland@hack.frob.com>
8047
8048 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
8049 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
8050
962b744d
RM
80512014-06-09 Roland McGrath <roland@hack.frob.com>
8052
d752f0cc
RM
8053 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
8054 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
8055
34eda6d1
RM
8056 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
8057 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
8058
50f0a637
RM
8059 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
8060 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
8061
08f41f04
RM
8062 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
8063 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
8064
962b744d
RM
8065 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
8066 if not already defined.
8067 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
8068 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
8069 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
8070 (TLS_INIT_TP): Use it.
8071 (TLS_DEFINE_INIT_TP): New macro.
8072 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
8073
09f19b05
JM
80742014-06-09 Joseph Myers <joseph@codesourcery.com>
8075
8076 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
8077 constant.
8078 [POSIX] (IXANY): Likewise.
8079 [POSIX] (OLCUC): Likewise.
8080 [POSIX || POSIX2008] (CBAUD): Do not allow.
8081 [POSIX || POSIX2008] (DEFECHO): Likewise.
8082 [POSIX || POSIX2008] (ECHOCTL): Likewise.
8083 [POSIX || POSIX2008] (ECHOKE): Likewise.
8084 [POSIX || POSIX2008] (ECHOPRT): Likewise.
8085 [POSIX || POSIX2008] (EXTA): Likewise.
8086 [POSIX || POSIX2008] (EXTB): Likewise.
8087 [POSIX || POSIX2008] (FLUSHO): Likewise.
8088 [POSIX || POSIX2008] (LOBLK): Likewise.
8089 [POSIX || POSIX2008] (PENDIN): Likewise.
8090 [POSIX || POSIX2008] (SWTCH): Likewise.
8091 [POSIX || POSIX2008] (VDISCARD): Likewise.
8092 [POSIX || POSIX2008] (VDSUSP): Likewise.
8093 [POSIX || POSIX2008] (VLNEXT): Likewise.
8094 [POSIX || POSIX2008] (VREPRINT): Likewise.
8095 [POSIX || POSIX2008] (VSTATUS): Likewise.
8096 [POSIX || POSIX2008] (VWERASE): Likewise.
8097 (B*): Change to B[0123456789]*.
8098 * conform/data/time.h-data [POSIX || UNIX98]
8099 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
8100 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
8101 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
8102 [POSIX] (tm_*): Do not allow.
8103
686554bf
JM
81042014-06-07 Joseph Myers <joseph@codesourcery.com>
8105
8106 * Makefile (install): Don't set LANGUAGE.
8107 * Makefile.in (install): Likewise.
8108 * assert/Makefile (test-assert-ENV): Remove variable.
8109 (test-assert-perr-ENV): Likewise.
8110 * elf/Makefile (neededtest4-ENV): Likewise.
8111 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
8112 [$(cross-compiling) = no]: Don't set LANGUAGE.
8113 * io/ftwtest-sh (LANG): Remove variable.
8114 * libio/Makefile (tst-widetext-ENV): Likewise.
8115 * manual/install.texi (Running make install): Don't refer to
8116 environment settings for make install.
8117 * INSTALL: Regenerated.
8118 * nptl/tst-tls6.sh: Don't set LANG.
8119 * posix/globtest.sh (LANG): Remove variable.
8120 * string/Makefile (tester-ENV): Likewise.
8121 (inl-tester-ENV): Likewise.
8122 (noinl-tester-ENV): Likewise.
8123 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
8124 [$(cross-compiling) = no]: Don't set LANGUAGE.
8125 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
8126 without explicit environment settings.
8127
68e6b6b1
RM
81282014-06-06 Roland McGrath <roland@hack.frob.com>
8129
8130 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
8131 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
8132 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
8133 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
8134
4d3ae034
CM
81352014-06-06 Chris Metcalf <cmetcalf@tilera.com>
8136
8137 * crypt/crypt-private.h [DOS]: Add some includes taken from the
8138 other files in the crypt directory.
8139 * crypt/crypt.c: Remove duplicate includes.
8140 * crypt/crypt-entry.c: Likewise.
8141 * crypt/crypt_util.c: Likewise.
8142
8540f6d2
JM
81432014-06-06 Joseph Myers <joseph@codesourcery.com>
8144
8145 * Makeconfig (run-program-env): New variable.
8146 (run-program-prefix-before-env): Likewise.
8147 (run-program-prefix-after-env): Likewise.
8148 (run-program-prefix): Define in terms of new variables.
8149 (built-program-cmd-before-env): New variable.
8150 (built-program-cmd-after-env): Likewise.
8151 (built-program-cmd): Define in terms of new variables.
8152 (test-program-prefix-before-env): New variable.
8153 (test-program-prefix-after-env): Likewise.
8154 (test-program-prefix): Define in terms of new variables.
8155 (test-program-cmd-before-env): New variable.
8156 (test-program-cmd-after-env): Likewise.
8157 (test-program-cmd): Define in terms of new variables.
8158 * Rules (make-test-out): Use $(run-program-env).
8159 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
8160 (help): Do not mention environment variables. Mention
8161 --timeoutfactor option.
8162 (timeoutfactor): New variable.
8163 (blacklist_exports): Remove function.
8164 (exports): Remove variable.
8165 (command): Do not include ${exports}.
8166 * manual/install.texi (Configuring and compiling): Do not mention
8167 test wrappers preserving environment variables. Mention that last
8168 assignment to a variable must take precedence.
8169 * INSTALL: Regenerated.
8170 * benchtests/Makefile (run-bench): Use $(run-program-env).
8171 * catgets/Makefile ($(objpfx)test1.cat): Use
8172 $(built-program-cmd-before-env), $(run-program-env) and
8173 $(built-program-cmd-after-env).
8174 ($(objpfx)test2.cat): Do not specify environment variables
8175 explicitly.
8176 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
8177 $(run-program-env) and $(built-program-cmd-after-env).
8178 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
8179 $(run-program-env) and $(test-program-cmd-after-env).
8180 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
8181 explicitly.
8182 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
8183 run_program_env and test_program_cmd_after_env arguments.
8184 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
8185 * elf/tst-pathopt.sh: Use run_program_env argument.
8186 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
8187 $(test-wrapper-env) and $(run-program-env).
8188 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
8189 run_program_env arguments.
8190 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
8191 * intl/Makefile ($(objpfx)tst-gettext.out): Use
8192 $(test-program-prefix-before-env), $(run-program-env) and
8193 $(test-program-prefix-after-env).
8194 ($(objpfx)tst-gettext2.out): Likewise.
8195 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
8196 run_program_env and test_program_prefix_after_env arguments.
8197 * intl/tst-gettext2.sh: Likewise.
8198 * intl/tst-gettext4.sh: Do not set environment variables
8199 explicitly.
8200 * intl/tst-gettext6.sh: Likewise.
8201 * intl/tst-translit.sh: Likewise.
8202 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
8203 $(test-program-prefix-before-env), $(run-program-env) and
8204 $(test-program-prefix-after-env).
8205 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
8206 run_program_env and test_program_prefix_after_env arguments.
8207 * math/Makefile (run-regen-ulps): Use $(run-program-env).
8208 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
8209 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
8210 explicitly with each use of ${test_wrapper_env}.
8211 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
8212 $(test-program-prefix-before-env), $(run-program-env) and
8213 $(test-program-prefix-after-env).
8214 * posix/tst-getconf.sh: Do not set environment variables
8215 explicitly.
8216 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
8217 run_program_env and test_program_prefix_after_env arguments.
8218 * stdio-common/tst-printf.sh: Do not set environment variables
8219 explicitly.
8220 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
8221 $(test-program-prefix-before-env), $(run-program-env) and
8222 $(test-program-prefix-after-env).
8223 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
8224 run_program_env and test_program_prefix_after_env arguments.
8225 Split $test calls into $test_pre and $test.
8226 * timezone/Makefile (build-testdata): Use
8227 $(built-program-cmd-before-env), $(run-program-env) and
8228 $(built-program-cmd-after-env).
8229
ed36bfa1
AZ
82302014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8231
8232 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
8233 strlen for non SHARED builds.
8234
fc75bf46
SP
82352014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
8236
8237 * nptl/allocatestack.c (check_list): Inlined function...
8238 (__reclaim_stacks): ... here.
8239
d89b3d80
OB
82402014-06-05 Ondřej Bílka <neleai@seznam.cz>
8241
8242 [BZ #15698]
8243 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
8244 memory overrun.
8245
2bf18041
JM
82462014-06-05 Joseph Myers <joseph@codesourcery.com>
8247
8248 * Rules (make-test-out): Include
8249 LOCPATH=$(common-objpfx)localedata in default environment.
8250 * debug/Makefile (tst-chk1-ENV): Remove variable.
8251 (tst-chk2-ENV): Likewise.
8252 (tst-chk3-ENV): Likewise.
8253 (tst-chk4-ENV): Likewise.
8254 (tst-chk5-ENV): Likewise.
8255 (tst-chk6-ENV): Likewise.
8256 (tst-lfschk1-ENV): Likewise.
8257 (tst-lfschk2-ENV): Likewise.
8258 (tst-lfschk3-ENV): Likewise.
8259 (tst-lfschk4-ENV): Likewise.
8260 (tst-lfschk5-ENV): Likewise.
8261 (tst-lfschk6-ENV): Likewise.
8262 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
8263 (tst-iconv7-ENV): Likewise.
8264 * intl/Makefile (LOCPATH-ENV): Likewise.
8265 (tst-codeset-ENV): Likewise.
8266 (tst-gettext3-ENV): Likewise.
8267 (tst-gettext5-ENV): Likewise.
8268 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
8269 (tst-fopenloc-ENV): Likewise.
8270 (tst-fgetws-ENV): Remove variable.
8271 (tst-ungetwc1-ENV): Likewise.
8272 (tst-ungetwc2-ENV): Likewise.
8273 (bug-ungetwc2-ENV): Likewise.
8274 (tst-swscanf-ENV): Likewise.
8275 (bug-ftell-ENV): Likewise.
8276 (tst-fgetwc-ENV): Likewise.
8277 (tst-fseek-ENV): Likewise.
8278 (tst-ftell-partial-wide-ENV): Likewise.
8279 (tst-ftell-active-handler-ENV): Likewise.
8280 (tst-ftell-append-ENV): Likewise.
8281 * posix/Makefile (tst-fnmatch-ENV): Likewise.
8282 (tst-regexloc-ENV): Likewise.
8283 (bug-regex1-ENV): Likewise.
8284 (tst-regex-ENV): Likewise.
8285 (tst-regex2-ENV): Likewise.
8286 (bug-regex5-ENV): Likewise.
8287 (bug-regex6-ENV): Likewise.
8288 (bug-regex17-ENV): Likewise.
8289 (bug-regex18-ENV): Likewise.
8290 (bug-regex19-ENV): Likewise.
8291 (bug-regex20-ENV): Likewise.
8292 (bug-regex22-ENV): Likewise.
8293 (bug-regex23-ENV): Likewise.
8294 (bug-regex25-ENV): Likewise.
8295 (bug-regex26-ENV): Likewise.
8296 (bug-regex30-ENV): Likewise.
8297 (bug-regex32-ENV): Likewise.
8298 (bug-regex33-ENV): Likewise.
8299 (bug-regex34-ENV): Likewise.
8300 (bug-regex35-ENV): Likewise.
8301 (tst-rxspencer-ENV): Likewise.
8302 (tst-rxspencer-no-utf8-ENV): Likewise.
8303 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
8304 (tst-sscanf-ENV): Likewise.
8305 (tst-swprintf-ENV): Likewise.
8306 (tst-swscanf-ENV): Likewise.
8307 (test-vfprintf-ENV): Likewise.
8308 (scanf13-ENV): Likewise.
8309 (bug14-ENV): Likewise.
8310 (tst-grouping-ENV): Likewise.
8311 * stdlib/Makefile (tst-strtod-ENV): Likewise.
8312 (tst-strtod3-ENV): Likewise.
8313 (tst-strtod4-ENV): Likewise.
8314 (tst-strtod5-ENV): Likewise.
8315 (testmb2-ENV): Likewise./
8316 * string/Makefile (tst-strxfrm-ENV): Likewise.
8317 (tst-strxfrm2-ENV): Likewise.
8318 (bug-strcoll1-ENV): Likewise.
8319 (test-strcasecmp-ENV): Likewise.
8320 (test-strncasecmp-ENV): Likewise.
8321 * time/Makefile (tst-strptime-ENV): Likewise.
8322 (tst-ftime_l-ENV): Likewise.
8323 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
8324 (tst-mbrtowc-ENV): Likewise.
8325 (tst-wcrtomb-ENV): Likewise.
8326 (tst-mbrtowc2-ENV): Likewise.
8327 (tst-c16c32-1-ENV): Likewise.
8328 (tst-mbsnrtowcs-ENV): Likewise.
8329
cd1fb604
OB
83302014-06-05 Ondřej Bílka <neleai@seznam.cz>
8331
8332 * manual/resource.texi (How to get information about the memory
8333 subsystem?): Fix typo.
8334 Reported by Peon de la Parra Ivan <peon@keba.com>
8335
b42eca7d
GY
83362014-06-03 Guo Yixuan <culu.gyx@gmail.com>
8337
8338 [BZ #16882]
8339 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
8340 (pthread_spin_lock): Branch out of spin loop to proper location.
8341 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
8342 (pthread_spin_lock): Likewise.
8343
902b71f9
DM
8344 * nptl/tst-spin4.c: New test.
8345 * nptl/Makefile (tests): Add tst-spin4.
8346
f9d2d032
AS
83472014-06-03 Andreas Schwab <schwab@suse.de>
8348
8349 [BZ #15946]
8350 * resolv/res_send.c (send_dg): Reload file descriptor after
8351 calling reopen.
8352
cf7bfd28
SL
83532014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
8354
8355 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
8356
111cc714
RH
83572014-06-03 Richard Henderson <rth@redhat.com>
8358
89b4bd6b
RH
8359 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
8360 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
8361 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
8362 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
8363 in the SAVE_PID block.
8364 (__libc_vfork): New alias.
71840409 8365 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
89b4bd6b 8366
111cc714
RH
8367 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
8368 child in registers, not on the stack. Remove RESET_PID conditionals.
8369 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
8370
ccc39911
MS
83712014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
8372
8373 * sysdeps/aarch64/libm-test-ulps: Regenerate.
8374
693096cc
W
83752014-06-03 Wilco <wdijkstr@arm.com>
8376
8377 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
8378 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
8379 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
8380 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
8381 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
8382 Likewise.
8383
0b4366bc
W
83842014-06-03 Wilco <wdijkstr@arm.com>
8385
8386 * sysdeps/aarch64/fpu/math_private.h
8387 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
8388 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
8389 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
8390 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
8391 Fix declarations.
8392
8747cd03
KS
83932014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
8394
8395 * crypt/crypt-private.h: Include ufc-crypt.h.
8396 (__b64_from_24bit): Declare extern.
8397 * crypt/crypt_util.c(__b64_from_24bit): New function.
8398 (b64t): New static const variable.
8399 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
8400 (b64t): Remove variable.
8401 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
8402 * crypt/sha256-crypt.c: Include crypt-private.h.
8403 (b64t): Remove variable.
8404 (__sha256_crypt_r): Remove b64_from_24bit and replace
8405 with __b64_from_24bit.
8406 * crypt/sha512-crypt.c: Likewise.
8407
d936d379
RM
84082014-06-02 Roland McGrath <roland@hack.frob.com>
8409
8410 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
8411 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
8412 Label the code __libc_vfork rather than __vfork.
8413 [!NOT_IN_libc] (vfork): Define as weak alias.
8414 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
8415 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
8416 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
8417
9fa76613
SP
84182014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
8419
8420 * malloc/malloc.c (malloc_info): Fix format specifier for
8421 n_mmaps.
8422
a88dadbe
W
84232014-06-02 Wilco <wdijkstr@arm.com>
8424
8425 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
8426 FPCR write.
8427
c95b3011
W
84282014-06-02 Wilco <wdijkstr@arm.com>
8429
8430 [BZ #17009]
8431 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
8432 Rewrite to reduce FPCR/FPSR accesses.
8433
6b4d7a90
DM
84342014-06-01 David S. Miller <davem@davemloft.net>
8435
8436 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8437
30f3d07c
DM
84382014-05-31 David S. Miller <davem@davemloft.net>
8439
8440 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
8441 to occur in round to nearest mode when |x| >= 2.0
8442
74f31c18
RH
84432014-05-30 Richard Henderson <rth@twiddle.net>
8444
f0712b54
RH
8445 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
8446 (PSEUDO_RET_NOERRNO): Remove.
8447 (ret): Don't redefine.
8448 (ret_NOERRNO): Define in terms of ret.
8449 (ret_ERRVAL): Likewise.
8450
74f31c18
RH
8451 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
8452 use of PSEUDO_RET; perform the error check directly.
8453
30477995
MM
84542014-05-30 Marko Myllynen <myllynen@redhat.com>
8455
8456 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
8457 with __int128_t.
8458
62a58816
SP
84592014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
8460
8461 * malloc/malloc (malloc_info): Fix formatting.
8462
4d653a59
SP
84632014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
8464 Roland McGrath <roland@hack.frob.com>
8465
8466 * malloc/malloc (malloc_info): Also print mmapped statistics.
8467
5190c17f
RM
84682014-05-30 Roland McGrath <roland@hack.frob.com>
8469
8470 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
8471 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
8472
987c0269
OB
84732014-05-30 Ondřej Bílka <neleai@seznam.cz>
8474
8475 * malloc/malloc.c (malloc_info): Inline mi_arena.
8476
af4e8ef9
RH
84772014-05-29 Richard Henderson <rth@twiddle.net>
8478
1670e207
RH
8479 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
8480 Remove comma before expanding ASM_ARGS_##nr.
8481 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
8482 Make _x0 a strict output; make _x8 a strict input; adjust expansion
8483 of ASM_ARGS_##nr.
8484 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
8485 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
8486 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
8487 (ASM_ARGS_1): Add leading comma.
8488
11a28aee
RH
8489 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
8490 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
8491 to __errno_location.
8492 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
8493 Remove the expected plt for __errno_location.
8494
a17e5ffb 8495 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
11a28aee 8496 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
a17e5ffb
RH
8497 call to __read_tp.
8498
b5be4597
RH
8499 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
8500 Always allocate 64 bytes of stack frame. Use ldp/stp to create
8501 it and break it down.
8502 (DOCARGS_0, DOCARGS_1): Do nothing.
8503 (DOCARGS_2): Update to store into the new stack frame.
8504 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
8505 (UNDOCARGS_1): Update to restore from the new stack frame.
8506 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
8507 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
8508
645d44ab
RH
8509 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
8510 (SINGLE_THREAD_P): New parameter for result regno.
8511 (PSEUDO): Update to match; use cbz instead of beq.
8512
a8b4f04a
RH
8513 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
8514 Use ENTRY to define the _nocancel entry point. Share the syscall
8515 and syscall error check paths with the cancel path.
8516 (PSEUDO_END): New.
8517
af4e8ef9
RH
8518 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
8519 whitespace; tabs before and after asm mnemonics.
8520
26b0d2e1
EW
85212014-05-29 Eric Wong <normalperson@yhbt.net>
8522
8523 [BZ #15132]
8524 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
8525 Call fstat64 or stat64 internally, depending on arguments passed.
8526 Replace stat buffer argument with file descriptor argument.
8527 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
8528 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
8529 Pass fd to __internal_statvfs instead of calling fstat64.
8530 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
8531 Pass fd to __internal_statvfs64 instead of calling fstat64.
8532 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
8533 Pass -1 to __internal_statvfs instead of calling stat64.
8534 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
8535 Pass -1 to __internal_statvfs64 instead of calling stat64.
8536
1efe2bd9
RM
85372014-05-28 Roland McGrath <roland@hack.frob.com>
8538
0d3b7a19
RM
8539 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
8540 that was previously under [RESET_PID].
8541 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
8542
1efe2bd9
RM
8543 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
8544 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
8545
a6bea3ca
RM
85462014-05-27 Roland McGrath <roland@hack.frob.com>
8547
30b6629e
RM
8548 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
8549
a6bea3ca
RM
8550 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
8551 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
8552
3dfb9a5c
OB
85532014-05-27 Ondřej Bílka <neleai@seznam.cz>
8554
8555 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
8556
774f9285
AS
85572014-05-27 Andreas Schwab <schwab@suse.de>
8558
8559 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
8560 TLS_INIT_TP macro.
8561 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
8562 * elf/rtld.c (init_tls, dl_main): Likewise.
8563 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
8564 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
8565 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
8566 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
8567 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
8568 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
8569 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
8570 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
8571 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
8572 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
8573 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
8574 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
8575 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
8576 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
8577 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
8578 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
8579 * sysdeps/generic/tls.h: Update description.
8580
36ffe739
WN
85812014-05-27 Will Newton <will.newton@linaro.org>
8582
8583 [BZ #16990]
8584 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
8585 and restore r2 rather than just restoring.
8586
2482ae43
SP
85872014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
8588
8589 [BZ #16724]
8590 * libio/tst-ftell-append.c: New test case.
8591 * libio/Makefile (tests): Add test case.
8592 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
8593 append mode.
8594 * libio/wfileops.c (do_ftell_wide): Likewise.
8595
3d1024e8
AZ
85962014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8597
bab90016
AZ
8598 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8599
c7a8d667
AZ
8600 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
8601 ...
8602 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
8603 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
8604 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
8605 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
8606 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
8607 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
8608 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
8609 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
8610 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
8611 Moved ...
8612 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
8613 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
8614 Moved ...
8615 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
8616 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
8617 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
8618 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
8619 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
8620 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
8621 ...
8622 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
8623 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
8624 Moved ...
8625 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
8626 here.
8627 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
8628 ...
8629 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
8630 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
8631 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
8632
daee7851
AZ
8633 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
8634 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
8635 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
8636 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
8637
50a40819
AZ
8638 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
8639 merge into ...
8640 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
8641 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
8642 ...
8643 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
8644 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
8645 ...
8646 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
8647 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
8648 Moved ...
8649 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
8650 here.
8651 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
8652 Moved ...
8653 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
8654 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
8655 Moved ...
8656 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
8657
8464c2a1
AZ
8658 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
8659 conditional [RESET_PID].
8660 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
8661 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
8662 removed.
8663 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
8664 removed.
8665
3d1024e8
AZ
8666 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
8667 <tcb-offsets.h>.
8668 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
8669 (__libc_vfork): New strong alias.
8670 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
8671 removed.
8672 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
8673 Removed.
8674
8675 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
8676 <tcb-offsets.h>.
8677 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
8678 (__libc_vfork): New strong alias.
8679 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
8680 removed.
8681 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
8682 removed.
8683
fdfd175d
CD
86842014-05-26 Carlos O'Donell <carlos@redhat.com>
8685
8686 * malloc/malloc.c (mi_arena): New function.
8687 (malloc_info): Remove nested function mi_arena. Call non-nosted
8688 function mi_arena.
8689
d298c416
AZ
86902014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8691
8692 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
8693 by insrwi.
8694 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
8695 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
8696 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
8697 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
8698 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
8699 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
8700 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
8701
b60ea6ff
AS
87022014-05-26 Andreas Schwab <schwab@suse.de>
8703
8704 [BZ #16984]
8705 * locale/programs/repertoire.c (repertoire_read): Add slash
8706 between I18NPATH element and file name.
8707 * locale/programs/locfile.c (locfile_read): Likewise.
8708
67365926
SL
87092014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
8710
8711 * nptl/pthread_mutexattr_settype.c
8712 (__pthread_mutexattr_settype):
8713 Disable lock elision for PTHREAD_MUTEX_NORMAL.
8714
f8bdf1f0
SL
87152014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
8716
8717 * nptl/tst-mutex5 (do_test):
8718 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
8719
15eaf6ff
SP
87202014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
8721
8722 * benchtests/README: Document 'init' directive.
8723 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
8724 BENCH_INIT.
8725 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
8726 (parse_file): Recognize 'init' directive.
8727
75f11331
KM
87282014-05-26 Kyle McMartin <kyle@redhat.com>
8729
8730 [BZ #16796]
8731 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
8732 alignment of struct pthread.
8733
c3ec475c
SP
87342014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
8735
8736 [BZ #16878]
8737 * nscd/netgroupcache.c (addgetnetgrentX): Look for
8738 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
8739 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
8740 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
8741
82aab97c
RH
87422014-05-25 Richard Henderson <rth@twiddle.net>
8743
aa2f176d
RH
8744 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
8745 (SINGLE_THREAD_P_PIC): Remove.
8746 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
8747 (SINGLE_THREAD_P_PIC): Remove.
8748
ca3cfa40
RH
8749 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
8750 branch to syscall error ...
8751 (PSEUDO): ... here.
8752 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
8753 from __local_syscall_error to .Lsyscall_error.
8754 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
8755 (SYSCALL_ERROR): Update label name.
8756
6e6c2d01
RH
8757 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
8758 Do not use DOARGS/UNDOARGS.
8759 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
8760 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
8761 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
8762 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
8763 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
8764
c69abcee
RH
8765 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
8766 block comment.
8767
82aab97c
RH
8768 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
8769 define if !NOT_IN_libc.
8770 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
8771 define with non-default symbol versions.
8772
8820e3ac
RH
87732014-05-23 Richard Henderson <rth@twiddle.net>
8774
900e445f
RH
8775 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
8776 (vfork, __vfork): Define via compat_symbol.
8777
8820e3ac
RH
8778 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
8779 [!HAVE_IFUNC] (vfork_compat): Remove.
8780 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
8781
e59252a5
JM
87822014-05-23 Joseph Myers <joseph@codesourcery.com>
8783
8784 [BZ #16978]
8785 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
8786 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
8787 variable.
8788
132c7f5f
RH
87892014-05-23 Richard Henderson <rth@twiddle.net>
8790
bc89e962
RH
8791 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
8792 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
8793 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
8794 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
8795
8796 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
8797 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
8798 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
8799 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
8800 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
8801 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
8802 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
8803 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
8804 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
8805 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
8806 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
8807 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
8808 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
8809 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
8810 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
8811 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
8812 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
8813 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
8814 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
8815 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
8816 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
8817 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
8818 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
8819 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
8820 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
8821 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
8822 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
8823 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
8824 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
8825 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
8826 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
8827 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
8828 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
8829 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
8830 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
8831 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
8832 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
8833 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
8834 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
8835 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
8836 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
8837 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
8838 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
8839 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
8840 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
8841 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
8842 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
8843 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
8844 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
8845 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
8846 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
8847 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
8848 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
8849 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
8850 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
8851 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
8852
e2fa4bc2
RH
8853 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
8854 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
8855 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
8856 before exiting on error.
8857 (__libc_vfork): New strong alias.
8858 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
8859 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
8860
279b24e2
RH
8861 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
8862 that was previously under [RESET_PID].
8863 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
8864
132c7f5f
RH
8865 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
8866
b72592e7
JM
88672014-05-23 Joseph Myers <joseph@codesourcery.com>
8868
8869 [BZ #16977]
8870 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
8871 value when x - 1 is zero.
8872 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
8873 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
8874 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
8875 0.0L for an argument of 1.0L.
8876 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
8877 Likewise.
8878 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
8879 value when x - 1 is zero.
8880 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
8881 * sysdeps/i386/fpu/libm-test-ulps: Update.
8882 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8883
2302d679
RV
88842014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
8885
8886 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
8887 alphasort and versionsort.
8888
32999d63
AZ
88892014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8890
8891 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
8892 macro.
8893 [copysignf]: Likewise.
8894
019324d0
SP
88952014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
8896
8897 * crypt/md5-crypt.c: Fix formatting.
8898
34fff5c2
KS
88992014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
8900
8901 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
8902 (b64_from_24bit): New function.
8903
3d2badac
AZ
89042014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8905
8906 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
8907 libc_hidden_builtin_def to ifunc.
8908 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
8909 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
8910
f7bb179f 89112014-05-21 Roland McGrath <roland@hack.frob.com>
df54acbb
RM
8912
8913 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
8914 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
8915
4134b50d
JM
89162014-05-21 Joseph Myers <joseph@codesourcery.com>
8917
bb7d0337
JM
8918 * nscd/Depend (linuxthreads): Remove.
8919 (nptl): Add.
8920 * resolv/Depend (linuxthreads): Remove.
8921 * rt/Depend (linuxthreads): Remove.
8922
4134b50d
JM
8923 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
8924 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
8925 $(common-objpfx)elf/.
8926 (link-libc-before-gnulib): Likewise.
8927 (elfobjdir): Remove variable.
8928 * Makefile (install): Use $(elf-objpfx) instead of
8929 $(common-objpfx)elf/.
8930 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
8931 $(elfobjdir)/.
8932 (link-libc-deps): Likewise.
8933 ($(common-objpfx)libc.so): Likewise.
8934 ($(common-objpfx)linkobj/libc.so): Likewise.
8935 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
8936 instead of $(common-objpfx)elf/.
8937 (symbolic-link-list): Likewise.
8938 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
8939 [$(cross-compiling) = no]: Likewise.
8940 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
8941 $(elfobjdir)/.
8942 (static-gnulib-arch): Likewise.
8943 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
8944 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
8945 $(common-objpfx)elf/.
8946
3612eb8f
RH
89472014-05-21 Richard Henderson <rth@redhat.com>
8948
a6b3657b
RH
8949 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
8950 (SINGLE_THREAD_P): Use the correct width load. Fold
8951 into the ldr offset.
8952
3612eb8f
RH
8953 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
8954 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
8955
175cef41
JM
89562014-05-20 Joseph Myers <joseph@codesourcery.com>
8957
8958 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
8959 (libgcc_s_resume): Use __attribute_used__.
8960 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
8961 Likewise.
8962
e13bccd3
AZ
89632014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8964
8965 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
8966 optimization when used with float constants.
8967
7c112a38
AZ
8968 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8969
ae75a883
AJ
89702014-05-20 Aurelien Jarno <aurelien@aurel32.net>
8971
8972 [BZ #16915]
8973 * locale/nl_langinfo_l.c: Make direct reference to every
8974 _nl_current_CATEGORY symbol.
8975 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
8976 (tests-static): Add tst-langinfo-static.
8977 (tests-special): Add tst-langinfo-static.out.
8978 ($(objpfx)tst-langinfo.out): Redirect output.
8979 ($(objpfx)tst-langinfo-static.out): New.
8980 * localedata/tst-langinfo.sh: Send output to stdout.
8981 * localedata/tst-langinfo-static.c: New file.
8982
4406c41c
AJ
8983 [BZ #16965]
8984 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
8985 when the shift amount is modulo the limb size.
8986
4c0a1e63
RH
89872014-05-20 Richard Henderson <rth@redhat.com>
8988
de9d8f20
RH
8989 [BZ #16967]
8990 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
8991 Change type of sa_flags from unsigned int to int.
8992
4c0a1e63
RH
8993 [BZ #16966]
8994 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
57cce706
RH
8995
8996 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
8997
a60339aa
WN
89982014-05-20 Will Newton <will.newton@linaro.org>
8999
9000 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
9001 Test the return value of the system call in the nocancel case.
9002
7d05a816
YR
90032014-05-20 Will Newton <will.newton@linaro.org>
9004 Yvan Roux <yvan.roux@linaro.org>
9005
9006 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
9007 #include of asm/ptrace.h.
9008 (PTRACE_GET_THREAD_AREA): Remove #undef.
9009 (PTRACE_GETHBPREGS): Likewise.
9010 (PTRACE_SETHBPREGS): Likewise.
9011 (struct user_regs_struct): New structure.
9012 (struct user_fpsimd_struct): New structure.
9013 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
9014 #include of asm/ptrace.h and second #include of sys/user.h.
9015 (PTRACE_GET_THREAD_AREA): Remove #undef.
9016 (PTRACE_GETHBPREGS): Likewise.
9017 (PTRACE_SETHBPREGS): Likewise.
9018 (ELF_NGREG): Use new struct user_regs_struct.
9019 (elf_fpregset_t): Use new struct user_fpsimd_struct.
9020
af121e37
AZ
90212014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9022
9023 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
9024 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
9025
834caf06
JM
90262014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
9027
9028 [BZ #16958]
9029 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
9030 membar to avoid block loads/stores to overlap previous stores.
9031
e184a918
RH
90322014-05-17 Richard Henderson <rth@redhat.com>
9033
9034 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
9035 Create the __##syscall_name##_nocancel entry point.
9036 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
9037 Remove; let the sysdep-cancel.h code create it.
9038
f56c7a6a
DM
90392014-05-17 David S. Miller <davem@davemloft.net>
9040
9041 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
9042 Protect with __USE_GNU.
9043 (TIOCSET_TEMPT): Likewise.
9044 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
9045 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
9046 these are already provided in bits/ioctl-types.h
9047
f75616b2
RM
90482014-05-16 Roland McGrath <roland@hack.frob.com>
9049
3edeca86
RM
9050 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
9051 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
9052
f75616b2
RM
9053 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
9054 Use wait4 regardless of [__NR_waitpid].
9055
deb0f7f6
MR
90562014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
9057
9058 PR libgcc/60166
9059 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
9060 (_FP_NANSIGN_Q): Set the quiet bit.
9061
79520f4b
JM
90622014-05-16 Joseph Myers <joseph@codesourcery.com>
9063
9064 * benchtests/Makefile
9065 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
9066 not $(common-objpfx)math/libm.so.
9067 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
9068 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
9069 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
9070 $(common-objpfx)dlfcn/libdl.so.
9071 ($(objpfx)tst-audit8): Depend on $(libm), not
9072 $(common-objpfx)math/libm.so.
9073 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
9074 not $(common-objpfx)dlfcn/libdl.so.
9075 * math/Makefile
9076 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
9077 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
9078 [$(build-shared) = yes].
9079 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
9080 $(common-objpfx)nptl/libpthread.so.
9081 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
9082 $(common-objpfx)math/libm.so$(libm.so-version) or
9083 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
9084 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
9085 $(common-objpfx)dlfcn/libdl.so.
9086 * setjmp/Makefile (link-libm): Remove variable.
9087 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
9088 * stdio-common/Makefile (link-libm): Remove variable.
9089 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
9090 * stdlib/Makefile (link-libm): Remove variable.
9091 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
9092 ($(objpfx)tst-strtod-round): Likewise.
9093 ($(objpfx)tst-tininess): Likewise.
9094 ($(objpfx)tst-strtod-underflow): Likewise.
9095 ($(objpfx)tst-strtod6): Likewise.
9096 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
9097 $(libdl), not $(common-objpfx)nptl/libpthread.so and
9098 $(common-objpfx)dlfcn/libdl.so.
9099
026b0fe4
AZ
91002014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9101
9102 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
9103 BSD terminal modes definitions.
9104
def4bcb2
RM
91052014-05-16 Roland McGrath <roland@hack.frob.com>
9106
fe39b021
RM
9107 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
9108 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
9109
1d1fc46e 9110 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
def4bcb2
RM
9111 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
9112 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
9113 Don't do #include_next.
9114 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
9115 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
9116 Don't do #include_next.
9117 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
9118 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
9119 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
9120 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
9121
c72399fb
AM
91222014-05-16 Allan McRae <allan@archlinux.org>
9123
d51d659d
AM
9124 * po/sv.po: Update Swedish translation from translation project.
9125
c72399fb
AM
9126 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
9127 in sed expression.
9128
d0583c40
AJ
91292014-05-16 Aurelien Jarno <aurelien@aurel32.net>
9130
9131 [BZ #16917]
9132 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
9133 errno if the TIOCGPTN ioctl fails with an error different than
9134 EINVAL.
9135 * login/tst-ptsname.c: New file.
9136 * login/Makefile (tests): Add tst-ptsname.
9137
d16e6ec7
AJ
9138 [BZ #16943]
9139 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
9140 and prlimit64.
9141
cf26a0cb
SP
91422014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
9143
9144 [BZ #16849]
9145 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
9146 herrno to return EAI_AGAIN.
9147
5675da1e
RM
91482014-05-14 Roland McGrath <roland@hack.frob.com>
9149
a5d87b3d
RM
9150 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
9151 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
9152 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
9153 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
9154 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
9155 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
9156 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
9157 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
9158 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
9159 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
9160 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
9161 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
9162 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
9163 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
9164 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
9165 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
9166 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
9167 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
9168 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
9169 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
9170 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
9171 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
9172 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
9173 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
9174 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
9175 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
9176 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
9177 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
9178 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
9179 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
9180 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
9181 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
9182 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
9183 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
9184 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
9185 Moved ...
9186 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
9187 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
9188 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
9189 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
9190 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
9191 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
9192 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
9193 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
9194 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
9195 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
9196 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
9197 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
9198 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
9199 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
9200 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
9201 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
9202 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
9203 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
9204 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
9205 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
9206 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
9207 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
9208 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
9209 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
9210 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
9211 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
9212 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
9213 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
9214 Moved ...
9215 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
9216 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
9217 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
9218 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
9219 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
9220 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
9221 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
9222 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
9223 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
9224 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
9225 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
9226 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
9227 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
9228 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
9229 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
9230 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
9231 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
9232 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
9233 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
9234 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
9235 Moved ...
9236 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
9237 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
9238 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
9239
039890a6
RM
9240 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
9241 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
9242 (libpthread-sysdep_routines): Add elision-related stuff here instead.
9243 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
9244 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
9245 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
9246 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
9247 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
9248 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
9249 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
9250 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
9251 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
9252 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
9253 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
9254 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
9255 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
9256 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
9257 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
9258 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
9259 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
9260 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
9261 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
9262 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
9263 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
9264 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
9265 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
9266 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
9267 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
9268 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
9269 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
9270 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
9271
65c89320
RM
9272 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
9273 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
9274
348f8e8c
RM
9275 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
9276 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
9277 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
9278 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
9279 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
9280 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
9281 Moved ...
9282 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
9283 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
9284 Moved ...
9285 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
9286 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
9287 Moved ...
9288 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
9289 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
9290 Moved ...
9291 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
9292 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
9293 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
9294 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
9295 Moved ...
9296 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
9297 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
9298 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
9299 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
9300 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
9301 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
9302 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
9303 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
9304 Moved ...
9305 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
9306 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
9307 Moved ...
9308 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
9309 ... here.
9310 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
9311 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
9312 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
9313 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
9314 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
9315 Moved ...
9316 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
9317 ... here.
9318 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
9319 Moved ...
9320 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
9321 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
9322 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
9323 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
9324 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
9325 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
9326 Moved ...
9327 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
9328 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
9329 Moved ...
9330 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
9331 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
9332 Moved ...
9333 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
9334 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
9335 Moved ...
9336 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
9337 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
9338 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
9339 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
9340 Moved ...
9341 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
9342 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
9343 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
9344 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
9345 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
9346 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
9347 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
9348 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
9349 Moved ...
9350 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
9351 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
9352 Moved ...
9353 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
9354 ... here.
9355 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
9356 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
9357 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
9358 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
9359 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
9360 Moved ...
9361 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
9362 ... here.
9363 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
9364 Moved ...
9365 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
9366 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
9367 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
9368 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
9369 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
9370 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
9371 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
9372 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
9373 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
9374 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
9375 Moved ...
9376 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
9377 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
9378 Moved ...
9379 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
9380 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
9381 Moved ...
9382 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
9383 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
9384 Moved ...
9385 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
9386 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
9387 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
9388 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
9389 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
9390 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
9391 Moved ...
9392 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
9393 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
9394 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
9395 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
9396 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
9397 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
9398 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
9399 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
9400 Moved ...
9401 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
9402 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
9403 Moved ...
9404 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
9405 ... here.
9406 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
9407 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
9408 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
9409 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
9410 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
9411 Moved ...
9412 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
9413 ... here.
9414 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
9415 Moved ...
9416 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
9417 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
9418 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
9419 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
9420 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
9421 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
9422 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
9423 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
9424 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
9425 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
9426 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
9427
5085af05
RM
9428 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
9429 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
9430
708f0813
RM
9431 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
9432 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
9433
c96067bc
RM
9434 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
9435 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
9436 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
9437 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
9438 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
9439 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
9440 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
9441 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
9442 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
9443 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
9444 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
9445 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
9446 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
9447 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
9448 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
9449 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
9450 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
9451 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
9452 Moved ...
9453 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
9454 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
9455 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
9456 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
9457 Moved ...
9458 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
9459 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
9460 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
9461 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
9462 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
9463 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
9464 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
9465 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
9466 Moved ...
9467 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
9468 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
9469 Moved ...
9470 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
9471 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
9472 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
9473 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
9474 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
9475 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
9476 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
9477 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
9478 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
9479 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
9480 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
9481 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
9482 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
9483 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
9484 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
9485 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
9486 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
9487
ec136444
RM
9488 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
9489 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
9490 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
9491 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
9492 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
9493
2fbdf533
RM
9494 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
9495 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
9496 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
9497 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
9498 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
9499 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
9500 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
9501 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
9502 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
9503 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
9504
4c68138b
RM
9505 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
9506 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
9507
4eaae765
RM
9508 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
9509 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
3a51fb60
RM
9510 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
9511 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
9512 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
9513 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
9514 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
9515 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
9516 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
9517 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
9518 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
9519 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
9520 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
9521 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
9522 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
9523 Update #include.
9524 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
9525 Likewise.
9526 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
9527 Likewise.
9528 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
9529 Likewise.
9530 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
9531 Likewise.
9532 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
9533 Likewise.
9534 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
9535 Likewise.
9536 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
9537 Likewise.
9538 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
9539 Likewise.
9540 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
9541 Likewise.
4ef6befa
RM
9542 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
9543 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
9544 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
9545 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
9546 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
5aa618fb
RM
9547 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
9548 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
9549 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
9550 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
9551 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
9552 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
9553 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
9554 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
9555 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
9556 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
3a51fb60 9557
941d7dfd
RM
9558 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
9559 that was previously under [RESET_PID].
9560 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
9561 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
9562 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
9563
1b731c35
RM
9564 * sysdeps/i386/nptl/Implies: New file.
9565 * sysdeps/x86_64/nptl/Implies: New file.
9566 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
9567 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
9568 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
9569 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
9570
e2787137
RM
9571 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
9572 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
9573 (__libc_vfork): New strong alias.
9574 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
9575 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
9576
9577 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
9578 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
9579 (__libc_vfork): New strong alias.
9580 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
9581 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
9582
5675da1e
RM
9583 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
9584 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
9585 (__libc_vfork): New strong alias.
9586 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
9587 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
9588 * nptl/pt-vfork.c: New file.
9589 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
9590 (libpthread: GLIBC_2.20): New version set (empty).
9591
4f02e2b8
WN
95922014-05-14 Will Newton <will.newton@linaro.org>
9593
9594 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
9595 rather than #if.
9596
0bf061d3
JM
95972014-05-14 Joseph Myers <joseph@codesourcery.com>
9598
1a84c3d6
JM
9599 [BZ #16564]
9600 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
9601 arguments with exponent 65 or above.
9602 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
9603 arguments 0x1p113L or above.
9604 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
9605 to arguments 0x1p107L or above.
9606 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
9607 positive arguments with exponent 65 or above.
9608 * math/auto-libm-test-in: Add more tests of log1p.
9609 * math/auto-libm-test-out: Regenerated.
9610
01dbacd2
JM
9611 [BZ #16928]
9612 * math/s_cacos.c (__cacos): Ensure zero real part of result from
9613 non-finite arguments is +0.
9614 * math/s_cacosf.c (__cacosf): Likewise.
9615 * math/s_cacosl.c (__cacosl): Likewise.
9616 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
9617 * sysdeps/i386/fpu/libm-test-ulps: Update.
9618 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9619
913d03c8
JM
9620 [BZ #16927]
9621 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
9622 value.
9623 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
9624 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
9625 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
9626 for explicit high bit of mantissa when testing for argument equal
9627 to 1.
9628 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
9629 * sysdeps/i386/fpu/libm-test-ulps: Update.
9630 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9631
0bf061d3
JM
9632 [BZ #16516]
9633 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
9634 (__erf): Scale by 16 instead of 8 in potentially underflowing
9635 case. Ensure exception if result actually underflows.
9636 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
9637 (__erff): Scale by 16 instead of 8 in potentially underflowing
9638 case. Ensure exception if result actually underflows.
9639 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
9640 (efx8): Remove variable.
9641 (__erfl): Scale by 16 instead of 8 in potentially underflowing
9642 case. Ensure exception if result actually underflows.
9643 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
9644 (efx8): Remove variable.
9645 (__erfl): Scale by 16 instead of 8 in potentially underflowing
9646 case. Ensure exception if result actually underflows.
9647 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
9648 (efx8): Remove variable.
9649 (__erfl): Scale by 16 instead of 8 in potentially underflowing
9650 case. Ensure exception if result actually underflows.
9651 * math/auto-libm-test-in: Add more tests of erf.
9652 * math/auto-libm-test-out: Regenerated.
9653
73ba67cb
AS
96542014-05-14 Andreas Schwab <schwab@suse.de>
9655
3d8c8bff
AS
9656 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
9657 Remove code conditionalized on USE___THREAD.
9658
73ba67cb
AS
9659 * config.h.in (HAVE_PT_CHOWN): Define as 0.
9660 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
9661 not definedness.
9662
5c521ecd
JM
96632014-05-14 Joseph Myers <joseph@codesourcery.com>
9664
5e7698c6
JM
9665 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
9666 Define unconditionally.
9667 (__ASSUME_O_CLOEXEC): Likewise.
9668 (__ASSUME_SOCK_CLOEXEC): Likewise.
9669 (__ASSUME_IN_NONBLOCK): Likewise.
9670 (__ASSUME_PIPE2): Likewise.
9671 (__ASSUME_EVENTFD2): Likewise.
9672 (__ASSUME_SIGNALFD4): Likewise.
9673 (__ASSUME_DUP3): Likewise.
9674 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
9675 (__ASSUME_DUP3): Do not define.
9676 (__ASSUME_EVENTFD2): Likewise.
9677 (__ASSUME_IN_NONBLOCK): Likewise.
9678 (__ASSUME_O_CLOEXEC): Likewise.
9679 (__ASSUME_PIPE2): Likewise.
9680 (__ASSUME_SIGNALFD4): Likewise.
9681 (__ASSUME_SOCK_CLOEXEC): Likewise.
9682 (__ASSUME_UTIMES): Undefine.
9683 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
9684 (__ASSUME_UTIMES): Do not define.
9685 (__ASSUME_O_CLOEXEC): Likewise.
9686 (__ASSUME_SOCK_CLOEXEC): Likewise.
9687 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
9688 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
9689 0x020621].
9690 (__ASSUME_PIPE2): Likewise.
9691 (__ASSUME_EVENTFD2): Likewise.
9692 (__ASSUME_SIGNALFD4): Likewise.
9693 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
9694 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
9695 Do not define.
9696 (__ASSUME_EVENTFD2): Likewise.
9697 (__ASSUME_SIGNALFD4): Likewise.
9698 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
9699 (__ASSUME_32BITUIDS): Likewise.
9700 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
9701 (__ASSUME_IPC64): Likewise.
9702 (__ASSUME_ST_INO_64_BIT): Likewise.
9703 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
9704 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
9705 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
9706 (__ASSUME_UTIMES): Do not define.
9707 (__ASSUME_PSELECT): Likewise.
9708 (__ASSUME_PPOLL): Likewise.
9709 (__ASSUME_O_CLOEXEC): Likewise.
9710 (__ASSUME_SOCK_CLOEXEC): Likewise.
9711 (__ASSUME_IN_NONBLOCK): Likewise.
9712 (__ASSUME_PIPE2): Likewise.
9713 (__ASSUME_EVENTFD2): Likewise.
9714 (__ASSUME_SIGNALFD4): Likewise.
9715 (__ASSUME_DUP3): Likewise.
9716 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
9717 (__ASSUME_UTIMES): Likewise.
9718 (__ASSUME_O_CLOEXEC): Likewise.
9719 (__ASSUME_SOCK_CLOEXEC): Likewise.
9720 (__ASSUME_IN_NONBLOCK): Likewise.
9721 (__ASSUME_PIPE2): Likewise.
9722 (__ASSUME_EVENTFD2): Likewise.
9723 (__ASSUME_SIGNALFD4): Likewise.
9724 (__ASSUME_DUP3): Likewise.
9725 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9726 (__ASSUME_UTIMES): Likewise.
9727 (__ASSUME_O_CLOEXEC): Likewise.
9728 (__ASSUME_SOCK_CLOEXEC): Likewise.
9729 (__ASSUME_IN_NONBLOCK): Likewise.
9730 (__ASSUME_PIPE2): Likewise.
9731 (__ASSUME_EVENTFD2): Likewise.
9732 (__ASSUME_SIGNALFD4): Likewise.
9733 (__ASSUME_DUP3): Likewise.
9734 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
9735 Likewise.
9736 (__ASSUME_UTIMES): Likewise.
9737 (__ASSUME_EVENTFD2): Likewise.
9738 (__ASSUME_SIGNALFD4): Likewise.
9739 * sysdeps/unix/sysv/linux/tile/kernel-features.h
9740 (__ASSUME_O_CLOEXEC): Likewise.
9741 (__ASSUME_SOCK_CLOEXEC): Likewise.
9742 (__ASSUME_IN_NONBLOCK): Likewise.
9743 (__ASSUME_PIPE2): Likewise.
9744 (__ASSUME_EVENTFD2): Likewise.
9745 (__ASSUME_SIGNALFD4): Likewise.
9746 (__ASSUME_DUP3): Likewise.
9747 (__ASSUME_UTIMES): Undefine.
9748
5c521ecd
JM
9749 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
9750 feclearexcept. Remove symbol versioning code.
9751 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
9752 symbol versioning code.
9753 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
9754 symbol versioning code.
9755 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
9756 feupdateenv. Remove symbol versioning code.
9757 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
9758 fegetexceptflag. Remove symbol versioning code.
9759 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
9760 fesetexceptflag. Remove symbol versioning code.
9761 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
9762 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
9763 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
9764 (__posix_fadvise64_l32): Remove prototype.
9765 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
9766 code.
9767
5da9dfad
RM
97682014-05-13 Roland McGrath <roland@hack.frob.com>
9769
9770 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
9771 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
9772 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
9773 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
9774
893b4f37
SK
97752014-05-13 Sami Kerola <kerolasa@iki.fi>
9776
9777 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
9778 current working directory
9779
e0db6517
RM
97802014-05-13 Roland McGrath <roland@hack.frob.com>
9781
58aa195d
RM
9782 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
9783 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
9784 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
9785 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
9786 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
9787 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
9788 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
9789 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
9790 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
9791 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
9792 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
9793 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
9794 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
9795 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
9796 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
9797 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
9798 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
9799 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
9800 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
9801 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
9802 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
9803 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
9804 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
9805 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
9806 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
9807 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
9808 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
9809 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
9810 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
9811 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
9812 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
9813 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
9814 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
9815 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
9816 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
9817 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
9818 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
9819 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
9820 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
9821 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
9822 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
9823 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
9824
8c6d01f0
RM
9825 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
9826 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
9827
9828 * sysdeps/unix/sysv/linux/arm/Makefile
9829 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
9830 Add rt-aeabi_unwind_cpp_pr1.
9831 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
9832 Add nptl-aeabi_unwind_cpp_pr1.
9833 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
9834 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
9835 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
9836 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
9837 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
9838 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
9839
9840 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
9841 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
9842 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
9843 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
9844
bba6da4e
RM
9845 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
9846 Deconditionalize the code that was previously under [RESET_PID].
9847 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
9848
e0db6517
RM
9849 * sysdeps/generic/exit-thread.h: New file.
9850 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
9851 * include/unistd.h (__exit_thread): Remove declaration.
9852 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
9853 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
9854 * csu/libc-start.c: Include <exit-thread.h>.
9855 (LIBC_START_MAIN): Pass no argument to __exit_thread.
9856 * nptl/pthread_create.c: Include <exit-thread.h>.
9857 (start_thread): Call __exit_thread in place of __exit_thread_inline.
9858 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
9859 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
9860 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
9861 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
9862 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
9863 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
9864 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
9865 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
9866 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
9867 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
9868 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
9869 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
9870 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
9871 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
9872 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
9873 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
9874
01eb16fd
AS
98752014-05-13 Andreas Schwab <schwab@suse.de>
9876
9877 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
9878
637461d9
JM
98792014-05-12 Joseph Myers <joseph@codesourcery.com>
9880
9881 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
9882 (__ASSUME_UTIMES): Do not condition on kernel version.
9883 (__ASSUME_PSELECT): Define unconditionally.
9884 (__ASSUME_PPOLL): Likewise.
9885 (__ASSUME_ATFCTS): Likewise.
9886 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
9887 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
9888 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
9889 (__ASSUME_UTIMENSAT): Define unconditionally.
9890 (__ASSUME_PRIVATE_FUTEX): Likewise.
9891 (__ASSUME_FALLOCATE): Likewise.
9892 (__ASSUME_O_CLOEXEC): Likewise.
9893 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
9894 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
9895 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
9896 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
9897 (__ASSUME_IN_NONBLOCK): Likewise.
9898 (__ASSUME_PIPE2): Likewise.
9899 (__ASSUME_EVENTFD2): Likewise.
9900 (__ASSUME_SIGNALFD4): Likewise.
9901 (__ASSUME_DUP3): Likewise.
9902 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
9903 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
9904 (__ASSUME_AT_RANDOM): Likewise.
9905 (__ASSUME_PREADV): Likewise.
9906 (__ASSUME_PWRITEV): Likewise.
9907 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
9908 (__ASSUME_F_GETOWN_EX): Define unconditionally.
9909 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
9910 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
9911 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
9912 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
9913 (__ASSUME_O_CLOEXEC): Define unconditionally.
9914 (__ASSUME_PSELECT): Do not undefine conditionally.
9915 (__ASSUME_PPOLL): Likewise.
9916 (__ASSUME_ATFCTS): Likewise.
9917 (__ASSUME_SET_ROBUST_LIST): Likewise.
9918 (__ASSUME_UTIMENSAT): Likewise.
9919 (__ASSUME_FDATASYNC): Define unconditionally.
9920 * sysdeps/unix/sysv/linux/arm/kernel-features.h
9921 (__ASSUME_SIGFRAME_V2): Likewise.
9922 )__ASSUME_EVENTFD2): Likewise.
9923 (__ASSUME_SIGNALFD4): Likewise.
9924 (__ASSUME_PSELECT): Do not undefine conditionally.
9925 (__ASSUME_PPOLL): Likewise.
9926 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
9927 (__ASSUME_PSELECT): Define unconditionally.
9928 (__ASSUME_PPOLL): Likewise.
9929 (__ASSUME_O_CLOEXEC): Likewise.
9930 (__ASSUME_SOCK_CLOEXEC): Likewise.
9931 (__ASSUME_IN_NONBLOCK): Likewise.
9932 (__ASSUME_PIPE2): Likewise.
9933 (__ASSUME_EVENTFD2): Likewise.
9934 (__ASSUME_SIGNALFD4): Likewise.
9935 (__ASSUME_DUP3): Likewise.
9936 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
9937 (__ASSUME_O_CLOEXEC): Likewise.
9938 (__ASSUME_SOCK_CLOEXEC): Likewise.
9939 (__ASSUME_IN_NONBLOCK): Likewise.
9940 (__ASSUME_PIPE2): Likewise.
9941 (__ASSUME_EVENTFD2): Likewise.
9942 (__ASSUME_SIGNALFD4): Likewise.
9943 (__ASSUME_DUP3): Likewise.
9944 * sysdeps/unix/sysv/linux/mips/kernel-features.h
9945 (__ASSUME_EVENTFD2): Likewise.
9946 (__ASSUME_SIGNALFD4): Likewise.
9947 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
9948
315eb1d8
AS
99492014-05-12 Andreas Schwab <schwab@suse.de>
9950
9951 [BZ #16932]
9952 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
9953 (_nss_nis_gethostbyname4_r): Return error if item length is larger
9954 than maximum RPC packet size.
9955 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
9956 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
9957 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
9958 (_nss_nis_getservbyport_r): Likewise.
9959
91df99f7
WN
99602014-05-12 Will Newton <will.newton@linaro.org>
9961
9962 * malloc/Makefile (tests): Add tst-mallopt.
9963 * malloc/tst-mallopt.c: New file.
9964
0a982a29
RM
99652014-05-09 Roland McGrath <roland@hack.frob.com>
9966
9967 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
9968 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
9969
0ded08a5
AZ
99702014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9971
9972 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
9973 (tst-tlsmod6.so): Likewise.
9974
55d4d550
RM
99752014-05-09 Roland McGrath <roland@hack.frob.com>
9976
9977 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
9978
77d08aca
JM
99792014-05-09 Joseph Myers <joseph@codesourcery.com>
9980
9981 [BZ #16064]
9982 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
9983 and <dl-procinfo.h>.
9984 (__fegetenv): Save SSE state in envp->__eip if supported.
9985 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
9986 envp->__eip if supported.
9987 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
9988 and <dl-procinfo.h>.
9989 (__fesetenv): Always set __eip, __cs_selector, __opcode,
9990 __data_offset and __data_selector in environment to 0. Set SSE
9991 state if supported.
9992 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
9993 test-fenv-sse.
9994 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
9995 -mfpmath=sse.
9996 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
9997
28162f4d
WN
99982014-05-09 Will Newton <will.newton@linaro.org>
9999
10000 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
10001 and libc_relro_required for ARM.
10002 * sysdeps/arm/preconfigure: Regenerate.
10003
5a414ff7
DV
100042014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
10005 Stefan Liebler <stli@linux.vnet.ibm.com>
10006
10007 * config.make.in (enable-lock-elision): New Makefile variable.
10008 * configure.ac: Likewise.
10009 * configure: Regenerate.
10010 * sysdeps/s390/configure.ac:
10011 Add check for gcc transactions support.
10012 * sysdeps/s390/configure: Regenerate.
10013 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
10014 Build elision files if enabled.
10015 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
10016 Add lock elision support for s390.
10017 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
10018 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
10019 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
10020 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
10021 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
10022 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
10023 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
10024 Likewise.
10025 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
10026 Likewise.
10027 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
10028 Likewise.
10029 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
10030 Likewise.
10031 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
10032 (__lll_timedlock_elision, __lll_lock_elision)
10033 (__lll_unlock_elision, __lll_trylock_elision)
10034 (lll_timedlock_elision, lll_lock_elision)
10035 (lll_unlock_elision, lll_trylock_elision): Add.
10036 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
10037 (pthread_mutex_t): Add lock elision support for s390.
10038
1a2f40e5
W
100392014-05-14 Wilco <wdijkstr@arm.com>
10040
10041 * sysdeps/arm/fclrexcpt.c: Cleanup.
10042 * sysdeps/arm/fedisblxcpt.c: Cleanup.
10043 * sysdeps/arm/feenablxcpt.c: Cleanup.
10044 * sysdeps/arm/fegetenv.c: Cleanup.
10045 * sysdeps/arm/fegetexcept.c: Cleanup.
10046 * sysdeps/arm/fegetround.c: Cleanup.
10047 * sysdeps/arm/feholdexcpt.c: Cleanup.
10048 * sysdeps/arm/fesetenv.c: Cleanup.
10049 * sysdeps/arm/fesetround.c: Cleanup.
10050 * sysdeps/arm/feupdateenv.c: Cleanup.
10051 * sysdeps/arm/fgetexcptflg.c: Cleanup.
10052 * sysdeps/arm/fraiseexcpt.c: Cleanup.
10053 * sysdeps/arm/fsetexcptflg.c: Cleanup.
10054 * sysdeps/arm/ftestexcept.c: Cleanup.
10055 * sysdeps/arm/get-rounding-mode.h: Cleanup.
10056 * sysdeps/arm/setfpucw.c: Cleanup.
10057
f63c86fe
WN
100582014-05-09 Will Newton <will.newton@linaro.org>
10059
10060 * sysdeps/arm/armv7/strcmp.S: New file.
10061 * NEWS: Mention addition of ARMv7 optimized strcmp.
10062
7a1a51b5
RM
100632014-05-08 Roland McGrath <roland@hack.frob.com>
10064
95afbbe5
RM
10065 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
10066 look for %.ac rather than %.in.
10067
10068 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
10069 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
10070 * sysdeps/mach/hurd/configure: Regenerated.
10071 * sysdeps/unix/sysv/linux/configure: Regenerated.
10072
7a1a51b5
RM
10073 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
10074
5057ad3b
SE
100752014-05-07 Steve Ellcey <sellcey@mips.com>
10076
10077 [BZ# 16922]
10078 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
10079 (LONG_SUB): Ditto.
10080 (PTR_SUB): Ditto.
10081
8dc97517
AS
100822014-05-07 Andreas Schwab <schwab@suse.de>
10083
10084 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
10085 when skipping over non-matching result from nscd.
10086
ce0c5b8f
OB
100872014-05-07 Ondřej Bílka <neleai@seznam.cz>
10088
10089 [BZ #16876]
10090 * nptl/sockperf.c (client): Check socket return value.
8dc97517 10091
a1189263
OB
10092 [BZ #16877]
10093 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
10094 nscd security class.
ce0c5b8f 10095
0f58d252
RM
100962014-05-06 Roland McGrath <roland@hack.frob.com>
10097
10098 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
10099 * sysdeps/arm/unwind.h: ... here.
10100
83df9ad0
AJ
101012014-05-06 Aurelien Jarno <aurelien@aurel32.net>
10102
ce0c5b8f
OB
10103 [BZ# 16916]
10104 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
10105 Define.
83df9ad0 10106
f360f94a
VR
101072014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
10108
10109 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
10110 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
10111 multiarch strncpy for PPC64.
10112 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
10113 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
10114 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
10115 multiarch optimizations.
10116 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
10117 (__libc_ifunc_impl_list): Likewise.
10118 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
10119 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
10120 multiarch stpncpy for PPC64.
10121 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
10122 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
10123
978a41c3
AS
101242014-05-06 Andreas Schwab <schwab@suse.de>
10125
10126 [BZ #16912]
10127 * gmon/mcount.c (_MCOUNT_DECL): Use
10128 atomic_compare_and_exchange_bool_acq instead of
10129 catomic_compare_and_exchange_bool_acq.
10130
eb1ed03d
RM
101312014-05-05 Roland McGrath <roland@hack.frob.com>
10132
fe658845
RM
10133 * elf/Makefile (others, install-bin): Remove pldd.
10134 (pldd-modules): Variable removed.
10135 ($(objpfx)pldd): Target removed.
10136 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
10137 (others, install-bin): Append pldd here.
10138 ($(objpfx)pldd): New target.
10139
eb1ed03d
RM
10140 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
10141 to 0, so the first #if test emitted later doesn't see it undefined.
10142 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
10143 * sysdeps/gnu/errlist.c: Regenerated.
10144
19c4bec0
AZ
101452014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10146
10147 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
10148 [libc_hidden_builtin_def]: Define to empty value.
10149 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
10150 [libc_hidden_builtin_def]: Likewise.
10151 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
10152 [libc_hidden_builtin_def]: Likewise.
10153 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
10154 [libc_hidden_builtin_def]: Likewise.
10155 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
10156 __redirect_memcpy and define ifunc as default hidden symbol.
10157 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
10158 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
10159
7776e669
AC
101602014-05-04 Adam Conrad <adconrad@0c3.net>
10161
10162 * locale/iso-4217.def: Reintroduce XDR currency.
10163
d69aeb12
AM
101642014-05-04 Allan McRae <allan@archlinux.org>
10165
10166 * po/eo.po: Update Esperanto translation from translation project.
10167
8f1df5cf
CD
101682014-05-02 Carlos O'Donell <carlos@redhat.com>
10169
10170 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
10171 and FEATURE_INDEX_MAX to 1.
10172 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
10173
13e402e7
SE
101742014-05-01 Steve Ellcey <sellcey@mips.com>
10175
10176 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
10177 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
10178 * iconvdata/big5.c (ONE_DIRECTION): Define.
10179 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
10180 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
10181 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
10182 * iconvdata/cp932.c (ONE_DIRECTION): Define.
10183 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
10184 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
10185 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
10186 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
10187 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
10188 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
10189 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
10190 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
10191 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
10192 * iconvdata/gbk.c (ONE_DIRECTION): Define.
10193 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
10194 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
10195 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
10196 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
10197 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
10198 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
10199 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
10200 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
10201 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
10202 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
10203 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
10204 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
10205 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
10206 * iconvdata/iso646.c (ONE_DIRECTION): Define.
10207 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
10208 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
10209 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
10210 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
10211 * iconvdata/johab.c (ONE_DIRECTION): Define.
10212 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
10213 * iconvdata/sjis.c (ONE_DIRECTION): Define.
10214 * iconvdata/t.61.c (ONE_DIRECTION): Define.
10215 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
10216 * iconvdata/tscii.c (ONE_DIRECTION): Define.
10217 * iconvdata/uhc.c (ONE_DIRECTION): Define.
10218 * iconvdata/unicode.c (ONE_DIRECTION): Define.
10219 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
10220 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
10221 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
10222
c727f032
RM
102232014-05-01 Roland McGrath <roland@hack.frob.com>
10224
8f2f08d0
RM
10225 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
10226 (_IO_JUMPS_OFFSET): Define to 0.
10227
c727f032
RM
10228 * nptl/sysdeps/pthread/bits/libc-lock.h
10229 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
10230 (__libc_lock_define_initialized_recursive): Always define using
10231 initializer. Modern compilers treat uninitialized (implicit zero) and
10232 explicit zero initializers the same (i.e. put the datum in bss).
10233
a849e800
AS
102342014-05-01 Andreas Schwab <schwab@linux-m68k.org>
10235
10236 * nscd/nscd-client.h: Include <string.h>.
10237
5331255b
DM
102382014-05-01 David S. Miller <davem@davemloft.net>
10239
10240 [BZ #16885]
10241 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
10242 multiple zero bytes exist at the end of a string.
10243 Reported by Aurelien Jarno <aurelien@aurel32.net>
10244
10245 * string/test-strcmp.c (check): Add explicit test for situations where
10246 there are multiple zero bytes after the first.
10247
4fdfe821
AS
102482014-05-01 Andreas Schwab <schwab@linux-m68k.org>
10249
10250 [BZ #16890]
10251 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
10252 when compiling wprintf.
10253 * stdio-common/tstdiomisc.c (t3): New function.
10254 (main): Call it.
10255
0cdddc25
SE
102562014-05-01 Steve Ellcey <sellcey@mips.com>
10257
10258 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
10259 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
10260 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
10261 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
10262
6426d77e
SE
102632014-05-01 Steve Ellcey <sellcey@mips.com>
10264
10265 * stdlib/longlong.h: Updated from GCC.
10266
6d96f5e4
WN
102672014-05-01 Will Newton <will.newton@linaro.org>
10268 Bernard Ogden <bernie.ogden@linaro.org>
10269
7470db0c
WN
10270 * NEWS: Update fixed bug list.
10271
6d96f5e4
WN
10272 [BZ #15119]
10273 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
10274
211d653c
DM
102752014-04-30 David S. Miller <davem@davemloft.net>
10276
4fa262fa
DM
10277 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
10278 (libc_feholdexcept_setround_sparc_ctx): New function.
10279 (libc_fesetenv_sparc_ctx): Likewise.
10280 (libc_feupdateenv_sparc_ctx): Likewise.
10281 (libc_feholdsetround_sparc_ctx): Likewise.
10282 (libc_feholdexcept_setround_ctx): Define.
10283 (libc_feholdexcept_setroundf_ctx): Likewise.
10284 (libc_feholdexcept_setroundl_ctx): Likewise.
10285 (libc_fesetenv_ctx): Likewise.
10286 (libc_fesetenvf_ctx): Likewise.
10287 (libc_fesetenvl_ctx): Likewise.
10288 (libc_feupdateenv_ctx): Likewise.
10289 (libc_feupdateenvf_ctx): Likewise.
10290 (libc_feupdateenvl_ctx): Likewise.
10291 (libc_feresetround_ctx): Likewise.
10292 (libc_feresetroundf_ctx): Likewise.
10293 (libc_feresetroundl_ctx): Likewise.
10294 (libc_feholdsetround_ctx): Likewise.
10295 (libc_feholdsetroundf_ctx): Likewise.
10296 (libc_feholdsetroundl_ctx): Likewise.
10297
1d3d93ef
DM
10298 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
10299 with __USE_GNU instead of XOPEN cpp guards.
10300
8aa583c3
DM
10301 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
10302 0.
10303
211d653c
DM
10304 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
10305 with XOPEN cpp guards.
10306
60c8f1f6
JB
103072014-04-30 Julian Brown <julian@codesourcery.com>
10308
10309 [BZ #16888]
10310 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
10311 handling.
10312
9a461d46
JM
103132014-04-30 Joseph Myers <joseph@codesourcery.com>
10314
d0f5b3f8
JM
10315 [BZ #9894]
10316 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
10317 Change to 2.6.32.
10318 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
10319 * sysdeps/unix/sysv/linux/configure: Regenerated.
10320 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
10321 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
10322 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
10323 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
10324 * README: Update reference to required Linux kernel version.
10325 * manual/install.texi (Linux): Update reference to required Linux
10326 kernel headers version.
10327 * INSTALL: Regenerated.
10328
9a461d46
JM
10329 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
10330 header inclusion.
10331 [POSIX] (limits.h): Likewise.
10332 [POSIX] (math.h): Likewise.
10333 [POSIX] (sys/wait.h): Likewise.
10334 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
10335 function.
10336 [POSIX] (stddef.h): Do not allow header inclusion.
10337
1775babf
AZ
103382014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10339
57f41c40 10340 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
1775babf 10341
8f630cca
YY
103422014-04-30 Yang Yingliang <yangyingliang@huawei.com>
10343
10344 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
10345 Return immediately after lll_futex_wake.
10346
1cdeb237
SP
103472014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
10348
bc8f194c
SP
10349 [BZ #16791]
10350 * nscd/nscd-client.h (datahead_init_common): Initialize entire
10351 structure.
10352 (datahead_init_pos): Call datahead_init_common early.
10353 (datahead_init_neg): Likewise.
10354
1cdeb237
SP
10355 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
10356 datahead_init_neg): New functions.
10357 * nscd/aicache.c (addhstaiX): Use them.
10358 * nscd/grpcache.c (cache_addgr): Likewise.
10359 * nscd/hstcache.c (cache_addhst): Likewise.
10360 * nscd/initgrcache.c (addinitgroupsX): Likewise.
10361 * nscd/netgroupcache.c (do_notfound): Likewise.
10362 (addgetnetgrentX): Likewise.
10363 (addinnetgrX): Likewise.
10364 * nscd/pwdcache.c (cache_addpw): Likewise.
10365 * nscd/servicescache.c (cache_addserv): Likewise.
10366
16b293a7
SP
103672014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
10368 Atsushi Onoe <atsushi@onoe.org>
10369
10370 [BZ #14308]
10371 [BZ #12994]
10372 [BZ #13651]
10373 * resolv/res_query.c (__libc_res_nsearch): Return if at least
10374 one response is valid.
10375 * resolv/res_send.c (send_dg): Check for validity of other
10376 response if the current response is a referral.
10377
a28a9b94
SE
103782014-04-29 Steve Ellcey <sellcey@mips.com>
10379
10380 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
10381
2ca180e9
SL
103822014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
10383
10384 [BZ #16823]
10385 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
10386 Always divide by positive zero when computing -Inf result.
10387 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
10388 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
10389
18f2945a
AZ
103902014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10391
10392 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
10393 FPSCR if value do not change.
10394 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
10395 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
10396 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
10397 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
10398 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
10399 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
10400 function.
10401
5abebba4
CD
104022014-05-29 Carlos O'Donell <carlos@systemhalted.org>
10403
10404 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
10405 * sysdeps/unix/sysv/linux/hppa: Move directory from
10406 ports/systeps/unix/sysv/linux/hppa.
10407 * README: Update listing for hppa-*-linux-gnu.
10408
f7ed60c2
OB
104092014-04-28 Ondřej Bílka <neleai@seznam.cz>
10410
fff763a5
OB
10411 [BZ #16754]
10412 * manual/stdio.texi (Hook functions): Fix types of stream hook
10413 functions.
f7ed60c2
OB
10414 [BZ #16854]
10415 * socket/sys/socket.h: Fix typo in comment.
10416
df639d73
WD
104172014-04-28 Wilco <wdijkstr@arm.com>
10418
f7ed60c2 10419 * sysdeps/arm/fenv_private.h: New file.
df639d73
WD
10420 * sysdeps/arm/math_private.h: New file.
10421 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
10422
48332d82
L
104232014-04-25 H.J. Lu <hongjiu.lu@intel.com>
10424
10425 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
10426 with __int128_t.
10427 (La_x86_64_retval): Likewise.
10428
e5e0d9a4
IB
104292014-04-24 Ian Bolton <ian.bolton@arm.com>
10430
10431 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
10432 fpsr if value didn't change.
10433 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
10434 to fpcr if value didn't change.
10435 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
10436 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
10437 fpsr or fpcr if value didn't change.
10438 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
10439 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
10440 fpcr if value didn't change.
10441 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
10442 to fpsr if value didn't change.
10443
bacc75f7
SP
104442014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
10445
10446 * nptl/tst-sem3.c: Use test-skeleton.c
10447 (main): Rename to do_test. Use return instead of
10448 exit.
10449 * nptl/tst-sem4.c: Use test-skeleton.c
10450 (main): Rename to do_test.
10451
a059d359
DM
104522014-04-22 David S. Miller <davem@davemloft.net>
10453
10454 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
10455 (struct sigaction): New struct member __glibc_reserved0, change
10456 type of sa_flags to int.
10457
ea6c92f3
YZ
104582014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
10459
10460 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
10461 (COUNT_LEADING_ZEROS_0): Define for AArch64.
10462
766c4a36
SP
104632014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
10464
10465 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
10466 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
10467
140cc7ab
VK
104682014-04-22 Will Newton <will.newton@linaro.org>
10469 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
10470
10471 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
10472 (__longjmp): Add longjmp and longjmp_target SystemTap
10473 probes.
10474 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
10475 (__sigsetjmp): Add setjmp SystemTap probe.
10476
c54e5cf7
CD
104772014-04-17 Carlos O'Donell <carlos@redhat.com>
10478
10479 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
10480 match manual order.
10481
75ffb047
AZ
104822014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10483
10484 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
10485
2cd925f7
AZ
10486 * sysdeps/powerpc/fpu/fenv_private.h
10487 (libc_feholdexcept_setroundl_ctx): Define to
10488 libc_feholdexcept_setround_ppc_ctx.
10489 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
10490 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
10491 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
10492 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
10493
39e6cd8d
IB
104942014-04-17 Ian Bolton <ian.bolton@arm.com>
10495
10496 * sysdeps/aarch64/math-tests.h: New file.
10497
f9281df9
SY
104982014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
10499
10500 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
10501 New.
10502 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10503 Check and set bit_AVX2_Usable.
10504 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
10505 macro.
10506 (bit_AVX2): Likewise.
10507 (index_AVX2_Usable): Likewise.
10508 (CPUID_AVX2): Likewise.
10509 (HAS_AVX2): Likewise.
10510
37d35007
WN
105112014-04-17 Will Newton <will.newton@linaro.org>
10512
7c677662
WN
10513 * manual/setjmp.texi (System V contexts): Add note that
10514 calling setcontext on a context created by a call to a
10515 signal handler is undefined. Update text to note that
10516 setcontext from a signal handler is possible but not
10517 recommended.
10518
37d35007 10519 [BZ #16629]
e04a4e9d
WN
10520 * stdlib/tst-setcontext.c: Include signal.h.
10521 (main): Check that the signal stack before and
10522 after swapcontext is the same.
10523
37d35007
WN
10524 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
10525 Re-implement to restore registers in user code and avoid
10526 rt_sigreturn system call.
10527
423a7160
W
105282014-04-17 Wilco <wdijkstr@arm.com>
10529
10530 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
10531 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
10532 * math/test-fenv.c: Skip exception trap tests on targets which only
10533 support non-stop mode.
10534
bc93ab29
IB
105352014-04-17 Ian Bolton <ian.bolton@arm.com>
10536 Wilco Dijkstra <wilco.dijkstra@arm.com>
10537
10538 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
10539 (libc_feholdsetround_aarch64_ctx)
10540 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
10541 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
10542 (libc_feresetround_ctx, libc_feresetroundf_ctx)
10543 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
10544 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
10545 (libc_feresetround_noexl_ctx): Define.
10546
95fc5fa3
RH
105472014-04-16 Richard Henderson <rth@redhat.com>
10548
ddb04724
RH
10549 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
10550
d77c0899
RH
10551 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
10552 unwind tables.
10553
a3df56fc
RH
10554 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
10555 const from the non-libc, non-ldso copy.
10556
95fc5fa3
RH
10557 * sysdeps/alpha/libm-test-ulps: Regenerate.
10558
7e0b6763
IB
105592014-04-16 Ian Bolton <ian.bolton@arm.com>
10560 Wilco Dijkstra <wilco.dijkstra@arm.com>
10561
10562 * sysdeps/aarch64/fpu/math_private.h: New file.
10563
a9ea2e0c
MS
105642014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
10565
10566 * sysdeps/aarch64/libm-test-ulps: Regenerate.
10567
ea8ba7cd
IZ
105682014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
10569
7e54fd04 10570 [BZ #16275]
ea8ba7cd
IZ
10571 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
10572 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
10573 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
10574 Intel MPX bound registers before _dl_profile_fixup.
10575 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
10576 registers after _dl_profile_fixup. Save and restore bound
10577 registers bnd0/bnd1 when calling _dl_call_pltexit.
10578 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
10579 (LR_BND_OFFSET): Likewise.
10580 (LRV_BND0_OFFSET): Likewise.
10581 (LRV_BND1_OFFSET): Likewise.
10582
9f2a4fbc
ST
105832014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
10584
10585 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
10586 to...
10587 * sysdeps/mach/hurd/i386/tls.h: ... here.
3c799e91
ST
10588 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
10589 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
10590 fields.
9f2a4fbc 10591
fd15a59b
ST
105922014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
10593
10594 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
10595
f19dfa0a
SL
105962014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
10597
10598 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
10599
4fa8bc3b
SL
106002014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
10601
10602 [BZ #14770]
10603 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
10604 * sysdeps/s390/configure: Regenerate.
10605
8ea587db
SL
10606 [BZ #16824]
10607 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
10608 Set round-to-nearest internally to reduce error accumulation.
10609
aa5f0ff1
AM
106102014-04-16 Alan Modra <amodra@gmail.com>
10611
10612 [BZ #16740]
10613 [BZ #16619]
10614 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
10615 * math/libm-test.inc (frexp_test_data): Add tests.
9860b045 10616 * NEWS: Update fixed bug list.
aa5f0ff1 10617
bb9c256f
SP
106182014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
10619
10620 * benchtests/Makefile: Depend on libraries in build directory.
10621 (bench-math): Separate out math tests.
10622 (bench-pthread): Separate out pthread tests.
10623 (bench): Include math and pthread tests.
10624
f737dfd0
CD
106252014-04-14 Carlos O'Donell <carlos@redhat.com>
10626
10627 [BZ #16831]
10628 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
10629 _dl_debug_initialize.
10630
0699f766
CD
10631 * configure.ac: Remove SELinux header check.
10632 * configure: Regenerate.
10633 * nscd/selinux.c (perms): Array of const char* to permission names.
10634 (nscd_request_avc_has_perm): Call security_deny_unknown to find
10635 default policy. Call string_to_security_class and string_to_av_perm to
10636 translate strings. Enforce default policy and call avs_has_perm with
10637 results of translated strings.
10638
809bd45f
DM
106392014-04-13 David S. Miller <davem@davemloft.net>
10640
10641 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10642
89e691f2
AM
106432014-04-12 Allan McRae <allan@archlinux.org>
10644
10645 [BZ #16838]
10646 * manual/string.texi (Collation Functions): Fix qsort argument
10647 order in example.
10648 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
10649
9c9daaeb
CM
106502014-04-11 Chris Metcalf <cmetcalf@tilera.com>
10651
10652 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
10653 Make the test a no-op if there are no exceptions defined.
10654
95561fb9
PP
106552014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
10656
fe8d072c 10657 * elf/Makefile (tests): make tst-dlopen-aout conditional on
95561fb9
PP
10658 enable-hardcoded-path-in-tests
10659
970c602a
WN
106602014-04-11 Will Newton <will.newton@linaro.org>
10661
10662 * benchtests/Makefile (extra-objs): Add json-lib.o.
10663 (bench-func): Tidy up JSON output.
10664 * benchtests/bench-skeleton.c: Include json-lib.h.
10665 (main): Use JSON library functions to do output of
10666 benchmark results.
10667 * benchtests/bench-timing-type.c (main): Output the
10668 timing type simply, leaving formatting to the user.
10669 * benchtests/json-lib.c: New file.
10670 * benchtests/json-lib.h: Likewise.
10671
36875b06
TR
106722014-04-11 Torvald Riegel <triegel@redhat.com>
10673
10674 [BZ #15215]
10675 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
10676 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
10677 memory barriers. Add comments.
10678 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
10679 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
10680 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
10681 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
10682 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
10683 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
10684
579db35a
SL
106852014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
10686
10687 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
10688 * sysdeps/s390/s390-64/configure.ac: ... this ...
10689 * sysdeps/s390/configure.ac: ... to here.
10690 * sysdeps/s390/s390-32/configure: Delete file.
10691 * sysdeps/s390/s390-64/configure: Delete file.
10692 * sysdeps/s390/configure: Regenerate.
10693
c12e9f37
JAPH
106942014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
10695
10696 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
10697
439bda32
WN
106982014-04-11 Will Newton <will.newton@linaro.org>
10699
10700 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
10701 to zero if it is not defined elsewhere. (mtrim): Test
10702 the value of MALLOC_DEBUG with #if rather than #ifdef.
10703
6a5d6ea1
TR
107042014-04-10 Torvald Riegel <triegel@redhat.com>
10705
10706 * benchtests/pthread_once-inputs: New file.
10707 * benchtests/pthread_once-source.c: New file.
10708 * benchtests/README: Update documentation.
10709
a4c75cfd
IZ
107102014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
10711 H.J. Lu <hongjiu.lu@intel.com>
10712
7e54fd04 10713 [BZ #16275]
a4c75cfd
IZ
10714 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
10715 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
10716 * sysdeps/x86_64/configure: Regenerated.
10717 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
10718 macro.
10719 (REGISTER_SAVE_RAX): Likewise.
10720 (REGISTER_SAVE_RCX): Likewise.
10721 (REGISTER_SAVE_RDX): Likewise.
10722 (REGISTER_SAVE_RSI): Likewise.
10723 (REGISTER_SAVE_RDI): Likewise.
10724 (REGISTER_SAVE_R8): Likewise.
10725 (REGISTER_SAVE_R9): Likewise.
10726 (REGISTER_SAVE_BND0): Likewise.
10727 (REGISTER_SAVE_BND1): Likewise.
10728 (REGISTER_SAVE_BND2): Likewise.
10729 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
10730 bound registers when calling _dl_fixup.
10731
27822ce6
AZ
107322014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10733
10734 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
57f41c40
AS
10735 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
10736 of its definition.
27822ce6
AZ
10737 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
10738 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
10739 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
10740 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
10741 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
10742 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
10743 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
10744
a88ddc90
PTB
107452014-04-09 Peter Brett <peter@peter-b.co.uk>
10746
10747 [BZ #15514]
10748 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
10749 pathconf(_PC_NAME_MAX).
10750
01f8eac2
AZ
107512014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10752
10753 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
10754 Remove macro usage.
10755 (__PTHREAD_SPINS): Move definition to ...
10756 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
10757 (__PTHREAD_SPINS): ... here.
10758 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
10759 (__PTHREAD_SPIN): Likewise.
10760 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
10761 (__PTHREAD_SPIN): Likewise.
10762 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
10763 (__PTHREAD_SPIN): Likewise.
10764 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
10765 (__PTHREAD_SPIN): Likewise.
10766 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
10767 (__PTHREAD_SPIN): Likewise.
10768 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
10769 (__PTHREAD_SPIN): Likewise.
10770 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
10771 (__PTHREAD_SPIN): Likewise.
10772 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
10773 (__PTHREAD_SPIN): Likewise.
10774 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
10775 (__PTHREAD_SPIN): Likewise.
10776 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
10777 (__PTHREAD_SPIN): Likewise.
10778 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
10779 (__PTHREAD_SPIN): Likewise.
10780 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
10781 (__PTHREAD_SPIN): Likewise.
10782
de21c33c
AZ
10783 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
10784 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
10785 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
10786 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
10787 imply folder.
10788 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
10789 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
10790 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
10791 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
10792 correct imply path.
10793 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
10794 strlen symbol for non multi-arch builds.
10795 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
10796 missing hidden_def and weak_alias.
10797
862c472e
CD
107982014-04-08 Carlos O'Donell <carlos@redhat.com>
10799
10800 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
10801
8667f90e
WN
108022014-04-07 Will Newton <will.newton@linaro.org>
10803
10804 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
10805 and contents. [!_LIBC] Remove #ifndef and contents.
10806 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
10807 * string/memccpy.c (__memccpy): Use ANSI prototype.
10808 * string/memfrob.c (memfrob): Likewise.
10809 * string/strcoll.c (STRCOLL): Likewise.
10810 * string/strlen.c (strlen): Likewise.
10811 * string/strtok.c (STRTOK): Likewise.
10812 * string/strcat.c: Remove unused #include of memcopy.h.
10813 (strcat): Use ANSI prototype.
10814 * string/strchr.c: Remove unused #include of memcopy.h.
10815 (strchr): Use ANSI prototype.
10816 * string/strcmp.c: Remove unused #include of memcopy.h.
10817 (strcmp): Use ANSI prototype.
10818 * string/strcpy.c: Remove unused #include of memcopy.h.
10819 (strcpy): Use ANSI prototype.
10820
7ffa9423
AZ
108212014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10822
10823 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
10824 * config.make.in (config-extra-cppflags): Set it from
10825 libc_extra_cppflags.
10826 * configure.ac (libc_extra_cflags): Make it accumulate over
10827 configure fragments.
10828 (libc_extra_cppflags): New flag.
10829 * configure. Regenerate.
10830 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
57f41c40
AS
10831 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
10832 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
7ffa9423
AZ
10833 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
10834
8bd70862
AZ
10835 [BZ #16815]
10836 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
10837 result for FE_DOWNWARD rounding mode.
10838 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
10839 Likewise.
10840 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10841
d42f3448
CM
108422014-04-04 Chris Metcalf <cmetcalf@tilera.com>
10843
10844 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
10845 in function argument name.
10846
1c21d115
DS
108472014-04-03 David Svoboda <svoboda@cert.org>
10848
10849 [BZ #5666]
10850 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
10851 explicitly.
10852
fcccd512
RM
108532014-04-03 Roland McGrath <roland@hack.frob.com>
10854
10855 * elf/dl-unmap-segments.h: New file.
10856 * sysdeps/generic/ldsodefs.h
10857 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
10858 * elf/dl-close.c: Include <dl-unmap-segments.h>.
10859 * elf/dl-fptr.c: Likewise.
10860 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
10861 * sysdeps/aarch64/tlsdesc.c: Likewise.
10862 * sysdeps/arm/tlsdesc.c: Likewise.
10863 * sysdeps/i386/tlsdesc.c: Likewise.
10864 * sysdeps/tile/dl-runtime.c: Likewise.
10865 * sysdeps/x86_64/tlsdesc.c: Likewise.
10866 * elf/dl-load.h: New file.
10867 * elf/dl-load.c: Include it.
10868 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
10869 Macros moved to dl-load.h.
10870 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
10871 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
10872 Use _dl_unmap_segments in place of __munmap.
10873 Break out segment-mapping loop into ...
10874 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
10875
f6488e2b
WN
108762014-04-03 Will Newton <will.newton@linaro.org>
10877
10878 * elf/dl-lookup.c (do_lookup_x): Remove comment
10879 referring to nested function and move variable
10880 declarations down to before first use.
10881
6f05bafe
JM
108822014-04-02 Joseph Myers <joseph@codesourcery.com>
10883
a84e78c8
JM
10884 [BZ #16799]
10885 [BZ #16800]
10886 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
10887 with 0 numerator.
10888 * math/s_catanf.c (__catanf): Likewise.
10889 * math/s_catanh.c (__catanh): Likewise.
10890 * math/s_catanhf.c (__catanhf): Likewise.
10891 * math/s_catanhl.c (__catanhl): Likewise.
10892 * math/s_catanl.c (__catanl): Likewise.
10893 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
10894 by positive zero when computing -Inf result.
10895 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
10896 (catanh_test): Likewise.
10897 * sysdeps/i386/fpu/libm-test-ulps: Update.
10898 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10899
6f05bafe
JM
10900 [BZ #16789]
10901 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
10902 instead of using underflowing value in computing result.
10903 * math/s_clog10.c (__clog10): Likewise.
10904 * math/s_clog10f.c (__clog10f): Likewise.
10905 * math/s_clog10l.c (__clog10l): Likewise.
10906 * math/s_clogf.c (__clogf): Likewise.
10907 * math/s_clogl.c (__clogl): Likewise.
10908 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
10909 (clog10_test): Likewise.
10910 * sysdeps/i386/fpu/libm-test-ulps: Update.
10911 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10912
b0abbc21
AM
109132014-04-02 Alan Modra <amodra@gmail.com>
10914
10915 [BZ #16739]
10916 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
10917 output when value is near a power of two. Use int64_t for lx and
10918 remove casts. Use decimal rather than hex exponent constants.
10919 Don't use long double multiplication when double will suffice.
10920 * math/libm-test.inc (nextafter_test_data): Add tests.
10921 * NEWS: Add 16739 and 16786 to bug list.
10922
af6b1797
AM
10923 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
10924
483818d7
AM
10925 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
10926
f6c55796
WN
109272014-04-01 Will Newton <will.newton@linaro.org>
10928
10929 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
10930 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
10931
13f7fe35
FW
109322014-04-01 Florian Weimer <fweimer@redhat.com>
10933
10934 [BZ #13347]
10935 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
10936 * nptl/tst-setuid2.c: New file.
10937 * nptl/Makefile (xtests): Add tst-setuid2.
10938
c859b32e
AM
109392014-04-01 Alan Modra <amodra@gmail.com>
10940
10941 [BZ #16786]
10942 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
10943
54fa2475
JM
109442014-03-31 Joseph Myers <joseph@codesourcery.com>
10945
8795b4a4
JM
10946 [BZ #6803]
10947 [BZ #6804]
10948 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
10949 set errno as appropriate.
10950 * math/w_scalbf.c (__scalbf): Likewise.
10951 * math/w_scalbl.c (__scalbl): Likewise.
10952 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
10953 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
10954 * math/libm-test.inc (scalb_test_data): Add errno expectations.
10955 Add more NaN tests.
10956
54fa2475
JM
10957 [BZ #16349]
10958 * math/w_atan2.c: Include <errno.h>.
10959 (__atan2): Set errno for result underflowing to zero.
10960 * math/w_atan2f.c: Include <errno.h>.
10961 (__atan2f): Set errno for result underflowing to zero.
10962 * math/w_atan2l.c: Include <errno.h>.
10963 (__atan2l): Set errno for result underflowing to zero.
10964 * math/auto-libm-test-in: Don't allow missing errno for some atan2
10965 tests.
10966 * math/auto-libm-test-out: Regenerated.
10967
757d9dd5
AZ
109682014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10969
10970 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
10971 Encode instruction correctly in little endian.
10972 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
10973 Likewise.
10974 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
10975 Likewise.
10976 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
10977 Likewise.
10978 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
10979 Likewise.
10980
d7a68734
JM
109812014-03-31 Joseph Myers <joseph@codesourcery.com>
10982
47c5adeb
JM
10983 [BZ #9894]
10984 * sysdeps/unix/sysv/linux/kernel-features.h
10985 [__sparc__ && !__arch64__ && !__sparc_v9__]
10986 (__ASSUME_SET_ROBUST_LIST): Do not define.
10987 [__sparc__ && !__arch64__ && !__sparc_v9__]
10988 (__ASSUME_FUTEX_LOCK_PI): Likewise.
10989 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
10990 Likewise.
10991 * sysdeps/unix/sysv/linux/arm/kernel-features.h
10992 (__ASSUME_FUTEX_LOCK_PI): Undefine.
10993 (__ASSUME_REQUEUE_PI): Likewise.
10994 (__ASSUME_SET_ROBUST_LIST): Likewise.
10995 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
10996 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
10997 Undefine.
10998 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10999 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
11000 Likewise.
11001 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
11002 Likewise.
11003 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
11004 Likewise.
11005 * sysdeps/unix/sysv/linux/mips/kernel-features.h
11006 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
11007 Undefine.
11008 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
11009 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
11010 Likewise.
11011
d7a68734
JM
11012 [BZ #16648]
11013 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11014 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
11015 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
11016
c760f5c2
WN
110172014-03-31 Will Newton <will.newton@linaro.org>
11018
11019 * benchtests/Makefile (bench): Add ffs and ffsll to list
11020 of tests.
11021 * benchtests/ffs-inputs: New file.
11022 * benchtests/ffsll-inputs: Likewise.
11023
ea6029b1
JM
110242014-03-29 Joseph Myers <joseph@codesourcery.com>
11025
11026 [BZ #16770]
11027 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
11028 too large before casting to int.
11029 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
11030 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
11031 * math/libm-test.inc (scalb_test_data): Add more tests.
11032
cf806aff
SP
110332014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
11034
56737508
SP
11035 * benchtests/Makefile (DETAILED_OPT): New make option.
11036 (bench-func): Run benchmark program with -d if DETAILED_OPT is
11037 set.
11038 * benchtests/bench-skeleton.c: Include stdbool.h.
11039 (main): Store and print timings per input.
11040 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
11041 member to each argument value.
11042 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
11043 (_print_arg_data): Initialize per-input timing to 0.
11044
cb5e4aad
SP
11045 * benchtests/Makefile (timing-type): New binary.
11046 (bench-clean): Also remove bench-timing-type.
11047 (bench): New target for timing-type.
11048 (bench-func): Print output in JSON format.
11049 * benchtests/bench-skeleton.c (main): Print output in JSON
11050 format.
11051 * benchtests/bench-timing-type.c: New file.
11052 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
11053 (TIMING_PRINT_STATS): Remove.
11054 * benchtests/scripts/bench.py (_print_arg_data): Store variant
11055 name separately.
11056
cf806aff
SP
11057 * benchtests/bench-modf.c: Remove.
11058 * benchtests/modf-inputs: New inputs file.
11059
289e0779
JM
110602014-03-28 Joseph Myers <joseph@codesourcery.com>
11061
11062 [BZ #16362]
11063 * math/s_clog10.c (M_PI_LOG10E): New macro.
11064 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
11065 imaginary parts are 0.
11066 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
11067 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
11068 imaginary parts are 0.
11069 * math/s_clog10l.c (M_PI_LOG10El): New macro.
11070 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
11071 imaginary parts are 0.
11072 * math/libm-test.inc (clog10_test_data): Update expected results
11073 for when real and imaginary parts are 0.
11074
277ae3f1
PP
110752014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
11076
11077 * elf/dl-load.c: Finish conversion of __builtin_expect into
11078 __glibc_{un}likely.
11079
03a7091f
JM
110802014-03-27 Joseph Myers <joseph@codesourcery.com>
11081
11082 [BZ #16348]
11083 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
11084 1+x for argument with exponent below -67.
11085 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
11086 Likewise.
11087 * math/auto-libm-test-in: Add more tests of exp.
11088 * math/auto-libm-test-out: Regenerated.
11089
ea7d8b95
SP
110902014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
11091
dd3022d7
SP
11092 [BZ #16759]
11093 * inet/getnetgrent_r.c (get_nonempty_val): New function.
11094 (nscd_getnetgrent): Use it.
11095
ea7d8b95
SP
11096 [BZ #16760]
11097 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
11098 of stpcpy.
11099
df5b85da
AK
111002014-03-27 Andi Kleen <ak@linux.intel.com>
11101
57f41c40
AS
11102 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
11103 (lll_robust_lock, lll_cond_lock, lll_timedlock)
11104 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
11105 (lll_robust_unlock): Remove out of line section. Use cfi
11106 intrinsics.
df5b85da 11107 (LLL_STUB_UNWIND_INFO*): Remove.
57f41c40
AS
11108 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
11109 (lll_robust_lock, lll_cond_lock, lll_timedlock)
11110 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
11111 (lll_robust_unlock): Remove out of line section. Use cfi
11112 intrinsics.
df5b85da
AK
11113 (LLL_STUB_UNWIND_INFO*): Remove.
11114
fbd6b5a4
SP
111152014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
11116
11117 [BZ #16758]
11118 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
11119 blank values.
11120
1b26b855
PP
111212014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
11122
11123 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
11124
9be36fb8
JM
111252014-03-26 Joseph Myers <joseph@codesourcery.com>
11126
11127 [BZ #16198]
11128 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
11129 fnstenv.
11130 * math/test-fenv-preserve.c: New file.
11131 * math/Makefile (tests): Add test-fenv-preserve.
11132
60a2f3c1
WN
111332014-03-26 Will Newton <will.newton@linaro.org>
11134
11135 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
11136
a5e5f1e2
RM
111372014-03-25 Roland McGrath <roland@hack.frob.com>
11138
11139 * scripts/versionlist.awk: Partition the version sets and emit all
11140 GLIBC_* (sorted) before all others (sorted).
11141
00f4012a
JM
111422014-03-25 Joseph Myers <joseph@codesourcery.com>
11143
11144 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
11145 GLIBC_2.2.5 version.
11146
7bc5a741
AZ
111472014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11148
11149 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
11150 calls.
11151
7578473b
AZ
11152 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
11153 previous change.
11154
f3f1dab3
AZ
11155 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11156
6da36183
AS
111572014-03-25 Andreas Schwab <schwab@suse.de>
11158
11159 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
11160 label to be used after in6ailist is initialized.
11161
f3f1dab3 111622014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
449282f2 11163
7578473b 11164 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
449282f2
AZ
11165 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
11166
046651c1
JM
111672014-03-25 Joseph Myers <joseph@codesourcery.com>
11168
11169 [BZ #16357]
11170 [BZ #16599]
11171 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
11172 min_plus_half.
11173 (fp_formats): Update initializers.
11174 (init_fp_formats): Initialize new field.
11175 (output_for_one_input_case): Allow underflow for results up to
11176 min_plus_half.
11177 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
11178 * math/auto-libm-test-in: Don't mark some underflows from asin and
11179 atanh as spurious.
11180 * math/auto-libm-test-out: Regenerated.
11181 * sysdeps/i386/fpu/libm-test-ulps: Update.
11182 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11183
003e49ed
AS
111842014-03-25 Andreas Schwab <schwab@suse.de>
11185
11186 * libio/Makefile (tst-ftell-partial-wide-ENV)
11187 (tst-ftell-active-handler-ENV): Define.
11188
de031874
SL
111892014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
11190
11191 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
11192
55a81e3b
PP
111932014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
11194
11195 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
11196
f3426898
JM
111972014-03-24 Joseph Myers <joseph@codesourcery.com>
11198
11199 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
11200 * sysdeps/x86_64/fpu/multiarch/e_exp.c
11201 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
11202
a42faf59
PP
112032014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
11204
11205 [BZ #16634]
a42faf59 11206 * elf/dl-load.c (open_verify): Add mode parameter.
97d8ca99
CD
11207 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
11208 (open_path): Change from boolean 'secure' to complete flag 'mode'
11209 (_dl_map_object): Adjust.
a42faf59
PP
11210 * elf/Makefile (tests): Add tst-dlopen-aout.
11211 * elf/tst-dlopen-aout.c: New test.
11212
50936127
SL
112132014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
11214
11215 [BZ #16714]
11216 * sysdeps/unix/sysv/linux/s390/bits/stat.h
11217 (struct stat): Rename member pad0 to __glibc_reserved0.
11218
26011b5c
SL
11219 [BZ #16712]
11220 * sysdeps/s390/s390-32/bits/wordsize.h
11221 (__WORDSIZE32_SIZE_ULONG): New define.
11222 * sysdeps/s390/s390-64/bits/wordsize.h
11223 (__WORDSIZE32_SIZE_ULONG): Likewise.
11224 * sysdeps/generic/stdint.h (SIZE_MAX):
11225 Define as UL if __WORDSIZE32_SIZE_ULONG.
11226
a2d86bf1
SL
11227 [BZ #16713]
11228 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
11229 (__glibc_reserved0): New variable.
11230 (sa_flags): Change type to int.
11231
78b6eebc
SL
11232 * posix/Makefile (before-compile): Use += before-compile instead
11233 of a :=.
11234
f1399b5a
SL
11235 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
11236 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
11237
a071766e
AS
112382014-03-20 Andreas Schwab <schwab@suse.de>
11239
11240 [BZ #16743]
11241 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
11242 non-matching result from nscd.
11243
27c673b8
SP
112442014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
11245
11246 * scripts/bench.py: Moved to ...
11247 * benchtests/scripts/bench.py: ... here.
11248 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
11249
44152e4b
AS
112502014-03-24 Andreas Schwab <schwab@suse.de>
11251
11252 [BZ #16002]
11253 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
11254 alloca_account and account alloca use for struct in6ailist.
11255
b376a11a
JM
112562014-03-24 Joseph Myers <joseph@codesourcery.com>
11257
11258 [BZ #16284]
11259 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
11260 rounding mode to recompute results that overflow to infinity or
11261 underflow to zero.
11262 * math/auto-libm-test-in: Don't mark tests as expected to fail for
11263 bug 16284.
11264 * math/auto-libm-test-out: Regenerated.
11265 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
11266 (ccosh_test): Likewise.
11267 (csin_test_data): Use plus_oflow.
11268 (csin_test): Use ALL_RM_TEST.
11269 (csinh_test_data): Use plus_oflow.
11270 (csinh_test): Use ALL_RM_TEST.
11271 * sysdeps/i386/fpu/libm-test-ulps: Update.
11272 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11273
f7be7376
JM
112742014-03-21 Joseph Myers <joseph@codesourcery.com>
11275
1ca2d03e
JM
11276 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
11277 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
11278 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
11279
f7be7376
JM
11280 [BZ #16731]
11281 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
11282 when x - 1 is zero.
11283 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
11284 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
11285 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
11286 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
11287 argument is 1.
11288 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
11289 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
11290 zero.
11291 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
11292 * sysdeps/i386/fpu/libm-test-ulps: Update.
11293 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11294
fdf4534d
SP
112952014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
11296
df26ea53
SP
11297 * scripts/bench.pl: Remove file.
11298 * scripts/bench.py: New benchmark script.
11299 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
11300 * benchtests/README: Mention python dependency.
11301 * scripts/pylintrc: New file.
11302 * scripts/pylint: New file.
11303
fdf4534d
SP
11304 * bits/mathdef.h: Use #ifdef instead of #if.
11305 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
11306 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
11307 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
11308 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
11309 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
11310 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
11311
6f23d093
AZ
113122014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11313 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
11314
11315 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
11316 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
11317 and strpbrk-ppc64 objects.
11318 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11319 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
11320 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
11321 multiarch strpbrk for POWER7.
11322 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
11323 multiarch strpbrk for PPC64.
11324 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
11325 ifunc selector.
11326 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
11327 strpbrk for POWER7.
11328
8c92dfff
JM
113292014-03-20 Joseph Myers <joseph@codesourcery.com>
11330
11331 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
11332 (atan_test): Likewise.
11333 (atanh_test_data): Use NO_TEST_INLINE for two tests.
11334 (atanh_test): Use ALL_RM_TEST.
11335 (atan2_test_data): Likewise.
11336 (cabs_test): Likewise.
11337 (cacosh_test): Likewise.
11338 (carg_test): Likewise.
11339 (casin_test): Likewise.
11340 (casinh_test): Likewise.
11341 (cbrt_test): Likewise.
11342 (csqrt_test): Likewise.
11343 (erf_test): Likewise.
11344 (erfc_test): Likewise.
11345 (pow10_test): Likewise.
11346 (exp2_test): Likewise.
11347 (hypot_test): Likewise.
11348 (j0_test): Likewise.
11349 (j1_test): Likewise.
11350 (lgamma_test): Likewise.
11351 (gamma_test): Likewise.
11352 (sincos_test): Likewise.
11353 (tanh_test): Likewise.
11354 (y0_test): Likewise.
11355 (y1_test): Likewise.
11356 * sysdeps/i386/fpu/libm-test-ulps: Update.
11357 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11358
6eaf95cb
AZ
113592014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11360
a387428c
SP
11361 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
11362 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
6eaf95cb
AZ
11363 and strcspn-ppc64 objects.
11364 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11365 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
11366 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
11367 multiarch strcspn for POWER7.
11368 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
11369 multiarch strcspn for PPC64.
11370 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
11371 ifunc selector.
11372 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
11373 strcspn for POWER7.
11374
ae3a5dff
JM
113752014-03-20 Joseph Myers <joseph@codesourcery.com>
11376
11377 * math/gen-libm-test.pl (generate_testfile): Expect only function
11378 name as argument to AUTO_TESTS_* and pass results for all rounding
11379 modes to parse_args.
11380 (parse_auto_input): Separate inputs of automatic tests from
11381 outputs before storing in %auto_tests.
11382 * math/libm-test.inc (acos_test_data): Update call to
11383 AUTO_TESTS_f_f.
11384 (acos_test): Use ALL_RM_TEST.
11385 (acos_tonearest_test_data): Remove.
11386 (acos_test_tonearest): Likewise.
11387 (acos_towardzero_test_data): Likewise.
11388 (acos_test_towardzero): Likewise.
11389 (acos_downward_test_data): Likewise.
11390 (acos_test_downward): Likewise.
11391 (acos_upward_test_data): Likewise.
11392 (acos_test_upward): Likewise.
11393 (acosh_test_data): Update call to AUTO_TESTS_f_f.
11394 (asin_test_data): Likewise.
11395 (asin_test): Use ALL_RM_TEST.
11396 (asin_tonearest_test_data): Remove.
11397 (asin_test_tonearest): Likewise.
11398 (asin_towardzero_test_data): Likewise.
11399 (asin_test_towardzero): Likewise.
11400 (asin_downward_test_data): Likewise.
11401 (asin_test_downward): Likewise.
11402 (asin_upward_test_data): Likewise.
11403 (asin_test_upward): Likewise.
11404 (asinh_test_data): Update call to AUTO_TESTS_f_f.
11405 (atan_test_data): Likewise.
11406 (atanh_test_data): Likewise.
11407 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
11408 (cabs_test_data): Update call to AUTO_TESTS_c_f.
11409 (carg_test_data): Likewise.
11410 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
11411 (ccos_test_data): Update call to AUTO_TESTS_c_c.
11412 (ccosh_test_data): Likewise.
11413 (cexp_test_data): Likewise.
11414 (clog_test_data): Likewise.
11415 (clog10_test_data): Likewise.
11416 (cos_test_data): Update call to AUTO_TESTS_f_f.
11417 (cos_test): Use ALL_RM_TEST.
11418 (cos_tonearest_test_data): Remove.
11419 (cos_test_tonearest): Likewise.
11420 (cos_towardzero_test_data): Likewise.
11421 (cos_test_towardzero): Likewise.
11422 (cos_downward_test_data): Likewise.
11423 (cos_test_downward): Likewise.
11424 (cos_upward_test_data): Likewise.
11425 (cos_test_upward): Likewise.
11426 (cosh_test_data): Update call to AUTO_TESTS_f_f.
11427 (cosh_test): Use ALL_RM_TEST.
11428 (cosh_tonearest_test_data): Remove.
11429 (cosh_test_tonearest): Likewise.
11430 (cosh_towardzero_test_data): Likewise.
11431 (cosh_test_towardzero): Likewise.
11432 (cosh_downward_test_data): Likewise.
11433 (cosh_test_downward): Likewise.
11434 (cosh_upward_test_data): Likewise.
11435 (cosh_test_upward): Likewise.
11436 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
11437 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
11438 (ctan_test_data): Likewise.
11439 (ctan_test): Use ALL_RM_TEST.
11440 (ctan_tonearest_test_data): Remove.
11441 (ctan_test_tonearest): Likewise.
11442 (ctan_towardzero_test_data): Likewise.
11443 (ctan_test_towardzero): Likewise.
11444 (ctan_downward_test_data): Likewise.
11445 (ctan_test_downward): Likewise.
11446 (ctan_upward_test_data): Likewise.
11447 (ctan_test_upward): Likewise.
11448 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
11449 (ctanh_test): Use ALL_RM_TEST.
11450 (ctanh_tonearest_test_data): Remove.
11451 (ctanh_test_tonearest): Likewise.
11452 (ctanh_towardzero_test_data): Likewise.
11453 (ctanh_test_towardzero): Likewise.
11454 (ctanh_downward_test_data): Likewise.
11455 (ctanh_test_downward): Likewise.
11456 (ctanh_upward_test_data): Likewise.
11457 (ctanh_test_upward): Likewise.
11458 (erf_test_data): Update call to AUTO_TESTS_f_f.
11459 (erfc_test_data): Likewise.
11460 (exp_test_data): Likewise.
11461 (exp_test): Use ALL_RM_TEST.
11462 (exp_tonearest_test_data): Remove.
11463 (exp_test_tonearest): Likewise.
11464 (exp_towardzero_test_data): Likewise.
11465 (exp_test_towardzero): Likewise.
11466 (exp_downward_test_data): Likewise.
11467 (exp_test_downward): Likewise.
11468 (exp_upward_test_data): Likewise.
11469 (exp_test_upward): Likewise.
11470 (exp10_test_data): Update call to AUTO_TESTS_f_f.
11471 (exp10_test): Use ALL_RM_TEST.
11472 (exp10_tonearest_test_data): Remove.
11473 (exp10_test_tonearest): Likewise.
11474 (exp10_towardzero_test_data): Likewise.
11475 (exp10_test_towardzero): Likewise.
11476 (exp10_downward_test_data): Likewise.
11477 (exp10_test_downward): Likewise.
11478 (exp10_upward_test_data): Likewise.
11479 (exp10_test_upward): Likewise.
11480 (exp2_test_data): Update call to AUTO_TESTS_f_f.
11481 (expm1_test_data): Likewise.
11482 (expm1_test): Use ALL_RM_TEST.
11483 (expm1_tonearest_test_data): Remove.
11484 (expm1_test_tonearest): Likewise.
11485 (expm1_towardzero_test_data): Likewise.
11486 (expm1_test_towardzero): Likewise.
11487 (expm1_downward_test_data): Likewise.
11488 (expm1_test_downward): Likewise.
11489 (expm1_upward_test_data): Likewise.
11490 (expm1_test_upward): Likewise.
11491 (fma_test_data): Update call to AUTO_TESTS_fff_f.
11492 (fma_test): Use ALL_RM_TEST.
11493 (fma_towardzero_test_data): Remove.
11494 (fma_test_towardzero): Likewise.
11495 (fma_downward_test_data): Likewise.
11496 (fma_test_downward): Likewise.
11497 (fma_upward_test_data): Likewise.
11498 (fma_test_upward): Likewise.
11499 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
11500 (j0_test_data): Update call to AUTO_TESTS_f_f.
11501 (j1_test_data): Likewise.
11502 (jn_test_data): Update call to AUTO_TESTS_if_f.
11503 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
11504 (log_test_data): Update call to AUTO_TESTS_f_f.
11505 (log10_test_data): Likewise.
11506 (log1p_test_data): Likewise.
11507 (log2_test_data): Likewise.
11508 (pow_test_data): Update call to AUTO_TESTS_ff_f.
11509 (pow_tonearest_test_data): Likewise.
11510 (sin_test_data): Update call to AUTO_TESTS_f_f.
11511 (sin_test): Use ALL_RM_TEST.
11512 (sin_tonearest_test_data): Remove.
11513 (sin_test_tonearest): Likewise.
11514 (sin_towardzero_test_data): Likewise.
11515 (sin_test_towardzero): Likewise.
11516 (sin_downward_test_data): Likewise.
11517 (sin_test_downward): Likewise.
11518 (sin_upward_test_data): Likewise.
11519 (sin_test_upward): Likewise.
11520 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
11521 (sinh_test_data): Update call to AUTO_TESTS_f_f.
11522 (sinh_test): Use ALL_RM_TEST.
11523 (sinh_tonearest_test_data): Remove.
11524 (sinh_test_tonearest): Likewise.
11525 (sinh_towardzero_test_data): Likewise.
11526 (sinh_test_towardzero): Likewise.
11527 (sinh_downward_test_data): Likewise.
11528 (sinh_test_downward): Likewise.
11529 (sinh_upward_test_data): Likewise.
11530 (sinh_test_upward): Likewise.
11531 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
11532 (sqrt_test): Use ALL_RM_TEST.
11533 (sqrt_tonearest_test_data): Remove.
11534 (sqrt_test_tonearest): Likewise.
11535 (sqrt_towardzero_test_data): Likewise.
11536 (sqrt_test_towardzero): Likewise.
11537 (sqrt_downward_test_data): Likewise.
11538 (sqrt_test_downward): Likewise.
11539 (sqrt_upward_test_data): Likewise.
11540 (sqrt_test_upward): Likewise.
11541 (tan_test_data): Update call to AUTO_TESTS_f_f.
11542 (tan_test): Use ALL_RM_TEST.
11543 (tan_tonearest_test_data): Remove.
11544 (tan_test_tonearest): Likewise.
11545 (tan_towardzero_test_data): Likewise.
11546 (tan_test_towardzero): Likewise.
11547 (tan_downward_test_data): Likewise.
11548 (tan_test_downward): Likewise.
11549 (tan_upward_test_data): Likewise.
11550 (tan_test_upward): Likewise.
11551 (tanh_test_data): Update call to AUTO_TESTS_f_f.
11552 (tgamma_test_data): Likewise.
11553 (y0_test_data): Likewise.
11554 (y1_test_data): Likewise.
11555 (yn_test_data): Update call to AUTO_TESTS_if_f.
11556 (main): Do not call removed functions.
11557
d71aeee8
JM
115582014-03-19 Joseph Myers <joseph@codesourcery.com>
11559
11560 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
11561 (ldexp_test_data): Remove.
11562 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
11563 scalbn_test_data.
11564 (scalb_test): Use ALL_RM_TEST.
11565
baaf1ded
AS
115662014-03-19 Andreas Schwab <schwab@suse.de>
11567
11568 * nscd/nscd.service: Also invalidate netgroup cache on reload.
11569
b1115e91
JM
115702014-03-19 Joseph Myers <joseph@codesourcery.com>
11571
11572 [BZ #16649]
11573 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
11574 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
11575 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
11576 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11577 (__ASSUME_PREADV): Undefine.
11578 (__ASSUME_PWRITEV): Likewise.
11579
0283ecca
RM
115802014-03-18 Roland McGrath <roland@hack.frob.com>
11581
7d375303
RM
11582 * bits/mman-linux.h: Add comment about non-Linux use.
11583 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
11584 bits/mman-linux.h resting place.
11585
0283ecca
RM
11586 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
11587 * bits/mman-linux.h: ... here.
11588
aebe1003
AZ
115892014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11590
11591 * conform/conformtest.pl: Add standard definition when calling C
11592 preprocessor on data files.
11593 (checknamespace): Remove unused variable.
11594
b29b6bb8
JM
115952014-03-18 Joseph Myers <joseph@codesourcery.com>
11596
11597 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
11598 minus_oflow, plus_uflow and minus_uflow in expected results.
11599 * math/libm-test.inc (scalbn_test_data): Add more tests of
11600 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
11601 minus_uflow.
11602 (scalbn_test): Use ALL_RM_TEST.
11603 (scalbln_test_data): Add more tests of negative arguments. Use
11604 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
11605 (scalbln_test): Use ALL_RM_TEST.
11606
c8f8fa15
RM
116072014-03-18 Roland McGrath <roland@hack.frob.com>
11608
11609 * scripts/abilist.awk: Ignore symbols marked with .hidden.
11610
fede7a5f
WN
116112014-03-18 Will Newton <will.newton@linaro.org>
11612
11613 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
11614 inaccurate comment.
11615
80cf0a58
JM
116162014-03-18 Joseph Myers <joseph@codesourcery.com>
11617
11618 * Makerules [!subdir] (check-abi): Exit with error status if a
11619 test failed.
11620
b3620862
JM
116212014-03-17 Joseph Myers <joseph@codesourcery.com>
11622
11623 * math/libm-test.inc (nearbyint_test_data): Include all tests used
11624 for rint. Include results for all rounding modes.
11625 (nearbyint_test): Use ALL_RM_TEST.
11626 (rint_test_data): Include all tests used for nearbyint.
11627
788bba36
WN
116282014-03-17 Will Newton <will.newton@linaro.org>
11629
04ec140a
WN
11630 * nptl/sysdeps/pthread/pthread.h: Revert previous
11631 change.
11632
7579d8d5
WN
11633 * sysdeps/generic/ldsodefs.h: Revert previous
11634 change.
11635
c15cf13a
WN
11636 * libio/genops.c: Revert previous change.
11637 * libio/libioP.h: Likewise.
11638 * stdio-common/vfprintf.c: Likewise.
11639
d0ac1324
WN
11640 * sysdeps/generic/math_private.h: Revert previous
11641 change.
11642
9290130a
WN
11643 * sysdeps/generic/math_private.h: Check whether
11644 HAVE_RM_CTX is defined with #ifdef rather
11645 than #if.
11646
afb466fc
WN
11647 * argp/argp-fmtstream.h: Check whether
11648 __STRICT_ANSI__ is defined with #ifdef rather
11649 than #if.
11650 * argp/argp.h: Likewise.
11651
f7efd7c3
WN
11652 * libio/genops.c: Check whether
11653 _IO_JUMPS_OFFSET is defined with #ifdef rather
11654 than #if.
11655 * libio/libioP.h: Likewise.
11656 * stdio-common/vfprintf.c: Likewise.
11657
53f1bed3
WN
11658 * sysdeps/generic/ldsodefs.h: Check whether
11659 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
11660 than #if.
11661
788bba36
WN
11662 * nptl/sysdeps/pthread/pthread.h: Check
11663 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
11664 its value.
11665
fcd89ebe
SP
116662014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
11667
ae42bbc5
SP
11668 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
11669 setting O_APPEND.
11670 * libio/tst-ftell-active-handler.c (do_append_test): Add a
11671 test case.
11672
ea33158c
SP
11673 [BZ #16680]
11674 * libio/fileops.c (_IO_file_open): Seek to end of file but
11675 don't cache the offset.
11676 (get_file_offset): Remove function.
11677 (do_ftell): Use cached offset when available.
11678 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
11679 don't cache the offset.
11680 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
11681 case.
11682 (do_one_test): Call it.
11683 (do_ftell_test): Fix up expected old offset for a+ mode.
11684 * libio/wfileops.c (do_ftell_wide): Used cached offset when
11685 available.
11686
b1dbb426
SP
11687 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
11688 up test status with function return status.
11689 (do_write_test): Likewise.
11690 (do_append_test): Likewise.
11691
fcd89ebe
SP
11692 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
11693 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
11694 Remove.
11695
9962a2d3
JM
116962014-03-17 Joseph Myers <joseph@codesourcery.com>
11697
11698 * math/gen-libm-test.pl (parse_args): Handle results specified for
11699 each rounding mode separately.
11700 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
11701 tests and results from lrint_tonearest_test_data,
11702 lrint_towardzero_test_data, lrint_downward_test_data and
11703 lrint_upward_test_data.
11704 (lrint_test): Use ALL_RM_TEST.
11705 (lrint_tonearest_test_data): Remove.
11706 (lrint_test_tonearest): Likewise.
11707 (lrint_towardzero_test_data): Likewise.
11708 (lrint_test_towardzero): Likewise.
11709 (lrint_downward_test_data): Likewise.
11710 (lrint_test_downward): Likewise.
11711 (lrint_upward_test_data): Likewise.
11712 (lrint_test_upward): Likewise.
11713 (llrint_test_data): Merge in per-rounding-mode tests and results
11714 from llrint_tonearest_test_data, llrint_towardzero_test_data,
11715 llrint_downward_test_data and llrint_upward_test_data.
11716 (llrint_test): Use ALL_RM_TEST.
11717 (llrint_tonearest_test_data): Remove.
11718 (llrint_test_tonearest): Likewise.
11719 (llrint_towardzero_test_data): Likewise.
11720 (llrint_test_towardzero): Likewise.
11721 (llrint_downward_test_data): Likewise.
11722 (llrint_test_downward): Likewise.
11723 (llrint_upward_test_data): Likewise.
11724 (llrint_test_upward): Likewise.
11725 (rint_test_data): Merge in per-rounding-mode tests and results
11726 from rint_tonearest_test_data, rint_towardzero_test_data,
11727 rint_downward_test_data and rint_upward_test_data. Add
11728 per-rounding-mode results for tests not in those arrays.
11729 (rint_test): Use ALL_RM_TEST.
11730 (rint_tonearest_test_data): Remove.
11731 (rint_test_tonearest): Likewise.
11732 (rint_towardzero_test_data): Likewise.
11733 (rint_test_towardzero): Likewise.
11734 (rint_downward_test_data): Likewise.
11735 (rint_test_downward): Likewise.
11736 (rint_upward_test_data): Likewise.
11737 (rint_test_upward): Likewise.
11738 (main): Don't call removed functions.
11739
5006148e
RM
117402014-03-14 Roland McGrath <roland@hack.frob.com>
11741
11742 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
11743 "Compiled on ..." crapola. It is anti-useful.
11744
d6fe5e58
JM
117452014-03-14 Joseph Myers <joseph@codesourcery.com>
11746
11747 * scripts/evaluate-test.sh: Handle fourth argument to determine
11748 whether test run should stop on failure.
11749 * Makeconfig (stop-on-test-failure): New variable.
11750 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
11751 $(stop-on-test-failure).
11752 * Makefile (tests): Give a summary of results from testing and
11753 exit with failure status if they include an ERROR or FAIL.
11754 (xtests): Likewise.
11755 * manual/install.texi (Configuring and compiling): Mention
11756 stop-on-test-failure=y.
11757 * INSTALL: Regenerated.
11758
498a2233
RM
117592014-03-14 Roland McGrath <roland@hack.frob.com>
11760
22dbc19d
RM
11761 * scripts/versionlist.awk: New file.
11762 * Makerules [$(build-shared) = yes]
11763 (postclean-generated): Add Versions.def, not Versions.def.v and
11764 Versions.def.v.i.
11765 ($(common-objpfx)Versions.def.v.i): Target removed.
11766 ($(common-objpfx)Versions.def): New target.
11767 ($(common-objpfx)Versions.all): Depend on that rather that
11768 $(common-objpfx)Versions.def.v.
11769 * Versions.def: File removed.
11770
498a2233
RM
11771 * Makeconfig (+gccwarn): Add -Wundef.
11772 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
11773 a dl-sysdep.h breaking its contract.
11774 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
11775 * include/stackinfo.h: New file.
11776 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
11777 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
11778 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
11779 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
11780 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
11781 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
11782 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
11783 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
11784 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
11785 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
11786 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
11787 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
11788 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
11789 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
11790 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
11791
c7de5025
AZ
117922014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11793
11794 [BZ #16707]
11795 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
11796 implementation.
11797 * math/libm-test.inc (round_test_data): Add more tests.
11798
98fb27a3
AZ
11799 [BZ #16706]
11800 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
11801 implementation.
11802 * math/libm-test.inc (nearbyint_test_data): Add more tests.
11803
374f7f61
AZ
11804 [BZ #16701]
11805 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
11806 implementation.
11807 * math/libm-test.inc (ceil_test_data): Add more tests.
11808
4655c291
AZ
11809 * math/libm-test.inc (trunc_test_data): Add more tests related to
11810 BZ#16414.
11811
d7329d4b
RM
118122014-03-14 Roland McGrath <roland@hack.frob.com>
11813
11814 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
11815 with #if rather than #ifdef.
11816 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
11817
aa4de9ce
L
118182014-03-14 H.J. Lu <hongjiu.lu@intel.com>
11819
11820 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
11821 first. Disable AVX-512 GCC support if assembler doesn't support
11822 it.
11823 * sysdeps/x86_64/configure: Regenerated.
11824
2e03fae7
CD
118252014-03-13 Carlos O'Donell <carlos@redhat.com>
11826
11827 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
11828 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
11829 (__old_pthread_attr_setstack): Likewise.
11830 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
11831 [!_STACK_GROWS_DOWN]: Likewise.
11832
43ca83ec
MF
118332014-03-13 Mike Frysinger <vapier@gentoo.org>
11834
11835 * config.make.in (have-bash2): Delete.
11836 * configure.ac (libc_cv_have_bash2): Delete.
11837 * configure: Regenerate.
11838 * elf/Makefile (common-ldd-rewrite): Rename to ...
11839 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
11840 (sh-ldd-rewrite): Delete.
11841 (bash-ldd-rewrite): Delete.
11842 (have-bash2): Delete checks.
57f41c40
AS
11843 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
11844 ldd-rewrite.
c66e48b4
MF
11845
11846 * config.make.in (have-ksh): Delete.
11847 (KSH): Delete.
11848 * configure.ac (libc_cv_have_ksh): Delete.
11849 * configure: Regenerate.
11850
b93834ef
MF
11851 * elf/Makefile: Delete $(have-ksh) check.
11852 ($(objpfx)sotruss): Change KSH to BASH.
11853 * elf/sotruss.ksh: Rename to ...
11854 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
11855 function style to match POSIX. Drop ksh vim mode setting.
11856
f3a4632a
MF
11857 * manual/time.texi (Specifying the Time Zone with TZ): Change
11858 Tuesday to Thursday.
11859
5896c8bd
MF
11860 * debug/tst-longjmp_chk2.c: Update header comment.
11861 (stackoverflow_handler): Add comment. Call assert on pass value.
11862
2d63a517
IZ
118632014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
11864
7e54fd04 11865 [BZ #16194]
2d63a517
IZ
11866 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
11867 (HAVE_AVX512_ASM_SUPPORT): Likewise.
11868 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
11869 (La_x86_64_vector): Add zmm.
11870 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
11871 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
11872 ($(objpfx)tst-audit10): New target.
11873 ($(objpfx)tst-audit10.out): Likewise.
11874 (tst-audit10-ENV): New.
11875 (AVX512-CFLAGS): Likewise.
11876 (CFLAGS-tst-audit10.c): Likewise.
11877 (CFLAGS-tst-auditmod10a.c): Likewise.
11878 (CFLAGS-tst-auditmod10b.c): Likewise.
11879 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
11880 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
11881 * sysdeps/x86_64/configure: Regenerated.
11882 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
11883 AVX-512 zmm register support.
11884 (_dl_x86_64_save_sse): Likewise.
11885 (_dl_x86_64_restore_sse): Likewise.
11886 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
11887 size vector registers.
11888 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
11889 (ZMM_SIZE): Likewise.
11890 * sysdeps/x86_64/tst-audit10.c: New file.
11891 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
11892 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
11893
44c4e5d5
RM
118942014-03-13 Roland McGrath <roland@hack.frob.com>
11895
11896 * configure.ac (HAVE_EHDR_START): New check.
11897 * configure: Regenerated.
11898 * config.h.in (HAVE_EHDR_START): New #undef.
11899 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
11900 assuming the lowest-addressed segment maps the start of the file.
11901
acd6e389
JM
119022014-03-13 Joseph Myers <joseph@codesourcery.com>
11903
11904 * INSTALL: Regenerated.
11905
6f918f36
WN
119062014-03-13 Will Newton <will.newton@linaro.org>
11907
11908 * manual/setjmp.texi (System V contexts): Improve
11909 clarity and grammar of documentation.
11910
798212a0
PP
119112014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
11912
11913 [BZ #16381]
798212a0 11914 * elf/Makefile (tests): Add tst-pie2.
2e03fae7 11915 (tests-pie): Add tst-pie2.
798212a0
PP
11916 * elf/tst-pie2.c: New file.
11917 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
11918 for ET_EXEC.
11919 * elf/rtld.c (map_doit): Load executable as lt_executable.
11920 (dl_main): Likewise.
11921
abe6d90c
JM
119222014-03-12 Joseph Myers <joseph@codesourcery.com>
11923
11924 [BZ #16642]
11925 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11926 (__ASSUME_PSELECT): Undefine.
11927
dd3946c6
AZ
119282014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11929
11930 [BZ #16689]
11931 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
11932 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
11933 static build.
11934 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
11935 selector for static builds.
11936
c44496df
SP
119372014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
11938
11939 [BZ #16695]
11940 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
11941 key in the buffer.
11942
27c7220a
AZ
119432014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11944
57f41c40
AS
11945 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
11946 IFUNC selector for static builds.
27c7220a 11947
600fa361
JM
119482014-03-11 Joseph Myers <joseph@codesourcery.com>
11949
76c96cf7
JM
11950 * sysdeps/mips/math_private.h [__mips_hard_float]
11951 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
11952 libc_feresetround_mips_ctx.
11953 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
11954 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
11955 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
11956
600fa361
JM
11957 [BZ #16677]
11958 * math/s_nextafter.c (__nextafter): Do not return value from
11959 overflowing computation.
11960 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
11961 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
11962 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
11963 Likewise.
11964 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
11965 Likewise.
11966 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
11967 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
11968
d7706c32
RM
119692014-03-11 Roland McGrath <roland@hack.frob.com>
11970
11971 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
11972 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
11973 Move sfi_sp use from the load-multiple (that no longer sets sp) to
11974 the new mov targetting sp.
11975
4facea47
AZ
119762014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11977
11978 [BZ #16683]
11979 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
11980 Define it for static builds as well.
11981 (NO_BZERO_IMPL): Likewise.
11982
e65caf1f
VR
119832014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
11984
11985 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
11986 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
11987 multiarch strspn for PPC64.
11988 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
11989 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
11990 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
11991 (__libc_ifunc_impl_list): Likewise.
11992 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
11993 multiarch optimizations
11994 * string/strspn.c (strspn): Using macro to redefine symbol name.
11995
ba9cc071
AZ
119962014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
11997 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11998
11999 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
12000 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
12001 multiarch strncat for PPC64.
12002 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
12003 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
12004 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
12005 (__libc_ifunc_impl_list): Likewise.
12006 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
12007 multiarch optimizations
12008
8b4ff974
SP
120092014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
12010
12011 [BZ #16639]
12012 * nscd/nscd.service: Make service type forking.
12013
54b46a4b
AZ
120142014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12015
12016 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
12017 sign in non default rounding modes.
12018 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
12019
e9996ef7
JM
120202014-03-08 Joseph Myers <joseph@codesourcery.com>
12021
12022 * math/libm-test.inc (ALL_RM_TEST): New macro.
12023 (ceil_test): Use ALL_RM_TEST.
12024 (cimag_test): Likewise.
12025 (conj_test): Likewise.
12026 (copysign_test): Likewise.
12027 (cproj_test): Likewise.
12028 (creal_test): Likewise.
12029 (fabs_test): Likewise.
12030 (floor_test): Likewise.
12031 (fmax_test): Likewise.
12032 (fmin_test): Likewise.
12033 (fmod_test): Likewise.
12034 (fpclassify_test): Likewise.
12035 (frexp_test): Likewise.
12036 (ilogb_test): Likewise.
12037 (isfinite_test): Likewise.
12038 (finite_test): Likewise.
12039 (isgreater_test): Likewise.
12040 (isgreaterequal_test): Likewise.
12041 (isinf_test): Likewise.
12042 (isless_test): Likewise.
12043 (islessequal_test): Likewise.
12044 (islessgreater_test): Likewise.
12045 (isnan_test): Likewise.
12046 (isnormal_test): Likewise.
12047 (issignaling_test): Likewise.
12048 (isunordered_test): Likewise.
12049 (logb_test): Likewise.
12050 (logb_downward_test_data): Remove.
12051 (logb_test_downward): Likewise.
12052 (lround_test): Use ALL_RM_TEST.
12053 (llround_test): Likewise.
12054 (modf_test): Likewise.
12055 (nexttoward_test): Likewise.
12056 (remainder_test): Likewise.
12057 (drem_test): Likewise.
12058 (remainder_tonearest_test_data): Likewise.
12059 (remainder_test_tonearest): Likewise.
12060 (drem_test_tonearest): Likewise.
12061 (remainder_towardzero_test_data): Likewise.
12062 (remainder_test_towardzero): Likewise.
12063 (drem_test_towardzero): Likewise.
12064 (remainder_downward_test_data): Likewise.
12065 (remainder_test_downward): Likewise.
12066 (drem_test_downward): Likewise.
12067 (remainder_upward_test_data): Likewise.
12068 (remainder_test_upward): Likewise.
12069 (drem_test_upward): Likewise.
12070 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
12071 (round_test): Use ALL_RM_TEST.
12072 (signbit_test): Likewise.
12073 (trunc_test): Likewise.
12074 (significand_test): Likewise.
12075 (main): Don't call removed functions.
12076
bc61d27c
JM
120772014-03-07 Joseph Myers <joseph@codesourcery.com>
12078
5c780849
JM
12079 [BZ #16674]
12080 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
12081 || __USE_XOPEN2K8].
12082 (ILL_ILLOPN): Likewise.
12083 (ILL_ILLADR): Likewise.
12084 (ILL_ILLTRP): Likewise.
12085 (ILL_PRVOPC): Likewise.
12086 (ILL_PRVREG): Likewise.
12087 (ILL_COPROC): Likewise.
12088 (ILL_BADSTK): Likewise.
12089 (FPE_INTDIV): Likewise.
12090 (FPE_INTOVF): Likewise.
12091 (FPE_FLTDIV): Likewise.
12092 (FPE_FLTOVF): Likewise.
12093 (FPE_FLTUND): Likewise.
12094 (FPE_FLTRES): Likewise.
12095 (FPE_FLTINV): Likewise.
12096 (FPE_FLTSUB): Likewise.
12097 (SEGV_MAPERR): Likewise.
12098 (SEGV_ACCERR): Likewise.
12099 (BUS_ADRALN): Likewise.
12100 (BUS_ADRERR): Likewise.
12101 (BUS_OBJERR): Likewise.
12102 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
12103 (TRAP_TRACE): Likewise.
12104 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
12105 __USE_XOPEN2K8].
12106 (CLD_KILLED): Likewise.
12107 (CLD_DUMPED): Likewise.
12108 (CLD_TRAPPED): Likewise.
12109 (CLD_STOPPED): Likewise.
12110 (CLD_CONTINUED): Likewise.
12111 (POLL_IN): Likewise.
12112 (POLL_OUT): Likewise.
12113 (POLL_MSG): Likewise.
12114 (POLL_ERR): Likewise.
12115 (POLL_PRI): Likewise.
12116 (POLL_HUP): Likewise.
12117 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
12118 Likewise.
12119 (ILL_ILLOPN): Likewise.
12120 (ILL_ILLADR): Likewise.
12121 (ILL_ILLTRP): Likewise.
12122 (ILL_PRVOPC): Likewise.
12123 (ILL_PRVREG): Likewise.
12124 (ILL_COPROC): Likewise.
12125 (ILL_BADSTK): Likewise.
12126 (FPE_INTDIV): Likewise.
12127 (FPE_INTOVF): Likewise.
12128 (FPE_FLTDIV): Likewise.
12129 (FPE_FLTOVF): Likewise.
12130 (FPE_FLTUND): Likewise.
12131 (FPE_FLTRES): Likewise.
12132 (FPE_FLTINV): Likewise.
12133 (FPE_FLTSUB): Likewise.
12134 (SEGV_MAPERR): Likewise.
12135 (SEGV_ACCERR): Likewise.
12136 (BUS_ADRALN): Likewise.
12137 (BUS_ADRERR): Likewise.
12138 (BUS_OBJERR): Likewise.
12139 (BUS_MCEERR_AR): Likewise.
12140 (BUS_MCEERR_AO): Likewise.
12141 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
12142 (TRAP_TRACE): Likewise.
12143 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
12144 __USE_XOPEN2K8].
12145 (CLD_KILLED): Likewise.
12146 (CLD_DUMPED): Likewise.
12147 (CLD_TRAPPED): Likewise.
12148 (CLD_STOPPED): Likewise.
12149 (CLD_CONTINUED): Likewise.
12150 (POLL_IN): Likewise.
12151 (POLL_OUT): Likewise.
12152 (POLL_MSG): Likewise.
12153 (POLL_ERR): Likewise.
12154 (POLL_PRI): Likewise.
12155 (POLL_HUP): Likewise.
12156 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
12157 (ILL_ILLOPN): Likewise.
12158 (ILL_ILLADR): Likewise.
12159 (ILL_ILLTRP): Likewise.
12160 (ILL_PRVOPC): Likewise.
12161 (ILL_PRVREG): Likewise.
12162 (ILL_COPROC): Likewise.
12163 (ILL_BADSTK): Likewise.
12164 (FPE_INTDIV): Likewise.
12165 (FPE_INTOVF): Likewise.
12166 (FPE_FLTDIV): Likewise.
12167 (FPE_FLTOVF): Likewise.
12168 (FPE_FLTUND): Likewise.
12169 (FPE_FLTRES): Likewise.
12170 (FPE_FLTINV): Likewise.
12171 (FPE_FLTSUB): Likewise.
12172 (SEGV_MAPERR): Likewise.
12173 (SEGV_ACCERR): Likewise.
12174 (BUS_ADRALN): Likewise.
12175 (BUS_ADRERR): Likewise.
12176 (BUS_OBJERR): Likewise.
12177 (BUS_MCEERR_AR): Likewise.
12178 (BUS_MCEERR_AO): Likewise.
12179 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
12180 (TRAP_TRACE): Likewise.
12181 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
12182 __USE_XOPEN2K8].
12183 (CLD_KILLED): Likewise.
12184 (CLD_DUMPED): Likewise.
12185 (CLD_TRAPPED): Likewise.
12186 (CLD_STOPPED): Likewise.
12187 (CLD_CONTINUED): Likewise.
12188 (POLL_IN): Likewise.
12189 (POLL_OUT): Likewise.
12190 (POLL_MSG): Likewise.
12191 (POLL_ERR): Likewise.
12192 (POLL_PRI): Likewise.
12193 (POLL_HUP): Likewise.
12194 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
12195 Likewise.
12196 (ILL_ILLOPN): Likewise.
12197 (ILL_ILLADR): Likewise.
12198 (ILL_ILLTRP): Likewise.
12199 (ILL_PRVOPC): Likewise.
12200 (ILL_PRVREG): Likewise.
12201 (ILL_COPROC): Likewise.
12202 (ILL_BADSTK): Likewise.
12203 (ILL_BADIADDR): Likewise.
12204 (ILL_BREAK): Likewise.
12205 (FPE_INTDIV): Likewise.
12206 (FPE_INTOVF): Likewise.
12207 (FPE_FLTDIV): Likewise.
12208 (FPE_FLTOVF): Likewise.
12209 (FPE_FLTUND): Likewise.
12210 (FPE_FLTRES): Likewise.
12211 (FPE_FLTINV): Likewise.
12212 (FPE_FLTSUB): Likewise.
12213 (FPE_DECOVF): Likewise.
12214 (FPE_DECDIV): Likewise.
12215 (FPE_DECERR): Likewise.
12216 (FPE_INVASC): Likewise.
12217 (FPE_INVDEC): Likewise.
12218 (SEGV_MAPERR): Likewise.
12219 (SEGV_ACCERR): Likewise.
12220 (SEGV_PSTKOVF): Likewise.
12221 (BUS_ADRALN): Likewise.
12222 (BUS_ADRERR): Likewise.
12223 (BUS_OBJERR): Likewise.
12224 (BUS_MCEERR_AR): Likewise.
12225 (BUS_MCEERR_AO): Likewise.
12226 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
12227 (TRAP_TRACE): Likewise.
12228 (TRAP_BRANCH): Likewise.
12229 (TRAP_HWBKPT): Likewise.
12230 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
12231 __USE_XOPEN2K8].
12232 (CLD_KILLED): Likewise.
12233 (CLD_DUMPED): Likewise.
12234 (CLD_TRAPPED): Likewise.
12235 (CLD_STOPPED): Likewise.
12236 (CLD_CONTINUED): Likewise.
12237 (POLL_IN): Likewise.
12238 (POLL_OUT): Likewise.
12239 (POLL_MSG): Likewise.
12240 (POLL_ERR): Likewise.
12241 (POLL_PRI): Likewise.
12242 (POLL_HUP): Likewise.
12243 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
12244 (ILL_ILLOPN): Likewise.
12245 (ILL_ILLADR): Likewise.
12246 (ILL_ILLTRP): Likewise.
12247 (ILL_PRVOPC): Likewise.
12248 (ILL_PRVREG): Likewise.
12249 (ILL_COPROC): Likewise.
12250 (ILL_BADSTK): Likewise.
12251 (FPE_INTDIV): Likewise.
12252 (FPE_INTOVF): Likewise.
12253 (FPE_FLTDIV): Likewise.
12254 (FPE_FLTOVF): Likewise.
12255 (FPE_FLTUND): Likewise.
12256 (FPE_FLTRES): Likewise.
12257 (FPE_FLTINV): Likewise.
12258 (FPE_FLTSUB): Likewise.
12259 (SEGV_MAPERR): Likewise.
12260 (SEGV_ACCERR): Likewise.
12261 (BUS_ADRALN): Likewise.
12262 (BUS_ADRERR): Likewise.
12263 (BUS_OBJERR): Likewise.
12264 (BUS_MCEERR_AR): Likewise.
12265 (BUS_MCEERR_AO): Likewise.
12266 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
12267 (TRAP_TRACE): Likewise.
12268 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
12269 __USE_XOPEN2K8].
12270 (CLD_KILLED): Likewise.
12271 (CLD_DUMPED): Likewise.
12272 (CLD_TRAPPED): Likewise.
12273 (CLD_STOPPED): Likewise.
12274 (CLD_CONTINUED): Likewise.
12275 (POLL_IN): Likewise.
12276 (POLL_OUT): Likewise.
12277 (POLL_MSG): Likewise.
12278 (POLL_ERR): Likewise.
12279 (POLL_PRI): Likewise.
12280 (POLL_HUP): Likewise.
12281 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
12282 (ILL_ILLOPN): Likewise.
12283 (ILL_ILLADR): Likewise.
12284 (ILL_ILLTRP): Likewise.
12285 (ILL_PRVOPC): Likewise.
12286 (ILL_PRVREG): Likewise.
12287 (ILL_COPROC): Likewise.
12288 (ILL_BADSTK): Likewise.
12289 (FPE_INTDIV): Likewise.
12290 (FPE_INTOVF): Likewise.
12291 (FPE_FLTDIV): Likewise.
12292 (FPE_FLTOVF): Likewise.
12293 (FPE_FLTUND): Likewise.
12294 (FPE_FLTRES): Likewise.
12295 (FPE_FLTINV): Likewise.
12296 (FPE_FLTSUB): Likewise.
12297 (SEGV_MAPERR): Likewise.
12298 (SEGV_ACCERR): Likewise.
12299 (BUS_ADRALN): Likewise.
12300 (BUS_ADRERR): Likewise.
12301 (BUS_OBJERR): Likewise.
12302 (BUS_MCEERR_AR): Likewise.
12303 (BUS_MCEERR_AO): Likewise.
12304 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
12305 (TRAP_TRACE): Likewise.
12306 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
12307 __USE_XOPEN2K8].
12308 (CLD_KILLED): Likewise.
12309 (CLD_DUMPED): Likewise.
12310 (CLD_TRAPPED): Likewise.
12311 (CLD_STOPPED): Likewise.
12312 (CLD_CONTINUED): Likewise.
12313 (POLL_IN): Likewise.
12314 (POLL_OUT): Likewise.
12315 (POLL_MSG): Likewise.
12316 (POLL_ERR): Likewise.
12317 (POLL_PRI): Likewise.
12318 (POLL_HUP): Likewise.
12319 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
12320 (ILL_ILLOPN): Likewise.
12321 (ILL_ILLADR): Likewise.
12322 (ILL_ILLTRP): Likewise.
12323 (ILL_PRVOPC): Likewise.
12324 (ILL_PRVREG): Likewise.
12325 (ILL_COPROC): Likewise.
12326 (ILL_BADSTK): Likewise.
12327 (FPE_INTDIV): Likewise.
12328 (FPE_INTOVF): Likewise.
12329 (FPE_FLTDIV): Likewise.
12330 (FPE_FLTOVF): Likewise.
12331 (FPE_FLTUND): Likewise.
12332 (FPE_FLTRES): Likewise.
12333 (FPE_FLTINV): Likewise.
12334 (FPE_FLTSUB): Likewise.
12335 (SEGV_MAPERR): Likewise.
12336 (SEGV_ACCERR): Likewise.
12337 (BUS_ADRALN): Likewise.
12338 (BUS_ADRERR): Likewise.
12339 (BUS_OBJERR): Likewise.
12340 (BUS_MCEERR_AR): Likewise.
12341 (BUS_MCEERR_AO): Likewise.
12342 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
12343 (TRAP_TRACE): Likewise.
12344 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
12345 __USE_XOPEN2K8].
12346 (CLD_KILLED): Likewise.
12347 (CLD_DUMPED): Likewise.
12348 (CLD_TRAPPED): Likewise.
12349 (CLD_STOPPED): Likewise.
12350 (CLD_CONTINUED): Likewise.
12351 (POLL_IN): Likewise.
12352 (POLL_OUT): Likewise.
12353 (POLL_MSG): Likewise.
12354 (POLL_ERR): Likewise.
12355 (POLL_PRI): Likewise.
12356 (POLL_HUP): Likewise.
12357 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
12358 (ILL_ILLOPN): Likewise.
12359 (ILL_ILLADR): Likewise.
12360 (ILL_ILLTRP): Likewise.
12361 (ILL_PRVOPC): Likewise.
12362 (ILL_PRVREG): Likewise.
12363 (ILL_COPROC): Likewise.
12364 (ILL_BADSTK): Likewise.
12365 (ILL_DBLFLT): Likewise.
12366 (ILL_HARDWALL): Likewise.
12367 (FPE_INTDIV): Likewise.
12368 (FPE_INTOVF): Likewise.
12369 (FPE_FLTDIV): Likewise.
12370 (FPE_FLTOVF): Likewise.
12371 (FPE_FLTUND): Likewise.
12372 (FPE_FLTRES): Likewise.
12373 (FPE_FLTINV): Likewise.
12374 (FPE_FLTSUB): Likewise.
12375 (SEGV_MAPERR): Likewise.
12376 (SEGV_ACCERR): Likewise.
12377 (BUS_ADRALN): Likewise.
12378 (BUS_ADRERR): Likewise.
12379 (BUS_OBJERR): Likewise.
12380 (BUS_MCEERR_AR): Likewise.
12381 (BUS_MCEERR_AO): Likewise.
12382 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
12383 (TRAP_TRACE): Likewise.
12384 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
12385 __USE_XOPEN2K8].
12386 (CLD_KILLED): Likewise.
12387 (CLD_DUMPED): Likewise.
12388 (CLD_TRAPPED): Likewise.
12389 (CLD_STOPPED): Likewise.
12390 (CLD_CONTINUED): Likewise.
12391 (POLL_IN): Likewise.
12392 (POLL_OUT): Likewise.
12393 (POLL_MSG): Likewise.
12394 (POLL_ERR): Likewise.
12395 (POLL_PRI): Likewise.
12396 (POLL_HUP): Likewise.
12397 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
12398 (ILL_ILLOPN): Likewise.
12399 (ILL_ILLADR): Likewise.
12400 (ILL_ILLTRP): Likewise.
12401 (ILL_PRVOPC): Likewise.
12402 (ILL_PRVREG): Likewise.
12403 (ILL_COPROC): Likewise.
12404 (ILL_BADSTK): Likewise.
12405 (FPE_INTDIV): Likewise.
12406 (FPE_INTOVF): Likewise.
12407 (FPE_FLTDIV): Likewise.
12408 (FPE_FLTOVF): Likewise.
12409 (FPE_FLTUND): Likewise.
12410 (FPE_FLTRES): Likewise.
12411 (FPE_FLTINV): Likewise.
12412 (FPE_FLTSUB): Likewise.
12413 (SEGV_MAPERR): Likewise.
12414 (SEGV_ACCERR): Likewise.
12415 (BUS_ADRALN): Likewise.
12416 (BUS_ADRERR): Likewise.
12417 (BUS_OBJERR): Likewise.
12418 (BUS_MCEERR_AR): Likewise.
12419 (BUS_MCEERR_AO): Likewise.
12420 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
12421 (TRAP_TRACE): Likewise.
12422 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
12423 __USE_XOPEN2K8].
12424 (CLD_KILLED): Likewise.
12425 (CLD_DUMPED): Likewise.
12426 (CLD_TRAPPED): Likewise.
12427 (CLD_STOPPED): Likewise.
12428 (CLD_CONTINUED): Likewise.
12429 (POLL_IN): Likewise.
12430 (POLL_OUT): Likewise.
12431 (POLL_MSG): Likewise.
12432 (POLL_ERR): Likewise.
12433 (POLL_PRI): Likewise.
12434 (POLL_HUP): Likewise.
12435 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
12436 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
12437
bc61d27c
JM
12438 [BZ #16670]
12439 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
12440 before #include of <time.h>.
12441 [!__USE_XOPEN2K] (__need_timespec): Likewise.
12442 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
12443 (test-xfail-UNIX98/sched.h/conform): Likewise.
12444
302949e2
MS
124452014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
12446
12447 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
12448 error absence of trapping exception support.
12449 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
12450
a00f522a
JM
124512014-03-07 Joseph Myers <joseph@codesourcery.com>
12452
6f99f280
JM
12453 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
12454 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
12455 * timezone/Makefile (testdata): Move definition above include of
12456 Rules.
12457 (test-zones): New variable.
12458 (tests-special): Add zone files.
12459 (build-testdata): Use $(evaluate-test).
12460
0b20a9e8
JM
12461 * elf/Makefile (tests-special): Rename tests to end with .out.
12462 ($(objpfx)noload-mem): Likewise.
12463 ($(objpfx)tst-leaks1-mem): Likewise.
12464 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
12465 * iconv/Makefile (xtests-special): Change test-iconvconfig to
12466 $(objpfx)test-iconvconfig.out.
12467 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
12468 set -e inside subshell and redirect output to file.
12469 * iconvdata/Makefile (generated): Rename tests to end with .out.
12470 Correct type.
12471 (tests-special): Rename tests to end with .out.
12472 ($(objpfx)mtrace-tst-loading): Likewise.
12473 * intl/Makefile (generated): Likewise.
12474 (tests-special): Likewise.
12475 ($(objpfx)mtrace-tst-gettext): Likewise.
12476 * misc/Makefile (generated): Likewise.
12477 (tests-special): Likewise.
12478 ($(objpfx)tst-error1-mem): Likewise.
12479 * nptl/Makefile (tests-special): Likewise.
12480 ($(objpfx)tst-stack3-mem): Likewise.
12481 (generated): Likewise.
12482 * posix/Makefile (generated): Likewise.
12483 (tests-special): Likewise.
12484 (xtests-special): Likewise.
12485 ($(objpfx)tst-fnmatch-mem): Likewise.
12486 ($(objpfx)bug-regex2-mem): Likewise.
12487 ($(objpfx)bug-regex14-mem): Likewise.
12488 ($(objpfx)bug-regex21-mem): Likewise.
12489 ($(objpfx)bug-regex31-mem): Likewise.
12490 ($(objpfx)tst-vfork3-mem): Likewise.
12491 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
12492 ($(objpfx)tst-pcre-mem): Likewise.
12493 ($(objpfx)tst-boost-mem): Likewise.
12494 ($(objpfx)bug-ga2-mem): Likewise.
12495 ($(objpfx)bug-glob2-mem): Likewise.
12496 * resolv/Makefile (generate): Likewise.
12497 (tests-special): Likewise.
12498 (xtests-special): Likewise.
12499 (generated): Likewise.
12500 ($(objpfx)mtrace-tst-leaks): Likewise.
12501 ($(objpfx)mtrace-tst-leaks2): Likewise.
12502
265d52ab
JM
12503 * scripts/merge-test-results.sh: New file.
12504 * Makefile (tests-special-notdir): New variable.
12505 (tests): Run merge-test-results.sh.
12506 (xtests): Likewise.
12507 * Rules (tests-special-notdir): New variable.
12508 (xtests-special-notdir): Likewise.
12509 (tests): Run merge-test-results.sh
12510 (xtests): Likewise.
12511
54ee292d
JM
12512 * Makeconfig (test-xfail-name): New variable.
12513 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
12514 compute variable name for expected failures.
12515 * conform/Makefile (conformtest-headers-data): New variable.
12516 (conformtest-standards): Likewise.
12517 (conformtest-headers-ISO): Likewise.
12518 (conformtest-headers-ISO99): Likewise.
12519 (conformtest-headers-ISO11): Likewise.
12520 (conformtest-headers-POSIX): Likewise.
12521 (conformtest-headers-XPG3): Likewise.
12522 (conformtest-headers-XPG4): Likewise.
12523 (conformtest-headers-UNIX98): Likewise.
12524 (conformtest-headers-XOPEN2K): Likewise.
12525 (conformtest-headers-POSIX2008): Likewise.
12526 (conformtest-headers-XOPEN2K8): Likewise.
12527 (conformtest-header-list-base): Likewise.
12528 (conformtest-header-list-tests): Likewise.
12529 (conformtest-header-base): Likewise.
12530 (conformtest-header-tests): Likewise.
12531 (tests-special): Add $(conformtest-header-list-tests). If
12532 [$(fast-check) && !$(cross-compiling)], add
12533 $(conformtest-header-tests) instead of
12534 $(objpfx)run-conformtest.out.
12535 (generated): Add $(conformtest-header-list-base). If
12536 [$(fast-check) && !$(cross-compiling)], add
12537 $(conformtest-header-base). Remove previous setting.
12538 ($(conformtest-header-list-tests)): New target.
12539 (test-xfail-run-conformtest): Remove variable.
12540 ($(objpfx)run-conformtest.out): Remove target.
12541 (test-xfail-ISO11/complex.h/conform): New variable.
12542 (test-xfail-ISO11/stdalign.h/conform): Likewise.
12543 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
12544 (test-xfail-XPG3/varargs.h/conform): Likewise.
12545 (test-xfail-XPG4/varargs.h/conform): Likewise.
12546 (test-xfail-UNIX98/varargs.h/conform): Likewise.
12547 (test-xfail-XPG4/ndbm.h/conform): Likewise.
12548 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
12549 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
12550 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
12551 (test-xfail-XPG3/fcntl.h/conform): Likewise.
12552 (test-xfail-XPG3/ftw.h/conform): Likewise.
12553 (test-xfail-XPG3/grp.h/conform): Likewise.
12554 (test-xfail-XPG3/langinfo.h/conform): Likewise.
12555 (test-xfail-XPG3/limits.h/conform): Likewise.
12556 (test-xfail-XPG3/pwd.h/conform): Likewise.
12557 (test-xfail-XPG3/search.h/conform): Likewise.
12558 (test-xfail-XPG3/signal.h/conform): Likewise.
12559 (test-xfail-XPG3/stdio.h/conform): Likewise.
12560 (test-xfail-XPG3/stdlib.h/conform): Likewise.
12561 (test-xfail-XPG3/string.h/conform): Likewise.
12562 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
12563 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
12564 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
12565 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
12566 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
12567 (test-xfail-XPG3/sys/types.h/conform): Likewise.
12568 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
12569 (test-xfail-XPG3/termios.h/conform): Likewise.
12570 (test-xfail-XPG3/time.h/conform): Likewise.
12571 (test-xfail-XPG3/unistd.h/conform): Likewise.
12572 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
12573 (test-xfail-XPG4/fcntl.h/conform): Likewise.
12574 (test-xfail-XPG4/langinfo.h/conform): Likewise.
12575 (test-xfail-XPG4/netdb.h/conform): Likewise.
12576 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
12577 (test-xfail-XPG4/signal.h/conform): Likewise.
12578 (test-xfail-XPG4/stdio.h/conform): Likewise.
12579 (test-xfail-XPG4/stdlib.h/conform): Likewise.
12580 (test-xfail-XPG4/stropts.h/conform): Likewise.
12581 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
12582 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
12583 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
12584 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
12585 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
12586 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
12587 (test-xfail-XPG4/sys/time.h/conform): Likewise.
12588 (test-xfail-XPG4/sys/types.h/conform): Likewise.
12589 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
12590 (test-xfail-XPG4/termios.h/conform): Likewise.
12591 (test-xfail-XPG4/ucontext.h/conform): Likewise.
12592 (test-xfail-XPG4/unistd.h/conform): Likewise.
12593 (test-xfail-XPG4/utmpx.h/conform): Likewise.
12594 (test-xfail-POSIX/sched.h/conform): Likewise.
12595 (test-xfail-POSIX/signal.h/conform): Likewise.
12596 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
12597 (test-xfail-POSIX/tar.h/conform): Likewise.
12598 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
12599 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
12600 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
12601 (test-xfail-UNIX98/netdb.h/conform): Likewise.
12602 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
12603 (test-xfail-UNIX98/sched.h/conform): Likewise.
12604 (test-xfail-UNIX98/signal.h/conform): Likewise.
12605 (test-xfail-UNIX98/stdio.h/conform): Likewise.
12606 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
12607 (test-xfail-UNIX98/stropts.h/conform): Likewise.
12608 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
12609 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
12610 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
12611 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
12612 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
12613 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
12614 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
12615 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
12616 (test-xfail-UNIX98/unistd.h/conform): Likewise.
12617 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
12618 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
12619 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
12620 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
12621 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
12622 (test-xfail-XOPEN2K/math.h/conform): Likewise.
12623 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
12624 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
12625 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
12626 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
12627 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
12628 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
12629 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
12630 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
12631 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
12632 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
12633 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
12634 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
12635 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
12636 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
12637 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
12638 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
12639 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
12640 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
12641 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
12642 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
12643 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
12644 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
12645 (test-xfail-POSIX2008/signal.h/conform): Likewise.
12646 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
12647 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
12648 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
12649 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
12650 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
12651 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
12652 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
12653 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
12654 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
12655 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
12656 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
12657 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
12658 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
12659 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
12660 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
12661 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
12662 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
12663 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
12664 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
12665 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
12666 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
12667 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
12668 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
12669 (conformtest-cc-flags): Likewise.
12670 ($(conformtest-header-tests): New target.
12671 * conform/check-header-lists.sh: New file.
12672 * conform/run-conformtest.sh: Remove.
12673
a00f522a
JM
12674 * conform/conformtest.pl: Allow ' and \ in values given for
12675 constants.
12676 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
12677 inclusion.
12678 [POSIX] (sys/types.h): Likewise.
12679 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
12680 inclusion.
12681 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
12682 inclusion.
12683 * conform/data/signal.h-data (SIGIO): Remove expectation.
12684 [XPG3] (SIGBUS): Do not expect.
12685 [POSIX || XPG3] (SIGPOLL): Likewise.
12686 [POSIX || XPG3] (SIGPROF): Likewise.
12687 [POSIX || XPG3] (SIGSYS): Likewise.
12688 [XPG3] (SIGTRAP): Likewise.
12689 [POSIX || XPG3] (SIGURG): Likewise.
12690 [POSIX || XPG3] (SIGVTALRM): Likewise.
12691 [POSIX || XPG3] (SIGXCPU): Likewise.
12692 [POSIX || XPG3] (SIGXFSZ): Likewise.
12693 [POSIX] (SA_SIGINFO): Expect.
12694 [XPG3] (siginfo_t): Do not expect type or contents.
12695 [POSIX] (si_pid): Do not expect element.
12696 [POSIX] (si_uid): Likewise.
12697 [POSIX] (si_addr): Likewise.
12698 [POSIX] (si_status): Likewise.
12699 [POSIX] (si_band): Likewise.
12700 [XPG4] (si_value): Likewise.
12701 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
12702 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
12703 [POSIX || XPG3] (ILL_ILLADR): Likewise.
12704 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
12705 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
12706 [POSIX || XPG3] (ILL_PRVREG): Likewise.
12707 [POSIX || XPG3] (ILL_COPROC): Likewise.
12708 [POSIX || XPG3] (ILL_BADSTK): Likewise.
12709 [POSIX || XPG3] (FPE_INTDIV): Likewise.
12710 [POSIX || XPG3] (FPE_INTOVF): Likewise.
12711 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
12712 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
12713 [POSIX || XPG3] (FPE_FLTUND): Likewise.
12714 [POSIX || XPG3] (FPE_FLTRES): Likewise.
12715 [POSIX || XPG3] (FPE_FLTINV): Likewise.
12716 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
12717 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
12718 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
12719 [POSIX || XPG3] (BUS_ADRALN): Likewise.
12720 [POSIX || XPG3] (BUS_ADRERR): Likewise.
12721 [POSIX || XPG3] (BUS_OBJERR): Likewise.
12722 [POSIX || XPG3] (CLD_EXITED): Likewise.
12723 [POSIX || XPG3] (CLD_KILLED): Likewise.
12724 [POSIX || XPG3] (CLD_DUMPED): Likewise.
12725 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
12726 [POSIX || XPG3] (CLD_STOPPED): Likewise.
12727 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
12728 [POSIX || XPG3] (POLL_IN): Likewise.
12729 [POSIX || XPG3] (POLL_OUT): Likewise.
12730 [POSIX || XPG3] (POLL_MSG): Likewise.
12731 [POSIX || XPG3] (POLL_ERR): Likewise.
12732 [POSIX || XPG3] (POLL_PRI): Likewise.
12733 [POSIX || XPG3] (POLL_HUP): Likewise.
12734 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
12735 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
12736 (SIG*): Do not allow.
12737 [XPG3] (si_*): Likewise.
12738 [XPG3] (SI_*): Likewise.
12739 [XPG3 || XPG4] (sigev_*): Likewise.
12740 [XPG3 || XPG4] (SIGEV_*): Likewise.
12741 [XPG3 || XPG4] (sival_*): Likewise.
12742 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
12743 [POSIX || XPG3] (BUS_*): Likewise.
12744 [POSIX || XPG3] (CLD_*): Likewise.
12745 [POSIX || XPG3] (FPE_*): Likewise.
12746 [POSIX || XPG3] (ILL_*): Likewise.
12747 [POSIX || XPG3] (POLL_*): Likewise.
12748 [POSIX || XPG3] (SEGV_*): Likewise.
12749 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
12750 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
12751 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
12752 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
12753 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
12754 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
12755 Specify type and value.
12756 (TVERSLEN): Likewise.
12757 (REGTYPE): Likewise.
12758 (AREGTYPE): Likewise.
12759 (LNKTYPE): Likewise.
12760 (SYMTYPE): Likewise.
12761 (CHRTYPE): Likewise.
12762 (BLKTYPE): Likewise.
12763 (DIRTYPE): Likewise.
12764 (FIFOTYPE): Likewise.
12765 (CONTTYPE): Likewise.
12766 (TSUID): Likewise.
12767 (TSGID): Likewise.
12768 (TSVTX): Likewise.
12769 (TUREAD): Likewise.
12770 (TUWRITE): Likewise.
12771 (TUEXEC): Likewise.
12772 (TGREAD): Likewise.
12773 (TGWRITE): Likewise.
12774 (TGEXEC): Likewise.
12775 (TOREAD): Likewise.
12776 (TOWRITE): Likewise.
12777 (TOEXEC): Likewise.
12778 [POSIX] (TSVTX): Expect constant.
12779
aa97dee1
JM
127802014-03-06 Joseph Myers <joseph@codesourcery.com>
12781
f214606a
JM
12782 * Makefile (tests): Change dependencies to ....
12783 (tests-special): ... additions to this variable.
12784 (tests): Depend on $(tests-special).
12785 * Makerules (check-abi-list): New variable.
12786 (check-abi): Depend on $(check-abi-list).
12787 [$(subdir) = elf] (tests-special): Add
12788 $(objpfx)check-abi-libc.out.
12789 [$(build-shared) = yes && subdir] (tests-special): Add
12790 $(check-abi-list).
12791 [$(build-shared) = yes && subdir] (tests): Do not depend on
12792 check-abi.
12793 * Rules (tests): Depend on $(tests-special).
12794 (xtests): Depend on $(xtests-special).
12795 * catgets/Makefile (tests): Change dependencies to ....
12796 (tests-special): ... additions to this variable.
12797 * conform/Makefile (tests): Change dependencies to ....
12798 (tests-special): ... additions to this variable.
12799 * elf/Makefile (tests): Change dependencies to ....
12800 (tests-special): ... additions to this variable.
12801 * grp/Makefile (tests): Change dependencies to ....
12802 (tests-special): ... additions to this variable.
12803 * iconv/Makefile (xtests): Change dependencies to ....
12804 (xtests-special): ... additions to this variable.
12805 * iconvdata/Makefile (tests): Change dependencies to ....
12806 (tests-special): ... additions to this variable.
12807 * intl/Makefile (tests): Change dependencies to ....
12808 (tests-special): ... additions to this variable. Also add
12809 $(objpfx)tst-gettext.out.
12810 * io/Makefile (tests): Change dependencies to ....
12811 (tests-special): ... additions to this variable.
12812 * libio/Makefile (tests): Change dependencies to ....
12813 (tests-special): ... additions to this variable.
12814 * malloc/Makefile (tests): Change dependencies to ....
12815 (tests-special): ... additions to this variable.
12816 * misc/Makefile (tests): Change dependencies to ....
12817 (tests-special): ... additions to this variable.
12818 * nptl/Makefile (tests): Change dependencies to ....
12819 (tests-special): ... additions to this variable.
12820 * nptl_db/Makefile (tests): Change dependencies to ....
12821 (tests-special): ... additions to this variable.
12822 * posix/Makefile (tests): Change dependencies to ....
12823 (tests-special): ... additions to this variable.
12824 (xtests): Change dependencies to ....
12825 (xtests-special): ... additions to this variable.
12826 * resolv/Makefile (tests): Change dependencies to ....
12827 (tests-special): ... additions to this variable.
12828 (xtests): Change dependencies to ....
12829 (xtests-special): ... additions to this variable.
12830 * stdio-common/Makefile (tests): Change dependencies to ....
12831 (tests-special): ... additions to this variable.
12832 (do-tst-unbputc): Remove target.
12833 (do-tst-printf): Likewise.
12834 * stdlib/Makefile (tests): Change dependencies to ....
12835 (tests-special): ... additions to this variable.
12836 * string/Makefile (tests): Change dependencies to ....
12837 (tests-special): ... additions to this variable.
12838 * sysdeps/x86/Makefile (tests): Change dependencies to ....
12839 (tests-special): ... additions to this variable.
12840
81700b53
JM
12841 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
12842 whole file.
12843 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
12844 whole file.
12845 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
12846 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
12847
2ea18461
JM
12848 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
12849 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
12850 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
12851 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
12852 * conform/data/libgen.h-data [XPG3]: Likewise.
12853 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
12854 * conform/data/ndbm.h-data [XPG3]: Likewise.
12855 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
12856 * conform/data/netdb.h-data [XPG3]: Likewise.
12857 * conform/data/netinet/in.h-data [XPG3]: Likewise.
12858 * conform/data/poll.h-data [XPG3]: Likewise.
12859 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
12860 * conform/data/strings.h-data [XPG3]: Likewise.
12861 * conform/data/stropts.h-data [XPG3]: Likewise.
12862 * conform/data/sys/mman.h-data [XPG3]: Likewise.
12863 * conform/data/sys/resource.h-data [XPG3]: Likewise.
12864 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
12865 Likewise.
12866 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
12867 * conform/data/sys/time.h-data [XPG3]: Likewise.
12868 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
12869 * conform/data/sys/uio.h-data [XPG3]: Likewise.
12870 * conform/data/sys/un.h-data [XPG3]: Likewise.
12871 * conform/data/syslog.h-data [XPG3]: Likewise.
12872 * conform/data/ucontext.h-data [XPG3]: Likewise.
12873 * conform/data/utmpx.h-data [XPG3]: Likewise.
12874 * conform/data/varargs.h-data [UNIX98]: Enable file.
12875
355bc986
JM
12876 * manual/Makefile (INSTALL_INFO): Remove variable setting.
12877
215db402
JM
12878 * math/libm-test.inc (struct test_f_f_data): Move expected results
12879 into structure for each rounding mode.
12880 (struct test_ff_f_data): Likewise.
12881 (struct test_ff_f_data_nexttoward): Likewise.
12882 (struct test_fi_f_data): Likewise.
12883 (struct test_fl_f_data): Likewise.
12884 (struct test_if_f_data): Likewise.
12885 (struct test_fff_f_data): Likewise.
12886 (struct test_c_f_data): Likewise.
12887 (struct test_f_f1_data): Likewise.
12888 (struct test_fF_f1_data): Likewise.
12889 (struct test_ffI_f1_data): Likewise.
12890 (struct test_c_c_data): Likewise.
12891 (struct test_cc_c_data): Likewise.
12892 (struct test_f_i_data): Likewise.
12893 (struct test_ff_i_data): Likewise.
12894 (struct test_f_l_data): Likewise.
12895 (struct test_f_L_data): Likewise.
12896 (struct test_fFF_11_data): Likewise.
12897 (RM_): New macro.
12898 (RM_FE_DOWNWARD): Likewise.
12899 (RM_FE_TONEAREST): Likewise.
12900 (RM_FE_TOWARDZERO): Likewise.
12901 (RM_FE_UPWARD): Likewise.
12902 (RUN_TEST_LOOP_f_f): Update references to expected results.
12903 (RUN_TEST_LOOP_2_f): Likewise.
12904 (RUN_TEST_LOOP_fff_f): Likewise.
12905 (RUN_TEST_LOOP_c_f): Likewise.
12906 (RUN_TEST_LOOP_f_f1): Likewise.
12907 (RUN_TEST_LOOP_fF_f1): Likewise.
12908 (RUN_TEST_LOOP_fI_f1): Likewise.
12909 (RUN_TEST_LOOP_ffI_f1): Likewise.
12910 (RUN_TEST_LOOP_c_c): Likewise.
12911 (RUN_TEST_LOOP_cc_c): Likewise.
12912 (RUN_TEST_LOOP_f_i): Likewise.
12913 (RUN_TEST_LOOP_f_i_tg): Likewise.
12914 (RUN_TEST_LOOP_ff_i_tg): Likewise.
12915 (RUN_TEST_LOOP_f_b): Likewise.
12916 (RUN_TEST_LOOP_f_b_tg): Likewise.
12917 (RUN_TEST_LOOP_f_l): Likewise.
12918 (RUN_TEST_LOOP_f_L): Likewise.
12919 (RUN_TEST_LOOP_fFF_11): Likewise.
12920 * math/gen-libm-test.pl (parse_args): Output four copies of
12921 expected results for each test.
12922
67737b8f
JM
12923 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
12924 (__ASSUME_UTIMES): Remove.
12925 * sysdeps/unix/sysv/linux/tile/kernel-features.h
12926 (__ASSUME_UTIMES): Likewise.
12927
aa97dee1
JM
12928 * math/gen-auto-libm-tests.c: Update comment on output format.
12929 (output_for_one_input_case): Generate before-rounding and
12930 after-rounding information as conditions on output flags not
12931 floating-point format.
12932 * math/auto-libm-test-out: Regenerated.
12933 * math/gen-libm-test.pl (cond_value): New function.
12934 (or_cond_value): Use cond_value.
12935 (generate_testfile): Handle conditional exceptions.
12936
e6b6a857
JM
129372014-03-05 Joseph Myers <joseph@codesourcery.com>
12938
2f0a0f44
JM
12939 * math/libm-test.inc (max_valid_error): New variable.
12940 (init_max_error): Take new argument specifying whether function
12941 results are exactly determined. Set max_valid_error and bound
12942 other variables for errors based on this argument.
12943 (set_max_error): Do not record results above max_valid_error.
12944 (check_float_internal): Only accept errors of up to 0.5ulps if
12945 also at most max_valid_error.
12946 (START): Take new argument EXACT and pass it to init_max_error.
12947 (acos_test): Update call to START.
12948 (acos_test_tonearest): Likewise.
12949 (acos_test_towardzero): Likewise.
12950 (acos_test_downward): Likewise.
12951 (acos_test_upward): Likewise.
12952 (acosh_test): Likewise.
12953 (asin_test): Likewise.
12954 (asin_test_tonearest): Likewise.
12955 (asin_test_towardzero): Likewise.
12956 (asin_test_downward): Likewise.
12957 (asin_test_upward): Likewise.
12958 (asinh_test): Likewise.
12959 (atan_test): Likewise.
12960 (atanh_test): Likewise.
12961 (atan2_test): Likewise.
12962 (cabs_test): Likewise.
12963 (cacos_test): Likewise.
12964 (cacosh_test): Likewise.
12965 (carg_test): Likewise.
12966 (casin_test): Likewise.
12967 (casinh_test): Likewise.
12968 (catan_test): Likewise.
12969 (catanh_test): Likewise.
12970 (cbrt_test): Likewise.
12971 (ccos_test): Likewise.
12972 (ccosh_test): Likewise.
12973 (ceil_test): Likewise.
12974 (cexp_test): Likewise.
12975 (cimag_test): Likewise.
12976 (clog_test): Likewise.
12977 (clog10_test): Likewise.
12978 (conj_test): Likewise.
12979 (copysign_test): Likewise.
12980 (cos_test): Likewise.
12981 (cos_test_tonearest): Likewise.
12982 (cos_test_towardzero): Likewise.
12983 (cos_test_downward): Likewise.
12984 (cos_test_upward): Likewise.
12985 (cosh_test): Likewise.
12986 (cosh_test_tonearest): Likewise.
12987 (cosh_test_towardzero): Likewise.
12988 (cosh_test_downward): Likewise.
12989 (cosh_test_upward): Likewise.
12990 (cpow_test): Likewise.
12991 (cproj_test): Likewise.
12992 (creal_test): Likewise.
12993 (csin_test): Likewise.
12994 (csinh_test): Likewise.
12995 (csqrt_test): Likewise.
12996 (ctan_test): Likewise.
12997 (ctan_test_tonearest): Likewise.
12998 (ctan_test_towardzero): Likewise.
12999 (ctan_test_downward): Likewise.
13000 (ctan_test_upward): Likewise.
13001 (ctanh_test): Likewise.
13002 (ctanh_test_tonearest): Likewise.
13003 (ctanh_test_towardzero): Likewise.
13004 (ctanh_test_downward): Likewise.
13005 (ctanh_test_upward): Likewise.
13006 (erf_test): Likewise.
13007 (erfc_test): Likewise.
13008 (exp_test): Likewise.
13009 (exp_test_tonearest): Likewise.
13010 (exp_test_towardzero): Likewise.
13011 (exp_test_downward): Likewise.
13012 (exp_test_upward): Likewise.
13013 (exp10_test): Likewise.
13014 (exp10_test_tonearest): Likewise.
13015 (exp10_test_towardzero): Likewise.
13016 (exp10_test_downward): Likewise.
13017 (exp10_test_upward): Likewise.
13018 (pow10_test): Likewise.
13019 (exp2_test): Likewise.
13020 (expm1_test): Likewise.
13021 (expm1_test_tonearest): Likewise.
13022 (expm1_test_towardzero): Likewise.
13023 (expm1_test_downward): Likewise.
13024 (expm1_test_upward): Likewise.
13025 (fabs_test): Likewise.
13026 (fdim_test): Likewise.
13027 (floor_test): Likewise.
13028 (fma_test): Likewise.
13029 (fma_test_towardzero): Likewise.
13030 (fma_test_downward): Likewise.
13031 (fma_test_upward): Likewise.
13032 (fmax_test): Likewise.
13033 (fmin_test): Likewise.
13034 (fmod_test): Likewise.
13035 (fpclassify_test): Likewise.
13036 (frexp_test): Likewise.
13037 (hypot_test): Likewise.
13038 (ilogb_test): Likewise.
13039 (isfinite_test): Likewise.
13040 (finite_test): Likewise.
13041 (isgreater_test): Likewise.
13042 (isgreaterequal_test): Likewise.
13043 (isinf_test): Likewise.
13044 (isless_test): Likewise.
13045 (islessequal_test): Likewise.
13046 (islessgreater_test): Likewise.
13047 (isnan_test): Likewise.
13048 (isnormal_test): Likewise.
13049 (issignaling_test): Likewise.
13050 (isunordered_test): Likewise.
13051 (j0_test): Likewise.
13052 (j1_test): Likewise.
13053 (jn_test): Likewise.
13054 (ldexp_test): Likewise.
13055 (lgamma_test): Likewise.
13056 (gamma_test): Likewise.
13057 (lrint_test): Likewise.
13058 (lrint_test_tonearest): Likewise.
13059 (lrint_test_towardzero): Likewise.
13060 (lrint_test_downward): Likewise.
13061 (lrint_test_upward): Likewise.
13062 (llrint_test): Likewise.
13063 (llrint_test_tonearest): Likewise.
13064 (llrint_test_towardzero): Likewise.
13065 (llrint_test_downward): Likewise.
13066 (llrint_test_upward): Likewise.
13067 (log_test): Likewise.
13068 (log10_test): Likewise.
13069 (log1p_test): Likewise.
13070 (log2_test): Likewise.
13071 (logb_test): Likewise.
13072 (logb_test_downward): Likewise.
13073 (lround_test): Likewise.
13074 (llround_test): Likewise.
13075 (modf_test): Likewise.
13076 (nearbyint_test): Likewise.
13077 (nextafter_test): Likewise.
13078 (nexttoward_test): Likewise.
13079 (pow_test): Likewise.
13080 (pow_test_tonearest): Likewise.
13081 (pow_test_towardzero): Likewise.
13082 (pow_test_downward): Likewise.
13083 (pow_test_upward): Likewise.
13084 (remainder_test): Likewise.
13085 (drem_test): Likewise.
13086 (remainder_test_tonearest): Likewise.
13087 (drem_test_tonearest): Likewise.
13088 (remainder_test_towardzero): Likewise.
13089 (drem_test_towardzero): Likewise.
13090 (remainder_test_downward): Likewise.
13091 (drem_test_downward): Likewise.
13092 (remainder_test_upward): Likewise.
13093 (drem_test_upward): Likewise.
13094 (remquo_test): Likewise.
13095 (rint_test): Likewise.
13096 (rint_test_tonearest): Likewise.
13097 (rint_test_towardzero): Likewise.
13098 (rint_test_downward): Likewise.
13099 (rint_test_upward): Likewise.
13100 (round_test): Likewise.
13101 (scalb_test): Likewise.
13102 (scalbn_test): Likewise.
13103 (scalbln_test): Likewise.
13104 (signbit_test): Likewise.
13105 (sin_test): Likewise.
13106 (sin_test_tonearest): Likewise.
13107 (sin_test_towardzero): Likewise.
13108 (sin_test_downward): Likewise.
13109 (sin_test_upward): Likewise.
13110 (sincos_test): Likewise.
13111 (sinh_test): Likewise.
13112 (sinh_test_tonearest): Likewise.
13113 (sinh_test_towardzero): Likewise.
13114 (sinh_test_downward): Likewise.
13115 (sinh_test_upward): Likewise.
13116 (sqrt_test): Likewise.
13117 (sqrt_test_tonearest): Likewise.
13118 (sqrt_test_towardzero): Likewise.
13119 (sqrt_test_downward): Likewise.
13120 (sqrt_test_upward): Likewise.
13121 (tan_test): Likewise.
13122 (tan_test_tonearest): Likewise.
13123 (tan_test_towardzero): Likewise.
13124 (tan_test_downward): Likewise.
13125 (tan_test_upward): Likewise.
13126 (tanh_test): Likewise.
13127 (tgamma_test): Likewise.
13128 (trunc_test): Likewise.
13129 (y0_test): Likewise.
13130 (y1_test): Likewise.
13131 (yn_test): Likewise.
13132 (significand_test): Likewise.
13133
e6b6a857
JM
13134 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
13135 individual tests in comment.
13136 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
13137 (prev_max_error): New variable.
13138 (prev_real_max_error): Likewise.
13139 (prev_imag_max_error): Likewise.
13140 (compare_ulp_data): Don't refer to test names in comment.
13141 (find_test_ulps): Remove function.
13142 (find_function_ulps): Likewise.
13143 (find_complex_function_ulps): Likewise.
13144 (init_max_error): Take function name as argument. Look up ulps
13145 for that function.
13146 (print_ulps): Remove function.
13147 (print_max_error): Use prev_max_error instead of calling
13148 find_function_ulps.
13149 (print_complex_max_error): Use prev_real_max_error and
13150 prev_imag_max_error instead of calling find_complex_function_ulps.
13151 (check_float_internal): Take max_ulp parameter instead of calling
13152 find_test_ulps. Don't call print_ulps.
13153 (check_float): Update call to check_float_internal.
13154 (check_complex): Update calls to check_float_internal.
13155 (START): Pass argument to init_max_error.
13156 * math/gen-libm-test.pl (%results): Don't include "kind"
13157 information.
13158 (parse_ulps): Don't handle ulps of individual tests.
13159 (print_ulps_file): Likewise.
13160 (output_ulps): Likewise.
13161 * math/README.libm-test: Update.
13162 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
13163 individual tests.
13164 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
13165 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
13166 * sysdeps/arm/libm-test-ulps: Likewise.
13167 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
13168 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
13169 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
13170 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
13171 * sysdeps/microblaze/libm-test-ulps: Likewise.
13172 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
13173 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
13174 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
13175 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
13176 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
13177 * sysdeps/sh/libm-test-ulps: Likewise.
13178 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
13179 * sysdeps/tile/libm-test-ulps: Likewise.
13180 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13181
45adef3c
JM
131822014-03-04 Joseph Myers <joseph@codesourcery.com>
13183
13184 * math/libm-test.inc (print_complex_max_error): Check separately
13185 whether real and imaginary errors are within allowed range and
13186 pass 0 to print_complex_function_ulps instead of value within
13187 allowed range.
13188
000232b9
SP
131892014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
13190
d4b17258
SP
13191 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
13192 formatting.
13193 (get_handles_fopen): Likewise.
13194 (do_write_test): Likewise.
13195
091eff71
SP
13196 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
13197
fa3cd248
SP
13198 * libio/fileops.c (do_ftell): Use cached offset when
13199 available.
13200 * libio/iofwide.c (do_ftell_wide): Likewise.
13201 * libio/iofdopen.c (_IO_new_fdopen): Don't use
13202 _IO_file_attach.
13203 * libio/wfileops.c (_IO_fwide): Don't cache offset.
13204
000232b9
SP
13205 [BZ #16532]
13206 * libio/libioP.h (get_file_offset): New function.
13207 * libio/fileops.c (get_file_offset): Likewise.
13208 (do_ftell): Likewise.
13209 (_IO_new_file_seekoff): Split out ftell logic.
13210 * libio/wfileops.c (do_ftell_wide): Likewise.
13211 (_IO_wfile_seekoff): Split out ftell logic.
13212 * libio/tst-ftell-active-handler.c: New test case.
13213 * libio/Makefile (tests): Add it.
13214
116f4d1a
RM
132152014-03-03 Roland McGrath <roland@hack.frob.com>
13216
13217 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
13218 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
13219
532a6035
SP
132202014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
13221
13222 [BZ #16639]
13223 * nscd/connections.c (nscd_init): Call do_exit.
13224 (start_threads): Call do_exit and notify_parent.
13225 (begin_drop_privileges): Call do_exit.
13226 (finish_drop_privileges): Likewise.
13227 * nscd/selinux.c (preserve_capabilities): Likewise.
13228 (install_real_capabilities): Likewise.
13229 (nscd_selinux_enabled): Likewise.
13230 (avc_create_thread): Likewise.
13231 (avc_alloc_lock): Likewise.
13232 (nscd_avc_init): Likewise.
13233 * nscd/nscd.c (parent_fd): New static variable.
13234 (main): Create a pipe between parent and child processes.
13235 Skip closing parent_fd.
13236 (monitor_child): New function.
13237 (do_exit): Likewise.
13238 (notify_parent): Likewise.
13239 * nscd/nscd.h (notify_parent): Likewise.
13240 (do_exit): Likewise.
13241
d6285c9f
CD
132422014-03-03 Carlos O'Donell <carlos@redhat.com>
13243
13244 * malloc/malloc.c (__libc_calloc): Revert last change.
13245
2b85d2a0
AZ
132462014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13247
13248 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13249
c7debbdf
RS
132502014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
13251
13252 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
13253 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
13254 implementation.
13255 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
13256 (__libc_ifunc_impl_list): Likewise.
13257 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
13258 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
13259 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
13260 * string/strrchr.c: Define STRRCHR.
13261
235eed86
OB
132622014-02-28 Ondřej Bílka <neleai@seznam.cz>
13263
13264 * benchtest/bench-strtok.c (simple_strtok): Delete.
13265 (strtok_string): Use as benchmark.
13266 * string/strtok (STRTOK): New macro.
13267
8e25d1e7
CD
132682014-02-28 Carlos O'Donell <carlos@redhat.com>
13269
ef563f92
CD
13270 * manual/threads.texi: Add header and standard comments to all
13271 functions.
13272
8e25d1e7
CD
13273 * elf/dl-lookup.c (check_match): New function.
13274 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
13275 (do_lookup_x): Remove nested function check_match. Use non-nested
13276 function check_match.
13277
ff71cc37
RM
132782014-02-28 Roland McGrath <roland@hack.frob.com>
13279
f08e9a26
RM
13280 * csu/Makefile (generated, before-compile): Use += rather than =.
13281 * catgets/Makefile (generated, generated-dirs): Likewise.
13282 * debug/Makefile (generated): Likewise.
13283 * dlfcn/Makefile (generated): Likewise.
13284 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
13285 * iconvdata/Makefile (before-compile, generated): Likewise.
13286 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
13287 * libio/Makefile (generated): Likewise.
13288 * malloc/Makefile (generated): Likewise.
13289 * manual/Makefile (generated, generated-dirs): Likewise.
13290 * misc/Makefile (generated): Likewise.
13291 * posix/Makefile (generated): Likewise.
13292 * resolv/Makefile (generated): Likewise.
13293 * sunrpc/Makefile (generated, generated-dirs): Likewise.
13294 * timezone/Makefile (generated, generated-dirs): Likewise.
13295
ff71cc37
RM
13296 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
13297
fe13a20c
AZ
132982014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13299
57f41c40
AS
13300 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
13301 power8 implementation.
13302 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
13303 file: POWER8 llround ifunc implementation.
13304 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
13305 (__lllround): Add POWER8 implementation.
fe13a20c
AZ
13306 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
13307 POWER8 llround implementation.
13308
57f41c40
AS
13309 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
13310 power8 implementation.
13311 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
13312 file: POWER8 llrint ifunc implementation.
13313 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
13314 Add POWER8 implementation.
1ad8950a
AZ
13315 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
13316 POWER8 llrint implementation.
13317
57f41c40
AS
13318 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
13319 power8 implementation.
13320 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
13321 file: POWER8 finite ifunc implementation.
13322 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
13323 Add POWER8 implementation.
cac626d6
AZ
13324 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
13325 Likewise.
13326 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
13327 POWER8 finite implementation.
13328 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
13329
57f41c40
AS
13330 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
13331 power8 implementation.
13332 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
13333 file: POWER8 isinf ifunc implementation.
4393fc11
AZ
13334 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
13335 POWER8 implementation.
13336 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
13337 Likewise.
57f41c40
AS
13338 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
13339 isinf implementation.
4393fc11
AZ
13340 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
13341
57f41c40
AS
13342 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
13343 (INIT_ARCH): Add hwcap2 initialization.
13344 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
13345 power8 implementation.
13346 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
13347 file: POWER8 isnan ifunc implementation.
487972ae
AZ
13348 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
13349 POWER8 implementation.
13350 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
13351 Likewise.
57f41c40
AS
13352 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
13353 isnan implementation.
487972ae
AZ
13354 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
13355
7d92b787
JY
133562014-02-27 Joey Ye <joey.ye@arm.com>
13357
13358 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
13359 (_FP_NANFRAC_Q): Set to zero.
13360
1cadc858
SP
133612014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
13362
13363 [BZ #16623]
13364 * math/auto-libm-test-in: New test inputs.
13365 * math/auto-libm-test-out: Regenerate.
13366 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
13367 and DA.
13368 (__cos): Likewise.
13369 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
13370
f8c17e79
JM
133712014-02-27 Joseph Myers <joseph@codesourcery.com>
13372
13373 * scripts/evaluate-test.sh: Take new argument indicating whether
13374 failure is expected.
13375 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
13376 indicating whether failure is expected.
13377 * conform/Makefile (test-xfail-run-conformtest): New variable.
13378 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
13379 level.
13380 * posix/Makefile (test-xfail-annexc): New variable.
13381 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
13382
a5f891ac
JM
133832014-02-26 Joseph Myers <joseph@codesourcery.com>
13384
13385 * argp/Makefile: Include Makeconfig immediately after defining
13386 subdir.
13387 * assert/Makefile: Likewise.
13388 * benchtests/Makefile: Likewise.
13389 * catgets/Makefile: Likewise.
13390 * conform/Makefile: Likewise.
13391 * crypt/Makefile: Likewise.
13392 * csu/Makefile: Likewise.
13393 (all): Remove target.
13394 * ctype/Makefile: Include Makeconfig immediately after defining
13395 subdir.
13396 * debug/Makefile: Likewise.
13397 * dirent/Makefile: Likewise.
13398 * dlfcn/Makefile: Likewise.
13399 * gmon/Makefile: Likewise.
13400 * gnulib/Makefile: Likewise.
13401 * grp/Makefile: Likewise.
13402 * gshadow/Makefile: Likewise.
13403 * hesiod/Makefile: Likewise.
13404 * hurd/Makefile: Likewise.
13405 (all): Remove target.
13406 * iconvdata/Makefile: Include Makeconfig immediately after
13407 defining subdir.
13408 * inet/Makefile: Likewise.
13409 * intl/Makefile: Likewise.
13410 * io/Makefile: Likewise.
13411 * libio/Makefile: Likewise.
13412 (all): Remove target.
13413 * locale/Makefile: Include Makeconfig immediately after defining
13414 subdir.
13415 * login/Makefile: Likewise.
13416 * mach/Makefile: Likewise.
13417 (all): Remove target.
13418 * malloc/Makefile: Include Makeconfig immediately after defining
13419 subdir.
13420 (all): Remove target.
13421 * manual/Makefile: Include Makeconfig immediately after defining
13422 subdir.
13423 * math/Makefile: Likewise.
13424 * misc/Makefile: Likewise.
13425 * nis/Makefile: Likewise.
13426 * nss/Makefile: Likewise.
13427 * po/Makefile: Likewise.
13428 (all): Remove target.
13429 * posix/Makefile: Include Makeconfig immediately after defining
13430 subdir.
13431 * pwd/Makefile: Likewise.
13432 * resolv/Makefile: Likewise.
13433 * resource/Makefile: Likewise.
13434 * rt/Makefile: Likewise.
13435 * setjmp/Makefile: Likewise.
13436 * shadow/Makefile: Likewise.
13437 * signal/Makefile: Likewise.
13438 * socket/Makefile: Likewise.
13439 * soft-fp/Makefile: Likewise.
13440 * stdio-common/Makefile: Likewise.
13441 * stdlib/Makefile: Likewise.
13442 * streams/Makefile: Likewise.
13443 * string/Makefile: Likewise.
13444 * sunrpc/Makefile: Likewise.
13445 (all): Remove target.
13446 * sysvipc/Makefile: Include Makeconfig immediately after defining
13447 subdir.
13448 * termios/Makefile: Likewise.
13449 * time/Makefile: Likewise.
13450 * timezone/Makefile: Likewise.
13451 (all): Remove target.
13452 * wcsmbs/Makefile: Include Makeconfig immediately after defining
13453 subdir.
13454 * wctype/Makefile: Likewise.
13455
5b456e9d
SE
134562014-02-26 Steve Ellcey <sellcey@mips.com>
13457
13458 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
13459 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
13460 (libc_feholdexcept_setround_mips): Ditto.
13461 (libc_feholdsetround): New.
13462 (libc_feholdsetroundf): New.
13463 (libc_feholdsetroundl): New.
13464 (libc_feupdateenv_test_mips): New.
13465 (libc_feupdateenv_test): New.
13466 (libc_feupdateenv_testf): New.
13467 (libc_feupdateenv_testl): New.
13468 (libc_feresetround): New.
13469 (libc_feresetroundf): New.
13470 (libc_feresetroundl): New.
13471 (libc_fetestexcept_mips): New.
13472 (libc_fetestexcept): New.
13473 (libc_fetestexceptf): New.
13474 (libc_fetestexceptl): New.
13475 (HAVE_RM_CTX): New.
13476 (libc_feholdexcept_setround_mips_ctx): New.
13477 (libc_feholdexcept_setround_ctx): New.
13478 (libc_feholdexcept_setroundf_ctx): New.
13479 (libc_feholdexcept_setroundl_ctx): New.
13480 (libc_fesetenv_mips_ctx): New.
13481 (libc_fesetenv_ctx): New.
13482 (libc_fesetenv_ctxf): New.
13483 (libc_fesetenv_ctxl): New.
13484 (libc_feupdateenv_mips_ctx): New.
13485 (libc_feupdateenv_ctx): New.
13486 (libc_feupdateenvf_ctx): New.
13487 (libc_feupdateenvl_ctx): New.
13488 (libc_feholdsetround_mips_ctx): New.
13489 (libc_feholdsetround_ctx): New.
13490 (libc_feholdsetroundf_ctx): New.
13491 (libc_feholdsetroundl_ctx): New.
13492 (libc_feresetround_mips_ctx): New.
13493 (libc_feresetround_ctx): New.
13494 (libc_feresetroundf_ctx): New.
13495 (libc_feresetroundl_ctx): New.
13496
085d0e35
CD
134972014-02-26 Carlos O'Donell <carlos@redhat.com>
13498
f067bf1f
CD
13499 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
13500
085d0e35
CD
13501 * manual/ipc.texi: New file.
13502 * manual/Makefile (chapters): Add ipc.
13503 * manual/job.texi: Add "Inter-Process Communication" to next.
13504 * manual/process.texi: Add "Inter-Process Communication" to prev.
13505
86e58c08
AZ
135062014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13507
13508 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13509
4248f0da
OB
135102014-02-26 Ondřej Bílka <neleai@seznam.cz>
13511
13512 * malloc/malloc.c (__libc_calloc): Simplify implementation.
13513
cf822e3c
OB
13514 * manual/arith.texi: Fix spaces after sentences.
13515 * manual/charset.texi: Likewise.
13516 * manual/errno.texi: Likewise.
13517 * manual/install.texi: Likewise.
13518 * manual/llio.texi: Likewise.
13519 * manual/locale.texi: Likewise.
13520 * manual/maint.texi: Likewise.
13521 * manual/math.texi: Likewise.
13522 * manual/memory.texi: Likewise.
13523 * manual/message.texi: Likewise.
13524 * manual/probes.texi: Likewise.
13525 * manual/resource.texi: Likewise.
13526 * manual/signal.texi: Likewise.
13527 * manual/socket.texi: Likewise.
13528 * manual/stdio.texi: Likewise.
13529 * manual/string.texi: Likewise.
13530 * manual/time.texi: Likewise.
13531 * manual/users.texi: Likewise.
13532
ade40b10
CD
135332014-02-25 Carlos O'Donell <carlos@redhat.com>
13534
13535 [BZ #16632]
13536 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
13537 _DEFAULT_SOURCE is defined.
13538
d0503676
CD
135392014-02-25 Ulrich Drepper <drepper@gmail.com>
13540 Carlos O'Donell <carlos@redhat.com>
13541
13542 [BZ #16613]
13543 * elf/dl-tls.c (_dl_count_modids): New function.
13544 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
13545 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
13546 audit library and increment generation counter.
13547 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
13548 * elf/tst-audit9.c: New file.
13549 * elf/tst-auditmod9a.c: New file.
13550 * elf/tst-auditmod9b.c: New file.
13551 * elf/Makefile: Add rules to build and run tst-audit9.
13552
4cbf380c
FW
135532014-02-25 Florian Weimer <fweimer@redhat.com>
13554
13555 [BZ #15347]
13556 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
13557
80a56cc3
WN
135582014-02-25 Will Newton <will.newton@linaro.org>
13559
13560 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
13561 (__longjmp): Restore sp and lr before restoring callee
13562 saved registers. Add longjmp and longjmp_target
13563 SystemTap probe point.
13564 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
13565 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
13566 Define to zero to match jmpbuf layout.
13567 * sysdeps/arm/setjmp.S: Include stap-probe.h.
13568 (__sigsetjmp): Save sp and lr before saving callee
13569 saved registers. Add setjmp SystemTap probe point.
13570
3ea0f74e
SL
135712014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
13572
13573 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
13574
b04acb26
AS
135752014-02-24 Andreas Schwab <schwab@suse.de>
13576
13577 [BZ #15804]
13578 * elf/pldd.c (wait_for_ptrace_stop): New function.
13579 (main): Call it after attaching.
13580
098ad55c
RM
135812014-02-22 Roland McGrath <roland@hack.frob.com>
13582
d4ec6ae1
RM
13583 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
13584 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
13585 Versions files is now verboten.
13586 * hurd/Versions (libc: GLIBC_2.0):
13587 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
13588 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
13589 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
13590 * mach/Versions: Likewise.
13591
098ad55c
RM
13592 * csu/Versions: Remove unused %include.
13593 * resolv/Versions: Likewise.
13594
acd7f096
JM
135952014-02-21 Joseph Myers <joseph@codesourcery.com>
13596
f0881698
JM
13597 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
13598 ($(objpfx)check-local-headers.out): Likewise.
13599 ($(objpfx)begin-end-check.out): Likewise.
13600 * Makerules (check-abi-%.out): Likewise.
13601 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
13602 ($(objpfx)test2.cat): Likewise.
13603 ($(objpfx)de/libc.cat): Likewise.
13604 ($(objpfx)test-gencat.out): Likewise.
13605 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
13606 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
13607 ($(objpfx)noload-mem): Likewise.
13608 ($(objpfx)tst-pathopt.out): Likewise.
13609 ($(objpfx)tst-rtld-load-self.out): Likewise.
13610 ($(objpfx)tst-array1-cmp.out): Likewise.
13611 ($(objpfx)tst-array1-static-cmp.out): Likewise.
13612 ($(objpfx)tst-array2-cmp.out): Likewise.
13613 ($(objpfx)tst-array3-cmp.out): Likewise.
13614 ($(objpfx)tst-array4-cmp.out): Likewise.
13615 ($(objpfx)tst-array5-cmp.out): Likewise.
13616 ($(objpfx)tst-array5-static-cmp.out): Likewise.
13617 ($(objpfx)check-textrel.out): Likewise.
13618 ($(objpfx)check-execstack.out): Likewise.
13619 ($(objpfx)check-localplt.out): Likewise.
13620 ($(objpfx)order2-cmp.out): Likewise.
13621 ($(objpfx)tst-leaks1-mem): Likewise.
13622 ($(objpfx)tst-leaks1-static-mem): Likewise.
13623 ($(objpfx)tst-initorder-cmp.out): Likewise.
13624 ($(objpfx)tst-initorder2-cmp.out): Likewise.
13625 ($(objpfx)tst-unused-dep.out): Likewise.
13626 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
13627 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
13628 * iconv/Makefile (test-iconvconfig): Likewise.
13629 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
13630 ($(objpfx)iconv-test.out): Likewise.
13631 ($(objpfx)tst-tables.out): Likewise.
13632 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
13633 ($(objpfx)tst-gettext.out): Likewise.
13634 ($(objpfx)tst-translit.out): Likewise.
13635 ($(objpfx)tst-gettext2.out): Likewise.
13636 ($(objpfx)tst-gettext4.out): Likewise.
13637 ($(objpfx)tst-gettext6.out): Likewise.
13638 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
13639 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
13640 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
13641 ($(objpfx)tst-fopenloc-mem.out): Likewise.
13642 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
13643 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
13644 * posix/Makefile ($(objpfx)globtest.out): Likewise.
13645 ($(objpfx)wordexp-tst.out): Likewise.
13646 ($(objpfx)annexc.out): Likewise.
13647 ($(objpfx)tst-fnmatch-mem): Likewise.
13648 ($(objpfx)bug-regex2-mem): Likewise.
13649 ($(objpfx)bug-regex14-mem): Likewise.
13650 ($(objpfx)bug-regex21-mem): Likewise.
13651 ($(objpfx)bug-regex31-mem): Likewise.
13652 ($(objpfx)tst-vfork3-mem): Likewise.
13653 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
13654 ($(objpfx)tst-pcre-mem): Likewise.
13655 ($(objpfx)tst-boost-mem): Likewise.
13656 ($(objpfx)tst-getconf.out): Likewise.
13657 ($(objpfx)bug-ga2-mem): Likewise.
13658 ($(objpfx)bug-glob2-mem): Likewise.
13659 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
13660 ($(objpfx)mtrace-tst-leaks2): Likewise.
13661 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
13662 ($(objpfx)tst-printf.out): Likewise.
13663 ($(objpfx)tst-setvbuf1.out): Likewise.
13664 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
13665 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
13666 ($(objpfx)tst-fmtmsg.out): Likewise.
13667 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
13668 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
13669
acd7f096
JM
13670 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
13671 * bits/sigaction.h [__USE_MISC]: Likewise.
13672 * bits/waitstatus.h: Update #endif comments.
13673 * ctype/ctype.h: Likewise.
13674 * dirent/dirent.h: Likewise.
13675 [__USE_MISC]: Remove redundant conditionals.
13676 * grp/grp.h: Update #endif comments.
13677 [__USE_GNU]: Remove redundant conditionals.
13678 [__USE_MISC]: Likewise.
13679 * inet/netinet/in.h [__USE_GNU]: Likewise.
13680 * io/sys/stat.h [__USE_MISC]: Likewise.
13681 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
13682 * libio/bits/stdio.h: Update #endif comments.
13683 [__USE_MISC]: Remove redundant conditionals.
13684 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
13685 * libio/stdio.h: Update #endif comments.
13686 [__USE_MISC]: Remove redundant conditionals.
13687 * math/bits/math-finite.h [__USE_MISC]: Likewise.
13688 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
13689 * math/math.h: Update #else and #endif comments.
13690 [__USE_MISC]: Remove redundant conditionals.
13691 * misc/sys/uio.h: Update #endif comments.
13692 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
13693 * posix/glob.h [__USE_MISC]: Likewise.
13694 * posix/sys/types.h: Update #endif comments.
13695 [__USE_MISC]: Remove redundant conditionals.
13696 * posix/sys/wait.h: Update #endif comments.
13697 [__USE_MISC]: Remove redundant conditionals.
13698 * posix/unistd.h: Update #endif comments.
13699 [__USE_MISC]: Remove redundant conditionals.
13700 * pwd/pwd.h [__USE_GNU]: Likewise.
13701 [__USE_MISC]: Likewise.
13702 * resolv/netdb.h [__USE_GNU]: Likewise.
13703 * signal/signal.h: Update #endif comments.
13704 [__USE_MISC]: Remove redundant conditionals.
13705 * stdlib/stdlib.h: Update #else and #endif comments.
13706 [__USE_MISC]: Remove redundant conditionals.
13707 [__USE_GNU]: Likewise.
13708 * string/bits/string2.h [__USE_MISC]: Likewise.
13709 * string/string.h: Update #endif comments.
13710 [__USE_MISC]: Remove redundant conditionals.
13711 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
13712 Likewise.
13713 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
13714 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
13715 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
13716 Likewise.
13717 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
13718 Likewise.
13719 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
13720 comments.
13721 [__USE_MISC]: Remove redundant conditionals.
13722 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
13723 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
13724 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
13725 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
13726 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
13727 Likewise.
13728 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
13729 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
13730 Likewise.
13731 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
13732 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
13733 Likewise.
13734 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
13735 Likewise.
13736 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
13737 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
13738 Likewise.
13739 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
13740 Likewise.
13741 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
13742 * sysdeps/x86/bits/string.h: Update #endif comments.
13743 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
13744 conditionals.
13745 * time/sys/time.h: Update #endif comments.
13746 * time/time.h: Likewise.
13747 [__USE_MISC]: Remove redundant conditionals.
13748
a5d82e4e
YG
137492014-02-21 Yury Gribov <y.gribov@samsung.com>
13750
13751 [BZ #16600]
13752 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
13753
9a80491d
AS
137542014-02-21 Andreas Schwab <schwab@linux-m68k.org>
13755
13756 * Versions.def (librt): Add GLIBC_2.17.
13757
105fa381
AC
137582014-02-21 Adam Conrad <adconrad@0c3.net>
13759
13760 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
13761 synonym for _SYS_AUXV_H to allow direct inclusion.
13762 * sysdeps/sparc/bits/hwcap.h: Likewise.
13763 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
13764 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
13765 * sysdeps/sparc/sysdep.h: Likewise.
13766
b8cd1c4e
SP
137672014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
13768
13769 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
13770
bd939d23
RS
137712014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
13772
13773 * benchtests/bench-strrchr.c: Print length instead of position.
13774
5d7b57ca
JM
137752014-02-20 Joseph Myers <joseph@codesourcery.com>
13776
bc688c10
JM
13777 [BZ #16611]
13778 * sysdeps/unix/sysv/linux/kernel-features.h
13779 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
13780 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
13781 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
13782 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
13783 Likewise.
13784 [__i386__ || __powerpc__ || __sh__ || __sparc__]
13785 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
13786 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
13787 (__ASSUME_SENDMMSG): Define instead of using previous
13788 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
13789 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
13790 (__ASSUME_SENDMMSG_SYSCALL): Define.
13791 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
13792 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
13793 Likewise.
13794 * sysdeps/unix/sysv/linux/arm/kernel-features.h
13795 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
13796 Likewise.
13797 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
13798 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
13799 Likewise.
13800 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
13801 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
13802 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
13803 [__ASSUME_SENDMMSG]: Change conditionals to
13804 [__ASSUME_SENDMMSG_SOCKETCALL].
13805 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13806 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
13807 Define.
13808 * sysdeps/unix/sysv/linux/mips/kernel-features.h
13809 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
13810 Likewise.
13811 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
13812 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
13813 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
13814 [!__ASSUME_SENDMMSG]: Change conditional to
13815 [!__ASSUME_SENDMMSG_SOCKETCALL].
13816 * sysdeps/unix/sysv/linux/tile/kernel-features.h
13817 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
13818 Define.
13819
0e31b18c
JM
13820 [BZ #16610]
13821 * sysdeps/unix/sysv/linux/kernel-features.h
13822 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
13823 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
13824 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
13825 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
13826 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
13827 [__i386__ || __sparc__]
13828 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
13829 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
13830 (__ASSUME_RECVMMSG): Define instead of using previous
13831 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
13832 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
13833 (__ASSUME_RECVMMSG_SYSCALL): Define.
13834 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
13835 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
13836 Likewise.
13837 * sysdeps/unix/sysv/linux/arm/kernel-features.h
13838 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
13839 Likewise.
13840 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
13841 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
13842 Likewise.
13843 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
13844 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
13845 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
13846 [__ASSUME_RECVMMSG]: Change condition to
13847 [__ASSUME_RECVMMSG_SOCKETCALL].
13848 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13849 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
13850 Define.
13851 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
13852 * sysdeps/unix/sysv/linux/mips/kernel-features.h
13853 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
13854 Likewise.
13855 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
13856 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
13857 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
13858 [!__ASSUME_RECVMMSG]: Change condition to
13859 [!__ASSUME_RECVMMSG_SOCKETCALL].
13860 * sysdeps/unix/sysv/linux/tile/kernel-features.h
13861 (__ASSUME_RECVMMSG_SYSCALL): Define.
13862
dd481ccf
JM
13863 [BZ #16609]
13864 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
13865 __powerpc__ || __s390__ || __sh__ || __sparc__]
13866 (__ASSUME_SOCKETCALL): Define.
13867 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
13868 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
13869 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
13870 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
13871 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
13872 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
13873 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
13874 (__ASSUME_ACCEPT4): Define instead of using previous
13875 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
13876 __powerpc__ || __sparc__ || __s390__)] condition.
13877 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
13878 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
13879 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
13880 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
13881 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
13882 [!__ASSUME_ACCEPT4]: Change condition to
13883 [!__ASSUME_ACCEPT4_SOCKETCALL].
13884 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
13885 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
13886 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
13887 * sysdeps/unix/sysv/linux/arm/kernel-features.h
13888 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
13889 __ASSUME_ACCEPT4_SYSCALL.
13890 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
13891 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
13892 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
13893 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
13894 __ASSUME_ACCEPT4_SYSCALL.
13895 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
13896 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
13897 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
13898 [__ASSUME_ACCEPT4]: Change condition to
13899 [__ASSUME_ACCEPT4_SOCKETCALL].
13900 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
13901 (__ASSUME_SOCKETCALL): Define.
13902 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
13903 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13904 (__ASSUME_SOCKETCALL): Define.
13905 (__ASSUME_ACCEPT4): Remove.
13906 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
13907 Define.
13908 * sysdeps/unix/sysv/linux/mips/kernel-features.h
13909 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
13910 Likewise.
13911 * sysdeps/unix/sysv/linux/tile/kernel-features.h
13912 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
13913
5d7b57ca
JM
13914 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
13915 macro.
13916 (HWCAP_ARM_LPAE): Likewise.
13917 (HWCAP_ARM_EVTSTRM): Likewise.
13918 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
13919 Add vpfd32, lpae and evtstrm.
13920 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
13921 Increase to 22.
13922
63689d61
JM
139232014-02-19 Joseph Myers <joseph@codesourcery.com>
13924
13925 * math/auto-libm-test-in: Add tests of clog10.
13926 * math/auto-libm-test-out: Regenerated.
13927 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
13928 * sysdeps/i386/fpu/libm-test-ulps: Update.
13929 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13930
ab09bf61
AS
139312014-02-18 Andreas Schwab <schwab@suse.de>
13932
13933 [BZ #16574]
13934 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
13935 Store non-zero if the second buffer was newly allocated.
13936 (send_dg): Likewise.
13937 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
13938 to send_vc and send_dg.
13939 (res_nsend): Pass NULL for ansp2_malloced.
13940 * resolv/res_query.c (__libc_res_nquery): Add parameter
13941 answerp2_malloced and pass it down to __libc_res_nsend.
13942 (res_nquery): Pass additional NULL to __libc_res_nquery.
13943 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
13944 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
13945 second answer buffer if answerp2_malloced was set.
13946 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
13947 (__libc_res_nquerydomain): Add parameter
13948 answerp2_malloced and pass it down to __libc_res_nquery.
13949 (res_nquerydomain): Pass additional NULL to
13950 __libc_res_nquerydomain.
13951 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
13952 additional NULL to __libc_res_nsend and __libc_res_nquery.
13953 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
13954 additional NULL to __libc_res_nsearch.
13955 (_nss_dns_gethostbyname4_r): Revert last change. Use new
13956 parameter of __libc_res_nsearch to check for separately allocated
13957 second buffer.
13958 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
13959 __libc_res_nquery.
13960 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
13961 additional NULL to __libc_res_nquery.
13962 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
13963 __libc_res_nsearch.
13964 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
13965 * include/resolv.h: Update prototypes of __libc_res_nquery,
13966 __libc_res_nsearch, __libc_res_nsend.
13967
a4fb7861
JM
139682014-02-18 Joseph Myers <joseph@codesourcery.com>
13969
c6af2d89
JM
13970 * math/auto-libm-test-in: Add tests of fma.
13971 * math/auto-libm-test-out: Regenerated.
13972 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
13973 (fma_towardzero_test_data): Likewise.
13974 (fma_downward_test_data): Likewise.
13975 (fma_upward_test_data): Likewise.
13976 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
13977 mpc_mode.
13978 (rounding_modes): Add values for new field.
13979 (func_calc_method): Add value mpfr_fff_f.
13980 (func_calc_desc): Add mpfr_fff_f union field.
13981 (test_function): Add field exact_args.
13982 (FUNC): Add macro argument EXACT_ARGS.
13983 (FUNC_mpfr_f_f): Update call to FUNC.
13984 (FUNC_mpfr_f_f): Likewise.
13985 (FUNC_mpfr_ff_f): Likewise.
13986 (FUNC_mpfr_if_f): Likewise.
13987 (FUNC_mpc_c_f): Likewise.
13988 (FUNC_mpc_c_c): Likewise.
13989 (test_functions): Add fma. Update calls to FUNC.
13990 (handle_input_arg): Add argument exact_args.
13991 (add_test): Update call to handle_input_arg.
13992 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
13993 (output_for_one_input_case): Update call to calc_generic_results.
13994 Recalculate exact zero results in each rounding mode.
13995
a4fb7861
JM
13996 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
13997 non-negative before setting low bit.
13998 * math/auto-libm-test-in: Mark one asin test possibly having
13999 spurious underflow.
14000 * math/auto-libm-test-out: Regenerated.
14001 * sysdeps/i386/fpu/libm-test-ulps: Update.
14002 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14003
ef114eaf
DH
140042014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
14005
2b7f4f2c
SP
14006 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
14007 * sysdeps/unix/sysv/linux/microblaze: Move directory from
14008 ports/sysdeps/unix/sysv/linux/microblaze.
ef114eaf
DH
14009 * README: Add missing listing for microblaze*-*-linux-gnu.
14010
8125aedc
AM
140112014-02-16 Ondřej Bílka <neleai@seznam.cz>
14012
14013 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
14014 duplicate code
14015
c70a4b1d
MF
140162014-02-16 Mike Frysinger <vapier@gentoo.org>
14017
14018 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
14019 * sysdeps/unix/sysv/linux/ia64: Move directory from
14020 ports/sysdeps/unix/sysv/linux/ia64.
14021 * README: Update listing for ia64-*-linux-gnu.
14022
591aeaf7
TD
140232014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
14024 Joseph Myers <joseph@codesourcery.com>
14025
14026 * Makeconfig (test-name): New variable.
14027 (evaluate-test): Likewise.
14028 * Makerules (do-test-clean): Remove .test-result files.
14029 (common-mostlyclean): Likewise.
14030 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
14031 * scripts/evaluate-test.sh: New file.
14032
6e89caf1
JM
140332014-02-14 Joseph Myers <joseph@codesourcery.com>
14034
7f98f180
JM
14035 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
14036 separate $(objpfx)tst-fopenloc-cmp.out and
14037 $(objpfx)tst-fopenloc-mem.out targets.
14038 (tests): Update dependencies.
14039 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
14040 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
14041 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
14042 (tst-rxspencer-no-utf8-ARGS): New variable.
14043 (tst-rxspencer-no-utf8-ENV): Likewise.
14044 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
14045 instead of $(objpfx)tst-rxspencer-mem.
14046 ($(objpfx)tst-rxspencer-mem): Change target to
14047 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
14048 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
14049 * posix/tst-rxspencer-no-utf8.c: New file.
14050
6e89caf1
JM
14051 * elf/Makefile ($(objpfx)order.out): Remove rule.
14052 [$(run-built-tests) = yes] (tests): Depend on
14053 $(objpfx)order-cmp.out.
14054 ($(objpfx)order-cmp.out): New rule.
14055 [$(run-built-tests) = yes] (tests): Depend on
14056 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
14057 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
14058 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
14059 $(objpfx)tst-array5-static-cmp.out.
14060 ($(objpfx)tst-array1.out): Remove rule.
14061 ($(objpfx)tst-array1-cmp.out): New rule.
14062 ($(objpfx)tst-array1-static.out): Remove rule.
14063 ($(objpfx)tst-array1-static-cmp.out): New rule.
14064 ($(objpfx)tst-array2.out): Remove rule.
14065 ($(objpfx)tst-array2-cmp.out): New rule.
14066 ($(objpfx)tst-array3.out): Remove rule.
14067 ($(objpfx)tst-array3-cmp.out): New rule.
14068 ($(objpfx)tst-array4.out): Remove rule.
14069 ($(objpfx)tst-array4-cmp.out): New rule.
14070 ($(objpfx)tst-array5.out): Remove rule.
14071 ($(objpfx)tst-array5-cmp.out): New rule.
14072 ($(objpfx)tst-array5-static.out): Remove rule.
14073 ($(objpfx)tst-array5-static-cmp.out): New rule.
14074 [$(run-built-tests) = yes] (tests): Depend on
14075 $(objpfx)order2-cmp.out.
14076 ($(objpfx)order2.out): Remove rule.
14077 ($(objpfx)order2-cmp.out): New rule.
14078 ($(objpfx)tst-initorder.out): Remove rule.
14079 [$(run-built-tests) = yes] (tests): Depend on
14080 $(objpfx)tst-initorder-cmp.out.
14081 ($(objpfx)tst-initorder-cmp.out): New rule.
14082 ($(objpfx)tst-initorder2.out): Remove rule.
14083 [$(run-built-tests) = yes] (tests): Depend on
14084 $(objpfx)tst-initorder2-cmp.out.
14085 ($(objpfx)tst-initorder2-cmp.out): New rule.
14086 [$(run-built-tests) = yes] (tests): Depend on
14087 $(objpfx)tst-unused-dep-cmp.out.
14088 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
14089 ($(objpfx)tst-unused-dep-cmp.out): New rule.
14090 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
14091 on $(objpfx)tst-setvbuf1-cmp.out.
14092 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
14093 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
14094 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
14095 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
14096 ($(objpfx)tst-svc.out): Remove rule.
14097 ($(objpfx)tst-svc-cmp.out): New rule.
14098
ed9a38e2
JM
140992014-02-13 Joseph Myers <joseph@codesourcery.com>
14100
14101 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
14102 * ctype/ctype.h [__USE_MISC]: Likewise.
14103 * dirent/dirent.h [__USE_MISC]: Likewise.
14104 * grp/grp.h [__USE_MISC]: Likewise.
14105 * io/fcntl.h [__USE_MISC]: Likewise.
14106 * io/sys/stat.h [__USE_MISC]: Likewise.
14107 * libio/stdio.h [__USE_MISC]: Likewise.
14108 * posix/unistd.h [__USE_MISC]: Likewise.
14109 * pwd/pwd.h [__USE_MISC]: Likewise.
14110 * stdlib.h [__USE_MISC]: Likewise.
14111 * string/bits/string2.h [__USE_MISC]: Likewise.
14112 * string/string.h [__USE_MISC]: Likewise.
14113 * time/time.h [__USE_MISC]: Likewise.
14114
d6680619
AS
141152014-02-13 Andreas Schwab <schwab@suse.de>
14116
14117 [BZ #16574]
14118 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
14119 second answer buffer if it was separately allocated.
14120
ace614b8
JM
141212014-02-12 Joseph Myers <joseph@codesourcery.com>
14122
743151ae
JM
14123 * sysdeps/mips/math-tests.h: Include <features.h>.
14124 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
14125 (ROUNDING_TESTS_long_double): Do not define.
14126 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
14127 (EXCEPTION_TESTS_long_double): Likewise.
14128 * sysdeps/mips/mips64/libm-test-ulps: Update.
14129
498afc54
JM
14130 * include/features.h (__USE_BSD): Remove macro definitions.
14131 (__USE_SVID): Likewise.
14132 (_BSD_SOURCE): Likewise.
14133 (_SVID_SOURCE): Likewise.
14134 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
14135 from definition of _DEFAULT_SOURCE.
14136 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
14137 [_DEFAULT_SOURCE].
14138 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
14139 * bits/mman.h [__USE_BSD]: Likewise.
14140 * bits/termios.h [__USE_BSD]: Likewise.
14141 * bits/waitstatus.h [__USE_BSD]: Likewise.
14142 * ctype/ctype.h [__USE_SVID]: Likewise.
14143 * dirent/dirent.h [__USE_BSD]: Likewise.
14144 * grp/grp.h [__USE_SVID]: Likewise.
14145 [__USE_BSD]: Likewise.
14146 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
14147 * io/fcntl.h [__USE_BSD]: Likewise.
14148 * io/ftw.h [__USE_BSD]: Likewise.
14149 * io/sys/stat.h [__USE_BSD]: Likewise.
14150 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
14151 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
14152 * libio/stdio.h [__USE_SVID]: Likewise.
14153 [__USE_BSD]: Likewise.
14154 * math/math.h [__USE_SVID]: Likewise.
14155 [__USE_BSD]: Likewise.
14156 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
14157 * misc/bits/syslog.h [__USE_BSD]: Likewise.
14158 * misc/search.h [__USE_SVID]: Likewise.
14159 * misc/sys/mman.h [__USE_BSD]: Likewise.
14160 * misc/sys/syslog.h [__USE_BSD]: Likewise.
14161 * misc/sys/uio.h [__USE_BSD]: Likewise.
14162 * posix/bits/unistd.h [__USE_BSD]: Likewise.
14163 * posix/glob.h [__USE_BSD]: Likewise.
14164 * posix/regex.h [__USE_BSD]: Likewise.
14165 * posix/sys/types.h [__USE_BSD]: Likewise.
14166 [__USE_SVID]: Likewise.
14167 * posix/sys/utsname.h [__USE_SVID]: Likewise.
14168 * posix/sys/wait.h [__USE_BSD]: Likewise.
14169 [__USE_SVID]: Likewise.
14170 * posix/unistd.h [__USE_BSD]: Likewise.
14171 [__USE_SVID]: Likewise.
14172 * pwd/pwd.h [__USE_SVID]: Likewise.
14173 * resolv/netdb.h [__USE_BSD]: Likewise.
14174 * setjmp/setjmp.h [__USE_BSD]: Likewise.
14175 * signal/signal.h [__USE_BSD]: Likewise.
14176 [__USE_SVID]: Likewise.
14177 * socket/sys/socket.h [__USE_BSD]: Likewise.
14178 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
14179 * stdlib/stdlib.h [__USE_BSD]: Likewise.
14180 [__USE_SVID]: Likewise.
14181 * string/bits/string2.h [__USE_BSD]: Likewise.
14182 [__USE_SVID]: Likewise.
14183 * string/bits/string3.h [__USE_BSD]: Likewise.
14184 * string/endian.h [__USE_BSD]: Likewise.
14185 * string/string.h [__USE_SVID]: Likewise.
14186 [__USE_BSD]: Likewise.
14187 * string/strings.h [__USE_BSD]: Likewise.
14188 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
14189 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
14190 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
14191 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
14192 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
14193 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
14194 Likewise.
14195 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
14196 Likewise.
14197 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
14198 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
14199 Likewise.
14200 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
14201 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
14202 Likewise.
14203 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
14204 Likewise.
14205 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
14206 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
14207 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
14208 Likewise.
14209 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
14210 Likewise.
14211 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
14212 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
14213 * termios/termios.h [__USE_BSD]: Likewise.
14214 * time/sys/time.h [__USE_BSD]: Likewise.
14215 * time/time.h [__USE_BSD]: Likewise.
14216 [__USE_SVID]: Likewise.
14217
dd7b064c
JM
14218 * Makefile (subdir_targets): Remove subdir_lint.out.
14219
a2c4c199
JM
14220 * stdio-common/Makefile (do-tst-unbputc): Remove target.
14221 (do-tst-printf): Likewise.
14222 (tests): Depend directly on $(objpfx)tst-unbputc.out and
14223 $(objpfx)tst-printf.out.
14224
8756f740
JM
14225 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
14226
1b6dd3f1
JM
14227 * Makerules (check-abi-%): Change target to
14228 $(objpfx)check-abi-%.out.
14229 (check-abi target): Update dependencies.
14230 (check-abi-pattern variable): Redirect output of diff to $@.
14231 (check-abi variable): Likewise.
14232 * elf/Makefile (check-abi): Update dependencies.
14233
ace614b8
JM
14234 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
14235 unused.
14236 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
14237 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
14238 subnormal range.
14239 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
14240 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
14241 value has largest subnormal exponent.
14242 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
14243 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
14244 * sysdeps/aarch64/soft-fp/sfp-machine.h
14245 (_FP_TININESS_AFTER_ROUNDING): New macro.
14246 * sysdeps/alpha/soft-fp/sfp-machine.h
14247 (_FP_TININESS_AFTER_ROUNDING): Likewise.
14248 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
14249 Likewise.
14250 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
14251 (_FP_TININESS_AFTER_ROUNDING): Likewise.
14252 * sysdeps/mips/soft-fp/sfp-machine.h
14253 (_FP_TININESS_AFTER_ROUNDING): Likewise.
14254 * sysdeps/powerpc/soft-fp/sfp-machine.h
14255 (_FP_TININESS_AFTER_ROUNDING): Likewise.
14256 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
14257 Likewise.
14258 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
14259 (_FP_TININESS_AFTER_ROUNDING): Likewise.
14260 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
14261 (_FP_TININESS_AFTER_ROUNDING): Likewise.
14262 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
14263 Likewise.
14264
fbfdf9cb
DAS
142652014-02-12 Dylan Alex Simon <dylan@dylex.net>
14266
14267 [BZ #16545]
14268 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
14269 model 1.
14270
68b7efaa
RH
142712014-02-12 Richard Henderson <rth@redhat.com>
14272
c70a4b1d 14273 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
68b7efaa
RH
14274 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
14275 * sysdeps/unix/sysv/linux/alpha: Move directory from
14276 ports/sysdeps/unix/sysv/linux/alpha.
14277 * README: Update listing for alpha-*-linux-gnu.
14278
cb4a2928
JM
142792014-02-11 Joseph Myers <joseph@codesourcery.com>
14280
c941736c
JM
14281 * include/features.h: Update comment documenting feature test
14282 macros.
14283 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
14284 _DEFAULT_SOURCE.
14285 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
14286 (_SVID_SOURCE): Likewise.
14287 (_DEFAULT_SOURCE): Update description of default features.
14288 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
14289 with _GNU_SOURCE.
14290 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
14291 (S_ISVTX): Likewise.
14292 * manual/math.texi (Mathematical Constants): Likewise.
14293 * manual/signal.texi (Interrupted Primitives): Likewise.
14294 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
14295 * math/test-matherr.c (_SVID_SOURCE): Do not define.
14296 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
14297 Don't refer to _SVID_SOURCE in warning text.
14298
e8d8d7ec
JM
14299 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14300
cb4a2928
JM
14301 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
14302 already defined.
14303 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
14304 * sysdeps/mips/dl-lookup.c: Remove.
14305 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
14306
7e6424e3
AK
143072014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
14308
14309 [BZ #16447]
14310 * math/auto-libm-test-in: Add testcase for expl.
14311 * math/auto-libm-test-out: Regenerate.
14312 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
14313 calculation of unsafe.
14314 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
14315
75eff3fe
MS
143162014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
14317
14318 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
14319 * sysdeps/unix/sysv/linux/aarch64: Move directory from
14320 ports/sysdeps/unix/sysv/linux/aarch64.
14321 * README: Update listing for aarch64*-*-linux-gnu.
14322
d35f1e80
WN
143232014-02-11 Will Newton <will.newton@linaro.org>
14324
14325 * manual/probes.texi (Mathematical Function Probes): Use
14326 "triggered" instead of "hit".
14327
7b3436d4
WN
14328 * manual/probes.texi (Internal Probes): Add documentation
14329 of setjmp, longjmp and longjmp_target probes.
14330
b4f12ca3
WN
14331 * include/stap-probe.h: Add comment about probe argument
14332 format.
14333
c13a72b7
WN
14334 * malloc/mtrace.c (attribute_hidden): Remove unused macro
14335 definition. (tr_where, tr_freehook, tr_mallochook,
14336 tr_reallochook, tr_memalignhook): Use ANSI protoype.
14337
195b8165
DM
143382014-02-11 David S. Miller <davem@davemloft.net>
14339
14340 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
14341 processing int_tests.
14342
2ad7600b
JM
143432014-02-10 Joseph Myers <joseph@codesourcery.com>
14344
14345 * sysdeps/mips: Move directory from ports/sysdeps/mips.
14346 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
14347 * sysdeps/unix/sysv/linux/mips: Move directory from
14348 ports/sysdeps/unix/sysv/linux/mips.
14349 * README: Update listing for mips-*-linux-gnu and
14350 mips64-*-linux-gnu.
14351
73588a72
AS
143522014-02-10 Andreas Schwab <schwab@linux-m68k.org>
14353
14354 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
14355 * sysdeps/unix/sysv/linux/m68k: Move directory from
14356 ports/sysdeps/unix/sysv/linux/m68k.
14357 * README: Update listing for m68k-*-linux-gnu.
14358
4372980f
CM
143592014-02-10 Chris Metcalf <cmetcalf@tilera.com>
14360
14361 * sysdeps/tile: Move directory from ports/sysdeps/tile.
14362 * sysdeps/unix/sysv/linux/generic: Move directory from
14363 ports/sysdeps/unix/sysv/linux/generic.
14364 * sysdeps/unix/sysv/linux/tile: Move directory from
14365 ports/sysdeps/unix/sysv/linux/tile.
14366 * README: Update listing for tile*-*-linux-gnu.
14367
a1ffb40e
OB
143682014-02-10 Ondřej Bílka <neleai@seznam.cz>
14369
57f41c40
AS
14370 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
14371 __builtin_expect.
a1ffb40e
OB
14372 * benchtests/bench-memmem.c (simple_memmem): Likewise.
14373 * catgets/open_catalog.c (__open_catalog): Likewise.
14374 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
14375 * debug/confstr_chk.c: Likewise.
14376 * debug/fread_chk.c (__fread_chk): Likewise.
14377 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
14378 * debug/getgroups_chk.c: Likewise.
14379 * debug/mbsnrtowcs_chk.c: Likewise.
14380 * debug/mbsrtowcs_chk.c: Likewise.
14381 * debug/mbstowcs_chk.c: Likewise.
14382 * debug/memcpy_chk.c: Likewise.
14383 * debug/memmove_chk.c: Likewise.
14384 * debug/mempcpy_chk.c: Likewise.
14385 * debug/memset_chk.c: Likewise.
14386 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
14387 * debug/strcat_chk.c (__strcat_chk): Likewise.
14388 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
14389 * debug/strncat_chk.c (__strncat_chk): Likewise.
14390 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
14391 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
14392 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
14393 * debug/wcpncpy_chk.c: Likewise.
14394 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
14395 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
14396 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
14397 * debug/wcsncpy_chk.c: Likewise.
14398 * debug/wcsnrtombs_chk.c: Likewise.
14399 * debug/wcsrtombs_chk.c: Likewise.
14400 * debug/wcstombs_chk.c: Likewise.
14401 * debug/wmemcpy_chk.c: Likewise.
14402 * debug/wmemmove_chk.c: Likewise.
14403 * debug/wmempcpy_chk.c: Likewise.
14404 * debug/wmemset_chk.c: Likewise.
14405 * dirent/scandirat.c (SCANDIRAT): Likewise.
14406 * dlfcn/dladdr1.c (dladdr1): Likewise.
14407 * dlfcn/dladdr.c (dladdr): Likewise.
14408 * dlfcn/dlclose.c (dlclose_doit): Likewise.
14409 * dlfcn/dlerror.c (__dlerror): Likewise.
14410 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
14411 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
14412 * dlfcn/dlopen.c (dlopen_doit): Likewise.
14413 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
14414 * dlfcn/dlsym.c (dlsym_doit): Likewise.
14415 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
14416 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
14417 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
14418 Likewise.
14419 * elf/dl-conflict.c: Likewise.
14420 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
14421 * elf/dl-dst.h: Likewise.
14422 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
14423 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
14424 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
14425 * elf/dl-init.c (call_init, _dl_init): Likewise.
14426 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
57f41c40
AS
14427 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
14428 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
14429 Likewise.
a1ffb40e
OB
14430 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
14431 Likewise.
14432 * elf/dl-minimal.c (__libc_memalign): Likewise.
14433 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
14434 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
14435 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
14436 * elf/dl-sym.c (do_sym): Likewise.
57f41c40
AS
14437 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
14438 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
a1ffb40e
OB
14439 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
14440 * elf/dl-writev.h (_dl_writev): Likewise.
14441 * elf/ldconfig.c (search_dir): Likewise.
57f41c40
AS
14442 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
14443 (dl_main): Likewise.
a1ffb40e
OB
14444 * elf/setup-vdso.h (setup_vdso): Likewise.
14445 * grp/compat-initgroups.c (compat_call): Likewise.
14446 * grp/fgetgrent.c (fgetgrent): Likewise.
14447 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
14448 * grp/putgrent.c (putgrent): Likewise.
14449 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
14450 Likewise.
14451 * hurd/hurdinit.c: Likewise.
14452 * iconvdata/8bit-gap.c (struct): Likewise.
14453 * iconvdata/ansi_x3.110.c : Likewise.
14454 * iconvdata/big5.c : Likewise.
14455 * iconvdata/big5hkscs.c : Likewise.
14456 * iconvdata/cp1255.c: Likewise.
14457 * iconvdata/cp1258.c : Likewise.
14458 * iconvdata/cp932.c : Likewise.
14459 * iconvdata/euc-cn.c: Likewise.
14460 * iconvdata/euc-jisx0213.c : Likewise.
14461 * iconvdata/euc-jp.c: Likewise.
14462 * iconvdata/euc-jp-ms.c : Likewise.
14463 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
14464 * iconvdata/gb18030.c : Likewise.
14465 * iconvdata/gbbig5.c (const): Likewise.
14466 * iconvdata/gbgbk.c: Likewise.
14467 * iconvdata/gbk.c : Likewise.
14468 * iconvdata/ibm1364.c : Likewise.
14469 * iconvdata/ibm930.c : Likewise.
14470 * iconvdata/ibm932.c: Likewise.
14471 * iconvdata/ibm933.c : Likewise.
14472 * iconvdata/ibm935.c : Likewise.
14473 * iconvdata/ibm937.c : Likewise.
14474 * iconvdata/ibm939.c : Likewise.
14475 * iconvdata/ibm943.c: Likewise.
14476 * iconvdata/iso_11548-1.c: Likewise.
14477 * iconvdata/iso-2022-cn.c : Likewise.
14478 * iconvdata/iso-2022-cn-ext.c : Likewise.
14479 * iconvdata/iso-2022-jp-3.c: Likewise.
14480 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
14481 * iconvdata/iso-2022-kr.c : Likewise.
14482 * iconvdata/iso646.c (gconv_end): Likewise.
14483 * iconvdata/iso_6937-2.c : Likewise.
14484 * iconvdata/iso_6937.c : Likewise.
14485 * iconvdata/iso8859-1.c: Likewise.
14486 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
14487 * iconvdata/shift_jisx0213.c : Likewise.
14488 * iconvdata/sjis.c : Likewise.
14489 * iconvdata/t.61.c : Likewise.
14490 * iconvdata/tcvn5712-1.c : Likewise.
14491 * iconvdata/tscii.c: Likewise.
14492 * iconvdata/uhc.c : Likewise.
14493 * iconvdata/unicode.c (gconv_end): Likewise.
14494 * iconvdata/utf-16.c (gconv_end): Likewise.
14495 * iconvdata/utf-32.c (gconv_end): Likewise.
14496 * iconvdata/utf-7.c (base64): Likewise.
14497 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
14498 * iconv/gconv_close.c (__gconv_close): Likewise.
14499 * iconv/gconv_open.c (__gconv_open): Likewise.
57f41c40
AS
14500 * iconv/gconv_simple.c (internal_ucs4_loop_single)
14501 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
14502 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
14503 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
14504 (ucs4le_internal_loop_single): Likewise.
a1ffb40e
OB
14505 * iconv/iconv.c (iconv): Likewise.
14506 * iconv/iconv_close.c: Likewise.
14507 * iconv/loop.c (SINGLE): Likewise.
14508 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
14509 * include/atomic.h: Likewise.
14510 * inet/inet6_option.c (option_alloc): Likewise.
14511 * intl/bindtextdom.c (set_binding_values): Likewise.
14512 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
14513 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
14514 * intl/localealias.c (read_alias_file): Likewise.
14515 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
57f41c40
AS
14516 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
14517 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
a1ffb40e
OB
14518 * libio/fmemopen.c (fmemopen): Likewise.
14519 * libio/iofgets.c (_IO_fgets): Likewise.
14520 * libio/iofgets_u.c (fgets_unlocked): Likewise.
14521 * libio/iofgetws.c (fgetws): Likewise.
14522 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
14523 * libio/iogetdelim.c (_IO_getdelim): Likewise.
57f41c40
AS
14524 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
14525 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
a1ffb40e
OB
14526 * locale/findlocale.c (_nl_find_locale): Likewise.
14527 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
14528 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
14529 Likewise.
14530 * locale/setlocale.c (setlocale): Likewise.
14531 * login/programs/pt_chown.c (main): Likewise.
14532 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
14533 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
57f41c40
AS
14534 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
14535 (mmap, mmap64, mremap, munmap): Likewise.
a1ffb40e
OB
14536 * math/e_exp2l.c: Likewise.
14537 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
14538 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
14539 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
14540 * math/s_catan.c (__catan): Likewise.
14541 * math/s_catanf.c (__catanf): Likewise.
14542 * math/s_catanh.c (__catanh): Likewise.
14543 * math/s_catanhf.c (__catanhf): Likewise.
14544 * math/s_catanhl.c (__catanhl): Likewise.
14545 * math/s_catanl.c (__catanl): Likewise.
14546 * math/s_ccosh.c (__ccosh): Likewise.
14547 * math/s_ccoshf.c (__ccoshf): Likewise.
14548 * math/s_ccoshl.c (__ccoshl): Likewise.
14549 * math/s_cexp.c (__cexp): Likewise.
14550 * math/s_cexpf.c (__cexpf): Likewise.
14551 * math/s_cexpl.c (__cexpl): Likewise.
14552 * math/s_clog10.c (__clog10): Likewise.
14553 * math/s_clog10f.c (__clog10f): Likewise.
14554 * math/s_clog10l.c (__clog10l): Likewise.
14555 * math/s_clog.c (__clog): Likewise.
14556 * math/s_clogf.c (__clogf): Likewise.
14557 * math/s_clogl.c (__clogl): Likewise.
14558 * math/s_csin.c (__csin): Likewise.
14559 * math/s_csinf.c (__csinf): Likewise.
14560 * math/s_csinh.c (__csinh): Likewise.
14561 * math/s_csinhf.c (__csinhf): Likewise.
14562 * math/s_csinhl.c (__csinhl): Likewise.
14563 * math/s_csinl.c (__csinl): Likewise.
14564 * math/s_csqrt.c (__csqrt): Likewise.
14565 * math/s_csqrtf.c (__csqrtf): Likewise.
14566 * math/s_csqrtl.c (__csqrtl): Likewise.
14567 * math/s_ctan.c (__ctan): Likewise.
14568 * math/s_ctanf.c (__ctanf): Likewise.
14569 * math/s_ctanh.c (__ctanh): Likewise.
14570 * math/s_ctanhf.c (__ctanhf): Likewise.
14571 * math/s_ctanhl.c (__ctanhl): Likewise.
14572 * math/s_ctanl.c (__ctanl): Likewise.
14573 * math/w_pow.c: Likewise.
14574 * math/w_powf.c: Likewise.
14575 * math/w_powl.c: Likewise.
14576 * math/w_scalb.c (sysv_scalb): Likewise.
14577 * math/w_scalbf.c (sysv_scalbf): Likewise.
14578 * math/w_scalbl.c (sysv_scalbl): Likewise.
14579 * misc/error.c (error_tail): Likewise.
14580 * misc/pselect.c (__pselect): Likewise.
14581 * nis/nis_callback.c (__nis_create_callback): Likewise.
14582 * nis/nis_call.c (__nisfind_server): Likewise.
14583 * nis/nis_creategroup.c (nis_creategroup): Likewise.
14584 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
14585 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
14586 * nis/nis_getservlist.c (nis_getservlist): Likewise.
14587 * nis/nis_lookup.c (nis_lookup): Likewise.
14588 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
57f41c40
AS
14589 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
14590 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
a1ffb40e 14591 * nis/nis_xdr.c (xdr_endpoint): Likewise.
57f41c40
AS
14592 * nis/nss_compat/compat-grp.c (getgrent_next_file)
14593 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
14594 * nis/nss_compat/compat-initgroups.c (add_group)
14595 (internal_getgrent_r): Likewise.
14596 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
14597 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
14598 * nis/nss_compat/compat-spwd.c (getspent_next_file)
14599 (internal_getspnam_r): Likewise.
14600 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
14601 (_nss_nis_getaliasbyname_r): Likewise.
14602 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
14603 (_nss_nis_getntohost_r): Likewise.
14604 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
14605 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
14606 (_nss_nis_getgrgid_r): Likewise.
14607 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
14608 (internal_nis_gethostent_r, internal_gethostbyname2_r)
14609 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
14610 (_nss_nis_gethostbyname4_r): Likewise.
14611 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
14612 (initgroups_netid): Likewise.
a1ffb40e 14613 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
57f41c40
AS
14614 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
14615 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
14616 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
14617 (_nss_nis_getprotobynumber_r): Likewise.
14618 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
14619 (_nss_nis_getsecretkey): Likewise.
14620 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
14621 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
14622 (_nss_nis_getpwuid_r): Likewise.
14623 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
14624 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
14625 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
14626 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
14627 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
14628 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
a1ffb40e
OB
14629 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
14630 Likewise.
57f41c40
AS
14631 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
14632 (_nss_nisplus_getntohost_r): Likewise.
14633 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
14634 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
14635 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
14636 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
a1ffb40e 14637 Likewise.
57f41c40
AS
14638 * nis/nss_nisplus/nisplus-initgroups.c
14639 (_nss_nisplus_initgroups_dyn): Likewise.
14640 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
14641 (_nss_nisplus_getnetbyaddr_r): Likewise.
14642 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
14643 (_nss_nisplus_getprotobynumber_r): Likewise.
14644 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
14645 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
a1ffb40e
OB
14646 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
14647 Likewise.
57f41c40
AS
14648 * nis/nss_nisplus/nisplus-service.c
14649 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
14650 (_nss_nisplus_getservbyport_r): Likewise.
14651 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
14652 (_nss_nisplus_getspnam_r): Likewise.
14653 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
14654 Likewise.
a1ffb40e
OB
14655 * nscd/aicache.c (addhstaiX): Likewise.
14656 * nscd/cache.c (cache_search, prune_cache): Likewise.
57f41c40
AS
14657 * nscd/connections.c (register_traced_file, send_ro_fd)
14658 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
14659 (main_loop_epoll): Likewise.
a1ffb40e
OB
14660 * nscd/grpcache.c (addgrbyX): Likewise.
14661 * nscd/hstcache.c (addhstbyX): Likewise.
14662 * nscd/initgrcache.c (addinitgroupsX): Likewise.
14663 * nscd/mem.c (gc, mempool_alloc): Likewise.
57f41c40
AS
14664 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
14665 (addinnetgrX): Likewise.
14666 * nscd/nscd-client.h (__nscd_acquire_maplock)
14667 (__nscd_drop_map_ref): Likewise.
a1ffb40e
OB
14668 * nscd/nscd_getai.c (__nscd_getai): Likewise.
14669 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
14670 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
14671 Likewise.
14672 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
14673 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
57f41c40
AS
14674 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
14675 (__nscd_get_map_ref): Likewise.
a1ffb40e 14676 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
57f41c40
AS
14677 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
14678 Likewise.
a1ffb40e
OB
14679 * nscd/pwdcache.c (addpwbyX): Likewise.
14680 * nscd/selinux.c (preserve_capabilities): Likewise.
14681 * nscd/servicescache.c (addservbyX): Likewise.
14682 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
14683 * posix/fnmatch.c (fnmatch): Likewise.
14684 * posix/getopt.c (_getopt_internal_r): Likewise.
14685 * posix/glob.c (glob, glob_in_dir): Likewise.
14686 * posix/wordexp.c (exec_comm_child): Likewise.
57f41c40
AS
14687 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
14688 (getanswer_r, gaih_getanswer_slice): Likewise.
a1ffb40e
OB
14689 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
14690 * resolv/res_init.c: Likewise.
14691 * resolv/res_mkquery.c (res_nmkquery): Likewise.
14692 * resolv/res_query.c (__libc_res_nquery): Likewise.
14693 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
14694 Likewise.
14695 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
14696 * stdio-common/perror.c (perror): Likewise.
14697 * stdio-common/printf_fp.c (___printf_fp): Likewise.
14698 * stdio-common/tmpnam.c (tmpnam): Likewise.
14699 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
14700 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
57f41c40
AS
14701 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
14702 Likewise.
a1ffb40e
OB
14703 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
14704 * stdlib/putenv.c (putenv): Likewise.
14705 * stdlib/setenv.c (__add_to_environ): Likewise.
14706 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
14707 * stdlib/strtol_l.c (INTERNAL): Likewise.
14708 * string/memmem.c (memmem): Likewise.
14709 * string/strerror.c (strerror): Likewise.
14710 * string/strnlen.c (__strnlen): Likewise.
14711 * string/test-memmem.c (simple_memmem): Likewise.
14712 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
14713 * sunrpc/pm_getport.c (__get_socket): Likewise.
14714 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
14715 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
57f41c40
AS
14716 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
14717 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
a1ffb40e
OB
14718 Likewise.
14719 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
14720 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
14721 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
14722 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
14723 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
57f41c40
AS
14724 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
14725 Likewise.
14726 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
14727 Likewise.
a1ffb40e
OB
14728 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
14729 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
14730 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
14731 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
14732 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
14733 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
14734 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
14735 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
14736 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
14737 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
14738 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
14739 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
14740 Likewise.
14741 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
14742 Likewise.
14743 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
14744 Likewise.
14745 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
14746 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
14747 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
14748 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
14749 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
14750 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
14751 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
14752 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
14753 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
14754 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
14755 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
14756 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
14757 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
14758 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
14759 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
57f41c40
AS
14760 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
14761 Likewise.
a1ffb40e
OB
14762 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
14763 Likewise.
14764 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
14765 Likewise.
14766 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
14767 Likewise.
14768 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
14769 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
14770 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
14771 Likewise.
14772 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
14773 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
14774 * sysdeps/posix/opendir.c (__opendirat): Likewise.
14775 * sysdeps/posix/sleep.c: Likewise.
14776 * sysdeps/posix/tempname.c: Likewise.
14777 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
14778 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
14779 Likewise.
57f41c40
AS
14780 * sysdeps/powerpc/powerpc32/dl-machine.h
14781 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
a1ffb40e
OB
14782 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
14783 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
14784 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
14785 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
14786 Likewise.
14787 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
14788 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
14789 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
14790 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
14791 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
14792 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
14793 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
14794 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
14795 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
14796 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
14797 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
14798 (elf_machine_lazy_rel): Likewise.
a1ffb40e 14799 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
14800 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
14801 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
14802 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
14803 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
14804 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
14805 * sysdeps/unix/grantpt.c (grantpt): Likewise.
14806 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
14807 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
14808 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
14809 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
14810 Likewise.
14811 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
14812 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
14813 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
14814 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
14815 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
14816 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
14817 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
14818 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
14819 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
14820 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
14821 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
14822 Likewise.
14823 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
14824 (__posix_fallocate64_l64): Likewise.
14825 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
14826 (posix_fallocate): Likewise.
57f41c40
AS
14827 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
14828 Likewise.
a1ffb40e 14829 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
57f41c40
AS
14830 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
14831 (getifaddrs_internal): Likewise.
a1ffb40e
OB
14832 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
14833 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
14834 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
14835 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
14836 * sysdeps/unix/sysv/linux/posix_fallocate64.c
14837 (__posix_fallocate64_l64): Likewise.
14838 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
14839 Likewise.
14840 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
57f41c40
AS
14841 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
14842 (__get_clockfreq): Likewise.
a1ffb40e
OB
14843 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
14844 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
14845 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
14846 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
14847 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
14848 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
14849 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
14850 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
14851 Likewise.
14852 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
14853 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
14854 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
14855 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
14856 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
14857 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
14858 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
14859 Likewise.
14860 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
14861 (posix_fallocate): Likewise.
14862 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
14863 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
14864 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
14865 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
14866 (elf_machine_rela, elf_machine_rela_relative)
14867 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
14868 * time/asctime.c (asctime_internal): Likewise.
14869 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
14870 * time/tzset.c (__tzset_parse_tz): Likewise.
14871 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
14872 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
14873 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
14874 * wcsmbs/wcsmbsload.h: Likewise.
14875
f3d338c9
OB
14876 [BZ #15894]
14877 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
14878
57f41c40
AS
14879 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
14880 (arena_get2): Remove THREAD_STATS conditionals.
14881 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
14882 (__malloc_stats, int): Likewise.
bdfe308a 14883
d674667c
MF
148842014-02-08 Mike Frysinger <vapier@gentoo.org>
14885
14886 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
14887 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
14888
6349768c
MF
14889 * manual/setjmp.texi: Fix typos/grammar errors.
14890
0b7c7473
MF
14891 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
14892 Only return early when n is <= 0. Delete unused return statement.
14893
ac8cc9e3
MF
14894 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
14895 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
14896 * debug/tst-longjmp_chk3.c: New file.
14897
c5bb8e23
MF
14898 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
14899 (test_main): Replace code with set_fortify_handler call.
14900 * debug/test-strcpy_chk.c: Likewise.
14901 * debug/tst-chk1.c: Likewise.
14902 * debug/tst-longjmp_chk.c: Likewise.
14903 * test-skeleton.c: Include fcntl.h & paths.h
14904 (set_fortify_handler): Define.
14905
10444e42
MF
14906 * debug/tst-longjmp_chk.c: Add header comment and include
14907 ../test-skeleton.c.
14908 (do_test): Mark static.
14909 (TEST_FUNCTION): Define.
14910
1e805e8d
MF
14911 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
14912 (IP_PMTUDISC_INTERFACE): Likewise.
14913 (IP_MULTICAST_IF): Likewise.
14914 (IP_MULTICAST_TTL): Likewise.
14915 (IP_MULTICAST_LOOP): Likewise.
14916 (IP_ADD_MEMBERSHIP): Likewise.
14917 (IP_DROP_MEMBERSHIP): Likewise.
14918 (IP_UNBLOCK_SOURCE): Likewise.
14919 (IP_BLOCK_SOURCE): Likewise.
14920 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
14921 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
14922 (IP_MSFILTER): Likewise.
14923 (MCAST_JOIN_GROUP): Likewise.
14924 (MCAST_BLOCK_SOURCE): Likewise.
14925 (MCAST_UNBLOCK_SOURCE): Likewise.
14926 (MCAST_LEAVE_GROUP): Likewise.
14927 (MCAST_JOIN_SOURCE_GROUP): Likewise.
14928 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
14929 (MCAST_MSFILTER): Likewise.
14930 (IP_MULTICAST_ALL): Likewise.
14931 (IP_UNICAST_IF): Likewise.
14932
73f79bb7
MF
14933 * timezone/Makefile: Delete $(have-ksh) check.
14934 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
14935 * timezone/tzselect.ksh: Add +x mode bits.
14936
8da79b60
MF
14937 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
14938 (ANON_INODE_FS_MAGIC): Likewise.
14939 (BDEVFS_MAGIC): Likewise.
14940 (BINFMTFS_MAGIC): Likewise.
14941 (BTRFS_TEST_MAGIC): Likewise.
14942 (CRAMFS_MAGIC_WEND): Likewise.
14943 (DEBUGFS_MAGIC): Likewise.
14944 (ECRYPTFS_SUPER_MAGIC): Likewise.
14945 (EXT3_SUPER_MAGIC): Likewise.
14946 (EXT4_SUPER_MAGIC): Likewise.
14947 (FUTEXFS_SUPER_MAGIC): Likewise.
14948 (HOSTFS_SUPER_MAGIC): Likewise.
14949 (HUGETLBFS_MAGIC): Likewise.
14950 (MINIX3_SUPER_MAGIC): Likewise.
14951 (MTD_INODE_FS_MAGIC): Likewise.
14952 (NILFS_SUPER_MAGIC): Likewise.
14953 (OPENPROM_SUPER_MAGIC): Likewise.
14954 (PIPEFS_MAGIC): Likewise.
14955 (PSTOREFS_MAGIC): Likewise.
14956 (QNX6_SUPER_MAGIC): Likewise.
14957 (RAMFS_MAGIC): Likewise.
14958 (REISERFS_SUPER_MAGIC_STRING): Likewise.
14959 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
14960 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
14961 (SECURITYFS_MAGIC): Likewise.
14962 (SELINUX_MAGIC): Likewise.
14963 (SMACK_MAGIC): Likewise.
14964 (SOCKFS_MAGIC): Likewise.
14965 (SQUASHFS_MAGIC): Likewise.
14966 (STACK_END_MAGIC): Likewise.
14967 (TMPFS_MAGIC): Likewise.
14968 (USBDEVICE_SUPER_MAGIC): Likewise.
14969 (V9FS_MAGIC): Likewise.
14970 (XENFS_SUPER_MAGIC): Likewise.
14971 (CRAMFS_MAGIC): Fix typo in comment.
14972 (EXT2_SUPER_MAGIC): Update comment.
14973 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
14974
464263cc
JM
149752014-02-08 Joseph Myers <joseph@codesourcery.com>
14976
c6bfe5c4
JM
14977 * sysdeps/arm: Move directory from ports/sysdeps/arm.
14978 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
14979 * sysdeps/unix/sysv/linux/arm: Move directory from
14980 ports/sysdeps/unix/sysv/linux/arm.
14981 * README: Update listing for arm-*-linux-gnueabi.
14982
464263cc
JM
14983 * README: Remove mention of am33.
14984
32749f6c
RM
149852014-02-07 Roland McGrath <roland@hack.frob.com>
14986
14987 * bits/sigset.h (__sigemptyset): Use a statement expression rather
14988 than the comma operator, to avoid "rhs of comma has no effect"
14989 compiler warnings.
14990 (__sigfillset, __sigandset, __sigorset): Likewise.
14991 * include/signal.h (__sigemptyset): Likewise.
14992 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
14993
d5b396c1
AM
149942014-02-07 Allan McRae <allan@archlinux.org>
14995
14996 * version.h (RELEASE): Set to "development".
14997 (VERSION): Set to "2.19.90"
14998 * NEWS: Add 2.20 section.
14999
3bfff2ed
CD
150002014-02-06 Carlos O'Donell <carlos@redhat.com>
15001
15002 [BZ #16529]
15003 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
15004
ee7cc385
SP
150052014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
15006
15007 * manual/contrib.texi: Update entry for Carlos O'Donell,
15008 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
15009
f877c4f2
CD
150102014-02-05 Carlos O'Donell <carlos@rehdat.com>
15011
27e839f6
CD
15012 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
15013
f877c4f2
CD
15014 * sysdeps/unix/sysv/linux/kernel-features.h
15015 [__LINUX_KERNEL_VERSION >= 0x020621]
15016 (__ASSUME_PROC_PID_TASK_COMM): Define.
15017
68159946
SP
150182014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
15019
ba17cdbd
SP
15020 [BZ #16398]
15021 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
15022 conversion when destination buffer does not have enough space.
15023 * libio/tst-ftell-partial-wide.c: New test case.
15024 * libio/Makefile (tests): Add tst-ftell-partial-wide.
15025
68159946
SP
15026 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
15027 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
15028 Leonard and Allan McRae.
15029
2b528732
DM
150302014-02-04 David S. Miller <davem@davemloft.net>
15031
15032 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
15033 32-bit.
15034
0ff82463
AZ
150352014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15036
57f41c40
AS
15037 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
15038 New file
c01603f7
AZ
15039 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
15040 New file
57f41c40
AS
15041 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
15042 New file.
15043 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
15044 New file.
c01603f7
AZ
15045 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
15046 New file.
57f41c40
AS
15047 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
15048 New file.
15049 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
15050 New file.
c01603f7
AZ
15051 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
15052 New file.
15053 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
15054 New file.
15055 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
15056 New file.
15057 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
15058 New file.
15059 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
15060 New file.
15061 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
15062 New file.
15063
150642014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15065
0ff82463
AZ
15066 * nptl/shlib-versions: Change powerpc*le start to 2.17.
15067 * shlib-versions: Likewise.
15068
1695c773
AZ
150692014-02-04 Roland McGrath <roland@hack.frob.com>
15070 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15071
15072 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
15073 (abilist-pattern): New variable, set to %-le.abilist.
15074
15075 * Makerules (abilist-pattern): New variable.
15076 (vpath): Use $(abilist-pattern) in place of %.abilist.
15077 (check-abi-% pattern rule): Likewise.
15078 (check-abi, update-abi): Likewise.
15079
6c0ce4b4
EW
150802014-02-04 Eric Wong <normalperson@yhbt.net>
15081
15082 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15083
481e3524
CD
150842014-02-03 Carlos O'Donell <carlos@redhat.com>
15085
15086 * manual/startup.texi: Add next, previous, and top entries for
15087 the `Program Arguments' and `Environment Variables' nodes.
15088
375592d3
AO
150892014-02-03 Alexandre Oliva <aoliva@redhat.com>
15090
15091 * manual/macros.texi: Add comments before MTASC-safety macros.
15092
f54838ba
AO
15093 * manual/users.texi: Document MTASC-safety properties.
15094
57f41c40
AS
15095 * manual/threads.texi (pthread_key_create, pthread_key_delete)
15096 (pthread_getspecific, pthread_setspecific): Format with
909e12ad
AO
15097 @deftypefun, and add @safety note.
15098 * manual/signal.texi: Move comments that analyze the above
15099 functions to their home place.
15100
fd3daba4
AM
151012014-02-03 Allan McRae <allan@archlinux.org>
15102
15103 * po/sl.po: Update Slovenian translation from translation project.
15104
597636d7
AO
151052014-02-02 Alexandre Oliva <aoliva@redhat.com>
15106
15107 * manual/time.texi (timegm): Add missing blank after @c.
15108 Reported by Joseph Myers <joseph@codesourcery.com>.
15109
ee196e3c
AO
151102014-02-01 Alexandre Oliva <aoliva@redhat.com>
15111
15112 * manual/check-safety.sh: New.
15113 * manual/Makefile ($(objpfx)stamp-summary): Run it.
15114
f8d529d5
AO
15115 * manual/terminal.texi: Document MTASC-safety properties.
15116
de55fdf4
AO
15117 * manual/filesys.texi: Document MTASC-safety properties.
15118
c3299c08
AO
15119 * manual/errno.texi: Document MTASC-safety properties.
15120
06e90b14
AO
15121 * manual/intro.texi: Document safety identifiers and
15122 conditionals.
15123
1acd4371
AO
15124 * manual/string.texi (wcstok): Fix prototype.
15125 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
15126
23e5b8cb
AO
15127 * manual/time.texi: Document MTASC-safety properties.
15128
11087373
AO
15129 * manual/string.texi: Document MTASC-safety properties.
15130
5da2c93d
AO
15131 * manual/threads.texi: Document MTASC-safety properties.
15132
171e9210
AO
15133 * manual/stdio.texi: Document MTASC-safety properties.
15134
d9e02532
AO
15135 * manual/syslog.texi: Document MTASC-safety properties.
15136
6af8bab7
AO
15137 * manual/sysinfo.texi: Document MTASC-safety properties.
15138
663b02d7
AO
15139 * manual/startup.texi: Document MTASC-safety properties.
15140
973f180b
AO
15141 * manual/socket.texi: Document MTASC-safety properties.
15142
8f3c25c8
AO
15143 * manual/signal.texi: Document MTASC-safety properties.
15144
542210fb
AO
151452014-01-31 Alexandre Oliva <aoliva@redhat.com>
15146
15147 * manual/setjmp.texi: Document MTASC-safety properties.
15148
433c45a2
AO
15149 * manual/search.texi: Document MTASC-safety properties.
15150
c8ce789c
AO
15151 * manual/resource.texi: Document MTASC-safety properties.
15152
19f5d29c
AO
15153 * manual/process.texi: Document MTASC-safety properties.
15154
e2dfb7f4
AO
15155 * manual/platform.texi: Document MTASC-safety properties.
15156
8c1413f5
AO
15157 * manual/pipe.texi: Document MTASC-safety properties.
15158
03483ada
AO
15159 * manual/pattern.texi: Document MTASC-safety properties.
15160
29e7e2df
AO
15161 * manual/message.texi: Document MTASC-safety properties.
15162
9f529d7c
AO
15163 [BZ #12751]
15164 * manual/memory.texi: Document MTASC-safety properties.
15165
27aaa791
AO
15166 * manual/math.texi: Document MTASC-safety properties.
15167
f2d58726
AO
15168 * manual/locale.texi: Document MTASC-safety properties.
15169
2cc3615c
AO
15170 * manual/llio.texi: Document MTASC-safety properties.
15171
d9f0ec97
AO
15172 * manual/libdl.texi: New.
15173
e7c4409a
AO
15174 * manual/lang.texi: Document MTASC-safety properties.
15175
27bdc63c
AO
15176 * manual/job.texi: Document MTASC-safety properties.
15177
a7b90ea9
AO
15178 * manual/getopt.texi: Document MTASC-safety properties.
15179
c49130e3
AO
15180 * manual/ctype.texi: Document MTASC-safety properties.
15181
0d23a5c1
MR
151822014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
15183
15184 [BZ #16046]
15185 * csu/libc-tls.c (static_map): Remove variable.
15186 (__libc_setup_tls): Use main executable's link map for TLS data.
15187 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
15188 casing for LM_ID_BASE and GL(dl_nns).
15189 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
15190 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
15191 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
15192 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
15193 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
15194 member.
15195 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
15196 l_phnum members.
15197
0037bb60
AO
151982014-01-30 Alexandre Oliva <aoliva@redhat.com>
15199
15200 * manual/debug.texi: Document MTASC-safety properties.
15201
409e00bd
L
152022014-01-29 H.J. Lu <hongjiu.lu@intel.com>
15203
15204 [BZ #16510]
15205 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
15206 of __x86_64__ when disabling x87 inline functions.
15207
86e60666
AO
152082014-01-29 Alexandre Oliva <aoliva@redhat.com>
15209
15210 * manual/charset.texi: Document MTASC-safety properties.
15211
76167637
AO
15212 * manual/crypt.texi: Document MTASC-safety properties.
15213
e567f2a0
AO
15214 * manual/conf.texi: Document MTASC-safety properties.
15215
b719dafd
AO
15216 * manual/arith.texi: Document MTASC-safety properties.
15217
4a16c662
AO
15218 * manual/argp.texi: Document MTASC-safety properties.
15219
0a57b83e
AO
15220 * manual/macros.texi: Introduce macros to document multi
15221 thread, asynchronous signal and asynchronous cancellation
15222 safety properties.
15223 * manual/intro.texi: Introduce the properties themselves.
15224
feab2397
KK
152252014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15226
15227 * sysdeps/sh/sh4/Makefile: New file.
15228
1c0d11bc
AS
152292014-01-27 Andreas Schwab <schwab@linux-m68k.org>
15230
15231 * math/gen-libm-test.pl ($srcdir): New variable.
15232 ($auto_input): Use it.
15233
af37a8a3
SP
152342014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
15235
d7b00f98
SP
15236 [BZ #16506]
15237 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
15238 access beyond array bounds when parsing netgroups file.
15239
af37a8a3
SP
15240 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
15241 the old buffer before realloc.
15242
0c00f062
AM
152432014-01-27 Allan McRae <allan@archlinux.org>
15244
15245 * po/fr.po: Update French translation from translation project.
15246
7d69a1b0
KK
152472014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15248
15249 * sysdeps/sh/libm-test-ulps: Regenerate.
15250
6e697ff7
DM
152512014-01-24 David S. Miller <davem@davemloft.net>
15252
15253 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
15254
9cadb35c
KK
152552014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15256
15257 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
15258 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
15259
5d41dadf
SP
152602013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
15261
15262 [BZ #16474]
15263 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
15264 string pointers after reallocation.
15265
0bad441c
KK
152662014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15267
15268 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
15269 __SH4A__ instead of __SH_FPU_ANY__.
15270
7007c661
KK
152712014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15272
15273 * sysdeps/sh/fpu_control.h: New file.
15274 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
15275 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
15276 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
15277 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
15278 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
15279 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
15280 * sysdeps/sh/sys/ucontext.h: Remove.
15281 * sysdeps/sh/sys: Remove directory.
15282
0f0c35e4
AK
152832014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15284
15285 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
15286 s390/sys/ucontext.h.
15287 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
15288 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
15289
4959e284
L
152902014-01-20 H.J. Lu <hongjiu.lu@intel.com>
15291
15292 [BZ #15605]
15293 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
15294
d98720e0
AZ
152952014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15296
15297 [BZ#16431]
15298 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
15299 Adjust the vDSO correctly for internal calls.
15300 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
15301
91cbd0bc
AM
153022014-01-20 Allan McRae <allan@archlinux.org>
15303
15304 * po/ca.po: Update Catalan translation from translation project.
15305
7a02cfad
MF
153062014-01-16 Mike Frysinger <vapier@gentoo.org>
15307
15308 * sysdeps/s390/sotruss-lib.c: New file.
15309
736c304a
AZ
153102014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15311
15312 [BZ#16430]
6e077ee5 15313 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
736c304a
AZ
15314 (__GI___gettimeofday): Alias for a different internal symbol to avoid
15315 local calls issues by not having a PLT stub required for IFUNC calls.
15316 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
15317
94d0cea0
JM
153182014-01-16 Joseph Myers <joseph@codesourcery.com>
15319
15320 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
15321 * math/test-fpucw-static.c: Likewise.
15322
980cb518
SP
153232013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
15324
15325 [BZ #16453]
15326 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
15327
2393fc01
AZ
153282014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15329
15330 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
15331 implementation for powerpc.
15332
d359bcc2
OB
153332014-01-15 Ondřej Bílka <neleai@seznam.cz>
15334
15335 [BZ #14782]
15336 * sysdeps/posix/system.c (__libc_system): Do not enable
15337 asynchronous cancellation.
15338
7beb48cb
AK
153392014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15340
15341 [BZ #16427]
15342 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
15343 handling only for numbers special also in the IEEE case.
15344
c20d5bf5
AK
153452014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15346
15347 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
15348
e83bd4ee
AM
153492014-01-11 Allan McRae <allan@archlinux.org>
15350
76d0ea69
AM
15351 * po/bg.po: Update Bulgarian translation from translation project.
15352
e83bd4ee
AM
15353 * po/de.po: Update German translation from translation project.
15354
bc2ba20a
RM
153552014-01-10 Roland McGrath <roland@hack.frob.com>
15356
15357 * sysdeps/generic/gcc-compat.h: New file.
15358
649ecea2
SP
153592014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
15360
15361 * benchtests/asin-inputs: Correct slow inputs.
15362 * benchtests/acos-inputs: Likewise.
15363
1b19c006
AM
153642014-01-10 Allan McRae <allan@archlinux.org>
15365
a46dab08
AM
15366 * po:sv.po: Update Swedish translation from translation project.
15367
421df74a
AM
15368 * po/vi.po: Update Vietnamese translation from translation project.
15369
d61c51a7
AM
15370 * po/eo.po: Update Esperanto translation from translation project.
15371
0339a319
AM
15372 * po/cs.po: Update Czech translation from translation project.
15373
94ad3e99
AM
15374 * po/nl.po: Update Dutch translation from translation project.
15375
e349ca71
AM
15376 * po/pl.po: Update Polish translation from translation project.
15377
ddf930c1
AM
15378 * po/ru.po: Update Russian translation from translation project.
15379
1b19c006
AM
15380 * po/uk.po: Update Ukrainian translation from translation project.
15381
9f236c49
BM
153822014-01-08 Brooks Moses <bmoses@google.com>
15383
15384 * elf/dl-load.c: Fix comment typo.
15385
cd6701cf
CD
153862014-01-08 Carlos O'Donell <carlos@redhat.com>
15387
15388 * po/header.pot: Rename to...
15389 * po/pot.header: ... this.
15390 * po/Makefile: Use pot.header.
15391
66671c84
YK
153922014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
15393 Maxim Kuvyrkov <maxim@kugelworks.com>
15394
15395 [BZ #16394]
cd6701cf
CD
15396 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
15397 SRC and DEST against LEN.
66671c84 15398
38f34581
AZ
153992014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15400
15401 [BZ #16414]
15402 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
15403 implementation.
15404 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
15405
154062014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3ff6304e
AZ
15407
15408 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15409
4c327f2a
JM
154102014-01-08 Joseph Myers <joseph@codesourcery.com>
15411
15412 [BZ #16408]
15413 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
15414 for large positive arguments.
15415
b821f414
JM
154162014-01-07 Joseph Myers <joseph@codesourcery.com>
15417
1f0f2067
JM
15418 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
15419
a5a326f6
JM
15420 * math/auto-libm-test-in: Mark various tests with
15421 xfail-rounding:ldbl-128ibm.
15422 * math/auto-libm-test-out: Regenerated.
15423
b821f414
JM
15424 [BZ #16407]
15425 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
15426 Increase overflow threshold.
15427
94c8a4bc
OB
154282014-01-07 Ondřej Bílka <neleai@seznam.cz>
15429
15430 [BZ #14286]
15431 * stdio-common/vfprintf.c: Check for integer overflow.
15432
87ded0c3
AK
154332014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15434
15435 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
15436 the first argument and return value of __tls_get_addr_internal.
15437
c5eebdd0
AK
154382014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15439
15440 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
15441 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
15442
05d138ef
AK
154432014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15444
15445 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
15446 * sysdeps/s390/rtld-global-offsets.sym: New file.
15447 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
15448 GLIBC_2.19 symbol.
15449 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
15450 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
15451 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
15452 ... this.
15453 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
15454 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
15455 ... this.
15456 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
15457 Regenerate.
15458 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
15459 Regenerate.
15460 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
15461 halfs of GPRs for high_gprs contexts.
15462 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
15463 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
15464 field.
15465 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
15466 uc_flags field.
15467 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
15468 64 bit versions:
15469 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
15470 for high GPRs (uc_high_gprs) and for future extensions
15471 (__reserved).
15472 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
15473 for future extensions (__reserved).
15474 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
15475 64 bit versions:
15476 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
15477 SC_HIGHGPRS offset definition.
15478 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
15479 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
15480
93a45ff1
AK
15481 * Versions.def: Add GLIBC_2.19 for libpthread.
15482 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
15483 siglongjmp for libpthread with GLIBC_2.19 symver.
15484 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
15485 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
15486 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
15487 * sysdeps/s390/__longjmp.c: New file.
15488 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
15489 * sysdeps/s390/longjmp.c: New file.
15490 * sysdeps/s390/setjmp.S: New file.
15491 * sysdeps/s390/sigjmp.S: New file.
15492 * sysdeps/s390/v1-longjmp.c: New file.
15493 * sysdeps/s390/v1-setjmp.h: New file.
15494 * sysdeps/s390/v1-sigjmp.c: New file.
15495 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
15496 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
15497 GLIBC_2.19 version.
15498 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
15499 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
15500 versioned symbols for ____longjmp_chk.
15501 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
15502 Likewise.
15503 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
15504 Regenerate.
15505 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
15506 Regenerate.
15507 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
15508 Regenerate.
15509 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
15510 Regenerate.
15511 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
15512 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
15513 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
15514 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
15515 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
15516 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
15517 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
15518 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
15519 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
15520 * sysdeps/s390/rtld-__longjmp.c: New file.
15521 * sysdeps/s390/rtld-setjmp.S: New file.
15522
eb3fc44b
JM
155232014-01-06 Joseph Myers <joseph@codesourcery.com>
15524
15525 [BZ #16400]
15526 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
15527 Return -__logl (x) for small positive arguments without evaluating
15528 a polynomial.
15529
9341dde4
MF
155302014-01-06 Mike Frysinger <vapier@gentoo.org>
15531
15532 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
15533 Rename to ...
15534 (__ptrace_peeksiginfo_args): ... this.
15535 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
15536 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
15537 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
15538
4cff0293
AM
155392014-01-06 Allan McRae <allan@archlinux.org>
15540
15541 * inet/netinet/in.h: Fix typo in comment.
15542
75595dcf
AJ
155432014-01-05 Andreas Jaeger <aj@suse.de>
15544
15545 * sysdeps/i386/fpu/libm-test-ulps: Update.
15546
79c1e109
AM
155472014-01-05 Allan McRae <allan@archlinux.org>
15548
dd804818
AM
15549 * po/libc.pot: Regenerated.
15550
79c1e109
AM
15551 * malloc/memusagestat.c: Fix gettext call formatting.
15552
0c813d1f
SK
155532014-01-04 Sami Kerola <kerolasa@iki.fi>
15554
15555 * nscd/nscd.c: Improve usage() output.
15556
20f4a8d9
MF
155572014-01-04 Mike Frysinger <vapier@gentoo.org>
15558
15559 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
15560 * sysdeps/unix/sysv/linux/configure: Regenerated.
15561 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
15562 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
15563
22562bb2
JM
155642014-01-03 Joseph Myers <joseph@codesourcery.com>
15565
15566 [BZ #16390]
15567 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
15568 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
15569
d7ad2d9b
AZ
155702014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15571
15572 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
15573 extra tokens at end of #undef directive.
15574 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
15575 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
15576 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
15577
7dd009d8
JM
155782014-01-03 Joseph Myers <joseph@codesourcery.com>
15579
24db925a
JM
15580 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
15581
7dd009d8
JM
15582 * math/auto-libm-test-in: Mark various tests with
15583 xfail-rounding:ldbl-128ibm.
15584 * math/auto-libm-test-out: Regenerated.
15585
396e3ecf
JM
155862014-01-02 Joseph Myers <joseph@codesourcery.com>
15587
819e5d50
JM
15588 [BZ #16386]
15589 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
15590 numbers with subnormal high part when calculating exponent.
15591
90b6a1e5
JM
15592 [BZ #16385]
15593 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
15594 fabs.
15595
396e3ecf
JM
15596 [BZ #16384]
15597 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
15598 M_LN2l.
15599 (__ieee754_acoshl): Use __log1pl not __log1p.
15600
6c8dbf00
OB
156012013-01-02 Ondřej Bílka <neleai@seznam.cz>
15602
57f41c40
AS
15603 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
15604 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
15605 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
15606 (grow_heap, heap_trim, _int_new_arena, get_free_list)
15607 (reused_arena, arena_get2): Convert to GNU style.
15608 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
15609 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
15610 (memalign_check, __malloc_set_state): Likewise.
6c8dbf00 15611 * malloc/mallocbug.c (main): Likewise.
57f41c40
AS
15612 * malloc/malloc.c (__malloc_assert, malloc_init_state)
15613 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
15614 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
15615 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
15616 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
15617 (__posix_memalign, malloc_info): Likewise.
6c8dbf00 15618 * malloc/malloc.h: Likewise.
57f41c40
AS
15619 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
15620 (mallochook, memalignhook, reallochook, mabort): Likewise.
6c8dbf00 15621 * malloc/mcheck.h: Likewise.
57f41c40
AS
15622 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
15623 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
6c8dbf00
OB
15624 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
15625 * malloc/morecore.c (__default_morecore): Likewise.
15626 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
57f41c40
AS
15627 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
15628 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
15629 (print_and_abort): Likewise.
6c8dbf00
OB
15630 * malloc/obstack.h: Likewise.
15631 * malloc/set-freeres.c (__libc_freeres): Likewise.
15632 * malloc/tst-mallocstate.c (main): Likewise.
15633 * malloc/tst-mtrace.c (main): Likewise.
15634 * malloc/tst-realloc.c (do_test): Likewise.
15635
d4124212
SP
156362013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
15637
9a3c6a6f
SP
15638 [BZ #16366]
15639 * nscd/netgroupcache.c (do_notfound): New function.
15640 (addgetnetgrentX): Use it.
15641
d4124212
SP
15642 [BZ # 16365]
15643 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
15644 NSS_STATUS_NOTFOUND.
15645
97b9a009
JM
156462014-01-01 Joseph Myers <joseph@codesourcery.com>
15647
15648 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
15649 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15650
d4697bc9
AM
156512014-01-01 Allan McRae <allan@archlinux.org>
15652
ddb3687f
AM
15653 * scripts/update-copyrights: Update configure input file suffix.
15654
88726d48
AM
15655 * NEWS: Update copyright year.
15656 * catgets/gencat.c: Likewise.
15657 * csu/version.c: Likewise.
15658 * debug/catchsegv.sh: Likewise.
15659 * debug/pcprofiledump.c: Likewise.
15660 * debug/xtrace.sh: Likewise.
15661 * elf/ldconfig.c: Likewise.
15662 * elf/ldd.bash.in: Likewise.
15663 * elf/pldd.c: Likewise.
15664 * elf/sotruss.ksh: Likewise.
15665 * elf/sprof.c: Likewise.
15666 * iconv/iconv_prog.c: Likewise.
15667 * iconv/iconvconfig.c: Likewise.
15668 * locale/programs/locale.c: Likewise.
15669 * locale/programs/localedef.c: Likewise.
15670 * login/programs/pt_chown.c: Likewise.
15671 * malloc/memusage.sh: Likewise.
15672 * malloc/memusagestat.c: Likewise.
15673 * malloc/mtrace.pl: Likewise.
15674 * manual/libc.texinfo: Likewise.
15675 * nscd/nscd.c: Likewise.
15676 * nss/getent.c: Likewise.
15677 * nss/makedb.c: Likewise.
15678 * posix/getconf.c: Likewise.
15679 * scripts/test-installation.pl: Likewise.
15680
d4697bc9
AM
15681 * All files with FSF copyright notices: Update copyright dates
15682 using scripts/update-copyrights.
15683 * intl/plural.c: Regenerated.
15684 * locale/programs/charmap-kw.h: Likewise.
15685 * locale/programs/locfile-kw.h: Likewise.
15686
c8590f9d
MF
156872013-12-31 Mike Frysinger <vapier@gentoo.org>
15688
15689 * sysdeps/unix/sysv/linux/configure: Regenerated.
15690 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
15691 the linux/fanotify.h header.
15692 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
15693 HAVE_LINUX_FANOTIFY_H is defined.
15694
b19221b9
SP
156952013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
15696
dd1d85e5
SP
15697 * benchtests/cos-inputs: New inputs.
15698 * benchtests/sin-inputs: Likewise.
15699
1acbb90f
SP
15700 * benchtests/atan-inputs: New inputs. Fix name of multiple
15701 precision fallback inputs.
15702
4c012ed3
SP
15703 * benchtests/atanh-inputs: New inputs.
15704 * benchtests/tanh-inputs: Likewise.
15705
eff98324
SP
15706 * benchtests/acosh-inputs: New inputs.
15707 * benchtests/asinh-inputs: Likewise.
15708
ce641152
SP
15709 * benchtests/cosh-inputs: New inputs.
15710 * benchtests/sinh-inputs: Likewise.
15711
b19221b9
SP
15712 * benchtests/acos-inputs: Add more inputs.
15713 * benchtests/asin-inputs: Likewise.
15714
030a4976 157152013-12-30 Ville Skytta <ville.skytta@iki.fi>
9dcc8f11 15716
030a4976 15717 [BZ #16375]
9dcc8f11
VS
15718 * manual/arith.texi: Fix spelling.
15719 * manual/charset.texi: Likewise.
15720 * manual/errno.texi: Likewise.
15721 * manual/filesys.texi: Likewise.
15722 * manual/lang.texi: Likewise.
15723 * manual/llio.texi: Likewise.
15724 * manual/locale.texi: Likewise.
15725 * manual/message.texi: Likewise.
15726 * manual/resource.texi: Likewise.
15727 * manual/search.texi: Likewise.
15728 * manual/setjmp.texi: Likewise.
15729 * manual/stdio.texi: Likewise.
15730 * manual/string.texi: Likewise.
15731 * manual/sysinfo.texi: Likewise.
15732 * manual/time.texi: Likewise.
15733
11520a57
CD
157342013-12-27 Carlos O'Donell <carlos@redhat.com>
15735
15736 * po/sl.po: New file.
15737
471103ae
MF
157382013-12-27 Mike Frysinger <vapier@gentoo.org>
15739
15740 * .gitignore: Add core/.gdbinit/.gdb_history.
15741
6c9642ed
AM
157422013-12-27 Allan McRae <allan@archlinux.org>
15743
15744 [BZ #16369]
15745 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
15746 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
15747
3f637079
BM
157482013-12-24 Brooks Moses <bmoses@google.com>
15749
15750 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
15751 all compilers that claim C++98 compliance, not just GCC.
15752 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
15753 Likewise.
15754
abc26e99
MK
157552013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
15756
15757 * NEWS: Restore accidentally deleted bug-fix entries.
15758
362b47fe
MK
157592013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
15760 Ondřej Bílka <neleai@seznam.cz>
15761
15762 [BZ #15073]
15763 * malloc/malloc.c (_int_free): Perform sanity check only if we
11520a57 15764 have_lock.
362b47fe 15765
b9bcbbcb
OB
157662013-12-23 Ondřej Bílka <neleai@seznam.cz>
15767
15768 [BZ #12986]
15769 * manual/stdio.texi (String Input Conversions): Clarify that character
15770 classes are not supported.
15771
fb55fcd2
AZ
157722013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15773
15774 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15775
ef7344f0
JM
157762013-12-22 Joseph Myers <joseph@codesourcery.com>
15777
4f40e4b3
JM
15778 [BZ #16337]
15779 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
15780 Calculate results for small negative arguments directly rather
15781 than using reflection formula with special underflow handling.
15782
ef7344f0
JM
15783 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
15784 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
15785 sysdeps/unix/bsd/bsd4.4/syscalls.list.
15786 (fchflags): Likewise.
15787 (revoke): Likewise.
15788 (setlogin): Likewise.
15789 (sigaltstack): Likewise.
15790 (wait4): Likewise.
15791 (sigblock): Remove.
15792 (sigsetmask): Likewise.
15793 (wait3): Likewise.
15794 (waitpid): Likewise.
15795 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
15796 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
15797 file.
15798 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
15799 * sysdeps/unix/bsd/Makefile: ... here.
15800 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
15801 * sysdeps/unix/bsd/Versions: ... here.
15802 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
15803 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
15804 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
15805 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
15806 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
15807 * sysdeps/unix/bsd/sigblock.c: ... here.
15808 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
15809 * sysdeps/unix/bsd/sigsetmask.c: ... here.
15810 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
15811 * sysdeps/unix/bsd/sigvec.c: ... here.
15812 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
15813 * sysdeps/unix/bsd/tcdrain.c: ... here.
15814 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
15815 * sysdeps/unix/bsd/tcgetattr.c: ... here.
15816 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
15817 * sysdeps/unix/bsd/tcsetattr.c: ... here.
15818 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
15819 * sysdeps/unix/bsd/wait.c: ... here.
15820 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
15821 * sysdeps/unix/bsd/wait3.c: ... here.
15822 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
15823 * sysdeps/unix/bsd/waitpid.c: ... here.
15824
5b0626b9
JM
158252013-12-21 Joseph Myers <joseph@codesourcery.com>
15826
15827 [BZ #16356]
15828 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
15829 round-to-nearest for [!USE_AS_EXPM1L].
15830 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
15831 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
15832 more tests of exp and exp10. Expect some exp10 tests to miss
15833 exceptions or fail in directed rounding modes.
15834 * math/auto-libm-test-out: Regenerated.
15835 * math/libm-test.inc (exp10_tonearest_test_data): New array.
15836 (exp10_test_tonearest): New function.
15837 (exp10_towardzero_test_data): New array.
15838 (exp10_test_towardzero): New function.
15839 (exp10_downward_test_data): New array.
15840 (exp10_test_downward): New function.
15841 (exp10_upward_test_data): New array.
15842 (exp10_test_upward): New function.
15843 (main): Call the new functions.
15844 * sysdeps/i386/fpu/libm-test-ulps: Update.
15845 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15846
7fda5682
JM
158472013-12-20 Joseph Myers <joseph@codesourcery.com>
15848
31e3a405
JM
15849 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
15850 asinh, atan, atan2, atanh, cbrt, cos and cosh.
15851 * math/auto-libm-test-out: Regenerated.
15852 * math/libm-test.inc (acosh_test_data): Add more tests.
15853 (atanh_test_data): Likewise.
15854 (ceil_test_data): Likewise.
15855 (copysign_test_data): Likewise.
15856 * sysdeps/i386/fpu/libm-test-ulps: Update.
15857 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15858
85bff96a
JM
15859 * timezone/checktab.awk: Update from tzcode 2013i.
15860 * timezone/private.h: Likewise.
15861 * timezone/scheck.c: Likewise.
15862 * timezone/tzfile.h: Likewise.
15863 * timezone/tzselect.ksh: Likewise.
15864 * timezone/zdump.c: Likewise.
15865 * timezone/zic.c: Likewise.
15866
b7867a3b
JM
15867 * math/auto-libm-test-in: Add tests of cpow.
15868 * math/auto-libm-test-out: Regenerated.
15869 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
57f41c40 15870 * math/gen-auto-libm-tests.c (func_calc_method): Add value
b7867a3b
JM
15871 mpc_cc_c.
15872 (func_calc_desc): Add mpc_cc_c union field.
15873 (test_functions): Add cpow.
15874 (special_fill_2pi): New function.
15875 (special_real_inputs): Add 2pi.
15876 (calc_generic_results): Handle mpc_cc_c.
15877 * sysdeps/i386/fpu/libm-test-ulps: Update.
15878 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15879
7fda5682
JM
15880 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
15881 csqrt, ctan and ctanh.
15882 * math/auto-libm-test-out: Regenerated.
15883 * math/libm-test.inc (TEST_COND_x86_64): New macro.
15884 (TEST_COND_x86): Likewise.
15885 (ccos_test_data): Use AUTO_TESTS_c_c.
15886 (ccosh_test_data): Likewise.
15887 (cexp_test_data): Likewise.
15888 (clog_test_data): Likewise.
15889 (csqrt_test_data): Likewise.
15890 (ctan_test_data): Likewise.
15891 (ctan_tonearest_test_data): Likewise.
15892 (ctan_towardzero_test_data): Likewise.
15893 (ctan_downward_test_data): Likewise.
15894 (ctan_upward_test_data): Likewise.
15895 (ctanh_test_data): Likewise.
15896 (ctanh_tonearest_test_data): Likewise.
15897 (ctanh_towardzero_test_data): Likewise.
15898 (ctanh_downward_test_data): Likewise.
15899 (ctanh_upward_test_data): Likewise.
15900 * math/gen-auto-libm-tests.c (func_calc_method): Add value
15901 mpc_c_c.
15902 (func_calc_desc): Add mpc_c_c union field.
15903 (FUNC_mpc_c_c): New macro.
15904 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
15905 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
15906 ctanh.
15907 (special_fill_min_subnorm_p120): New function.
15908 (special_real_inputs): Add min_subnorm_p120.
15909 (calc_generic_results): Handle mpc_c_c.
15910 * sysdeps/i386/fpu/libm-test-ulps: Update.
15911 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15912
5ff8d60e
SP
159132013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
15914
57f41c40
AS
15915 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
15916 (do_sin_slow): New functions.
15917 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
15918 (cslow2, csloww1, csloww2): Use the new functions.
392dd2de 15919
84ba214c
SP
15920 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
15921 Use M to change sign of result instead of X. Assume X is
15922 positive.
15923 (csloww1): Likewise.
15924 (__sin): Adjust.
15925 (__cos): Adjust.
15926
975195e4
SP
15927 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
15928 arguments A and DA.
15929 (__sin): Adjust.
15930 (__cos): Likewise.
15931
5ff8d60e
SP
15932 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
15933 (__cos): Likewise.
15934 (sloww1): Don't adjust sign of DX.
15935 (csloww1): Likewise.
15936 (sloww2): Use X directly and don't adjust sign of DX.
15937 (csloww2): Likewise.
15938
eb983568
JM
159392013-12-19 Joseph Myers <joseph@codesourcery.com>
15940
64a17f1a
JM
15941 * math/auto-libm-test-in: Add tests of cabs and carg.
15942 * math/auto-libm-test-out: Regenerated.
15943 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
15944 (carg_test_data): Likewise.
15945 * math/gen-auto-libm-tests.c (func_calc_method): Add value
15946 mpc_c_f.
15947 (func_calc_desc): Add mpc_c_f union field.
15948 (test_functions): Add cabs and carg.
15949 (calc_generic_results): Handle mpc_c_f.
15950
eb983568
JM
15951 * sysdeps/powerpc/powerpc32/libgcc-compat.S
15952 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
15953 as a macro and a compat symbol.
15954 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
15955 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
15956 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
15957 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
15958 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
15959 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
15960 not use .hidden.
15961 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
15962 Likewise.
15963 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
15964 Likewise.
15965 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
15966 Likewise.
15967 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
15968 Likewise.
15969 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
15970 Likewise.
15971 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
15972 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
15973 from GLIBC_2.3.2.
15974
6eeb678a
AZ
159752013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15976
15977 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15978
6f6fc482
JM
159792013-12-19 Joseph Myers <joseph@codesourcery.com>
15980
21fea2e2
JM
15981 * manual/texinfo.tex: Update to version 2013-11-26.10 with
15982 trailing whitespace removed.
15983 * scripts/config.guess: Update to version 2013-11-29.
15984 * scripts/config.sub: Update to version 2013-10-01.
15985
6f6fc482
JM
15986 * math/auto-libm-test-in: Add tests of sincos.
15987 * math/auto-libm-test-out: Regenerated.
15988 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
15989 * math/gen-auto-libm-tests.c (func_calc_method): Add value
15990 mpfr_f_11.
15991 (func_calc_desc): Add mpfr_f_11 union field.
15992 (test_functions): Add sincos.
15993 (calc_generic_results): Handle mpfr_f_11.
15994 * sysdeps/i386/fpu/libm-test-ulps: Update.
15995 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15996
83f5c32d
AS
159972013-12-19 Andreas Schwab <schwab@suse.de>
15998
15999 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
16000 CALL_MCOUNT.
16001 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
16002 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
16003 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
16004
c688b419
JM
160052013-12-19 Joseph Myers <joseph@codesourcery.com>
16006
335ee092
JM
16007 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
16008 * sysdeps/i386/fpu/libm-test-ulps: Update.
16009 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16010
f88acd39
JM
16011 [BZ #16293]
16012 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
16013 round-to-nearest mode when using frndint.
16014 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
16015 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
16016 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
16017 Likewise.
16018 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
16019 sinh test to fail.
16020 * math/auto-libm-test-out: Regenerated.
16021 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
16022 (TEST_COND_x86): Likewise.
16023 (expm1_tonearest_test_data): New array.
16024 (expm1_test_tonearest): New function.
16025 (expm1_towardzero_test_data): New array.
16026 (expm1_test_towardzero): New function.
16027 (expm1_downward_test_data): New array.
16028 (expm1_test_downward): New function.
16029 (expm1_upward_test_data): New array.
16030 (expm1_test_upward): New function.
16031 (main): Run the new test functions.
16032 * sysdeps/i386/fpu/libm-test-ulps: Update.
16033 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16034
c688b419
JM
16035 * include/features.h: Update comment documenting feature test
16036 macros. Mention _DEFAULT_SOURCE in comment.
16037 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
16038 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
16039 _BSD_SOURCE and _SVID_SOURCE.
16040 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
16041 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
16042 !_SVID_SOURCE]: Likewise.
16043 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
16044 (__USE_POSIX_IMPLICITLY): Define.
16045 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
16046 (_POSIX_SOURCE): Undefine and redefine.
16047 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
16048 (_POSIX_C_SOURCE): Likewise.
16049 * manual/creature.texi (_DEFAULT_SOURCE): Document.
16050 (Feature Test Macros): Update documentation of default features.
16051
9f6e964c
RS
160522013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
16053
16054 * benchtests/Makefile: Add bench-strtok.
16055 * benchtests/bench-strtok.c: New file: strtok benchtest.
16056
ee0a148a
AM
160572013-12-19 Allan McRae <allan@archlinux.org>
16058
16059 * manual/install.texi: Suppress menu for plain text output.
16060 * INSTALL: Regenerated.
16061
b9ab448f
BM
160622013-12-18 Brooks Moses <bmoses@google.com>
16063
16064 [BZ #15846]
16065 * misc/getauxval.c: Include errno.h.
16066 (__getauxval): Set errno to ENOENT if the requested type is not
16067 found.
16068 * misc/sys/auxv.h (getauxval): Document that it may set errno;
16069 don't declare with __attribute_const__.
16070 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
16071 * manual/startup.texi: Document that getauxval sets errno.
16072
23776487
JM
160732013-12-18 Joseph Myers <joseph@codesourcery.com>
16074
f889953b
JM
16075 * math/auto-libm-test-in: Add tests of jn and yn.
16076 * math/auto-libm-test-out: Regenerated.
16077 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
16078 (yn_test_data): Likewise.
16079 * math/gen-auto-libm-tests.c (func_calc_method): Add value
16080 mpfr_if_f.
16081 (func_calc_desc): Add mpfr_if_f union field.
16082 (FUNC_mpfr_if_f): New macro.
16083 (test_functions): Add jn and yn.
16084 (calc_generic_results): Assert type of second input for
16085 mpfr_ff_f. Handle mpfr_if_f.
16086 (output_for_one_input_case): Disable all checking for arguments
16087 fitting floating-point types in case of an integer argument.
16088 * sysdeps/i386/fpu/libm-test-ulps: Update.
16089 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16090
23776487
JM
16091 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
16092 Don't expect fegetround reference in libm.so.
16093
cb756c6d
MS
160942013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
16095
16096 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
16097 $(config-cflags-nofma).
16098
2dec468f
JM
160992013-12-18 Joseph Myers <joseph@codesourcery.com>
16100
5953eb3a
JM
16101 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
16102 * math/auto-libm-test-out: Regenerated.
16103
2dec468f
JM
16104 [BZ #16338]
16105 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
16106 to determine exponent and adjust argument to have exponent of -1.
16107 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
16108 log2.
16109 * math/auto-libm-test-out: Regenerated.
16110 * sysdeps/i386/fpu/libm-test-ulps: Update.
16111 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16112
4d84e6ad
OB
161132013-12-18 Ondřej Bílka <neleai@seznam.cz>
16114
16115 * manual/probes.texi: Remove cases when per-thread arenas are
16116 disabled.
16117
1818483b
AS
161182013-12-18 Andreas Schwab <schwab@suse.de>
16119
16120 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
16121 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
16122 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
16123 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
16124 * sysdeps/i386/i686/multiarch/Makefile: Update.
16125 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
16126
25de95bf
JM
161272013-12-17 Joseph Myers <joseph@codesourcery.com>
16128
16129 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
16130 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
16131
674762d9
PE
161322013-12-17 Paul Eggert <eggert@cs.ucla.edu>
16133
ed27ed83 16134 [BZ #15968]
0748546f
PE
16135 Support TZ transition times < 00:00:00.
16136 This is needed for version-3 tz-format files; it supports time
16137 stamps past 2037 for America/Godthab (the only entry in the tz
16138 database for which this change is relevant).
16139 * manual/time.texi (TZ Variable): Document transition times
16140 from -167:59:59 through -00:00:01.
16141 * time/tzset.c (tz_rule): Time of day is now signed.
16142 (__tzset_parse_tz): Parse negative time of day.
16143
4480e934
PE
16144 Document TZ transition times >= 25:00:00.
16145 * manual/time.texi (TZ Variable): Document transition times from
16146 25:00:00 through 167:59:59. These are already supported, and this
16147 support will help with version-3 tz-format files.
16148
69947401
PE
16149 * manual/time.texi (TZ Variable): Modernize North America example
16150 to reflect current (i.e., 2007-and-later) daylight saving rules.
16151
674762d9
PE
16152 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
16153
7011c262
JM
161542013-12-17 Joseph Myers <joseph@codesourcery.com>
16155
2fc6557e
JM
16156 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
16157 * sysdeps/unix/bsd/bits/stat.h: Likewise.
16158 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
16159 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
16160 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
16161 * sysdeps/unix/bsd/bsdstat.h: Likewise.
16162 * sysdeps/unix/bsd/clock.c: Likewise.
16163 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
16164 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
16165 * sysdeps/unix/bsd/init-posix.c: Likewise.
16166 * sysdeps/unix/bsd/poll.c: Likewise.
16167 * sysdeps/unix/bsd/ptsname.c: Likewise.
16168 * sysdeps/unix/bsd/seekdir.c: Likewise.
16169 * sysdeps/unix/bsd/setegid.c: Likewise.
16170 * sysdeps/unix/bsd/seteuid.c: Likewise.
16171 * sysdeps/unix/bsd/setgid.c: Likewise.
16172 * sysdeps/unix/bsd/setrgid.c: Likewise.
16173 * sysdeps/unix/bsd/setruid.c: Likewise.
16174 * sysdeps/unix/bsd/setsid.c: Likewise.
16175 * sysdeps/unix/bsd/setuid.c: Likewise.
16176 * sysdeps/unix/bsd/sigaction.c: Likewise.
16177 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
16178 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
16179 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
16180 * sysdeps/unix/bsd/telldir.c: Likewise.
16181 * sysdeps/unix/bsd/times.c: Likewise.
16182 * sysdeps/unix/bsd/usleep.c: Likewise.
16183
029c7b25
JM
16184 * misc/Makefile (install-lib): Remove libbsd-compat.a.
16185 ($(objpfx)libbsd-compat.a): Remove rule.
16186
7011c262
JM
16187 * include/features.h (__FAVOR_BSD): Do not define.
16188 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
16189 features conflicting with POSIX.
16190 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
16191 (_BSD_SOURCE): Remove description of not being a subset of other
16192 feature test macros.
16193 * manual/job.texi (getpgrp): Do not document BSD version.
16194 (getpgid): Do not document by reference to BSD getpgrp.
16195 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
16196 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
16197 * signal/signal.h [__FAVOR_BSD]: Likewise.
16198 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
16199 instead of making contents conditional on [__FAVOR_BSD].
16200 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
16201
affb6f78
AZ
162022013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16203
16204 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16205
c88769dd
JM
162062013-12-17 Joseph Myers <joseph@codesourcery.com>
16207
6432a540
JM
16208 [BZ #16314]
16209 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
16210 values below 2**-450, not 2**-500.
16211 * math/auto-libm-test-in: Don't allow spurious underflow from
16212 hypot.
16213 * math/auto-libm-test-out: Regenerated.
16214
c88769dd
JM
16215 [BZ #16316]
16216 [BZ #16330]
16217 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
16218 values of ha and hb and sort them after adjusting subnormal
16219 arguments.
16220 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
16221 Likewise.
16222 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
16223 values of ea and eb and sort them after adjusting subnormal
16224 arguments.
16225 * math/auto-libm-test-in: Do not expect some hypot tests of
16226 subnormals to fail. Add more hypot tests.
16227 * math/auto-libm-test-out: Regenerated.
16228
29618f6b
KK
162292013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16230
16231 [BZ #13304]
16232 * sysdeps/sh/s_fma.c: New file.
16233 * sysdeps/sh/s_fmaf.c: New file.
16234 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
16235 version.
16236 * sysdeps/sh/Implies: Add sh/soft-fp.
16237
eacfdfbf
RM
162382013-12-16 Roland McGrath <roland@hack.frob.com>
16239
16240 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
16241 level of indirection to members `objname', `errstring', `malloced'.
16242 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
16243 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
16244 it as the __longjmp argument (just pass 1 instead).
16245 (_dl_catch_error): Initialize C with argument pointers and address of
16246 volatile local ERRCODE rather than copying values out of C at return.
16247
ff362e5b
JM
162482013-12-16 Joseph Myers <joseph@codesourcery.com>
16249
16250 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
16251 * math/auto-libm-test-out: Regenerated.
16252 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
16253 (hypot_test_data): Likewise.
16254 (pow_test_data): Likewise.
16255 (pow_tonearest_test_data): Likewise.
16256 * math/gen-auto-libm-tests.c (func_calc_method): Add value
16257 mpfr_ff_f.
16258 (func_calc_desc): Add mpfr_ff_f union field.
16259 (FUNC_mpfr_ff_f): New macro.
16260 (test_functions): Add atan2, hypot and pow.
16261 (special_fill_min): New function.
16262 (special_fill_minus_min): Likewise.
16263 (special_fill_min_subnorm): Likewise.
16264 (special_fill_minus_min_subnorm): Likewise.
16265 (special_real_inputs): Add min, -min, min_subnorm and
16266 -min_subnorm.
16267 (calc_generic_results): Handle mpfr_ff_f.
16268 * sysdeps/i386/fpu/libm-test-ulps: Update.
16269 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16270
5764c27f
WN
162712013-12-16 Will Newton <will.newton@linaro.org>
16272
16273 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
16274 (Aligned Memory Blocks): Add documentation for aligned_alloc
16275 and suggest it as an alternative to posix_memalign.
16276 (Hooks for Malloc): Document __memalign_hook is also called
16277 for aligned_alloc. (Summary of Malloc): Add summary for
16278 aligned alloc. Document __memalign_hook is also called
16279 for aligned_alloc.
16280
0a096e44
WN
162812013-12-16 Will Newton <will.newton@linaro.org>
16282
16283 * manual/memory.texi (Malloc Examples): Clarify default
16284 alignment documentation. Suggest posix_memalign rather
16285 than memalign or valloc.
16286 (Aligned Memory Blocks): Remove suggestion to use memalign
16287 or valloc. Remove obsolete comment about BSD.
16288 Document memalign errno values and mark the function obsolete.
16289 Document posix_memalign returned error codes. Mark valloc
16290 as obsolete. (Hooks for Malloc): __memalign_hook is also
16291 called for posix_memalign and valloc.
16292 (Summary of Malloc): Add posix_memalign to function summary.
16293 __memalign_hook is also called for posix_memalign and valloc.
16294
8d561986
SP
162952013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
16296
16297 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
16298 TAYLOR_SIN.
16299 (__sin): Adjust.
16300 (__cos): Likewise.
16301 (sloww): Use mynumber union. Expand ternary operator into
16302 if-else statements.
16303 (cslow): use mynumber union.
16304
73616a74
AM
163052013-12-16 Allan McRae <allan@archlinux.org>
16306
9e8ac24b
AM
16307 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
16308 * configure: Regenerated.
16309
6f8e37eb
AM
16310 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
16311
8894bad3
AM
16312 [BZ #14120]
16313 * configure.ac: Added --enable-maintainer-mode. Check for
16314 autoconf when enabled.
16315 * configure: Regenerated.
16316
73616a74
AM
16317 * nscd/nscd.service: New file.
16318 * nscd/nscd.tmpfiles: New file.
16319
584b18eb
OB
163202013-12-14 Ondřej Bílka <neleai@seznam.cz>
16321
16322 [BZ #12100]
16323 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
16324 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
16325 * sysdeps/x86_64/multiarch/strstr.c: ... here.
16326 (strstr): Add __strstr_sse2_unaligned ifunc.
16327 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
16328 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
16329 (strcasestr): Remove __strcasestr_sse42 ifunc.
16330 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
16331 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
16332 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
16333
8a5c7897
KK
163342013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16335
16336 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
16337 * sysdeps/sh/bits/fenv.h: ... here.
16338 * sysdeps/sh/sh4/fpu/bits: Remove directory.
16339
fd712ef3
AZ
163402013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16341
16342 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
16343
42fcb46c
AZ
16344 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
16345 hypotf multiarch implementations.
16346 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
16347 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
16348 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
16349 multiarch hypot for PPC64.
16350 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
16351 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
16352 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
16353 multiarch hypotf for PPC64.
16354
83efded4
AZ
16355 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
16356 modff multiarch implementations.
16357 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
16358 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
16359 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
16360 multiarch modf for PPC64.
16361 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
16362 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
16363 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
16364 multiarch modff for PPC64.
16365
43e246d2
AZ
16366 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
16367 and logl multiarch implementations.
16368 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
16369 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
16370 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
16371 multiarch logb for PPC64.
16372 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
16373 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
16374 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
16375 multiarch logb for PPC64.
16376 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
16377 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
16378 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
16379 multiarch logb for PPC64.
16380
8fdad123
AZ
16381 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
16382 isinff multiarch implementation.
16383 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
16384 file.
16385 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
16386 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
16387 multiarch isinf for PPC64.
16388 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
16389 file.
16390 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
16391 multiarch isinff for PPC64.
16392
1481d706
AZ
16393 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
16394 finitef multiarch implementation.
16395 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
16396 file.
16397 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
16398 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
16399 multiarch finite for PPC64.
16400 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
16401 file.
16402 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
16403 multiarch finitef for PPC64.
16404
5ccd5fc8
AZ
16405 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
16406 lrint multiarch implementation.
16407 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
16408 file.
16409 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
16410 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
16411 multiarch llrint for PPC64.
16412 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
16413 multiarch lrint for PPC64.
16414
2568f3fa
AZ
16415 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
16416 copysignf multiarch implementation.
16417 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
16418 file.
16419 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
16420 file.
16421 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
16422 multiarch copysign for PPC64.
16423 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
16424 multiarch copysignf for PPC64.
16425
1cb341fd
AZ
16426 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
16427 multiarch implementation.
16428 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
16429 file.
16430 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
16431 file.
16432 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
16433 file.
16434 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
16435 file.
16436 multiarch llround for PPC64.
16437 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
16438 multiarch trunc for PPC64.
16439 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
16440 multiarch truncf for PPC64.
16441
59a3e194
AZ
16442 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
16443 multiarch implementation.
16444 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
16445 file.
16446 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
16447 file.
16448 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
16449 file.
16450 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
16451 file.
16452 multiarch llround for PPC64.
16453 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
16454 multiarch round for PPC64.
16455 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
16456 multiarch roundf for PPC64.
16457
357fd3b4
AZ
16458 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
16459 multiarch implementation.
16460 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
16461 file.
16462 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
16463 file.
16464 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
16465 file.
16466 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
16467 file.
16468 multiarch llround for PPC64.
16469 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
16470 multiarch floor for PPC64.
16471 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
16472 multiarch floorf for PPC64.
16473
96770f12
AZ
16474 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
16475 multiarch implementation.
16476 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
16477 file.
16478 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
16479 file.
16480 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
16481 file.
16482 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
16483 file.
16484 multiarch llround for PPC64.
16485 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
16486 multiarch ceil for PPC64.
16487 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
16488 multiarch ceilf for PPC64.
16489
c3627f6e
AZ
16490 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
16491 multiarch implementation.
16492 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
16493 file.
16494 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
16495 file.
16496 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
16497 file.
16498 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
16499 multiarch llround for PPC64.
16500 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
16501 multiarch lround for PPC64.
16502
b2284ad7
AZ
16503 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
16504 multiarch implementation.
16505 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
16506 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
16507 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
16508 file.
16509 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
16510 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
16511 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
16512 multiarch isnan for PPC64.
16513 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
16514 multiarch isnanf for PPC64.
16515
69bbc63d
AZ
16516 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
16517 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
16518 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
16519 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
16520 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
16521 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
16522
c24517c9
AZ
16523 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
16524 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
16525 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
16526 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
16527
a52374e8
AZ
16528 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
16529 multiarch implementations.
16530 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16531 (__libc_ifunc_impl_list): Likewise.
16532 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
16533 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
16534 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
16535 multiarch stpcpy for PPC64.
16536
7f5ec113
AZ
16537 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
16538 multiarch implementations.
16539 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16540 (__libc_ifunc_impl_list): Likewise.
16541 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
16542 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
16543 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
16544 multiarch strcpy for PPC64.
16545
e28bcd42
AZ
16546 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
16547 redefine function name.
16548 (_wordcopy_fwd_dest_aligned): Likewise.
16549 (_wordcopy_bwd_aligned): Likewise.
16550 (_wordcopy_bwd_dest_aligned): Likewise.
16551 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
16552 multiarch implementations.
16553 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16554 (__libc_ifunc_impl_list): Likewise.
16555 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
16556 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
16557 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
16558 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
16559 multiarch wcscpy for PPC64.
16560
92cacfce
AZ
16561 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
16562 multiarch implementations.
16563 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16564 (__libc_ifunc_impl_list): Likewise.
16565 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
16566 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
16567 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
16568 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
16569 multiarch wcscpy for PPC64.
16570
7b714620
AZ
16571 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
16572 multiarch implementations.
16573 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16574 (__libc_ifunc_impl_list): Likewise.
16575 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
16576 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
16577 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
16578 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
16579 multiarch wcsrchr for PPC64.
16580
16fd2ae3
AZ
16581 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
16582 multiarch implementations.
16583 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16584 (__libc_ifunc_impl_list): Likewise.
16585 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
16586 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
16587 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
16588 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
16589 multiarch wcschr for PPC64.
16590
9ee2969b
AZ
16591 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
16592 multiarch implementations.
16593 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16594 (__libc_ifunc_impl_list): Likewise.
16595 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
16596 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
16597 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
16598 multiarch strchrnul for PPC64.
16599
372dc060
AZ
16600 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
16601 implementations.
16602 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16603 (__libc_ifunc_impl_list): Likewise.
16604 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
16605 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
16606 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
16607 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
16608 strchr for PPC64.
16609
24c2c3b9
AZ
16610 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
16611 implementations.
16612 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16613 (__libc_ifunc_impl_list): Likewise.
16614 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
16615 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
16616 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
16617 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
16618 strncmp for PPC64.
16619
1c92d9a0
AZ
16620 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
16621 multiarch implementations.
16622 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16623 (__libc_ifunc_impl_list): Likewise.
16624 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
16625 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
16626 strncasecmp for PPC64.
16627 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
16628 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
16629 multiarch strncasecmp_l for PPC64.
16630
17de3ee3
AZ
16631 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
16632 multiarch implementations.
16633 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
16634 (__libc_ifunc_impl_list): Likewise.
16635 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
16636 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
16637 multiarch strcasecmp for PPC64.
16638 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
16639 file.
16640 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
16641 multiarch strcasecmp_l for PPC64.
16642
62982bf9
AZ
16643 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
16644 implementations.
16645 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16646 (__libc_ifunc_impl_list): Likewise.
16647 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
16648 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
16649 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
16650 strnlen for PPC64.
16651
a65f4904
AZ
16652 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
16653 implementations.
16654 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16655 (__libc_ifunc_impl_list): Likewise.
16656 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
16657 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
16658 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
16659 strlen for PPC64.
16660
1fd005ad
AZ
16661 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
16662 implementations.
16663 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16664 (__libc_ifunc_impl_list): Likewise.
16665 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
16666 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
16667 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
16668 rawmemrchr for PPC64.
16669
cd05ba91
AZ
16670 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
16671 implementation.
16672 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16673 (__libc_ifunc_impl_list): Likewise.
16674 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
16675 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
16676 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
16677 memrchr for PPC64.
16678
870f8676
AZ
16679 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
16680 implementation.
16681 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16682 (__libc_ifunc_impl_list): Likewise.
16683 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
16684 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
16685 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
16686 memchr for PPC64.
16687
f00be62b
AZ
16688 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
16689 implementation.
16690 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16691 (__libc_ifunc_impl_list): Likewise.
16692 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
16693 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
16694 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
16695 mempcpy for PPC64.
16696
8a29a3d0
AZ
16697 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
16698 avoid cretion of __bzero symbol.
16699 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
16700 Likewise.
16701 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
16702 Likewise.
16703 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
16704 Likewise.
16705 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
16706 multiarch implementations.
16707 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16708 (__libc_ifunc_impl_list): Likewise.
16709 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
16710 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
16711 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
16712 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
16713 bzero for PPC32.
16714 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
16715 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
16716 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
16717 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
16718 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
16719 memset for PPC64.
16720 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
16721
07253fcf
AZ
16722 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
16723 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
16724 implementations.
16725 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16726 (__libc_ifunc_impl_list): Likewise.
16727 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
16728 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
16729 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
16730 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
16731 memcmp for PPC64.
16732
b5beafbc
AZ
16733 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
16734 multiarch for POWER/PPC64.
16735 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
16736 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
16737 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
16738 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
16739 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
16740 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
16741 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
16742 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
16743 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
16744 memcpy for PPC64.
16745
5e6a4d4b
AZ
16746 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
16747 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
16748 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
16749 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
16750 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
16751 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
16752 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
16753 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
16754 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
16755 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
16756 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
16757 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
16758 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
16759 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
16760 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
16761 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
16762 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
16763 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
16764 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
16765 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
16766 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
16767 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
16768
ddfab6dc
KK
167692013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16770
16771 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
16772
19b5525e
SP
167732013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
16774
16775 * benchtests/Makefile (bench): Add exp2 and log2.
16776 (LDLIBS-bench-exp2): Add -lm.
16777 (LDLIBS-bench-log2): Likewise.
16778 * benchtests/exp2-inputs: New inputs file.
16779 * benchtests/log2-inputs: New inputs file.
16780 * benchtests/log-inputs: Add new inputs.
16781 * benchtests/tan-inputs: Likewise.
16782
196f7f5d
SP
167832013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
16784
7a74607f
SP
16785 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
16786 definition...
57f41c40
AS
16787 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
16788 (csloww2): ... from here.
7a74607f 16789
196f7f5d
SP
16790 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
16791 instead of structures.
16792 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
16793 (POLYNOMIAL): Likewise.
16794 (TAYLOR_SLOW): Likewise.
16795 (__sin): Likewise.
16796 (__cos): Likewise.
16797 (slow1): Likewise.
16798 (slow2): Likewise.
16799 (sloww): Likewise.
16800 (sloww1); Likewise.
16801 (sloww2): Likewise.
16802 (bsloww1): Likewise.
16803 (bsloww2): Likewise.
16804 (cslow2): Likewise.
16805 (csloww): Likewise.
16806 (csloww1): Likewise.
16807 (csloww2): Likewise.
16808
0dfa665c
OB
168092013-12-10 Ondřej Bílka <neleai@seznam.cz>
16810
16811 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
57f41c40
AS
16812 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
16813 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
0dfa665c
OB
16814 * malloc/hooks.c (realloc_check): Likewise.
16815
5782a80f
OB
16816 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
16817 * malloc/arena.c: Remove PER_THREAD conditional.
16818 [!PER_THREAD]: Remove code.
16819 (ptmalloc_unlock_all2): Likewise.
16820 (ptmalloc_init): Likewise.
16821 (_int_new_arena): Likewise.
16822 (arena_get2): Likewise.
16823 * malloc/hooks.c (__malloc_get_state): Likewise.
16824 (__malloc_set_state): Likewise.
16825 * malloc/malloc.c: Likewise.
16826 (struct malloc_state): Likewise.
16827 (struct malloc_par): Likewise.
16828 (__libc_realloc): Likewise.
16829 (__libc_mallopt): Likewise.
16830
aeb95445
AZ
168312013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16832
16833 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
16834
e8349efd
OB
168352013-12-09 Ondřej Bílka <neleai@seznam.cz>
16836
16837 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
16838 macro to a function. Check for zero perturb_byte.
16839 (_int_malloc, _int_free): Remove zero perturb_byte checks.
16840
f3eeb3fc 16841 * malloc/malloc.c: (force_reg): Remove.
57f41c40
AS
16842 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
16843 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
f3eeb3fc
OB
16844 force_reg by atomic_forced_read.
16845 * malloc/arena.c (ptmalloc_init): Likewise.
16846 * malloc/hooks.c (top_check): Likewise.
16847
be2f9009
AZ
168482013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16849
16850 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16851
e7b914bd
MT
168522013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
16853
16854 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16855
9f0be4f8
JM
168562013-12-08 Joseph Myers <joseph@codesourcery.com>
16857
16858 * math/auto-libm-test-in: Add tests of lgamma.
16859 * math/auto-libm-test-out: Regenerated.
16860 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
16861 (M_LOG_2_SQRT_PIl): Likewise.
16862 (lgamma_test_data): Use AUTO_TESTS_f_f1.
16863 * math/gen-auto-libm-tests.c (func_calc_method): Add value
16864 mpfr_f_f1.
16865 (func_calc_desc): Add mpfr_f_f1 union field.
16866 (ARGS1): New macro.
16867 (ARGS2): Likewise.
16868 (ARGS3): Likewise.
16869 (ARGS4): Likewise.
16870 (RET1): Likewise.
16871 (RET2): Likewise.
16872 (CALC): Likewise.
16873 (FUNC): Likewise.
16874 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
16875 (test_functions): Add lgamma.
16876 (calc_generic_results): Handle mpfr_f_f1.
16877 * sysdeps/i386/fpu/libm-test-ulps: Update.
16878 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16879
24eeafdb
AZ
168802013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16881
16882 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
16883 __mpn_add_n for PowerPC64/POWER7.
16884 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
16885 __mpn_sub_n for PowerPC64/POWER7.
16886
4a2c0fd4
AZ
16887 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
16888 __mpn_addmul_1 for PowerPC64.
16889 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
16890 __mpn_submul_1 for PowerPC64.
16891 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
16892 for PowerPC64.
16893 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
16894 for PowerPC64.
16895
4b5b548c
FS
168962013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
16897
16898 [BZ #15089]
16899 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
16900
0a3ac0aa
AZ
169012013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16902
16903 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
16904
ccdc8438
AZ
16905 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
16906 add multiarch folders.
16907 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
16908 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
16909 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
16910 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
16911 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
16912 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
16913 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
16914 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
16915 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
16916 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
16917 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
16918 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
16919 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
16920 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
16921 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
16922 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
16923 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
16924
2e973d99
AZ
16925 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
16926 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
16927 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
16928 New file.
16929 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
16930 New file.
16931 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
16932 multiarch __ieee754_hypot for PowerPC32.
16933 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
16934 New file.
16935 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
16936 New file.
16937 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
16938 multiarch __ieee754_hypotf for PowerPC32.
16939
2d9470b2
AZ
16940 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
16941 long_double_symbol only if __logbl is defined.
16942 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
16943 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
16944 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
16945 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
16946 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
16947 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
16948 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
16949 path for implementation.
16950 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
16951 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
16952 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
16953 logb, and logbl multiarch implementations for PowerPC32.
16954 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
16955 file.
16956 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
16957 file.
16958 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
16959 multiarch logb for PowerPC32.
16960 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
16961 file.
16962 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
16963 file.
16964 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
16965 multiarch logbf for PowerPC32.
16966 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
16967 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
16968 file.
16969 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
16970 multiarch logbl implementation for PowerPC32.
16971
5212ffce
AZ
16972 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
16973 and modff multiarch implementations.
16974 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
16975 New file.
16976 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
16977 New file.
16978 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
16979 multiarch modf for PowerPC32.
16980 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
16981 New file.
16982 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
16983 New file.
16984 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
16985 multiarch modff for PowerPC32.
16986
79dccf31
AZ
16987 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
16988 and lrintf multiarch implementations.
16989 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
16990 New file.
16991 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
16992 New file.
16993 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
16994 multiarch lrint for PowerPC32.
16995 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
16996 file: multiarch lrintf for PowerPC32.
16997
deb66480
AZ
16998 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
16999 and lroundf multiarch implementations.
17000 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
17001 New file.
17002 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
17003 New file.
17004 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
17005 New file.
17006 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
17007 multiarch lround for PowerPC32.
17008 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
17009 file: multiarch lroundf for PowerPC32.
17010
264b036b
AZ
17011 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
17012 copysign and copysignf multiarch implementations.
17013 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
17014 New file.
17015 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
17016 New file.
17017 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
17018 file: multiarch copysign for PowerPC32.
17019 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
17020 file: multiarch copysignf for PowerPC32.
17021
d47db6c9
AZ
17022 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
17023 and truncf multiarch implementations.
17024 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
17025 New file.
17026 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
17027 file.
17028 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
17029 multiarch trunc for PowerPC32.
17030 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
17031 New file.
17032 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
17033 New file.
17034 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
17035 multiarch truncf for PowerPC32.
17036
ddb60b5a
AZ
17037 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
17038 and roundf multiarch implementations.
17039 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
17040 New file.
17041 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
17042 file.
17043 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
17044 multiarch round for PowerPC32.
17045 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
17046 New file.
17047 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
17048 New file.
17049 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
17050 multiarch roundf for PowerPC32.
17051
bedcf49b
AZ
17052 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
17053 and floorf multiarch implementations.
17054 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
17055 New file.
17056 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
17057 file.
17058 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
17059 multiarch floor for PowerPC32.
17060 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
17061 New file.
17062 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
17063 New file.
17064 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
17065 multiarch floorf for PowerPC32.
17066
35ae5b40
AZ
17067 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
17068 and ceilf multiarch implementations.
17069 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
17070 New file.
17071 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
17072 file.
17073 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
17074 multiarch ceil for PowerPC32.
17075 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
17076 New file.
17077 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
17078 file.
17079 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
17080 multiarch ceilf for PowerPC32.
17081
ae1a4cd9
AZ
17082 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
17083 is defined.
17084 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
17085 FINITEF is defined.
17086 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
17087 and finitef multiarch implementations.
17088 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
17089 New file.
17090 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
17091 file.
17092 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
17093 multiarch finite for PowerPC32.
17094 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
17095 New file.
17096 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
17097 file: multiarch finitef for PowerPC32.
17098
64fffd65
AZ
17099 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
17100 and isinff multiarch implementations.
17101 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
17102 file.
17103 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
17104 file.
17105 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
17106 multiarch isinf for PowerPC32.
17107 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
17108 New file.
17109 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
17110 multiarch isinff for PowerPC32.
17111
8e4e7ba2
AZ
17112 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
17113 alias when __isnan is defined.
17114 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
17115 and isnanf multiarch implementations.
17116 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
17117 file.
17118 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
17119 file.
17120 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
17121 file.
17122 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
17123 file.
17124 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
17125 multiarch isnan for PowerPC32.
17126 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
17127 New file.
17128 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
17129 New file.
17130 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
17131 multiarch isnanf for PowerPC32.
17132
ddba588e
AZ
17133 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
17134 and sqrtf multiarch implementations.
17135 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
17136 file.
17137 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
17138 file.
17139 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
17140 multiarch sqrt for PowerPC32.
17141 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
17142 file.
17143 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
17144 file.
17145 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
17146 multiarch sqrtf for PowerPC32.
17147
0f96a2f0
AZ
17148 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
17149 and llroundf multiarch implementations.
17150 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
17151 New file.
17152 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
17153 New file.
17154 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
17155 New file.
17156 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
17157 file: multiarch llround for PowerPC32.
17158 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
17159 file: multiarch llroundf for PowerPC32.
17160
c9b5d79e
AZ
17161 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
17162 multiarch PowerPC32 fpu implementations.
17163 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
17164 New file.
17165 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
17166 New file.
17167 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
17168 multiarch llrint for PowerPC32.
17169 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
17170 New file.
17171 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
17172 New file.
17173 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
17174 file.
17175
9cbb3aab
AZ
17176 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
17177
ea5a72f8
AZ
17178 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
17179 file.
17180 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
17181 file.
17182 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
17183 file.
17184 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
17185 multiarch wordcopy for PPC32.
17186 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
17187 wordcopy objects.
17188 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17189 (__libc_ifunc_impl_list): Likewise.
17190 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
17191 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
17192 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
17193 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
17194 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
17195 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
17196
93be09e7
AZ
17197 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
17198 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
17199 file.
17200 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
17201 file.
17202 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
17203 file.
17204 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
17205 multiarch wcscpy for PPC32.
17206 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
17207 multiarch objects.
17208 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17209 (__libc_ifunc_impl_list): Likewise.
17210 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
17211 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
17212 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
17213 sysdeps/powerpc/power6/wcscpy.c.
17214
bb04e529
AZ
17215 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
17216 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
17217 file.
17218 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
17219 file.
17220 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
17221 file.
17222 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
17223 multiarch wcsrchr for PPC32.
17224 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
17225 multiarch objects.
17226 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17227 (__libc_ifunc_impl_list): Likewise.
17228 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
17229 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
17230 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
17231 sysdeps/powerpc/power6/wcsrchr.c.
17232
05b5cd1c
AZ
17233 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
17234 file.
17235 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
17236 file.
17237 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
17238 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
17239 multiarch wcschr for PPc32.
17240 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
17241 multiarch objects.
17242 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17243 (__libc_ifunc_impl_list): Likewise.
17244 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
17245 * sysdeps/powerpc/power6/wcschr.c: ... to here.
17246 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
17247 sysdeps/powerpc/power6/wcschr.c.
17248
ba964147
AZ
17249 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
17250 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
17251 file.
17252 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
17253 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
17254 file: multiarch strchr for PPC32.
17255 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
17256 multiarch objects.
17257 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17258 (__libc_ifunc_impl_list): Likewise.
17259
31c81aaa
AZ
17260 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
17261 name.
17262 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
17263 file.
17264 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
17265 file.
17266 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
17267 multiarch strchrnul for PPC32.
17268 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
17269 multiarch objects.
17270 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17271 (__libc_ifunc_impl_list): Likewise.
17272
0d0607d9
AZ
17273 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
17274 file.
17275 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
17276 multiarch strncasecmp for PPC32.
17277 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
17278 file.
17279 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
17280 multiarch strncasecmp_l for PPC32.
17281 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
17282 strncasecmp multiarch objects.
17283 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17284 (__libc_ifunc_impl_list): Likewise.
17285
4dfd5c86
AZ
17286 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
17287 file.
17288 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
17289 multiarch strncasecmp for PPC32.
17290 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
17291 New file.
17292 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
17293 multiarch strcasecmp_l for PPC32.
17294 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
17295 multiarch objects.
17296 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17297 (__libc_ifunc_impl_list): Likewise.
17298
a19e01a3
AZ
17299 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
17300 file.
17301 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
17302 file.
17303 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
17304 multiarch strncmp for PPC32.
17305 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
17306 multiarch objects.
17307 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17308 (__libc_ifunc_impl_list): Likewise.
17309
ae9cf7a2
AZ
17310 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
17311 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
17312 file.
17313 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
17314 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
17315 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
17316 multiarch objects.
17317 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17318 (__libc_ifunc_impl_list): Likewise.
17319
3148bb7d
AZ
17320 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
17321 file.
17322 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
17323 file.
17324 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
17325 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
17326 multiarch objects.
17327 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17328 (__libc_ifunc_impl_list): Likewise.
17329
7af8b946
AZ
17330 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
17331 file.
17332 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
17333 file.
17334 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
17335 multiarch rawmemchr for PPC32.
17336 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
17337 multiarch objects.
17338 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17339 (__libc_ifunc_impl_list): Likewise.
17340
03a6aa6a
AZ
17341 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
17342 file.
17343 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
17344 file.
17345 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
17346 file: memrchr multiarch for PPC32.
17347 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
17348 multiarch objects.
17349 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17350 (__libc_ifunc_impl_list): Likewise.
17351
1c62e6d9
AZ
17352 * string/memchr.c (__memchr): Using macro to redefine symbol name.
17353 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
17354 file.
17355 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
17356 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
17357 multiarch memchr for PPC32.
17358 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
17359 multiarch objects.
17360 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
17361 (__libc_ifunc_impl_list): Likewise.
17362
87da8bdb
AZ
17363 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
17364 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
17365 file.
17366 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
17367 file.
17368 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
17369 file: multiarch mempcpy for PPC32.
17370 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
17371 multiarch objects.
17372 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
17373 (__libc_ifunc_impl_list): Likewise.
17374
20ed4714
AZ
17375 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
17376 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
17377 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
17378 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
17379 multiarch bzero for PPC32.
17380 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
17381 file.
17382 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
17383 file.
17384 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
17385 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
17386 file: multiarch memset for PPC32.
17387 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
17388 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
17389 memset multiarch objects.
17390 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
17391 (__libc_ifunc_impl_list): Likewise.
17392
ab3e3a46
AZ
17393 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
17394 file.
17395 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
17396 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
17397 memcmp for PPC32.
17398 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
17399 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
17400 multiarch objects.
17401 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
17402 (__libc_ifunc_impl_list): Likewise.
17403
930de6f0
AZ
17404 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
17405 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
17406 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
17407 file.
17408 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
17409 file.
17410 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
17411 file.
17412 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
17413 multiarch memcpy for PPC32.
17414 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
17415 multiarch objects.
17416 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
17417 (__libc_ifunc_impl_list): Likewise.
17418
4c628e00
AZ
17419 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
17420 support multiarch for POWER/PPC32.
17421 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
17422 Likewise.
17423 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
17424 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
17425 Implies file to make multiarch folder appers before the fpu and
17426 default folder for power4 configuration.
17427
f4479220
SP
174282013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
17429
17430 * scripts/bench.pl: Append volatile keyword to type.
17431
8517800f
KK
174322013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17433
17434 * sysdeps/sh/sotruss-lib.c: New file.
17435 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
17436
180138f1
AZ
174372013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17438
17439 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17440
bbf37bdc
JM
174412013-12-05 Joseph Myers <joseph@codesourcery.com>
17442
e47cc4e0
JM
17443 [BZ #6810]
17444 * math/w_tgamma.c: Include <errno.h>.
17445 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
17446 * math/w_tgammaf.c: Include <errno.h>.
17447 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
17448 * math/w_tgammal.c: Include <errno.h>.
17449 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
17450 * math/auto-libm-test-in: Do not allow missing errno on tgamma
17451 underflow. Add more tgamma tests.
17452 * math/auto-libm-test-out: Regenerated.
17453 * sysdeps/i386/fpu/libm-test-ulps: Update.
17454 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17455
bbf37bdc
JM
17456 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
17457 sin, sinh, tan, tanh, tgamma, y0 and y1.
17458 * math/auto-libm-test-out: Regenerated.
17459 * math/libm-test.inc (TEST_COND_x86_64): New macro.
17460 (TEST_COND_x86): Likewise.
17461 (M_E2l): Remove macro.
17462 (M_E3l): Likewise.
17463 (M_2_SQRT_PIl): Likewise.
17464 (M_SQRT_PIl): Likewise.
17465 (M_1_DIV_El): Likewise.
17466 (log_test_data): Use AUTO_TESTS_f_f.
17467 (log10_test_data): Likewise.
17468 (log1p_test_data): Likewise.
17469 (log2_test_data): Likewise.
17470 (sin_test_data): Likewise.
17471 (sin_tonearest_test_data): Likewise.
17472 (sin_towardzero_test_data): Likewise.
17473 (sin_downward_test_data): Likewise.
17474 (sin_upward_test_data): Likewise.
17475 (sinh_test_data): Likewise.
17476 (sinh_tonearest_test_data): Likewise.
17477 (sinh_towardzero_test_data): Likewise.
17478 (sinh_downward_test_data): Likewise.
17479 (sinh_upward_test_data): Likewise.
17480 (tan_test_data): Likewise.
17481 (tan_tonearest_test_data): Likewise.
17482 (tan_towardzero_test_data): Likewise.
17483 (tan_downward_test_data): Likewise.
17484 (tan_upward_test_data): Likewise.
17485 (tanh_test_data): Likewise.
17486 (tgamma_test_data): Likewise.
17487 (y0_test_data): Likewise.
17488 (y1_test_data): Likewise.
17489 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
17490 (special_real_inputs): Add pi/4.
17491 * sysdeps/i386/fpu/libm-test-ulps: Update.
17492 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17493
eb5ad6b9
AZ
174942013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17495
17496 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
17497 "longjmp_target" static probes.
17498 (__longjmp): Rename to __longjmp_symbol.
17499 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
17500 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
17501 on which longjmp to generate.
17502 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
17503 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
17504 probe.
17505 (__sigsetjmp): Rename to __sigsetjmp_symbol.
17506 (__sigjmp_save): Rename to __sigjmp_save_symbol.
17507 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
17508 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
17509 and __sigjmp_save_symbol based on which sigsetjmp to generated.
17510 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
17511 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
17512 __longjmp_symbol based on which __longjmp to generate.
17513 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
17514 probe.
17515 (setjmp): Rename to setjmp_symbol.
17516 (__sigsetjmp): Rename to __sigsetjmp_symbol.
17517 (_setjmp): Rename to _setjmp_symbol.
17518 (__sigsetjmp): Rename to __sigsetjmp_symbol.
17519 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
17520 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
17521 which setjmp to generate.
17522 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
17523 "longjmp_target" static probes.
17524
d136c6dc
SP
175252013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
17526
9298ecba
SP
17527 * benchtests/README: Add note about output arguments.
17528 * benchtests/bench-sincos.c: Remove file.
17529 * benchtests/sincos-inputs: New file.
17530 * scripts/bench.pl: Identify output arguments and define
17531 static variables for them.
17532
232983e9
SP
17533 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
17534
d136c6dc
SP
17535 [BZ #15941]
17536 * Makefile (INSTALL): Add install-plain.texi as the primary
17537 dependency.
17538 * manual/install-plain.texi: New file.
17539 * manual/install.texi: Include node directive only for
17540 non-plaintext output.
17541
699ff837
JM
175422013-12-04 Joseph Myers <joseph@codesourcery.com>
17543
ab07cea8
JM
17544 * stdlib/longlong.h: Update from GCC.
17545
699ff837
JM
17546 [BZ #6807]
17547 [BZ #15901]
17548 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
17549 * math/w_j0f.c (y0f): Likewise.
17550 * math/w_j0l.c (__y0l): Likewise.
17551 * math/w_j1.c (y1): Likewise.
17552 * math/w_j1f.c (y1f): Likewise.
17553 * math/w_j1l.c (__y1l): Likewise
17554 * math/w_jn.c (yn): Likewise.
17555 * math/w_jnf.c (ynf): Likewise.
17556 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
17557 Bessel function pole errors in _POSIX_ mode. Use NAN as return
17558 value for Bessel function domain errors outside _SVID_ mode.
17559 Adjust sign of return value for yn (negative integer, 0).
17560 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
17561 by zero in return for negative x and set sign appropriately for
17562 negative n.
17563 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
17564 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
17565 * math/libm-test.inc (y0_test_data): Add more tests and adjust
17566 expectations in error cases.
17567 (y1_test_data): Likewise.
17568 (yn_test_data): Likewise.
17569 * sysdeps/i386/fpu/libm-test-ulps: Update.
17570 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17571
5b118558
UW
175722013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
17573
17574 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
17575 "64" to "64-v1". Add "64-v2".
17576 (abi-64-options): Rename to ...
17577 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
17578 (abi-64-condition): Rename to ...
17579 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
17580 (abi-64-ld-soname): Rename to ...
17581 (abi-64-v1-ld-soname): ... this.
17582 (abi-64-v2-options): Define.
17583 (abi-64-v2-condition): Likewise.
17584 (abi-64-v2-ld-soname): Likewise.
17585 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
17586 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
17587 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
17588 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
17589 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
17590
61cd8fe4
UW
175912013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
17592 Alan Modra <amodra@gmail.com>
17593
17594 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
17595 New versions for use with the ELFv2 ABI.
17596 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
17597 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
17598 declaration.
17599 (struct La_ppc64v2_retval): Likewise.
17600 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
17601 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
17602 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
17603 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
17604 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
17605 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
17606 Do not save or restore CR.
17607 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
17608 (_dl_profile_resolve): Do no save or restore CR. Support extended
17609 return values for ELFv2 ABI. Fix location of FPR return registers.
17610 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
17611 updated values for _CALL_ELF == 2.
17612 (La_regs, La_retval, int_retval): Likewise.
17613
8b8a692c
UW
176142013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
17615
17616 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
17617 (FRAME_MIN_SIZE_PARM): Likewise.
17618 (FRAME_BACKCHAIN): Likewise.
17619 (FRAME_CR_SAVE): Likewise.
17620 (FRAME_LR_SAVE): Likewise.
17621 (FRAME_TOC_SAVE): Likewise.
17622 (FRAME_PARM_SAVE): Likewise.
17623 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
17624 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
17625 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
17626 (call_mcount_parm_offset): New macro.
17627 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
17628 (PROF): Use symbolic stack frame offsets.
17629 (TAIL_CALL_SYSCALL_ERROR): Likewise.
17630 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
17631 Redefine in terms of FRAME_MIN_SIZE.
17632 (_dl_runtime_resolve): Use symbolic stack frame offsets.
17633 (_dl_profile_resolve): Likewise. Update comment.
17634 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
17635 symbols stack frame offsets.
17636 (__sigsetjmp): Likewise.
17637 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
17638 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
17639 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
17640 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
17641
17642 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
17643 (FRAME_BACKCHAIN): Remove.
17644 (FRAME_CR_SAVE): Likewise.
17645 (FRAME_LR_SAVE): Likewise.
17646 (FRAME_COMPILER_DW): Likewise.
17647 (FRAME_LINKER_DW): Likewise.
17648 (FRAME_TOC_SAVE): Likewise.
17649 (FRAME_PARM_SAVE): Likewise.
57f41c40
AS
17650 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
17651 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
17652 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
8b8a692c
UW
17653 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
17654 (CHECK_SP): Use symbolic stack frame offsets.
17655 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
17656 zone" instead of caller's parameter save area for temp storage.
17657 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
17658 Likewise. Also, use symbolic stack frame offsets.
17659 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
17660 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
17661 our own stack frame instead of the caller's.
17662 (__socket): Use symbolic stack frame offsets.
17663
122b66de
UW
176642013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
17665 Alan Modra <amodra@gmail.com>
17666
17667 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
17668 Define.
57f41c40
AS
17669 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
17670 (PPC64_LOCAL_ENTRY_OFFSET): Define.
122b66de
UW
17671 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
17672 New function.
17673 (elf_machine_fixup_plt): Call it.
17674 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
17675 reloc arguments.
17676 (elf_machine_rela): Update call to elf_machine_plt_conflict.
57f41c40
AS
17677 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
17678 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
122b66de
UW
17679 r2 before calling target.
17680
696caf1d
UW
176812013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
17682 Alan Modra <amodra@gmail.com>
17683
17684 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
17685 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
17686 versions of macros to support ELFv2 ABI.
17687 (LOCALENTRY): New macro.
17688 (ENTRY, EALIGN): Use it.
17689 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
17690 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
17691 fall through into ENTRY entry point.
17692 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
17693 Only define if _CALL_ELF != 2.
17694
17695 (elf_machine_matches_host): Verify ABI version matches.
17696 (RTLD_START): Use LOCALENTRY.
17697 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
17698 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
17699 (PLT_ENTRY_WORDS): New macro.
17700 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
17701 (elf_machine_runtime_setup): Support ELFv2 ABI.
17702 (elf_machine_fixup_plt): Likewise.
17703 (elf_machine_plt_conflict): Likewise.
17704 (resolve_ifunc): Likewise.
17705 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
17706 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
17707 Likewise.
17708 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
17709 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
17710 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
17711 (makecontext): Support ELFv2 ABI.
17712 * elf/elf.h (EF_PPC64_ABI): Define.
17713
d31beafa
UW
177142013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
17715
57f41c40
AS
17716 * sysdeps/powerpc/powerpc64/sysdep.h
17717 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
17718 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
17719 (ENTRY) [ASSEMBLER]: ... but instead here ...
17720 (EALIGN) [ASSEMBLER]: ... and here.
17721 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
17722 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
17723 (ENTRY_2) [!ASSEMBLER]: Use it.
d31beafa
UW
17724 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
17725 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
57f41c40
AS
17726 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
17727 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
d31beafa
UW
17728 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
17729 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
17730 Use PPC64_LOAD_FUNCPTR.
17731
b525166b
UW
17732 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
17733
7ec07d9a
AM
177342013-12-04 Alan Modra <amodra@gmail.com>
17735
17736 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
17737 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
17738 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
17739 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
17740
17741 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
17742 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
17743 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
17744 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
17745 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
17746 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
17747
5162e7dd
UW
177482013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
17749
17750 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
17751 (__makecontext): Fix incorrect CFI when backtracing out of
17752 context created via makecontext.
17753 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
17754 (__setcontext): Fix incorrect CFI during switch to new context.
17755 (__novec_setcontext): Likewise.
17756
19e3372b
OB
177572013-12-04 Ondřej Bílka <neleai@seznam.cz>
17758
17759 [BZ #4772]
17760 * time/strptime_l.c (__strptime_internal): Allow modifiers
17761 in strptime.
17762 * time/tst-strptime.c (day_tests): Add testcase.
17763
ecaf142d
SP
177642013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
17765
17766 * scripts/bench.pl: Skip over blank lines.
17767
fbf964ae
PE
177682013-12-04 Paul Eggert <eggert@cs.ucla.edu>
17769
17770 [BZ #926]
17771 * manual/time.texi (Calendar Time): Clarify what timezone functions
17772 use.
17773
fa60a674
AZ
177742013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17775
17776 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17777
d674f0ef
OB
177782013-12-04 Ondřej Bílka <neleai@seznam.cz>
17779
17780 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
17781 implementation.
17782 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
17783 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
17784 * debug/memset_chk.c (__memset_chk): Likewise.
17785 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
17786 * debug/strncpy_chk.c: Likewise.
17787
17dea188
JM
177882013-12-03 Joseph Myers <joseph@codesourcery.com>
17789
749008ff
JM
17790 [BZ #15268]
17791 [BZ #15425]
17792 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
17793 (__ieee754_exp): For possibly underflowing results, check size of
17794 result and force underflow exception if required.
17795 * math/auto-libm-test-in: Add more tests of exp.
17796 * math/auto-libm-test-out: Regenerated.
17797 * sysdeps/i386/fpu/libm-test-ulps: Update.
17798 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17799
17dea188
JM
17800 [BZ #16283]
17801 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
17802 * math/w_exp2f.c (__exp2f): Likewise.
17803 * math/w_exp2l.c (__exp2l): Likewise.
17804 * math/auto-libm-test-in: Do not allow missing errno on exp2
17805 underflow.
17806 * math/auto-libm-test-out: Regenerated.
17807
b20de2c3
OB
178082013-12-03 Ondřej Bílka <neleai@seznam.cz>
17809
17810 [BZ #16274]
17811 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
17812 handle filename validation.
17813 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
17814 (do_open): Delete.
17815
d8e2dbe3
JM
178162013-12-03 Joseph Myers <joseph@codesourcery.com>
17817
34e16df5
JM
17818 [BZ #6786]
17819 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
17820 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
17821 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
17822 <float.h>.
17823 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
17824 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
17825 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
17826 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
17827 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
17828 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
17829 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
17830 * math/auto-libm-test-in: Don't allow missing errno from erfc.
17831 Add more erfc tests.
17832 * math/auto-libm-test-out: Regenerated.
17833 * sysdeps/i386/fpu/libm-test-ulps: Update.
17834 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17835
d8e2dbe3
JM
17836 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
17837 exp2, expm1, j0 and j1.
17838 * math/auto-libm-test-out: Regenerated.
17839 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
17840 (erfc_test_data): Likewise.
17841 (exp_test_data): Likewise.
17842 (exp_tonearest_test_data): Likewise.
17843 (exp_towardzero_test_data): Likewise.
17844 (exp_downward_test_data): Likewise.
17845 (exp_upward_test_data): Likewise.
17846 (exp10_test_data): Likewise.
17847 (exp2_test_data): Likewise.
17848 (expm1_test_data): Likewise.
17849 (j0_test_data): Likewise.
17850 (j1_test_data): Likewise.
17851 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
17852 (input_flag_type): Add flag_xfail_rounding.
17853 (input_flags): Add xfail-rounding.
17854 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
17855 (output_for_one_input_case): Handle flag_xfail_rounding.
17856 * sysdeps/i386/fpu/libm-test-ulps: Update.
17857 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17858
18d14251
AJ
178592013-12-03 Aurelien Jarno <aurelien@aurel32.net>
17860
3d2e6075 17861 [BZ #16289]
18d14251
AJ
17862 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
17863 division by 0.
17864
520d437b
SP
178652013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
17866
17867 [BZ #16195]
17868 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
17869 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
17870 (STAP_PROBE0): New macro.
17871 (STAP_PROBE1): Likewise.
17872 (STAP_PROBE2): Likewise.
17873 (STAP_PROBE3): Likewise.
17874 (STAP_PROBE4): Likewise.
17875
416e0145
OB
178762013-12-02 Ondřej Bílka <neleai@seznam.cz>
17877
17878 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
17879
9d17796a
SE
178802013-12-02 Steve Ellcey <sellcey@mips.com>
17881
17882 * benchtests/Makefile (bench): Add sqrt.
17883 (LDLIBS-bench-sqrt): New.
17884 * benchtests/sqrt-input: New.
17885
f524d6a8
PS
178862013-12-02 Pavel Simerda <psimerda@redhat.com>
17887
639a0ef8
PS
17888 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
17889 (GAIH_EAI): Likewise.
17890 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
17891 (gaih_inet): Likewise.
17892 (getaddrinfo): Don't use GAIH_EAI.
17893
f524d6a8
PS
17894 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
17895 (struct gaih): Remove definition.
17896
df3aedaf
SP
178972013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
17898
17899 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
17900 Use HERRNOP directly.
17901
1ab19dec
AZ
179022013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17903
b42ad38d 17904 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1ab19dec 17905
176b0c79
JM
179062013-11-30 Joseph Myers <joseph@codesourcery.com>
17907
17908 * math/gen-auto-libm-tests.c (test_functions): Add more
17909 single-argument functions.
17910 (special_fill_pi_2): New function.
17911 (special_fill_minus_pi_2): Likewise.
17912 (special_fill_pi_6): Likewise.
17913 (special_fill_minus_pi_6): Likewise.
17914 (special_fill_pi_3): Likewise.
17915 (special_fill_2pi_3): Likewise.
17916 (special_fill_e): Likewise.
17917 (special_fill_1_e): Likewise.
17918 (special_fill_e_minus_1): Likewise.
17919 (special_real_inputs): Add more special inputs.
17920 (output_for_one_input_case): Do not require ERANGE on underflow to
17921 zero if round-to-nearest result does not underflow to zero, unless
17922 exact results required.
17923 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
17924 atan, atanh, cbrt, cos and cosh.
17925 * math/auto-libm-test-out: Regenerated.
17926 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
17927 (acos_tonearest_test_data): Likewise.
17928 (acos_towardzero_test_data): Likewise.
17929 (acos_downward_test_data): Likewise.
17930 (acos_upward_test_data): Likewise.
17931 (acosh_test_data): Likewise.
17932 (asin_test_data): Likewise.
17933 (asin_tonearest_test_data): Likewise.
17934 (asin_towardzero_test_data): Likewise.
17935 (asin_upward_test_data): Likewise.
17936 (asinh_test_data): Likewise.
17937 (atan_test_data): Likewise.
17938 (atanh_test_data): Likewise.
17939 (cbrt_test_data): Likewise.
17940 (cos_test_data): Likewise.
17941 (cos_tonearest_test_data): Likewise.
17942 (cos_towardzero_test_data): Likewise.
17943 (cos_downward_test_data): Likewise.
17944 (cos_upward_test_data): Likewise.
17945 (cosh_test_data): Likewise.
17946 (cosh_tonearest_test_data): Likewise.
17947 (cosh_towardzero_test_data): Likewise.
17948 (cosh_downward_test_data): Likewise.
17949 (cosh_upward_test_data): Likewise.
17950 * sysdeps/i386/fpu/libm-test-ulps: Update.
17951 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17952
ffb536d0
JM
179532013-11-29 Joseph Myers <joseph@codesourcery.com>
17954
2a77a467
JM
17955 [BZ #6787]
17956 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
17957 * math/w_exp10f.c (__exp10f): Likewise.
17958 * math/w_exp10l.c (__exp10l): Likewise.
17959 * math/libm-test.inc (exp10_test_data): Add more tests and expect
17960 errno settings in existing tests.
17961
ea3bc4e8
JM
17962 [BZ #14032]
17963 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
17964 precision control set to double precision.
17965 * sysdeps/i386/fpu/w_sqrt.c: New file.
17966 * math/auto-libm-test-in: Add more tests.
17967 * math/auto-libm-test-out: Update.
17968
0712c9d8
JM
17969 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
17970 (sqrt_test_tonearest): New function.
17971 (sqrt_towardzero_test_data): New variable.
17972 (sqrt_test_towardzero): New function.
17973 (sqrt_downward_test_data): New variable.
17974 (sqrt_test_downward): New function.
17975 (sqrt_upward_test_data): New variable.
17976 (sqrt_test_upward): New function.
17977 (main): Call the new functions.
17978
ffb536d0
JM
17979 * math/gen-auto-libm-tests.c: New file.
17980 * math/auto-libm-test-in: Likewise.
17981 * math/auto-libm-test-out: New generated file.
17982 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
17983 variables.
17984 (%beautify): Add generated representations of zero.
17985 (top level): Set $auto_input and call parse_auto_input.
17986 (beautify): Remove trailing "f" from hex float constants.
17987 (parse_args): Handle XFAIL_TEST.
17988 (convert_condition): New function.
17989 (or_value): Likewise.
17990 (or_cond_value): Likewise.
17991 (generate_testfile): Handle AUTO_TESTS_* lines.
17992 (parse_auto_input): New function.
17993 * math/libm-test.inc (XFAIL_TEST): New macro.
17994 (ERRNO_UNCHANGED): Update value.
17995 (ERRNO_EDOM): Likewise.
17996 (ERRNO_ERANGE): Likewise.
17997 (IGNORE_RESULT): Likewise.
17998 (TEST_COND_flt_32): New macro.
17999 (TEST_COND_dbl_64): Likewise.
18000 (TEST_COND_ldbl_96_intel): Likewise.
18001 (TEST_COND_ldbl_96_m68k): Likewise.
18002 (TEST_COND_ldbl_128): Likewise.
18003 (TEST_COND_ldbl_128ibm): Likewise.
18004 (TEST_COND_long32): Likewise.
18005 (TEST_COND_long64): Likewise.
18006 (TEST_COND_before_rounding): Likewise.
18007 (TEST_COND_after_rounding): Likewise.
18008 (enable_test): Handle XFAIL_TEST flag.
18009 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
18010 with finite results.
18011 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
18012 auto-libm-test-out.
18013
acd98a8e
AK
180142013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
18015 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18016
18017 [BZ #16214]
18018 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
18019 __tls_get_addr_internal instead of __tls_get_offset in order to
18020 avoid GOT pointer dependency. Make rtld export
18021 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
18022 __tls_get_addr since we are a __tls_get_offset platform.
18023 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
18024 GOT pointer being set up before.
18025 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
18026
3c1c46a6
JM
180272013-11-28 Joseph Myers <joseph@codesourcery.com>
18028
7475aef5
JM
18029 * manual/math.texi (Errors in Math Functions): Document accuracy
18030 goals.
18031
8bca7cd8
JM
18032 [BZ #15004]
18033 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
18034 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
18035 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
18036 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
18037 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
18038 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
18039 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
18040 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
18041 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
18042 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
18043 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
18044 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
18045 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
18046 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
18047 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
18048 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
18049
91a1f3fe
JM
18050 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
18051 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
18052 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
18053 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
18054 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
18055 Likewise.
18056 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
18057 Likewise.
18058 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
18059 Likewise.
18060 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
18061 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
18062 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
18063 atomic-feupdateenv and flt-rounds.
18064 * sysdeps/powerpc/nofpu/Versions (libc): Add
18065 __atomic_feholdexcept, __atomic_feclearexcept,
18066 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
18067 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
18068 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
18069 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
18070 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
18071 here.
18072 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
18073 Update.
18074
c5df7609
JM
18075 * manual/arith.texi (FP Exceptions): Document that exceptions may
18076 not be raised when matherr is used.
18077 (Math Error Reporting): Document overflow in directed rounding
18078 modes. Document that errno may not be set when finite values are
18079 returned on overflow. Document intent to set errno on underflow
18080 only for underflow to zero.
18081
3c1c46a6
JM
18082 [BZ #16271]
18083 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
18084 round-to-nearest then adjust result for other rounding modes.
18085 * include/fenv.h (fegetround): Use libm_hidden_proto.
18086 * math/fegetround.c (fegetround): Use libm_hidden_def.
18087 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
18088 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
18089 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
18090 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
18091 Likewise.
18092 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
18093 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
18094 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
18095 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
18096
5a4c6d53
SP
180972013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
18098
18099 [BZ #16077]
18100 * nss/Versions (libnss_files): Add
18101 _nss_files_gethostbyname3_r.
18102 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
18103 New function.
18104 (HOST_DB_LOOKUP): Remove macro.
18105 (_nss_files_gethostbyname_r): Implement function without the
18106 HOST_DB_LOOKUP macro.
18107 (_nss_files_gethostbyname2_r): Likewise.
18108
897b98ba
OB
181092013-11-28 Ondřej Bílka <neleai@seznam.cz>
18110
18111 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
18112
6f476861
UB
181132013-11-26 Uros Bizjak <ubizjak@gmail.com>
18114
18115 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
18116 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
18117 warning.
18118
bd12ab55
AZ
181192013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18120
18121 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
18122 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
18123 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
18124 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
18125 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
18126 __fe_nomask_env_priv and attribute_hidden.
18127 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
18128 (libc_feupdateenv_test_ppc): Likewise.
18129 (libc_feresetround_ppc): Likewise.
18130 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
18131 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
18132 compat_symbol macro.
18133 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
18134 (__fe_nomask_env): Likewise.
18135 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
18136
52bb6543
OB
181372013-11-26 Ondřej Bílka <neleai@seznam.cz>
18138
18139 * string/Makefile: Remove ifunc tests.
18140 * string/test-string.h: Define TEST_IFUNC.
18141 * string/test-bcopy-ifunc.c: Remove.
18142 * string/test-bzero-ifunc.c: Likewise.
18143 * string/test-memccpy-ifunc.c: Likewise.
18144 * string/test-memchr-ifunc.c: Likewise.
18145 * string/test-memcmp-ifunc.c: Likewise.
18146 * string/test-memcpy-ifunc.c: Likewise.
18147 * string/test-memmem-ifunc.c: Likewise.
18148 * string/test-memmove-ifunc.c: Likewise.
18149 * string/test-mempcpy-ifunc.c: Likewise.
18150 * string/test-memrchr-ifunc.c: Likewise.
18151 * string/test-memset-ifunc.c: Likewise.
18152 * string/test-rawmemchr-ifunc.c: Likewise.
18153 * string/test-stpcpy-ifunc.c: Likewise.
18154 * string/test-stpncpy-ifunc.c: Likewise.
18155 * string/test-strcasecmp-ifunc.c: Likewise.
18156 * string/test-strcasestr-ifunc.c: Likewise.
18157 * string/test-strcat-ifunc.c: Likewise.
18158 * string/test-strchr-ifunc.c: Likewise.
18159 * string/test-strchrnul-ifunc.c: Likewise.
18160 * string/test-strcmp-ifunc.c: Likewise.
18161 * string/test-strcpy-ifunc.c: Likewise.
18162 * string/test-strcspn-ifunc.c: Likewise.
18163 * string/test-strlen-ifunc.c: Likewise.
18164 * string/test-strncasecmp-ifunc.c: Likewise.
18165 * string/test-strncat-ifunc.c: Likewise.
18166 * string/test-strncmp-ifunc.c: Likewise.
18167 * string/test-strncpy-ifunc.c: Likewise.
18168 * string/test-strnlen-ifunc.c: Likewise.
18169 * string/test-strpbrk-ifunc.c: Likewise.
18170 * string/test-strrchr-ifunc.c: Likewise.
18171 * string/test-strspn-ifunc.c: Likewise.
18172 * string/test-strstr-ifunc.c: Likewise.
18173
ab260039 181742013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97
OB
18175
18176 * benchtests/Makefile: Remove ifunc tests.
18177 * benchtests/bench-string.h: Define TEST_IFUNC.
18178 * benchtests/bench-bcopy-ifunc.c: Remove.
18179 * benchtests/bench-bzero-ifunc.c: Likewise.
18180 * benchtests/bench-memccpy-ifunc.c: Likewise.
18181 * benchtests/bench-memchr-ifunc.c: Likewise.
18182 * benchtests/bench-memcmp-ifunc.c: Likewise.
18183 * benchtests/bench-memcpy-ifunc.c: Likewise.
18184 * benchtests/bench-memmem-ifunc.c: Likewise.
18185 * benchtests/bench-memmove-ifunc.c: Likewise.
18186 * benchtests/bench-mempcpy-ifunc.c: Likewise.
18187 * benchtests/bench-memrchr-ifunc.c: Likewise.
18188 * benchtests/bench-memset-ifunc.c: Likewise.
18189 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
18190 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
18191 * benchtests/bench-stpcpy-ifunc.c: Likewise.
18192 * benchtests/bench-stpncpy-ifunc.c: Likewise.
18193 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
18194 * benchtests/bench-strcasestr-ifunc.c: Likewise.
18195 * benchtests/bench-strcat-ifunc.c: Likewise.
18196 * benchtests/bench-strchr-ifunc.c: Likewise.
18197 * benchtests/bench-strchrnul-ifunc.c: Likewise.
18198 * benchtests/bench-strcmp-ifunc.c: Likewise.
18199 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
18200 * benchtests/bench-strcpy-ifunc.c: Likewise.
18201 * benchtests/bench-strcspn-ifunc.c: Likewise.
18202 * benchtests/bench-strlen-ifunc.c: Likewise.
18203 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
18204 * benchtests/bench-strncat-ifunc.c: Likewise.
18205 * benchtests/bench-strncmp-ifunc.c: Likewise.
18206 * benchtests/bench-strncpy-ifunc.c: Likewise.
18207 * benchtests/bench-strnlen-ifunc.c: Likewise.
18208 * benchtests/bench-strpbrk-ifunc.c: Likewise.
18209 * benchtests/bench-strrchr-ifunc.c: Likewise.
a9503496 18210 * benchtests/bench-strsep-ifunc.c: Likewise.
2787db97
OB
18211 * benchtests/bench-strspn-ifunc.c: Likewise.
18212 * benchtests/bench-strstr-ifunc.c: Likewise.
18213
182142013-11-26 Ondřej Bílka <neleai@seznam.cz>
18215
ab260039
OB
18216 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
18217
d1d9eaf4 182182013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97 18219
d1d9eaf4
OB
18220 * resolv/netdb.h: Use __glibc_reserved instead __unused.
18221 * rt/aio.h: Likewise.
18222 * sysdeps/gnu/bits/utmp.h: Likewise.
18223 * sysdeps/gnu/bits/utmpx.h: Likewise.
18224 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
18225 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
18226 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
18227 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
18228 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
18229 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
18230 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
18231 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
18232 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
18233 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
18234 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
18235 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
18236 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
18237 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
18238 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
18239 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
18240 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
18241 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
18242 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
18243 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
18244 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
18245 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
18246 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
18247 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
18248 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
18249 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
18250 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
18251 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
18252 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
18253 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
18254 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
18255 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
18256 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
18257 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
18258 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
18259 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
18260 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
18261 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
18262 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
18263 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
18264 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
18265 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
18266
a7624ed9
CD
182672013-11-25 Carlos O'Donell <carlos@redhat.com>
18268
18269 [BZ #16245]
18270 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
18271 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
18272
63cfe52b
JM
182732013-11-25 Joseph Myers <joseph@codesourcery.com>
18274
18275 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
18276 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
18277 Likewise.
18278
41e8926a
AZ
182792013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18280
18281 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
18282 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
18283 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
18284 (__fesetround): Remove define.
18285 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
18286 rounding and exceptions handling.
18287 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
18288 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
18289 (__fe_nomask_env): Likewise.
18290 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
18291 __fegetround instead of fegetround.
18292 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
18293 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
18294
6851bd4d
RM
182952013-11-21 Roland McGrath <roland@hack.frob.com>
18296
070906ff
RM
18297 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
18298 it's there.
18299
6851bd4d
RM
18300 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
18301
84ae135d
MI
183022013-11-21 Meador Inge <meadori@codesourcery.com>
18303
18304 [BZ #11157]
18305 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
18306 (encrypt_r): Likewise.
18307 * malloc/obstack.h (obstack_free): Likewise.
18308 * posix/unistd.h (encrypt): Likewise.
18309
daf75146
GM
183102013-11-21 Guy Martin <gmsoft@tuxicoman.be>
18311
18312 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
18313 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
18314 DL_CALL_DT_FINI() that call the functions directly.
18315 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
18316 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
18317 * elf/dl-fini.c: Likewise.
18318
10ad46bc
OB
183192013-11-20 Ondřej Bílka <neleai@seznam.cz>
18320
18321 * malloc/hooks.c (memalign_check): Add alignment rounding.
18322 * malloc/malloc.c (_mid_memalign): New function.
18323 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
18324 Implement by calling _mid_memalign.
18325 * manual/probes.texi (Memory Allocation Probes): Remove
18326 memory_valloc_retry and memory_pvalloc_retry.
18327
f3fd2628
SP
183282013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
18329
4712799f
SP
18330 * locale/programs/locarchive.c (open_archive): Add const
18331 qualifier to ARCHIVEFNAME and copy default fname to
18332 DEFAULT_FNAME.
18333
0417b20f
SP
18334 [BZ #15601]
18335 * libio/tst-widetext.input: Rename Oriya to Odia.
18336 * locale/iso-639.def: Likewise.
18337
f3fd2628
SP
18338 * manual/probes.texi (Mathematical Function Probes): Add
18339 documentation for sin, cos, asin and acos probes.
18340 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
18341 (__sin32): Add slowasin probe.
18342 (__cos32): Add slowacos probe.
18343 (__mpsin): Add slowsin probe.
18344 (__mpcos): Add slowcos probe.
18345
73c1ce4f
JM
183462013-11-19 Joseph Myers <joseph@codesourcery.com>
18347
18348 [BZ #15483]
18349 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
18350 thread-local __sim_exceptions_thread and global
18351 __sim_exceptions_global.
18352 (__sim_disabled_exceptions): Change to thread-local
18353 __sim_disabled_exceptions_thread and global
18354 __sim_disabled_exceptions_global.
18355 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
18356 and global __sim_round_mode_global.
18357 (__simulate_exceptions): Use thread-local floating-point state and
18358 set global state from it as needed.
18359 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
18360 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
18361 __sim_round_mode_thread.
18362 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
18363 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
18364 and global __sim_exceptions_global.
18365 (__sim_disabled_exceptions): Change to thread-local
18366 __sim_disabled_exceptions_thread and global
18367 __sim_disabled_exceptions_global.
18368 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
18369 and global __sim_round_mode_global.
18370 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
18371 (SIM_SET_GLOBAL): Likewise.
18372 * sysdeps/powerpc/soft-fp/sfp-machine.h
18373 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
18374 __sim_round_mode_thread.
18375 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
18376 __sim_disabled_exceptions_thread.
18377 (__sim_exceptions): Change to __sim_exceptions_thread.
18378 (__sim_disabled_exceptions): Change to
18379 __sim_disabled_exceptions_thread.
18380 (__sim_round_mode): Change to __sim_round_mode_thread.
18381 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
18382 thread-local floating-point state and set global state from it as
18383 needed.
18384 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
18385 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
18386 (__sim_disabled_exceptions): Remove extern declaration.
18387 (feenableexcept): Use thread-local floating-point state and set
18388 global state from it as needed.
18389 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
18390 extern declaration.
18391 (__sim_disabled_exceptions): Likewise.
18392 (__sim_round_mode): Likewise.
18393 (__fegetenv): Use thread-local floating-point state.
18394 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
18395 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
18396 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
18397 floating-point state and set global state from it as needed.
18398 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
18399 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
18400 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
18401 Likewise.
18402 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
18403 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
18404 Likewise.
18405 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
18406 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
18407 Use __sim_round_mode_thread.
18408 * math/test-fenv-tls.c: New file.
18409 * math/Makefile (tests): Add test-fenv-tls.
18410 ($(objpfx)test-fenv-tls): Depend on
18411 $(common-objpfx)nptl/libpthread.so.
18412
b5449b12
AS
184132013-11-19 Andreas Schwab <schwab@suse.de>
18414
18415 * locale/programs/locale.c (show_info): Decode wordarray elements.
18416 * locale/categories.def (LC_MONETARY): Add element for
18417 _NL_MONETARY_CRNCYSTR.
18418 * locale/C-monetary.c (conversion_rate): New variable.
18419 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
18420 element.
18421
e186536b
CM
184222013-11-18 Chris Metcalf <cmetcalf@tilera.com>
18423
18424 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
18425 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
18426
5c349950
PP
184272013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
18428
18429 * elf/Makefile (tst-auxv): New test.
18430 * elf/tst-auxv.c: New
18431 * elf/rtld.c (dl_main): Adjust AT_EXECFN
18432
699df45b
JM
184332013-11-18 Joseph Myers <joseph@codesourcery.com>
18434
18435 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
18436 (hidden_proto): Caller changed.
18437 (hidden_tls_proto): New macro.
18438 (libc_hidden_tls_proto): Likewise.
18439 (rtld_hidden_tls_proto): Likewise.
18440 (libm_hidden_tls_proto): Likewise.
18441 (libresolv_hidden_tls_proto): Likewise.
18442 (librt_hidden_tls_proto): Likewise.
18443 (libdl_hidden_tls_proto): Likewise.
18444 (libnss_files_hidden_tls_proto): Likewise.
18445 (libnsl_hidden_tls_proto): Likewise.
18446 (libnss_nisplus_hidden_tls_proto): Likewise.
18447 (libutil_hidden_tls_proto): Likewise.
18448
b7589107
OB
184492013-11-18 Ondřej Bílka <neleai@seznam.cz>
18450
18451 [BZ #10253]
18452 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
18453 (decompose_rpath): Defer expansion to fillin_rpath.
18454 (_dl_init_paths): Pass linkmap to fillin_rpath.
18455
250c23bd
RS
184562013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
18457
18458 * benchtests/Makefile: Add strsep.
18459 * benchtests/bench-strsep.c: New file: strsep benchtest.
18460 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
18461
a7931fcf
AS
184622013-11-18 Andreas Schwab <schwab@suse.de>
18463
18464 * locale/programs/locale.c (show_info) [case byte]: Check for
18465 '\377' instead of '\177'.
18466 * locale/C-monetary.c (not_available): Always use "\377".
18467 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
18468 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
18469 detect unavailable sign_posn locale elements.
18470 * locale/localeconv.c (__localeconv): For grouping and
18471 mon_grouping handle "\177" and "\377" like no grouping.
18472 (INT_ELEM): New macro. Use it to set all numeric members.
18473 * locale/programs/ld-monetary.c (monetary_read)
18474 <tok_mon_grouping>: Normalize single -1 to the empty string.
18475 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
18476 Likewise.
18477
728dab0e
OB
184782013-11-07 Ondřej Bílka <neleai@seznam.cz>
18479
18480 [BZ #16055]
18481 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
18482 when we match (nil).
18483 * stdio-common/tst-sscanf.c (struct test): Add testcase.
18484
66294491
JM
184852013-11-16 Joseph Myers <joseph@codesourcery.com>
18486
ce665817
JM
18487 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
18488 (NO_TEST_INLINE): Update value.
18489 (ERRNO_UNCHANGED): Likewise.
18490 (ERRNO_EDOM): Likewise.
18491 (ERRNO_ERANGE): Likewise.
18492 (IGNORE_RESULT): Likewise.
18493 (check_float_internal): Check signs of NaN results if
18494 TEST_NAN_SIGN used.
18495 (check_complex): Pass TEST_NAN_SIGN flag through to second
18496 check_float_internal call.
18497 (copysign_test_data): Add tests with quiet NaNs as second
18498 argument. Use TEST_NAN_SIGN.
18499 (fabs_test_data): Add test of negative quiet NaN argument. Use
18500 TEST_NAN_SIGN.
18501 (signbit_test_data): Add tests of quiet NaN argument.
18502 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
18503
ee1466a9
JM
18504 * math/gen-libm-test.pl (show_exceptions): Take extra argument
18505 $ignore_result.
18506 (parse_args): Handle function results specified as IGNORE.
18507 * math/libm-test.inc (IGNORE_RESULT): New macro.
18508 (check_float_internal): Do not check numerical result if flag
18509 IGNORE_RESULT set.
18510 (check_complex): Pass through IGNORE_RESULT to second
18511 check_float_internal call.
18512 (check_int): Do not check numerical result if flag IGNORE_RESULT
18513 set.
18514 (check_long): Likewise.
18515 (check_bool): Likewise.
18516 (check_longlong): Likewise.
18517 (lrint_test_data): Add tests of infinite and NaN arguments.
18518 (lrint_tonearest_test_data): Likewise.
18519 (lrint_towardzero_test_data): Likewise.
18520 (lrint_downward_test_data): Likewise.
18521 (lrint_upward_test_data): Likewise.
18522 (llrint_test_data): Likewise.
18523 (llrint_tonearest_test_data): Likewise.
18524 (llrint_towardzero_test_data): Likewise.
18525 (llrint_downward_test_data): Likewise.
18526 (llrint_upward_test_data): Likewise.
18527 (lround_test_data): Likewise.
18528 (llround_test_data): Likewise.
18529
14407b7e
JM
18530 * math/libm-test.inc (NO_TEST_INLINE): New macro.
18531 (ERRNO_UNCHANGED): Update value.
18532 (ERRNO_EDOM): Likewise.
18533 (ERRNO_ERANGE): Likewise.
18534 (NO_TEST_INLINE_FLOAT): New macro.
18535 (NO_TEST_INLINE_DOUBLE): Likewise.
18536 (enable_test): New function.
18537 (RUN_TEST_f_f): Check enable_test before running test.
18538 (RUN_TEST_2_f): Likewise.
18539 (RUN_TEST_fff_f): Likewise.
18540 (RUN_TEST_c_f): Likewise.
18541 (RUN_TEST_f_f1): Likewise.
18542 (RUN_TEST_fF_f1): Likewise.
18543 (RUN_TEST_fI_f1): Likewise.
18544 (RUN_TEST_ffI_f1): Likewise.
18545 (RUN_TEST_c_c): Likewise.
18546 (RUN_TEST_cc_c): Likewise.
18547 (RUN_TEST_f_i): Likewise.
18548 (RUN_TEST_f_i_tg): Likewise.
18549 (RUN_TEST_ff_i_tg): Likewise.
18550 (RUN_TEST_f_b): Likewise.
18551 (RUN_TEST_f_b_tg): Likewise.
18552 (RUN_TEST_f_l): Likewise.
18553 (RUN_TEST_f_L): Likewise.
18554 (RUN_TEST_fFF_11): Likewise.
18555 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
18556 conditionals.
18557 (cosh_test_data): Likewise.
18558 (exp_test_data): Likewise.
18559 (expm1_test_data): Likewise.
18560 (hypot_test_data): Likewise.
18561 (pow_test_data): Likewise.
18562 (sinh_test_data): Likewise.
18563 (tanh_test_data): Likewise.
18564 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
18565 flags argument.
18566
ca07f197
JM
18567 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
18568 tests with quiet NaN input and output.
18569 (acosh_test_data): Likewise.
18570 (asin_test_data): Likewise.
18571 (asinh_test_data): Likewise.
18572 (atan_test_data): Likewise.
18573 (atanh_test_data): Likewise.
18574 (atan2_test_data): Likewise.
18575 (cbrt_test_data): Likewise.
18576 (cos_test_data): Likewise.
18577 (cosh_test_data): Likewise.
18578 (erf_test_data): Likewise.
18579 (erfc_test_data): Likewise.
18580 (exp_test_data): Likewise.
18581 (exp10_test_data): Likewise.
18582 (exp2_test_data): Likewise.
18583 (expm1_test_data): Likewise.
18584 (hypot_test_data): Likewise.
18585 (j0_test_data): Likewise.
18586 (j1_test_data): Likewise.
18587 (jn_test_data): Likewise.
18588 (lgamma_test_data): Likewise.
18589 (log_test_data): Likewise.
18590 (log10_test_data): Likewise.
18591 (log1p_test_data): Likewise.
18592 (log2_test_data): Likewise.
18593 (pow_test_data): Likewise.
18594 (scalb_test_data): Likewise.
18595 (sin_test_data): Likewise.
18596 (sincos_test_data): Likewise.
18597 (sinh_test_data): Likewise.
18598 (tan_test_data): Likewise.
18599 (tanh_test_data): Likewise.
18600 (tgamma_test_data): Likewise.
18601 (y0_test_data): Likewise.
18602 (y1_test_data): Likewise.
18603 (yn_test_data): Likewise.
18604
66294491
JM
18605 [BZ #16167]
18606 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
18607 argument being NaN and avoid computations with second argument in
18608 that case.
18609 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
18610 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
18611 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
18612
1820b143
CL
186132013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
18614
18615 * locale/iso-639.def: Add Chitwani Tharu (the).
18616
714bd261
AS
186172013-11-14 Andreas Schwab <schwab@suse.de>
18618
18619 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
18620 word instead of empty string.
18621
7ab44563
AZ
186222013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18623
18624 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
18625 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
18626 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
18627 (__fe_nomask_env): Likewise.
18628
e8470ea2
SE
186292013-11-13 Steve Ellcey <sellcey@mips.com>
18630
18631 * benchtests/bench-timing.h: Include time.h.
18632
17c1d9f0
L
186332013-11-13 H.J. Lu <hongjiu.lu@intel.com>
18634
18635 [BZ #15997]
18636 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
18637 to 3.4.0 for x32.
18638 * sysdeps/unix/sysv/linux/configure: Regenerated.
18639
9310c284
JM
186402013-11-13 Joseph Myers <joseph@codesourcery.com>
18641
18642 [BZ #16151]
18643 * stdlib/strtod_l.c (round_and_return): Do not consider
18644 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
18645 exponent one less than half the least subnormal exponent.
18646 * stdlib/test-strtod-round-data: Add more tests.
18647 * stdlib/tst-strtod-round.c (tests): Regenerated.
18648
7a2ad8cf
AZ
186492013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18650
18651 [BZ #14143]
18652 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
18653 (__fe_mask_env): Likewise.
18654 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
18655 libm_hidden_proto and add function prototype.
18656 (__fe_mask_env): Add function prototype.
18657 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
18658 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
18659 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
18660 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
18661 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
18662 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
18663
50727aa7
MS
186642013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
18665
b2f386c1 18666 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
50727aa7
MS
18667 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
18668
a615be46
MS
186692013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
18670
18671 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
18672 of htab_find_slot().
18673
7ddace62
DM
186742013-11-11 David S. Miller <davem@davemloft.net>
18675
18676 [BZ #16150]
18677 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
18678 symbol in the non-vis3 case in static builds.
18679 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
18680 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
18681 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
18682 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
18683
9182aa67
JK
186842013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
18685
18686 [BZ #387]
18687 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
18688 it is empty.
18689
450a2e2d
AZ
186902013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18691
b2f386c1
SP
18692 * benchtests/Makefile: Add bench-strtod.
18693 * benchtests/bench-strtod.c: New file: strtod benchtest
450a2e2d 18694
8ec3f656
AS
186952013-11-11 Andreas Schwab <schwab@suse.de>
18696
18697 [BZ #16153]
18698 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
18699 terminating NUL in key length.
18700
76a9b998
AZ
187012013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18702
18703 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
18704 Add artificial ODP entry for vDSO symbol for PPC64.
18705 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
18706 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
18707
e4368156
OB
187082013-11-07 Ondřej Bílka <neleai@seznam.cz>
18709
18710 [BZ #15374]
18711 * nss/getent.c (services_keys): Recognize services starting with digit.
18712
8d6bb57c
DM
187132013-11-06 David S. Miller <davem@davemloft.net>
18714
18715 [BZ #15985]
18716 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
18717 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
18718
e256c421
WN
187192013-11-06 Will Newton <will.newton@linaro.org>
18720
18721 * manual/memory.texi (Malloc Examples): Remove register
18722 keyword from examples.
18723
f6e12daa 187242013-11-04 Chris Leonard <cjl@sugarlabs.org>
1484e657 18725
f6e12daa 18726 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
1484e657 18727
9d880655
AS
187282013-11-04 Joseph Myers <joseph@codesourcery.com>
18729
fd2f9486 18730 [BZ #6981]
9d880655
AS
18731 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
18732 depending on [__GCC_IEC_559 > 0].
18733 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
18734 depending on [__GCC_IEC_559_COMPLEX > 0].
18735
ae129d3c
CL
187362013-11-03 Chris Leonard <cjl@sugarlabs.org>
18737
18738 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
18739 to iso-639.def.
18740
4a15c2a4 187412013-11-03 Ondřej Bílka <neleai@seznam.cz>
17c8c3dc
OB
18742
18743 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
18744
8b35e35d
OB
187452013-11-01 Ondřej Bílka <neleai@seznam.cz>
18746
18747 [BZ #16112]
18748 * malloc/malloc (malloc_info): Do not handle first bin as
18749 special case.
18750
1d70fd6c
CL
187512013-11-01 Chris Leonard <cjl@sugarlabs.org>
18752
18753 * locale/iso-639.def: Add Central Nahuatl (nhn).
18754
8c5c2600
BH
187552013-11-01 Bruno Haible <bruno@clisp.org>
18756
18757 [BZ #7003]
18758 * manual/math.texi (BSD Random): Specify range upper bound as
18759 in POSIX.
18760
da5579c2
CL
187612013-10-31 Chris Leonard <cjl@sugarlabs.org>
18762
18763 * locale/iso-639.def: Add Meadow Mari (mhr).
18764
5d30d853
OB
187652013-10-31 Ondřej Bílka <neleai@seznam.cz>
18766
18767 [BZ #14752], [BZ #15763]
18768 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
18769 Validate name.
18770 * rt/tst_shm.c: Add test for escaping directory.
18771
a4966c61
AS
187722013-10-31 Andreas Schwab <schwab@suse.de>
18773
8a43e768 18774 [BZ #15917]
a4966c61
AS
18775 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
18776 followed by 'x' as part of digit sequence.
18777 * stdio-common/tst-sscanf.c (double_tests2): New tests.
18778
28d708c4
MAP
187792013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
18780
18781 [BZ #16037]
18782 * configure.ac: allow GNU Make 4.0 and greater.
18783 * configure: Regenerated.
18784
a56ee40b
WN
187852013-10-30 Will Newton <will.newton@linaro.org>
18786
18787 [BZ #16038]
18788 * malloc/hooks.c (memalign_check): Limit alignment to the
18789 maximum representable power of two.
18790 * malloc/malloc.c (__libc_memalign): Likewise.
18791 * malloc/tst-memalign.c (do_test): Add test for very
18792 large alignment values.
18793 * malloc/tst-posix_memalign.c (do_test): Likewise.
18794
c6e4925d
OB
187952013-10-30 Ondřej Bílka <neleai@seznam.cz>
18796
18797 [BZ #11087]
18798 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
18799 (munmap_chunk): Likewise.
18800 (mremap_chunk): Likewise.
18801
188022013-10-30 Ondřej Bílka <neleai@seznam.cz>
bbea82f7 18803
8a43e768 18804 [BZ #15799]
bbea82f7
OB
18805 * stdlib/div.c (div): Remove obsolete code.
18806 * stdlib/ldiv.c (ldiv): Likewise.
18807 * stdlib/lldiv.c (lldiv): Likewise.
18808
977f4b31
SP
188092013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
18810
18811 [BZ #16071]
18812 * nss/nss_files/files-XXX.c (get_contents_ret): New
18813 enumerator.
18814 (get_contents): New function.
18815 (internal_getent): Use it. Expand size of LINEBUFLEN.
18816
cb8a6dbd
MF
188172013-10-30 Mike Frysinger <vapier@gentoo.org>
18818
18819 * configure.in: Moved to ...
18820 * configure.ac: ... here. Change reference to configure.in
18821 to configure.ac.
18822 * sysdeps/arm/preconfigure.ac: ... here.
18823 configure.in to configure.ac.
18824 * sysdeps/gnu/configure.in: Moved to ...
18825 * sysdeps/gnu/configure.ac: ... here.
18826 * sysdeps/i386/configure.in: Moved to ...
18827 * sysdeps/i386/configure.ac: ... here.
18828 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
18829 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
18830 * sysdeps/mach/configure.in: Moved to ...
18831 * sysdeps/mach/configure.ac: ... here.
18832 * sysdeps/mach/hurd/configure.in: Moved to ...
18833 * sysdeps/mach/hurd/configure.ac: ... here.
18834 * sysdeps/powerpc/configure.in: Moved to ...
18835 * sysdeps/powerpc/configure.ac: ... here.
18836 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
18837 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
18838 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
18839 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
18840 * sysdeps/s390/s390-32/configure.in: Moved to ...
18841 * sysdeps/s390/s390-32/configure.ac: ... here.
18842 * sysdeps/s390/s390-64/configure.in: Moved to ...
18843 * sysdeps/s390/s390-64/configure.ac: ... here.
18844 * sysdeps/sh/configure.in: Moved to ...
18845 * sysdeps/sh/configure.ac: ... here.
18846 * sysdeps/sparc/configure.in: Moved to ...
18847 * sysdeps/sparc/configure.ac: ... here.
18848 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
18849 * sysdeps/unix/sysv/linux/configure.ac: ... here.
18850 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
18851 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
18852 * sysdeps/x86_64/configure.in: Moved to ...
18853 * sysdeps/x86_64/configure.ac: ... here.
18854 * sysdeps/x86_64/preconfigure.in: Moved to ...
18855 * sysdeps/x86_64/preconfigure.ac: ... here.
18856 * aclocal.m4: Change reference to configure.in to configure.ac.
18857 * config.h.in: Likewise.
18858 * manual/install.texi: Likewise.
18859 * manual/maint.texi: Likewise.
18860 * Makefile: Likewise.
18861 * malloc/Makefile: Likewise.
18862 * nscd/Makefile: Likewise.
18863 * Makeconfig: Change reference to configure.in and
18864 preconfigure.in to configure.ac and preconfigure.ac
18865 respectively.
18866 * INSTALL: Regenerated.
18867 * configure: Likewise.
18868 * sysdeps/gnu/configure: Likewise.
18869 * sysdeps/i386/configure: Likewise.
18870 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
18871 * sysdeps/mach/configure: Likewise.
18872 * sysdeps/mach/hurd/configure: Likewise.
18873 * sysdeps/powerpc/configure: Likewise.
18874 * sysdeps/powerpc/powerpc32/configure: Likewise.
18875 * sysdeps/powerpc/powerpc64/configure: Likewise.
18876 * sysdeps/s390/s390-32/configure: Likewise.
18877 * sysdeps/s390/s390-64/configure: Likewise.
18878 * sysdeps/sh/configure: Likewise.
18879 * sysdeps/sparc/configure: Likewise.
18880 * sysdeps/unix/sysv/linux/configure: Likewise.
18881 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
18882 * sysdeps/x86_64/configure: Likewise.
18883 * sysdeps/x86_64/preconfigure: Likewise.
18884
36a4953a
AS
188852013-10-29 Andreas Schwab <schwab@suse.de>
18886
18887 * stdio-common/Makefile (tst-swscanf-ENV): Define.
18888
c79a1204
SP
188892013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
18890
dfa1b402
SP
18891 * benchtests/pow-inputs: Add new inputs.
18892
54f73d9c
SP
18893 * benchtests/exp-inputs: Add new inputs.
18894
c79a1204
SP
18895 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
18896 conditional check for return value.
18897 (__cos32): Likewise.
18898
67beb545 188992013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69f13dbf
AZ
18900
18901 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
18902 to provide a boost for large inputs with word alignment.
18903 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
18904 implementation based on optimized PPC64 strcpy.
18905 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
18906 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
18907 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
18908 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
18909
151659f6
OB
189102013-10-25 Ondřej Bílka <neleai@seznam.cz>
18911
482a077e 18912 [BZ #2801]
151659f6
OB
18913 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
18914
10b0f26b
OB
189152013-10-25 Ondřej Bílka <neleai@seznam.cz>
18916
18917 [BZ #14876]
18918 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
18919 * time/tst-strptime.c (day_tests): Add testcase.
18920
ca42d35e
OB
189212013-10-25 Ondřej Bílka <neleai@seznam.cz>
18922
482a077e 18923 [BZ #14029]
ca42d35e
OB
18924 * manual/pattern.texi: Acknowledge that fnmatch can fail.
18925
52e6d801
FB
189262013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
18927
18928 [BZ #16074]
18929 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
18930 MAP_FAILED on error.
18931
7cbcdb36
SP
189322013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
18933
18934 [BZ #16072]
18935 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
18936 heap for large requests.
18937
894f3f10
AM
189382013-10-25 Aurelien Jarno <aurelien@aurel32.net>
18939
18940 [BZ #9954]
18941 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
18942 result if the result has no associated interface.
18943 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
18944 interface for all 127.X.Y.Z addresses.
18945
b85545a6
CL
189462013-10-24 Chris Leonard <cjl@sugarlabs.org>
18947
18948 * locale/iso-639.def: Add Ligurian (lij)
18949
d1f23d46
OB
189502013-10-21 Ondřej Bílka <neleai@seznam.cz>
18951
18952 [BZ #15825]
18953 * sunrpc/rpc_main.c: Document rpcgen -5.
18954
4db5b08f
MS
189552013-10-19 Michael Stahl <mstahl@redhat.com>
18956
18957 * elf/rtld.c (do_preload): Print the reason why preloading failed.
18958
a471e96a
OB
189592013-10-19 Ondřej Bílka <neleai@seznam.cz>
18960
d1f23d46 18961 [BZ #10278]
a471e96a
OB
18962 * posix/glob.c: Match only directories when trailing slash is present.
18963 * posix/tst-gnuglob.c (my_opendir): Do not open files.
18964 (main): Add testcase.
18965
45c30c61
OB
189662013-10-19 Ondřej Bílka <neleai@seznam.cz>
18967
18968 [BZ #15670]
18969 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
18970
484c12fb
CD
189712013-10-18 Carlos O'Donell <carlos@redhat.com>
18972
3d7dc513
CD
18973 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
18974 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
18975 AUTH_DES and cindex for FIPS 140-2.
18976 (DES Encryption): Add cindex FIPS 46-3.
18977
484c12fb
CD
18978 * locale/locarchive.h (struct locarhandle): Add fname.
18979 * locale/programs/localedef.c (main): Pass ARGV[remaining]
18980 if an optional argument was specified to --list-archive,
18981 otherwise NULL.
18982 * locale/programs/locarchive.c (show_archive_content): Take new
18983 argument fname and pass it via ah.fname to open_archive.
18984 * locale/programs/localedef.h: Update decl.
18985 (open_archive): If AH->fname is non-null, open that file
18986 rather than the default file name, and don't ignore ENOENT.
18987 (create_archive): Set AH.fname to NULL.
18988 (delete_locales_from_archive): Likewise.
18989 (add_locales_to_archive): Likewise.
18990 * locale/programs/locfile.c (write_all_categories): Likewise.
18991
3c8325fb
JM
189922013-10-18 Joseph Myers <joseph@codesourcery.com>
18993 Aldy Hernandez <aldyh@redhat.com>
18994
18995 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
18996 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
18997 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
18998 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
18999 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
19000 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
19001 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
19002 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
19003 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
19004 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
19005 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
19006 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
19007 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
19008 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
19009 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
19010 Likewise.
19011 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
19012 Likewise.
19013 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
19014 Likewise.
19015 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
19016 Likewise.
19017 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
19018 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
19019 Likewise.
19020 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
19021 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
19022 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
19023 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
19024 Likewise.
19025 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
19026 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
19027 * sysdeps/powerpc/preconfigure: Likewise.
19028 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
19029 Likewise.
19030 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
19031 Replace contents of file by #include of <fenv_libc.h>.
19032 * sysdeps/powerpc/soft-fp/sfp-machine.h
19033 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
19034 and <sys/prctl.h>.
19035 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
19036 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
19037 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
19038 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
19039 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
19040 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
19041 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
19042 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
19043 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
19044 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
19045 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
19046 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
19047 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
19048 Allow copysignl PLT reference to be missing.
19049
5abe0682
RS
190502013-10-18 Richard Sandiford <richard@codesourcery.com>
19051 Joseph Myers <joseph@codesourcery.com
19052
19053 [BZ #15948]
19054 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
19055 single character.
19056 (add_to_tablewc): Assert sequence of wide characters is nonempty.
19057
c7738d08
SP
190582013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
19059
19060 * elf/tst-tls-dlinfo.c: Don't include tls.h.
19061 * elf/tst-tls1.c: Likewise.
19062 * elf/tst-tls10.h: Likewise.
19063 * elf/tst-tls14.c: Likewise.
19064 * elf/tst-tls2.c: Likewise.
19065 * elf/tst-tls3.c: Likewise.
19066 * elf/tst-tls4.c: Likewise.
19067 * elf/tst-tls5.c: Likewise.
19068 * elf/tst-tls6.c: Likewise.
19069 * elf/tst-tls7.c: Likewise.
19070 * elf/tst-tls8.c: Likewise.
19071 * elf/tst-tls9.c: Likewise.
19072 * elf/tst-tlsmod1.c: Likewise.
19073 * elf/tst-tlsmod13.c: Likewise.
19074 * elf/tst-tlsmod13a.c: Likewise.
19075 * elf/tst-tlsmod14a.c: Likewise.
19076 * elf/tst-tlsmod16a.c: Likewise.
19077 * elf/tst-tlsmod16b.c: Likewise.
19078 * elf/tst-tlsmod2.c: Likewise.
19079 * elf/tst-tlsmod3.c: Likewise.
19080 * elf/tst-tlsmod4.c: Likewise.
19081 * elf/tst-tlsmod5.c: Likewise.
19082 * elf/tst-tlsmod6.c: Likewise.
19083
0bfcf2c7
OB
190842013-10-18 Ondřej Bílka <neleai@seznam.cz>
19085
19086 [BZ #12486]
19087 * malloc/malloc.c: remove checks for statistics.
19088
264aad1e
OB
190892013-10-17 Ondřej Bílka <neleai@seznam.cz>
19090
19091 [BZ #15277]
19092 * inet/inet_net.c (inet_network): Detect additional invalid strings.
19093 * inet/tst-network.c: Add testcase.
19094
b957ced8
AS
190952013-10-17 Andreas Schwab <schwab@suse.de>
19096
19097 [BZ #15218]
19098 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
19099 to determine canonical name.
19100
c5d5d574
OB
191012013-10-17 Ondřej Bílka <neleai@seznam.cz>
19102
19103 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
19104 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
19105 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
19106 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
19107 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
19108 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
19109 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
19110 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
19111 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
19112 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
19113 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
19114 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
19115 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
19116 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
19117 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
19118 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
19119 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
19120 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
19121 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
19122 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
19123 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
19124 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
19125 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
19126 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
19127 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
19128 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
19129 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
19130 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
19131 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
19132 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
19133 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
19134 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
19135 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
19136 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
19137 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
19138 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
19139 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
19140 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
19141 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
19142 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
19143 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
19144 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
19145 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
19146 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
19147 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
19148 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
19149 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
19150 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
19151 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
19152 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
19153 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
19154 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
19155 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
19156 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
19157 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
19158 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
19159 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
19160 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
19161
e5c2c2d0
JM
191622013-10-17 Joseph Myers <joseph@codesourcery.com>
19163
19164 [BZ #16041]
19165 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
19166 make result into a quiet NaN.
19167
51ca9e29
JM
191682013-10-16 Joseph Myers <joseph@codesourcery.com>
19169
19170 * soft-fp/adddf3.c: Fix horizontal whitespace.
19171 * soft-fp/addsf3.c: Likewise.
19172 * soft-fp/addtf3.c: Likewise.
19173 * soft-fp/divdf3.c: Likewise.
19174 * soft-fp/divsf3.c: Likewise.
19175 * soft-fp/divtf3.c: Likewise.
19176 * soft-fp/double.h: Likewise.
19177 * soft-fp/eqdf2.c: Likewise.
19178 * soft-fp/eqsf2.c: Likewise.
19179 * soft-fp/eqtf2.c: Likewise.
19180 * soft-fp/extenddftf2.c: Likewise.
19181 * soft-fp/extended.h: Likewise.
19182 * soft-fp/extendsfdf2.c: Likewise.
19183 * soft-fp/extendsftf2.c: Likewise.
19184 * soft-fp/extendxftf2.c: Likewise.
19185 * soft-fp/fixdfdi.c: Likewise.
19186 * soft-fp/fixdfsi.c: Likewise.
19187 * soft-fp/fixdfti.c: Likewise.
19188 * soft-fp/fixsfdi.c: Likewise.
19189 * soft-fp/fixsfsi.c: Likewise.
19190 * soft-fp/fixsfti.c: Likewise.
19191 * soft-fp/fixtfdi.c: Likewise.
19192 * soft-fp/fixtfsi.c: Likewise.
19193 * soft-fp/fixtfti.c: Likewise.
19194 * soft-fp/fixunsdfdi.c: Likewise.
19195 * soft-fp/fixunsdfsi.c: Likewise.
19196 * soft-fp/fixunsdfti.c: Likewise.
19197 * soft-fp/fixunssfdi.c: Likewise.
19198 * soft-fp/fixunssfsi.c: Likewise.
19199 * soft-fp/fixunssfti.c: Likewise.
19200 * soft-fp/fixunstfdi.c: Likewise.
19201 * soft-fp/fixunstfsi.c: Likewise.
19202 * soft-fp/fixunstfti.c: Likewise.
19203 * soft-fp/floatdidf.c: Likewise.
19204 * soft-fp/floatdisf.c: Likewise.
19205 * soft-fp/floatditf.c: Likewise.
19206 * soft-fp/floatsidf.c: Likewise.
19207 * soft-fp/floatsisf.c: Likewise.
19208 * soft-fp/floatsitf.c: Likewise.
19209 * soft-fp/floattidf.c: Likewise.
19210 * soft-fp/floattisf.c: Likewise.
19211 * soft-fp/floattitf.c: Likewise.
19212 * soft-fp/floatundidf.c: Likewise.
19213 * soft-fp/floatundisf.c: Likewise.
19214 * soft-fp/floatunditf.c: Likewise.
19215 * soft-fp/floatunsidf.c: Likewise.
19216 * soft-fp/floatunsisf.c: Likewise.
19217 * soft-fp/floatunsitf.c: Likewise.
19218 * soft-fp/floatuntidf.c: Likewise.
19219 * soft-fp/floatuntisf.c: Likewise.
19220 * soft-fp/floatuntitf.c: Likewise.
19221 * soft-fp/fmadf4.c: Likewise.
19222 * soft-fp/fmasf4.c: Likewise.
19223 * soft-fp/fmatf4.c: Likewise.
19224 * soft-fp/gedf2.c: Likewise.
19225 * soft-fp/gesf2.c: Likewise.
19226 * soft-fp/getf2.c: Likewise.
19227 * soft-fp/ledf2.c: Likewise.
19228 * soft-fp/lesf2.c: Likewise.
19229 * soft-fp/letf2.c: Likewise.
19230 * soft-fp/muldf3.c: Likewise.
19231 * soft-fp/mulsf3.c: Likewise.
19232 * soft-fp/multf3.c: Likewise.
19233 * soft-fp/negdf2.c: Likewise.
19234 * soft-fp/negsf2.c: Likewise.
19235 * soft-fp/negtf2.c: Likewise.
19236 * soft-fp/op-1.h: Likewise.
19237 * soft-fp/op-2.h: Likewise.
19238 * soft-fp/op-4.h: Likewise.
19239 * soft-fp/op-8.h: Likewise.
19240 * soft-fp/op-common.h: Likewise.
19241 * soft-fp/quad.h: Likewise.
19242 * soft-fp/single.h: Likewise.
19243 * soft-fp/soft-fp.h: Likewise.
19244 * soft-fp/sqrtdf2.c: Likewise.
19245 * soft-fp/sqrtsf2.c: Likewise.
19246 * soft-fp/sqrttf2.c: Likewise.
19247 * soft-fp/subdf3.c: Likewise.
19248 * soft-fp/subsf3.c: Likewise.
19249 * soft-fp/subtf3.c: Likewise.
19250 * soft-fp/truncdfsf2.c: Likewise.
19251 * soft-fp/trunctfdf2.c: Likewise.
19252 * soft-fp/trunctfsf2.c: Likewise.
19253 * soft-fp/trunctfxf2.c: Likewise.
19254 * soft-fp/unorddf2.c: Likewise.
19255 * soft-fp/unordsf2.c: Likewise.
19256 * soft-fp/unordtf2.c: Likewise.
19257
9ebb0332
JM
192582013-10-15 Joseph Myers <joseph@codesourcery.com>
19259
19260 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
19261 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
19262
4b1a6d8b
OB
192632013-10-15 Ondřej Bílka <neleai@seznam.cz>
19264
19265 * elf/dl-libc.c: Clear initfini list after freeing.
19266
1e145589
JM
192672013-10-14 Joseph Myers <joseph@codesourcery.com>
19268
19269 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
19270 * soft-fp/addsf3.c: Likewise.
19271 * soft-fp/addtf3.c: Likewise.
19272 * soft-fp/divdf3.c: Likewise.
19273 * soft-fp/divsf3.c: Likewise.
19274 * soft-fp/divtf3.c: Likewise.
19275 * soft-fp/double.h: Likewise.
19276 * soft-fp/eqdf2.c: Likewise.
19277 * soft-fp/eqsf2.c: Likewise.
19278 * soft-fp/eqtf2.c: Likewise.
19279 * soft-fp/extenddftf2.c: Likewise.
19280 * soft-fp/extended.h: Likewise.
19281 * soft-fp/extendsfdf2.c: Likewise.
19282 * soft-fp/extendsftf2.c: Likewise.
19283 * soft-fp/extendxftf2.c: Likewise.
19284 * soft-fp/fixdfdi.c: Likewise.
19285 * soft-fp/fixdfsi.c: Likewise.
19286 * soft-fp/fixdfti.c: Likewise.
19287 * soft-fp/fixsfdi.c: Likewise.
19288 * soft-fp/fixsfsi.c: Likewise.
19289 * soft-fp/fixsfti.c: Likewise.
19290 * soft-fp/fixtfdi.c: Likewise.
19291 * soft-fp/fixtfsi.c: Likewise.
19292 * soft-fp/fixtfti.c: Likewise.
19293 * soft-fp/fixunsdfdi.c: Likewise.
19294 * soft-fp/fixunsdfsi.c: Likewise.
19295 * soft-fp/fixunsdfti.c: Likewise.
19296 * soft-fp/fixunssfdi.c: Likewise.
19297 * soft-fp/fixunssfsi.c: Likewise.
19298 * soft-fp/fixunssfti.c: Likewise.
19299 * soft-fp/fixunstfdi.c: Likewise.
19300 * soft-fp/fixunstfsi.c: Likewise.
19301 * soft-fp/fixunstfti.c: Likewise.
19302 * soft-fp/floatdidf.c: Likewise.
19303 * soft-fp/floatdisf.c: Likewise.
19304 * soft-fp/floatditf.c: Likewise.
19305 * soft-fp/floatsidf.c: Likewise.
19306 * soft-fp/floatsisf.c: Likewise.
19307 * soft-fp/floatsitf.c: Likewise.
19308 * soft-fp/floattidf.c: Likewise.
19309 * soft-fp/floattisf.c: Likewise.
19310 * soft-fp/floattitf.c: Likewise.
19311 * soft-fp/floatundidf.c: Likewise.
19312 * soft-fp/floatundisf.c: Likewise.
19313 * soft-fp/floatunsidf.c: Likewise.
19314 * soft-fp/floatunsisf.c: Likewise.
19315 * soft-fp/floatuntidf.c: Likewise.
19316 * soft-fp/floatuntisf.c: Likewise.
19317 * soft-fp/floatuntitf.c: Likewise.
19318 * soft-fp/fmadf4.c: Likewise.
19319 * soft-fp/fmasf4.c: Likewise.
19320 * soft-fp/fmatf4.c: Likewise.
19321 * soft-fp/gedf2.c: Likewise.
19322 * soft-fp/gesf2.c: Likewise.
19323 * soft-fp/getf2.c: Likewise.
19324 * soft-fp/ledf2.c: Likewise.
19325 * soft-fp/lesf2.c: Likewise.
19326 * soft-fp/letf2.c: Likewise.
19327 * soft-fp/muldf3.c: Likewise.
19328 * soft-fp/mulsf3.c: Likewise.
19329 * soft-fp/multf3.c: Likewise.
19330 * soft-fp/negdf2.c: Likewise.
19331 * soft-fp/negsf2.c: Likewise.
19332 * soft-fp/negtf2.c: Likewise.
19333 * soft-fp/op-1.h: Likewise.
19334 * soft-fp/op-2.h: Likewise.
19335 * soft-fp/op-4.h: Likewise.
19336 * soft-fp/op-8.h: Likewise.
19337 * soft-fp/op-common.h: Likewise.
19338 * soft-fp/quad.h: Likewise.
19339 * soft-fp/single.h: Likewise.
19340 * soft-fp/soft-fp.h: Likewise.
19341 * soft-fp/sqrtdf2.c: Likewise.
19342 * soft-fp/sqrtsf2.c: Likewise.
19343 * soft-fp/sqrttf2.c: Likewise.
19344 * soft-fp/subdf3.c: Likewise.
19345 * soft-fp/subsf3.c: Likewise.
19346 * soft-fp/subtf3.c: Likewise.
19347 * soft-fp/truncdfsf2.c: Likewise.
19348 * soft-fp/trunctfdf2.c: Likewise.
19349 * soft-fp/trunctfsf2.c: Likewise.
19350 * soft-fp/trunctfxf2.c: Likewise.
19351 * soft-fp/unorddf2.c: Likewise.
19352 * soft-fp/unordsf2.c: Likewise.
19353 * soft-fp/unordtf2.c: Likewise.
19354
17c48a60
OB
193552013-10-14 Ondřej Bílka <neleai@seznam.cz>
19356
19357 [BZ #15672]
19358 * misc/error.c (error_tail): Fix possible buffer overflow.
19359
cabba934
OB
193602013-10-14 Aurelien Jarno <aurelien@aurel32.net>
19361
19362 [BZ #13028]
19363 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
19364 address.
19365
94bf958a
PM
193662013-10-14 P. J. McDermott <pj@pehjota.net>
19367
19368 [BZ #832]
19369 * elf/ldd.bash.in (try_trace): New function. Delete previous code
19370 testing pipefail option.
19371
71b4dea7
JM
193722013-10-12 Joseph Myers <joseph@codesourcery.com>
19373
19374 * soft-fp/double.h: Indent preprocessor directives inside #if.
19375 * soft-fp/extended.h: Likewise.
19376 * soft-fp/op-2.h: Likewise.
19377 * soft-fp/op-4.h: Likewise.
19378 * soft-fp/op-common.h: Likewise.
19379 * soft-fp/quad.h: Likewise.
19380 * soft-fp/single.h: Likewise.
19381 * soft-fp/soft-fp.h: Likewise.
19382
55602758
YC
193832013-10-12 Yuri Chornoivan <yurchor@ukr.net>
19384
19385 * iconv/iconv_prog.c: Fix typos.
19386 * stdio-common/psiginfo-data.h: Likewise.
19387
9cd83302
RT
193882013-10-12 Reuben Thomas <rrt@sc3d.org>
19389
19390 [BZ #15764]
19391 * locale/setlocale.c: Fix typo.
19392
99fd9f47
JM
193932013-10-12 Joseph Myers <joseph@codesourcery.com>
19394
b7ea74f0
JM
19395 [BZ #16036]
19396 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
19397 signaling NaN arguments.
19398 * soft-fp/unordsf2.c (__unordsf2): Likewise.
19399 * soft-fp/unordtf2.c (__unordtf2): Likewise.
19400
8a509447
JM
19401 [BZ #14910]
19402 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
19403 unordered operands.
19404 * soft-fp/gesf2.c (__gesf2): Likewise.
19405 * soft-fp/getf2.c (__getf2): Likewise.
19406 * soft-fp/ledf2.c (__ledf2): Likewise.
19407 * soft-fp/lesf2.c (__lesf2): Likewise.
19408 * soft-fp/letf2.c (__letf2): Likewise.
19409
98998e9f
JM
19410 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
19411 * soft-fp/eqsf2.c (__eqsf2): Likewise.
19412 * soft-fp/eqtf2.c (__eqtf2): Likewise.
19413 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
19414 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
19415 * soft-fp/fixdfti.c (__fixdfti): Likewise.
19416 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
19417 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
19418 * soft-fp/fixsfti.c (__fixsfti): Likewise.
19419 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
19420 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
19421 * soft-fp/fixtfti.c (__fixtfti): Likewise.
19422 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
19423 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
19424 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
19425 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
19426 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
19427 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
19428 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
19429 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
19430 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
19431 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
19432 * soft-fp/floatdisf.c (__floatdisf): Likewise.
19433 * soft-fp/floatsisf.c (__floatsisf): Likewise.
19434 * soft-fp/floattidf.c (__floattidf): Likewise.
19435 * soft-fp/floattisf.c (__floattisf): Likewise.
19436 * soft-fp/floattitf.c (__floattitf): Likewise.
19437 * soft-fp/floatundidf.c (__floatundidf): Likewise.
19438 * soft-fp/floatundisf.c (__floatundisf): Likewise.
19439 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
19440 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
19441 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
19442 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
19443 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
19444 * soft-fp/gesf2.c (__gesf2): Likewise.
19445 * soft-fp/getf2.c (__getf2): Likewise.
19446 * soft-fp/ledf2.c (__ledf2): Likewise.
19447 * soft-fp/lesf2.c (__lesf2): Likewise.
19448 * soft-fp/letf2.c (__letf2): Likewise.
19449
8edc4a11
JM
19450 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
19451 Undefine and redefine.
19452 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
19453 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
19454 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
19455 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
19456 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
19457 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
19458 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
19459 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
19460 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
19461 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
19462 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
19463 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
19464 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
19465 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
19466 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
19467
8399acaf
JM
19468 [BZ #16032]
19469 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
19470 without decrementing exponent if mantissa >= that for the
19471 denominator, not >.
19472 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
19473 denominator, not >. Decrement exponent in < case instead of
19474 incrementing in >= case.
19475 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
19476 without decrementing exponent if mantissa >= that for the
19477 denominator, not >.
19478
99fd9f47
JM
19479 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
19480 computing saturated result for unsigned overflow.
19481
10e1cf6b
SP
194822013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
19483 Jeff Law <law@redhat.com>
19484
19485 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
19486 (atan2Mp): Add systemtap probe marker.
19487 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
19488 (__ieee754_log): Add systemtap probe marker.
19489 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
19490 (atanMp): Add systemtap probe marker.
19491 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
19492 (tanMp): Add systemtap probe marker.
19493 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
19494 (__slowexp): Add systemtap probe marker.
19495 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
19496 (__slowpow): Add systemtap probe marker.
19497 * manual/probes.texi: Document probes.
19498
3d110c7c
EB
194992013-10-11 Eric Biggers <ebiggers3@gmail.com>
19500
19501 [BZ #15362]
19502 * libio/fileops.c (_IO_new_file_write): Return count of bytes
19503 written.
19504 (_IO_new_file_xsputn): Don't return EOF if nothing has been
19505 written.
19506 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
19507 written to buffer but not flushed.
19508 * libio/iofwrite_u.c: Likewise.
19509 * libio/iopadn.c: Return bytes returned even if EOF was
19510 encountered.
19511 * libio/iowpadn.c: Likewise.
19512 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
19513 if _IO_padn does not write the whole buffer.
19514 [!COMPILE_WPRINTF] (PAD): Likewise.
19515
75b4202a
DM
195162013-10-10 David S. Miller <davem@davemloft.net>
19517
19518 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
19519 directory block.
19520
6c6352e6
JM
195212013-10-10 Joseph Myers <joseph@codesourcery.com>
19522
33b853c3
JM
19523 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
19524 instead of FSF address.
19525 * soft-fp/fixdfti.c: Likewise.
19526 * soft-fp/fixsfti.c: Likewise.
19527 * soft-fp/fixtfti.c: Likewise.
19528 * soft-fp/fixunsdfti.c: Likewise.
19529 * soft-fp/fixunssfti.c: Likewise.
19530 * soft-fp/fixunstfti.c: Likewise.
19531 * soft-fp/floattidf.c: Likewise.
19532 * soft-fp/floattisf.c: Likewise.
19533 * soft-fp/floattitf.c: Likewise.
19534 * soft-fp/floatuntidf.c: Likewise.
19535 * soft-fp/floatuntisf.c: Likewise.
19536 * soft-fp/floatuntitf.c: Likewise.
19537 * soft-fp/trunctfxf2.c: Likewise.
19538
6c6352e6
JM
19539 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
19540 * soft-fp/fixdfti.c: Likewise.
19541 * soft-fp/fixsfti.c: Likewise.
19542 * soft-fp/fixtfti.c: Likewise.
19543 * soft-fp/fixunsdfti.c: Likewise.
19544 * soft-fp/fixunssfti.c: Likewise.
19545 * soft-fp/fixunstfti.c: Likewise.
19546 * soft-fp/floattidf.c: Likewise.
19547 * soft-fp/floattisf.c: Likewise.
19548 * soft-fp/floattitf.c: Likewise.
19549 * soft-fp/floatuntidf.c: Likewise.
19550 * soft-fp/floatuntisf.c: Likewise.
19551 * soft-fp/floatuntitf.c: Likewise.
19552 * soft-fp/trunctfxf2.c: Likewise.
19553
3bf78b71
DM
195542013-10-10 David S. Miller <davem@davemloft.net>
19555
19556 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19557
6f10289e
JM
195582013-10-10 Joseph Myers <joseph@codsourcery.com>
19559
bd878fc0
JM
19560 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
19561 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
19562 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
19563 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
19564 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
19565 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
19566 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
19567
6f10289e
JM
19568 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
19569 for NaNs before doing comparisons on argument.
19570 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
19571 Likewise.
19572
321e2684
WN
195732013-10-10 Will Newton <will.newton@linaro.org>
19574
19575 * malloc/hooks.c (memalign_check): Ensure the value of bytes
19576 passed to _int_memalign does not overflow.
19577
40fefba1
TR
195782013-10-10 Torvald Riegel <triegel@redhat.com>
19579
19580 * scripts/bench.pl: Add include-sources directive.
19581 * benchtests/README: Update documentation.
19582
2ae21ed2
JM
195832013-10-10 Joseph Myers <joseph@codesourcery.com>
19584
dcc2dd3f
JM
19585 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
19586 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
19587 instead of FP_INIT_ROUNDMODE.
19588 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
19589 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
19590
2ae21ed2
JM
19591 [BZ #16034]
19592 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
19593 copy class of input value.
19594 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
19595 not handle exceptions.
19596 * soft-fp/negsf2.c (__negsf2): Likewise.
19597 * soft-fp/negtf2.c (__negtf2): Likewise.
19598 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
19599
cb8f9562
JM
196002013-10-09 Joseph Myers <joseph@codesourcery.com>
19601
19602 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
19603 semicolon. From Linux kernel.
19604
5b60c59d
AB
196052013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
19606
19607 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
19608
b86835ca
YC
196092013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
19610
19611 [BZ #156]
19612 * manual/socket.texi: Added statement about buffer
19613 for gethostbyname2_r.
19614
e7044ea7
OB
196152013-10-08 Ondřej Bílka <neleai@seznam.cz>
19616
19617 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
19618 Use .p2align directive instead, throughout.
19619 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
19620 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
19621 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
19622 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
19623 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
19624 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
19625 * sysdeps/x86_64/strchr.S: Likewise.
19626 * sysdeps/x86_64/strrchr.S: Likewise.
19627
09544cbc
SP
196282013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
19629
88576635
SP
19630 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
19631
e7b2d1dd
SP
19632 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
19633
09544cbc
SP
19634 * sysdeps/generic/math_private.h (__mpsin1): Remove
19635 declaration.
19636 (__mpcos1): Likewise.
19637 (__mpsin): New argument __range_reduce.
19638 (__mpcos): Likewise.
19639 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
19640 (slow): Use __mpsin and __mpcos.
19641 (slow1): Likewise.
19642 (slow2): Likewise.
19643 (sloww): Likewise.
19644 (sloww1): Likewise.
19645 (sloww2): Likewise.
19646 (bsloww): Likewise.
19647 (bsloww1): Likewise.
19648 (bsloww2): Likewise.
19649 (cslow2): Likewise.
19650 (csloww): Likewise.
19651 (csloww1): Likewise.
19652 (csloww2): Likewise.
19653 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
19654 range_reduce. Merge in __mpsin1.
19655 (__mpcos): Likewise.
19656 (__mpsin1): Remove.
19657 (__mpcos1): Likewise.
19658
7602d070
JM
196592013-10-07 Joseph Myers <joseph@codesourcery.com>
19660
19661 * locale/loadlocale.c (_nl_intern_locale_data): Use
19662 LOCFILE_ALIGNED_P.
19663 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
19664 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
19665 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
19666 obstack data is appropriately aligned.
19667 (obstack_int32_grow_fast): Likewise.
19668 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
19669 * locale/programs/locfile.c (add_locale_uint32): Likewise.
19670 (add_locale_uint32_array): Likewise.
19671
a357259b
SP
196722013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
19673
19674 * benchtests/Makefile: Remove ARGLIST and RET variables.
19675 ($(objpfx)bench-%.c): Pass only function name to the script.
19676 * benchtests/README: Update documentation.
19677 * benchtests/acos-inputs: Add new directives.
19678 * benchtests/acosh-inputs: Likewise.
19679 * benchtests/asin-inputs: Likewise.
19680 * benchtests/asinh-inputs: Likewise.
19681 * benchtests/atan-inputs: Likewise.
19682 * benchtests/atanh-inputs: Likewise.
19683 * benchtests/cos-inputs: Likewise.
19684 * benchtests/cosh-inputs: Likewise.
19685 * benchtests/exp-inputs: Likewise.
19686 * benchtests/log-inputs: Likewise.
19687 * benchtests/pow-inputs: Likewise.
19688 * benchtests/rint-inputs: Likewise.
19689 * benchtests/sin-inputs: Likewise.
19690 * benchtests/sinh-inputs: Likewise.
19691 * benchtests/tan-inputs: Likewise.
19692 * benchtests/tanh-inputs: Likewise.
19693 * scripts/bench.pl: Add support for new directives.
19694
9ec1b13d
AM
196952013-10-07 Alan Modra <amodra@gmail.com>
19696
19697 * README: Fix careless merge.
19698
8b7d57cd
AM
196992013-10-05 Alan Modra <amodra@gmail.com>
19700
19701 * NEWS: Mention powerpc64le support and bugs fixed.
19702 * README: Both big-endian and little-endian powerpc64 supported.
19703
7b7bab13
ST
197042013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
19705
57f41c40
AS
19706 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
19707 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
7b7bab13
ST
19708 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
19709 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
19710
d39baad1
RA
197112013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
19712
19713 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
19714 match prototype.
19715
cd78f7e7
JM
197162013-10-04 Joseph Myers <joseph@codesourcery.com>
19717
29d73d86
JM
19718 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
19719 Move -mhard-float appending from
19720 ports/sysdeps/powerpc/powerpc32/Makefile.
19721 [$(with-fp) = yes] (ASFLAGS): Likewise.
19722 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
19723 * sysdeps/powerpc/nofpu: Move directory from
19724 ports/sysdeps/powerpc/nofpu.
19725 * sysdeps/powerpc/soft-fp: Move directory from
19726 ports/sysdeps/powerpc/soft-fp.
19727 * sysdeps/powerpc/powerpc32/405: Move directory from
19728 ports/sysdeps/powerpc/powerpc32/405.
19729 * sysdeps/powerpc/powerpc32/440: Move directory from
19730 ports/sysdeps/powerpc/powerpc32/440.
19731 * sysdeps/powerpc/powerpc32/464: Move directory from
19732 ports/sysdeps/powerpc/powerpc32/464.
19733 * sysdeps/powerpc/powerpc32/476: Move directory from
19734 ports/sysdeps/powerpc/powerpc32/476.
19735 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
19736 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
19737 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
19738 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
19739 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
19740 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
19741 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
19742 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
19743 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
19744 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
19745 * README: Update for powerpc-*-linux-gnu software floating point
19746 support in libc.
19747
e246b347
JM
19748 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
19749 case to powerpc/powerpc32*.
19750 * sysdeps/unix/sysv/linux/configure: Regenerated.
19751
89c2003e
JM
19752 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
19753 (_FPU_MASK_OM): Define as 0x04.
19754 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
19755 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
19756 0x00c10080.
19757 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
19758 0x0000003c.
19759 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
19760
cd78f7e7
JM
19761 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
19762 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
19763 getcontext_e500.
19764 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
19765 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
19766 setcontext_e500.
19767 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
19768 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
19769 and setcontext_e500.
19770
c755294d
CL
197712013-10-04 Chris Leonard <cjl@sugarlabs,.org>
19772
19773 * locale/iso-3166.def: Update iso-1366.def and related occurrences
19774
e16d221c
SP
197752013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
19776
19777 * manual/threads.texi (Default Thread Attributes): Fix typo.
19778
215c7d43
WN
197792013-10-04 Will Newton <will.newton@linaro.org>
19780
19781 * malloc/Makefile: Add tst-memalign.
19782 * malloc/tst-memalign.c: New file.
19783
27d0461b
WN
19784 * malloc/tst-posix_memalign.c: Add comments.
19785 (do_test): Add comments and call free on all potentially
19786 allocated pointers. Add space after cast.
19787
1bc92709
WN
19788 * malloc/tst-pvalloc.c: Add comments.
19789 (do_test): Add comments and call free on all potentially
19790 allocated pointers. Remove duplicate check for NULL pointer.
19791 Add space after cast.
19792
66a9be9d
WN
19793 * malloc/tst-valloc.c: Add comments.
19794 (do_test): Add comments and call free on all potentially
19795 allocated pointers. Remove duplicate check for NULL pointer.
19796 Add space after cast.
19797
4cb81307
AM
197982013-10-04 Alan Modra <amodra@gmail.com>
19799
19800 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
19801 Use stdint types in rather than __attribute__((mode())).
19802 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
19803
f8e3e9f3
AM
198042013-10-04 Alan Modra <amodra@gmail.com>
19805
19806 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
19807 Correct handling of unaligned relocs for little-endian.
19808 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
19809
8f9ebb08
AM
198102013-10-04 Alan Modra <amodra@gmail.com>
19811
19812 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
19813 * configure: Regenerate.
19814 * nptl/shlib-versions: Powerpc*le starts at 2.18.
19815 * shlib-versions: Likewise.
19816
0edf96c2
AM
198172013-10-04 Alan Modra <amodra@gmail.com>
19818
19819 * string/tester.c (test_memrchr): Increment reported test cycle.
19820
e0f7a380
AM
198212013-10-04 Alan Modra <amodra@gmail.com>
19822
19823 * string/test-memcpy.c (do_one_test): When reporting errors, print
19824 string address and don't overrun end of string.
19825
466b0393
AM
198262013-10-04 Alan Modra <amodra@gmail.com>
19827
19828 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
19829 insrdi. Make better use of reg selection to speed exit slightly.
19830 Schedule entry path a little better. Remove useless "are we done"
19831 checks on entry to main loop. Handle wrapping around zero address.
19832 Correct main loop count. Handle single left-over word from main
19833 loop inline rather than by using loop_small. Remove extra word
19834 case in loop_small caused by wrong loop count. Add little-endian
19835 support.
19836 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
19837 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
19838 cache hint.
19839 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
19840 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
19841 support. Avoid rlwimi.
19842 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
19843
3be87c77
AM
198442013-10-04 Alan Modra <amodra@gmail.com>
19845
19846 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
e3764517 19847 insrdi. Formatting.
3be87c77
AM
19848 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
19849 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
19850 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
19851 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
19852 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
19853 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
19854
759cfef3
AM
198552013-10-04 Alan Modra <amodra@gmail.com>
19856
19857 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
19858 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
19859 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
19860 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
19861 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
19862 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
19863 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
19864 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
19865 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
19866 use of regs. Use power7 mtocrf. Tidy function tails.
19867
fe6e95d7
AM
198682013-10-04 Alan Modra <amodra@gmail.com>
19869
19870 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
19871 Formatting. Consistently use rXXX register defines or rN defines.
19872 Use early exit labels that avoid restoring unused non-volatile regs.
19873 Make cr field use more consistent with rWORDn compares. Rename
19874 regs used as shift registers for unaligned loop, using rN defines
19875 for short lifetime/multiple use regs.
19876 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
19877 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
19878 addi 1,1,64 to pop stack frame. Simplify return value code.
19879 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
19880
664318c3
AM
198812013-10-04 Alan Modra <amodra@gmail.com>
19882
19883 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
19884 support. Correct typos, formatting. Optimize tail. Use insrdi
19885 rather than rlwimi.
19886 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
19887 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
19888 little-endian support. Correct typos.
19889 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
19890 rather than rlwimi.
19891 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
19892 in loop and entry code to keep "and." results.
19893 (strchr): Add little-endian support. Comment. Move cntlzd
19894 earlier in tail.
19895 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
19896
43b84013
AM
198972013-10-04 Alan Modra <amodra@gmail.com>
19898
19899 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
19900 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
19901 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
19902 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
19903
8a7413f9
AM
199042013-10-04 Alan Modra <amodra@gmail.com>
19905
19906 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
19907 (rTMP): Define as r11.
19908 (strcmp): Add little-endian support. Optimise tail.
19909 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
19910 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
19911 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
19912 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
19913 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
19914 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
19915 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
19916
33ee81de
AM
199172013-10-04 Alan Modra <amodra@gmail.com>
19918
19919 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
19920 little-endian support. Remove unnecessary "are we done" tests.
19921 Handle "s" wrapping around zero and extremely large "size".
19922 Correct main loop count. Handle single left-over word from main
19923 loop inline rather than by using small_loop. Correct comments.
19924 Delete "zero" tail, use "end_max" instead.
19925 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
19926
db9b4570
AM
199272013-10-04 Alan Modra <amodra@gmail.com>
19928
19929 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
19930 support. Don't branch over align.
19931 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
19932 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
19933 support. Rearrange tmp reg use to suit. Comment.
19934 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
19935
f7c399cf
AM
199362013-10-04 Alan Modra <amodra@gmail.com>
19937
19938 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
19939
0b2c2ace
AM
199402013-10-04 Alan Modra <amodra@gmail.com>
19941
19942 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
19943 conditional form of branch and link when obtaining pc.
19944 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
19945
02f04a6c
AM
199462013-10-04 Alan Modra <amodra@gmail.com>
19947
19948 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
19949 HIWORD/LOWORD.
19950 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
19951 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
19952
9b874b2f
AM
199532013-10-04 Alan Modra <amodra@gmail.com>
19954
19955 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
19956 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
19957 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
19958 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
19959 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
19960 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
19961 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
19962 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
19963 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
19964 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
19965
be1e5d31
AB
199662013-10-04 Anton Blanchard <anton@au1.ibm.com>
19967 Alistair Popple <alistair@ozlabs.au.ibm.com>
19968 Alan Modra <amodra@gmail.com>
19969
19970 [BZ #15723]
19971 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
19972 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
19973 _dl_hwcap access for little-endian.
19974 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
19975 destroy vmx regs when saving unaligned.
19976 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
19977 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
19978 destroy vmx regs when saving unaligned.
19979
fef13a78
AM
199802013-10-04 Alan Modra <amodra@gmail.com>
19981
19982 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
19983 Don't use a union to pack hi/low value.
19984
76a66d51
AB
199852013-10-04 Anton Blanchard <anton@au1.ibm.com>
19986
19987 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
19988 for little-endian.
19989 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
19990 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
19991 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
19992 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
19993 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
19994
6a31fe7f
AM
199952013-10-04 Alan Modra <amodra@gmail.com>
19996
19997 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
19998 constants to usual value for .cst8 section, and remove redundant
19999 high address load.
20000 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
20001 constant for 0x1p52. Load little-endian words of double from
20002 correct stack offsets.
20003
7b88401f
AM
200042013-10-04 Alan Modra <amodra@gmail.com>
20005
20006 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
20007 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
20008 words of double from correct stack offsets.
20009 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
20010 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
20011 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
20012 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
20013 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
20014 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
20015 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
20016 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
20017 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
20018 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
20019 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
20020 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
20021 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
20022 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
20023 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
20024 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
20025 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
20026
9c008155
AM
200272013-10-04 Alan Modra <amodra@gmail.com>
20028
20029 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
20030 64-bit int/double union.
20031 (_FPU_SETCW): Likewise.
20032 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
20033 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
20034
da13146d
AM
200352013-10-04 Alan Modra <amodra@gmail.com>
20036
20037 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
20038 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
20039
603e8410
AM
200402013-10-04 Alan Modra <amodra@gmail.com>
20041
20042 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
20043 use vector int constants.
20044 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
20045
4a28b3ca
AB
200462013-10-04 Anton Blanchard <anton@au1.ibm.com>
20047
20048 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
20049 array with long long.
20050 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
20051 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
20052 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
20053 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
20054 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
20055 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
20056 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
20057 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
20058 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
20059 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
20060 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
20061 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
20062 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
20063
2ca85d2b
AB
200642013-10-04 Anton Blanchard <anton@au1.ibm.com>
20065
20066 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
20067 (__signbit): Likewise. Correct for little-endian.
20068 (__signbitl): Call __signbit.
20069 (lrint): Correct for little-endian.
20070 (lrintf): Call lrint.
20071
62a728ae
AM
200722013-10-04 Alan Modra <amodra@gmail.com>
20073
20074 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
20075 union 32-bit int array member with 64-bit int array.
20076 (t515, tm256): Double rather than long double.
20077 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
20078
32c301df
AM
200792013-10-04 Alan Modra <amodra@gmail.com>
20080
20081 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
20082 Delete.
20083 (IEEE854_LONG_DOUBLE_BIAS): Delete.
20084 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
20085 version of math_ldbl.h.
20086
650ef4bd
AM
200872013-10-04 Alan Modra <amodra@gmail.com>
20088
20089 [BZ #15734], [BZ #15735]
20090 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
20091 all uses of ieee875 long double macros and unions. Simplify test
20092 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
20093 ldbl_extract_mantissa value for ix,iy exponents. Properly
20094 normalize after ldbl_extract_mantissa, and don't add hidden bit
20095 already handled. Don't treat low word of ieee854 mantissa like
20096 low word of IBM long double and mask off bit when testing for
20097 zero.
20098 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
20099 all uses of ieee875 long double macros and unions. Simplify tests
20100 for 0.0L and inf. Correct double adjustment of k. Delete dead code
20101 adjusting ha,hb. Simplify code setting kld. Delete two600 and
20102 two1022, instead use their values. Recognise that tests for large
20103 "a" and small "b" are mutually exclusive. Rename vars. Comment.
20104 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
20105 Rewrite all uses of ieee875 long double macros and unions. Simplify
20106 test for 0.0L and nan. Correct negation.
20107 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
20108 ieee875 long double macros and unions. Correct output for large
20109 magnitude x. Correct absolute value calculation.
20110 (__erfcl): Likewise.
20111 * math/libm-test.inc: Add tests for errors discovered in IBM long
20112 double versions of fmodl, remainderl, erfl and erfcl.
20113
765714ca
AM
201142013-10-04 Alan Modra <amodra@gmail.com>
20115
20116 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
20117 all uses of ieee854 long double macros and unions. Simplify tests
20118 for long doubles that are fully specified by the high double.
20119 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
20120 Likewise.
20121 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
20122 Remove dead code too.
20123 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
20124 (__ieee754_ynl): Likewise.
20125 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
20126 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
20127 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
20128 Remove dead code too.
20129 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
20130 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
20131 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
20132 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
20133 Simplify.
20134 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
20135 Simplify.
20136 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
20137 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
20138 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
20139 Comment on variable precision.
20140 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
20141 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
20142 Likewise.
20143 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
20144 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
20145 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
20146 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
20147 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
20148
4ebd120c
AM
201492013-10-04 Alan Modra <amodra@gmail.com>
20150
20151 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
20152 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
20153 all uses of ieee854 long double macros and unions.
20154 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
20155 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
20156 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
20157 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
20158 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
20159 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
20160 Likewise.
20161 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
20162 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
20163 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
20164 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
20165 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
20166 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
20167 Simplify sign and nan test too.
20168 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
20169 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
20170 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
20171 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
20172 Likewise.
20173 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
20174 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
20175 Likewise.
20176 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
20177 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
20178 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
20179 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
20180 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
20181 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
20182
1b6adf88
AM
201832013-10-04 Alan Modra <amodra@gmail.com>
20184
20185 * stdio-common/printf_size.c (__printf_size): Don't use
20186 union ieee854_long_double in fpnum union.
20187 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
20188 signbit macro to retrieve sign from long double.
20189 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
20190 retrieve sign from long double.
20191 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
20192 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
20193 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
20194 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
20195 * math/test-misc.c (main): Don't use union ieee854_long_double.
20196
4cf69995
AM
201972013-10-04 Alan Modra <amodra@gmail.com>
20198
20199 [BZ #15680]
20200 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
20201 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
20202 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
20203 calculation. Remove unnecessary test for denormal exponent.
20204 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
20205 Correct handling of denormals. Avoid undefined shift behaviour.
20206 Correct normalisation of low mantissa when low double is denormal.
20207 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
20208 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
20209 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
20210 Correct normalisation of low mantissa. Test for overflow of high
20211 mantissa and normalise.
20212 (ldbl_nearbyint): Use more readable constant for two52.
20213 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
20214 (__mpn_construct_long_double): Fix test for overflow of high
20215 mantissa and correct normalisation. Avoid undefined shift.
20216
9605ca6c
AM
202172013-10-04 Alan Modra <amodra@gmail.com>
20218
20219 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
20220 (union ibm_extended_long_double): Define as an array of ieee754_double.
20221 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
20222 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
20223 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
20224 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
20225 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
20226 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
20227 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
20228 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
20229 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
20230 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
20231 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
20232
975569d0
JM
202332013-10-03 Joseph Myers <joseph@codesourcery.com>
20234
d3d23756
JM
20235 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
20236 page size instead of calling getpagesize.
20237
975569d0
JM
20238 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
20239 (LOCFILE_ALIGN_MASK): Likewise.
20240 (LOCFILE_ALIGN_UP): Likewise.
20241 (LOCFILE_ALIGNED_P): Likewise.
20242 * locale/programs/ld-collate.c (collate_output): Use the new
20243 macros instead of __alignof__ (int32_t).
20244 * locale/weight.h (findidx): Likewise.
20245
b1fe1f2b
OB
202462013-10-03 Ondřej Bílka <neleai@seznam.cz>
20247
20248 [BZ #431]
20249 * manual/string.texi: Fix strncat and wcsncat.
20250
5f855e35
BM
202512013-10-03 Brooks Moses <bmoses@google.com>
20252
20253 [BZ #15915]
20254 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
20255 * Makerules: ...here, and adjust associated comments.
20256
3cef6009
WN
202572013-10-02 Will Newton <will.newton@linaro.org>
20258
20259 * malloc/Makefile: Add tst-pvalloc.
20260 * malloc/tst-pvalloc.c: New file.
20261
7815420b
WN
202622013-10-02 Will Newton <will.newton@linaro.org>
20263
20264 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
20265 improve test coverage.
20266
4868b204
WN
202672013-10-02 Will Newton <will.newton@linaro.org>
20268
20269 * malloc/Makefile: Add tst-posix_memalign.
20270 * malloc/tst-posix_memalign.c: New file.
20271
29c793b3
EB
202722013-10-01 Eric Blake <eblake@redhat.com>
20273
20274 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
20275 Use __THROWNL rather than __THROW on static functions.
20276
fd967522
PM
202772013-09-30 Petr Machata <pmachata@redhat.com>
20278
20279 * elf/elf.h (R_AARCH64_ABS16): New macro.
20280 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
20281 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
20282 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
20283 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
20284 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
20285 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
20286 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
20287 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
20288 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
20289 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
20290 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
20291 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
20292 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
20293 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
20294 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
20295 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
20296 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
20297 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
20298 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
20299 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
20300 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
20301 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
20302 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
20303 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
20304 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
20305 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
20306 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
20307 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
20308 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
20309 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
20310 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
20311 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
20312 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
20313 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
20314 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
20315 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
20316 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
20317 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
20318 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
20319 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
20320 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
20321 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
20322 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
20323 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
20324 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
20325 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
20326 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
20327 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
20328 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
20329 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
20330 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
20331 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
20332 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
20333 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
20334 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
20335 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
20336 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
20337 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
20338 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
20339 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
20340 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
20341 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
20342 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
20343 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
20344 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
20345 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
20346 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
20347 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
20348 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
20349 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
20350 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
20351 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
20352 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
20353 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
20354 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
20355 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
20356 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
20357 (R_AARCH64_TLSDESC_LDR): Likewise.
20358 (R_AARCH64_TLSDESC_ADD): Likewise.
20359 (R_AARCH64_TLSDESC_CALL): Likewise.
20360
b2179107
AS
203612013-09-30 Andreas Schwab <schwab@suse.de>
20362
20363 [BZ #15048]
20364 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
20365 the nss database lookup.
20366 * nscd/initgrcache.c (addinitgroupsX): Likewise.
20367 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
20368
47f28d0a
MF
203692013-09-28 Mike Frysinger <vapier@gentoo.org>
20370
20371 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
20372
203732013-09-28 P. J. McDermott <pj@pehjota.net>
0a834dde
PM
20374
20375 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
20376 ${Bash-specific parameter/pattern/string} parameter expansion.
20377 * sysdeps/unix/make-syscalls.sh: Likewise.
20378
f4518a17
KK
203792013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
20380
20381 * sysdeps/sh/stackguard-macros.h: New file.
20382
dc1a95c7
OB
203832013-09-26 Ondřej Bílka <neleai@seznam.cz>
20384
20385 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
20386 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
20387 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
20388 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
20389 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
20390 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
20391
5ebbff8f
AZ
203922013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20393
20394 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
20395 Fix thread ID register.
20396
4fd2cf9f
JM
203972013-09-25 Joseph Myers <joseph@codesourcery.com>
20398
20399 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
20400 [POSIX || UNIX98]: Require rather than permitting all symbols from
20401 <time.h>.
20402 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
20403 element of struct sched_param.
20404 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
20405 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
20406 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
20407 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
20408 constant.
20409
12c22bc4
OL
204102013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
20411
20412 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
20413 argument calculation.
20414
a03d8ea7
JM
204152013-09-24 Joseph Myers <joseph@codesourcery.com>
20416
20417 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
20418 Expect macro.
20419 [POSIX] (pthread_attr_t): Do not require type.
20420 [POSIX] (pthread_cond_t): Likewise.
20421 [POSIX] (pthread_condattr_t): Likewise.
20422 [POSIX] (pthread_key_t): Likewise.
20423 [POSIX] (pthread_mutex_t): Likewise.
20424 [POSIX] (pthread_mutexattr_t): Likewise.
20425 [POSIX] (pthread_once_t): Likewise.
20426 [POSIX] (pthread_t): Likewise.
20427 [POSIX-based standards] (pthread_atfork): Expect function.
20428
6055173a
JM
204292013-09-24 Joseph Myers <joseph@codesourcery.com>
20430 Richard Sandiford <richard@codesourcery.com>
20431
20432 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
20433 (swap_endianness_p): New extern variable.
20434 (set_big_endian): New inline function.
20435 (maybe_swap_uint32): Likewise.
20436 (maybe_swap_uint32_array): Likewise.
20437 (maybe_swap_uint32_obstack): Likewise.
20438 * locale/programs/locfile.c: Include <stdbool.h>.
20439 (swap_endianness_p): New variable.
20440 (add_locale_uint32): Call maybe_swap_uint32.
20441 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
20442 (write_locale_data): Call maybe_swap_uint32_array.
20443 * locale/programs/ld-collate.c (obstack_int32_grow): Call
20444 maybe_swap_uint32.
20445 (obstack_int32_grow_fast): Likewise.
20446 (output_weightwc): Call maybe_swap_uint32_obstack.
20447 (collate_output): Likewise.
20448 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
20449 (OPT_LITTLE_ENDIAN): Likewise.
20450 (options): Add --little-endian and --big-endian options.
20451 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
20452 * locale/programs/locarchive.c: Include "locfile.h".
20453 (GET): New macro.
20454 (SET): Likewise.
20455 (INC): Likewise.
20456 (create_archive): Use the new macros to access fields of
20457 structures directly mapped from or written to locale archives.
20458 (oldlocrecentcmp): Likewise.
20459 (enlarge_archive): Likewise.
20460 (insert_name): Likewise.
20461 (add_alias): Likewise.
20462 (add_locale): Likewise.
20463 (delete_locales_from_archive): Likewise.
20464 (show_archive_content): Likewise.
20465 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
20466 locale data.
20467
39bf0bb4
RM
204682013-09-24 Roland McGrath <roland@hack.frob.com>
20469
20470 * manual/freemanuals.texi: Updated from (newly) canonical copy at
20471 http://www.gnu.org/doc/freemanuals.texi.
20472 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
20473
f02eed10
WN
204742013-09-24 Will Newton <will.newton@linaro.org>
20475
20476 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
20477 macro.
20478
a3a6c312
JM
204792013-09-23 Joseph Myers <joseph@codesourcery.com>
20480
20481 * locale/hashval.h (compute_hashval): Interpret bytes of key as
20482 unsigned char.
20483
107375ac
MR
204842013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
20485
20486 * manual/threads.texi (POSIX Threads): Fix a typo.
20487
141f3a77
SP
204882013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
20489
303e567a
SP
20490 [BZ #14547]
20491 * string/tst-strcoll-overflow.c: New test case.
20492 * string/Makefile (xtests): Add tst-strcoll-overflow.
20493 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
20494 cache if string sizes may cause integer overflow.
20495
141f3a77
SP
20496 [BZ #14547]
20497 * string/strcoll_l.c (coll_seq): New members rule, idx,
20498 save_idx and back_us.
20499 (get_next_seq_nocache): New function.
20500 (do_compare_nocache): New function.
20501 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
20502 when malloc fails.
20503
c61b4d41
CD
205042013-09-23 Carlos O'Donell <carlos@redhat.com>
20505
0b1f8e35
CD
20506 [BZ #15754]
20507 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
20508 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
20509 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
20510
c61b4d41
CD
20511 [BZ #15754]
20512 * elf/Makefile (tests): Add tst-ptrguard1.
20513 (tests-static): Add tst-ptrguard1-static.
20514 (tst-ptrguard1-ARGS): Define.
20515 (tst-ptrguard1-static-ARGS): Define.
20516 * elf/tst-ptrguard1.c: New file.
20517 * elf/tst-ptrguard1-static.c: New file.
20518 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
20519 * sysdeps/i386/stackguard-macros.h: Likewise.
20520 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
20521 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
20522 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
20523 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
20524 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
20525 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
20526
205272013-09-23 Hector Marco <hecmargi@upv.es>
20528 Ismael Ripoll <iripoll@disca.upv.es>
20529 Carlos O'Donell <carlos@redhat.com>
20530
20531 [BZ #15754]
20532 * sysdeps/generic/stackguard-macros.h: Define
20533 __pointer_chk_guard_local and POINTER_CHK_GUARD.
20534 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
20535 Define __pointer_chk_guard_local.
20536 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
20537 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
20538
f5f4e7b4
VV
205392013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
20540
20541 [BZ #15859]
20542 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
20543
5bb43a43
AS
205442013-09-20 Andreas Schwab <schwab@linux-m68k.org>
20545
20546 * include/string.h (__ffs): Declare as hidden.
20547 * string/ffs.c (__ffs): Define as hidden.
20548 * sysdeps/i386/ffs.c (__ffs): Likewise.
20549 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
20550 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
20551 * sysdeps/s390/ffs.c (__ffs): Likewise.
20552 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
20553
3ea5be54
AO
205542013-09-20 Alexandre Oliva <aoliva@redhat.com>
20555
ffb89e53
AO
20556 * NEWS: Mention malloc probes.
20557
322dea08
AO
20558 * malloc/arena.c (new_heap): New memory_heap_new probe.
20559 (grow_heap): New memory_heap_more probe.
20560 (shrink_heap): New memory_heap_less probe.
20561 (heap_trim): New memory_heap_free probe.
20562 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
20563 (systrim): New memory_sbrk_less probe.
20564 * manual/probes.texi: Document them.
20565
655673f3
AO
20566 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
20567 * manual/probes.texi: Document it.
20568
35fed6f1
AO
20569 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
20570 (__libc_realloc): Add memory_realloc_retry probe.
20571 (__libc_memalign): Add memory_memalign_retry probe.
20572 (__libc_valloc): Add memory_valloc_retry probe.
20573 (__libc_pvalloc): Add memory_pvalloc_retry probe.
20574 (__libc_calloc): Add memory_calloc_retry probe.
20575 * manual/probes.texi: Document them.
20576
6999d38c
AO
20577 * malloc/arena.c (get_free_list): Add probe
20578 memory_arena_reuse_free_list.
20579 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
20580 and memory_arena_reuse.
20581 (arena_get2) [!PER_THREAD]: Likewise.
20582 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
20583 memory_arena_reuse_realloc.
20584 * manual/probes.texi: Document them.
20585
0653427f
AO
20586 * malloc/malloc.c (__libc_free): Add
20587 memory_mallopt_free_dyn_thresholds probe.
20588 (__libc_mallopt): Add multiple memory_mallopt probes.
20589 * manual/probes.texi: Document them.
20590
3ea5be54
AO
20591 * malloc/malloc.c: Include stap-probe.h.
20592 (__libc_mallopt): Add memory_mallopt probe.
20593 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
20594 * manual/probes.texi: New.
20595 * manual/Makefile (chapters): Add probes.
20596 * manual/threads.texi: Set next node.
20597
e35696c3 205982013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
3e181dda 20599
e35696c3
CL
20600 [BZ #15963, #13985]
20601 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
20602 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
20603 Add `Chinese' to `nan' entry name.
20604
4aafb73c
SP
206052013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
20606
20607 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
20608 (POLYNOMIAL): Likewise.
20609 (TAYLOR_SINCOS): Likewise.
20610 (TAYLOR_SLOW): Likewise.
20611 (__sin): Use TAYLOR_SINCOS.
20612 (__cos): Likewise.
20613 (slow): Use TAYLOR_SLOW.
20614 (sloww): Likewise.
20615 (bsloww): Likewise.
20616 (csloww): Likewise.
20617
d84f25c7
LD
206182013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
20619
20620 * stdlib/strtod_l.c: Fix buffer overrun.
20621
5eea0404
SP
206222013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
20623
7849ff93
SP
20624 * benchtests/Makefile (bench): Add sincos.
20625 * benchtests/bench-sincos.c: New file.
20626
cfa3c886
SP
20627 * math/libm-test.inc (cos_test_data): New test inputs.
20628 (sin_test_data): Likewise.
20629
b348e1e3
SP
20630 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
20631 macro.
20632 (__sin): Use it.
20633 (__cos): Likewise.
20634 (slow1): Likewise.
20635 (slow2): Likewise.
20636 (sloww1): Likewise.
20637 (sloww2): Likewise.
20638 (bsloww1): Likewise.
20639 (bsloww2): Likewise.
20640 (cslow2): Likewise.
20641 (csloww1): Likewise.
20642 (csloww2): Likewise.
20643
6cce25f8
SP
20644 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
20645 function.
20646 (__sin): Use it.
20647 (__cos): Likewise.
20648
5eea0404
SP
20649 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
20650 gotos.
20651 (__cos): Likewise.
20652
9c21573c
MR
206532013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
20654
20655 * config.h.in (HAVE_MIPS_NAN2008): New macro.
20656 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
20657 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
20658 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
20659 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
20660 * elf/cache.c (print_entry): Handle the new cache flags.
20661
24d22e65
JM
206622013-09-18 Joseph Myers <joseph@codesourcery.com>
20663 Aldy Hernandez <aldyh@redhat.com>
20664
20665 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
20666 Change condition to [_SOFT_FLOAT].
20667 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
20668 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
20669 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
20670 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
20671 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
20672 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
20673 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
20674 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
20675 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
20676 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
20677 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
20678 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
20679 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
20680 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
20681 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
20682 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
20683 declaration.
20684
d13ef066
JM
206852013-09-18 Joseph Myers <joseph@codesourcery.com>
20686
2e071de0
JM
20687 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
20688 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
20689 (__longjmp): Use LOAD_GP to load saved GPRs.
20690 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
20691 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
20692 (__sigsetjmp): Use SAVE_GP to save GPRs.
20693
d13ef066
JM
20694 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
20695 Do not append -msoft-float.
20696 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
20697
97a0650b
SP
206982013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
20699
20700 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
20701
11ca09e9
JM
207022013-09-17 Joseph Myers <joseph@codesourcery.com>
20703
20704 [BZ #15966]
20705 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
20706 (_FPU_GETCW): Use initial "__" on variable and field names but not
20707 on macro parameter name.
20708 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
20709 parentheses around reference to macro parameter.
20710
08ffcf34
RS
207112013-09-13 Richard Sandiford <richard@codesourcery.com>
20712
20713 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
20714 prototype.
20715 (ctype_startup): Use uint32_t in cast and sizeof for
20716 ctype->charnames.
20717
ae7080d3
JL
207182013-09-11 Jia Liu <proljc@gmail.com>
20719
20720 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
20721 __daddr_t_defined.
20722 [__FreeBSD__]: Likewise.
20723
5905e7b3
OB
207242013-09-11 Ondřej Bílka <neleai@seznam.cz>
20725
20726 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
20727 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
20728 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
20729 (strchr): Remove __strchr_sse42 ifunc selection.
20730 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
20731 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
20732
b987c776
WN
207332013-09-11 Will Newton <will.newton@linaro.org>
20734
20735 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
20736 parameter to RES. Remove hardcoded 1000 value.
20737 * benchtests/bench-skeleton.c (main): Pass RES parameter
20738 to TIMING_INIT and multiply result by 1000.
20739
ddf985af
AZ
207402013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20741
20742 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20743
ffdd3181
AS
207442013-09-11 Andreas Schwab <schwab@suse.de>
20745
20746 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
20747 if not defined.
20748 (O_TMPFILE) [__USE_GNU]: Define.
20749 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
20750 Define.
20751
b73ed247
WN
207522013-09-11 Will Newton <will.newton@linaro.org>
20753
20754 [BZ #15857]
20755 * malloc/malloc.c (__libc_memalign): Check the value of bytes
20756 does not overflow.
20757
55e17aad
WN
207582013-09-11 Will Newton <will.newton@linaro.org>
20759
20760 [BZ #15856]
20761 * malloc/malloc.c (__libc_valloc): Check the value of bytes
20762 does not overflow.
20763
1159a193
WN
207642013-09-11 Will Newton <will.newton@linaro.org>
20765
20766 [BZ #15855]
20767 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
20768 does not overflow.
20769
5905e7b3 207702013-09-10 Ondřej Bílka <neleai@seznam.cz>
c7cabd13
OB
20771
20772 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
20773 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
20774 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
20775 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
20776 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
20777
cdfc721b
AM
207782013-09-10 Allan McRae <allan@archlinux.org>
20779
aa04af00
AM
20780 [BZ #15748]
20781 * manual/arith.texi (Parsing of Floats): Clarify
20782 cross-reference.
20783
cdfc721b
AM
20784 [BZ #15849]
20785 * manual/install.texi (Running make install): Mention
20786 --enable-pt-chown.
20787 * INSTALL: Regenerated.
20788
95e7cf29
MR
207892013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
20790
20791 * csu/init-first.c (_init): Remove the !SHARED condition around
20792 FPU control word initialization.
20793 * elf/dl-support.c (_dl_fpu_control): New variable.
20794 (_dl_aux_init) <AT_FPUCW>: Initialize it.
20795 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
20796 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
20797 * math/test-fpucw-static.c: New file.
20798 * math/test-fpucw-ieee.c: New file.
20799 * math/test-fpucw-ieee-static.c: New file.
20800 * math/Makefile (tests): Add `test-fpucw-ieee' and
20801 `$(tests-static)'.
20802 (tests-static): New variable.
20803 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
20804 dependency to...
20805 [($(build-shared),yes)]
20806 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
20807 ... this.
20808 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
20809 New dependency.
20810
83e43bf0
AM
208112013-09-09 Allan McRae <allan@archlinux.org>
20812
a9f5ce09
AM
20813 [BZ #15939]
20814 * manual/string.texi (Collation Functions): Fix typo in
20815 strcoll example.
20816 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
20817
34829bc2
AM
20818 [BZ #15893]
20819 * stdlib/isomac.c (get_null_defines): Fix memory leak.
20820
3932737d
AM
20821 [BZ #15892]
20822 * libio/memstream.c (open_memstream): Fix memory leak.
20823 * libio/wmemstream.c (open_wmemstream): Likewise.
20824
83e43bf0
AM
20825 [BZ #15895]
20826 * nscd/netgroupcache.c: Fix nesting of ifdefs.
20827
0c66b8e9
WN
208282013-09-09 Will Newton <will.newton@linaro.org>
20829
20830 * malloc/Makefile: Add tst-realloc to tests.
20831 * malloc/tst-realloc.c: New file.
20832
f6b00fd1
AM
208332013-09-09 Allan McRae <allan@archlinux.org>
20834
20835 [BZ #15844]
20836 * COPYING: Update from GNU website to fix FSF address.
20837 * COPYING.LIB: Likewise.
20838
eec55e16
DM
208392013-09-06 David S. Miller <davem@davemloft.net>
20840
20841 * po/zh_TW.po: Update Chinese (traditional) translation from
20842 translation project.
20843
1ecbb381
RS
208442013-09-06 Richard Sandiford <richard@codesourcery.com>
20845 Joseph Myers <joseph@codesourcery.com>
20846
20847 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
20848 "localeinfo.h".
20849 (obstack_chunk_alloc): New macro.
20850 (obstack_chunk_free): Likewise.
20851 (record_offset): New function.
20852 (init_locale_data): Likewise.
20853 (align_locale_data): Likewise.
20854 (add_locale_empty): Likewise.
20855 (add_locale_raw_data): Likewise.
20856 (add_locale_raw_obstack): Likewise.
20857 (add_locale_string): Likewise.
20858 (add_locale_wstring): Likewise.
20859 (add_locale_uint32): Likewise.
20860 (add_locale_uint32_array): Likewise.
20861 (add_locale_char): Likewise.
20862 (start_locale_structure): Likewise.
20863 (end_locale_structure): Likewise.
20864 (start_locale_prelude): Likewise.
20865 (end_locale_prelude): Likewise.
20866 (write_locale_data): Take locale_file structure rather than an
20867 iovec.
20868 * locale/programs/locfile.h: Include "obstack.h".
20869 (struct locale_file): Change to store locale file contents instead
20870 of header.
20871 (init_locale_data): New prototype.
20872 (align_locale_data): Likewise.
20873 (add_locale_empty): Likewise.
20874 (add_locale_raw_data): Likewise.
20875 (add_locale_raw_obstack): Likewise.
20876 (add_locale_string): Likewise.
20877 (add_locale_wstring): Likewise.
20878 (add_locale_uint32): Likewise.
20879 (add_locale_uint32_array): Likewise.
20880 (add_locale_char): Likewise.
20881 (start_locale_structure): Likewise.
20882 (end_locale_structure): Likewise.
20883 (start_locale_prelude): Likewise.
20884 (end_locale_prelude): Likewise.
20885 (write_locale_data): Update prototype.
20886 * locale/programs/3level.h (struct TABLE): Remove result field.
20887 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
20888 Use new locale_file interface.
20889 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
20890 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
20891 * locale/programs/ld-address.c (address_output): Use new
20892 locale_file interface.
20893 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
20894 NO_ADD_LOCALE.
20895 (collate_finish): Don't call collseq_table_finalize.
20896 (collate_output): Use new locale_file interface.
20897 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
20898 in file.
20899 (NO_FINALIZE): Change to NO_ADD_LOCALE.
20900 (TABLE): Move defines earlier in file.
20901 (ELEMENT): Likewise.
20902 (DEFAULT): Likewise.
20903 (wctrans_table_add): Move macro and inline function earlier in
20904 file.
20905 (struct wctype_table): Move type earlier in file.
20906 (add_locale_wctype_table): New static prototype.
20907 (struct locale_ctype_t): Use logical types instead of struct iovec
20908 pointers for members.
20909 (ctype_output): Use new locale_file interface.
20910 (wctype_table_finalize): Change to add_locale_wctype_table. Use
20911 new locale_file interface.
20912 (allocate_arrays): Update for use of new locale_file interface.
20913 * locale/programs/ld-identification.c (identification_output): Use
20914 new locale_file interface.
20915 * locale/programs/ld-measurement.c (measurement_output): Likewise.
20916 * locale/programs/ld-messages.c (messages_output): Likewise.
20917 * locale/programs/ld-monetary.c (monetary_output): Likewise.
20918 * locale/programs/ld-name.c (name_output): Likewise.
20919 * locale/programs/ld-numeric.c (numeric_output): Likewise.
20920 * locale/programs/ld-paper.c (paper_output): Likewise.
20921 * locale/programs/ld-telephone.c (telephone_output): Likewise.
20922 * locale/programs/ld-time.c (time_output): Likewise.
20923
e029e2e5
AZ
209242013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20925
20926 * benchtests/Makefile: Add memrchr benchmark.
20927 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
20928 benchmark as memrchr.
20929 * benchtests/bench-memrchr-ifunc.c: New file.
20930 * benchtests/bench-memrchr.c: New file.
20931
bbf6e8e4
WN
209322013-09-06 Will Newton <will.newton@linaro.org>
20933
20934 * benchtests/Makefile (string-bench): Add memcpy.
20935
6c82a2f8
CD
209362013-09-05 Carlos O'Donell <carlos@redhat.com>
20937 Cong Wang <amwang@redhat.com>
20938
e732c5f0 20939 [BZ #15850]
6c82a2f8
CD
20940 * sysdeps/unix/sysv/linux/bits/in.h
20941 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
20942 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
20943 before __USE_KERNEL_IPV6_DEFS uses.
20944 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
20945 IPPROTO_BEETPH.
20946 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
20947 sockaddr_in6, or ipv6_mreq.
20948
5430fc65
AZ
209492013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20950
20951 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
20952 memory access for final bytes in some large inputs.
20953 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
20954
4660856c
AZ
209552013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20956
20957 * string/test-memrchr.c: New file.
20958 * string/test-memrchr-ifunc.c: New file.
20959 * string/Makefile: Add new memrchr testcase.
20960
bb8ea713
MF
209612013-09-05 Mike Frysinger <vapier@gentoo.org>
20962
20963 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
20964 fanotify_init returns EPERM.
20965
b92a20b5
JM
209662013-09-04 Joseph Myers <joseph@codesourcery.com>
20967
20968 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
20969 errors.
20970 (top level): Treat second token from macro or constant entries for
20971 allowed headers as allowed.
20972 * include/complex.h: Condition internal declarations on
20973 [!_ISOMAC].
20974 * include/fenv.h: Condition include of <stdbool.h> and internal
20975 declarations on [!_ISOMAC].
7447ccd9
CL
20976
209772013-09-04 Chris Leonard <cjl@sugarlabs,.org>
20978
3e181dda 20979 [BZ #15923]
7447ccd9
CL
20980 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
20981
3f2e46a4
JM
209822013-09-04 Joseph Myers <joseph@codesourcery.com>
20983
20984 * configure.in (--enable-versioning): Remove configure option.
20985 (libc_cv_asm_symver_directive): Remove configure test.
20986 (libc_cv_ld_version_script_option): Likewise.
20987 (VERSIONING): Remove variable and AC_SUBST.
20988 (DO_VERSIONING): Remove AC_DEFINE.
20989 * configure: Regenerated.
20990 * config.h.in (DO_VERSIONING): Remove macro.
20991 * Makerules [$(versioning) = yes]: Change conditionals to
20992 [$(build-shared) = yes].
20993 * config.make.in (versioning): Remove variable.
20994 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
20995 [$(build-shared) = yes].
20996 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
20997 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
20998 * elf/Makefile [$(versioning) = yes]: Change conditionals to
20999 [$(build-shared) = yes].
21000 * extra-lib.mk [$(versioning) = yes]: Likewise.
21001 * hurd/Makefile [$(versioning) = yes]: Likewise.
21002 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
21003 [SHARED].
21004 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
21005 [SHARED].
21006 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
21007 [SHARED && !NO_HIDDEN].
21008 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
21009 [SHARED].
21010 [SHARED && DO_VERSIONING]: Likewise..
21011 * libio/Makefile [$(versioning) = yes]: Change conditionals to
21012 [$(build-shared) = yes].
21013 * manual/install.texi (--disable-versioning): Remove
21014 documentation.
21015 * INSTALL: Regenerated.
21016 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
21017 to [SHARED].
21018 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
21019 [$(build-shared) = yes].
21020 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
21021 * sysdeps/i386/i686/multiarch/strstr-c.c
21022 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
21023 [SHARED && !NO_HIDDEN].
21024 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
21025 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
21026 * sysdeps/powerpc/powerpc32/dl-machine.c
21027 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
21028 * sysdeps/powerpc/powerpc32/sysdep.h
21029 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
21030 to [SHARED && PIC && !NO_HIDDEN].
21031 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
21032 conditional to [SHARED].
21033
44558701
WN
210342013-09-04 Will Newton <will.newton@linaro.org>
21035
21036 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
21037 * benchtests/bench-string.h: Include bench-timing.h instead
21038 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
21039 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
21040 call to HP_TIMING_DIFF_INIT.
21041 * benchtests/bench-memccpy.c: Use bench-timing.h macros
21042 instead of hp-timing.h macros.
21043 * benchtests/bench-memchr.c: Likewise.
21044 * benchtests/bench-memcmp.c: Likewise.
21045 * benchtests/bench-memcpy.c: Likewise.
21046 * benchtests/bench-memmem.c: Likewise.
21047 * benchtests/bench-memmove.c: Likewise.
21048 * benchtests/bench-memset.c: Likewise.
21049 * benchtests/bench-rawmemchr.c: Likewise.
21050 * benchtests/bench-strcasecmp.c: Likewise.
21051 * benchtests/bench-strcasestr.c: Likewise.
21052 * benchtests/bench-strcat.c: Likewise.
21053 * benchtests/bench-strchr.c: Likewise.
21054 * benchtests/bench-strcmp.c: Likewise.
21055 * benchtests/bench-strcpy.c: Likewise.
21056 * benchtests/bench-strcpy_chk.c: Likewise.
21057 * benchtests/bench-strlen.c: Likewise.
21058 * benchtests/bench-strncasecmp.c: Likewise.
21059 * benchtests/bench-strncat.c: Likewise.
21060 * benchtests/bench-strncmp.c: Likewise.
21061 * benchtests/bench-strncpy.c: Likewise.
21062 * benchtests/bench-strnlen.c: Likewise.
21063 * benchtests/bench-strpbrk.c: Likewise.
21064 * benchtests/bench-strrchr.c: Likewise.
21065 * benchtests/bench-strspn.c: Likewise.
21066 * benchtests/bench-strstr.c: Likewise.
21067
cae16d66
WN
210682013-09-04 Will Newton <will.newton@linaro.org>
21069
21070 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
21071
ffa3cd7f
JM
210722013-09-03 Joseph Myers <joseph@codesourcery.com>
21073
21074 [BZ #15427]
21075 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
21076 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
21077 * math/libm-test.inc (lgamma_test_data): Add more tests.
21078 * sysdeps/i386/fpu/libm-test-ulps: Update.
21079 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21080
8f02859f
OB
210812013-09-03 Ondřej Bílka <neleai@seznam.cz>
21082
21083 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
21084 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
21085 Add ifunc.
21086 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
21087 Add strcmp-sse2-unaligned
21088 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
21089
18d43716
MF
210902013-09-02 Mike Frysinger <vapier@gentoo.org>
21091
21092 * Versions.def (libc): Add GLIBC_2.19.
21093
ac444012
MF
210942013-09-02 Mike Frysinger <vapier@gentoo.org>
21095
21096 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
21097 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
21098
b7835e32
JM
210992013-09-02 Joseph Myers <joseph@codesourcery.com>
21100
21101 [BZ #14155]
21102 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
21103 intermediate calculations in recurrence.
21104 (__ieee754_ynf): Likewise.
21105 * math/libm-test.inc (jn_test_data): Do not allow spurious
21106 underflow exception. Add more tests.
21107 (yn_test_data): Add more tests.
21108 * sysdeps/i386/fpu/libm-test-ulps: Update.
21109 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21110
8220f4f0
OB
211112013-09-02 Ondřej Bílka <neleai@seznam.cz>
21112
21113 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
21114
f24a6d08
OB
211152013-08-30 Ondřej Bílka <neleai@seznam.cz>
21116
21117 * csu/init-first.c: Fix then/than typos.
21118 * locale/programs/ld-collate.c: Likewise.
21119 * locale/programs/linereader.h: Likewise.
21120 * manual/charset.texi: Likewise.
21121 * manual/filesys.texi: Likewise.
21122 * manual/stdio.texi: Likewise.
21123 * manual/string.texi: Likewise.
21124 * stdlib/fmtmsg.c: Likewise.
21125 * sysdeps/i386/stpncpy.S: Likewise.
21126 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
21127 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
21128 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
21129 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
21130
382466e0
OB
211312013-08-30 Ondřej Bílka <neleai@seznam.cz>
21132
21133 * elf/dl-open.c: Fix typos.
21134 * iconvdata/gbbig5.c: Likewise.
21135 * iconvdata/iso-2022-jp.c: Likewise.
21136 * iconv/gconv_int.h: Likewise.
21137 * iconv/loop.c: Likewise.
21138 * nis/rpcsvc/nis.h: Likewise.
21139 * resolv/ns_name.c: Likewise.
21140 * stdio-common/vfscanf.c: Likewise.
21141 * streams/stropts.h: Likewise.
21142 * sunrpc/rpc_thread.c: Likewise.
21143 * sysdeps/i386/strpbrk.S: Likewise.
21144 * sysdeps/ieee754/k_standard.c: Likewise.
21145 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
21146 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
21147 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
21148 * sysdeps/mach/hurd/profil.c: Likewise.
21149 * sysdeps/s390/dl-procinfo.h: Likewise.
21150 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
21151 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
21152 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
21153 * sysdeps/x86_64/dl-trampoline.S: Likewise.
21154 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
21155
0186c6e9
OB
211562013-08-30 Ondřej Bílka <neleai@seznam.cz>
21157
21158 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
21159 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
21160
d4e16af1
OB
211612013-08-29 Ondřej Bílka <neleai@seznam.cz>
21162
21163 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
21164 aix specific files.
21165 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
21166 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
21167 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
21168 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
21169 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
21170 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
21171 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
21172 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
21173
88335980
TS
211742013-08-29 Thomas Schwinge <thomas@codesourcery.com>
21175 Roland McGrath <roland@hack.frob.com>
21176
21177 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
21178 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
21179
ed479b02
ST
211802013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
21181
21182 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
21183 __executable_start symbol instead of _start.
21184
f1cc4c86
TS
211852013-08-29 Thomas Schwinge <thomas@codesourcery.com>
21186
d821f07c
TS
21187 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
21188 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
21189 Move macros to...
21190 * sysdeps/gnu/ldsodefs.h: ... this new file.
21191
c54290cf
TS
21192 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
21193 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
21194 instead of ELFOSABI_LINUX.
21195
0007fc9b 21196 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
0007fc9b
TS
21197 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
21198 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
21199 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
21200 Likewise.
21201 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
21202 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
21203 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
21204 Likewise.
21205 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
21206 (ibm_extended_long_double): Add ieee_nan member.
21207 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
21208 (do_test): New function.
21209
f1cc4c86
TS
21210 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
21211 TEST_TRUNC.
21212 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
21213 functions, renamed from truncdfsf_test, trunctfsf_test,
21214 trunctfdf_test.
21215 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
21216 functions.
21217 (do_test): Run all these.
21218
6f65e668
OB
212192013-08-29 Ondřej Bílka <neleai@seznam.cz>
21220
21221 * argp/argp-help.c: Fix typos.
21222 * argp/argp-parse.c: Likewise.
21223 * debug/backtracesyms.c: Likewise.
21224 * elf/elf.h: Likewise.
21225 * malloc/malloc.c: Likewise.
21226 * nis/nis_print.c: Likewise.
21227 * resolv/res_comp.c: Likewise.
21228 * stdlib/stdlib.h: Likewise.
21229 * sunrpc/clnt_tcp.c: Likewise.
21230 * sunrpc/clnt_udp.c: Likewise.
21231 * sunrpc/clnt_unix.c: Likewise.
21232 * sysdeps/unix/bsd/ptsname.c: Likewise.
21233 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
21234 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
99541e80
RM
21235 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
21236 Likewise.
21237 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
21238 Likewise.
21239 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
21240 Likewise.
6f65e668
OB
21241 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
21242
3a309239
SP
212432013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
21244
21245 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
21246 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
21247
3b813b29
MF
212482013-08-27 Mike Frysinger <vapier@gentoo.org>
21249
21250 [BZ #15897]
21251 * dlfcn/Makefile (tests): Add bug-dl-leaf.
21252 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
21253 ($(objpfx)bug-dl-leaf): New rule.
21254 ($(objpfx)bug-dl-leaf.so): Likewise.
21255 ($(objpfx)bug-dl-leaf.out): Likewise.
21256 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
21257 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
21258 * dlfcn/bug-dl-leaf.c: New test.
21259 * dlfcn/bug-dl-leaf-lib.c: Likewise.
21260 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
21261 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
21262 (dlclose): Likewise.
21263 (dlmopen): Likewise.
21264
8cc3269f
RM
212652013-08-27 Roland McGrath <roland@hack.frob.com>
21266
7f9d0034
RM
21267 * include/netdb.h [!_ISOMAC]:
21268 Don't include <tls.h>.
21269 (h_errno, __libc_h_errno): Move declaration and macros out of
21270 [_LIBC_REENTRANT].
21271
fb431262
RM
21272 * include/resolv.h [_RESOLV_H_]:
21273 Don't include <tls.h>.
21274 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
21275 * resolv/res_libc.c: Don't include <tls.h>.
21276 (_res): Use __attribute__ ((nocommon)) in place of
21277 __attribute__ ((section (".bss"))).
21278
bd81123a
RM
21279 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
21280 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
21281
c4e42566
RM
21282 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
21283
f890a59b
RM
21284 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
21285 only under [SIOCGIFCONF && SIOCGIFNETMASK].
21286
21287 * resolv/res_mkquery.c: Include <sys/time.h>.
21288
5d1f0a09
RM
21289 * inet/ifreq.c: Moved to ...
21290 * sysdeps/unix/ifreq.c: ... here.
21291 * inet/ifreq.c: New file, true stub version.
21292
6fcf28b3
RM
21293 * socket/sa_len.c: New file.
21294 * socket/Makefile (aux): Add it.
21295 * sysdeps/unix/sysv/linux/Makefile
21296 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
21297 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
21298 and #include <socket/sa_len.c>.
21299 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
21300 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
21301
e041fb8b
RM
21302 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
21303 * bits/socket.h: ... here.
21304
8cc3269f
RM
21305 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
21306 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
21307 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
21308
5d228a43
AS
213092013-08-27 Andreas Schwab <schwab@suse.de>
21310
45b8accc
AS
21311 [BZ #15736]
21312 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
21313 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
21314 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
21315 * string/test-strcasecmp.c (test_main): Run tests in several
21316 locales.
21317 * string/test-strncasecmp.c (test_main): Likewise.
21318
5d228a43
AS
21319 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
21320 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
21321 to __strcasecmp_nonascii and __strncasecmp_nonascii.
21322 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
21323 (__strncasecmp_ssse3) [PIC]: Likewise.
21324
59d112a4
RM
213252013-08-26 Roland McGrath <roland@hack.frob.com>
21326
53234cc3
RM
21327 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
21328
59d112a4
RM
21329 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
21330 instead of explicitly declaring xdecrypt.
21331 * nis/nss_nis/nis-publickey.c: Likewise.
21332
595aba70
SP
213332013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
21334
21335 [BZ #15890]
21336 * nscd/aicache.c: Include res_hconf.h.
21337 (addhstaiX): Initialize res_hconf.
21338
ffabd393
AS
213392013-08-26 Andreas Schwab <schwab@suse.de>
21340
21341 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
21342 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
21343
e0a69f5c
SP
213442013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
21345
21346 * nscd/aicache.c (addhstaiX): Fix indentation.
21347
8c12f01d
MF
213482013-08-25 Mike Frysinger <vapier@gentoo.org>
21349
21350 * configure.ac: Quote $build_pt_chown test.
21351 * configure: Regenerated.
21352
8fe89494
JM
213532013-08-23 Joseph Myers <joseph@codesourcery.com>
21354
21355 [BZ #15532]
21356 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
21357 * math/s_cexpf.c (__cexpf): Likewise.
21358 * math/s_cexpl.c (__cexpl): Likewise.
21359 * math/libm-test.inc (cexp_test_data): Correct expected return
21360 value for NaN + i0. Add another test.
21361
75b181d6
DM
213622013-08-22 David S. Miller <davem@davemloft.net>
21363
21364 * po/ca.po: Update Catalan translation from translation project.
936241e4 21365 * po/uk.po: Add Ukrainian translations from translation project.
75b181d6 21366
acd06bb1
JM
213672013-08-21 Joseph Myers <joseph@codesourcery.com>
21368
21369 [BZ #15797]
21370 * math/s_fdim.c (__fdim): Check for infinite arguments if result
21371 is infinite, not alongside NaN test.
21372 * math/s_fdimf.c (__fdimf): Likewise.
21373 * math/s_fdiml.c (__fdiml): Likewise.
21374 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
21375 errno is unchanged.
21376
c0c3f78a
OB
213772013-08-21 Ondřej Bílka <neleai@seznam.cz>
21378
21379 * argp/argp-help.c: Fix typos.
21380 * crypt/speeds.c: Likewise.
21381 * csu/check_fds.c: Likewise.
21382 * elf/dl-load.c: Likewise.
21383 * elf/dl-open.c: Likewise.
21384 * elf/reldep3.c: Likewise.
21385 * elf/reldep.c: Likewise.
21386 * elf/sprof.c: Likewise.
21387 * iconv/iconv_charmap.c: Likewise.
21388 * iconv/skeleton.c: Likewise.
21389 * iconv/strtab.c: Likewise.
21390 * io/lockf64.c: Likewise.
21391 * libio/libioP.h: Likewise.
21392 * resolv/gai_notify.c: Likewise.
21393 * resolv/ns_name.c: Likewise.
21394 * resolv/ns_samedomain.c: Likewise.
21395 * resolv/res_send.c: Likewise.
21396 * stdlib/random.c: Likewise.
21397 * sunrpc/rpc/xdr.h: Likewise.
21398 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
21399 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
21400 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
21401 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
21402 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
21403 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
21404 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
21405 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
21406 * sysdeps/mach/hurd/check_fds.c: Likewise.
21407 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
21408 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
21409 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
21410 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
21411 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
21412 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
21413 * sysdeps/pthread/aio_notify.c: Likewise.
21414 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
21415 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
21416 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
21417 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
21418 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
21419
46ed1038
LD
214202013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
21421
21422 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
21423 version if bit_Slow_SSE4_2 is set.
21424 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
21425 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
21426
d400dcac
AZ
214272013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21428
21429 [BZ #15867]
21430 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
21431 trampoline stack frame information.
21432 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
21433 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
21434 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
21435 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
21436 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
21437 * sysdeps/unix/sysv/linux/powerpc/init-first.c
21438 (_libc_vdso_platform_setup): Initialize the signal trampolines.
21439 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
21440 sa_flags value.
21441 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
21442 interrupting a syscall and set with option SA_SIGINFO.
21443
42c8fdd8
JM
214442013-08-20 Joseph Myers <joseph@codesourcery.com>
21445
c980f2f4
JM
21446 [BZ #15531]
21447 * math/s_cproj.c (__cproj): Only return an infinity if one part of
21448 argument is infinite.
21449 * math/s_cprojf.c (__cprojf): Likewise.
21450 * math/s_cprojl.c (__cprojl): Likewise.
21451 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
21452 * math/libm-test.inc (cproj_test_data): Add more tests.
21453
0716c4fc
JM
21454 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
21455
42c8fdd8
JM
21456 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
21457 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
21458 size. Use __ffs to determine corresponding shift.
21459
b31469d0
JM
214602013-08-20 Joseph Myers <joseph@codesourcery.com>
21461 Roland McGrath <roland@hack.frob.com>
21462
21463 * Makefile (INSTALL): Remove trailing blank lines from output of
21464 makeinfo.
21465
4e39af6e
AK
214662013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21467
21468 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
21469 Align 32 bit compat elf_greg to 8 bytes.
21470
f315524e
AA
214712013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
21472
21473 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
21474
1326ba1a
SP
214752013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
21476
21477 * string/strcoll_l.c (coll_seq): New structure.
21478 (get_next_seq_cached): New function.
21479 (get_next_seq): New function.
21480 (do_compare): New function.
21481 (STRCOLL): Use GNU style definition. Simplify implementation
21482 by using get_next_seq, get_next_seq_cached and do_compare.
21483
91ce4085
FW
214842013-08-16 Florian Weimer <fweimer@redhat.com>
21485
21486 [BZ #14699]
21487 CVE-2013-4237
21488 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
21489 member.
21490 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
21491 member.
21492 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
21493 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
21494 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
21495 conditional.
21496 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
21497 GETDENTS_64BIT_ALIGNED.
21498 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
21499 * manual/filesys.texi (Reading/Closing Directory): Document
21500 ENAMETOOLONG return value of readdir_r. Recommend readdir more
21501 strongly.
21502 * manual/conf.texi (Limits for Files): Add portability note to
21503 NAME_MAX, PATH_MAX.
21504 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
21505
ca0a6bc4
AS
215062013-08-13 Andreas Schwab <schwab@suse.de>
21507
21508 [BZ #15749]
21509 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
21510 of fabs.
21511 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
21512 LDBL_MAX_EXP >= 16384]: Add tests for it.
21513
6c1fd795
DM
215142013-08-12 David S. Miller <davem@davemloft.net>
21515
21516 * version.h (RELEASE): Set to "development".
21517 (VERSION): Set to "2.18.90".
21518 * NEWS: Add 2.19 section.
21519
31ad488d
DM
215202013-08-03 David S. Miller <davem@davemloft.net>
21521
21522 * po/ko.po: Update Korean translation from translation project.
21523
db24e684
DM
215242013-08-01 David S. Miller <davem@davemloft.net>
21525
21526 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
21527 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
21528 Bilka.
21529
f723285b
DM
215302013-07-30 David S. Miller <davem@davemloft.net>
21531
21532 * po/fr.po: Update French translation from translation project.
21533
3cbc52db
DM
215342013-07-28 David S. Miller <davem@davemloft.net>
21535
30bbc0cc
DM
21536 * po/cs.po: Update Czech translation from translation project.
21537
3cbc52db
DM
21538 * po/sv.po: Update Swedish translation from translation project.
21539
d492e6d0
DM
215402013-07-27 David S. Miller <davem@davemloft.net>
21541
f1a7f492
DM
21542 * po/eo.po: Update Esperanto translation from translation project.
21543
90e62a4a
DM
21544 * po/vi.po: Update Vietnamese translation from translation project.
21545
d492e6d0
DM
21546 * po/de.po: Update German translation from translation project.
21547
d4baa62d
DM
215482013-07-26 David S. Miller <davem@davemloft.net>
21549
641aa7b4
DM
21550 * po/bg.po: Update Bulgarian translation from translation project.
21551
d4baa62d
DM
21552 * po/nl.po: Update Dutch translation from translation project.
21553 * po/pl.po: Update Polish translation from translation project.
21554 * po/ru.po: Update Russian translation from translation project.
21555
61a9dcb9
DM
215562013-07-24 David S. Miller <davem@davemloft.net>
21557
21558 * po/libc.pot: Update.
21559
7b1f8b58
AZ
215602013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21561
21562 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
21563 variable page size.
21564 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
21565 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
21566 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
21567
a8fc7a03
AK
215682013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21569
21570 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
21571
e4608715
CD
215722013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
21573 Andreas Schwab <schwab@suse.de>
21574 Roland McGrath <roland@hack.frob.com>
21575 Joseph Myers <joseph@codesourcery.com>
21576 Carlos O'Donell <carlos@redhat.com>
21577
21578 [BZ #15755]
21579 * config.h.in: Define HAVE_PT_CHOWN.
21580 * config.make.in (build-pt-chown): New variable.
21581 * configure.in (--enable-pt_chown): New configure option.
21582 * configure: Regenerate.
21583 * login/Makefile: Include Makeconfig. Build pt_chown only if
21584 build-pt-chown is enabled.
21585 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
21586 pt_chown to fix pty ownership.
21587 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
21588 CLOSE_ALL_FDS.
21589 * manual/install.texi (Configuring and compiling): Mention
21590 --enable-pt_chown. Add @findex for grantpt.
21591 * INSTALL: Regenerate.
21592
da2d62df
DM
215932013-07-20 David S. Miller <davem@davemloft.net>
21594
21595 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
21596 difference between 32-bit and 64-bit.
21597
d7e06450
CD
215982013-07-15 Carlos O'Donell <carlos@redhat.com>
21599
21600 [BZ #15711]
21601 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
21602 Avoid system header dependency with -ffreestanding.
21603 ($(objpfx)bits/syscall%d): Likewise.
21604
f959cfd7
DM
216052013-07-13 David S. Miller <davem@davemloft.net>
21606
21607 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
21608 underflows from atanl/atan2l due to bug 15319.
21609 (casinh_test_data): Likewise.
21610
c61f8513
DM
216112013-07-07 David S. Miller <davem@davemloft.net>
21612
21613 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
21614
72c90ed0
JA
216152013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
21616
21617 * sysdeps/i386/fpu/libm-test-ulps: Update.
21618 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21619
52dfbe13
SP
216202013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
21621
21622 * configure.in (--enable-lock-elision): Fix message text.
21623 * INSTALL: Regenerate.
21624 * configure: Regenerate.
21625
3f169543
AZ
216262013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21627
21628 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21629
521c6785
AJ
216302013-07-03 Andreas Jaeger <aj@suse.de>
21631
21632 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
21633 define.
21634 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
21635 (ptrace_peeksiginfo_args): Add.
21636 (__ptrace_peeksiginfo_flags): Add.
21637 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
21638 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
21639 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
21640
d2cc15cb
AM
216412013-07-03 Allan McRae <allan@archlinux.org>
21642
21643 * sysdeps/i386/fpu/libm-test-ulps: Update.
21644
3aaeeca7
DM
216452013-07-02 David S. Miller <davem@davemloft.net>
21646
21647 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21648
5314ed1a
MT
216492013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
21650
21651 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21652
67338156
JM
216532013-07-02 Joseph Myers <joseph@codesourcery.com>
21654
21655 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
21656 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21657
1717da59
AK
216582013-07-02 Andi Kleen <ak@linux.intel.com>
21659
21660 * config.h.in (ENABLE_LOCK_ELISION): Add.
21661 * configure.in (--enable-lock-elision): Add option.
21662 * manual/install.texi: Document --enable lock elision.
21663 * configure: Regenerate
21664 * INSTALL: Regenerate.
21665
1c81621c
L
216662013-07-02 H.J. Lu <hongjiu.lu@intel.com>
21667
21668 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
21669 SSE4.2 strcasecmp for libc.a.
21670 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
21671
77f01ab5
JM
216722013-07-02 Joseph Myers <joseph@codesourcery.com>
21673
21674 [BZ #13304]
21675 * soft-fp/op-common.h (_FP_FMA): New macro.
21676 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
21677 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
21678 (_FP_MUL_MEAT_1_imm): ... here.
21679 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
21680 (_FP_MUL_MEAT_1_wide): ... here.
21681 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
21682 (_FP_MUL_MEAT_1_hard): ... here.
21683 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
21684 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
21685 (_FP_MUL_MEAT_2_wide): ... here.
21686 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
21687 (_FP_MUL_MEAT_2_wide_3mul): ... here.
21688 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
21689 (_FP_MUL_MEAT_2_gmp): ... here.
21690 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
21691 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
21692 (_FP_MUL_MEAT_4_wide): ... here.
21693 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
21694 (_FP_MUL_MEAT_4_gmp): ... here.
21695 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
21696 (_FP_WFRACBITS_DW_S): Likewise.
21697 (_FP_WFRACXBITS_DW_S): Likewise.
21698 (_FP_HIGHBIT_DW_S): Likewise.
21699 (FP_FMA_S): Likewise.
21700 (_FP_FRAC_HIGH_DW_S): Likewise.
21701 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
21702 (_FP_WFRACBITS_DW_D): Likewise.
21703 (_FP_WFRACXBITS_DW_D): Likewise.
21704 (_FP_HIGHBIT_DW_D): Likewise.
21705 (FP_FMA_D): Likewise.
21706 (_FP_FRAC_HIGH_DW_D): Likewise.
21707 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
21708 (_FP_WFRACBITS_DW_E): Likewise.
21709 (_FP_WFRACXBITS_DW_E): Likewise.
21710 (_FP_HIGHBIT_DW_E): Likewise.
21711 (FP_FMA_E): Likewise.
21712 (_FP_FRAC_HIGH_DW_E): Likewise.
21713 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
21714 (_FP_WFRACBITS_DW_Q): Likewise.
21715 (_FP_WFRACXBITS_DW_Q): Likewise.
21716 (_FP_HIGHBIT_DW_Q): Likewise.
21717 (FP_FMA_Q): Likewise.
21718 (_FP_FRAC_HIGH_DW_Q): Likewise.
21719 * soft-fp/fmasf4.c: New file.
21720 * soft-fp/fmadf4.c: Likewise.
21721 * soft-fp/fmatf4.c: Likewise.
21722
6308fd9a
LD
217232013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
21724
21725 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
21726 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
21727 Silvermont.
21728 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
21729 macro.
21730 (index_Slow_SSE4_2): Likewise.
21731 (index_Prefer_PMINUB_for_stringop): Likewise.
21732 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
21733 bit_Slow_SSE4_2 is set.
21734 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
21735 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
21736
89cd9569
RA
217372013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
21738
21739 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
21740 rtld_global._dl_hwcap2.
21741 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
21742 POWER8.
21743 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
21744 POWER8 feature descriptions defined in _dl_hwcap2.
21745 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
21746 string handling for POWER8 feature bits.
21747 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
21748 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
21749 _dl_powerpc_cap_flags.
21750 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
21751 * sysdeps/powerpc/rtld-global-offsets.sym
21752 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
21753 _dl_hwcap2 in the rtld_global_ro structure.
21754
1ae8bfe0
RA
217552013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
21756
21757 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
21758 hardware capabilities in support of AT_HWCAP2.
21759 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
21760 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
21761 GLRO(dl_hwcap2).
21762 (_dl_show_auxv): Add support for calling _dl_procinfo to display
21763 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
21764 explicitly the unknown a_type display mechanism is used.
21765 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
21766 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
21767 struct member.
21768 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
21769 to macro prototype for AT_HWCAP2 support.
21770 * sysdeps/i386/dl-procinfo.h: Likewise.
21771 * sysdeps/s390/dl-procinfo.h: Likewise.
21772 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
21773 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
21774 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
21775 return -1 for unknown a_type display fallback.
21776 * sysdeps/sparc/dl-procinfo.h: Likewise.
21777 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
21778 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
21779
8fbec010
JM
217802013-06-28 Joseph Myers <joseph@codesourcery.com>
21781
21782 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
21783 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
21784
0432680e
PY
217852013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
21786
21787 [BZ #12492]
21788 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
21789 mprotect making __stack_prot writable.
21790
ce61a2ad
NF
217912013-06-28 Nathan Froyd <froydnj@codesourcery.com>
21792 Joseph Myers <joseph@codesourcery.com>
21793
21794 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
21795 as being properly aligned.
21796
f91f1c0f
MR
217972013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
21798
3d0f5d0c
MR
21799 * dlfcn/modstatic5.c: New file.
21800 * dlfcn/tststatic5.c: New file.
21801 * dlfcn/Makefile (tests): Add tststatic5.
21802 (tests-static): Likewise.
21803 (modules-names): Add modstatic5.
21804 (tststatic5-ENV): New variable.
21805 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
21806
f91f1c0f
MR
21807 [BZ #15022]
21808 * elf/dl-support.c (_dl_main_map): New variable.
21809 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
21810 (_dl_nns, _dl_load_adds): Set to 1.
21811 (_dl_initial_searchlist): Refer to _dl_main_map.
21812 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
21813 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
21814 call to _dl_get_origin.
21815 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
21816 around call_map.
21817 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
21818 * dlfcn/modstatic3.c: New file.
21819 * dlfcn/tststatic3.c: New file.
21820 * dlfcn/tststatic4.c: New file.
21821 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
21822 (tests-static): Likewise.
21823 (modules-names): Add modstatic3.
21824 (tststatic3-ENV, tststatic4-ENV): New variables.
21825 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
21826 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
21827
cbe7d24b
JM
218282013-06-26 Joseph Myers <joseph@codesourcery.com>
21829
21830 * configure.in (CC): Require GCC version 4.4 or later.
21831 * configure: Regenerated.
21832 * manual/install.texi (Tools for Compilation): Update GCC version
21833 requirement.
21834 * INSTALL: Regenerated.
21835
11b8a0e1
LD
218362013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
21837
21838 [BZ #15674]
bb5bb87c
L
21839 * string/test-memcmp.c (check2): New.
21840 (main): Call check2.
21841
11b8a0e1
LD
21842 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
21843
b0037103
MR
218442013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
21845
21846 [BZ #15022]
21847 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
21848 over to...
21849 (dl_open_worker) [!SHARED]: ... here.
21850
c18c701d
RA
218512013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
21852
21853 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
21854
1d17fa5f
RH
218552013-06-25 Richard Henderson <rth@redhat.com>
21856
21857 * locale/programs/locarchive.c: Include <libc-internal.h>
21858
8fcb833a
JM
218592013-06-25 Joseph Myers <joseph@codesourcery.com>
21860
21861 * manual/texinfo.tex: Update to version 2013-06-21.17, with
21862 trailing whitespace removed.
21863
17db6e8d
MF
218642013-06-24 Mike Frysinger <vapier@gentoo.org>
21865
21866 [BZ #10283]
17db6e8d
MF
21867 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
21868 * locale/programs/locarchive.c: Include libc-mmap.h.
21869 (prepare_address_space): Take two new outputs (the mmap base and len).
21870 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
21871 values.
21872 (create_archive): Declare new mmap base and len values for
21873 prepare_address_space, and store the result in ah.
21874 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
21875 (enlarge_archive): If ah->mmap_base is not NULL, use that and
21876 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
21877 Declare new mmap base and len values for
21878 prepare_address_space, and store the result in new_ah.
21879 (open_archive): Declare new mmap base and len values for
21880 prepare_address_space, and store the result in ah.
21881 (close_archive): If ah->mmap_base is not NULL, use that and
21882 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
21883 * sysdeps/generic/libc-mmap.h: New file.
21884
d605071e
MF
218852013-06-24 Mike Frysinger <vapier@gentoo.org>
21886
21887 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
21888 (ALIGN_UP): Likewise.
21889 (PTR_ALIGN_DOWN): Likewise.
21890 (PTR_ALIGN_UP): Likewise.
21891
2f063a6e
RA
218922013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
21893
21894 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
21895 entry mapped to PPC_PLATFORM_POWER8.
21896 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
21897 POWER8.
21898 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
21899 (_dl_string_platform): Add case for exporting platform position for
21900 POWER8.
21901 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
21902 search path to sysdeps/powerpc/powerpc32/power8 directory.
21903 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
21904 search path to sysdeps/powerpc/powerpc64/power8 directory.
21905 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
21906 power7 directories.
21907 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
21908 power7 directories.
21909
a31ee4b3
SP
219102013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
21911
a74ca98f
SP
21912 * INSTALL: Regenerate.
21913
a31ee4b3
SP
21914 * nscd/connections.c (nscd_init): Fix comment.
21915
695c378f
JM
219162013-06-22 Joseph Myers <joseph@codesourcery.com>
21917
d8412221
JM
21918 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
21919
695c378f
JM
21920 [BZ #15667]
21921 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
21922 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
21923
d1d54715
MR
219242013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
21925
21926 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
21927 DL_DST_REQ_STATIC.
21928 (DL_DST_REQ_STATIC): Remove macro.
21929
8fdda7af
JM
219302013-06-21 Joseph Myers <joseph@codesourcery.com>
21931
21932 [BZ #7006]
21933 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
21934 with a shift of 0 bits.
21935
f3bc5e5a
MR
219362013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
21937
21938 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
21939 $(tststatic-ENV).
21940
be09e8c9
KK
219412013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
21942
21943 [BZ #15655]
21944 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
21945
85c2e611
AZ
219462013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21947
21948 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
21949 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
21950 accepts -fno-tree-loop-distribute-patterns.
21951 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
21952 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
21953 recursive call.
21954 * string/memset.c (memset): Likewise.
21955 * string/test-memmove.c (simple_memmove): Disable loop transformation
21956 to library calls.
21957 * string/test-memset.c (simple_memset): Likewise.
21958 * benchtests/bench-memmove.c (simple_memmove): Likewise.
21959 * benchtests/bench-memset.c (simple_memset): Likewise.
21960 * configure: Regenerated.
21961
c91e0825
JM
219622013-06-20 Joseph Myers <joseph@codesourcery.com>
21963
b8c792af
JM
21964 * math/test-misc.c (main): Ignore fesetround failure when failures
21965 of subsequent rounding tests would be ignored.
21966
c91e0825
JM
21967 [BZ #15654]
21968 * math/fedisblxcpt.c (fedisableexcept): Return 0.
21969 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
21970 * math/fegetenv.c (__fegetenv): Return 0.
21971 * math/fegetexcept.c (fegetexcept): Return 0.
21972 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
21973 FE_TONEAREST.
21974 * math/feholdexcpt.c (feholdexcept): Return 0.
21975 * math/fesetenv.c (__fesetenv): Return 0.
21976 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
21977 argument FE_TONEAREST.
21978 * math/feupdateenv.c (__feupdateenv): Return 0.
21979 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
21980
bfcacbde
RM
219812013-06-18 Roland McGrath <roland@hack.frob.com>
21982
21983 * elf/rtld-Rules (rtld-compile-command.S): New variable.
21984 (rtld-compile-command.s, rtld-compile-command.c): New variables.
21985 ($(objpfx)rtld-%.os rules): Use them.
21986
e55a9b25
AZ
219872013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21988
21989 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
21990 fields.
21991
346d65b3
RM
219922013-06-17 Roland McGrath <roland@hack.frob.com>
21993
12086fb4
RM
21994 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
21995 length of target pattern, then descending length of dependency pattern.
21996 * configure.in (AWK): Require gawk 3.1.2 or newer.
21997 * manual/install.texi (Tools for Compilation): Say that we do.
21998 * configure: Regenerated.
21999
346d65b3
RM
22000 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
22001 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
22002 * scripts/sysd-rules.awk: ... this new script.
22003 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
22004 than a glob-style pattern.
22005
1a846317
JM
220062013-06-17 Joseph Myers <joseph@codesourcery.com>
22007
22008 * math/test-misc.c (main): Do not treat incorrectly rounded
22009 conversions as failure unless ROUNDING_TESTS passes.
22010
8fc75e6f
JM
220112013-06-15 Joseph Myers <joseph@codesourcery.com>
22012
3711a167
JM
22013 [BZ #15631]
22014 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
22015 restore exception state around main square root computation, then
22016 check for inexactness explicitly.
22017
8fc75e6f
JM
22018 * math/libm-test.inc (fma_test_data): Add another test.
22019
61dd6208
SP
220202013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
22021
adf23d2c
SP
22022 * manual/threads.texi (Non-POSIX Extensions): New document
22023 node. Document pthread_getattr_default_np and
22024 pthread_setattr_default_np.
22025
61dd6208
SP
22026 * Versions.def (libpthread): Add GLIBC_2.18.
22027 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
22028 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
22029 Likewise.
22030 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
22031 Likewise.
22032 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
22033 Likewise.
22034 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
22035 Likewise.
22036 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
22037 Likewise.
22038 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
22039 Likewise.
22040 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
22041 Likewise.
22042 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
22043 Likewise.
22044 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
22045 Likewise.
22046
d086fc7b
LD
220472013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
22048
22049 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22050 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
22051
747ef469
SP
220522013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
22053 H.J. Lu <hjl.tools@gmail.com>
22054
22055 [BZ #15627]
22056 * sysdeps/x86_64/rtld-memset.c: Remove file.
22057 * sysdeps/x86_64/rtld-memset.S: New file.
22058
1b2feed2
JM
220592013-06-14 Joseph Myers <joseph@codesourcery.com>
22060
22061 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
22062 (test_in_one_mode): Take arguments for whether the rounding mode
22063 is supported for each floating-point type.
22064 (do_test): Pass new arguments to test_in_one_mode using
22065 ROUNDING_TESTS.
22066
a58ad3f8
RM
220672013-06-13 Roland McGrath <roland@hack.frob.com>
22068
22069 * posix/tst-waitid.c (do_test): Distinguish different instances of
22070 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
22071 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
22072 before entering the kernel for waitpid.
22073
c204ab28
SP
220742013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
22075
22076 * NEWS: Fix note on clock function precision. Text by Roland
22077 McGrath.
22078
f4a29fba
RM
220792013-06-13 Roland McGrath <roland@hack.frob.com>
22080
22081 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
22082 it into place only when and if the sanity check passes.
22083
1f24b9ad
JM
220842013-06-13 Joseph Myers <joseph@codesourcery.com>
22085
22086 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
22087 output for whether conversion result is exact. Take argument
22088 indicating whether type is IBM long double.
22089 (round_for_all): Change need_exact field to ibm_ld.
22090 * stdlib/tst-strtod-round.c (struct exactness): New type.
22091 (struct test): Change bool ld_ok field to struct exactness exact.
22092 (TEST): Update all definitions for change to field.
22093 (tests): Regenerate array contents.
22094 (test_in_one_mode): Take pointer to new field instead of old ld_ok
22095 field value. Check for IBM long double here.
22096 (do_test): Update calls to test_in_one_mode.
22097
58206c68
SP
220982013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
22099
22100 [BZ #12515]
22101 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
22102 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
22103
2d6f4c5b 221042013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
22105
22106 [BZ #15605]
22107 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
22108 generated by the compiler on loop optimizations.
22109 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
22110 general definitions.
22111
94f2c076
JM
221122013-06-12 Joseph Myers <joseph@codesourcery.com>
22113
22114 * math/bug-nextafter.c: Include <math-tests.h>.
22115 (main): Only test for exceptions if EXCEPTION_TESTS is true for
22116 the relevant type.
22117 * math/bug-nexttoward.c: Include <math-tests.h>.
22118 (main): Only test for exceptions if EXCEPTION_TESTS is true for
22119 the relevant type.
22120 * math/test-misc.c: Include <math-tests.h>.
22121 (main): Only test for exceptions if EXCEPTION_TESTS is true for
22122 the relevant type.
22123
e0e50a0a
AJ
221242013-06-12 Andreas Jaeger <aj@suse.de>
22125
22126 * po/ia.po: Update Interlingua translation from translation
22127 project.
22128
25061094
SP
221292013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
22130
22131 * include/fenv.h: Include stdbool.h.
22132 (struct rm_ctx): New structure.
22133 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
22134 Define macro.
22135 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
22136 (SET_RESTORE_ROUNDF): Likewise.
22137 (SET_RESTORE_ROUNDL): Likewise.
22138 (SET_RESTORE_ROUND_NOEX): Likewise.
22139 (SET_RESTORE_ROUND_NOEXF): Likewise.
22140 (SET_RESTORE_ROUND_NOEXL): Likewise.
22141 (SET_RESTORE_ROUND_53BIT): Likewise.
22142 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
22143 (libc_feresetround_noexf_ctx): Likewise.
22144 (libc_feresetround_noexl_ctx): Likewise.
22145 (libc_feholdsetround_53bit_ctx): Likewise.
22146 (libc_feresetround_53bit_ctx): Likewise.
22147 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
22148 (libc_feholdexcept_setround_sse_ctx): New function.
22149 (libc_fesetenv_sse_ctx): Likewise.
22150 (libc_feupdateenv_sse_ctx): Likewise.
22151 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
22152 (libc_feholdexcept_setround_387_ctx): Likewise.
22153 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
22154 (libc_feholdsetround_387_prec_ctx): Likewise.
22155 (libc_feholdsetround_387_ctx): Likewise.
22156 (libc_feholdsetround_387_53bit_ctx): Likewise.
22157 (libc_feholdsetround_sse_ctx): Likewise.
22158 (libc_feresetround_sse_ctx): Likewise.
22159 (libc_feresetround_387_ctx): Likewise.
22160 (libc_feupdateenv_387_ctx): Likewise.
22161 (libc_feholdexcept_setroundf_ctx): Define macro.
22162 (libc_fesetenvf_ctx): Likewise.
22163 (libc_feupdateenvf_ctx): Likewise.
22164 (libc_feholdsetroundf_ctx): Likewise.
22165 (libc_feresetroundf_ctx): Likewise.
22166 (libc_feholdexcept_setround_ctx): Likewise.
22167 (libc_fesetenv_ctx): Likewise.
22168 (libc_feupdateenv_ctx): Likewise.
22169 (libc_feholdsetround_ctx): Likewise.
22170 (libc_feresetround_ctx): Likewise.
22171 (libc_feholdexcept_setroundl_ctx): Likewise.
22172 (libc_feupdateenvl_ctx): Likewise.
22173 (libc_feholdsetroundl_ctx): Likewise.
22174 (libc_feresetroundl_ctx): Likewise.
22175 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
22176 (libc_feresetround_53bit_ctx): Likewise.
22177
59b30555
SP
221782013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
22179
22180 * locale/iso-639.def: Convert to UTF-8.
22181
f1d73d30
JM
221822013-06-11 Joseph Myers <joseph@codesourcery.com>
22183
22184 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
22185 (EXCEPTION_TESTS_double): Likewise.
22186 (EXCEPTION_TESTS_long_double): Likewise.
22187 (EXCEPTION_TESTS): Likewise.
22188 * math/libm-test.inc (test_exceptions): Only test exceptions if
22189 EXCEPTION_TESTS (FLOAT).
22190
94aca5e7
SP
221912013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
22192
22193 * benchtests/Makefile (string-bench): Add strcpy_chk and
22194 stpcpy_chk.
22195 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
22196 * benchtests/bench-stpcpy_chk.c: New file.
22197 * benchtests/bench-strcpy_chk-ifunc.c: New file.
22198 * benchtests/bench-strcpy_chk.c: New file.
22199 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
22200 code.
22201 (do_test): Likewise.
22202
fac0c5f2
RA
222032013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
22204
22205 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
22206 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
22207 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
22208 with tabs where appropriate.
22209 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
22210 dl-procinfo.h.
22211 [PPC_PLATFORM_PPC440]: Likewise.
22212 [PPC_PLATFORM_PPC464]: Likewise.
22213 [PPC_PLATFORM_PPC476]: Likewise.
22214 (_dl_string_platform): Add support for detecting ppc405, ppc440,
22215 ppc464, and ppc476 platform strings merging from ports/
22216 dl-procinfo.h.
22217
f22bc486
AS
222182013-06-11 Andreas Schwab <schwab@suse.de>
22219
22220 [BZ #14991]
22221 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
22222 (from_ucs4_idx): Regenerate.
22223 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
22224 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
22225 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
22226 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
22227 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
22228 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
22229 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
22230 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
22231 from FROM_LOOP and TO_LOOP specific macros.
22232 (BODY): Handle combining characters.
22233 * iconvdata/BIG5HKSCS.irreversible: Update.
22234 * iconvdata/BIG5HKSCS.precomposed: New file.
22235 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
22236 characters.
22237 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
22238
c1f75dc3
SP
222392013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
22240
4eacded2
SP
22241 * include/sys/time.h: Fix indentation and add copyright header.
22242
fec799f8
SP
22243 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
22244 (do_test): Likewise.
22245 * string/test-memchr.c (do_one_test): Likewise.
22246 (do_test): Likewise.
22247 * string/test-memcmp.c (do_one_test): Likewise.
22248 (do_test): Likewise.
22249 * string/test-memcpy.c (do_one_test): Likewise.
22250 (do_test): Likewise.
22251 * string/test-memmem.c (do_one_test): Likewise.
22252 (do_test): Likewise.
22253 (do_random_tests): Likewise.
22254 * string/test-memmove.c (do_one_test): Likewise.
22255 (do_test): Likewise.
22256 * string/test-memset.c (do_one_test): Likewise.
22257 (do_test): Likewise.
22258 * string/test-rawmemchr.c (do_one_test): Likewise.
22259 (do_test): Likewise.
22260 * string/test-strcasecmp.c (do_one_test): Likewise.
22261 (do_test): Likewise.
22262 * string/test-strcasestr.c (do_one_test): Likewise.
22263 (do_test): Likewise.
22264 * string/test-strcat.c (do_one_test): Likewise.
22265 (do_test): Likewise.
22266 * string/test-strchr.c (do_one_test): Likewise.
22267 (do_test): Likewise.
22268 * string/test-strcmp.c (do_one_test): Likewise.
22269 (do_test): Likewise.
22270 * string/test-strcpy.c (do_one_test): Likewise.
22271 (do_test): Likewise.
22272 * string/test-string.h: Likewise.
22273 (test_init): Likewise.
22274 * string/test-strlen.c (do_one_test): Likewise.
22275 (do_test): Likewise.
22276 * string/test-strncasecmp.c (do_one_test): Likewise.
22277 (do_test): Likewise.
22278 * string/test-strncat.c (do_one_test): Likewise.
22279 (do_test): Likewise.
22280 * string/test-strncmp.c (do_one_test): Likewise.
22281 (do_test_limit): Likewise.
22282 (do_test): Likewise.
22283 * string/test-strncpy.c (do_one_test): Likewise.
22284 (do_test): Likewise.
22285 * string/test-strnlen.c (do_one_test): Likewise.
22286 (do_test): Likewise.
22287 * string/test-strpbrk.c (do_one_test): Likewise.
22288 (do_test): Likewise.
22289 * string/test-strrchr.c (do_one_test): Likewise.
22290 (do_test): Likewise.
22291 * string/test-strspn.c (do_one_test): Likewise.
22292 (do_test): Likewise.
22293 * string/test-strstr.c (do_one_test): Likewise.
22294 (do_test): Likewise.
22295
97020474
SP
22296 * benchtests/Makefile (string-bench): Add string benchmarks.
22297 * benchtests/bench-bcopy-ifunc.c: New file.
22298 * benchtests/bench-bcopy.c: New file.
22299 * benchtests/bench-bzero-ifunc.c: New file.
22300 * benchtests/bench-bzero.c: New file.
22301 * benchtests/bench-memccpy-ifunc.c: New file.
22302 * benchtests/bench-memccpy.c: New file.
22303 * benchtests/bench-memchr-ifunc.c: New file.
22304 * benchtests/bench-memchr.c: New file.
22305 * benchtests/bench-memcmp-ifunc.c: New file.
22306 * benchtests/bench-memcmp.c: New file.
22307 * benchtests/bench-memmem-ifunc.c: New file.
22308 * benchtests/bench-memmem.c: New file.
22309 * benchtests/bench-memmove-ifunc.c: New file.
22310 * benchtests/bench-memmove.c: New file.
22311 * benchtests/bench-mempcpy-ifunc.c: New file.
22312 * benchtests/bench-mempcpy.c: New file.
22313 * benchtests/bench-memset-ifunc.c: New file.
22314 * benchtests/bench-memset.c: New file.
22315 * benchtests/bench-rawmemchr-ifunc.c: New file.
22316 * benchtests/bench-rawmemchr.c: New file.
22317 * benchtests/bench-stpcpy-ifunc.c: New file.
22318 * benchtests/bench-stpcpy.c: New file.
22319 * benchtests/bench-stpncpy-ifunc.c: New file.
22320 * benchtests/bench-stpncpy.c: New file.
22321 * benchtests/bench-strcasecmp-ifunc.c: New file.
22322 * benchtests/bench-strcasecmp.c: New file.
22323 * benchtests/bench-strcasestr-ifunc.c: New file.
22324 * benchtests/bench-strcasestr.c: New file.
22325 * benchtests/bench-strcat-ifunc.c: New file.
22326 * benchtests/bench-strcat.c: New file.
22327 * benchtests/bench-strchr-ifunc.c: New file.
22328 * benchtests/bench-strchr.c: New file.
22329 * benchtests/bench-strchrnul-ifunc.c: New file.
22330 * benchtests/bench-strchrnul.c: New file.
22331 * benchtests/bench-strcmp-ifunc.c: New file.
22332 * benchtests/bench-strcmp.c: New file.
22333 * benchtests/bench-strcpy-ifunc.c: New file.
22334 * benchtests/bench-strcpy.c: New file.
22335 * benchtests/bench-strcspn-ifunc.c: New file.
22336 * benchtests/bench-strcspn.c: New file.
22337 * benchtests/bench-strlen-ifunc.c: New file.
22338 * benchtests/bench-strlen.c: New file.
22339 * benchtests/bench-strncasecmp-ifunc.c: New file.
22340 * benchtests/bench-strncasecmp.c: New file.
22341 * benchtests/bench-strncat-ifunc.c: New file.
22342 * benchtests/bench-strncat.c: New file.
22343 * benchtests/bench-strncmp-ifunc.c: New file.
22344 * benchtests/bench-strncmp.c: New file.
22345 * benchtests/bench-strncpy-ifunc.c: New file.
22346 * benchtests/bench-strncpy.c: New file.
22347 * benchtests/bench-strnlen-ifunc.c: New file.
22348 * benchtests/bench-strnlen.c: New file.
22349 * benchtests/bench-strpbrk-ifunc.c: New file.
22350 * benchtests/bench-strpbrk.c: New file.
22351 * benchtests/bench-strrchr-ifunc.c: New file.
22352 * benchtests/bench-strrchr.c: New file.
22353 * benchtests/bench-strspn-ifunc.c: New file.
22354 * benchtests/bench-strspn.c: New file.
22355 * benchtests/bench-strstr-ifunc.c: New file.
22356 * benchtests/bench-strstr.c: New file.
22357
c1f75dc3
SP
22358 * benchtests/Makefile: Disable parallel execution of targets.
22359 (string-bench): Add memcpy.
22360 (benchset): New variable to store a list of benchmark sets.
22361 (bench-func): Renamed from bench.
22362 (bench-set): New target.
22363 (bench): Depend on bench-func and bench-set.
22364 * benchtests/README: Add section on benchmark sets.
22365 * benchtests/bench-memcpy-ifunc.c: New file.
22366 * benchtests/bench-memcpy.c: New file.
22367 * benchtests/bench-string.h: New file.
22368
50fd745b
AS
223692013-06-11 Andreas Schwab <schwab@suse.de>
22370
22371 [BZ #15577]
22372 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
22373 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
22374 values in the triple.
22375 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
22376 terminator in the group key.
22377
3ee7e9fe
AJ
223782013-06-11 Andreas Jaeger <aj@suse.de>
22379
22380 * po/zh_TW.po: Update Chinese (traditional) translation from
22381 translation project.
22382
89fb6835
SP
223832013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
22384
22385 * include/time.h (__clock_gettime): Add libc_hidden_proto.
22386 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
22387 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
22388 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
22389 (clock_getcpuclockid): Likewise.
22390 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
22391 Add weak_alias and libc_hidden_def.
22392 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
22393 * rt/clock_gettime.c (clock_gettime): Rename to
22394 __clock_gettime. Add weak_alias and libc_hidden_def.
22395 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
22396 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
22397 __clock_nanosleep. Add weak_alias and libc_hidden_def.
22398 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
22399 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
22400 Likewise.
22401 * rt/clock_settime.c (clock_settime): Rename to
22402 __clock_settime. Add weak_alias and libc_hidden_def.
22403 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
22404
0efa6f8b
JM
224052013-06-10 Joseph Myers <joseph@codesourcery.com>
22406
b8c61b4b
JM
22407 * mach/err_boot.sub: Remove trailing whitespace.
22408 * mach/err_ipc.sub: Likewise.
22409 * mach/err_mach.sub: Likewise.
22410
0efa6f8b
JM
22411 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
22412 (ROUNDING_TESTS_double): Likewise.
22413 (ROUNDING_TESTS_long_double): Likewise.
22414 (ROUNDING_TESTS): Likewise.
22415 * math/libm-test.inc: Include <math-tests.h>.
22416 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
22417 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
22418 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
22419 (IF_ROUND_INIT_FE_UPWARD): Likewise.
22420
50b818bf
SP
224212013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
22422
22423 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
22424 of assigning.
22425
60d2f8f3
JM
224262013-06-08 Joseph Myers <joseph@codesourcery.com>
22427
4902d2c3
JM
22428 * sysdeps/gnu/errlist.awk: Do not generate space at end of
22429 otherwise empty TRANS lines.
22430 * sysdeps/gnu/errlist.c: Regenerated.
22431
60d2f8f3
JM
22432 * catgets/gencat.c (error_print): Use (void) in function
22433 definition.
22434 * crypt/crypt_util.c (__init_des): Likewise.
22435 * crypt/speeds.c (Stop): Likewise.
22436 (main): Likewise.
22437 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
22438 * inet/ruserpass.c (token): Likewise.
22439 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
22440 * intl/localealias.c (extend_alias_table): Likewise.
22441 * intl/plural-exp.c (init_germanic_plural): Likewise.
22442 * libio/fcloseall.c (__fcloseall): Likewise.
22443 * libio/genops.c (_IO_flush_all): Likewise.
22444 (_IO_flush_all_linebuffered): Likewise.
22445 (_IO_cleanup): Likewise.
22446 (_IO_iter_begin): Likewise.
22447 (_IO_iter_end): Likewise.
22448 (_IO_list_lock): Likewise.
22449 (_IO_list_unlock): Likewise.
22450 (_IO_list_resetlock): Likewise.
22451 * libio/getchar.c (getchar): Likewise.
22452 * libio/getchar_u.c (getchar_unlocked): Likewise.
22453 * libio/getwchar.c (getwchar): Likewise.
22454 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
22455 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
22456 * login/getpt.c (__getpt): Likewise.
22457 * login/tst-utmp.c (main): Likewise.
22458 * malloc/hooks.c (__malloc_check_init): Likewise.
22459 * malloc/malloc.c (__malloc_stats): Likewise.
22460 * malloc/mtrace.c (tr_break): Likewise.
22461 (mtrace): Likewise.
22462 (muntrace): Likewise.
22463 * misc/fstab.c (endfsent): Likewise.
22464 * misc/getclktck.c (__getclktck): Likewise.
22465 * misc/getdtsz.c (__getdtablesize): Likewise.
22466 * misc/gethostid.c (gethostid): Likewise.
22467 * misc/getpagesize.c (__getpagesize): Likewise.
22468 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
22469 (__get_nprocs): Likewise.
22470 (__get_phys_pages): Likewise.
22471 (__get_avphys_pages): Likewise.
22472 * misc/getttyent.c (getttyent): Likewise.
22473 (setttyent): Likewise.
22474 (endttyent): Likewise.
22475 * misc/getusershell.c (getusershell): Likewise.
22476 (endusershell): Likewise.
22477 (setusershell): Likewise.
22478 (initshells): Likewise.
22479 * misc/hsearch.c (__hdestroy): Likewise.
22480 * misc/sync.c (sync): Likewise.
22481 * misc/syslog.c (closelog_internal): Likewise.
22482 (closelog): Likewise.
22483 * misc/ttyslot.c (ttyslot): Likewise.
22484 * misc/vhangup.c (vhangup): Likewise.
22485 * posix/fork.c (__fork): Likewise.
22486 * posix/getegid.c (__getegid): Likewise.
22487 * posix/geteuid.c (__geteuid): Likewise.
22488 * posix/getgid.c (__getgid): Likewise.
22489 * posix/getpid.c (__getpid): Likewise.
22490 * posix/getppid.c (__getppid): Likewise.
22491 * posix/getuid.c (__getuid): Likewise.
22492 * posix/pause.c (pause): Likewise.
22493 * posix/setpgrp.c (setpgrp): Likewise.
22494 * posix/setsid.c (__setsid): Likewise.
22495 * posix/test-vfork.c (noop): Likewise.
22496 * resolv/gethnamaddr.c (_endhtent): Likewise.
22497 (_gethtent): Likewise.
22498 (ht_endhostent): Likewise.
22499 (gethostent): Likewise.
22500 (dns_service): Likewise.
22501 * stdlib/drand48.c (drand48): Likewise.
22502 * stdlib/lrand48.c (lrand48): Likewise.
22503 * stdlib/mrand48.c (mrand48): Likewise.
22504 * stdlib/rand.c (rand): Likewise.
22505 * stdlib/random.c (__random): Likewise.
22506 * stdlib/setenv.c (clearenv): Likewise.
22507 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
22508 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
22509 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
22510 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
22511 (__get_nprocs): Likewise.
22512 (__get_phys_pages): Likewise.
22513 (__get_avphys_pages): Likewise.
22514 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
22515 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
22516 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
22517 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
22518 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
22519 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
22520 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
22521 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
22522 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
22523 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
22524 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
22525 * sysdeps/mach/hurd/sync.c (sync): Likewise.
22526 * sysdeps/posix/clock.c (clock): Likewise.
22527 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
22528 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
22529 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
22530 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
22531 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
22532 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
22533 (__get_nprocs_conf): Likewise.
22534 (__get_phys_pages): Likewise.
22535 (__get_avphys_pages): Likewise.
22536 * time/clock.c (clock): Likewise.
22537 * time/tzset.c (__tzname_max): Likewise.
22538
2e09a79a
JM
225392013-06-07 Joseph Myers <joseph@codesourcery.com>
22540
22541 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
22542 (__bswap_32): Do not use "register".
22543 * crypt/crypt.c (_ufc_doit_r): Likewise.
22544 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
22545 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
22546 * gmon/gmon.c (__monstartup): Likewise.
22547 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
22548 * hurd/hurdmalloc.c (more_memory): Likewise.
22549 (malloc): Likewise.
22550 (free): Likewise.
22551 (realloc): Likewise.
22552 (malloc_fork_prepare): Likewise.
22553 (malloc_fork_parent): Likewise.
22554 (malloc_fork_child): Likewise.
22555 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
22556 (_svcauth_des): Likewise.
22557 * inet/inet_lnaof.c (inet_lnaof): Likewise.
22558 * inet/inet_net.c (inet_network): Likewise.
22559 * inet/inet_netof.c (inet_netof): Likewise.
22560 * inet/rcmd.c (__validuser2_sa): Likewise.
22561 * io/fts.c (fts_open): Likewise.
22562 (fts_load): Likewise.
22563 (fts_close): Likewise.
22564 (fts_read): Likewise.
22565 (fts_children): Likewise.
22566 (fts_build): Likewise.
22567 (fts_stat): Likewise.
22568 (fts_sort): Likewise.
22569 (fts_alloc): Likewise.
22570 (fts_lfree): Likewise.
22571 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
22572 (_IO_file_xsgetn): Likewise.
22573 (_IO_file_xsgetn_mmap): Likewise.
22574 * libio/iofopncook.c (_IO_cookie_read): Likewise.
22575 (_IO_cookie_write): Likewise.
22576 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
22577 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
22578 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
22579 * malloc/obstack.c (_obstack_begin): Likewise.
22580 (_obstack_begin_1): Likewise.
22581 (_obstack_newchunk): Likewise.
22582 (_obstack_allocated_p): Likewise.
22583 (obstack_free): Likewise.
22584 (_obstack_memory_used): Likewise.
22585 * misc/getttyent.c (getttynam): Likewise.
22586 (getttyent): Likewise.
22587 (skip): Likewise.
22588 (value): Likewise.
22589 * misc/getusershell.c (initshells): Likewise.
22590 * misc/syslog.c (__vsyslog_chk): Likewise.
22591 * misc/ttyslot.c (ttyslot): Likewise.
22592 * nis/nis_hash.c (__nis_hash): Likewise.
22593 * posix/fnmatch_loop.c (FCT): Likewise.
22594 * posix/getconf.c (print_all): Likewise.
22595 (main): Likewise.
22596 * posix/getopt.c (exchange): Likewise.
22597 * posix/glob.c (globfree): Likewise.
22598 (prefix_array): Likewise.
22599 (__glob_pattern_type): Likewise.
22600 * resolv/arpa/nameser.h (NS_GET16): Likewise.
22601 (NS_GET32): Likewise.
22602 (NS_PUT16): Likewise.
22603 (NS_PUT32): Likewise.
22604 * resolv/gethnamaddr.c (getanswer): Likewise.
22605 (gethostbyname2): Likewise.
22606 (gethostbyaddr): Likewise.
22607 (_gethtent): Likewise.
22608 (_gethtbyname2): Likewise.
22609 (_gethtbyaddr): Likewise.
22610 * resolv/ns_print.c (dst_s_get_int16): Likewise.
22611 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
22612 * resolv/res_init.c (__res_vinit): Likewise.
22613 (net_mask): Likewise.
22614 * resolv/res_mkquery.c (outchar): Likewise.
22615 (PRINT): Likewise.
22616 * stdio-common/printf_fp.c (outchar): Likewise.
22617 (PRINT): Likewise.
22618 * stdio-common/printf_fphex.c (outchar): Likewise.
22619 (PRINT): Likewise.
22620 * stdio-common/printf_size.c (outchar): Likewise.
22621 (PRINT): Likewise.
22622 * stdio-common/test_rdwr.c (main): Likewise.
22623 * stdio-common/tfformat.c (matches): Likewise.
22624 * stdio-common/vfprintf.c (outchar): Likewise.
22625 (printf_unknown): Likewise.
22626 (buffered_vfprintf): Likewise.
22627 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
22628 * stdio-common/xbug.c (AppendToBuffer): Likewise.
22629 (ReadFile): Likewise.
22630 * stdlib/qsort.c (SWAP): Likewise.
22631 (_quicksort): Likewise.
22632 * stdlib/setenv.c (__add_to_environ): Likewise.
22633 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
22634 * stdlib/strtol_l.c (__strtol_l): Likewise.
22635 * stdlib/tst-strtod.c (main): Likewise.
22636 * stdlib/tst-strtol.c (main): Likewise.
22637 * stdlib/tst-strtoll.c (main): Likewise.
22638 * string/bits/string2.h (__strcmp_cc): Likewise.
22639 (__strcmp_cg): Likewise.
22640 (__strcspn_c1): Likewise.
22641 (__strcspn_c2): Likewise.
22642 (__strcspn_c3): Likewise.
22643 (__strspn_c1): Likewise.
22644 (__strspn_c2): Likewise.
22645 (__strspn_c3): Likewise.
22646 (__strsep_1c): Likewise.
22647 (__strsep_2c): Likewise.
22648 (__strsep_3c): Likewise.
22649 * string/memccpy.c (__memccpy): Likewise.
22650 * string/stpcpy.c (__stpcpy): Likewise.
22651 * string/strcmp.c (strcmp): Likewise.
22652 * string/strrchr.c (strrchr): Likewise.
22653 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
22654 Likewise.
22655 * sysdeps/mach/hurd/getcwd.c
22656 (_hurd_canonicalize_directory_name_internal): Likewise.
22657 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
22658 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
22659 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
22660 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
22661 Likewise, in both definitions.
22662 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
22663 definitions.
22664 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
22665 64] (__bswap_64): Likewise.
22666 * time/test_time.c (main): Likewise.
22667 * time/tzfile.c (__tzfile_read): Likewise.
22668 (__tzfile_compute): Likewise.
22669 * time/tzset.c (__tzset_parse_tz): Likewise.
22670 (tzset_internal): Likewise.
22671 (compute_change): Likewise.
22672 * wcsmbs/wcscat.c (__wcscat): Likewise.
22673 * wcsmbs/wcschr.c (wcschr): Likewise.
22674 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
22675 * wcsmbs/wcscspn.c (wcscspn): Likewise.
22676 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
22677 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
22678 * wcsmbs/wcsspn.c (wcsspn): Likewise.
22679 * wcsmbs/wcsstr.c (wcsstr): Likewise.
22680 * wcsmbs/wmemchr.c (wmemchr): Likewise.
22681 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
22682 * wcsmbs/wmemset.c (wmemset): Likewise.
22683
9e54314b
JM
226842013-06-06 Joseph Myers <joseph@codesourcery.com>
22685
22686 * scripts/config.guess: Update to version 2013-05-16.
22687 * scripts/config.sub: Update to version 2013-04-24.
22688 * scripts/install-sh: Update to version 2011-11-20.07.
22689 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
22690 * scripts/move-if-change: Update to version 2012-01-06 07:23.
22691
350635a5
OB
226922013-06-06 Ondřej Bílka <neleai@seznam.cz>
22693
22694 * debug/fgetws_u_chk.c: Fix leading whitespaces.
22695 * elf/sln.c: Likewise.
22696 * hurd/hurd/ioctl.h: Likewise.
22697 * hurd/hurdmalloc.c: Likewise.
22698 * hurd/xattr.c: Likewise.
22699 * include/shlib-compat.h: Likewise.
22700 * inet/ruserpass.c: Likewise.
22701 * libio/iofgets_u.c: Likewise.
22702 * libio/iofgetws_u.c: Likewise.
22703 * locale/programs/ld-identification.c: Likewise.
22704 * locale/programs/ld-time.c: Likewise.
22705 * mach/msg-destroy.c: Likewise.
22706 * nss/nss_files/files-netgrp.c: Likewise.
22707 * resolv/res_data.c: Likewise.
22708 * soft-fp/op-1.h: Likewise.
22709 * soft-fp/op-2.h: Likewise.
22710 * soft-fp/op-4.h: Likewise.
22711 * soft-fp/op-common.h: Likewise.
22712 * stdio-common/printf_fphex.c: Likewise.
22713 * stdlib/strtod_l.c: Likewise.
22714 * sunrpc/rpc/clnt.h: Likewise.
22715 * sysdeps/generic/framestate.c: Likewise.
22716 * sysdeps/i386/bsd-_setjmp.S: Likewise.
22717 * sysdeps/i386/bsd-setjmp.S: Likewise.
22718 * sysdeps/i386/__longjmp.S: Likewise.
22719 * sysdeps/i386/setjmp.S: Likewise.
22720 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
22721 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
22722 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
22723 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
22724 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
22725 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
22726 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
22727 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
22728 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
22729 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
22730 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
22731 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
22732 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
22733 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
22734 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
22735 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
22736 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
22737 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
22738 * sysdeps/ieee754/support.c: Likewise.
22739 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
22740 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
22741 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
22742 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
22743 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
22744 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
22745 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
22746 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
22747 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
22748 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
22749 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
22750 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
22751 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
22752 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
22753 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
22754 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
22755 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
22756 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
22757
44a988af
OB
227582013-06-05 Ondřej Bílka <neleai@seznam.cz>
22759
25506f09 22760 * posix/transbug.c: Remove executable mode.
44a988af 22761
9c84384c
JM
227622013-06-05 Joseph Myers <joseph@codesourcery.com>
22763
22764 * crypt/speeds.c: Remove trailing whitespace.
22765 * dlfcn/default.c: Likewise.
22766 * elf/ifuncdep2.c: Likewise.
22767 * elf/ifuncmain1.c: Likewise.
22768 * elf/ifuncmain1vis.c: Likewise.
22769 * elf/testobj.h: Likewise.
22770 * elf/tst-stackguard1.c: Likewise.
22771 * gmon/sys/gmon.h: Likewise.
22772 * hurd/hurdmsg.c: Likewise.
22773 * hurd/new-fd.c: Likewise.
22774 * hurd/ports-get.c: Likewise.
22775 * iconvdata/ibm1008_420.c: Likewise.
22776 * inet/tst-getni1.c: Likewise.
22777 * inet/tst-getni2.c: Likewise.
22778 * libio/ioungetc.c: Likewise.
22779 * libio/wfiledoalloc.c: Likewise.
22780 * manual/libm-err-tab.pl: Likewise.
22781 * math/w_dremf.c: Likewise.
22782 * misc/ftruncate.c: Likewise.
22783 * posix/bug-glob2.c: Likewise.
22784 * posix/tst-pcre.c: Likewise.
22785 * posix/wait4.c: Likewise.
22786 * resolv/README: Likewise.
22787 * resolv/res_debug.h: Likewise.
22788 * resolv/tst-inet_ntop.c: Likewise.
22789 * setjmp/bug269-setjmp.c: Likewise.
22790 * soft-fp/extended.h: Likewise.
22791 * soft-fp/op-1.h: Likewise.
22792 * soft-fp/op-2.h: Likewise.
22793 * soft-fp/op-4.h: Likewise.
22794 * soft-fp/op-8.h: Likewise.
22795 * soft-fp/testit.c: Likewise.
22796 * stdio-common/bug16.c: Likewise.
22797 * stdlib/random.c: Likewise.
22798 * sunrpc/rpcsvc/rquota.x: Likewise.
22799 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
22800 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
22801 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
22802 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
22803 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
22804 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
22805 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
22806 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
22807 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
22808 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
22809 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
22810 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
22811 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
22812 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
22813 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
22814 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
22815 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
22816 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
22817 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
22818 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
22819 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
22820 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
22821 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
22822 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
22823 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
22824 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
22825 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
22826 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
22827 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
22828 * sysdeps/ieee754/s_lib_version.c: Likewise.
22829 * sysdeps/mach/hurd/check_fds.c: Likewise.
22830 * sysdeps/mach/hurd/getsockname.c: Likewise.
22831 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
22832 * sysdeps/mach/hurd/recvfrom.c: Likewise.
22833 * sysdeps/powerpc/bits/link.h: Likewise.
22834 * sysdeps/powerpc/dl-procinfo.c: Likewise.
22835 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
22836 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
22837 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
22838 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
22839 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
22840 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
22841 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
22842 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
22843 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
22844 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
22845 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
22846 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
22847 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
22848 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
22849 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
22850 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
22851 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
22852 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
22853 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
22854 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
22855 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
22856 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
22857 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
22858 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
22859 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
22860 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
22861 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
22862 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
22863 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
22864 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
22865 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
22866 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
22867 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
22868 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
22869 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
22870 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
22871 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
22872 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
22873 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
22874 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
22875 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
22876 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
22877 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
22878 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
22879 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
22880 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
22881 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
22882 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
22883 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
22884 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
22885 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
22886 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
22887 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
22888 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
22889 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
22890 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
22891 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
22892 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
22893 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
22894 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
22895 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
22896 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
22897 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
22898 * sysdeps/powerpc/sysdep.h: Likewise.
22899 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
22900 * sysdeps/s390/s390-64/sub_n.S: Likewise.
22901 * sysdeps/sh/dl-trampoline.S: Likewise.
22902 * sysdeps/sh/memset.S: Likewise.
22903 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
22904 * sysdeps/sh/strlen.S: Likewise.
22905 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
22906 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
22907 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
22908 * sysdeps/sparc/sparc32/rem.S: Likewise.
22909 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
22910 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
22911 * sysdeps/sparc/sparc32/strchr.S: Likewise.
22912 * sysdeps/sparc/sparc32/udiv.S: Likewise.
22913 * sysdeps/sparc/sparc32/urem.S: Likewise.
22914 * sysdeps/sparc/sparc64/add_n.S: Likewise.
22915 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
22916 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
22917 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
22918 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
22919 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
22920 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
22921 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
22922 * sysdeps/unix/bsd/times.c: Likewise.
22923 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
22924 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
22925 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
22926 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
22927 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
22928 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
22929 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
22930 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
22931 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
22932 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
22933 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
22934 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
22935 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
22936 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
22937 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
22938 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
22939 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
22940 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
22941 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
22942 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
22943 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
22944 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
22945 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
22946 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
22947 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
22948 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
22949 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
22950 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
22951 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
22952 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
22953 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
22954 * sysdeps/x86_64/strcspn.S: Likewise.
22955
869378a5
RA
229562013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
22957
22958 * locale/C-translit.h: Revert #include <stdint.h> because this is a
22959 generated file. Regenerate properly from gen-translit.pl.
22960 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
22961 locale/C-translit.h.
22962
840e2943
AS
229632013-06-05 Andreas Schwab <schwab@suse.de>
22964
22965 [BZ #15100]
22966 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
22967 week as 6 instead of -1.
22968 * time/tst-strptime.c (day_tests): Add test case.
22969
4c60cb0c
SP
229702013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
22971
22972 * sysdeps/generic/math_private.h
22973 (libc_feholdexcept_setround_53bit): Replace with
22974 libc_feholdsetround_53bit.
22975 (libc_feupdateenv_53bit): Replace with
22976 libc_feresetround_53bit.
22977 (SET_RESTORE_ROUND_53BIT): Adjust.
22978
d180203e
SP
229792013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
22980
96df079a
SP
22981 * string/test-strchrnul.c: Add copyright header.
22982
d180203e
SP
22983 * posix/tst-getaddrinfo4.c: Increase test timeout.
22984
8b0ccb2d
CD
229852013-06-03 Carlos O'Donell <carlos@redhat.com>
22986
22987 [BZ #15536]
22988 * math/libm-test.inc (MAX_EXP): Remove
22989 (MIN_EXP): Define.
22990 (ulp): Use MIN_EXP - MANT_DIG.
22991 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
22992
3b3c4d40
CD
229932013-05-31 Carlos O'Donell <carlos@redhat.com>
22994
22995 * po/be.po: Revert last change.
22996 * po/zh_CN.po: Likewise.
22997 * po/header.pot: Likewise.
22998
fab7ce3f
JM
229992013-05-31 Joseph Myers <joseph@codesourcery.com>
23000
23001 * Makefile ($(common-objpfx)linkobj/libc.so): Define
23002 link-libc-deps to empty as target-specific variable.
23003 * Makerules (link-libc-args): New variable.
23004 (libc-for-link): Likewise.
23005 (link-libc-deps): Likewise.
23006 (lib%.so): Depend on $(link-libc-deps). Link with
23007 $(link-libc-args).
23008 (build-module): Link with $(link-libc-args).
23009 (build-module-asneeded): Likewise.
23010 (build-module-helper-objlist): Filter out $(link-libc-deps) from
23011 list of objects.
23012 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
23013 target-specific variable.
23014 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
23015 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
23016 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
23017 libc.
23018 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
23019 libc and ld.so.
23020 ($(objpfx)libpcprofile.so): Likewise.
23021 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
23022 libc_nonshared.a.
23023 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
23024 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
23025 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
23026 $(link-libc-deps).
23027 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
23028 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
23029 * login/Makefile ($(objpfx)libutil.so): Likewise.
23030 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
23031 * math/Makefile ($(objpfx)libm.so): Likewise.
23032 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
23033 $(objpfx)libnsl.so): Define libc-for-link as target-specific
23034 variable instead of depending directly on libc.
23035 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
23036 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
23037 $(link-libc-deps).
23038 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
23039 libc.
23040 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
23041 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
23042 ($(objpfx)libanl.so): Likewise.
23043 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
23044 ld.so.
23045 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
23046 $(link-libc-deps).
23047 * sysdeps/i386/fpu/Makefile: Remove file.
23048 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
23049 ($(objpfx)libm.so): Remove dependency on ld.so.
23050
eca5920c
PF
230512013-05-30 Patsy Franklin <pfrankli@redhat.com>
23052
23053 [BZ # 15553]
23054 * nis/yp_xdr.c (XDRMAXNAME): Define.
23055 (XDRMAXRECORD): Define.
23056 (xdr_domainname): Use XDRMAXNAME.
23057 (xdr_mapname): Likewise.
23058 (xdr_peername): Likewise.
23059 (xdr_keydat): Use XDRMAXRECORD.
23060 (xdr_valdat): Likewise.
23061
230622013-05-30 Jeff Law <law@redhat.com>
96945714
JL
23063
23064 [BZ #14256]
23065 * manual/errno.texi (ESTALE): Update to account for more than
23066 just NFS file systems.
23067 * sysdeps/gnu/errlist.c: Regenerated.
23068
b9375348
SP
230692013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
23070
23071 [BZ #15465]
23072 * elf/Makefile (tests): Add tst-null-argv.
23073 (modules-names): Add tst-null-argv-lib.
23074 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
23075 (tst-null-argv-ENV): Set environment for tst-null-argv.
23076 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
23077 (RTLD_PROGNAME): New macro.
23078 * elf/tst-null-argv.c: New test case.
23079 * elf/tst-null-argv-lib.c: Library for test case.
23080 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
23081 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
23082 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
23083 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
23084 * elf/dl-init.c (call_init): Likewise.
23085 (_dl_init): Likewise.
23086 * elf/dl-load.c (print_search_path): Likewise.
23087 (_dl_map_object): Likewise.
23088 * elf/dl-lookup.c (do_lookup_x): Likewise.
23089 (add_dependency): Likewise.
23090 (_dl_lookup_symbol_x): Likewise.
23091 (_dl_debug_bindings): Likewise.
23092 * elf/dl-open.c (_dl_show_scope): Likewise.
23093 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
23094 * elf/dl-version.c (match_symbol): Likewise.
23095 (_dl_check_map_versions): Likewise.
23096 * elf/rtld.c (dl_main): Likewise.
23097 (print_unresolved): Use RTLD_PROGNAME.
23098 (print_missing_version): Likewise.
23099 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
23100 (elf_machine_rela): Likewise.
23101 * sysdeps/powerpc/powerpc32/dl-machine.c
23102 (__process_machine_rela): Likewise.
23103 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
23104 Likewise.
23105 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
23106 Likewise.
23107 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
23108 Likewise.
23109 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
23110 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
23111 Likewise.
23112 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
23113 Likewise.
23114 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
23115
8a9f20c8
CD
231162013-05-28 Carlos O'Donell <carlos@redhat.com>
23117
23118 * po/be.po: Add descriptive title.
23119 * po/zh_CN.po: Likewise.
23120 * po/header.pot: Likewise.
23121
0e60d68e
MF
231222013-05-28 Mike Frysinger <vapier@gentoo.org>
23123
23124 * locale/programs/locarchive.c (create_archive): Inlucde fname in
23125 error message.
23126 (enlarge_archive): Likewise.
23127
56b672e9
BN
231282013-05-28 Ben North <ben@redfrontdoor.org>
23129
23130 * manual/arith.texi (frexp): It is the magnitude of the return
23131 value which lies in [0.5, 1), not the return value itself.
23132
5e056687
AZ
231332013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23134
23135 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23136
2b66ef5d
TS
231372013-05-26 Thomas Schwinge <thomas@codesourcery.com>
23138
528c2405
TS
23139 * stdio-common/bug26.c (main): Correct fscanf template.
23140
07b4c13d
TS
23141 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
23142 declare _dl_skip_args.
23143
ec9dd97c
TS
23144 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
23145 Don't declare.
23146
2b66ef5d
TS
23147 * manual/platform.texi: Add missing @end deftypefun.
23148
4f8dfe27
JM
231492013-05-24 Joseph Myers <joseph@codesourcery.com>
23150
0323d086
JM
23151 [BZ #15529]
23152 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
23153 bit of mantissa of 2^16382.
23154 * math/libm-test.inc (hypot_test_data): Add more tests.
23155
dd4259b9
JM
23156 * math/libm-test.inc: Add drem and pow10 to list of tested
23157 functions.
23158 (pow10_test): New function.
23159 (drem_test): Likewise.
23160 (drem_test_tonearest): Likewise.
23161 (drem_test_towardzero): Likewise.
23162 (drem_test_downward): Likewise.
23163 (drem_test_upward): Likewise.
23164 (main): Call the new functions.
23165
4f8dfe27
JM
23166 * math/libm-test.inc (finite_test_data): Remove.
23167 (finite_test): Run tests from isfinite_test_data.
23168 (gamma_test_data): Remove.
23169 (gamma_test): Run tests from lgamma_test_data.
23170 * sysdeps/i386/fpu/libm-test-ulps: Update.
23171 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23172
d116b7c4
AZ
231732013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23174
23175 * manual/platform.texi: Add PowerPC PPR function set documentation.
23176 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
23177 implementation.
23178
e96e3767
CD
231792013-05-24 Carlos O'Donell <carlos@redhat.com>
23180
23181 * math/libm-test.inc (MAX_EXP): Define.
23182 (ULPDIFF): Define.
23183 (ulp): New function.
23184 (check_float_internal): Use ULPDIFF.
23185 (cpow_test): Disable failing test.
23186 (check_ulp): Test ulp() implemetnation.
23187 (main): Call check_ulp before starting tests.
23188
b679a606
JM
231892013-05-24 Joseph Myers <joseph@codesourcery.com>
23190
e8bdba36
JM
23191 * math/gen-libm-test.pl (generate_testfile): Do not handle
23192 START_DATA and END_DATA.
23193 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
23194 END_DATA.
23195 (acos_tonearest_test_data): Likewise.
23196 (acos_towardzero_test_data): Likewise.
23197 (acos_downward_test_data): Likewise.
23198 (acos_upward_test_data): Likewise.
23199 (acosh_test_data): Likewise.
23200 (asin_test_data): Likewise.
23201 (asin_tonearest_test_data): Likewise.
23202 (asin_towardzero_test_data): Likewise.
23203 (asin_downward_test_data): Likewise.
23204 (asin_upward_test_data): Likewise.
23205 (asinh_test_data): Likewise.
23206 (atan_test_data): Likewise.
23207 (atanh_test_data): Likewise.
23208 (atan2_test_data): Likewise.
23209 (cabs_test_data): Likewise.
23210 (cacos_test_data): Likewise.
23211 (cacosh_test_data): Likewise.
23212 (carg_test_data): Likewise.
23213 (casin_test_data): Likewise.
23214 (casinh_test_data): Likewise.
23215 (catan_test_data): Likewise.
23216 (catanh_test_data): Likewise.
23217 (cbrt_test_data): Likewise.
23218 (ccos_test_data): Likewise.
23219 (ccosh_test_data): Likewise.
23220 (ceil_test_data): Likewise.
23221 (cexp_test_data): Likewise.
23222 (cimag_test_data): Likewise.
23223 (clog_test_data): Likewise.
23224 (clog10_test_data): Likewise.
23225 (conj_test_data): Likewise.
23226 (copysign_test_data): Likewise.
23227 (cos_test_data): Likewise.
23228 (cos_tonearest_test_data): Likewise.
23229 (cos_towardzero_test_data): Likewise.
23230 (cos_downward_test_data): Likewise.
23231 (cos_upward_test_data): Likewise.
23232 (cosh_test_data): Likewise.
23233 (cosh_tonearest_test_data): Likewise.
23234 (cosh_towardzero_test_data): Likewise.
23235 (cosh_downward_test_data): Likewise.
23236 (cosh_upward_test_data): Likewise.
23237 (cpow_test_data): Likewise.
23238 (cproj_test_data): Likewise.
23239 (creal_test_data): Likewise.
23240 (csin_test_data): Likewise.
23241 (csinh_test_data): Likewise.
23242 (csqrt_test_data): Likewise.
23243 (ctan_test_data): Likewise.
23244 (ctan_tonearest_test_data): Likewise.
23245 (ctan_towardzero_test_data): Likewise.
23246 (ctan_downward_test_data): Likewise.
23247 (ctan_upward_test_data): Likewise.
23248 (ctanh_test_data): Likewise.
23249 (ctanh_tonearest_test_data): Likewise.
23250 (ctanh_towardzero_test_data): Likewise.
23251 (ctanh_downward_test_data): Likewise.
23252 (ctanh_upward_test_data): Likewise.
23253 (erf_test_data): Likewise.
23254 (erfc_test_data): Likewise.
23255 (exp_test_data): Likewise.
23256 (exp_tonearest_test_data): Likewise.
23257 (exp_towardzero_test_data): Likewise.
23258 (exp_downward_test_data): Likewise.
23259 (exp_upward_test_data): Likewise.
23260 (exp10_test_data): Likewise.
23261 (exp2_test_data): Likewise.
23262 (expm1_test_data): Likewise.
23263 (fabs_test_data): Likewise.
23264 (fdim_test_data): Likewise.
23265 (finite_test_data): Likewise.
23266 (floor_test_data): Likewise.
23267 (fma_test_data): Likewise.
23268 (fma_towardzero_test_data): Likewise.
23269 (fma_downward_test_data): Likewise.
23270 (fma_upward_test_data): Likewise.
23271 (fmax_test_data): Likewise.
23272 (fmin_test_data): Likewise.
23273 (fmod_test_data): Likewise.
23274 (fpclassify_test_data): Likewise.
23275 (frexp_test_data): Likewise.
23276 (gamma_test_data): Likewise.
23277 (hypot_test_data): Likewise.
23278 (ilogb_test_data): Likewise.
23279 (isfinite_test_data): Likewise.
23280 (isgreater_test_data): Likewise.
23281 (isgreaterequal_test_data): Likewise.
23282 (isinf_test_data): Likewise.
23283 (isless_test_data): Likewise.
23284 (islessequal_test_data): Likewise.
23285 (islessgreater_test_data): Likewise.
23286 (isnan_test_data): Likewise.
23287 (isnormal_test_data): Likewise.
23288 (issignaling_test_data): Likewise.
23289 (isunordered_test_data): Likewise.
23290 (j0_test_data): Likewise.
23291 (j1_test_data): Likewise.
23292 (jn_test_data): Likewise.
23293 (ldexp_test_data): Likewise.
23294 (lgamma_test_data): Likewise.
23295 (lrint_test_data): Likewise.
23296 (lrint_tonearest_test_data): Likewise.
23297 (lrint_towardzero_test_data): Likewise.
23298 (lrint_downward_test_data): Likewise.
23299 (lrint_upward_test_data): Likewise.
23300 (llrint_test_data): Likewise.
23301 (llrint_tonearest_test_data): Likewise.
23302 (llrint_towardzero_test_data): Likewise.
23303 (llrint_downward_test_data): Likewise.
23304 (llrint_upward_test_data): Likewise.
23305 (log_test_data): Likewise.
23306 (log10_test_data): Likewise.
23307 (log1p_test_data): Likewise.
23308 (log2_test_data): Likewise.
23309 (logb_test_data): Likewise.
23310 (logb_downward_test_data): Likewise.
23311 (lround_test_data): Likewise.
23312 (llround_test_data): Likewise.
23313 (modf_test_data): Likewise.
23314 (nearbyint_test_data): Likewise.
23315 (nextafter_test_data): Likewise.
23316 (nexttoward_test_data): Likewise.
23317 (pow_test_data): Likewise.
23318 (pow_tonearest_test_data): Likewise.
23319 (pow_towardzero_test_data): Likewise.
23320 (pow_downward_test_data): Likewise.
23321 (pow_upward_test_data): Likewise.
23322 (remainder_test_data): Likewise.
23323 (remainder_tonearest_test_data): Likewise.
23324 (remainder_towardzero_test_data): Likewise.
23325 (remainder_downward_test_data): Likewise.
23326 (remainder_upward_test_data): Likewise.
23327 (remquo_test_data): Likewise.
23328 (rint_test_data): Likewise.
23329 (rint_tonearest_test_data): Likewise.
23330 (rint_towardzero_test_data): Likewise.
23331 (rint_downward_test_data): Likewise.
23332 (rint_upward_test_data): Likewise.
23333 (round_test_data): Likewise.
23334 (scalb_test_data): Likewise.
23335 (scalbn_test_data): Likewise.
23336 (scalbln_test_data): Likewise.
23337 (signbit_test_data): Likewise.
23338 (sin_test_data): Likewise.
23339 (sin_tonearest_test_data): Likewise.
23340 (sin_towardzero_test_data): Likewise.
23341 (sin_downward_test_data): Likewise.
23342 (sin_upward_test_data): Likewise.
23343 (sincos_test_data): Likewise.
23344 (sinh_test_data): Likewise.
23345 (sinh_tonearest_test_data): Likewise.
23346 (sinh_towardzero_test_data): Likewise.
23347 (sinh_downward_test_data): Likewise.
23348 (sinh_upward_test_data): Likewise.
23349 (sqrt_test_data): Likewise.
23350 (tan_test_data): Likewise.
23351 (tan_tonearest_test_data): Likewise.
23352 (tan_towardzero_test_data): Likewise.
23353 (tan_downward_test_data): Likewise.
23354 (tan_upward_test_data): Likewise.
23355 (tanh_test_data): Likewise.
23356 (tgamma_test_data): Likewise.
23357 (trunc_test_data): Likewise.
23358 (y0_test_data): Likewise.
23359 (y1_test_data): Likewise.
23360 (yn_test_data): Likewise.
23361 (significand_test_data): Likewise.
23362
b679a606
JM
23363 * math/gen-libm-test.pl (@functions): Remove variable.
23364 (generate_testfile): Don't handle START and END lines.
23365 * math/libm-test.inc (START): New macro.
23366 (END): Likewise.
23367 (END_COMPLEX): Likewise.
23368 (acos_test): Use END macro without arguments.
23369 (acos_test_tonearest): Likewise.
23370 (acos_test_towardzero): Likewise.
23371 (acos_test_downward): Likewise.
23372 (acos_test_upward): Likewise.
23373 (acosh_test): Likewise.
23374 (asin_test): Likewise.
23375 (asin_test_tonearest): Likewise.
23376 (asin_test_towardzero): Likewise.
23377 (asin_test_downward): Likewise.
23378 (asin_test_upward): Likewise.
23379 (asinh_test): Likewise.
23380 (atan_test): Likewise.
23381 (atanh_test): Likewise.
23382 (atan2_test): Likewise.
23383 (cabs_test): Likewise.
23384 (cacos_test): Use END_COMPLEX macro without arguments.
23385 (cacosh_test): Likewise.
23386 (carg_test): Use END macro without arguments.
23387 (casin_test): Use END_COMPLEX macro without arguments.
23388 (casinh_test): Likewise.
23389 (catan_test): Likewise.
23390 (catanh_test): Likewise.
23391 (cbrt_test): Use END macro without arguments.
23392 (ccos_test): Use END_COMPLEX macro without arguments.
23393 (ccosh_test): Likewise.
23394 (ceil_test): Use END macro without arguments.
23395 (cexp_test): Use END_COMPLEX macro without arguments.
23396 (cimag_test): Use END macro without arguments.
23397 (clog_test): Use END_COMPLEX macro without arguments.
23398 (clog10_test): Likewise.
23399 (conj_test): Likewise.
23400 (copysign_test): Use END macro without arguments.
23401 (cos_test): Likewise.
23402 (cos_test_tonearest): Likewise.
23403 (cos_test_towardzero): Likewise.
23404 (cos_test_downward): Likewise.
23405 (cos_test_upward): Likewise.
23406 (cosh_test): Likewise.
23407 (cosh_test_tonearest): Likewise.
23408 (cosh_test_towardzero): Likewise.
23409 (cosh_test_downward): Likewise.
23410 (cosh_test_upward): Likewise.
23411 (cpow_test): Use END_COMPLEX macro without arguments.
23412 (cproj_test): Likewise.
23413 (creal_test): Use END macro without arguments.
23414 (csin_test): Use END_COMPLEX macro without arguments.
23415 (csinh_test): Likewise.
23416 (csqrt_test): Likewise.
23417 (ctan_test): Likewise.
23418 (ctan_test_tonearest): Likewise.
23419 (ctan_test_towardzero): Likewise.
23420 (ctan_test_downward): Likewise.
23421 (ctan_test_upward): Likewise.
23422 (ctanh_test): Likewise.
23423 (ctanh_test_tonearest): Likewise.
23424 (ctanh_test_towardzero): Likewise.
23425 (ctanh_test_downward): Likewise.
23426 (ctanh_test_upward): Likewise.
23427 (erf_test): Use END macro without arguments.
23428 (erfc_test): Likewise.
23429 (exp_test): Likewise.
23430 (exp_test_tonearest): Likewise.
23431 (exp_test_towardzero): Likewise.
23432 (exp_test_downward): Likewise.
23433 (exp_test_upward): Likewise.
23434 (exp10_test): Likewise.
23435 (exp2_test): Likewise.
23436 (expm1_test): Likewise.
23437 (fabs_test): Likewise.
23438 (fdim_test): Likewise.
23439 (finite_test): Likewise.
23440 (floor_test): Likewise.
23441 (fma_test): Likewise.
23442 (fma_test_towardzero): Likewise.
23443 (fma_test_downward): Likewise.
23444 (fma_test_upward): Likewise.
23445 (fmax_test): Likewise.
23446 (fmin_test): Likewise.
23447 (fmod_test): Likewise.
23448 (fpclassify_test): Likewise.
23449 (frexp_test): Likewise.
23450 (gamma_test): Likewise.
23451 (hypot_test): Likewise.
23452 (ilogb_test): Likewise.
23453 (isfinite_test): Likewise.
23454 (isgreater_test): Likewise.
23455 (isgreaterequal_test): Likewise.
23456 (isinf_test): Likewise.
23457 (isless_test): Likewise.
23458 (islessequal_test): Likewise.
23459 (islessgreater_test): Likewise.
23460 (isnan_test): Likewise.
23461 (isnormal_test): Likewise.
23462 (issignaling_test): Likewise.
23463 (isunordered_test): Likewise.
23464 (j0_test): Likewise.
23465 (j1_test): Likewise.
23466 (jn_test): Likewise.
23467 (ldexp_test): Likewise.
23468 (lgamma_test): Likewise.
23469 (lrint_test): Likewise.
23470 (lrint_test_tonearest): Likewise.
23471 (lrint_test_towardzero): Likewise.
23472 (lrint_test_downward): Likewise.
23473 (lrint_test_upward): Likewise.
23474 (llrint_test): Likewise.
23475 (llrint_test_tonearest): Likewise.
23476 (llrint_test_towardzero): Likewise.
23477 (llrint_test_downward): Likewise.
23478 (llrint_test_upward): Likewise.
23479 (log_test): Likewise.
23480 (log10_test): Likewise.
23481 (log1p_test): Likewise.
23482 (log2_test): Likewise.
23483 (logb_test): Likewise.
23484 (logb_test_downward): Likewise.
23485 (lround_test): Likewise.
23486 (llround_test): Likewise.
23487 (modf_test): Likewise.
23488 (nearbyint_test): Likewise.
23489 (nextafter_test): Likewise.
23490 (nexttoward_test): Likewise.
23491 (pow_test): Likewise.
23492 (pow_test_tonearest): Likewise.
23493 (pow_test_towardzero): Likewise.
23494 (pow_test_downward): Likewise.
23495 (pow_test_upward): Likewise.
23496 (remainder_test): Likewise.
23497 (remainder_test_tonearest): Likewise.
23498 (remainder_test_towardzero): Likewise.
23499 (remainder_test_downward): Likewise.
23500 (remainder_test_upward): Likewise.
23501 (remquo_test): Likewise.
23502 (rint_test): Likewise.
23503 (rint_test_tonearest): Likewise.
23504 (rint_test_towardzero): Likewise.
23505 (rint_test_downward): Likewise.
23506 (rint_test_upward): Likewise.
23507 (round_test): Likewise.
23508 (scalb_test): Likewise.
23509 (scalbn_test): Likewise.
23510 (scalbln_test): Likewise.
23511 (signbit_test): Likewise.
23512 (sin_test): Likewise.
23513 (sin_test_tonearest): Likewise.
23514 (sin_test_towardzero): Likewise.
23515 (sin_test_downward): Likewise.
23516 (sin_test_upward): Likewise.
23517 (sincos_test): Likewise.
23518 (sinh_test): Likewise.
23519 (sinh_test_tonearest): Likewise.
23520 (sinh_test_towardzero): Likewise.
23521 (sinh_test_downward): Likewise.
23522 (sinh_test_upward): Likewise.
23523 (sqrt_test): Likewise.
23524 (tan_test): Likewise.
23525 (tan_test_tonearest): Likewise.
23526 (tan_test_towardzero): Likewise.
23527 (tan_test_downward): Likewise.
23528 (tan_test_upward): Likewise.
23529 (tanh_test): Likewise.
23530 (tgamma_test): Likewise.
23531 (trunc_test): Likewise.
23532 (y0_test): Likewise.
23533 (y1_test): Likewise.
23534 (yn_test): Likewise.
23535 (significand_test): Likewise.
23536
bae143d2
OB
235372013-05-24 Ondřej Bílka <neleai@seznam.cz>
23538
23539 [BZ #15381]
23540 * libio/genops.c (_IO_no_init): Initialize wide struct info.
23541
9323d39b
EM
235422013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
23543
d4ea44a0 23544 [BZ #14894]
9323d39b
EM
23545 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
23546 __ppc_mdoio and __ppc_mdoom.
23547 * manual/platform.texi: Document new functions __ppc_yield,
23548 __ppc_mdoio and __ppc_mdoom.
23549
13e23af7
CD
235502013-05-22 Carlos O'Donell <carlos@redhat.com>
23551
23552 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
23553 (main): Mention "tls" pseudo-hwcap is legacy.
23554 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
23555
351fe550
JM
235562013-05-22 Joseph Myers <joseph@codesourcery.com>
23557
23558 * math/gen-libm-test.pl (parse_args): Output only string of
23559 arguments as text for test name, not full call or descriptions of
23560 tests for extra outputs.
23561 (generate_testfile): Do not pass function name to parse_args.
23562 Generate this_func variable from START.
23563 * math/libm-test.inc (struct test_f_f_data): Rename test_name
23564 field to arg_str.
23565 (struct test_ff_f_data): Likewise.
23566 (test_ff_f_data_nexttoward): Likewise.
23567 (struct test_fi_f_data): Likewise.
23568 (struct test_fl_f_data): Likewise.
23569 (struct test_if_f_data): Likewise.
23570 (struct test_fff_f_data): Likewise.
23571 (struct test_c_f_data): Likewise.
23572 (struct test_f_f1_data): Likewise. Remove field extra_name.
23573 (struct test_fF_f1_data): Likewise.
23574 (struct test_ffI_f1_data): Likewise.
23575 (struct test_c_c_data): Rename test_name field to arg_str.
23576 (struct test_cc_c_data): Likewise.
23577 (struct test_f_i_data): Likewise.
23578 (struct test_ff_i_data): Likewise.
23579 (struct test_f_l_data): Likewise.
23580 (struct test_f_L_data): Likewise.
23581 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
23582 and extra2_name.
23583 (COMMON_TEST_SETUP): New macro.
23584 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
23585 (COMMON_TEST_CLEANUP): Likewise.
23586 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
23587 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
23588 macros.
23589 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
23590 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
23591 macros.
23592 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
23593 (RUN_TEST_fff_f): Take argument string. Call new setup and
23594 cleanup macros.
23595 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
23596 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
23597 macros.
23598 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
23599 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
23600 macros.
23601 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
23602 (RUN_TEST_fF_f1): Take argument string. Call new setup and
23603 cleanup macros.
23604 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
23605 (RUN_TEST_fI_f1): Take argument string. Call new setup and
23606 cleanup macros.
23607 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
23608 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
23609 cleanup macros.
23610 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
23611 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
23612 macros.
23613 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
23614 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
23615 macros.
23616 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
23617 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
23618 macros.
23619 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
23620 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
23621 cleanup macros.
23622 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
23623 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
23624 cleanup macros.
23625 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
23626 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
23627 macros.
23628 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
23629 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
23630 cleanup macros.
23631 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
23632 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
23633 macros.
23634 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
23635 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
23636 macros.
23637 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
23638 (RUN_TEST_fFF_11): Take argument string. Call new setup and
23639 cleanup macros.
23640 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
23641
85118d4d
EBM
236422013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
23643
23644 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
23645 to _sifields.sigfault.
23646 (si_addr_lsb): Define new macro.
23647 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
23648 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
23649 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
23650
7a44c18f
CD
236512013-05-03 Carlos O'Donell <carlos at redhat.com>
23652
23653 [BZ #15441]
23654 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
23655 returns -1.
23656 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
23657 null return -1.
23658 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
23659 loading the domain.
23660
b50a7181
JM
236612013-05-22 Joseph Myers <joseph@codesourcery.com>
23662
23663 * math/gen-libm-test.pl (parse_args): Do not include expected
23664 result in test name.
23665 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
23666 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
23667 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
23668 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
23669 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
23670 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23671
051063c8
SP
236722013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
23673
3ce9e010
SP
23674 * benchtests/Makefile: Sort function entries.
23675
051063c8
SP
23676 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
23677 tanh, asinh, acosh, atanh.
23678 * benchtests/acos-inputs: New file.
23679 * benchtests/acosh-inputs: New file.
23680 * benchtests/asin-inputs: New file.
23681 * benchtests/asinh-inputs: New file.
23682 * benchtests/atanh-inputs: New file.
23683 * benchtests/cosh-inputs: New file.
23684 * benchtests/log-inputs: New file.
23685 * benchtests/sinh-inputs: New file.
23686 * benchtests/tanh-inputs: New file.
23687
47c22455
DL
236882013-05-21 Dmitry V. Levin <ldv@altlinux.org>
23689
23690 [BZ #15339]
23691 * posix/tst-getaddrinfo4.c: New test.
23692 * posix/Makefile (tests): Add it.
23693
3d04f5db
SP
236942013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
23695
23696 [BZ #15339]
23697 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
23698 when no services were used.
23699 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
23700 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
23701
d5dd6189
AS
237022013-05-21 Andreas Schwab <schwab@suse.de>
23703
23704 [BZ #15014]
23705 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
23706 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
23707 successful.
23708 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
23709 redundant variable declarations and reallocation of buffer when
23710 parsing as IPv6 address. Always set NSS status when called from
23711 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
23712 buffer too small. Correct computation of needed size.
23713 * nss/Makefile (tests): Add test-digits-dots.
23714 * nss/test-digits-dots.c: New test.
23715
fef94eab
SP
237162013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
23717
23718 * benchtests/Makefile: Remove instructions for adding
23719 benchmark tests.
23720 * benchtests/README: New file to explain how to execute and
23721 enhance the benchmark tests.
23722
e39adf43
AS
237232013-05-21 Andreas Schwab <schwab@suse.de>
23724
23725 [BZ #15493]
23726 * setjmp/Makefile (tests): Add tst-sigsetjmp.
23727 * setjmp/tst-sigsetjmp.c: New test.
23728
b2b671b6
OB
237292013-05-20 Ondřej Bílka <neleai@seznam.cz>
23730
23731 * sysdeps/x86_64/memset.S (memset): New implementation.
23732 (__bzero): Likewise.
23733 (__memset_tail): New function.
23734
2d48b41c
OB
237352013-05-20 Ondřej Bílka <neleai@seznam.cz>
23736
23737 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
23738 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
23739 __memcpy_sse2_unaligned ifunc selection.
23740 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
23741 Add memcpy-sse2-unaligned.S.
23742 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
23743 Add: __memcpy_sse2_unaligned.
23744
f16cc3eb
JM
237452013-05-19 Joseph Myers <joseph@codesourcery.com>
23746
3e694268
JM
23747 [BZ #15490]
23748 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
23749 math_force_eval before restoring floating-point envrionment.
23750 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
23751 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
23752 Likewise.
23753 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
23754 <math_private.h>.
23755 (__nearbyintl): Use math_force_eval before restoring
23756 floating-point environment.
23757 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
23758
db62a907
JM
23759 * math/gen-libm-test.pl (special_functions): Remove.
23760 (parse_args): Don't handle TEST_extra. Handle functions with no
23761 return value.
23762 * math/libm-test.inc (struct test_sincos_data): Replace with
23763 struct test_fFF_11_data.
23764 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
23765 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
23766 (sincos_test_data): Change element type to struct
23767 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
23768 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
23769 RUN_TEST_LOOP_sincos.
23770 * math/README.libm-test: Don't mention special handling of
23771 individual functions.
23772 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
23773 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
23774 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
23775 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
23776 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
23777 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23778
f16cc3eb
JM
23779 * math/gen-libm-test.pl (get_variable): Remove function.
23780 (parse_args): Don't show pointer parameters to call in test
23781 names. Use "extra output N" in test names for extra outputs
23782 rather than naming variables.
23783
3779b5b6
JM
237842013-05-18 Joseph Myers <joseph@codesourcery.com>
23785
2ee094ff
JM
23786 [BZ #15488]
23787 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
23788 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
23789 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
23790 double tests.
23791 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
23792 disable.
23793 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
23794 check_long_double.
23795
3779b5b6
JM
23796 * math/gen-libm-test.pl (@tests): Remove variable.
23797 ($count): Likewise.
23798 (new_test): Remove function.
23799 (show_exceptions): New function.
23800 (special_functions): Use show_exceptions instead of new_test.
23801 (parse_args): Likewise.
23802 (generate_testfile): Pass only function name in generated call to
23803 print_max_error or print_complex_max_error.
23804 (get_ulps): Do not handle complex tests specially.
23805 (output_test): Rename to ...
23806 (get_all_ulps_for_test): ... this. Return a string rather than
23807 printing to a file. Require ulps to be present.
23808 (output_ulps): Generate arrays rather than #defines.
23809 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
23810 (struct ulp_data): New type.
23811 (BUILD_COMPLEX_ULP): Remove macro.
23812 (compare_ulp_data): New function.
23813 (find_ulps): Likewise.
23814 (find_test_ulps): Likewise.
23815 (find_function_ulps): Likewise.
23816 (find_complex_function_ulps): Likewise.
23817 (print_max_error): Determine allowed ulps using
23818 find_function_ulps.
23819 (print_complex_max_error): Determine allowed ulps using
23820 find_complex_function_ulps.
23821 (check_float_internal): Determine max ulps using find_test_ulps.
23822 (check_float): Do not take max_ulp parameter. Update call to
23823 check_float_internal.
23824 (check_complex): Likewise.
23825 (check_int): Do not take max_ulp parameter.
23826 (check_long): Likewise.
23827 (check_bool): Likewise.
23828 (check_longlong): Likewise.
23829 (struct test_f_f_data): Remove max_ulp field.
23830 (struct test_ff_f_data): Likewise.
23831 (struct test_ff_f_data_nexttoward): Likewise.
23832 (struct test_fi_f_data): Likewise.
23833 (struct test_fl_f_data): Likewise.
23834 (struct test_if_f_data): Likewise.
23835 (struct test_fff_f_data): Likewise.
23836 (struct test_c_f_data): Likewise.
23837 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
23838 (struct test_fF_f1_data): Likewise.
23839 (struct test_ffI_f1_data): Likewise.
23840 (struct test_c_c_data): Remove max_ulp field.
23841 (struct test_cc_c_data): Likewise.
23842 (struct test_f_i_data): Likewise.
23843 (struct test_ff_i_data): Likewise.
23844 (struct test_f_l_data): Likewise.
23845 (struct test_f_L_data): Likewise.
23846 (struct test_sincos_data): Likewise.
23847 (RUN_TEST_f_f): Do not handle ulps.
23848 (RUN_TEST_LOOP_f_f): Likewise.
23849 (RUN_TEST_2_f): Likewise.
23850 (RUN_TEST_LOOP_2_f): Likewise.
23851 (RUN_TEST_fff_f): Likewise.
23852 (RUN_TEST_LOOP_fff_f): Likewise.
23853 (RUN_TEST_c_f): Likewise.
23854 (RUN_TEST_LOOP_c_f): Likewise.
23855 (RUN_TEST_f_f1): Likewise.
23856 (RUN_TEST_LOOP_f_f1): Likewise.
23857 (RUN_TEST_fF_f1): Likewise.
23858 (RUN_TEST_LOOP_fF_f1): Likewise.
23859 (RUN_TEST_fI_f1): Likewise.
23860 (RUN_TEST_LOOP_fI_f1): Likewise.
23861 (RUN_TEST_ffI_f1): Likewise.
23862 (RUN_TEST_LOOP_ffI_f1): Likewise.
23863 (RUN_TEST_c_c): Likewise.
23864 (RUN_TEST_LOOP_c_c): Likewise.
23865 (RUN_TEST_cc_c): Likewise.
23866 (RUN_TEST_LOOP_cc_c): Likewise.
23867 (RUN_TEST_f_i): Likewise.
23868 (RUN_TEST_LOOP_f_i): Likewise.
23869 (RUN_TEST_f_i_tg): Likewise.
23870 (RUN_TEST_LOOP_f_i_tg): Likewise.
23871 (RUN_TEST_ff_i_tg): Likewise.
23872 (RUN_TEST_LOOP_ff_i_tg): Likewise.
23873 (RUN_TEST_f_b): Likewise.
23874 (RUN_TEST_LOOP_f_b): Likewise.
23875 (RUN_TEST_f_b_tg): Likewise.
23876 (RUN_TEST_LOOP_f_b_tg): Likewise.
23877 (RUN_TEST_f_l): Likewise.
23878 (RUN_TEST_LOOP_f_l): Likewise.
23879 (RUN_TEST_f_L): Likewise.
23880 (RUN_TEST_LOOP_f_L): Likewise.
23881 (RUN_TEST_sincos): Likewise.
23882 (RUN_TEST_LOOP_sincos): Likewise.
23883
8269107f
JM
238842013-05-17 Joseph Myers <joseph@codesourcery.com>
23885
bb38759d
JM
23886 [BZ #15480]
23887 [BZ #15485]
23888 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
23889 main case of finite arguments, set rounding mode to FE_TONEAREST
23890 and discard exceptions.
23891 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
23892 exceptions.
23893 (remainder_tonearest_test_data): New variable.
23894 (remainder_test_tonearest): New function.
23895 (remainder_towardzero_test_data): New variable.
23896 (remainder_test_towardzero): New function.
23897 (remainder_downward_test_data): New variable.
23898 (remainder_test_downward): New function.
23899 (remainder_upward_test_data): New variable.
23900 (remainder_test_upward): New function.
23901 (main): Call the new test functions.
23902
a00bdcf0
JM
23903 * math/libm-test.inc (struct test_f_f1_data): Remove field
23904 extra_init.
23905 (struct test_fF_f1_data): Likewise.
23906 (struct test_ffI_f1_data): Likewise.
23907 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
23908 based on value of EXTRA_EXPECTED.
23909 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
23910 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
23911 EXTRA_VAR based on value of EXTRA_EXPECTED.
23912 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
23913 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
23914 EXTRA_VAR based on value of EXTRA_EXPECTED.
23915 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
23916 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
23917 EXTRA_VAR based on value of EXTRA_EXPECTED.
23918 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
23919 * math/gen-libm-test.pl (parse_args): Don't output initializers
23920 for extra output values.
23921
de407f79
JM
23922 * math/libm-test.inc (check_int): Expect result to be exactly
23923 equal to expected value and do not handle ulps.
23924 (check_long): Likewise.
23925 (check_longlong): Likewise.
23926
8269107f
JM
23927 * math/libm-test.inc (ceil_test_data): Test for "inexact"
23928 exceptions.
23929 (cimag_test_data): Likewise.
23930 (conj_test_data): Likewise.
23931 (copysign_test_data): Likewise.
23932 (cproj_test_data): Likewise.
23933 (creal_test_data): Likewise.
23934 (fabs_test_data): Likewise.
23935 (fdim_test_data): Likewise.
23936 (finite_test_data): Likewise.
23937 (floor_test_data): Likewise.
23938 (fmax_test_data): Likewise.
23939 (fmin_test_data): Likewise.
23940 (fmod_test_data): Likewise.
23941 (fpclassify_test_data): Likewise.
23942 (frexp_test_data): Likewise.
23943 (ilogb_test_data): Likewise.
23944 (isfinite_test_data): Likewise.
23945 (isgreater_test_data): Likewise.
23946 (isgreaterequal_test_data): Likewise.
23947 (isinf_test_data): Likewise.
23948 (isless_test_data): Likewise.
23949 (islessequal_test_data): Likewise.
23950 (islessgreater_test_data): Likewise.
23951 (isnan_test_data): Likewise.
23952 (isnormal_test_data): Likewise.
23953 (issignaling_test_data): Likewise.
23954 (isunordered_test_data): Likewise.
23955 (ldexp_test_data): Likewise.
23956 (lrint_test_data): Likewise.
23957 (lrint_test_data) [TEST_FLOAT]: Disable one test.
23958 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
23959 (lrint_tonearest_test_data): Test for "inexact" exceptions.
23960 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
23961 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
23962 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
23963 test input.
23964 (lrint_towardzero_test_data): Test for "inexact" exceptions.
23965 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
23966 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
23967 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
23968 that test input.
23969 (lrint_downward_test_data): Test for "inexact" exceptions.
23970 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
23971 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
23972 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
23973 test input.
23974 (lrint_upward_test_data): Test for "inexact" exceptions.
23975 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
23976 test input.
23977 (llrint_test_data): Test for "inexact" exceptions.
23978 (llrint_test_data) [TEST_FLOAT]: Disable one test.
23979 (llrint_tonearest_test_data): Test for "inexact" exceptions.
23980 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
23981 (llrint_towardzero_test_data): Test for "inexact" exceptions.
23982 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
23983 (llrint_downward_test_data): Test for "inexact" exceptions.
23984 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
23985 (llrint_upward_test_data): Test for "inexact" exceptions.
23986 (logb_test_data): Likewise.
23987 (logb_downward_test_data): Likewise.
23988 (nextafter_test_data): Likewise.
23989 (nexttoward_test_data): Likewise.
23990 (remainder_test_data): Likewise.
23991 (remquo_test_data): Likewise.
23992 (scalbn_test_data): Likewise.
23993 (scalbln_test_data): Likewise.
23994 (signbit_test_data): Likewise.
23995 (sqrt_test_data): Likewise.
23996 (significand_test_data): Likewise.
23997
48a18de1
SP
239982013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
23999
24000 [BZ #15424]
24001 * benchtests/bench-modf.c (struct args): Mark arg0 as
24002 volatile.
24003 * scripts/bench.pl: Mark members of struct args as volatile.
24004
13d3b41a
AZ
240052013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24006
68191c1d 24007 [BZ # 15497]
13d3b41a
AZ
24008 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
24009 negative infinity on POWER6 or lower.
24010 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
24011
2848b105
MR
240122013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
24013
24014 [BZ #15442]
24015 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
24016 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
24017 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
24018 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
24019 (_FP_SETQNAN): New macro.
24020 (_FP_SETQNAN_SEMIRAW): Likewise.
24021 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
24022 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
24023 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
24024 (FP_EXTEND): Use _FP_FRAC_SNANP.
24025 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
24026 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
24027 into account.
24028 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
24029 New macro.
24030 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
24031 Likewise.
24032
323e5cb7
JM
240332013-05-16 Joseph Myers <joseph@codesourcery.com>
24034
c58b274f
JM
24035 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
24036 with DIVIDE_BY_ZERO_EXCEPTION.
24037 (gamma_test_data): Likewise.
24038 (lgamma_test_data): Likewise.
24039 (log_test_data): Likewise.
24040 (log10_test_data): Likewise.
24041 (log2_test_data): Likewise.
24042 (tgamma_test_data): Likewise.
24043
0ab34904
JM
24044 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
24045 (acos_test_tonearest): Likewise.
24046 (acos_test_towardzero): Likewise.
24047 (acos_test_downward): Likewise.
24048 (acos_test_upward): Likewise.
24049 (acosh_test): Likewise.
24050 (asin_test): Likewise.
24051 (asin_test_tonearest): Likewise.
24052 (asin_test_towardzero): Likewise.
24053 (asin_test_downward): Likewise.
24054 (asin_test_upward): Likewise.
24055 (asinh_test): Likewise.
24056 (atan_test): Likewise.
24057 (atanh_test): Likewise.
24058 (atan2_test): Likewise.
24059 (cabs_test): Likewise.
24060 (cacos_test): Likewise.
24061 (cacosh_test): Likewise.
24062 (casin_test): Likewise.
24063 (casinh_test): Likewise.
24064 (catan_test): Likewise.
24065 (catanh_test): Likewise.
24066 (cbrt_test): Likewise.
24067 (ccos_test): Likewise.
24068 (ccosh_test): Likewise.
24069 (cexp_test): Likewise.
24070 (clog_test): Likewise.
24071 (clog10_test): Likewise.
24072 (cos_test): Likewise.
24073 (cos_test_tonearest): Likewise.
24074 (cos_test_towardzero): Likewise.
24075 (cos_test_downward): Likewise.
24076 (cos_test_upward): Likewise.
24077 (cosh_test): Likewise.
24078 (cosh_test_tonearest): Likewise.
24079 (cosh_test_towardzero): Likewise.
24080 (cosh_test_downward): Likewise.
24081 (cosh_test_upward): Likewise.
24082 (cpow_test): Likewise.
24083 (csin_test): Likewise.
24084 (csinh_test): Likewise.
24085 (csqrt_test): Likewise.
24086 (ctan_test): Likewise.
24087 (ctan_test_tonearest): Likewise.
24088 (ctan_test_towardzero): Likewise.
24089 (ctan_test_downward): Likewise.
24090 (ctan_test_upward): Likewise.
24091 (ctanh_test): Likewise.
24092 (ctanh_test_tonearest): Likewise.
24093 (ctanh_test_towardzero): Likewise.
24094 (ctanh_test_downward): Likewise.
24095 (ctanh_test_upward): Likewise.
24096 (erf_test): Likewise.
24097 (erfc_test): Likewise.
24098 (exp_test): Likewise.
24099 (exp_test_tonearest): Likewise.
24100 (exp_test_towardzero): Likewise.
24101 (exp_test_downward): Likewise.
24102 (exp_test_upward): Likewise.
24103 (exp10_test): Likewise.
24104 (exp2_test): Likewise.
24105 (expm1_test): Likewise.
24106 (fmod_test): Likewise.
24107 (gamma_test): Likewise.
24108 (hypot_test): Likewise.
24109 (j0_test): Likewise.
24110 (j1_test): Likewise.
24111 (jn_test): Likewise.
24112 (lgamma_test): Likewise.
24113 (log_test): Likewise.
24114 (log10_test): Likewise.
24115 (log1p_test): Likewise.
24116 (log2_test): Likewise.
24117 (logb_test_downward): Likewise.
24118 (pow_test): Likewise.
24119 (pow_test_tonearest): Likewise.
24120 (pow_test_towardzero): Likewise.
24121 (pow_test_downward): Likewise.
24122 (pow_test_upward): Likewise.
24123 (remainder_test): Likewise.
24124 (remquo_test): Likewise.
24125 (sin_test): Likewise.
24126 (sin_test_tonearest): Likewise.
24127 (sin_test_towardzero): Likewise.
24128 (sin_test_downward): Likewise.
24129 (sin_test_upward): Likewise.
24130 (sincos_test): Likewise.
24131 (sinh_test): Likewise.
24132 (sinh_test_tonearest): Likewise.
24133 (sinh_test_towardzero): Likewise.
24134 (sinh_test_downward): Likewise.
24135 (sinh_test_upward): Likewise.
24136 (sqrt_test): Likewise.
24137 (tan_test): Likewise.
24138 (tan_test_tonearest): Likewise.
24139 (tan_test_towardzero): Likewise.
24140 (tan_test_downward): Likewise.
24141 (tan_test_upward): Likewise.
24142 (tanh_test): Likewise.
24143 (tgamma_test): Likewise.
24144 (y0_test): Likewise.
24145 (y1_test): Likewise.
24146 (yn_test): Likewise.
24147
323e5cb7
JM
24148 * math/gen-libm-test.pl (adjust_arg): Remove function.
24149 (special_function): Remove argument $in_func. Only handle
24150 generating output for tables of tests, not inside functions.
24151 (parse_args): Likewise.
24152 (generate_testfile): Remove variable $in_func. Update call to
24153 parse_args.
24154 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
24155 (MINUS_ZERO_INIT): Rename macro to minus_zero.
24156 (PLUS_INFTY_INIT): Rename macro to plus_infty.
24157 (MINUS_INFTY_INIT): Rename macro to minus_infty.
24158 (QNAN_VALUE_INIT): Rename macro to qnan_value.
24159 (MAX_VALUE_INIT): Rename macro to max_value.
24160 (MIN_VALUE_INIT): Rename macro to min_value.
24161 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
24162 (plus_zero): Remove variable.
24163 (minus_zero): Likewise.
24164 (plus_infty): Likewise.
24165 (minus_infty): Likewise.
24166 (qnan_value): Likewise.
24167 (max_value): Likewise.
24168 (min_value): Likewise.
24169 (min_subnorm_value): Likewise.
24170
e054f494
RA
241712013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
24172
24173 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
24174 uint64_t or uint32_t usage.
24175 * crypt/sha256-block.c: Likewise.
24176 * crypt/sha256-crypt.c: Likewise.
24177 * crypt/sha256.c: Likewise.
24178 * crypt/sha512-block.c: Likewise.
24179 * crypt/sha512-crypt.c: Likewise.
24180 * crypt/sha512.c: Likewise.
24181 * debug/backtrace-tst.c: Likewise.
24182 * debug/pcprofiledump.c: Likewise.
24183 * elf/cache.c: Likewise.
24184 * elf/dl-cache.c: Likewise.
24185 * elf/dl-misc.c: Likewise.
24186 * elf/dl-profile.c: Likewise.
24187 * elf/dl-support.c: Likewise.
24188 * elf/ldconfig.c: Likewise.
24189 * elf/sprof.c: Likewise.
24190 * iconv/dummy-repertoire.c: Likewise.
24191 * iconv/iconv_charmap.c: Likewise.
24192 * iconv/skeleton.c: Likewise.
24193 * iconvdata/8bit-generic.c: Likewise.
24194 * iconvdata/cp737.h: Likewise.
24195 * iconvdata/cp775.h: Likewise.
24196 * iconvdata/ibm1008.h: Likewise.
24197 * iconvdata/ibm1025.h: Likewise.
24198 * iconvdata/ibm1046.h: Likewise.
24199 * iconvdata/ibm1097.h: Likewise.
24200 * iconvdata/ibm1112.h: Likewise.
24201 * iconvdata/ibm1122.h: Likewise.
24202 * iconvdata/ibm1123.h: Likewise.
24203 * iconvdata/ibm1124.h: Likewise.
24204 * iconvdata/ibm1129.h: Likewise.
24205 * iconvdata/ibm1130.h: Likewise.
24206 * iconvdata/ibm1132.h: Likewise.
24207 * iconvdata/ibm1133.h: Likewise.
24208 * iconvdata/ibm1137.h: Likewise.
24209 * iconvdata/ibm1140.h: Likewise.
24210 * iconvdata/ibm1141.h: Likewise.
24211 * iconvdata/ibm1142.h: Likewise.
24212 * iconvdata/ibm1143.h: Likewise.
24213 * iconvdata/ibm1144.h: Likewise.
24214 * iconvdata/ibm1145.h: Likewise.
24215 * iconvdata/ibm1146.h: Likewise.
24216 * iconvdata/ibm1147.h: Likewise.
24217 * iconvdata/ibm1148.h: Likewise.
24218 * iconvdata/ibm1149.h: Likewise.
24219 * iconvdata/ibm1153.h: Likewise.
24220 * iconvdata/ibm1154.h: Likewise.
24221 * iconvdata/ibm1155.h: Likewise.
24222 * iconvdata/ibm1156.h: Likewise.
24223 * iconvdata/ibm1157.h: Likewise.
24224 * iconvdata/ibm1158.h: Likewise.
24225 * iconvdata/ibm1160.h: Likewise.
24226 * iconvdata/ibm1161.h: Likewise.
24227 * iconvdata/ibm1162.h: Likewise.
24228 * iconvdata/ibm1163.h: Likewise.
24229 * iconvdata/ibm1164.h: Likewise.
24230 * iconvdata/ibm1166.h: Likewise.
24231 * iconvdata/ibm1167.h: Likewise.
24232 * iconvdata/ibm12712.h: Likewise.
24233 * iconvdata/ibm1390.h: Likewise.
24234 * iconvdata/ibm1399.h: Likewise.
24235 * iconvdata/ibm16804.h: Likewise.
24236 * iconvdata/ibm4517.h: Likewise.
24237 * iconvdata/ibm4899.h: Likewise.
24238 * iconvdata/ibm4909.h: Likewise.
24239 * iconvdata/ibm4971.h: Likewise.
24240 * iconvdata/ibm5347.h: Likewise.
24241 * iconvdata/ibm803.h: Likewise.
24242 * iconvdata/ibm856.h: Likewise.
24243 * iconvdata/ibm901.h: Likewise.
24244 * iconvdata/ibm902.h: Likewise.
24245 * iconvdata/ibm9030.h: Likewise.
24246 * iconvdata/ibm9066.h: Likewise.
24247 * iconvdata/ibm921.h: Likewise.
24248 * iconvdata/ibm922.h: Likewise.
24249 * iconvdata/ibm9448.h: Likewise.
24250 * iconvdata/isiri-3342.h: Likewise.
24251 * iconvdata/jis0201.h: Likewise.
24252 * include/link.h: Likewise.
24253 * include/netdb.h: Likewise.
24254 * inet/check_native.c: Likewise.
24255 * inet/check_pf.c: Likewise.
24256 * inet/getipv4sourcefilter.c: Likewise.
24257 * inet/getnameinfo.c: Likewise.
24258 * inet/getsourcefilter.c: Likewise.
24259 * inet/htonl.c: Likewise.
24260 * inet/setipv4sourcefilter.c: Likewise.
24261 * inet/setsourcefilter.c: Likewise.
24262 * inet/test-inet6_opt.c: Likewise.
24263 * inet/tst-network.c: Likewise.
24264 * locale/C-collate.c: Likewise.
24265 * locale/C-ctype.c: Likewise.
24266 * locale/C-time.c: Likewise.
24267 * locale/C-translit.h: Likewise.
24268 * locale/loadarchive.c: Likewise.
24269 * locale/programs/3level.h: Likewise.
24270 * locale/programs/charmap.c: Likewise.
24271 * locale/programs/charmap.h: Likewise.
24272 * locale/programs/ld-address.c: Likewise.
24273 * locale/programs/ld-collate.c: Likewise.
24274 * locale/programs/ld-ctype.c: Likewise.
24275 * locale/programs/ld-identification.c: Likewise.
24276 * locale/programs/ld-measurement.c: Likewise.
24277 * locale/programs/ld-messages.c: Likewise.
24278 * locale/programs/ld-monetary.c: Likewise.
24279 * locale/programs/ld-name.c: Likewise.
24280 * locale/programs/ld-numeric.c: Likewise.
24281 * locale/programs/ld-paper.c: Likewise.
24282 * locale/programs/ld-telephone.c: Likewise.
24283 * locale/programs/ld-time.c: Likewise.
24284 * locale/programs/linereader.c: Likewise.
24285 * locale/programs/locale.c: Likewise.
24286 * locale/programs/locarchive.c: Likewise.
24287 * locale/programs/locfile.h: Likewise.
24288 * locale/programs/repertoire.c: Likewise.
24289 * locale/programs/simple-hash.c: Likewise.
24290 * locale/programs/simple-hash.h: Likewise.
24291 * malloc/memusage.c: Likewise.
24292 * malloc/memusagestat.c: Likewise.
24293 * nis/nis_defaults.c: Likewise.
24294 * nis/nis_hash.c: Likewise.
24295 * nis/nis_print.c: Likewise.
24296 * nis/nis_xdr.c: Likewise.
24297 * nscd/connections.c: Likewise.
24298 * nscd/hstcache.c: Likewise.
24299 * nscd/nscd_gethst_r.c: Likewise.
24300 * nscd/nscd_getserv_r.c: Likewise.
24301 * nscd/nscd_helper.c: Likewise.
24302 * nscd/servicescache.c: Likewise.
24303 * nss/makedb.c: Likewise.
24304 * nss/nss_db/db-XXX.c: Likewise.
24305 * nss/nss_db/db-initgroups.c: Likewise.
24306 * nss/nss_db/db-netgrp.c: Likewise.
24307 * nss/nss_files/files-network.c: Likewise.
24308 * nss/nss_files/files-parse.c: Likewise.
24309 * posix/bug-regex5.c: Likewise.
24310 * posix/fnmatch_loop.c: Likewise.
24311 * posix/regcomp.c: Likewise.
24312 * posix/regexec.c: Likewise.
24313 * posix/tst-rfc3484-2.c: Likewise.
24314 * posix/tst-rfc3484-3.c: Likewise.
24315 * posix/tst-rfc3484.c: Likewise.
24316 * resolv/nss_dns/dns-canon.c: Likewise.
24317 * resolv/nss_dns/dns-network.c: Likewise.
24318 * resolv/res_init.c: Likewise.
24319 * resolv/res_mkquery.c: Likewise.
24320 * resolv/tst-aton.c: Likewise.
24321 * stdlib/cxa_atexit.c: Likewise.
24322 * stdlib/cxa_finalize.c: Likewise.
24323 * stdlib/gen-fpioconst.c: Likewise.
24324 * stdlib/strtol_l.c: Likewise.
24325 * string/tst-endian.c: Likewise.
24326 * sunrpc/auth_des.c: Likewise.
24327 * sunrpc/clnt_udp.c: Likewise.
24328 * sunrpc/rtime.c: Likewise.
24329 * sunrpc/svcauth_des.c: Likewise.
24330 * sunrpc/xdr.c: Likewise.
24331 * sunrpc/xdr_intXX_t.c: Likewise.
24332 * sunrpc/xdr_rec.c: Likewise.
24333 * sysdeps/generic/ldconfig.h: Likewise.
24334 * sysdeps/generic/ldsodefs.h: Likewise.
24335 * sysdeps/generic/memusage.h: Likewise.
24336 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
24337 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
24338 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
24339 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
24340 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
24341 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
24342 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
24343 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
24344 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
24345 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
24346 * sysdeps/posix/getaddrinfo.c: Likewise.
24347 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
24348 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
24349 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
24350 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
24351 * sysdeps/powerpc/test-gettimebase.c: Likewise.
24352 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
24353 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
24354 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
24355 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
24356 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
24357 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
24358 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
24359 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
24360 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
24361 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
24362 * sysdeps/x86_64/dl-tls.h: Likewise.
24363 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
24364 * time/alt_digit.c: Likewise.
24365 * time/era.c: Likewise.
24366 * wcsmbs/tst-c16c32-1.c: Likewise.
24367
8c75f674
JM
243682013-05-16 Joseph Myers <joseph@codesourcery.com>
24369
24370 * math/libm-test.inc (struct test_sincos_data): New type.
24371 (RUN_TEST_LOOP_sincos): New macro.
24372 (sincos_test_data): New variable.
24373 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
24374
e6e49e59
RH
243752013-05-16 Richard Henderson <rth@redhat.com>
24376
24377 * math/atest-exp2.c (LIMB64): New macro.
24378 (CONSTSZ): New macro.
24379 (mp_exp1, mp_exp_m1, mp_log2): New variables.
24380 (hexdig): Move ...
24381 (print_mpn_fp): ... to function scope.
24382 (read_mpn_hex): Remove.
24383 (get_log2): Remove.
24384 (exp2_mpn): Use mp_log2.
24385 (main): Use mp_exp1.
24386
15c7c18d
JM
243872013-05-16 Joseph Myers <joseph@codesourcery.com>
24388
105a07df
JM
24389 * math/libm-test.inc: Remove comment about not testing "inexact"
24390 exceptions.
24391 (INEXACT_EXCEPTION): New macro.
24392 (NO_INEXACT_EXCEPTION): Likewise.
24393 (INVALID_EXCEPTION_OK): Update value.
24394 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
24395 (OVERFLOW_EXCEPTION_OK): Likewise.
24396 (UNDERFLOW_EXCEPTION_OK): Likewise.
24397 (IGNORE_ZERO_INF_SIGN): Likewise.
24398 (ERRNO_UNCHANGED): Likewise.
24399 (ERRNO_EDOM): Likewise.
24400 (ERRNO_ERANGE): Likewise.
24401 (test_exceptions): Handle testing "inexact" exceptions.
24402 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
24403 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
24404 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
24405 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
24406 INEXACT_EXCEPTION.
24407 (rint_towardzero_test_data): Likewise.
24408 (rint_downward_test_data): Likewise.
24409 (rint_upward_test_data): Likewise.
24410
e9eee333
JM
24411 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
24412 with OVERFLOW_EXCEPTION.
24413 (exp10_test_data): Likewise.
24414 (exp2_test_data): Likewise.
24415 (expm1_test_data): Likewise.
24416 (lgamma_test_data): Likewise.
24417 (pow_test_data): Likewise.
24418 (tgamma_test_data): Likewise.
24419 (yn_test_data): Remove duplicate test of overflow.
24420
1c38ff73
JM
24421 * math/libm-test.inc (struct test_cc_c_data): New type.
24422 (RUN_TEST_LOOP_cc_c): New macro.
24423 (cpow_test_data): New variable.
24424 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
24425
15c7c18d
JM
24426 * math/libm-test.inc (struct test_f_L_data): New type.
24427 (RUN_TEST_LOOP_f_L): New macro.
24428 (llrint_test_data): New variable.
24429 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
24430 (llrint_tonearest_test_data): New variable.
24431 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
24432 (llrint_towardzero_test_data): New variable.
24433 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
24434 (llrint_downward_test_data): New variable.
24435 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
24436 (llrint_upward_test_data): New variable.
24437 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
24438 (llround_test_data): New variable.
24439 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
24440
f137ff13
PC
244412013-05-13 Peter Collingbourne <pcc@google.com>
24442
24443 * math/atest-exp2.c (get_log2): Remove const attribute.
24444
3608cb24
JM
244452013-05-15 Joseph Myers <joseph@codesourcery.com>
24446
24447 * math/libm-test.inc (struct test_f_l_data): New type.
24448 (RUN_TEST_LOOP_f_l): New macro.
24449 (lrint_test_data): New variable.
24450 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
24451 (lrint_tonearest_test_data): New variable.
24452 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
24453 (lrint_towardzero_test_data): New variable.
24454 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
24455 (lrint_downward_test_data): New variable.
24456 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
24457 (lrint_upward_test_data): New variable.
24458 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
24459 (lround_test_data): New variable.
24460 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
24461
39b1f617
PC
244622013-05-15 Peter Collingbourne <pcc@google.com>
24463
1deff3dc
PC
24464 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
24465 (EXTRACT_WORDS64) Use where appropriate.
24466 (INSERT_WORDS64) Likewise.
24467
791f3ba0
PC
24468 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
24469 constraints with x constraints.
24470 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
24471
39b1f617
PC
24472 * malloc/obstack.c (_obstack_compat): Add initializer.
24473
12fba011
EM
244742013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
24475
24476 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
24477 si_trapno and add si_addr_lsb to _sifields.sigfault.
24478 (si_trapno): Remove macro.
24479 (si_addr_lsb): Define new macro.
24480 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
24481
d369f531
JM
244822013-05-15 Joseph Myers <joseph@codesourcery.com>
24483
b861c6c4
JM
24484 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
24485 instead of TEST_f_l.
24486 (llrint_test_tonearest): Likewise.
24487 (llrint_test_towardzero): Likewise.
24488 (llrint_test_downward): Likewise.
24489 (llrint_test_upward): Likewise.
24490 (llround_test): Likewise.
24491
7abeee12
JM
24492 * math/libm-test.inc (struct test_f_i_data): Add comment.
24493 (RUN_TEST_LOOP_f_b): New macro.
24494 (RUN_TEST_LOOP_f_b_tg): Likewise.
24495 (finite_test_data): New variable.
24496 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
24497 (isfinite_test_data): New variable.
24498 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
24499 (isinf_test_data): New variable.
24500 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
24501 (isnan_test_data): New variable.
24502 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
24503 (isnormal_test_data): New variable.
24504 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
24505 (issignaling_test_data): New variable.
24506 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
24507 (signbit_test_data): New variable.
24508 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
24509
cbe8c4d3
JM
24510 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
24511 with INVALID_EXCEPTION.
24512 (acosh_test_data): Likewise.
24513 (asin_test_data): Likewise.
24514 (atanh_test_data): Likewise.
24515 (fmod_test_data): Likewise.
24516 (log_test_data): Likewise.
24517 (log10_test_data): Likewise.
24518 (log2_test_data): Likewise.
24519 (pow_test_data): Likewise.
24520 (sqrt_test_data): Likewise.
24521 (y0_test_data): Likewise.
24522 (y1_test_data): Likewise.
24523 (yn_test_data): Likewise.
24524
5575c0e5
JM
24525 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
24526 function contents.
24527
d369f531
JM
24528 * math/libm-test.inc (struct test_ff_i_data): New type.
24529 (RUN_TEST_LOOP_ff_i_tg): New macro.
24530 (isgreater_test_data): New variable.
24531 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
24532 (isgreaterequal_test_data): New variable.
24533 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
24534 (isless_test_data): New variable.
24535 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
24536 (islessequal_test_data): New variable.
24537 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
24538 (islessgreater_test_data): New variable.
24539 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
24540 (isunordered_test_data): New variable.
24541 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
24542
781fd748
DM
245432013-05-14 David S. Miller <davem@davemloft.net>
24544
24545 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24546
87aa21df
JM
245472013-05-14 Joseph Myers <joseph@codesourcery.com>
24548
5e908270
JM
24549 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
24550
f71172e5
JM
24551 * math/libm-test.inc (struct test_fF_f1_data): Change type of
24552 extra_test to int.
24553 (struct test_f_i_data): Change type of max_ulp to int.
24554
8cfa635a
JM
24555 * math/libm-test.inc (test_ffI_f1_data): New type.
24556 (RUN_TEST_LOOP_ffI_f1): New macro.
24557 (remquo_test_data): New variable.
24558 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
24559
2bcb36b2
JM
24560 * setjmp/tst-setjmp-fp.c: New file.
24561 * setjmp/Makefile (tests): Add tst-setjmp-fp.
24562 (link-libm): New variable.
24563 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
24564
acbd839a
JM
24565 * math/libm-test.inc (struct test_f_i_data): New type.
24566 (RUN_TEST_LOOP_f_i): New macro.
24567 (RUN_TEST_LOOP_f_i_tg): Likewise.
24568 (fpclassify_test_data): New variable.
24569 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
24570 (ilogb_test_data): New variable.
24571 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
24572
e414d745
JM
24573 * math/libm-test.inc (scalbln_test): Correct function name in END
24574 call.
24575
d9c2a0fd
JM
24576 * math/libm-test.inc (struct test_f_f1_data): Add comment.
24577 (RUN_TEST_LOOP_fI_f1): New macro.
24578 (frexp_test_data): New variable.
24579 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
24580
9dc9095d
JM
24581 * math/libm-test.inc (struct test_fF_f1_data): New type.
24582 (RUN_TEST_LOOP_fF_f1): New macro.
24583 (modf_test_data): New variable.
24584 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
24585
87aa21df
JM
24586 * math/libm-test.inc (struct test_f_f1_data): New type.
24587 (RUN_TEST_LOOP_f_f1): New macro.
24588 (gamma_test_data): New variable.
24589 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
24590 (lgamma_test_data): New variable.
24591 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
24592
141af660
CD
245932013-05-13 Carlos O'Donell <carlos@redhat.com>
24594
24595 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
24596 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
24597 (main): Comment "tls" pseudo-hwcap.
24598
6d33265c
JM
245992013-05-13 Joseph Myers <joseph@codesourcery.com>
24600
68fc074c
JM
24601 * math/libm-test.inc (struct test_fl_f_data): New type.
24602 (RUN_TEST_LOOP_fl_f): New variable.
24603 (scalbln_test_data): New variable.
24604 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
24605
243216e1
JM
24606 * math/libm-test.inc (struct test_fi_f_data): New type.
24607 (RUN_TEST_LOOP_fi_f): New macro.
24608 (ldexp_test_data): New variable.
24609 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
24610 (scalbn_test_data): New variable.
24611 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
24612
6a1992e2
JM
24613 * math/libm-test.inc (struct test_c_f_data): New type.
24614 (RUN_TEST_LOOP_c_f): New macro.
24615 (cabs_test_data): New variable.
24616 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
24617 (carg_test_data): New variable.
24618 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
24619 (cimag_test_data): New variable.
24620 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
24621 (creal_test_data): New variable.
24622 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
24623
0e400df5
JM
24624 * math/libm-test.inc (struct test_if_f_data): New type.
24625 (RUN_TEST_LOOP_if_f): New macro.
24626 (jn_test_data): New variable.
24627 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
24628 (yn_test_data): New variable.
24629 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
24630
6d33265c
JM
24631 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
24632
f98ece5f
AZ
246332013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24634
24635 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
24636 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
24637
0f7d347b
SP
246382013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
24639
43fe811b
SP
24640 * benchtests/Makefile (CPPFLAGS-nonlib): Add
24641 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
24642 (bench-deps): Add bench-timing.h.
24643 * benchtests-bench-skeleton.c: Include bench-timing.h.
24644 (main): Use TIMING_* macros instead of clock_gettime.
24645 * benchtests/bench-timing.h: New file.
24646
0f7d347b
SP
24647 [BZ #14582]
24648 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
24649 Renamed from _LIB_VERSION.
24650 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
24651
601a3a5f
JM
246522013-05-12 Joseph Myers <joseph@codesourcery.com>
24653
4f184d30
JM
24654 * math/libm-test.inc (struct test_fff_f_data): New type.
24655 (RUN_TEST_LOOP_fff_f): New macro.
24656 (fma_test_data): New variable.
24657 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
24658 (fma_towardzero_test_data): New variable.
24659 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
24660 (fma_downward_test_data): New variable.
24661 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
24662 (fma_upward_test_data): New variable.
24663 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
24664
08198877
JM
24665 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
24666 (struct test_c_c_data): New type.
24667 (RUN_TEST_LOOP_c_c): New macro.
24668 (cacos_test_data): New variable.
24669 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
24670 (cacosh_test_data): New variable.
24671 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
24672 (casin_test_data): New variable.
24673 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
24674 (casinh_test_data): New variable.
24675 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
24676 (catan_test_data): New variable.
24677 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
24678 (catanh_test_data): New variable.
24679 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
24680 (ccos_test_data): New variable.
24681 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
24682 (ccosh_test_data): New variable.
24683 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
24684 (cexp_test_data): New variable.
24685 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
24686 (clog_test_data): New variable.
24687 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
24688 (clog10_test_data): New variable.
24689 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
24690 (conj_test_data): New variable.
24691 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
24692 (cproj_test_data): New variable.
24693 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
24694 (csin_test_data): New variable.
24695 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
24696 (csinh_test_data): New variable.
24697 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
24698 (csqrt_test_data): New variable.
24699 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
24700 (ctan_test_data): New variable.
24701 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
24702 (ctan_tonearest_test_data): New variable.
24703 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
24704 (ctan_towardzero_test_data): New variable.
24705 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
24706 (ctan_downward_test_data): New variable.
24707 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
24708 (ctan_upward_test_data): New variable.
24709 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
24710 (ctanh_test_data): New variable.
24711 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
24712 (ctanh_tonearest_test_data): New variable.
24713 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
24714 (ctanh_towardzero_test_data): New variable.
24715 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
24716 (ctanh_downward_test_data): New variable.
24717 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
24718 (ctanh_upward_test_data): New variable.
24719 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
24720 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
24721 of BUILD_COMPLEX.
24722
601a3a5f
JM
24723 * math/libm-test.inc (struct test_ff_f_data): New type.
24724 (struct test_ff_f_data_nexttoward): Likewise.
24725 (RUN_TEST_LOOP_2_f): New macro.
24726 (RUN_TEST_LOOP_ff_f): Likewise.
24727 (atan2_test_data): New variable.
24728 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
24729 (copysign_test_data): New variable.
24730 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
24731 (fdim_test_data): New variable.
24732 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
24733 (fmax_test_data): New variable.
24734 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
24735 (fmin_test_data): New variable.
24736 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
24737 (fmod_test_data): New variable.
24738 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
24739 (hypot_test_data): New variable.
24740 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
24741 (nextafter_test_data): New variable.
24742 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
24743 (nexttoward_test_data): New variable.
24744 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
24745 (pow_test_data): New variable.
24746 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
24747 (pow_tonearest_test_data): New variable.
24748 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
24749 (pow_towardzero_test_data): New variable.
24750 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
24751 (pow_downward_test_data): New variable.
24752 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
24753 (pow_upward_test_data): New variable.
24754 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
24755 (remainder_test_data): New variable.
24756 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
24757 (scalb_test_data): New variable.
24758 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
24759 * sysdeps/i386/fpu/libm-test-ulps: Update.
24760
74c57478
JM
247612013-05-11 Joseph Myers <joseph@codesourcery.com>
24762
8329e4da
JM
24763 * math/libm-test.inc (fma_test): Use max_value instead of local
24764 variable fltmax.
24765 (nextafter_test): Likewise.
24766
74c57478
JM
24767 * math/libm-test.inc (acos_towardzero_test_data): New variable.
24768 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
24769 (acos_downward_test_data): New variable.
24770 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
24771 (acos_upward_test_data): New variable.
24772 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
24773 (acosh_test_data): New variable.
24774 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
24775 (asin_test_data): New variable.
24776 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
24777 (asin_tonearest_test_data): New variable.
24778 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
24779 (asin_towardzero_test_data): New variable.
24780 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
24781 (asin_downward_test_data): New variable.
24782 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
24783 (asin_upward_test_data): New variable.
24784 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
24785 (asinh_test_data): New variable.
24786 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
24787 (atan_test_data): New variable.
24788 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
24789 (atanh_test_data): New variable.
24790 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
24791 (cbrt_test_data): New variable.
24792 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
24793 (ceil_test_data): New variable.
24794 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
24795 (cos_test_data): New variable.
24796 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
24797 (cos_tonearest_test_data): New variable.
24798 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
24799 (cos_towardzero_test_data): New variable.
24800 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
24801 (cos_downward_test_data): New variable.
24802 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
24803 (cos_upward_test_data): New variable.
24804 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
24805 (cosh_test_data): New variable.
24806 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
24807 (cosh_tonearest_test_data): New variable.
24808 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
24809 (cosh_towardzero_test_data): New variable.
24810 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
24811 (cosh_downward_test_data): New variable.
24812 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
24813 (cosh_upward_test_data): New variable.
24814 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
24815 (erf_test_data): New variable.
24816 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
24817 (erfc_test_data): New variable.
24818 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
24819 (exp_test_data): New variable.
24820 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
24821 (exp_tonearest_test_data): New variable.
24822 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
24823 (exp_towardzero_test_data): New variable.
24824 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
24825 (exp_downward_test_data): New variable.
24826 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
24827 (exp_upward_test_data): New variable.
24828 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
24829 (exp10_test_data): New variable.
24830 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
24831 (exp2_test_data): New variable.
24832 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
24833 (expm1_test_data): New variable.
24834 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
24835 (fabs_test_data): New variable.
24836 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
24837 (floor_test_data): New variable.
24838 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
24839 (j0_test_data): New variable.
24840 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
24841 (j1_test_data): New variable.
24842 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
24843 (log_test_data): New variable.
24844 (log_test): Run tests with RUN_TEST_LOOP_f_f.
24845 (log10_test_data): New variable.
24846 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
24847 (log1p_test_data): New variable.
24848 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
24849 (log2_test_data): New variable.
24850 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
24851 (logb_test_data): New variable.
24852 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
24853 (logb_downward_test_data): New variable.
24854 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
24855 (nearbyint_test_data): New variable.
24856 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
24857 (rint_test_data): New variable.
24858 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
24859 (rint_tonearest_test_data): New variable.
24860 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
24861 (rint_towardzero_test_data): New variable.
24862 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
24863 (rint_downward_test_data): New variable.
24864 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
24865 (rint_upward_test_data): New variable.
24866 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
24867 (round_test_data): New variable.
24868 (round_test): Run tests with RUN_TEST_LOOP_f_f.
24869 (sin_test_data): New variable.
24870 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
24871 (sin_tonearest_test_data): New variable.
24872 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
24873 (sin_towardzero_test_data): New variable.
24874 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
24875 (sin_downward_test_data): New variable.
24876 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
24877 (sin_upward_test_data): New variable.
24878 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
24879 (sinh_test_data): New variable.
24880 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
24881 (sinh_tonearest_test_data): New variable.
24882 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
24883 (sinh_towardzero_test_data): New variable.
24884 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
24885 (sinh_downward_test_data): New variable.
24886 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
24887 (sinh_upward_test_data): New variable.
24888 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
24889 (sqrt_test_data): New variable.
24890 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
24891 (tan_test_data): New variable.
24892 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
24893 (tan_tonearest_test_data): New variable.
24894 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
24895 (tan_towardzero_test_data): New variable.
24896 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
24897 (tan_downward_test_data): New variable.
24898 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
24899 (tan_upward_test_data): New variable.
24900 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
24901 (tanh_test_data): New variable.
24902 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
24903 (tgamma_test_data): New variable.
24904 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
24905 (trunc_test_data): New variable.
24906 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
24907 (y0_test_data): New variable.
24908 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
24909 (y1_test_data): New variable.
24910 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
24911 (significand_test_data): New variable.
24912 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
24913
7187d844
CG
249142013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
24915
24916 [BZ #12387]
24917 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
24918
f63fae73
PT
249192013-05-10 Pino Toscano <toscano.pino@tiscali.it>
24920
24921 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
24922
8a67a4b3
AJ
249232013-05-10 Andreas Jaeger <aj@suse.de>
24924
24925 [BZ #15448]
24926 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
24927 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
24928
51df539d
JM
249292013-05-10 Joseph Myers <joseph@codesourcery.com>
24930
24931 * math/gen-libm-test.pl (adjust_arg): New function.
24932 (special_functions): Handle generating output in both functions
24933 and arrays.
24934 (parse_args): Likewise.
24935 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
24936 $in_func argument to parse_args.
24937 * math/libm-test.inc (struct test_f_f_data): New type.
24938 (IF_ROUND_INIT_): New macro.
24939 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
24940 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
24941 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
24942 (IF_ROUND_INIT_FE_UPWARD): Likewise.
24943 (ROUND_RESTORE_): Likewise.
24944 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
24945 (ROUND_RESTORE_FE_TONEAREST): Likewise.
24946 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
24947 (ROUND_RESTORE_FE_UPWARD): Likewise.
24948 (RUN_TEST_LOOP_f_f): New macro.
24949 (acos_test_data): New variable.
24950 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
24951 (acos_tonearest_test_data): New variable.
24952 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
24953
5c637fe5
SP
249542013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
24955
24956 * benchtests/bench-skeleton.c (startup): Fix coding style.
24957
ab2b9461
JM
249582013-05-10 Joseph Myers <joseph@codesourcery.com>
24959
24960 [BZ #6809]
24961 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
24962 negative infinity argument.
24963 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
24964 negative infinity argument.
24965 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
24966 negative infinity argument.
24967 * math/libm-test.inc (tgamma_test): Expect errno to be set for
24968 domain errors.
24969
4c0fe6fe
FW
249702013-05-10 Florian Weimer <fweimer@redhat.com>
24971
24972 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
24973 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
24974 * iconv/iconv_prog.c (main): Likewise.
24975 * locale/programs/charmap-dir.c (charmap_readdir)
24976 (fopen_uncompressed): Likewise.
24977 * locale/programs/locfile.c (siblings_uncached)
24978 (write_locale_data): Use lstat64 instead of lstat.
24979 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
24980 stat.
24981
a3375d29
AJ
249822013-05-10 Andreas Jaeger <aj@suse.de>
24983
24984 [BZ #15395]
24985 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
24986 localization.
24987 Include <locale.h>.
24988
36129722
CD
249892013-05-09 Carlos O'Donell <carlos@redhat.com>
24990
24991 * elf/dl-close.c (_dl_close_worker): Add comments.
24992
faa7f811
JM
249932013-05-09 Joseph Myers <joseph@codesourcery.com>
24994
ed41ffef
JM
24995 [BZ #15359]
24996 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
24997 high part of pi/2.
24998 (__ieee754_rem_pio2l): Update comments.
24999
d0213cd0
JM
25000 [BZ #15429]
25001 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
25002 high part of pi/2.
25003 (__ieee754_rem_pio2l): Update comments.
25004
0d3e777a
JM
25005 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
25006 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
25007
24f56066
JM
25008 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
25009 M_PI_4l.
25010
faa7f811
JM
25011 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
25012 (M_PI_34_LOG10El): Likewise.
25013 (M_PI2_LOG10El): Likewise.
25014 (M_PI4_LOG10El): Likewise.
25015 (M_PI_LOG10El): Likewise.
25016
e9a5e0fd
AZ
250172013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25018
25019 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25020
d8cd06db
JM
250212013-05-08 Joseph Myers <joseph@codesourcery.com>
25022
a0d9f9d7
JM
25023 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
25024 (MINUS_ZERO_INIT): Likewise.
25025 (PLUS_INFTY_INIT): Likewise.
25026 (MINUS_INFTY_INIT): Likewise.
25027 (QNAN_VALUE_INIT): Likewise.
25028 (MAX_VALUE_INIT): Likewise.
25029 (MIN_VALUE_INIT): Likewise.
25030 (MIN_SUBNORM_VALUE_INIT): Likewise.
25031 (plus_zero): Initialize with PLUS_ZERO_INIT.
25032 (minus_zero): Initialize with MINUS_ZERO_INIT.
25033 (plus_infty): Initialize with PLUS_INFTY_INIT.
25034 (minus_infty): Initialize with MINUS_INFTY_INIT.
25035 (qnan_value): Initialize with QNAN_VALUE_INIT.
25036 (max_value): Initialize with MAX_VALUE_INIT.
25037 (min_value): Initialize with MIN_VALUE_INIT.
25038 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
25039
ae08db3b
JM
25040 * math/libm-test.inc (RUN_TEST_if_f): New macro.
25041 (jn_test): Use TEST_if_f instead of TEST_ff_f.
25042 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
25043 (yn_test): Use TEST_if_f instead of TEST_ff_f.
25044
f44bf14a
JM
25045 * math/libm-test.inc (RUN_TEST_f_f): New macro.
25046 (RUN_TEST_2_f): Likewise.
25047 (RUN_TEST_ff_f): Likewise.
25048 (RUN_TEST_fi_f): Likewise.
25049 (RUN_TEST_fl_f): Likewise.
25050 (RUN_TEST_fff_f): Likewise.
25051 (RUN_TEST_c_f): Likewise.
25052 (RUN_TEST_f_f1): Likewise.
25053 (RUN_TEST_fF_f1): Likewise.
25054 (RUN_TEST_fI_f1): Likewise.
25055 (RUN_TEST_ffI_f1): Likewise.
25056 (RUN_TEST_c_c): Likewise.
25057 (RUN_TEST_cc_c): Likewise.
25058 (RUN_TEST_f_i): Likewise.
25059 (RUN_TEST_f_i_tg): Likewise.
25060 (RUN_TEST_ff_i_tg): Likewise.
25061 (RUN_TEST_f_b): Likewise.
25062 (RUN_TEST_f_b_tg): Likewise.
25063 (RUN_TEST_f_l): Likewise.
25064 (RUN_TEST_f_L): Likewise.
25065 (RUN_TEST_sincos): Likewise.
25066 * math/gen-libm-test.pl (new_test): Take new argument to indicate
25067 whether to show exceptions. Do not include ");\n" in return
25068 value.
25069 (special_functions): Output call to RUN_TEST_sincos instead of
25070 check_float calls. Update calls to new_test.
25071 (parse_args): Output call to single RUN_TEST_* macro instead of
25072 check_* calls and other assignments. Update calls to new_test.
25073
d8cd06db
JM
25074 [BZ #2546]
25075 [BZ #2560]
25076 [BZ #5159]
25077 [BZ #15426]
25078 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
25079 input to result for tgamma overflow.
25080 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
25081 (gamma_coeff): New variable.
25082 (NCOEFF): New macro.
25083 (gamma_positive): New function.
25084 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
25085 underflow here. Use gamma_positive instead of exp (lgamma) for
25086 other arguments.
25087 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
25088 (gamma_coeff): New variable.
25089 (NCOEFF): New macro.
25090 (gammaf_positive): New function.
25091 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
25092 underflow here. Use gamma_positive instead of exp (lgamma) for
25093 other arguments.
25094 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
25095 (gamma_coeff): New variable.
25096 (NCOEFF): New macro.
25097 (gammal_positive): New function.
25098 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
25099 underflow here. Use gamma_positive instead of exp (lgamma) for
25100 other arguments.
25101 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
25102 (gamma_coeff): New variable.
25103 (NCOEFF): New macro.
25104 (gammal_positive): New function.
25105 (__ieee754_gammal_r): Handle positive infinity, overflow and
25106 underflow here. Handle NaN the same as positive infinity. Remove
25107 check x < 0xffffffff for negative integers. Use gamma_positive
25108 instead of exp (lgamma) for other arguments.
25109 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
25110 (gamma_coeff): New variable.
25111 (NCOEFF): New macro.
25112 (gammal_positive): New function.
25113 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
25114 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
25115 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
25116 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
25117 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
25118 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
25119 * sysdeps/generic/math_private.h (__gamma_productf): New
25120 prototype.
25121 (__gamma_product): Likewise.
25122 (__gamma_productl): Likewise.
25123 * math/Makefile (libm-calls): Add gamma_product.
25124 * math/libm-test.inc (tgamma_test): Add more tests.
25125 * sysdeps/i386/fpu/libm-test-ulps: Update.
25126 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25127
bb7cf681
OB
251282013-05-08 Ondřej Bílka <neleai@seznam.cz>
25129
25130 * benchtests/bench-skeleton.c (main): Preheat CPU.
25131
ba853947
AJ
251322013-05-07 Aurelien Jarno <aurelien@aurel32.net>
25133
25134 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
25135
8347c74c
RM
251362013-05-07 Roland McGrath <roland@hack.frob.com>
25137
25138 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
25139 and _dl_skip_args_internal.
25140
e8dd4791
CD
251412013-05-07 Carlos O'Donell <carlos@redhat.com>
25142
25143 * manual/message.texi (Message Translation): Talk about users.
25144 Message to key mapping impacts design.
25145
c7405830
RM
251462013-05-06 Roland McGrath <roland@hack.frob.com>
25147
a9173057
RM
25148 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
25149
976e2f03
RM
25150 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
25151
9723ffc5
RM
25152 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
25153 * sysdeps/wordsize-64/glob64.c: ... here.
25154
962e6658
RM
25155 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
25156 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
25157 New macros.
25158
ee586a6d
RM
25159 * debug/getlogin_r_chk.c: Moved to ...
25160 * login/getlogin_r_chk.c: ... here.
25161 * debug/Makefile (routines): Move getlogin_r_chk to ...
25162 * login/Makefile (routines): ... here.
25163 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
25164 * login/Versions (libc: GLIBC_2.4): ... here.
25165
355f9165
RM
25166 * io/poll.c (__poll): Renamed from poll.
25167 Add libc_hidden_def.
25168 (poll): Define as weak alias.
25169
bd9ffde6
RM
25170 * debug/ptsname_r_chk.c: Moved to ...
25171 * login/ptsname_r_chk.c: ... here.
25172 * debug/Makefile (routines): Move ptsname_r_chk to ...
25173 * login/Makefile (routines): ... here.
25174 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
25175 * login/Versions (libc: GLIBC_2.4): ... here.
25176
8fb16a04
RM
25177 * posix/getlogin.c: Moved to ...
25178 * login/getlogin.c: ... here.
25179 * posix/getlogin_r.c: Moved to ...
25180 * login/getlogin_r.c: ... here.
25181 * posix/getlogin_r.c: Moved to ...
25182 * login/getlogin_r.c: ... here.
25183 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
25184 * login/Makefile (routines): ... here.
25185 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
25186 * login/Versions (libc: GLIBC_2.0): ... here.
25187
b99b892f
RM
25188 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
25189 (setrlimit): Define as weak alias.
25190
c7405830
RM
25191 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
25192 Call __ names for open, ftruncate, and close.
25193 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
25194 (truncate): Define as weak alias.
25195
5bf96de5
JM
251962013-05-06 Joseph Myers <joseph@codesourcery.com>
25197
9ea3513c
JM
25198 * math/gen-libm-test.pl (parse_args): Initialize x before each
25199 test of frexp, modf and remquo.
25200
5bf96de5
JM
25201 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
25202 test signgam value.
25203
16e616a7
AZ
252042013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25205
25206 [BZ #15418]
25207 [BZ #15419]
25208 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
25209 internal tests.
25210 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
25211
d5e82754
RM
252122013-05-06 Roland McGrath <roland@hack.frob.com>
25213
25214 * elf/dl-writev.h: New file.
25215 * elf/dl-misc.c: Include it.
25216 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
25217 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
25218
a7548d41
JM
252192013-05-04 Joseph Myers <joseph@codesourcery.com>
25220
b7dab1e4
JM
25221 * math/libm-test.inc (noXFails): Remove variable.
25222 (noXPasses): Likewise.
25223 (BUILD_COMPLEX_INT): Remove macro.
25224 (print_screen): Remove xfail argument.
25225 (print_screen_max_error): Likewise.
25226 (update_stats): Likewise.
25227 (print_max_error): Likewise. Update calls to other affected
25228 functions.
25229 (print_complex_max_error): Likewise.
25230 (test_single_exception): Update calls to print_screen.
25231 (test_single_errno): Likewise.
25232 (check_float_internal): Remove xfail argument. Update calls to
25233 other affected functions.
25234 (check_float): Likewise.
25235 (check_complex): Likewise.
25236 (check_int): Likewise.
25237 (check_long): Likewise.
25238 (check_bool): Likewise.
25239 (check_longlong): Likewise.
25240 (main): Don't print noXFails and noXPasses.
25241 * math/gen-libm-test.pl (top level): Don't mention expected
25242 failure handling in comment.
25243 (new_test): Don't handle expected failures.
25244 (parse_args): Don't mention expected failure handling in comment.
25245 (generate_testfile): Don't handle expected failures.
25246 (parse_ulps): Likewise.
25247 (print_ulps_file): Likewise.
25248 (get_failure): Remove function.
25249 (output_test): Don't handle expected failures.
25250 * make/README.libm-test: Don't mention expected failure handling.
25251
a7548d41
JM
25252 * math/libm-test.inc (plus_zero): Make const. Add initializer.
25253 (minus_zero): Likewise.
25254 (plus_infty): Likewise.
25255 (minus_infty): Likewise.
25256 (qnan_value): Likewise.
25257 (max_value): Likewise.
25258 (min_value): Likewise.
25259 (min_subnorm_value): Likewise.
25260 (initialize): Do not initialize those variables dynamically.
25261
60bfd54c
RM
252622013-05-03 Roland McGrath <roland@hack.frob.com>
25263
cc0e6ed8
RM
25264 * io/open.c (__open_2): Moved to ...
25265 * io/open_2.c: ... this new file.
25266 * io/open64.c (__open64_2): Moved to ...
25267 * io/open64_2.c: ... this new file.
25268 * io/openat.c (__openat_2): Moved to ...
25269 * io/openat_2.c: ... this new file.
25270 * io/openat64.c (__openat64_2): Moved to ...
25271 * io/openat64_2.c: ... this new file.
25272 * io/Makefile (routines): Add them.
25273 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
25274 * sysdeps/unix/sysv/linux/open_2.c: File removed.
25275 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
25276 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
25277 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
25278 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
25279 (__openat64): Add hidden_ver.
25280 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
25281 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
25282
60bfd54c
RM
25283 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
25284 Separately conditionalize setting of GLRO(dl_sysinfo) so
25285 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
25286 as well, but the actual setting is only under [NEED_DL_SYSINFO].
25287
83e7640f
AZ
252882013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25289
25290 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
25291 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
25292 definition.
25293 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
25294 * sysdeps/unix/sysv/linux/powerpc/init-first.c
25295 (_libc_vdso_platform_setup): Add __vdso_time initialization.
25296 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
25297 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
25298
d5dc2af3
JM
252992013-05-03 Joseph Myers <joseph@codesourcery.com>
25300
c31a5b1e
JM
25301 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
25302 test signgam value.
25303
d5dc2af3
JM
25304 * math/libm-test.inc (hypot_test): Do not use
25305 IGNORE_ZERO_INF_SIGN.
25306
164fd39d
AJ
253072013-05-03 Andreas Jaeger <aj@suse.de>
25308
25309 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
25310 Linux 3.9.
25311 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
25312 (PF_MAX): Adjust for VSOCK change.
25313
8237f48c
AZ
253142013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25315
25316 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25317
9df02941
CD
253182013-05-02 Carlos O'Donell <carlos@redhat.com>
25319
25320 [BZ #15264]
25321 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
25322 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
25323 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
25324
d422395e
DM
253252013-05-02 David S. Miller <davem@davemloft.net>
25326
25327 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25328
a07c5731
OB
253292013-05-01 Ondřej Bílka <neleai@seznam.cz>
25330
25331 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
25332
1324e37f
RM
253332013-05-01 Roland McGrath <roland@hack.frob.com>
25334
25335 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
25336
0695940b
RS
253372013-05-01 Richard Smith <richard@metafoo.co.uk>
25338
bb5f27ad 25339 [BZ #14952]
0695940b
RS
25340 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
25341 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
25342 Use __attribute__ ((__gnu_inline__)).
25343 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
25344 Don't use __attribute__ ((__gnu_inline__)).
25345
10de07f5
JM
253462013-05-01 Joseph Myers <joseph@codesourcery.com>
25347
25348 [BZ #15423]
25349 * math/s_catan.c (__catan): Handle small real or imaginary part of
25350 input specially to avoid spurious underflow.
25351 * math/s_catanf.c (__catanf): Likewise.
25352 * math/s_catanh.c (__catanh): Likewise.
25353 * math/s_catanhf.c (__catanhf): Likewise.
25354 * math/s_catanhl.c (__catanhl): Likewise.
25355 * math/s_catanl.c (__catanl): Likewise.
25356 * math/libm-test.inc (catan_test): Add more tests.
25357 (catanh_test): Likewise.
25358 * sysdeps/i386/fpu/libm-test-ulps: Update.
25359 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25360
cb4d5414
AZ
253612013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25362
25363 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25364
caf84319
JM
253652013-04-30 Joseph Myers <joseph@codesourcery.com>
25366
25367 [BZ #15416]
25368 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
25369 accurately for denominator in atan2.
25370 * math/s_catanf.c (__catanf): Likewise.
25371 * math/s_catanh.c (__catanh): Likewise.
25372 * math/s_catanhf.c (__catanhf): Likewise.
25373 * math/s_catanhl.c (__catanhl): Likewise.
25374 * math/s_catanl.c (__catanl): Likewise.
25375 * math/libm-test.inc (catan_test): Add more tests.
25376 (catanh_test): Likewise.
25377 * sysdeps/i386/fpu/libm-test-ulps: Update.
25378 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25379
d569c6ee
SP
253802013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
25381
6dbe713d
SP
25382 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
25383
f0ee064b
SP
25384 * benchtests/Makefile (bench): Remove slow benchmarks.
25385 * benchtests/atan-inputs: Add slow benchmark inputs.
25386 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
25387 (BENCH_FUNC): Accept variant offset.
25388 (VARIANT): Define.
25389 * benchtests/bench-skeleton.c (main): Run benchmark for each
25390 variant.
25391 * benchtests/cos-inputs: Add slow benchmark inputs.
25392 * benchtests/exp-inputs: Likewise.
25393 * benchtests/pow-inputs: Likewise.
25394 * benchtests/sin-inputs: Likewise.
25395 * benchtests/slowatan-inputs: Remove.
25396 * benchtests/slowatan.c: Remove.
25397 * benchtests/slowcos-inputs: Remove.
25398 * benchtests/slowcos.c: Remove.
25399 * benchtests/slowexp-inputs: Remove.
25400 * benchtests/slowexp.c: Remove.
25401 * benchtests/slowpow-inputs: Remove.
25402 * benchtests/slowpow.c: Remove.
25403 * benchtests/slowsin-inputs: Remove.
25404 * benchtests/slowsin.c: Remove.
25405 * benchtests/slowtan-inputs: Remove.
25406 * benchtests/slowtan.c: Remove.
25407 * benchtests/tan-inputs: Add slow benchmark inputs.
25408 * scripts/bench.pl: Parse comments and directives.
25409
d569c6ee
SP
25410 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
25411 in CPPFLAGS.
25412 ($(objpfx)bench-%.c): Remove *-ITER.
25413 * benchtests/bench-modf.c: Remove definition of ITER.
25414 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
25415 (main): Loop for DURATION seconds instead of fixed number of
25416 iterations.
25417 * scripts/bench.pl: Don't expect iterations in parameters.
25418
a6a242fe
RM
254192013-04-29 Roland McGrath <roland@hack.frob.com>
25420
25421 * io/fchdir.c (__fchdir): Renamed from fchdir.
25422 (fchdir): Define as weak alias.
25423
f2da7793
JM
254242013-04-29 Joseph Myers <joseph@codesourcery.com>
25425
25426 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
25427 (ERRNO_EDOM): Likewise.
25428 (ERRNO_ERANGE): Likewise.
25429 (noErrnoTests): New variable.
25430 (init_max_error): Set errno to 0.
25431 (test_single_errno): New function.
25432 (test_errno): Likewise.
25433 (check_float_internal): Call test_errno. Set errno to 0.
25434 (check_complex): Refer to errno tests in comment.
25435 (check_int): Call test_errno. Set errno to 0.
25436 (check_long): Likewise.
25437 (check_bool): Likewise.
25438 (check_longlong): Likewise.
25439 (cos_test): Use ERRNO_* flags for errno tests instead of
25440 check_int.
25441 (expm1_test): Likewise.
25442 (fmod_test): Likewise.
25443 (ilogb_test): Likewise.
25444 (lgamma_test): Likewise.
25445 (pow_test): Likewise.
25446 (remainder_test): Likewise.
25447 (sin_test): Likewise.
25448 (tan_test): Likewise.
25449 (yn_test): Likewise.
25450 (initialize): Set errno to 0.
25451 (main): Print number of errno tests.
25452 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
25453
b1a36ceb
AJ
254542013-04-29 Andreas Jaeger <aj@suse.de>
25455
c3ed8088
AJ
25456 [BZ #15084]
25457 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
25458 and RES_USEVC.
25459
f1a24198
AJ
25460 [BZ #15085]
25461 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
25462 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
25463 unimplemented.
25464
9ce3b2cb
AJ
25465 [BZ #15380]
25466 * stdlib/random.c (__initstate): Return NULL if
25467 __initstate fails.
25468
f1a24198 25469 [BZ #15086]
b1a36ceb
AJ
25470 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
25471 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
25472 RES_SNGLKUPREOP.
25473
7e7b6f36
AZ
254742013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25475
25476 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25477
4d14f449
JM
254782013-04-29 Joseph Myers <joseph@codesourcery.com>
25479
25480 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
25481 of individual tests.
25482 (casin_test): Likewise.
25483 (casinh_test): Likewise.
25484
5b4217d7
JM
254852013-04-27 Joseph Myers <joseph@codesourcery.com>
25486
25487 [BZ #15409]
25488 * math/s_catan.c (__catan): Handle arguments with large real or
25489 imaginary part separately without squaring.
25490 * math/s_catanf.c (__catanf): Likewise.
25491 * math/s_catanh.c (__catanh): Likewise.
25492 * math/s_catanhf.c (__catanhf): Likewise.
25493 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
25494 and redefine.
25495 (__catanhl): Handle arguments with large real or imaginary part
25496 separately without squaring.
25497 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
25498 and redefine.
25499 (__catanl): Handle arguments with large real or imaginary part
25500 separately without squaring.
25501 * math/libm-test.inc (catan_test): Add more tests.
25502 (catanh_test): Likewise.
25503 * sysdeps/i386/fpu/libm-test-ulps: Update.
25504 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25505
4220c3ef
AJ
255062013-04-27 Andreas Jaeger <aj@suse.de>
25507
25508 [BZ #15007]
25509 * stdlib/stdlib.h: Update guards for qecvt.
25510 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
25511 <stdlib.h>.
25512
4721b2d1
AM
255132013-04-27 Allan McRae <allan@archlinux.org>
25514
25515 * sysdeps/i386/fpu/libm-test-ulps: Update.
25516
f0302940
JM
255172013-04-26 Joseph Myers <joseph@codesourcery.com>
25518
9457fd95
JM
25519 [BZ #15406]
25520 * math/s_catan.c: Include <float.h>.
25521 (__catan): Ensure underflow exception occurs for underflowed
25522 result.
25523 * math/s_catanf.c: Include <float.h>.
25524 (__catanf): Ensure underflow exception occurs for underflowed
25525 result.
25526 * math/s_catanh.c: Include <float.h>.
25527 (__catanh): Ensure underflow exception occurs for underflowed
25528 result.
25529 * math/s_catanhf.c: Include <float.h>.
25530 (__catanhf): Ensure underflow exception occurs for underflowed
25531 result.
25532 * math/s_catanhl.c: Include <float.h>.
25533 (__catanhl): Ensure underflow exception occurs for underflowed
25534 result.
25535 * math/s_catanl.c: Include <float.h>.
25536 (__catanl): Ensure underflow exception occurs for underflowed
25537 result.
25538 * math/libm-test.inc (catan_test): Add more tests.
25539 (catanh_test): Likewise.
25540
f0302940
JM
25541 [BZ #15405]
25542 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
25543 underflowed result.
25544 * math/s_ccoshf.c (__ccoshf): Likewise.
25545 * math/s_ccoshl.c (__ccoshl): Likewise.
25546 * math/s_csin.c (__csin): Likewise.
25547 * math/s_csinf.c (__csinf): Likewise.
25548 * math/s_csinh.c (__csinh): Likewise.
25549 * math/s_csinhf.c (__csinhf): Likewise.
25550 * math/s_csinhl.c (__csinhl): Likewise.
25551 * math/s_csinl.c (__csinl): Likewise.
25552 * math/libm-test.inc (ccos_test): Add more tests.
25553 (ccosh_test): Likewise.
25554 (csin_test): Likewise.
25555 (csinh_test): Likewise.
25556
aa630f59
AZ
255572013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25558
25559 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
25560 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
25561 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
25562 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
25563 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
25564 powerpc/power5+/fpu folders.
25565 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
25566
25567
1b835983
MT
255682013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
25569
25570 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25571
73709b26
JM
255722013-04-25 Joseph Myers <joseph@codesourcery.com>
25573
25574 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
25575 additions to variable.
25576 [$(config-machine) = x86_64] (modules-names): Likewise.
25577 ($(objpfx)tst-audit3): Remove dependency.
25578 ($(objpfx)tst-audit3.out): Likewise.
25579 ($(objpfx)tst-audit4): Likewise.
25580 ($(objpfx)tst-audit4.out): Likewise.
25581 ($(objpfx)tst-audit5): Likewise.
25582 ($(objpfx)tst-audit5.out): Likewise.
25583 ($(objpfx)tst-audit6): Likewise.
25584 ($(objpfx)tst-audit6.out): Likewise.
25585 ($(objpfx)tst-audit7): Likewise.
25586 ($(objpfx)tst-audit7.out): Likewise.
25587 (tst-audit3-ENV): Remove variable.
25588 (tst-audit4-ENV): Likewise.
25589 (tst-audit5-ENV): Likewise.
25590 (tst-audit6-ENV): Likewise.
25591 (tst-audit7-ENV): Likewise.
25592 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
25593 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
25594 addition to variable.
25595 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
25596 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
25597 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
25598 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
25599 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
25600 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
25601 tst-audit3, tst-audit4 and tst-audit5.
25602 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
25603 tst-audit6 and tst-audit7.
25604 [$(subdir) = elf] (modules-names): Add audit modules for those
25605 tests.
25606 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
25607 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
25608 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
25609 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
25610 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
25611 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
25612 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
25613 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
25614 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
25615 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
25616 [$(subdir) = elf] (tst-audit3-ENV): New variable.
25617 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
25618 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
25619 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
25620 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
25621 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
25622 Likewise.
25623 [$(subdir) = elf && $(config-cflags-avx) = yes]
25624 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
25625 [$(subdir) = elf && $(config-cflags-avx) = yes]
25626 (CFLAGS-tst-auditmod4a.c): Likewise.
25627 [$(subdir) = elf && $(config-cflags-avx) = yes]
25628 (CFLAGS-tst-auditmod4b.c): Likewise.
25629 [$(subdir) = elf && $(config-cflags-avx) = yes]
25630 (CFLAGS-tst-auditmod6b.c): Likewise.
25631 [$(subdir) = elf && $(config-cflags-avx) = yes]
25632 (CFLAGS-tst-auditmod6c.c): Likewise.
25633 [$(subdir) = elf && $(config-cflags-avx) = yes]
25634 (CFLAGS-tst-auditmod7b.c): Likewise.
25635 * elf/tst-audit3.c: Move to ...
25636 * sysdeps/x86_64/tst-audit3.c: ... here.
25637 * elf/tst-audit4.c: Move to ...
25638 * sysdeps/x86_64/tst-audit4.c: ... here.
25639 * elf/tst-audit5.c: Move to ...
25640 * sysdeps/x86_64/tst-audit5.c: ... here.
25641 * elf/tst-audit6.c: Move to ...
25642 * sysdeps/x86_64/tst-audit6.c: ... here.
25643 * elf/tst-audit7.c: Move to ...
25644 * sysdeps/x86_64/tst-audit7.c: ... here.
25645 * elf/tst-auditmod3a.c: Move to ...
25646 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
25647 * elf/tst-auditmod3b.c: Move to ...
25648 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
25649 * elf/tst-auditmod4a.c: Move to ...
25650 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
25651 * elf/tst-auditmod4b.c: Move to ...
25652 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
25653 * elf/tst-auditmod5a.c: Move to ...
25654 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
25655 * elf/tst-auditmod5b.c: Move to ...
25656 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
25657 * elf/tst-auditmod6a.c: Move to ...
25658 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
25659 * elf/tst-auditmod6b.c: Move to ...
25660 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
25661 * elf/tst-auditmod6c.c: Move to ...
25662 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
25663 * elf/tst-auditmod7a.c: Move to ...
25664 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
25665 * elf/tst-auditmod7b.c: Move to ...
25666 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
25667
1ef74943
PP
256682013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
25669
25670 [BZ #15366]
25671 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
25672 define unconditionally.
25673 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
25674 define unconditionally.
25675 (INT8_C, INT16_C, etc.): Likewise.
25676
93fd48c5
MR
256772013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
25678
ae9552cf
MR
25679 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
25680 __ehdr_start with hidden visibility.
25681
93fd48c5
MR
25682 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
25683
418601aa
CD
256842013-04-24 Carlos O'Donell <carlos@redhat.com>
25685
25686 * math/libm-test.inc (cos_test): Use accurate hex constants.
25687 (sincost_test): Likewise.
25688
2f38fbfe
JM
256892013-04-24 Joseph Myers <joseph@codesourcery.com>
25690
5e221800
JM
25691 * math/libm-test.inc (catan_test): Add more tests.
25692 (catanh_test): Likewise.
25693
77f143fd
JM
25694 * math/s_catanf.c (__catanf): Use suffixed floating-point
25695 constants.
25696 * math/s_catanhf.c (__catanhf): Likewise.
25697 * math/s_catanhl.c (__catanhl): Likewise.
25698 * math/s_catanl.c (__catanl): Likewise.
25699
2f38fbfe
JM
25700 [BZ #15394]
25701 * math/s_catan.c (__catan): Calculate imaginary part of result
25702 with log1p not log unless computing log of number close to 0.
25703 * math/s_catanf.c (__catanf): Likewise.
25704 * math/s_catanl.c (__catanl): Likewise.
25705 * math/s_catanh.c (__catanh): Calculate real part of result with
25706 log1p not log unless computing log of number close to 0.
25707 * math/s_catanhf.c (__catanhf): Likewise.
25708 * math/s_catanhl.c (__catanhl): Likewise.
25709 * math/libm-test.inc (catan_test): Add more tests.
25710 (catanh_test): Likewise.
25711 * sysdeps/i386/fpu/libm-test-ulps: Update.
25712 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25713
45d69176
SP
257142013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
25715
25716 * benchtests/Makefile: Mention files in which fast and slow
25717 paths of math functions are implemented.
25718
87f51853
RM
257192013-04-23 Roland McGrath <roland@hack.frob.com>
25720
25721 * sysdeps/posix/timespec_get.c: New file.
25722
3c026539
AZ
257232013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25724
25725 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
25726 POWER.
25727 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
25728 for POWER.
25729 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
25730 powerpc/power5/fpu folders.
25731 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
25732 * benchtests/Makefile: Add modf testcase.
25733 * benchtests/bench-modf.c: New file: Benchmark test for mo
25734
ff491d14
SP
257352013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
25736
25737 [BZ #14888]
25738 * time/Makefile (tests): Add tst-strptime-whitespace.
25739 * time/strptime_l.c (get_number): Use ISSPACE.
25740 (__strptime_internal): Likewise.
25741 * time/tst-strptime-whitespace.c: New test case.
25742
7ed3f4e8
AS
257432013-04-23 Andreas Schwab <schwab@linux-m68k.org>
25744
25745 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
25746 member.
25747 (_nss_files_init): Set it here.
25748
5c95f7b6
HC
257492013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
25750
25751 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
25752 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
25753 unsigned.
25754
d34c9158
JBG
257552013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
25756
25757 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
25758
2169712d
SP
257592013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
25760
25761 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
25762 size just once.
25763
29c5de99
DM
257642013-04-21 David S. Miller <davem@davemloft.net>
25765
25766 * po/ru.po: Update Russion translation from translation project.
25767
ccdad15d
AC
257682013-04-17 Adam Conrad <adconrad@0c3.net>
25769
25770 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
25771 and setfsgid.
25772
0f122b8d
CD
257732013-04-17 Carlos O'Donell <carlos@redhat.com>
25774
5c5b07da 25775 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 25776 * configure: Regenerate.
5c5b07da 25777 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
25778 Add example to error message.
25779 * sysdeps/i386/configure: Regenerate.
25780
037714dd
SP
257812013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
25782
25783 * benchtests/Makefile (bench): Add cos, tan, slowcos and
25784 slowtan.
25785 * benchtests/cos-inputs: New file.
25786 * benchtests/slowcos-inputs: New file.
25787 * benchtests/slowcos.c: New file.
25788 * benchtests/slowtan-inputs: New file.
25789 * benchtests/slowtan.c: New file.
25790 * benchtests/tan-inputs: New file.
25791
e913141d
RM
257922013-04-16 Roland McGrath <roland@hack.frob.com>
25793
25794 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
25795 considered kosher.
25796
a2964074
SP
257972013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
25798
4856bcd2
SP
25799 * benchtests/Makefile: Include cppflags-iterator.mk to add
25800 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
25801
a2964074
SP
25802 * Makefile.in (bench-clean): New target.
25803 * benchtests/Makefile (bench-clean): Likewise.
25804
9fbf9aca
DH
258052013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
25806
25807 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
25808
207d1e2a
TS
258092013-04-15 Thomas Schwinge <thomas@codesourcery.com>
25810
25811 * stdio-common/tstdiomisc.c: Fix coding-style violation.
25812
306dfba9
AS
258132013-04-15 Andreas Schwab <schwab@suse.de>
25814
25815 * nscd/grpcache.c (cache_addgr): Properly check for short write.
25816 * nscd/initgrcache.c (addinitgroupsX): Likewise.
25817 * nscd/pwdcache.c (cache_addpw): Likewise.
25818 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
25819 more than recsize.
25820
206a6699
SP
258212013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
25822
25823 * benchtests/Makefile (bench): Write all output to
25824 bench-out.tmp together.
25825
0582f6b3
AS
258262013-04-15 Andreas Schwab <schwab@suse.de>
25827
25828 * nscd/nscd.c (main): Don't fork again after closing files.
25829
acb4325f
SP
258302013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
25831
5cb26d0a
SP
25832 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
25833
acb4325f
SP
25834 * benchtests/Rules (bench-deps): Collect dependencies into a
25835 single variable. Add Makefile to dependencies.
25836 ($(objpfx)bench-%.c): Depend on bench-deps.
25837
47792506
RM
258382013-04-12 Roland McGrath <roland@hack.frob.com>
25839 Xavier Roche <roche+kml2@exalead.com>
25840
25841 [BZ #15361]
25842 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
25843 just that it's a file descriptor.
25844 * manual/llio.texi (Synchronizing AIO Operations): Update description
25845 for EBADF error from aio_fsync.
25846
8fc1bee5
SP
258472013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
25848
25849 * Rules (bench): Move target definition...
25850 * benchtests/Makefile: ... here.
25851
aba5e333
CD
258522013-04-11 Carlos O'Donell <carlos@redhat.com>
25853
25854 * math/libm-test.inc (cos_test): Fix PI/2 test.
25855 (sincos_test): Likewise.
25856 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
25857 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
25858
273cdee8
AS
258592013-04-11 Andreas Schwab <schwab@suse.de>
25860
6ecec3b6
AS
25861 [BZ #13988]
25862 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
25863 accept exponent character only when digits were seen.
25864 * stdio-common/Makefile (tests): Add bug26.
25865 * stdio-common/bug26.c: New file.
25866
273cdee8
AS
25867 [BZ #14293]
25868 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
25869 non-freeable.
25870
8da491f5
SP
258712013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
25872
01dc6df9
SP
25873 * Makeconfig (rtld-prefix): Define built linker prefix.
25874 * Rules (run-bench): Use it.
25875 * math/Makefile (run-regen-ulps): Likewise.
25876
8da491f5
SP
25877 * Rules (bench): Remove eval.
25878
abe7f530
SP
258792013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
25880 Roland McGrath <roland@hack.frob.com>
25881 Ondrej Bilka <neleai@seznam.cz>
25882
25883 [BZ #15346]
25884 * time/getdate.c: Include ctype.h and alloca.h.
25885 (__getdate_r): Trim leading and trailing spaces of input.
25886 * time/tst-getdate.c (tests): Add tests with leading and
25887 trailing spaces.
25888
61c23e62
RM
258892013-04-08 Roland McGrath <roland@hack.frob.com>
25890
25891 [BZ #14280]
25892 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
25893 when computing value.
25894
7208a313
CD
258952013-04-06 Carlos O'Donell <carlos@redhat.com>
25896
085b2d41
CD
25897 * math/README.libm-test (How can I generate "libm-test-ulps"?):
25898 Use testrun.sh to run libm tests.
25899
7208a313
CD
25900 [BZ #15309]
25901 * elf/dl-open.c (dl_open_worker): memset all of seen array.
25902
872c0acd
MM
259032013-04-06 Marko Myllynen <myllynen@redhat.com>
25904
25905 [BZ #15264]
25906 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
25907
26510bdd
CD
259082013-04-06 Carlos O'Donell <carlos@redhat.com>
25909
25910 * Makefile.in (regen-ulps): New target.
25911 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
25912 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
25913 [ifneq (no,$(PERL)] (regen-ulps): New target.
25914 [ifeq (no,$(PERL)] (regen-ulps): New target.
25915 * math/libm-test.inc (ulps_file_name): Define.
25916 (output_dir): New variable.
25917 (options): Add "output-dir" option.
25918 (parse_opt): Handle 'o' case.
25919 (main): If output_dir is non-NULL use it as a prefix
25920 otherwise use "".
25921 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
25922
a01f19c8
CD
259232013-04-06 Carlos O'Donell <carlos@redhat.com>
25924
25925 [BZ #10060, #10062]
25926 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
25927 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
25928 fail configure if __sync_val_compare_and_swap is not inlined.
25929 * sysdeps/i386/configure: Regenerate.
25930 * configure.in: Build for i686 when configured for i386.
25931 * configure: Regenerate.
25932 * README: Remove i386 reference.
25933
b7a329a5
CD
259342013-04-06 Carlos O'Donell <carlos@redhat.com>
25935
25936 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
25937 * sysdeps/s390/s390-64/sysdep.h: Likewise.
25938
bf0f50df
TS
259392013-04-05 Thomas Schwinge <thomas@codesourcery.com>
25940
ee091edf
TS
25941 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
25942 (lmsnanval): New variables.
25943 (F): Add conversion tests.
25944 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
25945 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
25946
a8b792d6
TS
25947 * stdio-common/tstdiomisc.c (F): Properly collect individual
25948 tests' results.
25949
a1cbf437
TS
25950 [BZ #14686, #15336]
25951 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
25952 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
25953 Instead, use input NaN values or generate a qNaN by arithmetic
25954 operation. Also fix bugs to comply with the standard.
25955 * math/libm-test.inc (remainder_test): Add more tests.
25956
8b43a0c9
TS
25957 [BZ #15335, #15342]
25958 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
25959 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
25960 input NaN values or generate a qNaN by arithmetic operation.
25961
d91da4ce
TS
25962 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
25963 unreachable code.
25964
bf0f50df
TS
25965 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
25966 definitions.
25967
05e166c8
JM
259682013-04-03 Joseph Myers <joseph@codesourcery.com>
25969
25970 [BZ #14478]
25971 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
25972 underflowed result.
25973 * math/s_cexpf.c (__cexpf): Likewise.
25974 * math/s_cexpl.c (__cexpl): Likewise.
25975 * math/libm-test.inc (cexp_test): Add more tests.
25976
1cef1b19
AS
259772013-04-03 Andreas Schwab <schwab@suse.de>
25978
25979 [BZ #15330]
25980 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
25981 order arrays from heap if bigger than alloca cutoff.
25982
74d87055
TS
259832013-04-03 Thomas Schwinge <thomas@codesourcery.com>
25984
25985 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
25986 (SNAN_TESTS_double): Refer to GCC PR56831.
25987 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
25988 GCC PR56828.
25989
d755bba4
SP
259902013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
25991
90d5d5bb
SP
25992 * Rules (bench): Move bench.out after the run is complete.
25993
73e0cd5d
SP
25994 * Rules (bench): Echo currently running benchmark.
25995
64aabd4b
SP
25996 * benchtests/Makefile (bench): Add atan and slowatan.
25997 * benchtests/atan-inputs: New file.
25998 * benchtests/slowatan-inputs: New file.
25999 * benchtests/slowatan.c: New file.
26000
c871eccd
SP
26001 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
26002 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
26003 its value.
26004
d755bba4
SP
26005 [BZ #15305]
26006 * sysdeps/unix/sysv/linux/kernel-features.h
26007 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
26008 __ASSUME_XFS_RESTRICTED_CHOWN.
26009 * sysdeps/unix/sysv/linux/pathconf.c
26010 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
26011 Save and restore errno.
26012
52ce4860
JM
260132013-04-02 Joseph Myers <joseph@codesourcery.com>
26014
26015 [BZ #15327]
26016 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
26017 arguments using __kernel_casinh.
26018 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
26019 arguments using __kernel_casinhf.
26020 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
26021 arguments using __kernel_casinhl.
26022 * math/libm-test.inc (cacosh_test): Add more tests.
26023 * sysdeps/i386/fpu/libm-test-ulps: Update.
26024 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26025
81f311c2
SP
260262013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
26027
e7906a47
SP
26028 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
26029 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
26030
92e3664b
SP
26031 * bench/Makefile (bench): Add sin and slowsin.
26032 * benchtests/sin-inputs: New file.
26033 * benchtests/slowsin-inputs: New file.
26034 * benchtests/slowsin.c: New file.
26035
81f311c2
SP
26036 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
26037 (bench): Add slowexp and slowpow.
26038 (exp-ITER): Increase iterations.
26039 (pow-ITER): Likewise.
26040 * benchtests/exp-inputs: Change input.
26041 * benchtests/pow-inputs: Likewise.
26042 * benchtests/slowexp-inputs: New file.
26043 * benchtests/slowexp.c: New file.
26044 * benchtests/slowpow-inputs: New file.
26045 * benchtests/slowpow.c: New file.
26046
ab0f1aa9
AZ
260472013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26048
26049 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
26050 instructions.
26051 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
26052 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
26053 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
26054 * benchtests/Makefile: Add rint benchtest.
26055 * benchtests/rint-inputs: Input for rint benchtest.
26056
57267616
TS
260572013-04-02 Thomas Schwinge <thomas@codesourcery.com>
26058
26059 * Versions.def (libm): Add GLIBC_2.18.
26060 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
26061 hidden libm prototypes.
26062 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
26063 * math/Makefile (libm-calls): Add s_issignaling.
26064 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
26065 __issignalingf, __issignalingl. Adjust all libm.abilist files.
26066 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
26067 declaration.
26068 * math/math.h [__USE_GNU] (issignaling): New macro.
26069 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
26070 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
26071 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
26072 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
26073 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
26074 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
26075 * manual/arith.texi (issignaling): New section.
26076 * manual/libm-err-tab.pl (@all_functions): Update comment.
26077 * math/gen-libm-test.pl (parse_args): Apply special handling for
26078 issignaling.
26079 * math/libm-test.inc (print_float, issignaling_test): New
26080 functions.
26081 (check_float_internal): Add issignaling checks.
26082 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
26083 default definition.
26084 * sysdeps/powerpc/math-tests.h: New file.
26085 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
26086 tests.
26087 * math/test-snan.c (TEST_FUNC): Likewise.
26088
6142896d
DM
260892013-03-30 David S. Miller <davem@davemloft.net>
26090
26091 * po/de.po: Update from translation team.
26092
ccc8cadf
JM
260932013-03-30 Joseph Myers <joseph@codesourcery.com>
26094
26095 [BZ #10357]
26096 * math/k_casinh.c (__kernel_casinh): Handle arguments with
26097 imaginary part less than 1.0 and real part less than 0.5
26098 specially.
26099 * math/k_casinhf.c (__kernel_casinhf): Likewise.
26100 * math/k_casinhl.c (__kernel_casinhl): Likewise.
26101 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
26102 (cacos_test): Add more tests.
26103 (casin_test): Likewise.
26104 (casinh_test): Likewise.
26105 * sysdeps/i386/fpu/libm-test-ulps: Update.
26106 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26107
0f6a8d4b
SP
261082013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
26109
0d1029de
SP
26110 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
26111 ONE with its value.
26112
c2d94018
SP
26113 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
26114 (__pow_mp): Replace ONE and MONE with their values.
26115 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
26116 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
26117 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
26118 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
26119 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
26120 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
26121
27ec37f1
SP
26122 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
26123
a64d7e0e
SP
26124 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
26125 (__pow_mp): Replace ZERO and MZERO with their values.
26126 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
26127 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
26128 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
26129 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
26130 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
26131 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
26132 (__sqr): Likewise.
26133
d26dd3eb
SP
26134 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
26135
0f6a8d4b
SP
26136 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
26137
e57b0c61
RM
261382013-03-28 Roland McGrath <roland@hack.frob.com>
26139
26140 * include/stdlib.h [!SHARED] (__call_tls_dtors):
26141 Declare with __attribute__ ((weak)).
26142 * stdlib/exit.c (__libc_atexit) [!SHARED]:
26143 Call __call_tls_dtors only if it's not NULL.
26144
356b3480
RM
261452013-03-28 Roland McGrath <roland@hack.frob.com>
26146
288f7d79
RM
26147 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
26148 didn't do it already, then set _dl_phdr and _dl_phnum based on the
26149 magic __ehdr_start linker symbol if it's defined.
26150 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
26151 them up here if it was already done.
26152
dc0a0263
RM
26153 * elf/dl-support.c (_dl_phdr): Make pointer to const.
26154 (_dl_aux_init): Use const in cast when setting it.
26155 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
26156 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
26157 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
26158
3d3436ae
RM
26159 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
26160 Declare them here.
26161 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
26162 * csu/libc-tls.c: Nor here.
26163 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
26164
356b3480
RM
26165 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
26166 (__libc_message): Never call vsyslog.
26167
b0f1246a
AM
261682013-03-28 Alan Modra <amodra@gmail.com>
26169
26170 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
26171 Define as empty.
26172 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
26173 Likewise.
26174
fbbe2b9a
AZ
261752013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26176
26177 [BZ #15214]
26178 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
26179 underflow.
26180 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26181
1728ab37
SP
261822013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
26183
7a86be6e
SP
26184 [BZ #15304]
26185 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
26186 Don't add gid passed as argument.
26187
1728ab37
SP
26188 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
26189
3a7182a1
JM
261902013-03-27 Joseph Myers <joseph@codesourcery.com>
26191
26192 [BZ #15307]
26193 * math/k_casinh.c (__kernel_casinh): Handle arguments with
26194 imaginary part between 1.0 and 1.5 and real part less than 0.5
26195 specially.
26196 * math/k_casinhf.c (__kernel_casinhf): Likewise.
26197 * math/k_casinhl.c (__kernel_casinhl): Likewise.
26198 * math/libm-test.inc (cacos_test): Add more tests.
26199 (casin_test): Likewise.
26200 (casinh_test): Likewise.
26201 * sysdeps/i386/fpu/libm-test-ulps: Update.
26202 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26203
6f2e90e7
SP
262042013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
26205
5739f705
SP
26206 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
26207 constants.
26208 (norm): Likewise.
26209 (denorm): Likewise.
26210 (__dbl_mp): Likewise.
26211 (add_magnitudes): Likewise.
26212 (sub_magnitudes): Likewise.
26213 (__add): Likewise.
26214 (__sub): Likewise.
26215 (__mul): Likewise.
26216 (__sqr): Likewise.
26217 (__inv): Likewise.
26218 (__dvd): Likewise.
26219
e375e83d
SP
26220 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
26221 commented code.
26222 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
26223 (__dubcos): Likewise.
26224 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
26225 (__ieee754_acos): Likewise.
26226 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
26227 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
26228 (__exp1): Likewise.
26229 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
26230 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
26231 (log1): Likewise.
26232 (my_log2): Likewise.
26233 (checkint): Likewise.
26234 * sysdeps/ieee754/dbl-64/e_remainder.c
26235 (__ieee754_remainder): Likewise.
26236 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
26237 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
26238 (bsloww): Likewise.
26239 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
26240
6f2e90e7
SP
26241 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
26242 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
26243 MANTISSA_STORE_T to store computations on mantissa. Use
26244 macros for rounding and division.
26245 (denorm): Likewise.
26246 (__dbl_mp): Likewise.
26247 (add_magnitudes): Likewise.
26248 (sub_magnitudes): Likewise.
26249 (__mul): Likewise.
26250 (__sqr): Likewise.
26251 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
26252 powers of two in terms of TWOPOW macro.
26253 (mp_no): Make type of mantissa as MANTISSA_T.
26254 [!RADIXI]: Define RADIXI.
26255 [!TWO52]: Define TWO52.
26256 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
26257
fce14d4e
AZ
262582013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26259
26260 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
26261 llroundl symbol when building for PPC32.
26262
9ad027fb
MW
262632013-03-24 Mark H Weaver <mhw@netris.org>
26264
26265 * manual/arith.texi (Normalization Functions): Fix prototypes for
26266 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
26267
e42a38dd
AZ
262682013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26269
26270 [BZ #13889]
26271 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
26272 high value to check if expl overflow.
26273 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
26274 to check for underflow and overflow.
26275 * math/libm-test.inc: Add exp test.
26276
2e0fb521
DL
262772013-03-21 Dmitry V. Levin <ldv@altlinux.org>
26278
26279 [BZ #11120]
26280 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
26281 with NOT_IN_libc.
26282
b5784d95
AZ
262832013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26284
26285 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
26286 symbol.
26287
5aa4a1a1
TS
262882013-03-21 Thomas Schwinge <thomas@codesourcery.com>
26289
bdef0be7
TS
26290 * math/gen-libm-test.pl (parse_args, special_functions): Properly
26291 wrap blocks consisting of several statements.
26292
5aa4a1a1
TS
26293 * sysdeps/generic/math-tests.h: New file.
26294 * sysdeps/i386/fpu/math-tests.h: Likewise.
26295 * math/test-snan.c: Include it.
26296 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
26297
98c48fe5
JM
262982013-03-21 Joseph Myers <joseph@codesourcery.com>
26299
26300 [BZ #15285]
26301 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
26302 (__ieee754_j0l): Do not improve calculations using cos of twice
26303 input for inputs above LDBL_MAX / 2.0L.
26304 (__ieee754_y0l): Likewise.
26305 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
26306 (__ieee754_j1l): Do not improve calculations using cos of twice
26307 input for inputs above LDBL_MAX / 2.0L.
26308 (__ieee754_y1l): Likewise.
26309 * math/libm-test.inc (j0_test): Add another test.
26310 (j1_test): Likewise.
26311 (y0_test): Likewise.
26312 (y1_test): Likewise.
26313 * sysdeps/i386/fpu/libm-test-ulps: Update.
26314
3775a8bc
SP
263152013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
26316
26317 * Rules ($(objpfx)bench-%.c): Include code from a C source
26318 file.
26319
0a1b2ae6
JM
263202013-03-21 Joseph Myers <joseph@codesourcery.com>
26321
26322 [BZ #15287]
26323 * math/k_casinh.c (__kernel_casinh): Handle arguments with
26324 imaginary part 1.0 and real part less than 0.5 specially.
26325 * math/k_casinhf.c (__kernel_casinhf): Likewise.
26326 * math/k_casinhl.c (__kernel_casinhl): Likewise.
26327 * math/libm-test.inc (cacos_test): Add more tests.
26328 (casin_test): Likewise.
26329 (casinh_test): Likewise.
26330 * sysdeps/i386/fpu/libm-test-ulps: Update.
26331 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26332
b33d4ce4
SP
263332013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
26334
26335 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
26336 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
26337
bef0b507
JM
263382013-03-20 Joseph Myers <joseph@codesourcery.com>
26339
26340 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
26341 * config.make.in (config-cflags-sse4): Remove variable.
26342 (config-cflags-avx): Likewise.
26343 (config-cflags-sse2avx): Likewise.
26344 (config-cflags-novzeroupper): Likewise.
26345 (config-asflags-i686): Likewise.
26346 (have-mfma4): Likewise.
26347 (have-as-vis3): Likewise.
26348 (MIG): Likewise.
26349 * configure.in (MIG): Do not AC_SUBST.
26350 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
26351 (libc_cv_cc_sse4): Do not AC_SUBST.
26352 (libc_cv_cc_avx): Likewise.
26353 (libc_cv_cc_sse2avx): Likewise.
26354 (libc_cv_cc_novzeroupper): Likewise.
26355 (libc_cv_cc_fma4): Likewise.
26356 (libc_cv_as_i686): Likewise.
26357 (libc_cv_sparc_as_vis3): Likewise.
26358 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
26359 LIBC_CONFIG_VAR.
26360 (config-asflags-i686): Likewise.
26361 (config-cflags-avx): Likewise.
26362 (config-cflags-sse2avx): Likewise.
26363 (have-mfma4): Likewise.
26364 (config-cflags-novzeroupper): Likewise.
26365 * sysdeps/mach/configure.in (MIG): Likewise.
26366 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
26367 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
26368 LIBC_CONFIG_VAR.
26369 (config-cflags-avx): Likewise.
26370 (config-cflags-sse2avx): Likewise.
26371 (have-mfma4): Likewise.
26372 (config-cflags-novzeroupper): Likewise.
26373 * configure: Regenerated.
26374 * sysdeps/i386/configure: Likewise.
26375 * sysdeps/mach/configure: Likewise.
26376 * sysdeps/sparc/configure: Likewise.
26377 * sysdeps/x86_64/configure: Likewise.
26378
912cc4b3
RM
263792013-03-20 Roland McGrath <roland@hack.frob.com>
26380
26381 [BZ #14812]
26382 * locale/programs/localedef.c (options): Put N_ translation marker
26383 on argument names, not just descriptions.
26384
04eed2b0
MS
263852013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
26386
26387 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
26388
a065ceff
OB
263892013-03-20 Ondřej Bílka <neleai@seznam.cz>
26390
9bb2a810 26391 [BZ #14176]
a065ceff
OB
26392 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
26393
a600e5ce
RM
263942013-03-19 Roland McGrath <roland@hack.frob.com>
26395
26396 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
26397 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
26398 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
26399 [!BEFORE_ABORT] (before_abort): New function.
26400 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
26401 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
26402 (writev_for_fatal): New function.
26403 (WRITEV_FOR_FATAL): New macro; call that.
26404 (backtrace_and_maps): New function.
26405 (BEFORE_ABORT): New macro; call that.
26406 (struct str_list): Type removed.
26407 (__libc_message, __libc_fatal): Functions removed.
26408 Include <sysdeps/posix/libc_fatal.c> instead.
26409
6b18bea6
JM
264102013-03-19 Joseph Myers <joseph@codesourcery.com>
26411
26412 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
26413 constants.
26414 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
26415 double constants.
26416
aaa8cb4b
AS
264172013-03-19 Andreas Schwab <schwab@suse.de>
26418
44673770
AS
26419 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
26420 * sysdeps/gnu/configure: Regenerate.
26421
aaa8cb4b
AS
26422 * configure.in: Substitute libc_cv_rtlddir.
26423 * configure: Regenerate.
26424 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
26425 * Makeconfig (rtlddir, inst_rtlddir): New variables.
26426 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
26427 * elf/Makefile (install-others, CFLAGS-interp.c)
26428 (ldso_install, common-ldd-rewrite): Likewise.
26429 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
26430 $(inst_slibdir)/$(rtld-installed-name).
26431 * scripts/rellns-sh: Add -p option.
26432 * Makerules (make-shlib-link): Use rellns-sh to get relative name
26433 for source.
26434
d3cfc668
SP
264352013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
26436
26437 * manual/nptl.texi: Renamed to ...
26438 * manual/threads.texi: ... this.
26439 * manual/Makefile (chapters): Update.
26440
0e2b9cdd
RM
264412013-03-18 Roland McGrath <roland@hack.frob.com>
26442
26443 [BZ #14812]
26444 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
26445 on argument names, not just descriptions.
0e2b9cdd
RM
26446 * malloc/memusagestat.c (options): Likewise.
26447 * nss/getent.c (options): Likewise.
63270c24
RM
26448
264492013-03-18 Benno Schulenberg <bensberg@justemail.net>
26450
26451 [BZ #14812]
26452 * iconv/iconv_prog.c (options): Put N_ translation marker
26453 on argument names, not just descriptions.
26454 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 26455
b2e1393c
OB
264562013-03-18 Ondrej Bilka <neleai@seznam.cz>
26457
26458 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
26459 implementation which is faster on all x86_64 architectures.
26460 Tested on AMD, Intel Nehalem, SNB, IVB.
26461 * sysdeps/x86_64/strnlen.S: Likewise.
26462
26463 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
26464 Remove all multiarch strlen and strnlen versions.
26465 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
26466 Remove strlen and strnlen related parts.
26467
26468 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
26469 Inline strlen part.
26470 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
26471
26472 * sysdeps/x86_64/multiarch/strlen.S: Remove.
26473 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
26474 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
26475 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
26476 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
26477 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
26478
ec4ff04d
CD
264792013-03-17 Carlos O'Donell <carlos@redhat.com>
26480
26481 * manual/memory.texi (Malloc Tunable Parameters):
26482 Sort parameters alphabetically. Add comments for missing entries.
26483
cd18e90a
DM
264842013-03-17 David S. Miller <davem@davemloft.net>
26485
26486 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26487
2a185d32
JM
264882013-03-16 Joseph Myers <joseph@codesourcery.com>
26489
d2f9799e
JM
26490 [BZ #15283]
26491 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
26492 for arguments at most half maximum finite value.
26493 * math/libm-test.inc (j0_test): Add more tests.
26494 (j1_test): Likewise.
26495 (y0_test): Likewise.
26496 (y1_test): Likewise.
26497 * sysdeps/i386/fpu/libm-test-ulps: Update.
26498 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26499
2a185d32
JM
26500 [BZ #14155]
26501 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
26502 1 / x and functions P and Q for arguments above 0x1p256L.
26503 (__ieee754_y0l): Likewise.
26504 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
26505 (__ieee754_y1l): Likewise.
26506 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
26507 (j1_test): Likewise.
26508 (y0_test): Likewise.
26509 (y1_test): Likewise.
26510
6cbec759
TS
265112013-03-16 Thomas Schwinge <thomas@codesourcery.com>
26512
26513 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
26514 variable.
26515
bc16e260
RM
265162013-03-15 Roland McGrath <roland@hack.frob.com>
26517
aefc9b8c
RM
26518 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
26519 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
26520 zero since it's initialized to EXEC_PAGESIZE.
26521
bc16e260
RM
26522 * sysdeps/unix/sysv/linux/ldsodefs.h
26523 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
26524 * sysdeps/generic/ldsodefs.h: ... here.
26525
a57da955
TS
265262013-03-15 Thomas Schwinge <thomas@codesourcery.com>
26527
af00a34d
TS
26528 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
26529
495ded2c
TS
26530 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
26531 math/test-snan.c.
26532 * math/test-snan.c: Renamed from
26533 sysdeps/powerpc/fpu/test-powerpc-snan.c.
26534 * math/Makefile (tests): Add test-snan.
26535 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
26536 test-powerpc-snan.
26537
777b0332
TS
26538 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
26539 SUFFIX. Initialize qNaN_var with __builtin_nan family of
26540 functions.
26541 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
26542 __builtin_nan family of functions.
26543 * math/libm-test.inc (initialize): Initialize qnan_value with
26544 __builtin_nan family of functions.
26545 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
26546 Remove variables.
26547 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
26548 Remove functions.
26549 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
26550 storage class. Initialize qNaN_var and sNaN_var with
26551 __builtin_nan and __builtin_nans families of functions,
26552 respectively.
26553
64d063b8
TS
26554 * math/libm-test.inc (acosh_test): Also test with qNaN input.
26555 (sqrt_test): Remove duplicate test with qNaN input.
26556 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
26557 (round_test, signbit_test, significand_test): Note missing +/-Inf
26558 as well as qNaN tests.
26559
67e971f1
TS
26560 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
26561 qNaN_var. Fix a few strings, too.
26562 * math/libm-test.inc (nan_value): Rename to qnan_value.
26563 * math/gen-libm-test.pl (%beautify): Adjust to that.
26564 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
26565 * math/test-misc.c (main): Likewise.
26566 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
26567 to __qnan_bytes, and __qnan_union, respectively.
26568 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
26569 Likewise.
26570 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
26571 and lqnanval, respectively.
26572 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
26573 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
26574 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
26575 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
26576
64487e12
TS
26577 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
26578 * math/test-misc.c (main) [__x86_64__]: Enable test for long
26579 doubles.
26580
e015e27b
TS
26581 * math/test-misc.c (main): Fix copy'n'pastos.
26582 * misc/tst-efgcvt.c (special): Likewise.
26583
a57da955
TS
26584 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
26585 Remove declarations.
26586
1e380345
SP
265872013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
26588
26589 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
26590 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
26591 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
26592 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
26593
ef26eece
AZ
265942013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26595
26596 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
26597 macro to return vdso values correctly in IFUNC implementations.
26598 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
26599 Optimization by using IFUNC.
26600
8cfdb7e0
SP
266012013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
26602 Richard Henderson <rth@redhat.com>
26603 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
26604
26605 * Makefile.in (bench): New target.
26606 * NEWS: Mention the benchmark framework.
26607 * Rules (bench): Likewise.
26608 (binaries-bench): Generate binaries for functions to
26609 benchmark.
26610 * benchtests/Makefile: New makefile for benchmark tests.
26611 * benchtests/bench-skeleton.c: New skeleton file for benchmark
26612 programs.
26613 * benchtests/exp-inputs: New input file for EXP function.
26614 * benchtests/pow-inputs: New input file for POW function.
26615 * scripts/bench.pl: New script to generate source files for
26616 benchmark programs.
26617
bcda9880
SP
266182013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
26619
d22ca8cd
SP
26620 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
26621 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
26622 computations on mantissa. Use macros for rounding and
26623 division.
26624 (denorm): Likewise.
26625 (__dbl_mp): Likewise.
26626 (add_magnitudes): Likewise.
26627 (sub_magnitudes): Likewise.
26628 (__mul): Likewise.
26629 (__sqr): Likewise.
26630 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
26631 powers of two in terms of TWOPOW macro.
26632 (mp_no): Make type of mantissa as MANTISSA_T.
26633 [!RADIXI]: Define RADIXI.
26634 [!TWO52]: Define TWO52.
26635 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
26636
bcda9880
SP
26637 * manual/nptl.texi (cindex): Modify threads to pthreads.
26638
06d5adfb
JM
266392013-03-15 Joseph Myers <joseph@codesourcery.com>
26640
26641 * sysdeps/x86_64/preconfigure: Regenerated.
26642
41c7328e
JM
266432013-03-14 Joseph Myers <joseph@codesourcery.com>
26644
26645 [BZ #14155]
26646 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
26647 0x1p28 and above.
26648 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
26649 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
26650 0x1p28 and above.
26651 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
26652 * math/libm-test.inc (j0_test): Do not allow one spurious
26653 underflow exception.
26654 (y1_test): Likewise.
26655
e25cfa60
SP
266562013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
26657
0409959c
SP
26658 * manual/Makefile (chapters): Add nptl.
26659 * manual/debug.texi (Debugging Support): Add link to Threads
26660 chapter.
26661 * manual/nptl.texi: New file.
26662
e25cfa60
SP
26663 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
26664
58a1335e
PB
266652013-03-14 Petr Baudis <pasky@ucw.cz>
26666
26667 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
26668 for non-NULL pointer before the memory validity test. Pointed
26669 out by Holger Brunck <holger.brunck@keymile.com>.
26670
9dc7c64f
AS
266712013-03-13 Andreas Schwab <schwab@suse.de>
26672
26673 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
26674 instead of .os.
26675
54206aa6
JM
266762013-03-13 Joseph Myers <joseph@codesourcery.com>
26677
26678 * timezone/zic.c: Update from tzcode 2013b.
26679
e98cdb38
CD
266802013-03-12 Carlos O'Donell <carlos@redhat.com>
26681
26682 * manual/install.texi (Configuring and compiling):
26683 Mention i686 and i586.
26684 * INSTALL: Regenerate.
26685
9967e003
RM
266862013-03-12 Roland McGrath <roland@hack.frob.com>
26687
26688 * sysdeps/init_array/elf-init.c: New file.
26689 * csu/elf-init.c
26690 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
26691 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
26692
26693 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
26694 __gmon_start__ as global, but as static with a .preinit_array pointer.
26695 * sysdeps/init_array/gmon-start.c: New file. Use that.
26696 * sysdeps/init_array/crti.S: New file, empty except for comments.
26697 * sysdeps/init_array/crtn.S: Likewise.
26698
e6b5a293 266992013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
26700
26701 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
26702 definining bcopy.
80f844c9
OB
26703 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26704 Remove Prefer_SSE_for_memop.
26705 * sysdeps/x86_64/multiarch/init-arch.h: Remove
26706 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
26707 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
26708 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
26709 memset-x86-64.
80f844c9 26710 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 26711 Remove bzero, memset ifunc support.
80f844c9
OB
26712 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
26713 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
26714 * sysdeps/x86_64/multiarch/memset.S: Likewise.
26715 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
26716
fb6b0fcb
AS
267172013-03-11 Andreas Schwab <schwab@suse.de>
26718
26719 [BZ #15234]
26720 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
26721 by SHLIB_COMPAT.
26722 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
26723 (GLIBC_2.16): Remove pthread_atfork.
26724
3e6bd4b1
PP
267252013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
26726
26727 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
26728 (ptestcases.h): Likewise.
26729
222d7f00
RM
267302013-03-08 Roland McGrath <roland@hack.frob.com>
26731
26732 * Makeconfig ($(common-objpfx)config.status): Depend on
26733 sysdeps/*/preconfigure{,.in} too.
26734
1ba4f030
JM
267352013-03-08 Joseph Myers <joseph@codesourcery.com>
26736
a222d91a
JM
26737 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
26738 (__free_hook): Use void * instead of __malloc_ptr_t.
26739 (__malloc_hook): Likewise.
26740 (__realloc_hook): Likewise.
26741 (__memalign_hook): Likewise.
26742 (__after_morecore_hook): Likewise.
26743 * malloc/arena.c (save_malloc_hook): Likewise.
26744 (save_free_hook): Likewise.
26745 * malloc/hooks.c (malloc_hook_ini): Likewise.
26746 (realloc_hook_ini): Likewise.
26747 (memalign_hook_ini): Likewise.
26748 * malloc/malloc.c (malloc_hook_ini): Likewise.
26749 (realloc_hook_ini): Likewise.
26750 (memalign_hook_ini): Likewise.
26751 (__free_hook): Likewise.
26752 (__malloc_hook): Likewise.
26753 (__realloc_hook): Likewise.
26754 (__memalign_hook): Likewise.
26755 (__libc_malloc): Likewise.
26756 (__libc_free): Likewise.
26757 (__libc_realloc): Likewise.
26758 (__libc_memalign): Likewise.
26759 (__libc_valloc): Likewise.
26760 (__libc_pvalloc): Likewise.
26761 (__libc_calloc): Likewise.
26762 (__posix_memalign): Likewise.
26763 * malloc/morecore.c (__sbrk): Likewise.
26764 (__default_morecore): Likewise.
26765
5cc45e10
JM
26766 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
26767
dd54b864
JM
26768 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
26769 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
26770 __malloc_ptrdiff_t.
26771
1ba4f030
JM
26772 * malloc/malloc.h (__malloc_size_t): Remove macro.
26773 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
26774 __malloc_size_t.
26775 (old_memalign_hook): Likewise.
26776 (old_realloc_hook): Likewise.
26777 (struct hdr): Likewise.
26778 (flood): Likewise.
26779 (mallochook): Likewise.
26780 (memalignhook): Likewise.
26781 (reallochook): Likewise.
26782 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
26783 (tr_old_realloc_hook): Likewise.
26784 (tr_old_memalign_hook): Likewise.
26785 (tr_mallochook): Likewise.
26786 (tr_reallochook): Likewise.
26787 (tr_memalignhook): Likewise.
26788
edf66e57
AZ
267892013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26790
26791 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
26792 default_ldbl_pack and using as default implementation.
26793 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
26794 implementation.
26795 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
26796 redundant definition.
26797 (ldbl_insert_mantissa): Likewise.
26798 (ldbl_canonicalize): Likewise.
26799 (ldbl_nearbyint): Likewise.
26800 (ldbl_pack): Rename to ldbl_pack_ppc.
26801 (ldbl_unpack): Rename to ldbl_unpack_ppc.
26802 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
26803 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
26804
6d9145d8
SP
268052013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
26806
26807 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
26808 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
26809 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
26810 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
26811 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
26812 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
26813 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
26814 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
26815
4dd4e157
AJ
268162013-03-07 Andreas Jaeger <aj@suse.de>
26817
26818 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26819 bits/mman-linux.h.
26820
adbb8027
SP
268212013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
26822
ce544b5b
SP
26823 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
26824 Include mpa.h and declare __MPEXP.
26825 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
26826 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
26827 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
26828 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
26829 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
26830 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
26831 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
26832
4cc149fd
SP
26833 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
26834 (__slowpow): Use long double EXPL and LOGL functions to
26835 compute POW.
26836 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
26837 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
26838 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
26839 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
26840 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
26841 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
26842
e6ebd4a7
SP
26843 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
26844 intermediate variable to calculate exponent.
26845 (__sqr): Likewise.
26846 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
26847 Likewise.
26848 (__sqr): Likewise.
26849
82a9811d
SP
26850 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
26851 [!NO__SQR]: Define __sqr.
26852 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
26853 and NO__SQR. Remove all code except __mul and __sqr. Include
26854 sysdeps/ieee754/dbl-64/mpa.c.
26855 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
26856
adbb8027
SP
26857 [BZ #12723]
26858 * posix/Makefile (tests): Add tst-pathconf.
26859 * posix/tst-pathconf.c: New test case.
26860 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
26861 _PC_PIPE_BUF.
26862 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
26863
39120df9
PF
268642013-03-06 Patsy Franklin <pfrankli@redhat.com>
26865
26866 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
26867
67525cb8
AJ
268682013-03-06 Andreas Jaeger <aj@suse.de>
26869
664a9ce4
AJ
26870 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
26871 definition via __MAP_ANONYMOUS.
26872
8e39047d
AJ
26873 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
26874 it's not part of Linux headers.
26875
67525cb8
AJ
26876 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
26877 (MAP_HUGE_MASK): Define.
26878
26879 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
26880 Define.
26881 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
26882 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
26883 Define.
26884 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
26885 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
26886 Define.
26887 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
26888 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
26889 Define.
26890 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
26891
26892 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
26893 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
26894 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
26895 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
26896 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
26897 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
26898
26899 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
26900 Handle f2fs.
26901
26902 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
26903 Handle f2fs and efivarfs.
26904
26905 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
26906 f2fs.
26907
26908 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
26909 (EFIVARFS_MAGIC): Add.
26910 (F2FS_LINK_MAX): Add.
26911
e1b42695
PP
269122013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
26913
26914 * stdio-common/vfprintf.c: Replace __builtin_expect with
26915 __glibc_unlikely.
26916
2d67d91a
JM
269172013-03-06 Joseph Myers <joseph@codesourcery.com>
26918
26919 [BZ #13550]
26920 * sysdeps/generic/bp-sym.h: Remove file.
26921 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
26922 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
26923 <bp-sym.h> and <bp-asm.h>.
26924 (__longjmp): Don't use BP_SYM.
26925 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
26926 and <bp-asm.h>.
26927 (memcpy): Don't use BP_SYM.
26928 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
26929 <bp-sym.h> and <bp-asm.h>.
26930 (memcpy): Don't use BP_SYM.
26931 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
26932 <bp-asm.h>.
26933 (memcpy): Don't use BP_SYM.
26934 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
26935 <bp-asm.h>.
26936 (memset): Don't use BP_SYM.
26937 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
26938 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
26939 (__bzero): Don't use BP_SYM.
26940 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
26941 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
26942 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
26943 <bp-sym.h> and <bp-asm.h>.
26944 (memcmp): Don't use BP_SYM. Remove comment about bounded
26945 pointers.
26946 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
26947 <bp-sym.h> and <bp-asm.h>.
26948 (memcpy): Don't use BP_SYM.
26949 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
26950 <bp-sym.h> and <bp-asm.h>.
26951 (memset): Don't use BP_SYM.
26952 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
26953 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
26954 (__bzero): Don't use BP_SYM.
26955 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
26956 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
26957 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
26958 <bp-sym.h> and <bp-asm.h>.
26959 (strncmp): Don't use BP_SYM. Remove comment about bounded
26960 pointers.
26961 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
26962 <bp-sym.h> and <bp-asm.h>.
26963 (memcpy): Don't use BP_SYM.
26964 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
26965 <bp-sym.h> and <bp-asm.h>.
26966 (memset): Don't use BP_SYM.
26967 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
26968 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
26969 (__bzero): Don't use BP_SYM.
26970 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
26971 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
26972 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
26973 <bp-sym.h> and <bp-asm.h>.
26974 (__memchr): Don't use BP_SYM.
26975 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
26976 <bp-sym.h> and <bp-asm.h>.
26977 (memcmp): Don't use BP_SYM. Remove comment about bounded
26978 pointers.
26979 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
26980 <bp-sym.h> and <bp-asm.h>.
26981 (memcpy): Don't use BP_SYM.
26982 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
26983 <bp-sym.h> and <bp-asm.h>.
26984 (__mempcpy): Don't use BP_SYM.
26985 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
26986 <bp-sym.h> and <bp-asm.h>.
26987 (__memrchr): Don't use BP_SYM.
26988 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
26989 <bp-sym.h> and <bp-asm.h>.
26990 (memset): Don't use BP_SYM.
26991 (__bzero): Likewise.
26992 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
26993 <bp-sym.h> and <bp-asm.h>.
26994 (__rawmemchr): Don't use BP_SYM.
26995 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
26996 <bp-sym.h> and <bp-asm.h>.
26997 (__STRCMP): Don't use BP_SYM.
26998 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
26999 <bp-sym.h> and <bp-asm.h>.
27000 (strchr): Don't use BP_SYM.
27001 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
27002 <bp-sym.h> and <bp-asm.h>.
27003 (__strchrnul): Don't use BP_SYM.
27004 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
27005 <bp-sym.h> and <bp-asm.h>.
27006 (strlen): Don't use BP_SYM.
27007 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
27008 <bp-sym.h> and <bp-asm.h>.
27009 (strncmp): Don't use BP_SYM. Remove comment about bounded
27010 pointers.
27011 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
27012 <bp-sym.h> and <bp-asm.h>.
27013 (__strnlen): Don't use BP_SYM.
27014 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
27015 <bp-sym.h> and <bp-asm.h>.
27016 (__GI__setjmp): Don't use BP_SYM.
27017 (_setjmp): Likewise.
27018 (__sigsetjmp): Likewise.
27019 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
27020 (L(start_addresses)): Don't use BP_SYM.
27021 (_start): Likewise.
27022 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
27023 <bp-asm.h>.
27024 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
27025 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
27026 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
27027 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
27028 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
27029 <bp-asm.h>.
27030 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
27031 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
27032 about bounded pointers.
27033 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
27034 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
27035 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
27036 <bp-asm.h>.
27037 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
27038 about bounded pointers. Remove GKM FIXME comments.
27039 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
27040 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
27041 <bp-asm.h>.
27042 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
27043 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
27044 Remove GKM FIXME comments.
27045 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
27046 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
27047 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
27048 <bp-asm.h>.
27049 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
27050 about bounded pointers. Remove GKM FIXME comment.
27051 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
27052 and <bp-asm.h>.
27053 (strncmp): Don't use BP_SYM. Remove comment about bounded
27054 pointers.
27055 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
27056 <bp-sym.h> and <bp-asm.h>.
27057 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
27058 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
27059 <bp-sym.h> and <bp-asm.h>.
27060 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
27061 comment.
27062
cdcf361f
PP
270632013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
27064
27065 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
27066 call free(NULL).
27067
3c4a2b15
DM
270682013-03-05 David S. Miller <davem@davemloft.net>
27069
27070 * po/es.po: Update from translation team.
27071
cdcf361f 270722013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
27073
27074 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
27075 <bits/mman-linux.h>.
27076 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
27077 is fine.
27078 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
27079 <bits/mman-linux.h> to end of file.
27080 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
27081 is fine.
27082 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
27083 <bits/mman-linux.h> to end of file.
27084 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
27085 is fine.
27086 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
27087 <bits/mman-linux.h> to end of file.
27088
27089 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
27090 (MCL_CURRENT, MCL_FUTURE): Define here.
27091
5f67c04f
AK
270922013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27093
8a4473cc 27094 [BZ #15232]
5f67c04f
AK
27095 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
27096 attribute_hidden.
27097 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
27098
c3e94a95
AK
270992013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27100
27101 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
27102 fourth parameter needed for rt_sigprocmask syscall.
27103 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
27104 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
27105 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
27106 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
27107 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
27108 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
27109
cfb6382a
JM
271102013-03-04 Joseph Myers <joseph@codesourcery.com>
27111
27112 [BZ #13550]
27113 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
27114 comment about bounded pointers.
27115 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
27116 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
27117
539d8e01
AJ
271182013-03-04 Andreas Jaeger <aj@suse.de>
27119
27120 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
27121 common definitions.
27122
27123 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
27124 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
27125 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
27126 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
27127 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
27128 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
27129
2e167a70 271302013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
27131
27132 [BZ #15055]
27133 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
27134 __ieee754_sqrl instead of __sqrl.
27135
68508633
JM
271362013-03-01 Joseph Myers <joseph@codesourcery.com>
27137
27138 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
27139 * sysdeps/powerpc/fpu_control.h: ... here.
27140 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
27141 * sysdeps/powerpc/bits/fenvinline.h: ... here.
27142 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
27143 * sysdeps/powerpc/bits/mathinline.h: ... here.
27144
7775448e
RM
271452013-03-01 Roland McGrath <roland@hack.frob.com>
27146
27147 * elf/dl-hwcaps.c (_dl_important_hwcaps):
27148 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
27149 to just [NEED_DL_SYSINFO_DSO].
27150 * elf/dl-support.c: Likewise.
27151 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
27152 * elf/rtld.c (dl_main): Likewise.
27153 * elf/setup-vdso.h (setup_vdso): Likewise.
27154 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
27155 * sysdeps/unix/sysv/linux/dl-sysdep.c
27156 (_dl_discover_osversion): Likewise.
27157
4e9b5995
CD
271582013-03-01 Carlos O'Donell <carlos@redhat.com>
27159
27160 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
27161 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
27162
e23872c8
SP
271632013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
27164
e5c74c63
SP
27165 * NEWS: Mention libm performance improvements and non-x86 PI
27166 futex support.
27167
e23872c8
SP
27168 * csu/libc-start.c (__pthread_initialize_minimal): Change
27169 function arguments.
27170 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
27171
b5510883
JM
271722013-02-28 Joseph Myers <joseph@codesourcery.com>
27173
27174 [BZ #13550]
27175 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
27176 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
27177 <bp-sym.h> and <bp-asm.h>.
27178 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
27179 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
27180 and <bp-asm.h>.
27181 (memcpy): Don't use BP_SYM.
27182 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
27183 <bp-asm.h>.
27184 (__mpn_add_n): Don't use BP_SYM.
27185 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
27186 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
27187 and <bp-asm.h>.
27188 (__mpn_addmul_1): Don't use BP_SYM.
27189 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
27190 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
27191 <bp-sym.h>.
27192 (_setjmp): Don't use BP_SYM.
27193 (__novmx_setjmp): Likewise.
27194 (__GI__setjmp): Likewise.
27195 (__vmx_setjmp): Likewise.
27196 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
27197 <bp-sym.h>.
27198 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
27199 (__bzero): Don't use BP_SYM.
27200 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
27201 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
27202 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
27203 <bp-sym.h> and <bp-asm.h>.
27204 (memcpy): Don't use BP_SYM.
27205 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
27206 <bp-sym.h> and <bp-asm.h>.
27207 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
27208 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
27209 <bp-sym.h> and <bp-asm.h>.
27210 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
27211 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
27212 <bp-asm.h>.
27213 (__mpn_lshift): Don't use BP_SYM.
27214 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
27215 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
27216 <bp-asm.h>.
27217 (memset): Don't use BP_SYM.
27218 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
27219 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
27220 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
27221 <bp-asm.h>.
27222 (__mpn_mul_1): Don't use BP_SYM.
27223 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
27224 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
27225 <bp-sym.h> and <bp-asm.h>.
27226 (memcmp): Don't use BP_SYM.
27227 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
27228 <bp-sym.h> and <bp-asm.h>.
27229 (memcpy): Don't use BP_SYM.
27230 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
27231 <bp-sym.h> and <bp-asm.h>.
27232 (memset): Don't use BP_SYM.
27233 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
27234 <bp-sym.h> and <bp-asm.h>.
27235 (strncmp): Don't use BP_SYM.
27236 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
27237 <bp-sym.h> and <bp-asm.h>.
27238 (memcpy): Don't use BP_SYM.
27239 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
27240 <bp-sym.h> and <bp-asm.h>.
27241 (memset): Don't use BP_SYM.
27242 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
27243 <bp-sym.h> and <bp-asm.h>.
27244 (__memchr): Don't use BP_SYM.
27245 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
27246 <bp-sym.h> and <bp-asm.h>.
27247 (memcmp): Don't use BP_SYM.
27248 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
27249 <bp-sym.h> and <bp-asm.h>.
27250 (memcpy): Don't use BP_SYM.
27251 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
27252 <bp-sym.h> and <bp-asm.h>.
27253 (__mempcpy): Don't use BP_SYM.
27254 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
27255 <bp-sym.h> and <bp-asm.h>.
27256 (__memrchr): Don't use BP_SYM.
27257 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
27258 <bp-sym.h> and <bp-asm.h>.
27259 (memset): Don't use BP_SYM.
27260 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
27261 <bp-sym.h> and <bp-asm.h>.
27262 (__rawmemchr): Don't use BP_SYM.
27263 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
27264 <bp-sym.h> and <bp-asm.h>.
27265 (__STRCMP): Don't use BP_SYM.
27266 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
27267 <bp-sym.h> and <bp-asm.h>.
27268 (strchr): Don't use BP_SYM.
27269 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
27270 <bp-sym.h> and <bp-asm.h>.
27271 (__strchrnul): Don't use BP_SYM.
27272 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
27273 <bp-sym.h> and <bp-asm.h>.
27274 (strlen): Don't use BP_SYM.
27275 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
27276 <bp-sym.h> and <bp-asm.h>.
27277 (strncmp): Don't use BP_SYM.
27278 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
27279 <bp-sym.h> and <bp-asm.h>.
27280 (__strnlen): Don't use BP_SYM.
27281 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
27282 <bp-asm.h>.
27283 (__mpn_rshift): Don't use BP_SYM.
27284 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
27285 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
27286 <bp-sym.h> and <bp-asm.h>.
27287 (__sigsetjmp): Don't use BP_SYM.
27288 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
27289 (L(start_addresses)): Don't use BP_SYM.
27290 (_start): Likewise.
27291 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
27292 <bp-asm.h>.
27293 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
27294 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
27295 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
27296 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
27297 <bp-asm.h>.
27298 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
27299 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
27300 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
27301 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
27302 <bp-asm.h>.
27303 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
27304 comments.
27305 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
27306 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
27307 <bp-asm.h>.
27308 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
27309 FIXME comments.
27310 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
27311 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
27312 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
27313 <bp-asm.h>.
27314 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
27315 comment.
27316 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
27317 and <bp-asm.h>.
27318 (strncmp): Don't use BP_SYM,
27319 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
27320 <bp-asm.h>.
27321 (__mpn_sub_n): Don't use BP_SYM.
27322 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
27323 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
27324 and <bp-asm.h>.
27325 (__mpn_submul_1): Don't use BP_SYM.
27326 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
27327 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
27328 <bp-sym.h> and <bp-asm.h>.
27329 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
27330 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
27331 <bp-sym.h> and <bp-asm.h>.
27332 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
27333 comment.
27334
8d19fe64
SP
273352013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
27336
27337 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
27338 Use ZK to minimize writes to Z.
27339 (sub_magnitudes): Simplify code a bit.
27340 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
27341 Use ZK to minimize writes to Z.
27342 (sub_magnitudes): Simplify code a bit.
27343
85bd816a
RM
273442013-02-27 Roland McGrath <roland@hack.frob.com>
27345
27346 * csu/gmon-start.c: Add special exception to license text.
27347
b5977bf2
RH
273482013-02-27 Richard Henderson <rth@redhat.com>
27349
27350 * scripts/config.guess: Update from config.git.
27351 * scripts/config.sub: Likewise.
27352
11d6e2f2
SP
273532013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
27354
09c14ed2
SP
27355 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
27356
a688864e
SP
27357 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
27358
6295157a
SP
27359 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
27360
b8de2202
SP
27361 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
27362
11d6e2f2
SP
27363 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
27364
7e80ddb8
RM
273652013-02-26 Roland McGrath <roland@hack.frob.com>
27366
27367 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
27368 [$(build-shared = yes].
7e80ddb8 27369
7da6d9ed
SP
273702013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
27371
45f05884
SP
27372 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
27373 (__mul): Reduce iterations for calculating mantissa.
27374
2236d359
SP
27375 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
27376 MPTWO.
27377 (__mpranred): Likewise.
27378
7da6d9ed
SP
27379 [BZ #15160]
27380 * malloc/memusagestat.c (main): Draw graphs for heap and stack
27381 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
27382
b7688c42
PE
273832013-02-26 Paul Eggert <eggert@cs.ucla.edu>
27384
27385 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
27386 Define __attribute__.
27387
53a5c423
SP
273882013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
27389
27390 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
27391 unused.
27392 * posix/regex_internal.h (__attribute): Remove.
27393 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
27394 (re_string_context_at): Likewise.
27395 (bitset_not): Use __attribute__ and mark function as possibly
27396 unused.
27397 (bitset_merge): Likewise.
27398 (bitset_mask): Likewise.
27399 (re_string_char_size_at): Likewise.
27400 (re_string_wchar_at): Likewise.
27401 (re_string_elem_size_at): Likewise.
27402
60f5a8b5
SP
274032013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
27404
2a983a2e
SP
27405 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
27406 code.
27407 (cc32): Likewise.
27408
e69804d1
SP
27409 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
27410 (__acr): Likewise.
27411 (__cpy): Likewise.
27412 (norm): Likewise.
27413 (denorm): Likewise.
27414 (__dbl_mp): Likewise.
27415 (add_magnitudes): Likewise.
27416 (sub_magnitudes): Likewise.
27417 (__mul): Likewise.
27418 (__inv): Likewise.
27419
2f22a1e8
SP
27420 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
27421 style.
27422
8930ddc7
SP
27423 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
27424 style.
27425
dc60cb11
SP
27426 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
27427 code.
27428
60f5a8b5
SP
27429 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
27430 up changes with default code.
27431 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
27432 Likewise.
27433
b4d1fd33
AM
274342013-02-24 Allan McRae <allan@archlinux.org>
27435
faf6f8bc
AM
27436 * manual/socket.texi (The Internet Namespace): Order menu items
27437 to match that in the file.
27438
b4d1fd33
AM
27439 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
27440 node listing of the info page menu.
27441
2366713d
JM
274422013-02-21 Joseph Myers <joseph@codesourcery.com>
27443
27444 [BZ #13550]
27445 * sysdeps/i386/bp-asm.h: Remove file.
27446 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
27447 (PARMS): Do not use macros from bp-asm.h.
27448 (S1): Likewise.
27449 (S2): Likewise.
27450 (SIZE): Likewise.
27451 (__mpn_add_n): Do not use BP_SYM
27452 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
27453 "bp-asm.h".
27454 (PARMS): Do not use macros from bp-asm.h.
27455 (S1): Likewise.
27456 (SIZE): Likewise.
27457 (__mpn_addmul_1): Do not use BP_SYM
27458 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
27459 "bp-asm.h".
27460 (PARMS): Do not use macros from bp-asm.h.
27461 (SIGMSK): Likewise.
27462 (_setjmp): Likewise. Do not use BP_SYM.
27463 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
27464 "bp-asm.h".
27465 (PARMS): Do not use macros from bp-asm.h.
27466 (SIGMSK): Likewise.
27467 (setjmp): Likewise. Do not use BP_SYM.
27468 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
27469 "bp-asm.h".
27470 (PARMS): Do not use macros from bp-asm.h.
27471 (__frexp): Do not use BP_SYM.
27472 (frexp): Likewise.
27473 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
27474 "bp-asm.h".
27475 (PARMS): Do not use macros from bp-asm.h.
27476 (__frexpf): Do not use BP_SYM.
27477 (frexpf): Likewise.
27478 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
27479 "bp-asm.h".
27480 (PARMS): Do not use macros from bp-asm.h.
27481 (__frexpl): Do not use BP_SYM.
27482 (frexpl): Likewise.
27483 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
27484 "bp-asm.h".
27485 (PARMS): Do not use macros from bp-asm.h.
27486 (__remquo): Do not use BP_SYM.
27487 (remquo): Likewise.
27488 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
27489 "bp-asm.h".
27490 (PARMS): Do not use macros from bp-asm.h.
27491 (__remquof): Do not use BP_SYM.
27492 (remquof): Likewise.
27493 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
27494 "bp-asm.h".
27495 (PARMS): Do not use macros from bp-asm.h.
27496 (__remquol): Do not use BP_SYM.
27497 (remquol): Likewise.
27498 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
27499 "bp-asm.h".
27500 (PARMS): Do not use macros from bp-asm.h.
27501 (DEST): Likewise.
27502 (SRC): Likewise.
27503 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
27504 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
27505 "bp-asm.h".
27506 (PARMS): Do not use macros from bp-asm.h.
27507 (strlen): Do not use BP_SYM.
27508 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
27509 "bp-asm.h".
27510 (PARMS): Do not use macros from bp-asm.h.
27511 (S1): Likewise.
27512 (S2): Likewise.
27513 (SIZE): Likewise.
27514 (__mpn_add_n): Do not use BP_SYM.
27515 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
27516 "bp-asm.h".
27517 (PARMS): Do not use macros from bp-asm.h.
27518 (S1): Likewise.
27519 (SIZE): Likewise.
27520 (__mpn_addmul_1): Do not use BP_SYM.
27521 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
27522 weak_alias.
27523 (bzero): Likewise.
27524 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
27525 "bp-asm.h".
27526 (PARMS): Do not use macros from bp-asm.h.
27527 (S): Likewise.
27528 (SIZE): Likewise.
27529 (__mpn_lshift): Do not use BP_SYM.
27530 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
27531 "bp-asm.h".
27532 (PARMS): Do not use macros from bp-asm.h.
27533 (DEST): Likewise.
27534 (SRC): Likewise.
27535 (LEN): Likewise.
27536 (memcpy): Likewise. Do not use BP_SYM.
27537 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
27538 libc_hidden_def and weak_alias.
27539 (mempcpy): Do not use BP_SYM in weak_alias.
27540 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
27541 "bp-asm.h".
27542 (PARMS): Do not use macros from bp-asm.h.
27543 (DEST): Likewise.
27544 (LEN): Likewise.
27545 [!BZERO_P] (CHR): Likewise.
27546 (memset): Likewise. Do not use BP_SYM.
27547 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
27548 "bp-asm.h".
27549 (PARMS): Do not use macros from bp-asm.h.
27550 (S1): Likewise.
27551 (SIZE): Likewise.
27552 (__mpn_mul_1): Do not use BP_SYM.
27553 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
27554 "bp-asm.h".
27555 (PARMS): Do not use macros from bp-asm.h.
27556 (S): Likewise.
27557 (SIZE): Likewise.
27558 (__mpn_rshift): Do not use BP_SYM.
27559 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
27560 "bp-asm.h".
27561 (PARMS): Do not use macros from bp-asm.h.
27562 (STR): Likewise.
27563 (CHR): Likewise.
27564 (strchr): Likewise. Do not use BP_SYM.
27565 (index): Do not use BP_SYM in weak_alias.
27566 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
27567 "bp-asm.h".
27568 (PARMS): Do not use macros from bp-asm.h.
27569 (DEST): Likewise.
27570 (SRC): Likewise.
27571 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
27572 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
27573 "bp-asm.h".
27574 (PARMS): Do not use macros from bp-asm.h.
27575 (strlen): Do not use BP_SYM.
27576 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
27577 "bp-asm.h".
27578 (PARMS): Do not use macros from bp-asm.h.
27579 (S1): Likewise.
27580 (S2): Likewise.
27581 (SIZE): Likewise.
27582 (__mpn_sub_n): Do not use BP_SYM.
27583 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
27584 "bp-asm.h".
27585 (PARMS): Do not use macros from bp-asm.h.
27586 (S1): Likewise.
27587 (SIZE): Likewise.
27588 (__mpn_submul_1): Do not use BP_SYM.
27589 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
27590 "bp-asm.h".
27591 (PARMS): Do not use macros from bp-asm.h.
27592 (S1): Likewise.
27593 (S2): Likewise.
27594 (SIZE): Likewise.
27595 (__mpn_add_n): Do not use BP_SYM.
27596 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
27597 weak_alias.
27598 (bzero): Likewise.
27599 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
27600 "bp-asm.h".
27601 (PARMS): Do not use macros from bp-asm.h.
27602 (BLK2): Likewise.
27603 (LEN): Likewise.
27604 (memcmp): Do not use BP_SYM.
27605 (bcmp): Do not use BP_SYM in weak_alias.
27606 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
27607 "bp-asm.h".
27608 (PARMS): Do not use macros from bp-asm.h.
27609 (DEST): Likewise.
27610 (SRC): Likewise.
27611 (LEN): Likewise.
27612 (memcpy): Likewise. Do not use BP_SYM.
27613 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
27614 "bp-asm.h".
27615 (PARMS): Do not use macros from bp-asm.h.
27616 (DEST): Likewise.
27617 (SRC): Likewise.
27618 (LEN): Likewise.
27619 (memmove): Likewise. Do not use BP_SYM.
27620 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
27621 "bp-asm.h".
27622 (PARMS): Do not use macros from bp-asm.h.
27623 (DEST): Likewise.
27624 (SRC): Likewise.
27625 (LEN): Likewise.
27626 (__mempcpy): Likewise. Do not use BP_SYM.
27627 (mempcpy): Do not use BP_SYM in weak_alias.
27628 * sysdeps/i386/i686/memset.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 (LEN): Likewise.
27633 [!BZERO_P] (CHR): Likewise.
27634 (memset): Likewise. Do not use BP_SYM.
27635 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
27636 "bp-asm.h".
27637 (PARMS): Do not use macros from bp-asm.h.
27638 (STR2): Likewise.
27639 (strcmp): Do not use BP_SYM.
27640 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
27641 "bp-asm.h".
27642 (PARMS): Do not use macros from bp-asm.h.
27643 (STR): Likewise.
27644 (DELIM): Likewise.
27645 [USE_AS_STRTOK_R] (SAVE): Likewise.
27646 (FUNCTION): Likewise. Do not use BP_SYM.
27647 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
27648 aliases.
27649 (strtok_r): Likewise.
27650 (__GI___strtok_r): Likewise.
27651 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
27652 (PARMS): Do not use macros from bp-asm.h.
27653 (S): Likewise.
27654 (SIZE): Likewise.
27655 (__mpn_lshift): Do not use BP_SYM.
27656 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
27657 (PARMS): Do not use macros from bp-asm.h.
27658 (STR): Likewise.
27659 (CHR): Likewise.
27660 (__memchr): Do not use BP_SYM.
27661 (memchr): Do not use BP_SYM in weak_alias.
27662 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
27663 (PARMS): Do not use macros from bp-asm.h.
27664 (BLK2): Likewise.
27665 (LEN): Likewise.
27666 (memcmp): Do not use BP_SYM.
27667 (bcmp): Do not use BP_SYM in weak_alias.
27668 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
27669 (PARMS): Do not use macros from bp-asm.h.
27670 (S1): Likewise.
27671 (SIZE): Likewise.
27672 (__mpn_mul_1): Do not use BP_SYM.
27673 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
27674 "bp-asm.h".
27675 (PARMS): Do not use macros from bp-asm.h.
27676 (STR): Likewise.
27677 (CHR): Likewise.
27678 (__rawmemchr): Do not use BP_SYM.
27679 (rawmemchr): Do not use BP_SYM in weak_alias.
27680 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
27681 (PARMS): Do not use macros from bp-asm.h.
27682 (S): Likewise.
27683 (SIZE): Likewise.
27684 (__mpn_rshift): Do not use BP_SYM.
27685 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
27686 (PARMS): Do not use macros from bp-asm.h.
27687 (SIGMSK): Likewise.
27688 (__sigsetjmp): Likewise. Do not use BP_SYM.
27689 * sysdeps/i386/start.S: Do not include "bp-sym.h".
27690 (_start): Do not use BP_SYM.
27691 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
27692 (PARMS): Do not use macros from bp-asm.h.
27693 (DEST): Likewise.
27694 (SRC): Likewise.
27695 (__stpcpy): Likewise. Do not use BP_SYM.
27696 (stpcpy): Do not use BP_SYM in weak_alias.
27697 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
27698 "bp-asm.h".
27699 (PARMS): Do not use macros from bp-asm.h.
27700 (DEST): Likewise.
27701 (SRC): Likewise.
27702 (LEN): Likewise.
27703 (__stpncpy): Likewise. Do not use BP_SYM.
27704 (stpncpy): Do not use BP_SYM in weak_alias.
27705 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
27706 (PARMS): Do not use macros from bp-asm.h.
27707 (STR): Likewise.
27708 (CHR): Likewise.
27709 (strchr): Likewise. Do not use BP_SYM.
27710 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
27711 "bp-asm.h".
27712 (PARMS): Do not use macros from bp-asm.h.
27713 (STR): Likewise.
27714 (CHR): Likewise.
27715 (__strchrnul): Likewise. Do not use BP_SYM.
27716 (strchrnul): Do not use BP_SYM in weak_alias.
27717 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
27718 "bp-asm.h".
27719 (PARMS): Do not use macros from bp-asm.h.
27720 (STOP): Likewise.
27721 (strcspn): Do not use BP_SYM.
27722 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
27723 "bp-asm.h".
27724 (PARMS): Do not use macros from bp-asm.h.
27725 (STR): Likewise.
27726 (STOP): Likewise.
27727 (strpbrk): Likewise. Do not use BP_SYM.
27728 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
27729 "bp-asm.h".
27730 (PARMS): Do not use macros from bp-asm.h.
27731 (STR): Likewise.
27732 (CHR): Likewise.
27733 (strrchr): Likewise. Do not use BP_SYM.
27734 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
27735 (PARMS): Do not use macros from bp-asm.h.
27736 (SKIP): Likewise.
27737 (strspn): Do not use BP_SYM.
27738 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
27739 (PARMS): Do not use macros from bp-asm.h.
27740 (STR): Likewise.
27741 (DELIM): Likewise.
27742 (SAVE): Likewise.
27743 (FUNCTION): Likewise. Do not use BP_SYM.
27744 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
27745 aliases.
27746 (strtok_r): Likewise.
27747 (__GI___strtok_r): Likewise.
27748 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
27749 (PARMS): Do not use macros from bp-asm.h.
27750 (S1): Likewise.
27751 (S2): Likewise.
27752 (SIZE): Likewise.
27753 (__mpn_sub_n): Do not use BP_SYM.
27754 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
27755 "bp-asm.h".
27756 (PARMS): Do not use macros from bp-asm.h.
27757 (S1): Likewise.
27758 (SIZE): Likewise.
27759 (__mpn_submul_1): Do not use BP_SYM.
27760 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
27761 <bp-sym.h>.
27762 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
27763 and <bp-asm.h>.
27764 (PARMS): Do not use macros from bp-asm.h.
27765 (FLAGS): Likewise.
27766 (PTID): Likewise.
27767 (TLS): Likewise.
27768 (CTID): Likewise.
27769 (__clone): Do not use BP_SYM.
27770 (clone): Do not use BP_SYM in weak_alias.
27771 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
27772 and <bp-asm.h>.
27773 (PARMS): Do not use macros from bp-asm.h.
27774 (LEN): Likewise.
27775 (__mmap64): Do not use BP_SYM.
27776 (mmap64): Do not use BP_SYM in weak_alias.
27777 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
27778 <bp-sym.h> and <bp-asm.h>.
27779 (PARMS): Do not use macros from bp-asm.h.
27780 (__posix_fadvise64_l64): Do not use BP_SYM.
27781 * sysdeps/unix/sysv/linux/i386/semtimedop.S
27782 (PARMS): Do not use macros from bp-asm.h.
27783 (NSOPS): Likewise.
27784 (semtimedop): Do not use BP_SYM.
27785 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
27786 and <bp-asm.h>.
27787
582a3cff
AM
277882013-02-21 Allan McRae <allan@archlinux.org>
27789
27790 * manual/message.texi (Charset conversion in gettext):
27791 Move @end statement to beginning of line.
27792
bab8a695
SP
277932013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
27794
80945231
SP
27795 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
27796 static.
27797 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
27798 Likewise.
27799
bab8a695
SP
27800 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
27801 (denorm): Likewise.
27802 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
27803 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
27804
e21d7aa7
AK
278052013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27806
27807 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
27808 tail-call to the resolved function if pltexit isn't needed.
27809
4c7a4263
SP
278102013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
27811
27812 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
27813 or Y being zero as being unlikely.
27814 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
27815 Likewise.
27816
41f49342
CD
278172013-02-20 Carlos O'Donell <carlos@redhat.com>
27818
27819 * manual/nss.texi (System Databases and Name Service Switch):
27820 Remove frobnicate @pxref.
27821
50022a93
TS
278222013-02-20 Thomas Schwinge <thomas@codesourcery.com>
27823
27824 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
27825 __attribute__ ((unused)) to __attribute__ ((__unused__)).
27826
08cbd996
PM
278272013-02-20 Petr Machata <pmachata@redhat.com>
27828
27829 * elf/elf.h (R_ARM_TARGET1): New macro.
27830 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
27831 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
27832 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
27833 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
27834 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
27835 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
27836 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
27837 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
27838 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
27839 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
27840 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
27841 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
27842 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
27843 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
27844 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
27845 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
27846 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
27847 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
27848 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
27849 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
27850 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
27851 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
27852 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
27853 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
27854 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
27855 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
27856 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
27857 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
27858 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
27859 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
27860 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
27861 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
27862 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
27863 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
27864 (R_ARM_THM_GOT_BREL12): Likewise.
27865 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
27866 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
27867 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
27868 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
27869 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
27870 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
27871 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
27872 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
27873 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
27874
c7b275d6
TS
278752013-02-20 Thomas Schwinge <thomas@codesourcery.com>
27876
27877 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
27878 __attribute_used__ to __attribute__ ((unused)).
27879
20cd7fb3
SP
278802013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
27881
27882 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
27883 powerpc mpa.c.
27884 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
27885 comment formatting.
27886 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
27887
92945b52
JM
278882013-02-19 Joseph Myers <joseph@codesourcery.com>
27889
27890 [BZ #13550]
27891 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
27892 Remove macro.
27893 (ENTER): Remove both macro definitions.
27894 (LEAVE): Likewise.
27895 (CHECK_BOUNDS_LOW): Likewise.
27896 (CHECK_BOUNDS_HIGH): Likewise.
27897 (CHECK_BOUNDS_BOTH): Likewise.
27898 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
27899 (RETURN_BOUNDED_POINTER): Likewise.
27900 (RETURN_NULL_BOUNDED_POINTER): Likewise.
27901 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
27902 (POP_ERRNO_LOCATION_RETURN): Likewise.
27903 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
27904 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
27905 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
27906 macros.
27907 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
27908 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
27909 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
27910 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
27911 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
27912 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
27913 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
27914 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
27915 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
27916 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
27917 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
27918 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
27919 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
27920 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
27921 removed macros.
27922 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
27923 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
27924 macros.
27925 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
27926 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
27927 * sysdeps/i386/i586/memset.S (memset): Likewise.
27928 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
27929 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
27930 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
27931 macros.
27932 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
27933 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
27934 Change uses of L(2) to L(out).
27935 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
27936 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
27937 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
27938 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
27939 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
27940 removed macros.
27941 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
27942 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
27943 macros.
27944 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
27945 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
27946 (RETURN): Do not use macro LEAVE.
27947 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
27948 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
27949 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
27950 * sysdeps/i386/i686/memset.S (memset): Likewise.
27951 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
27952 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
27953 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
27954 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
27955 Likewise.
27956 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
27957 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
27958 L(1_2) and L(1_3) into L(1).
27959 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
27960 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
27961 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
27962 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
27963 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
27964 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
27965 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
27966 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
27967 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
27968 macros.
27969 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
27970 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
27971 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
27972 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
27973 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
27974 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
27975 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
27976 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
27977 * sysdeps/i386/strcspn.S (strcspn): Likewise.
27978 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
27979 * sysdeps/i386/strrchr.S (strrchr): Likewise.
27980 * sysdeps/i386/strspn.S (strspn): Likewise.
27981 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
27982 conditional code.
27983 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
27984 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
27985 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
27986 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
27987 L(1_3) into L(1_1).
27988 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
27989 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
27990 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
27991 macros.
27992 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
27993
2389741a
JJ
279942013-02-19 Jakub Jelinek <jakub@redhat.com>
27995
27996 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
27997 macro.
27998
2016b3cd
SP
279992013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
28000
e4f22324
SP
28001 * math/atest-exp.c (exp_mpn): Remove ROUND.
28002 * math/atest-exp2.c (exp_mpn): Likewise.
28003 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
28004
2016b3cd
SP
28005 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
28006 * stdlib/tst-tls-atexit-lib.c: Likewise.
28007 * stdlib/tst-tls-atexit.c: Likewise.
28008
4be9b544
MF
280092013-02-18 Mike Frysinger <vapier@gentoo.org>
28010
28011 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
28012 and __attribute_alloc_size__.
28013
2f62b9ee
MF
280142013-02-18 Mike Frysinger <vapier@gentoo.org>
28015
28016 * include/programs/xmalloc.h: Change __attribute_alloc_size to
28017 __attribute_alloc_size__.
28018 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
28019 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
28020
6ff444c4
MF
280212013-02-18 Mike Frysinger <vapier@gentoo.org>
28022
28023 * include/programs/xmalloc.h: New file.
28024 * catgets/gencat.c: Include it.
28025 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
28026 * elf/pldd.c: Likewise.
28027 * iconv/iconv_charmap.c: Likewise.
28028 * iconv/iconvconfig.c: Likewise.
28029 * iconv/strtab.c: Likewise.
28030 * locale/programs/locale.c: Likewise.
28031 * locale/programs/localedef.h: Likewise.
28032 * locale/programs/simple-hash.c: Likewise.
28033 * nscd/nscd.h: Likewise.
28034 * nss/makedb.c: Likewise.
28035 * sysdeps/generic/ldconfig.h: Likewise.
28036
be179c8a
SP
280372013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
28038
ba384f6e
SP
28039 * Versions.def: Add GLIBC_2.18.
28040 * include/link.h (struct link_map): New member l_tls_dtor_count.
28041 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
28042 (__call_tls_dtors): Likewise.
28043 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
28044 __cxa_thread_atexit_impl.
28045 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
28046 Likewise.
28047 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
28048 Likewise.
28049 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
28050 Likewise.
28051 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
28052 Likewise.
28053 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
28054 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
28055 Likewise.
28056 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
28057 Likewise.
28058 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
28059 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
28060 Likewise.
28061 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
28062 (tests): Add test case tst-tls-atexit.
28063 (modules-names): Add shared library for tst-tls-atexit.
85891aca 28064 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
28065 (GLIBC_PRIVATE): Add __call_tls_dtors.
28066 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
28067 for libstdc++.
28068 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
28069 * stdlib/tst-tls-atexit.c: New test case.
28070 * stdlib/tst-tls-atexit-lib.c: New test case.
28071
ffaa74cf 28072 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 28073
be179c8a
SP
28074 * elf/Versions (ld): Add _dl_find_dso_for_object.
28075 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
28076 * elf/dl-open.c (_dl_find_dso_for_object): New function.
28077 (dl_open_worker): Use _dl_find_dso_for_object.
28078 * elf/dl-sym.c (do_sym): Likewise.
28079 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
28080
f78b5caa
AK
280812013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28082
28083 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
28084 Syntactic changes only.
28085 (_dl_runtime_profile): Do a tail-call to the resolved function.
28086
29691210
JM
280872013-02-17 Joseph Myers <joseph@codesourcery.com>
28088
28089 [BZ #13550]
28090 * sysdeps/x86_64/bp-asm.h: Remove file.
28091 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
28092 <bp-sym.h> and <bp-asm.h>.
28093 (__clone): Do not use BP_SYM.
28094 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
28095 <bp-sym.h> and <bp-asm.h>.
28096 * sysdeps/unix/x86_64/sysdep.S: Likewise.
28097 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
28098 "bp-asm.h".
28099 (_setjmp): Do not use BP_SYM.
28100 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
28101 "bp-asm.h".
28102 (setjmp): Do not use BP_SYM.
28103 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
28104 libc_hidden_def.
28105 (mempcpy): Do not use BP_SYM in weak_alias.
28106 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
28107 "bp-asm.h".
28108 (strchr): Do not use BP_SYM.
28109 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
28110 "bp-asm.h".
28111 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
28112 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
28113 (_start): Do not use BP_SYM.
28114 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
28115 "bp-asm.h".
28116 (strcat): Do not use BP_SYM.
28117 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
28118 "bp-asm.h".
28119 (STRCMP): Do not use BP_SYM.
28120 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
28121 "bp-asm.h".
28122 (STRCPY): Do not use BP_SYM.
28123 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
28124 "bp-asm.h".
28125 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
28126 "bp-asm.h".
28127 (FUNCTION): Do not use BP_SYM.
28128 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
28129 weak_alias.
28130 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
28131
f238fd19
AJ
281322013-02-17 Andreas Jaeger <aj@suse.de>
28133
28134 * time/Versions: Sort entries.
28135 * string/Versions: Likewise.
28136 * resolv/Versions: Likewise.
28137 * posix/Versions: Likewise.
28138 * iconv/Versions: Likewise.
28139 * elf/Versions: Likewise.
28140 * wcsmbs/Versions: Likewise.
28141
bd07f23c 281422013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 28143
22af19f9
SP
28144 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
28145 loop termination condition.
28146
4709fe76
SP
28147 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
28148 variable to calculate EZ.
28149 (__sqr): Likewise.
2d0e0f29
SP
28150
28151 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
28152 the lower precision input.
28153
daaa7713
JM
281542013-02-15 Joseph Myers <joseph@codesourcery.com>
28155
28156 [BZ #13550]
28157 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
28158 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
28159 (run-via-rtld-prefix): Do not handle %-bp tests.
28160 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
28161 (all-object-suffixes): Remove .ob.
28162 (bppfx): Remove variable.
28163 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
28164 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
28165 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
28166 [$(build-bounded) = yes] (libtype.ob): Likewise.
28167 * Makerules (elide-routines.ob): Remove variable.
28168 (do-tests-clean): Do not handle *-bp.out.
28169 (common-mostlyclean): Do not handle *-bp and *-bp.out.
28170 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
28171 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
28172 (tests): Do not include $(tests-bp.out).
28173 (xtests): Do not include $(xtests-bp.out).
28174 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
28175 [$(build-bounded) = yes] ($(addprefix
28176 $(objpfx),$(binaries-bounded))): Remove rule.
28177 ($(objpfx)%-bp.out): Remove rule.
28178 * config.make.in (build-bounded): Remove variable.
28179 * crypt/Makefile [$(build-bounded) = yes]
28180 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
28181 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
28182 append to variable.
28183 [$(build-bounded) = yes] (install-lib): Likewise.
28184 [$(build-bounded) = yes] (generated): Likewise.
28185 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
28186 Remove rule.
28187 * intl/Makefile [$(build-bounded) = yes]
28188 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
28189 * math/Makefile [$(build-bounded) = yes]
28190 ($(tests:%=$(objpfx)%-bp): Likewise.
28191 * misc/Makefile [$(build-bounded) = yes]
28192 ($(objpfx)tst-tsearch-bp): Likewise.
28193 * nptl/Makeconfig (bounded-thread-library): Remove variable.
28194 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
28195 Remove dependency.
28196 * string/Makefile (o-objects.ob): Remove variable.
28197 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
28198 (CFLAGS-.ob): Remove variable.
28199 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
28200 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
28201 both definitions of variable.
28202 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
28203 (ASFLAGS-.ob): Remove variable.
28204
e97ed6dd
JM
282052013-02-14 Joseph Myers <joseph@codesourcery.com>
28206
2bdd4ca6
JM
28207 [BZ #13550]
28208 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
28209 Remove __BOUNDED_POINTERS__ from condition.
28210 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
28211 * string/bits/string2.h [!__NO_STRING_INLINES &&
28212 !__BOUNDED_POINTERS__]: Likewise.
28213 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
28214 Likewise.
28215 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
28216 Remove conditional code.
28217 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
28218 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
28219 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
28220 condition.
28221
e97ed6dd
JM
28222 [BZ #13550]
28223 * csu/libc-start.c: Do not include <bp-sym.h>.
28224 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
28225 * elf/dl-open.c: Do not include <bp-sym.h>.
28226 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
28227 * math/fegetenv.c: Do not include <bp-sym.h>.
28228 (fegetenv): Do not use BP_SYM in versioned symbols.
28229 * nptl/sysdeps/pthread/bits/libc-lockP.h
28230 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
28231 <bp-sym.h>.
28232 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28233 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
28234 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28235 (__pthread_mutex_destroy): Likewise.
28236 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28237 (__pthread_mutex_lock): Likewise.
28238 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28239 (__pthread_mutex_trylock): Likewise.
28240 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28241 (__pthread_mutex_unlock): Likewise.
28242 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28243 (__pthread_mutexattr_init): Likewise.
28244 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28245 (__pthread_mutexattr_destroy): Likewise.
28246 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28247 (__pthread_mutexattr_settype): Likewise.
28248 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28249 (__pthread_rwlock_init): Likewise.
28250 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28251 (__pthread_rwlock_destroy): Likewise.
28252 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28253 (__pthread_rwlock_rdlock): Likewise.
28254 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28255 (__pthread_rwlock_tryrdlock): Likewise.
28256 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28257 (__pthread_rwlock_wrlock): Likewise.
28258 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28259 (__pthread_rwlock_trywrlock): Likewise.
28260 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28261 (__pthread_rwlock_unlock): Likewise.
28262 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28263 (__pthread_key_create): Likewise.
28264 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28265 (__pthread_setspecific): Likewise.
28266 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28267 (__pthread_getspecific): Likewise.
28268 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
28269 Likewise.
28270 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28271 (_pthread_cleanup_push_defer): Likewise.
28272 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28273 (_pthread_cleanup_pop_restore): Likewise.
28274 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28275 (pthread_setcancelstate): Likewise.
28276 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
28277 <bp-sym.h>.
28278 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
28279 (memchr): Do not use BP_SYM in weak_alias.
28280 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
28281 (fegetenv): Do not use BP_SYM in versioned symbols.
28282 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
28283 (fesetenv): Do not use BP_SYM in versioned symbols.
28284 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
28285 (feupdateenv): Do not use BP_SYM in versioned symbols.
28286 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
28287 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
28288 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
28289 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
28290 (open64): Do not use BP_SYM in weak_alias.
28291 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
28292 (fegetenv): Do not use BP_SYM in versioned symbols.
28293 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
28294 (fesetenv): Do not use BP_SYM in versioned symbols.
28295 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
28296 (feupdateenv): Do not use BP_SYM in versioned symbols.
28297 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
28298 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
28299 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
28300 (feraiseexcept): Do not use BP_SYM in versioned symbols.
28301 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
28302 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
28303 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
28304 <bp-sym.h>.
28305 (__libc_start_main): Do not use BP_SYM.
28306
d6752ccd
SP
283072013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
28308
cb57ce60
SP
28309 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
28310 redundant return line.
28311 (norm): Likewise.
28312 (denorm): Likewise.
28313 (dbl_mp): Likewise.
28314 (sub_magnitudes): Likewise.
28315 (__add): Likewise.
28316 (__sub): Likewise.
28317 (__mul): Likewise.
28318 (__inv): Likewise.
28319 (__dvd): Likewise.
28320 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
28321 (norm): Likewise.
28322 (denorm): Likewise.
28323 (dbl_mp): Likewise.
28324 (sub_magnitudes): Likewise.
28325 (__add): Likewise.
28326 (__sub): Likewise.
28327 (__mul): Likewise.
28328 (__inv): Likewise.
28329 (__dvd): Likewise.
28330
f414520d
SP
28331 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
28332 instead of __mul.
28333 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
28334 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
28335 (cc32): Likewise.
28336
d6752ccd
SP
28337 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
28338 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
28339 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
28340 of __mul for squares.
28341 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
28342 function
28343 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
28344 Likewise.
28345 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
28346 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
28347
70d9946a
JM
283482013-02-13 Joseph Myers <joseph@codesourcery.com>
28349
28350 [BZ #13550]
28351 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
28352 code.
28353 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
28354 prototype or function definition. Rename ubp_* variables and
28355 parameters. Remove argv definitions conditional on
28356 [__BOUNDED_POINTERS__].
28357 * debug/backtrace.c (__backtrace): Do not use __unbounded.
28358 * elf/dl-runtime.c (_dl_fixup): Likewise.
28359 * include/set-hooks.h (RUN_HOOK): Likewise.
28360 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
28361 definition.
28362 * string/strcpy.c (strcpy): Do not use __unbounded.
28363 * sysdeps/generic/frame.h (struct layout): Likewise.
28364 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
28365 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
28366 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
28367 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
28368 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
28369 (__backtrace): Likewise.
28370 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
28371 use __ptrvalue.
28372 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
28373 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
28374 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
28375 Likewise.
28376 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
28377 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
28378 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
28379 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
28380 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
28381 Do not use __unbounded.
28382 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
28383 Rename __unboundedrlimits parameter to rlimits in prototype.
28384 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
28385 Do not use __unbounded.
28386 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
28387 not use __ptrvalue.
28388 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
28389 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
28390 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
28391 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
28392 __ptrvalue or __unbounded.
28393 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
28394 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
28395 use __unbounded.
28396 (__new_msgctl): Do not use __ptrvalue.
28397 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
28398 __unbounded.
28399 (__libc_msgrcv): Do not use __ptrvalue.
28400 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
28401 startup_info): Do not use __unbounded.
28402 (__libc_start_main): Likewise. Rename ubp_* variables and
28403 parameters. Remove argv definitions conditional on
28404 [__BOUNDED_POINTERS__].
28405 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
28406 __ptrvalue.
28407 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
28408 use __unbounded.
28409 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
28410 or __ptrvalue.
28411 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
28412 use __unbounded.
28413 (__new_shmctl): Do not use __ptrvalue.
28414 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
28415 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
28416 Likewise.
28417 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
28418 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
28419 (__libc_sigaction): Likewise.
28420 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
28421 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
28422 Likewise.
28423 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
28424
cc7834d6
OB
284252013-02-13 Ondřej Bílka <neleai@seznam.cz>
28426
ffb1ec7b 28427 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
28428
28429 * string/mempcpy.c: Implement by calling memcpy.
28430
bdf02814
SP
284312013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
28432
c2af38aa
SP
28433 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
28434
4e92d59e
SP
28435 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
28436 evaluation.
28437
909279a5
SP
28438 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
28439 values in the mantissa.
28440
bdf02814
SP
28441 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
28442 minimize writes to Z.
28443 (sub_magnitudes): Simplify code a bit.
28444
cd525923
RM
284452013-02-12 Roland McGrath <roland@hack.frob.com>
28446
28447 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
28448 from the message. The linker prefixes all warnings with that already.
28449
7e2f0d2d
AS
284502013-02-12 Andreas Schwab <schwab@suse.de>
28451
a445af0b
AS
28452 [BZ #15078]
28453 * posix/regexec.c (extend_buffers): Add parameter min_len.
28454 (check_matching): Pass minimum needed length.
28455 (clean_state_log_if_needed): Likewise.
28456 (get_subexp): Likewise.
28457 * posix/Makefile (tests): Add bug-regex34.
28458 (bug-regex34-ENV): Define.
28459 * posix/bug-regex34.c: New file.
28460
7e2f0d2d
AS
28461 [BZ #11561]
28462 * posix/regcomp.c (parse_bracket_exp): When looking up collating
28463 elements compare against the byte sequence of it, not its name.
28464 * posix/Makefile (tests): Add bug-regex35.
28465 (bug-regex35-ENV): Define.
28466 * posix/bug-regex35.c: New file.
28467
a175b684
TV
284682013-02-11 Tom de Vries <tom@codesourcery.com>
28469
28470 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
28471 comment.
28472 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
28473 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
28474 (CHECK_EOL): Add undef.
28475
310998fe 284762013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
28477
28478 * bits/stdlib-bsearch.h: New file.
28479 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 28480 * stdlib/stdlib.h: Likewise.
41eda41d 28481
8ded91fb
RM
284822013-02-11 Roland McGrath <roland@hack.frob.com>
28483
28484 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
28485 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
28486 declaration.
28487 * manual/search.texi (Array Search Function): Add missing const in
28488 lfind prototype.
28489 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
28490 declaration to use rlim_t.
28491 (Basic Scheduling Functions): Remove erroneous const from
28492 sched_getparam prototype. Remove erroneous * from
28493 sched_get_priority_max and sched_get_priority_min prototypes.
28494 (Resource Usage): Fix summary @comment on vtimes to refer to
28495 sys/vtimes.h rather than vtimes.h.
28496 Add missing *s in vtimes prototype.
28497 (Limits on Resources): Fix ulimit prototype to return long int.
28498 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
28499 prototypes to use long int rather than double.
28500 (BSD Random): Fix initstate and setstate to use char *, not void *.
28501 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
28502 prototype to make second argument 'struct aiocb64 *const[]'.
28503 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
28504 (Status of AIO Operations): Remove erroneous const in aio_return and
28505 aio_return64 prototypes.
28506 (Synchronizing I/O): Fix sync prototype to return void.
28507 * manual/startup.texi (Suboptions): Remove an erroneous const in
28508 getsubopt prototype.
28509 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
28510 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
28511 use size_t rather than int.
28512 (Scanning All Users): Likewise for getpwent_r.
28513 (Setting Groups): Add missing const to setgroups prototype.
28514 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
28515 * manual/socket.texi (Host Names): Fix gethostbyaddr and
28516 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
28517 'const void *' rather than 'const char *'.
28518 (Host Address Functions): Likewise for inet_ntop.
28519 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
28520 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
28521 ssize_t for return value.
28522 (Sending Data): Likewise for send, sendto, sendmsg.
28523 (Socket Option Functions): Add a missing const in setsockopt prototype.
28524 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
28525 use wchar_t for the argument.
28526 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
28527 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
28528 take no arguments.
28529 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
28530 double/float/long double for second argument.
28531 Fix return types of significand, significandf, significandl.
28532 * manual/filesys.texi (Setting Permissions): Use mode_t for second
28533 argument in fchmod prototype.
28534 (File Owner): Use uid_t and gid_t in fchown prototype.
28535 (File Times): Add const to utimes, futimes, and lutimes prototypes.
28536 (Making Special Files): Use mode_t and dev_t in mknod prototype.
28537 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
28538 use 'const struct dirent **' as argument types to CMP function pointer
28539 argument.
28540 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
28541 (File Times): Fix summary magic @comment for struct utimbuf and utime
28542 to refer to utime.h, not time.h.
28543 * manual/string.texi (Argz Functions): Add missing const in
28544 argz_extract and argz_next prototypes.
28545 (Finding Tokens in a String): Likewise for basename.
28546 (String/Array Comparison): Fix typo in wcscasecmp prototype.
28547 (Copying and Concatenation): Fix typo in wmemmove prototype.
28548 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
28549 (Signal Stack): Remove erroneous const in sigstack prototype.
28550 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
28551 prototype.
28552 (Simple Calendar Time): Likewise for stime.
28553 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
28554 prototype.
28555 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
28556 say sys/sysctl.h instead.
28557 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
28558 and vsyslog prototypes.
28559
fe77fe6d
TV
285602013-02-11 Tom de Vries <tom@codesourcery.com>
28561
28562 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
28563 Remove.
28564
3a09b620
RM
285652013-02-11 Roland McGrath <roland@hack.frob.com>
28566
28567 * misc/sys/mman.h: Fix typo in mremap comment.
28568
550a0b89
RM
285692013-02-08 Roland McGrath <roland@hack.frob.com>
28570
28571 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
28572 the '\0' terminator.
28573
a2da1673
JM
285742013-02-08 Joseph Myers <joseph@codesourcery.com>
28575
28576 [BZ #13550]
28577 * debug/segfault.c: Don't include <bp-checks.h>.
28578 * sysdeps/generic/bp-checks.h: Remove file.
28579 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
28580 (__GETDENTS): Don't use CHECK_N.
28581 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
28582 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
28583 (__getgroups): Don't use CHECK_N.
28584 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
28585 (setgroups): Don't use CHECK_N.
28586 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
28587 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
28588 (__libc_msgrcv): Don't use CHECK_N.
28589 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
28590 (__libc_msgsnd): Don't use CHECK_N.
28591 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
28592 <bp-checks.h>.
28593 (__libc_pread): Don't use CHECK_N.
28594 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
28595 include <bp-checks.h>.
28596 (__libc_pread64): Don't use CHECK_N.
28597 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
28598 include <bp-checks.h>.
28599 (__libc_pwrite): Don't use CHECK_N.
28600 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
28601 include <bp-checks.h>.
28602 (__libc_pwrite64): Don't use CHECK_N.
28603 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
28604 <bp-checks.h>.
28605 (__libc_pread): Don't use CHECK_N.
28606 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
28607 include <bp-checks.h>.
28608 (__libc_pread64): Don't use CHECK_N.
28609 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
28610 include <bp-checks.h>.
28611 (__libc_pwrite): Don't use CHECK_N.
28612 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
28613 include <bp-checks.h>.
28614 (__libc_pwrite64): Don't use CHECK_N.
28615 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
28616 (do_pread): Don't use CHECK_N.
28617 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
28618 (do_pread64): Don't use CHECK_N.
28619 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
28620 (do_pwrite): Don't use CHECK_N.
28621 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
28622 (do_pwrite64): Don't use CHECK_N.
28623 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
28624 (__libc_readv): Don't use CHECK_N.
28625 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
28626 (semop): Don't use CHECK_N.
28627 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
28628 <bp-checks.h>.
28629 (semtimedop): Don't use CHECK_N.
28630 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
28631 (__libc_pread): Don't use CHECK_N.
28632 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
28633 <bp-checks.h>.
28634 (__libc_pread64): Don't use CHECK_N.
28635 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
28636 <bp-checks.h>.
28637 (__libc_pwrite): Don't use CHECK_N.
28638 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
28639 <bp-checks.h>.
28640 (__libc_pwrite64): Don't use CHECK_N.
28641 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
28642 <bp-checks.h>.
28643 (__libc_msgrcv): Don't use CHECK_N.
28644 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
28645 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
28646 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
28647 (__libc_writev): Don't use CHECK_N.
28648
b84660a8
RM
286492013-02-08 Roland McGrath <roland@hack.frob.com>
28650
7f3e75f8
RM
28651 * string/strcpy.c: Removed unused variable.
28652
b84660a8
RM
28653 * Makeconfig (+sysdep-includes): Define with := rather than =.
28654 Use an existing include/ subdir of each sysdeps dir before it.
28655
471514d3
CD
286562013-02-08 Carlos O'Donell <carlos@redhat.com>
28657
28658 * nscd/connection.c (register_traced_file): Comment function.
28659 [HAVE_INOTIFY] (union __inev): Define.
28660 [HAVE_INOTIFY] (inotify_check_files): New function.
28661 [HAVE_INOTIFY] (clear_db_cache): Likewise.
28662 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
28663 clear_db_cache.
28664 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
28665
b2d3c3be
CD
286662013-02-08 Carlos O'Donell <carlos@redhat.com>
28667
28668 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
28669 loaded if not already and that a failure is permanent.
28670
b39949d2
CD
286712013-02-08 Carlos O'Donell <carlos@redhat.com>
28672
ddacd1db 28673 [BZ #15006]
b39949d2
CD
28674 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
28675 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
28676
b2c9eff4
JM
286772013-02-08 Joseph Myers <joseph@codesourcery.com>
28678
f3aae3f3
JM
28679 [BZ #13550]
28680 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
28681 (CHECK_1_NULL_OK): Likewise.
28682 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
28683 (__fxstat): Do not use CHECK_1.
28684 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
28685 <bp-checks.h>.
28686 (___fxstat64): Do not use CHECK_1.
28687 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
28688 <bp-checks.h>.
28689 (__fxstatat): Do not use CHECK_1.
28690 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
28691 <bp-checks.h>.
28692 (__fxstatat64): Do not use CHECK_1.
28693 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
28694 <bp-checks.h>.
28695 (__fxstat): Do not use CHECK_1.
28696 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
28697 <bp-checks.h>.
28698 (__fxstatat): Do not use CHECK_1.
28699 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
28700 <bp-checks.h>.
28701 (__getresgid): Do not use CHECK_1.
28702 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
28703 <bp-checks.h>.
28704 (__getresuid): Do not use CHECK_1.
28705 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
28706 <bp-checks.h>.
28707 (__lxstat): Do not use CHECK_1.
28708 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
28709 <bp-checks.h>.
28710 (__old_msgctl): Do not use CHECK_1.
28711 (__new_msgctl): Likewise.
28712 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
28713 <bp-checks.h>.
28714 (__new_setrlimit): Do not use CHECK_1.
28715 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
28716 <bp-checks.h>.
28717 (__old_shmctl): Do not use CHECK_1.
28718 (__new_shmctl): Likewise.
28719 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
28720 <bp-checks.h>.
28721 (__xstat): Do not use CHECK_1.
28722 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
28723 (__lxstat): Do not use CHECK_1.
28724 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
28725 <bp-checks.h>.
28726 (___lxstat64): Do not use CHECK_1.
28727 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
28728 (__old_msgctl): Do not use CHECK_1.
28729 (__new_msgctl): Likewise.
28730 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
28731 <bp-checks.h>.
28732 (__gettimeofday): Do not use CHECK_1.
28733 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
28734 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
28735 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
28736 <bp-checks.h>.
28737 (__gettimeofday): Do not use CHECK_1.
28738 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
28739 (__old_shmctl): Do not use CHECK_1_NULL_OK.
28740 (__new_shmctl): Do not use CHECK_1.
28741 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
28742 <bp-checks.h>.
28743 (do_sigtimedwait): Do not use CHECK_1.
28744 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
28745 <bp-checks.h>.
28746 (do_sigwaitinfo): Do not use CHECK_1.
28747 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
28748 <bp-checks.h>.
28749 (msgctl): Do not use CHECK_1.
28750 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
28751 <bp-checks.h>.
28752 (shmctl): Do not use CHECK_1.
28753 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
28754 (ustat): Do not use CHECK_1.
28755 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
28756 <bp-checks.h>.
28757 (__fxstat): Do not use CHECK_1.
28758 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
28759 <bp-checks.h>.
28760 (__fxstatat): Do not use CHECK_1.
28761 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
28762 <bp-checks.h>.
28763 (__lxstat): Do not use CHECK_1.
28764 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
28765 <bp-checks.h>.
28766 (__xstat): Do not use CHECK_1.
28767 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
28768 (__xstat): Do not use CHECK_1.
28769 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
28770 (___xstat64): Do not use CHECK_1.
28771
b2c9eff4
JM
28772 [BZ #13550]
28773 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
28774 definitions.
28775 (CHECK_BOUNDS_HIGH): Likewise.
28776 * string/strcpy.c: Do not include <bp-checks.h>.
28777 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
28778
f1d70dad
RM
287792013-02-07 Roland McGrath <roland@hack.frob.com>
28780
28781 * nscd/nscd-client.h (__nscd_drop_map_ref):
28782 Add __attribute__ ((unused)).
28783 * nis/nss-nisplus.h (niserr2nss): Likewise.
28784
28785 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
28786 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
28787
28788 * csu/libc-tls.c (init_static_tls, init_slotinfo):
28789 Remove inline keyword.
28790 * include/rounding-mode.h (round_away): Likewise.
28791 * libio/wfileops.c (adjust_wide_data): Likewise.
28792 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
28793 (__m128i_strloadu_tolower): Likewise.
28794 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
28795 (__m128i_strloadu_tolower): Likewise.
28796 * time/mktime.c (ydhms_diff): Likewise.
28797 * locale/elem-hash.h (elem_hash): Likewise.
28798 * locale/setlocale.c (setdata): Likewise.
28799 * posix/regex_internal.h (re_string_char_size_at): Likewise.
28800 (re_string_wchar_at): Likewise.
28801 (bitset_not, bitset_merge, bitset_mask): Likewise.
28802 [!(__GNUC__ > 3)] (inline): Remove macro.
28803 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
28804 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
28805 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
28806 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
28807 * string/memcmp.c (memcmp_bytes): Likewise.
28808 * locale/programs/locarchive.c (compute_hashval): Likewise.
28809 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
28810 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
28811 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
28812 * nss/getent.c (print_rpc, print_protocols): Likewise.
28813 (print_passwd, print_group, print_aliases): Likewise.
28814 * nis/nss-nisplus.h (niserr2nss): Likewise.
28815 * nscd/connections.c (restart_p): Likewise.
28816 Change return type to bool.
28817
eab55bfb
RM
288182013-02-05 Roland McGrath <roland@hack.frob.com>
28819
7bd642f5
RM
28820 * Makeconfig (all-Depend-files): Add existing
28821 $(sorted-subdirs:=/Depend) files.
28822 (all-subdirs): Remove nss.
28823 * sysdeps/unix/inet/Subdirs: Add it here instead.
28824 * hesiod/Depend: New file.
28825
573c29b2
RM
28826 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
28827 instead of calling alloca.
28828
b2e25af0
RM
28829 * io/lseek.c (__lseek): Rename to __libc_lseek.
28830 Define __lseek as an alias.
28831
eab55bfb
RM
28832 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
28833
9a0d1941
CD
288342013-02-04 Carlos O'Donell <carlos@redhat.com>
28835
28836 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
28837 else clause and remove check for non-standard endianness.
28838
b83bbec4
DM
288392013-02-04 David S. Miller <davem@davemloft.net>
28840
28841 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28842
6277fdab
JM
288432013-02-04 Joseph Myers <joseph@codesourcery.com>
28844
28845 [BZ #13550]
28846 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
28847 (__ubp_memchr): Remove prototype.
28848 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
28849 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
28850 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
28851 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
28852 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
28853 Remove alias.
28854 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
28855 (__ubp_memchr): Likewise.
28856 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
28857 (__ubp_memchr): Likewise.
28858 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
28859 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
28860 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
28861 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
28862 CHECK_STRING.
28863 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
28864 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
28865 (__getcwd): Do not use CHECK_STRING.
28866 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
28867 <bp-checks.h>.
28868 (__real_chown): Do not use CHECK_STRING.
28869 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
28870 <bp-checks.h>.
28871 (fchownat): Do not use CHECK_STRING.
28872 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
28873 CHECK_STRING.
28874 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
28875 <bp-checks.h>.
28876 (__lchown): Do not use CHECK_STRING.
28877 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
28878 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
28879 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
28880 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
28881 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
28882 include <bp-checks.h>.
28883 (truncate64): Do not use CHECK_STRING.
28884 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
28885 <bp-checks.h>.
28886 (__real_chown): Do not use CHECK_STRING.
28887 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
28888 <bp-checks.h>.
28889 (__lchown): Do not use CHECK_STRING.
28890 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
28891 <bp-checks.h>.
28892 (__chown): Do not use CHECK_STRING.
28893 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
28894 <bp-checks.h>.
28895 (truncate64): Do not use CHECK_STRING.
28896 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
28897 Likewise.
28898 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
28899 (__xmknod): Do not use CHECK_STRING.
28900 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
28901 <bp-checks.h>.
28902 (__xmknodat): Do not use CHECK_STRING.
28903 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
28904 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
28905
903ae060
AS
289062013-02-04 Andreas Schwab <schwab@suse.de>
28907
28908 [BZ #14142]
28909 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
28910 * include/netdb.h: Likewise for h_errno.
28911 * elf/tst-stackguard1.c: Include <tls.h>.
28912
542f9466
JK
289132013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
28914
28915 * elf/link.h (struct link_map): Extend the l_addr comment.
28916 * include/link.h (struct link_map): Likewise.
28917
e782a927
JM
289182013-02-01 Joseph Myers <joseph@codesourcery.com>
28919
28920 [BZ #13550]
28921 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
28922 (BOUNDED_1): Remove macro.
28923 * debug/backtrace.c: Don't include <bp-checks.h>.
28924 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
28925 (__backtrace): Likewise.
28926 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
28927 <bp-checks.h>.
28928 (__backtrace): Don't use BOUNDED_1.
28929 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
28930 <bp-checks.h>.
28931 (__backtrace): Don't use BOUNDED_1.
28932 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
28933 (__backtrace): Don't use BOUNDED_1.
28934 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
28935 (shmat): Don't use BOUNDED_N.
28936
8cf28c5e
JM
289372013-01-31 Joseph Myers <joseph@codesourcery.com>
28938
3a7ac8a0
JM
28939 [BZ #13550]
28940 * sysdeps/generic/bp-start.h: Remove file.
28941 * csu/libc-start.c: Don't include <bp-start.h>.
28942 (LIBC_START_MAIN): Set up __environ directly instead of using
28943 INIT_ARGV_and_ENVIRON.
28944 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
28945 <bp-start.h>.
28946
f3499f95
JM
28947 [BZ #13550]
28948 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
28949 definitions.
28950 (CHECK_FCNTL): Likewise.
28951 (CHECK_N_PAGES): Likewise.
28952
32a45bea
JM
28953 [BZ #13550]
28954 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
28955 definitions.
28956 (CHECK_SIGSET_NULL_OK): Likewise.
28957 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
28958 <bp-checks.h>.
28959 (sigpending): Don't use CHECK_SIGSET.
28960 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
28961 <bp-checks.h>.
28962 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
28963 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
28964 <bp-checks.h>.
28965 (do_sigsuspend): Don't use CHECK_SIGSET.
28966 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
28967 use CHECK_SIGSET.
28968 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
28969 (do_sigwait): Don't use CHECK_SIGSET.
28970 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
28971 use CHECK_SIGSET.
28972 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
28973 include <bp-checks.h>.
28974 (sigpending): Don't use CHECK_SIGSET.
28975 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
28976 include <bp-checks.h>.
28977 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
28978 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
28979 <bp-checks.h>.
28980 (sigpending): Don't use CHECK_SIGSET.
28981 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
28982 <bp-checks.h>.
28983 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
28984
2e8a5c8c
JM
28985 [BZ #13550]
28986 * sysdeps/generic/bp-semctl.h: Remove file.
28987 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
28988 <bp-checks.h> and <bp-semctl.h>.
28989 (__old_semctl): Don't use CHECK_SEMCTL.
28990 (__new_semctl): Likewise.
28991 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
28992 and <bp-semctl.h>.
28993 (__old_semctl): Don't use CHECK_SEMCTL.
28994 (__new_semctl): Likewise.
28995 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
28996 <bp-checks.h> and <bp-semctl.h>.
28997 (__old_semctl): Don't use CHECK_SEMCTL.
28998 (__new_semctl): Likewise.
28999 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
29000 <bp-checks.h> and <bp-semctl.h>.
29001 (semctl): Don't use CHECK_SEMCTL.
29002
c2d54929
JM
29003 [BZ #13550]
29004 * Makerules (elide-bp-thunks): Remove variable.
29005 (elide-routines.oS): Don't use $(elide-bp-thunks).
29006 (elide-routines.os): Likewise.
29007 (elide-routines.o): Likewise.
29008 (elide-routines.op): Likewise.
29009 (elide-routines.og): Likewise.
29010 (objects): Don't use $(bp-thunks).
29011 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
29012 include.
29013 (common-generated): Do not add s-proto-bp.d.
29014 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
29015 (int): Likewise.
29016 (typ): Likewise.
29017 Do not generate makefile rules for bounded-pointer thunks.
29018 * sysdeps/generic/bp-thunks.h: Remove file.
29019 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
29020 * sysdeps/unix/s-proto-bp.S: Likewise.
29021
8cf28c5e
JM
29022 [BZ #15062]
29023 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
29024 parts of result separately when argument is not close to line from
29025 -i to i and one part of argument is small.
29026 * math/k_casinhf.c (__kernel_casinhf): Likewise.
29027 * math/k_casinhl.c (__kernel_casinhl): Likewise.
29028 * math/libm-test.inc (cacos_test): Add more tests.
29029 (casin_test): Likewise.
29030 (casinh_test): Likewise.
29031 * sysdeps/i386/fpu/libm-test-ulps: Update.
29032 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29033
c4e33b8d
DM
290342013-01-31 David S. Miller <davem@davemloft.net>
29035
29036 * po/de.po: Update from translation team.
29037
3b60b421
MK
290382013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
29039
29040 * time/tzfile.c: Include stdint.h for SIZE_MAX.
29041
bb931195
TS
290422013-01-25 Thomas Schwinge <thomas@codesourcery.com>
29043
b5a5da23
TS
29044 * configure.in (_AC_PROG_CC_C89): New definition.
29045 * configure: Regenerate.
29046
bb931195
TS
29047 * configure.in (AC_PROG_CPP): New definition.
29048 * configure: Regenerate.
29049
8c53a12c
JM
290502013-01-23 Joseph Myers <joseph@codesourcery.com>
29051
29052 * debug/tst-backtrace.h: New file.
29053 * debug/tst-backtrace2.c: Include tst-backtrace.h.
29054 (ret): Remove variable.
29055 (x): Likewise.
29056 (FAIL): Remove macro.
29057 (NO_INLINE): Likewise.
29058 (fn1): Use match function instead of strstr.
29059 * debug/tst-backtrace3.c: Include tst-backtrace.h.
29060 (ret): Remove variable.
29061 (x): Likewise.
29062 (FAIL): Remove macro.
29063 (NO_INLINE): Likewise.
29064 (fn): Use match function instead of strstr.
29065 * debug/tst-backtrace4.c: Include tst-backtrace.h.
29066 (ret): Remove variable.
29067 (x): Likewise.
29068 (FAIL): Remove macro.
29069 (NO_INLINE): Likewise.
29070 (handle_signal): Use match function instead of strstr.
29071 * debug/tst-backtrace5.c: Include tst-backtrace.h.
29072 (ret): Remove variable.
29073 (x): Likewise.
29074 (FAIL): Remove macro.
29075 (NO_INLINE): Likewise.
29076 (handle_signal): Use match function instead of strstr.
29077
4858fa2a
RM
290782013-01-23 Roland McGrath <roland@hack.frob.com>
29079
29080 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
29081
bae8e7f5
DM
290822013-01-23 David S. Miller <davem@davemloft.net>
29083
29084 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
29085 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
29086 argument of CAS if possible.
29087 * sysdeps/sparc/sparc64/bits/atomic.h
29088 (__arch_compare_and_exchange_val_32_acq): Likewise.
29089 (__arch_compare_and_exchange_val_64_acq): Likewise.
29090
9cbbc4ae
PT
290912013-01-23 Pino Toscano <toscano.pino@tiscali.it>
29092
29093 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
29094 * sysdeps/posix/ulimit.c: ... this.
92a601b8 29095 Include <limits.h>.
67b3f58c 29096 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 29097
5655a0b5
AC
290982013-01-23 Adam Conrad <adconrad@0c3.net>
29099
29100 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
29101 (LDFLAGS-tst-array5): Likewise.
29102
052aff95
JM
291032013-01-23 Joseph Myers <joseph@codesourcery.com>
29104
29105 [BZ #15036]
29106 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
29107 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
29108 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
29109 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
29110
7c1e01aa
DM
291112013-01-21 David S. Miller <davem@davemloft.net>
29112
29113 * sysdeps/sparc/backtrace.c: New file.
29114 * sysdeps/sparc/sparc32/backtrace.h: New file.
29115 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
29116 * sysdeps/sparc/sparc64/backtrace.h: New file.
29117 * sysdeps/sparc/sparc64/backtrace.c: Delete.
29118 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
29119 -funwind-tables.
29120
ab087e0a
AS
291212013-01-21 Andreas Schwab <schwab@suse.de>
29122
29123 [BZ #15020]
29124 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
29125 closed its stdout.
29126
ed689c2f
AS
291272013-01-20 Andreas Schwab <schwab@linux-m68k.org>
29128
29129 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
29130 "mpa2.h".
29131 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
29132
31d470ac
JM
291332013-01-18 Joseph Myers <joseph@codesourcery.com>
29134 Mark Mitchell <mark@codesourcery.com>
29135 Tom de Vries <tom@codesourcery.com>
29136 Paul Pluzhnikov <ppluzhnikov@google.com>
29137
29138 * debug/tst-backtrace2.c: New file.
29139 * debug/tst-backtrace3.c: Likewise.
29140 * debug/tst-backtrace4.c: Likewise.
29141 * debug/tst-backtrace5.c: Likewise.
29142 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
29143 (CFLAGS-tst-backtrace3.c): Likewise.
29144 (CFLAGS-tst-backtrace4.c): Likewise.
29145 (CFLAGS-tst-backtrace5.c): Likewise.
29146 (LDFLAGS-tst-backtrace2): Likewise.
29147 (LDFLAGS-tst-backtrace3): Likewise.
29148 (LDFLAGS-tst-backtrace4): Likewise.
29149 (LDFLAGS-tst-backtrace5): Likewise.
29150 (tests): Add new tests tst-backtrace2, tst-backtrace3,
29151 tst-backtrace4 and tst-backtrace5.
29152
90567f30 291532013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
29154 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
29155
29156 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
29157 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
29158 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
29159 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
29160 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
29161 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
29162 "+r" and remove output regs list as redundant. Add explicit inline
29163 asm to specify register of return val to work around compiler codegen
29164 bug. Remove (int) cast on return value. Add return type parameter to
29165 use in macro so that this macro does not truncate return value for
29166 64-bit values.
29167 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
29168 pass to INTERNAL_VSYSCALL_NCS.
29169 (INLINE_VSYSCALL): Add 'long int' as return type to
29170 INTERNAL_VSYSCALL_NCS macro invocation.
29171 (INTERNAL_VSYSCALL): Add 'long int' as return type to
29172 INTERNAL_VSYSCALL_NCS macro invocation.
29173 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
29174
d3b9ea61
SP
291752013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
29176
0b57daeb
SP
29177 [BZ #14496]
29178 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
29179 Fix application of SIMD FP exception mask.
29180
caa99d06
SP
29181 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
29182 mp_no from a power of two.
29183 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
29184 __mpexp_twomm1. Use __pow_mp.
29185
d3b9ea61
SP
29186 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
29187 multiplication.
29188
1dbaee3c
DM
291892013-01-17 David S. Miller <davem@davemloft.net>
29190
29191 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29192
728d7b43
JM
291932013-01-17 Joseph Myers <joseph@codesourcery.com>
29194
29195 [BZ #15023]
29196 * include/complex.h: Condition contents on [!_COMPLEX_H].
29197 (__kernel_casinhf): New prototype.
29198 (__kernel_casinh): Likewise.
29199 (__kernel_casinhl): Likewise.
29200 * math/Makefile (libm_calls): Add k_casinh.
29201 * math/k_casinh.c: New file.
29202 * math/k_casinhf.c: Likewise.
29203 * math/k_casinhl.c: Likewise.
29204 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
29205 finite nonzero arguments.
29206 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
29207 finite nonzero arguments.
29208 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
29209 finite nonzero arguments.
29210 * math/s_casinh.c: Do not include <float.h>.
29211 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
29212 * math/s_casinhf.c: Do not include <float.h>.
29213 (__casinhf): Move code for finite nonzero arguments to
29214 k_casinhf.c.
29215 * math/s_casinhl.c: Do not include <float.h>.
29216 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
29217 redefine.
29218 (__casinhl): Move code for finite nonzero arguments to
29219 k_casinhl.c.
29220 * math/libm-test.inc (cacos_test): Add more tests.
29221 * sysdeps/i386/fpu/libm-test-ulps: Update.
29222 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29223
2a26ef3a
PT
292242013-01-17 Pino Toscano <toscano.pino@tiscali.it>
29225
29226 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
29227 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
29228 [!HAVE_MREMAP]: Remove [defined linux] case.
29229 * malloc/arena.c: Do not include <malloc-sysdep.h>.
29230
a897655d
SP
292312013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
29232
29233 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
29234
881ebe89 292352013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
29236
29237 * elf/elf.h (R_386_SIZE32): New relocation.
29238 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
29239 R_386_SIZE32.
29240 (elf_machine_rela): Likewise.
29241 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
29242 R_X86_64_SIZE64 and R_X86_64_SIZE32.
29243
59981e9b
JM
292442013-01-17 Joseph Myers <joseph@codesourcery.com>
29245
29246 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
29247 (FP_FAST_FMA): Do not define.
29248 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
29249 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
29250 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
29251 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
29252 !_SOFT_FLOAT]: Likewise.
29253 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
29254 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
29255 value.
29256 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
29257 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
29258 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
29259 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
29260 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
29261 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
29262 file.
29263
cfa8054f
AS
292642013-01-16 Andreas Schwab <schwab@suse.de>
29265
29266 [BZ #14327]
29267 * include/stdlib.h (__mktemp): Add declaration.
29268 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
29269 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
29270
dd930cc5
SP
292712013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
29272
881ebe89
SP
29273 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
29274 definitions.
29275 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
29276 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
29277 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
29278 definitions here.
29279 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
29280 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
29281 definitions.
29282 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
29283 and ONE.
29284 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
29285 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
29286 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
29287 definitions.
29288 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
29289 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
29290 definitions.
29291 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 29292
dd930cc5
SP
29293 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
29294
c19a9f89
DM
292952013-01-15 David S. Miller <davem@davemloft.net>
29296
1aa61767
DM
29297 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
29298 trunc{,f} to libm-sysdep_routes.
29299 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
29300 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
29301 file.
29302 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
29303 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
29304 file.
29305 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
29306 file.
29307 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
29308 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
29309 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
29310 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
29311 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
29312 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
29313 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
29314 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
29315
c42d5e98
DM
29316 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
29317 nearbyint{,f} to libm-sysdep_routes.
29318 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
29319 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
29320 New file.
29321 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
29322 file.
29323 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
29324 New file.
29325 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
29326 file.
29327 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
29328 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
29329 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
29330 file.
29331 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
29332 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
29333 file.
29334 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
29335 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
29336 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
29337
c19a9f89
DM
29338 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
29339 libc_feholdexcept and libc_fesetenv.
29340
357679d2
MF
293412013-01-15 Mike Frysinger <vapier@gentoo.org>
29342
29343 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
29344
65a82e3d
DM
293452013-01-14 David S. Miller <davem@davemloft.net>
29346
8b954ab9
DM
29347 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
29348 (SPARC_ASM_VIS2_IFUNC): Likewise.
29349 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
29350 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
29351 use of 'siam' instruction.
29352 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
29353 Likewise.
29354 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
29355 Likewise.
29356 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
29357 Likewise.
29358 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
29359 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
29360 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
29361 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
29362 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
29363 file.
29364 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
29365 file.
29366 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
29367 file.
29368 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
29369 file.
29370 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
29371 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
29372 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
29373 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
29374 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
29375 new VIS2 routines.
29376 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
29377 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
29378 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
29379 Likewise.
29380 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
29381 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
29382 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
29383 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
29384 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
29385 routines to libm-sysdep_routines.
29386 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
29387
65a82e3d
DM
29388 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
29389 fdim/fdimf to libm-sysdep_routines.
29390 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
29391 file.
29392 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
29393 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
29394 file.
29395 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
29396 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
29397 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
29398 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
29399 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
29400 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
29401 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
29402
e34ab705
SP
294032013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
29404
2a91b573
SP
29405 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
29406 to optimize copies.
29407
1066a534
SP
29408 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
29409 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
29410 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
29411
e34ab705
SP
29412 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
29413 local variable MPTWO.
29414 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
29415 Likewise.
29416
aba5e596
MF
294172013-01-13 Mike Frysinger <vapier@gentoo.org>
29418
29419 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
29420 GLOB_NOESCAPE.
29421
e557e9e5
MF
294222013-01-13 Mike Frysinger <vapier@gentoo.org>
29423
29424 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
29425
0428cec9
MF
294262013-01-13 Mike Frysinger <vapier@gentoo.org>
29427
29428 * manual/pattern.texi (glob_t): Document gl_flags.
29429 (glob64_t): Likewise.
29430
8794a964
DM
294312013-01-11 David S. Miller <davem@davemloft.net>
29432
66438c3f
RM
29433 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
29434 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
29435 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
29436 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
29437 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
29438 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
29439 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
29440 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
29441 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
29442 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
29443 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
29444 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
29445 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
29446
4ae4244d
DM
29447 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
29448 sparc V9 rather than using V8 code.
29449 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
29450 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
29451
8794a964
DM
29452 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
29453 Move to...
29454 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
29455 Here.
29456
6270516e
RM
294572013-01-11 Roland McGrath <roland@hack.frob.com>
29458
29459 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
29460 not in the main loop.
29461 * configure: Regenerated.
29462
6a57d931
JM
294632013-01-11 Joseph Myers <joseph@codesourcery.com>
29464
29465 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
29466 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
29467 to just #else.
29468 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
29469 [!__GLIBC_HAVE_LONG_LONG] case.
29470 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
29471 condition to just #else.
29472 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
29473 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
29474 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
29475 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
29476 unconditional.
29477 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
29478 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
29479 #elif condition to just #else.
29480 * sysdeps/unix/sysv/linux/sys/sysmacros.h
29481 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
29482 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
29483 #elif condition to just #else.
29484
0e8529e9
SE
294852013-01-11 Steve Ellcey <sellcey@mips.com>
29486
29487 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
29488 (EF_MIPS_ARCH_64): Fix value.
29489 (EF_MIPS_ARCH_32R2): New.
29490 (EF_MIPS_ARCH_64R2): New.
29491
740b3dbe
L
294922013-01-11 H.J. Lu <hongjiu.lu@intel.com>
29493
29494 * Makeconfig (+link-pie-before-libc): New.
29495 (+link-pie-after-libc): Likewise.
29496 (+link-pie-tests): Likewise.
29497 (+link-pie): Rewritten.
29498 (link-before-libc): Remove $(config-LDFLAGS).
29499 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
29500 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
29501 (config-LDFLAGS): Renamed to ...
29502 (rtld-LDFLAGS): This.
29503 (rtld-tests-LDFLAGS): New macro.
29504 (link-libc-rpath-link): Likewise.
29505 (link-libc-tests-rpath-link): Likewise.
29506 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
29507 (link-libc): Prepand $(link-libc-rpath-link).
29508 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
29509 (test-program-prefix): New macro.
29510 (test-via-rtld-prefix): Likewise.
29511 (test-program-cmd): Likewise.
29512 (host-test-program-cmd): Likewise.
29513 * Makefile ($(common-objpfx)testrun.sh): Replace
29514 $(run-program-prefix) with $(test-program-prefix).
29515 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
29516 $(rtld-LDFLAGS).
29517 ($(common-objpfx)shlib.lds): Likewise.
29518 (build-module-helper): Likewise.
29519 ($(common-objpfx)format.lds): Likewise.
29520 * Rules (binaries-pie-tests): New.
29521 (binaries-pie-notests): Likewise.
29522 (binaries-pie): Rewritten.
29523 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
29524 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
29525 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
29526 (make-test-out): Replace $(host-built-program-cmd) with
29527 $(host-test-program-cmd).
29528 * config.make.in (build-hardcoded-path-in-tests): New variable.
29529 * configure.in (--enable-hardcoded-path-in-tests): New configure
29530 option.
29531 (hardcoded_path_in_tests): New AC_SUBST.
29532 * configure: Regenerated.
29533 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
29534 $(built-program-cmd) with $(test-program-cmd).
29535 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
29536 (test_program_cmd): This.
29537 * elf/Makefile ($(objpfx)order.out): Run test with
29538 $(test-program-prefix).
29539 ($(objpfx)order2.out): Likewise.
29540 ($(objpfx)tst-initorder.out): Likewise.
29541 ($(objpfx)tst-initorder2.out): Likewise.
29542 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
29543 $(test-program-cmd).
29544 ($(objpfx)tst-array1-static.out): Likewise.
29545 ($(objpfx)tst-array2.out): Likewise.
29546 ($(objpfx)tst-array3.out): Likewise.
29547 ($(objpfx)tst-array4.out): Likewise.
29548 ($(objpfx)tst-array5.out): Likewise.
29549 ($(objpfx)tst-array5-static.out): Likewise.
29550 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
29551 $(test-program-cmd).
29552 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
29553 $(run-program-prefix) with $(test-program-prefix).
29554 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
29555 (test_program_prefix): This.
29556 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
29557 $(run-program-prefix) with $(test-program-prefix).
29558 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
29559 (test_program_prefix): This.
29560 * iconvdata/tst-tables.sh: Likewise.
29561 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
29562 $(run-program-prefix) with $(test-program-prefix).
29563 ($(objpfx)tst-translit.out): Likewise.
29564 ($(objpfx)tst-gettext2.out): Likewise.
29565 ($(objpfx)tst-gettext4.out): Likewise.
29566 ($(objpfx)tst-gettext6.out): Likewise.
29567 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
29568 (test_program_prefix): This.
29569 * intl/tst-gettext2.sh: Likewise.
29570 * intl/tst-gettext4.sh Likewise.
29571 * intl/tst-gettext6.sh: Likewise.
29572 * intl/tst-translit.sh: Likewise.
29573 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
29574 with $(test-program-cmd).
29575 * libio/Makefile ($(objpfx)test-freopen.out): Replace
29576 $(run-program-prefix) with $(test-program-prefix).
29577 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
29578 (test_program_prefix): This.
29579 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
29580 $(run-program-prefix) with $(test-program-prefix).
29581 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
29582 (test_program_prefix): This.
29583 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
29584 * posix/Makefile ($(objpfx)globtest.out): Replace
29585 $(run-via-rtld-prefix) and $(test-wrapper) with
29586 $(test-program-prefix) and $(test-via-rtld-prefix).
29587 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
29588 $(test-program-prefix).
29589 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
29590 $(host-test-program-cmd).
29591 (tst-spawn-ARGS): Likewise.
29592 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
29593 $(test-program-prefix).
29594 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
29595 (test_via_rtld_prefix): This.
29596 (test_wrapper): Renamed to ...
29597 (test_program_prefix): This.
29598 (run_program_prefix): Replaced by test_program_prefix.
29599 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
29600 (test_program_prefix): This.
29601 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
29602 with $(host-test-program-cmd).
29603 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
29604 $(run-program-prefix) with $(test-program-prefix).
29605 ($(objpfx)tst-printf.out): Likewise.
29606 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
29607 $(test-program-cmd).
29608 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
29609 (test_program_prefix): This.
29610 * stdio-common/tst-unbputc.sh: Likewise.
29611 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
29612 $(run-program-prefix) with $(test-program-prefix).
29613 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
29614 (test_program_prefix): This.
29615 * string/Makefile ($(objpfx)tst-svc.out): Replace
29616 $(built-program-cmd) with $(test-program-cmd).
29617
c6fe55cf
AJ
296182013-01-11 Andreas Jaeger <aj@suse.de>
29619
29620 [BZ #15003]
29621 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
29622 value. Sync with Linux 3.7.
29623
9e6919c8
DM
296242013-01-10 David S. Miller <davem@davemloft.net>
29625
29626 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
29627 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
29628 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
29629
1c9f1a02
RM
296302013-01-10 Roland McGrath <roland@hack.frob.com>
29631
29632 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
29633 never set.
29634 * configure: Regenerated.
29635
b9de2dde
DM
296362013-01-10 David S. Miller <davem@davemloft.net>
29637
29638 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
29639 sparc V9 rather than using V8 code.
29640 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
29641 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
29642
e7f68ef4
RM
296432013-01-10 Roland McGrath <roland@hack.frob.com>
29644
29645 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
29646 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
29647 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
29648 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
29649 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
29650 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
29651 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
29652 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
29653 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
29654 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
29655 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
29656 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
29657 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
29658 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
29659 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
29660 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
29661 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
29662 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
29663 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
29664 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
29665 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
29666 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
29667 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
29668 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
29669 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
29670 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
29671 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
29672
5a47cc9c
DM
296732013-01-10 David S. Miller <davem@davemloft.net>
29674
29675 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29676
4cf8f209
L
296772013-01-10 H.J. Lu <hongjiu.lu@intel.com>
29678
29679 * posix/Makefile (tests-static): New variable.
29680 (tests): Add $(tests-static).
29681 (tst-exec-static-ARGS): New variable.
29682 (tst-spawn-static-ARGS): Likewise.
29683 * posix/tst-exec-static.c: New file.
29684 * posix/tst-spawn-static.c: Likewise.
29685 * posix/tst-exec.c: Support run directly.
29686 * posix/tst-spawn.c: Likewise.
29687
fed0faa1
JM
296882013-01-10 Joseph Myers <joseph@codesourcery.com>
29689
828beb13
JM
29690 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
29691 long.
29692 * math/bits/mathcalls.h (llrint): Likewise.
29693 (llround): Likewise.
29694 * stdlib/stdlib.h (struct drand48_data): Likewise.
29695 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
29696 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
29697 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
29698 Likewise.
29699 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
29700 Likewise.
29701 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
29702 (elf_greg_t): Likewise.
29703 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
29704 (__jmp_buf): Likewise.
29705 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
29706 definitions.
29707 (llrint): Likewise, for all definitions.
29708 (llrintl): Likewise.
29709
fed0faa1
JM
29710 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
29711 Remove [__GNUC__] condition.
29712 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
29713 condition to just [__USE_ISOC99].
29714 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
29715
1a20cb20
L
297162013-01-10 H.J. Lu <hongjiu.lu@intel.com>
29717
29718 [BZ #14200]
29719 * sysdeps/unix/sysv/linux/x86/bits/environments.h
29720 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
29721 defined.
29722 (_POSIX_V6_ILP32_OFF32): Likewise.
29723 (_XBS5_ILP32_OFF32): Likewise.
29724 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
29725 (__ILP32_OFFBIG_LDFLAGS): Likewise.
29726
751b85f7
SP
297272013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
29728
7490eb81
SP
29729 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
29730
751b85f7
SP
29731 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
29732 doubles __mpexp_twomm1. Adjust usage.
29733 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
29734 Remove.
29735
988197f0
AS
297362013-01-10 Andreas Schwab <schwab@suse.de>
29737
29738 [BZ #14964]
29739 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
29740 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
29741
e83d7298
DM
297422013-01-09 David S. Miller <davem@davemloft.net>
29743
034ed64b 29744 [BZ #15003]
57f41c40
AS
29745 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
29746 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
29747 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
29748 (TCP_FASTOPEN): Define.
e83d7298
DM
29749 (tcp_repair_opt): New structure.
29750 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
29751 enum values.
57f41c40
AS
29752 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
29753 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
29754 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
e83d7298
DM
29755 (tcp_cookie_transactions): New structure.
29756
d5e0b9bd
AB
297572013-01-09 Anton Blanchard <anton@samba.org>
29758
29759 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
29760 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
29761 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
29762 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
29763
0c07e3ea
JM
297642013-01-09 Joseph Myers <joseph@codesourcery.com>
29765
29766 * include/features.h (__USE_ANSI): Remove.
29767
232f7002
RM
297682013-01-09 Roland McGrath <roland@hack.frob.com>
29769
ad98e30c
RM
29770 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
29771
232f7002
RM
29772 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
29773
950c99ca
SP
297742013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
29775
b5792741
SP
29776 * sysdeps/s390/fpu/libm-test-ulps: Update.
29777
47cf2278
SP
29778 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29779
950c99ca
SP
29780 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
29781 (__acr): Likewise.
29782 (__cpy): Likewise.
29783 (norm): Likewise.
29784 (denorm): Likewise.
29785 (__mp_dbl): Likewise.
29786 (__dbl_mp): Likewise.
29787 (add_magnitudes): Likewise.
29788 (sub_magnitudes): Likewise.
29789 (__add): Likewise.
29790 (__sub): Likewise.
29791 (__mul): Likewise.
29792 (__inv): Likewise.
29793 (__dvd): Likewise.
29794 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
29795 (__acr): Likewise.
29796 (__cpy): Likewise.
29797 (norm): Likewise.
29798 (denorm): Likewise.
29799 (__mp_dbl): Likewise.
29800 (__dbl_mp): Likewise.
29801 (add_magnitudes): Likewise.
29802 (sub_magnitudes): Likewise.
29803 (__add): Likewise.
29804 (__sub): Likewise.
29805 (__mul): Likewise.
29806 (__inv): Likewise.
29807 (__dvd): Likewise.
29808 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
29809 (__acr): Likewise.
29810 (__cpy): Likewise.
29811 (norm): Likewise.
29812 (denorm): Likewise.
29813 (__mp_dbl): Likewise.
29814 (__dbl_mp): Likewise.
29815 (add_magnitudes): Likewise.
29816 (sub_magnitudes): Likewise.
29817 (__add): Likewise.
29818 (__sub): Likewise.
29819 (__mul): Likewise.
29820 (__inv): Likewise.
29821 (__dvd): Likewise.
29822
eede9df9
JM
298232013-01-08 Joseph Myers <joseph@codesourcery.com>
29824
29825 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
29826 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
29827 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
29828 2 && __USE_EXTERN_INLINES]: Likewise.
29829
c40ea3d9
AJ
298302013-01-08 Andreas Jaeger <aj@suse.de>
29831
29832 [BZ# 14985]
29833 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
29834 Remove.
29835 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
29836 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
29837
2ccdea26
AB
298382013-01-07 Anton Blanchard <anton@samba.org>
29839
29840 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
29841 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
29842 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
29843 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
29844 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
29845 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
29846 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
29847 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
29848 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
29849 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
29850 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
29851 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
29852 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
29853 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
29854 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
29855 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
29856 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
29857 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
29858 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
29859 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
29860 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
29861 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
29862 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
29863 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
29864 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
29865 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
29866 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
29867 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
29868 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
29869 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
29870 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
29871 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
29872 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
29873 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
29874 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
29875 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
29876 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
29877 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
29878 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
29879 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
29880 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
29881 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
29882 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
29883
a9708fed
JM
298842013-01-07 Joseph Myers <joseph@codesourcery.com>
29885
375607b9
JM
29886 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
29887 (__MALLOC_PMT): Likewise.
29888 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
29889 [__GNUC__], only on [_LIBC].
29890 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
29891 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
29892 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
29893 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
29894 forward declaration.
29895 (realloc_hook_ini): Likewise.
29896 (memalign_hook_ini): Likewise.
29897 (__libc_memalign): Do not use __MALLOC_PMT in variable
29898 declaration.
29899 (__libc_valloc): Likewise.
29900 (__libc_pvalloc): Likewise.
29901 (__libc_calloc): Likewise.
29902 (__posix_memalign): Likewise.
29903
a9708fed
JM
29904 [BZ #14996]
29905 * math/s_casinh.c: Include <float.h>.
29906 (__casinh): Do not do computation with squaring and square root
29907 for large arguments.
29908 * math/s_casinhf.c: Include <float.h>.
29909 (__casinhf): Do not do computation with squaring and square root
29910 for large arguments.
29911 * math/s_casinhl.c: Include <float.h>.
29912 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
29913 (__casinhl): Do not do computation with squaring and square root
29914 for large arguments.
29915 * math/libm-test.inc (casin_test): Add more tests.
29916 (casinh_test): Likewise.
29917 * sysdeps/i386/fpu/libm-test-ulps: Update.
29918 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29919
afec409a
L
299202013-01-04 H.J. Lu <hongjiu.lu@intel.com>
29921
29922 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
29923 (__x86_64_raw_data_cache_size): Likewise.
29924 (__x86_64_data_cache_size_half): Likewise.
29925 (__x86_64_raw_data_cache_size_half): Likewise.
29926 (__x86_64_shared_cache_size): Likewise.
29927 (__x86_64_raw_shared_cache_size): Likewise.
29928 (__x86_64_shared_cache_size_half): Likewise.
29929 (__x86_64_raw_shared_cache_size_half): Likewise.
29930 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
29931 to ...
29932 (__x86_data_cache_size): This.
29933 (__x86_64_raw_data_cache_size): Renamed to ...
29934 (__x86_raw_data_cache_size): This.
29935 (__x86_64_data_cache_size_half): Renamed to ...
29936 (__x86_data_cache_size_half): This.
29937 (__x86_64_raw_data_cache_size_half): Renamed to ...
29938 (__x86_raw_data_cache_size_half): This.
29939 (__x86_64_shared_cache_size): Renamed to ...
29940 (__x86_shared_cache_size): This.
29941 (__x86_64_raw_shared_cache_size): Renamed to ...
29942 (__x86_raw_shared_cache_size): This.
29943 (__x86_64_shared_cache_size_half): Renamed to ...
29944 (__x86_shared_cache_size_half): This.
29945 (__x86_64_raw_shared_cache_size_half): Renamed to ...
29946 (__x86_raw_shared_cache_size_half): This.
29947 * sysdeps/x86_64/memcpy.S: Updated.
29948 * sysdeps/x86_64/memset.S: Likewise.
29949 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
29950 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
29951 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
29952
0b3986d0
DM
299532013-01-04 David S. Miller <davem@davemloft.net>
29954
29955 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29956
e47686e9
AS
299572013-01-04 Andreas Schwab <schwab@linux-m68k.org>
29958
d643bac1
AS
29959 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
29960 1 to avoid redefinition warning.
29961 (__USE_GNU): Don't define.
29962 (init_signaling_nan): Protoize.
29963
e47686e9
AS
29964 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29965
b18decba
SP
299662013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
29967
fffb407f
SP
29968 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
29969 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
29970 (__cpymn): Likewise.
29971 (norm): Remove commented code.
29972 (denorm): Likewise.
29973 (__mp_dbl): Likewise.
29974 (__inv): Likewise.
29975 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
29976 (__cpymn): Likewise.
29977 (norm): Remove commented code.
29978 (denorm): Likewise.
29979 (__mp_dbl): Likewise.
29980 (__inv): Likewise.
29981
b18decba
SP
29982 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
29983 mp_no value for 1.0 and 2.0.
29984 (norm): Use RADIXI instead of radixi.d.
29985 (denorm): Likewise.
29986 (__mul): Use 0.0 instead of zero.d.
29987 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
29988 mp_no value for 1.0 and 2.0.
29989 (norm): Use RADIXI instead of radixi.d.
29990 (denorm): Likewise.
29991 (__mul): Use 0.0 instead of zero.d.
29992
cdc1c96f
JM
299932013-01-04 Joseph Myers <joseph@codesourcery.com>
29994
29995 [BZ #14994]
29996 * math/s_casinh.c (__casinh): Reduce finite argument to first
29997 quadrant then set signs of results at the end.
29998 * math/s_casinhf.c (__casinhf): Likewise.
29999 * math/s_casinhl.c (__casinhl): Likewise.
30000 * math/libm-test.inc (casin_test): Add more tests.
30001 (casinh_test): Likewise.
30002 * sysdeps/i386/fpu/libm-test-ulps: Update.
30003 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30004
302913e1
SP
300052013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
30006
6420d207
SP
30007 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
30008
a9e48ab4
SP
30009 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
30010
b7837264
SP
30011 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
30012 declarations.
30013 (denorm): Likewise.
30014 (__mp_dbl): Likewise.
30015 (__inv): Likewise.
30016
f8af25d2
SP
30017 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
30018 and adjust the header comment.
30019
302913e1
SP
30020 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
30021 variable name from declaration.
30022
5d7dd1ca
L
300232013-01-03 H.J. Lu <hongjiu.lu@intel.com>
30024
30025 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30026 Initialize COMMON_CPUID_INDEX_7 element.
30027 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
30028 (CPUID_RTM): Likewise.
30029 (HAS_RTM): Likewise.
30030 (COMMON_CPUID_INDEX_7): New enum.
30031
2f5f40f4
AS
300322013-01-03 Andreas Schwab <schwab@linux-m68k.org>
30033
30034 [BZ #14981]
30035 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
30036 size is zero, record memory as freed.
30037
4056f4a0
AJ
300382013-01-03 Andreas Jaeger <aj@suse.de>
30039
30040 * po/ia.po: Add new Interlingua translation.
30041
ab15736f 300422012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
30043
30044 * locale/programs/localedef.c: Fix description of '--posix' flag.
30045
568035b7
JM
300462013-01-02 Joseph Myers <joseph@codesourcery.com>
30047
e6898b8d
JM
30048 * NEWS: Update dates in second copyright notice.
30049 * README: Update copyright dates in example.
30050 * manual/libc.texinfo: Update copyright dates.
30051 * scripts/test-installation.pl: Update copyright date in --version
30052 output.
30053
0e2f9562
JM
30054 * hurd/ctty-input.c: Fix copyright notice formatting.
30055 * hurd/ctty-output.c: Likewise.
30056 * hurd/dtable.c: Likewise.
30057 * hurd/hurd-raise.c: Likewise.
30058 * hurd/hurdprio.c: Likewise.
30059 * hurd/msgportdemux.c: Likewise.
30060 * misc/sys/file.h: Likewise.
30061 * misc/sys/ioctl.h: Likewise.
30062 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
30063 * sysdeps/mach/hurd/chdir.c: Likewise.
30064 * sysdeps/mach/hurd/fchdir.c: Likewise.
30065 * sysdeps/mach/hurd/rename.c: Likewise.
30066 * sysdeps/mach/hurd/rmdir.c: Likewise.
30067 * sysdeps/mach/hurd/seekdir.c: Likewise.
30068 * sysdeps/mach/hurd/setsid.c: Likewise.
30069 * sysdeps/posix/wait3.c: Likewise.
30070
568035b7
JM
30071 * All files with FSF copyright notices: Update copyright dates
30072 using scripts/update-copyrights.
30073 * intl/plural.c: Regenerated.
30074 * locale/programs/charmap-kw.h: Likewise.
30075 * locale/programs/locfile-kw.h: Likewise.
30076
da08f647
SP
300772013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
30078
0f5477af
SP
30079 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
30080 four values.
30081
44e0d4c2
SP
30082 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
30083 calculation loop and add branch prediction.
30084
4d55b4e5
SP
30085 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
30086 check access beyond bounds of m1np.
30087
da08f647
SP
30088 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
30089 MPTWO.
30090 (__inv): Remove local variable MPTWO to use the global
30091 constant.
30092 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
30093 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
30094 variable MPTWO.
30095 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
30096 MP3HALFS static const.
30097
8e051029
DM
300982013-01-01 David S. Miller <davem@davemloft.net>
30099
30100 * po/ca.po: Update from translation team.
30101
f4cf5f2d
JM
301022013-01-01 Joseph Myers <joseph@codesourcery.com>
30103
30104 * scripts/update-copyrights: New file.
30105 * Makeconfig: Reformat copyright notice.
30106 * ctype/ctype.h: Likewise.
30107 * debug/swprintf_chk.c: Likewise.
30108 * elf/dl-cache.c: Likewise.
30109 * elf/dl-debug.c: Likewise.
30110 * elf/dl-object.c: Likewise.
30111 * grp/initgroups.c: Likewise.
30112 * hurd/Makefile: Likewise.
30113 * hurd/hurd/signal.h: Likewise.
30114 * hurd/hurdfault.c: Likewise.
30115 * hurd/hurdioctl.c: Likewise.
30116 * hurd/hurdlookup.c: Likewise.
30117 * hurd/intr-msg.c: Likewise.
30118 * iconv/gconv_open.c: Likewise.
30119 * libio/swprintf.c: Likewise.
30120 * locale/lc-ctype.c: Likewise.
30121 * locale/nl_langinfo.c: Likewise.
30122 * mach/Machrules: Likewise.
30123 * mach/Makefile: Likewise.
30124 * malloc/obstack.h: Likewise.
30125 * manual/Makefile: Likewise.
30126 * manual/tsort.awk: Likewise.
30127 * misc/bits/stab.def: Likewise.
30128 * nis/nis_print_group_entry.c: Likewise.
30129 * nis/nis_table.c: Likewise.
30130 * nis/nss_compat/compat-pwd.c: Likewise.
30131 * nis/nss_compat/compat-spwd.c: Likewise.
30132 * po/Makefile: Likewise.
30133 * posix/fnmatch.c: Likewise.
30134 * posix/regex.h: Likewise.
30135 * resolv/Makefile: Likewise.
30136 * resolv/nss_dns/dns-network.c: Likewise.
30137 * resolv/res_hconf.c: Likewise.
30138 * scripts/gen-sorted.awk: Likewise.
30139 * soft-fp/soft-fp.h: Likewise.
30140 * stdio-common/printf.h: Likewise.
30141 * stdlib/monetary.h: Likewise.
30142 * stdlib/random.c: Likewise.
30143 * stdlib/random_r.c: Likewise.
30144 * sysdeps/generic/Makefile: Likewise.
30145 * sysdeps/gnu/Makefile: Likewise.
30146 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
30147 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
30148 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
30149 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
30150 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
30151 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
30152 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
30153 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
30154 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
30155 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
30156 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
30157 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
30158 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
30159 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
30160 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
30161 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
30162 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
30163 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
30164 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
30165 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
30166 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
30167 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
30168 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
30169 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
30170 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
30171 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
30172 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
30173 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
30174 * sysdeps/mach/hurd/errnos.awk: Likewise.
30175 * sysdeps/mach/hurd/fork.c: Likewise.
30176 * sysdeps/mach/hurd/getcwd.c: Likewise.
30177 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
30178 * sysdeps/mach/hurd/mmap.c: Likewise.
30179 * sysdeps/mach/hurd/utimes.c: Likewise.
30180 * sysdeps/mach/hurd/xmknod.c: Likewise.
30181 * sysdeps/posix/profil.c: Likewise.
30182 * sysdeps/posix/readdir_r.c: Likewise.
30183 * sysdeps/powerpc/bits/mathdef.h: Likewise.
30184 * sysdeps/powerpc/bits/setjmp.h: Likewise.
30185 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
30186 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
30187 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
30188 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
30189 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
30190 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
30191 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
30192 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
30193 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
30194 * sysdeps/pthread/lio_listio.c: Likewise.
30195 * sysdeps/sparc/dl-procinfo.h: Likewise.
30196 * sysdeps/unix/i386/sysdep.S: Likewise.
30197 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
30198 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
30199 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
30200 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
30201 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
30202 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
30203 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
30204 * sysdeps/unix/sysv/linux/speed.c: Likewise.
30205 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
30206 * sysdeps/wordsize-32/divdi3.c: Likewise.
30207 * time/sys/time.h: Likewise.
30208 * wcsmbs/Makefile: Likewise.
30209
0549fbba
DM
302102013-01-01 David S. Miller <davem@davemloft.net>
30211
a141f1a7
DM
30212 * po/fr.po: Update from translation team.
30213
0549fbba
DM
30214 * catgets/gencat.c: Update copyright year.
30215 * csu/version.c: Likewise.
30216 * debug/catchsegv.sh: Likewise.
30217 * debug/pcprofiledump.c: Likewise.
30218 * debug/xtrace.sh: Likewise.
30219 * elf/ldconfig.c: Likewise.
30220 * elf/ldd.bash.in: Likewise.
30221 * elf/pldd.c: Likewise.
30222 * elf/sotruss.ksh: Likewise.
30223 * elf/sprof.c: Likewise.
30224 * iconv/iconv_prog.c: Likewise.
30225 * iconv/iconvconfig.c: Likewise.
30226 * locale/programs/locale.c: Likewise.
30227 * locale/programs/localedef.c: Likewise.
30228 * login/programs/pt_chown.c: Likewise.
30229 * malloc/memusage.sh: Likewise.
30230 * malloc/memusagestat.c: Likewise.
30231 * malloc/mtrace.pl: Likewise.
30232 * nscd/nscd.c: Likewise.
30233 * nss/getent.c: Likewise.
30234 * nss/makedb.c: Likewise.
30235 * posix/getconf.c: Likewise.
30236
18ea052c
SP
302372012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
30238
30239 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
30240 numbers.
30241
9c89fca6
MF
302422012-12-30 Mike Frysinger <vapier@gentoo.org>
30243
30244 * math/bits/mathcalls.h (modf): Use __nonnull.
30245
085ec079
SP
302462012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
30247
30248 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
30249 (split): Use macro CN instead of the bare value.
30250 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
30251 could be used.
30252 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
30253 instead of the bare value.
30254 (power1): Likewise.
30255
6d9f97e1
SP
302562012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
30257
d63f73be
SP
30258 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
30259 __ATAN_TWOM.
30260 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
30261
6d9f97e1
SP
30262 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
30263 their values.
30264 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
30265 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
30266 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
30267 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
30268
4c4febf5
AJ
302692012-12-28 Andreas Jaeger <aj@suse.de>
30270
af5843ef
AJ
30271 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
30272 values are from Linux 3.7.
30273
4c4febf5
AJ
30274 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
30275 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
30276
99136f82
SP
302772012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
30278
2f216c3c 30279 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
30280 TRUE case.
30281
99136f82
SP
30282 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
30283 (norm): Likewise.
30284 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
30285 variables with preprocessor constants.
30286 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
30287 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
30288 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
30289
7fffbdff
BH
302902012-12-27 Bruno Haible <bruno@clisp.org>
30291
30292 [BZ #14317]
30293 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
30294 only if needed.
30295
b76eb5f0
SP
302962012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
30297
31a7fe5c
SP
30298 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
30299 and use variable directly.
30300 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
30301
b76eb5f0
SP
30302 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
30303 MPONE.
30304 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
30305 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
30306 variable MPONE.
30307 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
30308 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
30309 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
30310 include directive. Remove local variable MPONE.
30311 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
30312 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
30313 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
30314
2c8bfe7d
DM
303152012-12-25 David S. Miller <davem@davemloft.net>
30316
30317 * version.h (RELEASE): Set to "development".
30318 (VERSION): Set to "2.17.90".
30319 * NEWS: Add 2.18 section.
30320
147d03b0
DM
303212012-12-21 David S. Miller <davem@davemloft.net>
30322
30323 * po/hr.po: Update from translation team.
30324
a8ebb2b9
AK
303252012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30326
30327 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
30328
95b4f1b6
SE
303292012-12-19 Steve Ellcey <sellcey@mips.com>
30330
b2d94007 30331 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 30332
cedb2a90
MS
303332012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
30334
30335 * manual/contrib.texi (Contributors): Spelling correction.
30336
bbf527d6
DM
303372012-12-15 David S. Miller <davem@davemloft.net>
30338
30339 * po/ru.po: Update from translation team.
30340
bc38c906
DM
303412012-12-13 David S. Miller <davem@davemloft.net>
30342
85429b1a
DM
30343 * NEWS: Mention IFUNC testsuite enhancements.
30344
d283e353
DM
30345 * po/pl.po: Update from translation team.
30346 * po/bg.po: Likewise.
30347
bc38c906
DM
30348 * manual/contrib.texi (Contributors): Update entries for Hongjiu
30349 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
30350
a181b0d7
DM
303512012-12-11 David S. Miller <davem@davemloft.net>
30352
4641d57e
DM
30353 * po/sv.po: Update from translation team.
30354
f7bc6495
DM
30355 * po/vi.po: Update from translation team.
30356
6fc9048f
DM
30357 * po/cs.po: Update from translation team.
30358
a181b0d7
DM
30359 * po/de.po: Update from translation team.
30360 * po/eo.po: Likewise.
30361 * po/nl.po: Likewise.
30362
f70bfe80
SP
303632012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
30364
3c8b4190
SP
30365 [BZ #14246]
30366 * manual/argp.texi (Argp Helper Functions): Move node to follow
30367 Argp Parsing State.
30368
f70bfe80
SP
30369 [BZ #14872]
30370 * manual/conf.texi (Limits on File System Capacity): Mention if
30371 terminating null is included in the max size.
30372
188f0adf
AJ
303732012-12-10 Andreas Jaeger <aj@suse.de>
30374
30375 * po/cs.po: Update from translation team.
30376
56e7d3ad
SP
303772012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
30378
30379 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
30380 void pointer and cast to uintptr_t.
30381 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
30382 path.
30383 * sysdeps/s390/s390-64/memcpy.S: Likewise.
30384 * sysdeps/s390/s390-64/memset.S: Likewise.
30385
76f2d2ea 303862012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
30387
30388 [BZ #14833]
30389 * menual/message.texi (Message Translation): Fix typos.
30390 (Helper programs for gettext): Likewise.
30391
67cbf9a2
AS
303922012-12-07 Andreas Schwab <schwab@linux-m68k.org>
30393
30394 [BZ #14898]
30395 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
30396 Change to -1.
30397
682d0e9a
DM
303982012-12-07 David S. Miller <davem@davemloft.net>
30399
30400 * po/libc.pot: Update.
30401
573cd484
RH
304022012-12-07 Richard Henderson <rth@redhat.com>
30403
7e9da188 30404 [BZ #10114]
573cd484
RH
30405 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
30406 normal/normal case to before the switch.
30407 (_FP_DIV): Likewise.
30408
e933a943
MF
304092012-12-06 Carlos O'Donell <carlos@systemhalted.org>
30410 Mike Frysinger <vapier@gentoo.org>
30411
30412 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
30413 check for __NR_fadvise64_64.
30414
82123268
CM
304152012-12-06 Chris Metcalf <cmetcalf@tilera.com>
30416
30417 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
30418 0, not just to plain "0" as a statement.
30419 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
30420 with cw.
30421
d9814526
JM
304222012-12-06 Joseph Myers <joseph@codesourcery.com>
30423
30424 * NEWS: Use sourceware.org in Bugzilla URL.
30425
7728c574
SP
304262012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
30427
f16946dd
SP
30428 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
30429 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
30430
5704bbcb
SP
30431 * stdio-common/tst-put-error.c (do_test): Add newline to the
30432 padded test to ensure flush.
30433
17aa0516
JL
304342012-12-05 Jeff Law <law@redhat.com>
30435
30436 * sunrpc/etc.rpc (fedfs_admin): Add entry.
30437
363313b5
JM
304382012-12-05 Joseph Myers <joseph@codesourcery.com>
30439
effbd42a
JM
30440 * README: Don't refer to ports add-on as distributed separately.
30441 Mention AArch64 in list of systems supported in the ports add-on.
30442
87600365
JM
30443 * LICENSES: Add more non-FSF copyright and license notices.
30444
a0d7066a
JM
30445 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
30446 ((unused)).
30447
66ca5a5b
JM
30448 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
30449
363313b5
JM
30450 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
30451 10000 as width of padded output.
30452
b37984ad
JM
304532012-12-04 Joseph Myers <joseph@codesourcery.com>
30454
9003570a
JM
30455 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
30456
b37984ad
JM
30457 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
30458 variable LX with __attribute__ ((unused)).
30459 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
30460 Likewise.
30461 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
30462 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
30463 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
30464 with __attribute__ ((unused)).
30465
c8df52ec
DM
304662012-12-04 David S. Miller <davem@abraco.davemloft.net>
30467
30468 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
30469
b3b099af
JM
304702012-12-04 Joseph Myers <joseph@codesourcery.com>
30471
c33aa6e3
JM
30472 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
30473 (CFLAGS-nldbl-acos.c): New variable.
30474 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
30475 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
30476 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
30477 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
30478 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
30479 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
30480 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
30481 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
30482 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
30483 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
30484 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
30485 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
30486 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
30487 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
30488 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
30489 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
30490 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
30491 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
30492 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
30493 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
30494 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
30495 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
30496 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
30497 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
30498 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
30499 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
30500 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
30501 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
30502 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
30503 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
30504 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
30505 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
30506 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
30507 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
30508 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
30509 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
30510 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
30511 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
30512 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
30513 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
30514 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
30515 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
30516 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
30517 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
30518 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
30519 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
30520 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
30521 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
30522 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
30523 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
30524 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
30525 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
30526 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
30527 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
30528 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
30529 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
30530 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
30531 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
30532 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
30533 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
30534 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
30535 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
30536 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
30537 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
30538 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
30539 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
30540 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
30541 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
30542 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
30543 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
30544 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
30545 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
30546 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
30547 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
30548 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
30549 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
30550 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
30551 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
30552 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
30553 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
30554 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
30555 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
30556 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
30557 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
30558 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
30559 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
30560 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
30561 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
30562 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
30563 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
30564 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
30565 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
30566 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
30567 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
30568 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
30569 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
30570 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
30571
20f0018d
JM
30572 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
30573 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
30574
b3b099af
JM
30575 [BZ #14914]
30576 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
30577 whole low double instead of just low 47 bits when splitting values
30578 into two parts.
30579
029264d1
AM
305802012-12-03 Allan McRae <allan@archlinux.org>
30581
30582 * manual/stdio.texi (Predefined Printf Handlers): Remove
30583 @hsep and @vsep usage.
30584
c9d6789e
MF
305852012-12-03 Mike Frysinger <vapier@gentoo.org>
30586
30587 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
30588 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
30589
4b7634a5
JL
305902012-12-03 Jeff Law <law@redhat.com>
30591
30592 * time/sys/time.h (settimeofday): Do not mark TV argument
30593 as __nonnull.
30594
eb6cbd24
MF
305952012-12-01 Mike Frysinger <vapier@gentoo.org>
30596
30597 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
30598 when currently writing and seek to current position when not.
30599 * libio/Makefile (tests): Remove bug-fclose1.
30600 * libio/bug-fclose1.c: Delete.
30601
f638872a
JM
306022012-12-01 Joseph Myers <joseph@codesourcery.com>
30603
30604 * manual/arith.texi (feenableexcept): Fix typo.
30605 (fedisableexcept): Likewise.
30606
48085d14
RM
306072012-11-30 Roland McGrath <roland@hack.frob.com>
30608
30609 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
30610 second, differently-typed declaration, rather than a cast.
30611
1a538b9f
SP
306122012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
30613
30614 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
30615 * include/rpc/svc.h: ... here.
30616
d07f2ff1 306172012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
30618
30619 [BZ #13013]
30620 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
30621 depending n and resplen2 to catch cases where answer
30622 equals answerp2.
30623
c93ec1f0
CD
306242012-11-29 Carlos O'Donell <carlos@systemhalted.org>
30625
30626 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
30627 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
30628
37db69de
MF
306292012-11-29 Mike Frysinger <vapier@gentoo.org>
30630
30631 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
30632
e10c4e4f
RM
306332012-11-29 Roland McGrath <roland@hack.frob.com>
30634
30635 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
30636
2af1b328
JL
306372012-11-28 Jeff Law <law@redhat.com>
30638
30639 [BZ #13761]
30640 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
30641 dataset_temporary. Track alloca usage into alloca_used.
30642 If dataset is large allocate and release it via malloc/free.
30643
111db5b1
FW
306442012-06-04 Florian Weimer <fweimer@redhat.com>
30645
f06cc227 30646 [BZ #14197]
111db5b1
FW
30647 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
30648
dd694abd
DM
306492012-11-28 David S. Miller <davem@davemloft.net>
30650
30651 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30652
9984dd01
JM
306532012-11-28 Joseph Myers <joseph@codesourcery.com>
30654
30655 [BZ #14803]
30656 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
30657 of pi/2 rounded to nearest to 64 bits.
30658 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
30659 nearest to 64 bits.
30660 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
30661 bits.
30662
14bc93a9
JL
306632012-11-28 Jeff Law <law@redhat.com>
30664 Martin Osvald <mosvald@redhat.com>
30665
30666 [BZ #14889]
30667 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
30668 * sunrpc/svc.c: Include time.h.
30669 (__svc_accept_failed): New function.
30670 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
30671 any reason other than EINTR, call __svc_accept_failed.
30672 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
30673 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
30674
e3c6aa3a
AS
306752012-11-28 Andreas Schwab <schwab@suse.de>
30676
30677 * scripts/abilist.awk: Also handle indirect functions in .opd
30678 section.
30679
1bead169
JM
306802012-11-28 Joseph Myers <joseph@codesourcery.com>
30681
30682 [BZ #13881]
30683 * sysdeps/x86/fpu/powl_helper.c: New file.
30684 * sysdeps/x86/fpu/Makefile: Likewise.
30685 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
30686 (p3): New object.
30687 (__ieee754_powl): Use __powl_helper for finite arguments except
30688 integer exponents below 8.
30689 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
30690 (p3): New object.
30691 (__ieee754_powl): Use __powl_helper for finite arguments except
30692 integer exponents below 8.
30693 * math/libm-test.inc (pow_test): Add more tests and enable some
30694 previously disabled tests.
30695 * sysdeps/i386/fpu/libm-test-ulps: Update.
30696 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30697
0817d63d
SP
306982012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
30699 Carlos O'Donell <carlos_odonell@mentor.com>
30700
30701 * nss/makedb.c (is_prime): Assert that input is odd and greater
30702 than 4. Note that fact in a comment too.
30703 (next_prime): Add 4 to input.
30704
de2fd463
SP
307052012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
30706
30707 [BZ #11741]
30708 * libio/Makefile (tests): Add test case tst-fwrite-error.
30709 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
30710 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
30711 * libio/tst-fwrite-error.c: New test case.
30712
c515fb51
L
307132012-11-26 H.J. Lu <hongjiu.lu@intel.com>
30714
30715 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
30716 before casting to void *.
30717 * include/libc-internal.h (__pointer_type): New macro.
30718 (__integer_if_pointer_type_sub): Likewise.
30719 (__integer_if_pointer_type): Likewise.
30720 (cast_to_integer): Likewise.
30721 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
30722 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
30723 before casting to atomic64_t.
30724 (atomic_exchange_acq): Likewise.
30725 (__arch_exchange_and_add_body): Likewise.
30726 (__arch_add_body): Likewise.
30727 (atomic_add_negative): Likewise.
30728 (atomic_add_zero): Likewise.
30729
4cf77aa9
JM
307302012-11-26 Joseph Myers <joseph@codesourcery.com>
30731
30732 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
30733 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
30734 (add_fdes): Likewise.
30735 (linear_search_fdes): Likewise.
30736 (binary_search_unencoded_fdes): Likewise.
30737
d260b3b4
AS
307382012-11-26 Andreas Schwab <schwab@linux-m68k.org>
30739
30740 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
30741
67060746
AC
307422012-11-24 Adam Conrad <adconrad@0c3.net>
30743
30744 * configure.in: Autodetect C++ header directories.
30745 * configure: Regenerated.
30746
800938a1
MF
307472012-11-23 Mike Frysinger <vapier@gentoo.org>
30748
30749 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
30750
4e6e34e6
AS
307512012-11-23 Andreas Schwab <schwab@linux-m68k.org>
30752
30753 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30754
7c7feb47
JM
307552012-11-22 Joseph Myers <joseph@codesourcery.com>
30756
7184dcdf
JM
30757 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
30758 LDBL_MANT_DIG == 106]: Disable some tests.
30759 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
30760 Likewise.
30761 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
30762 Likewise.
30763
0a42601f
JM
30764 [BZ #14871]
30765 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
30766 input for small inputs. Return +/- pi/2 for large inputs.
30767 * math/libm-test.inc (atan_test): Add more tests.
30768
79c9b9fe
JM
30769 * sysdeps/generic/unwind-dw2-fde-glibc.c
30770 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
30771 __attribute__ ((unused)).
30772
c60d3bf2
JM
30773 [BZ #14645]
30774 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
30775 x * y if x and y are nonzero and z is zero.
30776
ef1e0867
JM
30777 [BZ #14811]
30778 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
30779 nonzero exponents with absolute value below 0x1p-117 to +/-
30780 0x1p-117.
30781
1468ded3
JM
30782 [BZ #14869]
30783 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
30784 up arguments below 2**-450, not just those below 2**-500.
30785 * math/libm-test.inc (hypot_test): Add another test.
30786
8e27e3cc
JM
30787 [BZ #14868]
30788 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
30789 Return a+b for ratio over 2**120, not 2**60.
30790 * math/libm-test.inc (hypot_test): Add another test.
30791
c9c0279b
JM
30792 * math/libm-test.inc (clog_test): Use
30793 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
30794 (clog10_test): Likewise.
30795
7c7feb47
JM
30796 [BZ #6778]
30797 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
30798
fff1530e
AS
307992012-11-22 Andreas Schwab <schwab@suse.de>
30800
30801 * sysdeps/i386/fpu/libm-test-ulps: Update.
30802
94558d30
PT
308032012-11-22 Pino Toscano <toscano.pino@tiscali.it>
30804
30805 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
30806 printf output with newline.
30807
7e1be741
L
308082012-11-21 H.J. Lu <hongjiu.lu@intel.com>
30809
6bfea974
L
30810 [BZ #14865]
30811 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
30812 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
30813 -z nodlopen, -z initfirst and -z execstack support.
30814 * configure: Regenerated.
30815
7e1be741
L
30816 * elf/elf.h (DF_1_NODIRECT): New macro.
30817 (DF_1_IGNMULDEF): Likewise.
30818 (DF_1_NOKSYMS): Likewise.
30819 (DF_1_NOHDR): Likewise.
30820 (DF_1_EDITED): Likewise.
30821 (DF_1_NORELOC): Likewise.
30822 (DF_1_SYMINTPOSE): Likewise.
30823 (DF_1_GLOBAUDIT): Likewise.
30824 (DF_1_SINGLETON): Likewise.
30825 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
30826 DT_1_SUPPORTED_MASK bits.
30827 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
30828
105ce2ce
CD
308292012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
30830
30831 * sysdeps/unix/make-syscalls.sh: Document prefixes.
30832
123be9de
TS
308332012-11-20 Thomas Schwinge <thomas@codesourcery.com>
30834
d072f3f7
TS
30835 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
30836 macro.
30837
123be9de
TS
30838 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
30839 (sendmmsg): Move declarations...
30840 * socket/sys/socket.h: ... here.
30841 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
30842 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
30843 include it from...
30844 * socket/recvmmsg.c: ... this new file.
30845 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
30846 (sendmmsg): Rename to __sendmmsg, create weak alias and make
30847 definition of __sendmmsg hidden.
30848 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
30849 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
30850 Move ENOSYS stub into and include it from...
30851 * socket/sendmmsg.c: ... this new file.
30852 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
30853 (sysdep_routines): Move recvmmsg and sendmmsg...
30854 * socket/Makefile (routines): ... here.
30855 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
30856 (GLIBC_PRIVATE): Add __sendmmsg.
30857 * include/sys/socket.h (__sendmmsg): Add declarations.
30858 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
30859 sendmmsg.
30860
cf9a5d18
JM
308612012-11-20 Joseph Myers <joseph@codesourcery.com>
30862
30863 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
30864 variable I1 with __attribute__ ((unused)).
30865 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
30866
ecd4caf9
JM
308672012-11-19 Joseph Myers <joseph@codesourcery.com>
30868
be14d48f
JM
30869 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
30870 DUMMY variables with __attribute__ ((unused)).
30871
ecd4caf9
JM
30872 * bits/byteswap.h: Include <bits/types.h>.
30873 (__bswap_64): Use __uint64_t instead of unsigned long long int.
30874
986cab95
PT
308752012-11-19 Pino Toscano <toscano.pino@tiscali.it>
30876
30877 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
30878 string_t. Do not manually set errno.
30879 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
30880 length with __strnlen. Make sure to both set errno and return it on
30881 failure.
30882
6d33cc9d
DM
308832012-11-19 David S. Miller <davem@davemloft.net>
30884
30885 With help from Joseph Myers.
30886 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
30887 very large arguments properly.
30888 * math/libm-test.inc (atan_test): New tests.
30889 (atan2_test): New tests.
30890 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30891 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30892
ee663277
JM
308932012-11-19 Joseph Myers <joseph@codesourcery.com>
30894
877f2d8e
JM
30895 [BZ #14856]
30896 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
30897 Define to 3.
30898
116fc08a
JM
30899 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
30900 [POSIX] (EADDRNOTAVAIL): Likewise.
30901 [POSIX] (EAFNOSUPPORT): Likewise.
30902 [POSIX] (EALREADY): Likewise.
30903 [POSIX] (ECONNABORTED): Likewise.
30904 [POSIX] (ECONNREFUSED): Likewise.
30905 [POSIX] (ECONNRESET): Likewise.
30906 [POSIX] (EDESTADDRREQ): Likewise.
30907 [POSIX] (EDQUOT): Likewise.
30908 [POSIX] (EHOSTUNREACH): Likewise.
30909 [POSIX] (EIDRM): Likewise.
30910 [POSIX] (EISCONN): Likewise.
30911 [POSIX] (ELOOP): Likewise.
30912 [POSIX] (EMULTIHOP): Likewise.
30913 [POSIX] (ENETDOWN): Likewise.
30914 [POSIX] (ENETUNREACH): Likewise.
30915 [POSIX] (ENOBUFS): Likewise.
30916 [POSIX] (ENODATA): Likewise.
30917 [POSIX] (ENOLINK): Likewise.
30918 [POSIX] (ENOMSG): Likewise.
30919 [POSIX] (ENOPROTOOPT): Likewise.
30920 [POSIX] (ENOSR): Likewise.
30921 [POSIX] (ENOSTR): Likewise.
30922 [POSIX] (ENOTCONN): Likewise.
30923 [POSIX] (ENOTSOCK): Likewise.
30924 [POSIX] (EOPNOTSUPP): Likewise.
30925 [POSIX] (EOVERFLOW): Likewise.
30926 [POSIX] (EPROTO): Likewise.
30927 [POSIX] (EPROTONOSUPPORT): Likewise.
30928 [POSIX] (EPROTOTYPE): Likewise.
30929 [POSIX] (ESTALE): Likewise.
30930 [POSIX] (ETIME): Likewise.
30931 [POSIX] (ETXTBSY): Likewise.
30932 [POSIX] (EWOULDBLOCK): Likewise.
30933 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
30934 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
30935 [POSIX] (SEEK_CUR): Likewise.
30936 [POSIX] (SEEK_END): Likewise.
30937 [POSIX || UNIX98] (mode_t): Do not require.
30938 [POSIX] (off_t): Likewise.
30939 [POSIX] (pid_t): Likewise.
30940 [POSIX] (sys/stat.h): Do not allow header.
30941 [POSIX] (unistd.h): Likewise.
30942 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
30943 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
30944 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
30945 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
30946 require.
30947 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
30948 sigevent): Specify elements.
30949 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
30950 entry.
30951 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
30952 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
30953
a483863f
JM
30954 * conform/data/cpio.h-data [POSIX]: Disable whole file.
30955 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
30956 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
30957 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
30958 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
30959 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
30960 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
30961 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
30962 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
30963 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
30964 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
30965 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
30966 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
30967 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
30968 Likewise.
30969 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
30970 Likewise.
30971 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
30972 Likewise.
30973 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
30974 Likewise.
30975 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
30976 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
30977 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
30978 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
30979 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
30980 Specify lower bound on value.
30981 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
30982 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
30983 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
30984 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
30985 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
30986 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
30987 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
30988 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
30989 value.
30990 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
30991 as optional.
30992 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
30993 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
30994 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
30995 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
30996 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
30997 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
30998 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
30999 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
31000 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
31001 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
31002 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
31003 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
31004 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
31005 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
31006 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
31007 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
31008 entry.
31009 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
31010 optional.
31011 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
31012 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
31013 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
31014 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
31015 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
31016 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
31017 Likewise.
31018 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
31019 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
31020 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
31021 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
31022 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
31023 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
31024 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
31025 as optional.
31026 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
31027 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
31028 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
31029 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
31030 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
31031 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
31032 specify as optional.
31033 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
31034 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
31035 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
31036 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
31037 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
31038 [XPG3] (NL_LANGMAX): Likewise.
31039 [POSIX || XPG3] (NL_MSGMAX): Likewise.
31040 [POSIX || XPG3] (NL_NMAX): Likewise.
31041 [POSIX || XPG3] (NL_SETMAX): Likewise.
31042 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
31043 [XPG3] (NZERO): Likewise.
31044 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
31045 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
31046 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
31047 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
31048 (REG_ERANGE): Expect.
31049 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
31050 optional-constant.
31051 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
31052 Use (void) in prototype.
31053 [POSIX] (*_t): Allow.
31054 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
31055 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
31056 (WRDE_BADVAL): Expect.
31057
5ba924e3
JM
31058 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
31059 expect.
31060 [XPG3 || XPG4] (O_RSYNC): Likewise.
31061 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
31062 Likewise.
31063 [XPG3 || XPG4] (pthread_sigmask): Likewise.
31064 [XPG3 || XPG4] (sigqueue): Likewise.
31065 [XPG3 || XPG4] (sigtimedwait): Likewise.
31066 [XPG3 || XPG4] (sigwaitinfo): Likewise.
31067 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
31068 [XPG3 || XPG4] (vsnprintf): Likewise.
31069 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
31070 Likewise.
31071 [XPG3 || XPG4] (blksize_t): Likewise.
31072 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
31073 Likewise.
31074 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
31075 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
31076 [XPG3 || XPG4] (struct itimerspec): Likewise.
31077 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
31078 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
31079 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
31080 [XPG3 || XPG4] (clockid_t): Likewise.
31081 [XPG3 || XPG4] (timer_t): Likewise.
31082 [XPG3 || XPG4] (clock_getres): Likewise.
31083 [XPG3 || XPG4] (clock_gettime): Likewise.
31084 [XPG3 || XPG4] (clock_settime): Likewise.
31085 [XPG3 || XPG4] (nanosleep): Likewise.
31086 [XPG3 || XPG4] (timer_create): Likewise.
31087 [XPG3 || XPG4] (timer_delete): Likewise.
31088 [XPG3 || XPG4] (timer_gettime): Likewise.
31089 [XPG3 || XPG4] (timer_getoverrun): Likewise.
31090 [XPG3 || XPG4] (timer_settime): Likewise.
31091 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
31092 [XPG3 || XPG4] (getlogin_r): Likewise.
31093 [XPG3 || XPG4] (pread): Likewise.
31094 [XPG3 || XPG4] (pthread_atfork): Likewise.
31095 [XPG3 || XPG4] (pwrite): Likewise.
31096
ee663277
JM
31097 [BZ #14835]
31098 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
31099 <bits/siginfo.h>.
31100
942caa16
PT
311012012-11-19 Pino Toscano <toscano.pino@tiscali.it>
31102
e19af380
PT
31103 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
31104 finalizing MALLSTREAM.
31105
942caa16
PT
31106 * sysdeps/mach/hurd/syncfs.c: New file.
31107
cfde9b46
SP
311082012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
31109
31110 [BZ #14719]
31111 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
31112 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
31113 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
31114 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
31115 (_nss_dns_gethostbyname4_r): Likewise.
31116 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
31117 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
31118
f6da27e5
PH
311192012-11-19 Peng Haitao <penght@cn.fujitsu.com>
31120
31121 [BZ #13763]
31122 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
31123
6665d4a2
SM
311242012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
31125
1f51ee92
SM
31126 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
31127 * elf/cache.c (print_entry): Print ",AArch64" for
31128 FLAG_AARCH64_LIB64
31129
6665d4a2
SM
31130 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
31131 * elf/cache.c (print_entry): Print ",hard-float" for
31132 FLAG_ARM_LIBHF.
31133
05b227bd
DM
311342012-11-18 David S. Miller <davem@davemloft.net>
31135
31136 With help from Joseph Myers.
31137 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
31138 cutoff to 2**-13.
31139 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
31140 cutoff to 2**-25.
31141 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
31142 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
31143 small.
31144 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
31145 * math/libm-test.inc (y0_test): New tests.
31146 (y1_test): New tests.
31147 * sysdeps/i386/fpu/libm-test-ulps: Update.
31148 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31149 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31150
786b0b67
AS
311512012-11-18 Andreas Schwab <schwab@linux-m68k.org>
31152
31153 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
31154 64-bit targets.
31155 * configure: Regenerated.
31156
8e18b86d
DM
311572012-11-17 David S. Miller <davem@davemloft.net>
31158
31159 [BZ #14811]
31160 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
31161 nonzero exponents with absolute value below 0x1p-128 to +/-
31162 0x1p-128.
31163
531f1ae0
JM
311642012-11-17 Joseph Myers <joseph@codesourcery.com>
31165
12df29e2
JM
31166 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
31167
150dc1a0
JM
31168 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
31169
531f1ae0
JM
31170 * posix/getconf-speclist.c: New file.
31171 * posix/posix-envs.def: Likewise.
31172 * posix/confstr.c (START_ENV_GROUP): New macro.
31173 (END_ENV_GROUP): Likewise.
31174 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
31175 (KNOWN_PRESENT_ENV_STRING): Likewise.
31176 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
31177 (UNKNOWN_ENVIRONMENT): Likewise.
31178 (confstr): Include posix-envs.def instead of handling
31179 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
31180 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
31181 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
31182 (END_ENV_GROUP): Likewise.
31183 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
31184 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
31185 (UNKNOWN_ENVIRONMENT): Likewise.
31186 (__sysconf): Include posix-envs.def instead of handling associated
31187 cases directly here.
31188 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
31189 preprocessing getconf-speclist.c rather than running getconf or
31190 generating empty file.
31191
a93f9cbc
PT
311922012-11-16 Pino Toscano <toscano.pino@tiscali.it>
31193
31194 * scripts/check-local-headers.sh: Ignore 'mach' headers.
31195
d64d9f87
AL
311962012-11-16 Andrej Lajovic <natrij@gmail.com>
31197
31198 [BZ #14672]
31199 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
31200
447885eb
DM
312012012-11-16 David S. Miller <davem@davemloft.net>
31202
31203 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
31204 smaller than LDBL_EPSILON/2.0L, just return xm1.
31205
bcbf9830
L
312062012-11-16 H.J. Lu <hongjiu.lu@intel.com>
31207
31208 * elf/tst-array1.c (init): Set constructor priority to 1000.
31209 (fini): Set destructor priority to 1000.
31210 * elf/tst-array2dep.c: Likewise.
31211
2b766585
SP
312122012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
31213
31214 [BZ #11741]
31215 * libio/fileops.c (_IO_new_file_write): Correctly return error.
31216 (_IO_new_file_xsputn): Also return EOF if none of the input
31217 data was written when overflow failed.
31218 * libio/iopadn.c (_IO_padn): Likewise.
31219 * libio/iowpadn.c (_IO_wpadn): Likewise.
31220 * stdio-common/tst-put-error.c: Add copyright notice.
31221 (do_test): Add case for printing padded string.
31222 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
31223 _IO_padn returned error.
31224 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
31225 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
31226 return EOF.
31227
b1848fde
SP
312282012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
31229
31230 * libio/libioP.h: Add comment note that the references to C++
31231 bits are now obsolete.
31232
2fd89785
MS
312332012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
31234
31235 * math/libm-test.inc (check_complex): Use asprintf.
31236
e3ea5409
JM
312372012-11-14 Joseph Myers <joseph@codesourcery.com>
31238
31239 * debug/pcprofiledump.c (print_version): Update copyright year.
31240 * malloc/memusagestat.c (print_version): Likewise.
31241
2e64d265
L
312422012-11-14 H.J. Lu <hongjiu.lu@intel.com>
31243
31244 [BZ #14831]
31245 * elf/Makefile (tests): Add tst-audit8.
31246 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
31247 ($(objpfx)tst-audit8.out): New target.
31248 (tst-audit8-ENV): New variable.
31249 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
31250 audit if l_reloc_result is NULL.
31251 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
31252 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
31253 * elf/tst-audit8.c: New file.
31254
c485e4d2
MS
312552012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
31256
31257 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
31258 * misc/Makefile (CFLAGS-select.c): Define.
31259 * posix/Makefile (CFLAGS-pause.c): Define.
31260
3a0d900a
DM
312612012-11-13 David S. Miller <davem@davemloft.net>
31262
31263 * crypt/Makefile: Move test targets after toplevel Rules
31264 inclusion. Grab any necessary sysdep routines when linking.
31265 * crypt/md5.c (md5_process_block): Remove define, we will always
31266 name it __md5_process_block.
31267 (md5_finish_ctx): Update md5_process_block call.
31268 (md5_stream): Likewise.
31269 (md5_process_bytes): Likewise.
31270 (md5_process_block): Rename to __md5_process_block and move to ...
31271 * crypt/md5-block.c: ... here.
31272 * crypt/sha256.c (sha256_process_block): Move to ...
31273 * crypt/sha256-block.c: ... here.
31274 * crypt/sha512.c (sha512_process_block): Move to ...
31275 * crypt/sha512-block.c: ... here.
31276 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
31277 path.
31278 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
31279 * sysdeps/sparc/sparc64/multiarch/Makefile
31280 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
31281 crypt subdir.
31282 (localedef-aux): Add md5 crypto assembler when in locale subdir.
31283 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
31284 multiarch changes.
31285 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
31286 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
31287 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
31288 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
31289 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
31290 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
31291 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
31292 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
31293 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
31294 file.
31295 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
31296 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
31297 file.
31298 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
31299
8ca89318
JM
313002012-11-13 Joseph Myers <joseph@codesourcery.com>
31301
e27d476a
JM
31302 * timezone/tzselect.ksh: Update from tzcode git revision
31303 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
31304 * timezone/zdump.c: Likewise.
31305 * timezone/zic.c: Likewise.
31306 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
31307 in TZVERSION setting, not $(PKGVERSION).
31308 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
31309 REPORT_BUGS_TO settings.
31310
8ca89318
JM
31311 [BZ #14838]
31312 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
31313 macro.
31314
47594329
MS
313152012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
31316
31317 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
31318 detection to immediately after _FP_ROUND().
31319 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
31320 bits are 0.
31321
640ac3f1
DM
313222012-11-11 David S. Miller <davem@davemloft.net>
31323
31324 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
31325 inttypes.h
31326 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
31327 __close rather than their public counterparts.
31328
3d2577bb
JM
313292012-11-10 Joseph Myers <joseph@codesourcery.com>
31330
31331 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
31332 file.
31333 [UNIX98] (sem_timedwait): Do not expect.
31334 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
31335 [XPG4 || UNIX98] (sockatmark): Do not expect.
31336 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
31337 (clock_getcpuclockid): Do not expect.
31338 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
31339 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
31340 Do not expect.
31341 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
31342 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
31343 [UNIX98] (vwscanf): Likewise.
31344 [UNIX98] (vswscanf): Likewise.
31345
fb1ae1ee
JM
313462012-11-09 Joseph Myers <joseph@codesourcery.com>
31347
9ec6f8bd
JM
31348 * timezone/version.h: Remove file.
31349 * timezone/README: Do not refer to version.h.
31350 * timezone/Makefile ($(objpfx)zic.o): New dependency on
31351 $(objpfx)version.h.
31352 ($(objpfx)zdump.o): Likewise.
c3f81911 31353 ($(objpfx)version.h): New target.
9ec6f8bd 31354
0aa8f8a1
JM
31355 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
31356 2012i.
31357 * timezone/README: Don't mention modification to tzselect.ksh.
31358 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
31359 work on unmodified tzselect.ksh. Substitute version numbers in
31360 tzselect.ksh.
31361
4e87147f
JM
31362 * Makefile (format-me): Remove.
31363 (INSTALL): Adjust indentation. Use commands directly instead of
31364 using $(format-me).
31365
8b748aed
JM
31366 * aclocal.m4 (ACX_PKGVERSION): New macro.
31367 (ACX_BUGURL): Likewise.
31368 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
31369 (PKGVERSION): New AC_DEFINE_UNQUOTED.
31370 (REPORT_BUGS_TO): Likewise.
31371 * configure: Regenerated.
31372 * config.h.in (PKGVERSION): New macro.
31373 (REPORT_BUGS_TO): Likewise.
31374 * config.make.in (PKGVERSION): New variable.
31375 (PKGVERSION_TEXI): Likewise.
31376 (REPORT_BUGS_TO): Likewise.
31377 (REPORT_BUGS_TEXI): Likewise.
31378 * Makefile (format-me): Use -I$(common-objpfx)manual.
31379 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
31380 ($(common-objpfx)manual/%): New target.
31381 (manual/%): Remove target.
31382 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
31383 (print_version): Use PKGVERSION.
31384 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
31385 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
31386 and REPORT_BUGS_TO.
31387 ($(objpfx)xtrace): Likewise.
31388 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
31389 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
31390 (print_version): Use PKGVERSION.
31391 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
31392 (do_version): Use PKGVERSION.
31393 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
31394 REPORT_BUGS_TO.
31395 (common-ldd-rewrite): Likewise.
31396 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
31397 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
31398 (print_version): Use PKGVERSION.
31399 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
31400 * elf/pldd.c (argp_program_bug_address): Remove variable.
31401 (more_help): New function.
31402 (argp): Use more_help.
31403 (print_version): Use PKGVERSION.
31404 * elf/sln.c (main): Use PKGVERSION.
31405 (usage): Use REPORT_BUGS_TO.
31406 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
31407 (top level): Use PKGVERSION.
31408 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
31409 (print_version): Use PKGVERSION.
31410 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
31411 (print_version): Use PKGVERSION.
31412 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
31413 (print_version): Use PKGVERSION.
31414 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
31415 (print_version): Use PKGVERSION.
31416 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
31417 (print_version): Use PKGVERSION.
31418 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
31419 (print_version): Use PKGVERSION.
31420 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
31421 and BUGURL.
31422 ($(objpfx)memusage): Likewise.
31423 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
31424 (do_version): Use PKGVERSION.
31425 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
31426 (print_version): Use PKGVERSION.
31427 * malloc/mtrace.pl ($PACKAGE): Remove variable.
31428 ($PKGVERSION): New variable.
31429 ($REPORT_BUGS_TO): Likewise.
31430 (usage): Use $REPORT_BUGS_TO.
31431 (top level): Use $PKGVERSION.
31432 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
31433 ($(objpfx)pkgvers.texi): New rule.
31434 ($(objpfx)stamp-pkgvers): Likewise.
31435 * manual/install.texi: Include pkgvers.texi.
31436 (--with-pkgversion): Document new configure option.
31437 (--with-bugurl): Likewise.
31438 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
31439 than necessarily for this particular distribution. Use
31440 REPORT_BUGS_TO for where to report bugs.
31441 * INSTALL: Regenerated.
31442 * manual/libc.texinfo: Include pkgvers.texi.
31443 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
31444 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
31445 (print_version): Use PKGVERSION.
31446 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
31447 (print_version): Use PKGVERSION.
31448 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
31449 (print_version): Use PKGVERSION.
31450 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
31451 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
31452 macro.
31453 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
31454 (print_version): Use PKGVERSION.
31455 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
31456 (print_version): Use PKGVERSION.
31457 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
31458 and PKGVERSION.
31459
92e4b6a9
JM
31460 * timezone/checktab.awk: Update from tzcode 2012i.
31461 * timezone/ialloc.c: Likewise.
31462 * timezone/private.h: Likewise.
31463 * timezone/scheck.c: Likewise.
31464 * timezone/tzfile.h: Likewise.
31465 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
31466 (TZVERSION): Hardcode tzcode version number.
31467 * timezone/zdump.c: Update from tzcode 2012i.
31468 * timezone/zic.c: Likewise.
31469 * timezone/version.h: New file.
31470 * timezone/README: Describe version.h. Update upstream location.
31471
9bde902c
JM
31472 [BZ #14824]
31473 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
31474 (mktemp): Enable declaration.
31475 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
31476 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
31477 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
31478 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
31479 Likewise.
31480 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
31481 Likewise.
31482 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
31483 Likewise.
31484 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
31485 Likewise.
31486 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
31487 Likewise.
31488 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
31489 Likewise.
31490
fb1ae1ee
JM
31491 [BZ #14821]
31492 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
31493 offset in buffer as u_int32_t not u_long. Consistently use memcpy
31494 for copies of such integer values.
31495 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
31496 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
31497
2c1adbcb
AJ
314982012-11-09 Andreas Jaeger <aj@suse.de>
31499
31500 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
31501 definitions and declarations that are provided by
31502 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
31503
d0f8457e
AK
315042012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31505
3a235abb 31506 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
31507 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
31508 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
31509 definition.
31510
57241e26
MS
315112012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
31512
31513 * elf/elf.h: Update comment before AArch64 relocations.
31514
60e8270d
DM
315152012-11-07 David S. Miller <davem@davemloft.net>
31516
31517 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
31518 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
31519 (__start_context): Declare.
31520 (__makecontext_ret): Delete.
31521 (__makecontext): Hook up __start_context instead of
31522 __makecontext_ret.
31523 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
31524 (sysdep_routines): Add __start_context when in stdlib.
31525
0fbb0fbc
JM
315262012-11-07 Joseph Myers <joseph@codesourcery.com>
31527
31528 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
31529 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
31530 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
31531 hardcoded "nm".
31532 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
31533 (READELF): New variable. Use it instead of hardcoded "readelf".
31534
eb48db7e
L
315352012-11-07 H.J. Lu <hongjiu.lu@intel.com>
31536
31537 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
31538 * sysdeps/x86/Makefile: Here.
31539 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
31540 * sysdeps/x86/tst-xmmymm.sh: This.
31541
05bcf62a
JM
315422012-11-07 Joseph Myers <joseph@codesourcery.com>
31543
c4b6cf53
JM
31544 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
31545 expectations.
31546 [UNIX98] (pthread_barrier_t): Do not expect.
31547 [UNIX98] (pthread_barrierattr_t): Likewise.
31548 [UNIX98] (pthread_spinlock_t): Likewise.
31549 [UNIX98] (pthread_barrier_destroy): Likewise.
31550 [UNIX98] (pthread_barrier_init): Likewise.
31551 [UNIX98] (pthread_barrier_wait): Likewise.
31552 [UNIX98] (pthread_barrierattr_destroy): Likewise.
31553 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
31554 [UNIX98] (pthread_barrierattr_init): Likewise.
31555 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
31556 [UNIX98] (pthread_getcpuclockid): Likewise.
31557 [UNIX98] (pthread_mutex_timedlock): Likewise.
31558 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
31559 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
31560 [UNIX98] (pthread_sigmask): Likewise.
31561 [UNIX98] (pthread_spin_destroy): Likewise.
31562 [UNIX98] (pthread_spin_init): Likewise.
31563 [UNIX98] (pthread_spin_lock): Likewise.
31564 [UNIX98] (pthread_spin_trylock): Likewise.
31565 [UNIX98] (pthread_spin_unlock): Likewise.
31566 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
31567 Do not expect.
31568 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
31569 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
31570 [XPG3 || XPG4] (pthread_cond_t): Likewise.
31571 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
31572 [XPG3 || XPG4] (pthread_key_t): Likewise.
31573 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
31574 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
31575 [XPG3 || XPG4] (pthread_once_t): Likewise.
31576 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
31577 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
31578 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
31579 [XPG3 || XPG4] (pthread_t): Likewise.
31580
cbe6e120
JM
31581 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
31582 not expect.
31583 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
31584
1b126443
JM
31585 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
31586 Change function return type to int.
31587
b961a573
JM
31588 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
31589 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
31590 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
31591 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
31592 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
31593 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
31594 [!POSIX] (posix_madvise): Likewise.
31595 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
31596 && !UNIX98].
31597 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
31598 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
31599 (mode_t): Likewise.
31600 (posix_mem_offset): Likewise.
31601 (posix_typed_mem_get_info): Likewise.
31602 (posix_typed_mem_open): Likewise.
31603
9e188909
JM
31604 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
31605 Change condition to [XOPEN2K8].
31606
05bcf62a
JM
31607 * conform/conformtest.pl: Preprocess allow-header data with -x c
31608 instead of from stdin.
31609 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
31610 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
31611 [C99-based standards] (cerfc): Likewise.
31612 [C99-based standards] (cexp2): Likewise.
31613 [C99-based standards] (cexpm1): Likewise.
31614 [C99-based standards] (clog10): Likewise.
31615 [C99-based standards] (clog1p): Likewise.
31616 [C99-based standards] (clog2): Likewise.
31617 [C99-based standards] (clgamma): Likewise.
31618 [C99-based standards] (ctgamma): Likewise.
31619 [C99-based standards] (cerff): Likewise.
31620 [C99-based standards] (cerfcf): Likewise.
31621 [C99-based standards] (cexp2f): Likewise.
31622 [C99-based standards] (cexpm1f): Likewise.
31623 [C99-based standards] (clog10f): Likewise.
31624 [C99-based standards] (clog1pf): Likewise.
31625 [C99-based standards] (clog2f): Likewise.
31626 [C99-based standards] (clgammaf): Likewise.
31627 [C99-based standards] (ctgammaf): Likewise.
31628 [C99-based standards] (cerfl): Likewise.
31629 [C99-based standards] (cerfcl): Likewise.
31630 [C99-based standards] (cexp2l): Likewise.
31631 [C99-based standards] (cexpm1l): Likewise.
31632 [C99-based standards] (clog10l): Likewise.
31633 [C99-based standards] (clog1pl): Likewise.
31634 [C99-based standards] (clog2l): Likewise.
31635 [C99-based standards] (clgammal): Likewise.
31636 [C99-based standards] (ctgammal): Likewise.
31637 * conform/data/inttypes.h-data [C99-based standards]: Include
31638 stdint.h-data. Remove all expectations for stdint.h contents.
31639 [C99-based standards] (PRI*): Do not allow.
31640 [C99-based standards] (SCN*): Likewise.
31641 [C99-based standards] (*_t): Likewise.
31642 [C99-based-standards] (PRId8): Expect macro.
31643 [C99-based-standards] (PRIi8): Likewise.
31644 [C99-based-standards] (PRIo8): Likewise.
31645 [C99-based-standards] (PRIu8): Likewise.
31646 [C99-based-standards] (PRIx8): Likewise.
31647 [C99-based-standards] (PRIX8): Likewise.
31648 [C99-based-standards] (SCNd8): Likewise.
31649 [C99-based-standards] (SCNi8): Likewise.
31650 [C99-based-standards] (SCNo8): Likewise.
31651 [C99-based-standards] (SCNu8): Likewise.
31652 [C99-based-standards] (SCNx8): Likewise.
31653 [C99-based-standards] (PRIdLEAST8): Likewise.
31654 [C99-based-standards] (PRIiLEAST8): Likewise.
31655 [C99-based-standards] (PRIoLEAST8): Likewise.
31656 [C99-based-standards] (PRIuLEAST8): Likewise.
31657 [C99-based-standards] (PRIxLEAST8): Likewise.
31658 [C99-based-standards] (PRIXLEAST8): Likewise.
31659 [C99-based-standards] (SCNdLEAST8): Likewise.
31660 [C99-based-standards] (SCNiLEAST8): Likewise.
31661 [C99-based-standards] (SCNoLEAST8): Likewise.
31662 [C99-based-standards] (SCNuLEAST8): Likewise.
31663 [C99-based-standards] (SCNxLEAST8): Likewise.
31664 [C99-based-standards] (PRIdFAST8): Likewise.
31665 [C99-based-standards] (PRIiFAST8): Likewise.
31666 [C99-based-standards] (PRIoFAST8): Likewise.
31667 [C99-based-standards] (PRIuFAST8): Likewise.
31668 [C99-based-standards] (PRIxFAST8): Likewise.
31669 [C99-based-standards] (PRIXFAST8): Likewise.
31670 [C99-based-standards] (SCNdFAST8): Likewise.
31671 [C99-based-standards] (SCNiFAST8): Likewise.
31672 [C99-based-standards] (SCNoFAST8): Likewise.
31673 [C99-based-standards] (SCNuFAST8): Likewise.
31674 [C99-based-standards] (SCNxFAST8): Likewise.
31675 [C99-based-standards] (PRId16): Likewise.
31676 [C99-based-standards] (PRIi16): Likewise.
31677 [C99-based-standards] (PRIo16): Likewise.
31678 [C99-based-standards] (PRIu16): Likewise.
31679 [C99-based-standards] (PRIx16): Likewise.
31680 [C99-based-standards] (PRIX16): Likewise.
31681 [C99-based-standards] (SCNd16): Likewise.
31682 [C99-based-standards] (SCNi16): Likewise.
31683 [C99-based-standards] (SCNo16): Likewise.
31684 [C99-based-standards] (SCNu16): Likewise.
31685 [C99-based-standards] (SCNx16): Likewise.
31686 [C99-based-standards] (PRIdLEAST16): Likewise.
31687 [C99-based-standards] (PRIiLEAST16): Likewise.
31688 [C99-based-standards] (PRIoLEAST16): Likewise.
31689 [C99-based-standards] (PRIuLEAST16): Likewise.
31690 [C99-based-standards] (PRIxLEAST16): Likewise.
31691 [C99-based-standards] (PRIXLEAST16): Likewise.
31692 [C99-based-standards] (SCNdLEAST16): Likewise.
31693 [C99-based-standards] (SCNiLEAST16): Likewise.
31694 [C99-based-standards] (SCNoLEAST16): Likewise.
31695 [C99-based-standards] (SCNuLEAST16): Likewise.
31696 [C99-based-standards] (SCNxLEAST16): Likewise.
31697 [C99-based-standards] (PRIdFAST16): Likewise.
31698 [C99-based-standards] (PRIiFAST16): Likewise.
31699 [C99-based-standards] (PRIoFAST16): Likewise.
31700 [C99-based-standards] (PRIuFAST16): Likewise.
31701 [C99-based-standards] (PRIxFAST16): Likewise.
31702 [C99-based-standards] (PRIXFAST16): Likewise.
31703 [C99-based-standards] (SCNdFAST16): Likewise.
31704 [C99-based-standards] (SCNiFAST16): Likewise.
31705 [C99-based-standards] (SCNoFAST16): Likewise.
31706 [C99-based-standards] (SCNuFAST16): Likewise.
31707 [C99-based-standards] (SCNxFAST16): Likewise.
31708 [C99-based-standards] (PRId32): Likewise.
31709 [C99-based-standards] (PRIi32): Likewise.
31710 [C99-based-standards] (PRIo32): Likewise.
31711 [C99-based-standards] (PRIu32): Likewise.
31712 [C99-based-standards] (PRIx32): Likewise.
31713 [C99-based-standards] (PRIX32): Likewise.
31714 [C99-based-standards] (SCNd32): Likewise.
31715 [C99-based-standards] (SCNi32): Likewise.
31716 [C99-based-standards] (SCNo32): Likewise.
31717 [C99-based-standards] (SCNu32): Likewise.
31718 [C99-based-standards] (SCNx32): Likewise.
31719 [C99-based-standards] (PRIdLEAST32): Likewise.
31720 [C99-based-standards] (PRIiLEAST32): Likewise.
31721 [C99-based-standards] (PRIoLEAST32): Likewise.
31722 [C99-based-standards] (PRIuLEAST32): Likewise.
31723 [C99-based-standards] (PRIxLEAST32): Likewise.
31724 [C99-based-standards] (PRIXLEAST32): Likewise.
31725 [C99-based-standards] (SCNdLEAST32): Likewise.
31726 [C99-based-standards] (SCNiLEAST32): Likewise.
31727 [C99-based-standards] (SCNoLEAST32): Likewise.
31728 [C99-based-standards] (SCNuLEAST32): Likewise.
31729 [C99-based-standards] (SCNxLEAST32): Likewise.
31730 [C99-based-standards] (PRIdFAST32): Likewise.
31731 [C99-based-standards] (PRIiFAST32): Likewise.
31732 [C99-based-standards] (PRIoFAST32): Likewise.
31733 [C99-based-standards] (PRIuFAST32): Likewise.
31734 [C99-based-standards] (PRIxFAST32): Likewise.
31735 [C99-based-standards] (PRIXFAST32): Likewise.
31736 [C99-based-standards] (SCNdFAST32): Likewise.
31737 [C99-based-standards] (SCNiFAST32): Likewise.
31738 [C99-based-standards] (SCNoFAST32): Likewise.
31739 [C99-based-standards] (SCNuFAST32): Likewise.
31740 [C99-based-standards] (SCNxFAST32): Likewise.
31741 [C99-based-standards] (PRId64): Likewise.
31742 [C99-based-standards] (PRIi64): Likewise.
31743 [C99-based-standards] (PRIo64): Likewise.
31744 [C99-based-standards] (PRIu64): Likewise.
31745 [C99-based-standards] (PRIx64): Likewise.
31746 [C99-based-standards] (PRIX64): Likewise.
31747 [C99-based-standards] (SCNd64): Likewise.
31748 [C99-based-standards] (SCNi64): Likewise.
31749 [C99-based-standards] (SCNo64): Likewise.
31750 [C99-based-standards] (SCNu64): Likewise.
31751 [C99-based-standards] (SCNx64): Likewise.
31752 [C99-based-standards] (PRIdLEAST64): Likewise.
31753 [C99-based-standards] (PRIiLEAST64): Likewise.
31754 [C99-based-standards] (PRIoLEAST64): Likewise.
31755 [C99-based-standards] (PRIuLEAST64): Likewise.
31756 [C99-based-standards] (PRIxLEAST64): Likewise.
31757 [C99-based-standards] (PRIXLEAST64): Likewise.
31758 [C99-based-standards] (SCNdLEAST64): Likewise.
31759 [C99-based-standards] (SCNiLEAST64): Likewise.
31760 [C99-based-standards] (SCNoLEAST64): Likewise.
31761 [C99-based-standards] (SCNuLEAST64): Likewise.
31762 [C99-based-standards] (SCNxLEAST64): Likewise.
31763 [C99-based-standards] (PRIdFAST64): Likewise.
31764 [C99-based-standards] (PRIiFAST64): Likewise.
31765 [C99-based-standards] (PRIoFAST64): Likewise.
31766 [C99-based-standards] (PRIuFAST64): Likewise.
31767 [C99-based-standards] (PRIxFAST64): Likewise.
31768 [C99-based-standards] (PRIXFAST64): Likewise.
31769 [C99-based-standards] (SCNdFAST64): Likewise.
31770 [C99-based-standards] (SCNiFAST64): Likewise.
31771 [C99-based-standards] (SCNoFAST64): Likewise.
31772 [C99-based-standards] (SCNuFAST64): Likewise.
31773 [C99-based-standards] (SCNxFAST64): Likewise.
31774 [C99-based-standards] (PRIdMAX): Likewise.
31775 [C99-based-standards] (PRIiMAX): Likewise.
31776 [C99-based-standards] (PRIoMAX): Likewise.
31777 [C99-based-standards] (PRIuMAX): Likewise.
31778 [C99-based-standards] (PRIxMAX): Likewise.
31779 [C99-based-standards] (PRIXMAX): Likewise.
31780 [C99-based-standards] (SCNdMAX): Likewise.
31781 [C99-based-standards] (SCNiMAX): Likewise.
31782 [C99-based-standards] (SCNoMAX): Likewise.
31783 [C99-based-standards] (SCNuMAX): Likewise.
31784 [C99-based-standards] (SCNxMAX): Likewise.
31785 [C99-based-standards] (PRIdPTR): Likewise.
31786 [C99-based-standards] (PRIiPTR): Likewise.
31787 [C99-based-standards] (PRIoPTR): Likewise.
31788 [C99-based-standards] (PRIuPTR): Likewise.
31789 [C99-based-standards] (PRIxPTR): Likewise.
31790 [C99-based-standards] (PRIXPTR): Likewise.
31791 [C99-based-standards] (SCNdPTR): Likewise.
31792 [C99-based-standards] (SCNiPTR): Likewise.
31793 [C99-based-standards] (SCNoPTR): Likewise.
31794 [C99-based-standards] (SCNuPTR): Likewise.
31795 [C99-based-standards] (SCNxPTR): Likewise.
31796 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
31797 allow.
31798 * conform/data/stdint.h-data: Update comments to clarify
31799 requirements.
31800 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
31801 type.
31802 [C99-based standards] (INT8_MAX): Likewise.
31803 [C99-based standards] (INT16_MIN): Likewise.
31804 [C99-based standards] (INT16_MAX): Likewise.
31805 [C99-based standards] (INT32_MIN): Likewise.
31806 [C99-based standards] (INT32_MAX): Likewise.
31807 [C99-based standards] (INT64_MIN): Likewise.
31808 [C99-based standards] (INT64_MAX): Likewise.
31809 [C99-based standards] (UINT8_MAX): Likewise.
31810 [C99-based standards] (UINT16_MAX): Likewise.
31811 [C99-based standards] (UINT32_MAX): Likewise.
31812 [C99-based standards] (UINT64_MAX): Likewise.
31813 [C99-based standards] (INT_LEAST8_MIN): Likewise.
31814 [C99-based standards] (INT_LEAST8_MAX): Likewise.
31815 [C99-based standards] (INT_LEAST16_MIN): Likewise.
31816 [C99-based standards] (INT_LEAST16_MAX): Likewise.
31817 [C99-based standards] (INT_LEAST32_MIN): Likewise.
31818 [C99-based standards] (INT_LEAST32_MAX): Likewise.
31819 [C99-based standards] (INT_LEAST64_MIN): Likewise.
31820 [C99-based standards] (INT_LEAST64_MAX): Likewise.
31821 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
31822 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
31823 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
31824 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
31825 [C99-based standards] (INT_FAST8_MIN): Likewise.
31826 [C99-based standards] (INT_FAST8_MAX): Likewise.
31827 [C99-based standards] (INT_FAST16_MIN): Likewise.
31828 [C99-based standards] (INT_FAST16_MAX): Likewise.
31829 [C99-based standards] (INT_FAST32_MIN): Likewise.
31830 [C99-based standards] (INT_FAST32_MAX): Likewise.
31831 [C99-based standards] (INT_FAST64_MIN): Likewise.
31832 [C99-based standards] (INT_FAST64_MAX): Likewise.
31833 [C99-based standards] (UINT_FAST8_MAX): Likewise.
31834 [C99-based standards] (UINT_FAST16_MAX): Likewise.
31835 [C99-based standards] (UINT_FAST32_MAX): Likewise.
31836 [C99-based standards] (UINT_FAST64_MAX): Likewise.
31837 [C99-based standards] (INTPTR_MIN): Likewise.
31838 [C99-based standards] (INTPTR_MAX): Likewise.
31839 [C99-based standards] (UINTPTR_MAX): Likewise.
31840 [C99-based standards] (INTMAX_MIN): Likewise.
31841 [C99-based standards] (INTMAX_MAX): Likewise.
31842 [C99-based standards] (UINTMAX_MAX): Likewise.
31843 [C99-based standards] (PTRDIFF_MIN): Likewise.
31844 [C99-based standards] (PTRDIFF_MAX): Likewise.
31845 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
31846 [C99-based standards] (SIZE_MAX): Likewise.
31847 [C99-based standards] (WCHAR_MAX): Likewise.
31848 [C99-based standards] (WINT_MAX): Likewise.
31849 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
31850 constraint on value.
31851 [C99-based standards] (WCHAR_MIN): Likewise.
31852 [C99-based standards] (WINT_MIN): Likewise.
31853 [C99-based standards] (*_t): Allow.
31854 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
31855 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
31856 Include math.h-data and complex.h-data. Remove all expectations
31857 of math.h and complex.h contents.
31858 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
31859 at end of line.
31860 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
31861 (struct tm): Expect tag.
31862 [C99-based-standards] (wcstof): Expect function.
31863 [C99-based-standards] (wcstold): Likewise.
31864 [C99-based-standards] (wcstoll): Likewise.
31865 [C99-based-standards] (wcstoull): Likewise.
31866 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
31867 macro-int-constant. Specify type.
31868 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
31869 constraint on value.
31870 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
31871 Specify type.
31872 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
31873 Specify value.
31874 [ISO C standards]: Do not allow headers.
31875 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
31876 wcs[abcdefghijklmnopqrstuvwxyz]*.
31877 [ISO C standards] (*_t): Do not allow.
31878 * conform/data/wctype.h-data [C99-based standards] (iswblank):
31879 Expect function.
31880 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
31881 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
31882 Specify type.
31883 [ISO C standards]: Do not allow headers.
31884 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
31885 is[abcdefghijklmnopqrstuvwxyz]*.
31886 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
31887 to[abcdefghijklmnopqrstuvwxyz]*.
31888 [ISO C standards] (*_t): Do not allow.
31889 * conform/data/stdalign.h-data: New file.
31890 * conform/data/stdbool.h-data: Likewise.
31891 * conform/data/stdnoreturn.h-data: Likewise.
31892
7514feb8
RM
318932012-11-07 Roland McGrath <roland@hack.frob.com>
31894
31895 [BZ #14815]
31896 * manual/filesys.texi (Directory Entries): Typo fix.
31897 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
31898
19b2ecfc
MS
318992012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
31900
31901 * elf/elf.h (EM_AARCH64): New macro.
31902 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
31903 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
31904 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
31905 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
31906 (R_AARCH64_TLSDESC): Likewise.
31907 (NT_ARM_TLS): Likewise.
31908 (NT_ARM_HW_BREAK): Likewise.
31909 (NT_ARM_HW_WATCH): Likewise.
31910
60e235ee
JM
319112012-11-07 Joseph Myers <joseph@codesourcery.com>
31912
31913 [BZ #14811]
31914 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
31915 (__ieee754_powl): Saturate nonzero exponents with absolute value
31916 below 0x1p-79 to +/- 0x1p-79.
31917 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
31918 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
31919 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
31920 nonzero exponents with absolute value below 0x1p-32 to +/-
31921 0x1p-32.
31922 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
31923 (__ieee754_powl): Saturate nonzero exponents with absolute value
31924 below 0x1p-79 to +/- 0x1p-79.
31925 * math/libm-test.inc (pow_test): Add more tests.
31926
0ab234b7
AK
319272012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31928
31929 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
31930 _dl_s390_cap_flags with kernel. Increase string length.
31931 (_dl_s390_platforms): Add z196 and zEC12.
31932
45832f74
JM
319332012-11-07 Joseph Myers <joseph@codesourcery.com>
31934
31935 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
31936 Change XOPEN21K to XOPEN2K.
31937
19218757
MK
319382012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
31939
31940 * string/memmove.c: Use memcpy when possible.
31941
c5f45721
AJ
319422012-11-06 Andreas Jaeger <aj@suse.de>
31943
31944 * po/eo.po: Update from translation team.
31945
82477c28
JM
319462012-11-06 Joseph Myers <joseph@codesourcery.com>
31947
31948 [BZ #14793]
31949 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
31950 exponent and small x and y exponents, scale x or y up. Increase
31951 by 2 the exponent used in scaling up.
31952 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
31953 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
31954 * math/libm-test.inc (fma_test): Add more tests.
31955 (fma_test_towardzero): Likewise.
31956 (fma_test_downward): Likewise.
31957 (fma_test_upward): Likewise.
31958
99252c8c
JM
319592012-11-05 Joseph Myers <joseph@codesourcery.com>
31960
acfa885f
JM
31961 [BZ #14805]
31962 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
31963 fenv_t *.
31964
99252c8c
JM
31965 [BZ #14801]
31966 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
31967 namespace for names of struct fields.
31968 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
31969 fenv_t fields.
31970 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
31971 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
31972
d6d98dea
ST
319732012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
31974
31975 [BZ #3665]
31976 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
31977
e10bb107
TS
319782012-11-04 Thomas Schwinge <thomas@codesourcery.com>
31979
31980 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
31981 PTR_DEMANGLE.
31982
31983 [BZ #5246]
31984 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
31985 PTR_DEMANGLE.
31986
a0c2940d
JM
319872012-11-04 Joseph Myers <joseph@codesourcery.com>
31988
31989 [BZ #14797]
31990 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
31991 definitely overflow as x * y not x * y + z.
31992 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
31993 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
31994 * math/libm-test.inc (fma_test): Add more tests.
31995 (fma_test_towardzero): Likewise.
31996 (fma_test_downward): Likewise.
31997 (fma_test_upward): Likewise.
31998
b830319d
TS
319992012-11-04 Thomas Schwinge <thomas@codesourcery.com>
32000
32001 [BZ #157]
32002
32003 * include/stub-tag.h: Remove file.
32004 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
32005 '#include' of it.
32006 * manual/maint.texi (Porting): Don't reference it.
32007 * Makerules ($(objpfx)stubs): Likewise.
32008 * dirent/closedir.c: Don't include <stub-tag.h>.
32009 * dirent/dirfd.c: Likewise.
32010 * dirent/fdopendir.c: Likewise.
32011 * dirent/getdents.c: Likewise.
32012 * dirent/getdents64.c: Likewise.
32013 * dirent/opendir.c: Likewise.
32014 * dirent/readdir.c: Likewise.
32015 * dirent/readdir64.c: Likewise.
32016 * dirent/readdir64_r.c: Likewise.
32017 * dirent/readdir_r.c: Likewise.
32018 * dirent/rewinddir.c: Likewise.
32019 * dirent/seekdir.c: Likewise.
32020 * dirent/telldir.c: Likewise.
32021 * gmon/profil.c: Likewise.
32022 * grp/setgroups.c: Likewise.
32023 * inet/if_index.c: Likewise.
32024 * io/access.c: Likewise.
32025 * io/chdir.c: Likewise.
32026 * io/chmod.c: Likewise.
32027 * io/chown.c: Likewise.
32028 * io/close.c: Likewise.
32029 * io/dup.c: Likewise.
32030 * io/dup2.c: Likewise.
32031 * io/dup3.c: Likewise.
32032 * io/euidaccess.c: Likewise.
32033 * io/faccessat.c: Likewise.
32034 * io/fchdir.c: Likewise.
32035 * io/fchmod.c: Likewise.
32036 * io/fchmodat.c: Likewise.
32037 * io/fchown.c: Likewise.
32038 * io/fchownat.c: Likewise.
32039 * io/fcntl.c: Likewise.
32040 * io/flock.c: Likewise.
32041 * io/fstatfs.c: Likewise.
32042 * io/fstatfs64.c: Likewise.
32043 * io/fstatvfs.c: Likewise.
32044 * io/fstatvfs64.c: Likewise.
32045 * io/futimens.c: Likewise.
32046 * io/fxstat.c: Likewise.
32047 * io/fxstat64.c: Likewise.
32048 * io/fxstatat.c: Likewise.
32049 * io/fxstatat64.c: Likewise.
32050 * io/getcwd.c: Likewise.
32051 * io/isatty.c: Likewise.
32052 * io/lchmod.c: Likewise.
32053 * io/lchown.c: Likewise.
32054 * io/link.c: Likewise.
32055 * io/linkat.c: Likewise.
32056 * io/lseek.c: Likewise.
32057 * io/lseek64.c: Likewise.
32058 * io/lxstat64.c: Likewise.
32059 * io/mkdir.c: Likewise.
32060 * io/mkdirat.c: Likewise.
32061 * io/mkfifo.c: Likewise.
32062 * io/mkfifoat.c: Likewise.
32063 * io/open.c: Likewise.
32064 * io/open64.c: Likewise.
32065 * io/openat.c: Likewise.
32066 * io/openat64.c: Likewise.
32067 * io/pipe.c: Likewise.
32068 * io/pipe2.c: Likewise.
32069 * io/poll.c: Likewise.
32070 * io/posix_fadvise.c: Likewise.
32071 * io/posix_fadvise64.c: Likewise.
32072 * io/posix_fallocate.c: Likewise.
32073 * io/posix_fallocate64.c: Likewise.
32074 * io/read.c: Likewise.
32075 * io/readlink.c: Likewise.
32076 * io/readlinkat.c: Likewise.
32077 * io/rmdir.c: Likewise.
32078 * io/sendfile.c: Likewise.
32079 * io/sendfile64.c: Likewise.
32080 * io/statfs.c: Likewise.
32081 * io/statfs64.c: Likewise.
32082 * io/statvfs.c: Likewise.
32083 * io/statvfs64.c: Likewise.
32084 * io/symlink.c: Likewise.
32085 * io/symlinkat.c: Likewise.
32086 * io/ttyname.c: Likewise.
32087 * io/ttyname_r.c: Likewise.
32088 * io/umask.c: Likewise.
32089 * io/unlink.c: Likewise.
32090 * io/unlinkat.c: Likewise.
32091 * io/utime.c: Likewise.
32092 * io/utimensat.c: Likewise.
32093 * io/write.c: Likewise.
32094 * io/xmknod.c: Likewise.
32095 * io/xmknodat.c: Likewise.
32096 * io/xstat.c: Likewise.
32097 * io/xstat64.c: Likewise.
32098 * login/getpt.c: Likewise.
32099 * login/grantpt.c: Likewise.
32100 * login/unlockpt.c: Likewise.
32101 * math/e_acoshl.c: Likewise.
32102 * math/e_acosl.c: Likewise.
32103 * math/e_asinl.c: Likewise.
32104 * math/e_atan2l.c: Likewise.
32105 * math/e_atanhl.c: Likewise.
32106 * math/e_coshl.c: Likewise.
32107 * math/e_expl.c: Likewise.
32108 * math/e_fmodl.c: Likewise.
32109 * math/e_gammal_r.c: Likewise.
32110 * math/e_hypotl.c: Likewise.
32111 * math/e_j0l.c: Likewise.
32112 * math/e_j1l.c: Likewise.
32113 * math/e_jnl.c: Likewise.
32114 * math/e_lgammal_r.c: Likewise.
32115 * math/e_log10l.c: Likewise.
32116 * math/e_log2l.c: Likewise.
32117 * math/e_logl.c: Likewise.
32118 * math/e_powl.c: Likewise.
32119 * math/e_rem_pio2l.c: Likewise.
32120 * math/e_sinhl.c: Likewise.
32121 * math/e_sqrtl.c: Likewise.
32122 * math/fclrexcpt.c: Likewise.
32123 * math/fedisblxcpt.c: Likewise.
32124 * math/feenablxcpt.c: Likewise.
32125 * math/fegetenv.c: Likewise.
32126 * math/fegetexcept.c: Likewise.
32127 * math/fegetround.c: Likewise.
32128 * math/feholdexcpt.c: Likewise.
32129 * math/fesetenv.c: Likewise.
32130 * math/fesetround.c: Likewise.
32131 * math/feupdateenv.c: Likewise.
32132 * math/fgetexcptflg.c: Likewise.
32133 * math/fraiseexcpt.c: Likewise.
32134 * math/fsetexcptflg.c: Likewise.
32135 * math/ftestexcept.c: Likewise.
32136 * math/k_cosl.c: Likewise.
32137 * math/k_rem_pio2l.c: Likewise.
32138 * math/k_sinl.c: Likewise.
32139 * math/k_tanl.c: Likewise.
32140 * math/s_asinhl.c: Likewise.
32141 * math/s_atanl.c: Likewise.
32142 * math/s_cbrtl.c: Likewise.
32143 * math/s_erfl.c: Likewise.
32144 * math/s_expm1l.c: Likewise.
32145 * math/s_log1pl.c: Likewise.
32146 * math/s_tanhl.c: Likewise.
32147 * misc/acct.c: Likewise.
32148 * misc/brk.c: Likewise.
32149 * misc/chflags.c: Likewise.
32150 * misc/chroot.c: Likewise.
32151 * misc/fchflags.c: Likewise.
32152 * misc/fgetxattr.c: Likewise.
32153 * misc/flistxattr.c: Likewise.
32154 * misc/fremovexattr.c: Likewise.
32155 * misc/fsetxattr.c: Likewise.
32156 * misc/fsync.c: Likewise.
32157 * misc/ftruncate.c: Likewise.
32158 * misc/futimes.c: Likewise.
32159 * misc/futimesat.c: Likewise.
32160 * misc/getdomain.c: Likewise.
32161 * misc/getdtsz.c: Likewise.
32162 * misc/gethostid.c: Likewise.
32163 * misc/gethostname.c: Likewise.
32164 * misc/getloadavg.c: Likewise.
32165 * misc/getpagesize.c: Likewise.
32166 * misc/getsysstats.c: Likewise.
32167 * misc/getxattr.c: Likewise.
32168 * misc/gtty.c: Likewise.
32169 * misc/ioctl.c: Likewise.
32170 * misc/lgetxattr.c: Likewise.
32171 * misc/listxattr.c: Likewise.
32172 * misc/llistxattr.c: Likewise.
32173 * misc/lremovexattr.c: Likewise.
32174 * misc/lsetxattr.c: Likewise.
32175 * misc/lutimes.c: Likewise.
32176 * misc/madvise.c: Likewise.
32177 * misc/mincore.c: Likewise.
32178 * misc/mlock.c: Likewise.
32179 * misc/mlockall.c: Likewise.
32180 * misc/mmap.c: Likewise.
32181 * misc/mprotect.c: Likewise.
32182 * misc/msync.c: Likewise.
32183 * misc/munlock.c: Likewise.
32184 * misc/munlockall.c: Likewise.
32185 * misc/munmap.c: Likewise.
32186 * misc/preadv.c: Likewise.
32187 * misc/preadv64.c: Likewise.
32188 * misc/ptrace.c: Likewise.
32189 * misc/pwritev.c: Likewise.
32190 * misc/pwritev64.c: Likewise.
32191 * misc/readv.c: Likewise.
32192 * misc/reboot.c: Likewise.
32193 * misc/remap_file_pages.c: Likewise.
32194 * misc/removexattr.c: Likewise.
32195 * misc/revoke.c: Likewise.
32196 * misc/select.c: Likewise.
32197 * misc/setdomain.c: Likewise.
32198 * misc/setegid.c: Likewise.
32199 * misc/seteuid.c: Likewise.
32200 * misc/sethostid.c: Likewise.
32201 * misc/sethostname.c: Likewise.
32202 * misc/setregid.c: Likewise.
32203 * misc/setreuid.c: Likewise.
32204 * misc/setxattr.c: Likewise.
32205 * misc/sstk.c: Likewise.
32206 * misc/stty.c: Likewise.
32207 * misc/swapoff.c: Likewise.
32208 * misc/swapon.c: Likewise.
32209 * misc/sync.c: Likewise.
32210 * misc/syncfs.c: Likewise.
32211 * misc/syscall.c: Likewise.
32212 * misc/truncate.c: Likewise.
32213 * misc/ualarm.c: Likewise.
32214 * misc/usleep.c: Likewise.
32215 * misc/ustat.c: Likewise.
32216 * misc/utimes.c: Likewise.
32217 * misc/vhangup.c: Likewise.
32218 * misc/writev.c: Likewise.
32219 * posix/_exit.c: Likewise.
32220 * posix/alarm.c: Likewise.
32221 * posix/execve.c: Likewise.
32222 * posix/fexecve.c: Likewise.
32223 * posix/fork.c: Likewise.
32224 * posix/fpathconf.c: Likewise.
32225 * posix/getaddrinfo.c: Likewise.
32226 * posix/getegid.c: Likewise.
32227 * posix/geteuid.c: Likewise.
32228 * posix/getgid.c: Likewise.
32229 * posix/getgroups.c: Likewise.
32230 * posix/getlogin.c: Likewise.
32231 * posix/getlogin_r.c: Likewise.
32232 * posix/getpgid.c: Likewise.
32233 * posix/getpid.c: Likewise.
32234 * posix/getppid.c: Likewise.
32235 * posix/getresgid.c: Likewise.
32236 * posix/getresuid.c: Likewise.
32237 * posix/getsid.c: Likewise.
32238 * posix/getuid.c: Likewise.
32239 * posix/glob64.c: Likewise.
32240 * posix/nanosleep.c: Likewise.
32241 * posix/pathconf.c: Likewise.
32242 * posix/pause.c: Likewise.
32243 * posix/posix_madvise.c: Likewise.
32244 * posix/pread.c: Likewise.
32245 * posix/pread64.c: Likewise.
32246 * posix/pwrite.c: Likewise.
32247 * posix/pwrite64.c: Likewise.
32248 * posix/sched_getaffinity.c: Likewise.
32249 * posix/sched_getp.c: Likewise.
32250 * posix/sched_gets.c: Likewise.
32251 * posix/sched_primax.c: Likewise.
32252 * posix/sched_primin.c: Likewise.
32253 * posix/sched_rr_gi.c: Likewise.
32254 * posix/sched_setaffinity.c: Likewise.
32255 * posix/sched_setp.c: Likewise.
32256 * posix/sched_sets.c: Likewise.
32257 * posix/sched_yield.c: Likewise.
32258 * posix/setgid.c: Likewise.
32259 * posix/setlogin.c: Likewise.
32260 * posix/setpgid.c: Likewise.
32261 * posix/setresgid.c: Likewise.
32262 * posix/setresuid.c: Likewise.
32263 * posix/setsid.c: Likewise.
32264 * posix/setuid.c: Likewise.
32265 * posix/sleep.c: Likewise.
32266 * posix/spawni.c: Likewise.
32267 * posix/sysconf.c: Likewise.
32268 * posix/times.c: Likewise.
32269 * posix/wait.c: Likewise.
32270 * posix/wait3.c: Likewise.
32271 * posix/wait4.c: Likewise.
32272 * posix/waitpid.c: Likewise.
32273 * resolv/gai_sigqueue.c: Likewise.
32274 * resource/getpriority.c: Likewise.
32275 * resource/getrlimit.c: Likewise.
32276 * resource/getrusage.c: Likewise.
32277 * resource/nice.c: Likewise.
32278 * resource/setpriority.c: Likewise.
32279 * resource/setrlimit.c: Likewise.
32280 * resource/ulimit.c: Likewise.
32281 * rt/aio_cancel.c: Likewise.
32282 * rt/aio_fsync.c: Likewise.
32283 * rt/aio_read.c: Likewise.
32284 * rt/aio_sigqueue.c: Likewise.
32285 * rt/aio_suspend.c: Likewise.
32286 * rt/aio_write.c: Likewise.
32287 * rt/clock_getres.c: Likewise.
32288 * rt/clock_gettime.c: Likewise.
32289 * rt/clock_nanosleep.c: Likewise.
32290 * rt/clock_settime.c: Likewise.
32291 * rt/lio_listio.c: Likewise.
32292 * rt/mq_close.c: Likewise.
32293 * rt/mq_getattr.c: Likewise.
32294 * rt/mq_notify.c: Likewise.
32295 * rt/mq_open.c: Likewise.
32296 * rt/mq_receive.c: Likewise.
32297 * rt/mq_send.c: Likewise.
32298 * rt/mq_setattr.c: Likewise.
32299 * rt/mq_timedreceive.c: Likewise.
32300 * rt/mq_timedsend.c: Likewise.
32301 * rt/mq_unlink.c: Likewise.
32302 * rt/shm_open.c: Likewise.
32303 * rt/shm_unlink.c: Likewise.
32304 * rt/timer_create.c: Likewise.
32305 * rt/timer_delete.c: Likewise.
32306 * rt/timer_getoverr.c: Likewise.
32307 * rt/timer_gettime.c: Likewise.
32308 * rt/timer_settime.c: Likewise.
32309 * setjmp/__longjmp.c: Likewise.
32310 * setjmp/setjmp.c: Likewise.
32311 * signal/kill.c: Likewise.
32312 * signal/killpg.c: Likewise.
32313 * signal/raise.c: Likewise.
32314 * signal/sigaction.c: Likewise.
32315 * signal/sigaltstack.c: Likewise.
32316 * signal/sigblock.c: Likewise.
32317 * signal/sigignore.c: Likewise.
32318 * signal/sigintr.c: Likewise.
32319 * signal/signal.c: Likewise.
32320 * signal/sigpause.c: Likewise.
32321 * signal/sigpending.c: Likewise.
32322 * signal/sigqueue.c: Likewise.
32323 * signal/sigreturn.c: Likewise.
32324 * signal/sigset.c: Likewise.
32325 * signal/sigsetmask.c: Likewise.
32326 * signal/sigstack.c: Likewise.
32327 * signal/sigsuspend.c: Likewise.
32328 * signal/sigtimedwait.c: Likewise.
32329 * signal/sigvec.c: Likewise.
32330 * signal/sigwait.c: Likewise.
32331 * signal/sigwaitinfo.c: Likewise.
32332 * signal/sysv_signal.c: Likewise.
32333 * socket/accept.c: Likewise.
32334 * socket/accept4.c: Likewise.
32335 * socket/bind.c: Likewise.
32336 * socket/connect.c: Likewise.
32337 * socket/getpeername.c: Likewise.
32338 * socket/getsockname.c: Likewise.
32339 * socket/getsockopt.c: Likewise.
32340 * socket/isfdtype.c: Likewise.
32341 * socket/listen.c: Likewise.
32342 * socket/recv.c: Likewise.
32343 * socket/recvfrom.c: Likewise.
32344 * socket/recvmsg.c: Likewise.
32345 * socket/send.c: Likewise.
32346 * socket/sendmsg.c: Likewise.
32347 * socket/sendto.c: Likewise.
32348 * socket/setsockopt.c: Likewise.
32349 * socket/shutdown.c: Likewise.
32350 * socket/sockatmark.c: Likewise.
32351 * socket/socket.c: Likewise.
32352 * socket/socketpair.c: Likewise.
32353 * stdio-common/ctermid.c: Likewise.
32354 * stdio-common/cuserid.c: Likewise.
32355 * stdio-common/remove.c: Likewise.
32356 * stdio-common/rename.c: Likewise.
32357 * stdio-common/renameat.c: Likewise.
32358 * stdio-common/tempname.c: Likewise.
32359 * stdlib/getcontext.c: Likewise.
32360 * stdlib/makecontext.c: Likewise.
32361 * stdlib/setcontext.c: Likewise.
32362 * stdlib/swapcontext.c: Likewise.
32363 * stdlib/system.c: Likewise.
32364 * streams/fattach.c: Likewise.
32365 * streams/fdetach.c: Likewise.
32366 * streams/getmsg.c: Likewise.
32367 * streams/getpmsg.c: Likewise.
32368 * streams/putmsg.c: Likewise.
32369 * streams/putpmsg.c: Likewise.
32370 * sysdeps/unix/bsd/getpt.c: Likewise.
32371 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
32372 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
32373 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
32374 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
32375 Likewise.
32376 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
32377 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
32378 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
32379 * sysvipc/msgctl.c: Likewise.
32380 * sysvipc/msgget.c: Likewise.
32381 * sysvipc/msgrcv.c: Likewise.
32382 * sysvipc/msgsnd.c: Likewise.
32383 * sysvipc/semctl.c: Likewise.
32384 * sysvipc/semget.c: Likewise.
32385 * sysvipc/semop.c: Likewise.
32386 * sysvipc/semtimedop.c: Likewise.
32387 * sysvipc/shmat.c: Likewise.
32388 * sysvipc/shmctl.c: Likewise.
32389 * sysvipc/shmdt.c: Likewise.
32390 * sysvipc/shmget.c: Likewise.
32391 * termios/tcdrain.c: Likewise.
32392 * termios/tcflow.c: Likewise.
32393 * termios/tcflush.c: Likewise.
32394 * termios/tcgetattr.c: Likewise.
32395 * termios/tcgetpgrp.c: Likewise.
32396 * termios/tcsendbrk.c: Likewise.
32397 * termios/tcsetattr.c: Likewise.
32398 * termios/tcsetpgrp.c: Likewise.
32399 * time/adjtime.c: Likewise.
32400 * time/clock.c: Likewise.
32401 * time/getitimer.c: Likewise.
32402 * time/gettimeofday.c: Likewise.
32403 * time/setitimer.c: Likewise.
32404 * time/settimeofday.c: Likewise.
32405 * time/stime.c: Likewise.
32406 * time/time.c: Likewise.
32407
324082012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 32409
a20492cf
PT
32410 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
32411 /usr/old/bin.
32412
72e182e3
PT
32413 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
32414 instead of spaces.
32415 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
32416
fbeafede
JM
324172012-11-03 Joseph Myers <joseph@codesourcery.com>
32418
5b5b04d6
JM
32419 [BZ #14796]
32420 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
32421 FE_TONEAREST before applying Dekker multiplication and Knuth
32422 addition. Clear inexact exceptions and check for exact zero
32423 results afterwards.
32424 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
32425 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
32426 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
32427 * math/libm-test.inc (fma_test): Add more tests.
32428 (fma_test_towardzero): Likewise.
32429 (fma_test_downward): Likewise.
32430 (fma_test_upward): Likewise.
32431 * sysdeps/generic/math_private.h (default_libc_fesetround): New
32432 function.
32433 (libc_fesetround): New macro.
32434 (libc_fesetroundf): Likewise.
32435 (libc_fesetroundl): Likewise.
32436 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
32437 function.
32438 (libc_fesetround_387): Likewise.
32439 (libc_fesetroundf): New macro.
32440 (libc_fesetround): Likewise.
32441 (libc_fesetroundl): Likewise.
32442 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
32443 function.
32444 (libc_fesetroundf): New macro.
32445 (libc_fesetround): Likewise.
32446 (libc_fesetroundl): Likewise.
32447 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
32448 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
32449 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
32450 libm_hidden_ver.
32451 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
32452 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
32453 libm_hidden_def.
32454 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
32455 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
32456 libm_hidden_ver.
32457 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
32458 libm_hidden_def.
32459
fbeafede
JM
32460 [BZ #3439]
32461 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
32462 integer constant usable in #if and use that to give value to enum
32463 constant.
32464 (FE_DIVBYZERO): Likewise.
32465 (FE_UNDERFLOW): Likewise.
32466 (FE_OVERFLOW): Likewise.
32467 (FE_INVALID): Likewise.
32468 (FE_INVALID_SNAN): Likewise.
32469 (FE_INVALID_ISI): Likewise.
32470 (FE_INVALID_IDI): Likewise.
32471 (FE_INVALID_ZDZ): Likewise.
32472 (FE_INVALID_IMZ): Likewise.
32473 (FE_INVALID_COMPARE): Likewise.
32474 (FE_INVALID_SOFTWARE): Likewise.
32475 (FE_INVALID_SQRT): Likewise.
32476 (FE_INVALID_INTEGER_CONVERSION): Likewise.
32477 (FE_TONEAREST): Likewise.
32478 (FE_TOWARDZERO): Likewise.
32479 (FE_UPWARD): Likewise.
32480 (FE_DOWNWARD): Likewise.
32481 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
32482 (FE_DIVBYZERO): Likewise.
32483 (FE_OVERFLOW): Likewise.
32484 (FE_UNDERFLOW): Likewise.
32485 (FE_INEXACT): Likewise.
32486 (FE_TONEAREST): Likewise.
32487 (FE_DOWNWARD): Likewise.
32488 (FE_UPWARD): Likewise.
32489 (FE_TOWARDZERO): Likewise.
32490 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
32491 (FE_UNDERFLOW): Likewise.
32492 (FE_OVERFLOW): Likewise.
32493 (FE_DIVBYZERO): Likewise.
32494 (FE_INVALID): Likewise.
32495 (FE_TONEAREST): Likewise.
32496 (FE_TOWARDZERO): Likewise.
32497 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
32498 (FE_OVERFLOW): Likewise.
32499 (FE_UNDERFLOW): Likewise.
32500 (FE_DIVBYZERO): Likewise.
32501 (FE_INEXACT): Likewise.
32502 (FE_TONEAREST): Likewise.
32503 (FE_TOWARDZERO): Likewise.
32504 (FE_UPWARD): Likewise.
32505 (FE_DOWNWARD): Likewise.
32506 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
32507 (FE_DIVBYZERO): Likewise.
32508 (FE_OVERFLOW): Likewise.
32509 (FE_UNDERFLOW): Likewise.
32510 (FE_INEXACT): Likewise.
32511 (FE_TONEAREST): Likewise.
32512 (FE_DOWNWARD): Likewise.
32513 (FE_UPWARD): Likewise.
32514 (FE_TOWARDZERO): Likewise.
32515
105ca950
CM
325162012-11-02 Chris Metcalf <cmetcalf@tilera.com>
32517
32518 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
32519
a542b389
AS
325202012-11-03 Andreas Schwab <schwab@linux-m68k.org>
32521
32522 * scripts/cross-test-ssh.sh (command): Use newlines to separate
32523 commands. Quote $PWD.
32524 (blacklist_exports): Don't use remove_newlines. Replace "declare
32525 -x" by "export".
32526 (remove_newlines): Remove.
32527
f62c8abc
L
325282012-11-02 H.J. Lu <hongjiu.lu@intel.com>
32529
32530 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
32531 * stdlib/stdlib.h (atof): Moved to ...
32532 * include/bits/stdlib-float.h: Here. New file.
32533 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
32534 * stdlib/bits/stdlib-float.h: New file.
32535 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
32536 -mno-sse -mno-mmx.
32537 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
32538 <xmmintrin.h>.
32539
0155d5b2
JM
325402012-11-02 Joseph Myers <joseph@codesourcery.com>
32541
a68d0680
JM
32542 * conform/conformtest.pl (@headers): Add fenv.h.
32543 * conform/data/fenv.h-data: New file.
32544 * include/fenv.h [_ISOMAC]: Disable all contents of file except
32545 include of <math/fenv.h>.
32546
caf7f573
JM
32547 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
32548 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
32549 && !UNIX98]. Enables tests for XOPEN2K8.
32550 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
32551 POSIX2008]: Likewise.
32552
6c073ad6
JM
32553 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
32554 (struct rusage): Do not expect type or its members.
32555
0155d5b2
JM
32556 [BZ #3439]
32557 * math/math.h (FP_NAN): Define macro to integer constant usable in
32558 #if and use that to give value to enum constant.
32559 (FP_INFINITE): Likewise.
32560 (FP_ZERO): Likewise.
32561 (FP_SUBNORMAL): Likewise.
32562 (FP_NORMAL): Likewise.
32563
b5dcacb4
AS
325642012-11-02 Andreas Schwab <schwab@linux-m68k.org>
32565
32566 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
32567 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
32568 arguments.
32569
f7934be8
RM
325702012-11-02 Roland McGrath <roland@hack.frob.com>
32571
32572 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
32573 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
32574 autoconf-time if not.
32575 * configure.in: Remove AC_PREREQ.
32576
d7d08bde
TMQMF
325772012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
32578
32579 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
32580 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
32581 of the internal implementation.
32582
dcdae19a
JM
325832012-11-02 Joseph Myers <joseph@codesourcery.com>
32584
32585 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
32586 except include of <misc/sys/syslog.h>.
32587
d6cffd3e
AS
325882012-11-01 Andreas Schwab <schwab@linux-m68k.org>
32589
32590 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
32591 function returns with a NULL context exit with zero.
32592
b3563932
TMQMF
325932012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
32594
32595 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
32596
b288a93d
L
325972012-11-01 H.J. Lu <hongjiu.lu@intel.com>
32598
32599 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
32600 (run_program_cmd): This.
32601 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
32602 (tst_langinfo): New variable. Use it.
32603
a2421a68
SAS
326042012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
32605
32606 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
32607 floating point opcodes.
32608
6f796e1b
TS
326092012-11-01 Thomas Schwinge <thomas@codesourcery.com>
32610
7402596b
TS
32611 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
32612 variable.
32613
d0d4f868
TS
32614 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
32615
6f796e1b
TS
32616 * sysdeps/mach/hurd/powerpc: Remove directory.
32617 * sysdeps/mach/powerpc: Likewise.
32618
4da224a2
AS
326192012-11-01 Andreas Schwab <schwab@linux-m68k.org>
32620
32621 * scripts/check-local-headers.sh: Ignore c++ headers.
32622
341dd673
TS
326232012-11-01 Thomas Schwinge <thomas@codesourcery.com>
32624
32625 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
32626 __libc_cleanup_region_start argument.
32627
473611b2
JM
326282012-11-01 Joseph Myers <joseph@codesourcery.com>
32629
32630 [BZ #14784]
32631 [BZ #14785]
32632 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
32633 x * y using scaling, not as x * y + z.
32634 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
32635 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
32636 * math/libm-test.inc (fma_test): Add more tests.
32637 (fma_test_towardzero): Likewise.
32638 (fma_test_downward): Likewise.
32639 (fma_test_upward): Likewise.
32640
4078da3d
TS
326412012-11-01 Thomas Schwinge <thomas@codesourcery.com>
32642
32643 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
32644
903252aa
JM
326452012-10-31 Joseph Myers <joseph@codesourcery.com>
32646
32647 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
32648 New variable.
32649
cbc818d0
TS
326502012-10-31 Thomas Schwinge <thomas@codesourcery.com>
32651
32652 * rt/tst-shm.c (worker): Correct checking for mmap failure.
32653
5a03cb1e
AS
326542012-10-31 Andreas Schwab <schwab@linux-m68k.org>
32655
32656 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
32657 Fix sort order.
32658 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
32659 Likewise.
32660
90aff2ff
TMQMF
326612012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
32662
32663 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
32664 Fix the order of the list for glibc 2.17.
32665 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
32666 Likewise.
32667
1818fcb7
AS
326682012-10-31 Andreas Schwab <schwab@linux-m68k.org>
32669
32670 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32671
ef82f4da
JM
326722012-10-31 Joseph Myers <joseph@codesourcery.com>
32673
16a0e2ec
JM
32674 [BZ #14610]
32675 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
32676 for low part of x being zero before using __atanl (y).
32677 * math/libm-test.inc (atan2_test): Add another test.
32678
0eb69512
JM
32679 * manual/install.texi (Configuring and compiling): Document
32680 general use of test-wrapper and test-wrapper-env.
32681 * INSTALL: Regenerated.
32682
ef82f4da
JM
32683 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
32684 (__fma): Do not extract and scale down low bits on after-rounding
32685 systems when result rounded to normal precision would have normal
32686 exponent.
32687 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
32688 (__fmal): Do not extract and scale down low bits on after-rounding
32689 systems when result rounded to normal precision would have normal
32690 exponent.
32691 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
32692 (__fmal): Do not extract and scale down low bits on after-rounding
32693 systems when result rounded to normal precision would have normal
32694 exponent.
32695 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
32696 macro.
32697 (fma_test): Add more tests.
32698 (fma_test_towardzero): Likewise.
32699 (fma_test_downward): Likewise.
32700 (fma_test_upward): Likewise.
32701
954ef0d9
L
327022012-10-30 H.J. Lu <hongjiu.lu@intel.com>
32703
32704 * sysdeps/i386/tininess.h: Renamed to ...
32705 * sysdeps/x86/tininess.h: This.
32706 * sysdeps/x86_64/tininess.h: Removed.
32707
df61ffb2
JM
327082012-10-30 Joseph Myers <joseph@codesourcery.com>
32709
32710 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
32711 input. Use $(build-program-cmd).
32712 ($(objpfx)tst-array1-static.out): Likewise.
32713 ($(objpfx)tst-array2.out): Likewise.
32714 ($(objpfx)tst-array3.out): Likewise.
32715 ($(objpfx)tst-array4.out): Likewise.
32716 ($(objpfx)tst-array5.out): Likewise.
32717 ($(objpfx)tst-array5-static.out): Likewise.
32718
01767843
CM
327192012-10-30 Chris Metcalf <cmetcalf@tilera.com>
32720
47cc1490
CM
32721 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
32722 if defined.
32723
01767843
CM
32724 * nss/nsswitch.h (nss_interface_function): Provide new
32725 macro for use with NSS functions.
32726 * grp/initgroups.c: Use new macro.
32727 * nss/getXXbyYY.c: Likewise.
32728 * nss/getXXbyYY_r.c: Likewise.
32729 * nss/getXXent.c: Likewise.
32730 * nss/getXXent_r.c: Likewise.
32731 * sysdeps/posix/getaddrinfo.c: Likewise.
32732
8321aa97
AJ
327332012-10-30 Andreas Jaeger <aj@suse.de>
32734
32735 * po/ru.po: Update Russion translation from translation project.
32736
2a27fd6d
JM
327372012-10-30 Joseph Myers <joseph@codesourcery.com>
32738
8627a232
JM
32739 [BZ #14152]
32740 [BZ #14783]
32741 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
32742 result and shift together with sticky bit instead of replicating
32743 round-to-nearest rounding.
32744 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
32745 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
32746 * math/libm-test.inc (fma_test): Add more tests. Do not permit
32747 missing underflow exceptions.
32748 (fma_test_towardzero): Add more tests.
32749 (fma_test_downward): Likewise.
32750 (fma_test_upward): Likewise.
32751
2a27fd6d
JM
32752 [BZ #14047]
32753 * sysdeps/generic/tininess.h: New file.
32754 * sysdeps/i386/tininess.h: Likewise.
32755 * sysdeps/sh/tininess.h: Likewise.
32756 * sysdeps/x86_64/tininess.h: Likewise.
32757 * stdlib/tst-strtod-underflow.c: Likewise.
32758 * stdlib/tst-tininess.c: Likewise.
32759 * stdlib/strtod_l.c: Include <tininess.h>.
32760 (round_and_return): Do not set errno for exact underflow cases.
32761 Force an underflow exception when setting errno for underflow.
32762 Determine underflow based on rounding to normal precision if
32763 TININESS_AFTER_ROUNDING.
32764 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
32765 ERANGE for exact underflow cases.
32766 * stdlib/Makefile (tests): Add tst-tininess and
32767 tst-strtod-underflow.
32768 ($(objpfx)tst-tininess): Use $(link-libm).
32769 ($(objpfx)tst-strtod-underflow): Likewise.
32770
e7170363
AJ
327712012-10-30 Andreas Jaeger <aj@suse.de>
32772
e5088dc6
AJ
32773 [BZ#14767]
32774 * elf/Makefile (tests): Remove conditional for have-initfini-array
32775 since this is now always required and the variable does not exist
32776 anymore.
32777 (tests-static): Likewise.
32778 (modules-names): Likewise.
32779
e7170363 32780 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
32781
32782 * elf/tst-array1.c (fini_array): Make writeable so that it can be
32783 merged with constructor/destructor.
32784 (init_array): Likewise.
32785 * elf/tst-array2dep.c (fini_array): Likewise.
32786 (init_array): Likewise.
32787
60457d8a
MF
327882012-10-29 Mike Frysinger <vapier@gentoo.org>
32789
32790 * manual/message.texi: Delete @cartouche tags.
32791
8bece752
PT
327922012-10-29 Pino Toscano <toscano.pino@tiscali.it>
32793
94ce799f
PT
32794 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
32795 EOPNOTSUPP.
32796 * sysdeps/mach/hurd/fsync.c: Likewise.
32797
8bece752
PT
32798 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
32799 [_POSIX_REALTIME_SIGNALS]: Change condition to
32800 [_POSIX_REALTIME_SIGNALS > 0].
32801
86ebe6b1
AJ
328022012-10-27 Andreas Jaeger <aj@suse.de>
32803
32804 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
32805 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
32806 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
32807 [__WORDSIZE != 64]: Likewise.
32808
54399c08
L
328092012-10-26 H.J. Lu <hongjiu.lu@intel.com>
32810
32811 * iconvdata/tst-table.sh: Remove ${SHELL}.
32812 * iconvdata/tst-tables.sh: Likewise.
32813
e2211bed
DM
328142012-10-25 David S. Miller <davem@davemloft.net>
32815
32816 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
32817 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
32818 of strtoull.
32819
f303f97c
DM
32820 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
32821 ifunc-impl-list.c
32822 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
32823 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
32824 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
32825 file.
32826
1e9d84cd
RM
328272012-10-25 Roland McGrath <roland@hack.frob.com>
32828
32829 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
32830 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
32831 __getdirentries.
32832
df381762
JM
328332012-10-25 Joseph Myers <joseph@codesourcery.com>
32834 Jim Blandy <jimb@codesourcery.com>
32835
32836 * scripts/cross-test-ssh.sh: New file.
32837 * manual/install.texi (Configuring and compiling): Document use of
32838 cross-test-ssh.sh.
32839 * INSTALL: Regenerated.
32840
bff64913
PT
328412012-10-25 Pino Toscano <toscano.pino@tiscali.it>
32842
32843 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
32844 EOPNOTSUPP.
32845
25fe8932
JM
328462012-10-25 Joseph Myers <joseph@codesourcery.com>
32847
32848 * Makeconfig (run-program-prefix): Fix comment.
32849
cc1290d0
JM
328502012-10-24 Joseph Myers <joseph@codesourcery.com>
32851 Jim Blandy <jimb@codesourcery.com>
32852
32853 * Makeconfig (test-wrapper): New variable,
32854 (test-wrapper-env): Likewise.
32855 [$(cross-compiling) = yes && $(test-wrapper) != ""]
32856 (run-built-tests): Define to yes.
32857 (run-program-prefix): Use $(test-wrapper).
32858 (built-program-cmd): Likewise.
32859 * Rules (make-test-out): Use $(test-wrapper-env) and
32860 $(host-built-program-cmd).
32861 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
32862 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
32863 tst-pathopt.sh.
32864 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
32865 $(test-wrapper-env) to tst-rtld-load-self.sh.
32866 ($(objpfx)order2.out): Use $(test-wrapper).
32867 ($(objpfx)tst-initorder.out): Likewise.
32868 ($(objpfx)tst-initorder2.out): Likewise.
32869 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
32870 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
32871 (test_wrapper_env): New variable. Use it to run ld.so.
32872 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
32873 Use it to run ld.so.
32874 (test_wrapper_env): Likewise.
32875 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
32876 $(test-wrapper) to run-iconv-test.sh.
32877 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
32878 (ICONV): Use $test_wrapper.
32879 * posix/Makefile ($(objpfx)globtest.out): Pass
32880 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
32881 globtest.sh, not $(run-program-prefix).
32882 * posix/globtest.sh (run_via_rtld_prefix): New variable.
32883 (test_wrapper): Likewise.
32884 (test_wrapper_env): Likewise. Use it to run globtest with HOME
32885 set together with run_via_rtld_prefix.
32886 (run_program_prefix): Define in terms of test_wrapper and
32887 run_via_rtld_prefix.
32888
6e6249d0
RM
328892012-10-24 Roland McGrath <roland@hack.frob.com>
32890
32891 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
32892 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
32893 Targets removed.
32894
32895 [BZ #14743]
32896 * include/time.h: Remove librt_hidden_proto (clock_gettime).
32897 Declare __clock_getres, __clock_gettime, __clock_settime,
32898 __clock_nanosleep, and __clock_getcpuclockid.
32899 * rt/clock_gettime.c: Define __clock_gettime as an alias.
32900 Remove librt_hidden_def (clock_gettime).
32901 * sysdeps/unix/clock_gettime.c: Likewise.
32902 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
32903 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
32904 * rt/clock_getres.c: Define __clock_getres as an alias.
32905 * sysdeps/posix/clock_getres.c: Likewise.
32906 * rt/clock_settime.c: Define __clock_settime as an alias.
32907 * sysdeps/unix/clock_settime.c: Likewise.
32908 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
32909 * sysdeps/unix/clock_nanosleep.c: Likewise.
32910 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
32911 * rt/clock-compat.c: New file.
32912 * rt/Makefile (librt-routines): Add clock-compat and move
32913 $(clock-routines) to ...
32914 (routines): ... here, new variable.
32915 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
32916 Don't add get_clockfreq here.
32917 * rt/Versions (libc: GLIBC_2.17): New version set.
32918 Add clock_* symbols here.
32919 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
32920 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
32921 (GLIBC_2.17): Add clock_* symbols.
32922 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
32923 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
32924 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
32925 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
32926 Likewise.
32927 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
32928 Likewise.
32929 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
32930 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
32931 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
32932 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
32933 * NEWS: Mention the move.
32934
32935 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
32936 Use __open, __read, __close rather than their public counterparts.
32937 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
32938 (__get_clockfreq_via_cpuinfo): Likewise.
32939 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
32940 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
32941
32942 * config.h.in (HAVE_IFUNC): New #undef.
32943 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
32944 was successful.
32945 * configure: Regenerated.
32946
0cae3f4b
MF
329472012-10-24 Mike Frysinger <vapier@gentoo.org>
32948
32949 * configure.in: Move READELF check to start of file.
32950 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
32951 libc_cv_asm_gnu_indirect_function in the process.
32952 * configure: Regenerated.
32953
8175a253
MF
329542012-10-24 Mike Frysinger <vapier@gentoo.org>
32955
32956 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
32957 send the output to /dev/null.
32958 (libc_cv_cc_with_libunwind): Likewise.
32959 (libc_cv_as_noexecstack): Likewise.
32960 * configure: Regenerate.
32961
0708a7d1
JM
329622012-10-24 Joseph Myers <joseph@codesourcery.com>
32963
10b40d85
JM
32964 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
32965
0708a7d1
JM
32966 * posix/globtest.sh (TMPDIR): Do not set.
32967 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
32968 (testout): Likewise.
32969
9fddec1a
AJ
329702012-10-24 Andreas Jaeger <aj@suse.de>
32971
3a8db22f
AJ
32972 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
32973 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
32974 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
32975 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
32976 posix_fadvise64, posix_fallocate64.
32977
9fddec1a
AJ
32978 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
32979 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
32980 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
32981 Likewise.
32982 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
32983 Likewise.
32984 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
32985
32986 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
32987 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
32988 <bits/fcntl-linux.h>.
32989 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
32990
32991 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
32992 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
32993 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
32994 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
32995 [__WORDSIZE != 64]: Likewise.
32996
ebfd1bbd
JM
329972012-10-23 Joseph Myers <joseph@codesourcery.com>
32998
03ac099f
JM
32999 * Makeconfig (run-built-tests): New variable.
33000 * Rules [$(cross-compiling) = yes]: Change condition to
33001 [$(run-built-tests) = no].
33002 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
33003 to [$(run-built-tests) = yes].
33004 * elf/Makefile [$(cross-compiling) = no]: Likewise
33005 * grp/Makefile [$(cross-compiling) = no]: Likewise.
33006 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
33007 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
33008 * intl/Makefile [$(cross-compiling) = no]: Likewise.
33009 * io/Makefile [$(cross-compiling) = no]: Likewise.
33010 * libio/Makefile [$(cross-compiling) = no]: Likewise.
33011 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
33012 * misc/Makefile [$(cross-compiling) = no]: Likewise.
33013 * posix/Makefile [$(cross-compiling) = no]: Likewise.
33014 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
33015 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
33016 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
33017 * string/Makefile [$(cross-compiling) = no]: Likewise.
33018
ebfd1bbd
JM
33019 * posix/Makefile ($(objpfx)globtest.out): Pass
33020 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
33021 $(rtld-installed-name).
33022 * posix/globtest.sh (elf_objpfx): Remove variable.
33023 (rtld_installed_name): Likewise.
33024 (library_path): Likewise.
33025 (run_program_prefix): New variable. Use for running globtest
33026 binary.
33027
166bca24
JB
330282012-10-23 Jim Blandy <jimb@codesourcery.com>
33029 Joseph Myers <joseph@codesourcery.com>
33030
33031 * Makeconfig (host-built-program-cmd): New variable.
33032 * elf/Makefile (tst-stackguard1-ARGS): Use
33033 $(host-built-program-cmd).
33034 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
33035 (tst-spawn-ARGS): Likewise.
33036 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
33037
88866099
JM
330382012-10-23 Joseph Myers <joseph@codesourcery.com>
33039 Jim Blandy <jimb@codesourcery.com>
33040
33041 * Makeconfig (run-via-rtld-prefix): New variable.
33042 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
33043 (built-program-cmd): Likewise.
33044
b4b4c296
AJ
330452012-10-22 Andreas Jaeger <aj@suse.de>
33046
33047 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
33048 __O_RSYNC if it exists, otherwise to O_SYNC.
33049
6fb54a22
JB
330502012-10-22 Jim Blandy <jimb@codesourcery.com>
33051 Joseph Myers <joseph@codesourcery.com>
33052
33053 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
33054 /dev/null.
33055 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
33056 from /dev/null
33057 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
33058 /dev/null.
33059
481b90b9
AJ
330602012-10-22 Andreas Jaeger <aj@suse.de>
33061
2a0e2669
AJ
33062 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
33063 Define always.
33064 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
33065
76e38f9a
AJ
33066 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
33067 bits/fcntl-linux.h.
33068
7cd37b43
AJ
33069 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
33070 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
33071
481b90b9
AJ
33072 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
33073 to __O_LARGEFILE.
33074 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
33075 to __O_LARGEFILE.
33076
aba75984
JB
330772012-10-21 Jim Blandy <jimb@codesourcery.com>
33078 Joseph Myers <joseph@codesourcery.com>
33079
33080 * config.make.in (NM): New variable.
33081
88d4247f
AJ
330822012-10-21 Andreas Jaeger <aj@suse.de>
33083
33084 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
33085 definitions and declarations that are provided by
33086 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
33087
f2eed205
L
330882012-10-20 H.J. Lu <hongjiu.lu@intel.com>
33089
33090 [BZ #14683]
33091 * elf/Makefile (tests-static): Add tst-leaks1-static.
33092 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
33093 ($(objpfx)tst-leaks1-static): New rule.
33094 ($(objpfx)tst-leaks1-static-mem): Likewise.
33095 (tst-leaks1-static-ENV): New macro.
33096 * elf/dl-open.c (dl_open_worker): Check the main application
33097 only if SHARED is defined.
33098 * elf/tst-leaks1-static.c: New file.
33099
335e6931
AJ
331002012-10-20 Andreas Jaeger <aj@suse.de>
33101
33102 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
33103 generic values for Linux.
33104 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
33105 and declarations that are provided by <bits/fcntl-linux.h> and
33106 include <bits/fcntl-linux.h>.
33107 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
33108 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
33109
ac5c94d3
RM
331102012-10-20 Roland McGrath <roland@hack.frob.com>
33111
33112 * io/fcntl.h: Move include of <bits/types.h> to the top and
33113 include it unconditionally.
33114
de54b33a
L
331152012-10-20 H.J. Lu <hongjiu.lu@intel.com>
33116
228cfb01
L
33117 * wcsmbs/Makefile (tests-ifunc): New variable.
33118 (tests): Add $(tests-ifunc).
33119 * wcsmbs/test-wcschr-ifunc.c: New file.
33120 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
33121 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
33122 * wcsmbs/test-wcslen-ifunc.c: Likewise.
33123 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
33124 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
33125
69f07e5f
L
33126 * string/Makefile (tests-ifunc): New variable.
33127 (tests): Add $(tests-ifunc).
33128 * string/test-memccpy.c (TEST_NAME): New macro.
33129 * string/test-memchr.c (TEST_NAME): Likewise.
33130 * string/test-memcmp.c (TEST_NAME): Likewise.
33131 * string/test-memcpy.c (TEST_NAME): Likewise.
33132 * string/test-memmem.c (TEST_NAME): Likewise.
33133 * string/test-memmove.c (TEST_NAME): Likewise.
33134 * string/test-memset.c (TEST_NAME): Likewise.
33135 * string/test-rawmemchr.c (TEST_NAME): Likewise.
33136 * string/test-stpcpy.c (TEST_NAME): Likewise.
33137 * string/test-stpncpy.c (TEST_NAME): Likewise.
33138 * string/test-strcasecmp.c (TEST_NAME): Likewise.
33139 * string/test-strcasestr.c (TEST_NAME): Likewise.
33140 * string/test-strcat.c (TEST_NAME): Likewise.
33141 * string/test-strchr.c (TEST_NAME): Likewise.
33142 * string/test-strcmp.c(TEST_NAME): Likewise.
33143 * string/test-strcpy.c (TEST_NAME): Likewise.
33144 * string/test-strcspn.c (TEST_NAME): Likewise.
33145 * string/test-strlen.c (TEST_NAME): Likewise.
33146 * string/test-strncasecmp.c (TEST_NAME): Likewise.
33147 * string/test-strncmp.c (TEST_NAME): Likewise.
33148 * string/test-strncpy.c (TEST_NAME): Likewise.
33149 * string/test-strnlen.c (TEST_NAME): Likewise.
33150 * string/test-strpbrk.c (TEST_NAME): Likewise.
33151 * string/test-strrchr.c (TEST_NAME): Likewise.
33152 * string/test-strspn.c (TEST_NAME): Likewise.
33153 * string/test-strstr.c (TEST_NAME): Likewise.
33154 * string/test-bcopy-ifunc.c: New file.
33155 * string/test-bzero-ifunc.c: Likewise.
33156 * string/test-memccpy-ifunc.c: Likewise.
33157 * string/test-memchr-ifunc.c: Likewise.
33158 * string/test-memcmp-ifunc.c: Likewise.
33159 * string/test-memcpy-ifunc.c: Likewise.
33160 * string/test-memmem-ifunc.c: Likewise.
33161 * string/test-memmove-ifunc.c: Likewise.
33162 * string/test-mempcpy-ifunc.c: Likewise.
33163 * string/test-memset-ifunc.c: Likewise.
33164 * string/test-rawmemchr-ifunc.c: Likewise.
33165 * string/test-stpcpy-ifunc.c: Likewise.
33166 * string/test-stpncpy-ifunc.c: Likewise.
33167 * string/test-strcasecmp-ifunc.c: Likewise.
33168 * string/test-strcasestr-ifunc.c: Likewise.
33169 * string/test-strcat-ifunc.c: Likewise.
33170 * string/test-strchr-ifunc.c: Likewise.
33171 * string/test-strchrnul-ifunc.c: Likewise.
33172 * string/test-strcmp-ifunc.c: Likewise.
33173 * string/test-strcpy-ifunc.c: Likewise.
33174 * string/test-strcspn-ifunc.c: Likewise.
33175 * string/test-strlen-ifunc.c: Likewise.
33176 * string/test-strncasecmp-ifunc.c: Likewise.
33177 * string/test-strncat-ifunc.c: Likewise.
33178 * string/test-strncmp-ifunc.c: Likewise.
33179 * string/test-strncpy-ifunc.c: Likewise.
33180 * string/test-strnlen-ifunc.c: Likewise.
33181 * string/test-strpbrk-ifunc.c: Likewise.
33182 * string/test-strrchr-ifunc.c: Likewise.
33183 * string/test-strspn-ifunc.c: Likewise.
33184 * string/test-strstr-ifunc.c: Likewise.
33185
de54b33a
L
33186 * debug/Makefile (tests-ifunc): New variable.
33187 (tests): Add $(tests-ifunc).
33188 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
33189 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
33190 * debug/test-stpcpy_chk-ifunc.c: New file.
33191 * debug/test-strcpy_chk-ifunc.c: Likewise.
33192
88481c16
SP
331932012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
33194
33195 [BZ #13601]
33196 * elf/dl-load.c (open_verify): Retry read if the entire ELF
33197 header is not read in.
33198
135948bd
JM
331992012-10-19 Joseph Myers <joseph@codesourcery.com>
33200
89f1c388
JM
33201 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
33202 script to $(SHELL) as $<. Pass $(common-objpfx) to script
33203 directly. Pass built executable to script as
33204 $(built-program-cmd).
33205 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
33206 $testprogram without using LD_LIBRARY_PATH and $ldso.
33207
e40a0d21
JM
33208 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
33209 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
33210 $(rtld-installed-name).
33211 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
33212 (rtld_installed_name): Likewise.
33213 (library_path): Likewise.
33214 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
33215 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
33216 $(run-program-prefix) to tst-tables.sh.
33217 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
33218 it to run tst-table-from and tst-table-to.
33219 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
33220 Pass it to tst-table.sh.
33221 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
33222 $(run-program-prefix) to tst-gettext.sh.
33223 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
33224 tst-translit.sh.
33225 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
33226 tst-gettext2.sh.
33227 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
33228 to run tst-gettext.
33229 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
33230 to run tst-gettext2.
33231 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
33232 to run tst-translit.
33233 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
33234 $(run-program-prefix) to tst-mtrace.sh.
33235 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
33236 to run tst-mtrace.
33237 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
33238 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
33239 $(rtld-installed-name).
33240 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
33241 (rtld_installed_name): Likewise.
33242 (run_program_prefix): New variable. Use it to run wordexp-test.
33243
728e272a
JM
33244 * Makeconfig (ARCH): Remove all definitions.
33245 (machine): Likewise.
33246 [ARCH]: Remove conditional code.
33247 [!objdir]: Give error.
33248 [!objdir] (objpfx): Remove.
33249 [!objdir] (common-objpfx): Likewise.
33250 [!objdir] (common-objdir): Likewise.
33251 * configure.in (config_makefile): Remove. Hardcode Makefile in
33252 AC_CONFIG_FILES call.
33253 * configure: Regenerated.
33254
d528cdcf
JM
33255 [BZ #13888]
33256 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
33257 or TMPDIR.
33258 (testout): Likewise.
33259
135948bd
JM
33260 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
33261 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
33262 $(rtld-installed-name).
33263 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
33264 (rtld_installed_name): Likwise.
33265 (runit): Remove function.
33266 (run_getconf): New variable, Use it for running getconf binary.
33267
38c78296
L
332682012-10-18 H.J. Lu <hongjiu.lu@intel.com>
33269
33270 [BZ #14716]
33271 * string/test-memmem.c (check_result): New function.
33272 (do_one_test): Use it.
33273 (check1): New function.
33274 (test_main): Use it.
33275
d077f65f
MT
332762012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
33277
33278 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
33279
ced52c71
JM
332802012-10-18 Joseph Myers <joseph@codesourcery.com>
33281
33282 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
33283 (_G_LSEEK64): Likewise.
33284 (_G_MMAP64): Likewise.
33285 (_G_FSTAT64): Likewise.
33286 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
33287 (_G_LSEEK64): Likewise.
33288 (_G_MMAP64): Likewise.
33289 (_G_FSTAT64): Likewise.
33290 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
33291 unconditional. Call __mmap64 directly.
33292 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
33293 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
33294 __lseek64 directly.
33295 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
33296 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
33297 __mmap64 directly.
33298 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
33299 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
33300 __lseek64 directly.
33301 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
33302 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
33303 __lseek64 directly.
33304 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
33305 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
33306 __lseek64 directly.
33307 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
33308 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
33309 __fxstat64 directly.
33310 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
33311 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
33312 unconditional.
33313 (freopen64) [!_G_OPEN64]: Remove conditional code.
33314 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
33315 unconditional.
33316 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
33317 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
33318 unconditional.
33319 (ftello64) [!_G_LSEEK64]: Remove conditional code.
33320 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
33321 unconditional.
33322 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
33323 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
33324 unconditional.
33325 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
33326 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
33327 unconditional.
33328 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
33329 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
33330 unconditional.
33331 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
33332 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
33333 unconditional.
33334 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
33335
b741de23
SP
333362012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
33337
33338 [BZ #12140]
33339 * manual/memory.texi (Malloc Tunable Parameters): Add note
33340 about free list pointers overwriting some perturb bytes.
33341 Wording suggested by Roland McGrath.
33342
f9b9d9c9
JM
333432012-10-17 Joseph Myers <joseph@codesourcery.com>
33344
33345 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
33346 (lgamma_test): Likewise.
33347 (tgamma_test): Likewise.
33348
172a631a
FW
333492012-10-16 Florian Weimer <fweimer@redhat.com>
33350
33351 [BZ #14700]
33352 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
33353 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
33354
e9f37252
MK
333552012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
33356
33357 * NEWS: Mention BZ #14716.
33358 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
33359 when removing AVAILABLE1_USES_J macro.
33360
d394eb74
L
333612012-10-12 H.J. Lu <hongjiu.lu@intel.com>
33362
33363 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
33364 (__bswap_64): __uint64_t for unsigned 64-bit int.
33365
ca38dc17
AS
333662012-10-12 Andreas Schwab <schwab@linux-m68k.org>
33367
33368 * include/string.h (memmem): Declare libc hidden alias.
33369 * string/memmem.c (memmem): Define libc hidden alias.
33370 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
33371 __read, __close instead of open, read, close.
33372
9a387d1f
L
333732012-10-11 H.J. Lu <hongjiu.lu@intel.com>
33374
ac49ecaf
L
33375 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
33376 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
33377 global and hidden.
33378 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
33379 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
33380 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
33381 Likewise.
33382 (__rawmemchr_sse2): Likewise.
33383 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
33384 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
33385 (__strchr_sse2): Likewise.
33386 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
33387 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
33388 (__strcasecmp_sse2): Likewise.
33389 (__strncasecmp_sse2): Likewise.
33390 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
33391 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
33392 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
33393 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
33394 (__strrchr_sse2): Likewise.
33395 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
33396 ifunc-impl-list.c.
33397 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
33398 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
33399 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
33400 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
33401 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
33402 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
33403 * sysdeps/x86_64/multiarch/memset.S: Likewise.
33404 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
33405 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
33406 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
33407 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
33408 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
33409 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
33410 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
33411 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
33412 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
33413 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
33414 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
33415 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
33416 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
33417 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
33418 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
33419 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
33420 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
33421 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
33422 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
33423 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
33424 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
33425 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
33426 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
33427
b090e8ea
L
33428 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
33429 global and hidden.
33430 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
33431 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
33432 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
33433 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
33434 Likewise.
33435 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
33436 Likewise.
33437 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
33438 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
33439 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
33440 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
33441 ifunc-impl-list.c.
33442 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
33443 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
33444 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
33445 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
33446 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
33447 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
33448 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
33449 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
33450 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
33451 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
33452 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
33453 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
33454 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
33455 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
33456 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
33457 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
33458 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
33459 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
33460 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
33461 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
33462 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
33463 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
33464 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
33465 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
33466 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
33467 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
33468 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
33469 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
33470 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
33471 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
33472 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
33473 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
33474 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
33475 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
33476 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
33477 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
33478 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
33479 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
33480 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
33481 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
33482 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
33483
11dd4af6
L
33484 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
33485 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
33486 * include/ifunc-impl-list.h: New file.
33487 * misc/ifunc-impl-list.c: Likewise.
33488 * misc/Makefile (routines): Add ifunc-impl-list.
33489 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
33490 * string/test-string.h: Include <ifunc-impl-list.h>.
57f41c40
AS
33491 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
33492 TEST_NAME]: New variables.
11dd4af6
L
33493 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
33494 are defined.
33495 (test_init): Call __libc_ifunc_impl_list to initialize
33496 func_list if TEST_IFUNC and TEST_NAME are defined.
33497
9a387d1f
L
33498 * string/Makefile (strop-tests): Add bcopy and bzero.
33499 * string/test-bcopy.c: New file.
33500 * string/test-bzero.c: Likewise.
33501 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
33502 defined.
33503 * string/test-memset.c: Support bzero test if TEST_BZERO is
33504 defined.
33505 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
33506 __libc_memmove.
33507 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
33508 __libc_memset.
33509 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
33510 of memset.
33511
472371b9
JM
335122012-10-10 Joseph Myers <joseph@codesourcery.com>
33513
1e4a9536
JM
33514 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
33515 * configure: Regenerated.
33516
d173d12e
JM
33517 * Makeconfig (+link-static-before-libc): Don't include
33518 $(link-static-libc).
33519
472371b9
JM
33520 * libio/libio.h (_IO_pos_t): Remove.
33521
89a3ad0b
AO
335222012-10-10 Alexandre Oliva <aoliva@redhat.com>
33523
33524 * NEWS: Add note about FIPS mode. Wording suggested by Roland
33525 McGrath.
33526
e7451425
AO
335272012-10-10 Alexandre Oliva <aoliva@redhat.com>
33528
33529 * crypt/crypt-entry.c: Include fips-private.h.
33530 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
33531 * crypt/md5c-test.c (main): Tolerate disabled MD5.
33532 * sysdeps/unix/sysv/linux/fips-private.h: New file.
33533 * sysdeps/generic/fips-private.h: New file, dummy fallback.
33534
4ba74a35
AO
335352012-10-10 Alexandre Oliva <aoliva@redhat.com>
33536
33537 * crypt/crypt-private.h: Include stdbool.h.
33538 (_ufc_setup_salt_r): Return bool.
33539 * crypt/crypt-entry.c: Include errno.h.
33540 (__crypt_r): Return NULL with EINVAL for bad salt.
33541 * crypt/crypt_util.c (bad_for_salt): New.
33542 (_ufc_setup_salt_r): Check that salt is long enough and within
33543 the specified alphabet.
33544 * crypt/badsalttest.c: New file.
33545 * crypt/Makefile (tests): Add it.
33546 ($(objpfx)badsalttest): New.
33547
f96f1242
MK
335482012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
33549
33550 * NEWS: Add entry for BZ #14602.
33551
0e8e0c1c
JM
335522012-10-09 Joseph Myers <joseph@codesourcery.com>
33553
33554 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
33555 type-generic.
33556 * math/libm-test.inc: Update comment listing what functions and
33557 macros are tested.
33558 (isgreater_test): New function.
33559 (isgreaterequal_test): Likewise.
33560 (isless_test): Likewise.
33561 (islessequal_test): Likewise.
33562 (islessgreater_test): Likewise.
33563 (isunordered_test): Likewise.
33564 (main): Call the new functions.
33565
273edc5e
RM
335662012-10-09 Roland McGrath <roland@hack.frob.com>
33567
b8493de0
RM
33568 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
33569 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
33570 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
33571 * sysdeps/i386/configure: Regenerated.
33572 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
33573 * sysdeps/mach/configure: Regenerated.
33574 * sysdeps/mach/hurd/configure: Regenerated.
33575 * sysdeps/powerpc/configure: Regenerated.
33576 * sysdeps/powerpc/powerpc32/configure: Regenerated.
33577 * sysdeps/powerpc/powerpc64/configure: Regenerated.
33578 * sysdeps/s390/s390-32/configure: Regenerated.
33579 * sysdeps/s390/s390-64/configure: Regenerated.
33580 * sysdeps/sh/configure: Regenerated.
33581 * sysdeps/sparc/configure: Regenerated.
33582 * sysdeps/unix/sysv/linux/configure: Regenerated.
33583 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
33584 * sysdeps/x86_64/configure: Regenerated.
33585
273edc5e
RM
33586 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
33587 defined. Don't check if MAP is NULL.
33588
c8450f70
JM
335892012-10-09 Joseph Myers <joseph@codesourcery.com>
33590
33591 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
33592 (_G_stat64): Likewise.
33593 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
33594 (_G_stat64): Likewise.
33595 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
33596 instead of struct _G_stat64.
33597 * libio/fileops.c (mmap_remap_check): Likewise.
33598 (decide_maybe_mmap): Likewise.
33599 (_IO_new_file_seekoff): Likewise.
33600 (_IO_file_stat): Likewise.
33601 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
33602 _G_off64_t.
33603 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
33604 instead of struct _G_stat64.
33605 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
33606
57e605ba
MK
336072012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
33608
33609 [BZ #14602]
33610 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
33611 Replace with ...
33612 (CHECK_EOL): New macro.
33613 (two_way_short_needle): Check beginning of haystack for EOL. Use
33614 CHECK_EOL.
33615 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
33616 Replace with CHECK_EOL.
33617 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
33618 Replace with CHECK_EOL.
33619
ef1bb361
JM
336202012-10-08 Joseph Myers <joseph@codesourcery.com>
33621
33622 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
33623 type-generic.
33624 * math/libm-test.inc: Update comment listing what functions and
33625 macros are tested.
33626 (finite_test): New function.
33627 (isinf_test): Likewise.
33628 (isnan_test): Likewise.
33629 (fpclassify_test): Test subnormal input.
33630 (isfinite_test): Likewise.
33631 (isnormal_test): Likewise.
33632 (main): Call the new functions.
33633
55f11534
JN
336342012-10-08 Jonathan Nieder <jrnieder@gmail.com>
33635
33636 [BZ #14660]
33637 * Makerules (%.dynsym): Force C locale when running
33638 $(OBJDUMP) --dynamic-syms.
33639
1ab29350
AS
336402012-10-08 Andreas Schwab <schwab@linux-m68k.org>
33641
33642 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
33643 <stdint.h>.
33644
f1ecb7ef
DM
336452012-10-06 David S. Miller <davem@davemloft.net>
33646
33647 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
33648 upper 32-bits of the length value in %o2 since we use branch-on-register
33649 tests which consider the entire 64-bit register.
33650
5d41d91a
L
336512012-10-06 H.J. Lu <hongjiu.lu@intel.com>
33652
33653 * string/test-strstr.c (check2): Add a test for page boundary.
33654
3baddb72
DM
336552012-10-05 David S. Miller <davem@davemloft.net>
33656
33657 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
33658 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
33659 file.
33660 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
33661 sysdep_routines.
33662 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
33663 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
33664 and bzero when HWCAP_SPARC_CRYPTO is present.
33665
9cee5585
L
336662012-10-05 H.J. Lu <hongjiu.lu@intel.com>
33667
d7e0dab9
L
33668 [BZ #14602]
33669 * string/test-strstr.c (check2): New function.
33670 (test_main): Call check2.
33671
03759f47
L
33672 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
33673 and bug-strchr1.
33674 * string/bug-strcasestr1.c (do_test): Moved to ...
33675 * string/test-strcasestr.c (check1): Here. New function.
33676 (do_one_test): Break out result checking code into ...
33677 (check_result): This. New function.
33678 (do_one_test): Call check_result.
33679 (test_main): Call check1.
33680 * string/bug-strchr1.c (do_test): Moved to ...
33681 * string/test-strchr.c (check1): Here. New function.
33682 (do_one_test): Break out result checking code into ...
33683 (check_result): This. New function.
33684 (do_one_test): Call check_result.
33685 (test_main): Call check1.
33686 * string/bug-strstr1.c (main): Moved to ...
046f153e 33687 * string/test-strstr.c (check1): Here. New function.
03759f47
L
33688 (do_one_test): Break out result checking code into ...
33689 (check_result): This. New function.
33690 (do_one_test): Call check_result.
33691 (test_main): Call check1.
33692 * string/bug-strcasestr1.c: Removed.
33693 * string/bug-strchr1.c: Likewise.
33694 * string/bug-strstr1.c: Likewise.
33695
53cea63e
L
33696 * elf/Makefile (dl-routines): Add hwcaps.
33697 * elf/dl-support.c (_dl_important_hwcaps): Removed.
33698 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
33699 (_dl_important_hwcaps): Moved to ...
33700 * elf/dl-hwcaps.c: Here. New file.
33701 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
33702
9cee5585 33703 [BZ #14557]
bb859b06
L
33704 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
33705 if IS_IN_rtld isn't defined.
33706
9cee5585
L
33707 * elf/dl-support.c (_dl_sysinfo_map): New.
33708 Include "get-dynamic-info.h" and "setup-vdso.h".
33709 (_dl_non_dynamic_init): Call setup_vdso.
33710 * elf/dynamic-link.h: Don't include <assert.h>.
33711 (elf_get_dynamic_info): Moved to ...
33712 * elf/get-dynamic-info.h: Here. New file.
33713 * elf/dynamic-link.h: Include "get-dynamic-info.h".
33714 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
33715 * elf/setup-vdso.h: Here. New file.
33716 * elf/rtld.c: Include "setup-vdso.h".
33717 (dl_main): Call setup_vdso.
33718
23c31b76
JM
337192012-10-05 Joseph Myers <joseph@codesourcery.com>
33720
28234b07
JM
33721 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
33722 creal in comment listing functions tested. List finite, isinf,
33723 isnan, isless, islessequal, isgreater, isgreaterequal,
33724 islessgreater, isunordered, lgamma_r and pow10 as functions and
33725 macros not tested. Mention which functions not tested are aliases
33726 for other functions. Fix typo. Note that signs of NaNs are not
33727 tested.
33728
23c31b76
JM
33729 * scripts/config.guess: Update from config.git.
33730 * scripts/config.sub: Likewise.
33731
9043e228
RM
337322012-10-04 Roland McGrath <roland@hack.frob.com>
33733
33734 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
33735 * misc/madvise.c (madvise): Renamed to __madvise.
33736 Make madvise a weak alias.
33737 * include/sys/mman.h: Declare __madvise.
33738 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
33739 * sysdeps/unix/syscalls.list
33740 (madvise): Make __madvise the strong name, and madvise a weak alias.
33741 * sysdeps/unix/sysv/linux/syscalls.list
33742 (madvise, mmap): Remove redundant entries.
33743 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
33744 * malloc/malloc.c (mtrim): Likewise.
33745 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
33746
f57f8055
RM
337472012-10-03 Roland McGrath <roland@hack.frob.com>
33748
33749 * sysdeps/mach/hurd/dl-cache.c: File removed.
33750 * config.h.in (USE_LDCONFIG): New #undef.
33751 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
33752 * configure: Regenerated.
33753 * elf/Makefile (dl-routines): Add dl-cache only under
33754 [$(use-ldconfig) = yes].
33755 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
33756 cache on [USE_LDCONFIG].
33757 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
33758 [USE_LDCONFIG].
33759 * elf/rtld.c (dl_main): Likewise.
33760
5bb0c10a
PT
337612012-10-03 Pino Toscano <toscano.pino@tiscali.it>
33762
33763 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
33764 _SC_LEVEL4_CACHE_LINESIZE.
33765
010188c6
RM
337662012-10-03 Roland McGrath <roland@hack.frob.com>
33767
33768 * sysdeps/unix/bsd/confstr.h: File removed.
33769
b6c5ec07
AO
337702012-10-02 Alexandre Oliva <aoliva@redhat.com>
33771
33772 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
33773 sys/sdt-config.h.
33774
408223d4
RM
337752012-10-02 Roland McGrath <roland@hack.frob.com>
33776
33777 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
33778 Make 'mapoff' field ElfW(Off) rather than off_t.
33779
bb9510dc
DL
337802012-10-02 Dmitry V. Levin <ldv@altlinux.org>
33781
fc997c6e
DL
33782 * nscd/Makefile: Remove nscd-cflags and all its users.
33783 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
33784 (CFLAGS-nonlib): Add compiler flags for nscd modules.
33785
bb9510dc
DL
33786 [BZ #10631]
33787 * malloc.c (malloc_printerr): Clarify error message.
33788
05699367
L
337892012-10-02 H.J. Lu <hongjiu.lu@intel.com>
33790
33791 [BZ #14648]
33792 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33793 Set bit_FMA_Usable if FMA is supported.
33794 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
33795 macro.
33796 (bit_FMA4_Usable): Updated.
33797 (index_FMA_Usable): New macro.
33798 (CPUID_FMA): Likewise
33799 (HAS_FMA): Defined with bit_FMA_Usable.
33800
51367701
RM
338012012-10-01 Roland McGrath <roland@hack.frob.com>
33802
33803 * bits/types.h (__swblk_t): Type removed.
33804 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
33805 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
33806 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
33807 (__SWBLK_T_TYPE): Likewise.
33808 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
33809 (__SWBLK_T_TYPE): Likewise.
33810 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
33811 (__SWBLK_T_TYPE): Likewise.
33812 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
33813 (__SWBLK_T_TYPE): Likewise.
33814
4d57bf63 338152012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 33816 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
33817
33818 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
33819 (xdr_mapname): Use YPMAXMAP as maxsize.
33820 (xdr_peername): Use YPMAXPEER as maxsize.
33821 (xdr_keydat): Use YPAXRECORD as maxsize.
33822 (xdr_valdat): Use YPMAXRECORD as maxsize.
33823
93c65d43
RM
338242012-10-01 Roland McGrath <roland@hack.frob.com>
33825
497a03d6
RM
33826 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
33827
93c65d43
RM
33828 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
33829 * csu/init-first.c: ... here.
33830 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
33831 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
33832 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
33833 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
33834 * sysdeps/i386/init-first.c: File removed.
33835 * sysdeps/sh/init-first.c: File removed.
33836
bec749fd
JM
338372012-10-01 Joseph Myers <joseph@codesourcery.com>
33838
33839 [BZ #14645]
33840 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
33841 if x * y might underflow to zero and z is zero.
33842 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
33843 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
33844 * math/libm-test.inc (min_subnorm_value): New variable.
33845 (fma_test): Add more tests.
33846 (fma_test_towardzero): Likewise.
33847 (fma_test_downward): Likewise
33848 (fma_test_upward): Likewise.
33849 (initialize): Set min_subnorm_value.
33850
8ec5b013
JM
338512012-09-29 Joseph Myers <joseph@codesourcery.com>
33852
33853 [BZ #14638]
33854 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
33855 0 + 0.
33856 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
33857 mode for addition resulting in exact zero.
33858 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
33859 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
33860 exact 0 + 0.
33861 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
33862 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
33863 * math/libm-test.inc (fma_test): Add more tests.
33864 (fma_test_towardzero): New function.
33865 (fma_test_downward): Likewise.
33866 (fma_test_upward): Likewise.
33867 (main): Call the new functions.
33868
b1fa802e
DM
338692012-09-28 David S. Miller <davem@davemloft.net>
33870
33871 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
33872
d3b9fd9e
RM
338732012-09-28 Roland McGrath <roland@hack.frob.com>
33874
ea4d37b3
RM
33875 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
33876 instead of SIGALRM.
33877
ac51c949
RM
33878 * sysdeps/gnu/_G_config.h: Moved to ...
33879 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
33880 * sysdeps/mach/hurd/_G_config.h: Moved to ...
33881 * sysdeps/generic/_G_config.h: ... here.
33882
28c195f7
RM
33883 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
33884
848917f9
RM
33885 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
33886
6bacf05b
RM
33887 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
33888 Conditionalize target on [libnss_test1.so-version].
33889
91363dbb
RM
33890 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
33891
cc87f7d8
RM
33892 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
33893 (elfobjdir): Move out of conditionals.
33894
b1c608fe
RM
33895 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
33896 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
33897 (__nss_lookup_function): Conditionalize label remove_from_tree on
33898 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 33899
1d9a6d96
DM
339002012-09-28 David S. Miller <davem@davemloft.net>
33901
33902 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
33903 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
33904 file.
33905 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
33906 sysdep_routines.
33907 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
33908 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
33909 when HWCAP_SPARC_CRYPTO is present.
33910
72581615
PT
339112012-09-28 Pino Toscano <toscano.pino@tiscali.it>
33912
33913 * io/tst-mknodat.c: Create a FIFO instead of a socket.
33914
715a900c
JL
339152012-09-28 Andreas Schwab <schwab@linux-m68k.org>
33916
33917 [BZ #6530]
33918 * stdio-common/vfprintf.c (process_string_arg): Revert
33919 2000-07-22 change.
33920
339212011-09-28 Jonathan Nieder <jrnieder@gmail.com>
33922
33923 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
33924 for testcase.
33925 * stdio-common/tst-sprintf.c: Include <locale.h>
33926 (main): Test sprintf's handling of incomplete multibyte
33927 characters.
33928
9bac1d86
L
339292012-09-28 H.J. Lu <hongjiu.lu@intel.com>
33930
33931 * elf/dl-runtime.c (VERSYMIDX): Removed.
33932 * elf/dl-version.c (VERSYMIDX): Likewise.
33933 * elf/do-rel.h (VERSYMIDX): Likewise.
33934 (VALIDX): Likewise.
33935 * elf/dynamic-link.h (VERSYMIDX): Likewise.
33936 * elf/rtld.c (VALIDX): Likewise.
33937 (ADDRIDX): Likewise.
9bac1d86
L
33938 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
33939 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
33940 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
33941 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
33942 (VALIDX): Likewise.
33943 (ADDRIDX): Likewise.
9bac1d86 33944
b31606c0
PT
339452012-09-28 Pino Toscano <toscano.pino@tiscali.it>
33946
33947 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
33948
11541177
JL
339492012-09-28 Dmitry V. Levin <ldv@altlinux.org>
33950
33951 [BZ #11438]
33952 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
33953 to global scope.
33954 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
33955 addresses are in the same scope as 192.0.2/24.
33956 * posix/gai.conf: Document new scope table defaults.
33957
adb26fae
SP
339582012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
33959
33960 [BZ #5298]
33961 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
33962 for ftell. Compute offsets from write pointers instead.
33963 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
33964
4573c6b0
SP
339652012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
33966
33967 [BZ #14543]
33968 * libio/Makefile (tests): New test case tst-fseek.
33969 * libio/tst-fseek.c: New test case to verify that fseek/ftell
33970 combination works in wide mode.
33971 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
33972 state when the external buffer state changes.
33973
aa9bbfe6
DM
339742012-09-27 David S. Miller <davem@davemloft.net>
33975
33976 [BZ #14376]
33977 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
33978 pass reloc->r_addend in as the 'high' argument to
33979 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
33980
784421e7
DM
33981 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33982
c39bc8b8
PT
339832012-09-28 Pino Toscano <toscano.pino@tiscali.it>
33984
33985 * rt/tst-aio2.c: Include <pthread.h>.
33986 * rt/tst-aio3.c: Likewise.
33987
1ccc2399
SE
339882012-09-27 Steve Ellcey <sellcey@mips.com>
33989
33990 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
33991
31ed4153
L
339922012-09-27 H.J. Lu <hongjiu.lu@intel.com>
33993
25f5f885
L
33994 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
33995 contents on [SHARED].
31ed4153 33996
b7bfe116
MP
339972012-09-26 Marek Polacek <polacek@redhat.com>
33998
33999 [BZ #14530]
34000 [BZ #13741]
34001 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
34002 for C++ and GCC <4.3 as well as for non GCC compilers.
34003
43c4edba
MT
340042012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
34005
34006 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34007
6a1bf82f
RM
340082012-09-25 Roland McGrath <roland@hack.frob.com>
34009
34010 * Makefile.in (all, install): Declare with .PHONY.
34011 Reported by Michael Hope <michael.hope@linaro.org>.
34012
8ad11b9a
TMQMF
340132012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
34014
34015 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
34016 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
34017 system header.
34018 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
34019 Likewise.
34020 (sydep_routines): Add the new and the internal functions.
34021 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
34022 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
34023 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
34024 (GLIBC_2.17): Add the new function.
34025 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
34026 (GLIBC_2.17): Likewise.
34027 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
34028 (GLIBC_2.17): Likewise.
34029 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
34030 (GLIBC_2.17): Likewise.
34031 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
34032
7e2fca8d
AM
340332012-09-25 Alan Modra <amodra@gmail.com>
34034
34035 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
34036 Add release barrier before setting once_control to say
34037 initialisation is done. Add hints on lwarx. Use macro in
34038 place of isync.
34039 (clear_once_control): Add release barrier.
34040
b87c4b24
JM
340412012-09-25 Joseph Myers <joseph@codesourcery.com>
34042
d032e0d2
JM
34043 [BZ #13629]
34044 * math/s_clog.c (__clog): Handle more values close to |z| = 1
34045 specially.
34046 * math/s_clog10.c (__clog10): Likewise.
34047 * math/s_clog10f.c (__clog10f): Likewise.
34048 * math/s_clog10l.c (__clog10l): Likewise.
34049 * math/s_clogf.c (__clogf): Likewise.
34050 * math/s_clogl.c (__clogl): Likewise.
34051 * math/Makefile (libm-calls): Add x2y2m1.
34052 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
34053 (__x2y2m1): Likewise.
34054 (__x2y2m1l): Likewise.
34055 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
34056 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
34057 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
34058 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
34059 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
34060 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
34061 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
34062 * sysdeps/i386/fpu/libm-test-ulps: Update.
34063 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34064
b87c4b24
JM
34065 [BZ #14621]
34066 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
34067 int as type of variable DEPTH.
34068 (glob): Use size_t instead of int as type of variables NEWCOUNT
34069 and OLD_PATHC.
34070
6d3bf199
LD
340712012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34072
22bf5c17
LD
34073 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
34074 Add s_sincosf-sse2.
34075 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
34076 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
34077 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
34078 macros for using routine as __sincosf_ia32.
34079 Use macro for function declaration and weak_alias.
34080 * sysdeps/i386/fpu/libm-test-ulps: Update.
34081
34082 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
34083 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34084
34085 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
34086 subnormal argument.
34087 * math/s_cexpf.c (__cexpf): Likewise.
34088 * math/s_csinf.c (__csinf): Likewise.
34089 * math/s_csinhf.c (__csinhf): Likewise.
34090 * math/s_ctanf.c (__ctanf): Likewise.
34091 * math/s_ctanhf.c (__ctanhf): Likewise.
34092 * math/s_ccosh.c (__ccoshf): Likewise.
34093 * math/s_cexp.c (__cexpl): Likewise.
34094 * math/s_csin.c (__csin): Likewise.
34095 * math/s_csinh.c (__csinh): Likewise.
34096 * math/s_ctan.c (__ctan): Likewise.
34097 * math/s_ctanh.c (ctanh): Likewise.
34098 * math/s_ccoshl.c (__ccoshl): Likewise.
34099 * math/s_cexpl.c (__cexpl): Likewise.
34100 * math/s_csinl.c (__csinl): Likewise.
34101 * math/s_csinhl.c (__csinhl): Likewise.
34102 * math/s_ctanl.c (__ctanl): Likewise.
34103 * math/s_ctanhl.c (__ctanhl): Likewise.
34104
203e5603
JM
341052012-09-25 Joseph Myers <joseph@codesourcery.com>
34106
34107 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
34108 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
34109 (_IO_off_t): Define to __off_t, not _G_off_t.
34110 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
34111 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
34112 (_IO_wint_t): Define to wint_t, not _G_wint_t.
34113 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
34114 type of __dummy and __dummy2 fields.
34115 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
34116 (_G_ssize_t): Likewise.
34117 (_G_off_t): Likewise.
34118 (_G_pid_t): Likewise.
34119 (_G_uid_t): Likewise.
34120 (_G_wchar_t): Likewise.
34121 (_G_wint_t): Likewise.
34122 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
34123 (_G_ssize_t): Likewise.
34124 (_G_off_t): Likewise.
34125 (_G_pid_t): Likewise.
34126 (_G_uid_t): Likewise.
34127 (_G_wchar_t): Likewise.
34128 (_G_wint_t): Likewise.
34129 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
34130 (_G_ssize_t): Likewise.
34131 (_G_off_t): Likewise.
34132 (_G_pid_t): Likewise.
34133 (_G_uid_t): Likewise.
34134 (_G_wchar_t): Likewise.
34135 (_G_wint_t): Likewise.
34136
9fab36eb
SP
341372012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
34138
34139 * malloc/arena.c: Include malloc-sysdep.h.
34140 (shrink_heap): Use check_may_shrink_heap to decide if madvise
34141 is sufficient to shrink the heap or an unmap is needed.
34142 * sysdeps/generic/malloc-sysdep.h: New file. Define
34143 new function check_may_shrink_heap.
34144 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
34145 new function check_may_shrink_heap.
34146
2b4f00d1
SP
341472012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
34148
34149 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
34150 comments.
34151
9a9028b1
DL
341522012-09-24 Dmitry V. Levin <ldv@altlinux.org>
34153
57c69bef
DL
34154 * catgets/test-gencat.sh: Add "set -e".
34155 * elf/tst-pathopt.sh: Likewise.
34156 * grp/tst_fgetgrent.sh: Likewise.
34157 * iconvdata/run-iconv-test.sh: Likewise.
34158 * intl/tst-gettext.sh: Likewise.
34159 * intl/tst-gettext2.sh: Likewise.
34160 * intl/tst-gettext4.sh: Likewise.
34161 * intl/tst-gettext6.sh: Likewise.
34162 * intl/tst-translit.sh: Likewise.
34163 * io/ftwtest-sh: Likewise.
34164 * libio/test-freopen.sh: Likewise.
34165 * malloc/tst-mtrace.sh: Likewise.
34166 * posix/globtest.sh: Likewise.
34167 * posix/tst-getconf.sh: Likewise.
34168 * posix/wordexp-tst.sh: Likewise.
34169 * stdio-common/tst-printf.sh: Likewise.
34170 * stdio-common/tst-unbputc.sh: Likewise.
34171 * stdlib/tst-fmtmsg.sh: Likewise.
34172 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
34173 * catgets/Makefile: Do not specify -e option when running
34174 testsuite shell scripts.
34175 * elf/Makefile: Likewise.
34176 * grp/Makefile: Likewise.
34177 * iconvdata/Makefile: Likewise.
34178 * intl/Makefile: Likewise.
34179 * io/Makefile: Likewise.
34180 * libio/Makefile: Likewise.
34181 * malloc/Makefile: Likewise.
34182 * posix/Makefile: Likewise.
34183 * stdio-common/Makefile: Likewise.
34184 * stdlib/Makefile: Likewise.
34185 * sysdeps/x86_64/Makefile: Likewise.
34186
9a9028b1
DL
34187 * io/ftwtest-sh: Add copyright header.
34188 * posix/globtest.sh: Likewise.
34189 * posix/tst-getconf.sh: Likewise.
34190 * posix/wordexp-tst.sh: Likewise.
34191 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
34192
ced6f16e
L
341932012-09-24 H.J. Lu <hongjiu.lu@intel.com>
34194
94b32c39
L
34195 [BZ #13679]
34196 * Makeconfig (+link): Defined as $(+link-static) if
34197 $(build-shared) isn't yes.
34198 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
34199 isn't yes.
34200 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
34201
189e935b
L
34202 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
34203
ced6f16e
L
34204 [BZ #14562]
34205 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
34206 new chunk size with MALLOC_ALIGN_MASK.
34207
a9f8e53a
JM
342082012-09-24 Joseph Myers <joseph@codesourcery.com>
34209
34210 [BZ #5044]
34211 * stdio-common/printf_fphex.c: Include <stdbool.h> and
34212 <rounding-mode.h>.
34213 (__printf_fphex): Determine rounding using get_rounding_mode and
34214 round_away.
34215 * stdio-common/tst-printf-round.c (struct hex_test): New
34216 structure.
34217 (hex_tests): New variable.
34218 (test_hex_in_one_mode): New function.
34219 (do_test): Also run tests for hex float output.
34220
43153109
JM
342212012-09-21 Joseph Myers <joseph@codesourcery.com>
34222
34223 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
34224 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
34225 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
34226 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
34227 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
34228 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
34229 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
34230 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
34231
8a26625d
JM
342322012-09-20 Joseph Myers <joseph@codesourcery.com>
34233
34234 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
34235 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
34236 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
34237 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
34238
f3fd569c
DL
342392012-09-19 Dmitry V. Levin <ldv@altlinux.org>
34240
34241 [BZ #14579]
34242 * elf/rtld.c (dl_main): Limit the check for self loading to normal
34243 mode only.
34244 * elf/tst-rtld-load-self.sh: New test.
34245 * elf/Makefile: Run it.
34246
63bbedd4
JM
342472012-09-18 Joseph Myers <joseph@codesourcery.com>
34248
34249 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
34250 (tst-writev-ENV): Remove.
34251 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
34252
626f8b6a
CM
342532012-09-17 Chris Metcalf <cmetcalf@tilera.com>
34254
34255 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
34256
b7aaa4d6
JM
342572012-09-17 Joseph Myers <joseph@codesourcery.com>
34258
34259 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
34260 unconditional.
34261 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
34262 Likewise.
34263 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
34264 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
34265 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
34266 Likewise.
34267
65513990
L
342682012-09-14 H.J. Lu <hongjiu.lu@intel.com>
34269
34270 [BZ #14587]
34271 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
34272 * config.make.in (have-cpp-asm-debuginfo): Removed.
34273 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
34274 * configure: Regenerated.
34275
784761be
JM
342762012-09-14 Joseph Myers <joseph@codesourcery.com>
34277
34278 [BZ #5044]
34279 * stdio-common/printf_fp.c: Include <stdbool.h> and
34280 <rounding-mode.h>.
34281 (___printf_fp): Determine rounding using get_rounding_mode and
34282 round_away.
34283 * stdio-common/tst-printf-round.c: New file.
34284 * stdio-common/Makefile (tests): Add tst-printf-round.
34285 (link-libm): New variable.
34286 ($(objpfx)tst-printf-round): Depend in $(link-libm).
34287
9503345f
L
342882012-09-13 H.J. Lu <hongjiu.lu@intel.com>
34289
34290 [BZ #14576]
34291 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
34292 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
34293 Likewise.
34294 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
34295 Likewise.
34296
ad35fc00
JM
342972012-09-13 Joseph Myers <joseph@codesourcery.com>
34298
34299 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
34300 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
34301 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
34302 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
34303
6c9b0f68
JM
343042012-09-12 Joseph Myers <joseph@codesourcery.com>
34305
34306 [BZ #14518]
34307 * include/rounding-mode.h: New file.
34308 * sysdeps/generic/get-rounding-mode.h: Likewise.
34309 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
34310 * stdlib/strtod_l.c: Include <rounding-mode.h>.
34311 (MAX_VALUE): New macro.
34312 (MIN_VALUE): Likewise.
34313 (overflow_value): New function.
34314 (underflow_value): Likewise.
34315 (round_and_return): Use overflow_value and underflow_value to
34316 determine return values in overflow and underflow cases. Use
34317 round_away to determine rounding depending on rounding mode.
34318 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
34319 determine return values in overflow and underflow cases.
34320 * stdlib/tst-strtod-round.c: Include <fenv.h>.
34321 (struct test_results): New structure.
34322 (struct test): Use struct test_results to store expected results
34323 for all rounding modes.
34324 (TEST): Include expected results for all rounding modes.
34325 (test_in_one_mode): New function.
34326 (do_test): Use test_in_one_mode to compute and check results.
34327 Check results for all rounding modes.
34328 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
34329 $(link-libm).
34330
19fcedd5
AM
343312012-12-09 Allan McRae <allan@archlinux.org>
34332
1e9d84cd 34333 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 34334
8bbfd2f1
JM
343352012-09-11 Joseph Myers <joseph@codesourcery.com>
34336
34337 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
34338 (_G_int32_t): Likewise.
34339 (_G_uint16_t): Likewise.
34340 (_G_uint32_t): Likewise.
34341 (_G_HAVE_BOOL): Likewise.
34342 (_G_HAVE_ATEXIT): Likewise.
34343 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
34344 (_G_HAVE_IO_FILE_OPEN): Likewise.
34345 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
34346 (_G_int32_t): Likewise.
34347 (_G_uint16_t): Likewise.
34348 (_G_uint32_t): Likewise.
34349 (_G_HAVE_BOOL): Likewise.
34350 (_G_HAVE_ATEXIT): Likewise.
34351 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
34352 (_G_HAVE_IO_FILE_OPEN): Likewise.
34353 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
34354 (_G_int32_t): Likewise.
34355 (_G_uint16_t): Likewise.
34356 (_G_uint32_t): Likewise.
34357 (_G_HAVE_BOOL): Likewise.
34358 (_G_HAVE_ATEXIT): Likewise.
34359 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
34360 (_G_HAVE_IO_FILE_OPEN): Likewise.
34361
b1dc5912
L
343622012-09-11 H.J. Lu <hongjiu.lu@intel.com>
34363
34364 * csu/libc-tls.c: Update copyright years.
34365
0e886ef9
JM
343662012-09-10 Joseph Myers <joseph@codesourcery.com>
34367
28361c5e
JM
34368 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
34369 [!_G_USING_THUNKS]: Remove conditional code.
34370 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
34371 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
34372
0e886ef9
JM
34373 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
34374 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
34375 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
34376 (_G_VTABLE_LABEL_PREFIX): Likewise.
34377 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
34378 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
34379 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
34380 (_G_VTABLE_LABEL_PREFIX): Likewise.
34381 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
34382 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
34383 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
34384 (_G_VTABLE_LABEL_PREFIX): Likewise.
34385 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
34386
bcba7aa2
L
343872012-09-10 H.J. Lu <hongjiu.lu@intel.com>
34388
34389 * libio/Makefile: Include ../Makeconfig before tests.
34390 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
34391 only if $(build-shared) is yes.
34392
06585ee8
L
34393 * iconv/gconv_db.c: Update copyright years.
34394
80ccd52c
LD
343952012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34396
34397 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
34398 unwind info if defined PIC. Fix special cases description.
34399 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
34400
34401 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
34402 DP_HI_MASK entry.
34403 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
34404
691bc9c1
L
344052012-09-07 H.J. Lu <hongjiu.lu@intel.com>
34406
3d9b46b3
L
34407 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
34408
de2139a9
L
34409 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
34410 is NULL.
34411
5ca78dd0
L
34412 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
34413 (LDLIBS-tst-chk4): This.
34414 (LDFLAGS-tst-chk5): Renamed to ...
34415 (LDLIBS-tst-chk5): This.
34416 (LDFLAGS-tst-chk6): Renamed to ...
34417 (LDLIBS-tst-chk6): This.
34418 (LDFLAGS-tst-lfschk4): Renamed to ...
34419 (LDLIBS-tst-lfschk4): This.
34420 (LDFLAGS-tst-lfschk5): Renamed to ...
34421 (LDLIBS-tst-lfschk5): This.
34422 (LDFLAGS-tst-lfschk6): Renamed to ...
34423 (LDLIBS-tst-lfschk6): This.
34424
691bc9c1
L
34425 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
34426 on $(common-objpfx)soversions.mk.
34427
65cafb1c
JM
344282012-09-07 Joseph Myers <joseph@codesourcery.com>
34429
34430 [BZ #10014]
34431 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
34432 example host name.
34433
c78ab094
SP
344342012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
34435
34436 * malloc/arena.c (arena_get_retry): New function that gets
34437 another arena for the caller to try its request on.
34438 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
34439 current arena cannot fulfill the request.
34440 (__libc_memalign): Likewise.
34441 (__libc_memalign): Likewise.
34442 (__libc_pvalloc): Likewise.
34443 (__libc_calloc): Likewise.
34444
01f49f59
JT
344452012-09-05 John Tobey <john.tobey@gmail.com>
34446
34447 [BZ #13542]
34448 * manual/arith.texi (Operations on Complex): Fix description
34449 of carg branch cut.
34450
4c23fed5
JM
344512012-09-06 Joseph Myers <joseph@codesourcery.com>
34452
1d3c8572
JM
34453 [BZ #10014]
34454 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
34455 host name.
34456
4c23fed5
JM
34457 [BZ #10038]
34458 * manual/memory.texi (Memory): Make order of menu items match
34459 order of sections.
34460
04570aaa
L
344612012-09-06 H.J. Lu <hongjiu.lu@intel.com>
34462
34463 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
34464 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
34465 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
34466
b80af2f4
L
344672012-09-06 H.J. Lu <hongjiu.lu@intel.com>
34468
34469 * csu/libc-tls.c (static_dtv): Renamed to ...
34470 (_dl_static_dtv): This. Make it global.
34471 (_dl_initial_dtv): Removed.
34472 (__libc_setup_tls): Updated.
34473 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
34474 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
34475 DL_INITIAL_DTV.
34476
2abe9f15
PM
344772012-09-06 Petr Machata <pmachata@redhat.com>
34478
34479 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
34480 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
34481 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
34482 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
34483
0948c3af
L
344842012-09-06 H.J. Lu <hongjiu.lu@intel.com>
34485
34486 [BZ #14545]
34487 * csu/libc-tls.c (_dl_initial_dtv): New variable.
34488 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
34489 freeing dtv[-1].
34490
a5055ad1
L
344912012-09-06 H.J. Lu <hongjiu.lu@intel.com>
34492
34493 [BZ #14544]
34494 * Makeconfig (link-static-before-libc): Replace $(+prector)
34495 with $(+prectorT).
34496 (link-static-after-libc): Replace $(+postctor) with
34497 $(+postctorT).
34498 (link-bounded): Replace $(+prector)/$(+postctor) with
34499 $(+prectorT)/$(+postctorT).
34500 (+prectorT): New macro.
34501 (+postctorT): Likewise.
34502
ed8c2ecd
JM
345032012-09-06 Joseph Myers <joseph@codesourcery.com>
34504
34505 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
34506 (round_str): Handle values above the maximum for IBM long double
34507 as inexact.
34508 * stdlib/tst-strtod-round.c (tests): Regenerated.
34509
14c996c8
AK
345102012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34511
34512 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
34513 assembler flag.
34514 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
34515 zarch_nohighgprs around the zarch optimized routines.
34516 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
34517 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
34518 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
34519 for zarch.
34520
430d6ce6
DM
345212012-09-05 David S. Miller <davem@davemloft.net>
34522
34523 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34524
57f41c40
AS
34525 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
34526 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
ff04dda4
DM
34527 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
34528 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
34529 entries.
34530
24d4e01b
AO
345312012-09-05 Alexandre Oliva <aoliva@redhat.com>
34532
34533 * malloc/arena.c: Fold copyright years.
34534 * malloc/mcheck.c, malloc/memusage.c: Likewise.
34535
61d58174
AO
345362012-09-05 Alexandre Oliva <aoliva@redhat.com>
34537
34538 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
34539
20196a5e
AO
345402012-09-05 Alexandre Oliva <aoliva@redhat.com>
34541
34542 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
34543
5c447383
AO
345442012-09-05 Alexandre Oliva <aoliva@redhat.com>
34545
34546 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
34547 change internal state upon failure.
34548
fad64255
AO
345492012-09-05 Alexandre Oliva <aoliva@redhat.com>
34550
34551 * malloc/mcheck.c (mcheck_check_all): Fix typo.
34552 * malloc/memusage.c (mmap): Likewise.
34553 (mmap64, mremap): Likewise. Adjust name in comment.
34554
1ffb8c90
SP
345552012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
34556
34557 * libio/fileops.c: Fix typos in comments.
34558 * libio/oldfileops.c: Likewise.
34559 * libio/wfileops.c: Likewise.
34560
6ef9cc37
SP
345612012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
34562
34563 [BZ #1349]
34564 * malloc/Makefile (tests): Add tst-malloc-usable test case.
34565 (tst-malloc-usable-ENV): Set environment for test case.
34566 * malloc/hooks.c (malloc_check_get_size): New function to get
34567 requested size.
34568 * malloc/malloc.c (musable): Use malloc_check_get_size.
34569 * malloc/tst-malloc-usable.c: New test case.
34570
4d038ae3
AS
345712012-09-05 Andreas Schwab <schwab@linux-m68k.org>
34572
34573 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
34574
c4e85184
AM
345752012-09-05 Allan McRae <allan@archlinux.org>
34576
b9dafc56 34577 [BZ #13966]
c4e85184
AM
34578 * configure.in (CXX_SYSINCLUDES): Use compiler output to
34579 determine header location.
34580 * configure: Regenerated.
34581
e1343020
AS
345822012-09-05 Andreas Schwab <schwab@linux-m68k.org>
34583
34584 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
34585 float format.
34586 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
34587 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
34588 format.
e1343020
AS
34589 (test): Regenerate.
34590
0a9f1987
DM
345912012-09-04 David S. Miller <davem@davemloft.net>
34592
34593 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
34594 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
34595 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
34596
29237804
FW
345972012-09-04 Florian Weimer <fweimer@redhat.com>
34598
34599 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
34600 failures.
34601
edb3cb88
FW
34602 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
34603
60160d83
JM
346042012-09-04 Joseph Myers <joseph@codesourcery.com>
34605
34606 [BZ #9914]
34607 * libio/iogetdelim.c: Include <limits.h>.
34608 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
34609 + len + 1 would overflow.
34610
bcd6c8dc
AJ
346112012-09-03 Andreas Jaeger <aj@suse.de>
34612
34613 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34614 * sysdeps/i386/fpu/libm-test-ulps: Update.
34615
4ffffbd2
LD
346162012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34617
34618 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
34619 Add s_sinf-sse2, s_conf-sse2.
34620
34621 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
34622 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
34623 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
34624 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
34625
34626 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
34627 for using routine as __sinf_ia32.
34628 Use macro for function declaration and weak_alias.
34629 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
34630 for using routine as __cosf_ia32.
34631 Use macro for function declaration and weak_alias.
34632
34633 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
34634 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
34635
34636 * sysdeps/x86_64/fpu/s_sinf.S: New file.
34637 * sysdeps/x86_64/fpu/s_cosf.S: New file.
34638 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34639
34640 * math/libm-test.inc (cos_test): Add more test cases.
34641 (sin_test): Likewise.
34642 (sincos_test): Likewise.
34643
511fa286
AK
346442012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34645
34646 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
34647 (IFUNC_RESOLVE): Make pointers to the specialized implementations
34648 hidden.
34649 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
34650
5f30cfec
L
346512012-09-02 H.J. Lu <hongjiu.lu@intel.com>
34652
34653 [BZ #14538]
34654 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
34655 first element of the GOT.
34656 (elf_machine_load_address): Return the difference between
34657 the runtime address of _DYNAMIC and elf_machine_dynamic ().
34658
0786794f
AM
346592012-09-01 Allan McRae <allan@archlinux.org>
34660
5f30cfec
L
34661 [BZ #13412]
34662 * configure.in (AWK): Require gawk version 3.0 or later.
34663 * configure: Regenerated.
0786794f 34664
26889eac
JM
346652012-09-01 Joseph Myers <joseph@codesourcery.com>
34666
34667 * sysdeps/unix/sysv/linux/kernel-features.h
34668 (__ASSUME_POSIX_CPU_TIMERS): Remove.
34669 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
34670 [__NR_clock_getres]: Make code unconditional.
34671 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
34672 (clock_getcpuclockid): Remove code left unreachable by removal of
34673 conditionals.
34674 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
34675 code unconditional.
34676 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
34677 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
34678 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
34679 Make code unconditional.
34680 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
34681 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
34682 * sysdeps/unix/sysv/linux/clock_settime.c
34683 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
34684 conditional code.
34685 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
34686 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
34687
d22e28b0
L
346882012-08-29 H.J. Lu <hongjiu.lu@intel.com>
34689
34690 [BZ #14476]
34691 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
34692 scripts/test-installation.pl.
34693
34694 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
34695 and $ld_so_version if it is set.
34696
050af9c4
SP
346972012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
34698
34699 [BZ #14516]
34700 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
34701 failure if reading from procfs failed.
34702 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
34703
ad845c0b
JM
347042012-08-27 Joseph Myers <joseph@codesourcery.com>
34705
34706 * sysdeps/unix/sysv/linux/kernel-features.h
34707 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
34708 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
34709 Remove conditional code.
34710 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
34711 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
34712 Remove conditional code.
34713 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
34714 * sysdeps/unix/sysv/linux/i386/fxstat.c
34715 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
34716 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
34717 * sysdeps/unix/sysv/linux/i386/fxstatat.c
34718 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
34719 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
34720 * sysdeps/unix/sysv/linux/i386/lxstat.c
34721 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
34722 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
34723 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
34724 Remove conditional code.
34725 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
34726 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
34727 Remove conditional code.
34728 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
34729 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
34730 <kernel-features.h>.
34731 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
34732 Remove.
34733 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
34734 Remove conditional code.
34735 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
34736 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
34737 Remove conditional.
34738
5dbf56af
MF
347392012-08-27 Mike Frysinger <vapier@gentoo.org>
34740
34741 [BZ #5400]
34742 * NEWS: Add fixed bug number.
34743
d6e70f43
JM
347442012-08-27 Joseph Myers <joseph@codesourcery.com>
34745
7efb4737
JM
34746 [BZ #14519]
34747 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
34748 underflowing exponent in case of negative sign.
34749 * stdlib/tst-strtod-round-data: Add more tests.
34750 * stdlib/tst-strtod-round.c (tests): Regenerated.
34751
af92131a
JM
34752 [BZ #3479]
34753 * stdlib/strtod_l.c (NDIG): Remove.
34754 (HEXNDIG): Likewise.
34755 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
34756 smallest representable value.
34757 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
34758 lie within an exact representation of 1/2 ulp of the result.
34759 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
34760 unconditionally.
34761 (TENS_P9_IDX): Define unconditionally.
34762 (TENS_P9_SIZE): Likewise.
34763 (TENS_P10_IDX): Likewise.
34764 (TENS_P10_SIZE): Likewise.
34765 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
34766 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
34767 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
34768 entries for 10^2^13 and 10^2^14.
34769 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
34770 (TENS_P13_IDX): Define.
34771 (TENS_P13_SIZE): Likewise.
34772 (TENS_P14_IDX): Likewise.
34773 (TENS_P14_SIZE): Likewise.
34774 (_fpioconst_pow10): Change array size to
34775 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
34776 unconditional.
34777 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
34778 1024]: Add entries for 10^2^13 and 10^2^14.
34779 [LAST_POW10 > _LAST_POW10]: Remove #error.
34780 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
34781 (_fpioconst_pow10): Change array size to
34782 FPIOCONST_POW10_ARRAY_SIZE.
34783 * stdlib/gen-fpioconst.c: New file.
34784 * stdlib/gen-tst-strtod-round.c: Likewise.
34785 * stdlib/tst-strtod-round-data: Likewise.
34786 * stdlib/tst-strtod-round.c: Likewise.
34787 * stdlib/Makefile (tests): Add tst-strtod-round.
34788
d6e70f43
JM
34789 [BZ #14459]
34790 * stdlib/strtod_l.c: Include <stdint.h>.
34791 (NDEBUG): Do not define.
34792 (round_and_return): Change EXPONENT parameter to type intmax_t.
34793 Rearrange calculations to avoid internal overflow possibilities.
34794 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
34795 Rearrange calculations to avoid internal overflow possibilities.
34796 Assert that number fits inside MPNSIZE limbs.
34797 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
34798 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
34799 calculations and add assertions to avoid internal overflow
34800 possibilities. Add casts to avoid signed/unsigned operations.
34801 * stdlib/tst-strtod-overflow.c: New file.
34802 * stdlib/Makefile (tests): Add tst-strtod-overflow.
34803
1f529f7d
MP
348042012-08-25 Marek Polacek <polacek@redhat.com>
34805
34806 * time/time.h: Fix some typos in comments.
34807
59a629f1
RM
348082012-08-23 Roland McGrath <roland@hack.frob.com>
34809
34810 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
34811 * posix/tst-rfc3484-2.c: Likewise.
34812 * posix/tst-rfc3484-3.c: Likewise.
34813
d3bafbc9
SM
348142012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
34815
34816 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
34817 (EF_ARM_ABI_FLOAT_HARD): Likewise.
34818
4efcc022
JM
348192012-08-23 Joseph Myers <joseph@codesourcery.com>
34820
34821 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
34822 #include of fxstatat64.c.
34823
3cc3ef96
RM
348242012-08-22 Roland McGrath <roland@hack.frob.com>
34825
f04e2132
RM
34826 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
34827 * shadow/getspent_r.c: Likewise.
34828 * shadow/getspnam.c: Likewise.
34829 * shadow/getspnam_r.c: Likewise.
34830 * gshadow/getsgent.c: Likewise.
34831 * gshadow/getsgent_r.c: Likewise.
34832 * gshadow/getsgnam.c: Likewise.
34833 * gshadow/getsgnam_r.c: Likewise.
34834 * inet/getnetbyad.c: Likewise.
34835 * inet/getnetbyad_r.c: Likewise.
34836 * inet/getnetbynm.c: Likewise.
34837 * inet/getnetbynm_r.c: Likewise.
34838 * inet/getnetent.c: Likewise.
34839 * inet/getnetent_r.c: Likewise.
34840 * inet/getproto.c: Likewise.
34841 * inet/getproto_r.c: Likewise.
34842 * inet/getprtent.c: Likewise.
34843 * inet/getprtent_r.c: Likewise.
34844 * inet/getprtname.c: Likewise.
34845 * inet/getprtname_r.c: Likewise.
34846 * inet/getrpcbyname.c: Likewise.
34847 * inet/getrpcbyname_r.c: Likewise.
34848 * inet/getrpcbynumber.c: Likewise.
34849 * inet/getrpcbynumber_r.c: Likewise.
34850 * inet/getrpcent.c: Likewise.
34851 * inet/getrpcent_r.c: Likewise.
34852 * inet/getaliasent.c: Likewise.
34853 * inet/getaliasent_r.c: Likewise.
34854 * inet/getaliasname.c: Likewise.
34855 * inet/getaliasname_r.c: Likewise.
34856 * nscd/getgrgid_r.c: Likewise.
34857 * nscd/getgrnam_r.c: Likewise.
34858 * nscd/gethstbyad_r.c: Likewise.
34859 * nscd/gethstbynm3_r.c: Likewise.
34860 * nscd/getpwnam_r.c: Likewise.
34861 * nscd/getpwuid_r.c: Likewise.
34862 * nscd/getsrvbynm_r.c: Likewise.
34863 * nscd/getsrvbypt_r.c: Likewise.
34864 * nscd/gai.c: Likewise.
34865
c53d909c
RM
34866 * configure.in (build_nscd): New substituted variable, set
34867 by --disable-build-nscd and defaults to $use_nscd.
34868 * configure: Regenerated.
34869 * config.make.in (build-nscd): New substituted variable.
34870 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
34871 Change conditional to require [$(build-nscd) = yes] as well.
34872 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
34873
3cc3ef96
RM
34874 [BZ# 13696]
34875 * configure.in (use_nscd): New substituted variable, set by
34876 --disable-nscd. If enabled, define USE_NSCD.
34877 * configure: Regenerated.
34878 * config.h.in: Add USE_NSCD.
34879 * config.make.in (use-nscd): New substituted variable.
34880 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
34881 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
34882 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
34883 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
34884 (CFLAGS-getgrnam_r.c): Likewise.
34885 (CFLAGS-initgroups.c): Likewise.
34886 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
34887 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
34888 Variables removed.
34889 * inet/getnetgrent_r.c
34890 (nscd_setnetgrent): New function, broken out of ...
34891 (setnetgrent): ... here. Call it.
34892 (innetgr): Conditionalize nscd bits on [USE_NSCD].
34893 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
34894 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
34895 * nscd/Makefile (routines, aux): Move definitions after include of
34896 Makeconfig. Conditionalize on [$(use-nscd) != no].
34897 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
34898 Conditionalize on [USE_NSCD].
34899 (is_nscd, nscd_init_cb): Likewise.
34900 (nss_load_library): Conditionalize init callback on [USE_NSCD].
34901 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
34902 * nss/nss_db/db-init.c: Likewise.
34903 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
34904 [USE_NSCD].
34905 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
34906 (make_request): Use it.
34907 (cache_valid_p): New function.
34908 (__check_pf): Use it.
34909 * NEWS: Add item for --disable-nscd.
34910
07e51550
DL
349112012-08-22 Dmitry V. Levin <ldv@altlinux.org>
34912
34913 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
34914 to support sed >= 4.2.1-20-ga9bf076.
34915 * configure: Regenerated.
34916
35a5b08b
RM
349172012-08-22 Roland McGrath <roland@hack.frob.com>
34918
34919 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
34920 Conditionalize whole body on [IREL].
34921
8479f23a
JL
349222012-08-22 Jeff Law <law@redhat.com>
34923
34924 [BZ #14505]
34925 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
34926 if the family is PF_UNSPEC.
34927
48da0b21
MF
349282012-08-22 Mike Frysinger <vapier@gentoo.org>
34929
34930 * Makerules (lib-version): Rename from V.
34931 (install-lib-nosubdir): Change V to lib-version.
34932
15d0da8c
WS
349332012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
34934
34935 [BZ #14252]
34936 * powerpc32/power6/wcschr.c: New file.
34937 * powerpc32/power6/wcscpy.c: New file.
34938 * powerpc32/power6/wcsrchr.c: New file.
34939 * powerpc64/power6/wcschr.c: New file.
34940 * powerpc64/power6/wcscpy.c: New file.
34941 * powerpc64/power6/wcsrchr.c: New file.
34942
bcca0895
MK
349432012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
34944
34945 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
34946 (two_way_short_needle): Use it.
5a4aaa33
RM
34947 * string/strstr.c (AVAILABLE1_USES_J): Define.
34948 * string/strcasestr.c: Likewise.
99677e57
MK
34949
34950 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
34951 array references.
34952 * string/strcasestr.c (TOLOWER): Make side-effect safe.
34953
400726de
MK
34954 [BZ #11607]
34955 * NEWS: Add an entry.
34956 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
34957 define their defaults.
34958 (two_way_short_needle): Detect end-of-string on-the-fly.
34959 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
34960 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
34961 * string/bug-strcasestr1.c: New test.
34962 * string/Makefile: Run it.
34963
20a71f2c
MK
349642012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
34965
34966 [BZ #11607]
34967 * string/str-two-way.h (two_way_short_needle): Optimize matching of
34968 the first character.
34969
21ad0558
RM
349702012-08-21 Roland McGrath <roland@hack.frob.com>
34971
34972 * csu/elf-init.c (__libc_csu_irel): Function removed.
34973 * csu/libc-start.c (apply_irel): New function.
34974 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
34975
0e1d9911
JM
349762012-08-21 Joseph Myers <joseph@codesourcery.com>
34977
34978 * sysdeps/unix/sysv/linux/kernel-features.h
34979 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
34980 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
34981 <kernel-features.h>.
34982 [__NR_fadvise64_64]: Make code unconditional.
34983 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
34984 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
34985 !__NR_fadvise64_64)]: Likewise.
34986 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
34987 !__NR_fadvise64_64))]: Likewise.
34988 [__NR_fadvise64]: Make code unconditional.
34989 [!__NR_fadvise64]: Remove conditional code.
34990 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
34991 <kernel-features.h>.
34992 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
34993 unconditional.
34994 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
34995 conditional code.
34996 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
34997 not include <kernel-features.h>.
34998 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
34999 unconditional.
35000 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
35001 conditional code.
35002 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
35003 include <kernel-features.h>.
35004 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
35005 unconditional.
35006 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
35007 conditional code.
35008
14a50c9d
WS
350092012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
35010
35011 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
35012 slight instruction rearrangements per scrollpipe analysis.
35013 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
35014
c0f4faf0
RM
350152012-08-20 Roland McGrath <roland@hack.frob.com>
35016
696da859
RM
35017 * manual/syslog.texi (syslog; vsyslog, closelog):
35018 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
35019 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
35020
c0f4faf0
RM
35021 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
35022 DSOCAPS to match condition on defining it.
35023
348363b2
JM
350242012-08-20 Joseph Myers <joseph@codesourcery.com>
35025
a35cbf28
JM
35026 * sysdeps/unix/sysv/linux/kernel-features.h
35027 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
35028 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
35029 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
35030 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
35031 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
35032 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
35033 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
35034 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
35035 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
35036 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
35037
445f7ecd
JM
35038 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
35039 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
35040
348363b2
JM
35041 * sysdeps/unix/sysv/linux/kernel-features.h
35042 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
35043 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
35044 unconditional.
35045 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
35046 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
35047 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
35048 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
35049 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
35050 Make code unconditional.
35051 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
35052 (__mmap64) [!__NR_mmap2]: Likewise.
35053 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
35054 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
35055 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
35056 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
35057 [__NR_mmap2]: Make code unconditional.
35058 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
35059 (__mmap64) [!__NR_mmap2]: Likewise.
35060
bc5bc0e5
AK
350612012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35062
35063 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
35064
88d506de
AJ
350652012-08-18 Andreas Jaeger <aj@suse.de>
35066
35067 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
35068
493387d2
MF
350692012-08-18 Mike Frysinger <vapier@gentoo.org>
35070
35071 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
35072 * include/unistd.h (__have_sock_cloexec): Likewise.
35073 (__have_pipe2): Likewise.
35074 (__have_dup3): Likewise.
35075
a277af22
MF
350762012-08-18 Mike Frysinger <vapier@gentoo.org>
35077
35078 [BZ #9685]
35079 * include/unistd.h (__have_pipe2): Change define into an extern int.
35080 (__have_dup3): Likewise.
35081 * socket/have_sock_cloexec.c: Include fcntl.h.
35082 (__have_pipe2): New variable.
35083 (__have_dup3): Likewise.
35084
fdab8fd3
MF
350852012-08-17 Mike Frysinger <vapier@gentoo.org>
35086
35087 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
35088
31035e80
MP
350892012-08-17 Marek Polacek <polacek@redhat.com>
35090
35091 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
35092 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
35093
3bd9e993
RM
350942012-08-17 Roland McGrath <roland@hack.frob.com>
35095
c91c505f
RM
35096 * configure.in: Add AC_SUBST for sysheaders.
35097 * configure: Regenerated.
35098 * config.make.in (sysheaders): New substituted variable.
35099
7c6f9d53
RM
35100 * sysdeps/unix/mkfifo.c: Moved ...
35101 * sysdeps/posix/mkfifo.c: ... here.
35102 * sysdeps/unix/mkfifoat.c: Moved ...
35103 * sysdeps/posix/mkfifoat.c: ... here.
35104
35105 * sysdeps/unix/utime.c: Moved ...
35106 * sysdeps/posix/utime.c: ... here.
35107
35108 * sysdeps/unix/time.c: Moved ...
35109 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
35110 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
35111 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
35112
35113 * sysdeps/unix/nice.c: Moved ...
35114 * sysdeps/posix/nice.c: ... here.
35115
35116 * sysdeps/unix/alarm.c: Moved ...
35117 * sysdeps/posix/alarm.c: ... here.
35118
3bd9e993
RM
35119 * intl/Makefile ($(codeset_mo)): Depend on the input file.
35120
d1f09384
JL
351212012-08-17 Jeff Law <law@redhat.com>
35122
35123 * intl/Makefile (codeset_mo): New variable.
35124 ($(codeset_mo)): New target.
35125 (tst-codeset.out): Depend on that. Remove explicit rule.
35126 (tst-gettext3.out, tst-gettext5.out): Likewise.
35127 (LOCPATH-ENV, tst-codeset-ENV): New variables.
35128 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
35129 * intl/tst-codeset.sh: Remove.
35130 * intl/tst-gettext3.sh: Likewise.
35131 * intl/tst-gettext5.sh: Likewise.
35132
2ae1ae5c
RM
351332012-08-17 Roland McGrath <roland@hack.frob.com>
35134
c31fdb83
RM
35135 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
35136 * sysdeps/unix/syscalls.list: ... here.
35137
a0844057
RM
35138 * sysdeps/posix/getaddrinfo.c
35139 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
35140 (gaiconf_init, gaiconf_reload): Use them.
35141 [!_STATBUF_ST_NSEC]
35142 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
35143 Define using time_t rather than struct timespec.
35144
750c1f2a
RM
35145 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
35146 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
35147 Macros removed.
35148 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
35149 [!NO_THREADS].
35150 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
35151 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
35152 Likewise.
35153
2ae1ae5c
RM
35154 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
35155 __libc_cleanup_push argument.
35156
e66a42f5
RM
35157 * bits/param.h: New file.
35158 * misc/sys/param.h: New file.
35159 * include/sys/param.h: New file.
35160 * misc/Makefile (headers): Add bits/param.h.
35161 * sysdeps/generic/sys/param.h: File removed.
35162 * sysdeps/unix/sysv/linux/bits/param.h: New file.
35163 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
35164 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 35165 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 35166
b7c08a66
RM
35167 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
35168 last change.
35169
b2e1c562
RM
35170 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
35171 [_IO_MTSAFE_IO].
35172 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
35173 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
35174 New macros.
35175
c75ccd4c
RM
35176 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
35177 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
35178 rather than -D_IO_MTSAFE_IO conditionally.
35179 * stdio-common/Makefile (CPPFLAGS): Likewise.
35180 * wcsmbs/Makefile (CPPFLAGS): Likewise.
35181 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
35182 Use $(libio-mtsafe).
35183 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
35184 of -D_IO_MTSAFE_IO.
35185 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
35186 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
35187 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
35188 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
35189 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
35190 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
35191 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
35192 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
35193 (CFLAGS-fread_u_chk.c): Likewise.
35194 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
35195 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
35196 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
35197 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
35198 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
35199 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
35200 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
35201 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
35202 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
35203
35204 * libio/Makefile: Test [$(libc-reentrant) = yes]
35205 instead of [$(filter %REENTRANT, $(defines)) nonempty].
35206
35207 * Makeconfig
35208 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
35209 * sysdeps/pthread/configure: File removed.
35210 * sysdeps/pthread/Makeconfig: New file.
35211 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
35212 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
35213
d9195db8
GB
352142012-08-16 Gary Benson <gbenson@redhat.com>
35215
35216 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
35217 unmapping the first object in a namespace.
35218
86466cd9
RM
352192012-08-16 Roland McGrath <roland@hack.frob.com>
35220
35221 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
35222 (__internal_setnetgrent): ... this. Add internal_function to
35223 definition. Add libc_hidden_def.
35224 (setnetgrent): Update caller.
35225 (internal_endnetgrent): Renamed to ...
35226 (__internal_endnetgrent): ... this. Add internal_function to
35227 definition. Add libc_hidden_def.
35228 (endnetgrent): Update caller.
35229 (internal_getnetgrent_r): Renamed to ...
35230 (__internal_getnetgrent_r): ... this. Add internal_function to
35231 definition. Add libc_hidden_def.
35232 (__getnetgrent_r): Update caller.
35233 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
35234
c3c8283c
JM
352352012-08-16 Joseph Myers <joseph@codesourcery.com>
35236
35237 * stdlib/longlong.h: Update from GCC.
35238
db1ee0a8
RM
352392012-08-16 Roland McGrath <roland@hack.frob.com>
35240
35241 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
35242 on _QL, which is set by umul_ppmm but never used.
35243 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
35244 variables, which are set by GMP macros but never used.
35245 * stdio-common/_itowa.c (_itowa): Likewise.
35246 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
35247 * stdlib/mod_1.c (mpn_mod_1): Likewise.
35248
30f69637
CD
352492012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
35250
35251 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
35252 struct La_sh_regs is not constant.
35253 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
35254 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
35255 and struct La_sparc64_regs are not constant.
35256
93a78ac4
JM
352572012-08-16 Joseph Myers <joseph@codesourcery.com>
35258
35259 * sysdeps/unix/sysv/linux/kernel-features.h
35260 (__ASSUME_POSIX_TIMERS): Remove.
35261 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
35262 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
35263 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
35264 Make code unconditional.
35265 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
35266 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
35267 Make code unconditional.
35268 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
35269 * sysdeps/unix/sysv/linux/clock_nanosleep.c
35270 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
35271 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
35272 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
35273 Make code unconditional.
35274 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
35275 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
35276 (__libc_missing_posix_timers): Remove.
35277
dd924cd7
RM
352782012-08-15 Roland McGrath <roland@hack.frob.com>
35279
4b4f2771
RM
35280 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
35281 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
35282
601c888b
RM
35283 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
35284
176790a7
RM
35285 * elf/dl-sym.c: Include <stdlib.h>.
35286
329bc018
RM
35287 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
35288 constants, which avoids warnings in 32-bit builds.
35289
e04e272d
RM
35290 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
35291 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
35292
952bf94a
RM
35293 * misc/lseek.c: File moved to ...
35294 * io/lseek.c: ... here.
35295
7c99b50a
RM
35296 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
35297
dd924cd7
RM
35298 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
35299 shifting LEN more than 31 bits at once.
35300
b3f479a8
LD
353012012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35302
35303 [BZ #14195]
8c4ae0d4
RM
35304 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
35305 segmentation fault for a case of two empty input strings.
b3f479a8
LD
35306 * string/test-strncasecmp.c (check1): Renamed to...
35307 (bz12205): ...this.
35308 (bz14195): Add new testcase for two empty input strings and N > 0.
35309 (test_main): Call new testcase, adapt for renamed function.
35310
9c55864e
AJ
353112012-08-15 Andreas Jaeger <aj@suse.de>
35312
35313 [BZ #14090]
35314 * crypt/md5test2.c: New test, based on test supplied by Serge
35315 Belyshev <belyshev@depni.sinp.msu.ru>.
35316 * crypt/Makefile (xtests): Add md5test-giant..
35317 * crypt/Makefile ($(objpfx)md5test-giant): Add.
35318
02dcb6c5
PE
353192012-08-15 Paul Eggert <eggert@cs.ucla.edu>
35320
35321 [BZ #14090]
35322 * crypt/md5.c (md5_process_block): Don't assume the buffer
35323 length is less than 2**32.
35324 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
35325 length is less than 2**64.
35326
a3f95dcc
RM
353272012-08-15 Roland McGrath <roland@hack.frob.com>
35328
be75d758
RM
35329 * string/str-two-way.h: Include <sys/param.h>.
35330 (MAX): Macro removed.
35331
7312ca90
RM
35332 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
35333 Move #define and #undef of memmove to just before and after
35334 including <string.h>.
35335
9a0a5486
RM
35336 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
35337 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
35338 and after including <string.h>. Move declarations of
35339 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
35340 to before #include "string/memmove.c".
35341
67cc348d
RM
35342 * include/dirent.h: Declare __getdirentries.
35343
a3f95dcc
RM
35344 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
35345 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
35346
ca98e171
MF
353472012-08-14 Mike Frysinger <vapier@gentoo.org>
35348
35349 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
35350 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
35351 * sysdeps/i386/configure: Regenerated.
35352 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
35353 STABS_CURRENT_FILE, and STABS_FUN.
35354 (END): Remove call to STABS_FUN_END.
35355 (STABS_CURRENT_FILE1): Delete.
35356 (STABS_CURRENT_FILE): Likewise.
35357 (STABS_FUN): Likewise.
35358 (STABS_FUN_END): Likewise.
35359 (STABS_FUN2): Likewise.
35360 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
35361 * sysdeps/x86_64/configure: Regenerated.
35362
5908bf46
RM
353632012-08-14 Roland McGrath <roland@hack.frob.com>
35364
35365 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 35366 * elf/dl-lookup.c: Likewise.
5908bf46 35367
f2c05b9e
JM
353682012-08-14 Joseph Myers <joseph@codesourcery.com>
35369
35370 * sysdeps/unix/sysv/linux/kernel-features.h
35371 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
35372 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
35373 unconditionally.
35374 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
35375 unconditionally.
35376 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
35377 condition on __ASSUME_CLONE_THREAD_FLAGS.
35378
e11f5155
AJ
353792012-08-14 Andreas Jaeger <aj@suse.de>
35380
35381 * sysdeps/i386/fpu/libm-test-ulps: Update.
35382
51a9ba86
MK
353832012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
35384
2fdd4f78
AJ
35385 * include/atomic.h (atomic_exchange_and_add): Split into ...
35386 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
35387 New atomic macros.
51a9ba86 35388
ba6cba9e
MT
353892012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
35390
35391 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35392
42443a47
JL
353932012-08-13 Jeff Law <law@redhat.com>
35394
35395 * manual/stdio.texi (snprintf): Clarify handling of the trailing
35396 null byte in the output string.
35397
121dce05
JM
353982012-08-10 Joseph Myers <joseph@codesourcery.com>
35399
35400 * sysdeps/unix/sysv/linux/kernel-features.h
35401 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
35402 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
35403 (__ASSUME_ARG_MAX_STACK_BASED): Define.
35404 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
35405 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
35406 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
35407 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
35408
bf51f568
JL
354092012-08-09 Jeff Law <law@redhat.com>
35410
35411 [BZ #13939]
35412 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
35413 When avoid_arena is set, don't retry in the that arena. Pick the
35414 next one, whatever it might be.
35415 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
35416 (arena_lock): Pass in new parameter to arena_get2.
35417 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
35418 arena_get2.
35419 (__libc_malloc): Unify retrying after main arena failure with
35420 __libc_memalign version.
35421 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
35422
f85fa270
L
354232012-08-09 H.J. Lu <hongjiu.lu@intel.com>
35424
35425 [BZ #14166]
35426 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
35427 to __redirect_strstr.
35428 (__strstr_sse42): Use typeof __redirect_strstr.
35429 (__strstr_ia32): Likewise.
35430 (__libc_strstr): New prototype.
35431 (strstr): Renamed to ...
35432 (__libc_strstr): This.
35433 (strstr): New strong alias of __libc_strstr.
35434 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
35435 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
35436 __redirect_time.
35437 Include <time.h>.
35438 (__libc_time): New prototype.
35439 (time_ifunc): Replace time with __libc_time.
35440 (time): New strong alias and hidden definition of __libc_time.
35441 (__GI_time): Remove strong alias.
35442 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
35443 Include <stddef.h>.
35444 (memmove): Redefined to __redirect_memmove.
35445 (__memmove_sse2): Use typeof __redirect_memmove.
35446 (__memmove_ssse3): Likewise.
35447 (__memmove_ssse3_back): Likewise.
35448 (__libc_memmove): New prototype.
35449 (memmove): Renamed to ...
35450 (__libc_memmove): This.
35451 (memmove): New strong alias of __libc_memmove.
35452
33b4a91e
MS
354532012-08-08 Mark Salter <msalter@redhat.com>
35454
35455 * elf/elf.h
35456 (R_MN10300_TLS_GD): Define.
35457 (R_MN10300_TLS_LD): Likewise.
35458 (R_MN10300_TLS_LDO): Likewise.
35459 (R_MN10300_TLS_GOTIE): Likewise.
35460 (R_MN10300_TLS_IE): Likewise.
35461 (R_MN10300_TLS_LE): Likewise.
35462 (R_MN10300_TLS_DTPMOD): Likewise.
35463 (R_MN10300_TLS_DTPOFF): Likewise.
35464 (R_MN10300_TLS_TPOFF): Likewise.
35465 (R_MN10300_SYM_DIFF): Likewise.
35466 (R_MN10300_ALIGN): Likewise.
35467 (R_MN10300_NUM): Update.
35468
b36137f1
JM
354692012-08-08 Joseph Myers <joseph@codesourcery.com>
35470
35471 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
35472 Remove.
35473
cdd915fd
RM
354742012-08-08 Roland McGrath <roland@hack.frob.com>
35475
a2433aac
RM
35476 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
35477
cdd915fd
RM
35478 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
35479 sysdeps/unix -> sysdeps/posix move.
35480 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
35481
bf9b740a
AM
354822012-08-07 Allan McRae <allan@archlinux.org>
35483
35484 [BZ #14303]
35485 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
35486 (SUNOS_CPP): Likewise.
35487 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
35488 not found.
35489 (open_input): Call CPP using execvp.
35490
93df14ee
JM
354912012-08-07 Joseph Myers <joseph@codesourcery.com>
35492
35493 * sysdeps/unix/sysv/linux/kernel-features.h
35494 (__ASSUME_PROT_GROWSUPDOWN): Remove.
35495 (__ASSUME_NO_CLONE_DETACHED): Likewise.
35496 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
35497 (__ASSUME_WAITID_SYSCALL): Likewise.
35498 * sysdeps/unix/sysv/linux/dl-execstack.c
35499 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
35500 code unconditional.
35501 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
35502 conditional code.
35503 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
35504 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
35505 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
35506 code.
35507 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
35508 unconditional.
35509 [__ASSUME_WAITID_SYSCALL]: Likewise.
35510 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
35511
d34689de
RM
355122012-08-07 Roland McGrath <roland@hack.frob.com>
35513
a281decc
RM
35514 * sysdeps/unix/closedir.c: Renamed to ...
35515 * sysdeps/posix/closedir.c: ... here.
35516 * sysdeps/unix/dirfd.c: Renamed to ...
35517 * sysdeps/posix/dirfd.c: ... here.
35518 * sysdeps/unix/dirstream.h: Renamed to ...
35519 * sysdeps/posix/dirstream.h: ... here.
35520 * sysdeps/unix/fdopendir.c: Renamed to ...
35521 * sysdeps/posix/fdopendir.c: ... here.
35522 * sysdeps/unix/opendir.c: Renamed to ...
35523 * sysdeps/posix/opendir.c: ... here.
35524 * sysdeps/unix/readdir.c: Renamed to ...
35525 * sysdeps/posix/readdir.c: ... here.
35526 * sysdeps/unix/readdir_r.c: Renamed to ...
35527 * sysdeps/posix/readdir_r.c: ... here.
35528 * sysdeps/unix/rewinddir.c: Renamed to ...
35529 * sysdeps/posix/rewinddir.c: ... here.
35530 * sysdeps/unix/seekdir.c: Renamed to ...
35531 * sysdeps/posix/seekdir.c: ... here.
35532 * sysdeps/unix/telldir.c: Renamed to ...
35533 * sysdeps/posix/telldir.c: ... here.
35534 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
35535 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
35536 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
35537 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
35538
22895b47
RM
35539 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
35540 * bits/fcntl.h: ... here.
35541
707a53b6
RM
35542 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
35543 not 0.
35544 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
35545 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
35546 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
35547 (struct flock): Move l_start, l_len to the beginning.
35548 Use __pid_t for l_pid.
35549 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
35550 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
35551 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
35552 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
35553 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
35554 [__USE_LARGEFILE64] (struct flock64): New type.
35555 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
35556
f0bd3e25
RM
35557 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
35558 * bits/dirent.h: ... here.
35559
d34689de
RM
35560 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
35561 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
35562
6dad2c06
JM
355632012-08-07 Joseph Myers <joseph@codesourcery.com>
35564
35565 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
35566 Change from 2.6.0 to 2.6.16.
35567 * sysdeps/unix/sysv/linux/configure: Regenerated.
35568 * sysdeps/unix/sysv/linux/kernel-features.h
35569 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
35570 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
35571 version.
35572 (__ASSUME_UTIMES): Likewise.
35573 (__ASSUME_CLONE_STOPPED): Remove.
35574 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
35575 architectures, not kernel version.
35576 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
35577 (__ASSUME_NO_CLONE_DETACHED): Likewise.
35578 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
35579 (__ASSUME_WAITID_SYSCALL): Likewise.
35580 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
35581 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
35582 * README: State 2.6.16 as minimum Linux kernel version. Do not
35583 refer to older versions.
35584
03af9520
RM
355852012-08-06 Roland McGrath <roland@hack.frob.com>
35586
8e49df1d
RM
35587 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
35588 Define alphasort64 as an alias.
35589 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
35590 Define versionsort64 as an alias.
35591 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
35592 Define scandir64 as an alias.
35593 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
35594 Define scandirat64 as an alias.
35595 * dirent/alphasort64.c (alphasort64):
35596 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
35597 * dirent/versionsort64.c: Likewise.
35598 * dirent/scandir64.c: Likewise.
35599 * dirent/scandirat64.c: Likewise.
35600 * sysdeps/wordsize-64/alphasort.c: File removed.
35601 * sysdeps/wordsize-64/alphasort64.c: File removed.
35602 * sysdeps/wordsize-64/scandir.c: File removed.
35603 * sysdeps/wordsize-64/scandir64.c: File removed.
35604 * sysdeps/wordsize-64/scandirat.c: File removed.
35605 * sysdeps/wordsize-64/scandirat64.c: File removed.
35606 * sysdeps/wordsize-64/versionsort.c: File removed.
35607 * sysdeps/wordsize-64/versionsort64.c: File removed.
35608 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
35609 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
35610 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
35611 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
35612 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
35613 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
35614 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
35615 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
35616
35617 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
35618 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
35619 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
35620 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
35621 [defined __arch64__ || defined __sparcv9]
35622 (__INO_T_MATCHES_INO64_T): New macro.
35623 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
35624 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
35625 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
35626 * sysdeps/unix/sysv/linux/bits/dirent.h
35627 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
35628 (_DIRENT_MATCHES_DIRENT64): New macro.
35629
03af9520
RM
35630 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
35631 Define lockf64 as an alias.
35632 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
35633 Define fseeko64 as an alias.
35634 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
35635 Define ftello64 as an alias.
35636 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
35637 Define _IO_fgetpos64 and fgetpos64 as aliases.
35638 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
35639 Define _IO_fsetpos64 and fsetpos64 as aliases.
35640 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
35641 Conditionalize body on this.
35642 * libio/fseeko64.c: Likewise.
35643 * libio/ftello64.c: Likewise.
35644 * libio/iofgetpos64.c: Likewise.
35645 * libio/iofsetpos64.c: Likewise.
35646 * sysdeps/wordsize-64/lockf.c: File removed.
35647 * sysdeps/wordsize-64/lockf64.c: File removed.
35648 * sysdeps/wordsize-64/fseeko.c: File removed.
35649 * sysdeps/wordsize-64/fseeko64.c: File removed.
35650 * sysdeps/wordsize-64/ftello.c: File removed.
35651 * sysdeps/wordsize-64/ftello64.c: File removed.
35652 * sysdeps/wordsize-64/iofgetpos.c: File removed.
35653 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
35654 * sysdeps/wordsize-64/iofsetpos.c: File removed.
35655 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
35656 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
35657 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
35658 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
35659 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
35660 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
35661 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
35662 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
35663 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
35664 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
35665 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
35666
35667 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
35668 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
35669 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
35670 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
35671 [defined __arch64__ || defined __sparcv9]
35672 (__OFF_T_MATCHES_OFF64_T): New macro.
35673 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
35674 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
35675 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
35676 (__OFF_T_MATCHES_OFF64_T): New macro.
35677
c5757acd
L
356782012-08-06 H.J. Lu <hongjiu.lu@intel.com>
35679
35680 * stdlib/secure-getenv.c (__secure_getenv): Replace
35681 GLIBC_2_16 with GLIBC_2_17.
35682
3a31811e
L
356832012-08-06 H.J. Lu <hongjiu.lu@intel.com>
35684
35685 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
35686 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
35687
faa2bccb
DM
356882012-08-03 David S. Miller <davem@davemloft.net>
35689
35690 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35691
85fe1997
JM
356922012-08-03 Joseph Myers <joseph@codesourcery.com>
35693
35694 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
35695 Remove.
35696 (__ASSUME_CORRECT_SI_PID): Likewise.
35697 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
35698 (__ASSUME_TMPFS_NAME): Likewise.
35699 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
35700 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
35701 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
35702 (HAVE_AUX_SECURE): Make definition unconditional.
35703 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
35704 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
35705
4f75b7a0
RM
357062012-08-03 Roland McGrath <roland@hack.frob.com>
35707
35708 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
35709 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
35710 * sysdeps/mach/hurd/eloop-threshold.h: New file.
35711 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
35712 __eloop_threshold instead of SYMLOOP_MAX.
35713
35714 * sysdeps/generic/eloop-threshold.h: New file.
35715 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
35716 of MAXSYMLINKS.
35717 * elf/chroot_canon.c (chroot_canon): Likewise.
35718
7aab07e4
JM
357192012-08-03 Joseph Myers <joseph@codesourcery.com>
35720
35721 [BZ #13717]
35722 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
35723 Change to 2.6.0 everywhere.
35724 * sysdeps/unix/sysv/linux/configure: Regenerated.
35725 * sysdeps/unix/sysv/linux/kernel-features.h
35726 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
35727 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
35728 kernel versions.
35729 (__ASSUME_POSIX_TIMERS): Define unconditionally.
35730 (__ASSUME_FUTEX_REQUEUE): Remove.
35731 (__ASSUME_STATFS64): Define unconditionally.
35732 (__ASSUME_AT_SECURE): Likewise.
35733 (__ASSUME_CORRECT_SI_PID): Likewise.
35734 (__ASSUME_TGKILL): Define without depending on kernel version for
35735 i386.
35736 (__ASSUME_UTIMES): Likewise.
35737 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
35738 kernel version.
35739 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
35740 (__ASSUME_TMPFS_NAME): Likewise.
35741 * README: Update reference to Linux kernel versions.
35742
b67e9372
MP
357432012-08-02 Marek Polacek <polacek@redhat.com>
35744
1f529f7d 35745 [BZ# 14150]
b67e9372
MP
35746 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
35747 libc_cv_asm_type_prefix with %.
35748 * configure: Regenerated.
d2441631
RM
35749 * include/libc-symbols.h: Remove comment about
35750 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
35751 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
35752 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
35753 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
35754 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
35755 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
35756 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
35757 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
35758 * elf/tst-unique2mod1.c: Likewise.
35759 * elf/tst-unique1mod2.c: Likewise.
35760 * elf/tst-unique1mod1.c: Likewise.
35761 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
35762 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
35763 Replace ASM_TYPE_DIRECTIVE with .type.
35764 * sysdeps/s390/s390-64/sysdep.h: Likewise.
35765 * sysdeps/i386/sysdep.h: Likewise.
35766 * sysdeps/x86_64/sysdep.h: Likewise.
35767 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
35768 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
35769 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 35770 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
35771 * sysdeps/powerpc/powerpc32/sysdep.h:
35772 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
35773 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
35774 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
35775 * sysdeps/i386/fpu/e_powf.S: Likewise.
35776 * sysdeps/i386/fpu/e_expl.S: Likewise.
35777 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
35778 * sysdeps/i386/fpu/e_acosh.S: Likewise.
35779 * sysdeps/i386/fpu/e_pow.S: Likewise.
35780 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
35781 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
35782 * sysdeps/i386/fpu/s_expm1.S: Likewise.
35783 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
35784 * sysdeps/i386/fpu/e_log2.S: Likewise.
35785 * sysdeps/i386/fpu/e_log2l.S: Likewise.
35786 * sysdeps/i386/fpu/e_scalb.S: Likewise.
35787 * sysdeps/i386/fpu/e_powl.S: Likewise.
35788 * sysdeps/i386/fpu/e_log10f.S: Likewise.
35789 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
35790 * sysdeps/i386/fpu/e_logl.S: Likewise.
35791 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
35792 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
35793 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
35794 * sysdeps/i386/fpu/e_log2f.S: Likewise.
35795 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
35796 * sysdeps/i386/fpu/e_log.S: Likewise.
35797 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
35798 * sysdeps/i386/fpu/e_logf.S: Likewise.
35799 * sysdeps/i386/fpu/e_log10l.S: Likewise.
35800 * sysdeps/i386/fpu/e_atanh.S: Likewise.
35801 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
35802 * sysdeps/i386/fpu/e_log10.S: Likewise.
35803 * sysdeps/i386/fpu/s_frexp.S: Likewise.
35804 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
35805 * sysdeps/i386/fpu/s_asinh.S: Likewise.
35806 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
35807 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
35808 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
35809 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
35810 * sysdeps/i386/i686/strtok.S: Likewise.
35811 * sysdeps/i386/i386-mcount.S: Likewise.
35812 * sysdeps/i386/strtok.S: Likewise.
35813 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
35814 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
35815 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
35816 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
35817 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
35818 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
35819 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
35820 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
35821 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
35822 * sysdeps/x86_64/_mcount.S: Likewise.
35823 * sysdeps/x86_64/strtok.S: Likewise.
35824 * sysdeps/sh/_mcount.S: Likewise.
35825
2747bf9a
RM
358262012-08-01 Roland McGrath <roland@hack.frob.com>
35827
35828 * libio/iofopen.c: Include <fcntl.h>.
35829 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
35830 (_IO_fopen64, fopen64): Define as aliases.
35831 * libio/iofopen64.c: Include <fcntl.h>.
35832 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
35833 Conditionalize body on this.
35834 * sysdeps/wordsize-64/iofopen.c: File removed.
35835 * sysdeps/wordsize-64/iofopen64.c: File removed.
35836
3fb791b8
MP
358372012-08-01 Marek Polacek <polacek@redhat.com>
35838
35839 * libc/Makeconfig: Use elf in place of binfmt-subdir.
35840 Use dlfcn directly instead of a variable.
35841 (binfmt-subdir): Do not define.
35842 (dlfcn): Likewise.
35843
a9f1039f
JM
358442012-08-01 Joseph Myers <joseph@codesourcery.com>
35845
23bddc06
JM
35846 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
35847 Remove all definitions.
35848 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
35849 <kernel-features.h>.
35850 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
35851 (miss_F_GETOWN_EX): Remove all definitions.
35852 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
35853 macro definition.
35854 [!__ASSUME_FCNTL64]: Remove conditional code.
35855 [__ASSUME_FCNTL64]: Make code unconditional.
35856 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
35857 <kernel-features.h>.
35858 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
35859 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
35860 (lockf64) [__NR_fcntl64]: Make code unconditional.
35861 (lockf64) [__ASSUME_FCNTL64]: Likewise.
35862
a9f1039f
JM
35863 * sysdeps/unix/sysv/linux/kernel-features.h
35864 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
35865 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
35866 Make code unconditional.
35867 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
35868 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
35869 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
35870 [__NR_vfork]: Make code unconditional.
35871 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
35872 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
35873 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
35874 [__NR_vfork]: Make code unconditional.
35875 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
35876 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
35877
09c0ee5f
RM
358782012-08-01 Roland McGrath <roland@hack.frob.com>
35879
48aec5b9
RM
35880 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
35881 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
35882
cd97c966
RM
35883 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
35884 Define mkstemp64 as an alias.
3f55550c
RM
35885 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
35886 Define mkstemps64 as an alias.
cd97c966
RM
35887 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
35888 Define mkostemp64 as an alias.
b8625cfc
RM
35889 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
35890 Define mkostemps64 as an alias.
cd97c966
RM
35891 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
35892 Conditionalize body on this.
35893 * misc/mkostemp64.c: Likewise.
b8625cfc 35894 * misc/mkostemps64.c: Likewise.
3f55550c 35895 * misc/mkstemps64.c: Likewise.
cd97c966
RM
35896 * sysdeps/wordsize-64/mkstemp64.c: File removed.
35897 * sysdeps/wordsize-64/mkostemp64.c: File removed.
35898 * sysdeps/wordsize-64/mkostemp.c: File removed.
35899 * sysdeps/wordsize-64/mkstemp.c: File removed.
35900 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
35901 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
35902 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
35903 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
35904
09c0ee5f
RM
35905 [BZ #14138]
35906 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
35907 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
35908 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
35909 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
35910
35911 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
35912 compat_symbol macros from <shlib-compat.h> rather than the underlying
35913 default_symbol_version and symbol_version macros, so that DEFAULT
35914 lines in shlib-versions are respected.
35915 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
35916
7e66ee51
FW
359172012-08-01 Florian Weimer <fweimer@redhat.com>
35918
35919 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
35920 Declare with warn_unused_result.
35921 (setgid, setregid, setegid, setresgid): Likewise.
35922 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
35923 Likewise.
35924 * WUR-REPORT: Remove set*id functions.
35925
d2a54255
PT
359262012-07-31 Pino Toscano <toscano.pino@tiscali.it>
35927
35928 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
35929
7ecdb005
RM
359302012-07-31 Roland McGrath <roland@hack.frob.com>
35931
b4180a5e 35932 [BZ #10191]
789bd351
RM
35933 * include/sys/socket.h (__libc_accept, __libc_accept4):
35934 Add attribute_hidden.
35935 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
35936
40ce302d
RM
35937 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
35938 use of PTR_MANGLE.
35939 * inet/getnetgrent_r.c (setup): Likewise.
35940
7ecdb005
RM
35941 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
35942
e2eabb2c
DM
359432012-07-31 David S. Miller <davem@davemloft.net>
35944
35945 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35946
d0419dbf
JM
359472012-07-31 Joseph Myers <joseph@codesourcery.com>
35948
35949 [BZ #13629]
35950 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
35951 value between 1.0 and 2.0 and smaller part has absolute value less
35952 than 1.0.
35953 * math/s_clog10.c (__clog10): Likewise.
35954 * math/s_clog10f.c (__clog10f): Likewise.
35955 * math/s_clog10l.c (__clog10l): Likewise.
35956 * math/s_clogf.c (__clogf): Likewise.
35957 * math/s_clogl.c (__clogl): Likewise.
35958 * math/libm-test.inc (clog_test): Add more tests.
35959 (clog10_test): Likewise.
35960 * sysdeps/i386/fpu/libm-test-ulps: Update.
35961 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35962
2bc13872
FW
359632012-07-31 Florian Weimer <fweimer@redhat.com>
35964
35965 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
35966 Exit with zero in case no suitable GID is found, and write a
35967 message to standard error.
35968
bea9b193
RM
359692012-07-30 Roland McGrath <roland@hack.frob.com>
35970
35971 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
35972 rather than to 1.
35973 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
35974 (MAXPATHLEN): Removed.
35975 (NOGROUP, NODEV): New macros.
35976 (setbit, clrbit, isset, isclr): New macros.
35977 (howmany, roundup, powerof2): New macros.
35978 (DEV_BSIZE): New macro.
35979
35980 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
35981 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
35982
35983 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
35984 definition on [!__NO_LONG_DOUBLE_MATH].
35985
35986 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
35987 PTR_MANGLE and PTR_DEMANGLE.
35988
35989 * socket/accept4.c (accept4): Rename to __libc_accept4.
35990 Define accept4 as a weak alias.
35991
35992 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
35993 on [_DIRENT_HAVE_D_TYPE].
35994 * io/ftw.c (ftw_dir): Likewise.
35995
35996 * io/xmknod.c (__xmknod): Don't check PATH for being null.
35997
35998 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
35999
36000 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
36001 Use the BSD numbers rather than the arbitrary ones we had.
36002 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
36003 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
36004 (SIGXCPU, SIGXFSZ): New macros.
36005 (_NSIG): Now 32.
36006
36007 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
36008 initializer on [_LIBC_REENTRANT].
36009
36010 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
36011 definitions inside [_POSIX_MAPPED_FILES].
36012
36013 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
36014
36015 * dirent/opendir.c: Include <fcntl.h>.
36016
36017 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
36018 (__libc_getspecific): Likewise.
36019 (__libc_key_create): Likewise.
36020
36021 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
36022 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
36023 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
36024 (tmpfile64): Define as alias.
36025 * sysdeps/wordsize-64/tmpfile.c: File removed.
36026 * sysdeps/wordsize-64/tmpfile64.c: File removed.
36027 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
36028 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
36029
36030 * stdio-common/vfscanf.c: Include <stdbool.h>.
36031 * nss/makedb.c: Likewise.
36032 * stdio-common/_i18n_number.h: Likewise.
36033 * argp/argp-help.c: Likewise.
36034 * posix/wordexp.c: Likewise.
36035 * sysdeps/posix/spawni.c: Likewise.
36036 * nss/nss_files/files-initgroups.c: Likewise.
36037 * stdio-common/reg-modifier.c: Include <stdlib.h>.
36038 * nss/nss_files/files-initgroups.c: Likewise.
36039 * nss/nss_db/db-netgrp.c: Likewise.
36040 * nss/nss_db/db-initgroups.c: Likewise.
36041 * io/fchmodat.c: Include <sys/stat.h>.
36042
36043 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
36044 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
36045
36046 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
36047 [HAVE_MMAP].
36048
36049 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
36050 Add multiple inclusion protection.
36051
e5abc686
DM
360522012-07-27 David S. Miller <davem@davemloft.net>
36053
36054 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36055
815e6fa3
GB
360562012-07-27 Gary Benson <gbenson@redhat.com>
36057
36058 [BZ #14298]
36059 * elf/rtld.c: Include <stap-probe.h>.
36060 (dl_main): Added static probes "init_start" and "init_complete".
36061 * elf/dl-load.c: Include <stap-probe.h>.
36062 (lose): Take new parameter "nsid".
36063 Added static probe "map_failed".
36064 (_dl_map_object_from_fd): Pass namespace id to lose.
36065 Added static probe "map_start".
36066 (open_verify): Pass namespace id to lose.
36067 * elf/dl-open.c: Include <stap-probe.h>.
36068 (dl_open_worker) Added static probes "map_complete", "reloc_start"
36069 and "reloc_complete".
36070 * elf/dl-close.c: Include <stap-probe.h>.
36071 (_dl_close_worker): Added static probes "unmap_start" and
36072 "unmap_complete".
36073 * elf/rtld-debugger-interface.txt: New file documenting the above.
36074
9f98c16c
RM
360752012-07-26 Roland McGrath <roland@hack.frob.com>
36076
36077 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
36078 rather than a string variable.
36079 * sunrpc/rpc_main.c (h_output): Likewise.
36080 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
36081
f3c22df3
PT
360822012-07-26 Pino Toscano <toscano.pino@tiscali.it>
36083
36084 * inet/check_native.c: New file.
36085
3129cfc6
JM
360862012-07-26 Joseph Myers <joseph@codesourcery.com>
36087
da865e95
JM
36088 [BZ #13629]
36089 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
36090 if larger part has absolute value 1.0.
36091 * math/s_clog10.c (__clog10): Likewise.
36092 * math/s_clog10f.c (__clog10f): Likewise.
36093 * math/s_clog10l.c (__clog10l): Likewise.
36094 * math/s_clogf.c (__clogf): Likewise.
36095 * math/s_clogl.c (__clogl): Likewise.
36096 * math/libm-test.inc (clog_test): Add more tests.
36097 (clog10_test): Likewise.
36098 * sysdeps/i386/fpu/libm-test-ulps: Update.
36099 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36100
3129cfc6
JM
36101 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
36102 (pltexit): Likewise.
36103 (La_regs): Likewise.
36104 (La_retval): Likewise.
36105 (int_retval): Likewise.
36106 Update #error for removed macros to refer only to definitions in
36107 tst-audit.h.
36108 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
36109 macro.
36110 (pltexit): Likewise.
36111 (La_regs): Likewise.
36112 (La_retval): Likewise.
36113 (int_retval): Likewise.
36114 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
36115 macro.
36116 (pltexit): Likewise.
36117 (La_regs): Likewise.
36118 (La_retval): Likewise.
36119 (int_retval): Likewise.
36120 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
36121 macro.
36122 (pltexit): Likewise.
36123 (La_regs): Likewise.
36124 (La_retval): Likewise.
36125 (int_retval): Likewise.
36126 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
36127 macro.
36128 (pltexit): Likewise.
36129 (La_regs): Likewise.
36130 (La_retval): Likewise.
36131 (int_retval): Likewise.
36132 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
36133 macro.
36134 (pltexit): Likewise.
36135 (La_regs): Likewise.
36136 (La_retval): Likewise.
36137 (int_retval): Likewise.
36138 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
36139 macro.
36140 (pltexit): Likewise.
36141 (La_regs): Likewise.
36142 (La_retval): Likewise.
36143 (int_retval): Likewise.
36144 * sysdeps/generic/tst-audit.h: Update comment to refer only to
36145 macro definitions in tst-audit.h.
36146 * sysdeps/i386/tst-audit.h: New file.
36147 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
36148 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
36149 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
36150 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
36151 * sysdeps/sh/tst-audit.h: Likewise.
36152 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
36153 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
36154 * sysdeps/x86_64/tst-audit.h: Likewise.
36155
bfc07087
AJ
361562012-07-26 Andreas Jaeger <aj@suse.de>
36157
b1b2aaf8
AJ
36158 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
36159 ptrace.
36160
36161 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
36162 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
36163 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
36164 PTRACE_O_MASK.
36165 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
36166 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
36167 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
36168
bfc07087
AJ
36169 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
36170 value.
36171
36172 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
36173 _sigsys.
36174 (si_call_addr, si_syscall, si_arch): Define new macro.
36175 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
36176 _sigsys.
36177 (si_call_addr, si_syscall, si_arch): Define new marcro.
36178 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
36179 _sigsys.
36180 (si_call_addr, si_syscall, si_arch): Define new macro.
36181 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
36182 _sigsys.
36183 (si_call_addr, si_syscall, si_arch): Define new macro.
36184
89b4b02f
JM
361852012-07-25 Joseph Myers <joseph@codesourcery.com>
36186
36187 [BZ #13717]
36188 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
36189 Change to 2.4.21 where previously 2.4.1.
36190 * sysdeps/unix/sysv/linux/configure: Regenerated.
36191 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
36192 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
36193 Linux kernel version.
36194 (__ASSUME_STD_AUXV): Remove.
36195 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
36196 kernel version.
36197 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
36198 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
36199 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
36200 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
36201 (__ASSUME_NETLINK_SUPPORT): Likewise.
36202 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
36203 (__no_netlink_support): Remove conditional definition.
36204 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
36205 Remove.
36206 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
36207 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
36208 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
36209 (if_nameindex_ioctl): Remove.
36210 (if_nameindex_netlink): Do not handle __no_netlink_support.
36211 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
36212 code.
36213 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
36214 Remove conditional code.
36215 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
36216 code.
36217 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
36218 unconditional.
36219 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
36220 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
36221 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
36222 Remove.
36223 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
36224 [!__ASSUME_STD_AUXV]: Remove conditional code.
36225 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
36226 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
36227 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
36228 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
36229 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
36230 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
36231 code.
36232 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
36233 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
36234 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
36235 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
36236 conditional code.
36237 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
36238 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
36239 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
36240 code.
36241 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
36242 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
36243 conditional code.
36244 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
36245 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
36246 code unconditional.
36247 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
36248 conditional code.
36249 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
36250 unconditional.
36251 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
36252 conditional code.
36253 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
36254 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
36255 unconditional.
36256 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
36257 conditional code.
36258 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
36259 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
36260 code unconditional.
36261 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
36262 conditional code.
36263 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
36264 unconditional.
36265 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
36266 conditional code.
36267 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
36268 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
36269 code unconditional.
36270 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
36271 conditional code.
36272 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
36273 unconditional.
36274 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
36275 conditional code.
36276
842a39cd
AS
362772012-07-25 Andreas Schwab <schwab@linux-m68k.org>
36278
36279 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
36280 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
36281 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
36282 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
36283 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
36284 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
36285 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
36286 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
36287 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
36288 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
36289 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
36290 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
36291 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
36292 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
36293 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
36294 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
36295 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
36296 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
36297 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
36298 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
36299 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
36300 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
36301 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
36302
84b3fd84
FW
363032012-07-25 Florian Weimer <fweimer@redhat.com>
36304
36305 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
36306 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
36307 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
36308 Introduce __libc_secure_getenv.
0c7936d5
FW
36309 * stdlib/Versions (2.17): Add secure_getenv
36310 (GLIBC_PRIVATE): Add __libc_secure_getenv.
36311 * stdlib/secure-getenv.c: Rename __secure_getenv to
36312 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
36313 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
36314 * stdlib/tst-secure-getenv.c: New.
36315 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
36316 * manual/startup.texi (Environment Access): Document
36317 secure_getenv.
84b3fd84
FW
36318 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
36319 __libc_secure_getenv.
36320 * inet/ruserpass.c (ruserpass): Likewise.
36321 * malloc/mtrace.c (mtrace): Likewise.
36322 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 36323 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
36324 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
36325 * sysdeps/posix/tempname.c: Likewise. Evaluate
36326 HAVE_SECURE_GETENV.
36327 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 36328 __secure_getenv to __libc_secure_getenv.
84b3fd84 36329 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
36330 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
36331 Likewise.
36332 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
36333 Likewise.
36334 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
36335 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
36336 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
36337 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
36338 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
36339 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
36340 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 36341
56e49b71
JM
363422012-07-25 Joseph Myers <joseph@codesourcery.com>
36343
36344 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
36345 (struct La_i86_retval): Likewise.
36346 (struct La_x86_64_regs): Likewise.
36347 (struct La_x86_64_retval): Likewise.
36348 (struct La_x32_regs): Likewise.
36349 (struct La_x32_retval): Likewise.
36350 (struct La_ppc32_regs): Likewise.
36351 (struct La_ppc32_retval): Likewise.
36352 (struct La_ppc64_regs): Likewise.
36353 (struct La_ppc64_retval): Likewise.
36354 (struct La_sh_regs): Likewise.
36355 (struct La_sh_retval): Likewise.
36356 (struct La_s390_32_regs): Likewise.
36357 (struct La_s390_32_retval): Likewise.
36358 (struct La_s390_64_regs): Likewise.
36359 (struct La_s390_64_retval): Likewise.
36360 (struct La_sparc32_regs): Likewise.
36361 (struct La_sparc32_retval): Likewise.
36362 (struct La_sparc64_regs): Likewise.
36363 (struct La_sparc64_retval): Likewise.
36364 (struct audit_ifaces): Remove architecture-specific pltenter and
36365 pltexit members.
36366 * sysdeps/i386/ldsodefs.h: New file.
36367 * sysdeps/powerpc/ldsodefs.h: Likewise.
36368 * sysdeps/s390/ldsodefs.h: Likewise.
36369 * sysdeps/sh/ldsodefs.h: Likewise.
36370 * sysdeps/sparc/ldsodefs.h: Likewise.
36371 * sysdeps/x86_64/ldsodefs.h: Likewise.
36372
354691b7
MP
363732012-07-25 Marek Polacek <polacek@redhat.com>
36374
36375 [BZ #6808]
36376 * math/libm-test.inc (yn_test): Add another test.
36377 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
36378 to ERANGE when the result is +-Inf.
36379 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
36380 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
36381 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
36382 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
36383
bf9e2071
JM
363842012-07-24 Joseph Myers <joseph@codesourcery.com>
36385
36386 * conform/data/time.h-data (NULL): Use macro-constant. Require
36387 equal to 0.
36388 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
36389 clock_t.
36390 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
36391
57633811
TS
363922012-07-23 Thomas Schwinge <thomas@codesourcery.com>
36393
36394 * configure.in <sysdeps resolving>: Correct printing
36395 Implies_before.
36396 * configure: Regenerate.
36397
c23c33b0
TS
363982012-07-22 Thomas Schwinge <thomas@codesourcery.com>
36399
36400 * math/w_ilogb.c: Include <limits.h>.
36401 * math/w_ilogbl.c: Likewise.
36402
b5982523
JM
364032012-07-20 Joseph Myers <joseph@codesourcery.com>
36404
36405 * manual/lang.texi (__va_copy): Document primarily as ISO C99
36406 va_copy. Document allowing for unavailable va_copy only as
36407 pre-C99 compatibility.
36408 * manual/string.texi (Copying and Concatenation): Use va_copy
36409 instead of __va_copy in concat example.
36410
ac4ea442
PT
364112012-07-20 Pino Toscano <toscano.pino@tiscali.it>
36412
36413 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
36414 (__sendto): Use create_address_port. Initialize APORT and deallocate
36415 it if not null.
36416
f98eafbd
PT
36417 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
36418 with O_NOLINK passed to __file_name_lookup.
36419
898c7aab
PT
36420 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
36421 with O_NOLINK passed to __file_name_lookup.
36422
0ced335a
PT
36423 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
36424 negative N or less than NGIDS.
36425
b3404dbd
PT
36426 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
36427 type to string_t. Set ERANGE as errno and return it if NAME is not big
36428 enough. Use memcpy instead of strncpy.
36429
0f48659e
JM
364302012-07-20 Joseph Myers <joseph@codesourcery.com>
36431
36432 * elf/Makefile (check-data): Remove.
36433 (localplt.data): New vpath directive.
36434 ($(objpfx)check-localplt.out): Use localplt.data from vpath
36435 instead of $(check-data).
36436 * scripts/data/localplt-generic.data: Move to ...
36437 * sysdeps/generic/localplt.data: ... here.
36438 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
36439 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
36440 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
36441 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
36442 ... here.
36443 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
36444 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
36445 ... here.
36446 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
36447 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
36448 ... here.
36449 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
36450 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
36451 ... here.
36452 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
36453 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
36454 ... here.
36455 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
36456 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
36457 ... here.
36458
d37cbdaa
AZ
364592012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36460
36461 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
36462 PPC32 and PPC64 files.
36463 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
36464 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
36465
46f85fc2
AK
364662012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36467
36468 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
36469 __makecontext_ret to ...
36470 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
36471 ... here and call exit if uc_link is NULL. New file.
36472 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
36473 __makecontext_ret.S.
36474 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
36475 __makecontext_ret to ...
36476 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
36477 ... here and call exit if uc_link is NULL. New file.
36478 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
36479 __makecontext_ret.S.
36480
08f43f9b
AK
364812012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36482
36483 * elf/elf.h (R_390_IRELATIVE): New definition.
36484 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
36485 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
36486 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
36487 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
36488 (elf_machine_lazy_rel): Likewise.
36489 * sysdeps/s390/dl-irel.h: New file.
36490 * sysdeps/s390/s390-64/memcpy.S: New asm code.
36491 * sysdeps/s390/s390-64/memset.S: New asm code.
36492 * sysdeps/s390/s390-64/memcmp.S: New asm code.
36493 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
36494 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
36495 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
36496 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
36497 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
36498 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
36499 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
36500 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
36501 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
36502 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
36503 * sysdeps/s390/s390-32/memcpy.S: New asm code.
36504 * sysdeps/s390/s390-32/memset.S: New asm code.
36505 * sysdeps/s390/s390-32/memcmp.S: New asm code.
36506
3b05db33
MP
365072012-07-17 Marek Polacek <polacek@redhat.com>
36508
36509 [BZ #14349]
36510 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
36511 * sysdeps/s390/s390-64/configure.in: Likewise.
36512 * sysdeps/sparc/configure.in: Likewise.
36513 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
36514 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
36515 * sysdeps/i386/configure.in: Likewise.
36516 * sysdeps/x86_64/configure.in: Likewise.
36517 * sysdeps/sh/configure.in: Likewise.
36518 * sysdeps/s390/s390-32/configure: Regenerated.
36519 * sysdeps/s390/s390-64/configure: Likewise.
36520 * sysdeps/x86_64/configure: Likewise.
36521 * sysdeps/sh/configure: Likewise.
36522 * sysdeps/powerpc/powerpc64/configure: Likewise.
36523 * sysdeps/powerpc/powerpc32/configure: Likewise.
36524 * sysdeps/sparc/configure: Likwise.
36525 * sysdeps/i386/configure: Likewise.
36526
a66877c6
MP
36527 * elf/dl-open.c: Comment fixes.
36528
cfc82fd8
JM
365292012-07-17 Joseph Myers <joseph@codesourcery.com>
36530
bd29910a
JM
36531 * Makefile [CXX] (check-data): Remove.
36532 [CXX] (c++-types.data): New vpath directive.
36533 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
36534 vpath. Do not allow for C++ type data being missing.
36535 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
36536 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
36537 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
36538 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
36539 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
36540 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
36541 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
36542 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
36543 ... here.
36544 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
36545 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
36546 ... here.
36547 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
36548 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
36549 ... here.
36550 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
36551 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
36552 ... here.
36553 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
36554 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
36555 ... here.
36556 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
36557 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
36558 ... here.
36559 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
36560 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
36561 ... here.
36562 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
36563 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
36564
cfc82fd8
JM
36565 * elf/tls-macros.h (TLS_LE): Move architecture-specific
36566 definitions to architecture-specific files.
36567 (TLS_IE): Likewise.
36568 (TLS_LD): Likewise.
36569 (TLS_GD): Likewise.
36570 * sysdeps/i386/tls-macros.h: New file.
36571 * sysdeps/powerpc/tls-macros.h: Likewise.
36572 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
36573 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
36574 * sysdeps/sh/tls-macros.h: Likewise.
36575 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
36576 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
36577 * sysdeps/x86_64/tls-macros.h: Likewise.
36578
f7db3170
TS
365792012-07-17 Thomas Schwinge <thomas@codesourcery.com>
36580
07cbfc23
TS
36581 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
36582 zero value for regular exit case.
36583
f7db3170
TS
36584 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
36585 (__start_context): Preserve zero value for regular exit case.
36586
dc97c227
TS
365872012-07-17 Thomas Schwinge <thomas@codesourcery.com>
36588 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36589
36590 * manual/setjmp.texi (setcontext): Clarify normal process
36591 termination when uc_link is the null pointer.
36592 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
36593 exit call.
36594
d0cd7d02
AS
365952012-07-16 Andreas Schwab <schwab@linux-m68k.org>
36596
36597 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
36598 preprocessor. Test for each exception mask separately.
36599
dd318934
AJ
366002012-07-16 Andreas Jaeger <aj@suse.de>
36601
36602 * po/ru.po: Update from translation team.
36603
8048311a
JM
366042012-07-15 Joseph Myers <joseph@codesourcery.com>
36605
36606 * conform/data/string.h-data (NULL): Use macro-constant. Require
36607 equal to 0.
36608 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
36609 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
36610 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
36611 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
36612 [ISO || ISO99 || ISO11] (*_t): Do not allow.
36613
b637d46e
AJ
366142012-07-13 Andreas Jaeger <aj@suse.de>
36615
36616 * po/fr.po: Update from translation team.
36617
541428fe
MP
366182012-07-12 Marek Polacek <polacek@redhat.com>
36619
36620 [BZ #14173]
36621 * math/libm-test.inc (yn_test): Add test for BZ #14173.
36622 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
36623 loop condition.
36624
ec332e94
JM
366252012-07-12 Joseph Myers <joseph@codesourcery.com>
36626
36627 [BZ #13717]
36628 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
36629 Change to 2.4.1 where previously 2.4.0.
36630 * sysdeps/unix/sysv/linux/configure: Regenerated.
36631 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
36632 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
36633 version.
36634 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
36635 (__ASSUME_AT_CLKTCK): Remove.
36636 (__ASSUME_AT_PAGESIZE): Likewise.
36637 (__ASSUME_AT_XID): Likewise.
36638 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
36639 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
36640 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
36641 unconditionally.
36642 (HAVE_AUX_PAGESIZE): Likewise.
36643 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
36644 [__ASSUME_AT_CLKTCK]: Make code unconditional.
36645 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
36646
7b6e99be
JB
366472012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
36648
36649 [BZ #14307]
36650 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
36651 the temporary buffer used to invoke __gethostbyname2_r,
36652 __gethostbyaddr_r and gethostbyname4_r to make room for struct
36653 host_data / struct gaih_addrtuple.
36654 * resolv/nss_dns/dns-host.c (global scope): Move definition of
36655 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
36656 header file nss/nsswitch.h.
36657 * nss/nsswitch.h (global scope): Add definition of implementation
36658 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
36659 resolv/nss_dns/dns-host.c).
36660
608404eb
AJ
366612012-07-11 Andreas Jaeger <aj@suse.de>
36662
36663 * po/fr.po: Update from translation team.
36664
71220aca
AJ
36665 * po/sv.po: Update from translation team
36666 * po/fr.po: Another update from translation team.
36667
28cfe843
AZ
366682012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36669
36670 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
36671 for subnormals or multiply small sinh result by itself.
36672 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
36673 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36674
6b90f981
DM
366752012-07-11 David S. Miller <davem@davemloft.net>
36676
36677 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36678
c6825772
AS
366792012-07-10 Andreas Schwab <schwab@linux-m68k.org>
36680
36681 [BZ #14347]
36682 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
36683 (INTERNAL_MARK): Shift it here.
36684
7b8e0d49
MP
366852012-07-10 Marek Polacek <polacek@redhat.com>
36686
36687 [BZ #14151]
36688 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
36689 libc_cv_asm_global_directive with .globl.
36690 * configure: Regenerated.
36691 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
36692 with .globl.
36693 * sysdeps/i386/configure: Regenerated.
36694 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
36695 with .globl.
36696 * sysdeps/x86_64/configure: Regenerated.
36697 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
36698 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
36699 * elf/tst-unique2mod2.c: Likewise.
36700 * elf/tst-unique2mod1.c: Likewise.
36701 * elf/tst-unique1mod2.c: Likewise.
36702 * elf/tst-unique1mod1.c: Likewise.
36703 * sysdeps/s390/s390-32/sysdep.h: Likewise.
36704 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
36705 * sysdeps/s390/s390-64/sysdep.h: Likewise.
36706 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
36707 * sysdeps/mach/sysdep.h: Likewise.
36708 * sysdeps/i386/sysdep.h: Likewise.
36709 * sysdeps/i386/i386-mcount.S: Likewise.
36710 * sysdeps/x86_64/_mcount.S: Likewise.
36711 * sysdeps/x86_64/sysdep.h: Likewise.
36712 * sysdeps/sh/_mcount.S: Likewise.
36713 * sysdeps/sh/sysdep.h: Likewise.
36714 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
36715 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
36716 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
36717 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
36718 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
36719 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
36720 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
36721 * locale/localeinfo.h: Likewise.
36722 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
36723 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
36724
6c55cda3
RM
367252012-07-09 Roland McGrath <roland@hack.frob.com>
36726
36727 [BZ #14336]
36728 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
36729 system".
36730 * manual/message.texi (The Uniforum approach): Likewise.
36731 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
36732 (glibc iconv Implementation): Likewise.
36733
638a572e
JM
367342012-07-09 Joseph Myers <joseph@codesourcery.com>
36735
36736 [BZ #14337]
36737 * math/s_clog.c (__clog): Avoid scaling a value down where that
36738 could result in underflow.
36739 * math/s_clog10.c (__clog10): Likewise.
36740 * math/s_clog10f.c (__clog10f): Likewise.
36741 * math/s_clog10l.c (__clog10l): Likewise.
36742 * math/s_clogf.c (__clogf): Likewise.
36743 * math/s_clogl.c (__clogl): Likewise.
36744 * math/libm-test.inc (clog_test): Add more tests.
36745 (clog10_test): Likewise.
36746 * sysdeps/i386/fpu/libm-test-ulps: Update.
36747 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36748
261f4859
AS
367492012-07-06 Andreas Schwab <schwab@linux-m68k.org>
36750
0abaf3e4
AS
36751 [BZ #14283]
36752 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
36753 by 7 not 8 to examine high bit of fractional part.
36754
261f4859
AS
36755 [BZ #14042]
36756 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
36757 for call to __mcount_internal.
36758 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
36759 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
36760 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
36761
f17ac40d
JM
367622012-07-06 Joseph Myers <joseph@codesourcery.com>
36763
9ad63c23
JM
36764 [BZ #14154]
36765 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
36766 approximation for values within 0x1p-13f of an odd multiple of
36767 pi/4.
36768 * math/libm-test.inc (tan_test): Do not allow spurious underflow
36769 exception. Add more tests.
36770 * sysdeps/i386/fpu/libm-test-ulps: Update.
36771
f17ac40d
JM
36772 [BZ #6778]
36773 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
36774 inputs and return -1 for them. Do not check for +Inf in case not
36775 reachable for +Inf.
36776 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
36777 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
36778 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
36779 and return -1 for them. Do not check for +Inf in case not
36780 reachable for +Inf.
36781 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
36782 define.
36783 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
36784 and return -1 for them. Do not check for +Inf in case not
36785 reachable for +Inf.
36786 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
36787 spurious underflow.
36788 * sysdeps/i386/fpu/libm-test-ulps: Update.
36789 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36790
fb21f89b
MF
367912012-07-06 Mike Frysinger <vapier@gentoo.org>
36792
36793 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
36794
cdfe2c5e
JM
367952012-07-05 Joseph Myers <joseph@codesourcery.com>
36796
36797 [BZ #14157]
36798 [BZ #14331]
36799 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
36800 could result in spurious underflow. Scale down values above
36801 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
36802 * math/s_csqrtf.c (__csqrtf): Likewise.
36803 * math/s_csqrtl.c (__csqrtl): Likewise.
36804 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
36805 spurious underflow.
36806 * sysdeps/i386/fpu/libm-test-ulps: Update.
36807 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36808
70d35b67
AS
368092012-07-04 Andreas Schwab <schwab@linux-m68k.org>
36810
704bc459
AS
36811 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
36812 xopen-msg.sed.
36813 * catgets/xopen-msg.awk: New file.
36814 * catgets/xopen-msg.sed: Removed.
36815
70d35b67
AS
36816 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
36817 po2text.sed.
36818 * intl/po2test.awk: New file.
36819 * intl/po2test.sed: Removed.
36820
ca61cf32
JM
368212012-07-04 Joseph Myers <joseph@codesourcery.com>
36822
36823 [BZ #14328]
36824 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
36825 or multiply small sinh result by itself.
36826 * math/s_ctanf.c (__ctanf): Likewise.
36827 * math/s_ctanh.c (__ctanh): Likewise.
36828 * math/s_ctanhf.c (__ctanhf): Likewise.
36829 * math/s_ctanhl.c (__ctanhl): Likewise.
36830 * math/s_ctanl.c (__ctanl): Likewise.
36831 * math/libm-test.inc (ctan_test_tonearest): New function.
36832 (ctan_test_towardzero): Likewise.
36833 (ctan_test_downward): Likewise.
36834 (ctan_test_upward): Likewise.
36835 (ctanh_test_tonearest): Likewise.
36836 (ctanh_test_towardzero): Likewise.
36837 (ctanh_test_downward): Likewise.
36838 (ctanh_test_upward): Likewise.
36839 (main): Call these new functions.
36840 * sysdeps/i386/fpu/libm-test-ulps: Update.
36841 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36842
ca48a46a
MF
368432012-07-03 Mike Frysinger <vapier@gentoo.org>
36844
36845 * .gitignore: Delete /ports entry.
36846
9d63d37d
AJ
368472012-07-03 Andreas Jaeger <aj@suse.de>
36848
36849 * po/bg.po: Update from translation team.
36850 * po/cs.po: Likewise.
36851 * po/de.po: Likewise.
36852 * po/hr.po: Likewise.
36853 * po/nl.pl: Likewise.
36854 * po/pl.po: Likewise.
36855 * po/vi.po: Likewise.
36856
370ca3d2
JM
368572012-07-03 Joseph Myers <joseph@codesourcery.com>
36858
95f5a9a8
JM
36859 * Makeconfig [!+link] (+link-before-libc): New variable.
36860 [!+link] (+link-after-libc): Likewise.
36861 [!+link] (+link-tests): Likewise.
36862 [!+link] (+link): Define in terms of $(+link-before-libc) and
36863 $(+link-after-libc).
36864 [!+link-static] (+link-static-before-libc): New variable.
36865 [!+link-static] (+link-static-after-libc): Likewise.
36866 [!+link-static] (+link-static-tests): Likewise.
36867 [!+link-static] (+link-static): Define in terms of
36868 $(+link-static-before-libc) and $(+link-static-after-libc).
36869 [build-shared] (link-libc-before-gnulib): New variable.
36870 [build-shared] (link-libc-tests): Likewise.
36871 [build-shared] (link-libc): Define in terms of
36872 $(link-libc-before-gnulib).
36873 [!build-shared] (link-libc-tests): New variable.
36874 (link-libc-static-tests): New variable.
36875 [!gnulib] (gnulib-arch): New variable.
36876 [!gnulib] (gnulib-tests): Likewise.
36877 [!gnulib] (static-gnulib-arch): Likewise.
36878 [!gnulib] (static-gnulib-tests): Likewise.
36879 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
36880 Define with "=" instead of ":=".
36881 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
36882 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
36883 * Rules (binaries-all-notests): New variable.
36884 (binaries-all-tests): Likewise.
36885 (binaries-static-notests): Likewise.
36886 (binaries-static-tests): Likewise.
36887 (binaries-all): Define using $(binaries-all-notests) and
36888 $(binaries-all-tests).
36889 (binaries-static): Define using $(binaries-static-notests) and
36890 $(binaries-static-tests).
36891 (binaries-shared-tests): New variable.
36892 (binaries-shared-notests): Likewise.
36893 (binaries-shared): Remove variable.
36894 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
36895 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
36896 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
36897 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
36898 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
36899 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
36900 * elf/Makefile (sln-modules): New variable.
36901 (extra-objs): Add $(sln-modules:=.o).
36902 (ldconfig-modules): Add static-stubs.
36903 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
36904 * elf/static-stubs.c: New file.
36905
7a845b2c
JM
36906 [BZ #14283]
36907 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
36908 by 7 not 8 to examine high bit of fractional part. Use volatile
36909 variables when splitting into final array of floats if
36910 __FLT_EVAL_METHOD__ != 0.
36911 * math/libm-test.inc (cos_test): Add another test.
36912 (sin_test): Likewise.
36913 * sysdeps/i386/fpu/libm-test-ulps: Update.
36914
e2283f38
JM
36915 [BZ #14273]
36916 * math/libm-test.inc (cosh_test): Add more tests.
36917
370ca3d2
JM
36918 * version.h (RELEASE): Set to "development".
36919 (VERSION): Set to "2.16.90".
36920
ee9247c3
CD
369212012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
36922
36923 * NEWS: Update copyright. Remove last-updated date.
36924 Mention math library bug fixes and timezone data changes.
36925 * README: Mention GNU/Hurd, x32, and HPPA support status.
36926
4648c381
TS
369272012-06-28 Thomas Schwinge <thomas@codesourcery.com>
36928
36929 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
36930
aac78a43
AJ
369312012-06-27 Andreas Jaeger <aj@suse.de>
36932
36933 * manual/contrib.texi (Contributors): Add Samuel Thibault.
36934
ed3dbfad
AJ
369352012-06-25 Andreas Jaeger <aj@suse.de>
36936
36937 * sysdeps/s390/fpu/libm-test-ulps: Update.
36938
4d0ee855
AS
369392012-06-23 Andreas Schwab <schwab@linux-m68k.org>
36940 Thomas Schwinge <thomas@codesourcery.com>
36941
36942 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
36943 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
36944 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
36945 fanotify_mark.
36946
af1bce34
TS
369472012-06-23 Thomas Schwinge <thomas@codesourcery.com>
36948
a9fa33ba
TS
36949 * sysdeps/mach/start.c: Remove file.
36950 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
36951 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
36952 * sysdeps/sh/init-first.c: Likewise.
36953
58f902b8
TS
36954 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
36955 registers for frame unwinding purposes, add CFI directives.
36956 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
36957 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
36958 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
36959 Likewise.
36960
1518f58b
TS
36961 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
36962 __fortify_fail returning.
36963 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
36964
db9b5059
TS
36965 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
36966 sysdeps/sh/____longjmp_chk.S.
36967 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
36968 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
36969 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
36970 (gen-as-const-headers): Append sigaltstack-offsets.sym.
36971
967705fe
TS
36972 * sysdeps/sh/abort-instr.h: New file.
36973 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
36974 process in case exit returns.
36975
a9def8c4
TS
36976 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
36977 initialize the GOT register before use.
36978
2a649725
TS
36979 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
36980 calculation of ARGC > 4.
36981
af1bce34
TS
36982 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
36983 meaningful names to some local labels.
36984
d230f50a
KK
369852012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
36986 Kaz Kojima <kkojima@rr.iij4u.or.jp>
36987
36988 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
36989 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
36990 (__arch_compare_and_exchange_val_16_acq): Likewise.
36991 (__arch_compare_and_exchange_val_32_acq): Likewise.
36992 (atomic_exchange_and_add): Fix gUSA sequence.
36993 (atomic_add): Likewise.
36994 (atomic_add_negative): Likewise.
36995 (atomic_add_zero): Likewise.
36996 (atomic_bit_test_set): Likewise.
36997
0479b305
AS
369982012-06-22 Andreas Schwab <schwab@redhat.com>
36999
37000 [BZ #13579]
37001 * include/link.h (struct link_map): Add l_free_initfini.
37002 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
37003 l_initfini.
37004 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
37005 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
37006 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
37007 set.
37008
0e3933b9
CD
370092012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
37010
37011 * configure.in: Use AC_LANG_SOURCE.
37012 * configure: Regenerate.
37013
4248b1b1
RM
370142012-06-22 Roland McGrath <roland@hack.frob.com>
37015
37016 * configure.in (libc_cv_localstatedir): New substituted variable.
37017 * configure: Regenerated.
37018 * config.make.in (localstatedir): New variable, substituted from
37019 libc_cv_localstatedir.
37020 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
37021 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
37022 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
37023 * sysdeps/gnu/configure: Regenerated.
37024
006dd861
JL
370252012-06-21 Jeff Law <law@redhat.com>
37026
37027 [BZ #14277]
37028 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
37029 free. Simplify list management for _LIBC case.
37030
79662d42
JM
370312012-06-21 Joseph Myers <joseph@codesourcery.com>
37032
b7abb4bf
JM
37033 [BZ #14273]
37034 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
37035 Clear sign bit of 64-bit integer value before comparing against
37036 overflow value.
37037
79662d42
JM
37038 * sysdeps/mach/configure: Regenerated.
37039
1f150908
L
370402012-06-21 H.J. Lu <hongjiu.lu@intel.com>
37041
37042 [BZ #14278]
37043 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
37044
28363bbf
JL
370452012-06-21 Jeff Law <law@redhat.com>
37046
37047 [BZ #13882]
37048 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
37049 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 37050 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
37051 * elf/dl-open.c (dl_open_worker): Likewise.
37052
09615db4
CD
370532012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
37054
37055 * scripts/list-sources.sh: Scan PORTS for translations.
37056 * po/libc.pot: Regenerated.
37057
2174c6dd
AJ
370582012-06-21 Andreas Jaeger <aj@suse.de>
37059
37060 [BZ #12194]
37061 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
37062 warning.
37063 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
37064 * bits/byteswap-16.h (__bswap_16): Likewise.
37065 * bits/byteswap.h (__bswap_constant_16): Likewise.
37066
3ee947b1
L
370672012-06-18 H.J. Lu <hongjiu.lu@intel.com>
37068
37069 [BZ #14117]
a2f34833
L
37070 * sysdeps/i386/fpu_control.h: Removed.
37071 * sysdeps/x86_64/fpu_control.h: Moved to ...
37072 * sysdeps/x86/fpu_control.h: Here.
37073
3ee947b1
L
37074 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
37075 (_FPU_SETCW): Likewise.
37076
ed1825f8
L
370772012-06-15 H.J. Lu <hongjiu.lu@intel.com>
37078
25f1282a
L
37079 [BZ #14117]
37080 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
37081 * sysdeps/x86/fpu/bits/mathinline.h: This.
37082 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
37083
ed1825f8
L
37084 [BZ #14050]
37085 [BZ #14117]
37086 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
37087 functions if __x86_64__ is defined.
37088
36d54b74
CLT
370892012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
37090
37091 * string/endian.h: Add !__ASSEMBLER__ condition for including
37092 conversion interfaces.
37093
10285c21
JM
370942012-06-15 Joseph Myers <joseph@codesourcery.com>
37095
37096 [BZ #14241]
37097 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
37098 of ABS(x) in calculating zero to negative powers other than odd
37099 integers.
37100 * math/libm-test.inc (pow_test): Add more tests.
37101
06c5abbd
AJ
371022012-06-15 Andreas Jaeger <aj@suse.de>
37103
37104 * manual/contrib.texi (Contributors): Update entry of Liubov
37105 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
37106 Machado Filho.
37107
a3aeac40
CH
371082012-06-15 Cyril Hrubis <metan@ucw.cz>
37109
37110 * string/string.h: Add __wur to GNU version of strerror_r.
37111
49bdf4c1
L
371122012-06-14 H.J. Lu <hongjiu.lu@intel.com>
37113
37114 [BZ #14229]
37115 * string/Makefile (tests): Add tst-strtok_r.
37116 * string/tst-strtok_r.c: New file.
37117 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
37118 RAX_LP/RDX_LP on SAVE_PTR.
37119
834f9b8d
RM
371202012-06-14 Roland McGrath <roland@hack.frob.com>
37121
37122 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
37123
75fa1921
JM
371242012-06-14 Joseph Myers <joseph@codesourcery.com>
37125
37126 * libm_test.inc (csqrt_test): Allow more spurious underflow
37127 exceptions.
37128 (j0_test): Likewise.
37129 (j1_test): Likewise.
37130 (y0_test): Likewise.
37131 (y1_test): Likewise.
37132
771766df
CD
371332012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
37134
37135 * po/Makefile (libc.pot): Use UTF-8 charset.
37136
ceb9e56b
PP
371372012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
37138
37139 [BZ #14210]
37140 Suppress sign-conversion warning from FD_SET.
37141 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
37142 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
37143 not unsigned long int.
37144 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
37145
ddb28975
L
371462012-06-12 H.J. Lu <hongjiu.lu@intel.com>
37147
37148 [BZ #14050]
37149 [BZ #14117]
37150 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
37151 __extern_always_inline instead of __extern_inline.
37152 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
37153 (__signbit): Likewise.
37154 (__signbitl): Support C++ namespace.
37155 (lrintf): New inline function.
37156 (lrint): Likewise.
37157 (llrintf): Likewise.
37158 (llrint): Likewise.
37159 (fmaxf): Likewise.
37160 (fmax): Likewise.
37161 (fminf): Likewise.
37162 (fmin): Likewise.
37163 (rint): Likewise.
37164 (rintf): Likewise.
37165 (ceil): Likewise.
37166 (ceilf): Likewise.
37167 (floor): Likewise.
37168 (floorf): Likewise.
37169 (nearbyint): Likewise.
37170 (nearbyintf): Likewise.
37171
d7b4fb26
TS
371722012-06-12 Thomas Schwinge <thomas@codesourcery.com>
37173
37174 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
37175 non-default versions.
37176
eb55f5c2
RM
371772012-06-11 Roland McGrath <roland@hack.frob.com>
37178
37179 [BZ #14218]
37180 * manual/argp.texi (Argp): Reword argp_parse description slightly.
37181
366af02c
TS
371822012-06-09 Thomas Schwinge <thomas@codesourcery.com>
37183
99ff6e5c
TS
37184 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
37185 (FE_UPWARD, FE_DOWNWARD): Don't define.
37186 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
37187 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
37188
366af02c
TS
37189 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
37190 reading it.
37191 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
37192 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
37193
793ea851
KK
371942012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
37195
37196 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
37197 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
37198 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
37199 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
37200
a728a38f
L
372012012-06-06 H.J. Lu <hongjiu.lu@intel.com>
37202
37203 [BZ #14117]
c08010c7
L
37204 * sysdeps/i386/fpu/bits/fenv.h: Removed.
37205 * sysdeps/i386/fpu/Implies: New file.
37206 * sysdeps/x86_64/fpu/Implies: Likewise.
37207 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
37208 * sysdeps/x86/fpu/bits/fenv.h: This.
37209
a728a38f
L
37210 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
37211 __SSE_MATH__.
37212
6e230d11
SP
372132012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
37214
37215 [BZ #14134]
37216 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
37217 character 0xffff that matches the last element of the
37218 conversion table.
37219
1b671feb
AZ
372202012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37221
37222 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
37223 fmodl commit.
37224
6043738b
AZ
372252012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37226
37227 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
37228 values higher than 25.6283.
37229
34ae0b32
AZ
372302012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37231
37232 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
37233 subnormal exponent extraction and add some __builtin_expect.
37234 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
37235 Fix for subnormal mantissa calculation.
37236
1214ec8f
MF
372372012-06-04 Mike Frysinger <vapier@gentoo.org>
37238
37239 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
37240 cpu2 is -1 and errno is not ENOSYS.
37241
f3d1f93c
L
372422012-06-04 H.J. Lu <hongjiu.lu@intel.com>
37243
37244 [BZ #14117]
0e4a3cd7
L
37245 * sysdeps/i386/i486/bits/string.h: Renamed to ...
37246 * sysdeps/x86/bits/string.h: This.
37247 * sysdeps/x86_64/bits/string.h: Removed.
37248
6704c645
L
37249 * sysdeps/i386/i486/bits/string.h: Define inline functions only
37250 if not compiling for x86-64, but compiling for >= i486.
37251
48495318
L
37252 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
37253 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
37254
14adcbfc
L
37255 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
37256 New macro from Linux kernel 3.4.0.
37257 (FP_XSTATE_MAGIC2): Likewise.
37258 (FP_XSTATE_MAGIC2_SIZE): Likewise.
37259 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
37260 (struct _fpx_sw_bytes): New struct.
37261 (struct _xsave_hdr): Likewise.
37262 (struct _ymmh_state): Likewise.
37263 (struct _xstate): Likewise.
37264
68e408ab
L
37265 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
37266 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
37267 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
37268 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
37269 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
37270 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
37271
f3d1f93c
L
37272 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
37273 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
37274 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
37275 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
37276 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
37277 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
37278
d9dc34cd
TMQMF
372792012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
37280
37281 [BZ #13743]
37282 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
37283 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
37284 (sysdep_headers): Include sys/platform/ppc.h.
37285 * sysdeps/powerpc/test-gettimebase.c: Test for
37286 __ppc_get_timebase() to catch future ISA opcode/insn changes.
37287 * manual/Makefile (appendices): Include platform.texi.
37288 * manual/contrib.texi (Contributors): Update @node pointers.
37289 * manual/maint.texi (Maintenance): Likewise.
37290 (Platform): New node.
37291 * manual/platform.texi: New file. Document the new features.
37292
4af3879c
SP
372932012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
37294 Jakub Jelinek <jakub@redhat.com>
37295
37296 [BZ #14188]
37297 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
37298 where __builtin_expect is unavailable.
37299
2fd6ff13
DM
373002012-06-03 David S. Miller <davem@davemloft.net>
37301
37302 * stdlib/longlong.h: Updated from GCC.
37303
173f7220
AS
373042012-06-02 Andreas Schwab <schwab@linux-m68k.org>
37305
37306 [BZ #14042]
37307 * sysdeps/powerpc/powerpc32/mcount.c: New file.
37308 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
37309 __mcount_internal.
37310 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
37311 (GLIBC_2.16): Likewise.
37312
f34a1c6f
L
373132012-06-01 H.J. Lu <hongjiu.lu@intel.com>
37314
37315 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
37316
88a4576f
JM
373172012-06-01 Joseph Myers <joseph@codesourcery.com>
37318
ea32bcdd
JM
37319 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
37320 (default-abi): New variable.
37321 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
37322 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
37323 variable.
37324 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
37325 Likewise.
37326 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
37327 Likewise.
37328 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
37329 Likewise.
37330
88a4576f
JM
37331 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
37332 definition. Document in comment.
37333
402fe938
DM
373342012-06-01 David S. Miller <davem@davemloft.net>
37335
37336 * stdlib/longlong.h: Updated from GCC.
37337
3553723f
L
373382012-06-01 H.J. Lu <hongjiu.lu@intel.com>
37339
37340 [BZ #14117]
3bd872c4
L
37341 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
37342 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
37343 sys/debugreg.h sys/io.h here.
37344 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
37345 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
37346 sys/io.h.
37347 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
37348 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
37349 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
37350 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
37351 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
37352 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
37353
3553723f
L
37354 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
37355 Define only if __x86_64__ is defined.
37356
4842e4fe
JM
373572012-06-01 Joseph Myers <joseph@codesourcery.com>
37358
c5bfe3d5
JM
37359 [BZ #14048]
37360 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
37361 Use int64_t for variable i.
37362 * math/libm-test.inc (fmod_test): Add more tests.
37363
4842e4fe
JM
37364 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
37365 z computation is not scheduled after fetestexcept.
37366 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
37367 Use math_force_eval instead of asm to ensure calculation scheduled
37368 before exception test.
37369 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
37370 Ensure a1 + u.d computation is not scheduled after fetestexcept.
37371
efb73488
AJ
373722012-06-01 Aurelien Jarno <aurelien@aurel32.net>
37373
37374 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
37375 computation is not scheduled after fetestexcept.
37376
29bcce7c
L
373772012-06-01 H.J. Lu <hongjiu.lu@intel.com>
37378
37379 [BZ #14117]
37380 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
37381 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
37382
73a68f94
AZ
373832012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37384
37385 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
37386 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
37387
67b6df78
L
373882012-05-31 H.J. Lu <hongjiu.lu@intel.com>
37389
edf2933a 37390 [BZ #14117]
ebc64a18
L
37391 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
37392 <bits/wordsize.h>.
37393 (__WCHAR_MIN): Support __WORDSIZE == 64.
37394 (__WCHAR_MAX): Likewise.
37395
edf2933a
L
37396 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
37397 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
37398
57c6cf40
L
37399 [BZ #14183]
37400 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
37401 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
37402
67b6df78 37403 [BZ #14117]
8eb6281e
L
37404 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
37405 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
37406
aac639f4
L
37407 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
37408 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
37409
67b6df78
L
37410 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
37411 Defined to 1 if __x86_64__ isn't defined.
37412 (_STAT_VER_LINUX_OLD): New.
37413 (st_atime): Remove duplicate.
37414 (st_mtime): Likewise.
37415 (st_ctime): Likewise.
37416
1c2cfe81
DM
374172012-05-31 David S. Miller <davem@davemloft.net>
37418
37419 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
37420 entries.
37421
5be8418c
AS
374222012-06-01 Andreas Schwab <schwab@linux-m68k.org>
37423
e7725326
AS
37424 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
37425 gen-libm-test.pl.
37426
5be8418c
AS
37427 [BZ #14132]
37428 * elf/dl-reloc.c: Include <_itoa.h>.
37429 (_dl_reloc_bad_type): Remove use of INTUSE.
37430 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
37431 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
37432 * stdio-common/psiginfo.c (psiginfo): Likewise.
37433 * stdio-common/psignal.c (psignal): Likewise.
37434 * string/strsignal.c (strsignal): Likewise.
37435 * include/signal.h (_sys_siglist): Declare hidden proto.
37436 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
37437 INTVARDEF with libc_hidden_data_def.
37438 * stdio-common/itoa-udigits.c: Likewise.
37439 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
37440 (_itoa_lower_digits_internal): Remove declaration.
37441 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
37442 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
37443 (_sys_sigabbrev_internal): Remove aliases.
37444 (_sys_siglist): Define hidden alias.
37445
507352f1
MT
374462012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
37447
37448 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
37449 bits/sysctl.h.
37450
42bbb1c3
L
374512012-05-31 H.J. Lu <hongjiu.lu@intel.com>
37452
37453 [BZ #14117]
6bd784b6
L
37454 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
37455 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
37456
8bca20f0
L
37457 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
37458 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
37459 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
37460 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
37461 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
37462 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
37463
f9e890a9
L
37464 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
37465 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
37466 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
37467
471101a1
L
37468 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
37469 with __addr.
37470 (insw): Likewise.
37471 (insl): Likewise.
37472 (outsb): Likewise.
37473 (outsw): Likewise.
37474 (outsl): Likewise.
37475
6451c862
L
37476 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
37477 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
37478 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
37479
a254b8c9
L
37480 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
37481 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
37482 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
37483 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
37484 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
37485 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
37486
b8dfdd92
L
37487 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
37488 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
37489
578cd270
L
37490 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
37491 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
37492
de662f5f
L
37493 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
37494 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
37495 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
37496
25653439
L
37497 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
37498 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
37499 to ...
37500 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
37501
6bad24a0
L
37502 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
37503 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
37504 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
37505
42bbb1c3
L
37506 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
37507 for x86-64.
37508 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
37509
2d10d547
JM
375102012-05-31 Joseph Myers <joseph@codesourcery.com>
37511
37512 * math/math.h (M_El): Use two more decimal places.
37513 (M_LOG2El): Likewise.
37514 (M_LOG10El): Likewise.
37515 (M_LN2l): Likewise.
37516 (M_LN10l): Likewise.
37517 (M_PIl): Likewise.
37518 (M_PI_2l): Likewise.
37519 (M_PI_4l): Likewise.
37520 (M_1_PIl): Likewise.
37521 (M_2_PIl): Likewise.
37522 (M_2_SQRTPIl): Likewise.
37523 (M_SQRT2l): Likewise.
37524 (M_SQRT1_2l): Likewise.
37525
f230c29b
DM
375262012-05-31 David S. Miller <davem@davemloft.net>
37527
37528 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
37529 values between float registers.
37530 * sysdeps/sparc/sparc64/memset.S: Likewise.
37531 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
37532
fed806c3
MF
375332012-05-31 Mike Frysinger <vapier@gentoo.org>
37534
37535 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
37536 -D_FORTIFY_SOURCE=1.
37537 (CPPFLAGS-tst-longjmp_chk.c): Define.
37538 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
37539 (CPPFLAGS-tst-longjmp_chk2.c): Define.
37540 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
37541 CFLAGS-tst-wchar-h.c.
37542
30917259
MP
375432012-05-31 Marek Polacek <polacek@redhat.com>
37544
37545 [BZ #14132]
37546 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
37547 __endmntent_internal): Remove declaration.
37548 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
37549 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
37550 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
37551
1c58d5dc
DM
375522012-05-30 David S. Miller <davem@davemloft.net>
37553
37554 * sysdeps/sparc/sparc32/soft-fp/q_util.c
37555 (___Q_simulate_exceptions): Use real FP ops rather than writing
37556 into the %fsr.
37557 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
37558 Likewise.
37559
7dc00e0d
L
375602012-05-30 H.J. Lu <hongjiu.lu@intel.com>
37561
37562 [BZ #14117]
0bd53985
L
37563 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
37564 * sysdeps/x86/bits/xtitypes.h: This.
37565
3a257e66
L
37566 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
37567 * sysdeps/x86/bits/wordsize.h: This.
37568
62f62904
L
37569 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
37570 * sysdeps/x86/bits/huge_vall.h: This.
37571
404fe9d9
L
37572 * sysdeps/i386/bits/select.h: Removed.
37573 * sysdeps/x86_64/bits/select.h: Renamed to ...
37574 * sysdeps/x86/bits/select.h: This.
37575
d48d0446
L
37576 * sysdeps/i386/bits/setjmp.h: Removed.
37577 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
37578 * sysdeps/x86/bits/setjmp.h: This.
37579
7dc00e0d
L
37580 * sysdeps/i386/bits/mathdef.h: Removed.
37581 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
37582 * sysdeps/x86/bits/mathdef.h: This.
37583
03277f8f
AS
375842012-05-30 Andreas Schwab <schwab@linux-m68k.org>
37585
37586 [BZ #14132]
37587 * include/sys/socket.h (__connect_internal)
37588 (__libc_sa_len_internal): Remove declaration.
37589 (__connect, __libc_sa_len): Declare hidden_proto.
37590 (SA_LEN): Remove use of INTUSE.
37591 * socket/connect.c: Add libc_hidden_def.
37592 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
37593 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
37594 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
37595 alias.
37596 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
37597 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
37598 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
37599 of adding _internal alias.
37600
13764867
L
376012012-05-30 H.J. Lu <hongjiu.lu@intel.com>
37602
37603 [BZ #14117]
6bd97696
L
37604 * sysdeps/i386/bits/link.h: Removed.
37605 * sysdeps/i386/bits/linkmap.h: Likewise.
37606 * sysdeps/x86_64/bits/link.h: Renamed to ...
37607 * sysdeps/x86/bits/link.h: This.
37608 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
37609 * sysdeps/x86/bits/linkmap.h: This.
37610
f726f0bb
L
37611 * sysdeps/i386/bits/endian.h: Removed.
37612 * sysdeps/x86_64/bits/endian.h: Renamed to ...
37613 * sysdeps/x86/bits/endian.h: This.
37614
13764867
L
37615 * sysdeps/i386/bits/byteswap.h: Removed.
37616 * sysdeps/i386/bits/byteswap-16.h: Likewise.
37617 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
37618 * sysdeps/x86/bits/byteswap.h: This.
37619 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
37620 * sysdeps/x86/bits/byteswap-16.h: This.
37621 * sysdeps/i386/Implies: Add x86.
37622 * sysdeps/x86_64/Implies: Likewise.
37623
ae251b0b
DM
376242012-05-30 David S. Miller <davem@davemloft.net>
37625
37626 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
37627 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
37628 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
37629 (FP_TRAPPING_EXCEPTIONS): Define.
37630 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
37631 (FP_TRAPPING_EXCEPTIONS): Define.
37632 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
37633 subnormals only when inexact has been signalled or underflow
37634 exceptions are enabled.
37635 (_FP_PACK_CANONICAL): Likewise.
37636
d5c90867
L
376372012-05-30 H.J. Lu <hongjiu.lu@intel.com>
37638
37639 [BZ #14183]
37640 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
37641 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
37642
63f1549e
RH
376432012-05-30 Richard Henderson <rth@twiddle.net>
37644
8d8f2279
RH
37645 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
37646 with #ifndef NOT_IN_libc.
37647
63f1549e
RH
37648 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
37649 marked to avoid plt entry.
37650
0ab0291b
L
376512012-05-30 H.J. Lu <hongjiu.lu@intel.com>
37652
37653 [BZ #14112]
37654 * Makeconfig (default-abi): New macro.
37655 (abi-includes): Likewise.
37656 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
37657 $(abi-$(default-abi)-lib-soname) for soname if defined.
37658 ($(common-objpfx)gnu/lib-names.stmp): Generate from
37659 abi-variants.
37660 * Makefile (installed-stubs): Likewise.
37661 * include/stubs-biarch.h: Removed.
37662 * scripts/lib-names.awk: Only handle one library at a time.
37663 * scripts/soversions.awk: Remove WORDSIZE support.
37664 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
37665 entries.
37666 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
37667 Removed.
37668 (syscall-list-default-condition): Likewise.
37669 (syscall-list-default-condition): Likewise.
37670 (syscall-list-includes): Likewise.
37671 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
37672 syscall-list-* with abi-*. Handle undefined abi-variants.
37673 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
37674 * sysdeps/unix/sysv/linux/i386/Implies: New file.
37675 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
37676 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
37677 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
37678 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
37679 Removed.
37680 (syscall-list-32-options): Likewise.
37681 (syscall-list-32-condition): Likewise.
37682 (syscall-list-64-options): Likewise.
37683 (syscall-list-64-condition): Likewise.
37684 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
37685 macro.
37686 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
37687 Renamed to ...
37688 (abi-*): This.
37689 (abi-64-ld-soname): New macro.
37690 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
37691 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
37692 Renamed to ...
37693 (abi-*): This.
37694 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
37695 * sysdeps/x86_64/x32/shlib-versions: Likewise.
37696
4da0431d
JM
376972012-05-30 Joseph Myers <joseph@codesourcery.com>
37698
3a85279c
JM
37699 * sysdeps/unix/sysv/linux/kernel-features.h
37700 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
37701 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
37702 include <kernel-features.h>.
37703 [!__NR_ftruncate64]: Remove conditional code.
37704 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
37705 [__NR_ftruncate64]: Make code unconditional.
37706 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
37707 * sysdeps/unix/sysv/linux/truncate64.c: Do not
37708 include <kernel-features.h>.
37709 [!__NR_ftruncate64]: Remove conditional code.
37710 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
37711 [__NR_ftruncate64]: Make code unconditional.
37712 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
37713 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
37714 include <kernel-features.h>.
37715 [!__NR_ftruncate64]: Remove conditional code.
37716 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
37717 [__NR_ftruncate64]: Make code unconditional.
37718 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
37719 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
37720 include <kernel-features.h>.
37721 [!__NR_ftruncate64]: Remove conditional code.
37722 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
37723 [__NR_ftruncate64]: Make code unconditional.
37724 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
37725
4da0431d
JM
37726 * configure.in (libc_cv_fpie): Weaken to a compile test using
37727 LIBC_TRY_CC_OPTION.
37728 * configure: Regenerated.
37729
11ef492c
AK
377302012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37731
37732 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
37733 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
37734 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
37735 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
37736 Refreshed.
37737 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
37738 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
37739 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
37740 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
37741 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
37742 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
37743 Refreshed.
37744
d66ef399
DM
377452012-05-27 David S. Miller <davem@davemloft.net>
37746
37747 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
37748 (___Q_zero): New.
37749 (__Q_simulate_exceptions): Return void. Change to simulate
37750 exceptions by writing into the %fsr.
37751 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
37752 (__Qp_handle_exceptions): Likewise.
37753 (numbers): Delete.
37754 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
37755 __Qp_handle_exceptions.
37756 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
37757 __Qp_handle_exceptions.
37758 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
37759 as unused and give dummy FP_RND_NEAREST initializer.
37760 (FP_INHIBIT_RESULTS): Define.
37761 (___Q_simulate_exceptions): Update declaration.
37762 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
37763 formatting.
37764 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
37765 as unused and give dummy FP_RND_NEAREST initializer.
37766 (__Qp_handle_exceptions): Update declaration.
37767 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
37768 formatting.
37769
04fb54b5
TS
377702012-05-27 Thomas Schwinge <thomas@codesourcery.com>
37771
37772 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
37773 the temporary FPU control word.
37774 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
37775 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
37776 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
37777 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
37778 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
37779 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
37780 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
37781 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
37782 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
37783 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
37784 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
37785
3f99608f
KK
377862012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
37787
37788 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
37789 fields.
37790
65a4de4e
CLT
377912012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
37792
37793 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
37794 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
37795 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
37796 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
37797 Likewise.
37798 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
37799 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
37800 Likewise.
37801
15749d40
UD
378022012-05-27 Ulrich Drepper <drepper@gmail.com>
37803
37804 * po/h.po: Update from translation team.
37805
25dbcb27
AS
378062012-05-26 Andreas Schwab <schwab@linux-m68k.org>
37807
3d3f8e55
AS
37808 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
37809
25dbcb27
AS
37810 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
37811 handling of denormals.
37812 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
37813 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
37814 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
37815 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
37816 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
37817 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
37818 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
37819 Likewise.
37820
7ad47a80 378212012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
37822
37823 [BZ #14152]
37824 * math/libm-test.inc (fma_test): Don't always expect underflow
37825 exception.
37826
9c6ea9fa
SP
378272012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
37828
37829 [BZ #12416]
37830 * elf/tst-execstack.c: Include stackinfo.h.
37831 (do_test): Adjust test case to ensure that pthread_getattr_np
37832 behaviour remains the same after marking stack executable.
37833
a8239222
JM
378342012-05-25 Joseph Myers <joseph@codesourcery.com>
37835
37836 * sysdeps/unix/sysv/linux/kernel-features.h
37837 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
37838 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
37839 kernel-features.h.
37840 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
37841 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
37842 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
37843 kernel-features.h.
37844 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
37845 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
37846
918b5606
L
378472012-05-25 H.J. Lu <hongjiu.lu@intel.com>
37848
37849 * configure.in: Define the default includes to being none.
37850 * configure: Regenerated.
37851
3a097cc7
RM
378522012-05-25 Roland McGrath <roland@hack.frob.com>
37853
8422c9a5
RM
37854 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
37855 * sysdeps/x86_64/setjmp.S: Likewise.
37856 * sysdeps/i386/bsd-setjmp.S: Likewise.
37857 * sysdeps/i386/bsd-_setjmp.S: Likewise.
37858 * sysdeps/i386/setjmp.S: Likewise.
37859 * sysdeps/i386/__longjmp.S: Likewise.
37860 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
37861 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
37862
3a097cc7
RM
37863 * include/stap-probe.h: New file.
37864 * configure.in: Handle --enable-systemtap.
37865 * configure: Regenerated.
37866 * config.h.in (USE_STAP_PROBE): New #undef.
37867 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
37868 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
37869 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
37870
21708942
JM
378712012-05-25 Joseph Myers <joseph@codesourcery.com>
37872
37873 [BZ #13717]
37874 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
37875 to 2.4.0 where earlier.
37876 * sysdeps/unix/sysv/linux/configure: Regenerated.
37877 * sysdeps/unix/sysv/linux/i386/chown.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/fchown.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/fchownat.c (fchownat)
37886 [__ASSUME_32BITUIDS]: Make code unconditional.
37887 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
37888 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
37889 <kernel-features.h>.
37890 [__ASSUME_32BITUIDS]: Make code unconditional.
37891 [!__ASSUME_32BITUIDS]: Remove conditional code.
37892 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
37893 <kernel-features.h>.
37894 [__ASSUME_32BITUIDS]: Make code unconditional.
37895 [!__ASSUME_32BITUIDS]: Remove conditional code.
37896 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
37897 <kernel-features.h>.
37898 [__ASSUME_32BITUIDS]: Make code unconditional.
37899 [!__ASSUME_32BITUIDS]: Remove conditional code.
37900 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
37901 <kernel-features.h>.
37902 [__ASSUME_32BITUIDS]: Make code unconditional.
37903 [!__ASSUME_32BITUIDS]: Remove conditional code.
37904 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
37905 <kernel-features.h>.
37906 [__ASSUME_32BITUIDS]: Make code unconditional.
37907 [!__ASSUME_32BITUIDS]: Remove conditional code.
37908 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
37909 <kernel-features.h>.
37910 [__ASSUME_32BITUIDS]: Make code unconditional.
37911 [!__ASSUME_32BITUIDS]: Remove conditional code.
37912 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
37913 <kernel-features.h>.
37914 [__ASSUME_32BITUIDS]: Make code unconditional.
37915 [!__ASSUME_32BITUIDS]: Remove conditional code.
37916 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
37917 <kernel-features.h>.
37918 [__ASSUME_32BITUIDS]: Make code unconditional.
37919 [!__ASSUME_32BITUIDS]: Remove conditional code.
37920 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
37921 <kernel-features.h>.
37922 [__ASSUME_32BITUIDS]: Make code unconditional.
37923 [!__ASSUME_32BITUIDS]: Remove conditional code.
37924 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
37925 <kernel-features.h>.
37926 [__ASSUME_32BITUIDS]: Make code unconditional.
37927 [!__ASSUME_32BITUIDS]: Remove conditional code.
37928 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
37929 <kernel-features.h>.
37930 [__NR_setresgid] (__setresgid): Do not declare.
37931 [__ASSUME_32BITUIDS]: Make code unconditional.
37932 [!__ASSUME_32BITUIDS]: Remove conditional code.
37933 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
37934 <kernel-features.h>.
37935 [__NR_setresuid] (__setresuid): Do not declare.
37936 [__ASSUME_32BITUIDS]: Make code unconditional.
37937 [!__ASSUME_32BITUIDS]: Remove conditional code.
37938 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
37939 <kernel-features.h>.
37940 [__ASSUME_32BITUIDS]: Make code unconditional.
37941 [!__ASSUME_32BITUIDS]: Remove conditional code.
37942 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
37943 <kernel-features.h>.
37944 [__ASSUME_32BITUIDS]: Make code unconditional.
37945 [!__ASSUME_32BITUIDS]: Remove conditional code.
37946 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
37947 <kernel-features.h>.
37948 [__ASSUME_32BITUIDS]: Make code unconditional.
37949 [!__ASSUME_32BITUIDS]: Remove conditional code.
37950 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
37951 <kernel-features.h>.
37952 [__ASSUME_32BITUIDS]: Make code unconditional.
37953 [!__ASSUME_32BITUIDS]: Remove conditional code.
37954 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
37955 <kernel-features.h>.
37956 [__ASSUME_32BITUIDS]: Make code unconditional.
37957 [!__ASSUME_32BITUIDS]: Remove conditional code.
37958 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
37959 <kernel-features.h>.
37960 [__ASSUME_32BITUIDS]: Make code unconditional.
37961 [!__ASSUME_32BITUIDS]: Remove conditional code.
37962 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
37963 <kernel-features.h>.
37964 [__ASSUME_32BITUIDS]: Make code unconditional.
37965 [!__ASSUME_32BITUIDS]: Remove conditional code.
37966 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
37967 <kernel-features.h>.
37968 [__ASSUME_32BITUIDS]: Make code unconditional.
37969 [!__ASSUME_32BITUIDS]: Remove conditional code.
37970 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
37971 <kernel-features.h>.
37972 [__ASSUME_32BITUIDS]: Make code unconditional.
37973 [!__ASSUME_32BITUIDS]: Remove conditional code.
37974 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
37975 <kernel-features.h>.
37976 [__ASSUME_32BITUIDS]: Make code unconditional.
37977 [!__ASSUME_32BITUIDS]: Remove conditional code.
37978 * sysdeps/unix/sysv/linux/kernel-features.h
37979 (__ASSUME_SETRESUID_SYSCALL): Remove.
37980 (__ASSUME_SETRESGID_SYSCALL): Likewise.
37981 (__ASSUME_32BITUIDS): Likewise.
37982 (__ASSUME_LDT_WORKS): Likewise.
37983 (__ASSUME_O_DIRECTORY): Likewise.
37984 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
37985 architecture but not kernel version.
37986 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
37987 (__ASSUME_MMAP2_SYSCALL): Likewise.
37988 (__ASSUME_STAT64_SYSCALL): Likewise.
37989 (__ASSUME_IPC64): Likewise.
37990 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
37991 <kernel-features.h>.
37992 [__ASSUME_32BITUIDS]: Make code unconditional.
37993 [!__ASSUME_32BITUIDS]: Remove conditional code.
37994 * sysdeps/unix/sysv/linux/opendir.c: Do not include
37995 <kernel-features.h>.
37996 [__ASSUME_O_DIRECTORY]: Make code unconditional.
37997 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
37998 132096]: Remove conditional code.
37999 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
38000 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
38001 <kernel-features.h>.
38002 [__ASSUME_32BITUIDS]: Make code unconditional.
38003 [!__ASSUME_32BITUIDS]: Remove conditional code.
38004 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
38005 <kernel-features.h>.
38006 [__ASSUME_32BITUIDS]: Make code unconditional.
38007 [!__ASSUME_32BITUIDS]: Remove conditional code.
38008 * sysdeps/unix/sysv/linux/setegid.c: Do not include
38009 <kernel-features.h>.
38010 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
38011 unconditional.
38012 (__setresgid): Do not declare.
38013 [__ASSUME_32BITUIDS]: Make code unconditional.
38014 [!__ASSUME_32BITUIDS]: Remove conditional code.
38015 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
38016 <kernel-features.h>.
38017 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
38018 unconditional.
38019 (__setresuid): Do not declare.
38020 [__ASSUME_32BITUIDS]: Make code unconditional.
38021 [!__ASSUME_32BITUIDS]: Remove conditional code.
38022 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
38023 <kernel-features.h>.
38024 [__ASSUME_32BITUIDS]: Make code unconditional.
38025 [!__ASSUME_32BITUIDS]: Remove conditional code.
38026 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
38027 <kernel-features.h>.
38028 [__ASSUME_32BITUIDS]: Make code unconditional.
38029 [!__ASSUME_32BITUIDS]: Remove conditional code.
38030
a386f1cc
RH
380312012-05-25 Richard Henderson <rth@twiddle.net>
38032
38033 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
38034 dl_hwcap to ifunc resolver.
38035 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
38036 elf_ifunc_invoke.
38037 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
38038 dl_hwcap to ifunc resolver.
38039 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
38040
b6550497
JM
380412012-05-24 Joseph Myers <joseph@codesourcery.com>
38042
38043 [BZ #14153]
38044 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
38045 for |x| <= 2**-26, not 2**-57.
38046 * math/libm-test.inc (acos_test): Do not allow spurious underflow
38047 exception.
38048
b0bc23a1
JL
380492012-05-24 Jeff Law <law@redhat.com>
38050
38051 * stdio-common/Makefile (tests): Add bug25.
38052 * stdio-common/bug25.c: New test.
38053
347c92e9
L
380542012-05-24 H.J. Lu <hongjiu.lu@intel.com>
38055
38056 [BZ #13576]
38057 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
38058 multiple of MALLOC_ALIGNMENT in size.
38059 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
38060
6bcc8b3f
JM
380612012-05-24 Joseph Myers <joseph@codesourcery.com>
38062
38063 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
38064 Require >= 256.
38065 (FILENAME_MAX): Use macro-int-constant.
38066 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
38067 (_IOFBF): Use macro-int-constant.
38068 (_IOLBF): Likewise.
38069 (_IONBF): Likewise.
38070 (SEEK_CUR): Likewise.
38071 (SEEK_END): Likewise.
38072 (SEEK_SET): Likewise.
38073 (TMP_MAX): Likewise.
38074 (EOF): Use macro-int-constant. Require < 0.
38075 (NULL): Use macro-constant. Require == 0.
38076 (stdin): Require type to be FILE *.
38077 (stdout): Likewise.
38078 (stderr): Likewise.
38079 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
38080 macro-int-constant.
38081 (EXIT_SUCCESS): Likewise.
38082 (NULL): Use macro-constant. Require == 0.
38083 (RAND_MAX): Use macro-int-constant.
38084 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
38085 [C99-based standards] (strtof): Require function.
38086 [C99-based standards] (strtold): Likewise.
38087 [C99-based standards] (strtoll): Likewise.
38088 [C99-based standards] (strtoull): Likewise.
38089 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
38090 [ISO || ISO99 || ISO11] (limits.h): Likewise.
38091 [ISO || ISO99 || ISO11] (math.h): Likewise.
38092 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
38093 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
38094 [ISO || ISO99 || ISO11] (*_t): Do not allow.
38095
d18ea0c5
AS
380962012-05-24 Andreas Schwab <schwab@linux-m68k.org>
38097
38098 [BZ #14132]
56d25bb8
AS
38099 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
38100 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
38101 * intl/dgettext.c (DCGETTEXT): Likewise.
38102 * intl/gettext.c (DCGETTEXT): Likewise.
38103 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
38104 * posix/regex_internal.h (gettext): Likewise.
38105 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
38106 Remove declaration.
38107 * include/argz.h (__argz_count_internal)
38108 (__argz_stringify_internal): Remove declaration.
38109 (__argz_count, __argz_stringify): Declare hidden proto.
38110 * intl/dcgettext.c: Remove use of INTDEF.
38111 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
38112 * string/argz-stringify.c: Likewise.
38113 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
38114 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
38115 Declare hidden proto.
d18ea0c5
AS
38116 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
38117 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
38118 Declare hidden proto.
38119 * include/stdio.h (__asprintf_internal): Don't declare.
38120 (__asprintf): Don't define as macro. Declare hidden proto.
38121 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
38122 (__fsetlocking): Declare hidden proto.
38123 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
38124 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
38125 hidden proto.
38126 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
38127 (_IO_setlinebuf): Remove use of INTUSE.
38128 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
38129 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
38130 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
38131 Remove declaration.
38132 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
38133 (_IO_do_flush): Remove use of INTUSE.
38134 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
38135 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
38136 (_IO_adjust_column, _IO_least_wmarker)
38137 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
38138 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
38139 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
38140 (_IO_default_doallocate, _IO_wdefault_doallocate)
38141 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
38142 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
38143 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
38144 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
38145 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
38146 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
38147 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
38148 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
38149 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
38150 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
38151 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
38152 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
38153 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
38154 proto.
38155 (_IO_flush_all_internal, _IO_adjust_column_internal)
38156 (_IO_default_uflow_internal, _IO_default_finish_internal)
38157 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
38158 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
38159 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
38160 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
38161 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
38162 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
38163 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
38164 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
38165 (_IO_file_close_internal, _IO_file_close_it_internal)
38166 (_IO_file_underflow_internal, _IO_file_overflow_internal)
38167 (_IO_file_init_internal, _IO_file_attach_internal)
38168 (_IO_file_fopen_internal, _IO_file_read_internal)
38169 (_IO_file_sync_internal, _IO_file_seek_internal)
38170 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
38171 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
38172 (_IO_str_underflow_internal, _IO_str_overflow_internal)
38173 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
38174 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
38175 (_IO_list_all_internal, _IO_link_in_internal)
38176 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
38177 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
38178 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
38179 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
38180 (_IO_do_write_internal, _IO_padn_internal)
38181 (_IO_getline_info_internal, _IO_getline_internal)
38182 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
38183 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
38184 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
38185 (_IO_vfscanf_internal, _IO_vfprintf_internal)
38186 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
38187 (_IO_init_internal, _IO_un_link_internal): Don't declare.
38188 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
38189 with libc_hidden_ver, remove use of INTUSE.
38190 * libio/genops.c: Likewise.
38191 * libio/freopen.c: Likewise.
38192 * libio/freopen64.c: Likewise.
38193 * libio/iofclose.c: Likewise.
38194 * libio/iofdopen.c: Likewise.
38195 * libio/iofflush.c: Likewise.
38196 * libio/iofflush_u.c: Likewise.
38197 * libio/iofgets.c: Likewise.
38198 * libio/iofgets_u.c: Likewise.
38199 * libio/iofopen.c: Likewise.
38200 * libio/iofopncook.c: Likewise.
38201 * libio/iofread.c: Likewise.
38202 * libio/iofread_u.c: Likewise.
38203 * libio/ioftell.c: Likewise.
38204 * libio/iofwrite.c: Likewise.
38205 * libio/iogetline.c: Likewise.
38206 * libio/iogets.c: Likewise.
38207 * libio/iogetwline.c: Likewise.
38208 * libio/iopadn.c: Likewise.
38209 * libio/iopopen.c: Likewise.
38210 * libio/ioseekoff.c: Likewise.
38211 * libio/ioseekpos.c: Likewise.
38212 * libio/iosetbuffer.c: Likewise.
38213 * libio/iosetvbuf.c: Likewise.
38214 * libio/ioungetc.c: Likewise.
38215 * libio/ioungetwc.c: Likewise.
38216 * libio/iovdprintf.c: Likewise.
38217 * libio/iovsprintf.c: Likewise.
38218 * libio/iovsscanf.c: Likewise.
38219 * libio/memstream.c: Likewise.
38220 * libio/obprintf.c: Likewise.
38221 * libio/oldfileops.c: Likewise.
38222 * libio/oldiofclose.c: Likewise.
38223 * libio/oldiofdopen.c: Likewise.
38224 * libio/oldiofopen.c: Likewise.
38225 * libio/oldiopopen.c: Likewise.
38226 * libio/oldstdfiles.c: Likewise.
38227 * libio/putc.c: Likewise.
38228 * libio/setbuf.c: Likewise.
38229 * libio/setlinebuf.c: Likewise.
38230 * libio/stdfiles.c: Likewise.
38231 * libio/strops.c: Likewise.
38232 * libio/vasprintf.c: Likewise.
38233 * libio/vscanf.c: Likewise.
38234 * libio/vsnprintf.c: Likewise.
38235 * libio/vswprintf.c: Likewise.
38236 * libio/wfiledoalloc.c: Likewise.
38237 * libio/wfileops.c: Likewise.
38238 * libio/wgenops.c: Likewise.
38239 * libio/wmemstream.c: Likewise.
38240 * libio/wstrops.c: Likewise.
38241 * libio/__fpurge.c: Likewise.
38242 * libio/__fsetlocking.c: Likewise.
38243 * assert/assert.c: Likewise.
38244 * debug/fgets_chk.c: Likewise.
38245 * debug/fgets_u_chk.c: Likewise.
38246 * debug/fread_chk.c: Likewise.
38247 * debug/fread_u_chk.c: Likewise.
38248 * debug/gets_chk.c: Likewise.
38249 * debug/obprintf_chk.c: Likewise.
38250 * debug/vasprintf_chk.c: Likewise.
38251 * debug/vdprintf_chk.c: Likewise.
38252 * debug/vsnprintf_chk.c: Likewise.
38253 * debug/vsprintf_chk.c: Likewise.
38254 * malloc/mtrace.c: Likewise.
38255 * misc/error.c: Likewise.
38256 * misc/syslog.c: Likewise.
38257 * stdio-common/asprintf.c: Likewise.
38258 * stdio-common/fxprintf.c: Likewise.
38259 * stdio-common/getw.c: Likewise.
38260 * stdio-common/isoc99_fscanf.c: Likewise.
38261 * stdio-common/isoc99_scanf.c: Likewise.
38262 * stdio-common/isoc99_vfscanf.c: Likewise.
38263 * stdio-common/isoc99_vscanf.c: Likewise.
38264 * stdio-common/isoc99_vsscanf.c: Likewise.
38265 * stdio-common/printf-prs.c: Likewise.
38266 * stdio-common/printf_fp.c: Likewise.
38267 * stdio-common/printf_fphex.c: Likewise.
38268 * stdio-common/printf_size.c: Likewise.
38269 * stdio-common/putw.c: Likewise.
38270 * stdio-common/scanf.c: Likewise.
38271 * stdio-common/sprintf.c: Likewise.
38272 * stdio-common/tmpfile.c: Likewise.
38273 * stdio-common/vfprintf.c: Likewise.
38274 * stdio-common/vfscanf.c: Likewise.
38275 * stdlib/strfmon_l.c: Likewise.
38276 * sunrpc/openchild.c: Likewise.
38277 * sunrpc/xdr_stdio.c: Likewise.
38278 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
38279 * sysdeps/mach/hurd/tmpfile.c: Likewise.
38280
d6c33fda
RM
382812012-05-24 Roland McGrath <roland@hack.frob.com>
38282
c1487492
RM
38283 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
38284
38285 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
38286 in the third column, to generate for the shared library an IFUNC
38287 that uses _dl_vdso_vsym.
38288 * Makerules (COMPILE.c, compile-stdin.c): New variables.
38289 * Makeconfig (object-suffixes-noshared): New variable.
38290
38291 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
38292 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
38293 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
38294 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
38295
d6c33fda
RM
38296 [BZ #14132]
38297 * include/sys/time.h (__gettimeofday): Remove macro.
38298 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
38299 * time/gettimeofday.c (__gettimeofday): Remove #undef.
38300 Remove INTDEF.
38301 (__gettimeofday): Add libc_hidden_def.
38302 (gettimeofday): Add libc_hidden_weak.
38303 * sysdeps/mach/gettimeofday.c: Likewise.
38304 * sysdeps/posix/gettimeofday.c: Likewise.
38305 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
38306 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
38307 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
38308 (__gettimeofday_internal): Remove strong_alias.
38309 (__gettimeofday): Add libc_hidden_def.
38310 (gettimeofday): Add libc_hidden_weak.
38311 * sysdeps/unix/syscalls.list (gettimeofday):
38312 Remove __gettimeofday_internal alias.
38313
b5a2bbe6
L
383142012-05-24 Daniel Jacobowitz <drow@false.org>
38315 H.J. Lu <hongjiu.lu@intel.com>
38316
38317 [BZ #12495]
38318 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
38319 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
38320 (largebin_index_32_big): New.
38321 (largebin_index): Use it for 16-byte alignment.
38322 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
38323 correction with front_misalign.
38324
cfba4fda
L
383252012-05-24 H.J. Lu <hongjiu.lu@intel.com>
38326
7f907421
L
38327 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
38328 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
38329 Likewise.
38330 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
38331 Likewise.
38332 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
38333 Likewise.
38334 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
38335 Likewise.
38336 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
38337 Likewise.
38338 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
38339 Likewise.
38340 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
38341 Likewise.
38342 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
38343 Likewise.
38344 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
38345 Likewise.
38346 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
38347 Likewise.
38348 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
38349 Likewise.
38350 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
38351 Likewise.
38352
cfba4fda
L
38353 * scripts/data/c++-types-x32-linux-gnu.data: New file.
38354 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
38355
80bad0cc
JM
383562012-05-24 Joseph Myers <joseph@codesourcery.com>
38357
7a25eb06
JM
38358 [BZ #10846]
38359 [BZ #14036]
38360 * math/libm-test.inc (exp_test): Add test from bug 14036.
38361 (pow_test): Add test from bug 10846.
38362
795405f9
JM
38363 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
38364 and other flags.
38365 (special_function): Do not include flags in test name.
38366 (parse_args): Likewise.
38367 * sysdeps/i386/fpu/libm-test-ulps: Update.
38368 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
38369 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
38370 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
38371 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38372
80bad0cc
JM
38373 * math/gen-libm-test.pl (%beautify): Add entries for underflow
38374 exceptions.
38375 * math/libm-test.inc ("Philosophy"): Update comment about
38376 exception testing.
38377 (UNDERFLOW_EXCEPTION): New macro.
38378 (UNDERFLOW_EXCEPTION_OK): Likewise.
38379 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
38380 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
38381 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
38382 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
38383 (INVALID_EXCEPTION_OK): Update value.
38384 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
38385 (OVERFLOW_EXCEPTION_OK): Likewise.
38386 (IGNORE_ZERO_INF_SIGN): Likewise.
38387 (test_exceptions): Handle underflow exceptions.
38388 (acos_test): Update for underflow exception expectations.
38389 (cexp_test): Likewise.
38390 (clog_test): Likewise.
38391 (clog10_test): Likewise.
38392 (csqrt_test): Likewise.
38393 (ctan_test): Likewise.
38394 (ctanh_test): Likewise.
38395 (exp_test): Likewise.
38396 (exp10_test): Likewise.
38397 (exp2_test): Likewise.
38398 (expm1_test): Likewise.
38399 (fma_test): Likewise.
38400 (j0_test): Likewise.
38401 (jn_test): Likewise.
38402 (nexttoward_test): Likewise.
38403 (pow_test): Likewise.
38404 (scalbn_test): Likewise.
38405 (scalbln_test): Likewise.
38406 (tan_test): Likewise.
38407 (y1_test): Likewise.
38408 * sysdeps/i386/fpu/libm-test-ulps: Update.
38409 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38410
9e0e3d0b
DM
384112012-05-23 David S. Miller <davem@davemloft.net>
38412
38413 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
38414 (__libc_sigaction): Remove unused local variables.
38415
ccd0a08f
L
384162012-05-23 H.J. Lu <hongjiu.lu@intel.com>
38417
38418 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
38419
62bdf9a6
PE
384202012-05-23 Paul Eggert <eggert@cs.ucla.edu>
38421
f8591f80
PE
38422 mktime: avoid signed integer overflow
38423 * time/mktime.c (__mktime_internal): Do not mishandle the case
38424 where diff == INT_MIN.
38425
94c7d826
PE
38426 mktime: simplify computation of average
38427 * time/mktime.c (ranged_convert): Use new time_t_avg function
38428 instead of rolling our own (probably-slower) code.
38429
ce73d683
PE
38430 mktime: do not assume signed right shift propagates sign bit
38431 * time/mktime.c (isdst_differ): New static function.
38432 (__mktime_internal): No need to normalize tm_isdst now.
38433 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
38434 tm_isdst values.
38435
72a22e59
PE
38436 mktime: merge another wrapv change from gnulib
38437 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
38438 from some compilers.
38439
68605433
PE
38440 mktime: remove incorrect attempt at unusual arithmetics
38441 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
38442 The code didn't really work on such machines anyway.
38443 (TYPE_MINIMUM): Assume two's complement.
38444 (twos_complement_arithmetic): Verify that long_int and time_t
38445 are two's complement (or unsigned, in the latter case).
38446
03cf7fe3
PE
38447 mktime: check signed shifts on long_int and time_t, too
38448 * time/mktime.c (SHR): Check that shifts work as desired
38449 on the types long_int and time_t too, as SHR is used on
38450 such types.
38451
f04dfbc2
PE
38452 mktime: do not assume 'long' is wide enough
38453 * time/mktime.c (verify): Move decl up.
38454 (long_int): New type.
38455 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
38456 to remove assumption in the code that 'long' is wide enough to
38457 store year values. This assumption is not true on x32 and on
38458 some non-glibc platforms.
38459
62bdf9a6
PE
38460 mktime: merge wrapv change from gnulib
38461 * time/mktime.c (WRAPV): New macro.
38462 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
38463 (guess_time_tm, __mktime_internal): Do not assume that signed
38464 integer overflow wraps around; modern compilers generate code
38465 where this assumption is no longer valid.
38466
5e292e4f
L
384672012-05-23 H.J. Lu <hongjiu.lu@intel.com>
38468
38469 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
38470 Replace "jmp L(pseudo_end)" with "ret".
38471 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
38472 Likewise.
38473
8caf8c87
AJ
384742012-05-23 Andreas Jaeger <aj@suse.de>
38475
38476 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
38477 * sysdeps/unix/sysv/linux/poll.c: Remove file.
38478
1a09dc56
AJ
384792012-05-23 Andreas Jaeger <aj@suse.de>
38480 Maximilian Attems <max@stro.at>
38481
38482 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
38483 New macros.
38484
1c87aba0
L
384852012-05-23 H.J. Lu <hongjiu.lu@intel.com>
38486
38487 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
38488 code so that pseudo_end is just ret and the stack pointer is
38489 correct also for static library in error case.
38490
40e45bd5
JM
384912012-05-23 Joseph Myers <joseph@codesourcery.com>
38492
c2670533
JM
38493 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
38494 move to syscalls.list.
38495 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
38496 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
38497 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
38498 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
38499
40e45bd5
JM
38500 * manual/install.texi (Running make install): Do not mention Linux
38501 kernel version for which pt_chown is not needed.
38502 (Linux): Do not mention problems with nscd with 2.0 kernels.
38503 * INSTALL: Regenerated.
38504
be08eda5
AJ
385052012-05-23 Andreas Jaeger <aj@suse.de>
38506
38507 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
38508 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
38509 macro.
38510 * sysdeps/unix/sysv/linux/s390/bits/mman.h
38511 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
38512 * sysdeps/unix/sysv/linux/sh/bits/mman.h
38513 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
38514 * sysdeps/unix/sysv/linux/i386/bits/mman.h
38515 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
38516 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
38517 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
38518 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
38519 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
38520 * sysdeps/unix/sysv/linux/bits/in.h
38521 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
38522
a6a056bb
RM
385232012-05-22 Roland McGrath <roland@hack.frob.com>
38524
38525 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
38526 (PREPARE_VERSION): Just use assert instead, it will be elided
38527 under [NDEBUG] anyway.
38528
c9009328
L
385292012-05-22 H.J. Lu <hongjiu.lu@intel.com>
38530
38531 * sysdeps/unix/sysv/linux/Makefile: Include
38532 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 38533 (sysdep_routines): Remove sysctl.
c9009328
L
38534 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
38535 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
38536 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
38537 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
38538 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
38539
73338355
AJ
385402012-05-22 Andreas Jaeger <aj@suse.de>
38541
38542 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
38543 that pseudo_end is just ret and the stack pointer is correct also
38544 for static library in error case.
38545
d44638b0
PP
385462012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
38547
38548 [BZ #14122]
38549 * nss/nsswitch.c (defconfig_entries): New variable.
38550 (__nss_database_lookup): Don't leak defconfig entries.
38551 (nss_parse_service_list): Don't leak on error paths.
38552 (free_database_entries): New function.
38553 (free_defconfig): New function.
38554 (free_mem): Move common code to free_database_entries.
38555
31a39bd8
L
385562012-05-22 H.J. Lu <hongjiu.lu@intel.com>
38557
da0331a8
L
38558 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
38559 Add arch_prctl.
38560 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
38561
31a39bd8
L
38562 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
38563 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
38564 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
38565 New macro.
38566 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
38567 (INTERNAL_SYSCALL_TYPES): Likewise.
38568 (LOAD_ARGS_TYPES_[1-6]): Likewise.
38569 (LOAD_REGS_TYPES_[1-6]): Likewise.
38570 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
38571 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
38572
45470df3
AZ
385732012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38574
38575 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
38576 copysignl for GLIBC_2_0.
38577 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
38578 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
38579 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
38580 logbl for GLIBC_2_0.
38581 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
38582 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
38583
98a61bcb
L
385842012-05-22 H.J. Lu <hongjiu.lu@intel.com>
38585
a4f6e481
L
38586 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
38587 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
38588
f63d5db6
L
38589 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
38590 Use "neg %eax".
38591
98a61bcb
L
38592 * time/mktime.c: Update copyright years.
38593
95770f14
PE
385942012-05-22 Paul Eggert <eggert@cs.ucla.edu>
38595
6226efbd
PE
38596 mktime: merge comment-quoting-style change from gnulib
38597 * time/mktime.c: Quote 'like this' in comments.
38598 The GNU coding standards suggest that we no longer quote `like this',
38599 as "`" and "'" are typically rendered asymmetrically nowadays.
38600 The typical gnulib style is to quote 'like this' when quoting
38601 code, and "like this" when quoting English.
38602
b99e4f78
PE
38603 * time/mktime.c (compile-command): Add "-I.".
38604
643e01e6
PE
38605 mktime: merge mktime-internal.h change from gnulib
38606 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
38607
2554247d
PE
38608 mktime: merge time_r change from gnulib
38609 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
38610
826dd0ab
PE
38611 mktime: merge DEBUG change from gnulib
38612 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
38613 case system <time.h> has a #define.
38614
bd83aabe
PE
38615 mktime: merge <sys/types.h> change from gnulib
38616 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
38617 since <time.t> is now guaranteed to define time_t.
38618
95770f14
PE
38619 mktime: merge HAVE_CONFIG_H change from gnulib
38620 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
38621
5e1a27a9
L
386222012-05-22 H.J. Lu <hongjiu.lu@intel.com>
38623
0e44a77e
L
38624 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
38625 Use "neg %eax".
38626
5e1a27a9
L
38627 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
38628 __rlim_t cast.
38629 (struct rusage): Use anonymous union to pad each field to
38630 __syscall_slong_t.
38631
46259bec
DM
386322012-05-21 David S. Miller <davem@davemloft.net>
38633
38634 * Makefules (o-iterator): Remove .s cases.
38635 (compile-command.s): Delete.
38636 (COMPILE.s): Delete.
38637 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
38638
59f0c22e
JM
386392012-05-21 Joseph Myers <joseph@codesourcery.com>
38640
38641 * configure.in (libc_cv_predef_stack_protector): Only consider
38642 "foobar" and "__stack_chk_fail" lines in libc_undefs.
38643 * configure: Regenerated.
38644
20c07380
L
386452012-05-21 H.J. Lu <hongjiu.lu@intel.com>
38646
bbb3154b
L
38647 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
38648 New macro. Use R*LP on int and pointer.
38649 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
38650 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
38651 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
38652 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
38653
20c07380
L
38654 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
38655 [__WORDSIZE_TIME64_COMPAT32] instead of
38656 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
38657 (struct utmp): Likewise.
38658 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
38659 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
38660 Renamed to ...
38661 (__WORDSIZE_TIME64_COMPAT32): This.
38662 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
38663 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
38664 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
38665 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
38666 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
38667 (__WORDSIZE_TIME64_COMPAT32): New macro.
38668
d8d1017e
AJ
386692012-05-21 Andreas Jaeger <aj@suse.de>
38670
38671 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
38672 only if [SHARED]. Add prototype for __wcschr_ia32.
38673
6c7fb145
RM
386742012-05-21 Roland McGrath <roland@hack.frob.com>
38675
38676 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
38677 of %rbp unmolested in the jmp_buf while mangling the low bits.
38678 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
38679 unmolested high bits of %rbp while demangling the low bits.
38680 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
38681
66274218
AJ
386822012-05-21 Andreas Jaeger <aj@suse.de>
38683
07c58f8f
AJ
38684 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
38685 * sunrpc/svc_simple.c: Use it for registerrpc.
38686 * sunrpc/xcrypt.c: Use it for passwd2des.
38687
66274218
AJ
38688 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
38689
61f65140
L
386902012-05-21 H.J. Lu <hongjiu.lu@intel.com>
38691
38692 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
38693 Don't define if [__SYSCALL_WORDSIZE != 32].
38694 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
38695 New macro.
38696
5fefb436
AJ
386972012-05-21 Bruno Haible <bruno@clisp.org>
38698 Andreas Jaeger <aj@suse.de>
38699
38700 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
38701 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
38702 inptr and inend for must_buffer_ch.
38703 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
38704 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
38705 * stdio-common/Makefile (tests): Remove bug15.
38706 (bug15-ENV): Remove macro.
38707 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
38708 anymore.
38709
d8e272ab
AJ
387102012-05-19 Andreas Jaeger <aj@suse.de>
38711 Roland McGrath <roland@hack.frob.com>
38712
38713 * manual/contrib.texi: Completely rewritten. It contains now an
38714 alphabetical list of contributors and their contributions.
38715
4a56a162
RH
387162012-05-21 Richard Henderson <rth@twiddle.net>
38717
38718 * misc/getauxval.c (__getauxval): Use unsigned long int.
38719 * misc/sys/auxv.h: Include <sys/cdefs.h>.
38720 (getauxval): Use unsigned long int.
38721
d024d23c
L
387222012-05-21 H.J. Lu <hongjiu.lu@intel.com>
38723
38724 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
38725
cbc00a03
RM
387262012-05-21 Roland McGrath <roland@hack.frob.com>
38727
38728 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
38729 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
38730 __alignof__ (long double).
38731
478143fa
AZ
387322012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38733
38734 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38735
c7683a6d
RH
387362012-05-20 Richard Henderson <rth@twiddle.net>
38737
38738 * misc/getauxval.c: New file.
38739 * misc/sys/auxv.h: New file.
38740 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
38741 (routines): Add getauxval.
38742 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
38743 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
38744 * elf/dl-sysdep.c (_dl_auxv): Remove.
38745 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
38746 * elf/dl-support.c (_dl_auxv): New variable.
38747 (_dl_aux_init): Initialize it.
38748 * manual/startup.texi (Auxiliary Vector): New node.
38749 * sysdeps/generic/bits/hwcap.h: New file.
38750 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
38751 * sysdeps/powerpc/sysdep.h: ... here. Include it.
38752 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
38753 * sysdeps/sparc/sysdep.h: ... here. Include it.
38754 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
38755 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
38756 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
38757 Update.
c7683a6d
RH
38758 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
38759 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
38760 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
38761 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
38762 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
38763 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
38764 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
38765 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
38766
a6f1845d
AZ
387672012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38768
38769 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38770
cbcbe830
DM
387712012-05-19 David S. Miller <davem@davemloft.net>
38772
38773 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38774
e0b16cc2
JM
387752012-05-19 Joseph Myers <joseph@codesourcery.com>
38776
38777 [BZ #14123]
38778 * math/s_ccosh.c: Include <float.h>
38779 (__ccosh): Avoid internal overflow calculating sinh and cosh
38780 values before multiplying by sin and cos values.
38781 * math/s_ccoshf.c: Likewise.
38782 * math/s_ccoshl.c: Likewise.
38783 * math/s_csin.c: Likewise.
38784 * math/s_csinf.c: Likewise.
38785 * math/s_csinl.c: Likewise.
38786 * math/s_csinh.c: Likewise.
38787 * math/s_csinhf.c: Likewise.
38788 * math/s_csinhl.c: Likewise.
38789 * math/libm-test.inc (ccos_test): Add more tests.
38790 (ccosh_test): Likewise.
38791 (csin_test): Likewise.
38792 (csinh_test): Likewise.
38793 * sysdeps/i386/fpu/libm-test-ulps: Update.
38794 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38795
6ad13e08
L
387962012-05-19 H.J. Lu <hongjiu.lu@intel.com>
38797
f66f0ce8
L
38798 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
38799 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
38800
6ad13e08
L
38801 * sysdeps/x86_64/x32/_itoa.h: Add comment.
38802
b1d072a7
JM
388032012-05-19 Joseph Myers <joseph@codesourcery.com>
38804
38805 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
38806 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
38807 * sysdeps/powerpc/soft-fp/Versions: Likewise.
38808 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
38809 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
38810 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
38811 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
38812 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
38813 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
38814 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
38815 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
38816 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
38817 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
38818 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
38819 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
38820 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
38821 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
38822 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
38823 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
38824 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
38825 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
38826 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
38827 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
38828 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
38829 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
38830 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
38831 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
38832 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
38833 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
38834 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
38835 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
38836
9eae47cb
AJ
388372012-05-18 Andreas Jaeger <aj@suse.de>
38838
38839 * csu/.gitignore: Delete.
38840
bb07f69f
L
388412012-05-18 H.J. Lu <hongjiu.lu@intel.com>
38842
38843 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
38844 (timex): Use __syscall_slong_t.
38845
e6bdb741
AJ
388462012-05-18 Andreas Jaeger <aj@suse.de>
38847 Carlos O'Donell <carlos_odonell@mentor.com>
38848
38849 * manual/install.texi (Configuring and compiling): Update
38850 description about files modified in the source directory.
d6c33fda 38851 * INSTALL: Regenerated.
e6bdb741 38852
1b74487e
L
388532012-05-18 H.J. Lu <hongjiu.lu@intel.com>
38854
38855 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
38856 value. Use "or" to set return value to -1.
38857 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
38858 negate return value.
38859
a88b64b9
TMQMF
388602012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
38861
57f41c40
AS
38862 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
38863 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
a88b64b9
TMQMF
38864 failure if the compiler has Graphite support disabled.
38865 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
38866 Likewise.
57f41c40
AS
38867 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
38868 (CFLAGS-memmove.c): Likewise.
a88b64b9
TMQMF
38869 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
38870 Likewise.
38871
3707636e
L
388722012-05-18 H.J. Lu <hongjiu.lu@intel.com>
38873
610b8622
L
38874 * sysdeps/x86_64/x32/_itoa.h: New file.
38875
7cd195df
L
38876 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
38877 getdents system call only if kernel and user dirents have the
38878 same d_ino and d_off.
38879
94b07d20
L
38880 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
38881 LLONG_MAX != LONG_MAX.
38882 (_itoa_word): Use _ITOA_WORD_TYPE on value.
38883 (_fitoa_word): Likewise.
38884
18298070
L
38885 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
38886 years.
38887 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
38888 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
38889 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
38890
553c7ea4
L
38891 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
38892 include <bits/wordsize.h>. Check __x86_64__ instead of
38893 __WORDSIZE.
38894 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
38895 if __x86_64__ is defined. Use anonymous union on fpstate.
38896
3707636e
L
38897 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
38898 anonymous union.
38899
b53ef01a
AS
389002012-05-18 Andreas Schwab <schwab@linux-m68k.org>
38901
37fb1dc0
AS
38902 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
38903 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
38904 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
38905 Refer to _rtld_local_ro instead of _rtld_global_ro.
38906 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
38907 Likewise.
38908 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
38909 Likewise.
38910 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
38911 Likewise.
38912 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
38913 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
38914 of _rtld_global, and rtld_progname instead of _dl_argv[0].
38915
b53ef01a
AS
38916 * sysdeps/powerpc/powerpc32/dl-machine.c
38917 (__elf_machine_runtime_setup) [PROF]: Don't reference
38918 _dl_prof_resolve.
38919
7a185db2
AJ
389202012-05-18 Andreas Jaeger <aj@suse.de>
38921
38922 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
38923 function only available for GCCs before 3.4 since GCC 3.4
38924 introduced a builtin.
38925 (lrint): Likewise.
38926 (llrintf): Likewise.
38927 (llrint): Likewise.
38928 (fmaxf): Likewise.
38929 (fmax): Likewise.
38930 (fminf): Likewise.
38931 (fmin): Likewise.
38932 (rint): Likewise.
38933 (rintf): Likewise.
38934 (nearbyint): Likewise.
38935 (nearbyintf): Likewise.
38936 (ceil): Likewise.
38937 (ceilf): Likewise.
38938 (floor): Likewise.
38939 (floorf): Likewise.
38940
3e5aef87
L
389412012-05-17 H.J. Lu <hongjiu.lu@intel.com>
38942
428bd707
L
38943 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
38944 on both fields and cast pointer to __syscall_ulong_t.
38945
3e5aef87
L
38946 * bits/types.h (__fsword_t): New type.
38947 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
38948 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
38949 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
38950 (__FSWORD_T_TYPE): Likewise.
38951 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
38952 (__FSWORD_T_TYPE): Likewise.
38953 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
38954 (__FSWORD_T_TYPE): Likewise.
38955 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
38956 (__FSWORD_T_TYPE): Likewise.
38957 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
38958 __SWORD_TYPE with __fsword_t.
38959 (statfs64): Likewise.
38960
1ba7c3dc
DM
389612012-05-17 David S. Miller <davem@davemloft.net>
38962
38963 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
38964
59910343
AJ
389652012-05-17 Andreas Jaeger <aj@suse.de>
38966
38967 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
38968 warning.
38969
2e4c1e9e
L
389702012-05-17 H.J. Lu <hongjiu.lu@intel.com>
38971
38972 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
38973
de7f5ce7
AJ
389742012-05-17 Andreas Jaeger <aj@suse.de>
38975
38976 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
38977 when it is used.
38978
286abc3d
CM
389792012-05-17 Chris Metcalf <cmetcalf@tilera.com>
38980
38981 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
38982
477cc68e
L
389832012-05-17 H.J. Lu <hongjiu.lu@intel.com>
38984
38985 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
38986 * sysdeps/x86_64/tst-mallocalign1.c: New file.
38987
1a0994f5
CD
389882012-05-17 Andreas Jaeger <aj@suse.de>
38989 Carlos O'Donell <carlos_odonell@mentor.com>
38990
38991 [BZ #14059]
38992 * sysdeps/x86_64/multiarch/init-arch.h
38993 (bit_YMM_Usable): Rename to...
38994 (bit_AVX_Usable): ... this.
38995 (bit_FMA4_Usable): New macro.
38996 (bit_XMM_state): New macro.
38997 (bit_YMM_state): New macro.
38998 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
38999 [__ASSEMBLER__] (index_AVX_Usable): ... this.
39000 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
39001 (CPUID_OSXSAVE): New macro.
39002 (CPUID_AVX): New macro.
39003 (CPUID_FMA4): New macro.
39004 (index_YMM_Usable): Rename to...
39005 (index_AVX_Usable): ... this.
39006 (HAS_AVX): Use HAS_ARCH_FEATURE.
39007 (HAS_FMA4): Likewise.
39008 (HAS_YMM_USABLE): Remove.
39009 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
39010 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
39011 are present.
39012 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
39013 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
39014 * sysdeps/x86_64/multiarch/Makefile: Likewise.
39015 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
39016 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
39017
0af797de
CM
390182012-05-17 Chris Metcalf <cmetcalf@tilera.com>
39019
39020 * math/libm-test.c: Support platforms without multiple rounding modes.
39021 * math/bug-nextafter.c: Support platforms without FP exceptions.
39022 * math/bug-nexttoward.c: Likewise.
39023 * math/test-fenv.c: Likewise.
39024 * math/test-misc.c: Likewise.
39025 * stdlib/bug-getcontext.c: Likewise.
39026
e39745ff
AJ
390272012-05-17 Andreas Jaeger <aj@suse.de>
39028
39029 * manual/examples/search.c (critter_cmp): Change signature to
39030 avoid warnings.
39031 * manual/string.texi (Collation Functions): Likewise.
39032
48970aba
L
390332012-05-16 H.J. Lu <hongjiu.lu@intel.com>
39034
39035 * bits/types.h: Fold copyright years.
39036 * bits/typesizes.h: Likewise.
39037 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
39038 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
39039 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
39040 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
39041 * time/time.h: Likewise.
39042
bedee953
PP
390432012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
39044
39045 [BZ #208]
39046 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
39047 in instead of returning them. Return void.
39048 (__libc_mallinfo): Accumulate over all arenas.
39049 (__malloc_stats): Adjust for change in int_mallinfo interface.
39050
61653dfb
RM
390512012-05-16 Roland McGrath <roland@hack.frob.com>
39052
30b99d79
RM
39053 [BZ #10375]
39054 * configure.in (NM): Add AC_CHECK_TOOL for it.
39055 (libc_extra_cflags): New substituted variable.
39056 Check for -fstack-protector being used implicitly.
39057 * configure: Regenerated.
39058 * config.make.in (config-extra-cflags): New variable,
39059 gets @libc_extra_cflags@.
39060 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
39061
61653dfb
RM
39062 [BZ #10375]
39063 * configure.in: Check for _FORTIFY_SOURCE being predefined.
39064 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
39065 * configure: Regenerated.
39066 * config.make.in (CPPUNDEFS): New substituted variable.
39067 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
39068 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
39069 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
39070
661768bb
L
390712012-05-16 H.J. Lu <hongjiu.lu@intel.com>
39072
39073 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
39074 (mq_attr): Use __syscall_slong_t.
39075
d4261567
L
390762012-05-16 H.J. Lu <hongjiu.lu@intel.com>
39077
39078 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
39079 Check __x86_64__ instead of __WORDSIZE.
39080 (_STAT_VER_LINUX): Likewise.
39081 (stat): Check __x86_64__ instead of __WORDSIZE. Use
39082 __syscall_ulong_t and __syscall_slong_t.
39083 (stat64): Likewise.
39084
cf3ff365
L
390852012-05-16 H.J. Lu <hongjiu.lu@intel.com>
39086
39087 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
39088
76cf3e4d
L
390892012-05-16 H.J. Lu <hongjiu.lu@intel.com>
39090
39091 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
39092
a637753a
L
390932012-05-16 H.J. Lu <hongjiu.lu@intel.com>
39094
39095 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
39096 __syscall_ulong_t.
39097
d5e05119
L
39098 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
39099 include <bits/wordsize.h>. Check __x86_64__ instead of
39100 __WORDSIZE.
39101 (greg_t): Use "__extension__ long long int" if __x86_64__ is
39102 defined.
39103 (mcontext_t): Replace "unsigned long" with "unsigned long long".
39104
f62ee380
L
39105 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
39106 include <bits/wordsize.h>. Check __x86_64__ instead of
39107 __WORDSIZE.
39108 (user_regs_struct): Use "__extension__ unsigned long long"
39109 instead of "unsigned long" if __x86_64__ is defined.
39110 (user): Likewise. Pad after pointer field if __ILP32__ is
39111 defined.
39112
4e124ced
JM
391132012-05-16 Joseph Myers <joseph@codesourcery.com>
39114
6a3951a0
JM
39115 * configure.in (makeinfo): Require version 4.5 or later. Allow
39116 versions 5 to 9.
39117 * configure: Regenerated.
39118 * manual/install.texi (texinfo): Increase version requirement to
39119 4.5 or later.
39120 * INSTALL: Regenerated.
39121
4e124ced
JM
39122 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
39123
953ca31a
L
391242012-05-16 H.J. Lu <hongjiu.lu@intel.com>
39125
39126 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
39127
617aca05
L
39128 * sysdeps/x86_64/x32/ffs.c: New file.
39129
5762f7ae
L
39130 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
39131 __syscall_ulong_t.
39132 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
39133 defined. Use __syscall_ulong_t.
39134 (shminfo): Use __syscall_ulong_t.
39135 (shm_info): Likewise.
39136
a26b6856
L
39137 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
39138 __syscall_ulong_t.
39139
cb2b9ef7
L
39140 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
39141 <bits/wordsize.h>.
39142 (msgqnum_t): Use __syscall_ulong_t.
39143 (msglen_t): Likewise.
39144 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
39145 __syscall_ulong_t.
39146
34683bb0
L
39147 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
39148 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
39149
84a68786
L
39150 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
39151
48baa5f1
L
39152 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
39153 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
39154
180be88b
L
39155 * sysvipc/sys/msg.h (msgbuf): Replace long int with
39156 __syscall_slong_t.
39157
5e90c8ad
L
39158 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
39159 include <bits/wordsize.h>. Check __x86_64__ instead of
39160 __WORDSIZE.
39161
23dfb58b
L
39162 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
39163 "unsigned long long int" if __x86_64__ is defined.
39164 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
39165
ce5d54b0
L
39166 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
39167 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
39168 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
39169
13dc9eac
L
39170 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
39171 <stdint.h>.
39172 (GET_PC): Cast to uintptr_t first.
39173 (GET_FRAME): Likewise.
39174 (GET_STACK): Likewise.
39175
a7895d15
L
39176 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
39177 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
39178 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
39179 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
39180 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
39181 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
39182 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
39183 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
39184 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
39185 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
39186 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
39187 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
39188 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
39189 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
39190 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
39191 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
39192 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
39193 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
39194 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
39195 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
39196 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
39197 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
39198 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
39199 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
39200 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
39201 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
39202 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
39203 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
39204 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
39205
656416c9
AS
392062012-05-16 Andreas Schwab <schwab@linux-m68k.org>
39207
5bd66283
AS
39208 * Makerules (+depfiles): Also collect depfiles from .oS in
39209 $(extra-objs).
39210 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
39211 .oS, $(libnldbl-routines)).
39212
656416c9
AS
39213 * Makerules (native-compile-mkdep-flags): Define.
39214 * sunrpc/Makefile (extra-objs): Add $(addprefix
39215 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
39216 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
39217 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
39218 calling $(make-target-directory).
39219
a46f2169
L
392202012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39221
39222 * bits/types.h (__snseconds_t): Removed.
39223 * time/time.h (struct timespec): Replace __snseconds_t with
39224 __syscall_slong_t.
39225 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
39226 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
39227 Likewise.
39228 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
39229 (__SNSECONDS_T_TYPE): Likewise.
39230 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
39231 (__SNSECONDS_T_TYPE): Likewise.
39232 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
39233 (__SNSECONDS_T_TYPE): Likewise.
39234
6af6528b
L
392352012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39236
39237 * sysdeps/mach/hurd/bits/typesizes.h
39238 (__SYSCALL_SLONG_TYPE): New macro.
39239 (__SYSCALL_ULONG_TYPE): Likewise.
39240
de986b56
L
392412012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39242
39243 * bits/types.h (__syscall_slong_t): New type.
39244 (__syscall_ulong_t): Likewise.
39245
39246 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
39247 (__SYSCALL_ULONG_TYPE): Likewise.
39248 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
39249 (__SYSCALL_SLONG_TYPE): Likewise.
39250 (__SYSCALL_ULONG_TYPE): Likewise.
39251 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
39252 (__SYSCALL_SLONG_TYPE): Likewise.
39253 (__SYSCALL_ULONG_TYPE): Likewise.
39254 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
39255 (__SYSCALL_SLONG_TYPE): Likewise.
39256 (__SYSCALL_ULONG_TYPE): Likewise.
39257
85736dc7
L
392582012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39259
39260 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
39261 Add sigaltstack-offsets.sym.
39262 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
39263 <sigaltstack-offsets.h>.
39264 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
39265 longjmp_msg pointer.
39266 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
39267 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
39268 signal stack.
39269 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
39270
cc03b296
JM
392712012-05-15 Joseph Myers <joseph@codesourcery.com>
39272
a9538892
JM
39273 * elf/stackguard-macros.h: Remove file.
39274 * sysdeps/generic/stackguard-macros.h: New file.
39275 * sysdeps/i386/stackguard-macros.h: Likewise.
39276 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
39277 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
39278 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
39279 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
39280 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
39281 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
39282 * sysdeps/x86_64/stackguard-macros.h: Likewise.
39283 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
39284 <elf/stackguard-macros.h>.
39285
cc03b296
JM
39286 [BZ #14109]
39287 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
39288 __aligned__ in attribute.
39289 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
39290 (gregset_t): Likewise.
39291
93171016
L
392922012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39293
39294 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
39295 * sysdeps/x86_64/64/Implies-after: Here. New file.
39296 * sysdeps/x86_64/x32/Implies-after: New file.
39297
d86813a0
L
392982012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39299
39300 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
39301 and access return value for _dl_profile_fixup. Use R10_LP to
39302 load frame size.
39303
2953ec75
L
393042012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39305
39306 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
39307
3b550e9e
L
393082012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39309
39310 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
39311 * sysdeps/x86_64/x32/sysdep.h: New file.
39312
eda41706
L
393132012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39314
39315 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
39316 * sysdeps/x86_64/setjmp.S: Likewise.
39317
9ea01d93
AZ
393182012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39319
39320 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
39321 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
39322 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
39323 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
39324 remove unused global constant.
39325
02a91938
CM
393262012-05-15 Chris Metcalf <cmetcalf@tilera.com>
39327
39328 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
39329 include of <not-cancel.h>.
39330
6540185f
RM
393312012-05-15 Roland McGrath <roland@hack.frob.com>
39332
39333 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
39334
509072a0
AJ
393352012-05-15 Jeff Law <law@redhat.com>
39336 Andreas Jaeger <aj@suse.de>
39337
39338 [BZ #13594]
39339 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
39340 out from...
39341 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
39342 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
39343 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
39344 code changing __hst_map_handle.map.
39345
ba75122d
RM
393462012-05-15 Roland McGrath <roland@hack.frob.com>
39347
39348 * configure.in (sysnames): Look for Implies-before and Implies-after
39349 files.
39350 * configure: Regenerated.
39351
890d8bd8
L
393522012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39353
39354 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
39355 8-byte data alignment with LP_SIZE alignment.
39356
f6ee6623
L
393572012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39358
39359 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
39360 into R10_LP.
39361
ea2626f6
L
393622012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39363
39364 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
39365
085f715e
L
393662012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39367
39368 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
39369 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
39370 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
39371 Likewise.
39372 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
39373
be8498fc
L
393742012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39375
39376 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
39377 (stackinfo_sub_sp): Likewise.
39378
70bc83b9
L
393792012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39380
39381 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
39382 RAX_LP.
39383
9bc0b730
L
393842012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39385
39386 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
39387 into R*_LP.
39388
6d2850e7
L
393892012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39390
39391 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
39392 sizes into R*_LP.
39393
3cb84561
L
393942012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39395
39396 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
39397
54e2ed81
L
393982012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39399
39400 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
39401 into R11_LP and load __x86_64_shared_cache_size_half into
39402 R8_LP.
39403
8a17f349
L
394042012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39405
39406 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
39407 R8_LP.
39408
777b1eea
AZ
394092012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39410
39411 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
39412 logb for POWER7.
39413 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
39414 logbf for POWER7.
39415 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
39416 logbl for POWER7.
39417 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
39418 powerpc32/power7/fpu/s_logb.c via #include.
39419 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
39420 powerpc32/power7/fpu/s_logbf.c via #include.
39421 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
39422 powerpc32/power7/fpu/s_logbl.c via #include.
39423
d20d4ac2
JM
394242012-05-15 Joseph Myers <joseph@codesourcery.com>
39425
39426 * README.libm: Remove file.
39427
6cdef1ab
L
394282012-05-14 H.J. Lu <hongjiu.lu@intel.com>
39429
39430 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
39431 count for x32. Use R*_LP and omit operand-size suffix.
39432
0b254d8f
L
394332012-05-14 H.J. Lu <hongjiu.lu@intel.com>
39434
39435 * shlib-versions: Move x86_64-.*-linux.* entries to ...
39436 * sysdeps/x86_64/64/shlib-versions: Here. New file.
39437 * sysdeps/x86_64/x32/shlib-versions: New file.
39438
ceb809dc
RM
394392012-05-14 Roland McGrath <roland@hack.frob.com>
39440
39441 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
39442 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
39443 Use _dl_fatal_printf instead.
39444
37f1abd4
JM
394452012-05-14 Joseph Myers <joseph@codesourcery.com>
39446
39447 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
39448 set if not set by the user. Do not allow for being unset.
39449 * sysdeps/unix/sysv/linux/configure: Regenerated.
39450
11de3a33
L
394512012-05-14 H.J. Lu <hongjiu.lu@intel.com>
39452
39453 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
39454 the `q' suffix from lea and replace .quad with ASM_ADDR.
39455
e02f153a
L
394562012-05-14 H.J. Lu <hongjiu.lu@intel.com>
39457
39458 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
39459 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
39460 instead of $17.
39461 (PTR_DEMANGLE): Likewise.
39462
520ae0fd
L
394632012-05-14 H.J. Lu <hongjiu.lu@intel.com>
39464
39465 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
39466 (LP_OP): Likewise.
39467 (ASM_ADDR): Likewise.
39468 (RAX_LP): Likewise.
39469 (RBP_LP): Likewise.
39470 (RBX_LP): Likewise.
39471 (RCX_LP): Likewise.
39472 (RDI_LP): Likewise.
39473 (RSI_LP): Likewise.
39474 (RSP_LP): Likewise.
39475 (R8_LP): Likewise.
39476 (R9_LP): Likewise.
39477 (R10_LP): Likewise.
39478 (R10_LP): Likewise.
39479 (R11_LP): Likewise.
39480 (R12_LP): Likewise.
39481 (R13_LP): Likewise.
39482 (R14_LP): Likewise.
39483 (R15_LP): Likewise.
39484
b985be81
L
394852012-05-14 H.J. Lu <hongjiu.lu@intel.com>
39486
39487 * sysdeps/x86_64/x32/dl-machine.h: New file.
39488
6a4888ff
AJ
394892012-05-14 Andreas Jaeger <aj@suse.de>
39490
39491 * manual/Makefile (subdir): Remove export of subdir.
39492 (all): Remove target.
39493 (.PHONY): Remove all from list.
39494 (mkinstalldirs): Remove.
39495 (.PHONY): Remove installdirs from list.
39496 ($(inst_infodir)/libc.info): Use make-target-directory.
39497 (installdirs): Remove.
39498 (subdir_%): Remove.
39499 (glibc-targets): Remove.
39500 (lib): Remove.
39501 (stubs): Remove.
39502 ($(objpfx)stubs ../po/manual.pot): Remove.
39503 ($(objpfx)stamp%): Remove.
39504 (make-target-directory): Remove.
39505 (subdir_install): Remove.
39506 (routines): Remove.
39507 (aux): Remove.
39508 (sources): Remove.
39509 (objects): Remove.
39510 (headers): Remove.
39511
39512 [BZ #13750]
39513 * manual/.gitignore: Remove, it's not needed anymore.
39514 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
39515 all files in it.
39516 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
39517 directory.
39518 (texis): Renamed to $(objpfx)texis.
39519 (texis-path): New, contains path to generated files.
39520 (chapters.%): Use texis-path for complete path, add extra argument
39521 libc-texinfo.sh.
39522 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
39523 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
39524 (summary,texi, stamp-summary): Use complete path of
39525 files. Generate files in build dir.
39526 (dir-add.texi): Build in build dir.
39527 (libm-err.texi,stamp-libm-err): Likewise.
39528 (version.texi, stamp-version): Likewise.
39529 (.%c.texi): Likewise.
39530 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
39531 (mostlyclean): Remove target.
39532 (realclean): Remove target.
39533 (generated): Add new variable with contents from mostlyclean and
39534 realclean, remove entries duplicated in common-mostlyclean, add
39535 stamp-libm-err and stamp-version.
39536 (generated-dirs): Add libc directory.
39537 ($(inst_infodir)/libc.info): Install files from build dir.
39538
39539 * manual/install.texi (Configuring and compiling): Adjust since
39540 the info files are not part of the tar ball anymore.
39541
7ac77294
AJ
395422012-05-14 Andreas Jaeger <aj@suse.de>
39543
39544 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
39545 variable.
39546
ffb7875d
JM
395472012-05-14 Joseph Myers <joseph@codesourcery.com>
39548
39549 [BZ #13717]
39550 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
39551 to 2.2.0 where earlier.
39552 * sysdeps/unix/sysv/linux/configure: Regenerated.
39553 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
39554 Remove conditional code.
39555 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
39556 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
39557 Remove conditional code.
39558 [!__NR_lchown]: Likewise.
39559 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
39560 [__NR_lchown]: Likewise.
39561 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
39562 comment referencing __ASSUME_LCHOWN_SYSCALL.
39563 * sysdeps/unix/sysv/linux/i386/sigaction.c
39564 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
39565 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
39566 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
39567 Remove conditional code.
39568 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
39569 (__protocol_available): Remove #if 0 code.
39570 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
39571 conditional code.
39572 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
39573 * sysdeps/unix/sysv/linux/kernel-features.h
39574 (__ASSUME_GETCWD_SYSCALL): Don't define.
39575 (__ASSUME_REALTIME_SIGNALS): Likewise.
39576 (__ASSUME_PREAD_SYSCALL): Likewise.
39577 (__ASSUME_PWRITE_SYSCALL): Likewise.
39578 (__ASSUME_POLL_SYSCALL): Likewise.
39579 (__ASSUME_LCHOWN_SYSCALL): Likewise.
39580 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
39581 non-SPARC.
39582 (__ASSUME_SIOCGIFNAME): Don't define.
39583 (__ASSUME_MSG_NOSIGNAL): Likewise.
39584 (__ASSUME_SENDFILE): Define unconditionally.
39585 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
39586 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
39587 conditional code.
39588 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
39589 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
39590 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
39591 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
39592 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
39593 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
39594 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
39595 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
39596 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
39597 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
39598 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
39599 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
39600 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
39601 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
39602 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
39603 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
39604 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
39605 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
39606 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
39607 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
39608 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
39609 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
39610 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
39611 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
39612 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
39613 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
39614 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
39615 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
39616 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
39617 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
39618 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
39619 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
39620 Remove conditional code.
39621 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
39622 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
39623 Remove conditional code.
39624 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
39625 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
39626 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
39627 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
39628 Remove conditional code.
39629 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
39630 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
39631 Remove conditional code.
39632 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
39633 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
39634 Remove conditional code.
39635 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
39636 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
39637 Remove conditional code.
39638 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
39639 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
39640 Remove conditional code.
39641 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
39642 * sysdeps/unix/sysv/linux/sh/pwrite64.c
39643 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
39644 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
39645 * sysdeps/unix/sysv/linux/sigaction.c
39646 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
39647 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
39648 * sysdeps/unix/sysv/linux/sigpending.c
39649 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
39650 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
39651 * sysdeps/unix/sysv/linux/sigprocmask.c
39652 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
39653 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
39654 * sysdeps/unix/sysv/linux/sigsuspend.c
39655 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
39656 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
39657 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
39658 (__libc_missing_rt_sigs): Remove.
39659 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
39660 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
39661 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
39662 Remove conditional code.
39663 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
39664 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
39665 return 1.
39666 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
39667 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
39668 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
39669 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
39670
1bfb7291
AJ
396712012-05-14 Andreas Jaeger <aj@suse.de>
39672
caae5a81
AJ
39673 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
39674 it's not used in glibc.
39675 (__coshm1): Likewise.
39676 (__acosh1p): Likewise.
39677 (__sgn): Likewise.
39678
1bfb7291
AJ
39679 * manual/string.texi (Copying and Concatenation): Add missing
39680 variable in concat example.
39681 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
39682
c044d724
L
396832012-05-14 H.J. Lu <hongjiu.lu@intel.com>
39684
144c5467 39685 [BZ #14103]
c044d724
L
39686 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
39687 __builtin_clzl with __builtin_clzll.
39688
2523c62b
L
396892012-05-14 H.J. Lu <hongjiu.lu@intel.com>
39690
39691 [BZ #14104]
39692 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
39693 libc_freeres_ptr.
39694
d7bb4c42
LD
396952012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39696
39697 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
39698 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
39699 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
39700 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
39701
9dc4e1fb
MF
397022012-05-14 Mike Frysinger <vapier@gentoo.org>
39703
39704 * NEWS: Update ia64 info.
39705
c7df0112
AS
397062012-05-12 Andreas Schwab <schwab@linux-m68k.org>
39707
39708 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
39709 used as bcopy.
39710
dc70356c
TS
397112012-05-12 Thomas Schwinge <thomas@codesourcery.com>
39712
39713 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
39714 * sysdeps/unix/syscalls.list (dup3): Likewise.
39715 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
39716 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
39717
9fb1a21f
L
397182012-05-11 H.J. Lu <hongjiu.lu@intel.com>
39719
39720 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
39721 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
39722
4822a2a5
L
397232012-05-11 H.J. Lu <hongjiu.lu@intel.com>
39724
39725 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
39726 thread pointer.
39727 (TLS_IE): Use mov/add instead of movq/addq to load thread
39728 pointer.
39729 (TLS_GD_PREFIX): New.
39730 (TLS_GD): Use it.
39731
842b81d6
DM
397322012-05-11 David S. Miller <davem@davemloft.net>
39733
39734 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
39735 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
39736 (_FPU_SETCW): Likewise.
39737
1cf463cd
L
397382012-05-10 H.J. Lu <hongjiu.lu@intel.com>
39739
39740 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
39741 is 32-byte aligned.
39742
60cc4a18
AS
397432012-05-11 Andreas Schwab <schwab@linux-m68k.org>
39744
39745 [BZ #11837]
39746 * iconvdata/gb18030.c: Update tables.
39747 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
39748 characters specially.
39749 (BODY for TO_LOOP): Add encoding of missing ranges.
39750
febb44a4
TS
397512012-05-11 Thomas Schwinge <thomas@codesourcery.com>
39752
39753 [BZ #13673]
39754 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
39755 * sysdeps/mach/hurd/dup3.c: Likewise.
39756 * sysdeps/mach/hurd/readlinkat.c: Likewise.
39757 * sysdeps/powerpc/memmove.c:: Likewise.
39758
0a10fb9e
L
397592012-05-10 H.J. Lu <hongjiu.lu@intel.com>
39760
39761 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
39762 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
39763
df8a552f
L
397642012-05-10 H.J. Lu <hongjiu.lu@intel.com>
39765
39766 * elf/elf.h (R_X86_64_RELATIVE64): New.
39767 (R_X86_64_NUM): Updated.
39768 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
39769 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
39770 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
39771 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
39772 tst-quad1pie tst-quad2pie
39773 (modules-names): Add tst-quadmod1 tst-quadmod2.
39774 ($(objpfx)tst-quad1): New dependency.
39775 ($(objpfx)tst-quad2): Likewise.
39776 ($(objpfx)tst-quad1pie): Likewise.
39777 ($(objpfx)tst-quad2pie): Likewise.
39778 * sysdeps/x86_64/tst-quad1.c: New file.
39779 * sysdeps/x86_64/tst-quad1pie.c: New file.
39780 * sysdeps/x86_64/tst-quad2.c: Likewise.
39781 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
39782 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
39783 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
39784 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
39785 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
39786
f34d6f84
ST
397872012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
39788
f42d41d1
ST
39789 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
39790 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
39791 * streams/stropts.h (t_scalar_t): Define type.
39792
3c3571fc
ST
39793 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
39794 (_PATH_PRESERVE): Set to "/var/lib".
39795 (_PATH_RWHODIR): Set to "/var/spool/rwho".
39796
61f06bd3
ST
39797 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
39798 instead of int.
39799
918d4d71
ST
39800 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
39801 if __dir_mkfile succeeded.
39802
f34d6f84
ST
39803 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
39804 checking for _hurd_dtablesize. Unlock it right after having
39805 finished _hurd_dtable allocation.
39806
10589b4a
TS
398072012-05-10 Thomas Schwinge <thomas@schwinge.name>
39808
674cdbc7
TS
39809 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
39810 * sysdeps/mach/hurd/configure: Regenerated.
39811 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
39812 special-casing to...
39813 * sysdeps/gnu/configure.in: ... this new file.
39814 * sysdeps/unix/sysv/linux/configure: Regenerated.
39815 * sysdeps/gnu/configure: New generated file.
39816
8e41b99f
TS
39817 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
39818 for Linux: use nsec instead of usec, as well as:
39819 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
39820 members of type struct timespec.
39821 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
39822 New macros.
39823 (struct stat64): Likewise.
39824 (_STATBUF_ST_NSEC): New macro.
39825 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
39826
10589b4a
TS
39827 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
39828 __strtoul_internal rather than strtoul.
39829
63643c85
PT
398302012-05-10 Pino Toscano <toscano.pino@tiscali.it>
39831
39832 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
39833 and reject them.
39834
3faebe6a
ST
398352012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
39836
39837 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
39838 which preserves existing values.
39839 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
39840
c6474b07
PT
398412012-05-10 Pino Toscano <toscano.pino@tiscali.it>
39842
39843 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
39844 TIMEOUT values. Return EINVAL for NFDS values either negative or
39845 greater than FD_SETSIZE.
39846
1043890b
ST
398472012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
39848
39849 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
39850 allocated, call __vm_protect to finish enabling the existing space, and
39851 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
39852 allocate the remainder.
39853
37ed8b9b
PT
398542012-05-10 Pino Toscano <toscano.pino@tiscali.it>
39855
39856 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
39857 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
39858
db653660
ST
398592012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
39860
37ed8b9b
PT
39861 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
39862 sysdeps/mach/hurd/readlink.c.
b29d4053 39863
db653660
ST
39864 * posix/tst-sysconf.c (posix_options): Only use
39865 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
39866 _POSIX_SYNCHRONIZED_IO when they are defined
39867 * sysdeps/mach/hurd/bits/posix_opt.h:
39868 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
39869 (_XOPEN_REALTIME): Undefine macro.
39870 (_XOPEN_REALTIME_THREADS): Undefine macro.
39871 (_XOPEN_SHM): Undefine macro.
39872 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
39873 macro to -1.
39874 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
39875 macro to -1.
39876 (_POSIX_ASYNC_IO): Undefine macro.
39877 (_POSIX_PRIORITIZED_IO): Undefine macro.
39878 (_POSIX_SPIN_LOCKS): Define macro to -1.
39879
ee16e894
ST
39880 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
39881 SA_NODEFER, SA_RESETHAND.
39882 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
39883 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
39884 F_DUPFD_CLOEXEC.
39885
6103ae3b
TS
398862012-05-10 Thomas Schwinge <thomas@schwinge.name>
39887
39888 * elf/Makefile (pldd-modules): Define unconditionally.
39889
80b4e5f3
TS
398902012-05-10 Thomas Schwinge <thomas@schwinge.name>
39891
39892 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
39893
edadcbd6
ST
398942012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
39895
39896 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
39897 Return ENOENT when name is empty.
39898 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
39899
80694780
TS
399002012-05-10 Thomas Schwinge <thomas@schwinge.name>
39901
1792c087
TS
39902 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
39903
80694780
TS
39904 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
39905
6b645f0d
ST
399062012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
39907
80694780
TS
39908 Fix mlock in all cases except non-readable pages.
39909 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
39910 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 39911
6b645f0d
ST
39912 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
39913 (__mkdir): When path is `/', just fail with EEXIST.
39914 * sysdeps/mach/hurd/mkdirat.c: Likewise.
39915
e468f8a3
TS
399162012-05-10 Thomas Schwinge <thomas@schwinge.name>
39917
39918 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
39919 <sys/uio.h> (for writev).
39920 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
39921 and <sys/param.h> (for MIN).
39922
a4186cff
PT
399232012-05-10 Pino Toscano <toscano.pino@tiscali.it>
39924
39925 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
39926 REQUESTED_TIME. Properly set the remaining time and return EINTR
39927 if interrupted.
39928
510bbf14
TS
399292012-05-10 Thomas Schwinge <thomas@schwinge.name>
39930
39931 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
39932 Depend on against $(link-rpcuserlibs).
39933
5d5722e8
ST
399342012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
39935
a4186cff
PT
39936 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
39937 (__libc_stack_end): Do not use attribute_relro.
39938 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
39939 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 39940 to libthread-provided value.
a4186cff
PT
39941 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
39942 attribute_relro.
5d5722e8 39943
37233df9
TS
399442012-05-10 Thomas Schwinge <thomas@schwinge.name>
39945
be971a2b
TS
39946 [BZ #3748]
39947 * bits/libc-lock.h (__libc_once_get): New macro.
39948 * sysdeps/mach/bits/libc-lock.h: Likewise.
39949 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
39950 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
39951 instead of using implementation details.
39952
37233df9
TS
39953 * libio/fileops.c: Unconditionally include <kernel-features.h>.
39954 * libio/freopen.c: Likewise.
39955 * libio/freopen64.c: Likewise.
39956 * misc/syslog.c: Likewise.
39957 * nscd/connections.c: Likewise.
39958 * nscd/netgroupcache.c: Likewise.
39959 * sysdeps/posix/getcwd.c: Likewise.
39960
38de94a5
RM
399612012-05-10 Roland McGrath <roland@hack.frob.com>
39962
39963 * math/w_ilogbf.c: Add #include <limits.h>.
39964
67530489
ST
399652012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
39966
a4186cff 39967 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
39968 path instead of returning without unlocking.
39969
67530489
ST
39970 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
39971 immediate-write ioctls.
39972 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
39973
5aa3a74a
TS
399742012-05-10 Thomas Schwinge <thomas@schwinge.name>
39975
18bad2ae
TS
39976 * sysdeps/mach/hurd/i386/init-first.c (init): Use
39977 __builtin_frame_address instead of making assumptions about the
39978 location of the return address relative to DATA. Force early load of
39979 the return address.
39980 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
39981 __builtin_frame_address.
39982
5aa3a74a
TS
39983 dup3 for GNU Hurd.
39984 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
39985 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
39986 implement dup3 and do some further code clean-ups.
39987 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
39988 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
39989
ecd0de9a
ST
399902012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
39991
cd9fa985
ST
39992 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
39993
a4186cff
PT
39994 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
39995 HURD_CRITICAL_END around holding _hurd_dtable_lock.
39996 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
39997 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
39998 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
39999 d->port.lock.
802ca5a5 40000
a4186cff
PT
40001 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
40002 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
40003 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 40004
bcf55240
TS
400052012-05-10 Thomas Schwinge <thomas@schwinge.name>
40006
6960eb42
TS
40007 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
40008 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
40009 definitions.
40010
eb43375f
TS
40011 accept4 for GNU Hurd.
40012 * include/sys/socket.h (__libc_accept4): New prototype.
40013 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
40014 to implement __libc_accept4.
40015 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
40016 __libc_accept4.
40017 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
40018
bcf55240
TS
40019 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
40020 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
40021 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
40022 signal-defines.sym.
40023
6178c55b
ST
400242012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
40025
a4186cff 40026 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 40027
6f080c2f
TS
400282012-05-10 Thomas Schwinge <thomas@schwinge.name>
40029
40030 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
40031 assertion on O_CLOEXEC flag.
40032 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
40033 * hurd/intern-fd.c: Likewise.
40034 * hurd/port2fd.c: Likewise.
40035
bcfe3a54
ST
400362012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
40037
40038 [BZ #3906]
40039 * bits/in.h (IPV6_PKTINFO): Define new macro.
40040 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
40041
89c9aa49
AZ
400422012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40043
40044 [BZ #13954]
40045 [BZ #13955]
40046 [BZ #13956]
40047 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
40048 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
40049 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
40050 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
40051 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
40052 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
40053 * math/libm-test.inc (logb_test) : Additional logb tests.
40054
021db4be
AJ
400552012-05-09 Andreas Schwab <schwab@linux-m68k.org>
40056 Andreas Jaeger <aj@suse.de>
40057
40058 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
40059 * configure: Regenerated.
40060 * config.h.in (LINK_OBSOLETE_RPC): New macro.
40061 * config.make.in (link-obsolete-rpc): New substituted variable.
40062 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
40063 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
40064 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
40065 (shared-only-routines): Don't set it under [link-obsolete-rpc],
40066 so that libc.a contains the symbols.
40067 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
40068 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
40069 * sunrpc/auth_none.c: Likewise.
40070 * sunrpc/auth_unix.c: Likewise.
40071 * sunrpc/authdes_prot.c: Likewise.
40072 * sunrpc/authuxprot.c: Likewise.
40073 * sunrpc/clnt_gen.c: Likewise.
40074 * sunrpc/clnt_perr.c: Likewise.
40075 * sunrpc/clnt_raw.c: Likewise.
40076 * sunrpc/clnt_simp.c: Likewise.
40077 * sunrpc/clnt_tcp.c: Likewise.
40078 * sunrpc/clnt_udp.c: Likewise.
40079 * sunrpc/clnt_unix.c: Likewise.
40080 * sunrpc/des_crypt.c: Likewise.
40081 * sunrpc/des_soft.c: Likewise.
40082 * sunrpc/get_myaddr.c: Likewise.
40083 * sunrpc/key_call.c: Likewise.
40084 * sunrpc/key_prot.c: Likewise.
40085 * sunrpc/netname.c: Likewise.
40086 * sunrpc/pm_getmaps.c: Likewise.
40087 * sunrpc/pm_getport.c: Likewise.
40088 * sunrpc/pmap_clnt.c: Likewise.
40089 * sunrpc/pmap_prot.c: Likewise.
40090 * sunrpc/pmap_prot2.c: Likewise.
40091 * sunrpc/pmap_rmt.c: Likewise.
40092 * sunrpc/publickey.c: Likewise.
40093 * sunrpc/rpc_cmsg.c: Likewise.
40094 * sunrpc/rpc_common.c: Likewise.
40095 * sunrpc/rpc_dtable.c: Likewise.
40096 * sunrpc/rpc_prot.c: Likewise.
40097 * sunrpc/rpc_thread.c: Likewise.
40098 * sunrpc/rtime.c: Likewise.
40099 * sunrpc/svc.c: Likewise.
40100 * sunrpc/svc_auth.c: Likewise.
40101 * sunrpc/svc_raw.c: Likewise.
40102 * sunrpc/svc_run.c: Likewise.
40103 * sunrpc/svc_tcp.c: Likewise.
40104 * sunrpc/svc_udp.c: Likewise.
40105 * sunrpc/svc_unix.c: Likewise.
40106 * sunrpc/svcauth_des.c: Likewise.
40107 * sunrpc/xcrypt.c: Likewise.
40108 * sunrpc/xdr.c: Likewise.
40109 * sunrpc/xdr_array.c: Likewise.
40110 * sunrpc/xdr_float.c: Likewise.
40111 * sunrpc/xdr_intXX_t.c: Likewise.
40112 * sunrpc/xdr_mem.c: Likewise.
40113 * sunrpc/xdr_rec.c: Likewise.
40114 * sunrpc/xdr_ref.c: Likewise.
40115 * sunrpc/xdr_sizeof.c: Likewise.
40116 * sunrpc/xdr_stdio.c: Likewise.
40117
b5c086a2
RM
401182012-05-10 Roland McGrath <roland@hack.frob.com>
40119
40120 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
40121 change. Update copyright years.
40122
6d74dd09
JM
401232012-05-10 Joseph Myers <joseph@codesourcery.com>
40124
40125 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
40126
28e72501
MK
401272012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
40128 Joseph Myers <joseph@codesourcery.com>
40129 Paul Pluzhnikov <ppluzhnikov@google.com>
40130
40131 [BZ #14012]
40132 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
40133 requiring rpcgen.
40134 [cross-compiling] (extra-libs): Likewise.
40135 [cross-compiling] (extra-libs-others): Likewise.
40136 [cross-compiling] (librpcsvc-routines): Likewise.
40137 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
40138 [cross-compiling] (omit-deps): Likewise.
40139 (sunrpc-CPPFLAGS): New variable.
40140 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
40141 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
40142 (cross-rpcgen-objs): New variable.
40143 (extra-objs): Append $(cross-rpcgen-objs).
40144 ($(cross-rpcgen-objs)): New rule.
40145 ($(objpfx)cross-rpcgen): Likewise.
40146 (rpcgen-cmd): Define to use $(built-program-file). Expand
40147 comment.
40148 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
40149 ($(objpfx)x%.stmp): Likewise.
40150 * sunrpc/proto.h [IS_IN_build] (_): Define.
40151 [IS_IN_build] (_libc_intl_domainname): Likewise.
40152
c8c59454
L
401532012-05-10 H.J. Lu <hongjiu.lu@intel.com>
40154
40155 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
40156 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
40157 and R_X86_64_TPOFF64.
40158
6f27cd16
JM
401592012-05-10 Joseph Myers <joseph@codesourcery.com>
40160
40161 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
40162 sysdeps/unix/sysv/syscalls.list.
40163 (stime): Likewise.
40164 (utime): Likewise.
40165 * sysdeps/unix/sysv/syscalls.list: Remove file.
40166
02467e1c
PE
401672012-05-10 Paul Eggert <eggert@cs.ucla.edu>
40168
40169 [BZ #3440]
40170 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
40171 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
40172 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
40173 (__LC_IDENTIFICATION): Make these macros useful in #if
40174 expressions, as required by C99.
40175
da392631
AS
401762012-05-10 Andreas Schwab <schwab@linux-m68k.org>
40177
40178 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
40179 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
40180 after this.
40181
8115f29b
L
401822012-05-09 H.J. Lu <hongjiu.lu@intel.com>
40183
40184 * stdlib/longlong.h: Updated from GCC.
40185
bdd74070
AJ
401862012-05-09 Andreas Jaeger <aj@suse.de>
40187
edfe0dbe
AJ
40188 * nscd/nscd.c (run_modes): Make named enum, reorder so that
40189 default is first entry.
40190 (run_mode): Set type.
40191 (main): Remove informal message about syslog.
40192 (options): Fix typo.
40193
bcfe3a54
ST
40194 [BZ #14053]
40195 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 40196 to asm.
bcfe3a54
ST
40197 (lrint): Likewise.
40198 (llrintf): Likewise.
40199 (llrint): Likewise.
40200 (rint): Likewise.
40201 (rintf): Likewise.
40202 (nearbyint): Likewise.
40203 (nearbyintf): Likewise.
bdd74070 40204
91d8d69e
AJ
402052012-05-09 Andreas Jaeger <aj@suse.de>
40206 Pedro Alves <palves@redhat.com>
40207
40208 * nscd/nscd.c (run_mode): Use enum.
40209 (main): Cleanup coding style issue.
40210
bb90b80b
AJ
402112012-05-09 Alexandre Oliva <aoliva@redhat.com>
40212 Andreas Jaeger <aj@suse.de>
40213
bcfe3a54
ST
40214 * nscd/nscd.c (go_background): Replaced with...
40215 (run_mode): ... this.
bb90b80b 40216 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
40217 (options): Add -F --foreground.
40218 (main): Implement it.
40219 (parse_opt): Parse it.
bb90b80b 40220
1a4b75a1
AJ
402212012-05-09 Andreas Jaeger <aj@suse.de>
40222
40223 [BZ #14083]
40224 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
40225 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
40226 -Wconversion warning.
40227 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
40228 Likewise.
40229
b1cc2472
JM
402302012-05-09 Joseph Myers <joseph@codesourcery.com>
40231
40232 * conform/data/locale.h-data (NULL): Use macro-constant. Require
40233 == 0.
40234 (LC_ALL): Use macro-int-constant.
40235 (LC_COLLATE): Likewise.
40236 (LC_CTYPE): Likewise.
40237 (LC_MESSAGES): Likewise.
40238 (LC_MONETARY): Likewise.
40239 (LC_NUMERIC): Likewise.
40240 (LC_TIME): Likewise.
40241 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
40242 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
40243 [ISO || ISO99 || ISO11] (*_t): Do not allow.
40244 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
40245 Specify type.
40246 [C99-based standards] (float_t): Expect type.
40247 [C99-based standards] (double_t): Expect type.
40248 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
40249 type.
40250 [C99-based standards] (HUGE_VALL): Likewise.
40251 [C99-based standards] (INFINITY): Likewise.
40252 [C99-based standards] (NAN): Likewise.
40253 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
40254 [C99-based standards] (FP_NAN): Likewise.
40255 [C99-based standards] (FP_NORMAL): Likewise.
40256 [C99-based standards] (FP_SUBNORMAL): Likewise.
40257 [C99-based standards] (FP_ZERO): Likewise.
40258 [C99-based standards] (FP_FAST_FMA): Use
40259 optional-macro-int-constant. Specify type. Require == 1.
40260 [C99-based standards] (FP_FAST_FMAF): Likewise.
40261 [C99-based standards] (FP_FAST_FMAL): Likewise.
40262 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
40263 [C99-based standards] (FP_ILOGBNAN): Likewise.
40264 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
40265 Specify type.
40266 [C99-based standards] (MATH_ERREXCEPT): Likewise.
40267 [C99-based standards] (math_errhandling): Specify type.
40268 [ISO99 || ISO11] (signgam): Do not allow.
40269 [non-C99-based standards] (copysignf): Do not allow.
40270 [non-C99-based standards] (exp2f): Likewise.
40271 [non-C99-based standards] (log2f): Likewise.
40272 [non-C99-based standards] (modff): Allow.
40273 [non-C99-based standards] (erff): Do not allow.
40274 [non-C99-based standards] (erfcf): Likewise.
40275 [non-C99-based standards] (gammaf): Likewise.
40276 [non-C99-based standards] (hypotf): Likewise.
40277 [non-C99-based standards] (j0f): Likewise.
40278 [non-C99-based standards] (j1f): Likewise.
40279 [non-C99-based standards] (jnf): Likewise.
40280 [non-C99-based standards] (lgammaf): Likewise.
40281 [non-C99-based standards] (tgammaf): Likewise.
40282 [non-C99-based standards] (y0f): Likewise.
40283 [non-C99-based standards] (y1f): Likewise.
40284 [non-C99-based standards] (ynf): Likewise.
40285 [non-C99-based standards] (isnanf): Likewise.
40286 [non-C99-based standards] (acoshf): Likewise.
40287 [non-C99-based standards] (asinhf): Likewise.
40288 [non-C99-based standards] (atanhf): Likewise.
40289 [non-C99-based standards] (cbrtf): Likewise.
40290 [non-C99-based standards] (expm1f): Likewise.
40291 [non-C99-based standards] (ilogbf): Likewise.
40292 [non-C99-based standards] (log1pf): Likewise.
40293 [non-C99-based standards] (logbf): Likewise.
40294 [non-C99-based standards] (nextafterf): Likewise.
40295 [non-C99-based standards] (remainderf): Likewise.
40296 [non-C99-based standards] (rintf): Likewise.
40297 [non-C99-based standards] (scalbf): Likewise.
40298 [non-C99-based standards] (copysignl): Likewise.
40299 [non-C99-based standards] (exp2l): Likewise.
40300 [non-C99-based standards] (log2l): Likewise.
40301 [non-C99-based standards] (modfl): Allow.
40302 [non-C99-based standards] (erfl): Do not allow.
40303 [non-C99-based standards] (erfcl): Likewise.
40304 [non-C99-based standards] (gammal): Likewise.
40305 [non-C99-based standards] (hypotl): Likewise.
40306 [non-C99-based standards] (j0l): Likewise.
40307 [non-C99-based standards] (j1l): Likewise.
40308 [non-C99-based standards] (jnl): Likewise.
40309 [non-C99-based standards] (lgammal): Likewise.
40310 [non-C99-based standards] (tgammal): Likewise.
40311 [non-C99-based standards] (y0l): Likewise.
40312 [non-C99-based standards] (y1l): Likewise.
40313 [non-C99-based standards] (ynl): Likewise.
40314 [non-C99-based standards] (isnanl): Likewise.
40315 [non-C99-based standards] (acoshl): Likewise.
40316 [non-C99-based standards] (asinhl): Likewise.
40317 [non-C99-based standards] (atanhl): Likewise.
40318 [non-C99-based standards] (cbrtl): Likewise.
40319 [non-C99-based standards] (expm1l): Likewise.
40320 [non-C99-based standards] (ilogbl): Likewise.
40321 [non-C99-based standards] (log1pl): Likewise.
40322 [non-C99-based standards] (logbl): Likewise.
40323 [non-C99-based standards] (nextafterl): Likewise.
40324 [non-C99-based standards] (remainderl): Likewise.
40325 [non-C99-based standards] (rintl): Likewise.
40326 [non-C99-based standards] (scalbl): Likewise.
40327 [ISO || ISO99 || ISO11] (*_t): Do not allow.
40328 [non-C99-based standards] (FP_*): Do not allow.
40329 [C99-based standards] (FP_*): Change to
40330 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
40331 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
40332 allow.
40333 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
40334 (SIG_ERR): Likewise.
40335 [X/Open-based standards] (SIG_HOLD): Likewise.
40336 (SIG_IGN): Likewise.
40337 (SIGABRT): Use macro-int-constant. Specify type. Require
40338 positive value.
40339 (SIGFPE): Likewise.
40340 (SIGILL): Likewise.
40341 (SIGINT): Likewise.
40342 (SIGSEGV): Likewise.
40343 (SIGTER): Likewise.
40344 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
40345 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
40346 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
40347 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
40348 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
40349 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
40350 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
40351 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
40352 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
40353 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
40354 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
40355 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
40356 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
40357 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
40358 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
40359 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
40360 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
40361 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
40362 [X/Open-based standards] (SIGTRAP): Likewise.
40363 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
40364 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
40365 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
40366 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
40367 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
40368 allow.
40369
b9f1922d
IW
403702012-05-08 Ian Wienand <ianw@vmware.com>
40371
40372 [BZ #14080]
40373 * time/tzset.c (__tzset_parse_tz): Update default rules for
40374 daylight time changes in the Energy Policy Act of 2005.
40375
1db86e88
AJ
403762012-05-09 Andreas Jaeger <aj@suse.de>
40377
40378 [BZ #13983]
40379 * elf/ldconfig.c (parse_conf): Change string to make clear that
40380 ldconfig only issued a warning if ld.so.conf does not exist.
40381
dee4a4e3
DM
403822012-05-08 David S. Miller <davem@davemloft.net>
40383
ee0db190
DM
40384 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
40385 movxtod instead of popping the value on the stack.
40386
dee4a4e3
DM
40387 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40388
6a43ec98
CD
403892012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
40390
40391 * config.h.in: Add HAVE_ARM_PCS_VFP.
40392
05c2c961
RMG
403932012-05-08 Roland Mc Grath <roland@hack.frob.com>
40394
bcfe3a54
ST
40395 [BZ #13979]
40396 * include/features.h: Warn if user requests __FORTIFY_SOURCE
40397 checking but the checks are disabled for any reason.
05c2c961 40398
4b30f61a
L
403992012-05-08 H.J. Lu <hongjiu.lu@intel.com>
40400
40401 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
40402 and ELF64_R_TYPE with ELFW(R_TYPE).
40403
eee2bc67
JM
404042012-05-08 Joseph Myers <joseph@codesourcery.com>
40405
7ea5391a
JM
40406 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
40407 (ulimit): Likewise.
40408
eee2bc67
JM
40409 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
40410 (settimeofday): Likewise.
40411
abb66a67
MF
404122012-05-08 Mike Frysinger <vapier@gentoo.org>
40413
40414 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
40415 a struct th_u2 inside the union, and move tu_block/tu_code into
40416 a new th_u3 union of tu_block/tu_code inside of that. Move
40417 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
40418 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
40419 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
40420 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
40421 (th_stuff): Change to th_u1.tu_stuff.
40422 (th_data): Define.
40423 (th_msg): Change to th_u1.th_u2.tu_data.
40424
7f18b530
DM
404252012-05-07 David S. Miller <davem@davemloft.net>
40426
05760585
DM
40427 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40428
7f18b530
DM
40429 [BZ #14074]
40430 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
40431 (SETUP_PIC_REG): Use it.
40432 (SETUP_PIC_REG_LEAF): Use it.
40433
495fd99f
JM
404342012-05-07 Joseph Myers <joseph@codesourcery.com>
40435
40436 [BZ #13885]
40437 [BZ #13923]
40438 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
40439 USE_AS_EXPM1L.
40440 (EXPL_FINITE): Likewise.
40441 (FLDLOG): Likewise.
40442 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
40443 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
40444 e_expl.S.
40445 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
40446 USE_AS_EXPM1L.
40447 (EXPL_FINITE): Likewise.
40448 (FLDLOG): Likewise.
40449 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
40450 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
40451 e_expl.S.
40452 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
40453 test of -max_value argument for long double.
40454 * sysdeps/i386/fpu/libm-test-ulps: Update.
40455 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40456
6693d694
DM
404572012-05-06 David S. Miller <davem@davemloft.net>
40458
40459 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
40460 quad soft-float symbols whose references which are compiler
40461 generated.
40462 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
40463
6c23e11c
JM
404642012-05-06 Joseph Myers <joseph@codesourcery.com>
40465
d8b82cad
JM
40466 [BZ #13884]
40467 [BZ #13914]
40468 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
40469 USE_AS_EXP10L.
40470 (EXPL_FINITE): Likewise.
40471 (FLDLOG): Likewise.
40472 (c0): Likewise.
40473 (c1): Likewise.
40474 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
40475 Adjust comments for base varying.
40476 (__expl_finite): Change alias to EXPL_FINITE.
40477 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
40478 e_expl.S.
40479 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
40480 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
40481 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
40482 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
40483 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
40484 USE_AS_EXP10L.
40485 (EXPL_FINITE): Likewise.
40486 (FLDLOG): Likewise.
40487 (c0): Likewise.
40488 (c1): Likewise.
40489 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
40490 Adjust comments for base varying.
40491 (__expl_finite): Change alias to EXPL_FINITE.
40492 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
40493 tests for bugs.
40494 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40495
6c23e11c
JM
40496 [BZ #14064]
40497 * math/libm-test.inc (check_float_internal): Correct ulp
40498 calculation for subnormal expected results.
40499
29ba805c
AJ
405002012-05-06 Andreas Jaeger <aj@suse.de>
40501
40502 * Makeconfig (+math-flags): New, set to -frounding-math.
40503 (+cflags): Add +math-flags so that all of glibc gets compiled with
40504 it.
40505
40506 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
40507
7b17aeda
JM
405082012-05-05 Joseph Myers <joseph@codesourcery.com>
40509
5779f134
JM
40510 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
40511 Disable one test.
40512
41498f4d
JM
40513 [BZ #13787]
40514 [BZ #13922]
40515 [BZ #14036]
40516 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
40517 (__ieee754_expl): Allow for and saturate large arguments.
40518 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
40519 (u_threshold): Likewise.
40520 (__exp): Call __ieee754_exp before checking for overflow and
40521 underflow.
40522 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
40523 (u_threshold): Likewise.
40524 (__expf): Call __ieee754_expf before checking for overflow and
40525 underflow.
40526 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
40527 (u_threshold): Likewise.
40528 (__expl): Call __ieee754_expl before checking for overflow and
40529 underflow.
40530 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
40531 (__ieee754_expl): Allow for and saturate large arguments.
40532 * math/libm-test.inc (exp_test): Add another test. Do not allow
40533 missing overflow exception on overflow.
40534 (expm1_test): Do not allow missing overflow exception on overflow.
40535
6698b8bf
JM
40536 * sysdeps/i386/fpu/e_expl.c: Move to ...
40537 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
40538 rather than using inline asm.
40539 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
40540 * sysdeps/x86_64/fpu/e_expl.S: Copy from
40541 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
40542
7b17aeda
JM
40543 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
40544 (nice): Likewise.
40545 (poll): Likewise.
40546 (signal): Likewise.
40547 (time): Likewise.
40548 (times): Likewise.
40549
f7c85819
JM
405502012-05-04 Joseph Myers <joseph@codesourcery.com>
40551
40552 * sysdeps/unix/syscalls.list (adjtime): Add entry from
40553 sysdeps/unix/common/syscalls.list.
40554 (fchmod): Likewise.
40555 (fchown): Likewise.
40556 (ftruncate): Likewise.
40557 (getrusage): Likewise.
40558 (gettimeofday): Likewise.
40559 (setpgid): Likewise.
40560 (setregid): Likewise.
40561 (setreuid): Likewise.
40562 (sigaction): Likewise.
40563 (truncate): Likewise.
40564 (vhangup): Likewise.
40565 * sysdeps/unix/common/syscalls.list: Remove file.
40566 * sysdeps/unix/bsd/Implies: Don't include unix/common.
40567 * sysdeps/unix/sysv/linux/Implies: Likewise.
40568
336270d0
L
405692012-05-04 H.J. Lu <hongjiu.lu@intel.com>
40570
40571 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
40572 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
40573 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
40574 Moved to ...
40575 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
40576 Here.
40577 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
40578 to ...
40579 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
40580 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
40581 to ...
40582 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
40583 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
40584 to ...
40585 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
40586 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
40587 to ...
40588 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
40589 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
40590 to ...
40591 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
40592 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
40593 to ...
40594 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
40595 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
40596 to ...
40597 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
40598 Here.
40599 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
40600 to ...
40601 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
40602 Here.
40603 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
40604 to ...
40605 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
40606 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
40607 Moved to ...
40608 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
40609 Here.
40610 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
40611 to ...
40612 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
40613
d128e450
JM
406142012-05-04 Joseph Myers <joseph@codesourcery.com>
40615
fa8ee516
JM
40616 * sysdeps/unix/common/bits/dirent.h: Remove file.
40617 * sysdeps/unix/common/bits/fcntl.h: Likewise.
40618
d128e450
JM
40619 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
40620 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
40621 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
40622 * sysdeps/unix/bsd/isatty.c: Likewise.
40623 * sysdeps/unix/bsd/tcdrain.c: Likewise.
40624 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
40625 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
40626
ff8faaf0 406272012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 40628
62881be4 40629 [BZ #13563]
31dc8730
AZ
40630 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
40631 long double comparison inaccuracies.
40632 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
40633 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40634
6fef930c
AS
406352012-05-04 Andreas Schwab <schwab@linux-m68k.org>
40636
40637 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
40638 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
40639
8f203e6c
JM
406402012-05-04 Joseph Myers <joseph@codesourcery.com>
40641
40642 [BZ #14049]
40643 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
40644 nonzero digits before rounding a hex value.
40645 * stdlib/tst-strtod.c (tests): Add another test.
40646
5197d9c2
AK
406472012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40648
40649 * sysdeps/s390/fpu/libm-test-ulps: Update.
40650
f0c1dedf
AJ
406512012-05-03 Andreas Jaeger <aj@suse.de>
40652
40653 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
40654 does not get optimized out.
40655 (malloc_opt_barrier): New.
40656
a65ef2ae 406572012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 40658 Roland McGrath <roland@hack.frob.com>
a65ef2ae 40659
2b942cb7 40660 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 40661 intermediate file deletion.
2b942cb7 40662 (generated): Add .symlist files.
a65ef2ae 40663
54b71e02
JM
406642012-05-03 Joseph Myers <joseph@codesourcery.com>
40665
40666 [BZ #13775]
40667 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
40668 Redirect under this condition.
40669 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
40670 [__USE_GNU] (__dprintf_chk): Not under this condition.
40671 [__USE_GNU] (__vdprintf_chk): Likewise.
40672 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
40673 under this condition.
40674 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
40675 [__USE_XOPEN2K8] (dprintf): Define under this condition.
40676 [__USE_XOPEN2K8] (vdprintf): Likewise.
40677 [__USE_GNU] (__dprintf_chk): Not under this condition.
40678 [__USE_GNU] (__vdprintf_chk): Likewise.
40679 [__USE_GNU] (dprintf): Likewise.
40680 [__USE_GNU] (vdprintf): Likewise.
40681
d3dfcc41
RM
406822012-05-03 Roland McGrath <roland@hack.frob.com>
40683
40684 * elf/Makefile (common-generated): Set this instead of generated for
40685 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
40686 $(all-built-dso)-derived lists.
40687
7ac30cc5
AJ
406882012-05-03 Andreas Jaeger <aj@suse.de>
40689
0c51e550
AJ
40690 * sysdeps/i386/fpu/libm-test-ulps: Update.
40691
7ac30cc5
AJ
40692 * FAQ: Removed.
40693 * FAQ.in: Likewise.
40694 * scripts/gen-FAQ.pl: Likewise.
40695 * manual/install.texi (Installation): Point to online location of
40696 FAQ.
40697 * Makefile (files-for-dist): Remove FAQ.
40698 (FAQ): Remove.
40699
d4c2917f
AM
407002012-05-02 Allan McRae <allan@archlinux.org>
40701
40702 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
40703 (LDFLAGS-reldepmod5.so): Likewise.
40704 (LDFLAGS-reldep6mod1.so): Likewise.
40705 (LDFLAGS-reldep6mod4.so): Likewise.
40706 (LDFLAGS-reldep8mod3.so): Likewise.
40707 (LDFLAGS-unload4mod1.so): Likewise.
40708 (LDFLAGS-unload4mod2.so): Likewise.
40709 (LDFLAGS-tst-initorder): Likewise.
40710 (LDFLAGS-tst-initordera2.so): Likewise.
40711 (LDFLAGS-tst-initordera3.so): Likewise.
40712 (LDFLAGS-tst-initordera4.so): Likewise.
40713 (LDFLAGS-tst-initorderb2.so): Likewise.
40714 (LDFLAGS-noload): Likewise.
40715 (LDFLAGS-next): Likewise.
40716 (LDFLAGS-order2mod1.so): Likewise.
40717 (LDFLAGS-order2mod2.so): Likewise.
40718 (LDFLAGS-tst-initorder2): Likewise.
40719 (LDFLAGS-tst-initorder2a.so): Likewise.
40720 (LDFLAGS-tst-initorder2b.so): Likewise.
40721 (LDFLAGS-tst-initorder2c.so): Likewise.
40722 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
40723
d77f993f
DM
407242012-05-02 David S. Miller <davem@davemloft.net>
40725
40726 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40727
171a70b4
PP
407282012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
40729
40730 [BZ #14055]
40731 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
40732
0be196ad
AJ
407332012-05-02 Andreas Jaeger <aj@suse.de>
40734
40735 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
40736 since we manipulate rounding mode.
40737 (CPPFLAGS-test-idouble.c): Likewise.
40738 (CPPFLAGS-test-ifloat.c): Likewise.
40739 (CFLAGS-test-ldouble.c): Likewise.
40740 (CFLAGS-test-double.c): Likewise.
40741 (CFLAGS-test-float.c): Likewise.
40742 (CFLAGS-test-misc.c): Likewise.
40743 (CFLAGS-test-test-fenv.c): Likewise.
40744
4f9d04aa
AZ
407452012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40746
2b942cb7
RM
40747 [BZ #2550]
40748 [BZ #2570]
40749 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
40750 comparisons to determine direction to adjust input.
4f9d04aa 40751
82a79e7d
RM
407522012-05-01 Roland McGrath <roland@hack.frob.com>
40753
f5a01ca9
RM
40754 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
40755 output to the target.
40756
90fe4186
RM
40757 * scripts/localplt.awk: New file.
40758 * elf/Makefile ($(objpfx)check-localplt): Target removed.
40759 (check-localplt-CFLAGS): Variable removed.
40760 ($(all-built-dso:=.jmprel)): New static pattern rule.
40761 (generated): Add those targets.
40762 (localplt-built-dso): New variable.
40763 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
40764
40765 * elf/check-localplt.c: File removed.
40766
82397ed6
RM
40767 * scripts/check-execstack.awk: New file.
40768 * elf/Makefile ($(objpfx)check-execstack): Target removed.
40769 (check-execstack-CFLAGS): Variable removed.
40770 ($(objpfx)check-execstack.h): Target removed.
40771 ($(objpfx)execstack-default): New target.
40772 (generated): Add that instead of check-execstack.h.
40773 ($(all-built-dso:=.phdr)): New static pattern rule.
40774 (generated): Add those targets.
40775 * elf/check-execstack.c: File removed.
40776
82a79e7d
RM
40777 * scripts/check-textrel.awk: New file.
40778 * elf/Makefile ($(objpfx)check-textrel): Target removed.
40779 (check-textrel-CFLAGS): Variable removed.
40780 (all-built-dso): Use := to define.o
40781 ($(all-built-dso:=.dyn)): New static pattern rule.
40782 (generated): Add those targets.
40783 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
40784 * config.make.in (READELF): New substituted variable.
40785 * elf/check-textrel.c: File removed.
40786
62fde54f 407872012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 40788
615605c9
JM
40789 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
40790 allow.
40791 * conform/data/ctype.h-data [C99-based standards] (isblank):
40792 Expect function.
40793 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
40794 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
40795 [ISO || ISO99 || ISO11] (*_t): Do not allow.
40796 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
40797 Specify type. Require positive value.
40798 (EILSEQ): Likewise.
40799 (ERANGE): Likewise.
40800 [ISO || POSIX] (EILSEQ): Do not expect.
40801 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
40802 Specify type. Require positive value.
40803 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
40804 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
40805 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
40806 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
40807 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
40808 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
40809 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
40810 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
40811 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
40812 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
40813 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
40814 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
40815 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
40816 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
40817 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
40818 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
40819 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
40820 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
40821 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
40822 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
40823 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
40824 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
40825 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
40826 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
40827 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
40828 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
40829 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
40830 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
40831 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
40832 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
40833 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
40834 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
40835 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
40836 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
40837 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
40838 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
40839 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
40840 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
40841 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
40842 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
40843 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
40844 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
40845 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
40846 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
40847 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
40848 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
40849 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
40850 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
40851 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
40852 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
40853 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
40854 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
40855 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
40856 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
40857 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
40858 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
40859 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
40860 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
40861 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
40862 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
40863 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
40864 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
40865 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
40866 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
40867 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
40868 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
40869 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
40870 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
40871 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
40872 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
40873 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
40874 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
40875 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
40876 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
40877 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
40878 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
40879 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
40880 Require >= 2.
40881 (FLT_ROUNDS): Expect as macro, not constant.
40882 (FLT_MANT_DIG): Use macro-int-constant.
40883 (DBL_MANT_DIG): Likewise.
40884 (LDBL_MANT_DIG): Likewise.
40885 (FLT_DIG): Likewise.
40886 (DBL_DIG): Likewise.
40887 (LDBL_DIG): Likewise.
40888 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
40889 (DBL_MIN_EXP): Likewise.
40890 (LDBL_MIN_EXP): Likewise.
40891 (FLT_MAX_EXP): Use macro-int-constant.
40892 (DBL_MAX_EXP): Likewise.
40893 (LDBL_MAX_EXP): Likewise.
40894 (FLT_MAX_10_EXP): Likewise.
40895 (DBL_MAX_10_EXP): Likewise.
40896 (LDBL_MAX_10_EXP): Likewise.
40897 (FLT_MAX): Use macro-constant.
40898 (DBL_MAX): Likewise.
40899 (LDBL_MAX): Likewise.
40900 (FLT_EPSILON): Use macro-constant. Give upper bound.
40901 (DBL_EPSILON): Likewise.
40902 (LDBL_EPSILON): Likewise.
40903 (FLT_MIN): Likewise.
40904 (DBL_MIN): Likewise.
40905 (LDBL_MIN): Likewise.
40906 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
40907 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
40908 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
40909 [ISO11] (FLT_HAS_SUBNORM): Likewise.
40910 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
40911 [ISO11] (DBL_DECIMAL_DIG): Likewise.
40912 [ISO11] (FLT_DECIMAL_DIG): Likewise.
40913 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
40914 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
40915 [ISO11] (FLT_TRUE_MIN): Likewise.
40916 [ISO11] (LDBL_TRUE_MIN): Likewise.
40917 [ISO || ISO99 || ISO11] (*_t): Do not allow.
40918 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
40919 (SCHAR_MIN): Use macro-int-constant. Specify type.
40920 (SCHAR_MAX): Likewise.
40921 (UCHAR_MAX): Likewise.
40922 (CHAR_MIN): Likewise.
40923 (CHAR_MAX): Likewise.
40924 (MB_LEN_MAX): Use macro-int-constant.
40925 (SHRT_MIN): Use macro-int-constant. Specify type.
40926 (SHRT_MAX): Likewise.
40927 (USHRT_MAX): Likewise.
40928 (INT_MAX): Likewise.
40929 (INT_MIN): Use macro-int-constant. Specify type. Make upper
40930 bound negative.
40931 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
40932 bound with "U".
40933 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
40934 bound with "L".
40935 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
40936 bound negative. Suffix upper bound with "L".
40937 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
40938 bound with "UL".
40939 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
40940 Specify type.
40941 [C99-based standards] (LLONG_MAX): Likewise.
40942 [C99-based standards] (ULLONG_MAX): Likewise.
40943 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
40944 == 0.
40945 [ISO11] (max_align_t): Require type.
40946 [ISO || ISO99 || ISO11] (*_t): Do not allow.
40947
c9140a62
JM
40948 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
40949 from $CFLAGS, without defining away __attribute__ calls.
40950 (checknamespace): Use $CFLAGS_namespace.
40951
9af0bf29
JM
40952 * conform/conformtest.pl (@keywords): Only include C99 keywords
40953 for standards based on C99 or C11.
40954
343222a2
JM
40955 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
40956 Disable tests.
40957 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
40958 UNIX98]: Likewise.
40959
661f8cf0
JM
40960 * conform/conformtest.pl: Handle "macro-int-constant" and test for
40961 usability of symbols in #if.
40962
ee74b9cb
JM
40963 * conform/conformtest.pl: If macro or constant types start
40964 "promoted:", expect the symbol to be of the following type
40965 promoted by the integer promotions.
62fde54f 40966
aafc49b3
JM
40967 * conform/conformtest.pl: Parse all "constant" and "macro" lines
40968 in one place. Also handle "macro-constant".
40969
fefdf574
JM
40970 * conform/conformtest.pl: Only accept expected macro values with
40971 "==". Parse all "macro" lines in one place.
40972 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
40973
f2d922fe
JM
40974 * conform/conformtest.pl: Handle braced types on "constant" lines
40975 instead of handling "typed-constant".
40976 * conform/data/signal.h-data: Use "constant" instead of
40977 "typed-constant".
40978
d22956c9
JM
40979 * conform/conformtest.pl: Handle "optional-" at start of lines in
40980 one place rather than duplicating several cases. Handle each
40981 format of "macro" line with initial "optional-".
40982
028e2e38
JM
40983 * conform/conformtest.pl: Only accept expected constant or
40984 optional-constant values with "==". Parse all "constant" lines in
40985 one place. Parse all "optional-constant" lines in one place.
40986 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
40987 * conform/data/fmtmsg.h-data: Likewise.
40988 * conform/data/netinet/in.h-data: Likewise.
40989 * conform/data/tar.h-data: Likewise.
40990 * conform/data/limits.h-data: Use "==" form on "constant" and
40991 "optional-constant" lines.
40992
1b8f2850
JM
40993 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
40994 Use -std=c99 for XOPEN2K.
40995 (@knownproblems): Remove.
40996 (newtoken): Don't check %isknown.
40997
a05a144b
JM
40998 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
40999 Do not expect macro.
41000 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
41001 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
41002 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
41003 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
41004 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
41005 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
41006 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
41007 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
41008 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
41009 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
41010 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
41011 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
41012 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
41013 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
41014 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
41015 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
41016 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
41017 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
41018 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
41019 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
41020 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
41021 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
41022 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
41023 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
41024 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
41025 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
41026 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
41027 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
41028 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
41029 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
41030 [XPG3] (acosh): Likewise.
41031 [XPG3] (asinh): Likewise.
41032 [XPG3] (atanh): Likewise.
41033 [XPG3] (cbrt): Likewise.
41034 [XPG3] (expm1): Likewise.
41035 [XPG3] (ilogb): Likewise.
41036 [XPG3] (log1p): Likewise.
41037 [XPG3] (logb): Likewise.
41038 [XPG3] (nextafter): Likewise.
41039 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
41040 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
41041 [XPG3] (remainder): Likewise.
41042 [XPG3] (rint): Likewise.
41043 [XPG3 || XPG4 || UNIX98] (round): Likewise.
41044 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
41045 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
41046 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
41047 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
41048 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
41049 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
41050 [UNIX98 || XOPEN2K] (scalb): Expect.
41051 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
41052 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
41053 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
41054 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
41055 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
41056 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
41057 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
41058 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
41059 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
41060 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
41061 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
41062 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
41063 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
41064 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
41065 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
41066 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
41067 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
41068 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
41069 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
41070 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
41071 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
41072 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
41073 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
41074 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
41075 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
41076 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
41077 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
41078 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
41079 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
41080 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
41081 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
41082 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
41083 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
41084 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
41085 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
41086 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
41087 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
41088 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
41089 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
41090 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
41091 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
41092 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
41093 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
41094 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
41095 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
41096 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
41097 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
41098 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
41099 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
41100 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
41101 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
41102 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
41103 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
41104 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
41105 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
41106 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
41107 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
41108 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
41109 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
41110 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
41111 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
41112 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
41113 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
41114 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
41115 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
41116 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
41117 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
41118 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
41119 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
41120 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
41121 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
41122 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
41123 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
41124 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
41125 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
41126 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
41127 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
41128 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
41129 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
41130 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
41131 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
41132 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
41133 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
41134 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
41135 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
41136 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
41137 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
41138 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
41139 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
41140 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
41141 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
41142 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
41143 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
41144 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
41145 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
41146 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
41147 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
41148 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
41149 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
41150 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
41151 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
41152 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
41153 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
41154 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
41155 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
41156 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
41157 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
41158 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
41159 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
41160 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
41161 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
41162 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
41163 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
41164 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
41165 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
41166 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
41167 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
41168 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
41169 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
41170 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
41171 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
41172 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
41173 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
41174 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
41175 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
41176 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
41177 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
41178 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
41179 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
41180 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
41181 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
41182 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
41183 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
41184 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
41185 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
41186 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
41187 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
41188
73c5ebe3
JM
41189 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
41190 _XOPEN_SOURCE_EXTENDED for XPG4.
41191
39c33b6c
JM
41192 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
41193
62fde54f
JM
41194 * Makeconfig (localtime): Remove variable.
41195 (inst_localtime-file): Likewise.
41196
0741d64c
AS
411972012-05-01 Andreas Schwab <schwab@linux-m68k.org>
41198
41199 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
41200 Update.
41201 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
41202 Update.
41203 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
41204 Update.
41205 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
41206 Update.
41207 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
41208 Update.
41209 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
41210 Update.
41211 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
41212 Update.
41213 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
41214 Update.
41215 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
41216 Update.
41217
7cb029ee
JM
412182012-05-01 Joseph Myers <joseph@codesourcery.com>
41219
41220 [BZ #2550]
41221 [BZ #2570]
41222 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
41223 comparisons to determine direction to adjust input.
41224 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
41225 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
41226 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
41227 Likewise.
41228 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
41229 Likewise.
41230 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
41231 Likewise.
41232 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
41233 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
41234 Likewise.
41235 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
41236 Likewise.
41237 * math/libm-test.inc (nexttoward_test): Add more tests.
41238
412bd966
AS
412392012-05-01 Andreas Schwab <schwab@linux-m68k.org>
41240
41241 [BZ #14040]
41242 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
41243 in version GLIBC_2.1, not GLIBC_2.0.
41244 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
41245 Likewise.
41246
9568c0c2
JM
412472012-04-30 Joseph Myers <joseph@codesourcery.com>
41248
adfbc8ac
JM
41249 [BZ #13942]
41250 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
41251 (1 - x) * (1 + x).
41252 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
41253 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
41254 * math/libm-test.inc (acos_test): Add more tests.
41255 (asin_test): Likewise.
41256 * sysdeps/i386/fpu/libm-test-ulps: Update.
41257 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41258
5ba3cc69
JM
41259 [BZ #14034]
41260 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
41261 of square root.
41262 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
41263 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
41264 * math/libm-test.inc (acos_test_tonearest): New function.
41265 (acos_test_towardzero): Likewise.
41266 (acos_test_downward): Likewise.
41267 (acos_test_upward): Likewise.
41268 (asin_test_tonearest): Likewise.
41269 (asin_test_towardzero): Likewise.
41270 (asin_test_downward): Likewise.
41271 (asin_test_upward): Likewise.
41272 (main): Call the new functions.
41273 * sysdeps/i386/fpu/libm-test-ulps: Update.
41274 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41275
9568c0c2
JM
41276 [BZ #13884]
41277 [BZ #13924]
41278 * math/e_exp10.c: Include <float.h>.
41279 (__ieee754_exp10): Handle underflow here rather than multiplying
41280 large negative argument by M_LN10.
41281 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
41282 of __ieee754_expf.
41283 * math/e_exp10l.c: Include <float.h>.
41284 (__ieee754_exp10l): Handle underflow here rather than multiplying
41285 large negative argument by M_LN10l.
41286 * math/libm-test.inc (exp10_test): Add another test. Do not allow
41287 spurious overflow exception on underflow.
41288
5ac3ea17
MP
412892012-04-29 Marek Polacek <polacek@redhat.com>
41290
41291 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
41292 (__fortify_function): New macro.
41293 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
41294 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
41295 __extern_always_inline.
41296 * libio/bits/stdio2.h: Likewise.
41297 * libio/bits/stdio.h: Likewise.
41298 * string/string.h: Likewise.
41299 * string/bits/string3.h: Likewise.
41300 * include/stdio.h: Likewise.
41301 * stdlib/bits/stdlib.h: Likewise.
41302 * stdlib/stdlib.h: Likewise.
41303 * rt/bits/mqueue2.h: Likewise.
41304 * rt/mqueue.h: Likewise.
41305 * posix/bits/unistd.h: Likewise.
41306 * posix/unistd.h: Likewise.
41307 * io/bits/poll2.h: Likewise.
41308 * io/bits/fcntl2.h: Likewise.
41309 * io/fcntl.h: Likewise.
41310 * io/sys/poll.h: Likewise.
41311 * misc/bits/syslog.h: Likewise.
41312 * misc/bits/syslog-ldbl.h: Likewise.
41313 * misc/sys/syslog.h: Likewise.
41314 * socket/bits/socket2.h: Likewise.
41315 * socket/sys/socket.h: Likewise.
41316 * debug/tst-chk1.c: Likewise.
41317 * wcsmbs/bits/wchar2.h: Likewise.
41318 * wcsmbs/bits/wchar-ldbl.h: Likewise.
41319 * wcsmbs/wchar.h: Likewise.
41320
ecf0ebfb
AJ
413212012-04-29 Andreas Jaeger <aj@suse.de>
41322
41323 * Makerules (tests): Remove enable-check-abi protection.
41324 (check-abi-warn): Remove.
41325 (check-abi-%): Remove check-abi-warn usage.
41326
41327 * configure.in: Remove check-abi configure option.
41328 * configure: Regenerated.
41329 * config.make.in (enable-check-abi): Remove.
41330
6d5c57fa
AS
413312012-04-28 Andreas Schwab <schwab@linux-m68k.org>
41332
24c5d07e 41333 [BZ #14033]
ded5180a
AS
41334 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
41335 double functions to double *_finite functions.
41336
7e0d315d
AS
41337 [BZ #13941]
41338 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
41339 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
41340 LDBL_MIN_EXP.
41341 * stdio-common/Makefile (tests): Add tst-sprintf3.
41342 * stdio-common/tst-sprintf3.c: New file.
41343
6d5c57fa
AS
41344 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
41345 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
41346
0749ff8b
JM
413472012-04-28 Joseph Myers <joseph@codesourcery.com>
41348
41349 * conform/conformtest.pl: Remove duplicate typed-constant
41350 handling.
41351
8dbd5d7b
DM
413522012-04-28 David S. Miller <davem@davemloft.net>
41353
41354 * Makerules (%.abilist): Add vpath on sysdep_dirs.
41355 (check-abi-%): Remove AWK script prerequisite and explicit
41356 abilist directory.
41357 (check-abi): Rewrite to just diff the symlist with the abilist.
41358 (config-tls, config-abi-config): Delete, no longer used.
41359 (update-abi-%): Remove AWK script and explicit abilist directory.
41360 (update-abi): Rewrite to simply compare and conditionally copy the
41361 symlist and the sysdep abilist file. Remove update-abi-config
41362 checks.
41363 * abilist/ld.abilist: Remove.
41364 * abilist/libBrokenLocale.abilist: Remove.
41365 * abilist/libanl.abilist: Remove.
41366 * abilist/libcrypt.abilist: Remove.
41367 * abilist/libdl.abilist: Remove.
41368 * abilist/librt.abilist: Remove.
41369 * abilist/libthread_db.abilist: Remove.
41370 * abilist/libutil.abilist: Remove.
41371 * scripts/extract-abilist.awk: Remove.
41372 * scripts/merge-abilist.awk: Remove.
41373 * sysdeps/generic/libcidn.abilist: New file.
41374 * sysdeps/generic/libnss_compat.abilist: New file.
41375 * sysdeps/generic/libnss_db.abilist: New file.
41376 * sysdeps/generic/libnss_dns.abilist: New file.
41377 * sysdeps/generic/libnss_files.abilist: New file.
41378 * sysdeps/generic/libnss_hesiod.abilist: New file.
41379 * sysdeps/generic/libnss_nis.abilist: New file.
41380 * sysdeps/generic/libnss_nisplus.abilist: New file.
41381 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
41382 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
41383 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
41384 file.
41385 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
41386 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
41387 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
41388 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
41389 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
41390 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
41391 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
41392 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
41393 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
41394 file.
41395 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
41396 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
41397 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
41398 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
41399 file.
41400 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
41401 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
41402 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
41403 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
41404 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
41405 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
41406 file.
41407 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
41408 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
41409 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
41410 file.
41411 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
41412 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
41413 New file.
41414 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
41415 New file.
41416 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
41417 New file.
41418 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
41419 New file.
41420 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
41421 New file.
41422 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
41423 New file.
41424 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
41425 New file.
41426 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
41427 New file.
41428 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
41429 New file.
41430 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
41431 New file.
41432 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
41433 New file.
41434 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
41435 New file.
41436 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
41437 New file.
41438 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
41439 file.
41440 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
41441 New file.
41442 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
41443 New file.
41444 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
41445 file.
41446 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
41447 New file.
41448 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
41449 New file.
41450 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
41451 file.
41452 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
41453 New file.
41454 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
41455 New file.
41456 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
41457 New file.
41458 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
41459 New file.
41460 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
41461 New file.
41462 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
41463 New file.
41464 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
41465 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
41466 file.
41467 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
41468 New file.
41469 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
41470 file.
41471 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
41472 file.
41473 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
41474 file.
41475 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
41476 file.
41477 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
41478 file.
41479 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
41480 New file.
41481 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
41482 file.
41483 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
41484 file.
41485 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
41486 New file.
41487 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
41488 file.
41489 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
41490 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
41491 file.
41492 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
41493 New file.
41494 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
41495 file.
41496 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
41497 file.
41498 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
41499 file.
41500 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
41501 file.
41502 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
41503 file.
41504 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
41505 New file.
41506 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
41507 file.
41508 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
41509 file.
41510 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
41511 New file.
41512 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
41513 file.
41514 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
41515 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
41516 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
41517 file.
41518 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
41519 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
41520 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
41521 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
41522 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
41523 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
41524 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
41525 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
41526 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
41527 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
41528 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
41529 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
41530 file.
41531 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
41532 New file.
41533 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
41534 file.
41535 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
41536 file.
41537 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
41538 file.
41539 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
41540 file.
41541 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
41542 file.
41543 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
41544 New file.
41545 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
41546 New file.
41547 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
41548 file.
41549 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
41550 New file.
41551 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
41552 file.
41553 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
41554 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
41555 file.
41556 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
41557 New file.
41558 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
41559 file.
41560 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
41561 file.
41562 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
41563 file.
41564 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
41565 file.
41566 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
41567 file.
41568 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
41569 New file.
41570 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
41571 New file.
41572 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
41573 file.
41574 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
41575 New file.
41576 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
41577 file.
41578
41d73a1b
JM
415792012-04-28 Joseph Myers <joseph@codesourcery.com>
41580
41581 * conform/conformtest.pl: Fix typo in handling typed-constant from
41582 allow-header.
41583
28aeeda4
JM
415842012-04-27 Joseph Myers <joseph@codesourcery.com>
41585
adae8f5e
JM
41586 * README: Cut down references to pre-2.6 Linux kernels and
41587 Linuxthreads. Update lists of configurations in libc and ports
41588 and sort alphabetically. Say "or newer" with Linux kernel version
41589 requirements.
41590
28aeeda4
JM
41591 * config.h.in [IS_IN_build]: Allow compiling without optimization.
41592
a462cb63
RA
415932012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
41594
41595 [BZ #887]
41596 * math/libm-test.inc (logb_test_downward): New test to expose
41597 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
41598 rounding mode.
41599
6ad3493e
JM
416002012-04-27 Joseph Myers <joseph@codesourcery.com>
41601
41602 [BZ #14027]
41603 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
41604 to be done.
41605 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
41606 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
41607
2ce4f015
JM
416082012-04-26 Joseph Myers <joseph@codesourcery.com>
41609
5aeb141a
JM
41610 * sysdeps/unix/i386/brk.S: Remove file.
41611 * sysdeps/unix/i386/dl-brk.S: Likewise.
41612 * sysdeps/unix/i386/pipe.S: Likewise.
41613 * sysdeps/unix/i386/sigreturn.S: Likewise.
41614 * sysdeps/unix/i386/syscall.S: Likewise.
41615 * sysdeps/unix/i386/vfork.S: Likewise.
41616 * sysdeps/unix/i386/wait.S: Likewise.
41617
7143acae
JM
41618 * sysdeps/unix/common/tcsendbrk.c: Move to ...
41619 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
41620
2ce4f015
JM
41621 * configure.in (arm*-none*): Do not allow without
41622 --enable-hacker-mode.
41623 (netbsd*): Remove case setting base_os.
41624 (386bsd*): Likewise.
41625 (freebsd*): Likewise.
41626 (bsdi*): Likewise.
41627 (osf*): Likewise.
41628 (sunos*): Likewise.
41629 (ultrix*): Likewise.
41630 (newsos*): Likewise.
41631 (dynix*): Likewise.
41632 (*bsd*): Likewise.
41633 (sysv*): Likewise.
41634 (isc*): Likewise.
41635 (esix*): Likewise.
41636 (sco*): Likewise.
41637 (minix*): Likewise.
41638 (irix4*): Likewise.
41639 (irix6*): Likewise.
41640 (solaris[2-9]*): Likewise.
41641 (none): Likewise.
41642 * configure: Regenerated.
41643
0ac229c8
AZ
416442012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41645
41646 [BZ #11521]
41647 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
41648 overflow or cancellation in calculating denominator.
41649 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
41650 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
41651 down expression to avoid unexpected rounding in newer GCCs.
41652 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
41653
33f244f4
DM
416542012-04-26 David S. Miller <davem@davemloft.net>
41655
41656 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
41657 long-double compat symbols.
41658 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
41659 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
41660 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
41661 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
41662 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
41663 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
41664 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
41665 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
41666 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
41667 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
41668 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
41669 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
41670 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
41671
cfa1f3e8
DM
416722012-04-25 David S. Miller <davem@davemloft.net>
41673
41674 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
41675 HWCAP_* values only after the memory barriers have been defined.
41676 (atomic_full_barrier): Define.
41677 (atomic_read_barrier): Define.
41678 (atomic_write_barrier): Define.
41679
6e236b92
SP
416802012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
41681
41682 * shlib-versions: Add libgcc_s version information.
41683 * sysdeps/generic/libgcc_s.h: Remove.
41684 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
41685 libgcc_s.h.
41686 * sysdeps/gnu/unwind-resume.c: Likewise.
41687 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
41688
aab39a09
DM
416892012-04-25 David S. Miller <davem@davemloft.net>
41690
41691 * sysdeps/unix/sparc/brk.S: Delete.
41692 * sysdeps/unix/sparc/dl-brk.S: Delete.
41693 * sysdeps/unix/sparc/pipe.S: Delete.
41694 * sysdeps/unix/sparc/sysdep.S: Delete.
41695 * sysdeps/unix/sparc/sysdep.h: Delete.
41696 * sysdeps/unix/sparc/vfork.S: Delete.
57f41c40
AS
41697 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
41698 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
41699 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
41700 (ret_ERRVAL, r0, r1, MOVE): Define.
aab39a09
DM
41701 (JUMPTARGET): Remove.
41702 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
41703 sysdeps/unix/sparc/sysdep.h
41704 (ENTRY, END): Remove.
41705 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
41706
a3cc4f48
JM
417072012-04-25 Joseph Myers <joseph@codesourcery.com>
41708
2ed8cda2
JM
41709 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
41710 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
41711 -DIS_IN_build.
41712
35d76d59
JM
41713 * timezone/README: Update upstream location and email address for
41714 tzcode and tzdata.
41715 * timezone/zdump.c: Update from tzcode 2012b.
41716 * timezone/zic.c: Likewise.
41717
a3cc4f48
JM
41718 * configure.in (libc_cv_as_needed): Remove test.
41719 * configure: Regenerated.
41720 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
41721 conditional definition.
41722 [$(have-as-needed) != yes] (no-as-needed): Likewise.
41723 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
41724 * config.make.in (have-as-needed): Remove variable.
41725
ceab42c3
SP
417262012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
41727 Paul Pluzhnikov <ppluzhnikov@google.com>
41728
41729 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
41730 strings correctly.
41731
3ce2865f
CLT
417322012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
41733
41734 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
41735 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
41736 * sysdeps/sh/strlen.S: Likewise.
41737
f37e0d68
JM
417382012-04-24 Joseph Myers <joseph@codesourcery.com>
41739
ae186e9a
JM
41740 * sysdeps/unix/fork.S: Remove file.
41741 * sysdeps/unix/i386/fork.S: Likewise.
41742 * sysdeps/unix/sparc/fork.S: Likewise.
41743
b96914af
JM
41744 * sysdeps/unix/system.c: Remove file.
41745 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
41746
f37e0d68
JM
41747 * sysdeps/unix/getegid.S: Remove file.
41748 * sysdeps/unix/geteuid.S: Likewise.
41749
87ef29ca
RM
417502012-04-24 Roland McGrath <roland@hack.frob.com>
41751
83bcd236
RM
41752 * scripts/check-localplt.awk: New file.
41753 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
41754 of diff.
41755 * scripts/data/localplt-generic.data: Add a comment.
41756
87ef29ca
RM
41757 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
41758 NODE when __dir_mkfile failed.
41759 * sysdeps/mach/hurd/symlinkat.c: Likewise.
41760 Reported by Ludovic Courtès <ludo@gnu.org>.
41761
e5a6e567
AJ
417622012-04-24 Andreas Jaeger <aj@suse.de>
41763
41764 * Makerules (common-clean): Also remove gen-as-const-headers
41765 files.
41766
c1820385
JM
417672012-04-24 Joseph Myers <joseph@codesourcery.com>
41768
41769 * Makerules (native-compile): Do not change working directory for
41770 build. Use $(OUTPUT_OPTION) in command.
41771 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
41772
94e02fc4
AZ
417732012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41774
41775 [BZ #13886]
41776 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
41777 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
41778 * math/libm-test.inc (floor_test): Add more tests.
41779 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
41780
3a533ca3
JM
417812012-04-24 Joseph Myers <joseph@codesourcery.com>
41782
940ab4b3
JM
41783 * sysdeps/unix/getdents.c: Remove file.
41784 * sysdeps/unix/sysv/getdents.c: Likewise.
41785 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
41786
90e037bd
JM
41787 * sysdeps/unix/syscalls.list (madvise): Add syscall from
41788 sysdeps/unix/mman/syscalls.list.
41789 (mmap): Likewise.
41790 (mprotect): Likewise.
41791 (msync): Likewise.
41792 (munmap): Likewise.
41793 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
41794 * sysdeps/unix/mman/syscalls.list: Remove.
41795 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
41796
3a533ca3
JM
41797 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
41798 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
41799 * configure: Regenerated.
41800 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
41801 $(libgcc_s_suffix).
41802 * config.make.in (libgcc_s_suffix): Remove variable.
41803
1ad743de
JM
418042012-04-23 Joseph Myers <joseph@codesourcery.com>
41805
4ad451e2
JM
41806 * sysdeps/unix/sysv/gethostname.c: Move to ...
41807 * sysdeps/posix/gethostname.c: ... here.
41808
5e37ce39
JM
41809 * sysdeps/unix/execve.S: Remove file.
41810
1ad743de
JM
41811 * sysdeps/unix/_exit.S: Remove file.
41812
4e681b5b
AJ
418132012-04-23 Andreas Jaeger <aj@suse.de>
41814
41815 [BZ #13739]
41816 * manual/Makefile: Remove make dist support, there's no
41817 need for a stand-alone documentation tar ball.
41818 (TEXI2DVI): Define always, it's not in Makeconfig.
41819 (dist): Removed.
41820 (tar-it): Removed.
41821 (edition): Removed.
41822 (glibc-doc-$(edition).tar): Removed
41823 (%.Z): Removed.
41824 (%.gz): Removed.
41825 (%.uu): Removed.
41826 (ETAGS): Remove, it's in Makeconfig.
41827 (move-if-change): Remove, it's in Makeconfig.
41828
38686a03 418292012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
41830
41831 [BZ #13970]
41832 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
41833 (strtod, strtof, strtold, strtol, strtoul, strtoq)
41834 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
41835 (strtod_l, strtof_l, strtold_l): Remove __wur.
41836 It is not necessarily an error to ignore strtol's return value.
41837 One can reliably look at the stored endptr to decide whether
41838 the number had valid syntax.
41839
7c0616fa
AJ
418402012-04-21 Andreas Jaeger <aj@suse.de>
41841
803cb6b7 41842 [BZ #13739]
7c0616fa
AJ
41843 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
41844
b0fe253f
JM
418452012-04-21 Joseph Myers <joseph@codesourcery.com>
41846
41847 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
41848 * sysdeps/unix/sysv/Versions: Remove file.
41849
8280f22d
MT
418502012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
41851
41852 [BZ #13927]
41853 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41854
75ce411f 418552012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
41856
41857 [BZ #7064]
41858 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
41859 version from __vm86.
41860
097d59fa
JM
418612012-04-20 Joseph Myers <joseph@codesourcery.com>
41862
a90f3bcb
JM
41863 * sysdeps/unix/common/lxstat.c: Remove file.
41864 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
41865
edc7ea78
JM
41866 * sysdeps/unix/sysv/Makefile: Remove file.
41867
cb78c221
JM
41868 * sysdeps/unix/sysv/direct.h: Remove file.
41869
efa6a45f
JM
41870 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
41871 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
41872 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
41873 * sysdeps/unix/sysv/bits/signum.h: Likewise.
41874 * sysdeps/unix/sysv/bits/stat.h: Likewise.
41875 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
41876 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
41877
9c9f2d0c
JM
41878 * sysdeps/unix/sysv/setrlimit.c: Remove file.
41879
4541c83b
JM
41880 * sysdeps/unix/xmknod.c: Remove file.
41881 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
41882
f5d153a0
JM
41883 * sysdeps/unix/sysv/settimeofday.c: Remove file.
41884
aa746595
JM
41885 * sysdeps/unix/sysv/i386/time.S: Remove file.
41886
cce5905e
JM
41887 * sysdeps/unix/fxstat.c: Remove file.
41888 * sysdeps/unix/xstat.c: Likewise.
41889 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
41890
37fa3841
JM
41891 * sysdeps/unix/sysv/sigaction.c: Remove file.
41892
ff1962a3
JM
41893 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
41894 (sysdep_headers): Remove variable.
41895 [termio.h not in sysdep_headers] (generated): Likewise.
41896 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
41897 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
41898 * sysdeps/unix/sysv/tcdrain.c: Likewise.
41899 * sysdeps/unix/sysv/tcflow.c: Likewise.
41900 * sysdeps/unix/sysv/tcflush.c: Likewise.
41901 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
41902 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
41903 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
41904 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
41905 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
41906
e7740d31
JM
41907 * sysdeps/unix/siglist.c: Remove file.
41908
ee06f18b
JM
41909 * sysdeps/unix/getppid.S: Remove file.
41910
097d59fa
JM
41911 * sysdeps/unix/mkdir.c: Remove file.
41912 * sysdeps/unix/rmdir.c: Likewise.
41913
ff3d51ec
AS
419142012-04-19 Andreas Schwab <schwab@linux-m68k.org>
41915
41916 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
41917 ERR_MAX value.
41918 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
41919 errlist-compat value.
41920
50f81fd7
DM
419212012-04-18 David S. Miller <davem@davemloft.net>
41922
41923 * sysdeps/generic/memcopy.h (reg_char): Delete.
41924 * debug/strcat_chk.c: Use char, not reg_char.
41925 * debug/strcpy_chk.c: Likewise.
41926 * debug/strncat_chk.c: Likewise.
41927 * debug/strncpy_chk.c: Likewise.
41928 * string/memchr.c: Likewise.
41929 * string/memrchr.c: Likewise.
41930 * string/rawmemchr.c: Likewise.
41931 * string/strcat.c: Likewise.
41932 * string/strchr.c: Likewise.
41933 * string/strchrnul.c: Likewise.
41934 * string/strcmp.c: Likewise.
41935 * string/strcpy.c: Likewise.
41936 * string/strncat.c: Likewise.
41937 * string/strncmp.c: Likewise.
41938 * string/strncpy.c: Likewise.
41939
8ff41c46
WS
419402012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
41941
41942 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
41943 __builtin_memcopy is called when src and dest ranges are known to not
41944 overlap.
41945
6b652f46
WS
419462012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
41947
41948 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
41949 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
41950 fwd_align_merge macro call.
41951 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
41952 bwd_align_merge macro call.
41953 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
41954
b282631e
WS
419552012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
41956
41957 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
41958 bwd_align_merge macros.
41959 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
41960 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
41961 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
41962
95aa737c
DM
419632012-04-18 David S. Miller <davem@davemloft.net>
41964
41965 * sysdeps/sparc/sparc64/memcopy.h: Delete.
41966
7a99a614
AJ
419672012-04-18 Andreas Jaeger <aj@suse.de>
41968
41969 [BZ# 6794]
41970 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
41971 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
41972 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
41973
41974 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
41975 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
41976 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
41977
41978 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
41979 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
41980 Adjust for changed ldbl-128 files.
41981
41982 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
41983 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
41984 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
41985
e5270c23
DM
419862012-04-17 David S. Miller <davem@davemloft.net>
41987
41988 * sysdeps/sparc/sparc32/memcopy.h: Delete.
41989
fb5e92c9
AS
419902012-04-17 Andreas Schwab <schwab@linux-m68k.org>
41991
41992 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
41993 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
41994 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
41995 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
41996 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
41997 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
41998
76da7265
AZ
419992012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42000
42001 [BZ #6794]
42002 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
42003 * math/libm-test.inc: Add ilogb errno and exception tests.
42004 * math/w_ilogb.c: New file: ilogb wrapper.
42005 * math/w_ilogbf.c: New file: ilogbf wrapper.
42006 * math/w_ilogbl.c: New file: ilogbl wrapper.
42007 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
42008 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
42009 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
42010 exception being thrown with 0.0 as argument.
42011 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
42012 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
42013 exception being thrown with 0.0 as argument.
42014 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
42015 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
42016 exception being thrown with 0.0 as argument.
42017 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
42018 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
42019 exception being thrown with 0.0 as argument.
42020 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
42021 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 42022 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
42023 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
42024 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
42025 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
42026 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
42027 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
42028 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
42029
0396e69d
PB
420302012-04-17 Petr Baudis <pasky@ucw.cz>
42031
42032 * include/sys/uio.h: Change __vector to __iovec to avoid clash
42033 with altivec.
42034
750b5926
MP
420352012-04-16 Marek Polacek <polacek@redhat.com>
42036
42037 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
42038
751728a1
MP
420392012-04-16 Marek Polacek <polacek@redhat.com>
42040
42041 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
42042 operands of fdivp instruction.
42043
34a27407
L
420442012-04-13 H.J. Lu <hongjiu.lu@intel.com>
42045
42046 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
42047 * elf/tst-auditmod3b.c: Likewise.
42048 * elf/tst-auditmod4b.c: Likewise.
42049 * elf/tst-auditmod5b.c: Likewise.
42050 * elf/tst-auditmod6b.c: Likewise.
42051 * elf/tst-auditmod6c.c: Likewise.
42052 * elf/tst-auditmod7b.c: Likewise.
42053 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
42054 * sysdeps/x86_64/preconfigure.in: Likewise.
42055 * sysdeps/x86_64/preconfigure: Regenerated.
42056
7e73e17d
L
420572012-04-13 H.J. Lu <hongjiu.lu@intel.com>
42058
42059 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
42060 __ILP32__.
42061
c7a6ab72
AB
420622012-04-13 Antoine Balestrat <merkil33@gmail.com>
42063
42064 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
42065 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
42066
a9e8e0e0
CL
420672012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
42068
42069 [BZ #13973]
42070 * locale/iso-639.def: Fix gl language name. Spotted by
42071 Yaron Shahrabani.
42072
ec98af7d
RM
420732012-04-12 Roland McGrath <roland@hack.frob.com>
42074
42075 [BZ #2074]
42076 * libio/libio.h (__io_write_fn): Update comment.
42077
247c3ede
PB
420782012-04-12 Petr Baudis <pasky@ucw.cz>
42079
42080 [BZ #2074]
42081 * stdio.texi (Hook Functions): The user provided writer function
42082 is not allowed to return -1.
42083
55939d6d
DM
420842012-04-11 David S. Miller <davem@davemloft.net>
42085
42086 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42087
90020f5a
MF
420882012-04-11 Mike Frysinger <vapier@gentoo.org>
42089
42090 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
42091 Add a leading slash to rtkaio.
42092
288f9098
JM
420932012-04-11 Jim Meyering <meyering@redhat.com>
42094
90020f5a
MF
42095 [BZ #11959]
42096 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
42097 It is not necessarily an error to ignore fwrite's return
42098 value. One can reliably use ferror to test for errors after
42099 the fact.
288f9098 42100
4be2b570
L
421012012-04-10 H.J. Lu <hongjiu.lu@intel.com>
42102
42103 * bits/types.h (__snseconds_t): New type.
42104 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
42105
42106 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
42107 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
42108 (__SNSECONDS_T_TYPE): Likewise.
42109 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
42110 (__SNSECONDS_T_TYPE): Likewise.
42111 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
42112 (__SNSECONDS_T_TYPE): Likewise.
42113
288f9098 421142012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
42115
42116 [BZ #2636]
42117 * manual/time.texi (Processor Time): Return type of times is
42118 elapsed real time since an arbitrary point in the past.
42119 (CPU Time): Move CLK_TCK from here...
42120 (Processor Time): ...to here. Correct description.
42121 * manual/conf.texi (Constants for Sysconf): Correct description of
42122 _SC_CLK_TCK.
42123
d7dd4413
DM
421242012-04-10 David S. Miller <davem@davemloft.net>
42125
42126 [BZ #13967]
42127 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
42128 where the is a gap between DT_REL(A) and DT_JMPREL.
42129
b46068fc
L
421302012-04-10 H.J. Lu <hongjiu.lu@intel.com>
42131
42132 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
42133 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
42134 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
42135
73d65cc3
SP
421362012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
42137
42138 * elf/dl-support.c (_dl_inhibit_cache): New variable.
42139 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
42140 (dl_main): Handle --inhibit-cache.
42141 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
42142 _dl_inhibit_cache.
42143 * elf/dl-load.c (_dl_map_object): Use it.
42144 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
42145
bcc8d661
JM
421462012-04-09 Joseph Myers <joseph@codesourcery.com>
42147
8f9a2fae
JM
42148 [BZ #13872]
42149 * sysdeps/i386/fpu/e_powl.S (p78): New object.
42150 (__ieee754_powl): Saturate large exponents rather than testing for
42151 overflow of y*log2(x).
42152 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
42153 * math/libm-test.inc (pow_test): Do not permit spurious overflow
42154 exceptions.
42155
bcc8d661
JM
42156 [BZ #11521]
42157 * math/s_ctan.c: Include <float.h>.
42158 (__ctan): Avoid internal overflow or cancellation in calculating
42159 denominator.
42160 * math/s_ctanf.c: Likewise.
42161 * math/s_ctanl.c: Likewise.
42162 * math/s_ctanh.c: Likewise.
42163 * math/s_ctanhf.c: Likewise.
42164 * math/s_ctanhl.c: Likewise.
42165 * math/libm-test.inc (ctan_test): Add more tests.
42166 (ctanh_test): Likewise.
42167 * sysdeps/i386/fpu/libm-test-ulps: Update.
42168 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42169
823fbbb4
AJ
421702012-04-09 Andreas Jaeger <aj@suse.de>
42171
03879793
AJ
42172 [BZ #6894]
42173 * manual/filesys.texi (Directory Entries): Mention that d_namlen
42174 is an optional BSD extension.
42175
823fbbb4
AJ
42176 [BZ #10254]
42177 * manual/stdio.texi (Opening Streams): Document additional fopen
42178 parameters.
42179
8de131cb
RM
421802012-04-09 Roland McGrath <roland@hack.frob.com>
42181
42182 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
42183 %eax without telling the compiler.
42184
c0ed9d7d
CD
421852012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
42186
42187 [BZ # 13963]
42188 * manual/install.texi: Use sourceware.org.
42189
c483f6b4
JM
421902012-04-09 Joseph Myers <joseph@codesourcery.com>
42191
d7dd9453
JM
42192 [BZ #13873]
42193 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
42194 (__ieee754_pow): Generate overflow and underflow using huge*huge
42195 and tiny*tiny rather than just returning constant infinity or zero
42196 for large exponents.
42197 * math/libm-test.inc (pow_test): Require overflow exceptions for
42198 applicable cases of large exponents.
42199
c483f6b4
JM
42200 [BZ #706]
42201 * sysdeps/i386/fpu/e_pow.S (p10): New object.
42202 (__ieee754_pow): Use iterative multiplication algorithm only for
42203 integer exponents with absolute value below 1024. Check for odd
42204 integer exponents when using algorithm for real exponents.
42205 * math/libm-test.inc (pow_test): Add more tests.
42206 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42207
d2de7579
JM
422082012-04-08 Joseph Myers <joseph@codesourcery.com>
42209
42210 [BZ #13705]
42211 * math/libm-test.inc (exp_test): Do not allow overflow exception
42212 on underflow test.
42213
f77f1232
AJ
422142012-04-08 Aurelien Jarno <aurelien@aurel32.net>
42215
42216 [BZ #13705]
42217 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
42218 instead of __kernel_standard_f.
42219
3884932b
MF
422202012-04-08 Mike Frysinger <vapier@gentoo.org>
42221
42222 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
42223 * sysdeps/x86_64/memset_chk.S: Likewise.
42224
54472e9c
AJ
422252012-04-08 Andreas Jaeger <aj@suse.de>
42226
6ab0fbfc
AJ
42227 [BZ #10153]
42228 * manual/startup.texi (Environment Access): Describe return value
42229 for putenv and setenv.
42230
61efba8c
AJ
42231 [BZ #6895]
42232 * manual/filesys.texi (Directory Entries): Add description for
42233 DT_LNK.
42234
95c3f29a
AJ
42235 [BZ #6890]
42236 * manual/filesys.texi (Directory Entries): Clarify that it's file
42237 system not operating system in the description of DT_UNKNOWN.
42238
54472e9c
AJ
42239 [BZ #6578]
42240 * manual/syslog.texi (closelog): Fix reference, it's openlog.
42241
624254b1
SC
422422012-04-08 Stephen Compall <s11@member.fsf.org>
42243
42244 [BZ #6649]
42245 * manual/llio.texi (Opening and Closing Files): Add cross
42246 reference to explain mode argument.
42247
1e4920e0
MF
422482012-04-07 Mike Frysinger <vapier@gentoo.org>
42249
42250 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
42251 * sysdeps/x86_64/memset_chk.S: Likewise.
42252
5ed848f3
DM
422532012-04-07 David S. Miller <davem@davemloft.net>
42254
42255 * elf/elf.h (R_SPARC_WDISP10): Define.
42256 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
42257 R_SPARC_SIZE32.
42258 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
42259 R_SPARC_SIZE64 and R_SPARC_H34.
42260
96154cd8
CD
422612012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
42262
42263 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
42264 conditions and remove no longer applicable assertion.
42265
9904dc47
L
422662012-04-06 H.J. Lu <hongjiu.lu@intel.com>
42267
42268 * bits/byteswap.h: Include <features.h>.
42269 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
42270 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
42271
f8887d0a
L
422722012-04-06 H.J. Lu <hongjiu.lu@intel.com>
42273
42274 * bits/byteswap.h (__bswap_16): Removed.
42275 Include <bits/byteswap-16.h> to get __bswap_16.
42276 * sysdeps/i386/bits/byteswap.h: Likewise.
42277 * sysdeps/s390/bits/byteswap.h: Likewise.
42278 * sysdeps/x86_64/bits/byteswap.h: Likewise.
42279 * bits/byteswap-16.h: New file.
42280 * sysdeps/i386/bits/byteswap-16.h: Likewise.
42281 * sysdeps/s390/bits/byteswap-16.h: Likewise.
42282 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
42283 * string/Makefile (headers): Add bits/byteswap-16.h.
42284
62470f60
PP
422852012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
42286
42287 [BZ #13895]
42288 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
42289 extra indirection.
42290 * nss/Makefile (tests-static, tests): Add tst-nss-static.
42291 * nss/tst-nss-static.c: New.
42292
4dad7bab
RM
422932012-04-06 Robert Millan <rmh@gnu.org>
42294
42295 [BZ #6486]
42296 * manual/llio.texi (File Position Primitive): lseek
42297 refers to WHENCE when it really means OFFSET.
42298
e9142a17
AJ
422992012-04-06 Andreas Jaeger <aj@suse.de>
42300
2c040eff
AJ
42301 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
42302 strncmp declarations.
42303
e9142a17
AJ
42304 * abilist/libc.abilist: Add __poll and __ppoll.
42305
ff9f1c5f
DM
423062012-04-05 David S. Miller <davem@davemloft.net>
42307
dcd2ae90
DM
42308 * scripts/check-local-headers.sh: Accept a host triplet in the
42309 path matched by the exclude regexp.
42310
993eb054
DM
42311 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
42312 definition.
42313 * sysdeps/powerpc/powerpc32/dl-machine.h
42314 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
42315 * sysdeps/s390/s390-32/dl-machine.h
42316 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
42317 * sysdeps/sparc/sparc32/dl-machine.h
42318 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
42319 * sysdeps/sparc/sparc64/dl-machine.h
42320 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
42321
ff9f1c5f
DM
42322 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
42323 lazy binding.
48e2e132 42324 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
42325 undefined symbol errors.
42326
48e2e132 42327 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
42328 DT_NEEDED entries.
42329
e80d6f94
MM
423302012-04-05 Michael Matz <matz@suse.de>
42331
42332 [BZ #13592]
42333 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
42334
349fa79f
AJ
423352012-04-05 Andreas Jaeger <aj@suse.de>
42336
42337 [BZ #13908]
42338 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
42339 comment.
42340
f402708f
KK
423412012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
42342
42343 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
42344 which ROUND is no valid rounding mode.
42345
2ecccfc9
KK
423462012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
42347
42348 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
42349 read again.
42350 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
42351
8a53f50f
KK
423522012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
42353
42354 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
42355 an exception using FPU order intentionally.
42356
423572012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
42358
42359 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
42360 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
42361 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
42362 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
42363
d653abb7
SJ
423642012-04-05 Simon Josefsson <simon@josefsson.org>
42365
42366 [BZ #12340]
42367 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
42368 EINVAL when BUFLEN is too smal.
42369
c3b1bf7d
TS
423702012-04-05 Thomas Schwinge <thomas@codesourcery.com>
42371
42372 [BZ #13553]
42373 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
42374 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
42375
b1aa60f3
AJ
423762012-04-03 Andreas Jaeger <aj@suse.de>
42377
c3b1bf7d 42378 [BZ #13938]
67f60a26
AJ
42379 * manual/setjmp.texi (System V contexts): Fix sentence.
42380
b1aa60f3
AJ
42381 [BZ #13926]
42382 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
42383 New macro for this case.
42384 [!__GNUC__] (__bswap_64): New inline function for this case.
42385 * sysdeps/x86_64/bits/byteswap.h: Likewise.
42386 * bits/byteswap.h: Likewise.
42387 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
42388 ull, guard with __GLIBC_HAVE_LONG_LONG.
42389
42390 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
42391 __GLIBC_HAVE_LONG_LONG.
42392
42393 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
42394 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
42395
39c59c35
TMQMF
423962012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
42397
42398 [BZ #13691]
42399 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
42400 inptr and inend, rather than using last_ch.
42401
135ffda8
DM
424022012-04-02 David S. Miller <davem@davemloft.net>
42403
42404 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
42405 * stdio-common/printf-parse.h (read_int): Change return type to
42406 'int', return -1 on INT_MAX overflow.
42407 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
42408 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
42409 overflows INT_MAX. Check for overflow of in-format-string precision
42410 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
42411 SIZE_MAX not INT_MAX for integer overflow test.
42412 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
42413 skip the construct in the format string but do not record anything.
42414 * stdio-common/bug22.c: Adjust to test both width/prevision
42415 INT_MAX overflow as well as total length INT_MAX overflow. Check
42416 explicitly for proper errno values.
42417
228c019e
TS
424182012-04-02 Thomas Schwinge <thomas@codesourcery.com>
42419
302cadd3
TS
42420 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
42421 CHAR_MAX.
42422 * string/test-strcmp.c [! WIDE]: Likewise.
42423 * time/tst-mktime2.c: Likewise for INT_MAX.
42424 * string/test-string.h: #include <sys/param.h> for MIN.
42425
228c019e
TS
42426 * csu/init-first.c (__libc_init_first): Call __ctype_init.
42427 * sysdeps/i386/init-first.c (init): Likewise.
42428 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
42429 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
42430 * sysdeps/sh/init-first.c (init): Likewise.
42431
cfa633f5
UD
424322012-04-01 Ulrich Drepper <drepper@gmail.com>
42433
42434 * po/ru.po: Update from translation team.
d1635ef8 42435 * po/vi.po: Likewise.
cfa633f5 42436
6cd0a5ea
SP
424372012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
42438
42439 * resolv/nss_dns/dns-host.c: Merge copyright years.
42440
4b43400f
LD
424412012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42442
42443 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
42444 Optimize memcpy with prefetch if
42445 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
42446 src, dst pointers have unequal 16 byte alignments.
42447
48c41d04
SP
424482012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
42449
42450 [BZ #13928]
42451 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
42452 from a CNAME entry and return the minimum ttl for the query.
42453 (gaih_getanswer_slice): Likewise.
42454
b8dc394d
JL
424552012-03-30 Jeff Law <law@redhat.com>
42456
42457 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
42458 due to long keys.
42459 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
42460 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
42461
2f5a5ed0
JL
42462 * resolv/nss_dns/dns-host.c: Update copyright year.
42463
1d39e359
UD
424642012-03-30 Ulrich Drepper <drepper@gmail.com>
42465
c030f70c 42466 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 42467 requests to save a system call. Fix check that all bytes are sent.
c030f70c 42468
1d39e359
UD
42469 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
42470 comments for sendmmsg.
42471
424722012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
42473
42474 [BZ #13691]
42475 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
42476 with only 1 character between 0x0041 and 0x01b0.
42477 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
42478 * wcsmbs/tst-mbsnrtowcs.c: New file.
42479
20fde227
DM
424802012-03-29 David S. Miller <davem@davemloft.net>
42481
42482 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
42483 small copies by hand.
42484
984a4237
JL
424852012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
42486
42487 [BZ #13761]
57f41c40
AS
42488 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
42489 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
42490 group memberships.
984a4237 42491
18c9d62b
DM
424922012-03-28 David S. Miller <davem@davemloft.net>
42493
88d85d4f
DM
42494 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
42495 that branches into memcpy.
42496 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
42497 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
42498 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
42499 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
42500 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
42501 bits.
42502 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
42503 implementation too.
42504 * sysdeps/sparc/mempcpy.S: New file.
42505
e5aa83e1
DM
42506 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
42507 the IFUNC routine in the libc case.
42508 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
42509
88570753
DM
42510 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
42511 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
42512 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
42513 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
42514 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
42515 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
42516 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
42517 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
42518
249d7567
DM
42519 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
42520 loop to 256 bytes instead of 64 bytes and fix test signedness.
42521
18c9d62b
DM
42522 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
42523 * sysdeps/sparc/sparc32/Makefile: rather than here...
42524 * sysdeps/sparc/sparc64/Makefile: and here.
42525
05f3d1f6
UD
425262012-03-28 Ulrich Drepper <drepper@gmail.com>
42527
42528 * malloc/mallocbug.c: Avoid warnings about unused variables.
42529
86ae07a8
JL
425302012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
42531
42532 [BZ #13760]
42533 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
42534 in the right place. Discard and retry query if response is
42535 larger than input buffer size.
42536
41bf21a1
JM
425372012-03-28 Joseph Myers <joseph@codesourcery.com>
42538
d6270972
JM
42539 [BZ #369]
42540 [BZ #2678]
42541 [BZ #3866]
42542 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
42543 x for large integer exponent.
42544 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
42545 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
42546 sign of result as needed afterwards.
42547 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
42548 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
42549 result for underflowing pow the same as for overflow.
42550 (__kernel_standard_l): Handle powl overflow and underflow here
42551 rather than calling __kernel_standard.
42552 * math/libm-test.inc (pow_test): Add more tests.
42553
414fca03 42554 [BZ #3868]
41bf21a1
JM
42555 [BZ #13879]
42556 [BZ #13910]
42557 [BZ #13911]
42558 [BZ #13912]
42559 [BZ #13913]
42560 [BZ #13915]
42561 [BZ #13916]
42562 [BZ #13917]
42563 [BZ #13918]
42564 [BZ #13919]
42565 [BZ #13920]
42566 [BZ #13921]
42567 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
42568 * sysdeps/ieee754/k_standard.c: Include <float.h>.
42569 (__kernel_standard_l): New function.
42570 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
42571 __kernel_standard.
42572 * math/w_acosl.c (__acosl): Likewise.
42573 * math/w_asinl.c (__asinl): Likewise.
42574 * math/w_atan2l.c (__atan2l): Likewise.
42575 * math/w_atanhl.c (__atanhl): Likewise.
42576 * math/w_coshl.c (__coshl): Likewise.
42577 * math/w_exp10l.c (__exp10l): Likewise.
42578 * math/w_exp2l.c (__exp2l): Likewise.
42579 * math/w_fmodl.c (__fmodl): Likewise.
42580 * math/w_hypotl.c (__hypotl): Likewise.
42581 * math/w_j0l.c (__j0l, __y0l): Likewise.
42582 * math/w_j1l.c (__j1l, __y1l): Likewise.
42583 * math/w_jnl.c (__jnl, __ynl): Likewise.
42584 * math/w_lgammal.c (__lgammal): Likewise.
42585 * math/w_log10l.c (__log10l): Likewise.
42586 * math/w_log2l.c (__log2l): Likewise.
42587 * math/w_logl.c (__logl): Likewise.
42588 * math/w_powl.c (__powl): Likewise.
42589 * math/w_remainderl.c (__remainderl): Likewise.
42590 * math/w_scalbl.c (sysv_scalbl): Likewise.
42591 * math/w_sinhl.c (__sinhl): Likewise.
42592 * math/w_sqrtl.c (__sqrtl): Likewise.
42593 * math/w_tgammal.c (__tgammal): Likewise.
42594 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
42595 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
42596 * math/libm-test.inc (acos_test): Add more tests.
42597 (acosh_test): Likewise.
42598 (asin_test): Likewise.
42599 (atanh_test): Likewise.
42600 (exp_test): Likewise.
42601 (exp10_test): Likewise.
42602 (exp2_test): Likewise.
42603 (expm1_test): Likewise.
42604 (lgamma_test): Likewise.
42605 (log_test): Likewise.
42606 (log10_test): Likewise.
42607 (log1p_test): Likewise.
42608 (log2_test): Likewise.
42609 (pow_test): Do not allow some spurious overflow exceptions.
42610 (sqrt_test): Add more tests.
42611 (tgamma_test): Likewise.
42612 (y0_test): Likewise.
42613 (y1_test): Likewise.
42614 (yn_test): Likewise.
42615
dd62fda6
AB
426162012-03-27 Anton Blanchard <anton@samba.org>
42617
42618 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
42619 MAP_HUGETLB.
42620 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
42621 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
42622 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
42623
1e3cdfda
AJ
426242012-03-27 David S. Miller <davem@davemloft.net>
42625
b855ab85
DM
42626 * conform/Makefile: Run run-conformtest.sh using $(BASH).
42627
1e3cdfda
AJ
42628 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
42629 have-as-vis3 check.
42630
426312012-03-27 Andreas Jaeger <aj@suse.de>
42632
42633 * sysdeps/x86_64/elf/configure.in: Moved to ...
42634 * sysdeps/x86_64/configure.in: ... here.
42635 * sysdeps/x86_64/elf/start.S: Moved to ...
42636 * sysdeps/x86_64/start.S: ... here.
42637 * sysdeps/x86_64/elf/configure: Delete.
42638
42639 * sysdeps/x86_64/configure.in: Merge contents from
42640 sysdeps/i386/configure.in (without i686 check).
42641
42642 * sysdeps/i386/elf/Versions: Merge into ...
42643 * sysdeps/i386/Versions: ... this.
42644 * sysdeps/i386/elf/Versions: Delete file.
42645 * sysdeps/i386/elf/start.S: Moved to ...
42646 * sysdeps/i386/start.S: ...here.
42647 * sysdeps/i386/elf/configure.in: Merge into...
42648 * sysdeps/i386/configure.in: ...here.
42649 * sysdeps/i386/elf/configure.in: Delete file.
42650 * sysdeps/i386/elf/configure: Delete file.
42651
42652 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
42653 * debug/backtracesyms.c: ... here.
42654 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
42655 * debug/backtracesymsfd.c: ... here.
42656 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
42657 * sysdeps/generic/ifunc-sel.h: ... here.
42658
42659 * sysdeps/unix/i386/start.c: Delete file.
42660 * sysdeps/unix/sparc/start.c: Delete file.
42661 * sysdeps/unix/start.c: Delete file.
42662
42663 * sysdeps/sh/elf/configure.in: Moved to ...
42664 * sysdeps/sh/configure.in: ... here.
42665 * sysdeps/sh/elf/start.S: Moved to ...
42666 * sysdeps/sh/start.S: ... here.
42667 * sysdeps/sh/elf/configure: Delete file.
42668
42669 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
42670 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
42671 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
42672 * sysdeps/powerpc/powerpc64/entry.h: ... here.
42673 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
42674 * sysdeps/powerpc/powerpc64/start.S: here.
42675 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
42676 * sysdeps/powerpc/powerpc64/Makefile: ... this.
42677 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
42678 * sysdeps/powerpc/powerpc64/configure.in: ... this.
42679 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
42680
42681 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
42682 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
42683 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
42684 * sysdeps/powerpc/powerpc32/start.S: ... here.
42685 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
42686 * sysdeps/powerpc/powerpc32/configure.in: ... this.
42687 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
42688
42689 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
42690 * sysdeps/powerpc/ifunc-sel.h: ... here.
42691 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
42692 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
42693
42694 * sysdeps/sparc/elf/configure.in: Moved to ...
42695 * sysdeps/sparc/configure.in: ... here.
42696 * sysdeps/sparc/elf/configure: Delete file.
42697 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
42698 * sysdeps/sparc/sparc32/start.S: ... here.
42699 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
42700 * sysdeps/sparc/sparc64/start.S: ... here.
42701 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
42702 * sysdeps/sparc/sparc32/Makefile: ... this.
42703 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
42704 * sysdeps/sparc/sparc64/Makefile: ... this.
42705
42706 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
42707 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
42708 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
42709 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
42710 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
42711 * sysdeps/s390/s390-32/setjmp.S: ... here.
42712 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
42713 * sysdeps/s390/s390-32/configure.in: ... here.
42714 * sysdeps/s390/s390-32/elf/configure: Delete file.
42715 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
42716 * sysdeps/s390/s390-32/start.S: ... here.
42717
42718 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
42719 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
42720 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
42721 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
42722 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
42723 * sysdeps/s390/s390-64/setjmp.S: ... here.
42724 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
42725 * sysdeps/s390/s390-64/configure.in: ... here
42726 * sysdeps/s390/s390-64/elf/configure: Delete file.
42727 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
42728 * sysdeps/s390/s390-64/start.S: ... here.
42729 * sysdeps/s390/s390-64/elf/configure: Delete.
42730
42731 * configure.in: Remove support for elf directories in sysdeps.
42732
42733 * configure: Regenerated.
42734 * sysdeps/i386/configure: Regenerated.
42735 * sysdeps/powerpc/powerpc32/configure: Regenerated.
42736 * sysdeps/powerpc/powerpc64/configure: Regenerated.
42737 * sysdeps/s390/s390-32/configure: Regenerated.
42738 * sysdeps/s390/s390-64/configure: Regenerated.
42739 * sysdeps/sh/configure: Regenerated.
42740 * sysdeps/sparc/configure: Regenerated.
42741 * sysdeps/x86_64/configure: Regenerated.
42742
a3f61311
AS
427432012-03-26 Andreas Schwab <schwab@linux-m68k.org>
42744
c876e002
AS
42745 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42746
a3f61311
AS
42747 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
42748 denormal result into account.
42749
ac4c54f0
RM
427502012-03-25 Roland McGrath <roland@hack.frob.com>
42751
42752 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
42753 Reported by Allan McRae <allan@archlinux.org>.
42754
6a9b9c02
JL
427552012-03-23 Jeff Law <law@redhat.com>
42756
42757 * nss/getnssent.c (__nss_getent): Fix typo.
42758
4c42a0c1
DM
427592012-03-23 David S. Miller <davem@davemloft.net>
42760
42761 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42762
1532c7ac
L
427632012-03-23 H.J. Lu <hongjiu.lu@intel.com>
42764
42765 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
42766 to pad to uint64_t for each field.
42767 (dl_tls_index): Replace unsigned long with uint64_t.
42768
3ff42526
PP
427692012-03-23 Daniel Jacobowitz <dmj@google.com>
42770 Paul Pluzhnikov <ppluzhnikov@google.com>
42771
42772 [BZ #6528]
42773 * grp/Makefile (otherlibs): Don't set it.
42774 * inet/Makefile (otherlibs): Likewise.
42775 * login/Makefile (otherlibs): Likewise.
42776 * nscd/Makefile (otherlibs): Likewise.
42777 * posix/Makefile (otherlibs): Likewise.
42778 * pwd/Makefile (otherlibs): Likewise.
42779 * rt/Makefile (otherlibs): Likewise.
42780 * sunrpc/Makefile (otherlibs): Likewise.
42781 * nss/Makefile (otherlibs): Likewise.
42782 Add libnss_files to routines and static-only-routines.
42783 ($(objpfx)getent): Remove rule.
42784 * resolv/Makefile: Add libnss_dns and libresolv to routines and
42785 static-only-routines.
42786
7c69cd14
JM
427872012-03-22 Joseph Myers <joseph@codesourcery.com>
42788
42789 [BZ #13892]
42790 * math/s_cexp.c: Include <float.h>.
42791 (__cexp): Handle exp result overflowing not necessarily
42792 overflowing both real and imaginary parts of result.
42793 * math/s_cexpf.c: Likewise.
42794 * math/s_cexpl.c: Likewise.
42795 * math/libm-test.inc (cexp_test): Add more tests.
42796 * sysdeps/i386/fpu/libm-test-ulps: Update.
42797 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42798
81b035fe
L
427992012-03-22 H.J. Lu <hongjiu.lu@intel.com>
42800
42801 * include/link.h (ELFW): New macro.
42802 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
42803 Replace ELF64_R_TYPE with ELFW(R_TYPE).
42804
1da7940c
L
428052012-03-22 H.J. Lu <hongjiu.lu@intel.com>
42806
42807 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
42808 with uint64_t.
42809
b749dbb9
L
428102012-03-22 H.J. Lu <hongjiu.lu@intel.com>
42811
42812 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
42813 declaration.
42814 (struct La_x32_retval): Likewise.
42815
2ff87f3f
L
428162012-03-22 H.J. Lu <hongjiu.lu@intel.com>
42817
42818 * sysdeps/x86_64/preconfigure.in: New file.
42819 * sysdeps/x86_64/preconfigure: New generated file.
42820
c0df8e69
JM
428212012-03-22 Joseph Myers <joseph@codesourcery.com>
42822
48e44791
JM
42823 [BZ #13824]
42824 * math/e_exp2l.c: Include <float.h>.
42825 (__ieee754_exp2l): Handle overflow and underflow cases
42826 separately. Only pass fractional part of argument to
42827 __ieee754_expl.
42828 * math/libm-test.inc (exp2_test): Add more tests.
42829
c0df8e69
JM
42830 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
42831 negating x to take absolute value.
42832 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
42833 Likewise.
42834 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
42835 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
42836 Likewise.
42837 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
42838 computing low part if x was negated.
42839 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
42840
c8e43ba7
L
428412012-03-21 H.J. Lu <hongjiu.lu@intel.com>
42842
42843 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
42844 la_x32_gnu_pltexit.
42845 (pltexit): Cast int_retval to ptrdiff_t.
42846 * elf/tst-auditmod3b.c: Likewise.
42847 * elf/tst-auditmod4b.c: Likewise.
42848 * elf/tst-auditmod5b.c: Likewise.
42849 * elf/tst-auditmod6b.c: Likewise.
42850 * elf/tst-auditmod6c.c: Likewise.
42851 * elf/tst-auditmod7b.c: Likewise.
42852
42853 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
42854 and x32_gnu_pltexit.
42855
42856 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
42857 __ELF_NATIVE_CLASS.
42858 (La_x32_regs): New macro.
42859 (La_x32_retval): Likewise.
42860 (la_x32_gnu_pltenter): New function prototype.
42861 (la_x32_gnu_pltexit): Likewise.
42862
7998fa78
AS
428632012-03-21 Andreas Schwab <schwab@linux-m68k.org>
42864
dcb33988
AS
42865 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
42866 exponent.
42867
233fc563
AS
42868 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42869
7998fa78
AS
42870 * configure.in (libc_cv_cc_nofma): Check for option to disable
42871 generation of FMA instructions.
42872 * configure: Regenerate.
42873 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
42874 * sysdeps/ieee754/dbl-64/Makefile: New file.
42875 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
42876 Remove brandred-fma4.
42877 (CFLAGS-brandred-fma4.c): Remove.
42878 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
42879 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
42880 define.
42881 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
42882 define.
42883
8e95c99a
L
428842012-03-21 H.J. Lu <hongjiu.lu@intel.com>
42885
42886 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
42887 LLONG_MAX != LONG_MAX.
42888 (_itoa_word): Use _ITOA_WORD_TYPE on value.
42889 (_fitoa_word): Likewise.
42890 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
42891 LLONG_MAX != LONG_MAX.
42892 * stdio-common/_itowa.h: Include <_itoa.h>.
42893 (_itowa_word): Use _ITOA_WORD_TYPE on value.
42894 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
42895 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
42896 only if not defined.
42897 (_ITOA_WORD_TYPE): Likewise.
42898 (_itoa_word): Use _ITOA_WORD_TYPE on value.
42899 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
42900
6f4db457
DM
429012012-03-21 David S. Miller <davem@davemloft.net>
42902
42903 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42904
7785fe5a
L
429052012-03-21 H.J. Lu <hongjiu.lu@intel.com>
42906
42907 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
42908 of x86_64 when setting libc_cv_slibdir, libdir and
42909 libc_cv_localedir.
42910 * sysdeps/unix/sysv/linux/configure: Regenerated.
42911
4535cd55
JM
429122012-03-21 Joseph Myers <joseph@codesourcery.com>
42913
42914 * manual/lang.texi (Old Varargs): Remove section.
42915 (How Variadic): Update menu.
42916 (va_start): Do not mention varargs.h.
42917
17228132
TS
429182012-03-21 Thomas Schwinge <thomas@codesourcery.com>
42919 Joseph Myers <joseph@codesourcery.com>
42920
42921 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
42922 link test.
42923 * configure: Regenerated.
42924
8149f976
TS
429252012-03-21 Thomas Schwinge <thomas@codesourcery.com>
42926
05f3d1f6
UD
42927 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
42928 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
42929 conformtest.pl
8149f976 42930
1a4ac776
JM
429312012-03-21 Joseph Myers <joseph@codesourcery.com>
42932
be22ce65
JM
42933 * NOTES: Remove.
42934 * Makefile (files-for-dist): Remove NOTES.
42935 (NOTES): Remove rule.
42936 * README: Don't refer to NOTES.
42937 * manual/creature.texi: Don't include macros.texi.
42938 * manual/intro.texi (creature.texi): Remove comment referring to
42939 NOTES.
42940
40b601fb
JM
42941 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
42942 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
42943 * configure: Regenerated.
42944 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
42945 LIBC_TRY_CC_OPTION.
42946 (libc_cv_as_i686): Likewise.
42947 (libc_cv_cc_avx): Likewise.
42948 (libc_cv_cc_sse2avx): Likewise.
42949 (libc_cv_cc_fma4): Likewise.
42950 (libc_cv_cc_novzeroupper): Likewise.
42951 * sysdeps/i386/configure: Regenerated.
42952
1a4ac776
JM
42953 [BZ #13883]
42954 * sysdeps/i386/fpu/s_cexp.S: Remove.
42955 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
42956 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
42957 * math/libm-test.inc (cexp_test): Add more tests.
42958 * sysdeps/i386/fpu/libm-test-ulps: Update.
42959 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42960
a458e7fe
AM
429612012-03-21 Allan McRae <allan@archlinux.org>
42962
42963 * timezone/Makefile: Do not install iso3166.tab and zone.tab
42964
0cb7efc5
JM
429652012-03-21 Joseph Myers <joseph@codesourcery.com>
42966
42967 [BZ #13871]
42968 * math/w_exp2.c: Do not include <float.h>.
42969 (o_threshold, u_threshold): Remove.
42970 (__exp2): Calculate result before checking finiteness and calling
42971 __kernel_standard.
42972 * math/w_exp2f.c: Likewise.
42973 * math/w_exp2l.c: Likewise.
42974 * math/libm-test.inc (exp2_test): Require overflow exception for
42975 1e6 input.
2460d3aa
JM
42976
42977 [BZ #3866]
42978 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
42979 range of signed 64-bit integers before using fistpll. Remove
42980 checks for whether integers fit in mantissa bits.
42981 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
42982 the range of signed 32-bit integers before using fistpl. Remove
42983 checks for whether integers fit in mantissa bits.
42984 * sysdeps/i386/fpu/e_powl.S (p64): New object.
42985 (__ieee754_powl): Test for y outside the range of signed 64-bit
42986 integers before using fistpll. Reduce 64-bit values to 63-bit
42987 ones as needed.
42988 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
42989 divide-by-zero is raised for zero to large negative powers.
42990 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
42991 (__ieee754_powl): Test for y outside the range of signed 64-bit
42992 integers before using fistpll. Reduce 64-bit values to 63-bit
42993 ones as needed.
42994 * math/libm-test.inc (pow_test): Add more tests.
42995
eb96ffb0
L
429962012-03-20 H.J. Lu <hongjiu.lu@intel.com>
42997
42998 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
42999 <stdio-common/_itoa.h>.
43000 * debug/segfault.c: Likewise.
43001 * elf/dl-cache.c: Likewise.
43002 * elf/dl-minimal.c: Likewise.
43003 * elf/dl-misc.c: Likewise.
43004 * elf/dl-sysdep.c: Likewise.
43005 * elf/dl-version.c: Likewise.
43006 * elf/rtld.c: Likewise.
43007 * hurd/hurdsock.c: Likewise.
43008 * hurd/lookup-retry.c: Likewise.
43009 * malloc/malloc.c: Likewise.
43010 * malloc/mtrace.c: Likewise.
43011 * nscd/nscd_getgr_r.c: Likewise.
43012 * nscd/nscd_getpw_r.c: Likewise.
43013 * nscd/nscd_getserv_r.c: Likewise.
43014 * posix/getopt_init.c: Likewise.
43015 * posix/wordexp.c: Likewise.
43016 * stdio-common/_itoa.c: Likewise.
43017 * stdio-common/printf_fphex.c: Likewise.
43018 * stdio-common/vfprintf.c: Likewise.
43019 * string/_strerror.c: Likewise.
43020 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
43021 * sysdeps/i386/i686/hp-timing.h: Likewise.
43022 * sysdeps/mach/_strerror.c: Likewise.
43023 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
43024 * sysdeps/mach/hurd/sethostid.c: Likewise.
43025 * sysdeps/mach/hurd/xmknodat.c: Likewise.
43026 * sysdeps/mach/xpg-strerror.c: Likewise.
43027 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
43028 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
43029 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
43030 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
43031 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
43032 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
43033 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
43034 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
43035 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
43036 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
43037 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
43038 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
43039 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
43040 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
43041 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
43042 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
43043 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
43044 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
43045 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
43046 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
43047 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
43048
43049 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
43050
43051 * stdio-common/_itoa.h: Moved to ...
43052 * sysdeps/generic/_itoa.h: Here.
43053
43054 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
43055
43056 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
43057 instead of "_itoa.h" and "_itowa.h".
43058 * stdio-common/vfprintf.: Likewise.
43059
d1af992d
L
430602012-03-20 H.J. Lu <hongjiu.lu@intel.com>
43061
43062 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
43063 <bits/wordsize.h>.
43064 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
43065 (__signbit): Likwise.
43066 (llrintf): Likwise.
43067 (llrint): Likwise.
43068
114883e0
L
430692012-03-20 H.J. Lu <hongjiu.lu@intel.com>
43070
43071 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
43072 __WORDSIZE != 64.
43073
c135cc1b
JM
430742012-03-20 Joseph Myers <joseph@codesourcery.com>
43075
43076 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
43077 OVERFLOW_EXCEPTION_OK.
43078 * math/libm-test.inc ("Philosophy"): Update comment about
43079 exception testing.
43080 (OVERFLOW_EXCEPTION): Define.
43081 (OVERFLOW_EXCEPTION_OK): Likewise.
43082 (INVALID_EXCEPTION_OK): Renumber.
43083 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
43084 (IGNORE_ZERO_INF_SIGN): Likewise.
43085 (test_exceptions): Handle FE_OVERFLOW.
43086 (exp10_test): Expect overflow exceptions.
43087 (exp2_test): Likewise.
43088 (expm1_test): Likewise.
43089 (nextafter_test): Likewise.
43090 (pow_test): Likewise.
43091 (scalbn_test): Likewise.
43092 (scalbln_test): Likewise.
43093
95443d88
L
430942012-03-19 H.J. Lu <hongjiu.lu@intel.com>
43095
43096 * sysdeps/x86_64/bits/atomic.h
43097 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
43098 64bit integer.
43099 (atomic_exchange_acq): Likewise.
43100 (__arch_exchange_and_add_body): Likewise.
43101 (__arch_add_body): Likewise.
43102 (atomic_add_negative): Likewise.
43103 (atomic_add_zero): Likewise.
43104
490df6c4
L
431052012-03-19 H.J. Lu <hongjiu.lu@intel.com>
43106
c2722551 43107 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
43108 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
43109
5e52b189
L
431102012-03-19 H.J. Lu <hongjiu.lu@intel.com>
43111
43112 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
43113 Check __x86_64__ instead of __WORDSIZE.
43114
a9879d4c
L
431152012-03-19 H.J. Lu <hongjiu.lu@intel.com>
43116
43117 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
43118
5df98260
DM
431192012-03-19 David S. Miller <davem@davemloft.net>
43120
e1497744
DM
43121 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43122
5df98260
DM
43123 * sysdeps/sparc/fpu/fenv_private.h: New file.
43124 * sysdeps/sparc/fpu/math_private.h: Use it.
43125 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
43126 Remove.
57f41c40 43127 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
5df98260
DM
43128 (libc_feholdexcept_setroundl): Remove.
43129 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
43130 Remove.
43131 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
43132 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
43133
b4c35121
L
431342012-03-19 H.J. Lu <hongjiu.lu@intel.com>
43135
43136 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
43137 int64_t instead of long int.
43138 (INSERT_WORDS64): Likwise.
43139
56965fd7
L
431402012-03-19 H.J. Lu <hongjiu.lu@intel.com>
43141
43142 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
43143 _Unwind_GetCFA return to _Unwind_Ptr first.
43144
83d1aec8
JM
431452012-03-19 Joseph Myers <joseph@codesourcery.com>
43146
1897ad44
JM
43147 [BZ #13629]
43148 * math/s_clog.c: Include <float.h>.
43149 (__clog): Scale large or subnormal inputs.
43150 * math/s_clogf.c: Likewise.
43151 * math/s_clogl.c: Likewise.
43152 * math/s_clog10.c: Include <float.h>.
43153 (M_LOG10_2): Define.
43154 (__clog10): Scale large or subnormal inputs.
43155 * math/s_clog10f.c: Likewise.
43156 * math/s_clog10l.c: Likewise.
43157 * math/libm-test.inc (clog_test): Add more tests.
43158 (clog10_test): Likewise.
43159 * sysdeps/i386/fpu/libm-test-ulps: Update.
43160 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43161
7726d6a9
JM
43162 [BZ #11451]
43163 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
43164 x and y.
43165 * math/libm-test.inc (atan2_test): Add another test.
43166
83d1aec8
JM
43167 * Makerules (common-objdir-compile): Remove.
43168 * sysdeps/unix/Makefile (config-generated): Do not add
43169 $(unix-generated) to variable.
43170 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
43171 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
43172 Remove rule.
43173 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
43174 Likewise.
43175 [generic bits/local_lim.h] (before-compile): Do not append to
43176 variable.
43177 [generic bits/local_lim.h] (common-generated): Likewise.
43178 [generic sys/param.h] (before-compile): Do not append to variable.
43179 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
43180 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
43181 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
43182 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
43183 include.
43184 [generic sys/param.h] (sys/param.h-includes): Remove variable.
43185 [generic sys/param.h] (sys/param.h-includes): Remove rule.
43186 [generic sys/param.h] ($(addprefix
43187 $(common-objpfx),$(sys/param.h-includes))): Likewise.
43188 [generic sys/param.h] (common-generated): Do not append to
43189 variable.
43190 [generic sys/param.h] (sysdep_headers): Likewise.
43191 [generic bits/errno.h] (before-compile): Do not append to
43192 variable.
43193 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
43194 rule.
43195 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
43196 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
43197 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
43198 [generic bits/errno.h] (common-generated): Do not append to
43199 variable.
43200 [generic bits/ioctls.h] (before-compile): Do not append to
43201 variable.
43202 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
43203 rule.
43204 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
43205 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
43206 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
43207 rule.
43208 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
43209 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
43210 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
43211 [generic bits/ioctls.h] (common-generated): Do not append to
43212 variable.
43213 [generic sys/syscall.h] (syscall.h): Remove variable.
43214 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
43215 rule.
43216 [generic sys/syscall.h] (before-compile): Do not append to
43217 variable.
43218 [generic sys/syscall.h] (common-generated): Likewise.
43219 * sysdeps/unix/errnos-tmpl.c: Remove file.
43220 * sysdeps/unix/errnos.awk: Likewise.
43221 * sysdeps/unix/ioctls-tmpl.c: Likewise.
43222 * sysdeps/unix/ioctls.awk: Likewise.
43223 * sysdeps/unix/mk-local_lim.c: Likewise.
43224 * sysdeps/unix/snarf-ioctls: Likewise.
43225
4851a949
RH
432262012-03-19 Richard Henderson <rth@twiddle.net>
43227
bd37f2ee
RH
43228 * sysdeps/i386/fpu/fenv_private.h: New file.
43229 * sysdeps/i386/fpu/math_private.h: Use it.
43230 (math_opt_barrier, math_force_eval): Remove.
43231 (libc_feholdexcept_setround_53bit): Remove.
43232 (libc_feupdateenv_53bit): Remove.
43233 * sysdeps/x86_64/fpu/math_private.h: Likewise.
43234 (math_opt_barrier, math_force_eval): Remove.
43235 (libc_feholdexcept): Remove.
43236 (libc_feholdexcept_setround): Remove.
43237 (libc_fetestexcept, libc_fesetenv): Remove.
43238 (libc_feupdateenv_test): Remove.
43239 (libc_feupdateenv, libc_feholdsetround): Remove.
43240 (libc_feresetround): Remove.
43241
d0adc922
RH
43242 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
43243 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
43244
0fe0f1f8
RH
43245 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
43246 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
43247 (libc_feupdateenv_testl): New.
43248 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
43249 (libc_feupdateenv_testf): New.
43250 (libc_feupdateenv): Use libc_feupdateenv_test.
43251 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
43252 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
43253
eb92c487
RH
43254 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
43255 (libc_feholdsetroundf, libc_feholdsetroundl): New.
43256 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
43257 (libc_feresetround_noex): New.
43258 (libc_feresetround_noexf): New.
43259 (libc_feresetround_noexl): New.
43260 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
43261 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
43262 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
43263 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
43264 SET_RESTORE_ROUND.
43265 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
43266 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
43267 (__cos): Likewise.
43268 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
43269 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
43270 SET_RESTORE_ROUND_NOEX.
43271 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
43272 SET_RESTORE_ROUND_NOEXF.
43273 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
43274 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
43275 (libc_feholdsetroundf): New.
43276 (libc_feresetround, libc_feresetroundf): New.
43277
7d2e8012
RH
43278 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
43279 (libc_feholdexcept_setround_53bit): Convert from macro to function.
43280 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
43281
b4dabbb4
RH
43282 * sysdeps/generic/math_private.h: Include <fenv.h>.
43283 (default_libc_feholdexcept): New.
43284 (default_libc_feholdexcept_setround): New.
43285 (default_libc_fesetenv, default_libc_feupdateenv): New.
43286 (libc_feholdexcept): Only define if undefined.
43287 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
43288 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
43289 (libc_feholdexcept_setroundl): Likewise.
43290 (libc_feholdexcept_setround_53bit): Likewise.
43291 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
43292 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
43293 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
43294 (libc_feupdateenv_53bit): Likewise.
43295 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
43296 (libc_feholdexcept): Convert from macro to inline function.
43297 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
43298 (libc_fesetenv, libc_feupdateenv): Likewise.
43299
4851a949
RH
43300 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
43301 not previously defined.
43302 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
43303 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
43304 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
43305 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
43306 * sysdeps/ieee754/flt-32/math_private.h: New file.
43307 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
43308 math_private.h below SET_FLOAT_WORD.
43309 (__isnan, __isinf_ns, __finite): Remove.
43310 (__isnanf, __isinf_nsf, __finitef): Remove.
43311
e79d442e
AS
433122012-03-18 Andreas Schwab <schwab@linux-m68k.org>
43313
43314 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43315
90b80344
DM
433162012-03-17 David S. Miller <davem@davemloft.net>
43317
43318 [BZ #6471]
43319 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
43320 for 2.16.
43321
edc21804
DM
433222012-03-16 David S. Miller <davem@davemloft.net>
43323
77e927af
DM
43324 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
43325 warnings.
43326
374976dd
DM
43327 [BZ #6471]
43328 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
43329 properly.
43330 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
43331 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
43332 sysdep_routines when subdir is sysvipc.
43333 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
43334 __getshmlba helper.
43335
edc21804
DM
43336 * sysdeps/sparc/fpu/libm-test/ulps: Update.
43337
473c3ef3
L
433382012-03-16 H.J. Lu <hongjiu.lu@intel.com>
43339
43340 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
43341 [__LP64__].
43342
eb0f39b6
L
433432012-03-16 H.J. Lu <hongjiu.lu@intel.com>
43344
43345 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
43346 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
43347 (__lround): Renamed to ...
43348 (__llround): This. Replace long int with long long int.
43349 Define lround functions as aliases of llround functions.
43350 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
43351
6b6cd74b
L
433522012-03-16 H.J. Lu <hongjiu.lu@intel.com>
43353
43354 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
43355 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
43356 adresses to uintptr_t. Replace "long int" and "unsigned long
43357 int" with "greg_t" on va_arg.
43358
f1a77b01
L
433592012-03-16 H.J. Lu <hongjiu.lu@intel.com>
43360
43361 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
43362 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
43363
43364 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
43365 Move e_machine check before EI_CLASS check. Handle x32
43366 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
43367 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
43368 SKIP_EM_IA_64 and include
43369 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
43370
43371 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
43372 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
43373 (add_system_dir): New macro.
43374
43375 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
43376 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
43377
11b90b9f
JM
433782012-03-16 Joseph Myers <joseph@codesourcery.com>
43379
c36e1d23
JM
43380 [BZ #2551]
43381 [BZ #2552]
43382 [BZ #2553]
43383 [BZ #2554]
43384 [BZ #2562]
43385 [BZ #2563]
43386 [BZ #2565]
43387 [BZ #2566]
43388 [BZ #2576]
43389 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
43390 (y0): Likewise.
43391 * math/w_j0f.c (j0f): Likewise.
43392 (y0f): Likewise.
43393 * math/w_j0l.c (__j0l): Likewise.
43394 (__y0l): Likewise.
43395 * math/w_j1.c (j1): Likewise.
43396 (y1): Likewise.
43397 * math/w_j1f.c (j1f): Likewise.
43398 (y1f): Likewise.
43399 * math/w_j1l.c (__j1l): Likewise.
43400 (__y1l): Likewise.
43401 * math/w_jn.c (jn): Likewise.
43402 (yn): Likewise.
43403 * math/w_jnf.c (jnf): Likewise.
43404 (ynf): Likewise.
43405 * math/w_jnl.c (__jnl): Likewise.
43406 (__ynl): Likewise.
43407 * math/libm-test.inc (j0_test): Add more tests.
43408 (j1_test): Likewise.
43409 (jn_test): Likewise. Add trailing semicolon to existing test.
43410 (y0_test): Likewise.
43411 (y1_test): Likewise.
43412 * sysdeps/i386/fpu/libm-test-ulps: Update.
43413 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43414
11b90b9f
JM
43415 [BZ #13851]
43416 [BZ #13854]
43417 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
43418 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
43419 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
43420 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
43421 (__tanl): Set errno for infinite argument.
43422 * sysdeps/i386/fpu/mptan.c: Remove.
43423 * sysdeps/i386/fpu/s_tan.S: Likewise.
43424 * sysdeps/i386/fpu/s_tanl.S: Likewise.
43425 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
43426 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
43427 * math/libm-test.inc (tan_test): Add more tests and enable more
43428 tests for double and long double.
43429 * sysdeps/i386/fpu/libm-test-ulps: Update.
43430 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43431
6a1bd2a1
JK
434322012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
43433
43434 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
43435 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
43436
10a803e0
RM
434372012-03-16 Roland McGrath <roland@hack.frob.com>
43438
43439 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
43440 * configure.in: Use it for both main tree and add-ons.
43441 * configure: Regenerated.
43442
f196c7f7
L
434432012-03-16 H.J. Lu <hongjiu.lu@intel.com>
43444
43445 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
43446
8848d99d
JM
434472012-03-16 Joseph Myers <joseph@codesourcery.com>
43448
96cbe7f4
JM
43449 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
43450 in comment.
43451
8848d99d
JM
43452 [BZ #13851]
43453 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
43454 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
43455 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
43456 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
43457 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
43458 infinite argument.
43459 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
43460 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
43461 != 0 for prec == 2.
43462 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
43463 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
43464 * sysdeps/i386/fpu/s_cosl.S: Likewise.
43465 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
43466 * sysdeps/i386/fpu/s_sinl.S: Likewise.
43467 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
43468 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
43469 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
43470 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
43471 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
43472 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
43473 * math/libm-test.inc (cos_test): Add more tests and enable more
43474 tests for long double.
43475 (sin_test): Likewise.
43476 (sincos_test): Likewise.
43477 * sysdeps/i386/fpu/libm-test-ulps: Update.
43478 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43479
dd7f4703
DM
434802012-03-16 David S. Miller <davem@davemloft.net>
43481
43482 * sysdeps/sparc/fpu/math_private.h: New file.
43483
006f1daa
DM
434842012-03-15 David S. Miller <davem@davemloft.net>
43485
c0c83bc8
DM
43486 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
43487 file.
e6a62e18 43488 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
43489 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
43490 file.
e6a62e18
DM
43491 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
43492 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
43493 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
43494 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
43495 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
43496 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
43497 sysdep routines.
43498 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
43499
88cb87d9
DM
43500 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
43501 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
43502
006f1daa 43503 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
43504 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
43505 sparc-ifunc.h
006f1daa 43506 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
43507 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
43508 Likewise.
43509 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
43510 Likewise.
006f1daa
DM
43511 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
43512 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
43513 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
43514 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
43515 Likewise.
006f1daa
DM
43516 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
43517 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
43518 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
43519 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
43520 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
43521 Likewise.
43522 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
43523 Likewise.
006f1daa
DM
43524 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
43525 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
43526 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
43527 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
43528 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
43529 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
43530 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
43531 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
43532 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
43533 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
43534 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
43535 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
43536 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
43537 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
43538 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
43539 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
43540 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
43541 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
43542 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
43543 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
43544 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
43545 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
43546 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
43547 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
43548
11e0098e
AS
435492012-03-15 Andreas Schwab <schwab@linux-m68k.org>
43550
43551 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
43552 scaling.
43553 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43554
e85b09d0
AJ
435552012-03-15 Andreas Jaeger <aj@suse.de>
43556
43557 [BZ #13852]
43558 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
43559 ieee754/flt-32 implementation for sin, cos and sincos.
43560 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
43561 * sysdeps/i386/fpu/s_cosf.S: Likewise.
43562 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
43563 * sysdeps/i386/fpu/s_sinf.S: Likewise.
43564 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
43565 ieee754/flt-32 implementation for tan.
43566
43567 * math/libm-test.inc (cos_test): Enable some large input tests for
43568 float as well
43569 (sin_test): Likewise.
43570 (sincos_test): Likewise.
43571 (tan_test): Add tests for large input.
43572
43573 * sysdeps/i386/fpu/libm-test-ulps: Update.
43574
81c64153
AJ
435752012-03-15 Andreas Jaeger <aj@suse.de>
43576
43577 [BZ #13658]
43578 * math/libm-test.inc (cos_test): Add more test cases.
43579 (sin_test): Likewise.
43580 (sincos_test): Likewise.
43581
7bbfa5c6
AJ
435822012-03-15 Andreas Jaeger <aj@suse.de>
43583
43584 [BZ #13837]
43585 * math/libm-test.inc (cos_test): Add a test case for large input
43586 value.
43587 (sin_test): Likewise.
43588 (sincos_test): Likewise.
43589
57f41c40
AS
435902012-03-15 Andreas Jaeger <aj@suse.de>
43591 Joseph Myers <joseph@codesourcery.com>
7bbfa5c6
AJ
43592
43593 [BZ #13658]
0671f479 43594 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
43595 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
43596 * sysdeps/i386/fpu/branred.c: Likewise.
43597 * sysdeps/i386/fpu/dosincos.c: Likewise.
43598 * sysdeps/i386/fpu/mpa.c: Likewise.
43599 * sysdeps/i386/fpu/s_cos.S: Likewise.
43600 * sysdeps/i386/fpu/s_sin.S: Likewise.
43601 * sysdeps/i386/fpu/s_sincos.S: Likewise.
43602 * sysdeps/i386/fpu/sincos32.c: Likewise.
43603
43604 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
43605 Define.
43606 (libc_feupdateenv_53bit): Define.
43607 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
43608 Define.
43609 (libc_feupdateenv_53bit): Define.
43610
43611 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
43612 53 bit (without extend i386 double precision).
43613
43614 * math/libm-test.inc (sincos_test): Add tests for large input.
43615 (sin): Likewise.
43616 (cos): Likewise.
43617
43618 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
43619
9cad04ea
AS
436202012-03-15 Andreas Schwab <schwab@linux-m68k.org>
43621
43622 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43623
f7062b9a
DM
436242012-03-15 David S. Miller <davem@davemloft.net>
43625
43626 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
43627 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
43628 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
43629 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
43630 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
43631 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
43632 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
43633 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
43634 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
43635 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
43636 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
43637 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
43638 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
43639 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
43640 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
43641 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
43642 file.
f7062b9a 43643 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
43644 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
43645 file.
f7062b9a 43646 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
43647 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
43648 file.
f7062b9a 43649 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
43650 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
43651 file.
f7062b9a
DM
43652 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
43653 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
43654 fmin/fmax sysdep routines.
43655 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
43656
7bd951ff
DM
436572012-03-14 David S. Miller <davem@davemloft.net>
43658
559398ab
DM
43659 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
43660 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
43661 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
43662 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
43663 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
43664 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
43665 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
43666 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
43667 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
43668 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
43669 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
43670 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
43671 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
43672 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
43673 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
43674 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
43675 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
43676 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
43677 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
43678 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
43679 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
43680 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
43681 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
43682 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
43683 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
43684 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
43685 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
43686 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
43687 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
43688 routines.
43689 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
43690 file.
559398ab 43691 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
43692 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
43693 file.
559398ab 43694 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
43695 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
43696 file.
559398ab 43697 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
43698 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
43699 file.
559398ab 43700 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
43701 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
43702 file.
559398ab 43703 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
43704 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
43705 file.
43706 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
43707 file.
43708 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
43709 file.
43710 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
43711 file.
43712 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
43713 New file.
43714 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
43715 file.
43716 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
43717 file.
559398ab 43718 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
43719 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
43720 file.
559398ab 43721 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
43722 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
43723 file.
559398ab 43724 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
43725 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
43726 file.
559398ab 43727 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
43728 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
43729 VIS3 routines.
559398ab
DM
43730
43731 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
43732 New file.
43733
5a1c1e32
DM
43734 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43735
eae47a36
DM
43736 * sysdeps/sparc/configure.in: New file.
43737 * sysdeps/sparc/configure: Generate.
43738 * configure.in (libc_cv_sparc_as_vis3): Substitute.
43739 * configure: Regenerate.
43740 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
43741 * config.make.in (have-as-vis3): New.
43742 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
43743 available use -Av9d instead of -Av9a.
43744 * sysdeps/sparc/sparc64/Makefile: Likewise.
43745 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
43746 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
43747 New file.
43748 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
43749 file.
43750 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
43751 New file.
43752 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
43753 file.
eae47a36
DM
43754 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
43755 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
43756 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
43757 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
43758 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
43759
c0c83bc8
DM
43760 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
43761 fzeros/fnegs to load 0x80000000 into a float register instead of
43762 using the stack.
7bd951ff
DM
43763 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
43764
bd951ccb
JM
437652012-03-14 Joseph Myers <joseph@codesourcery.com>
43766
43767 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
43768 bits/syscall.h.
43769 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
43770 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
43771 ($(inst_includedir)/bits/syscall.h): Remove rule.
43772 ($(objpfx)bits/syscall.d): Include instead of
43773 $(objpfx)syscall-list.d.
43774 (generated): Change syscall-list.h and syscall-list.d to
43775 bits/syscall.h and bits/syscall.d.
43776
bb4e6db2
RM
437772012-03-14 Roland McGrath <roland@hack.frob.com>
43778
43779 [BZ #13846]
43780 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
43781
aa4a2ae1
JM
437822012-03-14 Joseph Myers <joseph@codesourcery.com>
43783
e456826d
JM
43784 [BZ #13841]
43785 * math/s_csqrt.c: Include <float.h>.
43786 (__csqrt): Scale large or subnormal inputs.
43787 * math/s_csqrtf.c: Likewise.
43788 * math/s_csqrtl.c: Likewise.
43789 * math/libm-test.inc (csqrt_test): Add more tests.
43790 * sysdeps/i386/fpu/libm-test-ulps: Update.
43791 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43792
aa4a2ae1
JM
43793 [BZ #13840]
43794 * math/libm-test.inc (hypot_test): Add more tests.
43795
7c10fd35
DM
437962012-03-13 David S. Miller <davem@davemloft.net>
43797
43798 [BZ #13840]
43799 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
43800 double-precision for the calculation instead of scaling.
43801
f453b98b
JM
438022012-03-13 Joseph Myers <joseph@codesourcery.com>
43803
43804 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
43805 manipulate bits before adding and subtracting TWO52[sx].
43806 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
43807 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
43808 Likewise.
43809 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
43810
09a3453f
DM
438112012-03-13 David S. Miller <davem@davemloft.net>
43812
8e59da90
DM
43813 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
43814 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
43815 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
43816 rtld-global-offsets.h
43817 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
43818
2a8ab7f2
DM
43819 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
43820 large parameters.
43821
10f62770
DM
43822 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
43823
5f0bdb18
DM
43824 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
43825 'err' in the ifdef scope in which it is actually used.
43826
09a3453f
DM
43827 * nss/nss_db/db-init.c: Include string.h
43828
b4b2eb5e
DM
438292012-03-12 David S. Miller <davem@davemloft.net>
43830
98bb2f1c
DM
43831 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
43832 masking out of the most significant byte of random value used.
43833 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
43834 Fix coding style in previous change.
43835
b4b2eb5e
DM
43836 * sysdeps/unix/sysv/linux/kernel-features.h
43837 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
43838 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
43839 expression.
43840 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
43841 later.
43842
6e226b09
DM
438432012-03-11 David S. Miller <davem@davemloft.net>
43844
a1bcbd40
DM
43845 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
43846 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
43847 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
43848 for 'resultvar' otherwise things get truncated on 64-bit.
43849
cb9d6174
DM
43850 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
43851 Fix masking out of the most significant byte of random value used.
43852
6e226b09
DM
43853 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43854
058c132d
AS
438552012-03-10 Andreas Schwab <schwab@linux-m68k.org>
43856
43857 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43858
2d2cd515
DM
438592012-03-09 David S. Miller <davem@davemloft.net>
43860
43861 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
43862 variables with appropriate CPP guards.
57f41c40
AS
43863 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
43864 from the frame pointer, not the stack pointer. Correct layout
43865 comments. Fix test on resulting framesize and the management of
43866 the outregs buffer for pltexit. Preserve floating point return
43867 values across _dl_call_pltexit call.
2d2cd515
DM
43868 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
43869 framesize and the management of the outregs buffer for pltexit.
43870 Preserve floating point return values across _dl_call_pltexit
43871 call.
57f41c40
AS
43872 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
43873 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
43874 (la_sparc64_gnu_pltexit): New functions.
2d2cd515
DM
43875 (print_exit): Fix format string for return register value.
43876
9a07f9d0
JM
438772012-03-10 Joseph Myers <joseph@codesourcery.com>
43878
43879 * sunrpc/Makefile (others): Add rpcgen.
43880 ($(objpfx)rpcgen): Remove special build rule and dependency on
43881 libc.
43882 * sunrpc/rpcgen.c: New file.
43883
547b5e30
PE
438842012-03-09 Paul Eggert <eggert@cs.ucla.edu>
43885
c524201a
PE
43886 [BZ #13673]
43887 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
43888 * stdio-common/bug-vfprintf-nargs.c: Likewise.
43889 * sysdeps/i386/crti.S: Likewise.
43890 * sysdeps/i386/crtn.S: Likewise.
43891 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
43892 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
43893 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
43894 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
43895 * sysdeps/sh/crti.S: Likewise.
43896 * sysdeps/sh/crtn.S: Likewise.
43897 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
43898
7b6235f2
PE
43899 [BZ #13673]
43900 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
43901 with URL.
43902 * locale/programs/locfile-kw.gperf: Likewise.
43903 * locale/programs/charmap-kw.h: Regenerated.
43904 * locale/programs/locfile-kw.h: Likewise.
43905
547b5e30
PE
43906 [BZ #13673]
43907 * intl/plural.y: Replace FSF snail mail address with URL.
43908 * intl/plural.c: Regenerated.
43909
5f0a5dae
RH
439102012-03-09 Richard Henderson <rth@twiddle.net>
43911
43912 * include/math_private.h: Remove file.
43913 * math/math_private.h: Move file ...
43914 * sysdeps/generic/math_private.h: ... here.
43915
b8c03620
RH
43916 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
43917 * sysdeps/powerpc/fpu/math_private.h: Likewise.
43918 * sysdeps/x86_64/fpu/math_private.h: Likewise.
43919
4e234f5d 43920 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
43921 and <math_private.h>.
43922 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
43923 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
43924 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
43925 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
43926 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
43927 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
43928 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
43929 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
43930 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
43931 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
43932 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
43933 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
43934 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
43935 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
43936 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
43937 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
43938 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
43939 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
43940 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
43941 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
43942 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43943 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
43944 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
43945 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
43946 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
43947 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
43948 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
43949 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
43950 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
43951 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
43952 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
43953 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
43954 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
43955 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
43956 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
43957 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
43958 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
43959 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
43960 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
43961 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
43962 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
43963 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
43964 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
43965 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
43966 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
43967 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
43968 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
43969 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
43970 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
43971 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
43972 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
43973 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
43974 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
43975 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
43976 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
43977 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
43978 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
43979 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
43980 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
43981 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
43982 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
43983 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
43984 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
43985 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
43986 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
43987 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
43988 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
43989 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
43990 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
43991 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
43992 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
43993 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
43994 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
43995 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
43996 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
43997 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
43998 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
43999 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
44000 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
44001 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
44002 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
44003 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
44004 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
44005 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
44006 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
44007 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
44008 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
44009 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
44010 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
44011 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
44012 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
44013 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
44014 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
44015 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
44016 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
44017 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
44018 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
44019 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
44020 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
44021 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
44022 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
44023 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
44024 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
44025 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
44026 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
44027 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
44028 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
44029 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
44030 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
44031 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
44032 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
44033 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
44034 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
44035 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
44036 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
44037 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
44038 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
44039 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
44040 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
44041 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
44042 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
44043 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
44044 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
44045 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
44046 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
44047 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
44048 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
44049 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
44050 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
44051 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
44052 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
44053 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
44054 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
44055 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
44056 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
44057 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
44058 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
44059 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
44060 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
44061 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
44062 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
44063 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
44064 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
44065 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
44066 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
44067 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
44068 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
44069 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
44070 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
44071 * sysdeps/ieee754/k_standard.c: Likewise.
44072 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
44073 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
44074 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
44075 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
44076 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
44077 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
44078 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
44079 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
44080 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
44081 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
44082 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
44083 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
44084 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
44085 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
44086 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
44087 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
44088 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
44089 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
44090 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
44091 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
44092 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
44093 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
44094 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
44095 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
44096 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
44097 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
44098 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
44099 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
44100 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
44101 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
44102 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
44103 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
44104 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
44105 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
44106 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
44107 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
44108 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
44109 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
44110 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
44111 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
44112 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
44113 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
44114 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
44115 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
44116 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
44117 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
44118 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
44119 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
44120 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
44121 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
44122 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
44123 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
44124 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
44125 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
44126 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
44127 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
44128 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
44129 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
44130 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
44131 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
44132 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
44133 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
44134 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
44135 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
44136 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
44137 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
44138 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
44139 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
44140 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
44141 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
44142 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
44143 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
44144 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
44145 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
44146 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
44147 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
44148 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
44149 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
44150 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
44151 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
44152 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
44153 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
44154 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
44155 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
44156 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
44157 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
44158 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
44159 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
44160 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
44161 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
44162 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
44163 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
44164 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
44165 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
44166 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
44167 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
44168 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
44169 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
44170 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
44171 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
44172 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
44173 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
44174 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
44175 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
44176 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
44177 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
44178 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
44179 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
44180 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
44181 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
44182 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
44183 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
44184 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
44185 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
44186 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
44187 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
44188 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
44189 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
44190 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
44191 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
44192 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
44193 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
44194 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
44195 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
44196 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
44197 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
44198 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
44199 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
44200 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
44201 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
44202 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
44203 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
44204 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
44205 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
44206 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
44207 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
44208 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
44209 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
44210 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
44211 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
44212 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
44213 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
44214 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
44215 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
44216 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
44217 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
44218 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
44219 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
44220 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
44221 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
44222 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
44223 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
44224 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
44225 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
44226 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
44227 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
44228 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
44229 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
44230 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
44231 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
44232 * sysdeps/ieee754/s_lib_version.c: Likewise.
44233 * sysdeps/ieee754/s_matherr.c: Likewise.
44234 * sysdeps/ieee754/s_signgam.c: Likewise.
44235 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
44236 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
44237 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
44238 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
44239 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
44240 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
44241 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
44242 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
44243 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
44244 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
44245 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
44246 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
44247 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
44248 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
44249 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
44250 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
44251 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
44252 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
44253 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
44254 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
44255 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 44256
1991fa03
JM
442572012-03-09 Joseph Myers <joseph@codesourcery.com>
44258
44259 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
44260 * sunrpc/rpc_main.c: Likewise.
44261 * sunrpc/rpc_svcout.c: Likewise.
44262
60d6f5a6
DM
442632012-03-09 David S. Miller <davem@davemloft.net>
44264
44265 * include/math_private.h: New file.
44266
4962050e
JM
442672012-03-09 Joseph Myers <joseph@codesourcery.com>
44268
02a6f887
JM
44269 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
44270 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
44271 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
44272 from <bits/socket_type.h>.
44273 (enum __socket_type): Don't define here.
44274 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
44275 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
44276 bits/socket_type.h.
44277
c6e013c1
JM
44278 [BZ #13566]
44279 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
44280 checking __USE_GNU.
44281
4962050e
JM
44282 * Makerules ($(inst_includedir)/%.h): New rule.
44283 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
44284 (install-others): Remove variable setting.
44285 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
44286
38842f45
RH
442872012-03-08 Richard Henderson <rth@twiddle.net>
44288
67bb6da6
RH
44289 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
44290 from macro to inline function; merge with the
44291 !__LIBC_INTERNAL_MATH_INLINES version.
44292 (__ieee754_sqrtf): Likewise.
44293
15194b4b
RH
44294 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
44295 to inline function.
44296 (__rintf, __floor, __floorf): Likewise.
44297
64e21ede
RH
44298 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
44299 macro to inline function.
44300 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
44301
38842f45
RH
44302 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
44303 not <math/math_private.h>.
44304
c64bf5fe
DM
443052012-03-08 David S. Miller <davem@davemloft.net>
44306
44307 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
44308 copyright year.
44309 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
44310
82d86f28
TS
443112012-03-08 Thomas Schwinge <thomas@codesourcery.com>
44312
44313 * resolv/gai_misc.c (handle_requests): Fix struct timespec
44314 normalization.
44315 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
44316 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
44317
aea5d727
UD
443182012-03-08 Ulrich Drepper <drepper@gmail.com>
44319
44320 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
44321 be defined individually, they must be defined as a block. Define
44322 S for printing a string instead of hidint the different by using a
44323 macro for adding the 'l'.
44324 * stdio-common/tst-fphex-wide.c: Adjust.
44325
70bca0a3
MP
443262012-03-07 Marek Polacek <polacek@redhat.com>
44327
44328 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
44329
65b81130
MP
443302012-03-08 Marek Polacek <polacek@redhat.com>
44331
44332 [BZ #13806]
44333 * stdio-common/Makefile (tests): Add tst-fphex-wide.
44334 * stdio-common/tst-fphex.c: Define a few macros to make the
44335 test reusable. Use them.
44336 * stdio-common/tst-fphex-wide.c: New file.
44337
07037eeb
JM
443382012-03-08 Joseph Myers <joseph@codesourcery.com>
44339
a7a93d50
JM
44340 [BZ #6911]
44341 * manual/macros.texi (gnusystems): New macro.
44342 (nongnusystems): Likewise.
44343 (gnulinuxhurdsystems): Likewise.
44344 (gnuhurdsystems): Likewise..
44345 (gnulinuxsystems): Likewise.
44346 * manual/charset.texi: Use new macros or @theglibc{} to refer to
44347 variants of the GNU system, not "GNU system".
44348 * manual/conf.texi: Likewise.
44349 * manual/errno.texi: Likewise. Update example of errno macro
44350 expansion.
44351 * manual/filesys.texi: Likewise.
44352 (getumask): Document as specific to GNU/Hurd.
44353 * manual/install.texi: Likewise. Reword some references to
44354 GNU/Linux.
44355 * manual/intro.texi: Likewise.
44356 * manual/io.texi: Likewise.
44357 (File Name Portability): Detail which constraints are inapplicable
44358 to all GNU systems and which are only inapplicable to GNU/Hurd.
44359 * manual/job.texi: Likewise.
44360 * manual/llio.texi: Likewise.
44361 (O_NOCTTY): Document as present on GNU/Linux.
44362 * manual/maint.texi: Likewise.
44363 * manual/memory.texi: Likewise.
44364 * manual/pattern.texi: Likewise.
44365 * manual/pipe.texi: Likewise.
44366 * manual/process.texi: Likewise.
44367 * manual/resource.texi: Likewise.
44368 (RUSAGE_CHILDREN): Remove statement about specifying a particular
44369 child on GNU/Hurd.
44370 * manual/setjmp.texi: Likewise.
44371 * manual/signal.texi: Likewise.
44372 * manual/startup.texi: Likewise.
44373 * manual/stdio.texi: Likewise.
44374 * manual/terminal.texi: Likewise.
44375 (ONLCR): Document as POSIX.
44376 (OXTABS): Document availability on GNU/Linux as XTABS.
44377 (ONOEOT): Document availability separately from other bits.
44378 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
44379 * manual/time.texi: Likewise.
44380 * manual/users.texi: Likewise.
44381 * INSTALL: Regenerated.
44382 * sysdeps/gnu/errlist.c: Regenerated.
44383
07037eeb
JM
44384 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
44385 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
44386 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
44387 puts.
44388 * configure: Regenerated.
44389
d1d3431a
JM
443902012-03-07 Joseph Myers <joseph@codesourcery.com>
44391
af6a1e37
JM
44392 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
44393 default includes instead of AC_HEADER_CHECK.
44394 * sysdeps/i386/configure: Regenerated.
44395
d1d3431a
JM
44396 [BZ #10716]
44397 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
44398 * math/s_cacoshf.c (__cacoshf): Likewise.
44399 * math/s_cacoshl.c (__cacoshl): Likewise.
44400 * math/s_casinh.c (__casinh): Set signs of result from argument.
44401 * math/s_casinhf.c (__casinhf): Likewise.
44402 * math/s_casinhl.c (__casinhl): Likewise.
44403 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
44404 (casinh_test): Add more tests.
44405 * sysdeps/i386/fpu/libm-test-ulps: Update.
44406 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44407
482ff4da
UD
444082012-03-07 Ulrich Drepper <drepper@gmail.com>
44409
872fda05
UD
44410 * po/zh_TW.po: Update from translation team.
44411
a4300c7a
UD
44412 * login/Makefile (distribute): Remove variable.
44413 * catgets/Makefile: Likewise.
44414 * mach/Makefile: Likewise.
44415 * malloc/Makefile: Likewise.
44416 * misc/Makefile: Likewise.
44417 * iconv/Makefile: Likewise.
44418 * nscd/Makefile: Likewise.
44419 * hurd/Makefile: Likewise.
44420 * manual/Makefile: Likewise.
44421 * locale/Makefile: Likewise.
44422 * intl/Makefile: Likewise.
44423 * conform/Makefile: Likewise.
44424 * nss/Makefile: Likewise.
44425 * time/Makefile: Likewise.
44426 * soft-fp/Makefile: Likewise.
44427 * dirent/Makefile: Likewise.
44428 * gmon/Makefile: Likewise.
44429 * po/Makefile: Likewise.
44430 * rt/Makefile: Likewise.
44431 * socket/Makefile: Likewise.
44432 * math/Makefile: Likewise.
44433 * signal/Makefile: Likewise.
44434 * debug/Makefile: Likewise.
44435 * elf/Makefile: Likewise.
44436 * timezone/Makefile: Likewise.
44437 * stdlib/Makefile: Likewise.
44438 * iconvdata/Makefile: Likewise.
44439 * sunrpc/Makefile: Likewise.
44440 * io/Makefile: Likewise.
44441 * argp/Makefile: Likewise.
44442 * inet/Makefile: Likewise.
44443 * hesiod/Makefile: Likewise.
44444 * grp/Makefile: Likewise.
44445 * csu/Makefile: Likewise.
44446 * wctype/Makefile: Likewise.
44447 * crypt/Makefile: Likewise.
44448 * libio/Makefile: Likewise.
44449 * string/Makefile: Likewise.
44450 * nis/Makefile: Likewise.
44451 * resolv/Makefile: Likewise.
44452 * stdio-common/Makefile: Likewise.
44453 * wcsmbs/Makefile: Likewise.
44454 * dlfcn/Makefile: Likewise.
44455 * posix/Makefile: Likewise.
44456
3b7c4e74 44457 [BZ #6959]
482ff4da
UD
44458 * timezone/Makefile: Don't install timezone files, just the programs
44459 and scripts.
44460
f72ed77d
UD
444612012-03-06 Ulrich Drepper <drepper@gmail.com>
44462
a000466f
UD
44463 * nss/databases.def: Add missing gshadow entry.
44464
f72ed77d
UD
44465 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
44466
a53b7a4e
MP
444672012-03-06 Marek Polacek <polacek@redhat.com>
44468
44469 [BZ #13726]
44470 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
44471 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
44472 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
44473 * stdio-common/tst-long-dbl-fphex.c: New file.
44474
e9258400
DM
444752012-03-06 David S. Miller <davem@davemloft.net>
44476
44477 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
44478 (set_obp_int): New function.
44479 (get_obp_int): New function.
44480 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
44481 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
44482 Avoid unused variable warnings on 'val' and use builtin_expect.
44483 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
44484 __builtin_expect.
e9258400
DM
44485 (INLINE_CLONE_SYSCALL): Likewise.
44486
3bd2c723
DM
444872012-03-05 David S. Miller <davem@davemloft.net>
44488
44489 * sysdeps/sparc/fpu/libm-test-ulps: Update.
44490
bbb78d03
AS
444912012-03-05 Andreas Schwab <schwab@linux-m68k.org>
44492
884c5db4
AS
44493 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44494
bbb78d03
AS
44495 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
44496 only for |x| >= 40.
44497 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
44498
1c9f702a 444992012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
44500
44501 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
44502 Replace gettimeofday with __vdso_gettimeofday.
44503
7be16f82
RM
44504 * sysdeps/unix/sysv/linux/x86_64/init-first.c
44505 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
44506 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
44507
44508 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
44509 time with __vdso_time.
44510
ed58a00f
JM
445112012-03-05 Joseph Myers <joseph@codesourcery.com>
44512
44513 * manual/lang.texi (size_t): Note types to which size_t may be
44514 equivalent with the GNU C Library, but do not describe when
44515 differences between them are significant.
44516
30ee4ced
AJ
445172012-03-05 Andreas Jaeger <aj@suse.de>
44518
44519 * sysdeps/i386/fpu/libm-test-ulps: Update.
44520
b7cd39e8
JM
445212012-03-05 Joseph Myers <joseph@codesourcery.com>
44522
44523 [BZ #3976]
44524 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
44525 (__ieee754_pow): Save and restore rounding mode and use
44526 round-to-nearest for main computations.
44527 * math/libm-test.inc (pow_test_tonearest): New function.
44528 (pow_test_towardzero): Likewise.
44529 (pow_test_downward): Likewise.
44530 (pow_test_upward): Likewise.
44531 (main): Call the new functions.
44532 * sysdeps/i386/fpu/libm-test-ulps: Update.
44533 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
44534
44535 [BZ #3976]
44536 * math/libm-test.inc (cosh_test_tonearest): New function.
44537 (cosh_test_towardzero): Likewise.
44538 (cosh_test_downward): Likewise.
44539 (cosh_test_upward): Likewise.
44540 (sinh_test_tonearest): Likewise.
44541 (sinh_test_towardzero): Likewise.
44542 (sinh_test_downward): Likewise.
44543 (sinh_test_upward): Likewise.
44544 (main): Call the new functions.
44545 * sysdeps/i386/fpu/libm-test-ulps: Update.
44546 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44547
6c6a98c9
TV
445482012-03-05 Tom de Vries <tom@codesourcery.com>
44549
44550 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
44551 default stack guard is set in last bytes.
44552 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
44553
21bb2d2e 445542012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 44555
21bb2d2e 44556 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 44557
21bb2d2e
AJ
44558 [BZ #13656]
44559 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
44560 possibly allocate from heap instead of stack.
44561 * stdio-common/bug-vfprintf-nargs.c: New file.
44562 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 44563
c6922934
AS
445642012-03-03 Andreas Schwab <schwab@linux-m68k.org>
44565
44566 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44567
bc957d53
MP
445682012-03-03 Marek Polacek <polacek@redhat.com>
44569
44570 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
44571 * math/math_private.h: Likewise.
44572 * stdlib/tst-strtod.c: Likewise.
44573 * sysdeps/i386/i486/bits/atomic.h: Likewise.
44574 * sysdeps/x86_64/bits/atomic.h: Likewise.
44575
6358490d
DM
445762012-03-02 David S. Miller <davem@davemloft.net>
44577
44578 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
44579 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
44580 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
44581 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
44582 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
44583 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
44584 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
44585 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
44586
01ae168d
RM
445872012-03-02 Roland McGrath <roland@hack.frob.com>
44588
d9a17c07
RM
44589 [BZ #13792]
44590 * manual/examples/README: New file, says the example source files
44591 can be used under GPL>=2.
44592 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
44593 line containing just "*/".
44594 * manual/examples/add.c: Add copyright header (GPL>=2).
44595 * manual/examples/argp-ex1.c: Likewise.
44596 * manual/examples/argp-ex2.c: Likewise.
44597 * manual/examples/argp-ex3.c: Likewise.
44598 * manual/examples/argp-ex4.c: Likewise.
44599 * manual/examples/atexit.c: Likewise.
44600 * manual/examples/db.c: Likewise.
44601 * manual/examples/dir.c: Likewise.
44602 * manual/examples/dir2.c: Likewise.
44603 * manual/examples/execinfo.c: Likewise.
44604 * manual/examples/filecli.c: Likewise.
44605 * manual/examples/filesrv.c: Likewise.
44606 * manual/examples/fmtmsgexpl.c: Likewise.
44607 * manual/examples/genpass.c: Likewise.
44608 * manual/examples/inetcli.c: Likewise.
44609 * manual/examples/inetsrv.c: Likewise.
44610 * manual/examples/isockad.c: Likewise.
44611 * manual/examples/longopt.c: Likewise.
44612 * manual/examples/memopen.c: Likewise.
44613 * manual/examples/memstrm.c: Likewise.
44614 * manual/examples/mkfsock.c: Likewise.
44615 * manual/examples/mkisock.c: Likewise.
44616 * manual/examples/mygetpass.c: Likewise.
44617 * manual/examples/pipe.c: Likewise.
44618 * manual/examples/popen.c: Likewise.
44619 * manual/examples/rprintf.c: Likewise.
44620 * manual/examples/search.c: Likewise.
44621 * manual/examples/select.c: Likewise.
44622 * manual/examples/setjmp.c: Likewise.
44623 * manual/examples/sigh1.c: Likewise.
44624 * manual/examples/sigusr.c: Likewise.
44625 * manual/examples/stpcpy.c: Likewise.
44626 * manual/examples/strdupa.c: Likewise.
44627 * manual/examples/strftim.c: Likewise.
44628 * manual/examples/strncat.c: Likewise.
44629 * manual/examples/subopt.c: Likewise.
44630 * manual/examples/swapcontext.c: Likewise.
44631 * manual/examples/termios.c: Likewise.
44632 * manual/examples/testopt.c: Likewise.
44633 * manual/examples/testpass.c: Likewise.
44634 * manual/examples/timeval_subtract.c: Likewise.
44635
01ae168d
RM
44636 [BZ #13792]
44637 * manual/time.texi (Elapsed Time): Move timeval_subtract example
44638 function to ...
44639 * manual/timeval_subtract.c.texi: ... here, new file.
44640
49efa33d
DM
446412012-03-02 David S. Miller <davem@davemloft.net>
44642
44643 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
44644
28afd92d
JM
446452012-03-02 Joseph Myers <joseph@codesourcery.com>
44646
804360ed
JM
44647 [BZ #3976]
44648 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
44649 (__sin): Save and restore rounding mode and use round-to-nearest
44650 for all computations.
44651 (__cos): Save and restore rounding mode and use round-to-nearest
44652 for all computations.
44653 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
44654 <fenv.h>.
44655 (tan): Save and restore rounding mode and use round-to-nearest for
44656 all computations.
44657 * math/libm-test.inc (cos_test_tonearest): New function.
44658 (cos_test_towardzero): Likewise.
44659 (cos_test_downward): Likewise.
44660 (cos_test_upward): Likewise.
44661 (sin_test_tonearest): Likewise.
44662 (sin_test_towardzero): Likewise.
44663 (sin_test_downward): Likewise.
44664 (sin_test_upward): Likewise.
44665 (tan_test_tonearest): Likewise.
44666 (tan_test_towardzero): Likewise.
44667 (tan_test_downward): Likewise.
44668 (tan_test_upward): Likewise.
44669 (main): Call the new functions.
44670 * sysdeps/i386/fpu/libm-test-ulps: Update.
44671 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44672
a6d06d7b
JM
44673 [BZ #10135]
44674 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
44675 small n, then large n, before computing and testing k+n.
44676 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
44677 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
44678 Likewise.
44679 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
44680 Likewise.
44681 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
44682 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
44683 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
44684 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
44685 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
44686 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
44687 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
44688 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
44689 * math/libm-test.inc (scalbn_test): Add more tests.
44690 (scalbln_test): Likewise.
44691
07e12bb3
JM
44692 * manual/filesys.texi (mode_t): Describe constraints on size and
44693 signedness, not exact equivalence to a particular type.
44694 (ino_t): Likewise.
44695 (ino64_t): Likewise.
44696 (dev_t): Likewise.
44697 (nlink_t): Likewise.
44698 (blkcnt_t): Likewise.
44699 (blkcnt64_t): Likewise.
44700 * manual/llio.texi (off_t): Likewise.
44701
28afd92d
JM
44702 [BZ #3976]
44703 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
44704 (__ieee754_exp): Save and restore rounding mode and use
44705 round-to-nearest for all computations.
44706 * math/libm-test.inc (exp_test_tonearest): New function.
44707 (exp_test_towardzero): Likewise.
44708 (exp_test_downward): Likewise.
44709 (exp_test_upward): Likewise.
44710 (main): Call the new functions.
44711 * sysdeps/i386/fpu/libm-test-ulps: Update.
44712 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44713
b1eeb65d
CD
447142012-03-01 Chris Demetriou <cgd@google.com>
44715
44716 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
44717 have predictable order.
44718
53362a4b
DM
447192012-03-01 David S. Miller <davem@davemloft.net>
44720
3c969083
DM
44721 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
44722
759707de
DM
44723 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
44724 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
44725 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
44726 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
44727
dfdb8ff2
DM
44728 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
44729 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
44730 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
44731 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
44732 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
44733 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
44734 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
44735 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
44736 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
44737
ead89f96
DM
44738 * sysdeps/sparc/fpu/libm-test-ulps: Update.
44739
7f66bd07
DM
44740 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
44741 * sysdeps/sparc/fpu/libm-test-ulps: to here.
44742 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
44743
53362a4b
DM
44744 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
44745 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
44746 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
44747 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
44748 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
44749 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
44750 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
44751 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
44752 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
44753 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
44754 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
44755 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
44756 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
44757 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
44758 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
44759 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
44760 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
44761 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
44762 * sysdeps/sparc/elf/configure: Regenerated.
44763
7b1902cb
JM
447642012-03-01 Joseph Myers <joseph@codesourcery.com>
44765
bec039bc
JM
44766 * configure.in (AS, LD): Require binutils 2.20 or later.
44767 * configure: Regenerated.
44768 * manual/install.texi (Tools for Compilation): Give binutils 2.20
44769 as required minimum version.
44770 * INSTALL: Regenerated.
44771
7b1902cb
JM
44772 [BZ #2541]
44773 [BZ #4108]
44774 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
44775 before squaring exponent.
44776 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
44777 bottom long double and 27 bits of top long double before squaring
44778 exponent.
44779 * math/libm-test.inc (erfc_test): Add more tests.
44780 * sysdeps/i386/fpu/libm-test-ulps: Update.
44781 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
44782 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44783
f775c276
KT
447842012-03-01 Kai Tietz <ktietz@redhat.com>
44785
44786 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
44787 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
44788 containing bit-fields.
44789 * soft-fp/extended.h (_FP_UNION_E): Likewise.
44790 * soft-fp/single.h (_FP_UNION_S): Likewise.
44791 * soft-fp/double.h (_FP_UNION_D): Likewise.
44792
5b8a4d4a
JM
447932012-02-29 Joseph Myers <joseph@codesourcery.com>
44794
0bab47b6
JM
44795 [BZ #13786]
44796 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
44797 not include ../strcmp.S.
44798 [USE_AS_STRNCASECMP_L]: Likewise.
44799 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
44800 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
44801 * sysdeps/i386/i686/multiarch/strncase_l-c.c
44802 (__strncasecmp_l_ia32): Define as alias to
44803 __strncasecmp_l_nonascii.
44804
0fcad3e2
JM
44805 [BZ #5794]
44806 * math/libm-test.inc (expm1_test): Add test for bug 5794.
44807 * sysdeps/i386/fpu/libm-test-ulps: Update.
44808 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44809
5b8a4d4a
JM
44810 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
44811 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44812
8fdceb2e
JL
448132012-02-29 Jeff Law <law@redhat.com>
44814
44815 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
44816 out of bounds read.
44817
1f393a11
MP
448182012-02-29 Marek Polacek <polacek@redhat.com>
44819
44820 [BZ #13706]
44821 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
44822 * elf/Makefile: Add rules to run tst-unused-dep.out.
44823
8847f037
DM
448242012-02-28 David S. Miller <davem@davemloft.net>
44825
44826 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
44827 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
44828 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
44829 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
44830 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
44831 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
44832
169d7f11
JM
448332012-02-29 Joseph Myers <joseph@codesourcery.com>
44834
44835 * math/libm-test.inc (llround_test): Move one test from
44836 lround_test. Use TEST_f_L in moved test.
44837 (lround_test): Move misplaced test to llround_test. Add testcase
44838 from bug 2561.
44839
39adf059
UD
448402012-02-28 Ulrich Drepper <drepper@gmail.com>
44841
44842 * sysdeps/x86_64/fpu/e_expf.S: New file.
44843 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
44844
71b5d1c5
SB
448452012-02-28 Stanislav Brabec <sbrabec@suse.cz>
44846
44847 [BZ #13637]
44848 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
44849 of remain_len that may cause incomplete multi-byte character and
44850 false match.
44851 * posix/bug-regex33.c: New file.
44852 * posix/Makefile (tests): Add bug-regex33.
44853
1f77f049
JM
448542012-02-28 Joseph Myers <joseph@codesourcery.com>
44855
44856 * manual/macros.texi: New file.
44857 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
44858 * manual/libc.texinfo: Include macros.texi.
44859 * manual/creatute.texi: Likewise.
44860 * manual/install.texi: Likewise.
44861 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
44862 @glibcadj{} in references to the GNU C Library.
44863 * manual/charset.texi: Likewise.
44864 * manual/conf.texi: Likewise.
44865 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
44866 when not using those macros.
44867 * manual/creature.texi: Likewise.
44868 * manual/crypt.texi: Likewise.
44869 * manual/errno.texi: Likewise.
44870 * manual/filesys.texi: Likewise.
44871 * manual/header.texi: Likewise.
44872 * manual/install.texi: Likewise.
44873 * manual/intro.texi: Likewise.
44874 * manual/io.texi: Likewise.
44875 * manual/job.texi: Likewise.
44876 * manual/lang.texi: Likewise.
44877 * manual/libc.texiinfo: Likewise.
44878 * manual/llio.texi: Likewise.
44879 * manual/locale.texi: Likewise.
44880 * manual/maint.texi: Likewise.
44881 * manual/math.texi: Likewise.
44882 * manual/memory.texi: Likewise.
44883 * manual/message.texi: Likewise.
44884 * manual/nss.texi: Likewise.
44885 * manual/pattern.texi: Likewise.
44886 * manual/process.texi: Likewise.
44887 * manual/resource.texi: Likewise.
44888 * manual/search.texi: Likewise.
44889 * manual/setjmp.texi: Likewise.
44890 * manual/signal.texi: Likewise.
44891 * manual/socket.texi: Likewise.
44892 * manual/startup.texi: Likewise.
44893 * manual/stdio.texi: Likewise.
44894 * manual/string.texi: Likewise.
44895 * manual/sysinfo.texi: Likewise.
44896 * manual/syslog.texi: Likewise.
44897 * manual/terminal.texi: Likewise.
44898 * manual/time.texi: Likewise.
44899 * manual/users.texi: Likewise.
44900 * INSTALL: Regenerated.
44901 * NOTES: Regenerated.
d40c5d54 44902 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 44903
450bf206
AS
449042012-02-28 Andreas Schwab <schwab@linux-m68k.org>
44905
44906 * include/dirent.h: Include <dirstream.h> before
44907 <dirent/dirent.h>.
44908
741a235b
DM
449092012-02-28 David S. Miller <davem@davemloft.net>
44910
44911 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
44912 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
44913 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
44914 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
44915
d6b5aa58
DM
449162012-02-27 David S. Miller <davem@davemloft.net>
44917
1aff59a3
DM
44918 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
44919 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
44920 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
44921 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
44922
d6b5aa58
DM
44923 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
44924 frame pointer instead of stack pointer relative arg slot.
44925 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
44926 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
44927 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
44928
433f48bf
CD
449292012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
44930
44931 [BZ #3992]
44932 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
44933
d674b76d
DM
449342012-02-27 David S. Miller <davem@davemloft.net>
44935
44936 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
44937 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
44938 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
44939 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
44940 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
44941 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
44942 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
44943 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
44944
0e7727f7
JM
449452012-02-27 Joseph Myers <joseph@codesourcery.com>
44946
44947 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
44948 later. Allow versions 5-9.
43be4ca2 44949 * configure: Regenerated.
0e7727f7
JM
44950 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
44951 required minimum version and 4.6 as recommended version. Do not
44952 mention bugs in GCC 2.7 and 2.8.
43be4ca2 44953 * INSTALL: Regenerated.
0e7727f7 44954
a78bc654
DM
449552012-02-27 David S. Miller <davem@davemloft.net>
44956
428d5830
DM
44957 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
44958 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
44959 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
44960 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
44961 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
44962 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
44963 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
44964 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
44965
a78bc654
DM
44966 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
44967 manipulate bits before adding and subtracting TWO112[sx].
44968 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
44969
4579f81c
RM
449702012-02-27 Roland McGrath <roland@hack.frob.com>
44971
36c8acb4
RM
44972 [BZ #13775]
44973 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
44974 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
44975 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
44976 being in POSIX, because they are in 1003.1-2008.
44977
84ad622b
RM
44978 * rt/tst-aio.c: Include <fcntl.h>.
44979 * rt/tst-aio7.c: Likewise.
44980 * rt/tst-aio64.c: Likewise.
44981
4579f81c
RM
44982 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
44983
abd923db
JM
449842012-02-27 Joseph Myers <joseph@codesourcery.com>
44985
44986 * manual/install.texi (--with-headers): Describe headers as
44987 interface headers, not private headers.
44988 (Specific advice for GNU/Linux systems): Describe use of headers
44989 from "make headers_install", not private headers from older
44990 kernels.
43be4ca2 44991 * INSTALL: Regenerated.
abd923db
JM
44992 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
44993 Change to 2.6.19.
44994 * sysdeps/unix/sysv/linux/configure: Regenerated.
44995
6664049b
JM
44996 * manual/llio.texi (fclean): Remove documentation.
44997
bb8b6697
JM
44998 * manual/Makefile (libc-texi-generated): New variable. Include
44999 version.texi.
45000 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
45001 $(libc-texi-generated), not duplicated list of files.
45002 (version.texi, stamp-version): New rules.
45003 (realclean): Remove $(libc-texi-generated), not individual files
45004 from that list. Do not remove dir-add.texinfo.
45005 * manual/libc.texinfo: Comment out uses of edition numbers and
45006 references to printed manual. Remove last-updated dates.
45007 (EDITION): Comment out.
45008 (ISBN): Likewise.
45009 (VERSION, UPDATED): Remove.
45010 (version.texi): Include.
45011
12e5c3b9
AS
450122012-02-27 Andreas Schwab <schwab@linux-m68k.org>
45013
45014 * sysdeps/posix/spawni.c: Include <signal.h>.
45015 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
45016 * sysdeps/pthread/aio_fsync.c: Likewise.
45017
4efeffc1 450182012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 45019
ba63ba08
UD
45020 * conform/Makefile (tests): Run only when not cross-compiling and
45021 when fast-check is not defined.
45022
d94a4670
UD
45023 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
45024 * conform/data/limits.h-data: Fixes for POSIX2008.
45025 * conform/run-conformtest.sh: Run all tests.
45026 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
45027 headers.
45028 * include/bits/dlfcn.h: Likewise.
45029 * include/langinfo.h: Likewise.
45030 * include/monetary.h: Likewise.
45031 * include/sys/poll.h: Likewise.
45032
45033 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
45034 for __USE_GNU.
45035 * posix/spawn.h: Define __need_sigset_t.
45036 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
45037 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
45038 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
45039 to get sigevent_t only.
45040 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
45041 only for __USE_GNU.
45042 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
45043 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
45044 process_vm_writev only for __USE_GNU.
45045 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
45046
45047 * conform/Makefile: For now ignore errors from run-conformtest.
45048 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
45049 POSIX to avoid namespace pollution. Don't prepend headers.
45050 * conform/data/aio.h-data: Fixes for POSIX testing.
45051 * conform/data/fcntl.h-data: Likewise.
45052 * conform/data/glob.h-data: Likewise.
45053 * conform/data/grp.h-data: Likewise.
45054 * conform/data/pthread.h-data: Likewise.
45055 * conform/data/pwd.h-data: Likewise.
45056 * conform/data/signal.h-data: Likewise.
45057 * conform/data/spawn.h-data: Likewise.
45058 * conform/data/stdio.h-data: Likewise.
45059 * conform/data/stdlib.h-data: Likewise.
45060 * conform/data/stropts.h-data: Likewise.
45061 * conform/data/sys/mman.h-data: Likewise.
45062 * conform/data/sys/stat.h-data: Likewise.
45063 * conform/data/sys/types.h-data: Likewise.
45064 * conform/data/sys/wait.h-data: Likewise.
45065 * conform/data/time.h-data: Likewise.
45066 * conform/data/unistd.h-data: Likewise.
45067 * conform/data/utime.h-data: Likewise.
45068
45069 * io/sys/stat.h: fchmod was always in POSIX.
45070 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
45071 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
45072 * rt/aio.h: Define __need_timespec before including <time.h>.
45073 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
45074 struct. Add forward declaration of pthread_attr_t and use it in
45075 sigevent.
45076 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
45077 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
45078 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
45079 always remove CLK_TCK definition.
45080
c20105c3
AS
450812012-02-26 Andreas Schwab <schwab@linux-m68k.org>
45082
45083 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
45084
7a270350
UD
450852012-02-25 Ulrich Drepper <drepper@gmail.com>
45086
31341567
UD
45087 * conform/run-conformtest.sh: New file.
45088 * conform/Makefile: Run run-conformtest for tests.
45089 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
45090 support.
45091
45092 * conform/data/uchar.h-data: New file.
45093 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
45094 * conform/data/arpa/inet.h-data: Likewise.
45095 * conform/data/assert.h-data: Likewise.
45096 * conform/data/complex.h-data: Likewise.
45097 * conform/data/cpio.h-data: Likewise.
45098 * conform/data/ctype.h-data: Likewise.
45099 * conform/data/dirent.h-data: Likewise.
45100 * conform/data/dlfcn.h-data: Likewise.
45101 * conform/data/errno.h-data: Likewise.
45102 * conform/data/fcntl.h-data: Likewise.
45103 * conform/data/float.h-data: Likewise.
45104 * conform/data/fmtmsg.h-data: Likewise.
45105 * conform/data/fnmatch.h-data: Likewise.
45106 * conform/data/ftw.h-data: Likewise.
45107 * conform/data/glob.h-data: Likewise.
45108 * conform/data/grp.h-data: Likewise.
45109 * conform/data/iconv.h-data: Likewise.
45110 * conform/data/inttypes.h-data: Likewise.
45111 * conform/data/langinfo.h-data: Likewise.
45112 * conform/data/libgen.h-data: Likewise.
45113 * conform/data/limits.h-data: Likewise.
45114 * conform/data/locale.h-data: Likewise.
45115 * conform/data/math.h-data: Likewise.
45116 * conform/data/monetary.h-data: Likewise.
45117 * conform/data/mqueue.h-data: Likewise.
45118 * conform/data/ndbm.h-data: Likewise.
45119 * conform/data/net/if.h-data: Likewise.
45120 * conform/data/netdb.h-data: Likewise.
45121 * conform/data/netinet/in.h-data: Likewise.
45122 * conform/data/nl_types.h-data: Likewise.
45123 * conform/data/poll.h-data: Likewise.
45124 * conform/data/pthread.h-data: Likewise.
45125 * conform/data/pwd.h-data: Likewise.
45126 * conform/data/regex.h-data: Likewise.
45127 * conform/data/sched.h-data: Likewise.
45128 * conform/data/search.h-data: Likewise.
45129 * conform/data/semaphore.h-data: Likewise.
45130 * conform/data/setjmp.h-data: Likewise.
45131 * conform/data/signal.h-data: Likewise.
45132 * conform/data/spawn.h-data: Likewise.
45133 * conform/data/stdarg.h-data: Likewise.
45134 * conform/data/stdio.h-data: Likewise.
45135 * conform/data/stdlib.h-data: Likewise.
45136 * conform/data/string.h-data: Likewise.
45137 * conform/data/strings.h-data: Likewise.
45138 * conform/data/stropts.h-data: Likewise.
45139 * conform/data/sys/ipc.h-data: Likewise.
45140 * conform/data/sys/mman.h-data: Likewise.
45141 * conform/data/sys/msg.h-data: Likewise.
45142 * conform/data/sys/resource.h-data: Likewise.
45143 * conform/data/sys/select.h-data: Likewise.
45144 * conform/data/sys/sem.h-data: Likewise.
45145 * conform/data/sys/shm.h-data: Likewise.
45146 * conform/data/sys/socket.h-data: Likewise.
45147 * conform/data/sys/stat.h-data: Likewise.
45148 * conform/data/sys/statvfs.h-data: Likewise.
45149 * conform/data/sys/time.h-data: Likewise.
45150 * conform/data/sys/timeb.h-data: Likewise.
45151 * conform/data/sys/times.h-data: Likewise.
45152 * conform/data/sys/types.h-data: Likewise.
45153 * conform/data/sys/uio.h-data: Likewise.
45154 * conform/data/sys/un.h-data: Likewise.
45155 * conform/data/sys/utsname.h-data: Likewise.
45156 * conform/data/sys/wait.h-data: Likewise.
45157 * conform/data/syslog.h-data: Likewise.
45158 * conform/data/tar.h-data: Likewise.
45159 * conform/data/termios.h-data: Likewise.
45160 * conform/data/utime.h-data: Likewise.
45161 * conform/data/utmpx.h-data: Likewise.
45162 * conform/data/varargs.h-data: Likewise.
45163 * conform/data/wchar.h-data: Likewise.
45164 * conform/data/wctype.h-data: Likewise.
45165 * conform/data/wordexp.h-data: Likewise.
45166
45167 * include/stropts.h: New file.
45168 * include/uchar.h: New file.
45169 * include/aio.h: Changes to allow conformtest.pl to use the headers.
45170 * include/assert.h: Likewise.
45171 * include/ctype.h: Likewise.
45172 * include/dirent.h: Likewise.
45173 * include/dlfcn.h: Likewise.
45174 * include/fcntl.h: Likewise.
45175 * include/fnmatch.h: Likewise.
45176 * include/glob.h: Likewise.
45177 * include/grp.h: Likewise.
45178 * include/libio.h: Likewise.
45179 * include/locale.h: Likewise.
45180 * include/math.h: Likewise.
45181 * include/net/if.h: Likewise.
45182 * include/netdb.h: Likewise.
45183 * include/netinet/in.h: Likewise.
45184 * include/pthread.h: Likewise.
45185 * include/pwd.h: Likewise.
45186 * include/regex.h: Likewise.
45187 * include/sched.h: Likewise.
45188 * include/search.h: Likewise.
45189 * include/setjmp.h: Likewise.
45190 * include/signal.h: Likewise.
45191 * include/stdio.h: Likewise.
45192 * include/stdlib.h: Likewise.
45193 * include/string.h: Likewise.
45194 * include/sys/cdefs.h: Likewise.
45195 * include/sys/mman.h: Likewise.
45196 * include/sys/msg.h: Likewise.
45197 * include/sys/resource.h: Likewise.
45198 * include/sys/select.h: Likewise.
45199 * include/sys/socket.h: Likewise.
45200 * include/sys/stat.h: Likewise.
45201 * include/sys/statvfs.h: Likewise.
45202 * include/sys/time.h: Likewise.
45203 * include/sys/times.h: Likewise.
45204 * include/sys/uio.h: Likewise.
45205 * include/sys/utsname.h: Likewise.
45206 * include/sys/wait.h: Likewise.
45207 * include/termios.h: Likewise.
45208 * include/time.h: Likewise.
45209 * include/ulimit.h: Likewise.
45210 * include/unistd.h: Likewise.
45211 * include/utime.h: Likewise.
45212 * include/wchar.h: Likewise.
45213 * include/wctype.h: Likewise.
45214 * include/wordexp.h: Likewise.
45215
45216 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
45217
7a270350
UD
45218 * time/time.h: TIME_UTC must be a macro.
45219 Make timespec_get available for ISO C11 only as well.
45220
7724defc
UD
452212012-02-24 Ulrich Drepper <drepper@gmail.com>
45222
45223 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
45224 Reported by Peng Haitao <penght@cn.fujitsu.com>.
45225
6b1d1d46
JM
452262012-02-24 Joseph Myers <joseph@codesourcery.com>
45227
45228 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 45229
0f8bbd69
JM
452302012-02-24 Joseph Myers <joseph@codesourcery.com>
45231
45232 * manual/texinfo.tex: Update to version 2012-01-19.16.
45233
66ab80bc
JM
452342012-02-24 Joseph Myers <joseph@codesourcery.com>
45235
45236 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
45237
74981cc5
RM
452382012-02-24 Roland McGrath <roland@hack.frob.com>
45239
ee968201
RM
45240 [BZ #13738]
45241 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
45242 * manual/fdl-1.3.texi: New file.
45243 * manual/fdl-1.1.texi: File removed.
45244
74981cc5
RM
45245 [BZ #13738]
45246 * manual/libc.texinfo (FDL_VERSION): New @set.
45247 Use it for mention of FDL in cover text.
45248 (Documentation License): Use it in @include file name.
45249
7bb764bc
JM
452502012-02-22 Joseph Myers <joseph@codesourcery.com>
45251 Roland McGrath <roland@hack.frob.com>
45252
45253 [BZ #5461]
57f41c40
AS
45254 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
45255 (not LONG_LONG_MAX and LONG_LONG_MIN.
7bb764bc
JM
45256 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
45257 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
45258 name.
45259 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
45260
6cbeae47
JM
452612012-02-22 Joseph Myers <joseph@codesourcery.com>
45262
45263 [BZ #2547]
45264 [BZ #11365]
45265 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
45266 manipulate bits before adding and subtracting TWO23[sx].
45267 * math/libm-test.inc (nearbyint_test): Add more tests.
45268
fe45ce09
JM
452692012-02-22 Joseph Myers <joseph@codesourcery.com>
45270
45271 [BZ #2548]
45272 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
45273 bits before adding and subtracting TWO23[sx].
45274 * math/libm-test.inc (rint_test): Add more tests.
45275 (rint_test_tonearest): Likewise.
45276 (rint_test_towardzero): Likewise.
45277 (rint_test_downward): Likewise.
45278 (rint_test_upward: Likewise.
45279
ff3b3d82
JM
452802012-02-22 Joseph Myers <joseph@codesourcery.com>
45281
45282 [BZ #10110]
45283 * include/stdc-predef.h: New file. Extracted from features.h.
45284 * include/features.h: Include stdc-predef.h.
45285 * Makefile (headers): Add stdc-predef.h.
45286 * CONFORMANCE (Compiler limitations): Update.
45287
ef0aab35
JM
452882012-02-22 Joseph Myers <joseph@codesourcery.com>
45289
45290 * manual/libc.texinfo (VERSION, UPDATED): Revert.
45291
58639409
DM
452922012-02-21 David S. Miller <davem@davemloft.net>
45293
45294 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
45295 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
45296
c0e70b25
DM
452972012-02-20 David S. Miller <davem@davemloft.net>
45298
45299 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
45300 using a normal save/restore sequence, rather than allocating a
45301 dummy stack frame just to store a frame pointer and restore.
45302 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
45303
fb06851d
JM
453042012-02-21 Joseph Myers <joseph@codesourcery.com>
45305
45306 * manual/install.texi: Fix stray word in line-wrapped comment.
45307
7a8b71c3
DM
453082012-02-20 David S. Miller <davem@davemloft.net>
45309
d510c123
DM
45310 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
45311 both binutils and gcc support GOTDATA.
45312
0722d7c2
DM
45313 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
45314 "rd %pc" in the PIC register setup sequences.
45315
3d2b3019
DM
45316 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
45317 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
45318 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
45319 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
45320 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
45321 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
45322 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
45323 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
45324 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
45325 (SYSCALL_ERROR_HANDLER): Likewise.
45326 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
45327 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
45328 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
45329 (SYSCALL_ERROR_HANDLER): Likewise.
45330
c80098a9
DM
45331 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
45332 (HAVE_GCC_GOTDATA): New.
45333 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
45334 relocation support in both binutils and gcc.
45335 * sysdeps/sparc/elf/configure: Regenerate.
45336
3a2545a0
DM
45337 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
45338 * sysdeps/sparc/sparc32/elf/configure: Delete.
45339 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
45340 * sysdeps/sparc/sparc64/elf/configure: Delete.
45341 * sysdeps/sparc/elf/configure.in: New file.
45342 * sysdeps/sparc/elf/configure: Generate.
45343
7a8b71c3
DM
45344 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
45345 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
45346 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
45347 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
45348 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
45349
f1e86fca
JM
453502012-02-21 Joseph Myers <joseph@codesourcery.com>
45351
45352 * manual/install.texi: Do not mention specific glibc version
45353 numbers.
45354 * manual/libc.texinfo (VERSION, UPDATED): Update.
45355 (@copying): Use @copyright{} and range of years.
45356
0e7dfaef
JM
453572012-02-21 Joseph Myers <joseph@codesourcery.com>
45358
45359 [BZ #13695]
45360 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
45361 [crti.S not in sysdirs] (generated): Do not append.
45362 [crti.S not in sysdirs] (omit-deps): Likewise.
45363 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
45364 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
45365 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
45366 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
45367 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
45368 Likewise.
45369 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
45370 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
45371 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
45372 * csu/defs.awk: Remove file.
45373 * sysdeps/generic/initfini.c: Likewise.
45374 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
45375 variable.
45376 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
45377 Likewise.
45378
599af3ca
JM
453792012-02-20 Joseph Myers <joseph@codesourcery.com>
45380
45381 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
45382 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
45383 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
45384 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
45385 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
45386 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
45387 <bits/epoll.h>.
45388 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
45389 (__EPOLL_PACKED): Define to empty if not defined by
45390 <bits/epoll.h>.
45391 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
45392 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
45393 bits/epoll.h.
45394
0e499750
JM
453952012-02-20 Joseph Myers <joseph@codesourcery.com>
45396
45397 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
45398 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
45399 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
45400 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
45401 <bits/timerfd.h>.
45402 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
45403 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
45404 bits/timerfd.h.
45405
5ad91f6e
JM
454062012-02-20 Joseph Myers <joseph@codesourcery.com>
45407
45408 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
45409 in C locale.
45410 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
45411 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
45412 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
45413 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45414
06b99b02
AJ
454152012-02-20 Aurelien Jarno <aurelien@aurel32.net>
45416
45417 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
45418 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
45419
7638c0fd
AS
454202012-02-19 Andreas Schwab <schwab@linux-m68k.org>
45421
45422 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
45423 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
45424 defined.
45425 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
45426 Likewise.
45427 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
45428 entry for 2.16.
45429
92221550
AJ
454302012-02-19 Aurelien Jarno <aurelien@aurel32.net>
45431
45432 * math/w_acos.c: Use non-signaling floating-point comparisons.
45433 * math/w_acosf.c: Likewise.
45434 * math/w_acosh.c: Likewise.
45435 * math/w_acoshf.c: Likewise.
45436 * math/w_acoshl.c: Likewise.
45437 * math/w_acosl.c: Likewise.
45438 * math/w_asin.c: Likewise.
45439 * math/w_asinf.c: Likewise.
45440 * math/w_asinl.c: Likewise.
45441 * math/w_atanh.c: Likewise.
45442 * math/w_atanhf.c: Likewise.
45443 * math/w_atanhl.c: Likewise.
45444 * math/w_exp2.c: Likewise.
45445 * math/w_exp2f.c: Likewise.
45446 * math/w_exp2l.c: Likewise.
45447 * math/w_j0.c: Likewise.
45448 * math/w_j0f.c: Likewise.
45449 * math/w_j0l.c: Likewise.
45450 * math/w_j1.c: Likewise.
45451 * math/w_j1f.c: Likewise.
45452 * math/w_j1l.c: Likewise.
45453 * math/w_jn.c: Likewise.
45454 * math/w_jnf.c: Likewise.
45455 * math/w_log.c: Likewise.
45456 * math/w_log10.c: Likewise.
45457 * math/w_log10f.c: Likewise.
45458 * math/w_log10l.c: Likewise.
45459 * math/w_log2.c: Likewise.
45460 * math/w_log2f.c: Likewise.
45461 * math/w_log2l.c: Likewise.
45462 * math/w_logf.c: Likewise.
45463 * math/w_logl.c: Likewise.
45464 * math/w_sqrt.c: Likewise.
45465 * math/w_sqrtf.c: Likewise.
45466 * math/w_sqrtl.c: Likewise.
45467 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
45468 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
45469 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
45470 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
45471 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
45472
ebaf36eb
JM
454732012-02-19 Joseph Myers <joseph@codesourcery.com>
45474
45475 [BZ #9739]
45476 * manual/string.texi (strnlen): Use correct parameter name in
45477 equivalent expression.
45478
71c254a6
JM
454792012-02-19 Joseph Myers <joseph@codesourcery.com>
45480
45481 [BZ #11174]
45482 * manual/users.texi (seteuid): Consistently use neweuid for
45483 argument name.
45484
16d2c631
JM
454852012-02-19 Joseph Myers <joseph@codesourcery.com>
45486
45487 [BZ #13704]
45488 * manual/nss.texi (Services in the NSS configuration): Correct
45489 list of services in example configuration file.
45490
cd837b09
NB
454912012-02-19 Nick Bowler <nbowler@draconx.ca>
45492
45493 [BZ #11322]
45494 * manual/arith.texi: Remove statements about negative zero
45495 behaving identically to zero.
45496
02c4bbad
JM
454972012-02-18 Joseph Myers <joseph@codesourcery.com>
45498
45499 [BZ #5993]
45500 * manual/install.texi: Do not document upgrading from libc5.
45501
366842e7
JM
455022012-02-18 Joseph Myers <joseph@codesourcery.com>
45503
45504 [BZ #4596]
45505 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
45506
dd54084d
DM
455072012-02-18 David S. Miller <davem@davemloft.net>
45508
45509 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
45510 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
45511 %o7 across the call.
45512 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
45513 instead.
45514 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
45515 SETUP_PIC_REG_LEAF.
45516 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
45517 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
45518 * sysdeps/sparc/crtn.S: Likewise.
45519
2bcc53a3
UD
455202012-02-17 Ulrich Drepper <drepper@gmail.com>
45521
45522 * aout/Makefile: Remove.
45523
09c093b5
RK
455242012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
45525
45526 [BZ #13058]
45527 * manual/examples/argp-ex1.c (main): Format definition in GNU
45528 style.
45529 * manual/examples/argp-ex2.c (main): Likewise.
45530 * manual/examples/argp-ex3.c (main): Likewise.
45531 * manual/examples/argp-ex4.c (main): Likewise.
45532 * manual/examples/longopt.c (main): Use new-style prototype
45533 definition.
45534 * manual/examples/strncat.c (main): Specify return type and use
45535 (void) for arguments.
45536 * manual/examples/subopt.c (main): Use char **argv argument.
45537
2ee633a2
JM
455382012-02-17 Joseph Myers <joseph@codesourcery.com>
45539
45540 [BZ #5077]
45541 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
45542 rounding modes.
45543
0520adde
FB
455442012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
45545
45546 [BZ #6907]
45547 * manual/string.texi (strchr): Change when strchrnul is
45548 recommended.
45549
3f4081cd
DGM
455502012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
45551
45552 [BZ #174]
45553 * manual/locale.texi (setlocale): Document LOCPATH.
45554
d1b10e78
JM
455552012-02-17 Joseph Myers <joseph@codesourcery.com>
45556
45557 [BZ #10210]
45558 * manual/process.texi (execle): Move @dots{} before last argument.
45559
79c6869c
PB
455602012-02-17 Paul Bolle <pebolle@tiscali.nl>
45561
45562 [BZ #12047]
45563 * manual/charset.texi (Generic Charset Conversion): Fix typo
45564 (LC_TYPE -> LC_CTYPE).
45565
cc6e48bc
NB
455662012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
45567
45568 [BZ #5805]
45569 * manual/arith.texi (scalbn): Use @var{} on parameter names.
45570 (scalbnf): Likewise.
45571 (scalbnl): Likewise.
45572 (scalbln): Likewise.
45573 (scalblnf): Likewise.
45574 (scalblnl): Likewise.
45575 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
45576 (vwarnx): Likewise.
45577 (verr): Likewise.
45578 (verrx): Likewise.
45579 * manual/filesys.texi (telldir): Use braces around return type.
45580 * manual/llio.texi (mmap): Add space after comma.
45581 (mmap64): Likewise.
45582 * manual/math.texi (jn): Use @var{} on parameter names.
45583 (jnf): Likewise.
45584 (jnl): Likewise.
45585 (yn): Likewise.
45586 (ynf): Likewise.
45587 (ynl): Likewise.
45588 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
45589 line.
45590 * manual/resource.texi (ulimit): Use @dots{} instead of literal
45591 "...".
45592 (sched_get_priority_min): Remove semicolon on @deftypefun line.
45593 (sched_get_priority_max): Likewise.
45594 * manual/signal.texi (sigvec): Add space after comma.
45595 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
45596 names.
45597 (if_indextoname): Likewise.
45598 (if_freenameindex): Likewise.
45599 (sendto): Use ',' instead of '.' in prototype.
45600 * manual/startup.texi (syscall): Use @dots{} instead of literal
45601 "...".
45602 * manual/stdio.texi (__fpending): Separate initial words of
45603 paragraph from @deftypefun line.
45604 * manual/syslog.texi (syslog): Use @dots{} instead of literal
45605 "...".
45606 (vsyslog): Use @var{} on parameter names.
45607 * manual/terminal.texi (stty): Use @var{} on parameter names.
45608 * manual/users.texi (getutmp): Use @var{} on parameter names.
45609 (getutmpx): Likewise.
45610
5b23062f
JM
456112012-02-17 Joseph Myers <joseph@codesourcery.com>
45612
45613 [BZ #6884]
45614 * manual/stdio.texi (fopen): Fix typos in description of
45615 ",ccs=STRING".
45616
8dee4833
AJ
456172012-02-17 Aurelien Jarno <aurelien@aurel32.net>
45618
45619 [BZ #4026]
45620 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
45621 get clock_id definition.
45622
9078ce93
TS
456232012-02-17 Thomas Schwinge <thomas@schwinge.name>
45624
45625 [BZ #4822]
45626 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
45627 (madvise): Cast every argument to void on its own.
45628
3835c55f
JM
456292012-02-17 Joseph Myers <joseph@codesourcery.com>
45630
45631 [BZ #9902]
45632 * manual/startup.texi (Exit Status): Fix typo.
45633
35c47e37
JM
456342012-02-17 Joseph Myers <joseph@codesourcery.com>
45635
45636 [BZ #10140]
45637 * manual/examples/argp-ex1.c: Include <stdlib.h>.
45638 * manual/examples/argp-ex2.c: Likewise.
45639 * manual/examples/argp-ex3.c: Likewise.
45640
e3b69ca7
RH
456412012-02-16 Richard Henderson <rth@redhat.com>
45642
45643 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
45644 * sysdeps/s390/s390-32/initfini.c: Remove.
45645 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
45646 * sysdeps/s390/s390-64/initfini.c: Remove.
45647
df83af67
KK
456482012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
45649
45650 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
45651 compiler output for sysdeps/generic/initfini.c.
45652 * sysdeps/sh/elf/initfini.c: Remove file.
45653
f63f3380
DM
456542012-02-16 David S. Miller <davem@davemloft.net>
45655
fb59b3a4
DM
45656 [BZ #11494]
45657 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
45658
f63f3380
DM
45659 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
45660 * sysdeps/sparc/crti.S: New file.
45661 * sysdeps/sparc/crtn.S: New file.
45662 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
45663 * sysdeps/sparc/sparc64/Makefile: Likewise.
45664
df6a4a4a
MF
456652012-02-15 Mike Frysinger <vapier@gentoo.org>
45666
6dd8f3dc 45667 [BZ #3335]
df6a4a4a
MF
45668 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
45669
1cac7236
RM
456702012-02-15 Roland McGrath <roland@hack.frob.com>
45671
d2c736f8
RM
45672 [BZ #4822]
45673 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
45674
1cac7236
RM
45675 * mach/devstream.c (cookie_io_functions_t): Macro removed.
45676 (write, read, close): Likewise.
45677 Patch by Aurelien Jarno <aurelien@aurel32.net>.
45678
8e475601
JM
456792012-02-15 Joseph Myers <joseph@codesourcery.com>
45680
45681 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
45682 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
45683 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
45684 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
45685 <bits/signalfd.h>.
45686 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
45687 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
45688 bits/signalfd.h.
45689
ed656b40
MP
456902012-02-14 Marek Polacek <polacek@redhat.com>
45691
45692 * sysdeps/x86_64/crti.S: New file.
45693 * sysdeps/x86_64/crtn.S: New file.
45694 * sysdeps/x86_64/elf/initfini.c: Remove file.
45695
2a979d3a
JM
456962012-02-13 Joseph Myers <joseph@codesourcery.com>
45697
45698 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
45699 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
45700 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
45701 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
45702 <bits/inotify.h>.
45703 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
45704 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
45705 bits/inotify.h.
45706
2a418ac3
JM
457072012-02-13 Joseph Myers <joseph@codesourcery.com>
45708
45709 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
45710 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
45711 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
45712 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
45713 <bits/eventfd.h>.
45714 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
45715 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
45716 bits/eventfd.h.
45717
fb779be7
TS
457182012-02-10 Thomas Schwinge <thomas@codesourcery.com>
45719
e19e83c5
RM
45720 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
45721 __feraiseexcept instead of feraiseexcept.
7c35ffed 45722
fb779be7
TS
45723 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
45724 nanosleep invocations.
45725 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
45726 strings, and add error checking for a nanosleep invocations.
45727
59ba27a6
PE
457282012-02-09 Paul Eggert <eggert@cs.ucla.edu>
45729
45730 Replace FSF snail mail address with URLs, as per GNU coding standards.
45731 Most of the snail mail addresses were wrong anyway, and omitting
45732 them makes the source code easier to maintain. Almost all of the
45733 changes are to license notices and to locale LC_IDENTIFICATION
45734 addresses, except for this one:
45735 * manual/libc.texinfo: In "Published by", give the FSF's URL,
45736 not its snail mail address.
45737
57b957eb
RH
457382012-02-09 Richard Henderson <rth@twiddle.net>
45739
af850b1c
RH
45740 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
45741 of kernel-features.h.
45742
57b957eb
RH
45743 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
45744
6b73181a
MP
457452012-02-08 Marek Polacek <polacek@redhat.com>
45746
45747 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
45748 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
45749 * sysdeps/gnu/_G_config.h: Likewise.
45750 * sysdeps/generic/_G_config.h: Likewise.
45751
26ecc33a
AS
457522012-02-08 Andreas Schwab <schwab@linux-m68k.org>
45753
6c6dbc63
AS
45754 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
45755 tests.
45756 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45757
e216c012
AS
45758 * sysdeps/powerpc/powerpc32/crti.S: New file.
45759 * sysdeps/powerpc/powerpc32/crtn.S: New file.
45760 * sysdeps/powerpc/powerpc64/crti.S: New file.
45761 * sysdeps/powerpc/powerpc64/crtn.S: New file.
45762
26ecc33a
AS
45763 * Makeconfig (have-initfini): Don't set.
45764 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
45765 * configure.in (nopic_initfini): Don't substitute.
45766 * config.h.in (HAVE_INITFINI): Don't #undef.
45767 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
45768 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
45769
3add8e13
JM
457702012-02-08 Joseph Myers <joseph@codesourcery.com>
45771
45772 Support crti.S and crtn.S provided directly by architectures.
45773 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
45774 [crti.S in sysdirs] (omit-deps): Likewise.
45775 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
45776 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
45777 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
45778 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
45779 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
45780 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
45781 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
45782 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
45783 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
45784 compiler output for sysdeps/generic/initfini.c.
45785 * sysdeps/i386/elf/Makefile: Remove file.
45786 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
45787
a22f12b4
MP
457882012-02-07 Marek Polacek <polacek@redhat.com>
45789
45790 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
45791 * sysdeps/gnu/_G_config.h: Likewise.
45792 * sysdeps/mach/hurd/_G_config.h: Likewise.
45793
148cf100
MP
457942012-02-07 Marek Polacek <polacek@redhat.com>
45795
45796 * math/Makefile (tests): Add tst-CMPLX2.
45797 * math/tst-CMPLX2.c: New file.
45798
cfdc0dd7
AS
457992012-02-07 Andreas Schwab <schwab@linux-m68k.org>
45800
84ba42c4
AS
45801 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
45802
cfdc0dd7
AS
45803 * math/libm-test.inc (jn_test): Add missing L suffix.
45804
622c86f4
MP
458052012-02-06 Marek Polacek <polacek@redhat.com>
45806
45807 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
45808 * sysdeps/i386/fpu/e_powf.S: Likewise.
45809 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
45810 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
45811 * sysdeps/i386/fpu/e_acosh.S: Likewise.
45812 * sysdeps/i386/fpu/e_pow.S: Likewise.
45813 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
45814 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
45815 * sysdeps/i386/fpu/s_expm1.S: Likewise.
45816 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
45817 * sysdeps/i386/fpu/e_log2.S: Likewise.
45818 * sysdeps/i386/fpu/e_log2l.S: Likewise.
45819 * sysdeps/i386/fpu/e_scalb.S: Likewise.
45820 * sysdeps/i386/fpu/e_powl.S: Likewise.
45821 * sysdeps/i386/fpu/s_log1p.S: Likewise.
45822 * sysdeps/i386/fpu/e_log10f.S: Likewise.
45823 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
45824 * sysdeps/i386/fpu/e_logl.S: Likewise.
45825 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
45826 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
45827 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
45828 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
45829 * sysdeps/i386/fpu/e_log2f.S: Likewise.
45830 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
45831 * sysdeps/i386/fpu/e_log.S: Likewise.
45832 * sysdeps/i386/fpu/s_cexp.S: Likewise.
45833 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
45834 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
45835 * sysdeps/i386/fpu/e_logf.S: Likewise.
45836 * sysdeps/i386/fpu/e_log10l.S: Likewise.
45837 * sysdeps/i386/fpu/e_atanh.S: Likewise.
45838 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
45839 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
45840 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
45841 * sysdeps/i386/fpu/e_log10.S: Likewise.
45842 * sysdeps/i386/fpu/s_frexp.S: Likewise.
45843 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
45844 * sysdeps/i386/fpu/s_asinh.S: Likewise.
45845 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
45846 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
45847 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
45848 * sysdeps/i386/asm-syntax.h: Likewise.
45849 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
45850 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
45851 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
45852 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
45853 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
45854 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
45855 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
45856 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
45857 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
45858 * sysdeps/powerpc/sysdep.h: Likewise.
45859 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
45860 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
45861
d4a54ac6
JM
458622012-02-06 Joseph Myers <joseph@codesourcery.com>
45863
45864 [BZ #411]
45865 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
45866
314054ea
JM
458672012-02-06 Joseph Myers <joseph@codesourcery.com>
45868
45869 * sysdeps/i386/sysdep.h: Include <features.h>.
45870 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
45871 version.
45872
d8e0ca50
JM
458732012-02-05 Joseph Myers <joseph@codesourcery.com>
45874
45875 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
45876 Define.
45877 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
45878 LOAD_PIC_REG_STR.
45879
b1da7dd9
JM
458802012-02-03 Joseph Myers <joseph@codesourcery.com>
45881
45882 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
45883 (SETUP_PIC_REG): Use GET_PC_THUNK.
45884 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
45885 macro.
45886
9a1d9254
JM
458872012-02-03 Joseph Myers <joseph@codesourcery.com>
45888
45889 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
45890 for non-PIC compilation.
45891 (SETUP_PIC_REG): Add .p2align directive.
45892 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
45893 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
45894 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
45895 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
45896 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
45897 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
45898 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
45899 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
45900 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
45901 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
45902 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
45903 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
45904 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
45905 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
45906 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
45907 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
45908 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
45909 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
45910 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
45911 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
45912 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
45913 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
45914 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
45915 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
45916 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
45917 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
45918 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
45919 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
45920 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
45921 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
45922 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
45923 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
45924 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
45925 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
45926 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
45927 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
45928 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
45929 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
45930 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
45931 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
45932 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
45933
65dc3b75
JM
459342012-02-03 Joseph Myers <joseph@codesourcery.com>
45935
45936 * math/tst-CMPLX.c: Include <stdio.h>.
45937
d55bf177
JM
459382012-01-31 Joseph Myers <joseph@codesourcery.com>
45939
45940 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
45941 float.
45942 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
45943 * sysdeps/sparc/bits/mathdef.h: Likewise.
45944
69db4f8f
MP
459452012-01-31 Marek Polacek <polacek@redhat.com>
45946
45947 * libio/libio.h: Don't define _PARAMS.
45948 * locale/programs/config.h: Don't define PARAMS.
45949 * stdlib/strtol_l.c: Likewise.
45950 (__strtol_l): Remove PARAMS from the prototype.
45951
41b81892
UD
459522012-01-31 Ulrich Drepper <drepper@gmail.com>
45953
3b49edc0
UD
45954 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
45955 names. Just use the correct names. Remove unnecessary wrapper
45956 functions.
45957 * malloc/arena.c: Likewise.
45958 * malloc/hooks.c: Likewise.
45959
41b81892
UD
45960 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
45961 ARENA_TEST says not to. Simplify test for creation of a new arena.
45962 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
45963
27a25b6e
UD
459642012-01-30 Ulrich Drepper <drepper@gmail.com>
45965
45966 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
45967 into tail calls.
45968 (update_get_addr): New function.
45969 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
45970 GET_ADDR_MODULE parameter.
45971
c8a89e7d
JM
459722012-01-30 Joseph Myers <joseph@codesourcery.com>
45973
45974 * crypt/cert.c: Remove __STDC__ conditionals.
45975 * crypt/crypt-entry.c: Likewise.
45976 * crypt/crypt_util.c: Likewise.
45977 * libio/filedoalloc.c: Likewise.
45978 * libio/fileops.c: Likewise.
45979 * libio/genops.c: Likewise.
45980 * libio/iofclose.c: Likewise.
45981 * libio/iofdopen.c: Likewise.
45982 * libio/iofopen.c: Likewise.
45983 * libio/iofopen64.c: Likewise.
45984 * libio/iogetdelim.c: Likewise.
45985 * libio/iopopen.c: Likewise.
45986 * libio/obprintf.c: Likewise.
45987 * libio/oldfileops.c: Likewise.
45988 * libio/oldiofclose.c: Likewise.
45989 * libio/oldiofdopen.c: Likewise.
45990 * libio/oldiofopen.c: Likewise.
45991 * libio/oldiopopen.c: Likewise.
45992 * libio/wfiledoalloc.c: Likewise.
45993 * libio/wgenops.c: Likewise.
45994 * locale/programs/xmalloc.c: Likewise.
45995 * misc/syslog.c: Likewise.
45996 * stdio-common/xbug.c: Likewise.
45997 * string/memchr.c: Likewise.
45998 * string/memcmp.c: Likewise.
45999 * string/memrchr.c: Likewise.
46000 * string/rawmemchr.c: Likewise.
46001 * sysdeps/posix/getcwd.c: Likewise.
46002 * time/strftime_l.c: Likewise.
46003
3b100462
JM
460042012-01-30 Joseph Myers <joseph@codesourcery.com>
46005
46006 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
46007 * config.make.in (config-cflags-sse2avx): Define.
46008 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
46009 Fix typo.
46010
607998af
CM
460112012-01-29 Chris Metcalf <cmetcalf@tilera.com>
46012
46013 * scripts/config.guess: Update from upstream config git repository.
46014 * scripts/config.sub: Likewise.
46015
3601428f
CM
460162012-01-28 Chris Metcalf <cmetcalf@tilera.com>
46017
3ac8b282
CM
46018 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
46019 (EM_NUM): Update.
46020 (R_TILEPRO_*, R_TILEGX_*): New macros.
46021
e034841e
CM
46022 * scripts/firstversions.awk: Fix bug in version range handling.
46023
540d7568
CM
46024 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
46025
3601428f
CM
46026 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
46027
463de862
CM
46028 * include/sys/epoll.h: New file.
46029 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
46030 libc_hidden_def.
46031
73139a76
UD
460322012-01-28 Ulrich Drepper <drepper@gmail.com>
46033
96bc5b45
UD
46034 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
46035 Avoid unnecessary __WORDSIZE == 64 test.
46036 (fmaxf): Use VEX format if possible.
46037 (fmax): Likewise.
46038 (fminf): Likewise.
46039 (fmin): Likewise.
46040
56f6f6a2
UD
46041 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
46042 * math/math_private.h: Remove libc_fegetround* and
46043 libc_fesetround*.
46044 * sysdeps/i386/configure.in: Check for -msse2avx.
46045 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
46046 also if SSE2AVX is defined.
46047 Remove libc_fegetround* and libc_fesetround*.
46048 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
46049 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
46050 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
46051 of HAS_YMM_USABLE.
46052 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
46053 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
46054 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
46055 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
46056 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
46057
73139a76
UD
46058 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
46059
d73f93a4
AZ
460602012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46061
46062 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
46063 size is not set.
46064 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
46065
6ee65ed6
UD
460662012-01-27 Ulrich Drepper <drepper@gmail.com>
46067
46068 [BZ #13618]
46069 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
46070 relocation.
46071 * Makeconfig (libm): Define.
46072 * elf/Makefile: Add rules to build and run tst-relsort1.
46073 * elf/tst-relsort1.c: New file.
46074 * elf/tst-relsort1mod1.c: New file.
46075 * elf/tst-relsort1mod2.c: New file.
46076
8db21882
JM
460772012-01-27 Joseph Myers <joseph@codesourcery.com>
46078
46079 * math/s_ldexp.c: Remove __STDC__ conditionals.
46080 * math/s_ldexpf.c: Likewise.
46081 * math/s_ldexpl.c: Likewise.
46082 * math/s_nextafter.c: Likewise.
46083 * math/s_nexttowardf.c: Likewise.
46084 * math/s_significand.c: Likewise.
46085 * math/s_significandf.c: Likewise.
46086 * math/s_significandl.c: Likewise.
46087 * math/w_jnl.c: Likewise.
46088 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
46089 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
46090 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
46091 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
46092 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
46093 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
46094 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
46095 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
46096 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
46097 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
46098 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
46099 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
46100 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
46101 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
46102 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
46103 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
46104 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
46105 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
46106 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
46107 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
46108 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
46109 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
46110 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
46111 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
46112 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
46113 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
46114 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
46115 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
46116 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
46117 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
46118 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
46119 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
46120 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
46121 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
46122 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
46123 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
46124 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
46125 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
46126 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
46127 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
46128 * sysdeps/ieee754/k_standard.c: Likewise.
46129 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
46130 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
46131 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
46132 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
46133 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
46134 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
46135 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
46136 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
46137 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
46138 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
46139 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
46140 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
46141 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
46142 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
46143 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
46144 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
46145 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
46146 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
46147 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
46148 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
46149 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
46150 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
46151 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
46152 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
46153 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
46154 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
46155 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
46156 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
46157 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
46158 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
46159 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
46160 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
46161 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
46162 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
46163 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
46164 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
46165 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
46166 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
46167 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
46168 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
46169 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
46170 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
46171 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
46172 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
46173 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
46174 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
46175 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
46176 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
46177 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
46178 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
46179 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
46180 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
46181 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
46182 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
46183 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
46184 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
46185 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
46186 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
46187 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
46188 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
46189 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
46190 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
46191 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
46192 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
46193 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
46194 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
46195 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
46196 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
46197 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
46198 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
46199 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
46200 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
46201 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
46202 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
46203 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
46204 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
46205 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
46206 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
46207 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
46208 * sysdeps/ieee754/s_matherr.c: Likewise.
46209 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
46210 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
46211 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
46212 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
46213
965a54a4
JM
462142012-01-26 Joseph Myers <joseph@codesourcery.com>
46215
46216 * crypt/md5.h: Remove __STDC__ conditionals.
46217 * libio/libioP.h: Likewise.
46218 * locale/programs/config.h: Likewise.
46219 * sysdeps/generic/sysdep.h: Likewise.
46220 * sysdeps/i386/asm-syntax.h: Likewise.
46221 * sysdeps/s390/asm-syntax.h: Likewise.
46222 * sysdeps/unix/sysdep.h: Likewise.
46223 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
46224 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
46225
7071ad79
JM
462262012-01-26 Joseph Myers <joseph@codesourcery.com>
46227
46228 * libio/libio.h: Remove __STDC__ conditionals.
46229 * malloc/obstack.h: Likewise.
46230 * math/complex.h: Likewise.
46231 * math/math.h: Likewise.
46232 * sysdeps/generic/_G_config.h: Likewise.
46233 * sysdeps/gnu/_G_config.h: Likewise.
46234 * sysdeps/mach/hurd/_G_config.h: Likewise.
46235 * sysdeps/powerpc/bits/mathdef.h: Likewise.
46236 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
46237 * sysdeps/sparc/bits/mathdef.h: Likewise.
46238
afc5ed09
UD
462392012-01-26 Ulrich Drepper <drepper@gmail.com>
46240
46241 [BZ #13583]
46242 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 46243 Clean up HAS_* macros.
afc5ed09 46244 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
46245 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
46246 possible.
46247 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
46248 HAS_AVX.
46249 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
46250 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
46251 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
46252 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
46253 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 46254
bdb6de1d
JM
462552012-01-25 Joseph Myers <joseph@codesourcery.com>
46256
46257 * elf/tst-unique3.cc (gets): Remove declaration.
46258 * elf/tst-unique3lib.cc (gets): Likewise.
46259 * elf/tst-unique3lib2.cc (gets): Likewise.
46260 * elf/tst-unique4.cc (gets): Likewise.
46261
b15549e6
UD
462622012-01-24 Ulrich Drepper <drepper@gmail.com>
46263
46264 * include/stdio.h: Add C++ protection. Add gets declarations and
46265 definitions.
46266 * debug/tst-chk1.c: Don't declare gets here.
46267 * stdio-common/tst-gets.c: Likewise.
46268
a037381f
JM
462692012-01-24 Joseph Myers <joseph@codesourcery.com>
46270
46271 * posix/glob: Remove directory.
46272
f1d4aa75
JM
462732012-01-24 Joseph Myers <joseph@codesourcery.com>
46274
46275 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
46276
81c0c964
PT
462772012-01-22 Pino Toscano <toscano.pino@tiscali.it>
46278
46279 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
46280 of the non-standard EPFNOSUPPORT.
46281
0ea698ae
ST
462822011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
46283
46284 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
46285 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
46286 ANYWHERE set to 1 only on KERN_NO_SPACE error.
46287
d220b117
UD
462882012-01-21 Ulrich Drepper <drepper@gmail.com>
46289
46290 * wcsmbs/uchar.h: Test __STDC_VERSION__.
46291
3e1aa84e
UD
462922012-01-20 Ulrich Drepper <drepper@gmail.com>
46293
46294 * nscd/aicache.c (addhstaiX): Do not cache negative results of
46295 transient errors.
46296 * nscd/grpcache.c (cache_addgr): Likewise.
46297 * nscd/hstcache.c (cache_addhst): Likewise.
46298 * nscd/initgrcache.c (addinitgroupsX): Likewise.
46299 * nscd/pwdcache.c (cache_addpw): Likewise.
46300 * nscd/servicescache.c (cache_addserv): Likewise.
46301
400aa020
UD
463022012-01-16 Ulrich Drepper <drepper@gmail.com>
46303
d77e7869
UD
46304 * malloc/malloc.c: Various cleanups.
46305 * malloc/hooks.c: Likewise.
46306
400aa020
UD
46307 * stdlib/Makefile (tests): Add bug-fmtmsg1.
46308 * stdlib/bug-fmtmsg1.c: New file.
46309
46310 * stdlib/fmtmsg.c (init): Add missing unlock.
46311 Patch by Peng Haitao <penght@cn.fujitsu.com>.
46312
e0a309cf
MP
463132012-01-12 Marek Polacek <polacek@redhat.com>
46314
46315 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
46316 and _GNU_SOURCE.
46317
929d11c7
WS
463182012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
46319
46320 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
46321 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
46322 macro to ensure uniqueness of label name.
46323 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
46324 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
46325
41d0e869
UD
463262012-01-11 Ulrich Drepper <drepper@gmail.com>
46327
0cc5ed3b
UD
46328 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
46329
41d0e869
UD
46330 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
46331 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
46332 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
46333 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
46334
a47a831a
UD
463352012-01-10 Ulrich Drepper <drepper@gmail.com>
46336
daa891c0
UD
46337 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
46338
46339 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
46340 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
46341 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
46342
e58ef0f2
UD
46343 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
46344
a47a831a 46345 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
46346 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
46347 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 46348 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
46349
46350 * math/bits/math-finite.h: Add ldexp support.
46351
a0bfc9c7
MP
463522012-01-10 Marek Polacek <polacek@redhat.com>
46353
46354 * locale/programs/localedef.h (show_archive_content): Add noreturn
46355 attribute.
46356
d6e97a1d
UD
463572012-01-09 Ulrich Drepper <drepper@gmail.com>
46358
46359 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
46360
d5835c26
UD
463612012-01-08 Ulrich Drepper <drepper@gmail.com>
46362
e5f484c6
UD
46363 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
46364
d5835c26
UD
46365 * io/Makefile (headers): Add bits/poll2.h.
46366
d1f741e9
WS
463672011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
46368
46369 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
46370 typo #include statement.
46371
ec09c1c4
UD
463722012-01-08 Ulrich Drepper <drepper@gmail.com>
46373
46374 * include/sys/cdefs.h: Define __attribute_alloc_size.
46375 * catgets/gencat.c: Add alloc_size attribute and apply consistently
46376 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
46377 * elf/pldd.c: Likewise.
46378 * iconv/iconv_charmap.c: Likewise.
46379 * iconv/iconvconfig.c: Likewise.
46380 * iconv/strtab.c: Likewise.
46381 * locale/programs/locale.c: Likewise.
46382 * locale/programs/localedef.h: Likewise.
46383 * locale/programs/simple-hash.c: Likewise.
46384 * nscd/nscd.h: Likewise.
46385 * nss/makedb.c: Likewise.
46386 * sysdeps/generic/ldconfig.h: Likewise.
46387 * locale/programs/localedef.c: Remove xmalloc prototype.
46388 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
46389
20b38e03
PP
463902012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
46391
46392 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
46393 appropriate.
46394
a0da5fe1
UD
463952012-01-08 Ulrich Drepper <drepper@gmail.com>
46396
1d5a644a 46397 * math/Makefile (tests): Add tst-CMPLX.
669704fd 46398 * math/tst-CMPLX.c: New file.
1d5a644a 46399
8784a6db
UD
46400 * math/complex.h (CMPLXL): Fix typo.
46401
d9a216c0
UD
46402 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
46403 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
46404 GLIBC_2.16.
46405 * debug/tst-chk1.c: Add poll and ppoll tests.
46406 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
46407 * include/sys/poll.h: Add hidden proto for ppoll.
46408 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
46409 * sysdeps/mach/hurd/ppoll.c: Likewise.
46410 * io/ppoll.c: Likewise.
46411 * debug/poll_chk.c: New file.
46412 * debug/ppoll_chk.c: New file.
46413 * include/bits/poll2.h: New file.
46414 * io/bits/poll2.h: New file.
46415
ac097f5c
UD
46416 [BZ #1350]
46417 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
46418
2119dcfa
UD
46419 * configure.in: static is always set to yes. Remove.
46420 * config.make.in: Don't set build-static.
46421 * Makeconfig: Remove use of build-static.
46422 * dlfcn/Makefile: Likewise.
46423 * elf/Makefile: Likewise.
46424 * math/Makefile: Likewise.
46425 * misc/Makefile: Likewise.
46426 * nptl/Makefile: Likewise.
46427 * sysdeps/mach/hurd/Makefile: Likewise.
46428
121766a9
UD
46429 * configure.in: PWD_P is not used anymore.
46430 * config.make.in: Remove PWD_P entry.
46431
51a1d39c 46432 * configure.in: Remove last remnants of RANLIB.
8720d066 46433 No need to check for signed size_t anymore.
215f4bdc
UD
46434 Don't set libc_commonpagesize and libc_relro_required here for Alpha
46435 and IA-64.
3857022a 46436 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
46437 * aclocal.m4: Likewise.
46438
d3ed7225
UD
46439 * wcsmbs/mbrtoc16.c: Implement using towc function.
46440 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
46441 * wcsmbs/wcsmbsload.c: Likewise.
46442 * iconv/gconv_simple.c: Likewise.
46443 * iconv/gconv_int.h: Likewise.
46444 * iconv/gconv_builtin.h: Likewise.
46445 * iconv/iconv_prog.c: Remove CHAR16 handling.
46446
46447 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
46448
46449 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
46450
a0da5fe1
UD
46451 * configure.in: Remove --with-elf and --enable-bounded options.
46452 Dont set base_machine for ia64. More non-ELF conditions removed.
46453 Remove testing and setting of leading underscore information.
46454 * config.make.in (build-bounded): Set to no.
46455 * config.h.in: Remove NO_UNDERSCORES entry.
46456 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
46457 them.
46458 * csu/start.c: Remove !NO_UNDERSCORE code.
46459 * locale/localeinfo.h: Likewise.
46460 * sysdeps/generic/machine-gmon.h: Likewise.
46461 * sysdeps/generic/sysdep.h: Likewise.
46462 * sysdeps/i386/sysdep.h: Likewise.
46463 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
46464 * sysdeps/mach/sysdep.h: Likewise.
46465 * sysdeps/s390/s390-32/sysdep.h: Likewise.
46466 * sysdeps/s390/s390-64/sysdep.h: Likewise.
46467 * sysdeps/sh/sysdep.h: Likewise.
46468 * sysdeps/sparc/sparc32/alloca.S: Likewise.
46469 * sysdeps/unix/i386/sysdep.S: Likewise.
46470 * sysdeps/unix/sparc/start.c: Likewise.
46471 * sysdeps/unix/sparc/sysdep.S: Likewise.
46472 * sysdeps/unix/sparc/sysdep.h: Likewise.
46473 * sysdeps/unix/start.c: Likewise.
46474 * sysdeps/unix/x86_64/sysdep.S: Likewise.
46475 * sysdeps/x86_64/sysdep.h: Likewise.
46476
df78418a
UD
464772012-01-07 Ulrich Drepper <drepper@gmail.com>
46478
a784e502
UD
46479 [BZ #13553]
46480 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
46481 for non-gcc.
46482 * argp/argp-fmtstream.h: Use const instead __const.
46483 * argp/argp.h: Likewise.
46484 * assert/assert.h: Likewise.
46485 * bits/fenv.h: Likewise.
46486 * bits/sched.h: Likewise.
46487 * bits/sigset.h: Likewise.
46488 * bits/sigthread.h: Likewise.
46489 * catgets/nl_types.h: Likewise.
46490 * conform/data/pthread.h-data: Likewise.
46491 * crypt/crypt-private.h: Likewise.
46492 * crypt/crypt.h: Likewise.
46493 * crypt/crypt_util.c: Likewise.
46494 * ctype/ctype.h: Likewise.
46495 * debug/execinfo.h: Likewise.
46496 * debug/mbsnrtowcs_chk.c: Likewise.
46497 * debug/mbsrtowcs_chk.c: Likewise.
46498 * debug/wcsnrtombs_chk.c: Likewise.
46499 * debug/wcsrtombs_chk.c: Likewise.
46500 * debug/wcstombs_chk.c: Likewise.
46501 * dirent/dirent.h: Likewise.
46502 * dlfcn/dlfcn.h: Likewise.
46503 * elf/neededtest4.c: Likewise.
46504 * grp/grp.h: Likewise.
46505 * gshadow/gshadow.h: Likewise.
46506 * iconv/gconv.h: Likewise.
46507 * iconv/gconv_int.h: Likewise.
46508 * iconv/gconv_simple.c: Likewise.
46509 * iconv/iconv.h: Likewise.
46510 * iconv/loop.c: Likewise.
46511 * iconv/skeleton.c: Likewise.
46512 * include/aio.h: Likewise.
46513 * include/aliases.h: Likewise.
46514 * include/argz.h: Likewise.
46515 * include/arpa/inet.h: Likewise.
46516 * include/assert.h: Likewise.
46517 * include/dirent.h: Likewise.
46518 * include/dlfcn.h: Likewise.
46519 * include/execinfo.h: Likewise.
46520 * include/fcntl.h: Likewise.
46521 * include/fenv.h: Likewise.
46522 * include/glob.h: Likewise.
46523 * include/grp.h: Likewise.
46524 * include/libintl.h: Likewise.
46525 * include/mntent.h: Likewise.
46526 * include/netdb.h: Likewise.
46527 * include/pwd.h: Likewise.
46528 * include/rpc/netdb.h: Likewise.
46529 * include/sched.h: Likewise.
46530 * include/search.h: Likewise.
46531 * include/shadow.h: Likewise.
46532 * include/signal.h: Likewise.
46533 * include/stdio.h: Likewise.
46534 * include/stdlib.h: Likewise.
46535 * include/string.h: Likewise.
46536 * include/sys/socket.h: Likewise.
46537 * include/sys/stat.h: Likewise.
46538 * include/sys/statfs.h: Likewise.
46539 * include/sys/statvfs.h: Likewise.
46540 * include/sys/syslog.h: Likewise.
46541 * include/sys/time.h: Likewise.
46542 * include/sys/uio.h: Likewise.
46543 * include/time.h: Likewise.
46544 * include/unistd.h: Likewise.
46545 * include/utmp.h: Likewise.
46546 * include/wchar.h: Likewise.
46547 * include/wctype.h: Likewise.
46548 * inet/aliases.h: Likewise.
46549 * inet/arpa/inet.h: Likewise.
46550 * inet/netinet/ether.h: Likewise.
46551 * inet/netinet/in.h: Likewise.
46552 * intl/libintl.h: Likewise.
46553 * io/bits/fcntl2.h: Likewise.
46554 * io/fcntl.h: Likewise.
46555 * io/ftw.h: Likewise.
46556 * io/sys/poll.h: Likewise.
46557 * io/sys/stat.h: Likewise.
46558 * io/sys/statfs.h: Likewise.
46559 * io/sys/statvfs.h: Likewise.
46560 * io/utime.h: Likewise.
46561 * libio/bits/stdio.h: Likewise.
46562 * libio/bits/stdio2.h: Likewise.
46563 * libio/libio.h: Likewise.
46564 * libio/libioP.h: Likewise.
46565 * libio/stdio.h: Likewise.
46566 * locale/lc-ctype.c: Likewise.
46567 * locale/locale.h: Likewise.
46568 * login/utmp.h: Likewise.
46569 * malloc/arena.c: Likewise.
46570 * malloc/malloc.c: Likewise.
46571 * malloc/malloc.h: Likewise.
46572 * malloc/mcheck.c: Likewise.
46573 * malloc/mtrace.c: Likewise.
46574 * math/bits/mathcalls.h: Likewise.
46575 * math/fenv.h: Likewise.
46576 * math/math_private.h: Likewise.
46577 * misc/bits/error.h: Likewise.
46578 * misc/bits/syslog.h: Likewise.
46579 * misc/err.h: Likewise.
46580 * misc/error.h: Likewise.
46581 * misc/fstab.h: Likewise.
46582 * misc/mntent.h: Likewise.
46583 * misc/regexp.h: Likewise.
46584 * misc/search.h: Likewise.
46585 * misc/sgtty.h: Likewise.
46586 * misc/sys/mman.h: Likewise.
46587 * misc/sys/syslog.h: Likewise.
46588 * misc/sys/uio.h: Likewise.
46589 * misc/sys/xattr.h: Likewise.
46590 * misc/ttyent.h: Likewise.
46591 * nis/rpcsvc/ypclnt.h: Likewise.
46592 * nss/nss.h: Likewise.
46593 * posix/bits/unistd.h: Likewise.
46594 * posix/fnmatch.h: Likewise.
46595 * posix/glob.h: Likewise.
46596 * posix/sched.h: Likewise.
46597 * posix/spawn.h: Likewise.
46598 * posix/sys/wait.h: Likewise.
46599 * posix/unistd.h: Likewise.
46600 * posix/wordexp.h: Likewise.
46601 * pwd/pwd.h: Likewise.
46602 * resolv/netdb.h: Likewise.
46603 * resource/sys/resource.h: Likewise.
46604 * rt/aio.h: Likewise.
46605 * rt/bits/mqueue2.h: Likewise.
46606 * rt/mqueue.h: Likewise.
46607 * shadow/shadow.h: Likewise.
46608 * signal/signal.h: Likewise.
46609 * socket/send.c: Likewise.
46610 * socket/sendto.c: Likewise.
46611 * socket/sys/socket.h: Likewise.
46612 * stdio-common/printf.h: Likewise.
46613 * stdlib/bits/stdlib.h: Likewise.
46614 * stdlib/fmtmsg.h: Likewise.
46615 * stdlib/monetary.h: Likewise.
46616 * stdlib/stdlib.h: Likewise.
46617 * stdlib/ucontext.h: Likewise.
46618 * streams/stropts.h: Likewise.
46619 * string/argz.h: Likewise.
46620 * string/bits/string2.h: Likewise.
46621 * string/string.h: Likewise.
46622 * string/strings.h: Likewise.
46623 * sunrpc/rpc/auth.h: Likewise.
46624 * sunrpc/rpc/auth_des.h: Likewise.
46625 * sunrpc/rpc/clnt.h: Likewise.
46626 * sunrpc/rpc/netdb.h: Likewise.
46627 * sunrpc/rpc/pmap_clnt.h: Likewise.
46628 * sunrpc/rpc/xdr.h: Likewise.
46629 * sysdeps/generic/inttypes.h: Likewise.
46630 * sysdeps/generic/net/if.h: Likewise.
46631 * sysdeps/generic/sys/swap.h: Likewise.
46632 * sysdeps/gnu/net/if.h: Likewise.
46633 * sysdeps/gnu/utmpx.h: Likewise.
46634 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
46635 * sysdeps/i386/i486/bits/string.h: Likewise.
46636 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
46637 * sysdeps/s390/bits/string.h: Likewise.
46638 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
46639 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
46640 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
46641 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
46642 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
46643 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
46644 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
46645 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
46646 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
46647 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
46648 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
46649 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
46650 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
46651 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
46652 * sysdeps/unix/sysv/linux/readv.c: Likewise.
46653 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
46654 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
46655 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
46656 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
46657 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
46658 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
46659 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
46660 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
46661 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
46662 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
46663 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
46664 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
46665 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
46666 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
46667 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
46668 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
46669 * sysvipc/sys/ipc.h: Likewise.
46670 * sysvipc/sys/msg.h: Likewise.
46671 * sysvipc/sys/sem.h: Likewise.
46672 * sysvipc/sys/shm.h: Likewise.
46673 * termios/termios.h: Likewise.
46674 * time/sys/time.h: Likewise.
46675 * time/time.h: Likewise.
46676 * wcsmbs/bits/wchar2.h: Likewise.
46677 * wcsmbs/uchar.h: Likewise.
46678 * wcsmbs/wchar.h: Likewise.
46679 * wctype/wctype.h: Likewise.
46680
0269750c
UD
46681 [BZ #13551]
46682 * Makeconfig: Remove all but ELF support including AIX support.
46683 * Makerules: Likewise.
46684 * config.h.in: Likewise.
46685 * config.make.in: Likewise.
46686 * configure: Likewise.
46687 * configure.in: Likewise.
46688 * csu/Makefile: Likewise.
46689 * csu/version.c: Likewise.
46690 * debug/Makefile: Likewise.
46691 * dlfcn/Makefile: Likewise.
46692 * elf/Makefile: Likewise.
46693 * extra-lib.mk: Likewise.
46694 * iconv/Makefile: Likewise.
46695 * include/libc-symbols.h: Likewise.
46696 * include/shlib-compat.h: Likewise.
46697 * resolv/Makefile: Likewise.
46698 * resolv/res_libc.c: Likewise.
46699 * rt/Makefile: Likewise.
46700 * sysdeps/i386/asm-syntax.h: Likewise.
46701 * sysdeps/i386/sysdep.h: Likewise.
46702 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
46703 * sysdeps/mach/sysdep.h: Likewise.
46704 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
46705 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
46706 * sysdeps/s390/asm-syntax.h: Likewise.
46707 * sysdeps/s390/s390-32/sysdep.h: Likewise.
46708 * sysdeps/s390/s390-64/sysdep.h: Likewise.
46709 * sysdeps/sh/sysdep.h: Likewise.
46710 * sysdeps/unix/sparc/sysdep.h: Likewise.
46711 * sysdeps/wordsize-32/divdi3.c: Likewise.
46712 * sysdeps/x86_64/sysdep.h: Likewise.
46713
00bbd29b
UD
46714 * argp/Versions: Remove _argp_unlock_xxx.
46715
46716 [BZ #13559]
46717 * abilist/ld.abilist: Update. Adjust for removal of tls option.
46718 * abilist/libBrokenLocale.abilist: Likewise.
46719 * abilist/libanl.abilist: Likewise.
46720 * abilist/libc.abilist: Likewise.
46721 * abilist/libcrypt.abilist: Likewise.
46722 * abilist/libdl.abilist: Likewise.
46723 * abilist/libm.abilist: Likewise.
46724 * abilist/libnsl.abilist: Likewise.
46725 * abilist/libpthread.abilist: Likewise.
46726 * abilist/libresolv.abilist: Likewise.
46727 * abilist/librt.abilist: Likewise.
46728 * abilist/libthread_db.abilist: Likewise.
46729 * abilist/libutil.abilist: Likewise.
46730 * abilist/libnss_db.abilist: New file.
46731
46732 * scripts/abilist.awk: Add support for indirect functions.
46733
a2693a0e
UD
46734 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
46735
3f05895f
UD
46736 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
46737
ecb6fb48
UD
46738 * shlib-versions: Remove entries for ports architectures.
46739
664f8cb9
UD
46740 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
46741 files in ports.
46742 * elf/stackguard-macros.h: Remove support for IA-64.
46743 * elf/tst-auditmod1.c: Likewise.
46744 * sysdeps/generic/ldsodefs.h: Likewise.
46745
7ae81d88
UD
46746 * sysdeps/unix/sysv/linux/configure.in: Ports should define
46747 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
46748 configure files.
46749
bdeba135
UD
46750 [BZ #13552]
46751 * configure.in: Remove --enable-omitfp support.
46752 * FAQ.in: Adjust.
46753 * config.make.in: Likewise.
46754 * Makeconfig: Likewise.
46755 * manual/install.texi: Likewise.
46756
d75a0a62
UD
46757 In case anyone cares, the IA-64 architecture could move to ports.
46758 * sysdeps/ia64/*: Removed.
46759 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 46760 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 46761
dcc9756b
UD
46762 [BZ #13555]
46763 * configure.in: Remove entries for unsupported architectures.
46764
d3761ebc 46765 [BZ #13533]
9954432e
UD
46766 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
46767 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
46768 routines.
46769 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
46770 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
46771 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
46772 fall back to using wcrtomb.
46773 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
46774 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
46775 renaming.
46776 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
46777 * wcsmbs/tst-c16c32-1.c: New file.
46778
46779 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
46780 local variable.
46781
c3a87236
UD
46782 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
46783
28926a1b
UD
46784 * elf/tst-unique3.cc: Add explicit declaration of gets.
46785 * elf/tst-unique3lib.cc: Likewise.
46786 * elf/tst-unique3lib2.cc: Likewise.
46787 * elf/tst-unique4.cc: Likewise.
46788
df78418a
UD
46789 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
46790
8ecd6b2a
JM
467912012-01-06 Joseph Myers <joseph@codesourcery.com>
46792
46793 [BZ #13566]
46794 * assert/assert.h (static_assert): Don't define for C++.
46795 * libio/stdio.h (gets): Do declare for C++ <= C++11.
46796 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
46797
9f115170
UD
467982012-01-03 Ulrich Drepper <drepper@gmail.com>
46799
5e0d0300
UD
46800 * iconv/loop.c (single loop): Fix assertion in storing of
46801 remaining bytes.
46802
9f115170
UD
46803 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
46804
81fb02b0
UD
468052012-01-01 Ulrich Drepper <drepper@gmail.com>
46806
46807 * posix/getconf.c: Update copyright year.
46808 * nss/getent.c: Likewise.
a316c1f6 46809 * nss/makedb.c: Likewise.
81fb02b0
UD
46810 * iconv/iconvconfig.c: Likewise.
46811 * iconv/iconv_prog.c: Likewise.
46812 * elf/ldconfig.c: Likewise.
a316c1f6
UD
46813 * elf/pldd.c: Likewise.
46814 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
46815 * catgets/gencat.c: Likewise.
46816 * csu/version.c: Likewise.
46817 * elf/ldd.bash.in: Likewise.
46818 * elf/sprof.c (print_version): Likewise.
46819 * locale/programs/locale.c: Likewise.
46820 * locale/programs/localedef.c: Likewise.
a316c1f6 46821 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
46822 * nscd/nscd.c (print_version): Likewise.
46823 * debug/xtrace.sh: Likewise.
46824 * malloc/memusage.sh: Likewise.
46825 * malloc/mtrace.pl: Likewise.
46826 * debug/catchsegv.sh: Likewise.
46827
2ba92745
JJ
468282011-12-30 Jakub Jelinek <jakub@redhat.com>
46829
46830 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
46831 pure attribute.
46832
dadebdae
UD
468332011-12-24 Ulrich Drepper <drepper@gmail.com>
46834
d3761ebc 46835 [BZ #13533]
db6af3eb
UD
46836 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
46837 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
46838 transformations.
46839 * iconv/gconv_int.h: Likewise.
46840 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
46841 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
46842 from libc for GLIBC_2.16.
46843 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
46844 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
46845 * wcsmbs/uchar.h: Really define mbstate_t.
46846 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
46847 * wcsmbs/c16rtomb.c: New file.
46848 * wcsmbs/mbrtoc16.c: New file.
46849 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
46850 for C/POSIX locale.
46851 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
46852 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
46853
dadebdae
UD
46854 * wcsmbs/wchar.h: Add missing __restrict.
46855
67371b56
UD
468562011-12-23 Ulrich Drepper <drepper@gmail.com>
46857
74033a25
UD
46858 [BZ #13532]
46859 * time/Makefile (routines): Add timespec_get.
46860 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
46861 * time/time.h: Define TIME_UTC and declare timespec_get. Define
46862 timespec for ISO C11.
46863 * time/timespec_get.c: New file.
46864 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
46865 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
46866
380d7e87
UD
46867 [BZ #13531]
46868 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
46869 * stdlib/stdlib.h: Declare aligned_alloc.
46870 * Versions.def: Add GLIBC_2.16 for libc.
46871 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
46872
4e9e7a35
UD
46873 [BZ 13527]
46874 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
46875 ISO C11.
46876
380d7e87 46877 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
46878 code.
46879
03a71829
UD
46880 [BZ #13528]
46881 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
46882
839e283e
UD
46883 [BZ #13529]
46884 * assert/assert.h (static_assert): Define.
46885
ce5294e2 46886 * version.h: Update for 2.16 development version.
90fa7312 46887
8d44e150 46888 [BZ #13526]
d7809905
UD
46889 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
46890 _ISOC11_SOURCE.
46891
c0da14cd
UD
46892 * version.h (RELEASE): Bump for 2.15 release.
46893 * include/features.h (__GLIBC_MINOR__): Bump to 15.
46894
530a3249
MP
46895 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
46896 Patch by Marek Polacek <mpolacek@redhat.com>.
46897
67371b56
UD
46898 * bits/byteswap.h: Protect long long constants with __extension__.
46899 * sysdeps/i386/bits/byteswap.h: Likewise.
46900 * sysdeps/ia64/bits/byteswap.h: Likewise.
46901 * sysdeps/s390/bits/byteswap.h: Likewise.
46902 * sysdeps/x86_64/bits/byteswap.h: Likewise.
46903
15db4de1
LD
469042011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46905
46906 [BZ #13540]
bbe315ea
LD
46907 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
46908 destination buffer.
15db4de1
LD
46909 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
46910
2b2596b1
MP
469112011-12-23 Marek Polacek <polacek@redhat.com>
46912
46913 * elf/dl-addr.c (determine_info): Add inline keyword.
46914 * elf/tst-auditmod4b.c (check_avx): Likewise.
46915 * elf/tst-auditmod6b.c (check_avx): Likewise.
46916 * elf/tst-auditmod6c.c (check_avx): Likewise.
46917 * elf/tst-auditmod7b.c (check_avx): Likewise.
46918
70c6c246
UD
469192011-12-23 Ulrich Drepper <drepper@gmail.com>
46920
46921 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
46922 !__SSE_MATH__.
46923
c044cf14
LD
469242011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46925
15db4de1 46926 [BZ #13540]
c044cf14
LD
46927 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
46928 processing for last bytes.
46929
6b13d9d9
BH
469302011-08-06 Bruno Haible <bruno@clisp.org>
46931
d455f537
BH
46932 [BZ #13061]
46933 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
46934 U+0385, not to U+1FEE.
46935
6b13d9d9
BH
46936 [BZ #13062]
46937 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
46938 entry for U+00A5 U+0301.
46939
db910efd
UD
469402011-12-22 Ulrich Drepper <drepper@gmail.com>
46941
27deeafc
UD
46942 [BZ #13166]
46943 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
46944 buffer for the output is too small.
46945
aed9d171
UD
46946 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
46947 optimization.
46948
db910efd
UD
46949 [BZ #13185]
46950 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
46951 SSE flags if possible.
46952
2bd779ae
LD
469532011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46954
e7f9dac3 46955 [BZ #13540]
2bd779ae
LD
46956 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
46957 processing for last bytes.
46958
154bfc16
JM
469592011-12-22 Joseph Myers <joseph@codesourcery.com>
46960
46961 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
46962 (syscall-list-default-options, syscall-list-default-condition)
46963 (syscall-list-includes): Define.
46964 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
46965 list of ABIs and options and #if conditions for each ABI. Do not
46966 handle common syscalls between ABIs specially.
46967 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
46968 Remove.
46969 (syscall-list-variants, syscall-list-32bit-options)
46970 (syscall-list-32bit-condition, syscall-list-64bit-options)
46971 (syscall-list-64bit-condition): Define.
46972 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
46973 (syscall-list-variants, syscall-list-32bit-options)
46974 (syscall-list-32bit-condition, syscall-list-64bit-options)
46975 (syscall-list-64bit-condition): Define.
46976 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
46977 Remove.
46978 (syscall-list-variants, syscall-list-32bit-options)
46979 (syscall-list-32bit-condition, syscall-list-64bit-options)
46980 (syscall-list-64bit-condition): Define.
46981 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
46982 Remove.
46983 (syscall-list-variants, syscall-list-32bit-options)
46984 (syscall-list-32bit-condition, syscall-list-64bit-options)
46985 (syscall-list-64bit-condition): Define.
46986
21eaf3a5
UD
469872011-12-22 Ulrich Drepper <drepper@gmail.com>
46988
16c6f992
UD
46989 * locale/iso-639.def: Add brx entry.
46990
41043168
UD
46991 [BZ #13328]
46992 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
46993 Proposed by Mariusz_Cukr <marcukr@op.pl>.
46994
21eaf3a5
UD
46995 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
46996 __feraiseexcept_renamed.
46997
e3a851a2
UD
469982011-12-21 Ulrich Drepper <drepper@gmail.com>
46999
4920765e
UD
47000 [BZ #13538]
47001 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
47002 EPOLLET with unsigned values.
47003 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
47004 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
47005
e3a851a2
UD
47006 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
47007 to large cancellation.
47008 * math/s_cacoshf.c: Likewise.
47009 * math/s_cacoshl.c: Likewise.
47010
b27e24b8
RK
470112011-11-18 Richard B. Kreckel <kreckel@ginac.de>
47012
47013 [BZ #13305]
aebefeee 47014 [BZ #12786]
b27e24b8
RK
47015 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
47016 * math/s_cacoshf.c: Likewise.
47017 * math/s_cacoshl.c: Likewise.
47018
ee190f67
UD
470192011-12-21 Ulrich Drepper <drepper@gmail.com>
47020
47021 [BZ #13439]
47022 * iconv/gconv.h: Define __GCONV_SWAP.
47023 * iconvdata/unicode.c: The swap bit must be stored in __flags.
47024 * iconvdata/utf-16.c: Likewise.
47025 * iconvdata/utf-32.c: Likewise.
47026
707f25df
AS
470272011-12-21 Andreas Schwab <schwab@linux-m68k.org>
47028
47029 [BZ #13524]
47030 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
47031 numerator after shifting it by one limb.
47032
d2daaa1e
RÁE
470332011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
47034
47035 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
47036 under [__USE_EXTERN_INLINES].
47037
a4647e72
UD
470382011-12-17 Ulrich Drepper <drepper@gmail.com>
47039
47040 [BZ #13446]
47041 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
47042
f0b264f1
AZ
470432011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47044
47045 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
47046 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
47047 optimized code.
47048 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
47049 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
47050 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
47051 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
47052 for strncasecmp/strncasecmp_l compilation.
47053 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
47054 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
47055
8ef4f244
MP
470562011-12-08 Marek Polacek <mpolacek@redhat.com>
47057
47058 [BZ #13484]
47059 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
47060 of __asm__.
47061
97ac2654
UD
470622011-12-17 Ulrich Drepper <drepper@gmail.com>
47063
47064 [BZ #13506]
47065 * time/tzfile.c (__tzfile_read): Check values from file header.
47066
91d2a845
WS
470672011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
47068
47069 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
47070 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
47071 * powerpc/powerpc32/dl-start.S: Likewise.
47072 * powerpc/powerpc32/elf/start.S: Likewise.
47073 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
47074 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
47075 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
47076 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
47077 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
47078 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
47079 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
47080 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
47081 * powerpc/powerpc32/fpu/s_round.S: Likewise.
47082 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
47083 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
47084 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
47085 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
47086 * powerpc/powerpc32/memset.S: Likewise.
47087 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
47088 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
47089 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
47090 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
47091 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
47092 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
47093 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
47094 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
47095 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
47096 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
47097 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
47098 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
47099 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
47100
a1267ba1
AZ
471012011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47102
47103 * math/libm-test.inc: Added more nearbyint tests.
47104 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
47105 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
47106 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
47107 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
47108
ad8ac1bd
RL
471092011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
47110
47111 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
47112 FD_CLOEXEC.
47113
1d3e4b61
UD
471142011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47115
47116 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
47117 Add wcscpy-ssse3 wcscpy-c.
47118 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
47119 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
47120 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
47121 * sysdeps/x86_64/wcschr.S: New file.
47122 * sysdeps/x86_64/wcsrchr.S: New file.
47123 * string/test-strcmp.c: Remove checking of wcscmp function for
47124 wrong alignments.
47125 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
47126 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
47127 wcsrchr-sse2 wcsrchr-c.
47128 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
47129 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
47130 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
47131 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
47132 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
47133 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
47134 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
47135 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
47136 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
47137 * wcsmbc/wcschr.c (WCSCHR): New macro.
47138
5b330a2d
UD
471392011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47140
47141 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
47142 * wcsmbs/test-wcsrchr.c: New file.
47143 * string/test-strrchr.c: Add wcsrchr support.
47144 (WIDE): New macro.
47145 * wcsmbs/test-wcscpy.c: New file.
47146 * string/test-strcpy.c: Add wcscpy support.
47147 (WIDE): New macro.
26428b7c 47148
f039c043
UD
471492011-12-10 Ulrich Drepper <drepper@gmail.com>
47150
47151 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
47152 the inner loop.
47153
850fb039
AS
471542011-12-06 Andreas Schwab <schwab@linux-m68k.org>
47155
47156 [BZ #13472]
47157 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
47158
4efbd5cb
UD
471592011-12-04 Ulrich Drepper <drepper@gmail.com>
47160
52ff5dd0 47161 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 47162 Minor optimizations.
52ff5dd0 47163
4efbd5cb
UD
47164 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
47165 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
47166 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
47167
8a426e12
UD
471682011-12-03 Ulrich Drepper <drepper@gmail.com>
47169
aff2453d
UD
47170 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
47171 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
47172 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
47173 for gcc to avoid warnings.
47174 * inet/Makefile (tests): Add tst-checks.
47175 * inet/tst-checks.c: New file.
47176
47177 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
47178 warning.
47179
47180 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
47181 __wmemcmp_sse2.
47182
47183 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
47184 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
47185
8a426e12
UD
47186 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
47187
9bea3473
UD
471882011-12-02 Ulrich Drepper <drepper@gmail.com>
47189
3a965496
UD
47190 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
47191 problem.
47192
9bea3473
UD
47193 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
47194
f101631b
UD
471952011-11-29 Joseph Myers <joseph@codesourcery.com>
47196
47197 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
47198 conditional on GCC version.
47199 (__arch_compare_and_exchange_val_8_acq)
47200 (__arch_compare_and_exchange_val_16_acq)
47201 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
47202 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
47203 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
47204
a98275aa
UD
472052011-12-02 Joseph Myers <joseph@codesourcery.com>
47206
47207 * sysdeps/sh/backtrace.c: New file.
47208
d4cc29a2
AS
472092011-12-02 Andreas Schwab <schwab@redhat.com>
47210
47211 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
47212 parenthesis.
47213
6257af2d
AS
472142011-12-01 Andreas Schwab <schwab@redhat.com>
47215
47216 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
47217 falling back to utime.
47218
b5f44c1a
AS
472192011-11-30 Andreas Schwab <schwab@redhat.com>
47220
47221 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
47222 expectations for float.
47223
f3a6cc0a
AS
472242011-11-29 Andreas Schwab <schwab@redhat.com>
47225
47226 * locale/weight.h (findidx): Add parameter len.
47227 * locale/weightwc.h (findidx): Likewise.
47228 * posix/fnmatch_loop.c (FCT): Adjust caller.
47229 * posix/regcomp.c (build_equiv_class): Likewise.
47230 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
47231 * posix/regexec.c (check_node_accept_bytes): Likewise.
47232 * string/strcoll_l.c (STRCOLL): Likewise.
47233 * string/strxfrm_l.c (STRXFRM): Likewise.
47234
9d65ea3a
UD
472352011-11-17 Ulrich Drepper <drepper@gmail.com>
47236
47237 * Makefile.in: Remove CVSOPT handling.
47238 * configure.in: Remove use of AC_REVISION.
47239 * iconvdata/Makefile (distribute): No need to filter out CVS.
47240 * scripts/list-sources.sh: Remove CVS, subversion and monotone
47241 handling.
47242
5583a086
AS
472432011-11-16 Andreas Schwab <schwab@redhat.com>
47244
47245 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
47246 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
47247 [USE_AS_STRNCASECMP_L]: Likewise.
47248 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
47249 NO_TLS_DIRECT_SEG_REFS.
47250 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
47251 Fix argument offsets for non-PIC.
47252 [USE_AS_STRNCASECMP_L]: Likewise.
47253 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
47254 NO_TLS_DIRECT_SEG_REFS.
47255
d62a8200
UD
472562011-11-15 Ulrich Drepper <drepper@gmail.com>
47257
9d65ea3a 47258 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
47259 O_CLOEXEC.
47260 * locale/loadlocale.c (_nl_load_locale): Likewise.
47261
09f93bd3
AS
472622011-11-15 Andreas Schwab <schwab@redhat.com>
47263
446514f9
AS
47264 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
47265 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
47266 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
47267 (SYSCALL_GETTIME): Set errno on error.
47268
09f93bd3
AS
47269 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
47270 count references to noai6ai_cached.
47271
312be3f9
UD
472722011-11-15 Ulrich Drepper <drepper@gmail.com>
47273
47274 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
47275
47276 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
47277 FD_CLOEXEC for /proc/self/maps.
47278
47279 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
47280 FD_CLOEXEC for /proc/meminfo.
47281
47282 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
47283 gai.conf.
47284
47285 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
47286 FD_CLOEXEC for given file.
47287
47288 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
47289
47290 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
47291 FD_CLOEXEC for /etc/hosts.
47292 (_gethtent): Likewise.
47293
47294 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
47295
47296 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
47297 cancellation and set FD_CLOEXEC for /etc/netgroup.
47298
47299 * nss/nss_files/files-key.c (search): Don't allow cancellation when
47300 reading /etc/publickey.
47301
47302 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
47303 allow cancellation when reading /etc/group.
47304
47305 * nss/nss_files/files-alias.c (internal_setent): Don't allow
47306 cancellation.
47307 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
47308
47309 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
47310 when using data file.
47311
47312 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
47313
47314 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
47315 (write_nis_obj): Use "c" and "e" in fopen.
47316
47317 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
47318
47319 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
47320
47321 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
47322
47323 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
47324
47325 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
47326 locale.alias.
47327
47328 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
47329
47330 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
47331
47332 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
47333
47334 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
47335 file parsing and set FD_CLOEXEC.
47336
82af0fa8
UD
473372011-11-14 Ulrich Drepper <drepper@gmail.com>
47338
47339 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
47340
a5fb313c
AS
473412011-11-14 Andreas Schwab <schwab@redhat.com>
47342
47343 * malloc/arena.c (arena_get2): Don't call reused_arena when
47344 _int_new_arena failed.
47345
6abf3465
UD
473462011-11-14 Ulrich Drepper <drepper@gmail.com>
47347
47348 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
47349 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
47350 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
47351 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
47352 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
47353 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
47354 to compile strcasecmp and strncasecmp.
47355 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
47356 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
47357
47358 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
47359
76e3966e
UD
473602011-11-13 Ulrich Drepper <drepper@gmail.com>
47361
47362 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
47363 locale-defines.sym to gen-as-const-headers.
47364 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
47365 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
47366 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
47367 to compile strcasecmp and strncasecmp.
47368 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
47369 strcasecmp_l and strncasecmp_l.
47370 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
47371 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
47372 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
47373 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
47374 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
47375 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
47376 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
47377 * sysdeps/i386/i686/multiarch/strncase.S: New file.
47378 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
47379 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
47380 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
47381
ab26144e
UD
473822011-11-12 Ulrich Drepper <drepper@gmail.com>
47383
7edb22ef
UD
47384 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
47385 result of SYSDEP_GETTIME_CPU to retval.
47386 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
47387 parameter list to macro. Remove trailing semicolon. Adjust users.
47388
9694fc44
UD
47389 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
47390 variable.
47391
8ad89ef8
UD
47392 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
47393 mantissa words.
47394 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
47395
0c822ef9
UD
47396 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
47397 from unused variable.
47398
874e0564
UD
47399 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
47400 DWARF definitions.
47401 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
47402 for assembling.
47403
3a2edc79
UD
47404 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
47405 over namespaces.
47406
f3c2577f
UD
47407 * sunrpc/rpc_prot.c (rejected): Fix case value.
47408
294ce126
UD
47409 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
47410 unsigned long long int to avoid warnings in shift.
47411
5e2b63c6
UD
47412 * posix/regex_internal.c (re_string_reconstruct): Actually use result
47413 of use of trans.
47414 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
47415 variable tmp.
47416
e7f4b08e
UD
47417 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
47418 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
47419 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
47420
ab26144e
UD
47421 * nis/nis_table.c (nis_list): Use variable of correct type for
47422 result of __follow_path call.
47423
8a6d5255
AZ
474242011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47425
47426 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
47427 of math functions ceil, trunc, floor, round, and sqrt, when
47428 avaliable on the platform.
47429 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
47430 name clash.
47431 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
47432 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
47433 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
47434
aaddc98c
MP
474352011-10-30 Marek Polacek <mpolacek@redhat.com>
47436
47437 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
47438 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
47439
95b7042b
RM
474402011-11-11 Roland McGrath <roland@hack.frob.com>
47441
47442 * include/unistd.h: Fix __readlink return type.
47443 Reported by Chris Metcalf <cmetcalf@tilera.com>.
47444
57769839
UD
474452011-11-11 Ulrich Drepper <drepper@gmail.com>
47446
47447 * stdlib/ucontext.h: Undo last change for makecontext.
47448
edc5984d
AS
474492011-11-11 Andreas Schwab <schwab@redhat.com>
47450
98591e58
AS
47451 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
47452
edc5984d
AS
47453 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
47454 * setjmp/setjmp.h: Mark functions as non-leaf.
47455 * setjmp/bits/setjmp2.h: Likewise.
47456 * stdlib/ucontext.h: Likewise.
47457
77cdc054
AS
474582011-11-10 Andreas Schwab <schwab@redhat.com>
47459
47460 * malloc/arena.c (_int_new_arena): Don't increment narenas.
47461 (reused_arena): Don't check arena limit.
47462 (arena_get2): Atomically check arena limit.
47463
fe72eebd
UD
474642011-11-08 Ulrich Drepper <drepper@gmail.com>
47465
5f078c32
UD
47466 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
47467 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
47468
fe72eebd
UD
47469 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
47470 instructions.
47471
ae1bc2fa
AS
474722011-11-07 Andreas Schwab <schwab@redhat.com>
47473
7583a88d
AS
47474 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
47475 handler when locking.
47476
ae1bc2fa
AS
47477 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
47478 Fix size of allocated buffer.
47479
10fb0bfa
AS
474802011-11-04 Andreas Schwab <schwab@redhat.com>
47481
998832a4
AS
47482 [BZ #10103]
47483 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
47484 declarations for long double functions.
47485 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
47486
10fb0bfa
AS
47487 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
47488
3d7ba52b
AS
474892011-11-03 Andreas Schwab <schwab@redhat.com>
47490
a9ae54a1
AS
47491 * nscd/nscd.c (main): Don't start AVC thread until credentials are
47492 installed.
47493
3d7ba52b
AS
47494 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
47495 is disabled.
47496
bc8db248
ST
474972011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
47498
47499 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
47500
45b96dd6
AS
475012011-11-01 Andreas Schwab <schwab@linux-m68k.org>
47502
647776f6
AS
47503 * include/alloca.h (stackinfo_alloca_round): Define.
47504 (extend_alloca): Use it.
47505 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
47506 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
47507 here.
47508
d91a8b93
AS
47509 * scripts/check-local-headers.sh: Ignore libaudit.h.
47510
45b96dd6
AS
47511 * nscd/Makefile (extra-objs): Make recursively expanded.
47512
432d41ce
UD
475132011-11-01 Ulrich Drepper <drepper@gmail.com>
47514
34372fc6
UD
47515 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
47516 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
47517
fadb59f8
UD
47518 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
47519 * posix/tst-rfc3484-2.c: Likewise.
47520 * posix/tst-rfc3484-3.c: Likewise.
47521
78239589
UD
47522 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
47523 process_vm_writev.
47524 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
47525 process_vm_writev.
47526 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
47527 process_vm_writev from libc using GLIBC_2.15 version.
47528
432d41ce
UD
47529 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
47530
02f9c6cf
PP
475312011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
47532
47533 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
47534 stack usage.
47535
3a2c0242
UD
475362011-10-31 Ulrich Drepper <drepper@gmail.com>
47537
f4ec4833
UD
47538 [BZ #13367]
47539 * nss/getent.c (initgroups_keys): Show error message in case no group
47540 names are given.
47541
3a2c0242
UD
47542 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
47543 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
47544 __bump_nl_timestamp.
47545 * nscd/connections (nscd_init): When host database is served open
47546 netlink socket and request notification about configuration changes.
47547 (main_loop_poll): Track netlink file descriptor and bump timestamp
47548 in case data becomes available.
47549 (main_loop_epoll): Likewise.
47550 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
47551 (database_pers_head): Add extra_data fileds.
47552 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
47553 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
47554 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
47555 Adjust caller.
47556 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
47557 in6ai data, call __free_in6ai.
47558 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
47559 Add -DHAVE_NETLINK.
47560 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
47561 interface information. Reuse previous data if netlink timestamp
47562 is not changed.
47563 (__bump_nl_timestamp): New function.
47564 (__free_in6ai): New function.
47565
636064eb
UD
475662011-10-30 Ulrich Drepper <drepper@gmail.com>
47567
47568 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
47569 close_not_cancel_no_status here.
47570 (__check_pf): Reorganize code a bit to not call close twice if OOM.
47571
9beb2334
UD
475722011-10-29 Ulrich Drepper <drepper@gmail.com>
47573
6ef76f3b
UD
47574 [BZ #13276]
47575 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
47576 return value.
47577
0ffc4f3e 47578 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
47579 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
47580 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
47581
cb95113e
UD
475822011-07-03 Andreas Jaeger <aj@suse.de>
47583
47584 [BZ #10709]
47585 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
47586 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
47587 * math/libm-test.inc (sin_test): Add test case.
47588
a1b560ff
UD
475892011-10-29 Ulrich Drepper <drepper@gmail.com>
47590
c9aaface
UD
47591 [BZ #13337]
47592 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
47593 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
47594
d272e7f1
UD
47595 * elf/chroot_canon.c (chroot_canon): Cleanups.
47596
1bc33071
UD
47597 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
47598
1760874d
TJ
47599 [BZ #13335]
47600 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
47601 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
47602
51d91b18
UD
47603 * string/test-strchr.c: Make usable for strchrnul testing.
47604 * string/test-strchrnul.c: New file.
47605 * string/Makefile (strop-tests): Add strchrnul.
47606
a1b560ff 47607 * po/it.po: Update from translation team.
b611fb81 47608 * po/es.po: Likewise.
a1b560ff 47609
a5b81e1f
UD
476102011-10-28 Ulrich Drepper <drepper@gmail.com>
47611
fd52bc6d
UD
47612 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
47613 the three constants needed as parameters. Drop the others.
47614 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
47615 __m128i_strloadu_tolower.
52e4b9eb
UD
47616 Create and initialize variable zero and use it in all the places
47617 where _mm_setzero_si128 was used.
fd52bc6d 47618
a5b81e1f
UD
47619 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
47620 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
47621 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
47622 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
47623 anymore.
47624 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
47625 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
47626 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
47627 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
47628 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
47629 __mpranred, __mptan.
47630 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
47631 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
47632 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
47633 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
47634 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
47635 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
47636 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
47637 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
47638 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
47639
b4343346
AS
476402011-10-28 Andreas Schwab <schwab@redhat.com>
47641
0c92d8a8
AS
47642 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
47643 redefine if SHARED.
47644 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
47645
b4343346
AS
47646 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
47647 wide char related routines to wcsmbs subdir.
47648
3871f58f
AS
476492011-10-27 Andreas Schwab <schwab@redhat.com>
47650
47651 [BZ #13344]
47652 * misc/sys/cdefs.h (__THROWNL): Define.
47653 * posix/unistd.h: Use __THREADNL instead of __THREAD
47654 for memory synchronization functions.
47655
94d44d9f
RM
476562011-10-26 Roland McGrath <roland@hack.frob.com>
47657
21b64b15 47658 [BZ #13349]
94d44d9f
RM
47659 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
47660 doesn't exist.
47661 * manual/stdio.texi (Obstack Streams): Node removed.
47662
f6ce9294
AS
476632011-10-26 Andreas Schwab <schwab@redhat.com>
47664
80479147
AS
47665 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
47666 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
47667 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
47668
f6ce9294
AS
47669 * math/math_private.h (math_force_eval): Allow non-addressable
47670 arguments.
47671 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
47672
618280a1
UD
476732011-10-25 Ulrich Drepper <drepper@gmail.com>
47674
e0016b11
UD
47675 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
47676 file is not needed.
47677
47678 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
47679 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
47680 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
47681 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
47682 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
47683 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
47684 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
47685 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
47686 Add AVX variants.
47687 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
47688 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
47689 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
47690 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
47691 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
47692 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
47693 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
47694 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
47695 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
47696 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
47697 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
47698 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
47699 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
47700 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
47701 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
47702 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
47703 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
47704 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
47705 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
47706
47707 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
47708 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
47709
618280a1
UD
47710 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
47711 place. Use VEX encoding when compiling for AVX.
47712
37822576
AS
477132011-10-25 Andreas Schwab <schwab@redhat.com>
47714
1f1e1947
AS
47715 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
47716 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
47717
37822576
AS
47718 * string/test-strchr.c (do_test): Don't generate NUL bytes.
47719
31ea014d
UD
477202011-10-25 Ulrich Drepper <drepper@gmail.com>
47721
d7826aa1 47722 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 47723 useless if() expression.
d7826aa1
UD
47724 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
47725 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
47726 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
47727 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
47728 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
47729 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
47730 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
47731 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
47732 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
47733 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
47734 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
47735 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
47736 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
47737 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
47738 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
47739 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
47740 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
47741 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
47742 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
47743
31ea014d
UD
47744 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
47745
16437fec
AS
477462011-10-25 Andreas Schwab <schwab@redhat.com>
47747
47748 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
47749 condition.
47750 * elf/dl-fini.c (_dl_sort_fini): Likewise.
47751
31d3cc00
UD
477522011-10-25 Ulrich Drepper <drepper@gmail.com>
47753
47754 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
47755 .text section. Avoid duplicate constants.
47756 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
47757 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
47758 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
47759 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
47760 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
47761 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
47762 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
47763 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
47764 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
47765 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
47766 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
47767 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
47768 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
47769 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
47770 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
47771 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
47772 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
47773 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
47774 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
47775 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
47776 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
47777 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
47778 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
47779 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
47780 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
47781 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
47782 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
47783 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
47784 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
47785 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
47786 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
47787 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
47788 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
47789 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
47790 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
47791 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
47792 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
47793 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
47794 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
47795 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
47796 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
47797 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
47798 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
47799 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
47800 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
47801
58985aa9
UD
478022011-10-24 Ulrich Drepper <drepper@gmail.com>
47803
202c9deb
UD
47804 * sysdeps/x86_64/dla.h: Move to ...
47805 * sysdeps/x86_64/fpu/dla.h: ...here.
47806 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
47807 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 47808
af968f62
UD
47809 * config.make.in: Add have-mfma4 entry.
47810 * configure.in: Substitute libc_cv_cc_fma4.
47811 * math/Makefile (dbl-only-routines): Add sincostab.
47812 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
47813 Use __sincostab not sincos.
47814 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
47815 name is a macro.
47816 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
47817 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
47818 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
47819 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
47820 using __copysign.
47821 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
47822 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
47823 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
47824 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
47825 and __inv.
47826 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
47827 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
47828 __copysign.
47829 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
47830 define aliases when function name is a macro.
47831 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
47832 sysdeps/ieee754/dbl-64/sincos.tbl.
47833 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
47834 fma4-enabled routines.
47835 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
47836 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
47837 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
47838 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
47839 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
47840 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
47841 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
47842 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
47843 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
47844 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
47845 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
47846 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
47847 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
47848 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
47849 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
47850 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
47851 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
47852 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
47853 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
47854 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
47855 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
47856 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
47857 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
47858 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
47859 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
47860 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
47861 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
47862 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
47863 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
47864 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
47865
58985aa9
UD
47866 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
47867 rename.
47868 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
47869 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
47870 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
47871 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
47872 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
47873 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
47874 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
47875 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
47876
a201fbcf
AS
478772011-10-24 Andreas Schwab <schwab@redhat.com>
47878
47879 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
47880
fc2ee42a
LD
478812011-10-23 Ulrich Drepper <drepper@gmail.com>
47882
bb3129bd
UD
47883 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
47884
0275fff8
UD
47885 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
47886 prediction.
47887 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
47888
2fa2ae85
UD
47889 * string/strnlen.c: Don't define STRNLEN, reverse logic.
47890 Remove unused variable magic_bits.
47891 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
47892
fc2ee42a
LD
47893 * string/strnlen.c: Define and use STRNLEN macro.
47894 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
47895 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
47896 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
47897 * wcsmbs/wcslen.c: Define and use WCSLEN.
47898 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
47899 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
47900 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
47901 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
47902 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
47903 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
47904 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
47905
ce7dd29f
LD
479062011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47907
47908 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
47909 strnlen-sse2-no-bsf.
47910 Rename strlen-no-bsf to strlen-sse2-no-bsf.
47911 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
47912 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
47913 Add strnlen support.
47914 (USE_AS_STRNLEN): New macro.
47915 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
47916 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
47917 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
47918 * sysdeps/x86_64/wcslen.S: New file.
47919
979c70a3
MZ
479202011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
47921
47922 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
47923 XMM-moves are used for copying on small sizes.
47924
2d09f82f
LD
479252011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47926
47927 * wcsmbs/Makefile (strop-tests): Add wcschr.
47928 * wcsmbs/test-wcschr.c: New file.
47929 * string/test-strchr.c: Update.
47930 Add wcschr support.
47931 (WIDE): New macro.
47932
619fccca
LD
479332011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47934
2d09f82f 47935 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
47936 * wcsmbs/test-wcslen.c: New file.
47937 * string/test-strlen.c: Update.
47938 Add wcslen support.
47939 (WIDE): New macro.
47940
09f699ea
UD
479412011-10-23 Ulrich Drepper <drepper@gmail.com>
47942
47943 * po/it.po: Update from translation team.
47944
95584d3b
LD
479452011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47946
47947 * sysdeps/x86_64/wcscmp.S: Update.
47948 Fix wrong comparison semantics.
47949 wcscmp shall use signed comparison not unsigned.
47950 Don't use substraction to avoid overflow bug.
47951 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
47952 * wcsmbc/wcscmp.c: Likewise.
47953 * string/test-strcmp.c: Likewise.
47954 Add new tests to check cases with negative values.
47955
c8b3296b
UD
479562011-10-23 Ulrich Drepper <drepper@gmail.com>
47957
47958 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
47959 * sysdeps/x86_64/dla.h: ...here. New file.
47960 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
47961 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
47962 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
47963 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
47964 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
47965 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
47966 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
47967 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
47968 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
47969
246ad57a
AS
479702011-10-23 Andreas Schwab <schwab@linux-m68k.org>
47971
47972 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
47973 __ynl_finite aliases.
47974
a1a87169
UD
479752011-10-22 Ulrich Drepper <drepper@gmail.com>
47976
0d355eb7
UD
47977 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
47978
a1a87169
UD
47979 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
47980 define DLA_FMA.
47981 [DLA_FMA] (EMULV): Use DLA_FMA.
47982 [DLA_FMA] (MUL12): Use EMULV.
47983 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
47984 that are not needed.
47985 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
47986 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
47987 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
47988 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
47989 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
47990 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
47991 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
47992
ee2aafe0
AS
479932011-10-22 Andreas Schwab <schwab@linux-m68k.org>
47994
47995 * math/s_nan.c: Undef __nan.
47996 * math/s_nanf.c: Undef __nanf.
47997 * math/s_nanl.c: Undef __nanl.
47998 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
47999 "math_private.h".
48000
bc62c2fb
UD
480012011-10-22 Ulrich Drepper <drepper@gmail.com>
48002
77425c63
UD
48003 * math/s_catan.c: Add branch predictions.
48004 * math/s_catanf.c: Likewise.
48005 * math/s_catanh.c: Likewise.
48006 * math/s_catanhf.c: Likewise.
48007 * math/s_catanhl.c: Likewise.
48008 * math/s_catanl.c: Likewise.
48009 * math/s_cexp.c: Likewise.
48010 * math/s_cexpf.c: Likewise.
48011 * math/s_cexpl.c: Likewise.
48012 * math/s_clog.c: Likewise.
48013 * math/s_clog10.c: Likewise.
48014 * math/s_clog10f.c: Likewise.
48015 * math/s_clog10l.c: Likewise.
48016 * math/s_clogf.c: Likewise.
48017 * math/s_clogl.c: Likewise.
48018 * math/s_csqrt.c: Likewise.
48019 * math/s_csqrtf.c: Likewise.
48020 * math/s_csqrtl.c: Likewise.
48021 * math/s_ctanf.c: Likewise.
48022 * math/s_ctanh.c: Likewise.
48023 * math/s_ctanhf.c: Likewise.
48024 * math/s_ctanhl.c: Likewise.
48025 * math/s_ctanl.c: Likewise.
48026
bc62c2fb
UD
48027 * math/math_private.h: Define __nan, __nanf, __nanl.
48028 * math/s_cacosh.c: Include <math_private.h>.
48029 * math/s_cacoshl.c: Likewise.
48030 * math/s_casinh.c: Likewise.
48031 * math/s_casinhf.c: Likewise.
48032 * math/s_casinhl.c: Likewise.
48033 * math/s_ccos.c: Rely entire on ccosh.
48034 * math/s_ccosf.c: Rely entire on ccoshf.
48035 * math/s_ccosl.c: Rely entirely on ccoshl.
48036 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
48037 Remove tests for FE_INVALID.
48038 * math/s_ccoshf.c: Likewise.
48039 * math/s_ccoshl.c: Likewise.
48040 * math/s_csin.c: Likewise.
48041 * math/s_csinf.c: Likewise.
48042 * math/s_csinh.c Likewise.
48043 * math/s_csinhf.c: Likewise.
48044 * math/s_csinhl.c: Likewise.
48045 * math/s_csinl.c: Likewise.
48046 * math/s_ctan.c: Likewise.
48047 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
48048 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
48049 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
48050
8ec250a4
UD
480512011-10-21 Ulrich Drepper <drepper@gmail.com>
48052
c196fed8
UD
48053 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
48054 compilation problems.
48055
8ec250a4
UD
48056 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
48057 __builtin_expect.
48058
8d4f46c6
UD
480592011-10-20 Ulrich Drepper <drepper@gmail.com>
48060
ed72b654
UD
48061 * sysdeps/i386/configure.in: Test for -mfma4 option.
48062 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
48063 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
48064 COMMON_CPUID_INDEX_80000001.
48065 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
48066 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
48067 use it if FMA3 is not supported.
48068 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
48069
8d4f46c6
UD
48070 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
48071 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
48072
d45c60c2
AS
480732011-10-20 Andreas Schwab <schwab@redhat.com>
48074
48075 [BZ #12892]
48076 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
48077 it would create a cycle with a link time dependency.
48078
d9a4d2ab
UD
480792011-10-19 Ulrich Drepper <drepper@gmail.com>
48080
855d1560
UD
48081 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
48082 instruction.
48083 * string/Makefile (strop-tests): Add rawmemchr.
48084 * string/test-rawmemchr.c: New file.
48085
d9a4d2ab
UD
48086 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
48087 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
48088 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
48089 when compiling str{,n}casecmp and when AVX is available. Hook up
48090 new optimized code in initializers.
48091
8f3b1ffe
AS
480922011-10-19 Andreas Schwab <schwab@redhat.com>
48093
48094 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
48095 __feraiseexcept instead of feraiseexcept.
48096
d38f1dba
UD
480972011-10-18 Ulrich Drepper <drepper@gmail.com>
48098
d9a8d0ab
UD
48099 * math/math_private.h: Define defaults for libc_fetestexcept and
48100 libc_feupdateenv.
48101 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
48102 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
48103 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
48104 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
48105 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
48106 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
48107 libc_fetestexcept and libc_feupdateenv.
48108
4855e3dd
UD
48109 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
48110 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
48111 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
48112 * sysdeps/x86_64/fpu/math_private.h: Define special version of
48113 libc_feholdexcept_setround.
48114
581d30e3
UD
48115 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
48116 Add s_nearbyint-c and s_nearbyintf-c.
48117 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
48118 nearbyintf inlines.
48119 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
48120 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
48121 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
48122 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
48123
d38f1dba
UD
48124 * math/math_private.h: Define defaults for libc_fegetround,
48125 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
48126 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
48127 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
48128 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
48129 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
48130 standard functions.
48131 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
48132 Remove comments and hacks for old compiler versions.
48133 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
48134 libc_fegetround, libc_fesetround, libc_feholdexcept, and
48135 libc_feholdexceptl.
48136
caa6c9d8
AS
481372011-10-18 Andreas Schwab <schwab@redhat.com>
48138
48139 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
48140 (__feraiseexcept_renamed): Add __NTH.
48141 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
48142 namespace violations.
48143
97c066e6
UD
481442011-10-17 Ulrich Drepper <drepper@gmail.com>
48145
99ce7b04
UD
48146 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
48147
1004d182
UD
48148 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
48149
228a984d
UD
48150 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
48151 recently added interfaces.
48152 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
48153
c8553a6a
UD
48154 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
48155 about macro parameter expansion.
48156
ed22dcf6
UD
48157 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
48158 __NO_MATH_INLINES is defined. Cleanups.
48159
48160 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
48161 and __floorf is target has SSE4.1.
48162 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
48163 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
48164 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
48165 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
48166
b171c137
UD
48167 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
48168 name.
48169 (floorf): Likewise.
48170
97c066e6
UD
48171 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
48172
629f62ef
AS
481732011-10-17 Andreas Schwab <schwab@redhat.com>
48174
49a43d80
AS
48175 * misc/sys/cdefs.h: Fix last change.
48176
629f62ef
AS
48177 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
48178 database lookup.
48179
e453f6cd
UD
481802011-10-16 Ulrich Drepper <drepper@gmail.com>
48181
aa78043a
UD
48182 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
48183
ad0f5cad
UD
48184 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
48185 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
48186 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
48187 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
48188 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
48189 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
48190 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
48191 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
48192 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
48193 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
48194 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
48195 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
48196 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
48197 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
48198 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
48199 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
48200 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
48201 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
48202 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
48203 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
48204 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
48205 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
48206
48207 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
48208 ceil, ceilf, floor, floorf.
48209
48210 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
48211 Perform IRELATIVE relocations last.
48212
e453f6cd
UD
48213 * elf/do-rel.h: Add another parameter nrelative, replacing the
48214 local variable with the same name. Change name of the function
48215 to end in Rel or Rela (uppercase).
48216 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
48217 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
48218 elf_dynamic_do_##reloc function.
48219
fd5bdc09
UD
482202011-10-15 Ulrich Drepper <drepper@gmail.com>
48221
79b195b5
UD
48222 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
48223 is sufficient, at least on modern CPUs.
48224
d4a28569
UD
48225 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
48226
b61099b5
UD
48227 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
48228 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
48229
bcf01e6d
UD
48230 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
48231 __expl_finite.
48232 * math/bits/math-finite.h: Add entries for exp.
48233 * math/e_expl.c: Add __*_finite alias.
48234 * sysdeps/i386/fpu/e_exp.S: Likewise.
48235 * sysdeps/i386/fpu/e_expf.S: Likewise.
48236 * sysdeps/i386/fpu/e_expl.c: Likewise.
48237 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
48238 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
48239 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
48240 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
48241 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
48242 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
48243 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
48244
ba1a0d59
UD
48245 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
48246 is sufficient, at least on modern CPUs.
48247
fd5bdc09
UD
48248 * ctype/ctype-info.c (__ctype_init): Define.
48249 * include/ctype.h (__ctype_init): Declare.
48250 (__ctype_b_loc): The variable is always initialized.
48251 (__ctype_toupper_loc): Likewise.
48252 (__ctype_tolower_loc): Likewise.
48253 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
48254 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
48255
7872cfb0
AS
482562011-10-15 Andreas Schwab <schwab@linux-m68k.org>
48257
b468825a
AS
48258 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
48259
7872cfb0
AS
48260 * configure.in: Also look in $cxxmachine/include for C++ system
48261 headers.
48262
be13f7bf
LD
482632011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
48264
48265 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
48266 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
48267 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
48268 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
48269 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
48270 (USE_AS_WMEMCMP): New macro.
48271 Fixing indents.
48272 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
48273 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
48274 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
48275 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
48276 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
48277 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
48278 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
48279 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
48280 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
48281 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
48282 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
48283 (USE_AS_WMEMCMP): New macro.
48284 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
48285 * sysdeps/string/test-memcmp.c: Update.
48286 Fix simple_wmemcmp.
48287 Add new tests.
48288 * wcsmbs/wmemcmp.c: Update.
48289 (WMEMCMP): New macro.
48290 Fix overflow bug.
48291
556a2007
AJ
482922011-10-12 Andreas Jaeger <aj@suse.de>
48293
48294 [BZ #13268]
48295 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
48296
538faaa7
UD
482972011-10-15 Ulrich Drepper <drepper@gmail.com>
48298
ab6737ff
UD
48299 * libio/iofwide.c (do_length): Avoid warning.
48300
538faaa7
UD
48301 * ctype/ctype.h (__isctype_f): Add missing __THROW.
48302
396a21b1
UD
483032011-10-14 Ulrich Drepper <drepper@gmail.com>
48304
cdf2901f
UD
48305 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
48306
38ad40ce
UD
48307 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
48308 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
48309 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
48310 * sysdeps/i386/i686/fpu/e_log.S: New file.
48311 * sysdeps/i386/i686/fpu/e_logf.S: New file.
48312 * sysdeps/i386/i686/fpu/e_logl.S: New file.
48313
396a21b1
UD
48314 * ctype/ctype.h: Add support for inlined isXXX functions when
48315 compiling C++ code.
48316
6b1f68c9
AS
483172011-10-14 Andreas Schwab <schwab@redhat.com>
48318
349290c0
AS
48319 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
48320
6b1f68c9
AS
48321 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
48322
f2282d42
RM
483232011-10-13 Roland McGrath <roland@hack.frob.com>
48324
48325 [BZ #13291]
48326 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
48327
5298ffa8
AS
483282011-10-13 Andreas Schwab <schwab@redhat.com>
48329
714fad23
AS
48330 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
48331 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
48332 feraiseexcept.
48333
81dcc7fb
AS
48334 * sysdeps/x86_64/memrchr.S: Check for zero size.
48335
5298ffa8
AS
48336 * string/stratcliff.c: Add memrchr tests.
48337
951fbcec
LD
483382011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
48339
48340 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
48341 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
48342 rawmemchr-sse2 rawmemchr-sse2-bsf.
48343 * sysdeps/i386/i686/multiarch/memchr.S: New file.
48344 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
48345 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
48346 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
48347 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
48348 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
48349 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
48350 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
48351 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
48352 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
48353 * string/memrchr.c (MEMRCHR): New macro.
48354
0ac5ae23
UD
483552011-10-12 Ulrich Drepper <drepper@gmail.com>
48356
48357 Add integration with gcc's -ffinite-math-only and optimize wrapper
48358 functions in libm.
48359 * Versions.def: Define GLIBC_2.15 version for libm.
48360 * math/Makefile (headers): Add bits/math-finite.h.
48361 * math/bits/math-finite.h: New file.
48362 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
48363 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
48364 * math/e_acoshl.c: Add __*_finite alias.
48365 * math/e_acosl.c: Likewise.
48366 * math/e_asinl.c: Likewise.
48367 * math/e_atan2l.c: Likewise.
48368 * math/e_atanhl.c: Likewise.
48369 * math/e_coshl.c: Likewise.
48370 * math/e_exp10.c: Likewise.
48371 * math/e_exp10f.c: Likewise.
48372 * math/e_exp10l.c: Likewise.
48373 * math/e_exp2l.c: Likewise.
48374 * math/e_fmodl.c: Likewise.
48375 * math/e_gammal_r.c: Likewise.
48376 * math/e_hypotl.c: Likewise.
48377 * math/e_j0l.c: Likewise.
48378 * math/e_j1l.c: Likewise.
48379 * math/e_jnl.c: Likewise.
48380 * math/e_lgammal_r.c: Likewise.
48381 * math/e_log10l.c: Likewise.
48382 * math/e_log2l.c: Likewise.
48383 * math/e_logl.c: Likewise.
48384 * math/e_powl.c: Likewise.
48385 * math/e_sinhl.c: Likewise.
48386 * math/e_sqrtl.c: Likewise.
48387 * math/e_scalb.c: Completely rewritten and optimized.
48388 * math/e_scalbf.c: Likewise.
48389 * math/e_scalbl.c: Likewise.
48390 * math/w_acos.c: Likewise.
48391 * math/w_acosf.c: Likewise.
48392 * math/w_acosl.c: Likewise.
48393 * math/w_acosh.c: Likewise.
48394 * math/w_acoshf.c: Likewise.
48395 * math/w_acoshl.c: Likewise.
48396 * math/w_asin.c: Likewise.
48397 * math/w_asinf.c: Likewise.
48398 * math/w_asinl.c: Likewise.
48399 * math/w_atan2.c: Likewise.
48400 * math/w_atan2f.c: Likewise.
48401 * math/w_atan2l.c: Likewise.
48402 * math/w_atanh.c: Likewise.
48403 * math/w_atanhf.c: Likewise.
48404 * math/w_atanhl.c: Likewise.
48405 * math/w_exp10.c: Likewise.
48406 * math/w_exp10f.c: Likewise.
48407 * math/w_exp10l.c: Likewise.
48408 * math/w_fmod.c: Likewise.
48409 * math/w_fmodf.c: Likewise.
48410 * math/w_fmodl.c: Likewise.
48411 * math/w_j0.c: Likewise.
48412 * math/w_j0f.c: Likewise.
48413 * math/w_j0l.c: Likewise.
48414 * math/w_j1.c: Likewise.
48415 * math/w_j1f.c: Likewise.
48416 * math/w_j1l.c: Likewise.
48417 * math/w_jn.c: Likewise.
48418 * math/w_jnf.c: Likewise.
48419 * math/w_log.c: Likewise.
48420 * math/w_logf.c: Likewise.
48421 * math/w_logl.c: Likewise.
48422 * math/w_log10.c: Likewise.
48423 * math/w_log10f.c: Likewise.
48424 * math/w_log10l.c: Likewise.
48425 * math/w_log2.c: Likewise.
48426 * math/w_log2f.c: Likewise.
48427 * math/w_log2l.c: Likewise.
48428 * math/w_pow.c: Likewise.
48429 * math/w_powf.c: Likewise.
48430 * math/w_powl.c: Likewise.
48431 * math/w_remainder.c: Likewise.
48432 * math/w_remainderf.c: Likewise.
48433 * math/w_remainderl.c: Likewise.
48434 * math/w_scalb.c: Likewise.
48435 * math/w_scalbf.c: Likewise.
48436 * math/w_scalbl.c: Likewise.
48437 * math/w_sqrt.c: Likewise.
48438 * math/w_sqrtf.c: Likewise.
48439 * math/w_sqrtl.c: Likewise.
48440 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
48441 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
48442 used.
48443 * math/math_private.h: Declare __kernel_standard_f.
48444 * math/w_cosh.c: Remove cruft and optimize a bit.
48445 * math/w_coshf.c: Likewise.
48446 * math/w_coshl.c: Likewise.
48447 * math/w_exp2.c: Likewise.
48448 * math/w_exp2f.c: Likewise.
48449 * math/w_exp2l.c: Likewise.
48450 * math/w_hypot.c: Likewise.
48451 * math/w_hypotf.c: Likewise.
48452 * math/w_hypotl.c: Likewise.
48453 * math/w_lgamma.c: Likewise.
48454 * math/w_lgamma_r.c: Likewise.
48455 * math/w_lgammaf.c: Likewise.
48456 * math/w_lgammaf_r.c: Likewise.
48457 * math/w_lgammal.c: Likewise.
48458 * math/w_lgammal_r.c: Likewise.
48459 * math/w_sinh.c: Likewise.
48460 * math/w_sinhf.c: Likewise.
48461 * math/w_sinhl.c: Likewise.
48462 * math/w_tgamma.c: Likewise.
48463 * math/w_tgammaf.c: Likewise.
48464 * math/w_tgammal.c: Likewise.
48465 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
48466 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
48467 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
48468 Minor optimizations. Pretty printing. Remove cruft.
48469 * sysdeps/i386/fpu/e_acosf.S: Likewise.
48470 * sysdeps/i386/fpu/e_acosh.S: Likewise.
48471 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
48472 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
48473 * sysdeps/i386/fpu/e_acosl.c: Likewise.
48474 * sysdeps/i386/fpu/e_asin.S: Likewise.
48475 * sysdeps/i386/fpu/e_asinf.S: Likewise.
48476 * sysdeps/i386/fpu/e_atan2.S: Likewise.
48477 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
48478 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
48479 * sysdeps/i386/fpu/e_atanh.S: Likewise.
48480 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
48481 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
48482 * sysdeps/i386/fpu/e_exp10.S: Likewise.
48483 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
48484 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
48485 * sysdeps/i386/fpu/e_exp2.S: Likewise.
48486 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
48487 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
48488 * sysdeps/i386/fpu/e_fmod.S: Likewise.
48489 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
48490 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
48491 * sysdeps/i386/fpu/e_hypot.S: Likewise.
48492 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
48493 * sysdeps/i386/fpu/e_log.S: Likewise.
48494 * sysdeps/i386/fpu/e_log10.S: Likewise.
48495 * sysdeps/i386/fpu/e_log10f.S: Likewise.
48496 * sysdeps/i386/fpu/e_log10l.S: Likewise.
48497 * sysdeps/i386/fpu/e_log2.S: Likewise.
48498 * sysdeps/i386/fpu/e_log2f.S: Likewise.
48499 * sysdeps/i386/fpu/e_log2l.S: Likewise.
48500 * sysdeps/i386/fpu/e_logf.S: Likewise.
48501 * sysdeps/i386/fpu/e_logl.S: Likewise.
48502 * sysdeps/i386/fpu/e_pow.S: Likewise.
48503 * sysdeps/i386/fpu/e_powf.S: Likewise.
48504 * sysdeps/i386/fpu/e_powl.S: Likewise.
48505 * sysdeps/i386/fpu/e_remainder.S: Likewise.
48506 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
48507 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
48508 * sysdeps/i386/fpu/e_scalb.S: Likewise.
48509 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
48510 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
48511 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
48512 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
48513 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
48514 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
48515 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
48516 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
48517 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
48518 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
48519 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
48520 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
48521 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
48522 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
48523 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
48524 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
48525 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
48526 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
48527 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
48528 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
48529 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
48530 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
48531 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
48532 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
48533 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
48534 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
48535 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
48536 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
48537 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
48538 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
48539 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
48540 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
48541 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
48542 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
48543 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
48544 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
48545 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
48546 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
48547 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
48548 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
48549 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
48550 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
48551 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
48552 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
48553 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
48554 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
48555 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
48556 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
48557 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
48558 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
48559 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
48560 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
48561 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
48562 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
48563 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
48564 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
48565 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
48566 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
48567 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
48568 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
48569 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
48570 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
48571 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
48572 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
48573 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
48574 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
48575 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
48576 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
48577 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
48578 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
48579 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
48580 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
48581 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
48582 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
48583 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
48584 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
48585 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
48586 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
48587 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
48588 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
48589 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
48590 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
48591 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
48592 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
48593 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
48594 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
48595 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
48596 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
48597 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
48598 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
48599 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
48600 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
48601 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
48602 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
48603 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
48604 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
48605 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
48606 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
48607 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
48608 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
48609 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
48610 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
48611 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
48612 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
48613 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
48614 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
48615 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
48616 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
48617 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
48618 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
48619 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
48620 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
48621 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
48622 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
48623 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
48624 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
48625 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
48626 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
48627 (__isnanf): Likewise.
48628 (__isinf_ns): Likewise.
48629 (__isinf_nsf): Likewise.
48630 (__finite): Likewise.
48631 (__finitef): Likewise.
48632 (__ieee754_sqrt): Define as macro.
48633 (__ieee754_sqrtf): Define as macro.
48634 (__ieee754_sqrtl): Define as macro.
48635 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
48636 inlined copy.
48637 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
48638 __FINITE_MATH_ONLY__ consistent.
48639 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
48640
12cc2fcd
AS
486412011-10-10 Andreas Schwab <schwab@linux-m68k.org>
48642
a843a204
AS
48643 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
48644 of rawmemchr.
48645
12cc2fcd
AS
48646 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
48647
c853acd5
UD
486482011-10-09 Ulrich Drepper <drepper@gmail.com>
48649
48650 * po/ja.po: Update from translation team.
48651
c658d255
RM
486522011-10-08 Roland McGrath <roland@hack.frob.com>
48653
110946e4
RM
48654 * locale/programs/locarchive.c (prepare_address_space): New function.
48655 (create_archive, enlarge_archive, open_archive): Use it.
48656
50604220
RM
48657 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
48658 inside [SHARED], where it is used.
48659
c658d255
RM
48660 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
48661
48662 * nss/getent.c (netgroup_keys): Remove unused variable.
48663 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
48664
6a621eb7
UD
486652011-10-08 Ulrich Drepper <drepper@gmail.com>
48666
7edb55ce
UD
48667 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
48668 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
48669 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
48670 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
48671 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
48672 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
48673 * math/Makefile (libm-calls): Add s_isinf_ns.
48674 * math/divtc3.c: Use __isinf_nsl instead of isinf.
48675 * math/multc3.c: Likewise.
48676 * math/s_casin.c: Likewise.
48677 * math/s_casinf.c: Likewise.
48678 * math/s_casinl.c: Likewise.
48679 * math/s_ccos.c: Likewise.
48680 * math/s_ccosf.c: Likewise.
48681 * math/s_ccosl.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/w_fmod.c: Likewise.
48689 * math/w_fmodf.c: Likewise.
48690 * math/w_fmodl.c: Likewise.
48691 * math/w_remainder.c: Likewise.
48692 * math/w_remainderf.c: Likewise.
48693 * math/w_remainderl.c: Likewise.
48694 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
48695 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
48696 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
48697 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
48698 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
48699 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
48700 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
48701 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
48702
187da0ae
UD
48703 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
48704 of the number.
48705 * stdio-common/printf_fphex.c: Likewise.
48706 * stdio-common/printf_size.c: Likewise.
48707
9277c064
UD
48708 * math/e_exp10.c: Include math_private.h using <...> not "...".
48709 * math/e_exp10f.c: Likewise.
48710 * math/e_exp10l.c: Likewise.
48711 * math/e_exp2l.c: Likewise.
48712 * math/e_j0l.c: Likewise.
48713 * math/e_j1l.c: Likewise.
48714 * math/e_jnl.c: Likewise.
48715 * math/e_lgammal_r.c: Likewise.
48716 * math/e_rem_pio2l.c: Likewise.
48717 * math/e_scalb.c: Likewise.
48718 * math/e_scalbf.c: Likewise.
48719 * math/e_scalbl.c: Likewise.
48720 * math/k_cosl.c: Likewise.
48721 * math/k_sinl.c: Likewise.
48722 * math/k_tanl.c: Likewise.
48723 * math/s_cacoshf.c: Likewise.
48724 * math/s_catan.c: Likewise.
48725 * math/s_catanf.c: Likewise.
48726 * math/s_catanh.c: Likewise.
48727 * math/s_catanhf.c: Likewise.
48728 * math/s_catanhl.c: Likewise.
48729 * math/s_catanl.c: Likewise.
48730 * math/s_ccosh.c: Likewise.
48731 * math/s_ccoshf.c: Likewise.
48732 * math/s_ccoshl.c: Likewise.
48733 * math/s_cexp.c: Likewise.
48734 * math/s_cexpf.c: Likewise.
48735 * math/s_cexpl.c: Likewise.
48736 * math/s_clog.c: Likewise.
48737 * math/s_clog10.c: Likewise.
48738 * math/s_clog10f.c: Likewise.
48739 * math/s_clog10l.c: Likewise.
48740 * math/s_clogf.c: Likewise.
48741 * math/s_clogl.c: Likewise.
48742 * math/s_csin.c: Likewise.
48743 * math/s_csinf.c: Likewise.
48744 * math/s_csinh.c: Likewise.
48745 * math/s_csinhf.c: Likewise.
48746 * math/s_csinhl.c: Likewise.
48747 * math/s_csinl.c: Likewise.
48748 * math/s_csqrt.c: Likewise.
48749 * math/s_csqrtf.c: Likewise.
48750 * math/s_csqrtl.c: Likewise.
48751 * math/s_ctan.c: Likewise.
48752 * math/s_ctanf.c: Likewise.
48753 * math/s_ctanh.c: Likewise.
48754 * math/s_ctanhf.c: Likewise.
48755 * math/s_ctanhl.c: Likewise.
48756 * math/s_ctanl.c: Likewise.
48757 * math/s_ldexp.c: Likewise.
48758 * math/s_ldexpf.c: Likewise.
48759 * math/s_ldexpl.c: Likewise.
48760 * math/s_significand.c: Likewise.
48761 * math/s_significandf.c: Likewise.
48762 * math/s_significandl.c: Likewise.
48763 * math/w_acos.c: Likewise.
48764 * math/w_acosf.c: Likewise.
48765 * math/w_acosh.c: Likewise.
48766 * math/w_acoshf.c: Likewise.
48767 * math/w_acoshl.c: Likewise.
48768 * math/w_acosl.c: Likewise.
48769 * math/w_asin.c: Likewise.
48770 * math/w_asinf.c: Likewise.
48771 * math/w_asinl.c: Likewise.
48772 * math/w_atan2.c: Likewise.
48773 * math/w_atan2f.c: Likewise.
48774 * math/w_atan2l.c: Likewise.
48775 * math/w_atanh.c: Likewise.
48776 * math/w_atanhf.c: Likewise.
48777 * math/w_atanhl.c: Likewise.
48778 * math/w_cosh.c: Likewise.
48779 * math/w_coshf.c: Likewise.
48780 * math/w_coshl.c: Likewise.
48781 * math/w_dremf.c: Likewise.
48782 * math/w_exp10.c: Likewise.
48783 * math/w_exp10f.c: Likewise.
48784 * math/w_exp10l.c: Likewise.
48785 * math/w_exp2.c: Likewise.
48786 * math/w_exp2f.c: Likewise.
48787 * math/w_fmod.c: Likewise.
48788 * math/w_fmodf.c: Likewise.
48789 * math/w_fmodl.c: Likewise.
48790 * math/w_hypot.c: Likewise.
48791 * math/w_hypotf.c: Likewise.
48792 * math/w_hypotl.c: Likewise.
48793 * math/w_j0.c: Likewise.
48794 * math/w_j0f.c: Likewise.
48795 * math/w_j0l.c: Likewise.
48796 * math/w_j1.c: Likewise.
48797 * math/w_j1f.c: Likewise.
48798 * math/w_j1l.c: Likewise.
48799 * math/w_jn.c: Likewise.
48800 * math/w_jnf.c: Likewise.
48801 * math/w_jnl.c: Likewise.
48802 * math/w_lgamma.c: Likewise.
48803 * math/w_lgamma_r.c: Likewise.
48804 * math/w_lgammaf.c: Likewise.
48805 * math/w_lgammaf_r.c: Likewise.
48806 * math/w_lgammal.c: Likewise.
48807 * math/w_lgammal_r.c: Likewise.
48808 * math/w_log.c: Likewise.
48809 * math/w_log10.c: Likewise.
48810 * math/w_log10f.c: Likewise.
48811 * math/w_log10l.c: Likewise.
48812 * math/w_log2.c: Likewise.
48813 * math/w_log2f.c: Likewise.
48814 * math/w_log2l.c: Likewise.
48815 * math/w_logf.c: Likewise.
48816 * math/w_logl.c: Likewise.
48817 * math/w_pow.c: Likewise.
48818 * math/w_powf.c: Likewise.
48819 * math/w_powl.c: Likewise.
48820 * math/w_remainder.c: Likewise.
48821 * math/w_remainderf.c: Likewise.
48822 * math/w_remainderl.c: Likewise.
48823 * math/w_scalb.c: Likewise.
48824 * math/w_scalbf.c: Likewise.
48825 * math/w_scalbl.c: Likewise.
48826 * math/w_sinh.c: Likewise.
48827 * math/w_sinhf.c: Likewise.
48828 * math/w_sinhl.c: Likewise.
48829 * math/w_sqrt.c: Likewise.
48830 * math/w_sqrtf.c: Likewise.
48831 * math/w_sqrtl.c: Likewise.
48832 * math/w_tgamma.c: Likewise.
48833 * math/w_tgammaf.c: Likewise.
48834 * math/w_tgammal.c: Likewise.
48835
6a621eb7
UD
48836 * po/ja.po: Update from translation team.
48837
bf582445
AJ
488382011-09-29 Andreas Jaeger <aj@suse.de>
48839
f9efbf3a
AJ
48840 [BZ #13179]
48841 * sunrpc/netname.c (netname2host): Fix logic.
48842
bf582445
AJ
48843 [BZ #6779]
48844 [BZ #6783]
48845 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
48846 correctly.
48847 * math/w_remainder.c (__remainder): Likewise.
48848 * math/w_remainderf.c (__remainderf): Likewise.
48849 * math/libm-test.inc (remainder_test): Add test cases.
48850
48693bea
AK
488512011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
48852
48853 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
48854 sdiv_qrnnd.
48855
42622229
LD
488562011-10-07 Ulrich Drepper <drepper@gmail.com>
48857
48858 * string/test-memcmp.c: Avoid unncessary #defines.
48859 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
48860
093ecf92
LD
488612011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
48862
48863 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
48864 Use new sse2 version for core i3 - i7 as it's faster
48865 than sse42 version.
48866 (bit_Prefer_PMINUB_for_stringop): New.
48867 * sysdeps/x86_64/rawmemchr.S: Update.
48868 Replace with faster SSE2 version.
48869 * sysdeps/x86_64/memrchr.S: New file.
48870 * sysdeps/x86_64/memchr.S: Update.
48871 Replace with faster SSE2 version.
48872
fde56e5c
MP
488732011-09-12 Marek Polacek <mpolacek@redhat.com>
48874
48875 * elf/dl-load.c (lose): Add cast to avoid warning.
48876
21fd49a9
UD
488772011-10-07 Ulrich Drepper <drepper@gmail.com>
48878
5a06e643
UD
48879 * po/ca.po: Update from translation team.
48880
684ae515
UD
48881 * inet/getnetgrent_r.c: Hook up nscd.
48882 * nscd/Makefile (routines): Add nscd_netgroup.
48883 (nscd-modules): Add netgroupcache.
48884 (CFLAGS-netgroupcache.c): Define.
48885 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
48886 (cache_search): Add const to second parameter.
48887 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
48888 INNETGR.
48889 (dbs): Add netgrdb entry.
48890 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
48891 (verify_persistent_db): Handle netgrdb.
48892 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
48893 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
48894 GETFDNETGR.
48895 (netgroup_response_header): Define.
48896 (innetgroup_response_header): Define.
48897 (datahead): Add netgroup_response_header and innetgroup_response_header
48898 elements.
48899 * nscd/nscd.conf: Add entries for netgroup cache.
48900 * nscd/nscd.h (dbtype): Add netgrdb.
48901 (_PATH_NSCD_NETGROUP_DB): Define.
48902 (netgroup_iov_disabled): Declare.
48903 (xmalloc, xcalloc, xrealloc): Move declarations here.
48904 (cache_search): Adjust prototype.
48905 Add netgroup-related prototypes.
48906 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
48907 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
48908 (__nscd_innetgr): Declare.
48909 * nscd/selinux.c (perms): Use access_vector_t as element type and
48910 add netgroup-related initializers.
48911 * nscd/netgroupcache.c: New file.
48912 * nscd/nscd_netgroup.c: New file.
48913 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
48914 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
48915 For four parameters use innetgr.
48916 * nss/nss_files/files-init.c: Add definition and callback for netgr.
48917 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
48918 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
48919 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
48920
21fd49a9
UD
48921 * nscd/connections.c (register_traced_file): Don't register file
48922 for disabled databases.
48923
054c0457
UD
489242011-10-06 Ulrich Drepper <drepper@gmail.com>
48925
32b63198
UD
48926 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
48927
054c0457
UD
48928 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
48929 from tree and freeing node.
48930
64031225
JO
489312011-09-25 Jiri Olsa <jolsa@redhat.com>
48932
48933 * nss/nsswitch.c (__nss_database_lookup): Handle
48934 nss_parse_service_list out of memory case.
48935
0490345c
JO
489362011-09-15 Jiri Olsa <jolsa@redhat.com>
48937
48938 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
48939 out of memory case.
48940
3a62d00d
AS
489412011-10-04 Andreas Schwab <schwab@redhat.com>
48942
48943 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
48944 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
48945 pass it down.
48946 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
48947 elf_machine_rela, elf_machine_lazy_rel.
48948 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
48949 (ELF_DYNAMIC_DO_REL): Likewise.
48950 (ELF_DYNAMIC_DO_RELA): Likewise.
48951 (ELF_DYNAMIC_RELOCATE): Likewise.
48952 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
48953 to ELF_DYNAMIC_DO_REL.
48954 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
48955 (dl_main): In trace mode always set __RTLD_NOIFUNC.
48956 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
48957 elf_machine_rela.
48958 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
48959 skip_ifunc, don't call ifunc function if non-zero.
48960 (elf_machine_rela): Likewise.
48961 (elf_machine_lazy_rel): Likewise.
48962 (elf_machine_lazy_rela): Likewise.
48963 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
48964 (elf_machine_lazy_rel): Likewise.
48965 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
48966 Likewise.
48967 (elf_machine_lazy_rel): Likewise.
48968 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
48969 Likewise.
48970 (elf_machine_lazy_rel): Likewise.
48971 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
48972 (elf_machine_lazy_rel): Likewise.
48973 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
48974 (elf_machine_lazy_rel): Likewise.
48975 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
48976 (elf_machine_lazy_rel): Likewise.
48977 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
48978 (elf_machine_lazy_rel): Likewise.
48979 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
48980 (elf_machine_lazy_rel): Likewise.
48981 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
48982 (elf_machine_lazy_rel): Likewise.
48983
68577918
UD
489842011-09-28 Ulrich Drepper <drepper@gmail.com>
48985
48986 * nss/nss_files/files-init.c (_nss_files_init): Use static
48987 initialization for all the *_traced_file variables.
48988
68822d74
AS
489892011-09-28 Andreas Schwab <schwab@redhat.com>
48990
48991 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
48992
2056100b
RM
489932011-09-27 Roland McGrath <roland@hack.frob.com>
48994
48995 [BZ #13226]
48996 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
48997
32c76b63
AS
489982011-09-27 Andreas Schwab <schwab@redhat.com>
48999
49000 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
49001 Reread the line before reparsing it.
49002
bf972c9d
AS
490032011-09-26 Andreas Schwab <schwab@redhat.com>
49004
49005 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
49006
e057a1b5
JM
490072011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
49008 Maxim Kuvyrkov <maxim@codesourcery.com>
49009 Joseph Myers <joseph@codesourcery.com>
49010
49011 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
49012 if needed for __stack_chk_guard.
49013
bc7e1c36
RM
490142011-09-19 Roland McGrath <roland@hack.frob.com>
49015
ecb1482f
RM
49016 * sysdeps/posix/spawni.c (script_execute): Always define it.
49017 It will be optimized away if unused.
49018 (maybe_script_execute): New function.
49019 (__spawni): Call it.
49020
bc7e1c36
RM
49021 * Makerules: Don't include tls.make.
49022 (config-tls): Always set to thread.
49023 * tls.make.c: File removed.
49024
1c3b002b
MF
490252011-09-19 Mike Frysinger <vapier@gentoo.org>
49026
49027 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
49028 * config.make.in (CPPFLAGS-config): New substituted variable.
49029
2840865d
UD
490302011-09-15 Ulrich Drepper <drepper@gmail.com>
49031
88738eb6
UD
49032 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
49033
cbf645a6 49034 [BZ #13192]
2840865d
UD
49035 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
49036 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
49037
b402e91a
RM
490382011-09-15 Roland McGrath <roland@hack.frob.com>
49039
49040 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
49041 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
49042 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
49043 (CALL_FAIL): Likewise.
49044 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
49045 (CALL_FAIL): Macro removed.
49046 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
49047
4c1a1f71
UD
490482011-09-15 Ulrich Drepper <drepper@gmail.com>
49049
49050 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
49051 for __FINITE_MATH_ONLY__ == 1.
49052
edc121be
AS
490532011-09-15 Andreas Schwab <schwab@redhat.com>
49054
49055 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
49056 __ieee754_sqrt instead of sqrt.
49057 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
49058 __ieee754_sqrtf instead of sqrtf.
49059 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
49060 __floorf instead of floorf.
49061 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
49062 __floorf, __truncf instead of floorf, truncf.
49063
cd205654
UD
490642011-09-14 Ulrich Drepper <drepper@gmail.com>
49065
ee4d0315
UD
49066 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
49067
cd205654
UD
49068 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
49069 __extern_always_inline.
49070 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
49071 32-bit.
49072
48b67d71
AS
490732011-09-14 Andreas Schwab <schwab@redhat.com>
49074
49075 * elf/rtld.c (dl_main): Also relocate in dependency order when
49076 doing symbol dependency testing.
49077
1ae12c75
AS
490782011-09-13 Andreas Schwab <schwab@linux-m68k.org>
49079
49080 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
49081 Always define `refsym'.
49082
995a80df
AS
490832011-09-13 Andreas Schwab <schwab@redhat.com>
49084
e529793b
AS
49085 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
49086 (__FD_ELT): Renamed from __FDELT.
49087 * misc/bits/select2.h (__FD_ELT): Likewise.
49088 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
49089 __FD_MASK instead of __FDELT, __FDMASK.
49090 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
49091 Likewise.
49092 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
49093 Likewise.
49094
52d4fef8
AS
49095 * elf/Makefile (gen-ldd): Fix pattern.
49096
995a80df
AS
49097 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
49098 (init_tls): Likewise.
49099
8682f8b0
UD
491002011-09-12 Ulrich Drepper <drepper@gmail.com>
49101
49102 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
49103
de82006d
AS
491042011-09-12 Andreas Schwab <schwab@redhat.com>
49105
a7c8e6a1
AS
49106 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
49107 `struct cmsghdr *' instead of `void *'.
49108 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
49109 Likewise.
49110
0f31fe77
AS
491112011-09-11 Andreas Schwab <schwab@linux-m68k.org>
49112
49113 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
49114 if non-absolute.
49115 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
49116 ldd_rewrite_script.
0f31fe77 49117
32b4c839
UD
491182011-09-11 Ulrich Drepper <drepper@gmail.com>
49119
83cd1420
UD
49120 * configure.in: Remove --with-tls option.
49121 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
49122 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
49123 out in case it is missing.
49124 * sysdeps/ia64/elf/configure.in: Likewise.
49125 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
49126 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
49127 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
49128 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
49129 * sysdeps/sh/elf/configure.in: Likewise.
49130 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
49131 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
49132 * sysdeps/x86_64/elf/configure.in: Likewise.
49133 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
49134 * sysdeps/mach/hurd/tls.h: Likewise.
49135
633f745d
UD
49136 [BZ #13067]
49137 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
49138
f318beb8
UD
49139 [BZ #13090]
49140 * configure.in: Fix use of AC_INIT.
49141
32b4c839
UD
49142 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
49143
3ce1f295
UD
491442011-09-10 Ulrich Drepper <drepper@gmail.com>
49145
bb016596
UD
49146 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
49147 __set_errno.
8e58439c
UD
49148 * malloc/hooks.c: Likewise.
49149
aebae053 49150 [BZ #11929]
02d46fc4
UD
49151 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
49152 variables statically.
49153 (narenas): Initialize.
49154 (list_lock): Initialize.
bb016596
UD
49155 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
49156 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
49157 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
49158 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
49159 Add initializers to main_arena and mp_.
49160 (malloc_state): Remove pagesize member. Change all users to use
49161 GLRO(dl_pagesize).
49162
49163 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
49164 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
49165 is always initialized.
49166
22a89187
UD
49167 * malloc/malloc.c: Removed unused configurations and dead code.
49168 * malloc/arena.c: Likewise.
49169 * malloc/hooks.c: Likewise.
02d46fc4 49170 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 49171
d063d164
UD
49172 * include/tls.h: Removed. USE___THREAD must always be defined.
49173 * bits/libc-tsd.h: Don't handle !USE___THREAD.
49174 * elf/dl-libc.c: Likewise.
49175 * elf/dl-tsd.c: Likewise.
49176 * include/errno.h: Likewise.
49177 * include/netdb.h: Likewise.
49178 * include/resolv.h: Likewise.
49179 * inet/herrno-loc.c: Likewise.
49180 * inet/herrno.c: Likewise.
49181 * malloc/arena.c: Likewise.
49182 * malloc/hooks.c: Likewise.
49183 * malloc/malloc.c: Likewise.
49184 * resolv/res-state.c: Likewise.
49185 * resolv/res_libc.c: Likewise.
49186 * sysdeps/i386/dl-machine.h: Likewise.
49187 * sysdeps/ia64/dl-machine.h: Likewise.
49188 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
49189 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
49190 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
49191 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
49192 * sysdeps/sh/dl-machine.h: Likewise.
49193 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
49194 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
49195 * sysdeps/unix/i386/sysdep.S: Likewise.
49196 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
49197 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
49198 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
49199 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
49200 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
49201 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
49202 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
49203 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
49204 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
49205 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
49206 * sysdeps/unix/x86_64/sysdep.S: Likewise.
49207 * sysdeps/x86_64/dl-machine.h: Likewise.
49208 * tls.make.c: Likewise.
49209
3ce1f295
UD
49210 * configure.in: Remove --with-__thread option. Make tests for
49211 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
49212 tls_model attribute fail if no support is available. Remove
49213 USE_IN_LIBIO.
49214 * Makeconfig: Adjust for dropped configure option. All features are
49215 now mandatory.
49216 * Makerules: Likewise.
49217 * Versions.def: Likewise.
49218 * argp/argp-fmtstream.c: Likewise.
49219 * argp/argp-fmtstream.h: Likewise.
49220 * argp/argp-help.c: Likewise.
49221 * assert/assert.c: Likewise.
49222 * config.h.in: Likewise.
49223 * config.make.in: Likewise.
49224 * configure: Likewise.
49225 * configure.in: Likewise.
49226 * csu/Versions: Likewise.
49227 * csu/init.c: Likewise.
49228 * elf/tst-audit2.c: Likewise.
49229 * elf/tst-tls10.c: Likewise.
49230 * elf/tst-tls10.h: Likewise.
49231 * elf/tst-tls11.c: Likewise.
49232 * elf/tst-tls12.c: Likewise.
49233 * elf/tst-tls14.c: Likewise.
49234 * elf/tst-tlsmod11.c: Likewise.
49235 * elf/tst-tlsmod12.c: Likewise.
49236 * elf/tst-tlsmod13.c: Likewise.
49237 * elf/tst-tlsmod13a.c: Likewise.
49238 * elf/tst-tlsmod14a.c: Likewise.
49239 * elf/tst-tlsmod15b.c: Likewise.
49240 * elf/tst-tlsmod16a.c: Likewise.
49241 * elf/tst-tlsmod16b.c: Likewise.
49242 * elf/tst-tlsmod7.c: Likewise.
49243 * elf/tst-tlsmod8.c: Likewise.
49244 * elf/tst-tlsmod9.c: Likewise.
49245 * gmon/gmon.c: Likewise.
49246 * grp/fgetgrent_r.c: Likewise.
49247 * grp/putgrent.c: Likewise.
49248 * hurd/fopenport.c: Likewise.
49249 * include/libc-symbols.h: Likewise.
49250 * include/tls.h: Likewise.
49251 * intl/gettextP.h: Likewise.
49252 * intl/loadinfo.h: Likewise.
49253 * locale/global-locale.c: Likewise.
49254 * locale/localeinfo.h: Likewise.
49255 * mach/devstream.c: Likewise.
49256 * malloc/arena.c: Likewise.
49257 * malloc/set-freeres.c: Likewise.
49258 * misc/err.c: Likewise.
49259 * misc/getttyent.c: Likewise.
49260 * misc/mntent_r.c: Likewise.
49261 * posix/getopt.c: Likewise.
49262 * posix/wordexp.c: Likewise.
49263 * pwd/fgetpwent_r.c: Likewise.
49264 * resolv/Versions: Likewise.
49265 * resolv/res_hconf.c: Likewise.
49266 * shadow/fgetspent_r.c: Likewise.
49267 * shadow/putspent.c: Likewise.
49268 * stdio-common/printf_fphex.c: Likewise.
49269 * stdio-common/tmpfile.c: Likewise.
49270 * stdlib/abort.c: Likewise.
49271 * stdlib/fmtmsg.c: Likewise.
49272 * sunrpc/auth_unix.c: Likewise.
49273 * sunrpc/clnt_perr.c: Likewise.
49274 * sunrpc/clnt_tcp.c: Likewise.
49275 * sunrpc/clnt_udp.c: Likewise.
49276 * sunrpc/clnt_unix.c: Likewise.
49277 * sunrpc/openchild.c: Likewise.
49278 * sunrpc/svc_simple.c: Likewise.
49279 * sunrpc/svc_tcp.c: Likewise.
49280 * sunrpc/svc_udp.c: Likewise.
49281 * sunrpc/svc_unix.c: Likewise.
49282 * sunrpc/xdr.c: Likewise.
49283 * sunrpc/xdr_array.c: Likewise.
49284 * sunrpc/xdr_rec.c: Likewise.
49285 * sunrpc/xdr_ref.c: Likewise.
49286 * sunrpc/xdr_stdio.c: Likewise.
49287
1248c1c4
PB
492882011-09-09 Ulrich Drepper <drepper@gmail.com>
49289
49290 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
49291
492922011-07-03 Andreas Jaeger <aj@suse.de>
49293
49294 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
49295 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
49296 regenerate with gen-libm-tests.pl.
49297
492982010-05-12 Petr Baudis <pasky@suse.cz>
49299
49300 [BZ #11589]
49301 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
49302 around j0() zero points by switching to j1().
49303 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
49304 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
49305 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
49306 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
49307
f22e1074
UD
493082011-09-09 Ulrich Drepper <drepper@gmail.com>
49309
f19009c1
UD
49310 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
49311 instead of 0.
49312 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 49313 instead of 0.
f19009c1
UD
49314 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
49315 Patch in part by Pavel Roskin <proski@gnu.org>.
49316
3f8cc204
UD
49317 [BZ #13138]
49318 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
49319 realloc.
49320 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
49321 Free memory block if necessary.
49322
f22e1074
UD
49323 [BZ #12847]
49324 * libio/genops.c (INTDEF): For string streams the _lock pointer can
49325 be NULL. Don't lock in this case.
49326
0a2349f9
RM
493272011-09-09 Roland McGrath <roland@hack.frob.com>
49328
49329 * elf/elf.h (ELFOSABI_GNU): New macro.
49330 (ELFOSABI_LINUX): Define to that.
49331
f3cdd467
DZ
493322011-07-29 Denis Zaitceff <zaitceff@gmail.com>
49333
49334 * string/strncat.c (strncat): Undef the symbol in case it has been
49335 defined in bits/string.h.
49336
74718d13
UD
493372011-09-09 Ulrich Drepper <drepper@gmail.com>
49338
633e9e0f
UD
49339 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
49340
0a2349f9 49341 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
49342 link map.
49343
f9924780
AJ
493442011-08-17 Andreas Jaeger <aj@suse.de>
49345
49346 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
49347
7f5517aa
PP
493482011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
49349 Ian Lance Taylor <iant@google.com>
49350
49351 * math/libm-test.inc (lround_test): New testcase.
49352 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
49353
762011fe
UD
493542011-09-08 Ulrich Drepper <drepper@gmail.com>
49355
92963737
UD
49356 * Makefile: Remove support for automatic cvs check-ins.
49357 * Makerules: Likewise.
49358 * config.make.in: Likewise.
49359 * configure.in: Likewise.
49360 * intl/Makefile: Likewise.
49361 * locale/Makefile: Likewise.
49362 * po/Makefile: Likewise.
49363 * posix/Makefile: Likewise.
49364 * sysdeps/gnu/Makefile: Likewise.
49365 * sysdeps/mach/hurd/Makefile: Likewise.
49366 * sysdeps/sparc/sparc32/Makefile: Likewise.
49367
b0727fd8
JS
49368 [BZ #13118]
49369 * posix/Makefile (bug-regex32-ENV): Define.
49370 Patch by John Stanley <jpsinthemix@verizon.net>.
49371
a0f33f99
UD
49372 * misc/Makefile (headers): Add bits/select2.h.
49373 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
49374 * misc/bits/select2.h: New file.
49375 * include/bits/select2.h: New file.
49376 * debug/Makefile (routines): Add fdelt_chk.
49377 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
49378 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
49379 FD_ISSET.
49380 * debug/fdelt_chk.c: New file.
49381
762011fe
UD
49382 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
49383 * wcsmbs/test-wmemcmp.c: Likewise.
49384 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 49385 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
49386
493872011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
49388
49389 * string/Makefile (strop-tests): Add memcmp.
49390 * string/test-wmemcmp.c: New file.
49391 * string/test-memcmp.c: Add wmemcmp support.
49392
7f513ec8
RM
493932011-09-08 Roland McGrath <roland@hack.frob.com>
49394
0442afb4
RM
49395 [BZ #13153]
49396 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
49397 2011-07-19 change.
49398
7f513ec8
RM
49399 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
49400 garbage value in a __mach_port_mod_refs call in the cases of the
49401 task-self and thread-self ports.
49402
a12b2239
ST
494032011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
49404
49405 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
49406
610f9ab4
AS
494072011-09-08 Andreas Schwab <schwab@redhat.com>
49408
7f513ec8 49409 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 49410
48882a1a
LD
494112011-09-07 Ulrich Drepper <drepper@gmail.com>
49412
b49865be
UD
49413 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
49414
fdc86bc9
UD
49415 * elf/dl-libc.c (dlerror_run): Pass back error code from
49416 dl_catch_error.
49417
c966526a
UD
49418 [BZ #13123]
49419 * elf/dl-load.c (lose): Free l_origin if it is valid.
49420
48882a1a
LD
49421 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
49422 names.
49423 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
49424 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
49425 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
49426 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
49427 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
49428 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
49429
77a2a8b4
AZ
494302011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49431
49432 * sysdeps/powerpc/fpu/e_hypot.c: New file.
49433 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
49434 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
49435 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
49436 * sysdeps/powerpc/fpu/k_cosf.c: New file.
49437 * sysdeps/powerpc/fpu/k_sinf.c: New file.
49438 * sysdeps/powerpc/fpu/s_cosf.c: New file.
49439 * sysdeps/powerpc/fpu/s_sinf.c: New file.
49440 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
49441 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
49442
24f579d8
AM
494432011-08-15 Alan Modra <amodra@gmail.com>
49444
49445 [BZ #13092]
49446 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
49447 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
49448 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
49449 ppc_mcount to static-only-routines.
49450 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
49451 __mcount_internal.
49452 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
49453 __mcount_internal with usual JUMPTARGET. Remove useless nop.
49454
3d4837df
UD
494552011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
49456
49457 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
49458 for finite and infinity parameters.
49459
22700377
WS
494602011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
49461
49462 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
49463 and add nop instructions for throughput optimization.
49464 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
49465
5025581e
WS
494662011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
49467
49468 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
49469 aligned copy for power7 with vector-scalar instructions.
49470 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
49471
08a300c9
L
494722011-07-24 H.J. Lu <hongjiu.lu@intel.com>
49473
49474 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
49475 AVX check.
49476
59178ef9
AS
494772011-09-07 Andreas Schwab <schwab@redhat.com>
49478
49479 [BZ #13144]
49480 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
49481 last change.
49482
e38ba7ab
UD
494832011-09-07 Ulrich Drepper <drepper@gmail.com>
49484
49485 * sysdeps/unix/sysv/linux/x86_64/init-first.c
49486 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
49487 syscall wrapper around clock_gettime in __vdso_clock_gettime.
49488 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
49489 clock_gettime.
49490
d53a73ac
UD
494912011-09-06 Ulrich Drepper <drepper@gmail.com>
49492
fc8bffcc
UD
49493 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
49494 Forgot to demangle the pointer.
49495
ceaa0c5d
UD
49496 * sysdeps/i386/sysdep.h: Define atom_text_section.
49497 * sysdeps/x86_64/sysdep.h: Likewise.
49498 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
49499 section with atom_text_section.
49500 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
49501 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
49502 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
49503 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
49504 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
49505
a77d3c17
UD
49506 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
49507 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
49508 already be defined. Change to take two parameters and don't assign
49509 result to variable. Adjust all users.
49510 Define INTERNAL_GETTIME if not already defined.
49511 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
49512 call.
49513 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
49514 HAVE_CLOCK_GETTIME_VSYSCALL.
49515 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
49516
d53a73ac
UD
49517 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
49518 gettimeofday vsyscall, just use time.
49519
a8f84144
AS
495202011-09-06 Andreas Schwab <schwab@redhat.com>
49521
49522 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
49523 <errno.h>.
49524
ef606249
UD
495252011-09-06 Ulrich Drepper <drepper@gmail.com>
49526
49527 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
49528 syscall on x86-64.
49529 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
49530 syscall.
49531 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
49532 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
49533 syscall if possible.
49534
6585cb60
UD
495352011-09-05 Ulrich Drepper <drepper@gmail.com>
49536
49537 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
49538 e_ident. Don't pass to find_mapsXX.
49539 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
49540
a5f524e4
LD
495412011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
49542
49543 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
49544 strchr-sse2-no-bsf strrchr-sse2-no-bsf
49545 * sysdeps/x86_64/multiarch/strchr.S: Update.
49546 Check bit_slow_BSF bit.
49547 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
49548 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
49549 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
49550
554881ef
UD
495512011-09-05 Ulrich Drepper <drepper@gmail.com>
49552
d96de963
UD
49553 [BZ #13134]
49554 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
49555 before glibc 2.15.
49556 (tryshell): Define.
49557 (__spawni): Change last parameter to be flag. Test
49558 SPAWN_XFLAGS_USE_PATH flag to use path or not.
49559 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
49560 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
49561 * posix/spawni.c: Likewise.
49562 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
49563 * posix/spawnp.c: Likewise. Change normal version to use
49564 SPAWN_XFLAGS_USE_PATH.
49565 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
49566 SPAWN_XFLAGS_TRY_SHELL.
49567
d48e5868
UD
49568 [BZ #13150]
49569 * posix/glob.h: Remove gcc 1.x support.
49570
554881ef
UD
49571 [BZ #13068]
49572 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
49573
693fb948
LD
495742011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
49575
49576 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
49577 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
49578 strrchr-sse2-bsf
49579 * sysdeps/i386/i686/multiarch/strchr.S: New file.
49580 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
49581 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
49582 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
49583 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
49584 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
49585
1b48c537
UD
495862011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
49587
49d42c37
UD
49588 * sysdeps/x86_64/wcscmp.S: New file.
49589
1b48c537
UD
49590 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
49591 wcscmp-c wcscmp-sse2
49592 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
49593 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
49594 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
49595 * wcsmbs/wcscmp.c: Allow renaming.
49596
15c95c5d
DM
495972011-09-05 David S. Miller <davem@davemloft.net>
49598
49599 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
49600 stack slot, rather than the struct return pointer slot.
49601 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
49602 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
49603 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
49604 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
49605
2f0ad8f3
UD
496062011-09-05 Ulrich Drepper <drepper@gmail.com>
49607
d88ae418
UD
49608 * po/ja.po: Update from translation team.
49609
2f0ad8f3
UD
49610 [BZ #13144]
49611 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
49612 kernel in 64-bit binaries.
49613
5f4318d1
DM
496142011-09-01 David S. Miller <davem@davemloft.net>
49615
49616 * elf/elf.h (HWCAP_SPARC_*): Move to..
49617 * sysdeps/sparc/sysdep.h: this new file and add new values.
49618 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
49619 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
49620 _DL_HWCAP_COUNT to 24.
49621 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
49622 entries.
49623 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
49624 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
49625 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
49626 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
49627 instead of magic constants.
49628 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
49629
3ba57516
DM
496302011-08-31 David S. Miller <davem@davemloft.net>
49631
49632 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
49633 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
49634 Reimplement to do errno handling inline.
49635 (SYSCALL_ERROR_HANDLER): New macro.
49636 (__SYSCALL_STRING): Do not do errno handling in asm.
49637 (__CLONE_SYSCALL_STRING): Delete.
49638 (__INTERNAL_SYSCALL_STRING): Delete.
49639 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
49640 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
49641 (PSEUDO): Reimplement to do errno handling inline.
49642 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
49643 (SYSCALL_ERROR_HANDLER): New macro.
49644 (__SYSCALL_STRING): Do not do errno handling in asm.
49645 (__CLONE_SYSCALL_STRING): Delete.
49646 (__INTERNAL_SYSCALL_STRING): Delete.
49647 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
49648 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
49649 i386.
49650 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
49651 (inline_syscall*): Add 'err' argument.
49652 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
49653 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
49654 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
49655 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
49656
49657 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
49658 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
49659
2bc17433
AS
496602011-08-30 Andreas Schwab <schwab@redhat.com>
49661
49662 * elf/rtld.c (dl_main): Relocate objects in dependency order.
49663
fbeb5f4d
JO
496642011-08-29 Jiri Olsa <jolsa@redhat.com>
49665
49666 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
49667 directive.
49668
ad69cc26
DM
496692011-08-24 David S. Miller <davem@davemloft.net>
49670
49671 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
49672
39dd69df
AS
496732011-08-24 Andreas Schwab <schwab@redhat.com>
49674
49675 * elf/Makefile: Add rules to build and run unload8 test.
49676 * elf/unload8.c: New file.
49677 * elf/unload8mod1.c: New file.
49678 * elf/unload8mod1x.c: New file.
49679 * elf/unload8mod2.c: New file.
49680 * elf/unload8mod3.c: New file.
49681
49682 * elf/dl-close.c (_dl_close_worker): Reset private search list if
49683 it wasn't used.
49684
2c0b250a
DM
496852011-08-23 David S. Miller <davem@davemloft.net>
49686
49687 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
49688 subtract stack bias.
49689 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
49690 %sp not %fp in calculations.
49691 (_JMPBUF_UNWINDS_ADJ): Likewise.
49692
22044b48
DM
49693 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
49694 (aio_suspend): Call it to force an exception region around the
49695 AIO_MISC_WAIT() invocation.
49696
2cae4995
AS
496972011-08-23 Andreas Schwab <schwab@redhat.com>
49698
49699 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
49700 backslash.
49701
873a772e
AJ
497022011-07-04 Aurelien Jarno <aurelien@aurel32.net>
49703
49704 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
49705 protection macro.
49706 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
49707 and <dl-machine.h>.
49708 (Elf64_FuncDesc): Remove.
49709
25ad0df1
DM
497102011-08-22 David S. Miller <davem@davemloft.net>
49711
49712 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
49713 sigaltstack check, add missing cfi directives.
49714 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
49715 missing cfi directives, and sigaltstack handling.
49716
e888bcbe
AS
497172011-08-16 Andreas Schwab <schwab@redhat.com>
49718
49719 [BZ #11724]
49720 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
49721 object is seen twice.
49722 * elf/dl-fini.c (_dl_sort_fini): Likewise.
49723
49724 * elf/Makefile (distribute): Add tst-initorder2.c.
49725 (tests): Add tst-initorder2.
49726 (modules-names): Add tst-initorder2a tst-initorder2b
49727 tst-initorder2c tst-initorder2d. Add rules to build them.
49728 ($(objpfx)tst-initorder2.out): New rule.
49729 * elf/tst-initorder2.c: New file.
49730 * elf/tst-initorder2.exp: New file.
49731
87162f46
AS
497322011-08-22 Andreas Schwab <schwab@redhat.com>
49733
70538b7f
AS
49734 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
49735
f55ffe58
AS
49736 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
49737 dependencies back to end of function.
49738
87162f46
AS
49739 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
49740 $(elfobjdir)/ld.so.
49741
91b392a4
UD
497422011-08-21 Ulrich Drepper <drepper@gmail.com>
49743
49744 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
49745 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
49746 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
49747 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
49748 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
49749 of __vdso_gettimeofday.
49750 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
49751 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
49752 attribute_hidden.
49753 (_libc_vdso_platform_setup): Remove initialization of
49754 __vdso_gettimeofday and __vdso_time.
49755
5c43483f
UD
497562011-08-20 Ulrich Drepper <drepper@gmail.com>
49757
775a77e7
UD
49758 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
49759 and fgetc_unlocked.
49760 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
49761 getc_unlocked.
89f447ed 49762
49c74ba9
UD
49763 * elf/dl-open.c (add_to_global): Report additions to the global scope
49764 for LD_DEBUG=scopes.
49765 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 49766 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 49767
5c43483f
UD
49768 [BZ #13114]
49769 * stdio-common/Makefile (tests): Add bug24.
49770 * stdio-common/bug24.c: New file.
49771
a101b025
AJ
497722011-08-19 Andreas Jaeger <aj@suse.de>
49773
49774 [BZ #13114]
49775 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
49776 non-existant file when using close-on-exec mode.
49777
c88f1766
UD
497782011-08-20 Ulrich Drepper <drepper@gmail.com>
49779
0276a718
UD
49780 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
49781 the very first instruction.
49782
c88f1766
UD
49783 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
49784 the CFI state in the end.
49785 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
49786 inclusion of dl-trampoline.h.
49787 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
49788
51ccffa0
AS
497892011-08-19 Andreas Schwab <schwab@redhat.com>
49790
94d7165f
AS
49791 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
49792 expectations for long double.
49793
51ccffa0
AS
49794 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
49795 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
49796
fd708658 497972011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
49798
49799 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
49800 artificual limit depends upon the system page size.
49801
44f0a71e
UD
498022011-08-17 Ulrich Drepper <drepper@gmail.com>
49803
49804 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
49805 * resolv/Makefile: Define CFLAGS-libresolv.
49806
8de79a24
AS
498072011-08-17 Andreas Schwab <schwab@redhat.com>
49808
49809 * nss/makedb.c (compute_tables): Make variables used in nested
49810 function static.
49811
27724598
UD
498122011-08-17 Ulrich Drepper <drepper@gmail.com>
49813
c5305d88
UD
49814 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
49815 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
49816 if buffer was too small.
49817
27724598
UD
49818 * elf/pldd.c (main): Attach to all threads in the process.
49819 Rewrite /proc handling to use *at functions.
49820
076fe015
UD
498212011-08-16 Ulrich Drepper <drepper@gmail.com>
49822
174baab3
UD
49823 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
49824 specifies first scope to show.
49825 (dl_open_worker): Update callers. Move printing scope of new
49826 object to before the relocation.
44f0a71e 49827 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
49828 * sysdeps/generic/ldsodefs.h: Update declaration.
49829
076fe015
UD
49830 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
49831 string for the scope number.
49832
a60df2c3
UD
498332011-08-14 Ulrich Drepper <drepper@gmail.com>
49834
49835 * nscd/servicescache.c (cache_addserv): Make sure written is always
49836 initialized.
49837
5e4287d1
RM
498382011-08-14 Roland McGrath <roland@hack.frob.com>
49839
85ae0589
RM
49840 * sysdeps/i386/i486/bits/atomic.h
49841 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
49842 statement expression, so as to suppress "set but not used" warning.
49843 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
49844
69f63097
RM
49845 * string/strncat.c (STRNCAT): Use prototype definition.
49846
675456ef
RM
49847 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
49848 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
49849 -Iprograms here.
49850 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
49851 (localedef-modules): Add localedef.
49852 (locale-modules): Add locale.
49853
5e4287d1
RM
49854 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
49855 * elf/rtld.c (dl_main): Invert order of assignment in last change,
49856 to avoid a warning.
49857
9c96ff23
DM
498582011-08-14 David S. Miller <davem@davemloft.net>
49859
49860 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
49861 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
49862
f9ddf089
UD
498632011-08-13 Ulrich Drepper <drepper@gmail.com>
49864
44f0a71e 49865 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
49866 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
49867 * elf/rtld.c (dl_main): Set l_name of vDSO.
49868 Call _dl_show_scope when DL_DEBUG_SCOPES.
49869 (process_dl_debug): Recognize scopes flag and also set it for all.
49870 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
49871 Declare _dl_show_scope.
49872
1dc27704
UD
49873 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
49874 (do_dlopen): Pass caller_dlopen to dl_open.
49875 (__libc_dlopen_mode): Initialize caller_dlopen.
49876
f9ddf089
UD
49877 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
49878 of libc. Make tolower call locale-independent. Optimize a bit by
49879 using isdigit instead of isalnum.
49880 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
49881
9ac533d3
UD
498822011-08-12 Ulrich Drepper <drepper@gmail.com>
49883
49884 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
49885 was a dependency or dynamically loaded.
49886
89edf2e9
UD
498872011-08-11 Ulrich Drepper <drepper@gmail.com>
49888
8e999d29
UD
49889 * intl/l10nflist.c: Allow architecture-specific pop function.
49890 * sysdeps/x86_64/l10nflist.c: New file.
49891
89edf2e9
UD
49892 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
49893 classification.
49894
14d96785
AS
498952011-08-10 Andreas Schwab <schwab@redhat.com>
49896
49897 * include/dirent.h: Add libc_hidden_proto for scandirat and
49898 scandirat64. Don't declare __scandirat64.
49899 * dirent/scandirat.c: Add libc_hidden_def.
49900 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
49901 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
49902
6761ac04
DM
499032011-08-10 David S. Miller <davem@davemloft.net>
49904
49905 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
49906 enum.
49907 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
49908 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
49909 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
49910
c55fbd1e
UD
499112011-08-09 Ulrich Drepper <drepper@gmail.com>
49912
49913 * Versions.def [libc]: Add GLIBC_2.15.
49914 * dirent/Makefile (routines): Add scandirat and scandirat64.
49915 * dirent/Versions [libc]: Export scandirat and scandirat64 for
49916 GLIBC_2.15.
49917 * dirent/dirent.h: Declare scandirat and scandirat64.
49918 * dirent/scandirat.c: New file.
49919 * dirent/scandirat64.c: New file.
49920 * sysdeps/wordsize-64/scandirat.c: New file.
49921 * sysdeps/wordsize-64/scandirat64.c: New file.
49922 * dirent/opendir.c: Define opendirat.
49923 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
49924 using scandirat.
49925 * dirent/scandir64.c: Adjust for scandir.c change.
49926 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
49927 __scandirat64, and __scandir_cancel_handler.
49928 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
49929 additional parameter and use openat instead of open (outside of ld.so).
49930 Add new __opendir as wrapper around __opendirat.
49931 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
49932 here without requiring old scandirat implementation.
49933
879165f2
UD
499342011-08-08 Ulrich Drepper <drepper@gmail.com>
49935
49936 * dirent/scandir.c (cancel_handler): Renamed to
49937 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
49938 defined. Adjust users.
49939 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
49940 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
49941
cb7e923b
UD
499422011-08-04 Ulrich Drepper <drepper@gmail.com>
49943
16292edd
UD
49944 * string/test-string.h (IMPL): Use __STRING to expand name and then
49945 stringify it.
49946
cb7e923b
UD
49947 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
49948 of cleanups.
49949
cff82933
LD
499502011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
49951
49952 * string/Makefile: Update.
49953 (strop-tests): Append strncat.
49954 * string/test-wcscmp.c: New file.
49955 New comprehensive test for wcscmp.
49956 * string/test-strcmp.c: Update.
49957 (WIDE): New define.
49958
9be9bfcc
AS
499592011-07-22 Andreas Schwab <schwab@redhat.com>
49960
49961 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
49962 line.
49963
2e96f1c7
AS
499642011-07-26 Andreas Schwab <schwab@redhat.com>
49965
49966 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
49967 encoding to ACE if AI_IDN.
49968
85188888
JJ
499692011-08-01 Jakub Jelinek <jakub@redhat.com>
49970
49971 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
49972 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
49973
5fa16e9b
LD
499742011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
49975
49976 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
49977 Fix overflow bug in strncat.
49978 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
49979
49980 * string/test-strncat.c: Update.
49981 Add new tests for checking overflow bugs.
49982
499832011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
49984
49985 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
49986 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
49987 * sysdeps/i386/i686/multiarch/strcat.S: New file.
49988 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
49989 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
49990 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
49991 * sysdeps/i386/i686/multiarch/strncat.S: New file.
49992 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
49993 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
49994
49995 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
49996 (USE_AS_STRCAT): Define.
49997 Add strcat and strncat support.
49998 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
49999
8c1a459f
AS
500002011-07-25 Andreas Schwab <schwab@redhat.com>
50001
50002 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
50003 __n bigger than INT_MAX+1.
50004 (__strncmp_g): Likewise.
50005
bba33c28
UD
500062011-07-23 Ulrich Drepper <drepper@gmail.com>
50007
798be72d
UD
50008 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
50009 * libio/stido.h: Likewise.
50010
8accd4dc
UD
50011 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
50012 (AF_NFC): Define.
50013 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
50014 (AF_NFC): Define.
50015
cbff0d96
UD
50016 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
50017 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
50018 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
50019 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
50020 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
50021
9191c04a
UD
50022 [BZ #13021]
50023 * scripts/test-installation.pl: Don't expect libnss_test1 to be
50024 installed.
50025
bba33c28
UD
50026 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
50027 typo.
50028 (_dl_x86_64_save_sse): Likewise.
50029
90f139dd
UD
500302011-07-22 Ulrich Drepper <drepper@gmail.com>
50031
1aae088a
UD
50032 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
50033 OSXSAVE.
50034 (_dl_x86_64_save_sse): Likewise.
50035
8e2045f5
UD
50036 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
50037
90f139dd
UD
50038 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
50039
1d002f25
AS
500402011-07-21 Andreas Schwab <schwab@redhat.com>
50041
50042 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
50043 change.
50044 (_dl_x86_64_save_sse): Use correct AVX check.
50045
21137f89
UD
500462011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50047
50048 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
50049 bug in strncpy/strncat.
50050 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
50051
a65c0b7a
UD
500522011-07-21 Ulrich Drepper <drepper@gmail.com>
50053
50054 * string/tester.c (test_strcat): Add tests for different alignments
50055 of source and destination.
50056 (test_strncat): Likewise.
50057
6986b98a
UD
500582011-07-20 Ulrich Drepper <drepper@gmail.com>
50059
90bb2039
UD
50060 [BZ #12852]
50061 * posix/glob.c (glob): Check passed in values before using them in
50062 expressions to avoid some overflows.
50063 (glob_in_dir): Likewise.
50064
5644ef54
UD
50065 [BZ #13007]
50066 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
50067 check for AVX enablement so that we don't crash with old kernels and
50068 new hardware.
50069 * elf/tst-audit4.c: Add same checks here.
50070 * elf/tst-audit6.c: Likewise.
50071
50072 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 50073
bfc9dc9b
AS
500742011-07-09 Andreas Schwab <schwab@linux-m68k.org>
50075
50076 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
50077
702e64bb
UD
500782011-07-20 Ulrich Drepper <drepper@gmail.com>
50079
50080 * po/cs.po: Update from translation team.
50081 * po/bg.po: Likewise.
50082
295e904f
MP
500832011-07-12 Marek Polacek <mpolacek@redhat.com>
50084
50085 * misc/sys/cdefs.h: Add support for const attribute.
50086 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
50087 to gnu_dev_{major,minor,makedev} functions.
50088
3ff94596
MP
500892011-07-20 Marek Polacek <mpolacek@redhat.com>
50090
50091 * intl/dcigettext.c (get_output_charset): Add missing bracket.
50092
28b59fca
AS
500932011-07-20 Andreas Schwab <schwab@redhat.com>
50094
50095 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
50096 strlen results.
50097
19df733e
AK
500982011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
50099
50100 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
50101 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
50102 register in order to avoid conflicts with the soft frame pointer
50103 being held in r11 when necessary.
50104 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
50105 (INTERNAL_VSYSCALL_NCS): Likewise.
50106
c8835729
MP
501072011-07-14 Marek Polacek <mpolacek@redhat.com>
50108
50109 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
50110 * elf/dl-fini.c (_dl_fini): Adjust caller.
50111 * elf/dl-close.c (_dl_close_worker): Likewise.
50112 * sysdeps/generic/ldsodefs.h: Adjust declaration.
50113
b902330c
MP
501142011-07-15 Marek Polacek <mpolacek@redhat.com>
50115
8991e135
MP
50116 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
50117 "aux_cache->nlibs < 0".
50118
b902330c
MP
50119 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
50120 in the reload-count case.
50121
99710781
LD
501222011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
50123
50124 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
50125 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
50126 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
50127 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
50128 * sysdeps/x86_64/multiarch/strcat.S: New file.
50129 * sysdeps/x86_64/multiarch/strncat.S: New file.
50130 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
50131 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
50132 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
50133 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
50134 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
50135 (USE_AS_STRCAT): Define.
50136 Add strcat and strncat support.
50137 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
50138 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
50139 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
50140 * string/strncat.c: Update.
50141 (USE_AS_STRNCAT): Define.
50142 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
50143 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
50144 and i7.
50145 * sysdeps/x86_64/multiarch/init-arch.h
50146 (bit_Prefer_PMINUB_for_stringop): New.
50147 (index_Prefer_PMINUB_for_stringop): Likewise.
50148 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
50149 bit_Prefer_PMINUB_for_stringop.
50150
7dc6bd90
UD
501512011-07-19 Ulrich Drepper <drepper@gmail.com>
50152
50153 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
50154 buffer64.
50155 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
50156 of casting of buffer.
50157 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
50158 buffer32 and buffer64.
50159 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
50160 writes instead of casting of buffer.
50161 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
50162 buffer32.
50163 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
50164 casting of buffer.
50165
e0e72284
AS
501662011-07-19 Andreas Schwab <schwab@redhat.com>
50167
50168 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
50169
feb1eb0b
UD
501702011-07-19 Ulrich Drepper <drepper@gmail.com>
50171
50172 * nscd/nscd.c (termination_handler): Don't do anything for a database
50173 if it has not yet been initialized.
50174
298711ff
UD
501752011-07-18 Ulrich Drepper <drepper@gmail.com>
50176
50177 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
50178
501792011-07-15 Marek Polacek <mpolacek@redhat.com>
50180
50181 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
50182
f9d68389
UD
501832011-07-18 Ulrich Drepper <drepper@gmail.com>
50184
50185 * po/nl.po: Update from translation team.
50186 * po/sv.po: Likewise.
50187
db290cf5
RM
501882011-07-16 Roland McGrath <roland@hack.frob.com>
50189
50190 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
50191 now disallowed by GCC.
5c550700 50192
fd5e21c7
RM
50193 * configure.in (use-default-link): Default to yes if a test -shared
50194 link meets our qualifications.
50195 * configure: Regenerated.
50196
5c550700
RM
50197 * config.make.in (output-format): New variable.
50198 * configure.in: Check for ld --print-output-format support.
50199 * configure: Regenerated.
50200 * Makerules ($(common-objpfx)format.lds)
50201 [$(output-format) != unknown]: Just use $(output-format),
50202 instead of the linker-script munging.
50203
9fa2c032
RM
502042011-07-14 Roland McGrath <roland@hack.frob.com>
50205
a6928d51
RM
50206 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
50207 of $(common-objpfx)shlib.lds.
50208 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
50209
661607b3
RM
50210 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
50211 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
50212
9fa2c032
RM
50213 * configure.in (-z relro check): Adjust test code to add a large
50214 writable data section after it.
50215 * configure: Regenerated.
50216
defe9061
RM
502172011-07-11 Roland McGrath <roland@hack.frob.com>
50218
50219 * configure.in (-z relro check): Fix test code to make the variable
50220 truly const.
50221 * configure: Regenerated.
50222
319b9ad4
UD
502232011-07-11 Ulrich Drepper <drepper@gmail.com>
50224
50225 * nscd/nscd.h (struct traced_file): Define.
50226 (struct database_dyn): Remove inotify_descr, reset_res, and filename
50227 elements. Add traced_files.
50228 (inotify_fd): Declare.
50229 (register_traced_file): Declare.
50230 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
50231 (inotify_fd): Export.
50232 (resolv_conf_descr): Remove.
50233 (nscd_init): Move inotify descriptor creation to main.
50234 Don't register files for notification here.
50235 (register_traced_file): New function.
50236 (invalidate_cache): Don't use reset_res to determine whether to call
50237 res_init, go through the list of registered files.
50238 (main_loop_poll): The inotify descriptors are now stored in the
50239 structures for the traced files.
50240 (main_loop_epoll): Likewise
50241 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
50242 to __nss_disable_nscd.
50243 * nscd/cache.c (prune_cache): There is no single inotify descriptor
50244 for a database anymore. Check the records for all the registered
50245 files instead.
50246 * nss/Makefile (libnss_files-routines): Add files-init.
50247 (libnss_db-routines): Add db-init.
50248 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
50249 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
50250 * nss/nss_db/db-init.c: New file.
50251 * nss/nss_files/files-init.c: New file.
50252 * nss/nsswitch.c (nss_load_library): New function. Broken out of
50253 __nss_lookup_function.
50254 (__nss_lookup_function): Call nss_load_library.
50255 (nss_load_all_libraries): New function.
50256 (__nss_disable_nscd): Take parameter with callback function for files
50257 to register. Set is_nscd. Load all the DSOs for the NSS modules
50258 used for the cached services.
50259 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
50260 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
50261 options for features to all the files in nscd.
50262
50263 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
50264
23bee3e8
RM
502652011-07-10 Roland McGrath <roland@hack.frob.com>
50266
50267 * csu/elf-init.c (__libc_csu_init): Comment typo.
50268
46a5b7f0
UD
502692011-07-09 Ulrich Drepper <drepper@gmail.com>
50270
50271 * po/pl.po: Update from translation team.
50272 * po/ja.po: Likewise.
50273 * po/ru.po: Likewise.
50274 * po/ko.po: Likewise.
50275 * po/fr.po: Likewise.
50276
d30cf5bb
RM
502772011-07-09 Roland McGrath <roland@hack.frob.com>
50278
113ddea4
RM
50279 * configure.in (.ctors/.dtors header and trailer check):
50280 Use an empirical test on a built program.
50281 * configure: Regenerated.
50282
574920b4
RM
50283 * configure.in (-z relro check): Use an empirical test on a built DSO.
50284 Detect, but do not require, on ia64.
50285 * configure: Regenerated.
50286
d30cf5bb
RM
50287 * configure.in (READELF): Find it with AC_CHECK_TOOL.
50288 Update tests that use readelf to use $READELF instead.
50289 * configure: Regenerated.
50290
8538fdb3
UD
502912011-07-08 Ulrich Drepper <drepper@gmail.com>
50292
50293 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
50294 if the result is not used.
50295
04d08991
AJ
502962011-07-05 Andreas Jaeger <aj@suse.de>
50297
50298 [BZ#9696]
50299 * stdlib/tst-strtod.c: Add testcase.
50300
de283087
AD
503012011-07-07 Ulrich Drepper <drepper@gmail.com>
50302
4e5f31c8 50303 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 50304 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
50305 The latter has a higher limit. Take additional parameter to pass to
50306 the new function.
50307 (__pathconf): Pass file to __statfs_link_max.
50308 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
50309 __statfs_link_max.
50310 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
50311 __statfs_link_max.
50312
de283087
AD
50313 [BZ #12868]
50314 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
50315 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
50316 Handle Lustre.
50317 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
50318 (__statfs_filesize_max): Likewise.
50319 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
50320
c75fa153
AJ
503212011-07-05 Andreas Jaeger <aj@suse.de>
50322
50323 * resolv/res_comp.c (dn_skipname): Remove unused variable.
50324
1a544854
UD
503252011-07-06 Marek Polacek <mpolacek@redhat.com>
50326
50327 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
50328 `status' variable.
50329 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
50330 Likewise.
50331
6f0eec67
UD
503322011-07-04 H.J. Lu <hongjiu.lu@intel.com>
50333
50334 * Makefile (strop-tests): Add strncat.
50335 * string/test-strncat.c: New file.
50336
aae30307
UD
503372011-06-30 Marek Polacek <mpolacek@redhat.com>
50338
50339 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
50340
c0cfb5eb
UD
503412011-06-21 Andreas Jaeger <aj@suse.de>
50342
50343 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
50344 Copy rule from iconvdata/Makefile.
50345
01636b21
UD
503462011-07-06 Ulrich Drepper <drepper@gmail.com>
50347
50348 [BZ #12922]
50349 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
50350 but no long options are defined, just return 'W'.
50351
9895c8bc
UD
503522011-06-22 Marek Polacek <mpolacek@redhat.com>
50353
50354 [BZ #9696]
50355 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
50356
5d4cf042
UD
503572011-07-06 Ulrich Drepper <drepper@gmail.com>
50358
50359 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
50360 netgroups to read.
960e5535 50361 (innetgr): Likewise.
5d4cf042 50362
751eb97e
RM
503632011-07-05 Roland McGrath <roland@hack.frob.com>
50364
50365 * config.make.in (install_root): Default to $(DESTDIR).
50366
f15f1e45
UD
503672011-07-05 Ulrich Drepper <drepper@gmail.com>
50368
50369 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
50370
4e34ac6a
RM
503712011-07-02 Roland McGrath <roland@hack.frob.com>
50372
5e9b6af4
RM
50373 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
50374
84f9ea0f
RM
50375 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
50376 containing directory rather than embedding absolute directory names.
50377
ea5ee9f7
RM
50378 * scripts/check-local-headers.sh: Rewritten using awk.
50379 Match by word, not by line. Print error messages for matches.
50380 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
50381
1b74661a
RM
50382 * Makerules [shlib-lds-flags empty]:
50383 ($(common-objpfx)libc_pic.opts): New target.
50384 ($(common-objpfx)libc_pic.os.clean): New target.
50385 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
50386
50387 * config.make.in (OBJCOPY): New variable.
50388 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
50389 * configure: Regenerated.
50390
f781ef40
RM
50391 * config.make.in (use-default-link): New variable.
50392 * configure.in (use_default_link): Grok --with-default-link to set it.
50393 * configure: Regenerated.
50394 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
50395 (shlib-lds, shlib-lds-flags): Define to empty.
50396
2d4fa81e
RM
50397 * Makerules (shlib-lds): New variable.
50398 (shlib-lds-flags): New variable.
50399 (build-shlib, build-moduile, build-module-asneeded): Use it.
50400 ($(common-objpfx)libc.so): Use $(shlib-lds).
50401 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
50402 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
50403
31fffa6b
RM
50404 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
50405 DT_FLAGS/DT_FLAGS_1 with zero flags.
50406
4e34ac6a
RM
50407 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
50408 linker script munging.
50409
fcfc776b
UD
504102011-07-02 Ulrich Drepper <drepper@gmail.com>
50411
50412 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
50413 as 128-bit value.
50414 * crypt/sha512.c (sha512_process_block): Perform total addition using
50415 128-bit if possible.
50416 (__sha512_finish_ctx): Likewise.
50417 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
50418 as 64-bit value.
50419 * crypt/sha256.c (SWAP64): Define.
50420 (sha256_process_block): Perform total addition using 64-bit if
50421 possible.
50422 (__sha256_finish_ctx): Likewise.
50423
99231d9a
UD
504242011-07-01 Ulrich Drepper <drepper@gmail.com>
50425
50426 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
50427 * nscd/initgrcache.c (addinitgroupsX): Likewise.
50428 * nscd/hstcache.c (cache_addhst): Likewise.
50429 * nscd/grpcache.c (cache_addgr): Likewise.
50430 * nscd/aicache.c (addhstaiX): Likewise
50431 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
50432
445b4a53
TK
504332011-07-01 Thorsten Kukuk <kukuk@suse.de>
50434
50435 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
50436 * nscd/initgrcache.c (addinitgroupsX): Likewise.
50437 * nscd/hstcache.c (cache_addhst): Likewise.
50438 * nscd/grpcache.c (cache_addgr): Likewise.
50439 * nscd/aicache.c (addhstaiX): Likewise
50440
6d4d8e8e
AS
504412011-07-01 Andreas Schwab <schwab@redhat.com>
50442
50443 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
50444 domain only when needed.
50445
89f654c5
AS
504462011-06-30 Andreas Schwab <schwab@redhat.com>
50447
50448 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
50449 is always restored.
50450
cf3b23ff
UD
504512011-06-29 Ulrich Drepper <drepper@gmail.com>
50452
50453 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
50454 are re-adding the entry.
50455 * nscd/servicescache.c (cache_addserv): Likewise.
50456
751626f9
AJ
504572011-06-30 Aurelien Jarno <aurelien@aurel32.net>
50458
50459 * sysdeps/generic/dl-irel.h: fix protection against multiple
50460 inclusions.
50461 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
50462
9113ea1f
UD
504632011-06-28 Ulrich Drepper <drepper@gmail.com>
50464
5c0b8d90
UD
50465 [BZ #12935]
50466 * malloc/memusage.sh: Fix quoting in message.
50467 * debug/xtrace.sh: Likewise.
50468
9113ea1f
UD
50469 * configure.in: Remove support for --experimental-malloc option, make
50470 it the default.
50471 * config.make.in: Likewise.
50472 * malloc/Makefile: Likewise.
50473
a4172181
AS
504742011-06-27 Andreas Schwab <schwab@redhat.com>
50475
50476 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
50477 two-byte characters.
50478
78a7eee7
RM
504792011-06-27 Roland McGrath <roland@hack.frob.com>
50480
62bede13
RM
50481 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
50482 AC_CACHE_CHECK invocation.
50483 * configure: Regenerated.
50484
78a7eee7
RM
50485 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
50486
5ce33a62
UD
504872011-06-27 Ulrich Drepper <drepper@gmail.com>
50488
034807a9
UD
50489 [BZ #12350]
50490 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
50491 bit from old_res_options.
50492
4902da17
UD
50493 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
50494
5ce33a62
UD
50495 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
50496 value type for setfct.
50497
c2344f56
L
504982011-06-23 H.J. Lu <hongjiu.lu@intel.com>
50499
50500 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
50501 __gettimeofday instead of gettimeofday.
50502
68468076
UD
505032011-06-26 Ulrich Drepper <drepper@gmail.com>
50504
50505 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
50506
acb0d739
L
505072011-06-24 H.J. Lu <hongjiu.lu@intel.com>
50508
50509 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
50510
50511 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
50512 info.
50513
8912479f
L
505142011-06-22 H.J. Lu <hongjiu.lu@intel.com>
50515
50516 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
50517 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
50518 strcpy-sse2-unaligned strncpy-sse2-unaligned
50519 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
50520 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
50521 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
50522 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
50523 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
50524 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
50525 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
50526 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
50527 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
50528 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
50529 (STRCPY): Support SSE2 and SSSE3 versions.
50530
d5495a11
UD
505312011-06-24 Ulrich Drepper <drepper@gmail.com>
50532
50533 [BZ #12874]
50534 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
50535 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
50536 kernels which artificially limit size of requests.
50537
0b1cbaae
L
505382011-06-22 H.J. Lu <hongjiu.lu@intel.com>
50539
50540 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
50541 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
50542 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
50543 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
50544 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
50545 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
50546 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
50547 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
50548 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
50549 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
50550 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
50551 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
50552 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
50553 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
50554 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
50555 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
50556 Enable unaligned load optimization for Intel Core i3, i5 and i7
50557 processors.
50558 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
50559 Define.
50560 (index_Fast_Unaligned_Load): Define.
50561 (HAS_FAST_UNALIGNED_LOAD): Define.
50562
07f494a0
MP
505632011-06-23 Marek Polacek <mpolacek@redhat.com>
50564
50565 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
50566
fa3fc0fe
UD
505672011-06-22 Ulrich Drepper <drepper@gmail.com>
50568
50569 [BZ #12907]
50570 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
50571 until it is clear that the information is realy needed.
50572 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
50573
e12df166
AS
505742011-06-22 Andreas Schwab <schwab@redhat.com>
50575
50576 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
50577
852eb34d
UD
505782011-06-22 Ulrich Drepper <drepper@gmail.com>
50579
84e2a551
UD
50580 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
50581 /sys/devices/system/cpu/online if it is usable.
50582
852eb34d
UD
50583 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
50584 reading the information from the /proc filesystem to once a second.
50585
6e502e19
UD
505862011-06-21 Andreas Jaeger <aj@suse.de>
50587
50588 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
50589 NULL after inclusion of kernel headers.
50590
75d39ff2
UD
505912011-06-21 Ulrich Drepper <drepper@gmail.com>
50592
51f9aa6a
UD
50593 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
50594 calls to internal_setent.
50595
c0244a9d
UD
50596 [BZ #12885]
50597 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
50598 addresses using gethostbyname4_r ignore IPv4 addresses.
50599
c5e3c2ae
UD
50600 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
50601 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
50602
75d39ff2
UD
50603 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
50604
42675c6f
DM
506052011-06-20 David S. Miller <davem@davemloft.net>
50606
50607 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
50608 inclusions.
50609 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
50610
50611 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
50612 (elf_irel): Use it.
50613 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
50614 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
50615 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
50616 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
50617 * sysdeps/x86_64/dl-irel.h: Likewise.
50618
50619 * elf/dl-runtime.c: Use elf_ifunc_invoke.
50620 * elf/dl-sym.c: Likewise.
50621
57912a71
UD
506222011-06-15 Ulrich Drepper <drepper@gmail.com>
50623
50624 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
50625 need to dereference resplen2.
50626
ee22793d
AS
506272011-06-14 Andreas Schwab <schwab@redhat.com>
50628
50629 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
50630
a9e836b0
UD
506312011-06-15 Ulrich Drepper <drepper@gmail.com>
50632
77fb9117
UD
50633 * Makeconfig: Define vardbdir and inst_vardbdir.
50634 * nss/Makefile: Add rules to install db-Makefile.
50635
40c1b22c
UD
50636 * nss/nss_db/db-XXX.c: Cleanup.
50637
9f2da732
UD
50638 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
50639 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
50640 GLIBC_PRIVATE.
50641 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
50642 * nss/makedb.c: Implement -g option to specify that value strings
50643 are generated and should not be added to table iterated over for
50644 get*ent calls.
50645 * nss/nss_db/db-initgroups.c: New file.
50646
82e9a1f7
UD
50647 * nss/getent.c: Add support for initgroups lookups through getgrouplist
50648 interface.
50649
c41af17e
UD
50650 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
50651 (internal_getgrouplist): Adjust to name change.
50652 Update use_initgroups_entry if this is not the first call.
50653 * nss/databases.def: Add initgroups entry.
50654
a9e836b0
UD
50655 * nss/makedb.c (compute_tables): Check result of multiple hash table
50656 sizes to minimize maximum chain length.
50657
2666d441
UD
506582011-06-14 Ulrich Drepper <drepper@gmail.com>
50659
50660 * Versions.def: Add entry for libnss_db.
50661 * shlib-versions: Likewise.
50662 * nss/Makefile: Add rules to build libnss_db.
50663 * nss/Versions: Add libnss_db information. Organize libnss_files
50664 entries better.
50665 * nss/db-Makefile: Add gshadow support. Change rules for the new
50666 makedb progra. Some minor improvements to generate smaller files.
50667 * nss/nss_db/nss_db.h: Move NSS database header data structures to
50668 here from...
50669 * nss/makedb.c: ...here.
50670 Improve database format to be smaller and require less memory at
50671 runtime.
50672 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
50673 db anymore.
50674 * nss/nss_db/db-netgrp.c: Likewise.
50675 * nss/nss_db/db-open.c: Likewise.
50676 * nss/nss_files/flies-XXX.x: Adjust comments.
50677 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
50678 * nss/nss_files/files-grp.c: Likewise.
50679 * nss/nss_files/files-hosts.c: Likewise.
50680 * nss/nss_files/files-network.c: Likewise.
50681 * nss/nss_files/files-proto.c: Likewise.
50682 * nss/nss_files/files-pwd.c: Likewise.
50683 * nss/nss_files/files-rpc.c: Likewise.
50684 * nss/nss_files/files-service.c: Likewise.
50685 * nss/nss_files/files-sgrp.c: Likewise.
50686 * nss/nss_files/files-spwd.c: Likewise.
50687 * nss/nss_db/db-alias.c: Removed.
50688 * nss/nss_db/dummy-db.h: Removed.
50689
9ee76b5a
UD
506902011-06-02 Ulrich Drepper <drepper@gmail.com>
50691
50692 * nss/makedb.c: Rewritten to not use database library.
50693 * nss/Makefile: Update to build new makedb program.
50694
c71ca1f8
AJ
506952011-06-14 Andreas Jaeger <aj@suse.de>
50696
50697 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
50698 memset declaration.
50699
3154bfb8
UD
507002011-06-10 Andreas Schwab <schwab@redhat.com>
50701
50702 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
50703 tmpbuf.
50704
b350afab
RM
507052011-06-10 Roland McGrath <roland@hack.frob.com>
50706
decd4e50
RM
50707 * Makerules (shlib.lds): Fail if the linker script comes out empty.
50708 * elf/Makefile ($(objpfx)ld.so): Likewise.
50709
5615eaf2
RM
50710 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
50711 Don't list ld.so twice in dependencies.
50712
50713 * posix/bug-regex31.c: Include <stdlib.h>.
50714
50715 * nscd/hstcache.c (cache_addhst): Remove unused variable.
50716
50717 * nis/nss_compat/compat-spwd.c
50718 (getspent_next_nss_netgr): Remove unused variable.
50719 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
50720
50721 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
50722 nonmembers" output to use the right array.
50723
50724 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
50725
50726 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
50727
50728 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
50729 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
50730 * catgets/gencat.c (read_input_file): Likewise.
50731 * locale/programs/locarchive.c (enlarge_archive): Likewise.
50732
50733 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
50734 variable definition inside #if's controlling its use.
50735
50736 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
50737
50738 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
50739
50740 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
50741
50742 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
50743 unreachable code.
50744
50745 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
50746
b68e08db
RM
50747 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
50748 * configure: Regenerated.
50749
b350afab
RM
50750 * Makerules: Revert last change.
50751 * elf/Makefile: Likewise.
50752
28368601
RM
507532011-06-09 Roland McGrath <roland@hack.frob.com>
50754
50755 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
50756 * elf/Makefile ($(objpfx)librtld.os): Likewise.
50757 (reloc-link): Likewise.
50758
11988f8f
UD
507592011-06-09 Ulrich Drepper <drepper@gmail.com>
50760
50761 * elf/Makefile: Add rules to build pldd.
50762 * elf/pldd.c: New file.
50763 * elf/pldd-xx.c: New file.
50764
e80fab37
UD
507652011-06-07 Ulrich Drepper <drepper@gmail.com>
50766
50767 * version.h: Update for 2.15 development version.
50768
9b849836
DM
507692011-06-07 David S. Miller <davem@davemloft.net>
50770
50771 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
50772 ifuncs.
50773 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
50774 elf_machine_lazy_rel): Likewise.
50775 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
50776 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
50777 elf_machine_lazy_rel): Likewise.
50778 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
50779 dl_hwcap via passed in argument.
50780 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
50781 Likewise.
50782
5a31b283
AK
507832011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
50784
50785 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
50786
069e52f8
RM
507872011-06-06 Roland McGrath <roland@hack.frob.com>
50788
50789 [BZ #12849]
50790 * manual/fdl-1.1.texi: New file, verbatim from:
50791 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
50792 * manual/lgpl-2.1.texi: New file, verbatim from:
50793 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
50794 * manual/Makefile (licenses): New variable, list those new file names.
50795 (texis): Use it.
50796 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
50797
50798 * manual/fdl.texi: File removed.
50799 * manual/lesser.texi: File removed.
50800 * manual/libc.texinfo (Copying, Documentation License):
50801 Use new @include file names, put @appendix directive before @include.
50802
f16846a5
JJ
508032011-06-04 Jakub Jelinek <jakub@redhat.com>
50804
50805 [BZ #12841]
50806 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
50807 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
50808 (mq_open): Add __NTH.
50809
3d29045b
L
508102011-06-02 H.J. Lu <hongjiu.lu@intel.com>
50811
50812 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
50813 Assume Intel Core i3/i5/i7 processor if AVX is available.
50814
8c297311
UD
508152011-05-31 Ulrich Drepper <drepper@gmail.com>
50816
50817 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
50818 typo.
50819
c8fc0c91
UD
508202011-05-31 Andreas Schwab <schwab@redhat.com>
50821
50822 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
50823 memory. Use alloca_account. Fix memory leak when retrying.
50824
5b27a807
UD
508252011-05-31 Ulrich Drepper <drepper@gmail.com>
50826
356f8bc6
UD
50827 * version.h (RELEASE): Bump for 2.14 release.
50828 * include/features.h (__GLIBC_MINOR__): Bump to 14.
50829
5b27a807
UD
50830 * config.make.in (RANLIB): Remove entry.
50831
01f16ab0
UD
508322011-05-30 Ulrich Drepper <drepper@gmail.com>
50833
41fce8bd
UD
50834 * po/Makefile (po-sed-cmd): Add ksh to extensions.
50835 (libc.pot): Work around missing support for .ksh extension in xgettext.
50836
4769ae77
UD
50837 [BZ #12684]
50838 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
50839 if both request failed.
50840 (send_dg): In case of server errors clear resplen or *resplen2.
50841
6b1e7d19
UD
50842 [BZ #12454]
50843 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
50844 when there are multiple maps.
50845 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
50846 (_dl_fini): Remove test here.
50847
01f16ab0
UD
50848 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
50849
b1ebd700
UD
508502011-05-29 Ulrich Drepper <drepper@gmail.com>
50851
7ae22829
UD
50852 [BZ #12350]
50853 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
50854 bit from old_res_options.
50855 (gaih_inet): Likewise.
50856
553149f6 50857 [BZ #11099]
18a84741 50858 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
50859 as signed.
50860
652ffab1
UD
50861 * resolv/res_init.c (res_setoptions): Make the code more compact.
50862
16985fd0
UD
50863 [BZ #11558]
50864 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
50865 set RES_USEVC.
50866
0464f746
UD
50867 [BZ #11634]
50868 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
50869
7d17596c
UD
50870 * malloc/malloc.h: Mark malloc hook variables as deprecated.
50871
cf6bbbd7
UD
50872 [BZ #11781]
50873 * malloc/malloc.h: Declare malloc hook variables as volatile.
50874
13f1ab36
UD
50875 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
50876 in last patch.
50877
b1ebd700
UD
50878 [BZ #11799]
50879 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 50880 raise in the comment.
80e2212d
UD
50881 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
50882 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
50883 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 50884
ce67228d
UD
508852011-05-28 Ulrich Drepper <drepper@gmail.com>
50886
8887a920
UD
50887 [BZ #12811]
50888 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
50889 grow the buffers more if it already has to be sufficient.
50890 (build_wcs_upper_buffer): Likewise.
50891 * posix/regexec.c (check_matching): Likewise.
50892 (clean_state_log_if_needed): Likewise.
50893 (extend_buffers): Don't enlarge buffers beyond size of the input
50894 buffer.
50895 Patches mostly by Emil Wojak <emil@wojak.eu>.
50896 * posix/bug-regex32.c: New file.
50897 * posix/Makefile (tests): Add bug-regex32.
50898
4f031072
UD
50899 * locale/findlocale.c (_nl_find_locale): Return right away if
50900 _nl_explode_name failed.
50901 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
50902
d0478f0c
UD
50903 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
50904
de81b246
UD
50905 * debug/xtrace.sh: Unify messages.
50906 * malloc/memusage.sh: Likewise.
50907
c738465a
UD
50908 [BZ #12813]
50909 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
50910 time symbol from vDSO. Substitute with vsyscall if not available.
50911 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
50912 __vdso_time.
50913
f1f929d7
UD
50914 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
50915 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
50916 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
50917 Add sendmmsg and internal_sendmmsg.
50918 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
50919 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
50920 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
50921
ce67228d
UD
50922 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
50923 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
50924 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
50925
e57420c6
UD
509262011-05-27 Ulrich Drepper <drepper@gmail.com>
50927
a8509ca5
UD
50928 [BZ #12813]
50929 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
50930 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
50931 available.
50932 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
50933 __vdso_getcpu.
50934
e57420c6
UD
50935 [BZ #12814]
50936 * iconvdata/Makefile (tests): Add bug-iconv9.
50937 * iconvdata/bug-iconv9.c: New file.
50938
4d07db15
AS
509392011-05-27 Andreas Schwab <schwab@redhat.com>
50940
50941 [BZ #12814]
50942 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
50943
ea486f69
JJ
509442011-05-25 Jakub Jelinek <jakub@redhat.com>
50945
50946 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
50947 (struct user_regs_struct): Change intcs field back to cs.
50948
6f038433
UD
509492011-05-25 Ulrich Drepper <drepper@gmail.com>
50950
50951 * po/ja.po: Update from translation team.
50952
67f86a25
UD
509532011-05-23 Ulrich Drepper <drepper@gmail.com>
50954
50955 [BZ #12795]
50956 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
50957 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
50958
def7fbd6
AS
509592011-05-20 Andreas Schwab <schwab@redhat.com>
50960
50961 * stdlib/longlong.h: Update from GCC.
50962
f50ef8f1
AS
509632011-05-23 Andreas Schwab <schwab@redhat.com>
50964
50965 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
50966 parameter name.
50967 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
50968 Add parameter name.
50969 (__sysconf): Pass it down.
50970
de7ce8f1
UD
509712011-05-22 Ulrich Drepper <drepper@gmail.com>
50972
f2962a71
UD
50973 [BZ #12671]
50974 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
50975 some situations.
50976 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
50977 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
50978 add in in __libc_use_alloca calls. Adjust callers.
50979 (glob): Use malloc in some situations.
50980
de7ce8f1
UD
50981 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
50982 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
50983 pltexit.
50984
aec84f53
UD
509852011-05-21 Ulrich Drepper <drepper@gmail.com>
50986
05bb4a68
UD
50987 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
50988 and CLOCK_BOOTTIME_ALARM.
50989
7ea72f99
UD
50990 [BZ #12782]
50991 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
50992 is returned.
50993
7e4afad5
UD
50994 * string/_strerror.c (__strerror_r): Print negative errors as signed
50995 numbers.
50996
8e211fec
UD
50997 [BZ #12777]
50998 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
50999 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
51000 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
51001
f7d82dc9
UD
51002 * configure.in: Fix typo in redirection and correct removal of test
51003 files in two cases.
51004
cc9e536d
UD
51005 [BZ #12788]
51006 * locale/setlocale.c (new_composite_name): Fix test to check for
51007 identical name of all categories.
51008
aec84f53
UD
51009 [BZ #12792]
51010 * libio/filedoalloc.c (local_isatty): New function.
51011 (_IO_file_doallocate): Use local_isatty.
51012 * stdio-common/perror.c (perror): In case a new stream is used
51013 forward the stream error.
51014 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
51015 error flag.
51016
78e64fdc
RT
510172011-05-20 Ulrich Drepper <drepper@gmail.com>
51018
34a9094f
UD
51019 [BZ #11869]
51020 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
51021 alloca.
51022 * include/alloca.h (extend_alloca_account): Define.
51023
78e64fdc
RT
51024 [BZ #11857]
51025 * posix/regex.h: Fix comments with documentation of user-accessible
51026 fields after compilation and describe correct free'ing of pattern
51027 after re_compile_pattern.
51028 Patch by Reuben Thomas <rrt@sc3d.org>.
51029
457bddfc
RA
510302011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
51031
51032 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
51033 and -mno-altivec to prevent the compiler from using Altivec and/or
51034 VSX instructions when the corresponding registers are not available.
51035
a4527b51
AS
510362011-05-19 Andreas Schwab <schwab@redhat.com>
51037
51038 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
51039
ed690b2f
UD
510402011-05-19 Ulrich Drepper <drepper@gmail.com>
51041
51042 * libio/freopen.c (freopen): Use __dup2, not dup2.
51043 * libio/freopen64.c (freopen64): Likewise.
51044
8db73634
L
510452011-05-17 H.J. Lu <hongjiu.lu@intel.com>
51046
51047 [BZ #12775]
51048 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
51049 * math/Makefile (tests): Add test-powl.
51050 (CFLAGS-test-powl.c): Define.
51051 * math/test-powl.c: New file.
51052
0a197a9d
L
510532011-05-16 H.J. Lu <hongjiu.lu@intel.com>
51054
51055 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
51056
ee30c380
UD
510572011-05-17 Ulrich Drepper <drepper@gmail.com>
51058
51059 [BZ #11837]
51060 * iconvdata/gb18030.c: Update to GB18020-2005.
51061
6ce75379
UD
510622011-05-16 Ulrich Drepper <drepper@gmail.com>
51063
a4b89fd8
AR
51064 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
51065 RE_SYNTAX_POSIX_AWK): Update to match recent development.
51066 Patch by Aharon Robbins <arnold@skeeve.com>.
51067
ea389b12
UD
51068 [BZ #11892]
51069 * stdlib/putenv.c (putenv): Don't always create copy of the variable
51070 on the stack.
51071
68a3f91f
UD
51072 [BZ #11895]
51073 * misc/pselect.c (__pselect): Handle timeout value errors hidden
51074 through underflows.
51075
15cc7dd1
UD
51076 [BZ #12766]
51077 * misc/error.c (error_at_line): Ensure file_name and old_file_name
51078 point to strings before performing equality test for error_one_per_line
51079 mode.
51080
f3799213
UD
51081 [BZ #11697]
51082 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
51083
d79a9c94
UD
51084 [BZ #11820]
51085 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
51086 (struct user_fpregs_struct): Avoid __uint*_t types.
51087
56e5eb46
UD
51088 [BZ #6420]
51089 * malloc/mtrace.c (tr_where): Add additional parameter to point to
51090 symbol info. Use it instead of calling _dl_addr locally.
51091 (lock_and_info): New function.
51092 (tr_freehook): Call lock_and_info and pass symbol info as additional
51093 parameter to tr_where.
51094 (tr_mallochook): Likewise.
51095 (tr_reallochook): Likewise.
51096 (tr_memalignhook): Likewise.
51097
6ce75379
UD
51098 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
51099 used and couldn't be at all thread-safe.
51100
f8a3b5bf
UD
511012011-05-15 Ulrich Drepper <drepper@gmail.com>
51102
94b7cc37
UD
51103 * libio/freopen.c (freopen): Don't close old file descriptor
51104 before the new one is opened. Instead dup the new file descriptor
51105 to the old one after the new stream is created.
51106 * libio/freopen64.c (freopen64): Likewise.
51107 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
51108 * libio/fileops.c (_IO_new_file_close_it): Handle new
51109 _IO_FLAGS2_NOCLOSE flag.
51110 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
51111 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
51112 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
51113 _IO_FLAGS2_NOCLOSE flag.
51114 * include/unistd.h: Add hidden_proto for dup3.
51115 Define __have_dup3.
51116 * io/dup3.c: Define hidden symbol.
51117 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
51118
bd25564e
UD
51119 [BZ #7101]
51120 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
51121 when an incomplete long option is used.
51122 * posix/tst-getopt_long1.c: New file.
51123 * posix/Makefile (tests): Add tst-getopt_long1.
51124
c84cfef4
UD
51125 [BZ #10138]
51126 * scripts/config.guess: Update from autoconf-2.68.
51127 * scripts/config.sub: Likewise.
51128
3b85df27
UD
51129 [BZ #10157]
51130 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
51131 tests into ...
51132 (has_cpuclock): ...this. New function.
51133 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
51134 macro here based on has_cpuclock code.
51135
15a856b1
UD
51136 [BZ #10149]
51137 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
51138 First byte (not low byte) is now always NUL.
51139 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
51140
05f399e6
UD
51141 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
51142 Use non-cancelable interfaces.
51143
10a52685 51144 [BZ #9809]
94ecc67d
UD
51145 * locale/iso-639.def: Add entry for Sorani.
51146
f8a3b5bf
UD
51147 [BZ #11901]
51148 * include/stdlib.h: Move include protection to the right place.
51149 Define abort_msg_s. Declare __abort_msg with it.
51150 * stdlib/abort.c (__abort_msg): Adjust type.
51151 * assert/assert.c (__assert_fail_base): New function. Majority
51152 of code from __assert_fail. Allocate memory for __abort_msg with
51153 mmap.
51154 (__assert_fail): Now call __assert_fail_base.
51155 * assert/assert-perr.c: Remove bulk of implementation. Use
51156 __assert_fail_base.
51157 * include/assert.hL Declare __assert_fail_base.
51158 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
51159 mmap.
51160 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
51161
1af4e298
UD
511622011-05-14 Ulrich Drepper <drepper@gmail.com>
51163
f8a3b5bf 51164 [BZ #11952]
d26dfc60
MG
51165 [BZ #12453]
51166 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
51167 until all modules are registered in the DTV.
51168 * elf/Makefile: Add rules to build and run tst-tls19.
51169 * elf/tst-tls19.c: New file.
51170 * elf/tst-tls19mod1.c: New file.
51171 * elf/tst-tls19mod2.c: New file.
51172 * elf/tst-tls19mod3.c: New file.
51173 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
51174
2fc54d6f
UD
51175 [BZ #12083]
51176 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
51177 correctly.
51178
98d76b46
UD
51179 [BZ #12601]
51180 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
51181 two-byte sequence errors.
51182 * iconvdata/Makefile (tests): Add bug-iconv8.
51183 * iconvdata/bug-iconv8.c: New file.
51184
da3c19ef
UD
51185 [BZ #12626]
51186 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
51187 buf2 definition.
51188
ca408c15
UD
51189 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
51190
d6f67f7d
UD
51191 [BZ #12432]
51192 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
51193 (dummy_getcfa): New function.
51194 (init): Get _Unwind_GetCFA address, use dummy if not found.
51195 (backtrace_helper): In recursion check, also check whether CFA changes.
51196 (__backtrace): Completely initialize arg.
51197
1af4e298 51198 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
51199 storing incomplete byte sequence in state object. Avoid testing for
51200 guaranteed too small input if we know there is enough data available.
1af4e298 51201
da62f81b
AS
512022011-05-11 Andreas Schwab <schwab@redhat.com>
51203
51204 * Makeconfig (+link-pie): Indent.
51205 * Rules (binaries-pie): Define if $(have-fpie) and
51206 $(build-shared).
51207 (binaries-shared): Also filter out $(binaries-pie).
51208 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
51209 * nscd/Makefile (others-pie): Add nscd.
51210 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
51211 ($(objpfx)nscd): Remove command override.
51212 * login/Makefile (others-pie): Add pt_chown.
51213 ($(objpfx)pt_chown): Remove command override.
51214 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
51215 remove command overrides.
51216
fcabc0f8
UD
512172011-05-13 Ulrich Drepper <drepper@gmail.com>
51218
20030ae6
UD
51219 * libio/tst_putwc.c: Fix error messages.
51220
fcabc0f8
UD
51221 [BZ #12724]
51222 * libio/fileops.c (_IO_new_file_close_it): Always flush when
51223 currently writing and seek to current position when not.
51224 * libio/Makefile (tests): Add bug-fclose1.
51225 * libio/bug-fclose1.c: New file.
51226
320a5dc0
PB
512272011-05-12 Ulrich Drepper <drepper@gmail.com>
51228
51229 [BZ #12511]
51230 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
51231 don't set DF_1_NODELETE here.
51232 (do_lookup_x): When entering new entry test for copy relocation
51233 and if necessary set DF_1_NODELETE flag.
51234 * elf/tst-unique4.cc: New file.
51235 * elf/tst-unique4.h: New file.
51236 * elf/tst-unique4lib.cc: New file.
51237 * elf/Makefile: Add rules to build and run tst-unique4.
51238 Patch by Piotr Bury <pbury@goahead.com>.
51239
22836f52
UD
512402011-05-11 Ulrich Drepper <drepper@gmail.com>
51241
f574184a
UD
51242 [BZ #12052]
51243 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
51244
e1fb097f
UD
51245 [BZ #12625]
51246 * misc/mntent_r.c (addmntent): Flush the stream after the output
51247
22836f52
UD
51248 [BZ #12393]
51249 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
51250 (is_trusted_path_normalize): Skip initial colon. Append slash
51251 to empty buffer. Duplicate is_trusted_path code but allow
51252 constructed patch to be prefix.
51253 (is_dst): Allow $ORIGIN followed by /.
51254 (_dl_dst_substitute): Correct clearing of check_for_trusted.
51255 Correct testing of result of is_trusted_path_normalize
51256 (decompose_rpath): Fix warning.
51257
7b3b0b2a
UD
512582011-05-10 Ulrich Drepper <drepper@gmail.com>
51259
51260 [BZ #11257]
51261 * grp/initgroups.c (internal_getgrouplist): When we found the service
51262 list through the initgroups entry in nsswitch.conf do not always
51263 continue on a successful lookup. Don't always use the
eac80ce2 51264 __nss_group_database value if it is set.
7b3b0b2a
UD
51265 * nss/nsswitch.conf (initgroups): Change action for successful db
51266 lookup to continue for compatibility.
51267
2a81eaa5
UD
512682011-05-09 Ulrich Drepper <drepper@gmail.com>
51269
be97a69e
UD
51270 [BZ #11532]
51271 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
51272 and CP774 modules.
51273 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
51274 and CP774 modules.
51275 * iconvdata/tst-tables.sh: Likewise.
51276 * iconvdata/cp770.c: New file.
51277 * iconvdata/cp771.c: New file.
51278 * iconvdata/cp772.c: New file.
51279 * iconvdata/cp773.c: New file.
51280 * iconvdata/cp774.c: New file.
51281 * iconvdata/testdata/CP770: New file.
51282 * iconvdata/testdata/CP770..UTF8: New file.
51283 * iconvdata/testdata/CP771: New file.
51284 * iconvdata/testdata/CP771..UTF8: New file.
51285 * iconvdata/testdata/CP772: New file.
51286 * iconvdata/testdata/CP772..UTF8: New file.
51287 * iconvdata/testdata/CP773: New file.
51288 * iconvdata/testdata/CP773..UTF8: New file.
51289 * iconvdata/testdata/CP774: New file.
51290 * iconvdata/testdata/CP774..UTF8: New file.
51291
51292 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
51293 END CHARMAP line.
51294 * iconvdata/gen-8bit-gap.sh: Likewise.
51295 * iconvdata/gen-8bit.sh: Likewise.
51296
c1e9e399
UD
51297 * locale/iso-639.def: Add ary entry.
51298
24c55fb3 51299 [BZ #11258]
96b4b1b0
UD
51300 * locale/C-translit.h.in: Add U20A1 transliteration.
51301
bdc2f971
KB
51302 [BZ #12178]
51303 * locale/iso-639.def: Add wae entry.
51304 Patch by Kevin Bortis <bortis@translate-wae.ch>.
51305
2952b117
UD
51306 [BZ #12545]
51307 * locale/programs/localedef.c (construct_output_path): Use ssize_t
51308 for n.
51309
2a81eaa5
UD
51310 [BZ #12711]
51311 * locale/C-translit.h.in: Add entry for U20B9.
51312 Patch by pravin.d.s@gmail.com.
51313
28377d1b
UD
513142011-05-08 Ulrich Drepper <drepper@gmail.com>
51315
7fb90fb8
UD
51316 [BZ #12713]
51317 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
51318 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
51319 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
51320 in rtld. Use *stat64.
7fb90fb8 51321 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 51322 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 51323 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
51324 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
51325 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
51326 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
51327 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
51328 __fstatat64 macros.
7fb90fb8
UD
51329 * include/dirent.h: Add libc_hidden_proto for rewinddir.
51330 * dirent/rewinddir.c: Add libc_hidden_def.
51331 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 51332 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 51333
28377d1b
UD
51334 * include/dirent.h (__alloc_dir): Add flags parameter.
51335 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
51336 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
51337 __alloc_dir.
51338 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
51339 from fdopendir if O_CLOEXEC is already set.
51340
66bdbaa4
AM
513412011-03-15 Alan Modra <amodra@gmail.com>
51342
51343 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
51344 l_tls_firstbyte_offset non-zero. Save padding offset in
51345 l_tls_firstbyte_offset for later use.
51346 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
51347 freeing static tls block.
51348
95721191
JN
513492011-03-05 Jonathan Nieder <jrnieder@gmail.com>
51350
51351 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
51352 where #ifdef was intended. The intent is to prevent ARG_MAX from
51353 being defined by the kernel headers.
51354
f87dfb1f
UD
513552011-05-07 Ulrich Drepper <drepper@gmail.com>
51356
51357 [BZ #12734]
51358 * resolv/resolv.h: Define RES_NOTLDQUERY.
51359 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
51360 no-tld-query and set RES_NOTLDQUERY.
51361 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
51362 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
51363 modern BIND to search name as TLD unless forbidden.
51364
47c3cd7a
UD
513652011-05-07 Petr Baudis <pasky@suse.cz>
51366 Ulrich Drepper <drepper@gmail.com>
51367
51368 [BZ #12393]
51369 * elf/dl-load.c (fillin_rpath): Move trusted path check...
51370 (is_trusted_path): ...to here.
c1e9ea35 51371 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 51372 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 51373 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 51374
8a35c912
PP
513752011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
51376
51377 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
51378 __BEGIN/__END_DECLS.
51379
acd41f47
UD
513802011-05-06 Ulrich Drepper <drepper@gmail.com>
51381
51382 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
51383 NSS_STATUS_NOTFOUND if no record was found.
51384
597df647
AS
513852011-05-05 Andreas Schwab <schwab@redhat.com>
51386
51387 * sunrpc/Makefile (headers): Add rpc/netdb.h.
51388 (headers-not-in-tirpc): Remove rpc/netdb.h
51389 * resolv/netdb.h: Revert last change.
51390
b9af1301
PP
513912011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
51392
51393 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
51394 circular dependency between libgcc.a and libc.a.
51395
4e34d5f5
AS
513962011-05-05 Andreas Schwab <schwab@redhat.com>
51397
51398 * resolv/netdb.h: Don't include <rpc/netdb.h>.
51399 * nis/Makefile: Don't install rpcsvc/*.
51400 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
51401 instead of <rpc/types.h>.
51402 (MAXHOSTNAMELEN): Define.
51403
00ee369c
AS
514042011-05-03 Andreas Schwab <schwab@redhat.com>
51405
51406 * elf/ldconfig.c (add_dir): Don't crash on empty path.
51407
0b592a30
MB
514082011-04-28 Maciej Babinski <mbabinski@google.com>
51409
51410 [BZ #12714]
51411 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
51412 gethostbyname4_r when IPv6 results are possible.
51413
6e04cbbe
UD
514142011-05-02 Ulrich Drepper <drepper@gmail.com>
51415
51416 [BZ #12723]
51417 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
51418 _PC_PIPE_BUF handling.
51419
e4ecafe0
BH
514202011-04-30 Bruno Haible <bruno@clisp.org>
51421
51422 [BZ #12717]
51423 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
51424 * resolv/netdb.h (getnameinfo): Change type of flags parameter
51425 to 'int'.
51426 * inet/getnameinfo.c (getnameinfo): Likewise.
51427
125ee683
UD
514282011-04-29 Ulrich Drepper <drepper@gmail.com>
51429
51430 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
51431 to groups setting in database lookup.
51432 * nss/nsswitch.conf: Add initgroups entry.
51433
b722481a
EB
514342011-04-22 Ulrich Drepper <drepper@gmail.com>
51435
51436 [BZ #12685]
51437 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
51438 mode string.
51439 Patch by Eric Blake <eblake@redhat.com>.
51440
4df46dbd
L
514412011-04-20 H.J. Lu <hongjiu.lu@intel.com>
51442
51443 * sunrpc/Makefile (need-export-routines): Add svc_run.
51444 (routines): Remove svc_run.
51445 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
51446 * sunrpc/clnt_perr.c (clnt_perrno): Export.
51447 * sunrpc/svc_run.c (svc_run): Likewise.
51448 * sunrpc/svc_udp.c (svcudp_create): Likewise.
51449
e84142d2
UD
514502011-04-21 Ulrich Drepper <drepper@gmail.com>
51451
51452 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
51453 problem in reallocation in last patch.
51454
877175d8
UD
514552011-04-20 Ulrich Drepper <drepper@gmail.com>
51456
51457 * sunrpc/Makefile: Move inclusion of Rules.
51458
ab8eed78
UD
514592011-04-19 Ulrich Drepper <drepper@gmail.com>
51460
51461 * nss/nss_files/files-initgroups.c: New file.
51462 * nss/Makefile (libnss_files-routines): Add files-initgroups.
51463 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
51464 _nss_files_initgroups_dyn.
51465
e3d8f584
RS
514662011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
51467
51468 * elf/elf.h (R_ARM_IRELATIVE): Define.
51469
af190f45
UD
514702011-04-19 Ulrich Drepper <drepper@gmail.com>
51471
51472 * po/ru.po: Update from translation team.
51473
53cf59ef
UD
514742011-04-17 Ulrich Drepper <drepper@gmail.com>
51475
51476 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
51477 dependencies.
51478
4c559bcd
MF
514792011-02-06 Mike Frysinger <vapier@gentoo.org>
51480
51481 [BZ #12653]
51482 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
51483 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
51484 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
51485 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
51486 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
51487
4420675c
AS
514882011-03-28 Andreas Schwab <schwab@linux-m68k.org>
51489
51490 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
51491 differing bytes.
51492 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
51493 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
51494 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
51495
75ea32ab
UD
514962011-04-17 Ulrich Drepper <drepper@gmail.com>
51497
51498 [BZ #12420]
51499 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
51500 storing it.
51501 * stdlib/bug-getcontext.c: New file.
51502 * stdlib/Makefile: Add rules to build and run bug-getcontext.
51503
27390476
AK
515042011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
51505
51506 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
51507 instructions into .machine "z9-109".
51508 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
51509 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
51510
10442705
AK
515112011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
51512
51513 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
51514 between environment variables and auxiliary vector.
51515
7b57bfe5
UD
515162011-04-16 Ulrich Drepper <drepper@gmail.com>
51517
51518 * Makefile: Add rules to build linkobj/libc.so.
51519 * include/libc-symbols.h: Define libc_hidden_nolink.
51520 * include/rpc/auth.h: Mark functions which are to be hidden.
51521 * include/rpc/auth_des.h: Likewise.
51522 * include/rpc/auth_unix.h: Likewise.
51523 * include/rpc/clnt.h: Likewise.
51524 * include/rpc/des_crypt.h: Likewise.
51525 * include/rpc/key_prot.h: Likewise.
51526 * include/rpc/pmap_clnt.h: Likewise.
51527 * include/rpc/pmap_prot.h: Likewise.
51528 * include/rpc/pmap_rmt.h: Likewise.
51529 * include/rpc/rpc_msg.h: Likewise.
51530 * include/rpc/svc.h: Likewise.
51531 * include/rpc/svc_auth.h: Likewise.
51532 * include/rpc/xdr.h: Likewise.
51533 * nis/Makefile: Link all DSOs against linkobj/libc.so.
51534 * nss/Makefile: Likewise.
51535 * sunrpc/Makefile: Don't install headers. Build library with normal
51536 entry points. Don't build rpcinfo. Link RPC tests appropriately.
51537 * sunrpc/auth_des.c: Hide exported symbols by default, export some
51538 for the compat linking library. Remove use of INTDEF/INTUSE.
51539 * sunrpc/auth_none.c: Likewise.
51540 * sunrpc/auth_unix.c: Likewise.
51541 * sunrpc/authdes_prot.c: Likewise.
51542 * sunrpc/authuxprot.c: Likewise.
51543 * sunrpc/clnt_gen.c: Likewise.
51544 * sunrpc/clnt_perr.c: Likewise.
51545 * sunrpc/clnt_raw.c: Likewise.
51546 * sunrpc/clnt_simp.c: Likewise.
51547 * sunrpc/clnt_tcp.c: Likewise.
51548 * sunrpc/clnt_udp.c: Likewise.
51549 * sunrpc/clnt_unix.c: Likewise.
51550 * sunrpc/des_crypt.c: Likewise.
51551 * sunrpc/des_soft.c: Likewise.
51552 * sunrpc/get_myaddr.c: Likewise.
51553 * sunrpc/key_call.c: Likewise.
51554 * sunrpc/key_prot.c: Likewise.
51555 * sunrpc/netname.c: Likewise.
51556 * sunrpc/pm_getmaps.c: Likewise.
51557 * sunrpc/pm_getport.c: Likewise.
51558 * sunrpc/pmap_clnt.c: Likewise.
51559 * sunrpc/pmap_prot.c: Likewise.
51560 * sunrpc/pmap_prot2.c: Likewise.
51561 * sunrpc/pmap_rmt.c: Likewise.
51562 * sunrpc/publickey.c: Likewise.
51563 * sunrpc/rpc_cmsg.c: Likewise.
51564 * sunrpc/rpc_common.c: Likewise.
51565 * sunrpc/rpc_dtable.c: Likewise.
51566 * sunrpc/rpc_prot.c: Likewise.
51567 * sunrpc/rpc_thread.c: Likewise.
51568 * sunrpc/rtime.c: Likewise.
51569 * sunrpc/svc.c: Likewise.
51570 * sunrpc/svc_auth.c: Likewise.
51571 * sunrpc/svc_authux.c: Likewise.
51572 * sunrpc/svc_raw.c: Likewise.
51573 * sunrpc/svc_run.c: Likewise.
51574 * sunrpc/svc_simple.c: Likewise.
51575 * sunrpc/svc_tcp.c: Likewise.
51576 * sunrpc/svc_udp.c: Likewise.
51577 * sunrpc/svc_unix.c: Likewise.
51578 * sunrpc/svcauth_des.c: Likewise.
51579 * sunrpc/xcrypt.c: Likewise.
51580 * sunrpc/xdr.c: Likewise.
51581 * sunrpc/xdr_array.c: Likewise.
51582 * sunrpc/xdr_float.c: Likewise.
51583 * sunrpc/xdr_intXX_t.c: Likewise.
51584 * sunrpc/xdr_mem.c: Likewise.
51585 * sunrpc/xdr_rec.c: Likewise.
51586 * sunrpc/xdr_ref.c: Likewise.
51587 * sunrpc/xdr_sizeof.c: Likewise.
51588 * sunrpc/xdr_stdio.c: Likewise.
51589
e6c61494
UD
515902011-04-10 Ulrich Drepper <drepper@gmail.com>
51591
51592 [BZ #12650]
51593 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
51594 * sysdeps/ia64/dl-tls.h: Likewise.
51595 * sysdeps/powerpc/dl-tls.h: Likewise.
51596 * sysdeps/s390/dl-tls.h: Likewise.
51597 * sysdeps/sh/dl-tls.h: Likewise.
51598 * sysdeps/sparc/dl-tls.h: Likewise.
51599 * sysdeps/x86_64/dl-tls.h: Likewise.
51600 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
51601
34fe483e
AS
516022011-03-14 Andreas Schwab <schwab@redhat.com>
51603
51604 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
51605 rpath element also skip the following colon.
51606 (expand_dynamic_string_token): Add is_path parameter and pass
51607 down to DL_DST_REQUIRED and _dl_dst_substitute.
51608 (decompose_rpath): Call expand_dynamic_string_token with
51609 non-zero is_path. Ignore empty rpaths.
51610 (_dl_map_object_from_fd): Call expand_dynamic_string_token
51611 with zero is_path.
51612
f12a32e6
AS
516132011-04-08 Andreas Schwab <schwab@linux-m68k.org>
51614
51615 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
51616 Make cancelable.
51617
38a7d692
UD
516182011-04-09 Ulrich Drepper <drepper@gmail.com>
51619
51620 [BZ #12655]
51621 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
51622 Patch by Filipe David Manana <fdmanana@apache.org>.
51623
e451d22b
AS
516242011-04-07 Andreas Schwab <schwab@redhat.com>
51625
51626 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
51627 Maintain aligned stack.
51628 (CHECK_RSP): Remove unused macro.
51629
dedc7c7b
UD
516302011-04-03 Ulrich Drepper <drepper@gmail.com>
51631
51632 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
51633 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
51634
94521213
UD
516352011-04-02 Ulrich Drepper <drepper@gmail.com>
51636
51637 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
51638
8cb700c0 51639 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 51640
0354e355
L
516412011-03-26 H.J. Lu <hongjiu.lu@intel.com>
51642
51643 [BZ #12518]
51644 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
51645 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
51646 * sysdeps/x86_64/memmove.c: New file.
51647 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
51648 (memcpy): Renamed to ...
51649 (__new_memcpy): This.
51650 (memcpy): Provide GLIBC_2_14 memcpy.
51651 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
51652 (memcpy): Provide GLIBC_2_2_5 memcpy.
51653
8593482f
UD
516542011-04-01 Ulrich Drepper <drepper@gmail.com>
51655
51656 [BZ #12631]
51657 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
51658
81a5726b
AS
516592011-03-30 Andreas Schwab <schwab@redhat.com>
51660
51661 * misc/syncfs.c: New file.
51662 * misc/Makefile (routines): Add syncfs.
51663 * posix/unistd.h: Declare syncfs.
51664 * sysdeps/unix/syscalls.list: Add syncfs.
51665
00e5419f
AS
516662011-04-01 Andreas Schwab <schwab@redhat.com>
51667
51668 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
51669 open_by_handle_at.
51670 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
51671 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
51672 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
51673 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
51674 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
51675 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
51676 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
51677
748876bf
UD
516782011-04-01 Ulrich Drepper <drepper@gmail.com>
51679
658e451d
UD
51680 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
51681 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
51682 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
51683 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
51684 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
51685 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
51686 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
51687
748876bf
UD
51688 * io/Makefile: Compile fallocate.c, fallocate64.c, and
51689 sync_file_range.c with -fexceptions.
51690 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
51691 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
51692 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
51693 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
51694 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
51695 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
51696 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
51697 sync_file_range as cancellation point
51698 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
51699 now a wrapper around __call_sync_file_range with cancellation handling.
51700 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
51701 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
51702 function name to __call_sync_file_range.
51703 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
51704 Add call_sync_file_range.
748876bf 51705
6e63d5e1
AS
517062011-04-01 Andreas Schwab <schwab@redhat.com>
51707
51708 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 51709 bits/timex.h.
6e63d5e1 51710
46998f74
UD
517112011-04-01 Ulrich Drepper <drepper@gmail.com>
51712
4c1423ed
UD
51713 * iconv/iconv.h: Fix typo in comment.
51714 * io/fcntl.h: Likewise.
51715 * libio/stdio.h: Likewise.
51716 * posix/spawn.h: Likewise.
51717 * posix/unistd.h: Likewise.
51718 * stdlib/stdlib.h: Likewise.
51719 * time/time.h: Likewise.
51720 * wcsmbs/wchar.h: Likewise.
51721
158648c0
UD
51722 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
51723 open_by_handle): Add.
51724 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
51725 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
51726 Augment a few comments.
51727 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
51728 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
51729 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
51730 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
51731 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
51732 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
51733 open_by_handle.
51734
46998f74
UD
51735 * io/fcntl.h (AT_EMPTY_PATH): Define.
51736
83fe108b
UD
517372011-03-30 Ulrich Drepper <drepper@gmail.com>
51738
51739 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
51740 * sysdeps/unix/sysv/linux/bits/time.h: New file.
51741 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
51742 to...
51743 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
51744 * Versions.def: Add GLIBC_2.14.
51745 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
51746 Export.
83fe108b 51747
bb242059
UD
517482011-03-22 Ulrich Drepper <drepper@gmail.com>
51749
51750 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
51751 round counter.
51752 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
51753
c97a1282
L
517542011-03-20 H.J. Lu <hongjiu.lu@intel.com>
51755
51756 [BZ #12597]
51757 * string/test-strncmp.c (do_page_test): New function.
51758 (check2): Likewise.
51759 (test_main): Call check2.
51760 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
51761
2a115601
UD
517622011-03-20 Ulrich Drepper <drepper@gmail.com>
51763
51764 [BZ #12587]
51765 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
51766 Handle cache information in CPU leaf 4.
51767 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
51768
8126d904
UD
517692011-03-18 Ulrich Drepper <drepper@gmail.com>
51770
042c49c6 51771 [BZ #12583]
8126d904
UD
51772 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
51773 character representation.
51774 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
51775
ccfe366e
RA
517762011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
51777
51778 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
51779 END(__isnan) to END(__isnanf) to match function entry point/label
51780 EALIGN(__isnanf,...).
51781
c6e13027
JJ
517822011-03-10 Jakub Jelinek <jakub@redhat.com>
51783
51784 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
51785
33f85a3f
UD
517862011-03-10 Ulrich Drepper <drepper@gmail.com>
51787
028478fa
UD
51788 [BZ #12510]
51789 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
51790 copy from the symbol referenced in the relocation to initialize the
51791 used variable.
51792 Patch by Piotr Bury <pbury@goahead.com>.
51793 * elf/Makefile: Add rules to build and tst-unique3.
51794 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
51795 * elf/tst-unique3.cc: New file.
51796 * elf/tst-unique3.h: New file.
51797 * elf/tst-unique3lib.cc: New file.
51798 * elf/tst-unique3lib2.cc: New file.
51799
33f85a3f
UD
51800 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
51801
03592fc7
MF
518022011-03-10 Mike Frysinger <vapier@gentoo.org>
51803
51804 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
51805 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
51806 to _start.
03592fc7 51807
6a5ee102
UD
518082011-03-06 Ulrich Drepper <drepper@gmail.com>
51809
51810 * elf/dl-load.c (_dl_map_object): If we are looking for the first
51811 to-be-loaded object along a path to loader is ld.so.
51812
7e4ba49c
HJ
518132011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
51814 Ulrich Drepper <drepper@gmail.com>
51815
51816 * sysdeps/x86_64/memset.S: After aligning destination, code
51817 branches to different locations depending on the value of
51818 misalignment, when multiarch is enabled. Fix this.
51819
518202011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
51821
51822 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
51823 Set _x86_64_preferred_memory_instruction for AMD processsors.
51824 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
51825 Set bit_Prefer_SSE_for_memop for AMD processors.
51826
13a804de
UD
518272011-03-04 Ulrich Drepper <drepper@gmail.com>
51828
51829 * libio/fmemopen.c (fmemopen): Optimize a bit.
51830
9d25c392
AS
518312011-03-03 Andreas Schwab <schwab@redhat.com>
51832
51833 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
51834
a5543c6a
RM
518352011-03-03 Roland McGrath <roland@redhat.com>
51836
51837 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
51838
012d35f7
DM
518392011-02-28 Aurelien Jarno <aurelien@aurel32.net>
51840
7e4ba49c 51841 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
51842 __bzero_ultra1 instead of __memset_ultra1.
51843
4bff6e01
AS
518442011-02-23 Andreas Schwab <schwab@redhat.com>
51845 Ulrich Drepper <drepper@gmail.com>
51846
51847 [BZ #12509]
51848 * include/link.h (struct link_map): Add l_orig_initfini.
51849 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
51850 returning unsuccessfully.
51851 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
51852 close of a file loaded at startup, restore the original l_initfini
51853 list.
51854 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
51855 list, store the pointer.
51856 * elf/Makefile ($(objpfx)noload-mem): New rule.
51857 (noload-ENV): Define.
51858 (tests): Add $(objpfx)noload-mem.
51859 * elf/noload.c: Include <memcheck.h>.
51860 (main): Call mtrace. Close all opened handles.
51861
f2092faf
AS
518622011-02-17 Andreas Schwab <schwab@redhat.com>
51863
51864 [BZ #12454]
51865 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
51866 dependencies are missing.
51867
6c8a2e88
ST
518682011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
51869
f2092faf 51870 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
51871 Hurd needs munmap.
51872 * sysdeps/mach/hurd/ifreq.h: New file.
51873
84a42118
PB
518742011-01-27 Petr Baudis <pasky@suse.cz>
51875 Ulrich Drepper <drepper@gmail.com>
51876
071f805e 51877 [BZ 12445]#
84a42118
PB
51878 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
51879 to extend_alloca().
51880 * stdio-common/bug23.c: New file.
51881 * stdio-common/Makefile (tests): Add bug23.
51882
e23fe25b
AS
518832010-09-28 Andreas Schwab <schwab@redhat.com>
51884 Ulrich Drepper <drepper@gmail.com>
51885
51886 [BZ #12489]
51887 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
51888 before performing relro protection. At old place add assertion
51889 to make sure nothing changed.
51890
d3f02e10
NS
518912011-02-17 Nathan Sidwell <nathan@codesourcery.com>
51892 Glauber de Oliveira Costa <glommer@gmail.com>
51893
51894 * elf/elf.h: Add new ARM TLS relocs.
51895
d55fd7a5
RA
518962011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
51897
51898 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
51899 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
51900 cast from r3.
51901 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
51902 'tests' variable.
51903 * sysdeps/wordsize-64/tst-writev.c: New file.
51904
2206397e
RA
519052011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
51906
51907 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
51908 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
51909 insns in _dl_start to prevent a TOC reference before relocs are
51910 resolved.
51911
e9433893
UD
519122011-02-15 Ulrich Drepper <drepper@gmail.com>
51913
51914 [BZ #12469]
51915 * Makeconfig: Remove RANLIB definition.
51916 * Makerules: Don't use RANLIB.
51917 * aclocal.m4: Remove ranlib test.
51918 * configure.in: No need to check for ranlib.
51919 * elf/rtld-Rules: Don't use RANLIB.
51920
f75286c6
ST
519212011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
51922
8e31c82d
ST
51923 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
51924 protection macro.
51925 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
51926 inclusion protection macro.
51927
f75286c6
ST
51928 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
51929 SIGRTMIN and SIGRTMAX and print information in that case only when
51930 SIGRTMIN is defined.
51931
c1d0e639
JJ
519322011-02-11 Jakub Jelinek <jakub@redhat.com>
51933
51934 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
51935 arginfo fn returning -1.
51936
51937 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
51938 and thousands string is zero terminated.
51939
edf9294e
AS
519402011-02-03 Andreas Schwab <schwab@redhat.com>
51941
51942 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
51943 sysdeps/unix/sysv/linux/bits/socket.h.
51944
2b7e92df
ST
519452011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
51946
edf9294e
AS
51947 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
51948 (__CPU_COUNT): Remove old macros.
51949 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
51950 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
51951 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
51952 (__sched_cpualloc, __sched_cpufree): Add declarations.
51953
a4c7ea7b
UD
519542011-02-05 Ulrich Drepper <drepper@gmail.com>
51955
51956 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
51957 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
51958 * nscd/aicache.c (addhstaiX): Return timeout of added value.
51959 (readdhstai): Return value of addhstaiX call.
51960 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
51961 (addgrbyX): Return value returned by cache_addgr.
51962 (readdgrbyname): Return value returned by addgrbyX.
51963 (readdgrbygid): Likewise.
51964 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
51965 (addpwbyX): Return value returned by cache_addpw.
51966 (readdpwbyname): Return value returned by addhstbyX.
51967 (readdpwbyuid): Likewise.
51968 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
51969 (addservbyX): Return value returned by cache_addserv.
51970 (readdservbyname): Return value returned by addservbyX:
51971 (readdservbyport): Likewise.
51972 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
51973 (addhstbyX): Return value returned by cache_addhst.
51974 (readdhstbyname): Return value returned by addhstbyX.
51975 (readdhstbyaddr): Likewise.
51976 (readdhstbynamev6): Likewise.
51977 (readdhstbyaddrv6): Likewise.
51978 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
51979 (readdinitgroups): Return value returned by addinitgroupsX.
51980 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
51981 (prune_cache): Keep track of timeout value of re-added entries.
51982 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
51983 * nscd/nscd.h: Adjust prototypes of readd* functions.
51984
a0bf67cc
RM
519852011-02-04 Roland McGrath <roland@redhat.com>
51986
51987 * nis/nis_server.c (nis_servstate): Use the right name for 0.
51988 (nis_stats): Likewise.
51989 * nis/nis_modify.c (nis_modify): Likewise.
51990 * nis/nis_remove.c (nis_remove): Likewise.
51991 * nis/nis_add.c (nis_add): Likewise.
51992
51993 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
51994
51995 * posix/fnmatch_loop.c: Add some consts.
51996
51997 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
51998
435b95eb
L
519992011-02-02 H.J. Lu <hongjiu.lu@intel.com>
52000
52001 [BZ #12460]
52002 * config.make.in (config-cflags-novzeroupper): Define.
52003 * configure.in: Substitute libc_cv_cc_novzeroupper.
52004 * elf/Makefile (AVX-CFLAGS): Define.
52005 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
52006 (CFLAGS-tst-auditmod4a.c): Likewise.
52007 (CFLAGS-tst-auditmod4b.c): Likewise.
52008 (CFLAGS-tst-auditmod6b.c): Likewise.
52009 (CFLAGS-tst-auditmod6c.c): Likewise.
52010 (CFLAGS-tst-auditmod7b.c): Likewise.
52011 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
52012
8517b15e
UD
520132011-02-02 Ulrich Drepper <drepper@gmail.com>
52014
52015 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
52016 function to the callback.
52017 Patch partly by Jiri Olsa <jolsa@redhat.com>.
52018
10a656fe
AS
520192011-02-02 Andreas Schwab <schwab@redhat.com>
52020
52021 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
52022 of errno.
52023
968dad0a
UD
520242011-01-19 Ulrich Drepper <drepper@gmail.com>
52025
9f94d2ea 52026 [BZ #11724]
968dad0a
UD
52027 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
52028 of constructors.
52029 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
52030 of destructors.
52031 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
52032
52033 [BZ #11724]
52034 * elf/Makefile: Add rules to build and run new test.
52035 * elf/tst-initorder.c: New file.
52036 * elf/tst-initorder.exp: New file.
52037 * elf/tst-initordera1.c: New file.
52038 * elf/tst-initordera2.c: New file.
52039 * elf/tst-initordera3.c: New file.
52040 * elf/tst-initordera4.c: New file.
52041 * elf/tst-initorderb1.c: New file.
52042 * elf/tst-initorderb2.c: New file.
52043 * elf/tst-order-a1.c: New file.
52044 * elf/tst-order-a2.c: New file.
52045 * elf/tst-order-a3.c: New file.
52046 * elf/tst-order-a4.c: New file.
52047 * elf/tst-order-b1.c: New file.
52048 * elf/tst-order-b2.c: New file.
52049 * elf/tst-order-main.c: New file.
52050 New test case by George Gensure <werkt0@gmail.com>.
52051
86e92359
UD
520522010-10-01 Andreas Schwab <schwab@redhat.com>
52053
52054 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
52055 decoding ACE if AI_CANONIDN.
52056
5d5732b0
UD
520572011-01-18 Ulrich Drepper <drepper@gmail.com>
52058
52059 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
52060
a77e8cbc
UD
520612011-01-17 Ulrich Drepper <drepper@gmail.com>
52062
6392473f
UD
52063 * version.h (RELEASE): Bump for 2.13 release.
52064 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
52065
620a0529
UD
52066 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
52067
18ba70a5
UD
52068 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
52069 MADV_NOHUGEPAGE.
32465c3e
UD
52070 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
52071 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
52072 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
52073 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
52074 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
52075 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
52076
c0dafcf1
UD
52077 * posix/getconf.c: Update copyright year.
52078 * catgets/gencat.c: Likewise.
52079 * csu/version.c: Likewise.
52080 * debug/catchsegv.sh: Likewise.
52081 * debug/xtrace.sh: Likewise.
52082 * elf/ldconfig.c: Likewise.
52083 * elf/ldd.bash.in: Likewise.
52084 * elf/sprof.c (print_version): Likewise.
52085 * iconv/iconv_prog.c: Likewise.
52086 * iconv/iconvconfig.c: Likewise.
52087 * locale/programs/locale.c: Likewise.
52088 * locale/programs/localedef.c: Likewise.
52089 * malloc/memusage.sh: Likewise.
52090 * malloc/mtrace.pl: Likewise.
52091 * nscd/nscd.c (print_version): Likewise.
52092 * nss/getent.c: Likewise.
52093
a77e8cbc
UD
52094 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
52095 PF_CAIF, and PF_ALG.
52096 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
52097
77e8bddf
AS
520982011-01-16 Andreas Schwab <schwab@linux-m68k.org>
52099
1f20b93a
AS
52100 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
52101 (modules-names): Use them.
52102 (ifunc-test-modules, ifunc-pie-tests): Define.
52103 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
52104 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
52105 (test-extras): Likewise.
52106 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
52107 $(compile-command.c).
52108 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
52109 (all-built-dso): Define.
52110 (check-textrel.out, check-execstack.out): Depend on it.
52111
77e8bddf
AS
52112 * configure.in: Don't override --enable-multi-arch.
52113
bc425b33
UD
521142011-01-15 Ulrich Drepper <drepper@gmail.com>
52115
52116 [BZ #6812]
52117 * nscd/hstcache.c (tryagain): Define.
52118 (cache_addhst): Return tryagain not notfound for temporary errors.
52119 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
52120 failed.
52121
794c3ad3
UD
521222011-01-14 Ulrich Drepper <drepper@gmail.com>
52123
70181fdd
UD
52124 [BZ #10563]
52125 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
52126 to make the syscall.
52127 * sysdeps/unix/sysv/linux/setgroups.c: New file.
52128
794c3ad3
UD
52129 [BZ #12378]
52130 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
52131 and fall back to matching as normal character if the string ends before
52132 the matching ']' is found. This is what POSIX requires.
52133 * posix/testfnm.c: Adjust test result.
52134 * posix/globtest.sh: Adjust test result. Add new test.
52135 * posix/tst-fnmatch.input: Likewise.
52136 * posix/tst-fnmatch2.c: Add new test.
52137
68dc9497
AS
521382010-12-28 Andreas Schwab <schwab@linux-m68k.org>
52139
52140 * elf/Makefile (check-execstack): Revert last change. Depend on
52141 check-execstack.h.
52142 (check-execstack.h): New target.
52143 (generated): Add check-execstack.h.
52144 * elf/check-execstack.c: Include "check-execstack.h".
52145 (main): Revert last change.
52146 (handle_file): Return zero if GNU_STACK is absent and
52147 DEFAULT_STACK_PERMS doesn't include PF_X.
52148
451f001b
UD
521492011-01-13 Ulrich Drepper <drepper@gmail.com>
52150
cfa28e56
UD
52151 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
52152 in child fails because the descriptor is already closed.
8cf8ce17
UD
52153 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
52154 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
52155 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 52156
1086d70d
UD
52157 [BZ #12397]
52158 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
52159 syscall.
52160
451f001b
UD
52161 [BZ #10484]
52162 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
52163 temporary buffer used to handle multi lookups locally.
a85b5cb4 52164 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 52165
08769175
UD
521662011-01-12 Ulrich Drepper <drepper@gmail.com>
52167
52168 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
52169 loader is ld.so.
52170
5e49c52e
UD
521712011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
52172
52173 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
52174 alignment for SSE2.
52175
60522a5f
UD
521762011-01-12 Ulrich Drepper <drepper@gmail.com>
52177
52178 [BZ #12394]
52179 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
52180 characters. When rounding increased number of integer digits recompute
52181 number of groups.
52182 * stdio-common/tst-grouping.c: New file.
52183 * stdio-common/Makefile: Add rules to build and run tst-grouping.
52184
f257bbd7
UD
521852011-01-09 Ulrich Drepper <drepper@gmail.com>
52186
52187 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
52188 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
52189
52190 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
52191 void.
52192 * bits/select.h: Likewise.
52193
fa9c15cb
UD
521942011-01-08 Ulrich Drepper <drepper@gmail.com>
52195
52196 * po/ja.po: Update from translation team.
52197
16c2895f
DM
521982011-01-04 David S. Miller <davem@sunset.davemloft.net>
52199
52200 [BZ #11155]
52201 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
52202 implementation just like for lxstat, fxstatat, et al.
52203
2543fef2
JM
522042010-12-27 Jim Meyering <meyering@redhat.com>
52205
52206 [BZ #12348]
52207 * posix/regexec.c (build_trtable): Return failure indication upon
52208 calloc failure. Otherwise, re_search_internal could infloop on OOM.
52209
98727dbe
UD
522102010-12-25 Ulrich Drepper <drepper@gmail.com>
52211
5bd6dc5c
UD
52212 [BZ #12201]
52213 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
52214 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
52215 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
52216 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
52217
97983464
UD
52218 [BZ #12207]
52219 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
52220
98727dbe
UD
52221 [BZ #12204]
52222 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
52223 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
52224
4a531bb0
L
522252010-12-15 H.J. Lu <hongjiu.lu@intel.com>
52226
52227 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
52228 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
52229 script has SORT_BY_INIT_PRIORITY.
52230 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
52231 NO_CTORS_DTORS_SECTIONS is defined.
52232 * elf/soinit.c: Likewise.
52233 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
52234 NO_CTORS_DTORS_SECTIONS is defined.
52235 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
52236 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
52237 * sysdeps/sh/init-first.c: Likewise.
52238 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
52239
07eb4b71
UD
522402010-12-24 Ulrich Drepper <drepper@gmail.com>
52241
52242 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
52243 always use the slow path.
52244
30950a5f
RA
522452010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
52246
52247 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
52248 similar rule which adds the sysdep directories to the header search in
52249 order to pick up the correct platform stackinfo.h.
52250 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
52251 perform test if it is, otherwise return successfully without testing.
52252 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
52253 DEFAULT_STACK_PERMS define in stackinfo.h.
52254 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
52255 defined in stackinfo.h.
52256 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
52257 DEFAULT_STACK_PERMS defined in stackinfo.h.
52258 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
52259 * sysdeps/ia64/stackinfo.h: Likewise.
52260 * sysdeps/s390/stackinfo.h: Likewise.
52261 * sysdeps/sh/stackinfo.h: Likewise.
52262 * sysdeps/sparc/stackinfo.h: Likewise.
52263 * sysdeps/x86_64/stackinfo.h: Likewise.
52264 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
52265 PF_X for powerpc64. Retain PF_X for powerpc32.
52266
db753e2c
UD
522672010-12-19 Ulrich Drepper <drepper@gmail.com>
52268
14b697f7
UD
52269 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
52270 accurately.
db753e2c
UD
52271 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
52272 GETDENTS_64BIT_ALIGNED.
52273
28300719
UD
522742010-12-14 Ulrich Drepper <dreper@gmail.com>
52275
14b697f7 52276 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 52277
4f197237
AS
522782010-12-10 Andreas Schwab <schwab@redhat.com>
52279
dbb0472f
AS
52280 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
52281 _GNU_SOURCE.
52282
4f197237
AS
52283 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
52284 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
52285 Remove __restrict.
52286 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
52287 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
52288
fb88ac72
UD
522892010-12-09 Ulrich Drepper <drepper@gmail.com>
52290
52291 [BZ #11655]
52292 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
52293 are initialized.
52294
42acbb92
JJ
522952010-12-09 Jakub Jelinek <jakub@redhat.com>
52296
52297 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
52298
c038d98d
UD
522992010-12-03 Ulrich Drepper <drepper@gmail.com>
52300
52301 * po/it.po: Update from translation team.
52302
3a4a2499
L
523032010-12-01 H.J. Lu <hongjiu.lu@intel.com>
52304
52305 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
52306 unused codes.
52307
1e24cf6e
UD
523082010-11-30 Ulrich Drepper <drepper@gmail.com>
52309
52310 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
52311
a7690819
AS
523122010-11-24 Andreas Schwab <schwab@redhat.com>
52313
52314 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
52315 specially.
52316 (gaih_getanswer_slice): Likewise.
52317
3bf8d1b1
JJ
523182010-10-20 Jakub Jelinek <jakub@redhat.com>
52319
52320 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
52321
6db52fbb
PB
523222010-05-31 Petr Baudis <pasky@suse.cz>
52323
52324 [BZ #11149]
52325 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
52326 silently even in the chroot mode.
52327
eaca7569
UD
523282010-11-22 Ulrich Drepper <drepper@gmail.com>
52329
52330 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
52331 last patch a bit. Pretty printing
52332
3056dcdb
UD
523332010-05-31 Petr Baudis <pasky@suse.cz>
52334
52335 [BZ #10085]
52336 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
52337 initialization of skip_initgroups_dyn.
52338
cf7c9078
UD
523392010-11-19 Ulrich Drepper <drepper@gmail.com>
52340
52341 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
52342 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
52343
a1fb5e3e
UD
523442010-11-16 Ulrich Drepper <drepper@gmail.com>
52345
52346 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
52347
3540d66b
AS
523482010-11-11 Andreas Schwab <schwab@redhat.com>
52349
52350 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
52351 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
52352 (tst-fnmatch-ENV): Set MALLOC_TRACE.
52353 ($(objpfx)tst-fnmatch-mem): New rule.
52354 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
52355 * posix/tst-fnmatch.c (main): Call mtrace.
52356
13b69574
L
523572010-11-11 H.J. Lu <hongjiu.lu@intel.com>
52358
52359 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
52360 Support Intel processor model 6 and model 0x2c.
52361
da93d214
LM
523622010-11-10 Luis Machado <luisgpm@br.ibm.com>
52363
52364 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
52365 signed comparison.
52366
8ca52c6e
L
523672010-11-09 H.J. Lu <hongjiu.lu@intel.com>
52368
52369 [BZ #12205]
52370 * string/test-strncasecmp.c (check_result): New function.
52371 (do_one_test): Use it.
52372 (check1): New function.
52373 (test_main): Use it.
52374 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
52375 Support strcasecmp and strncasecmp.
52376
69da074d
UD
523772010-11-08 Ulrich Drepper <drepper@gmail.com>
52378
52379 [BZ #12194]
52380 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
52381 * sysdeps/x86_64/bits/byteswap.h: Likewise.
52382
ff02d528
L
523832010-11-07 H.J. Lu <hongjiu.lu@intel.com>
52384
52385 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
52386 IFUNC support.
52387 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
52388 memset-x86-64.
52389 * sysdeps/x86_64/multiarch/bzero.S: New file.
52390 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
52391 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
52392 * sysdeps/x86_64/multiarch/memset.S: New file.
52393 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
52394 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
52395 Set bit_Prefer_SSE_for_memop for Intel processors.
52396 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
52397 Define.
52398 (index_Prefer_SSE_for_memop): Define.
52399 (HAS_PREFER_SSE_FOR_MEMOP): Define.
52400
344d0b54
LM
524012010-11-04 Luis Machado <luisgpm@br.ibm.com>
52402
52403 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
52404 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
52405
c0dde15b
UD
524062010-11-03 H.J. Lu <hongjiu.lu@intel.com>
52407
52408 [BZ #12191]
52409 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
52410 (__x86_64_raw_data_cache_size_half): Likewise.
52411 (__x86_64_raw_shared_cache_size): Likewise.
52412 (__x86_64_raw_shared_cache_size_half): Likewise.
52413
52414 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
52415 (__x86_64_raw_data_cache_size_half): Likewise.
52416 (__x86_64_raw_shared_cache_size): Likewise.
52417 (__x86_64_raw_shared_cache_size_half): Likewise.
52418 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
52419 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
52420 and __x86_64_raw_shared_cache_size_half. Round
52421 __x86_64_data_cache_size_half, __x86_64_data_cache_size
52422 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
52423 to multiple of 256 bytes.
52424
0e516e0e
MS
524252010-11-03 Ulrich Drepper <drepper@gmail.com>
52426
52427 [BZ #12167]
52428 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
52429 of inacessible symlinks. Verify result of symlink before returning it.
52430 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
52431 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
52432
0e012e87
ER
524332010-10-28 Erich Ritz <erichritz@gmail.com>
52434
52435 * math/math.h (isinf): Fix typo in comment.
52436
de0ff7bc
UD
524372010-11-01 Ulrich Drepper <drepper@gmail.com>
52438
52439 * po/da.po: Update from translation team.
52440
fa41c84d
UD
524412010-10-26 Ulrich Drepper <drepper@gmail.com>
52442
52443 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
52444 is added to the list.
52445
f0967738
AK
524462010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
52447 Ulrich Drepper <drepper@gmail.com>
52448
52449 * elf/dl-object.c (_dl_new_object): Don't append the new object to
52450 the global list here. Move code to...
52451 (_dl_add_to_namespace_list): ...here. New function.
52452 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
52453 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
52454 * elf/dl-load.c (lose): Don't remove the element from the list.
52455 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
52456 (_dl_map_object): Likewise.
52457
524582010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
52459
52460 [BZ #12159]
52461 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
52462 into all bytes of SSE register.
52463 Patch by Richard Li <richardpku@gmail.com>.
52464
f0967738 524652010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
52466
52467 [BZ #12140]
52468 * malloc/malloc.c (_int_free): Fill correct number of bytes when
52469 perturbing.
52470
d0b9e94f
MB
524712010-10-20 Michael B. Brutman <brutman@us.ibm.com>
52472
52473 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
52474 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
52475 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
52476 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
52477 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
52478 submachine.
52479 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
52480
8e9f92e9
AS
524812010-10-22 Andreas Schwab <schwab@redhat.com>
52482
52483 * include/dlfcn.h (__RTLD_SECURE): Define.
52484 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
52485 mode & __RTLD_SECURE instead.
52486 (open_path): Rename preloaded parameter to secure.
52487 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
52488 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
52489 * elf/dl-deps.c (openaux): Likewise.
52490 * elf/rtld.c (struct map_args): Remove is_preloaded.
52491 (map_doit): Don't use it.
52492 (dl_main): Likewise.
52493 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
52494 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
52495
bc96fbda
AS
524962010-09-09 Andreas Schwab <schwab@redhat.com>
52497
52498 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
52499 (sysd-rules-targets): Remove duplicates.
52500 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
52501 rtld-%.$o dependency.
52502
22cd1c9b
AS
525032010-10-18 Andreas Schwab <schwab@redhat.com>
52504
52505 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
52506 _dl_map_object do it.
52507
18edac48
UD
525082010-10-19 Ulrich Drepper <drepper@gmail.com>
52509
52510 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
52511 fast fma builtins, define the macros in the C99 standard.
52512 (FP_FAST_FMAF): Likewise.
52513 (FP_FAST_FMAL): Likewise.
52514 * sysdeps/x86_64/bits/mathdef.h: Likewise.
52515
52516 * bits/mathdef.h: Update copyright year.
52517 * sysdeps/powerpc/bits/mathdef.h: Likewise.
52518
d2050124
MM
525192010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
52520
52521 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
52522 builtins, define the macros in the C99 standard.
52523 (FP_FAST_FMAF): Likewise.
52524 (FP_FAST_FMAL): Likewise.
52525 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
52526 multiply/add.
52527 (FP_FAST_FMAF): Likewise.
52528
475facd1
JJ
525292010-10-15 Jakub Jelinek <jakub@redhat.com>
52530
52531 [BZ #3268]
52532 * math/libm-test.inc (fma_test): Some new testcases.
52533 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
52534 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
52535 y and infinite z. Do multiplication by C already in long double.
52536 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
52537 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
52538 y and infinite z. Do bitwise or of inexact bit into u.d.
52539 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
52540 * sysdeps/i386/fpu/s_fmaf.S: Removed.
52541 * sysdeps/i386/fpu/s_fma.S: Removed.
52542 * sysdeps/i386/fpu/s_fmal.S: Removed.
52543
7c08a05c
JJ
525442010-10-16 Jakub Jelinek <jakub@redhat.com>
52545
52546 [BZ #3268]
52547 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
52548 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
52549 computation is not scheduled after fetestexcept. Fix value
52550 of minimum denormal long double.
52551
f3f7372d
JJ
525522010-10-14 Jakub Jelinek <jakub@redhat.com>
52553
52554 [BZ #3268]
52555 * math/libm-test.inc (fma_test): Add some more tests.
52556 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
52557 correctly.
52558
14d43591
AS
525592010-10-15 Andreas Schwab <schwab@redhat.com>
52560
52561 * scripts/data/localplt-s390-linux-gnu.data: New file.
52562 * scripts/data/localplt-s390x-linux-gnu.data: New file.
52563
5e908464
JJ
525642010-10-13 Jakub Jelinek <jakub@redhat.com>
52565
52566 [BZ #3268]
52567 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
52568 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
52569 instead of dbl-64.
52570 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
52571 inlines.
52572 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
52573 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
52574 if one of x and y is very large and the other is subnormal.
52575 * sysdeps/s390/fpu/s_fmaf.c: New file.
52576 * sysdeps/s390/fpu/s_fma.c: New file.
52577 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
52578 * sysdeps/powerpc/fpu/s_fma.S: New file.
52579 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
52580 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
52581 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
52582
525832010-10-12 Jakub Jelinek <jakub@redhat.com>
52584
52585 [BZ #3268]
52586 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
52587 fma tests.
52588 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
52589 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
52590 * sysdeps/i386/i686/multiarch/s_fma.c: Include
52591 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
52592 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
52593 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
52594 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
52595
b833d51f
UD
525962010-10-12 Ulrich Drepper <drepper@redhat.com>
52597
52598 [BZ #12078]
52599 * posix/regcomp.c (parse_branch): One more memory leak plugged.
52600 * posix/bug-regex31.input: Add test case.
52601
1751705d
UD
526022010-10-11 Ulrich Drepper <drepper@gmail.com>
52603
e9b9cbf5
UD
52604 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
52605 * posix/bug-regex31.input: New file.
52606
52607 [BZ #12078]
52608 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
52609 (parse_sub_exp): Fix last change, use postorder.
52610
ef06edbe
UD
52611 * posix/bug-regex31.c: New file.
52612 * posix/Makefile: Add rules to build and run bug-regex31.
52613
a129c80d
UD
52614 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
52615
52616 [BZ #12078]
52617 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
52618
b76b818e
UD
52619 [BZ #12108]
52620 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
52621 to have entries in sys_siglist.
52622
1751705d
UD
52623 [BZ #12093]
52624 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
52625 be NULL.
52626
9ff8d36f
JJ
526272010-10-07 Jakub Jelinek <jakub@redhat.com>
52628
52629 [BZ #3268]
52630 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
52631 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
52632 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
52633 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
52634 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
52635 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
52636 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
52637 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
52638 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
52639 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
52640 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
52641 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
52642 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
52643 * math/ftestexcept.c (fetestexcept): Likewise.
52644 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
52645 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
52646 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
52647 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
52648 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
52649 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
52650 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
52651
af325969
UD
526522010-10-11 Ulrich Drepper <drepper@gmail.com>
52653
c579b202 52654 [BZ #12107]
af325969
UD
52655 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
52656 newline.
52657
67a67b95
UD
526582010-10-06 Ulrich Drepper <drepper@gmail.com>
52659
52660 * string/bug-strstr1.c: New file.
52661 * string/Makefile: Add rules to build and run bug-strstr1.
52662
5fb308bc
EB
526632010-10-05 Eric Blake <eblake@redhat.com>
52664
52665 [BZ #12092]
52666 * string/str-two-way.h (two_way_long_needle): Always clear memory
52667 when skipping input due to the shift table.
52668
45db99c7
UD
526692010-10-03 Ulrich Drepper <drepper@gmail.com>
52670
3b111893
UD
52671 [BZ #12005]
52672 * malloc/mcheck.c: Handle large requests.
52673
45db99c7
UD
52674 [BZ #12077]
52675 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
52676 for strncmp and strncasecmp.
52677 * string/stratcliff.c: Add tests for strcmp and strncmp.
52678 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
52679
cf7a1eb8
NI
526802010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
52681
52682 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
52683 __set_fpscr.
52684
6484ba5e
AJ
526852010-09-30 Andreas Jaeger <aj@suse.de>
52686
52687 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
52688 (CGROUP_SUPER_MAGIC): Define.
52689 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
52690 Handle btrfs and cgroup file systems.
52691 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
52692 Likewise.
52693
91c42559
LM
526942010-09-27 Luis Machado <luisgpm@br.ibm.com>
52695
52696 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
52697 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
52698
87a97932
AK
526992010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
52700
52701 [BZ #12067]
52702 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
52703 trying to locate the ELF header.
52704
c21cc9bc
AS
527052010-09-27 Andreas Schwab <schwab@redhat.com>
52706
52707 [BZ #11611]
52708 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
52709 Mask out sign-bit copies when constructing f_fsid.
52710
315970f6
PB
527112010-09-24 Petr Baudis <pasky@suse.cz>
52712
52713 * debug/stack_chk_fail_local.c: Add missing licence exception.
52714 * debug/warning-nop.c: Likewise.
52715
1ac7a2c7
JM
527162010-09-15 Joseph Myers <joseph@codesourcery.com>
52717
52718 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
52719 implementing getdents64 using getdents syscall, set d_type if
52720 __ASSUME_GETDENTS32_D_TYPE.
52721
56801c50
AS
527222010-09-16 Andreas Schwab <schwab@redhat.com>
52723
52724 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
52725 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
52726
dda51327
UD
527272010-09-21 Ulrich Drepper <drepper@redhat.com>
52728
52729 [BZ #12037]
52730 * posix/unistd.h: Undo change of feature selection for ftruncate from
52731 2010-01-11.
52732
8ffcee4a
UD
527332010-09-20 Ulrich Drepper <drepper@redhat.com>
52734
a545ecd9 52735 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
52736 detection.
52737
e24f0a8b
AS
527382010-09-20 Andreas Schwab <schwab@redhat.com>
52739
52740 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
52741 fanotify_mark.
52742 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
52743
7291c56f
AS
527442010-09-14 Andreas Schwab <schwab@redhat.com>
52745
52746 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
52747 variables after CHECK_SP call.
52748 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
52749
bc5fb037
AS
527502010-09-13 Andreas Schwab <schwab@redhat.com>
52751 Ulrich Drepper <drepper@redhat.com>
52752
52753 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
52754 re-relocationg ld.so.
52755 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
52756 _dl_init_paths call.
52757 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
52758 here anymore.
52759
e66e7419
UD
527602010-09-14 Ulrich Drepper <drepper@redhat.com>
52761
52762 * resolv/res_init.c (__res_vinit): Count the default server we added.
52763
c044aa75
CLT
527642010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
52765 Ulrich Drepper <drepper@redhat.com>
52766
52767 [BZ #11968]
52768 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
52769 (____longjmp_chk): Use %ebx for saving value across system call.
52770 Add unwind info.
52771
32cf4069
AS
527722010-09-06 Andreas Schwab <schwab@redhat.com>
52773
52774 * manual/Makefile: Don't mix pattern rules with normal rules.
52775
817328ee
AS
527762010-09-05 Andreas Schwab <schwab@linux-m68k.org>
52777
52778 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
52779 operation.
52780 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
52781 * libio/iofopncook.c (_IO_cookie_init): Likewise.
52782 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
52783 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
52784 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
52785 Likewise.
52786
29fddf61
UD
527872010-09-04 Ulrich Drepper <drepper@redhat.com>
52788
52789 [BZ #11979]
52790 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
52791 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
52792
0959ffc9
UD
527932010-09-02 Ulrich Drepper <drepper@redhat.com>
52794
52795 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
52796 * sysdeps/x86_64/addmul_1.S: Likewise.
52797 * sysdeps/x86_64/lshift.S: Likewise.
52798 * sysdeps/x86_64/mul_1.S: Likewise.
52799 * sysdeps/x86_64/rshift.S: Likewise.
52800 * sysdeps/x86_64/sub_n.S: Likewise.
52801 * sysdeps/x86_64/submul_1.S: Likewise.
52802
ece29840
ST
528032010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
52804
0959ffc9
UD
52805 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
52806 Define __sched_param instead of SCHED_* and sched_param when
ece29840 52807 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 52808 * bits/sched.h [__need_schedparam]
ece29840 52809 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
52810 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
52811 (__defined_schedparam): Define to 1.
ece29840
ST
52812 (__sched_param): New structure, identical to sched_param.
52813 (__need_schedparam): Undefine.
52814
e53a31fe
MF
528152010-08-31 Mike Frysinger <vapier@gentoo.org>
52816
fdc0c10d
MF
52817 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
52818 (epoll_create1): Declare.
52819
e53a31fe
MF
52820 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
52821
a726d796
AS
528222010-08-31 Andreas Schwab <schwab@redhat.com>
52823
52824 [BZ #7066]
52825 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
52826 shifting retval into place.
52827
2f3e3dc7
UD
528282010-09-01 Ulrich Drepper <drepper@redhat.com>
52829
f2933da9
UD
52830 * nis/rpcsvc/nis.h: Update copyright notice.
52831 * nis/rpcsvc/nis.x: Likewise.
52832 * nis/rpcsvc/nis_callback.h: Likewise.
52833 * nis/rpcsvc/nis_callback.x: Likewise.
52834 * nis/rpcsvc/nis_object.x: Likewise.
52835 * nis/rpcsvc/nis_tags.h: Likewise.
52836 * nis/rpcsvc/yp.h: Likewise.
52837 * nis/rpcsvc/yp.x: Likewise.
52838 * nis/rpcsvc/ypupd.h: Likewise.
52839 * nis/yp_xdr.c: Likewise.
52840 * nis/ypupdate_xdr.c: Likewise.
52841
2f3e3dc7
UD
52842 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
52843 mainly the body of pmap_getport. Add parameters to specify timeouts.
52844 (pmap_getport): Use __libc_rpc_getport.
52845 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
52846 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
52847 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
52848
f3dcc2f9
AS
528492010-08-31 Andreas Schwab <schwab@linux-m68k.org>
52850
52851 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
52852 fanotify_mark.
52853
6d34eb5b
RM
528542010-08-27 Roland McGrath <roland@redhat.com>
52855
52856 * sysdeps/i386/i686/multiarch/Makefile
52857 (CFLAGS-varshift.c): New variable.
52858
9ea3de11
UD
528592010-08-27 Ulrich Drepper <drepper@redhat.com>
52860
c96d23fc
UD
52861 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
52862 * sysdeps/i386/i686/multiarch/varshift.c: New file.
52863
9ea3de11
UD
52864 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
52865
52866 * sysdeps/x86_64/strlen.S: Minimal code improvement.
52867
623aac7f
L
528682010-08-26 H.J. Lu <hongjiu.lu@intel.com>
52869
52870 * sysdeps/x86_64/strlen.S: Unroll the loop.
52871 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
52872 strlen-sse2 strlen-sse2-bsf.
52873 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
52874 __strlen_no_bsf if bit_Slow_BSF is set.
52875 (__strlen_sse42): Removed.
52876 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
52877 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
52878
8b2b7715
RM
528792010-08-25 Roland McGrath <roland@redhat.com>
52880
52881 * sysdeps/x86_64/multiarch/varshift.S: File removed.
52882 * sysdeps/x86_64/multiarch/varshift.c: New file.
52883 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
52884 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
52885 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
52886 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
52887
e73015f2
L
528882010-08-25 H.J. Lu <hongjiu.lu@intel.com>
52889
52890 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
52891 strlen-sse2 strlen-sse2-bsf.
52892 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
52893 __strlen_sse2_bsf if bit_Slow_BSF is unset.
52894 (__strlen_sse2): Removed.
52895 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
52896 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
52897 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
52898 bit_Slow_BSF for Atom.
52899 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
52900 (index_Slow_BSF): Define.
52901 (HAS_SLOW_BSF): Define.
52902
df24a73e
UD
529032010-08-25 Ulrich Drepper <drepper@redhat.com>
52904
52905 [BZ #10851]
52906 * resolv/res_init.c (__res_vinit): When no server address at all
52907 is given default to loopback.
52908
f2ac4868
RM
529092010-08-24 Roland McGrath <roland@redhat.com>
52910
09055553
RM
52911 * configure.in: Remove config-name.h generation.
52912 * configure: Regenerated.
52913 * config-name.in: File removed.
52914 * scripts/config-uname.sh: New file.
52915 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
52916 ($(objdir)config-name.h): New target.
52917
f2ac4868
RM
52918 * sunrpc/rpc_parse.h: Avoid nested comment.
52919
73f27d5e
RH
529202010-08-24 Richard Henderson <rth@redhat.com>
52921 Ulrich Drepper <drepper@redhat.com>
52922 H.J. Lu <hongjiu.lu@intel.com>
52923
52924 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
52925 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
52926 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
52927 Replace _mm_srli_si128 with __m128i_shift_right. Replace
52928 _mm_alignr_epi8 with _mm_loadu_si128.
52929 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
52930 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
52931 (__m128i_shift_right): Removed.
52932 * sysdeps/i386/i686/multiarch/varshift.h: New file.
52933 * sysdeps/i386/i686/multiarch/varshift.S: New file.
52934 * sysdeps/x86_64/multiarch/varshift.h: New file.
52935 * sysdeps/x86_64/multiarch/varshift.S: New file.
52936
84b9230c
MF
529372010-08-21 Mike Frysinger <vapier@gentoo.org>
52938
52939 * configure.in: Move assembler checks to before sysdep dir checking.
52940
9bbd0ddc
PB
529412010-08-20 Petr Baudis <pasky@suse.cz>
52942
52943 * LICENSES: Sync the sunrpc license.
52944
9da4bb31
UD
529452010-08-19 Ulrich Drepper <drepper@redhat.com>
52946
a7ab6ec8
UD
52947 * sunrpc/auth_des.c: Update copyright notice once again.
52948 * sunrpc/auth_none.c: Likewise.
52949 * sunrpc/auth_unix.c: Likewise.
52950 * sunrpc/authdes_prot.c: Likewise.
52951 * sunrpc/authuxprot.c: Likewise.
52952 * sunrpc/bindrsvprt.c: Likewise.
52953 * sunrpc/clnt_gen.c: Likewise.
52954 * sunrpc/clnt_perr.c: Likewise.
52955 * sunrpc/clnt_raw.c: Likewise.
52956 * sunrpc/clnt_simp.c: Likewise.
52957 * sunrpc/clnt_tcp.c: Likewise.
52958 * sunrpc/clnt_udp.c: Likewise.
52959 * sunrpc/clnt_unix.c: Likewise.
52960 * sunrpc/des_crypt.c: Likewise.
52961 * sunrpc/des_soft.c: Likewise.
52962 * sunrpc/get_myaddr.c: Likewise.
52963 * sunrpc/getrpcport.c: Likewise.
52964 * sunrpc/key_call.c: Likewise.
52965 * sunrpc/key_prot.c: Likewise.
52966 * sunrpc/openchild.c: Likewise.
52967 * sunrpc/pm_getmaps.c: Likewise.
52968 * sunrpc/pm_getport.c: Likewise.
52969 * sunrpc/pmap_clnt.c: Likewise.
52970 * sunrpc/pmap_prot.c: Likewise.
52971 * sunrpc/pmap_prot2.c: Likewise.
52972 * sunrpc/pmap_rmt.c: Likewise.
52973 * sunrpc/rpc/auth.h: Likewise.
52974 * sunrpc/rpc/auth_unix.h: Likewise.
52975 * sunrpc/rpc/clnt.h: Likewise.
52976 * sunrpc/rpc/des_crypt.h: Likewise.
52977 * sunrpc/rpc/key_prot.h: Likewise.
52978 * sunrpc/rpc/netdb.h: Likewise.
52979 * sunrpc/rpc/pmap_clnt.h: Likewise.
52980 * sunrpc/rpc/pmap_prot.h: Likewise.
52981 * sunrpc/rpc/pmap_rmt.h: Likewise.
52982 * sunrpc/rpc/rpc.h: Likewise.
52983 * sunrpc/rpc/rpc_des.h: Likewise.
52984 * sunrpc/rpc/rpc_msg.h: Likewise.
52985 * sunrpc/rpc/svc.h: Likewise.
52986 * sunrpc/rpc/svc_auth.h: Likewise.
52987 * sunrpc/rpc/types.h: Likewise.
52988 * sunrpc/rpc/xdr.h: Likewise.
52989 * sunrpc/rpc_clntout.c: Likewise.
52990 * sunrpc/rpc_cmsg.c: Likewise.
52991 * sunrpc/rpc_common.c: Likewise.
52992 * sunrpc/rpc_cout.c: Likewise.
52993 * sunrpc/rpc_dtable.c: Likewise.
52994 * sunrpc/rpc_hout.c: Likewise.
52995 * sunrpc/rpc_main.c: Likewise.
52996 * sunrpc/rpc_parse.c: Likewise.
52997 * sunrpc/rpc_parse.h: Likewise.
52998 * sunrpc/rpc_prot.c: Likewise.
52999 * sunrpc/rpc_sample.c: Likewise.
53000 * sunrpc/rpc_scan.c: Likewise.
53001 * sunrpc/rpc_scan.h: Likewise.
53002 * sunrpc/rpc_svcout.c: Likewise.
53003 * sunrpc/rpc_tblout.c: Likewise.
53004 * sunrpc/rpc_util.c: Likewise.
53005 * sunrpc/rpc_util.h: Likewise.
53006 * sunrpc/rpcinfo.c: Likewise.
53007 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
53008 * sunrpc/rpcsvc/key_prot.x: Likewise.
53009 * sunrpc/rpcsvc/klm_prot.x: Likewise.
53010 * sunrpc/rpcsvc/mount.x: Likewise.
53011 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
53012 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
53013 * sunrpc/rpcsvc/rex.x: Likewise.
53014 * sunrpc/rpcsvc/rstat.x: Likewise.
53015 * sunrpc/rpcsvc/rusers.x: Likewise.
53016 * sunrpc/rpcsvc/sm_inter.x: Likewise.
53017 * sunrpc/rpcsvc/spray.x: Likewise.
53018 * sunrpc/rpcsvc/yppasswd.x: Likewise.
53019 * sunrpc/rtime.c: Likewise.
53020 * sunrpc/svc.c: Likewise.
53021 * sunrpc/svc_auth.c: Likewise.
53022 * sunrpc/svc_authux.c: Likewise.
53023 * sunrpc/svc_raw.c: Likewise.
53024 * sunrpc/svc_run.c: Likewise.
53025 * sunrpc/svc_simple.c: Likewise.
53026 * sunrpc/svc_tcp.c: Likewise.
53027 * sunrpc/svc_udp.c: Likewise.
53028 * sunrpc/svc_unix.c: Likewise.
53029 * sunrpc/svcauth_des.c: Likewise.
53030 * sunrpc/xcrypt.c: Likewise.
53031 * sunrpc/xdr.c: Likewise.
53032 * sunrpc/xdr_array.c: Likewise.
53033 * sunrpc/xdr_float.c: Likewise.
53034 * sunrpc/xdr_mem.c: Likewise.
53035 * sunrpc/xdr_rec.c: Likewise.
53036 * sunrpc/xdr_ref.c: Likewise.
53037 * sunrpc/xdr_sizeof.c: Likewise.
53038 * sunrpc/xdr_stdio.c: Likewise.
53039
9da4bb31
UD
53040 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
53041 handling.
53042
bdaa77bc
AS
530432010-08-19 Andreas Schwab <schwab@redhat.com>
53044
53045 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
53046
fe2f79db
LM
530472010-08-19 Luis Machado <luisgpm@br.ibm.com>
53048
53049 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
53050 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
53051 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
53052 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
53053 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
53054 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
53055 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
53056 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
53057 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
53058 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
53059 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
53060 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
53061 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
53062 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
53063
b9b42ee0
AB
530642010-07-26 Anton Blanchard <anton@samba.org>
53065
53066 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
53067 * malloc/arena.c (heap_trim): Likewise.
53068
1c06ba31
UD
530692010-08-16 Ulrich Drepper <drepper@redhat.com>
53070
53071 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
53072 here. Not...
53073 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
53074 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
53075
f8392f40
L
530762010-08-12 H.J. Lu <hongjiu.lu@intel.com>
53077
53078 * sysdeps/i386/elf/Makefile: New file.
53079
3162f12e
AS
530802010-08-14 Andreas Schwab <schwab@linux-m68k.org>
53081
53082 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
53083 from fanotify_init.
53084 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
53085 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
53086
28c90b2c
UD
530872010-08-15 Ulrich Drepper <drepper@redhat.com>
53088
53089 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
53090 of strncasecmp_l.
1feccb6c 53091 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 53092
ca6bb004
UD
530932010-08-14 Ulrich Drepper <drepper@redhat.com>
53094
e9f82e0d
UD
53095 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
53096 strncase_l-nonascii.
53097 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
53098 Add strncase_l-ssse3.
53099 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
53100 * sysdeps/x86_64/strcmp.S: Likewise.
53101 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
53102 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
53103 * sysdeps/x86_64/strncase.S: New file.
53104 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
53105 * sysdeps/x86_64/strncase_l.S: New file.
53106 * string/Makefile (strop-tests): Add strncasecmp.
53107 * string/test-strncasecmp.c: New file.
53108
53109 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
53110 warning.
53111
ca6bb004
UD
53112 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
53113 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
53114
052fa7b3
AS
531152010-08-14 Andreas Schwab <schwab@linux-m68k.org>
53116
53117 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
53118
962dba78
UD
531192010-08-12 Ulrich Drepper <drepper@redhat.com>
53120
53121 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
53122 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
53123 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
53124
bebff237
AM
531252010-05-01 Alan Modra <amodra@gmail.com>
53126
53127 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
53128 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
53129 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
53130 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
53131 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
53132 tidying. Don't tail-call __sigjmp_save for static lib.
53133 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
53134 save location.
53135 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
53136 (CALL_MCOUNT): Add eh info, and nop after bl.
53137 (TAIL_CALL_SYSCALL_ERROR): New macro.
53138 (PSEUDO_RET): Use it.
53139 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
53140 Correct save location of integer regs and cr.
53141 (_dl_profile_resolve): Correct cr save location. Delete nops
53142 after bl when SHARED. Reduce cfi size a little by better
53143 placement of cfi directives.
53144 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
53145 make a stack frame. Instead use parm save area as a temp.
53146 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
53147 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
53148 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
53149 Don't make a stack frame for parent, use parm save area.
53150 Increase child stack frame to 112 bytes. Don't save unused reg,
53151 and adjust reg usage. Set up cfi on error recovery and
53152 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
53153 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
53154 (__makecontext): Add dummy nop after jump to exit.
53155 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
53156 Use correct parm save area and cr save, reduce stack frame.
53157 Correct cfi for possible PSEUDO_RET frame setup.
53158 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
53159 Branch to local label emitted by PSEUDO_RET rather than
53160 __syscall_error.
53161
02637374
AS
531622010-08-12 Andreas Schwab <schwab@redhat.com>
53163
53164 [BZ #11904]
53165 * locale/programs/locale.c (print_assignment): New function.
53166 (show_locale_vars): Use it.
53167
c3e2f19b
UD
531682010-08-11 Ulrich Drepper <drepper@redhat.com>
53169
3cdaa6ad
UD
53170 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
53171 field.
53172 (struct statfs64): Likewise.
53173 (_STATFS_F_FLAGS): Define.
53174 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
53175 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
53176 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
53177 (ST_VALID): Define locally.
53178 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
53179 __statvfs_getflags, use the provided value.
53180 * sysdeps/unix/sysv/linux/kernel-features.h: Define
53181 __ASSUME_STATFS_F_FLAGS.
53182
754f7da3
UD
53183 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
53184
10b3bedc
UD
53185 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
53186 Add sys/fanotify.h.
53187 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
53188 fanotify_mask for GLIBC_2.13.
53189 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
53190 fanotify_init and fanotify_mark.
53191 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
53192 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
53193
c08fb0d7
UD
53194 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
53195 Add prlimit.
53196 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
53197 prlimit64 for GLIBC_2.13.
53198 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
53199 prlimit64.
53200 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
53201 syscall.
53202 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
53203 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
53204 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
53205 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
53206 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
53207 add prlimit alias.
53208 * sysdeps/unix/sysv/linux/prlimit.c: New file.
53209
15bac72b
UD
53210 [BZ #11903]
53211 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
53212 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
53213
c3e2f19b
UD
53214 * nss/Makefile: Add rules to build and run tst-nss-test1.
53215 * shlib-versions: Add entry for libnss_test1.
53216 * nss/nss_test1.c: New file.
53217 * nss/tst-nss-test1.c: New file.
53218
53219 * nss/nsswitch.c (__nss_database_custom): Define new variable.
53220 (__nss_configure_lookup): Set appropriate entry in
53221 __nss_configure_lookup to true.
53222 * nss/nsswitch.h: Define enum with indeces of databases in
53223 databases and __nss_database_custom arrays. Declare
53224 __nss_database_custom.
53225 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
53226 to avoid using nscd when custom rules are installed.
53227 * nss/getXXbyYY_r.c: Likewise.
53228 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
53229
53230 * nss/nss_files/files-parse.c: Whitespace fixes.
53231
f15ce4d8
UD
532322010-08-09 Ulrich Drepper <drepper@redhat.com>
53233
53234 [BZ #11883]
53235 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
53236 * posix/fnmatch_loop.c: Likewise.
53237
d22e4cc9
AK
532382010-07-17 Andi Kleen <ak@linux.intel.com>
53239
53240 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
53241 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
53242 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
53243 * Versions.def [GLIBC_2.13]: Add.
53244
805bc17d
UD
532452010-08-06 Ulrich Drepper <drepper@redhat.com>
53246
53247 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
53248 Also fail if tpwd after pwuid call is NULL.
53249
5a42321d
ST
532502010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
53251
53252 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
53253 when converting to ms.
53254
fd3ebeda
ST
532552010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
53256
53257 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
53258 EOPNOTSUPP errors with ENOTTY.
53259 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
53260 EOPNOTSUPP errors with ENOTTY.
53261
73507d3a
UD
532622010-07-31 Ulrich Drepper <drepper@redhat.com>
53263
53264 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
53265 Add strcasecmp_l-ssse3.
53266 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
53267 strcasecmp.
53268 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
53269 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
53270 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
53271
fe36dd02
UD
532722010-07-30 Ulrich Drepper <drepper@redhat.com>
53273
66f6765a
UD
53274 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
53275
42e08a54
UD
53276 * string/Makefile (strop-tests): Add strcasecmp.
53277 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
53278 strcasecmp_l-nonascii.
53279 (gen-as-const-headers): Add locale-defines.sym.
53280 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
53281 * sysdeps/x86_64/strcasecmp.S: New file.
53282 * sysdeps/x86_64/strcasecmp_l.S: New file.
53283 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
53284 * sysdeps/x86_64/locale-defines.sym: New file.
53285 * string/test-strcasecmp.c: New file.
53286
fe36dd02
UD
53287 * string/test-strcasestr.c: Test both ends of the range of characters.
53288 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
53289
48cbc0d6
RM
532902010-07-29 Roland McGrath <roland@redhat.com>
53291
76e6d6bc 53292 [BZ #11856]
48cbc0d6
RM
53293 * manual/locale.texi (Yes-or-No Questions): Fix example code.
53294
880113d9
UD
532952010-07-27 Ulrich Drepper <drepper@redhat.com>
53296
53297 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
53298 for ld.so.
53299
deb9cabb
AS
533002010-07-27 Andreas Schwab <schwab@redhat.com>
53301
53302 * manual/memory.texi (Malloc Tunable Parameters): Document
53303 M_PERTURB.
53304
1c7570ff
RM
533052010-07-26 Roland McGrath <roland@redhat.com>
53306
53307 [BZ #11840]
53308 * configure.in (-fgnu89-inline check): Set and substitute
53309 gnu89_inline, not libc_cv_gnu89_inline.
53310 * configure: Regenerated.
53311 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
53312
24fb0f88
UD
533132010-07-26 Ulrich Drepper <drepper@redhat.com>
53314
53315 * string/test-strnlen.c: New file.
53316 * string/Makefile (strop-tests): Add strnlen.
53317 * string/tester.c (test_strnlen): Add a few more test cases.
53318 * string/tst-strlen.c: Better error reporting.
53319
53320 * sysdeps/x86_64/strnlen.S: New file.
53321
8e96b93a
UD
533222010-07-24 Ulrich Drepper <drepper@redhat.com>
53323
53324 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
53325 lower-latency instructions.
53326
dbc676d4
UD
533272010-07-23 Ulrich Drepper <drepper@redhat.com>
53328
53329 * string/test-strcasestr.c: New file.
53330 * string/test-strstr.c: New file.
53331 * string/Makefile (strop-tests): Add strstr and strcasestr.
53332 * string/str-two-way.h: Don't undefine MAX.
53333 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
53334
f6a31e0e
AS
533352010-07-21 Andreas Schwab <schwab@redhat.com>
53336
53337 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
53338 strcasestr-nonascii.
53339 (CFLAGS-strcasestr-nonascii.c): Define.
53340 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
53341 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
53342 Remove unused attribute.
53343
5dbc3b6c
RM
533442010-07-20 Roland McGrath <roland@redhat.com>
53345
53346 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
53347 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
53348 ld.so.cache was broken. With it, there is no way to disable dsocaps
53349 like LD_HWCAP_MASK can disable hwcaps.
53350
23d101d8
EPM
533512010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
53352
53353 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
53354
cc9f2e47
UD
533552010-07-16 Ulrich Drepper <drepper@redhat.com>
53356
53357 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
53358 call in strcasestr.
53359 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
53360 __strcasestr_sse42_nonascii.
53361 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
53362 strcasestr-nonascii.c.
53363 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
53364
77c1b069
LM
533652010-06-15 Luis Machado <luisgpm@br.ibm.com>
53366
53367 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
53368 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
53369 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
53370 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
53371
440566c3
UD
533722010-07-09 Ulrich Drepper <drepper@redhat.com>
53373
53374 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
53375 fcntl.
53376
5be9d05d
AS
533772010-07-06 Andreas Schwab <schwab@redhat.com>
53378
c30b7ee2 53379 [BZ #11577]
5be9d05d
AS
53380 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
53381 dl_signal_cerror.
53382
8a492a67
UD
533832010-07-06 Ulrich Drepper <drepper@redhat.com>
53384
53385 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
53386 _PC_PIPE_BUF using F_GETPIPE_SZ.
53387
713df3d5
RM
533882010-07-05 Roland McGrath <roland@redhat.com>
53389
53390 * manual/arith.texi (Rounding Functions): Fix rint description
53391 implicit in round description.
53392
702e8f14
UD
533932010-07-02 Ulrich Drepper <drepper@redhat.com>
53394
53395 * elf/Makefile: Fix linking for a few tests to make recent linker
53396 happy.
53397
52ed8be9
AS
533982010-06-30 Andreas Schwab <schwab@redhat.com>
53399
53400 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
53401 $(common-objpfx)libc_nonshared.a.
53402
f47c9a11
LM
534032010-06-21 Luis Machado <luisgpm@br.ibm.com>
53404
53405 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
53406 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
53407 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
53408 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
53409 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
53410 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
53411 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
53412 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
53413 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
53414 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
53415 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
53416 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
53417 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
53418 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
53419 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
53420 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
53421 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
53422 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
53423 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
53424 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
53425 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
53426 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
53427 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
53428 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
53429 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
53430 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
53431 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
53432 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
53433 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
53434 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
53435 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
53436 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
53437 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
53438 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
53439 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
53440 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
53441 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
53442 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
53443 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
53444 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
53445 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
53446 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
53447 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
53448 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
53449 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
53450 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
53451 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
53452 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
53453
6fb8cbcb
L
534542010-06-25 H.J. Lu <hongjiu.lu@intel.com>
53455
53456 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
53457 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
53458 * string/memmove.c (memmove): Renamed to ...
53459 (MEMMOVE): ...this. Default to memmove.
53460 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
53461 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
53462 (END_CHK): Define.
53463 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
53464 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
53465 mempcpy-ssse3-back memmove-ssse3-back.
53466 * sysdeps/x86_64/multiarch/bcopy.S: New file .
53467 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
53468 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
53469 * sysdeps/x86_64/multiarch/memcpy.S: New file.
53470 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
53471 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
53472 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
53473 * sysdeps/x86_64/multiarch/memmove.c: New file.
53474 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
53475 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
53476 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
53477 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
53478 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
53479 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
53480 Define.
53481 (index_Fast_Copy_Backward): Define.
53482 (HAS_ARCH_FEATURE): Define.
53483 (HAS_FAST_REP_STRING): Define.
53484 (HAS_FAST_COPY_BACKWARD): Define.
53485
4e733bac 534862010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
53487
53488 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
53489 Restore proper fallback handling.
53490
63c4ed22
UD
534912010-06-19 Ulrich Drepper <drepper@redhat.com>
53492
ac2b484c
UD
53493 [BZ #11701]
53494 * posix/group_member.c (__group_member): Correct checking loop.
53495
63c4ed22
UD
53496 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
53497 OOM in getpwuid_r correctly. Return error number when the caller
53498 should return, otherwise -1.
53499 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
53500 call returning > 0 value.
53501 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
53502
765ade4b
AS
535032010-06-07 Andreas Schwab <schwab@redhat.com>
53504
53505 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
53506 libc_nonshared.a from targets in modules-names.
53507
80da2e09
KS
535082010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
53509
53510 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
53511 requires it.
53512
158db122
LM
535132010-06-10 Luis Machado <luisgpm@br.ibm.com>
53514
53515 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
53516 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
53517 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
53518 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
53519
caa78cf8
AS
535202010-06-02 Andreas Schwab <schwab@redhat.com>
53521
53522 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
53523
b2ef2c01
UD
535242010-06-14 Ulrich Drepper <drepper@redhat.com>
53525
53526 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
53527 and F_GETPIPE_SZ.
53528 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
53529 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
53530 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
53531 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
53532 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
53533 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
53534
fbd643b6
RM
535352010-06-14 Roland McGrath <roland@redhat.com>
53536
53537 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
53538
f32f2869
JJ
535392010-06-07 Jakub Jelinek <jakub@redhat.com>
53540
53541 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
53542 __REDIRECT followed by __THROW.
53543 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
53544 * posix/getopt.h (getopt): Likewise.
53545
2a50c078
EPM
535462010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
53547
53548 * hurd/lookup-at.c (__file_name_lookup_at): Accept
53549 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
53550 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
53551 in AT_FLAGS.
53552 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
53553 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
53554
eb5ad2eb
LM
535552010-05-28 Luis Machado <luisgpm@br.ibm.com>
53556
53557 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
53558
3c88fe1e
L
535592010-05-26 H.J. Lu <hongjiu.lu@intel.com>
53560
53561 [BZ #11640]
53562 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
53563 Properly check family and model.
53564
d2f73151
TY
535652010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
53566
53567 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
53568
ebd2e13d
LM
535692010-05-24 Luis Machado <luisgpm@br.ibm.com>
53570
53571 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
53572
b32b8b45
UD
535732010-05-21 Ulrich Drepper <drepper@redhat.com>
53574
53575 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
53576 symbol reference.
53577
9acbe24d
AS
535782010-05-19 Andreas Schwab <schwab@redhat.com>
53579
53580 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
53581 symbol reference.
53582
f0ccf6ea
AS
535832010-05-21 Andreas Schwab <schwab@redhat.com>
53584
3d04ff3a
AS
53585 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
53586 and internal_recvmmsg.
53587 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
53588 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
53589 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
53590 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
53591
f0ccf6ea
AS
53592 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
53593 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
53594 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
53595
5b08ac57
AS
535962010-05-20 Andreas Schwab <schwab@redhat.com>
53597
53598 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
53599
4828935d
LM
536002010-05-17 Luis Machado <luisgpm@br.ibm.com>
53601
53602 POWER7 optimizations.
53603 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
53604 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
53605
373d545e
UD
536062010-05-19 Ulrich Drepper <drepper@redhat.com>
53607
53608 * version.h: Update for 2.13 development version.
53609
21a2b1ae
AS
536102010-05-12 Andrew Stubbs <ams@codesourcery.com>
53611
53612 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
53613 exceptions. Return 0.
53614
3f7dcb2b
RM
536152010-05-07 Roland McGrath <roland@redhat.com>
53616
53617 * elf/ldconfig.c (main): Add a const.
53618
5f24d53a 536192010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 53620
a160f8d8
UD
53621 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
53622 (args_options): Add no-idn option.
53623 (ahosts_keys_int): Add idn_flags to ai_flags.
53624 (parse_option): Handle 'i' option to clear idn_flags.
53625
5f24d53a
UD
53626 * malloc/malloc.c (_int_free): Possible race in the most recently
53627 added check. Only act on the data if no current modification
53628 happened.
265bb1ce
UD
53629
53630See ChangeLog.17 for earlier changes.